webpackJsonp([1],{113:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getEmployees=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/employee",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getEmployee=function(n){return this.getEmployees().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.deleteEmployee=function(n){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/employee/"+n.id,new e.RequestOptions({body:JSON.stringify({sid:this.sid,id:n.id}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveEmployee=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/employee/"+n.id,JSON.stringify({sid:this.sid,id:n.id,name:n.name,initial:n.initial,code:n.code,active:n.active}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.EmployeeService=u},114:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getSchedules=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/schedules",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getSchedule=function(n){return this.getSchedules().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.getScheduleTimes=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/scheduletimes",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.deleteSchedule=function(n){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/schedule/"+n.id,new e.RequestOptions({body:JSON.stringify({sid:this.sid,id:n.id}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveSchedule=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/schedule/"+n.id,JSON.stringify({sid:this.sid,id:n.id,name:n.name,active:n.active,times:n.times}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.ScheduleService=u},115:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getMenus=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/menus",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getMenu=function(n){return this.getMenus().then(function(t){return t.find(function(t){return t.idMenu===n})})},n.prototype.deleteMenu=function(n){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/menu/"+n.idMenu,new e.RequestOptions({body:JSON.stringify({sid:this.sid,idMenu:n.idMenu}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveMenu=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/menu/"+n.idMenu,JSON.stringify({sid:this.sid,idMenu:n.idMenu,name:n.name,active:n.active,type:n.type,items:n.items}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.MenuService=u},116:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getMenuDates=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/menudates",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getMenuDate=function(n){return this.getMenuDates().then(function(t){return t.find(function(t){return t.idMenuDay===n})})},n.prototype.deleteMenuDate=function(n){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/menudate/"+n.idMenuDay,new e.RequestOptions({body:JSON.stringify({sid:this.sid,idMenuDay:n.idMenuDay}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveMenuDate=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/menudate/"+n.idMenuDay,JSON.stringify({sid:this.sid,idMenuDay:n.idMenuDay,idMenu:n.idMenu,vrsn:n.vrsn,epchDate:n.epchDate,past:n.past}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.MenuDateService=u},117:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getCCData=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/cookchilldata",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.saveCCDORR=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/cookchilldata/"+n.id,JSON.stringify({sid:this.sid,id:n.id,customer:n.customer,mac:n.mac,dorrs:n.dorrs}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.CCDataService=u},118:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getCCPStats=function(n){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/ccpstats/"+this.user.user_level+"/"+n,{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getCCPData=function(n){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/ccpdata/"+n,{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.saveSignature=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/ccpdata/"+n.id,JSON.stringify({sid:this.sid,id:n.id,stmp:n.stmp,signature:n.signature}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.CCPDataService=u},119:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getGroups=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/groups",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getGroup=function(n){return this.getGroups().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.deleteGroup=function(n,t){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/group/"+n.id,new e.RequestOptions({body:JSON.stringify({sid:this.sid,id:n.id,newid:t}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveGroup=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/group/"+n.id,JSON.stringify({sid:this.sid,id:n.id,name:n.name,active:n.active}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.GroupService=u},120:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getReportGroups=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/reportGroups",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getReportGroup=function(n){return this.getReportGroups().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.deleteReportGroup=function(n){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/reportGroup/"+n.id,new e.RequestOptions({body:JSON.stringify({sid:this.sid,id:n.id}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveReportGroup=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/reportGroup/"+n.id,JSON.stringify({sid:this.sid,id:n.id,name:n.name,notes:n.notes,active:n.active}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.ReportGroupService=u},121:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getCAs=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/cas",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getCA=function(n){return this.getCAs().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.deleteCA=function(n,t){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/ca/"+n.id,new e.RequestOptions({body:JSON.stringify({sid:this.sid,id:n.id,newid:t}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveCA=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/ca/"+n.id,JSON.stringify({sid:this.sid,id:n.id,name:n.name,active:n.active,actions:n.actions}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.CAService=u},122:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getCNPs=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/cnps",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getCNP=function(n){return this.getCNPs().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.deleteCNP=function(n,t){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/cnp/"+n.id,new e.RequestOptions({body:JSON.stringify({sid:this.sid,id:n.id,newid:t}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveCNP=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/cnp/"+n.id,JSON.stringify({sid:this.sid,id:n.id,name:n.name,active:n.active,actions:n.actions}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.CNPService=u},123:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getMeasurements=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/measurement",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getMeasurement=function(n){return this.getMeasurements().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.deleteMeasurement=function(n,t){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/measurement/"+n.id,new e.RequestOptions({body:JSON.stringify({sid:this.sid,id:n.id,newid:t}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveMeasurement=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/measurement/"+n.id,JSON.stringify({sid:this.sid,id:n.id,name:n.name,type:n.type,lo:n.lo,hi:n.hi,active:n.active}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.MeasurementService=u},20:function(n,t,l){"use strict";function e(n,t){function l(){this.constructor=n}k(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function i(n){return null==n||0===n.length}function u(n){return null!=n}function o(n){var t=Object(D["ɵisPromise"])(n)?Object(F.fromPromise)(n):n;if(!Object(D["ɵisObservable"])(t))throw new Error("Expected validator to return Promise or Observable.");return t}function r(n,t){return t.map(function(t){return t(n)})}function s(n,t){return t.map(function(t){return t(n)})}function a(n){var t=n.reduce(function(n,t){return null!=t?Object.assign({},n,t):n},{});return 0===Object.keys(t).length?null:t}function d(){return/android (\d+)/.test((Object(L["ɵgetDOM"])()?Object(L["ɵgetDOM"])().getUserAgent():"").toLowerCase())}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function c(n){return n.validate?function(t){return n.validate(t)}:n}function p(n){return n.validate?function(t){return n.validate(t)}:n}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function h(){throw new Error("unimplemented")}function f(n,t){return null==n?""+t:(t&&"object"==typeof t&&(t="Object"),(n+": "+t).slice(0,50))}function g(n){return n.split(":")[0]}function m(n,t){return null==n?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(n+": "+t).slice(0,50))}function v(n){return n.split(":")[0]}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function C(n,t){return t.path.concat([n])}function y(n,t){n||_(t,"Cannot find control with"),t.valueAccessor||_(t,"No value accessor for form control with"),n.validator=$.compose([n.validator,t.validator]),n.asyncValidator=$.composeAsync([n.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(n.value),t.valueAccessor.registerOnChange(function(l){t.viewToModelUpdate(l),n.markAsDirty(),n.setValue(l,{emitModelToViewChange:!1})}),t.valueAccessor.registerOnTouched(function(){return n.markAsTouched()}),n.registerOnChange(function(n,l){t.valueAccessor.writeValue(n),l&&t.viewToModelUpdate(n)}),t.valueAccessor.setDisabledState&&n.registerOnDisabledChange(function(n){t.valueAccessor.setDisabledState(n)}),t._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return n.updateValueAndValidity()})}),t._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return n.updateValueAndValidity()})})}function b(n,t){t.valueAccessor.registerOnChange(function(){return S(t)}),t.valueAccessor.registerOnTouched(function(){return S(t)}),t._rawValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(null)}),n&&n._clearChangeFns()}function w(n,t){null==n&&_(t,"Cannot find control with"),n.validator=$.compose([n.validator,t.validator]),n.asyncValidator=$.composeAsync([n.asyncValidator,t.asyncValidator])}function S(n){return _(n,"There is no FormControl instance attached to form control element with")}function _(n,t){var l;throw l=n.path.length>1?"path: '"+n.path.join(" -> ")+"'":n.path[0]?"name: '"+n.path+"'":"unspecified name attribute",new Error(t+" "+l)}function x(n){return null!=n?$.compose(n.map(c)):null}function I(n){return null!=n?$.composeAsync(n.map(p)):null}function E(n,t){if(!n.hasOwnProperty("model"))return!1;var l=n.model;return!!l.isFirstChange()||!Object(D["ɵlooseIdentical"])(t,l.currentValue)}function R(n){return hn.some(function(t){return n.constructor===t})}function O(n,t){if(!t)return null;var l=void 0,e=void 0,i=void 0;return t.forEach(function(t){t.constructor===X?l=t:R(t)?(e&&_(n,"More than one built-in value accessor matches form control with"),e=t):(i&&_(n,"More than one custom value accessor matches form control with"),i=t)}),i||(e||(l||(_(n,"No valid value accessor for form control with"),null)))}function A(n,t,l){return null==t?null:(t instanceof Array||(t=t.split(l)),t instanceof Array&&0===t.length?null:t.reduce(function(n,t){return n instanceof wn?n.controls[t]||null:n instanceof Sn?n.at(t)||null:null},n))}function M(n){return Array.isArray(n)?x(n):n||null}function N(n){return Array.isArray(n)?I(n):n||null}function T(n,t){var l=n.indexOf(t);l>-1&&n.splice(l,1)}function P(n){return!(n instanceof Ln||n instanceof Fn||n instanceof zn)}Object.defineProperty(t,"__esModule",{value:!0});/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var k=function(n,t){return(k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var l in t)t.hasOwnProperty(l)&&(n[l]=t[l])})(n,t)},D=l(3),V=l(230),F=l(158),U=l(153),L=l(34);l.d(t,"AbstractControlDirective",function(){return j}),l.d(t,"AbstractFormGroupDirective",function(){return fn}),l.d(t,"CheckboxControlValueAccessor",function(){return K}),l.d(t,"ControlContainer",function(){return z}),l.d(t,"NG_VALUE_ACCESSOR",function(){return H}),l.d(t,"COMPOSITION_BUFFER_MODE",function(){return J}),l.d(t,"DefaultValueAccessor",function(){return X}),l.d(t,"NgControl",function(){return nn}),l.d(t,"NgControlStatus",function(){return vn}),l.d(t,"NgControlStatusGroup",function(){return Cn}),l.d(t,"NgForm",function(){return In}),l.d(t,"NgModel",function(){return Tn}),l.d(t,"NgModelGroup",function(){return An}),l.d(t,"RadioControlValueAccessor",function(){return en}),l.d(t,"FormControlDirective",function(){return Dn}),l.d(t,"FormControlName",function(){return Gn}),l.d(t,"FormGroupDirective",function(){return Fn}),l.d(t,"FormArrayName",function(){return zn}),l.d(t,"FormGroupName",function(){return Ln}),l.d(t,"NgSelectOption",function(){return an}),l.d(t,"SelectControlValueAccessor",function(){return sn}),l.d(t,"SelectMultipleControlValueAccessor",function(){return cn}),l.d(t,"CheckboxRequiredValidator",function(){return Wn}),l.d(t,"EmailValidator",function(){return Yn}),l.d(t,"MaxLengthValidator",function(){return Qn}),l.d(t,"MinLengthValidator",function(){return Xn}),l.d(t,"PatternValidator",function(){return tt}),l.d(t,"RequiredValidator",function(){return Hn}),l.d(t,"FormBuilder",function(){return lt}),l.d(t,"AbstractControl",function(){return yn}),l.d(t,"FormArray",function(){return Sn}),l.d(t,"FormControl",function(){return bn}),l.d(t,"FormGroup",function(){return wn}),l.d(t,"NG_ASYNC_VALIDATORS",function(){return G}),l.d(t,"NG_VALIDATORS",function(){return q}),l.d(t,"Validators",function(){return $}),l.d(t,"VERSION",function(){return et}),l.d(t,"FormsModule",function(){return at}),l.d(t,"ReactiveFormsModule",function(){return dt}),l.d(t,"ɵba",function(){return st}),l.d(t,"ɵz",function(){return rt}),l.d(t,"ɵx",function(){return ut}),l.d(t,"ɵy",function(){return ot}),l.d(t,"ɵa",function(){return W}),l.d(t,"ɵb",function(){return Y}),l.d(t,"ɵc",function(){return gn}),l.d(t,"ɵd",function(){return mn}),l.d(t,"ɵe",function(){return _n}),l.d(t,"ɵf",function(){return Mn}),l.d(t,"ɵg",function(){return On}),l.d(t,"ɵbf",function(){return it}),l.d(t,"ɵbb",function(){return Z}),l.d(t,"ɵbc",function(){return Q}),l.d(t,"ɵh",function(){return tn}),l.d(t,"ɵi",function(){return ln}),l.d(t,"ɵbd",function(){return un}),l.d(t,"ɵbe",function(){return on}),l.d(t,"ɵj",function(){return kn}),l.d(t,"ɵk",function(){return qn}),l.d(t,"ɵl",function(){return Vn}),l.d(t,"ɵn",function(){return jn}),l.d(t,"ɵm",function(){return Un}),l.d(t,"ɵo",function(){return rn}),l.d(t,"ɵq",function(){return pn}),l.d(t,"ɵp",function(){return dn}),l.d(t,"ɵs",function(){return $n}),l.d(t,"ɵt",function(){return Kn}),l.d(t,"ɵv",function(){return Zn}),l.d(t,"ɵu",function(){return Jn}),l.d(t,"ɵw",function(){return nt}),l.d(t,"ɵr",function(){return Bn});/** * @license Angular v4.4.7 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var j=function(){function n(){}return n.prototype.control=function(){},Object.defineProperty(n.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),n.prototype.reset=function(n){void 0===n&&(n=void 0),this.control&&this.control.reset(n)},n.prototype.hasError=function(n,t){return!!this.control&&this.control.hasError(n,t)},n.prototype.getError=function(n,t){return this.control?this.control.getError(n,t):null},n}(),z=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(j),q=new D.InjectionToken("NgValidators"),G=new D.InjectionToken("NgAsyncValidators"),B=/^(?=.{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])?)*$/,$=function(){function n(){}return n.min=function(n){return function(t){if(i(t.value)||i(n))return null;var l=parseFloat(t.value);return!isNaN(l)&&ln?{max:{max:n,actual:t.value}}:null}},n.required=function(n){return i(n.value)?{required:!0}:null},n.requiredTrue=function(n){return!0===n.value?null:{required:!0}},n.email=function(n){return B.test(n.value)?null:{email:!0}},n.minLength=function(n){return function(t){if(i(t.value))return null;var l=t.value?t.value.length:0;return ln?{maxlength:{requiredLength:n,actualLength:l}}:null}},n.pattern=function(t){if(!t)return n.nullValidator;var l,e;return"string"==typeof t?(e="^"+t+"$",l=new RegExp(e)):(e=t.toString(),l=t),function(n){if(i(n.value))return null;var t=n.value;return l.test(t)?null:{pattern:{requiredPattern:e,actualValue:t}}}},n.nullValidator=function(n){return null},n.compose=function(n){if(!n)return null;var t=n.filter(u);return 0==t.length?null:function(n){return a(r(n,t))}},n.composeAsync=function(n){if(!n)return null;var t=n.filter(u);return 0==t.length?null:function(n){var l=s(n,t).map(o);return U.map.call(Object(V.forkJoin)(l),a)}},n}(),H=new D.InjectionToken("NgValueAccessor"),W={provide:H,useExisting:Object(D.forwardRef)(function(){return K}),multi:!0},K=function(){function n(n,t){this._renderer=n,this._elementRef=t,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"checked",n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),Y={provide:H,useExisting:Object(D.forwardRef)(function(){return X}),multi:!0},J=new D.InjectionToken("CompositionEventMode"),X=function(){function n(n,t,l){this._renderer=n,this._elementRef=t,this._compositionMode=l,this.onChange=function(n){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!d())}return n.prototype.writeValue=function(n){var t=null==n?"":n;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._handleInput=function(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)},n.prototype._compositionStart=function(){this._composing=!0},n.prototype._compositionEnd=function(n){this._composing=!1,this._compositionMode&&this.onChange(n)},n}(),Z={provide:H,useExisting:Object(D.forwardRef)(function(){return Q}),multi:!0},Q=function(){function n(n,t){this._renderer=n,this._elementRef=t,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){var t=null==n?"":n;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},n.prototype.registerOnChange=function(n){this.onChange=function(t){n(""==t?null:parseFloat(t))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),nn=function(n){function t(){var t=n.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return e(t,n),Object.defineProperty(t.prototype,"validator",{get:function(){return h()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return h()},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(n){},t}(j),tn={provide:H,useExisting:Object(D.forwardRef)(function(){return en}),multi:!0},ln=function(){function n(){this._accessors=[]}return n.prototype.add=function(n,t){this._accessors.push([n,t])},n.prototype.remove=function(n){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===n)return void this._accessors.splice(t,1)},n.prototype.select=function(n){var t=this;this._accessors.forEach(function(l){t._isSameGroup(l,n)&&l[1]!==n&&l[1].fireUncheck(n.value)})},n.prototype._isSameGroup=function(n,t){return!!n[0].control&&(n[0]._parent===t._control._parent&&n[1].name===t.name)},n}(),en=function(){function n(n,t,l,e){this._renderer=n,this._elementRef=t,this._registry=l,this._injector=e,this.onChange=function(){},this.onTouched=function(){}}return n.prototype.ngOnInit=function(){this._control=this._injector.get(nn),this._checkName(),this._registry.add(this._control,this)},n.prototype.ngOnDestroy=function(){this._registry.remove(this)},n.prototype.writeValue=function(n){this._state=n===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},n.prototype.registerOnChange=function(n){var t=this;this._fn=n,this.onChange=function(){n(t.value),t._registry.select(t)}},n.prototype.fireUncheck=function(n){this.writeValue(n)},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},n.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 ')},n}(),un={provide:H,useExisting:Object(D.forwardRef)(function(){return on}),multi:!0},on=function(){function n(n,t){this._renderer=n,this._elementRef=t,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(n))},n.prototype.registerOnChange=function(n){this.onChange=function(t){n(""==t?null:parseFloat(t))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),rn={provide:H,useExisting:Object(D.forwardRef)(function(){return sn}),multi:!0},sn=function(){function n(n,t){this._renderer=n,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=D["ɵlooseIdentical"]}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){this.value=n;var t=this._getOptionId(n);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var l=f(t,n);this._renderer.setProperty(this._elementRef.nativeElement,"value",l)},n.prototype.registerOnChange=function(n){var t=this;this.onChange=function(l){t.value=t._getOptionValue(l),n(t.value)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(){return(this._idCounter++).toString()},n.prototype._getOptionId=function(n){for(var t=0,l=Array.from(this._optionMap.keys());t-1)}}else l=function(n,t){n._setSelected(!1)};this._optionMap.forEach(l)},n.prototype.registerOnChange=function(n){var t=this;this.onChange=function(l){var e=[];if(l.hasOwnProperty("selectedOptions"))for(var i=l.selectedOptions,u=0;u0||this.disabled},t.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(t,l){if(void 0===n[l])throw new Error("Must supply a value for form control with name: '"+l+"'.")})},t}(yn),Sn=function(n){function t(t,l,e){var i=n.call(this,l||null,e||null)||this;return i.controls=t,i._initObservables(),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return e(t,n),t.prototype.at=function(n){return this.controls[n]},t.prototype.push=function(n){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(n,t){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeAt=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),this.controls.splice(n,1),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(n,t){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),this.controls.splice(n,1),t&&(this.controls.splice(n,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(n,t){var l=this;void 0===t&&(t={}),this._checkAllValuesPresent(n),n.forEach(function(n,e){l._throwIfControlMissing(e),l.at(e).setValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(n,t){var l=this;void 0===t&&(t={}),n.forEach(function(n,e){l.at(e)&&l.at(e).patchValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(n,t){void 0===n&&(n=[]),void 0===t&&(t={}),this._forEachChild(function(l,e){l.reset(n[e],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(n){return n instanceof bn?n.value:n.getRawValue()})},t.prototype._throwIfControlMissing=function(n){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(n))throw new Error("Cannot find form control at index "+n)},t.prototype._forEachChild=function(n){this.controls.forEach(function(t,l){n(t,l)})},t.prototype._updateValue=function(){var n=this;this._value=this.controls.filter(function(t){return t.enabled||n.disabled}).map(function(n){return n.value})},t.prototype._anyControls=function(n){return this.controls.some(function(t){return t.enabled&&n(t)})},t.prototype._setUpControls=function(){var n=this;this._forEachChild(function(t){return n._registerControl(t)})},t.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(t,l){if(void 0===n[l])throw new Error("Must supply a value for form control at index: "+l+".")})},t.prototype._allControlsDisabled=function(){for(var n=0,t=this.controls;n0||this.disabled},t.prototype._registerControl=function(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)},t}(yn),_n={provide:z,useExisting:Object(D.forwardRef)(function(){return In})},xn=Promise.resolve(null),In=function(n){function t(t,l){var e=n.call(this)||this;return e._submitted=!1,e.ngSubmit=new D.EventEmitter,e.form=new wn({},x(t),I(l)),e}return e(t,n),Object.defineProperty(t.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(n){var t=this;xn.then(function(){var l=t._findContainer(n.path);n._control=l.registerControl(n.name,n.control),y(n.control,n),n.control.updateValueAndValidity({emitEvent:!1})})},t.prototype.getControl=function(n){return this.form.get(n.path)},t.prototype.removeControl=function(n){var t=this;xn.then(function(){var l=t._findContainer(n.path);l&&l.removeControl(n.name)})},t.prototype.addFormGroup=function(n){var t=this;xn.then(function(){var l=t._findContainer(n.path),e=new wn({});w(e,n),l.registerControl(n.name,e),e.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(n){var t=this;xn.then(function(){var l=t._findContainer(n.path);l&&l.removeControl(n.name)})},t.prototype.getFormGroup=function(n){return this.form.get(n.path)},t.prototype.updateModel=function(n,t){var l=this;xn.then(function(){l.form.get(n.path).setValue(t)})},t.prototype.setValue=function(n){this.control.setValue(n)},t.prototype.onSubmit=function(n){return this._submitted=!0,this.ngSubmit.emit(n),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this._submitted=!1},t.prototype._findContainer=function(n){return n.pop(),n.length?this.form.get(n):this.form},t}(z),En={formControlName:'\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\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 });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '},Rn=function(){function n(){}return n.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 '+En.formControlName+"\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 "+En.ngModelWithFormGroup)},n.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 "+En.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+En.ngModelGroup)},n.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: ')},n.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 "+En.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+En.ngModelGroup)},n}(),On={provide:z,useExisting:Object(D.forwardRef)(function(){return An})},An=function(n){function t(t,l,e){var i=n.call(this)||this;return i._parent=t,i._validators=l,i._asyncValidators=e,i}return e(t,n),t.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof In||Rn.modelGroupParentException()},t}(fn),Mn={provide:nn,useExisting:Object(D.forwardRef)(function(){return Tn})},Nn=Promise.resolve(null),Tn=function(n){function t(t,l,e,i){var u=n.call(this)||this;return u._control=new bn,u._registered=!1,u.update=new D.EventEmitter,u._parent=t,u._rawValidators=l||[],u._rawAsyncValidators=e||[],u.valueAccessor=O(u,i),u}return e(t,n),t.prototype.ngOnChanges=function(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),E(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?C(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return x(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return I(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},t.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){y(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof An)&&this._parent instanceof fn?Rn.formGroupNameException():this._parent instanceof An||this._parent instanceof In||Rn.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Rn.missingNameException()},t.prototype._updateValue=function(n){var t=this;Nn.then(function(){t.control.setValue(n,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(n){var t=this,l=n.isDisabled.currentValue,e=""===l||l&&"false"!==l;Nn.then(function(){e&&!t.control.disabled?t.control.disable():!e&&t.control.disabled&&t.control.enable()})},t}(nn),Pn=function(){function n(){}return n.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 "+En.formControlName)},n.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 '+En.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+En.ngModelGroup)},n.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+En.formControlName)},n.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 "+En.formGroupName)},n.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 "+En.formArrayName)},n.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 ")},n}(),kn={provide:nn,useExisting:Object(D.forwardRef)(function(){return Dn})},Dn=function(n){function t(t,l,e){var i=n.call(this)||this;return i.update=new D.EventEmitter,i._rawValidators=t||[],i._rawAsyncValidators=l||[],i.valueAccessor=O(i,e),i}return e(t,n),Object.defineProperty(t.prototype,"isDisabled",{set:function(n){Pn.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(n){this._isControlChanged(n)&&(y(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),E(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return x(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return I(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},t.prototype._isControlChanged=function(n){return n.hasOwnProperty("form")},t}(nn),Vn={provide:z,useExisting:Object(D.forwardRef)(function(){return Fn})},Fn=function(n){function t(t,l){var e=n.call(this)||this;return e._validators=t,e._asyncValidators=l,e._submitted=!1,e.directives=[],e.form=null,e.ngSubmit=new D.EventEmitter,e}return e(t,n),t.prototype.ngOnChanges=function(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(n){var t=this.form.get(n.path);return y(t,n),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),t},t.prototype.getControl=function(n){return this.form.get(n.path)},t.prototype.removeControl=function(n){T(this.directives,n)},t.prototype.addFormGroup=function(n){var t=this.form.get(n.path);w(t,n),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(n){},t.prototype.getFormGroup=function(n){return this.form.get(n.path)},t.prototype.addFormArray=function(n){var t=this.form.get(n.path);w(t,n),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(n){},t.prototype.getFormArray=function(n){return this.form.get(n.path)},t.prototype.updateModel=function(n,t){this.form.get(n.path).setValue(t)},t.prototype.onSubmit=function(n){return this._submitted=!0,this.ngSubmit.emit(n),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this._submitted=!1},t.prototype._updateDomValue=function(){var n=this;this.directives.forEach(function(t){var l=n.form.get(t.path);t._control!==l&&(b(t._control,t),l&&y(l,t),t._control=l)}),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var n=this;this.form._registerOnCollectionChange(function(){return n._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},t.prototype._updateValidators=function(){var n=x(this._validators);this.form.validator=$.compose([this.form.validator,n]);var t=I(this._asyncValidators);this.form.asyncValidator=$.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||Pn.missingFormException()},t}(z),Un={provide:z,useExisting:Object(D.forwardRef)(function(){return Ln})},Ln=function(n){function t(t,l,e){var i=n.call(this)||this;return i._parent=t,i._validators=l,i._asyncValidators=e,i}return e(t,n),t.prototype._checkParentType=function(){P(this._parent)&&Pn.groupParentException()},t}(fn),jn={provide:z,useExisting:Object(D.forwardRef)(function(){return zn})},zn=function(n){function t(t,l,e){var i=n.call(this)||this;return i._parent=t,i._validators=l,i._asyncValidators=e,i}return e(t,n),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return C(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return x(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return I(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){P(this._parent)&&Pn.arrayParentException()},t}(z),qn={provide:nn,useExisting:Object(D.forwardRef)(function(){return Gn})},Gn=function(n){function t(t,l,e,i){var u=n.call(this)||this;return u._added=!1,u.update=new D.EventEmitter,u._parent=t,u._rawValidators=l||[],u._rawAsyncValidators=e||[],u.valueAccessor=O(u,i),u}return e(t,n),Object.defineProperty(t.prototype,"isDisabled",{set:function(n){Pn.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(n){this._added||this._setUpControl(),E(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},Object.defineProperty(t.prototype,"path",{get:function(){return C(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return x(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return I(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof Ln)&&this._parent instanceof fn?Pn.ngModelGroupException():this._parent instanceof Ln||this._parent instanceof Fn||this._parent instanceof zn||Pn.controlParentException()},t.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},t}(nn),Bn={provide:q,useExisting:Object(D.forwardRef)(function(){return Hn}),multi:!0},$n={provide:q,useExisting:Object(D.forwardRef)(function(){return Wn}),multi:!0},Hn=function(){function n(){}return Object.defineProperty(n.prototype,"required",{get:function(){return this._required},set:function(n){this._required=null!=n&&!1!==n&&""+n!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),n.prototype.validate=function(n){return this.required?$.required(n):null},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n}(),Wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.validate=function(n){return this.required?$.requiredTrue(n):null},t}(Hn),Kn={provide:q,useExisting:Object(D.forwardRef)(function(){return Yn}),multi:!0},Yn=function(){function n(){}return Object.defineProperty(n.prototype,"email",{set:function(n){this._enabled=""===n||!0===n||"true"===n,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),n.prototype.validate=function(n){return this._enabled?$.email(n):null},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n}(),Jn={provide:q,useExisting:Object(D.forwardRef)(function(){return Xn}),multi:!0},Xn=function(){function n(){}return n.prototype.ngOnChanges=function(n){"minlength"in n&&(this._createValidator(),this._onChange&&this._onChange())},n.prototype.validate=function(n){return null==this.minlength?null:this._validator(n)},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n.prototype._createValidator=function(){this._validator=$.minLength(parseInt(this.minlength,10))},n}(),Zn={provide:q,useExisting:Object(D.forwardRef)(function(){return Qn}),multi:!0},Qn=function(){function n(){}return n.prototype.ngOnChanges=function(n){"maxlength"in n&&(this._createValidator(),this._onChange&&this._onChange())},n.prototype.validate=function(n){return null!=this.maxlength?this._validator(n):null},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n.prototype._createValidator=function(){this._validator=$.maxLength(parseInt(this.maxlength,10))},n}(),nt={provide:q,useExisting:Object(D.forwardRef)(function(){return tt}),multi:!0},tt=function(){function n(){}return n.prototype.ngOnChanges=function(n){"pattern"in n&&(this._createValidator(),this._onChange&&this._onChange())},n.prototype.validate=function(n){return this._validator(n)},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n.prototype._createValidator=function(){this._validator=$.pattern(this.pattern)},n}(),lt=function(){function n(){}return n.prototype.group=function(n,t){void 0===t&&(t=null);var l=this._reduceControls(n),e=null!=t?t.validator:null,i=null!=t?t.asyncValidator:null;return new wn(l,e,i)},n.prototype.control=function(n,t,l){return new bn(n,t,l)},n.prototype.array=function(n,t,l){var e=this,i=n.map(function(n){return e._createControl(n)});return new Sn(i,t,l)},n.prototype._reduceControls=function(n){var t=this,l={};return Object.keys(n).forEach(function(e){l[e]=t._createControl(n[e])}),l},n.prototype._createControl=function(n){if(n instanceof bn||n instanceof wn||n instanceof Sn)return n;if(Array.isArray(n)){var t=n[0],l=n.length>1?n[1]:null,e=n.length>2?n[2]:null;return this.control(t,l,e)}return this.control(n)},n}(),et=new D.Version("4.4.7"),it=function(){function n(){}return n}(),ut=[it,an,pn,X,Q,on,K,sn,cn,en,vn,Cn,Hn,Xn,Qn,tt,Wn,Yn],ot=[Tn,An,In],rt=[Dn,Fn,Gn,Ln,zn],st=function(){function n(){}return n}(),at=function(){function n(){}return n}(),dt=function(){function n(){}return n}()},320:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(34);l(799);var i=l(5),u=function(){function n(n,t){this.user=n,this.pageTitle=t,this.title="Scan ’n’ Temp"}return n.prototype.ngOnInit=function(){var n=this;this.site=this.user.getCurrentSite(),this.site&&(1==this.site.lm2?this.title="i.Print":1==this.site.ckch&&(this.title="Cook'n'Chill")),this.pageTitle.setTitle(this.title),this.sidChange=this.user.currentSIDObservable.subscribe(function(t){n.sid=t,n.title="Scan ’n’ Temp",n.site=n.user.getCurrentSite(),n.site&&(1==n.site.lm2?n.title="i.Print":1==n.site.ckch&&(n.title="Cook'n'Chill")),n.pageTitle.setTitle(n.title)})},n.prototype.ngOnDestroy=function(){this.sidChange.unsubscribe()},n.prototype.doLogout=function(){this.user.logout()},n.ctorParameters=function(){return[{type:i.UserService},{type:e.Title}]},n}();t.AppComponent=u},321:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(43),i=l(5),u=function(){function n(n,t){this.userService=n,this.router=t,this.errorMsg="",this.iprint=!0,this.snt=!0,this.panda=!0,this.new=!0,this.dev=!0,this.run=!0,this.jwt=""}return n.prototype.ngOnInit=function(){this.panda=window.top.location.href.indexOf("panda")>0,this.userService.isLoggedIn()?this.router.navigate(["/items"]):this.panda?(void 0===window.top.APP_DATA||null==window.top.APP_DATA?this.jwt="":this.jwt=window.top.APP_DATA.query,this.pandaLogin()):(this.new=window.top.location.href.indexOf("new")>0,this.dev=window.top.location.href.indexOf("dev")>0,this.run=window.top.location.href.indexOf("8080")>0,this.iprint=window.top.location.href.indexOf("iprint")>0,this.snt=window.top.location.href.indexOf("snt")>0,this.iprint&&!this.inIframe()&&(this.new?window.parent.location.href="/print-login":this.dev?window.parent.location.href="/iprintlogin.html":this.run||(window.parent.location.href="/print-login")),this.snt&&!this.inIframe()&&(this.new?window.parent.location.href="/scan-login":this.dev?window.parent.location.href="/iprintlogin.html":this.run||(window.parent.location.href="/scan-login")))},n.prototype.inIframe=function(){try{return window.self!==window.top}catch(n){return!0}},n.prototype.pandaLogin=function(){var n=this;this.errorMsg="",this.userService.pandalogin(this.jwt).subscribe(function(t){t.error?(n.errorMsg=t.message,console.log("Failed to login. "+t.message)):(localStorage.setItem("auth_token",t.user.apikey),localStorage.setItem("user",JSON.stringify(t.user)),localStorage.setItem("sid",t.user.primary_sid),localStorage.setItem("site",t.user.primary_site),localStorage.setItem("degrees",t.user.degrees),localStorage.setItem("hierarchy",JSON.stringify(t.hierarchy)),n.userService.userLoggedIn(t.user),n.userService.setCurrentSite(t.user.primary),n.router.navigate(["/items"]))},function(t){console.log(t),n.errorMsg="Failed to login"})},n.prototype.doLogin=function(n,t){var l=this;this.errorMsg="",this.userService.login(n,t).subscribe(function(n){n.error?(l.errorMsg="Failed to login",console.log(n.message)):(localStorage.setItem("auth_token",n.user.apikey),localStorage.setItem("user",JSON.stringify(n.user)),localStorage.setItem("sid",n.user.primary_sid),localStorage.setItem("site",n.user.primary_site),localStorage.setItem("degrees",n.user.degrees),localStorage.setItem("hierarchy",JSON.stringify(n.hierarchy)),l.userService.userLoggedIn(n.user),l.userService.setCurrentSite(n.user.primary),l.router.navigate(["/items"]))},function(n){console.log(n),l.errorMsg="Failed to login"})},n.ctorParameters=function(){return[{type:i.UserService},{type:e.Router}]},n}();t.LoginComponent=u},322:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(43),u=l(5),o=function(){function n(n,t,l){this.router=t,this.userService=l,this.onChangeSite=new e.EventEmitter,this.selectedSiteIdx=-1,this.query="",this.select_sites=[],this.filteredList=[],this.eltRef=n}return n.prototype.getHierarchy=function(){var n=this;this.sites=this.userService.getMySites(),this.sites.forEach(function(t,l){n.select_sites.push(t.name+t.hierarchy)})},n.prototype.ngOnInit=function(){this.getHierarchy()},n.prototype.filter=function(n){27===n.which?(this.query="",this.filteredList=[],this.selectedSite=null,this.selectedSiteIdx=-1):13===n.which?this.selectedSiteIdx>=0&&this.selectedSiteIdx0?this.selectedSiteIdx--:this.selectedSiteIdx=this.filteredList.length-1,this.selectedSite=this.filteredList[this.selectedSiteIdx]):""!==this.query?(this.selectedSite=null,this.selectedSiteIdx=-1,this.filteredList=this.sites.filter(function(n){return n.id==this.query||n.lmcn==this.query||n.lmcn=="892"+this.query||n.lmcn=="894"+this.query||n.name.toLowerCase().indexOf(this.query.toLowerCase())>-1||n.parent1.toLowerCase().indexOf(this.query.toLowerCase())>-1||n.parent2.toLowerCase().indexOf(this.query.toLowerCase())>-1||n.parent3.toLowerCase().indexOf(this.query.toLowerCase())>-1||n.parent4.toLowerCase().indexOf(this.query.toLowerCase())>-1||n.parent5.toLowerCase().indexOf(this.query.toLowerCase())>-1}.bind(this)),this.filteredList.sort(this.sortHierarchy)):""==this.query&&this.sites.length<26?(this.selectedSite=null,this.selectedSiteIdx=-1,this.filteredList=this.sites,this.filteredList.sort(this.sortHierarchy)):(this.filteredList=[],this.selectedSite=null,this.selectedSiteIdx=-1)},n.prototype.select=function(n){var t=this;n&&(this.query="",this.userService.getSite(n.id).then(function(n){localStorage.setItem("site",n.name),localStorage.setItem("degrees",""+n.degrees),t.filteredList=[],t.userService.setCurrentSID(n.id),t.userService.setCurrentSite(n),t.onChangeSite.emit(n)}))},n.prototype.handleClick=function(n){var t=n.target,l=!1;do{t==this.eltRef.nativeElement&&(l=!0),t=t.parentNode}while(t);l?""==this.query&&this.sites.length<26&&(this.selectedSite=null,this.selectedSiteIdx=-1,this.filteredList=this.sites,this.filteredList.sort(this.sortHierarchy)):this.filteredList=[]},n.prototype.sortHierarchy=function(n,t){var l=n.parent5.localeCompare(t.parent5),e=n.parent4.localeCompare(t.parent4),i=n.parent3.localeCompare(t.parent3),u=n.parent2.localeCompare(t.parent2),o=n.parent1.localeCompare(t.parent1),r=n.name.localeCompare(t.name,void 0,{numeric:!0,sensitivity:"base"});return l||e||i||u||o||r},n.ctorParameters=function(){return[{type:e.ElementRef},{type:i.Router},{type:u.UserService}]},n}();t.ChangeSiteComponent=o},323:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=function(){function n(){this.onSaveSite=new e.EventEmitter,this.onCloseSettings=new e.EventEmitter,this.user=JSON.parse(localStorage.getItem("user"))}return n.prototype.save=function(){this.onSaveSite.emit(this.site)},n.prototype.cancel=function(){this.onCloseSettings.emit()},n.ctorParameters=function(){return[]},n}();t.SettingsComponent=i},324:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=function(){function n(){this.onSaveCfgs=new e.EventEmitter,this.onCloseStoreContentCfgs=new e.EventEmitter,this.transferring=!1,this.user=JSON.parse(localStorage.getItem("user"))}return n.prototype.save=function(){this.onSaveCfgs.emit(this.contentCfgs)},n.prototype.cancel=function(){this.onCloseStoreContentCfgs.emit()},n.ctorParameters=function(){return[]},n}();t.StoreContentCfgsComponent=i},325:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(808),u=l(113),o=function(){function t(n){this.employeeService=n,this.employeesChange=new e.EventEmitter,this.onCloseUserList=new e.EventEmitter,this.msg_lvl="Add User",this.message=" ",this.initial="",this.code=0,this.eltname=""}return t.prototype.add=function(t){var l=this;if(""!=t){var e={};e.tag=t,this.eltname="",void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),e.id=this.chipEdit.id,this.msg_lvl="Add User",this.message=" ",delete this.chipEdit);var u,o=-1;void 0===e.id?(e.id=-1,u=new i.Employee,u.id=e.id,u.name=e.tag,u.active=1):(u=this.employees.filter(function(n){return n.id==e.id})[0],o=this.employees.indexOf(u),u.name=e.tag),u.initial=this.initial,u.code=this.code,this.initial="",this.code=0,console.log("Chip added: "+e.tag+" (ID: "+e.id+")"),this.errorMsg="",this.employeeService.saveEmployee(u).subscribe(function(n){n.error?(l.errorMsg="Save Failed",console.log(n.message)):-1==u.id?(u.id=n.newid,e.id=u.id,l.employees.push(u),l.employeesChange.emit(l.employees)):(l.employees[o].name=e.tag,l.employeesChange.emit(l.employees))},function(n){console.log(n),l.errorMsg="Save Failed"})}},t.prototype.select=function(t,l){l.stopPropagation(),void 0!==this.chipEdit&&n(this.chipEdit.chip).removeClass("active"),this.chipEdit=t,n(t.chip).addClass("active"),console.log("Chip selected: "+t.tag+" (ID: "+t.id+")"),this.msg_lvl="Editing User: ",this.message=t.tag;var e;e=this.employees.filter(function(n){return n.id==t.id})[0],this.initial=e.initial,this.code=e.code,this.eltname=t.tag,n("my-user-list input#eltname").focus()},t.prototype.save=function(){this.add(this.eltname)},t.prototype.cancel=function(){this.onCloseUserList.emit()},t.prototype.cancelEdit=function(){void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),this.msg_lvl="Add User",this.message=" ",delete this.chipEdit,this.initial="",this.code=0),this.eltname=""},t.prototype.delete=function(n){var t=this;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.employeeService.deleteEmployee(this.employees.filter(function(t){return t.id==n.id})[0]).subscribe(function(l){l.error?(t.errorMsg="Delete Failed",console.log(l.message)):(t.employees.splice(t.employees.indexOf(t.employees.filter(function(t){return t.id==n.id})[0]),1),t.employeesChange.emit(t.employees))},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:u.EmployeeService}]},t}();t.EmployeesComponent=o}).call(t,l(16))},326:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=function(){function t(){this.allItemsChange=new e.EventEmitter,this.schedulesChange=new e.EventEmitter,this.scheduletimesChange=new e.EventEmitter,this.menudatesChange=new e.EventEmitter,this.menusChange=new e.EventEmitter,this.onCloseMenuConfig=new e.EventEmitter,this.onMenuRefresh=new e.EventEmitter,this.onLoading=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){"viewTab"in t&&""!=t.viewTab.currentValue&&""==t.viewTab.previousValue&&n("my-menu-config ul.tabs").tabs("select_tab",this.viewTab)},t.prototype.hotkey=function(t){if(192==t.keyCode&&t.ctrlKey)if(t.shiftKey){switch(this.viewTab){case"schedules":this.viewTab="menudates";break;case"menus":this.viewTab="schedules";break;case"menudates":this.viewTab="menus"}n("my-menu-config ul.tabs").tabs("select_tab",this.viewTab)}else{switch(this.viewTab){case"schedules":this.viewTab="menus";break;case"menus":this.viewTab="menudates";break;case"menudates":this.viewTab="schedules"}n("my-menu-config ul.tabs").tabs("select_tab",this.viewTab)}},t.prototype.onScheduleChange=function(){this.onMenuRefresh.emit()},t.prototype.onMenuChange=function(){this.onMenuRefresh.emit()},t.prototype.onLoadingData=function(n){this.onLoading.emit(n)},t.prototype.cancel=function(){this.onCloseMenuConfig.emit()},t}();t.MenuConfigComponent=i}).call(t,l(16))},327:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(811),u=l(114),o=l(5),r=function(){function t(n,t){this.scheduleService=n,this.user=t,this.schedulesChange=new e.EventEmitter,this.onCloseSchedule=new e.EventEmitter,this.onScheduleChange=new e.EventEmitter,this.msg_lvl="Add Schedule",this.message=" ",this.time=["","","","","","","","","","","",""],this.chipsInput={secondaryPlaceholder:"Add Schedule"}}return t.prototype.add=function(t){var l=this;n("my-schedules .chips-placeholder").material_chip(this.chipsInput),void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),t.id=this.chipEdit.id,this.msg_lvl="Add Schedule",this.message=" ",delete this.chipEdit);var e,u=-1;void 0===t.id?(t.id=-1,e=new i.Schedule,e.id=t.id,e.name=t.tag,e.active=1,e.times=[]):(e=this.schedules.filter(function(n){return n.id==t.id})[0],u=this.schedules.indexOf(e),e.name=t.tag);for(var o=0;o<12;o++)""==this.time[o]?e.times[o]&&(e.times[o].time=this.time[o]):e.times[o]?e.times[o].time=this.time[o]:e.times.push({idx:o,time:this.time[o]});for(var r=!0;r;){var s=!1;e.times.forEach(function(n,t){s?e.times[t+1]&&(n.time=e.times[t+1].time):""==n.time&&t input").val("")}else{this.msg_lvl="Editing Schedule: ",this.message=t.tag;var i;i=this.schedules.filter(function(n){return n.id==t.id})[0];for(var e=0;e<12;e++)this.time[e]=i.times[e]?i.times[e].time:"";n("my-schedules .chips-placeholder > input").val(t.tag),n("my-schedules .chips-placeholder > input").focus()}},t.prototype.save=function(){n("my-schedules .chips-placeholder > input").trigger(n.Event("keydown",{which:13,keyCode:13}))},t.prototype.cancel=function(){this.onCloseSchedule.emit()},t.prototype.cancelEdit=function(){if(void 0!==this.chipEdit){n(this.chipEdit.chip).removeClass("active"),this.msg_lvl="Add Schedule",this.message=" ",delete this.chipEdit;for(var t=0;t<12;t++)this.time[t]="";n("my-schedules .chips-placeholder > input").val("")}},t.prototype.delete=function(n){var t=this;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.scheduleService.deleteSchedule(this.schedules.filter(function(t){return t.id==n.id})[0]).subscribe(function(l){l.error?(t.errorMsg="Delete Failed",console.log(l.message)):(t.schedules.splice(t.schedules.indexOf(t.schedules.filter(function(t){return t.id==n.id})[0]),1),t.schedulesChange.emit(t.schedules),t.onScheduleChange.emit())},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:u.ScheduleService},{type:o.UserService}]},t}();t.SchedulesComponent=r}).call(t,l(16))},328:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(813),u=l(814),o=l(815),r=l(115),s=l(5),a=function(){function t(n,t){this.menuService=n,this.user=t,this.allItemsChange=new e.EventEmitter,this.schedulesChange=new e.EventEmitter,this.menusChange=new e.EventEmitter,this.onMenuChange=new e.EventEmitter,this.onCloseMenus=new e.EventEmitter,this.onLoadingData=new e.EventEmitter,this.loading=!1,this.msg_lvl="Add Menu",this.message=" ",this.chipsInput={secondaryPlaceholder:"Add a Menu"}}return t.prototype.ngOnInit=function(){this.initEmptyMenu(),this.initScreenMenu()},t.prototype.ngOnChanges=function(n){("scheduletimes"in n||"items"in n)&&(this.cancelEdit(),this.initEmptyMenu(),this.initScreenMenu())},t.prototype.fixItem=function(n){var t=this.items.find(function(t){return t.id==n}),l=!1;return t.station<1?l=!0:t.group<1?l=!0:t.measurement<1?l=!0:t.correctiveAction<1?l=!0:t.cannotPerform<1?l=!0:t.allowance<0&&(l=!0),l},t.prototype.getErrors=function(n){var t=this.items.find(function(t){return t.id==n}),l="";return t.station<1&&(l+="Station not selected."),t.group<1&&(l+="\nGroup not selected."),t.measurement<1&&(l+="\nMeasurement not selected."),t.correctiveAction<1&&(l+="\nCorrective Action not selected."),t.cannotPerform<1&&(l+="\nCannot Perform not selected."),t.allowance<0&&(l+="\nAllowance not set."),l},t.prototype.initEmptyMenu=function(){this.emptyMenu=new i.Menu,this.emptyMenu.items=[],this.items.forEach(function(n){var t=new u.MenuItem(n.id,n.name);this.scheduletimes.forEach(function(n,l){var e=new o.ScheduledReading(n.time);t.readings.push(e)}),this.emptyMenu.items.push(t)}.bind(this))},t.prototype.initScreenMenu=function(){this.selectedMenu=new i.Menu,n.extend(!0,this.selectedMenu,this.emptyMenu)},t.prototype.onschedule=function(n,t){var l=n.composedPath()[0].value;if("0"!=l&&(this.selectedMenu.items.find(function(n){return n.id==t}).readings.forEach(function(n){n.active=!1,n.idTmPrfl=0}),"-1"!=l)){var e=this.schedules.find(function(n){return n.id==l});this.selectedMenu.items.find(function(n){return n.id==t}).readings.forEach(function(n){e.times.filter(function(t){return t.time==n.epchEvent+":00"}).length>0&&(n.active=!0,n.idTmPrfl=l)})}},t.prototype.oncustom=function(t,l){this.selectedMenu.items.find(function(n){return n.id==l}).readings.forEach(function(n){n.idTmPrfl=0}),n("#schedule"+l).val("0"),n("select").material_select()},t.prototype.add=function(t){var l=this;n("my-menus .chips-placeholder").material_chip(this.chipsInput),void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),t.id=this.chipEdit.id,this.msg_lvl="Add Menu",this.message=" ",delete this.chipEdit),this.sid=this.user.getMe().primary_sid;var e=new i.Menu,u=-1;void 0===t.id?(t.id=-1,e.idMenu=t.id,e.name=t.tag,e.active=1,e.type=0,e.items=[],n.extend(!0,e.items,this.selectedMenu.items),e.items.forEach(function(n){n.sid=this.sid}.bind(this))):(n.extend(!0,e,this.selectedMenu),u=this.menus.findIndex(function(n){return n.idMenu==t.id}),e.name=t.tag),console.log("Chip added: "+t.tag+" (ID: "+t.id+")"),this.errorMsg="",delete this.selectedMenu,this.initScreenMenu(),this.menuService.saveMenu(e).subscribe(function(i){i.error?(l.errorMsg="Save Failed",console.log(i.message)):-1==e.idMenu?(e.idMenu=i.newid,t.id=e.idMenu,l.menus.push(e),l.menusChange.emit(l.menus),l.onMenuChange.emit()):(n.extend(!0,l.menus[u],e),l.menusChange.emit(l.menus),l.onMenuChange.emit())},function(n){console.log(n),l.errorMsg="Save Failed"})},t.prototype.select=function(t,l){l.stopPropagation(),this.cancelEdit(),this.chipEdit=t,n(t.chip).addClass("active"),console.log("Chip selected: "+t.tag+" (ID: "+t.id+")"),n.extend(!0,this.selectedMenu,this.menus.find(function(n){return n.idMenu===t.id})),this.msg_lvl="Editing Menu: ",this.message=t.tag,n("my-menus .chips-placeholder > input").val(t.tag),n("my-menus .chips-placeholder > input").focus()},t.prototype.save=function(){n("my-menus .chips-placeholder > input").trigger(n.Event("keydown",{which:13,keyCode:13}))},t.prototype.cancel=function(){this.onCloseMenus.emit()},t.prototype.cancelEdit=function(){void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),delete this.selectedMenu,this.initScreenMenu(),this.msg_lvl="Add Menu",this.message=" ",delete this.chipEdit,n("my-menus .chips-placeholder > input").val(""))},t.prototype.delete=function(n){var t=this;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.menuService.deleteMenu(this.menus.filter(function(t){return t.idMenu==n.id})[0]).subscribe(function(l){l.error?(t.errorMsg="Delete Failed",console.log(l.message)):(t.menus.splice(t.menus.indexOf(t.menus.filter(function(t){return t.idMenu==n.id})[0]),1),t.menusChange.emit(t.menus),t.onMenuChange.emit())},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:r.MenuService},{type:s.UserService}]},t}();t.MenusComponent=a}).call(t,l(16))},329:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(817),u=l(116),o=l(5),r=function(){function n(n,t){this.menudateService=n,this.user=t,this.menusChange=new e.EventEmitter,this.menudatesChange=new e.EventEmitter,this.clearmenudate=new i.MenuDate,this.clearing=!1}return n.prototype.ngOnInit=function(){this.clearmenudate.sid=this.menudates[0].sid,this.clearmenudate.idMenuDay=-1,this.clearmenudate.idMenu=-1,this.clearmenudate.vrsn=-1,this.clearmenudate.epchDate=-1,this.clearmenudate.past=!1},n.prototype.save=function(){var n=this;this.menudateService.deleteMenuDate(this.clearmenudate).subscribe(function(t){t.error?console.log(t.message):n.menudates.forEach(function(n){var t=this;n.idMenu<=0?n.idMenuDay>0&&this.delete(n):this.menudateService.saveMenuDate(n).subscribe(function(l){l.error?console.log(l.message):-1==n.idMenuDay?(n.idMenuDay=l.newid,t.menudatesChange.emit(t.menudates)):t.menudatesChange.emit(t.menudates)},function(n){console.log(n)})}.bind(n))},function(n){console.log(n)})},n.prototype.cancel=function(){var n=this;this.clearing=!0,this.menudateService.getMenuDates().then(function(t){n.menudates=t,n.clearing=!1})},n.prototype.delete=function(n){this.menudateService.deleteMenuDate(n).subscribe(function(n){n.error&&console.log(n.message)},function(n){console.log(n)})},n.ctorParameters=function(){return[{type:u.MenuDateService},{type:o.UserService}]},n}();t.MenuDatesComponent=r},330:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(117),u=l(0),o=function(){function n(n){this.ccDataService=n,this.ccdataChange=new e.EventEmitter,this.searching=!0,this.nameFilter="",this.numberFilter="",this.lotFilter="",this.probeFilter="",this.dateFilter="",this.dateToFilter="",this.dateFrom=0,this.dateTo=0,this.resultsFilter="",this.dorrsFilter=!1,this.showTiers=!1,this.doRR=!1,this.verifiedBy="",this.verifiedDate=this.getFormattedDate(),this.verifiedTime=u.Observable.interval(1e3).map(function(n){return new Date}).share(),this.verifiedMethod="Record Review",this.pickerVisible=!0}return n.prototype.getData=function(n){var t=this;this.searching=!1,this.ccDataService.getCCData().then(function(l){t.allRows=t.ccdata=l,n?t.filterDate(t.getFormattedDate()):t.filter()})},n.prototype.refreshData=function(){this.getData(!1)},n.prototype.ngOnInit=function(){this.getData(!0)},n.prototype.hasRR=function(n){return!(void 0===n||!n||null==n)&&(0!=n.length&&void 0!==n.find(function(n){return 3==n.dorrType}))},n.prototype.saveDORR=function(n,t){var l=this;void 0!==n.dorrs&&Array.isArray(n.dorrs)||(n.dorrs=Array());var e=new Date;n.dorrs.push({id:n.id,dorrType:3,dorrResult:t,verifiedBy:this.verifiedBy,verifiedTime:e.getTime()}),this.ccDataService.saveCCDORR(n).subscribe(function(n){n.error?console.log(n.message):l.getData(!1)},function(n){console.log(n)})},n.prototype.filterName=function(n){27===n.which&&(this.nameFilter=""),this.filter()},n.prototype.filterNumber=function(n){27===n.which&&(this.numberFilter=""),this.filter()},n.prototype.filterLot=function(n){27===n.which&&(this.lotFilter=""),this.filter()},n.prototype.filterProbe=function(n){27===n.which&&(this.probeFilter=""),this.filter()},n.prototype.filterDate=function(n){var t=this;if(""==n||27===n.which)this.dateFilter="",this.dateFrom=0;else{this.dateFilter=n;var l=new Date(n);this.dateFrom=l.getTime()/1e3,this.dateTo>0&&this.dateFrom>=this.dateTo&&(this.dateFrom=this.dateTo-86400,this.dateFilter=this.dateToFilter,this.dateTo=l.getTime()/1e3+86400,this.dateToFilter=n,this.pickerVisible=!1,setTimeout(function(){t.pickerVisible=!0},0))}this.filter()},n.prototype.filterDateTo=function(n){var t=this;if(""==n||27===n.which)this.dateToFilter="",this.dateTo=0;else{var l=new Date(n);this.dateTo=l.getTime()/1e3+86400,this.dateToFilter=n,this.dateFrom>=this.dateTo&&(this.dateTo=this.dateFrom+86400,this.dateToFilter=this.dateFilter,this.dateFrom=l.getTime()/1e3,this.dateFilter=n,this.pickerVisible=!1,setTimeout(function(){t.pickerVisible=!0},0))}this.filter()},n.prototype.getFormattedDate=function(){var n=new Date,t=n.getFullYear(),l=(1+n.getMonth()).toString();l=l.length>1?l:"0"+l;var e=n.getDate().toString();return e=e.length>1?e:"0"+e,l+"/"+e+"/"+t},n.prototype.filterResults=function(n){27===n.which&&(this.resultsFilter=""),this.filter()},n.prototype.filterHasDORR=function(n){this.filter()},n.prototype.filter=function(){0==this.dateTo?this.ccdata=this.allRows.filter(function(n){return n.itemName.toLowerCase().indexOf(this.nameFilter.toLowerCase())>-1&&n.ckchNumber.toLowerCase().indexOf(this.numberFilter.toLowerCase())>-1&&n.lotNumber.toLowerCase().indexOf(this.lotFilter.toLowerCase())>-1&&n.probeSerial.toLowerCase().indexOf(this.probeFilter.toLowerCase())>-1&&n.resultDate.toLowerCase().indexOf(this.dateFilter.toLowerCase())>-1&&n.result.toLowerCase().indexOf(this.resultsFilter.toLowerCase())>-1&&(this.dorrsFilter&&null!=n.dorrs&&void 0!==n.dorrs&&Array.isArray(n.dorrs)&&n.dorrs.length>0||!this.dorrsFilter)}.bind(this)):this.ccdata=this.allRows.filter(function(n){return n.itemName.toLowerCase().indexOf(this.nameFilter.toLowerCase())>-1&&n.ckchNumber.toLowerCase().indexOf(this.numberFilter.toLowerCase())>-1&&n.lotNumber.toLowerCase().indexOf(this.lotFilter.toLowerCase())>-1&&n.probeSerial.toLowerCase().indexOf(this.probeFilter.toLowerCase())>-1&&n.resultTimestamp>=this.dateFrom&&n.resultTimestamp-1&&(this.dorrsFilter&&null!=n.dorrs&&void 0!==n.dorrs&&Array.isArray(n.dorrs)&&n.dorrs.length>0||!this.dorrsFilter)}.bind(this)),this.ccdataChange.emit(this.ccdata)},n.ctorParameters=function(){return[{type:i.CCDataService}]},n}();t.ReportViewComponent=o},331:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(118),u=l(822),o=function(){function t(n){this.ccpDataService=n,this.ccpdataChange=new e.EventEmitter,this.ccpstatsChange=new e.EventEmitter,this.searching=!0,this.overview=!1,this.dateFilter="",this.dateFrom=0,this.signature="",this.sigs=["","",""],this.pickerVisible=!0}return t.prototype.getData=function(n){var t=this;this.searching=!0,this.overview?this.ccpDataService.getCCPStats(this.dateFrom).then(function(l){t.searching=!1,t.ccpdata.length=0,t.allRows2=t.ccpstats=l,n?t.filterDate(t.getFormattedDate()):t.filter()}):(this.ccpstats.length=0,this.ccpDataService.getCCPData(this.dateFrom).then(function(l){t.searching=!1,t.allRows=t.ccpdata=l,t.signature="",t.sigs=["","",""],void 0!==t.ccpdata[0]&&void 0!==t.ccpdata[0].signature&&""!=t.ccpdata[0].signature&&(417==t.site.cid?(t.sigs=t.ccpdata[0].signature.split("||"),void 0===t.sigs[0]&&(t.sigs[0]=""),void 0===t.sigs[1]&&(t.sigs[1]=""),void 0===t.sigs[2]&&(t.sigs[2]="")):t.signature=t.ccpdata[0].signature),n?t.filterDate(t.getFormattedDate()):t.filter()}))},t.prototype.overviewData=function(){this.overview=!this.overview,this.getData(!1)},t.prototype.refreshData=function(){this.getData(!1)},t.prototype.ngOnInit=function(){this.getData(!0)},t.prototype.captureScreen=function(){var t=this,l=n(".no-container")[0];this.overview?html2canvas(l,{width:1080,height:1920,windowWidth:1080,windowHeight:1920}).then(function(n){var l=8.5*n.height/n.width,e=new Date(0);e.setUTCSeconds(t.dateFrom);var i=e.getFullYear()+"-"+(e.getMonth()<9?"0":"")+(e.getMonth()+1)+"-"+(e.getDate()<10?"0":"")+e.getDate(),o=n.toDataURL("image/png"),r=new u("p","in","legal");r.addImage(o,"PNG",0,.25,8.5,l),r.save("overview_"+i+".pdf")}):html2canvas(l,{width:1600,height:900,windowWidth:1600,windowHeight:900}).then(function(n){var l=11*n.height/n.width,e=new Date(0);e.setUTCSeconds(t.dateFrom);var i=e.getFullYear()+"-"+(e.getMonth()<9?"0":"")+(e.getMonth()+1)+"-"+(e.getDate()<10?"0":"")+e.getDate(),o=n.toDataURL("image/png"),r=new u("l","in","letter");r.addImage(o,"PNG",0,.25,11,l),r.save(t.site.name.replace(/ /g,"")+"_"+i+".pdf")})},t.prototype.saveSignature=function(){var n=this;if(417==this.site.cid){var t=this.ccpdata[0].signature.split("||");void 0!==this.sigs[0]&&""!=this.sigs[0]&&(t[0]=this.sigs[0]),void 0!==this.sigs[1]&&""!=this.sigs[1]&&(t[1]=this.sigs[1]),void 0!==this.sigs[2]&&""!=this.sigs[2]&&(t[2]=this.sigs[2]),void 0===t[0]&&(t[0]=""),void 0===t[1]&&(t[1]=""),void 0===t[2]&&(t[2]=""),this.ccpdata[0].signature=t.join("||")}else this.ccpdata[0].signature=this.signature;void 0!==this.ccpdata[0].signature&&""!=this.ccpdata[0].signature&&this.ccpDataService.saveSignature(this.ccpdata[0]).subscribe(function(t){t.error&&(console.log(t.message),n.getData(!1))},function(n){console.log(n)})},t.prototype.filterDate=function(n){if(""==n||27===n.which)this.dateFilter="",this.dateFrom=0;else{this.dateFilter=n;var t=new Date(n);this.dateFrom=t.getTime()/1e3}this.getData(!1)},t.prototype.getFormattedDate=function(){var n=new Date,t=n.getFullYear(),l=(1+n.getMonth()).toString();l=l.length>1?l:"0"+l;var e=n.getDate().toString();return e=e.length>1?e:"0"+e,l+"/"+e+"/"+t},t.prototype.filter=function(){this.overview?(this.ccpstats=this.allRows2,this.ccpstatsChange.emit(this.ccpstats)):(this.ccpdata=this.allRows,this.ccpdataChange.emit(this.ccpdata))},t.ctorParameters=function(){return[{type:i.CCPDataService}]},t}();t.ReportCCPComponent=o}).call(t,l(16))},332:function(n,t){n.exports=function(){throw new Error("define cannot be used indirect")}},333:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(827),u=l(119),o=l(5),r=function(){function t(n,t){this.groupService=n,this.user=t,this.allItemsChange=new e.EventEmitter,this.groupsChange=new e.EventEmitter,this.msg_lvl="Add Group",this.message=" ",this.inUse=0,this.reassignID=0,this.eltname=""}return t.prototype.add=function(t){var l=this;if(""!=t){var e={};if(e.tag=t,this.eltname="",void 0!==this.chipEdit){if(n(this.chipEdit.chip).removeClass("active"),e.id=this.chipEdit.id,this.msg_lvl="Add Group",this.message=" ",e.tag==this.chipEdit.tag)return void delete this.chipEdit;delete this.chipEdit}var u,o=-1;void 0===e.id?(e.id=-1,u=new i.Group,u.id=e.id,u.name=e.tag,u.active=1):(u=this.groups.filter(function(n){return n.id==e.id})[0],o=this.groups.indexOf(u),u.name=e.tag),console.log("Chip added: "+e.tag+" (ID: "+e.id+")"),this.errorMsg="",this.groupService.saveGroup(u).subscribe(function(n){n.error?(l.errorMsg="Save Failed",console.log(n.message)):-1==u.id?(u.id=n.newid,e.id=u.id,l.groups.push(u),l.groupsChange.emit(l.groups)):(l.groups[o].name=e.tag,l.groupsChange.emit(l.groups))},function(n){console.log(n),l.errorMsg="Save Failed"})}},t.prototype.select=function(t,l){l.stopPropagation(),void 0!==this.chipEdit&&n(this.chipEdit.chip).removeClass("active"),this.chipEdit=t,n(t.chip).addClass("active"),console.log("Chip selected: "+t.tag+" (ID: "+t.id+")"),this.msg_lvl="Editing Group: ",this.message=t.tag,this.eltname=t.tag,n("my-groups input#eltname").focus()},t.prototype.save=function(){this.add(this.eltname)},t.prototype.cancelEdit=function(){void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),this.msg_lvl="Add Group",this.message=" ",this.inUse=0,delete this.chipEdit,n("my-groups select#reassignID").material_select("destroy")),this.eltname=""},t.prototype.delete=function(n){var t=this;if(0==this.reassignID&&(this.inUse=this.allItems.filter(function(t){return t.group==n.id}).length,this.inUse>0))return this.msg_lvl="Deleting Group: ",this.message=n.tag+" in use by "+this.inUse+" items.",void console.log("Group in use by "+this.inUse+" items.");var l=this.reassignID;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.groupService.deleteGroup(this.groups.filter(function(t){return t.id==n.id})[0],l).subscribe(function(e){e.error?(t.errorMsg="Delete Failed",console.log(e.message)):(t.groups.splice(t.groups.indexOf(t.groups.filter(function(t){return t.id==n.id})[0]),1),t.groupsChange.emit(t.groups),t.allItems=t.allItems.map(function(t){return t.group==n.id&&(t.group=l),t}))},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:u.GroupService},{type:o.UserService}]},t}();t.GroupsComponent=r}).call(t,l(16))},334:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(829),u=l(120),o=l(5),r=function(){function t(n,t){this.reportGroupService=n,this.user=t,this.allItemsChange=new e.EventEmitter,this.reportGroupsChange=new e.EventEmitter,this.msg_lvl="Add Report Group",this.message=" ",this.eltname="",this.eltnotes=""}return t.prototype.add=function(t){var l=this;if(""!=t){var e={};e.tag=t,e.notes=this.eltnotes,this.eltname="",this.eltnotes="",void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),e.id=this.chipEdit.id,this.msg_lvl="Add Report Group",this.message=" ",delete this.chipEdit);var u,o=-1;void 0===e.id?(e.id=-1,u=new i.ReportGroup,u.id=e.id,u.name=e.tag,u.notes=e.notes,u.active=1):(u=this.reportGroups.filter(function(n){return n.id==e.id})[0],o=this.reportGroups.indexOf(u),u.name=e.tag,u.notes=e.notes),console.log("Chip added: "+e.tag+" (ID: "+e.id+")"),this.errorMsg="",this.reportGroupService.saveReportGroup(u).subscribe(function(n){n.error?(l.errorMsg="Save Failed",console.log(n.message)):-1==u.id?(u.id=n.newid,e.id=u.id,l.reportGroups.push(u),l.reportGroupsChange.emit(l.reportGroups)):(l.reportGroups[o].name=e.tag,l.reportGroups[o].notes=e.notes,l.reportGroupsChange.emit(l.reportGroups))},function(n){console.log(n),l.errorMsg="Save Failed"})}},t.prototype.select=function(t,l){l.stopPropagation(),void 0!==this.chipEdit&&n(this.chipEdit.chip).removeClass("active"),this.chipEdit=t,n(t.chip).addClass("active"),console.log("Chip selected: "+t.tag+" (ID: "+t.id+")"),this.msg_lvl="Editing Report Group: ",this.message=t.tag,this.eltname=t.tag,this.eltnotes=t.notes,n("my-report-groups input#eltname").focus()},t.prototype.save=function(){this.add(this.eltname)},t.prototype.cancelEdit=function(){void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),this.msg_lvl="Add Report Group",this.message=" ",delete this.chipEdit,n("my-report-groups .chips-placeholder > input").val("")),this.eltname="",this.eltnotes=""},t.prototype.delete=function(n){var t=this;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.reportGroupService.deleteReportGroup(this.reportGroups.filter(function(t){return t.id==n.id})[0]).subscribe(function(l){l.error?(t.errorMsg="Delete Failed",console.log(l.message)):(t.reportGroups.splice(t.reportGroups.indexOf(t.reportGroups.filter(function(t){return t.id==n.id})[0]),1),t.reportGroupsChange.emit(t.reportGroups),t.allItems=t.allItems.map(function(t){return t.reportGroups.indexOf(n.id)>-1&&t.reportGroups.splice(t.reportGroups.indexOf(n.id),1),t}))},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:u.ReportGroupService},{type:o.UserService}]},t}();t.ReportGroupsComponent=r}).call(t,l(16))},335:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(831),u=l(121),o=l(5),r=function(){function t(n,t){this.caService=n,this.user=t,this.allItemsChange=new e.EventEmitter,this.casChange=new e.EventEmitter,this.msg_lvl="Add Corrective Action",this.message=" ",this.ca=["","","","","",""],this.inUse=0,this.reassignID=0,this.chipsInput={secondaryPlaceholder:"Add Corrective Action"}}return t.prototype.add=function(t){var l=this;n("my-cas .chips-placeholder").material_chip(this.chipsInput),void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),t.id=this.chipEdit.id,this.msg_lvl="Add Corrective Action",this.message=" ",delete this.chipEdit);var e,u=-1;void 0===t.id?(t.id=-1,e=new i.CA,e.id=t.id,e.name=t.tag,e.active=1,e.actions=[]):(e=this.cas.filter(function(n){return n.id==t.id})[0],u=this.cas.indexOf(e),e.name=t.tag);for(var o=0;o<6;o++)""==this.ca[o]?e.actions[o]&&(e.actions[o].active=0,e.actions[o].action=this.ca[o]):e.actions[o]?(e.actions[o].action=this.ca[o],e.actions[o].active=1):e.actions.push({id:o,action:this.ca[o],active:1});for(var o=0;o<6;o++)this.ca[o]="";console.log("Chip added: "+t.tag+" (ID: "+t.id+")"),this.errorMsg="",this.caService.saveCA(e).subscribe(function(n){n.error?(l.errorMsg="Save Failed",console.log(n.message)):-1==e.id?(e.id=n.newid,t.id=e.id,l.cas.push(e),l.casChange.emit(l.cas)):(l.cas[u].name=t.tag,l.casChange.emit(l.cas))},function(n){console.log(n),l.errorMsg="Save Failed"})},t.prototype.select=function(t,l){l.stopPropagation(),void 0!==this.chipEdit&&n(this.chipEdit.chip).removeClass("active"),this.chipEdit=t,n(t.chip).addClass("active"),console.log("Chip selected: "+t.tag+" (ID: "+t.id+")"),this.msg_lvl="Editing Corrective Action: ",this.message=t.tag;var e;e=this.cas.filter(function(n){return n.id==t.id})[0];for(var i=0;i<6;i++)this.ca[i]=e.actions[i]?e.actions[i].action:"";n("my-cas .chips-placeholder > input").val(t.tag),n("my-cas .chips-placeholder > input").focus()},t.prototype.save=function(){n("my-cas .chips-placeholder > input").trigger(n.Event("keydown",{which:13,keyCode:13}))},t.prototype.cancelEdit=function(){if(void 0!==this.chipEdit){n(this.chipEdit.chip).removeClass("active"),this.msg_lvl="Add Corrective Action",this.message=" ",this.inUse=0,delete this.chipEdit;for(var t=0;t<6;t++)this.ca[t]="";n("my-cas select#reassignID").material_select("destroy"),n("my-cas .chips-placeholder > input").val("")}},t.prototype.delete=function(n){var t=this;if(0==this.reassignID&&(this.inUse=this.allItems.filter(function(t){return t.correctiveAction==n.id}).length,this.inUse>0))return this.msg_lvl="Deleting Corrective Action: ",this.message=n.tag+" in use by "+this.inUse+" items.",void console.log("CA in use by "+this.inUse+" items.");var l=this.reassignID;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.caService.deleteCA(this.cas.filter(function(t){return t.id==n.id})[0],l).subscribe(function(e){e.error?(t.errorMsg="Delete Failed",console.log(e.message)):(t.cas.splice(t.cas.indexOf(t.cas.filter(function(t){return t.id==n.id})[0]),1),t.casChange.emit(t.cas),t.allItems=t.allItems.map(function(t){return t.correctiveAction==n.id&&(t.correctiveAction=l),t}))},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:u.CAService},{type:o.UserService}]},t}();t.CAsComponent=r}).call(t,l(16))},336:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(833),u=l(122),o=l(5),r=function(){function t(n,t){this.cnpService=n,this.user=t,this.allItemsChange=new e.EventEmitter,this.cnpsChange=new e.EventEmitter,this.msg_lvl="Add Cannot Perform",this.message=" ",this.cnp=["","","","","",""],this.inUse=0,this.reassignID=0,this.chipsInput={secondaryPlaceholder:"Add Cannot Perform"}}return t.prototype.add=function(t){var l=this;n("my-cnps .chips-placeholder").material_chip(this.chipsInput),void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),t.id=this.chipEdit.id,this.msg_lvl="Add Cannot Perform",this.message=" ",delete this.chipEdit);var e,u=-1;void 0===t.id?(t.id=-1,e=new i.CNP,e.id=t.id,e.name=t.tag,e.active=1,e.actions=[]):(e=this.cnps.filter(function(n){return n.id==t.id})[0],u=this.cnps.indexOf(e),e.name=t.tag);for(var o=0;o<6;o++)""==this.cnp[o]?e.actions[o]&&(e.actions[o].active=0,e.actions[o].action=this.cnp[o]):e.actions[o]?(e.actions[o].action=this.cnp[o],e.actions[o].active=1):e.actions.push({id:o,action:this.cnp[o],active:1});for(var o=0;o<6;o++)this.cnp[o]="";console.log("Chip added: "+t.tag+" (ID: "+t.id+")"),this.errorMsg="",this.cnpService.saveCNP(e).subscribe(function(n){n.error?(l.errorMsg="Save Failed",console.log(n.message)):-1==e.id?(e.id=n.newid,t.id=e.id,l.cnps.push(e),l.cnpsChange.emit(l.cnps)):(l.cnps[u].name=t.tag,l.cnpsChange.emit(l.cnps))},function(n){console.log(n),l.errorMsg="Save Failed"})},t.prototype.select=function(t,l){l.stopPropagation(),void 0!==this.chipEdit&&n(this.chipEdit.chip).removeClass("active"),this.chipEdit=t,n(t.chip).addClass("active"),console.log("Chip selected: "+t.tag+" (ID: "+t.id+")"),this.msg_lvl="Editing Cannot Perform: ",this.message=t.tag;var e;e=this.cnps.filter(function(n){return n.id==t.id})[0];for(var i=0;i<6;i++)this.cnp[i]=e.actions[i]?e.actions[i].action:"";n("my-cnps .chips-placeholder > input").val(t.tag),n("my-cnps .chips-placeholder > input").focus()},t.prototype.save=function(){n("my-cnps .chips-placeholder > input").trigger(n.Event("keydown",{which:13,keyCode:13}))},t.prototype.cancelEdit=function(){if(void 0!==this.chipEdit){n(this.chipEdit.chip).removeClass("active"),this.msg_lvl="Add Cannot Perform",this.message=" ",this.inUse=0,delete this.chipEdit;for(var t=0;t<6;t++)this.cnp[t]="";n("my-cnps select#reassignID").material_select("destroy"),n("my-cnps .chips-placeholder > input").val("")}},t.prototype.delete=function(n){var t=this;if(0==this.reassignID&&(this.inUse=this.allItems.filter(function(t){return t.cannotPerform==n.id}).length,this.inUse>0))return this.msg_lvl="Deleting Cannot Perform: ",this.message=n.tag+" in use by "+this.inUse+" items.",void console.log("CNP in use by "+this.inUse+" items.");var l=this.reassignID;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.cnpService.deleteCNP(this.cnps.filter(function(t){return t.id==n.id})[0],l).subscribe(function(e){e.error?(t.errorMsg="Delete Failed",console.log(e.message)):(t.cnps.splice(t.cnps.indexOf(t.cnps.filter(function(t){return t.id==n.id})[0]),1),t.cnpsChange.emit(t.cnps),t.allItems=t.allItems.map(function(t){return t.cannotPerform==n.id&&(t.cannotPerform=l),t}))},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:u.CNPService},{type:o.UserService}]},t}();t.CNPsComponent=r}).call(t,l(16))},337:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(835),u=l(123),o=l(5),r=function(){function t(n,t){this.measurementService=n,this.user=t,this.allItemsChange=new e.EventEmitter,this.measurementsChange=new e.EventEmitter,this.msg_lvl="Add Measurement",this.message=" ",this.type=0,this.lo=0,this.hi=100,this.lo_hold=0,this.hi_hold=100,this.degrees="",this.inUse=0,this.reassignID=0,this.chipsInput={secondaryPlaceholder:"Add Measurement"}}return t.prototype.ngOnInit=function(){this.degrees="(°"+("1"==localStorage.getItem("degrees")?"C":"F")+")"},t.prototype.add=function(t){var l=this;n("my-measurements .chips-placeholder").material_chip(this.chipsInput),void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),t.id=this.chipEdit.id,this.msg_lvl="Add Measurement",this.message=" ",delete this.chipEdit);var e,u=-1;void 0===t.id?(t.id=-1,e=new i.Measurement,e.id=t.id,e.name=t.tag,e.active=1):(e=this.measurements.filter(function(n){return n.id==t.id})[0],u=this.measurements.indexOf(e),e.name=t.tag),e.type=this.type,e.lo=this.lo,e.hi=this.hi,this.type=0,this.lo=0,this.hi=1,console.log("Chip added: "+t.tag+" (ID: "+t.id+")"),this.errorMsg="",this.measurementService.saveMeasurement(e).subscribe(function(n){n.error?(l.errorMsg="Save Failed",console.log(n.message)):-1==e.id?(e.id=n.newid,t.id=e.id,l.measurements.push(e),l.measurementsChange.emit(l.measurements)):(l.measurements[u].name=t.tag,l.measurementsChange.emit(l.measurements))},function(n){console.log(n),l.errorMsg="Save Failed"})},t.prototype.onchange=function(n){1==n.composedPath()[0].value?(this.lo_hold=this.lo,this.hi_hold=this.hi,this.lo=0,this.hi=1):(this.lo=this.lo_hold,this.hi=this.hi_hold),console.log("onchange() => value:"+n.composedPath()[0].value),console.log(n)},t.prototype.select=function(t,l){l.stopPropagation(),void 0!==this.chipEdit&&n(this.chipEdit.chip).removeClass("active"),this.chipEdit=t,n(t.chip).addClass("active"),console.log("Chip selected: "+t.tag+" (ID: "+t.id+")"),this.msg_lvl="Editing Measurement: ",this.message=t.tag;var e;e=this.measurements.filter(function(n){return n.id==t.id})[0],this.type=e.type,this.lo=e.lo,this.hi=e.hi,this.lo_hold=this.lo,this.hi_hold=this.hi,n("my-measurements .chips-placeholder > input").val(t.tag),n("my-measurements .chips-placeholder > input").focus()},t.prototype.save=function(){n("my-measurements .chips-placeholder > input").trigger(n.Event("keydown",{which:13,keyCode:13}))},t.prototype.cancelEdit=function(){void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),this.msg_lvl="Add Measurement",this.message=" ",this.inUse=0,delete this.chipEdit,this.type=0,this.lo=0,this.hi=1,n("my-measurements select#reassignID").material_select("destroy"),n("my-measurements .chips-placeholder > input").val(""))},t.prototype.delete=function(n){var t=this;if(0==this.reassignID&&(this.inUse=this.allItems.filter(function(t){return t.measurement==n.id}).length,this.inUse>0))return this.msg_lvl="Deleting Measurement: ",this.message=n.tag+" in use by "+this.inUse+" items.",void console.log("Measurement in use by "+this.inUse+" items.");var l=this.reassignID;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.measurementService.deleteMeasurement(this.measurements.filter(function(t){return t.id==n.id})[0],l).subscribe(function(e){e.error?(t.errorMsg="Delete Failed",console.log(e.message)):(t.measurements.splice(t.measurements.indexOf(t.measurements.filter(function(t){return t.id==n.id})[0]),1),t.measurementsChange.emit(t.measurements),t.allItems=t.allItems.map(function(t){return t.measurement==n.id&&(t.measurement=l),t}))},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:u.MeasurementService},{type:o.UserService}]},t}();t.MeasurementsComponent=r}).call(t,l(16))},338:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(339),u=l(69),o=l(5),r=function(){function t(n,t){this.stationService=n,this.user=t,this.allItemsChange=new e.EventEmitter,this.stationsChange=new e.EventEmitter,this.msg_lvl="Add Station",this.message=" ",this.inUse=0,this.reassignID=0,this.eltname="",this.eltsort=0}return t.prototype.add=function(t){var l=this;if(""!=t){var e={};e.tag=t,e.sort=this.eltsort,this.eltname="",this.eltsort=0,void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),e.id=this.chipEdit.id,e.icon64=this.chipEdit.icon64,this.msg_lvl="Add Station",this.message=" ",delete this.chipEdit);var u,o=-1;void 0===e.id?(e.id=-1,u=new i.Station,u.id=e.id,u.name=e.tag,u.sort=e.sort,u.active=1):(u=this.stations.filter(function(n){return n.id==e.id})[0],o=this.stations.indexOf(u),u.name=e.tag,u.sort=e.sort,u.icon64=e.icon64),console.log("Chip added: "+e.sort+"-"+e.tag+" (ID: "+e.id+")"),this.errorMsg="",this.stationService.saveStation(u).subscribe(function(n){n.error?(l.errorMsg="Save Failed",console.log(n.message)):-1==u.id?(u.id=n.newid,u.icon="",u.icon64="",e.id=u.id,l.stations.push(u),l.stationsChange.emit(l.stations)):(l.stations[o].name=e.tag,l.stations[o].sort=e.sort,l.stations[o].icon64=e.icon64,l.stationsChange.emit(l.stations))},function(n){console.log(n),l.errorMsg="Save Failed"})}},t.prototype.select=function(t,l){l.stopPropagation(),void 0!==this.chipEdit&&n(this.chipEdit.chip).removeClass("active"),this.chipEdit=t,n(t.chip).addClass("active"),console.log("Chip selected: "+t.tag+" (ID: "+t.id+")"),this.msg_lvl="Editing Station: ",this.message=t.tag,this.eltname=t.tag,this.eltsort=t.sort,n("my-stations input#eltname").focus()},t.prototype.save=function(){this.add(this.eltname)},t.prototype.cancelEdit=function(){void 0!==this.chipEdit&&(n(this.chipEdit.chip).removeClass("active"),this.msg_lvl="Add Station",this.message=" ",this.inUse=0,delete this.chipEdit,n("my-stations select#reassignID").material_select("destroy")),this.eltname="",this.eltsort=0},t.prototype.delete=function(n){var t=this;if(0==this.reassignID&&(this.inUse=this.allItems.filter(function(t){return t.station==n.id||t.iprintStation==n.id}).length,this.inUse>0))return this.msg_lvl="Deleting Station: ",this.message=n.tag+" in use by "+this.inUse+" items.",void console.log("Station in use by "+this.inUse+" items.");var l=this.reassignID;void 0!==this.chipEdit&&this.chipEdit.id==n.id&&this.cancelEdit(),console.log("Chip deleted: "+n.tag+" (ID: "+n.id+")"),this.errorMsg="",this.stationService.deleteStation(this.stations.filter(function(t){return t.id==n.id})[0],l).subscribe(function(e){e.error?(t.msg_lvl="Delete Failed",console.log(e.message)):(t.stations.splice(t.stations.indexOf(t.stations.filter(function(t){return t.id==n.id})[0]),1),t.stationsChange.emit(t.stations),t.allItems=t.allItems.map(function(t){return t.station==n.id?t.station=l:t.iprintStation==n.id&&(t.iprintStation=l),t}))},function(n){console.log(n),t.errorMsg="Delete Failed"})},t.ctorParameters=function(){return[{type:u.StationService},{type:o.UserService}]},t}();t.StationsComponent=r}).call(t,l(16))},339:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n}();t.Station=e},340:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=function(){function t(){this.allItemsChange=new e.EventEmitter,this.stationsChange=new e.EventEmitter,this.groupsChange=new e.EventEmitter,this.reportGroupsChange=new e.EventEmitter,this.casChange=new e.EventEmitter,this.cnpsChange=new e.EventEmitter,this.measurementsChange=new e.EventEmitter,this.onCloseCCPConfig=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){"viewTab"in t&&""!=t.viewTab.currentValue&&""==t.viewTab.previousValue&&n("my-ccp-config ul.tabs").tabs("select_tab",this.viewTab)},t.prototype.hotkey=function(t){if(192==t.keyCode&&t.ctrlKey)if(t.shiftKey){switch(this.viewTab){case"stations":this.viewTab="measurements";break;case"groups":this.viewTab="stations";break;case"report-groups":this.viewTab="groups";break;case"corrective-actions":this.viewTab="report-groups";break;case"cannot-performs":this.viewTab="corrective-actions";break;case"measurements":this.viewTab="cannot-performs"}n("my-ccp-config ul.tabs").tabs("select_tab",this.viewTab)}else{switch(this.viewTab){case"stations":this.viewTab="groups";break;case"groups":this.viewTab="report-groups";break;case"report-groups":this.viewTab="corrective-actions";break;case"corrective-actions":this.viewTab="cannot-performs";break;case"cannot-performs":this.viewTab="measurements";break;case"measurements":this.viewTab="stations"}n("my-ccp-config ul.tabs").tabs("select_tab",this.viewTab)}},t.prototype.cancel=function(){this.onCloseCCPConfig.emit()},t}();t.CCPConfigComponent=i}).call(t,l(16))},341:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(342),u=l(89),o=function(){function t(n){this.itemService=n,this.allItemsChange=new e.EventEmitter,this.stationsChange=new e.EventEmitter,this.groupsChange=new e.EventEmitter,this.reportGroupsChange=new e.EventEmitter,this.casChange=new e.EventEmitter,this.cnpsChange=new e.EventEmitter,this.measurementsChange=new e.EventEmitter,this.onDelete=new e.EventEmitter,this.onSave=new e.EventEmitter,this.onCopy=new e.EventEmitter,this.onCancel=new e.EventEmitter,this.onNext=new e.EventEmitter,this.onPrev=new e.EventEmitter,this.onDirty=new e.EventEmitter,this.onVisualize=new e.EventEmitter,this.isKBChange=new e.EventEmitter,this.isURLChange=new e.EventEmitter,this.currItem=new i.Item,this.viewModal=!1,this.viewTab="",this.ccpConfigActions=new e.EventEmitter}return t.prototype.ngAfterViewInit=function(){var n=this;this.itmForm.control.statusChanges.subscribe(function(t){return n.onDirty.emit(n.itmForm.form.dirty)})},t.prototype.ngOnChanges=function(n){if("item"in n){for(var t in n.item.currentValue)this.currItem.hasOwnProperty(t)&&(this.currItem[t]=n.item.currentValue[t]);this.itmForm&&this.itmForm.form.markAsPristine()}},t.prototype.visualize=function(){this.onVisualize.emit()},t.prototype.delete=function(){this.onDelete.emit(this.item)},t.prototype.save=function(){this.isKB&&this.isURL&&0!=this.item.pdf.toLowerCase().indexOf("http")&&(this.item.pdf="http://"+this.item.pdf),this.isKBChange.emit(this.isKB),this.isURLChange.emit(this.isURL),this.onSave.emit(this.item),this.itmForm.form.markAsPristine(),this.onDirty.emit(this.itmForm.form.dirty),n("div.select-wrapper").removeClass("ng-dirty").addClass("ng-pristine");for(var t in this.currItem)this.item.hasOwnProperty(t)&&(this.currItem[t]=this.item[t])},t.prototype.clone=function(){var n=Object.assign({},this.item);n.id=-1,n.name+=" COPY",n.itemNumber=0,this.onCopy.emit(n)},t.prototype.cancel=function(){this.item=null,this.onCancel.emit(),this.itmForm.form.markAsPristine()},t.prototype.reset=function(){for(var n in this.currItem)this.item.hasOwnProperty(n)&&(this.item[n]=this.currItem[n]);this.itmForm.form.markAsPristine(),this.onDirty.emit(this.itmForm.form.dirty),this.isKB=this.item.pdf.length>0,this.isURL=""!=this.item.pdf&&0==this.item.pdf.toLowerCase().indexOf("http")},t.prototype.initModal=function(){this.viewModal=!0},t.prototype.onConfig=function(n,t){var l=this;"report-groups"==t?n.target.value.indexOf("config")>=0?(this.item.reportGroups.shift(),n.target.value="",this.onCCPConfig(t)):this.item.reportGroups.some(function(n){return n==l.item.rpt})||(this.item.reportGroups.length>0?this.item.rpt=this.item.reportGroups[0]:this.item.rpt=-1):"config"==n.target.value&&(n.target.value=-1,this.onCCPConfig(t))},t.prototype.onCCPConfig=function(n){this.viewTab=n,this.ccpConfigActions.emit({action:"modal",params:["open"]})},t.prototype.onCloseCCPConfig=function(){this.viewTab="",this.ccpConfigActions.emit({action:"modal",params:["close"]}),n("select").material_select(),n("#iprintStation > option").each(function(){n(this).data("icon",n(this).attr("data-icon")),n("#iprintStation").siblings(".dropdown-content.select-dropdown").find("span:contains('"+n(this)[0].text+"')").siblings("img").attr("src",n(this).attr("data-icon"))})},t.prototype.next=function(){this.onNext.emit()},t.prototype.prev=function(){this.onPrev.emit()},t.ctorParameters=function(){return[{type:u.ItemService}]},t}();t.ItemDetailComponent=o}).call(t,l(16))},342:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){this.id=-1,this.name="",this.itemNumber=0,this.measurement=-1,this.schedule=-1,this.daypart=1,this.allowance=0,this.correctiveAction=-1,this.cannotPerform=-1,this.station=-1,this.group=-1,this.rpt=-1,this.reportGroups=[],this.iprintStation=-1,this.holdTime="",this.formatNumber=0,this.printerNumber=0,this.printNotes="Y",this.printNotesBool=!0,this.note1="",this.note2="",this.barcode="",this.numberOfLabels=1,this.labelLine1="",this.labelLine2="",this.netWeight="",this.price="",this.icon="",this.icon64="",this.activeLabels="Y",this.pdf="",this.pdf64="",this.ingredients="",this.nutrition="",this.allergens="",this.ckchNumber="",this.cookTemp=0,this.phase1StartTemp=0,this.phase1ChillTemp=0,this.phase2ChillTemp=0,this.phase1TimeLimit=0,this.phase2TimeLimit=0,this.pausable=0,this.measurementTime=0,this.active=!0,this.sort=9999999,this.menus=[]}return n}();t.Item=e},343:function(n,t,l){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(15),u=l(34),o=l(43);l(22),l(294);var r=l(838),s=l(342),a=l(339),d=l(89),c=l(69),p=l(5),h=function(){function t(n,t,l,i,u,o){this.router=n,this.itemService=t,this.stationService=l,this.user=i,this.sanitizer=u,this.http=o,this.commonIcons=[],this.commonKbPdfs=[],this.ccdata=[],this.ccpdata=[],this.ccpstats=[],this.contentCfgs=[],this.transferring=!1,this.is_dirty=!1,this.view_reports=!1,this.searching=!0,this.new=!0,this.panda=!0,this.iprint=!0,this.snt=!0,this.itemFilter="",this.noitems=[],this.testStations=[],this.confirm_what="",this.confirmActions=new e.EventEmitter,this.settingsActions=new e.EventEmitter,this.storeContentCfgsActions=new e.EventEmitter,this.scheduleActions=new e.EventEmitter,this.userlistActions=new e.EventEmitter,this.menuActions=new e.EventEmitter,this.menuConfigActions=new e.EventEmitter,this.loadingActions=new e.EventEmitter,this.visualizeActions=new e.EventEmitter,this.contentsActions=new e.EventEmitter,this.viewTab="",this.itemList={id:"itemList",itemsPerPage:15,currentPage:1},this.usr=JSON.parse(localStorage.getItem("user"))}return t.prototype.shakeForm=function(){for(var t=20,l=0;l<10;l++)n("my-item-detail").animate({"margin-left":"+="+(t=-t)+"px","margin-right":"-="+t+"px"},50)},t.prototype.refreshHierarchy=function(){var n=this;this.errorMsg="",this.user.getHierarchy().subscribe(function(t){t.error?(n.errorMsg="Failed to refresh hierarchy",console.log(t.message)):localStorage.setItem("hierarchy",JSON.stringify(t.hierarchy))},function(t){console.log(t),n.errorMsg="Failed to refresh hierarchy"})},t.prototype.getItems=function(){var t=this;this.searching=!0,this.refreshHierarchy(),this.itemService.getItems().then(function(n){t.allItems=t.items=n,t.filteredCount=t.items.length,t.filteredCount>0?(t.selectedItemIdx=0,t.selectedItem=t.items[t.selectedItemIdx],t.selectedItem.printNotesBool="Y"==t.selectedItem.printNotes,t.isKB=""!=t.selectedItem.pdf64,t.isURL=""!=t.selectedItem.pdf&&0==t.selectedItem.pdf.toLowerCase().indexOf("http"),t.selectedItemIdx>=0&&(t.contentsurl="//www.goicc.com/iprintcontent.php?sid="+t.sid+"&lmcn="+t.selectedSite.lmcn,t.trustedcurl=t.sanitizer.bypassSecurityTrustResourceUrl(t.contentsurl),t.vizlabelurl="//www.goicc.com/iprintlabel.php?sid="+t.sid+"&id="+t.selectedItem.id+"&fmt="+t.selectedItem.formatNumber,t.trustedurl=t.sanitizer.bypassSecurityTrustResourceUrl(t.vizlabelurl))):(t.selectedItem=null,t.selectedItemIdx=-1),t.transferring=!1}),0==this.selectedSite.ckch&&(this.itemService.getStations().then(function(n){return t.stations=n}),461==this.selectedSite.cid&&this.itemService.getContentCfgs().then(function(n){return t.contentCfgs=n}),this.itemService.getKbPdfs().then(function(l){t.transferring=!0,t.kbPdfs=l,t.itemService.getCommonKbPdfs().then(function(l){l.forEach(function(n){this.kbPdfs.some(function(t){return t.pdfname==n.pdfname})||this.commonKbPdfs.push(n)}.bind(t)),n("select").material_select(),t.transferring=!1})}),this.itemService.getKbVideos().then(function(n){return t.kbVideos=n})),0==this.selectedSite.lm2?(this.transferring=!0,this.itemService.getCAs().then(function(n){return t.cas=n}),this.selectedSite.snt&&this.itemService.getCommonIcons().then(function(l){t.commonIcons=l,t.itemService.getIcons().then(function(l){t.icons=l,l.forEach(function(n){this.commonIcons.some(function(t){return t.iconname==n.iconname})&&this.commonIcons.splice(this.commonIcons.findIndex(function(t){return t.iconname==n.iconname}),1)}.bind(t)),n("select").material_select(),t.transferring=!1}),n("select").material_select()}),0==this.selectedSite.ckch&&(this.itemService.getCCPTests().then(function(n){return t.ccptests=n}),this.itemService.getGroups().then(function(n){return t.groups=n}),this.itemService.getReportGroups().then(function(n){return t.reportGroups=n}),this.itemService.getCNPs().then(function(n){return t.cnps=n}),this.itemService.getDayparts().then(function(n){return t.dayparts=n}),this.itemService.getMeasurements().then(function(n){return t.measurements=n}),this.itemService.getSchedules().then(function(n){return t.schedules=n}),this.itemService.getScheduleTimes().then(function(n){t.scheduletimes=n,t.timecell=Math.floor(48/t.scheduletimes.length),t.timelimit=Math.ceil(12/t.timecell),t.timecell=Math.floor(12/t.timelimit),t.transferring=!1}),this.itemService.getMenus().then(function(n){return t.menus=n}),this.itemService.getMenuDates().then(function(n){return t.menudates=n}),this.itemService.getEmployees().then(function(n){return t.employees=n}))):(this.transferring=!0,this.itemService.getCommonIcons().then(function(l){t.commonIcons=l,t.itemService.getIcons().then(function(l){t.icons=l,l.forEach(function(n){this.commonIcons.some(function(t){return t.iconname==n.iconname})&&this.commonIcons.splice(this.commonIcons.findIndex(function(t){return t.iconname==n.iconname}),1)}.bind(t)),n("select").material_select(),t.transferring=!1}),n("select").material_select(),t.transferring=!1})),0==this.selectedSite.lm2&&0==this.selectedSite.lmcn||(this.transferring=!0,this.itemService.getLabels().then(function(l){t.labels=l,n("select").material_select(),t.transferring=!1})),n("select").material_select(),this.searching=!1},t.prototype.inIframe=function(){try{return window.self!==window.top}catch(n){return!0}},t.prototype.ngOnInit=function(){var t=this;this.new=window.top.location.href.indexOf("new")>0,this.iprint=window.top.location.href.indexOf("print-login")>0||window.top.location.href.indexOf("iprintlogin")>0,this.panda=window.top.location.href.indexOf("panda")>0,this.snt=window.top.location.href.indexOf("scan-login")>0,this.iprint&&this.inIframe()?window.parent.location.href="/iprint/items":this.snt&&this.inIframe()?window.parent.location.href="/snt/items":this.panda&&this.inIframe()&&(window.parent.location.href="/iprint/items"),this.user.getTimezones().then(function(n){return t.timezones=n}),this.can_view=this.user.getMe().can_view,this.can_edit=this.user.getMe().can_edit,localStorage.getItem("sid")?this.sid=parseInt(localStorage.getItem("sid")):this.sid=this.user.getMe().primary_sid,this.user.getSite(this.sid).then(function(l){localStorage.setItem("site",l.name),localStorage.setItem("degrees",""+l.degrees),t.user.setCurrentSID(l.id),t.user.setCurrentSite(l),t.selectedSite=l,t.site=localStorage.getItem("site"),0==t.selectedSite.lm2?t.site+=" (°"+("1"==localStorage.getItem("degrees")?"C":"F")+")":t.selectedSite.lmregion>0?t.site+=" ("+t.selectedSite.lmcn+" R"+t.selectedSite.lmregion+")":t.site+=" ("+t.selectedSite.lmcn+")",t.selectedItemIdx>=0?(t.vizlabelurl="//www.goicc.com/iprintlabel.php?sid="+t.sid+"&id="+t.selectedItem.id+"&fmt="+t.selectedItem.formatNumber,t.trustedurl=t.sanitizer.bypassSecurityTrustResourceUrl(t.vizlabelurl)):(t.vizlabelurl="//www.goicc.com/iprintlabel.php",t.trustedurl=t.sanitizer.bypassSecurityTrustResourceUrl(t.vizlabelurl)),t.contentsurl="//www.goicc.com/iprintcontent.php?sid="+t.sid+"&lmcn="+t.selectedSite.lmcn,t.trustedcurl=t.sanitizer.bypassSecurityTrustResourceUrl(t.contentsurl),t.sidChange=t.user.currentSIDObservable.subscribe(function(n){t.selectedItem=null,delete t.selectedMenu,t.sid=n,t.router.navigate(["/items"])}),t.getItems(),n("select").material_select()})},t.prototype.ngOnDestroy=function(){this.sidChange.unsubscribe()},t.prototype.onViewReports=function(){this.view_reports=!0},t.prototype.onViewForm=function(){this.view_reports=!1},t.prototype.onChangeSite=function(t){this.view_reports=!1,this.searching=!0,this.selectedSite=t,this.site=localStorage.getItem("site"),0==this.selectedSite.lm2?this.site+=" (°"+("1"==localStorage.getItem("degrees")?"C":"F")+")":this.selectedSite.lmregion>0?this.site+=" ("+this.selectedSite.lmcn+" R"+this.selectedSite.lmregion+")":this.site+=" ("+this.selectedSite.lmcn+")",n("#change-site").blur(),this.getItems(),n("select").material_select()},t.prototype.onContents=function(){this.contentsurl="//www.goicc.com/iprintcontent.php?sid="+this.sid+"&lmcn="+this.selectedSite.lmcn,this.trustedcurl=this.sanitizer.bypassSecurityTrustResourceUrl(this.contentsurl),this.contentsActions.emit({action:"modal",params:["open"]})},t.prototype.onCloseContents=function(){this.contentsActions.emit({action:"modal",params:["close"]})},t.prototype.onVisualize=function(){if(this.selectedItemIdx>=0){var n=(new Date).getTime();this.vizlabelurl="//www.goicc.com/iprintlabel.php?sid="+this.sid+"&id="+this.selectedItem.id+"&fmt="+this.selectedItem.formatNumber+"&"+n,this.trustedurl=this.sanitizer.bypassSecurityTrustResourceUrl(this.vizlabelurl),this.visualizeActions.emit({action:"modal",params:["open"]})}},t.prototype.onCloseVisualize=function(){this.visualizeActions.emit({action:"modal",params:["close"]})},t.prototype.onSchedule=function(){this.scheduleActions.emit({action:"modal",params:["open"]})},t.prototype.onCloseSchedule=function(){var n=this;this.itemService.getSchedules().then(function(t){return n.schedules=t}),this.itemService.getScheduleTimes().then(function(t){n.scheduletimes=t,n.timecell=Math.floor(48/n.scheduletimes.length),n.timelimit=Math.ceil(12/n.timecell),n.timecell=Math.floor(12/n.timelimit)}),this.scheduleActions.emit({action:"modal",params:["close"]})},t.prototype.onMenuRefresh=function(){var n=this;this.itemService.getSchedules().then(function(t){return n.schedules=t}),this.itemService.getScheduleTimes().then(function(t){n.scheduletimes=t,n.timecell=Math.floor(48/n.scheduletimes.length),n.timelimit=Math.ceil(12/n.timecell),n.timecell=Math.floor(12/n.timelimit)}),this.itemService.getMenus().then(function(t){return n.menus=t}),this.itemService.getMenuDates().then(function(t){return n.menudates=t})},t.prototype.onLoading=function(n){n?this.loadingActions.emit({action:"modal",params:["open"]}):this.loadingActions.emit({action:"modal",params:["close"]})},t.prototype.onMenuConfig=function(n){this.viewTab=n,this.menuConfigActions.emit({action:"modal",params:["open"]})},t.prototype.onCloseMenuConfig=function(){this.viewTab="",this.menuConfigActions.emit({action:"modal",params:["close"]}),n("select").material_select()},t.prototype.onSaveCkChProductList=function(){var n=this;this.transferring=!0,this.itemService.saveCkChFiles().subscribe(function(t){t.error?(n.errorMsg="File creation Failed",console.log(t.message)):n.selectedSite.dirty=0,n.transferring=!1},function(t){console.log(t),n.errorMsg="File creation Failed",n.transferring=!1})},t.prototype.onGetCkChCsv=function(){var n="";if(this.transferring=!0,this.ccdata.length>0){n="Number,Name,Lot,Probe,Date,Cook Temp,Cooling Start,Tier 1,Tier 2,Total Time,Results,CAR\n";for(var t=0;t0?this.downloadZip(n.filename,n.contents):this.downloadFile(n.filename,n.contents,"windows-1252","csv")}.bind(n)),n.transferring=!1})},t.prototype.onSaveFiles=function(){this.cloudSync()},t.prototype.cloudSync=function(){var n=this;this.transferring=!0,this.itemService.generateFiles().subscribe(function(t){t.error?(n.errorMsg="File generation Failed",console.log(t.message)):(n.selectedSite.dirty=0,n.selectedSite.vrsn=t.vrsn),n.transferring=!1},function(t){console.log(t),n.errorMsg="File generation Failed",n.transferring=!1})},t.prototype.downloadZip=function(n,t){for(var l=atob(t),e=new Uint8Array(l.length),i=0;i0){if(!l){l=!0;var a=new FileReader;a.onloadend=function(n){this.readFile(a.result)}.bind(this),a.readAsText(r)}}else if(s.toLowerCase().indexOf(".psv")>0){if(!e){e=!0;var a=new FileReader;a.onloadend=function(n){this.readCkChFile(a.result)}.bind(this),a.readAsText(r)}}else{var d=new FormData;d.append("sid",this.sid+""),d.append("lmcn",this.selectedSite.lmcn+""),d.append("uploadFile",r,r.name);var c=new i.Headers;c.append("enctype","multipart/form-data"),c.append("Accept","application/json");var p=new i.RequestOptions({headers:c});s.toLowerCase().indexOf(".png")>0||s.toLowerCase().indexOf(".jpg")>0?this.http.post("https://api.goicc.com/files/newicon.php",d,p).map(function(n){return n.json()}).catch(this.handleError).subscribe(function(n){console.log("success"),t.cloudSync()},function(n){return console.log(n)}):s.toLowerCase().indexOf(".cmd")>0?this.http.post("https://api.goicc.com/files/newformat.php",d,p).map(function(n){return n.json()}).catch(this.handleError).subscribe(function(n){console.log("success"),t.cloudSync()},function(n){return console.log(n)}):s.toLowerCase().indexOf(".pdf")>0?this.http.post("https://api.goicc.com/files/newpdf.php",d,p).map(function(n){return n.json()}).catch(this.handleError).subscribe(function(n){console.log("success"),t.cloudSync()},function(n){return console.log(n)}):s.toLowerCase().indexOf(".mp4")>0&&this.http.post("https://api.goicc.com/files/newvideo.php",d,p).map(function(n){return n.json()}).catch(this.handleError).subscribe(function(n){console.log("success"),t.cloudSync()},function(n){return console.log(n)})}}},t.prototype.readFile=function(n){var t="0",l=0,e=0,i=0,u=n.split(/\r\n|\r|\n/g);u.length>3&&(this.transferring=!0,this.itemFilter="",this.items=this.noitems,this.selectedItem=null,this.selectedItemIdx=-1,this.filteredCount=0,this.stations.forEach(function(n){this.stationService.deleteStation(n,n.id).subscribe(function(n){n.error&&console.log(n.message)},function(n){console.log(n)})}.bind(this)),this.stations.length=0,this.allItems.forEach(function(n){this.itemService.deleteItem(n).subscribe(function(n){n.error&&console.log(n.message)},function(n){console.log(n)})}.bind(this)),this.allItems.length=0,u.forEach(function(n){var i=n.split(",");switch(i[0]){case"V":t=i[1];break;case"S":l=this.stations.length,this.stations[l]=new a.Station,this.stations[l].id=-1,this.stations[l].name=i[1],i.length>14?this.stations[l].icon=i[14]:this.stations[l].icon="",this.stations[l].active=1;break;case"P":e++,l=this.allItems.length,this.allItems[l]=new s.Item,this.allItems[l].id=-1,this.allItems[l].name=i[1],this.allItems[l].iprintStation=this.stations.length-1,this.allItems[l].holdTime=i[2],this.allItems[l].formatNumber=i[4],this.allItems[l].printerNumber=i[5],this.allItems[l].printNotes=i[6],this.allItems[l].note1=i[7],this.allItems[l].note2=i[8],this.allItems[l].barcode=i[11],this.allItems[l].numberOfLabels=i[3],this.allItems[l].labelLine1=i[9],this.allItems[l].labelLine2=i[10],this.allItems[l].netWeight=i[12],this.allItems[l].price=i[13],this.allItems[l].active=0,this.allItems[l].ingredients="",this.allItems[l].nutrition="",this.allItems[l].allergens="",i.length>14?"320"==t?this.allItems[l].activeLabels=i[14]:(this.allItems[l].icon=i[14],i.length>15?this.allItems[l].pdf=i[15]:this.allItems[l].pdf=""):(this.allItems[l].icon="",this.allItems[l].pdf="");break;case"K":e++,l=this.allItems.length,this.allItems[l]=new s.Item,this.allItems[l].id=-1,this.allItems[l].name=i[1],this.allItems[l].iprintStation=this.stations.length-1,i.length>2?(this.allItems[l].icon=i[2],i.length>3?this.allItems[l].pdf=i[3]:this.allItems[l].pdf=""):(this.allItems[l].icon="",this.allItems[l].pdf=""),this.allItems[l].holdTime="",this.allItems[l].formatNumber=0,this.allItems[l].printerNumber=0,this.allItems[l].printNotes="Y",this.allItems[l].note1="",this.allItems[l].note2="",this.allItems[l].barcode="",this.allItems[l].numberOfLabels=1,this.allItems[l].labelLine1="",this.allItems[l].labelLine2="",this.allItems[l].netWeight="",this.allItems[l].price="",this.allItems[l].active=0,this.allItems[l].ingredients="",this.allItems[l].nutrition="",this.allItems[l].allergens="";break;case"I":this.allItems[l].ingredients+=i[1]+"\n";break;case"N":this.allItems[l].nutrition+=i[1]+","+i[2]+","+i[3]+"\n";break;case"A":this.allItems[l].allergens+=i[1]+"\n";break;default:console.log(n)}}.bind(this)),this.stations.forEach(function(n,t){var l=this;this.stationService.saveStation(n).subscribe(function(u){u.error?(console.log(u.message),l.getItems()):(n.id=u.newid,l.allItems.forEach(function(n,l){var o=this;n.iprintStation==t&&0==n.active&&(n.active=1,n.iprintStation=u.newid,this.itemService.saveItem(n).subscribe(function(t){t.error?(console.log(t.message),o.getItems()):(n.id=t.newid,++i>=e&&o.getItems())},function(n){console.log(n),o.getItems()}))}.bind(l)))},function(n){console.log(n),l.getItems()})}.bind(this)))},t.prototype.readCkChFile=function(n){var t=0,l=0,e=0,i=n.split(/\r\n|\r|\n/g);i.length>1&&(this.transferring=!0,this.itemFilter="",this.items=this.noitems,this.selectedItem=null,this.selectedItemIdx=-1,this.filteredCount=0,this.allItems.forEach(function(n){this.itemService.deleteItem(n).subscribe(function(n){n.error&&console.log(n.message)},function(n){console.log(n)})}.bind(this)),this.allItems.length=0,i.forEach(function(n){var e=n.split("|");l++,t=this.allItems.length,this.allItems[t]=new s.Item,this.allItems[t].id=-1,this.allItems[t].ckchNumber=e[0],this.allItems[t].name=e[1],this.allItems[t].cookTemp=e[2],this.allItems[t].phase1StartTemp=e[3],this.allItems[t].phase1ChillTemp=e[4],this.allItems[t].phase1TimeLimit=e[5],this.allItems[t].phase2ChillTemp=e[6],this.allItems[t].phase2TimeLimit=e[7];var i=this.cas.find(function(n){return n.name===e[8]});void 0!==i&&(this.allItems[t].correctiveAction=i.id),e.length>9&&(this.allItems[t].pausable=e[9])}.bind(this)),this.allItems.forEach(function(n,t){var i=this;n.active=1,this.itemService.saveItem(n).subscribe(function(t){t.error?(console.log(t.message),i.getItems()):(n.id=t.newid,++e>=l&&i.getItems())},function(n){console.log(n),i.getItems()})}.bind(this)))},t.prototype.onSettings=function(){this.settingsActions.emit({action:"modal",params:["open"]})},t.prototype.onCloseSettings=function(){this.settingsActions.emit({action:"modal",params:["close"]})},t.prototype.onStoreContentConfig=function(){this.storeContentCfgsActions.emit({action:"modal",params:["open"]})},t.prototype.onCloseStoreContentCfgs=function(){this.storeContentCfgsActions.emit({action:"modal",params:["close"]})},t.prototype.onUserList=function(){this.userlistActions.emit({action:"modal",params:["open"]})},t.prototype.onCloseUserList=function(){this.userlistActions.emit({action:"modal",params:["close"]})},t.prototype.onMenu=function(){this.menuActions.emit({action:"modal",params:["open"]})},t.prototype.onCloseMenus=function(){this.menuActions.emit({action:"modal",params:["close"]})},t.prototype.filter=function(n){this.searching=!0,27===n.which?(this.itemFilter="",this.items=this.allItems):""!==this.itemFilter?(0==this.selectedSite.ckch&&(this.testStations=this.stations.filter(function(n){return n.name.toLowerCase().indexOf(this.itemFilter.toLowerCase())>-1}.bind(this))),this.items=this.allItems.filter(function(n){return n.name.toLowerCase().indexOf(this.itemFilter.toLowerCase())>-1||n.itemNumber.toString().indexOf(this.itemFilter)>-1||n.ckchNumber.toLowerCase().indexOf(this.itemFilter.toLowerCase())>-1||this.testStations.findIndex(function(t){return t.id==n.iprintStation}.bind(n))>-1}.bind(this))):(this.itemFilter="",this.items=this.allItems),this.filteredCount=this.items.length,this.searching=!1,this.filteredCount>0?(this.selectedItemIdx=0,this.selectedItem=this.items[this.selectedItemIdx],this.selectedItem.printNotesBool="Y"==this.selectedItem.printNotes,this.isKB=""!=this.selectedItem.pdf64,this.isURL=""!=this.selectedItem.pdf&&0==this.selectedItem.pdf.toLowerCase().indexOf("http")):(this.selectedItem=null,this.selectedItemIdx=-1)},t.prototype.newItem=function(){this.selectedItem=new s.Item,this.selectedItem.id=-1},t.prototype.onDirty=function(n){this.is_dirty=n},t.prototype.onSelect=function(n){this.is_dirty?this.shakeForm():(this.selectedItem=n,this.selectedItem.printNotesBool="Y"==this.selectedItem.printNotes,this.isKB=""!=this.selectedItem.pdf64,this.isURL=""!=this.selectedItem.pdf&&0==this.selectedItem.pdf.toLowerCase().indexOf("http"),this.selectedItemIdx=this.items.findIndex(function(t){return t===n}))},t.prototype.onDelete=function(n){this.deleteItem=n,this.confirm_what="Item: "+n.name,this.confirmActions.emit({action:"modal",params:["open"]})},t.prototype.onDeleteConfirm=function(n){var t=this;if(this.confirm_what="",this.confirmActions.emit({action:"modal",params:["close"]}),n){var l=this.deleteItem;delete this.deleteItem,this.errorMsg="",this.itemService.deleteItem(l).subscribe(function(n){n.error?(t.errorMsg="Delete Failed",console.log(n.message)):(t.allItems!=t.items&&t.allItems.splice(t.allItems.indexOf(t.selectedItem),1),t.items.splice(t.selectedItemIdx,1),0==t.items.length&&(t.itemFilter="",t.items=t.allItems),t.selectedItemIdx>=t.items.length-2?t.onPrev():(t.selectedItem=t.items[t.selectedItemIdx],t.selectedItem.printNotesBool="Y"==t.selectedItem.printNotes,t.isKB=""!=t.selectedItem.pdf64,t.isURL=""!=t.selectedItem.pdf&&0==t.selectedItem.pdf.toLowerCase().indexOf("http")),t.filteredCount=t.items.length,t.selectedSite.dirty=1)},function(n){console.log(n),t.errorMsg="Delete Failed"})}},t.prototype.onUpdateComputrition=function(){var n=this;this.transferring=!0,this.user.updateComputrition(this.sid).then(function(t){n.getItems(),n.transferring=!1})},t.prototype.onSaveSite=function(n){var t=this;this.errorMsg="",this.user.saveSite(n).subscribe(function(n){n.error?(t.errorMsg="Save Failed",console.log(n.message)):t.user.getSite(n.newid).then(function(n){t.user.setCurrentSite(n),t.selectedSite=n})},function(n){console.log(n),t.errorMsg="Save Failed"}),this.settingsActions.emit({action:"modal",params:["close"]})},t.prototype.onSaveCfgs=function(n){var t=this;this.errorMsg="",this.user.saveSite(n).subscribe(function(n){n.error&&(t.errorMsg="Save Failed",console.log(n.message))},function(n){console.log(n),t.errorMsg="Save Failed"}),this.selectedSite=n,this.storeContentCfgsActions.emit({action:"modal",params:["close"]})},t.prototype.onSave=function(n){var t=this;this.errorMsg="",this.isKB?this.isURL&&(this.selectedItem.pdf64=""):(this.selectedItem.pdf="",this.selectedItem.pdf64=""),this.itemService.saveItem(n).subscribe(function(l){l.error?(t.errorMsg="Save Failed",console.log(l.message)):-1==n.id?(n.id=l.newid,t.selectedItemIdx=t.allItems.push(n)-1,t.itemFilter="",t.items=t.allItems,t.selectedItem=t.items[t.selectedItemIdx],t.selectedItem.printNotesBool="Y"==t.selectedItem.printNotes,t.isURL=""!=t.selectedItem.pdf&&0==t.selectedItem.pdf.toLowerCase().indexOf("http"),t.isKB=t.isURL||""!=t.selectedItem.pdf64,t.itemList.currentPage=Math.floor(t.selectedItemIdx/t.itemList.itemsPerPage)+1,t.filteredCount=t.items.length,t.selectedSite.dirty=1,t.resortItems()):(t.selectedSite.dirty=1,t.selectedItem.printNotes=t.selectedItem.printNotesBool?"Y":"N",t.isURL=""!=t.selectedItem.pdf&&0==t.selectedItem.pdf.toLowerCase().indexOf("http"),t.isKB=t.isURL||""!=t.selectedItem.pdf64,t.resortItems())},function(n){console.log(n),t.errorMsg="Save Failed"}),this.selectedItem=n,this.selectedItem.printNotes=this.selectedItem.printNotesBool?"Y":"N",this.isURL=""!=this.selectedItem.pdf&&0==this.selectedItem.pdf.toLowerCase().indexOf("http"),this.isKB=this.isURL||""!=this.selectedItem.pdf64},t.prototype.resortItems=function(){this.allItems.sort(function(n,t){var l=0==n.itemNumber?"1":"0",e=0==t.itemNumber?"1":"0",i=n.itemNumber,u=t.itemNumber,o=n.name,r=t.name;return le?1:iu?1:or?1:void 0}),""!==this.itemFilter?this.items=this.allItems.filter(function(n){return n.name.toLowerCase().indexOf(this.itemFilter.toLowerCase())>-1||n.itemNumber.toString().indexOf(this.itemFilter)>-1||this.testStations.findIndex(function(t){return t.id==n.iprintStation}.bind(n))>-1}.bind(this)):this.items=this.allItems,this.selectedItemIdx=this.items.findIndex(function(n){return n===this.selectedItem}.bind(this)),this.itemList.currentPage=Math.floor(this.selectedItemIdx/this.itemList.itemsPerPage)+1},t.prototype.onCopy=function(n){this.selectedItem=new s.Item,this.selectedItem=n,this.selectedItem.printNotesBool="Y"==this.selectedItem.printNotes,this.isKB=!1,this.isURL=!1,this.selectedItem.id=-1,this.onSave(n)},t.prototype.onCancel=function(){this.selectedItem=null},t.prototype.onNext=function(){this.selectedItemIdx++,this.selectedItemIdx>=this.items.length&&(this.selectedItemIdx=0),this.selectedItem=this.items[this.selectedItemIdx],this.selectedItem.printNotesBool="Y"==this.selectedItem.printNotes,this.isKB=""!=this.selectedItem.pdf64,this.isURL=""!=this.selectedItem.pdf&&0==this.selectedItem.pdf.toLowerCase().indexOf("http"),this.itemList.currentPage=Math.floor(this.selectedItemIdx/this.itemList.itemsPerPage)+1},t.prototype.onPrev=function(){this.selectedItemIdx--,this.selectedItemIdx<0&&(this.selectedItemIdx=this.items.length-1),this.selectedItem=this.items[this.selectedItemIdx],this.selectedItem.printNotesBool="Y"==this.selectedItem.printNotes,this.isKB=""!=this.selectedItem.pdf64,this.isURL=""!=this.selectedItem.pdf&&0==this.selectedItem.pdf.toLowerCase().indexOf("http"),this.itemList.currentPage=Math.floor(this.selectedItemIdx/this.itemList.itemsPerPage)+1},t.prototype.onPageChange=function(n){this.itemList.currentPage=n},t.prototype.doLogout=function(){this.user.logout(),1==this.usr.pandarg?window.parent.location.href="https://www.goicc.com/simplesaml/module.php/core/as_logout.php?AuthId=default-sp&ReturnTo=https%3A%2F%2Fwww.goicc.com%2Fpanda-temp.php":this.iprint?(this.new,window.parent.location.href="/print-login"):this.snt?(this.new,window.parent.location.href="/scan-login"):window.parent.location.href="login"},t.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},t.ctorParameters=function(){return[{type:o.Router},{type:d.ItemService},{type:c.StationService},{type:p.UserService},{type:u.DomSanitizer},{type:i.Http}]},t}();t.ItemsComponent=h}).call(t,l(16))},344:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n}();t.LoadingComponent=e},345:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=function(){function n(){this.onClose=new e.EventEmitter}return n.prototype.confirm=function(){this.onClose.emit(!0)},n.prototype.cancel=function(){this.onClose.emit(!1)},n}();t.ConfirmationComponent=i},346:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=function(){function n(){this.onCloseContents=new e.EventEmitter}return n.prototype.close=function(){this.onCloseContents.emit()},n}();t.ContentsComponent=i},347:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=function(){function n(){this.onCloseVisualize=new e.EventEmitter}return n.prototype.close=function(){this.onCloseVisualize.emit()},n}();t.VisualizationComponent=i},5:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15),i=l(105),u=l(800),o=function(){function n(n){this.http=n,this.hierarchy=[],this.sites=[],this.loggedIn=!1,this.loginUrl="https://www.goicc.com/api-v1/userlogin",this.pandaUrl="https://www.goicc.com/api-v1/pandalogin",this.baseUrl="https://www.goicc.com/api-v1/store/",this.computritionUrl="https://www.goicc.com/api-v1/computrition/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.loggedIn=!!localStorage.getItem("auth_token"),this.sid=new i.BehaviorSubject(this.getCurrentSID()),this.loggedIn&&(this.user=JSON.parse(localStorage.getItem("user")),this.userLoggedIn(this.user))}return n.prototype.logout=function(){localStorage.removeItem("auth_token"),localStorage.removeItem("user"),localStorage.removeItem("sid"),localStorage.removeItem("site"),localStorage.removeItem("currentsite"),localStorage.removeItem("degrees"),localStorage.removeItem("hierarchy"),this.headers=new e.Headers({"Content-Type":"application/json"}),this.loggedIn=!1,this.user=null},n.prototype.pandalogin=function(n){return this.http.post(this.pandaUrl,JSON.stringify({query:n}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.login=function(n,t){return this.http.post(this.loginUrl,JSON.stringify({username:n,password:t}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.getHierarchy=function(){return this.http.get(this.baseUrl+this.getCurrentSID()+"/hierarchy/"+this.user.user_level,{headers:this.headers}).map(function(n){return n.json()})},n.prototype.userLoggedIn=function(n){this.loggedIn=!0,this.user=n,this.hierarchy=JSON.parse(localStorage.getItem("hierarchy")),this.headers.append("Authorization",this.user.apikey)},n.prototype.isLoggedIn=function(){return this.loggedIn},n.prototype.getMe=function(){return this.user},n.prototype.getMyHierarchy=function(){return this.hierarchy},n.prototype.getMySites=function(){return this.sites=[],this.parseHierarchy(this.getMyHierarchy(),"",0,""),this.sites},n.prototype.getSite=function(n){return 102==n&&(n=4005),this.http.get(this.baseUrl+n,{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.saveSite=function(n){return this.http.post(this.baseUrl+this.sid,JSON.stringify({id:n.id,mid:n.mid,cid:n.cid,lmcn:n.lmcn,snt:n.snt,gateway_sid:n.gateway_sid,tms:n.tms,tmv:n.tmv,ccp2:n.ccp2,lm2:n.lm2,ckch:n.ckch,lmregion:n.lmregion,cafe:n.cafe,store:n.name,tzID:n.tzID,degrees:n.degrees,start:n.start,end:n.end,computrition_url:n.computrition_url}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.updateComputrition=function(n){return 102==n&&(n=4005),this.http.get(this.computritionUrl+n,{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},Object.defineProperty(n.prototype,"currentSIDObservable",{get:function(){return this.sid.asObservable()},enumerable:!0,configurable:!0}),n.prototype.getCurrentSite=function(){return void 0===this.currentSite&&(this.currentSite=JSON.parse(localStorage.getItem("currentsite"))),this.currentSite},n.prototype.setCurrentSite=function(n){this.currentSite=n,localStorage.setItem("currentsite",JSON.stringify(this.currentSite))},n.prototype.getCurrentSID=function(){var n=parseInt(localStorage.getItem("sid"));return 102==n&&(n=4005),n},n.prototype.setCurrentSID=function(n){localStorage.setItem("sid",""+n),this.sid.next(this.getCurrentSID())},n.prototype.getTimezones=function(){var n=parseInt(localStorage.getItem("sid"));return 102==n&&(n=4005),this.http.get(this.baseUrl+n+"/timezones",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getTimezone=function(n){return this.getTimezones().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.parseHierarchy=function(n,t,l,e){""!=e&&(t=" < "+e+t);for(var i in n)if(n.hasOwnProperty(i)){var o=n[i];if(o.hasOwnProperty("degrees")){for(var r=t.split(" < "),s=r.length;s<6;s++)r[s]="";this.sites.push(new u.Site(parseInt(i),o.mid,o.cid,o.tmv,o.lm2,o.ckch,o.snt,o.gateway_sid,o.gateway,o.tms,o.lmcn,o.lmregion,o.vrsn,o.dirty,o.cafe,o.name,o.tzID,parseInt(o.degrees),o.start,o.end,o.computrition_url,o.ccp2,t,r[1],r[2],r[3],r[4],r[5]))}else o.hasOwnProperty("divisions")&&(t=""),o.hasOwnProperty("name")?"noDIV"!=o.name&&"noR"!=o.name&&"noDIST"!=o.name&&"noSA"!=o.name?this.parseHierarchy(o,t,l+1,o.name):this.parseHierarchy(o,t,l+1,""):"companies"!=i&&"divisions"!=i&&"regions"!=i&&"districts"!=i&&"small_areas"!=i&&"stores"!=i||this.parseHierarchy(o,t,l+1,"")}},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http}]},n}();t.UserService=o},69:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(15);l(22);var i=l(5),u=function(){function n(n,t){this.http=n,this.userService=t,this.baseUrl="https://www.goicc.com/api-v1/store/",this.headers=new e.Headers({"Content-Type":"application/json"}),this.init()}return n.prototype.init=function(){this.userService.isLoggedIn()&&(this.user=this.userService.getMe(),this.refreshSid(),this.headers.append("Authorization",this.user.apikey))},n.prototype.refreshSid=function(){this.sid=parseInt(localStorage.getItem("sid")),102==this.sid&&(this.sid=4005)},n.prototype.getStations=function(){return this.refreshSid(),this.http.get(this.baseUrl+this.sid+"/stations",{headers:this.headers}).toPromise().then(function(n){return n.json()}).catch(this.handleError)},n.prototype.getStation=function(n){return this.getStations().then(function(t){return t.find(function(t){return t.id===n})})},n.prototype.deleteStation=function(n,t){return this.refreshSid(),this.http.delete(this.baseUrl+this.sid+"/station/"+n.id,new e.RequestOptions({body:JSON.stringify({sid:this.sid,id:n.id,newid:t}),headers:this.headers})).map(function(n){return n.json()})},n.prototype.saveStation=function(n){return this.refreshSid(),this.http.post(this.baseUrl+this.sid+"/station/"+n.id,JSON.stringify({sid:this.sid,id:n.id,name:n.name,sort:n.sort,icon:n.icon,icon64:n.icon64,active:n.active}),{headers:this.headers}).map(function(n){return n.json()})},n.prototype.handleError=function(n){return console.error("An error occurred",n),Promise.reject(n.message||n)},n.ctorParameters=function(){return[{type:e.Http},{type:i.UserService}]},n}();t.StationService=u},796:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(797),u=l(34);e.enableProdMode(),u.platformBrowser().bootstrapModuleFactory(i.AppModuleNgFactory)},797:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=l(3),i=l(798),u=l(320),o=l(801),r=l(802),s=l(843),a=l(12),d=l(34),c=l(20),p=l(15),h=l(68),f=l(43),g=l(5),m=l(845),v=l(89),C=l(117),y=l(118),b=l(69),w=l(119),S=l(120),_=l(121),x=l(122),I=l(123),E=l(113),R=l(114),O=l(115),A=l(116),M=l(846),N=l(847),T=l(848),P=l(318),k=l(317),D=l(321),V=l(343);t.AppModuleNgFactory=e.ɵcmf(i.AppModule,[u.AppComponent],function(n){return e.ɵmod([e.ɵmpd(512,e.ComponentFactoryResolver,e.ɵCodegenComponentFactoryResolver,[[8,[o.LoginComponentNgFactory,r.ItemsComponentNgFactory,s.AppComponentNgFactory]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e.ɵmpd(5120,e.LOCALE_ID,e.ɵm,[[3,e.LOCALE_ID]]),e.ɵmpd(4608,a.NgLocalization,a.NgLocaleLocalization,[e.LOCALE_ID]),e.ɵmpd(5120,e.APP_ID,e.ɵf,[]),e.ɵmpd(5120,e.IterableDiffers,e.ɵk,[]),e.ɵmpd(5120,e.KeyValueDiffers,e.ɵl,[]),e.ɵmpd(4608,d.DomSanitizer,d.ɵe,[a.DOCUMENT]),e.ɵmpd(6144,e.Sanitizer,null,[d.DomSanitizer]),e.ɵmpd(4608,d.HAMMER_GESTURE_CONFIG,d.HammerGestureConfig,[]),e.ɵmpd(5120,d.EVENT_MANAGER_PLUGINS,function(n,t,l,e){return[new d.ɵDomEventsPlugin(n),new d.ɵKeyEventsPlugin(t),new d.ɵHammerGesturesPlugin(l,e)]},[a.DOCUMENT,a.DOCUMENT,a.DOCUMENT,d.HAMMER_GESTURE_CONFIG]),e.ɵmpd(4608,d.EventManager,d.EventManager,[d.EVENT_MANAGER_PLUGINS,e.NgZone]),e.ɵmpd(135680,d.ɵDomSharedStylesHost,d.ɵDomSharedStylesHost,[a.DOCUMENT]),e.ɵmpd(4608,d.ɵDomRendererFactory2,d.ɵDomRendererFactory2,[d.EventManager,d.ɵDomSharedStylesHost]),e.ɵmpd(6144,e.RendererFactory2,null,[d.ɵDomRendererFactory2]),e.ɵmpd(6144,d.ɵSharedStylesHost,null,[d.ɵDomSharedStylesHost]),e.ɵmpd(4608,e.Testability,e.Testability,[e.NgZone]),e.ɵmpd(4608,d.Meta,d.Meta,[a.DOCUMENT]),e.ɵmpd(4608,d.Title,d.Title,[a.DOCUMENT]),e.ɵmpd(4608,c.ɵi,c.ɵi,[]),e.ɵmpd(4608,p.BrowserXhr,p.BrowserXhr,[]),e.ɵmpd(4608,p.ResponseOptions,p.BaseResponseOptions,[]),e.ɵmpd(5120,p.XSRFStrategy,p.ɵb,[]),e.ɵmpd(4608,p.XHRBackend,p.XHRBackend,[p.BrowserXhr,p.ResponseOptions,p.XSRFStrategy]),e.ɵmpd(4608,p.RequestOptions,p.BaseRequestOptions,[]),e.ɵmpd(5120,p.Http,p.ɵc,[p.XHRBackend,p.RequestOptions]),e.ɵmpd(4608,h.PaginationService,h.PaginationService,[]),e.ɵmpd(5120,f.ActivatedRoute,f.ɵf,[f.Router]),e.ɵmpd(4608,f.NoPreloading,f.NoPreloading,[]),e.ɵmpd(6144,f.PreloadingStrategy,null,[f.NoPreloading]),e.ɵmpd(135680,f.RouterPreloader,f.RouterPreloader,[f.Router,e.NgModuleFactoryLoader,e.Compiler,e.Injector,f.PreloadingStrategy]),e.ɵmpd(4608,f.PreloadAllModules,f.PreloadAllModules,[]),e.ɵmpd(5120,f.ROUTER_INITIALIZER,f.ɵi,[f.ɵg]),e.ɵmpd(5120,e.APP_BOOTSTRAP_LISTENER,function(n){return[n]},[f.ROUTER_INITIALIZER]),e.ɵmpd(4608,g.UserService,g.UserService,[p.Http]),e.ɵmpd(4608,m.LoggedInGuard,m.LoggedInGuard,[g.UserService,f.Router]),e.ɵmpd(4608,v.ItemService,v.ItemService,[p.Http,g.UserService]),e.ɵmpd(4608,C.CCDataService,C.CCDataService,[p.Http,g.UserService]),e.ɵmpd(4608,y.CCPDataService,y.CCPDataService,[p.Http,g.UserService]),e.ɵmpd(4608,b.StationService,b.StationService,[p.Http,g.UserService]),e.ɵmpd(4608,w.GroupService,w.GroupService,[p.Http,g.UserService]),e.ɵmpd(4608,S.ReportGroupService,S.ReportGroupService,[p.Http,g.UserService]),e.ɵmpd(4608,_.CAService,_.CAService,[p.Http,g.UserService]),e.ɵmpd(4608,x.CNPService,x.CNPService,[p.Http,g.UserService]),e.ɵmpd(4608,I.MeasurementService,I.MeasurementService,[p.Http,g.UserService]),e.ɵmpd(4608,E.EmployeeService,E.EmployeeService,[p.Http,g.UserService]),e.ɵmpd(4608,R.ScheduleService,R.ScheduleService,[p.Http,g.UserService]),e.ɵmpd(4608,O.MenuService,O.MenuService,[p.Http,g.UserService]),e.ɵmpd(4608,A.MenuDateService,A.MenuDateService,[p.Http,g.UserService]),e.ɵmpd(4608,M.IconService,M.IconService,[p.Http,g.UserService]),e.ɵmpd(4608,N.LabelService,N.LabelService,[p.Http,g.UserService]),e.ɵmpd(4608,T.ContentCfgService,T.ContentCfgService,[p.Http,g.UserService]),e.ɵmpd(512,a.CommonModule,a.CommonModule,[]),e.ɵmpd(1024,e.ErrorHandler,d.ɵa,[]),e.ɵmpd(1024,e.NgProbeToken,function(){return[f.ɵb()]},[]),e.ɵmpd(512,f.ɵg,f.ɵg,[e.Injector]),e.ɵmpd(1024,e.APP_INITIALIZER,function(n,t,l){return[d.ɵc(n,t),f.ɵh(l)]},[[2,d.NgProbeToken],[2,e.NgProbeToken],f.ɵg]),e.ɵmpd(512,e.ApplicationInitStatus,e.ApplicationInitStatus,[[2,e.APP_INITIALIZER]]),e.ɵmpd(131584,e.ɵe,e.ɵe,[e.NgZone,e.ɵConsole,e.Injector,e.ErrorHandler,e.ComponentFactoryResolver,e.ApplicationInitStatus]),e.ɵmpd(2048,e.ApplicationRef,null,[e.ɵe]),e.ɵmpd(512,e.ApplicationModule,e.ApplicationModule,[e.ApplicationRef]),e.ɵmpd(512,d.BrowserModule,d.BrowserModule,[[3,d.BrowserModule]]),e.ɵmpd(512,c.ɵba,c.ɵba,[]),e.ɵmpd(512,c.FormsModule,c.FormsModule,[]),e.ɵmpd(512,p.HttpModule,p.HttpModule,[]),e.ɵmpd(512,P.Ng2PaginationModule,P.Ng2PaginationModule,[]),e.ɵmpd(512,k.MaterializeModule,k.MaterializeModule,[]),e.ɵmpd(1024,f.ɵa,f.ɵd,[[3,f.Router]]),e.ɵmpd(512,f.UrlSerializer,f.DefaultUrlSerializer,[]),e.ɵmpd(512,f.ChildrenOutletContexts,f.ChildrenOutletContexts,[]),e.ɵmpd(256,f.ROUTER_CONFIGURATION,{},[]),e.ɵmpd(1024,a.LocationStrategy,f.ɵc,[a.PlatformLocation,[2,a.APP_BASE_HREF],f.ROUTER_CONFIGURATION]),e.ɵmpd(512,a.Location,a.Location,[a.LocationStrategy]),e.ɵmpd(512,e.Compiler,e.Compiler,[]),e.ɵmpd(512,e.NgModuleFactoryLoader,e.SystemJsNgModuleLoader,[e.Compiler,[2,e.SystemJsNgModuleLoaderConfig]]),e.ɵmpd(1024,f.ROUTES,function(){return[[{path:"login",component:D.LoginComponent},{path:"items",component:V.ItemsComponent,canActivate:[m.LoggedInGuard]},{path:"",redirectTo:"/items",pathMatch:"full"}]]},[]),e.ɵmpd(1024,f.Router,f.ɵe,[e.ApplicationRef,f.UrlSerializer,f.ChildrenOutletContexts,a.Location,e.Injector,e.NgModuleFactoryLoader,e.Compiler,f.ROUTES,f.ROUTER_CONFIGURATION,[2,f.UrlHandlingStrategy],[2,f.RouteReuseStrategy]]),e.ɵmpd(512,f.RouterModule,f.RouterModule,[[2,f.ɵa],[2,f.Router]]),e.ɵmpd(512,i.AppModule,i.AppModule,[])])})},798:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n}();t.AppModule=e},799:function(n,t){},800:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(n,t,l,e,i,u,o,r,s,a,d,c,p,h,f,g,m,v,C,y,b,w,S,_,x,I,E,R){this.id=n,this.mid=t,this.cid=l,this.tmv=e,this.lm2=i,this.ckch=u,this.snt=o,this.gateway_sid=r,this.gateway=s,this.tms=a,this.lmcn=d,this.lmregion=c,this.vrsn=p,this.dirty=h,this.cafe=f,this.name=g,this.tzID=m,this.degrees=v,this.start=C,this.end=y,this.computrition_url=b,this.ccp2=w,this.hierarchy=S,this.parent1=_,this.parent2=x,this.parent3=I,this.parent4=E,this.parent5=R}return n}();t.Site=e},801:function(n,t,l){"use strict";function e(n){return r.ɵvid(0,[(n()(),r.ɵeld(0,0,null,null,1,"label",[["class","active"],["for","username"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Customer Number"]))],null,null)}function i(n){return r.ɵvid(0,[(n()(),r.ɵeld(0,0,null,null,1,"label",[["class","active"],["for","username"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Username"]))],null,null)}function u(n){return r.ɵvid(0,[(n()(),r.ɵeld(0,0,null,null,66,"div",[["class","no-container"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t"])),(n()(),r.ɵeld(2,0,null,null,63,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t"])),(n()(),r.ɵeld(4,0,null,null,60,"form",[["class","col s12"],["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(n,t,l){var e=!0;if("submit"===t){e=!1!==r.ɵnov(n,6).onSubmit(l)&&e}if("reset"===t){e=!1!==r.ɵnov(n,6).onReset()&&e}return e},null,null)),r.ɵdid(5,16384,null,0,s.ɵbf,[],null,null),r.ɵdid(6,16384,null,0,s.NgForm,[[8,null],[8,null]],null,null),r.ɵprd(2048,null,s.ControlContainer,null,[s.NgForm]),r.ɵdid(8,16384,null,0,s.NgControlStatusGroup,[s.ControlContainer],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵeld(10,0,null,null,53,"div",[["class","z-depth-0 card white"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(12,0,null,null,7,"div",[["class","card-title black-text"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(14,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵeld(16,0,null,null,1,"div",[["class","input-field col s12"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\tCustomer Login\n\t\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(21,0,null,null,41,"div",[["class","compact card-content black-text"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(23,0,null,null,20,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵeld(25,0,null,null,9,"div",[["class","input-field col s3"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),r.ɵeld(27,0,[["username",1]],null,0,"input",[["autofocus",""],["class","validate"],["id","username"],["name","username"],["required",""],["type","text"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),r.ɵand(16777216,null,null,1,null,e)),r.ɵdid(30,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),r.ɵand(16777216,null,null,1,null,i)),r.ɵdid(33,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵeld(36,0,null,null,6,"div",[["class","input-field col s3"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),r.ɵeld(38,0,[["password",1]],null,0,"input",[["class","validate"],["id","password"],["name","password"],["required",""],["type","password"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),r.ɵeld(40,0,null,null,1,"label",[["class","active"],["for","password"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Password"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(45,0,null,null,7,"div",[["class","row"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵeld(47,0,null,null,4,"div",[["class","input-field col s12"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),r.ɵeld(49,0,null,null,1,"span",[["class","red-text text-darken-4"]],null,null,null,null,null)),(n()(),r.ɵted(50,null,[""," "])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(54,0,null,null,7,"div",[["class","row"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵeld(56,0,null,null,4,"div",[["class","input-field col s12"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),r.ɵeld(58,0,null,null,1,"button",[["class","btn red white-text waves-effect waves-light"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.doLogin(r.ɵnov(n,27).value,r.ɵnov(n,38).value)&&e}return e},null,null)),(n()(),r.ɵted(-1,null,["Login"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t"])),(n()(),r.ɵted(-1,null,["\n\t"])),(n()(),r.ɵted(-1,null,["\n"])),(n()(),r.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,30,0,1==l.iprint),n(t,33,0,0==l.iprint)},function(n,t){var l=t.component;n(t,4,0,r.ɵnov(t,8).ngClassUntouched,r.ɵnov(t,8).ngClassTouched,r.ɵnov(t,8).ngClassPristine,r.ɵnov(t,8).ngClassDirty,r.ɵnov(t,8).ngClassValid,r.ɵnov(t,8).ngClassInvalid,r.ɵnov(t,8).ngClassPending),n(t,50,0,l.errorMsg)})}function o(n){return r.ɵvid(0,[(n()(),r.ɵeld(0,0,null,null,1,"do-login",[],null,null,null,u,t.RenderType_LoginComponent)),r.ɵdid(1,114688,null,0,d.LoginComponent,[c.UserService,p.Router],null,null)],function(n,t){n(t,1,0)},null)}Object.defineProperty(t,"__esModule",{value:!0});var r=l(3),s=l(20),a=l(12),d=l(321),c=l(5),p=l(43),h=[];t.RenderType_LoginComponent=r.ɵcrt({encapsulation:2,styles:h,data:{}}),t.View_LoginComponent_0=u,t.View_LoginComponent_Host_0=o,t.LoginComponentNgFactory=r.ɵccf("do-login",d.LoginComponent,o,{},{},[])},802:function(n,t,l){"use strict";function e(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","site_settings"],["title","Settings"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onSettings()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"]],[[2,"grey-text",null],[2,"text-darken-3",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["settings"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,void 0==l.selectedSite||!l.selectedSite.ccp2),n(t,2,0,void 0==l.selectedSite||!l.selectedSite.ccp2,void 0==l.selectedSite||!l.selectedSite.ccp2)})}function i(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","user_list"],["title","Employees"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onUserList()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"]],[[2,"grey-text",null],[2,"text-darken-3",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["group"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,void 0==l.selectedSite||!l.selectedSite.ccp2),n(t,2,0,void 0==l.selectedSite||!l.selectedSite.ccp2,void 0==l.selectedSite||!l.selectedSite.ccp2)})}function u(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","menu-config"],["title","Schedules / Menus"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onMenuConfig("schedules")&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"]],[[2,"grey-text",null],[2,"text-darken-3",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["schedule"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,void 0==l.selectedSite||!l.selectedSite.ccp2),n(t,2,0,void 0==l.selectedSite||!l.selectedSite.ccp2,void 0==l.selectedSite||!l.selectedSite.ccp2)})}function o(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","savesch"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onSaveSchedule()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"],["title","Generate Files"]],[[2,"grey-text",null],[2,"text-darken-3",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["cloud_done"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,void 0==l.selectedSite||!l.selectedSite.ccp2),n(t,2,0,void 0==l.selectedSite||!l.selectedSite.ccp2,void 0==l.selectedSite||!l.selectedSite.ccp2)})}function r(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,e)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,i)),rn.ɵdid(5,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,u)),rn.ɵdid(8,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,o)),rn.ɵdid(11,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,2,0,l.can_edit),n(t,5,0,l.can_edit),n(t,8,0,l.can_edit),n(t,11,0,l.can_edit)},null)}function s(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","store_content_config"],["title","Store Content Config"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onStoreContentConfig()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["assignment"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,null)}function a(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,s)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){n(t,2,0,t.component.can_edit)},null)}function d(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","save_files"],["title","Cloud Sync"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onSaveFiles()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons"],["style","font-weight: bolder;"]],[[2,"green-text",null],[2,"orange-text",null],[2,"grey-text",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["cloud_queue"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,l.transferring),n(t,2,0,!l.transferring&&0==l.selectedSite.dirty,!l.transferring&&1==l.selectedSite.dirty,l.transferring)})}function c(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","get_files"],["title","Download Files"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onFiles()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons"]],[[2,"black-text",null],[2,"grey-text",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["file_download"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,l.transferring||1==l.selectedSite.dirty),n(t,2,0,!l.transferring&&0==l.selectedSite.dirty,l.transferring||1==l.selectedSite.dirty)})}function p(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,d)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,c)),rn.ɵdid(5,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,2,0,l.can_edit),n(t,5,0,l.can_edit)},null)}function h(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,9,"div",[["class","btn-floating btn-flat right"],["id","put_file"],["title","Import"]],[[2,"disabled",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,4,"label",[["for","product_upload"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),rn.ɵeld(4,0,null,null,1,"i",[["class","material-icons"],["style","cursor: pointer;"]],[[2,"black-text",null],[2,"grey-text",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["file_upload"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(8,0,null,null,0,"input",[["accept",".csv,.psv,.png,.jpg,.cmd,.pdf,.mp4"],["class","inputfile"],["id","product_upload"],["multiple",""],["type","file"]],null,[[null,"change"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==i.changeListener(l)&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,l.transferring),n(t,4,0,!l.transferring,l.transferring)})}function f(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,h)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){n(t,2,0,t.component.can_edit)},null)}function g(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","viewrpt"],["title","Reports"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onViewReports()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["format_align_justify"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,null)}function m(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","viewfrm"],["title","Product List"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onViewForm()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["mode_edit"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,null)}function v(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","saveckch"],["title","Generate Files"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onSaveCkChProductList()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"]],[[2,"grey-text",null],[2,"text-darken-3",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["cloud_done"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,void 0==l.selectedSite||0==l.selectedSite.ckch),n(t,2,0,void 0==l.selectedSite||0==l.selectedSite.ckch,void 0==l.selectedSite||0==l.selectedSite.ckch)})}function C(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","ckchcsv"],["title","Export Report"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onGetCkChCsv()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons black-text"]],[[2,"grey-text",null],[2,"text-darken-3",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["file_download"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,void 0==l.selectedSite||0==l.selectedSite.ckch),n(t,2,0,void 0==l.selectedSite||0==l.selectedSite.ckch,void 0==l.selectedSite||0==l.selectedSite.ckch)})}function y(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,g)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,m)),rn.ɵdid(5,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,v)),rn.ɵdid(8,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,C)),rn.ɵdid(11,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,2,0,!l.view_reports),n(t,5,0,l.view_reports),n(t,8,0,l.can_edit&&!l.view_reports),n(t,11,0,l.view_reports)},null)}function b(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","contents"],["title","Maintain Contents"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onContents()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"i",[["class","material-icons"]],[[2,"black-text",null],[2,"grey-text",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["storage"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,l.transferring||1==l.selectedSite.dirty||l.is_dirty),n(t,2,0,!l.transferring&&0==l.selectedSite.dirty&&!l.is_dirty,l.transferring||1==l.selectedSite.dirty||l.is_dirty)})}function w(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,b)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){n(t,2,0,t.component.can_edit)},null)}function S(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,1,"button",[["class","btn right"],["id","computrition"],["style","text-transform: none;"],["title","Update Computrition Data"],["type","button"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onUpdateComputrition()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\tUpdate Computrition Data\n\t\t\t\t\t"]))],null,function(n,t){n(t,0,0,t.component.transferring)})}function _(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,S)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){n(t,2,0,t.component.can_edit)},null)}function x(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵeld(1,0,null,null,3,"button",[["class","btn-floating btn-flat right"],["id","panda-tm"],["onclick","location.href='https://www.goicc.com/panda-temp.php'"],["title","Temp Minder"],["type","button"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(3,0,null,null,0,"img",[["src","//www.goicc.com/images/temp_icon.png"],["style","max-width: 75%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],null,null)}function I(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\ti.Print Product List Editor\n\t\t\t\t\t"]))],null,null)}function E(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\tCook 'n' Chill Product List Editor\n\t\t\t\t\t\t"]))],null,null)}function R(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\tCook 'n' Chill Reports\n\t\t\t\t\t\t"]))],null,null)}function O(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,E)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,R)),rn.ɵdid(5,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,2,0,!l.view_reports),n(t,5,0,l.view_reports)},null)}function A(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\tScan 'n' Temp Product List Editor\n\t\t\t\t\t\t"]))],null,null)}function M(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\tCCP+ Product List Editor\n\t\t\t\t\t\t"]))],null,null)}function N(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\tReports\n\t\t\t\t\t\t"]))],null,null)}function T(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,A)),rn.ɵdid(2,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,M)),rn.ɵdid(5,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,N)),rn.ɵdid(8,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,2,0,!l.view_reports&&0==l.usr.pandarg),n(t,5,0,!l.view_reports&&1==l.usr.pandarg),n(t,8,0,l.view_reports)},null)}function P(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,3,"div",[["class","progress compact col s4 right blue lighten-3"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,0,"div",[["class","indeterminate blue"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"]))],null,null)}function k(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,7,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,4,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(4,0,null,null,1,"span",[["class","right"],["style","font-size: smaller; padding-right: 40px"]],null,null,null,null,null)),(n()(),rn.ɵted(5,null,["ver.",""])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"]))],null,function(n,t){n(t,5,0,t.component.selectedSite.vrsn)})}function D(n){return rn.ɵvid(0,[(n()(),rn.ɵted(0,null,["\n\t\t\t","\n "]))],null,function(n,t){n(t,0,0,t.component.site)})}function V(n){return rn.ɵvid(0,[(n()(),rn.ɵted(-1,null,["\n Overview\n "]))],null,null)}function F(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,2,"change-site",[],null,[[null,"onChangeSite"],["document","click"]],function(n,t,l){var e=!0,i=n.component;if("document:click"===t){e=!1!==rn.ɵnov(n,1).handleClick(l)&&e}if("onChangeSite"===t){e=!1!==i.onChangeSite(l)&&e}return e},an.View_ChangeSiteComponent_0,an.RenderType_ChangeSiteComponent)),rn.ɵdid(1,114688,null,0,dn.ChangeSiteComponent,[rn.ElementRef,cn.Router,pn.UserService],null,{onChangeSite:"onChangeSite"}),(n()(),rn.ɵted(-1,null,["\n\t\t"]))],function(n,t){n(t,1,0)},null)}function U(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,5,"my-settings",[["class","modal"],["materialize","modal"]],null,[[null,"siteChange"],[null,"onSaveSite"],[null,"onCloseSettings"]],function(n,t,l){var e=!0,i=n.component;if("siteChange"===t){e=!1!==(i.selectedSite=l)&&e}if("onSaveSite"===t){e=!1!==i.onSaveSite(l)&&e}if("onCloseSettings"===t){e=!1!==i.onCloseSettings(l)&&e}return e},hn.View_SettingsComponent_0,hn.RenderType_SettingsComponent)),rn.ɵdid(1,5128192,null,0,fn.MaterializeDirective,[rn.ElementRef],{materializeParams:[0,"materializeParams"],materializeActions:[1,"materializeActions"],materialize:[2,"materialize"]},null),rn.ɵpod(2,{dismissible:0}),rn.ɵpad(3,1),rn.ɵdid(4,49152,null,0,gn.SettingsComponent,[],{site:[0,"site"],timezones:[1,"timezones"]},{onSaveSite:"onSaveSite",onCloseSettings:"onCloseSettings"}),(n()(),rn.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,1,0,n(t,3,0,n(t,2,0,!1)),l.settingsActions,"modal"),n(t,4,0,l.selectedSite,l.timezones)},null)}function L(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,5,"my-store-content-cfgs",[["class","modal"],["materialize","modal"]],null,[[null,"contentCfgsChange"],[null,"onSaveCfgs"],[null,"onCloseStoreContentCfgs"]],function(n,t,l){var e=!0,i=n.component;if("contentCfgsChange"===t){e=!1!==(i.contentCfgs=l)&&e}if("onSaveCfgs"===t){e=!1!==i.onSaveCfgs(l)&&e}if("onCloseStoreContentCfgs"===t){e=!1!==i.onCloseStoreContentCfgs(l)&&e}return e},mn.View_StoreContentCfgsComponent_0,mn.RenderType_StoreContentCfgsComponent)),rn.ɵdid(1,5128192,null,0,fn.MaterializeDirective,[rn.ElementRef],{materializeParams:[0,"materializeParams"],materializeActions:[1,"materializeActions"],materialize:[2,"materialize"]},null),rn.ɵpod(2,{dismissible:0}),rn.ɵpad(3,1),rn.ɵdid(4,49152,null,0,vn.StoreContentCfgsComponent,[],{contentCfgs:[0,"contentCfgs"]},{onSaveCfgs:"onSaveCfgs",onCloseStoreContentCfgs:"onCloseStoreContentCfgs"}),(n()(),rn.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,1,0,n(t,3,0,n(t,2,0,!1)),l.storeContentCfgsActions,"modal"),n(t,4,0,l.contentCfgs)},null)}function j(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,5,"my-user-list",[["class","modal white"],["materialize","modal"]],null,[[null,"employeesChange"],[null,"onCloseUserList"]],function(n,t,l){var e=!0,i=n.component;if("employeesChange"===t){e=!1!==(i.employees=l)&&e}if("onCloseUserList"===t){e=!1!==i.onCloseUserList(l)&&e}return e},Cn.View_EmployeesComponent_0,Cn.RenderType_EmployeesComponent)),rn.ɵdid(1,5128192,null,0,fn.MaterializeDirective,[rn.ElementRef],{materializeParams:[0,"materializeParams"],materializeActions:[1,"materializeActions"],materialize:[2,"materialize"]},null),rn.ɵpod(2,{dismissible:0}),rn.ɵpad(3,1),rn.ɵdid(4,49152,null,0,yn.EmployeesComponent,[bn.EmployeeService],{employees:[0,"employees"]},{employeesChange:"employeesChange",onCloseUserList:"onCloseUserList"}),(n()(),rn.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,1,0,n(t,3,0,n(t,2,0,!1)),l.userlistActions,"modal"),n(t,4,0,l.employees)},null)}function z(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,5,"my-menu-config",[["class","modal white"],["materialize","modal"],["style","width: 98%; height: 96%; max-height: 96%;"]],null,[[null,"allItemsChange"],[null,"schedulesChange"],[null,"scheduletimesChange"],[null,"menudatesChange"],[null,"menusChange"],[null,"onLoading"],[null,"onMenuRefresh"],[null,"onCloseMenuConfig"]],function(n,t,l){var e=!0,i=n.component;if("allItemsChange"===t){e=!1!==(i.allItems=l)&&e}if("schedulesChange"===t){e=!1!==(i.schedules=l)&&e}if("scheduletimesChange"===t){e=!1!==(i.scheduletimes=l)&&e}if("menudatesChange"===t){e=!1!==(i.menudates=l)&&e}if("menusChange"===t){e=!1!==(i.menus=l)&&e}if("onLoading"===t){e=!1!==i.onLoading(l)&&e}if("onMenuRefresh"===t){e=!1!==i.onMenuRefresh(l)&&e}if("onCloseMenuConfig"===t){e=!1!==i.onCloseMenuConfig(l)&&e}return e},wn.View_MenuConfigComponent_0,wn.RenderType_MenuConfigComponent)),rn.ɵdid(1,5128192,null,0,fn.MaterializeDirective,[rn.ElementRef],{materializeParams:[0,"materializeParams"],materializeActions:[1,"materializeActions"],materialize:[2,"materialize"]},null),rn.ɵpod(2,{dismissible:0}),rn.ɵpad(3,1),rn.ɵdid(4,573440,null,0,Sn.MenuConfigComponent,[],{site:[0,"site"],allItems:[1,"allItems"],viewTab:[2,"viewTab"],schedules:[3,"schedules"],scheduletimes:[4,"scheduletimes"],menudates:[5,"menudates"],menus:[6,"menus"],selectedMenu:[7,"selectedMenu"],timecell:[8,"timecell"],timelimit:[9,"timelimit"]},{allItemsChange:"allItemsChange",schedulesChange:"schedulesChange",scheduletimesChange:"scheduletimesChange",menudatesChange:"menudatesChange",menusChange:"menusChange",onCloseMenuConfig:"onCloseMenuConfig",onMenuRefresh:"onMenuRefresh",onLoading:"onLoading"}),(n()(),rn.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,1,0,n(t,3,0,n(t,2,0,!1)),l.menuConfigActions,"modal"),n(t,4,0,l.site,l.allItems,l.viewTab,l.schedules,l.scheduletimes,l.menudates,l.menus,l.selectedMenu,l.timecell,l.timelimit)},null)}function q(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,9,"div",[["class","container valign-wrapper"],["style","min-height: 50%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵeld(2,0,null,null,6,"div",[["class","row valign"],["style","width: 100%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵeld(4,0,null,null,3,"div",[["class","progress col s12 blue lighten-3"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(6,0,null,null,0,"div",[["class","indeterminate blue"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵted(-1,null,["\n"]))],null,null)}function G(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,13,"div",[["class","container"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵeld(2,0,null,null,10,"div",[["class","row"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵeld(4,0,null,null,7,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(6,0,null,null,4,"div",[["class","card-panel grey lighten-4"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(8,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),rn.ɵted(9,null,["The selected site: "," is not a Scan 'n' Temp site. Please choose another site from the Site Selector above."])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵted(-1,null,["\n"]))],null,function(n,t){n(t,9,0,t.component.site)})}function B(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,2,"my-report-view",[],null,[[null,"ccdataChange"]],function(n,t,l){var e=!0,i=n.component;if("ccdataChange"===t){e=!1!==(i.ccdata=l)&&e}return e},_n.View_ReportViewComponent_0,_n.RenderType_ReportViewComponent)),rn.ɵdid(1,114688,null,0,xn.ReportViewComponent,[In.CCDataService],{sid:[0,"sid"],site:[1,"site"],ccdata:[2,"ccdata"]},{ccdataChange:"ccdataChange"}),(n()(),rn.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,1,0,l.sid,l.selectedSite,l.ccdata)},null)}function $(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,2,"my-report-ccp",[],null,[[null,"ccpdataChange"],[null,"ccpstatsChange"]],function(n,t,l){var e=!0,i=n.component;if("ccpdataChange"===t){e=!1!==(i.ccpdata=l)&&e}if("ccpstatsChange"===t){e=!1!==(i.ccpstats=l)&&e}return e},En.View_ReportCCPComponent_0,En.RenderType_ReportCCPComponent)),rn.ɵdid(1,114688,null,0,Rn.ReportCCPComponent,[On.CCPDataService],{sid:[0,"sid"],site:[1,"site"],ccpdata:[2,"ccpdata"],ccpstats:[3,"ccpstats"]},{ccpdataChange:"ccpdataChange",ccpstatsChange:"ccpstatsChange"}),(n()(),rn.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,1,0,l.sid,l.selectedSite,l.ccpdata,l.ccpstats)},null)}function H(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,6,"div",[["class","container valign-wrapper"],["style","min-height: 20%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,3,"div",[["class","progress left col s12 m6 blue lighten-3 valign"],["style","width: 100%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(4,0,null,null,0,"div",[["class","indeterminate blue"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"]))],null,null)}function W(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,7,"div",[["class","container valign-wrapper"],["style","min-height: 20%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,4,"div",[["class","left col s12 m6"],["style","width: 100%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(4,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["No Items Found"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"]))],null,null)}function K(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,2,"my-item-detail",[],null,[[null,"allItemsChange"],[null,"isKBChange"],[null,"isURLChange"],[null,"stationsChange"],[null,"groupsChange"],[null,"reportGroupsChange"],[null,"casChange"],[null,"cnpsChange"],[null,"measurementsChange"],[null,"onDirty"],[null,"onNext"],[null,"onPrev"],[null,"onDelete"],[null,"onSave"],[null,"onCopy"],[null,"onCancel"],[null,"onStations"],[null,"onVisualize"]],function(n,t,l){var e=!0,i=n.component;if("allItemsChange"===t){e=!1!==(i.allItems=l)&&e}if("isKBChange"===t){e=!1!==(i.isKB=l)&&e}if("isURLChange"===t){e=!1!==(i.isURL=l)&&e}if("stationsChange"===t){e=!1!==(i.stations=l)&&e}if("groupsChange"===t){e=!1!==(i.groups=l)&&e}if("reportGroupsChange"===t){e=!1!==(i.reportGroups=l)&&e}if("casChange"===t){e=!1!==(i.cas=l)&&e}if("cnpsChange"===t){e=!1!==(i.cnps=l)&&e}if("measurementsChange"===t){e=!1!==(i.measurements=l)&&e}if("onDirty"===t){e=!1!==i.onDirty(l)&&e}if("onNext"===t){e=!1!==i.onNext(l)&&e}if("onPrev"===t){e=!1!==i.onPrev(l)&&e}if("onDelete"===t){e=!1!==i.onDelete(l)&&e}if("onSave"===t){e=!1!==i.onSave(l)&&e}if("onCopy"===t){e=!1!==i.onCopy(l)&&e}if("onCancel"===t){e=!1!==i.onCancel(l)&&e}if("onStations"===t){e=!1!==i.onStations(l)&&e}if("onVisualize"===t){e=!1!==i.onVisualize()&&e}return e},An.View_ItemDetailComponent_0,An.RenderType_ItemDetailComponent)),rn.ɵdid(1,4767744,null,0,Mn.ItemDetailComponent,[Nn.ItemService],{allItems:[0,"allItems"],sid:[1,"sid"],site:[2,"site"],item:[3,"item"],ccptests:[4,"ccptests"],icons:[5,"icons"],commonIcons:[6,"commonIcons"],labels:[7,"labels"],stations:[8,"stations"],groups:[9,"groups"],reportGroups:[10,"reportGroups"],cas:[11,"cas"],cnps:[12,"cnps"],dayparts:[13,"dayparts"],measurements:[14,"measurements"],schedules:[15,"schedules"],canView:[16,"canView"],canEdit:[17,"canEdit"],selectedItemIdx:[18,"selectedItemIdx"],filteredCount:[19,"filteredCount"],kbPdfs:[20,"kbPdfs"],kbVideos:[21,"kbVideos"],commonKbPdfs:[22,"commonKbPdfs"],isKB:[23,"isKB"],isURL:[24,"isURL"]},{allItemsChange:"allItemsChange",stationsChange:"stationsChange",groupsChange:"groupsChange",reportGroupsChange:"reportGroupsChange",casChange:"casChange",cnpsChange:"cnpsChange",measurementsChange:"measurementsChange",onDelete:"onDelete",onSave:"onSave",onCopy:"onCopy",onCancel:"onCancel",onNext:"onNext",onPrev:"onPrev",onDirty:"onDirty",onVisualize:"onVisualize",isKBChange:"isKBChange",isURLChange:"isURLChange"}),(n()(),rn.ɵted(-1,null,["\n\t\t"]))],function(n,t){var l=t.component;n(t,1,1,[l.allItems,l.sid,l.selectedSite,l.selectedItem,l.ccptests,l.icons,l.commonIcons,l.labels,l.stations,l.groups,l.reportGroups,l.cas,l.cnps,l.dayparts,l.measurements,l.schedules,l.can_view,l.can_edit,l.selectedItemIdx,l.filteredCount,l.kbPdfs,l.kbVideos,l.commonKbPdfs,l.isKB,l.isURL])},null)}function Y(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"li",[["class","collection-header center"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"button",[["class","btn-flat grey lighten-2 waves-effect waves-light"]],[[8,"disabled",0]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.newItem()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["Add New Item"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"]))],null,function(n,t){n(t,2,0,1==t.component.is_dirty)})}function J(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,2,"span",[["class","badge"],["data-badge-caption",""],["style","font-size: 0.8rem; min-width: 0; padding: 0 1px; margin-left: 0;"]],null,null,null,null,null)),(n()(),rn.ɵted(1,null,["",""])),rn.ɵppd(2,3)],null,function(n,t){n(t,1,0,rn.ɵunv(t,1,0,n(t,2,0,rn.ɵnov(t.parent.parent.parent,0),t.parent.context.$implicit.itemNumber,"0",4)))})}function X(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,1,"span",[["class","badge"],["data-badge-caption",""],["style","font-size: 0.8rem; min-width: 0; padding: 0 1px; margin-left: 0;"]],null,null,null,null,null)),(n()(),rn.ɵted(1,null,["",""]))],null,function(n,t){n(t,1,0,t.parent.context.$implicit.ckchNumber)})}function Z(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,7,"li",[["class","collection-item waves-effect btn-flat"],["style","display: list-item; text-transform: none; font-size: 0.8rem;"]],[[2,"disabled",null],[2,"active",null],[2,"grey",null],[2,"lighten-1",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.onSelect(n.context.$implicit)&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,J)),rn.ɵdid(3,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,X)),rn.ɵdid(6,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(7,null,["\n\t\t\t\t","\n\t\t\t"]))],function(n,t){var l=t.component;n(t,3,0,0==l.selectedSite.ckch),n(t,6,0,1==l.selectedSite.ckch)},function(n,t){var l=t.component;n(t,0,0,1==l.is_dirty,t.context.$implicit===l.selectedItem,t.context.$implicit===l.selectedItem,t.context.$implicit===l.selectedItem),n(t,7,0,t.context.$implicit.name)})}function Q(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,1,"a",[],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==(!i.is_dirty&&rn.ɵnov(n.parent.parent,54).setCurrent(n.parent.context.$implicit.value))&&e}return e},null,null)),(n()(),rn.ɵted(1,null,["\n\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t"]))],null,function(n,t){n(t,1,0,t.parent.context.$implicit.label)})}function nn(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,1,"a",[],null,null,null,null,null)),(n()(),rn.ɵted(1,null,["\n\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t"]))],null,function(n,t){n(t,1,0,t.parent.context.$implicit.label)})}function tn(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,7,"li",[],[[2,"disabled",null],[2,"active",null],[2,"waves-effect",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,Q)),rn.ɵdid(3,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,nn)),rn.ɵdid(6,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){n(t,3,0,rn.ɵnov(t.parent,54).getCurrent()!==t.context.$implicit.value),n(t,6,0,rn.ɵnov(t.parent,54).getCurrent()===t.context.$implicit.value)},function(n,t){n(t,0,0,1==t.component.is_dirty,rn.ɵnov(t.parent,54).getCurrent()===t.context.$implicit.value,rn.ɵnov(t.parent,54).getCurrent()!==t.context.$implicit.value)})}function ln(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,4,"li",[["class","disabled"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),rn.ɵeld(2,0,null,null,1,"a",[],null,null,null,null,null)),(n()(),rn.ɵted(3,null,["\n\t\t\t\t\t\t\t\t","/","\n\t\t\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],null,function(n,t){n(t,3,0,rn.ɵnov(t.parent,54).getCurrent(),rn.ɵnov(t.parent,54).getLastPage())})}function en(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,83,"div",[["class","row"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵeld(2,0,null,null,10,"div",[["class","right col s12 m8 l9"],["id","selectedItemDetail"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,H)),rn.ɵdid(5,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,W)),rn.ɵdid(8,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,K)),rn.ɵdid(11,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵeld(14,0,null,null,68,"div",[["class","left col s12 m4 l3"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵeld(16,0,null,null,65,"ul",[["class","items collection with-header"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(18,0,null,null,17,"li",[["class","collection-header"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(20,0,null,null,14,"nav",[["class","grey lighten-3 grey-text text-darken-3"],["style","height: 32px;line-height: 32px;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵeld(22,0,null,null,11,"div",[["class","input-field"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(24,0,null,null,1,"i",[["class","material-icons prefix center-align"],["style","font-size: 1.5rem; height: 32px; line-height: 32px;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["search"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(27,0,null,null,5,"input",[["id","itemFilter"]],[[2,"ng-untouched",null],[2,"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"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==rn.ɵnov(n,28)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==rn.ɵnov(n,28).onTouched()&&e}if("compositionstart"===t){e=!1!==rn.ɵnov(n,28)._compositionStart()&&e}if("compositionend"===t){e=!1!==rn.ɵnov(n,28)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.itemFilter=l)&&e}if("keyup"===t){e=!1!==i.filter(l)&&e}return e},null,null)),rn.ɵdid(28,16384,null,0,Tn.DefaultValueAccessor,[rn.Renderer2,rn.ElementRef,[2,Tn.COMPOSITION_BUFFER_MODE]],null,null),rn.ɵprd(1024,null,Tn.NG_VALUE_ACCESSOR,function(n){return[n]},[Tn.DefaultValueAccessor]),rn.ɵdid(30,671744,null,0,Tn.NgModel,[[8,null],[8,null],[8,null],[2,Tn.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),rn.ɵprd(2048,null,Tn.NgControl,null,[Tn.NgModel]),rn.ɵdid(32,16384,null,0,Tn.NgControlStatus,[Tn.NgControl],null,null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,Y)),rn.ɵdid(38,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(40,0,null,null,4,"li",[["class","collection-header"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(42,0,null,null,1,"span",[["class","black-text"],["style","font-weight: bolder;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["Item List"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,2,null,Z)),rn.ɵdid(48,802816,null,0,sn.NgForOf,[rn.ViewContainerRef,rn.TemplateRef,rn.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),rn.ɵpid(0,Pn.PaginatePipe,[kn.PaginationService]),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(51,0,null,null,29,"li",[["class","collection-header center-align"],["style","padding: 3px 0px 2px 0px;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(53,0,null,null,25,"pagination-template",[["autoHide","false"],["directionLinks","true"],["maxSize","0"]],null,[[null,"pageChange"]],function(n,t,l){var e=!0,i=n.component;if("pageChange"===t){e=!1!==i.onPageChange(l)&&e}return e},null,null)),rn.ɵdid(54,737280,[["p",4]],0,Dn.PaginationControlsDirective,[kn.PaginationService,rn.ChangeDetectorRef],{id:[0,"id"],maxSize:[1,"maxSize"]},{pageChange:"pageChange"}),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵeld(56,0,null,null,21,"ul",[["class","pagination"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(58,0,null,null,5,"li",[],[[2,"disabled",null],[2,"waves-effect",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),rn.ɵeld(60,0,null,null,2,"a",[],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==(!i.is_dirty&&rn.ɵnov(n,54).previous())&&e}return e},null,null)),(n()(),rn.ɵeld(61,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["chevron_left"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,tn)),rn.ɵdid(66,802816,null,0,sn.NgForOf,[rn.ViewContainerRef,rn.TemplateRef,rn.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,ln)),rn.ɵdid(69,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(71,0,null,null,5,"li",[],[[2,"disabled",null],[2,"waves-effect",null]],null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),rn.ɵeld(73,0,null,null,2,"a",[],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==(!i.is_dirty&&rn.ɵnov(n,54).next())&&e}return e},null,null)),(n()(),rn.ɵeld(74,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["chevron_right"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,5,0,!l.selectedItem&&l.searching),n(t,8,0,!l.selectedItem&&!l.searching),n(t,11,0,l.selectedItem),n(t,30,0,1==l.is_dirty,l.itemFilter),n(t,38,0,l.can_edit),n(t,48,0,rn.ɵunv(t,48,0,rn.ɵnov(t,49).transform(l.items,l.itemList)));n(t,54,0,l.itemList.id,"0"),n(t,66,0,rn.ɵnov(t,54).pages),n(t,69,0,0===rn.ɵnov(t,54).pages.length&&rn.ɵnov(t,54).getLastPage())},function(n,t){var l=t.component;n(t,27,0,rn.ɵnov(t,32).ngClassUntouched,rn.ɵnov(t,32).ngClassTouched,rn.ɵnov(t,32).ngClassPristine,rn.ɵnov(t,32).ngClassDirty,rn.ɵnov(t,32).ngClassValid,rn.ɵnov(t,32).ngClassInvalid,rn.ɵnov(t,32).ngClassPending),n(t,58,0,rn.ɵnov(t,54).isFirstPage()||1==l.is_dirty,!rn.ɵnov(t,54).isFirstPage()),n(t,71,0,rn.ɵnov(t,54).isLastPage()||1==l.is_dirty,!rn.ɵnov(t,54).isLastPage())})}function un(n){return rn.ɵvid(0,[rn.ɵpid(0,Vn.LpadPipe,[]),(n()(),rn.ɵeld(1,0,null,null,73,"div",[["class","compact row white black-text hide-on-print"],["data-html2canvas-ignore","1"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵeld(3,0,null,null,4,"div",[["class","compact col s3 m2 l1 header"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵeld(5,0,null,null,1,"a",[["class","brand-logo right"],["href","#"]],null,null,null,null,null)),(n()(),rn.ɵeld(6,0,null,null,0,"img",[["src","./assets/logo.2f29b95ef86ee6ced8246ce6212f7f8d.png"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵeld(9,0,null,null,64,"div",[["class","compact col s9 m10 l11"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵeld(11,0,null,null,49,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(13,0,null,null,46,"div",[["class","col s12 center"],["id","menu"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵeld(15,0,null,null,43,"span",[["class","card-title center icctitle"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵeld(17,0,null,null,4,"button",[["class","btn-floating btn-flat right"],["id","logout"],["title","Logout"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.doLogout()&&e}return e},null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),rn.ɵeld(19,0,null,null,1,"i",[["class","material-icons red-text"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["power_settings_new"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,r)),rn.ɵdid(24,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,a)),rn.ɵdid(27,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,p)),rn.ɵdid(30,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,f)),rn.ɵdid(33,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,y)),rn.ɵdid(36,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,w)),rn.ɵdid(39,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,_)),rn.ɵdid(42,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,x)),rn.ɵdid(45,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵeld(47,0,null,null,10,"span",[["class","left"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,I)),rn.ɵdid(50,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,O)),rn.ɵdid(53,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,T)),rn.ɵdid(56,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵeld(62,0,null,null,7,"div",[["class","valign-wrapper"],["style","min-height: 1%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵeld(64,0,null,null,4,"div",[["class","row valign"],["style","width: 95%;"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,P)),rn.ɵdid(67,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,k)),rn.ɵdid(72,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵeld(76,0,null,null,19,"div",[["class","compact row grey darken-3 grey-text text-lighten-3"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵeld(78,0,null,null,10,"div",[["class","compact col s12 center"],["id","selectedSite"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵeld(80,0,null,null,7,"span",[["class","card-title center"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n "])),(n()(),rn.ɵand(16777216,null,null,1,null,D)),rn.ɵdid(83,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n "])),(n()(),rn.ɵand(16777216,null,null,1,null,V)),rn.ɵdid(86,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵeld(90,0,null,null,4,"div",[["class","compact col s12 hide-on-print"],["data-html2canvas-ignore","1"]],null,null,null,null,null)),(n()(),rn.ɵted(-1,null,["\n\t\t"])),(n()(),rn.ɵand(16777216,null,null,1,null,F)),rn.ɵdid(93,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n\t"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,U)),rn.ɵdid(98,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,L)),rn.ɵdid(101,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,j)),rn.ɵdid(104,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,z)),rn.ɵdid(107,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵeld(109,0,null,null,5,"my-loading",[["class","modal grey lighten-3 black-text center-align"],["materialize","modal"],["style","width: 50% !important ; max-height: 40% !important"]],null,null,null,Un.View_LoadingComponent_0,Un.RenderType_LoadingComponent)),rn.ɵdid(110,5128192,null,0,fn.MaterializeDirective,[rn.ElementRef],{materializeParams:[0,"materializeParams"],materializeActions:[1,"materializeActions"],materialize:[2,"materialize"]},null),rn.ɵpod(111,{dismissible:0}),rn.ɵpad(112,1),rn.ɵdid(113,49152,null,0,Ln.LoadingComponent,[],null,null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵeld(116,0,null,null,5,"my-confirmation",[["class","modal grey lighten-3 black-text"],["materialize","modal"],["style","width: 50% !important ; max-height: 40% !important"]],null,[[null,"onClose"]],function(n,t,l){var e=!0,i=n.component;if("onClose"===t){e=!1!==i.onDeleteConfirm(l)&&e}return e},jn.View_ConfirmationComponent_0,jn.RenderType_ConfirmationComponent)),rn.ɵdid(117,5128192,null,0,fn.MaterializeDirective,[rn.ElementRef],{materializeParams:[0,"materializeParams"],materializeActions:[1,"materializeActions"],materialize:[2,"materialize"]},null),rn.ɵpod(118,{dismissible:0}),rn.ɵpad(119,1),rn.ɵdid(120,49152,null,0,zn.ConfirmationComponent,[],{confirm_what:[0,"confirm_what"]},{onClose:"onClose"}),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵeld(123,0,null,null,3,"my-contents",[["class","modal grey lighten-3 black-text"],["materialize","modal"],["style","width: 450px !important ; max-height: 90% !important"]],null,[[null,"onCloseContents"]],function(n,t,l){var e=!0,i=n.component;if("onCloseContents"===t){e=!1!==i.onCloseContents()&&e}return e},qn.View_ContentsComponent_0,qn.RenderType_ContentsComponent)),rn.ɵdid(124,5128192,null,0,fn.MaterializeDirective,[rn.ElementRef],{materializeActions:[0,"materializeActions"],materialize:[1,"materialize"]},null),rn.ɵdid(125,49152,null,0,Gn.ContentsComponent,[],{trustedurl:[0,"trustedurl"]},{onCloseContents:"onCloseContents"}),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵeld(128,0,null,null,3,"my-visualization",[["class","modal grey lighten-3 black-text"],["materialize","modal"],["style","width: 450px !important ; max-height: 90% !important"]],null,[[null,"onCloseVisualize"]],function(n,t,l){var e=!0,i=n.component;if("onCloseVisualize"===t){e=!1!==i.onCloseVisualize()&&e}return e},Bn.View_VisualizationComponent_0,Bn.RenderType_VisualizationComponent)),rn.ɵdid(129,5128192,null,0,fn.MaterializeDirective,[rn.ElementRef],{materializeActions:[0,"materializeActions"],materialize:[1,"materialize"]},null),rn.ɵdid(130,49152,null,0,$n.VisualizationComponent,[],{trustedurl:[0,"trustedurl"]},{onCloseVisualize:"onCloseVisualize"}),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,q)),rn.ɵdid(134,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,G)),rn.ɵdid(137,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,B)),rn.ɵdid(140,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,$)),rn.ɵdid(143,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"])),(n()(),rn.ɵand(16777216,null,null,1,null,en)),rn.ɵdid(146,16384,null,0,sn.NgIf,[rn.ViewContainerRef,rn.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),rn.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,24,0,void 0!==l.selectedSite&&0==l.selectedSite.lm2&&0==l.selectedSite.ckch),n(t,27,0,void 0!==l.selectedSite&&8942394==l.selectedSite.lmcn&&void 0==l.selectedSite),n(t,30,0,void 0!==l.selectedSite&&(1==l.selectedSite.lm2||l.selectedSite.lmcn>0)&&0==l.selectedSite.ckch),n(t,33,0,void 0!==l.selectedSite),n(t,36,0,void 0!==l.selectedSite&&(1==l.selectedSite.ckch||l.selectedSite.ccp2)),n(t,39,0,void 0!==l.selectedSite&&(1==l.selectedSite.lm2||l.selectedSite.lmcn>0)&&0==l.selectedSite.ckch),n(t,42,0,void 0!==l.selectedSite&&""!=l.selectedSite.computrition_url),n(t,45,0,void 0!==l.selectedSite&&1==l.usr.pandarg),n(t,50,0,void 0!==l.selectedSite&&1==l.selectedSite.lm2&&!l.selectedSite.ccp2),n(t,53,0,void 0!==l.selectedSite&&1==l.selectedSite.ckch&&!l.selectedSite.ccp2),n(t,56,0,void 0!==l.selectedSite&&0==l.selectedSite.lm2&&0==l.selectedSite.ckch),n(t,67,0,l.transferring),n(t,72,0,void 0!==l.selectedSite&&1==l.selectedSite.lm2&&!l.selectedSite.ccp2),n(t,83,0,!l.view_reports||void 0==l.selectedSite||0!==l.selectedSite.ckch||!l.selectedSite.ccp2||0==l.ccpstats.length),n(t,86,0,l.view_reports&&void 0!==l.selectedSite&&0==l.selectedSite.ckch&&l.selectedSite.ccp2&&l.ccpstats.length>0),n(t,93,0,void 0!==l.selectedSite),n(t,98,0,void 0!==l.selectedSite&&l.selectedSite.ccp2),n(t,101,0,void 0!==l.selectedSite&&8942394==l.selectedSite.lmcn),n(t,104,0,void 0!==l.selectedSite&&l.selectedSite.ccp2),n(t,107,0,void 0!==l.selectedSite&&l.selectedSite.ccp2&&void 0!==l.scheduletimes&&void 0!==l.allItems&&l.allItems.length>0&&void 0!==l.menudates&&l.menudates.length>0);n(t,110,0,n(t,112,0,n(t,111,0,!1)),l.loadingActions,"modal");n(t,117,0,n(t,119,0,n(t,118,0,!1)),l.confirmActions,"modal"),n(t,120,0,l.confirm_what);n(t,124,0,l.contentsActions,"modal"),n(t,125,0,l.trustedcurl);n(t,129,0,l.visualizeActions,"modal"),n(t,130,0,l.trustedurl),n(t,134,0,!l.selectedSite),n(t,137,0,void 0==l.selectedSite||!l.selectedSite.ccp2&&0==l.selectedSite.lm2&&0==l.selectedSite.ckch),n(t,140,0,l.view_reports&&void 0!==l.selectedSite&&1==l.selectedSite.ckch),n(t,143,0,l.view_reports&&void 0!==l.selectedSite&&0==l.selectedSite.ckch&&l.selectedSite.ccp2),n(t,146,0,!l.view_reports&&void 0!==l.selectedSite&&(l.selectedSite.ccp2||1==l.selectedSite.lm2||1==l.selectedSite.ckch))},null)}function on(n){return rn.ɵvid(0,[(n()(),rn.ɵeld(0,0,null,null,1,"my-items",[],null,null,null,un,t.RenderType_ItemsComponent)),rn.ɵdid(1,245760,null,0,Fn.ItemsComponent,[cn.Router,Nn.ItemService,Hn.StationService,pn.UserService,Wn.DomSanitizer,Kn.Http],null,null)],function(n,t){n(t,1,0)},null)}Object.defineProperty(t,"__esModule",{value:!0});var rn=l(3),sn=l(12),an=l(803),dn=l(322),cn=l(43),pn=l(5),hn=l(805),fn=l(23),gn=l(323),mn=l(806),vn=l(324),Cn=l(807),yn=l(325),bn=l(113),wn=l(809),Sn=l(326),_n=l(818),xn=l(330),In=l(117),En=l(820),Rn=l(331),On=l(118),An=l(823),Mn=l(341),Nn=l(89),Tn=l(20),Pn=l(168),kn=l(68),Dn=l(169),Vn=l(837),Fn=l(343),Un=l(839),Ln=l(344),jn=l(840),zn=l(345),qn=l(841),Gn=l(346),Bn=l(842),$n=l(347),Hn=l(69),Wn=l(34),Kn=l(15),Yn=[];t.RenderType_ItemsComponent=rn.ɵcrt({encapsulation:2,styles:Yn,data:{}}),t.View_ItemsComponent_0=un,t.View_ItemsComponent_Host_0=on,t.ItemsComponentNgFactory=rn.ɵccf("my-items",Fn.ItemsComponent,on,{},{},[])},803:function(n,t,l){"use strict";function e(n){return d.ɵvid(0,[(n()(),d.ɵeld(0,0,null,null,19,"li",[],[[2,"selected",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.select(n.context.$implicit)&&e}return e},null,null)),(n()(),d.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),d.ɵeld(2,0,null,null,1,"span",[["class","col s2 truncate"]],[[8,"innerHTML",1]],null,null,null,null)),d.ɵppd(3,2),(n()(),d.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),d.ɵeld(5,0,null,null,1,"span",[["class","col s2 truncate"]],[[8,"innerHTML",1]],null,null,null,null)),d.ɵppd(6,2),(n()(),d.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),d.ɵeld(8,0,null,null,1,"span",[["class","col s2 truncate"]],[[8,"innerHTML",1]],null,null,null,null)),d.ɵppd(9,2),(n()(),d.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),d.ɵeld(11,0,null,null,1,"span",[["class","col s2 truncate"]],[[8,"innerHTML",1]],null,null,null,null)),d.ɵppd(12,2),(n()(),d.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),d.ɵeld(14,0,null,null,1,"span",[["class","col s2 truncate"]],[[8,"innerHTML",1]],null,null,null,null)),d.ɵppd(15,2),(n()(),d.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),d.ɵeld(17,0,null,null,1,"span",[["class","col s2 truncate"]],[[8,"innerHTML",1]],null,null,null,null)),d.ɵppd(18,2),(n()(),d.ɵted(-1,null,["\n\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,t.context.$implicit===l.selectedSite),n(t,2,0,d.ɵunv(t,2,0,n(t,3,0,d.ɵnov(t.parent.parent.parent,0),t.context.$implicit.name,l.query))),n(t,5,0,d.ɵunv(t,5,0,n(t,6,0,d.ɵnov(t.parent.parent.parent,0),t.context.$implicit.parent1,l.query))),n(t,8,0,d.ɵunv(t,8,0,n(t,9,0,d.ɵnov(t.parent.parent.parent,0),t.context.$implicit.parent2,l.query))),n(t,11,0,d.ɵunv(t,11,0,n(t,12,0,d.ɵnov(t.parent.parent.parent,0),t.context.$implicit.parent3,l.query))),n(t,14,0,d.ɵunv(t,14,0,n(t,15,0,d.ɵnov(t.parent.parent.parent,0),t.context.$implicit.parent4,l.query))),n(t,17,0,d.ɵunv(t,17,0,n(t,18,0,d.ɵnov(t.parent.parent.parent,0),t.context.$implicit.parent5,l.query)))})}function i(n){return d.ɵvid(0,[(n()(),d.ɵeld(0,0,null,null,4,"ul",[["class","autocomplete-content dropdown-content hide-on-med-and-down"],["id","sitelist"],["style","width: calc(100% - 4rem);"]],null,null,null,null,null)),(n()(),d.ɵted(-1,null,["\n\t\t\t"])),(n()(),d.ɵand(16777216,null,null,1,null,e)),d.ɵdid(3,802816,null,0,c.NgForOf,[d.ViewContainerRef,d.TemplateRef,d.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),d.ɵted(-1,null,["\n\t\t"]))],function(n,t){n(t,3,0,t.component.filteredList)},null)}function u(n){return d.ɵvid(0,[(n()(),d.ɵeld(0,0,null,null,4,"li",[],[[2,"selected",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.select(n.context.$implicit)&&e}return e},null,null)),(n()(),d.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),d.ɵeld(2,0,null,null,1,"span",[["class","col s12 truncate"],["style","font-size: smaller;"]],[[8,"innerHTML",1]],null,null,null,null)),d.ɵppd(3,2),(n()(),d.ɵted(-1,null,["\n\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,t.context.$implicit===l.selectedSite),n(t,2,0,d.ɵunv(t,2,0,n(t,3,0,d.ɵnov(t.parent.parent.parent,0),t.context.$implicit.name+".."+t.context.$implicit.parent1+".."+t.context.$implicit.parent2+".."+t.context.$implicit.parent3+".."+t.context.$implicit.parent4+".."+t.context.$implicit.parent5,l.query)))})}function o(n){return d.ɵvid(0,[(n()(),d.ɵeld(0,0,null,null,4,"ul",[["class","autocomplete-content dropdown-content hide-on-large-only"],["id","sitelist"]],null,null,null,null,null)),(n()(),d.ɵted(-1,null,["\n\t\t\t"])),(n()(),d.ɵand(16777216,null,null,1,null,u)),d.ɵdid(3,802816,null,0,c.NgForOf,[d.ViewContainerRef,d.TemplateRef,d.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),d.ɵted(-1,null,["\n\t\t"]))],function(n,t){n(t,3,0,t.component.filteredList)},null)}function r(n){return d.ɵvid(0,[(n()(),d.ɵeld(0,0,null,null,23,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),d.ɵted(-1,null,["\n\t"])),(n()(),d.ɵeld(2,0,null,null,20,"div",[["class","input-field col s12"],["style","margin-top: 0.5rem !important;"]],null,null,null,null,null)),(n()(),d.ɵted(-1,null,["\n\t\t"])),(n()(),d.ɵeld(4,0,null,null,1,"i",[["class","material-icons prefix"]],null,null,null,null,null)),(n()(),d.ɵted(-1,null,["search"])),(n()(),d.ɵted(-1,null,["\n\t\t"])),(n()(),d.ɵeld(7,0,null,null,5,"input",[["class","filter-input"],["id","change-site"],["style","margin-bottom: 0px;"],["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]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==d.ɵnov(n,8)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==d.ɵnov(n,8).onTouched()&&e}if("compositionstart"===t){e=!1!==d.ɵnov(n,8)._compositionStart()&&e}if("compositionend"===t){e=!1!==d.ɵnov(n,8)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.query=l)&&e}if("keyup"===t){e=!1!==i.filter(l)&&e}return e},null,null)),d.ɵdid(8,16384,null,0,p.DefaultValueAccessor,[d.Renderer2,d.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),d.ɵprd(1024,null,p.NG_VALUE_ACCESSOR,function(n){return[n]},[p.DefaultValueAccessor]),d.ɵdid(10,671744,null,0,p.NgModel,[[8,null],[8,null],[8,null],[2,p.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),d.ɵprd(2048,null,p.NgControl,null,[p.NgModel]),d.ɵdid(12,16384,null,0,p.NgControlStatus,[p.NgControl],null,null),(n()(),d.ɵted(-1,null,["\n\t\t"])),(n()(),d.ɵeld(14,0,null,null,1,"label",[["for","change-site"]],null,null,null,null,null)),(n()(),d.ɵted(-1,null,["Change Site"])),(n()(),d.ɵted(-1,null,["\n\t\t"])),(n()(),d.ɵand(16777216,null,null,1,null,i)),d.ɵdid(18,16384,null,0,c.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),d.ɵted(-1,null,["\n\t\t"])),(n()(),d.ɵand(16777216,null,null,1,null,o)),d.ɵdid(21,16384,null,0,c.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),d.ɵted(-1,null,["\n\t"])),(n()(),d.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,10,0,l.query),n(t,18,0,l.filteredList.length>0),n(t,21,0,l.filteredList.length>0)},function(n,t){n(t,7,0,d.ɵnov(t,12).ngClassUntouched,d.ɵnov(t,12).ngClassTouched,d.ɵnov(t,12).ngClassPristine,d.ɵnov(t,12).ngClassDirty,d.ɵnov(t,12).ngClassValid,d.ɵnov(t,12).ngClassInvalid,d.ɵnov(t,12).ngClassPending)})}function s(n){return d.ɵvid(0,[d.ɵpid(0,h.HighlightSearchTermsPipe,[]),(n()(),d.ɵand(16777216,null,null,1,null,r)),d.ɵdid(2,16384,null,0,c.NgIf,[d.ViewContainerRef,d.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),d.ɵted(-1,null,["\n"]))],function(n,t){n(t,2,0,t.component.sites.length>1)},null)}function a(n){return d.ɵvid(0,[(n()(),d.ɵeld(0,0,null,null,1,"change-site",[],null,[["document","click"]],function(n,t,l){var e=!0;if("document:click"===t){e=!1!==d.ɵnov(n,1).handleClick(l)&&e}return e},s,t.RenderType_ChangeSiteComponent)),d.ɵdid(1,114688,null,0,f.ChangeSiteComponent,[d.ElementRef,g.Router,m.UserService],null,null)],function(n,t){n(t,1,0)},null)}Object.defineProperty(t,"__esModule",{value:!0});var d=l(3),c=l(12),p=l(20),h=l(804),f=l(322),g=l(43),m=l(5),v=[];t.RenderType_ChangeSiteComponent=d.ɵcrt({encapsulation:2,styles:v,data:{}}),t.View_ChangeSiteComponent_0=s,t.View_ChangeSiteComponent_Host_0=a,t.ChangeSiteComponentNgFactory=d.ɵccf("change-site",f.ChangeSiteComponent,a,{},{onChangeSite:"onChangeSite"},[])},804:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n.prototype.transform=function(n,t){var l=t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),e=new RegExp(l,"gi");return n.replace(e,function(n){return''+n+""})},n}();t.HighlightSearchTermsPipe=e},805:function(n,t,l){"use strict";function e(n){return r.ɵvid(0,[(n()(),r.ɵeld(0,0,null,null,3,"option",[],null,null,null,null,null)),r.ɵdid(1,147456,null,0,s.NgSelectOption,[r.ElementRef,r.Renderer2,[2,s.SelectControlValueAccessor]],{value:[0,"value"]},null),r.ɵdid(2,147456,null,0,s.ɵq,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),r.ɵted(3,null,["[GMT ","] ",""]))],function(n,t){n(t,1,0,t.context.$implicit.id),n(t,2,0,t.context.$implicit.id)},function(n,t){n(t,3,0,t.context.$implicit.name,t.context.$implicit.id)})}function i(n){return r.ɵvid(0,[(n()(),r.ɵeld(0,0,null,null,78,"div",[["class","row"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(2,0,null,null,12,"div",[["class","input-field col s3"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(4,0,null,null,6,"input",[["id","lmcn"],["name","lmcn"],["placeholder","894xxxx"],["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]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,5)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,5).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,5)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,5)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==r.ɵnov(n,6).onChange(l.target.value)&&e}if("input"===t){e=!1!==r.ɵnov(n,6).onChange(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,6).onTouched()&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.site.lmcn=l)&&e}return e},null,null)),r.ɵdid(5,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵdid(6,16384,null,0,s.ɵbc,[r.Renderer2,r.ElementRef],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[s.DefaultValueAccessor,s.ɵbc]),r.ɵdid(8,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(10,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(12,0,null,null,1,"label",[["class","active"],["for","lmcn"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Customer Number (894xxxx)"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(16,0,null,null,12,"div",[["class","input-field col s3"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(18,0,null,null,6,"input",[["id","cafe"],["name","cafe"],["placeholder","1"],["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]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,19)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,19).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,19)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,19)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==r.ɵnov(n,20).onChange(l.target.value)&&e}if("input"===t){e=!1!==r.ɵnov(n,20).onChange(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,20).onTouched()&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.site.cafe=l)&&e}return e},null,null)),r.ɵdid(19,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵdid(20,16384,null,0,s.ɵbc,[r.Renderer2,r.ElementRef],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[s.DefaultValueAccessor,s.ɵbc]),r.ɵdid(22,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(24,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(26,0,null,null,1,"label",[["class","active"],["for","Cafe"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["LM Store Number"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(30,0,null,null,20,"div",[["class","switch col s3"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(32,0,null,null,15,"div",[["class","switch"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵeld(34,0,null,null,10,"label",[["style","margin-left: 0;"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\tHide\n\t\t\t\t\t\t\t"])),(n()(),r.ɵeld(36,0,null,null,5,"input",[["id","snt"],["name","snt"],["placeholder",""],["type","checkbox"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==r.ɵnov(n,37).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==r.ɵnov(n,37).onTouched()&&e}if("ngModelChange"===t){e=!1!==(i.site.snt=l)&&e}return e},null,null)),r.ɵdid(37,16384,null,0,s.CheckboxControlValueAccessor,[r.Renderer2,r.ElementRef],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.CheckboxControlValueAccessor]),r.ɵdid(39,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(41,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),r.ɵeld(43,0,null,null,0,"span",[["class","lever"],["style","top: 0px;"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t\tShow Product Label Settings\n\t\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵeld(46,0,null,null,0,"label",[["class","active"],["for","snt"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(49,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(52,0,null,null,12,"div",[["class","input-field col s1"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(54,0,null,null,6,"input",[["id","gateway_sid"],["name","gateway_sid"],["placeholder","1"],["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]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,55)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,55).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,55)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,55)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==r.ɵnov(n,56).onChange(l.target.value)&&e}if("input"===t){e=!1!==r.ɵnov(n,56).onChange(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,56).onTouched()&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.site.gateway_sid=l)&&e}return e},null,null)),r.ɵdid(55,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵdid(56,16384,null,0,s.ɵbc,[r.Renderer2,r.ElementRef],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[s.DefaultValueAccessor,s.ɵbc]),r.ɵdid(58,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(60,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(62,0,null,null,1,"label",[["class","active"],["for","gateway_sid"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["TM2 Gateway SID"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n "])),(n()(),r.ɵeld(66,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n "])),(n()(),r.ɵeld(68,0,null,null,5,"input",[["name","gateway"],["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]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,69)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,69).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,69)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,69)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.site.gateway=l)&&e}return e},null,null)),r.ɵdid(69,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.DefaultValueAccessor]),r.ɵdid(71,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(73,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n "])),(n()(),r.ɵeld(75,0,null,null,1,"label",[["class","active"],["for","gateway"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["TM2 Gateway"])),(n()(),r.ɵted(-1,null,["\n "])),(n()(),r.ɵted(-1,null,["\n\t\t\t"]))],function(n,t){var l=t.component;n(t,8,0,"lmcn",l.site.lmcn);n(t,22,0,"cafe",l.site.cafe);n(t,39,0,"snt",l.site.snt);n(t,58,0,"gateway_sid",l.site.gateway_sid);n(t,71,0,"gateway",l.site.gateway)},function(n,t){var l=t.component;n(t,4,0,r.ɵnov(t,10).ngClassUntouched,r.ɵnov(t,10).ngClassTouched,r.ɵnov(t,10).ngClassPristine,r.ɵnov(t,10).ngClassDirty,r.ɵnov(t,10).ngClassValid,r.ɵnov(t,10).ngClassInvalid,r.ɵnov(t,10).ngClassPending),n(t,18,0,r.ɵnov(t,24).ngClassUntouched,r.ɵnov(t,24).ngClassTouched,r.ɵnov(t,24).ngClassPristine,r.ɵnov(t,24).ngClassDirty,r.ɵnov(t,24).ngClassValid,r.ɵnov(t,24).ngClassInvalid,r.ɵnov(t,24).ngClassPending),n(t,36,0,0==l.canEdit,r.ɵnov(t,41).ngClassUntouched,r.ɵnov(t,41).ngClassTouched,r.ɵnov(t,41).ngClassPristine,r.ɵnov(t,41).ngClassDirty,r.ɵnov(t,41).ngClassValid,r.ɵnov(t,41).ngClassInvalid,r.ɵnov(t,41).ngClassPending),n(t,54,0,r.ɵnov(t,60).ngClassUntouched,r.ɵnov(t,60).ngClassTouched,r.ɵnov(t,60).ngClassPristine,r.ɵnov(t,60).ngClassDirty,r.ɵnov(t,60).ngClassValid,r.ɵnov(t,60).ngClassInvalid,r.ɵnov(t,60).ngClassPending),n(t,68,0,r.ɵnov(t,73).ngClassUntouched,r.ɵnov(t,73).ngClassTouched,r.ɵnov(t,73).ngClassPristine,r.ɵnov(t,73).ngClassDirty,r.ɵnov(t,73).ngClassValid,r.ɵnov(t,73).ngClassInvalid,r.ɵnov(t,73).ngClassPending)})}function u(n){return r.ɵvid(0,[(n()(),r.ɵeld(0,0,null,null,114,"div",[["class","modal-content"],["style","padding:30px;"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t"])),(n()(),r.ɵeld(2,0,null,null,2,"button",[["class","btn-flat"],["style","position:absolute;top:0;right:0;"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancel()&&e}return e},null,null)),(n()(),r.ɵeld(3,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["clear"])),(n()(),r.ɵted(-1,null,["\n\t"])),(n()(),r.ɵeld(6,0,null,null,107,"div",[["class","card white"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t"])),(n()(),r.ɵeld(8,0,null,null,95,"div",[["class","card-content blue-text text-darken-4"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵeld(10,0,null,null,42,"div",[["class","row"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(12,0,null,null,11,"div",[["class","input-field col s6"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(14,0,null,null,5,"input",[["class","validate"],["id","sitename"],["name","sitename"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,15)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,15).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,15)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,15)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.site.name=l)&&e}return e},null,null)),r.ɵdid(15,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.DefaultValueAccessor]),r.ɵdid(17,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(19,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(21,0,null,null,1,"label",[["class","active"],["for","sitename"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Site Name"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(25,0,null,null,26,"div",[["class","input-field col s6 m4 l3"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(27,0,null,null,1,"label",[["class","active"],["for","degrees"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Degrees in"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(30,0,null,null,6,"input",[["id","degreesc"],["name","degrees"],["type","radio"]],[[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,31)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,31).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,31)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,31)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==r.ɵnov(n,32).onChange()&&e}if("blur"===t){e=!1!==r.ɵnov(n,32).onTouched()&&e}if("ngModelChange"===t){e=!1!==(i.site.degrees=l)&&e}return e},null,null)),r.ɵdid(31,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵdid(32,212992,null,0,s.RadioControlValueAccessor,[r.Renderer2,r.ElementRef,s.ɵi,r.Injector],{name:[0,"name"],value:[1,"value"]},null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[s.DefaultValueAccessor,s.RadioControlValueAccessor]),r.ɵdid(34,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(36,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(38,0,null,null,1,"label",[["for","degreesc"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Celcius"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(41,0,null,null,6,"input",[["id","degreesf"],["name","degrees"],["type","radio"]],[[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,42)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,42).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,42)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,42)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==r.ɵnov(n,43).onChange()&&e}if("blur"===t){e=!1!==r.ɵnov(n,43).onTouched()&&e}if("ngModelChange"===t){e=!1!==(i.site.degrees=l)&&e}return e},null,null)),r.ɵdid(42,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵdid(43,212992,null,0,s.RadioControlValueAccessor,[r.Renderer2,r.ElementRef,s.ɵi,r.Injector],{name:[0,"name"],value:[1,"value"]},null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[s.DefaultValueAccessor,s.RadioControlValueAccessor]),r.ɵdid(45,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(47,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(49,0,null,null,1,"label",[["class","right"],["for","degreesf"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Fahrenheit"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵeld(54,0,null,null,45,"div",[["class","row"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(56,0,null,null,16,"div",[["class","input-field col s6"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(58,0,null,null,10,"select",[["id","sitetzid"],["materialize","material_select"],["name","sitetzid"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==r.ɵnov(n,59).onChange(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,59).onTouched()&&e}if("ngModelChange"===t){e=!1!==(i.site.tzID=l)&&e}return e},null,null)),r.ɵdid(59,16384,null,0,s.SelectControlValueAccessor,[r.Renderer2,r.ElementRef],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.SelectControlValueAccessor]),r.ɵdid(61,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(63,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),r.ɵdid(64,5128192,null,0,d.MaterializeDirective,[r.ElementRef],{materialize:[0,"materialize"],ngModel:[1,"ngModel"]},null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),r.ɵand(16777216,null,null,1,null,e)),r.ɵdid(67,802816,null,0,c.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(70,0,null,null,1,"label",[["for","sitetzid"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Timezone"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(74,0,null,null,11,"div",[["class","input-field col s3"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(76,0,null,null,5,"input",[["id","start"],["name","start"],["placeholder","HH:MM"],["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]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,77)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,77).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,77)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,77)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.site.start=l)&&e}return e},null,null)),r.ɵdid(77,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.DefaultValueAccessor]),r.ɵdid(79,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(81,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(83,0,null,null,1,"label",[["class","active"],["for","start"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Store Open"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵeld(87,0,null,null,11,"div",[["class","input-field col s3"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(89,0,null,null,5,"input",[["id","end"],["name","end"],["placeholder","HH:MM"],["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]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==r.ɵnov(n,90)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==r.ɵnov(n,90).onTouched()&&e}if("compositionstart"===t){e=!1!==r.ɵnov(n,90)._compositionStart()&&e}if("compositionend"===t){e=!1!==r.ɵnov(n,90)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.site.end=l)&&e}return e},null,null)),r.ɵdid(90,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r.ɵprd(1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.DefaultValueAccessor]),r.ɵdid(92,671744,null,0,s.NgModel,[[8,null],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ɵprd(2048,null,s.NgControl,null,[s.NgModel]),r.ɵdid(94,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),r.ɵeld(96,0,null,null,1,"label",[["class","active"],["for","end"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["Store Close"])),(n()(),r.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵand(16777216,null,null,1,null,i)),r.ɵdid(102,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),r.ɵted(-1,null,["\n\t\t"])),(n()(),r.ɵted(-1,null,["\n\t\t"])),(n()(),r.ɵeld(105,0,null,null,7,"div",[["class","card-action right-align"]],null,null,null,null,null)),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵeld(107,0,null,null,1,"button",[["class","btn grey darken-2"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancel()&&e}return e},null,null)),(n()(),r.ɵted(-1,null,["Close"])),(n()(),r.ɵted(-1,null,["\n\t\t\t"])),(n()(),r.ɵeld(110,0,null,null,1,"button",[["class","btn green"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.save()&&e}return e},null,null)),(n()(),r.ɵted(-1,null,["Save"])),(n()(),r.ɵted(-1,null,["\n\t\t"])),(n()(),r.ɵted(-1,null,["\n\t"])),(n()(),r.ɵted(-1,null,["\n"])),(n()(),r.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,17,0,"sitename",l.site.name);n(t,32,0,"degrees",1);n(t,34,0,"degrees",l.site.degrees);n(t,43,0,"degrees",0);n(t,45,0,"degrees",l.site.degrees);n(t,61,0,"sitetzid",l.site.tzID);n(t,64,0,"material_select",l.site.tzID),n(t,67,0,l.timezones);n(t,79,0,"start",l.site.start);n(t,92,0,"end",l.site.end),n(t,102,0,0==l.user.user_level)},function(n,t){n(t,14,0,r.ɵnov(t,19).ngClassUntouched,r.ɵnov(t,19).ngClassTouched,r.ɵnov(t,19).ngClassPristine,r.ɵnov(t,19).ngClassDirty,r.ɵnov(t,19).ngClassValid,r.ɵnov(t,19).ngClassInvalid,r.ɵnov(t,19).ngClassPending),n(t,30,0,r.ɵnov(t,36).ngClassUntouched,r.ɵnov(t,36).ngClassTouched,r.ɵnov(t,36).ngClassPristine,r.ɵnov(t,36).ngClassDirty,r.ɵnov(t,36).ngClassValid,r.ɵnov(t,36).ngClassInvalid,r.ɵnov(t,36).ngClassPending),n(t,41,0,r.ɵnov(t,47).ngClassUntouched,r.ɵnov(t,47).ngClassTouched,r.ɵnov(t,47).ngClassPristine,r.ɵnov(t,47).ngClassDirty,r.ɵnov(t,47).ngClassValid,r.ɵnov(t,47).ngClassInvalid,r.ɵnov(t,47).ngClassPending),n(t,58,0,r.ɵnov(t,63).ngClassUntouched,r.ɵnov(t,63).ngClassTouched,r.ɵnov(t,63).ngClassPristine,r.ɵnov(t,63).ngClassDirty,r.ɵnov(t,63).ngClassValid,r.ɵnov(t,63).ngClassInvalid,r.ɵnov(t,63).ngClassPending),n(t,76,0,r.ɵnov(t,81).ngClassUntouched,r.ɵnov(t,81).ngClassTouched,r.ɵnov(t,81).ngClassPristine,r.ɵnov(t,81).ngClassDirty,r.ɵnov(t,81).ngClassValid,r.ɵnov(t,81).ngClassInvalid,r.ɵnov(t,81).ngClassPending),n(t,89,0,r.ɵnov(t,94).ngClassUntouched,r.ɵnov(t,94).ngClassTouched,r.ɵnov(t,94).ngClassPristine,r.ɵnov(t,94).ngClassDirty,r.ɵnov(t,94).ngClassValid,r.ɵnov(t,94).ngClassInvalid,r.ɵnov(t,94).ngClassPending)})}function o(n){return r.ɵvid(0,[(n()(),r.ɵeld(0,0,null,null,1,"my-settings",[],null,null,null,u,t.RenderType_SettingsComponent)),r.ɵdid(1,49152,null,0,a.SettingsComponent,[],null,null)],null,null)}Object.defineProperty(t,"__esModule",{value:!0});var r=l(3),s=l(20),a=l(323),d=l(23),c=l(12),p=[];t.RenderType_SettingsComponent=r.ɵcrt({encapsulation:2,styles:p,data:{}}),t.View_SettingsComponent_0=u,t.View_SettingsComponent_Host_0=o,t.SettingsComponentNgFactory=r.ɵccf("my-settings",a.SettingsComponent,o,{site:"site",timezones:"timezones"},{onSaveSite:"onSaveSite",onCloseSettings:"onCloseSettings"},[])},806:function(n,t,l){"use strict";function e(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,70,"div",[["class","row"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵeld(2,0,null,null,11,"div",[["class","input-field col s4"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(4,0,null,null,5,"input",[["id","store"],["name","store"],["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]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==o.ɵnov(n,5)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,5).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,5)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,5)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.store=l)&&e}return e},null,null)),o.ɵdid(5,16384,null,0,r.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,r.NG_VALUE_ACCESSOR,function(n){return[n]},[r.DefaultValueAccessor]),o.ɵdid(7,671744,null,0,r.NgModel,[[8,null],[8,null],[8,null],[2,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,r.NgControl,null,[r.NgModel]),o.ɵdid(9,16384,null,0,r.NgControlStatus,[r.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(11,0,null,null,1,"label",[["class","active"],["for","store"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Restaurant Number"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵeld(15,0,null,null,12,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(17,0,null,null,6,"input",[["type","number"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==o.ɵnov(n,18)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,18).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,18)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,18)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==o.ɵnov(n,19).onChange(l.target.value)&&e}if("input"===t){e=!1!==o.ɵnov(n,19).onChange(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,19).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.content_cfg[0]=l)&&e}return e},null,null)),o.ɵdid(18,16384,null,0,r.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),o.ɵdid(19,16384,null,0,r.ɵbc,[o.Renderer2,o.ElementRef],null,null),o.ɵprd(1024,null,r.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[r.DefaultValueAccessor,r.ɵbc]),o.ɵdid(21,671744,null,0,r.NgModel,[[8,null],[8,null],[8,null],[2,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,r.NgControl,null,[r.NgModel]),o.ɵdid(23,16384,null,0,r.NgControlStatus,[r.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(25,0,null,null,1,"label",[["class","active"],["for","degreesc"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Back Line BL"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵeld(29,0,null,null,12,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(31,0,null,null,6,"input",[["type","number"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==o.ɵnov(n,32)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,32).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,32)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,32)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==o.ɵnov(n,33).onChange(l.target.value)&&e}if("input"===t){e=!1!==o.ɵnov(n,33).onChange(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,33).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.content_cfg[1]=l)&&e}return e},null,null)),o.ɵdid(32,16384,null,0,r.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),o.ɵdid(33,16384,null,0,r.ɵbc,[o.Renderer2,o.ElementRef],null,null),o.ɵprd(1024,null,r.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[r.DefaultValueAccessor,r.ɵbc]),o.ɵdid(35,671744,null,0,r.NgModel,[[8,null],[8,null],[8,null],[2,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,r.NgControl,null,[r.NgModel]),o.ɵdid(37,16384,null,0,r.NgControlStatus,[r.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(39,0,null,null,1,"label",[["class","active"],["for","degreesc"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Prep Board PB"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵeld(43,0,null,null,12,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(45,0,null,null,6,"input",[["type","number"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==o.ɵnov(n,46)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,46).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,46)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,46)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==o.ɵnov(n,47).onChange(l.target.value)&&e}if("input"===t){e=!1!==o.ɵnov(n,47).onChange(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,47).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.content_cfg[2]=l)&&e}return e},null,null)),o.ɵdid(46,16384,null,0,r.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),o.ɵdid(47,16384,null,0,r.ɵbc,[o.Renderer2,o.ElementRef],null,null),o.ɵprd(1024,null,r.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[r.DefaultValueAccessor,r.ɵbc]),o.ɵdid(49,671744,null,0,r.NgModel,[[8,null],[8,null],[8,null],[2,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,r.NgControl,null,[r.NgModel]),o.ɵdid(51,16384,null,0,r.NgControlStatus,[r.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(53,0,null,null,1,"label",[["class","active"],["for","degreesc"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Prep Station PS"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵeld(57,0,null,null,12,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(59,0,null,null,6,"input",[["type","number"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==o.ɵnov(n,60)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,60).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,60)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,60)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==o.ɵnov(n,61).onChange(l.target.value)&&e}if("input"===t){e=!1!==o.ɵnov(n,61).onChange(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,61).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.content_cfg[3]=l)&&e}return e},null,null)),o.ɵdid(60,16384,null,0,r.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),o.ɵdid(61,16384,null,0,r.ɵbc,[o.Renderer2,o.ElementRef],null,null),o.ɵprd(1024,null,r.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[r.DefaultValueAccessor,r.ɵbc]),o.ɵdid(63,671744,null,0,r.NgModel,[[8,null],[8,null],[8,null],[2,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,r.NgControl,null,[r.NgModel]),o.ɵdid(65,16384,null,0,r.NgControlStatus,[r.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),o.ɵeld(67,0,null,null,1,"label",[["class","active"],["for","degreesc"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Prep Printer PP"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t\t"]))],function(n,t){n(t,7,0,"store",t.context.$implicit.store),n(t,21,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.store,"-1"),t.context.$implicit.content_cfg[0]),n(t,35,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.store,"-2"),t.context.$implicit.content_cfg[1]),n(t,49,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.store,"-3"),t.context.$implicit.content_cfg[2]),n(t,63,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.store,"-4"),t.context.$implicit.content_cfg[3])},function(n,t){n(t,4,0,o.ɵnov(t,9).ngClassUntouched,o.ɵnov(t,9).ngClassTouched,o.ɵnov(t,9).ngClassPristine,o.ɵnov(t,9).ngClassDirty,o.ɵnov(t,9).ngClassValid,o.ɵnov(t,9).ngClassInvalid,o.ɵnov(t,9).ngClassPending),n(t,17,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.store,"-1"),o.ɵnov(t,23).ngClassUntouched,o.ɵnov(t,23).ngClassTouched,o.ɵnov(t,23).ngClassPristine,o.ɵnov(t,23).ngClassDirty,o.ɵnov(t,23).ngClassValid,o.ɵnov(t,23).ngClassInvalid,o.ɵnov(t,23).ngClassPending),n(t,31,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.store,"-2"),o.ɵnov(t,37).ngClassUntouched,o.ɵnov(t,37).ngClassTouched,o.ɵnov(t,37).ngClassPristine,o.ɵnov(t,37).ngClassDirty,o.ɵnov(t,37).ngClassValid,o.ɵnov(t,37).ngClassInvalid,o.ɵnov(t,37).ngClassPending),n(t,45,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.store,"-3"),o.ɵnov(t,51).ngClassUntouched,o.ɵnov(t,51).ngClassTouched,o.ɵnov(t,51).ngClassPristine,o.ɵnov(t,51).ngClassDirty,o.ɵnov(t,51).ngClassValid,o.ɵnov(t,51).ngClassInvalid,o.ɵnov(t,51).ngClassPending),n(t,59,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.store,"-4"),o.ɵnov(t,65).ngClassUntouched,o.ɵnov(t,65).ngClassTouched,o.ɵnov(t,65).ngClassPristine,o.ɵnov(t,65).ngClassDirty,o.ɵnov(t,65).ngClassValid,o.ɵnov(t,65).ngClassInvalid,o.ɵnov(t,65).ngClassPending)})}function i(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,24,"div",[["class","modal-content"],["style","padding:30px;"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(2,0,null,null,2,"button",[["class","btn-flat"],["style","position:absolute;top:0;right:2rem; padding:0;"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancel()&&e}return e},null,null)),(n()(),o.ɵeld(3,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["clear"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(7,0,null,null,16,"div",[["class","card white"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(9,0,null,null,4,"div",[["class","card-content blue-text text-darken-4"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t"])),(n()(),o.ɵand(16777216,null,null,1,null,e)),o.ɵdid(12,802816,null,0,a.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(15,0,null,null,7,"div",[["class","card-action right-align"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t"])),(n()(),o.ɵeld(17,0,null,null,1,"button",[["class","btn grey darken-2"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancel()&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["Close"])),(n()(),o.ɵted(-1,null,["\n\t\t\t"])),(n()(),o.ɵeld(20,0,null,null,1,"button",[["class","btn green"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.save()&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["Save"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n"]))],function(n,t){n(t,12,0,t.component.contentCfgs)},null)}function u(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,1,"my-store-content-cfgs",[],null,null,null,i,t.RenderType_StoreContentCfgsComponent)),o.ɵdid(1,49152,null,0,s.StoreContentCfgsComponent,[],null,null)],null,null)}Object.defineProperty(t,"__esModule",{value:!0});var o=l(3),r=l(20),s=l(324),a=l(12),d=[];t.RenderType_StoreContentCfgsComponent=o.ɵcrt({encapsulation:2,styles:d,data:{}}),t.View_StoreContentCfgsComponent_0=i,t.View_StoreContentCfgsComponent_Host_0=u,t.StoreContentCfgsComponentNgFactory=o.ɵccf("my-store-content-cfgs",s.StoreContentCfgsComponent,u,{contentCfgs:"contentCfgs"},{onSaveCfgs:"onSaveCfgs",onCloseStoreContentCfgs:"onCloseStoreContentCfgs"},[])},807:function(n,t,l){"use strict";function e(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,1,"div",[["class","chip"]],[[8,"id",0]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.select({chip:l.target,id:n.context.$implicit.id,tag:n.context.$implicit.name},l)&&e}return e},null,null)),(n()(),o.ɵted(1,null,["\n\t\t\t","\n\t\t"]))],null,function(n,t){n(t,0,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.id,"")),n(t,1,0,t.context.$implicit.name)})}function i(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,94,"div",[["class","modal-content"],["style","padding:30px;"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(2,0,null,null,2,"button",[["class","btn-flat"],["style","position:absolute;top:0;right:0;"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancel()&&e}return e},null,null)),(n()(),o.ɵeld(3,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["clear"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(6,0,null,null,87,"div",[["class","card white z-depth-0"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(8,0,null,null,1,"div",[["class","card-title"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["User List"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(11,0,null,null,81,"div",[["class","card-content blue-text text-darken-4"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t"])),(n()(),o.ɵeld(13,0,null,null,78,"div",[["class","row"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵeld(15,0,null,null,75,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵeld(17,0,null,null,7,"div",[["class","chips chips-initial"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(19,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵand(16777216,null,null,1,null,e)),o.ɵdid(22,802816,null,0,s.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵeld(26,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),o.ɵeld(27,0,null,null,1,"span",[["class","blue-text text-darken-3"]],null,null,null,null,null)),(n()(),o.ɵted(28,null,["",""])),(n()(),o.ɵeld(29,0,null,null,1,"span",[["class","red-text text-darken-3"]],null,null,null,null,null)),(n()(),o.ɵted(30,null,["",""])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵeld(32,0,null,null,42,"div",[["class","row"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(34,0,null,null,13,"div",[["class","col s4"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(36,0,null,null,10,"div",[["class","chipname"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\t"])),(n()(),o.ɵeld(38,0,null,null,7,"input",[["id","eltname"],["maxlength","16"],["name","eltname"],["placeholder","Add User"],["type","text"]],[[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]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"keyup.esc"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,39)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,39).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,39)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,39)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.eltname=l)&&e}if("keyup.enter"===t){e=!1!==i.add(l.target.value)&&e}if("keyup.esc"===t){e=!1!==i.cancelEdit()&&e}return e},null,null)),o.ɵdid(39,16384,null,0,a.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,a.COMPOSITION_BUFFER_MODE]],null,null),o.ɵdid(40,540672,null,0,a.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o.ɵprd(1024,null,a.NG_VALIDATORS,function(n){return[n]},[a.MaxLengthValidator]),o.ɵprd(1024,null,a.NG_VALUE_ACCESSOR,function(n){return[n]},[a.DefaultValueAccessor]),o.ɵdid(43,671744,null,0,a.NgModel,[[8,null],[2,a.NG_VALIDATORS],[8,null],[2,a.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,a.NgControl,null,[a.NgModel]),o.ɵdid(45,16384,null,0,a.NgControlStatus,[a.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(49,0,null,null,11,"div",[["class","input-field col s4"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(51,0,null,null,5,"input",[["class","validate"],["id","initial"],["name","initial"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,52)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,52).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,52)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,52)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.initial=l)&&e}return e},null,null)),o.ɵdid(52,16384,null,0,a.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,a.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,a.NG_VALUE_ACCESSOR,function(n){return[n]},[a.DefaultValueAccessor]),o.ɵdid(54,671744,null,0,a.NgModel,[[8,null],[8,null],[8,null],[2,a.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,a.NgControl,null,[a.NgModel]),o.ɵdid(56,16384,null,0,a.NgControlStatus,[a.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(58,0,null,null,1,"label",[["class","active"],["for","initial"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Initials"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(62,0,null,null,11,"div",[["class","input-field col s4"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(64,0,null,null,5,"input",[["class","validate"],["id","code"],["name","code"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,65)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,65).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,65)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,65)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.code=l)&&e}return e},null,null)),o.ɵdid(65,16384,null,0,a.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,a.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,a.NG_VALUE_ACCESSOR,function(n){return[n]},[a.DefaultValueAccessor]),o.ɵdid(67,671744,null,0,a.NgModel,[[8,null],[8,null],[8,null],[2,a.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,a.NgControl,null,[a.NgModel]),o.ɵdid(69,16384,null,0,a.NgControlStatus,[a.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(71,0,null,null,1,"label",[["class","active"],["for","code"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Code"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵeld(76,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(78,0,null,null,10,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(80,0,null,null,1,"button",[["class","btn-flat"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.save()&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["Save"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(83,0,null,null,1,"button",[["class","btn-flat"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancelEdit()&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["Cancel"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(86,0,null,null,1,"button",[["class","btn red"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.delete(i.chipEdit)&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["DELETE"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,22,0,l.employees);n(t,40,0,"16");n(t,43,0,"eltname",l.eltname);n(t,54,0,"initial",l.initial);n(t,67,0,"code",l.code)},function(n,t){var l=t.component;n(t,28,0,l.msg_lvl),n(t,30,0,l.message),n(t,38,0,o.ɵnov(t,40).maxlength?o.ɵnov(t,40).maxlength:null,o.ɵnov(t,45).ngClassUntouched,o.ɵnov(t,45).ngClassTouched,o.ɵnov(t,45).ngClassPristine,o.ɵnov(t,45).ngClassDirty,o.ɵnov(t,45).ngClassValid,o.ɵnov(t,45).ngClassInvalid,o.ɵnov(t,45).ngClassPending),n(t,51,0,o.ɵnov(t,56).ngClassUntouched,o.ɵnov(t,56).ngClassTouched,o.ɵnov(t,56).ngClassPristine,o.ɵnov(t,56).ngClassDirty,o.ɵnov(t,56).ngClassValid,o.ɵnov(t,56).ngClassInvalid,o.ɵnov(t,56).ngClassPending),n(t,64,0,o.ɵnov(t,69).ngClassUntouched,o.ɵnov(t,69).ngClassTouched,o.ɵnov(t,69).ngClassPristine,o.ɵnov(t,69).ngClassDirty,o.ɵnov(t,69).ngClassValid,o.ɵnov(t,69).ngClassInvalid,o.ɵnov(t,69).ngClassPending),n(t,80,0,""==l.eltname),n(t,83,0,!l.chipEdit&&""==l.eltname),n(t,86,0,!l.chipEdit)})}function u(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,1,"my-user-list",[],null,null,null,i,t.RenderType_EmployeesComponent)),o.ɵdid(1,49152,null,0,r.EmployeesComponent,[d.EmployeeService],null,null)],null,null)}Object.defineProperty(t,"__esModule",{value:!0});var o=l(3),r=l(325),s=l(12),a=l(20),d=l(113),c=[];t.RenderType_EmployeesComponent=o.ɵcrt({encapsulation:2,styles:c,data:{}}),t.View_EmployeesComponent_0=i,t.View_EmployeesComponent_Host_0=u,t.EmployeesComponentNgFactory=o.ɵccf("my-user-list",r.EmployeesComponent,u,{employees:"employees"},{employeesChange:"employeesChange",onCloseUserList:"onCloseUserList"},[])},808:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n}();t.Employee=e},809:function(n,t,l){"use strict";function e(n){return u.ɵvid(0,[(n()(),u.ɵeld(0,0,null,null,51,"div",[["class","modal-content"],["style","padding:30px;"]],null,[["document","keydown"]],function(n,t,l){var e=!0,i=n.component;if("document:keydown"===t){e=!1!==i.hotkey(l)&&e}return e},null,null)),(n()(),u.ɵted(-1,null,["\n\t"])),(n()(),u.ɵeld(2,0,null,null,2,"button",[["class","btn-flat"],["style","position:absolute;top:0;right:0;"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancel()&&e}return e},null,null)),(n()(),u.ɵeld(3,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["clear"])),(n()(),u.ɵted(-1,null,["\n\t"])),(n()(),u.ɵeld(6,0,null,null,44,"div",[["class","card white z-depth-0"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["\n\t\t"])),(n()(),u.ɵeld(8,0,null,null,23,"div",[["class","card-title blue-text text-darken-4"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["\n\t\t\t"])),(n()(),u.ɵeld(10,0,null,null,20,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),u.ɵeld(12,0,null,null,17,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),u.ɵeld(14,0,null,null,14,"ul",[["class","tabs"],["materialize","tabs"]],null,null,null,null,null)),u.ɵdid(15,5128192,null,0,r.MaterializeDirective,[u.ElementRef],{materialize:[0,"materialize"]},null),(n()(),u.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),u.ɵeld(17,0,null,null,2,"li",[["class","tab col s4"]],null,null,null,null,null)),(n()(),u.ɵeld(18,0,null,null,1,"a",[["href","#schedules"],["id","schedulesTab"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["Schedules"])),(n()(),u.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),u.ɵeld(21,0,null,null,2,"li",[["class","tab col s4"]],null,null,null,null,null)),(n()(),u.ɵeld(22,0,null,null,1,"a",[["href","#menus"],["id","menusTab"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["Menus"])),(n()(),u.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),u.ɵeld(25,0,null,null,2,"li",[["class","tab col s4"]],null,null,null,null,null)),(n()(),u.ɵeld(26,0,null,null,1,"a",[["href","#menudates"],["id","menudatesTab"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["Menu Dates"])),(n()(),u.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),u.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),u.ɵted(-1,null,["\n\t\t\t"])),(n()(),u.ɵted(-1,null,["\n\t\t"])),(n()(),u.ɵted(-1,null,["\n\t\t"])),(n()(),u.ɵeld(33,0,null,null,16,"div",[["class","card-content blue-text text-darken-4"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["\n\t\t\t"])),(n()(),u.ɵeld(35,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(n()(),u.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),u.ɵeld(37,0,null,null,2,"div",[["class","col s12"],["id","schedules"]],null,null,null,null,null)),(n()(),u.ɵeld(38,0,null,null,1,"my-schedules",[],null,[[null,"schedulesChange"],[null,"onScheduleChange"]],function(n,t,l){var e=!0,i=n.component;if("schedulesChange"===t){e=!1!==(i.schedules=l)&&e}if("onScheduleChange"===t){e=!1!==i.onScheduleChange()&&e}return e},s.View_SchedulesComponent_0,s.RenderType_SchedulesComponent)),u.ɵdid(39,49152,null,0,a.SchedulesComponent,[d.ScheduleService,c.UserService],{schedules:[0,"schedules"]},{schedulesChange:"schedulesChange",onScheduleChange:"onScheduleChange"}),(n()(),u.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),u.ɵeld(41,0,null,null,2,"div",[["class","col s12"],["id","menus"]],null,null,null,null,null)),(n()(),u.ɵeld(42,0,null,null,1,"my-menus",[],null,[[null,"itemsChange"],[null,"schedulesChange"],[null,"scheduletimesChange"],[null,"menusChange"],[null,"onLoadingData"],[null,"onMenuChange"]],function(n,t,l){var e=!0,i=n.component;if("itemsChange"===t){e=!1!==(i.allItems=l)&&e}if("schedulesChange"===t){e=!1!==(i.schedules=l)&&e}if("scheduletimesChange"===t){e=!1!==(i.scheduletimes=l)&&e}if("menusChange"===t){e=!1!==(i.menus=l)&&e}if("onLoadingData"===t){e=!1!==i.onLoadingData(l)&&e}if("onMenuChange"===t){e=!1!==i.onMenuChange()&&e}return e},p.View_MenusComponent_0,p.RenderType_MenusComponent)),u.ɵdid(43,638976,null,0,h.MenusComponent,[f.MenuService,c.UserService],{items:[0,"items"],schedules:[1,"schedules"],scheduletimes:[2,"scheduletimes"],menus:[3,"menus"],selectedMenu:[4,"selectedMenu"],timecell:[5,"timecell"],timelimit:[6,"timelimit"]},{schedulesChange:"schedulesChange",menusChange:"menusChange",onMenuChange:"onMenuChange",onLoadingData:"onLoadingData"}),(n()(),u.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),u.ɵeld(45,0,null,null,2,"div",[["class","col s12"],["id","menudates"]],null,null,null,null,null)),(n()(),u.ɵeld(46,0,null,null,1,"my-menudates",[],null,[[null,"menudatesChange"],[null,"menusChange"]],function(n,t,l){var e=!0,i=n.component;if("menudatesChange"===t){e=!1!==(i.menudates=l)&&e}if("menusChange"===t){e=!1!==(i.menus=l)&&e}return e},g.View_MenuDatesComponent_0,g.RenderType_MenuDatesComponent)),u.ɵdid(47,114688,null,0,m.MenuDatesComponent,[v.MenuDateService,c.UserService],{menus:[0,"menus"],menudates:[1,"menudates"]},{menusChange:"menusChange",menudatesChange:"menudatesChange"}),(n()(),u.ɵted(-1,null,["\n\t\t\t"])),(n()(),u.ɵted(-1,null,["\n\t\t"])),(n()(),u.ɵted(-1,null,["\n\t"])),(n()(),u.ɵted(-1,null,["\n"])),(n()(),u.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,15,0,"tabs"),n(t,39,0,l.schedules),n(t,43,0,l.allItems,l.schedules,l.scheduletimes,l.menus,l.selectedMenu,l.timecell,l.timelimit),n(t,47,0,l.menus,l.menudates)},null)}function i(n){return u.ɵvid(0,[(n()(),u.ɵeld(0,0,null,null,1,"my-menu-config",[],null,null,null,e,t.RenderType_MenuConfigComponent)),u.ɵdid(1,573440,null,0,o.MenuConfigComponent,[],null,null)],null,null)}Object.defineProperty(t,"__esModule",{value:!0});var u=l(3),o=l(326),r=l(23),s=l(810),a=l(327),d=l(114),c=l(5),p=l(812),h=l(328),f=l(115),g=l(816),m=l(329),v=l(116),C=[];t.RenderType_MenuConfigComponent=u.ɵcrt({encapsulation:2,styles:C,data:{}}),t.View_MenuConfigComponent_0=e,t.View_MenuConfigComponent_Host_0=i,t.MenuConfigComponentNgFactory=u.ɵccf("my-menu-config",o.MenuConfigComponent,i,{site:"site",allItems:"allItems",viewTab:"viewTab",schedules:"schedules",scheduletimes:"scheduletimes",menudates:"menudates",menus:"menus",selectedMenu:"selectedMenu",timecell:"timecell",timelimit:"timelimit"},{allItemsChange:"allItemsChange",schedulesChange:"schedulesChange",scheduletimesChange:"scheduletimesChange",menudatesChange:"menudatesChange",menusChange:"menusChange",onCloseMenuConfig:"onCloseMenuConfig",onMenuRefresh:"onMenuRefresh",onLoading:"onLoading"},[])},810:function(n,t,l){"use strict";function e(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,1,"div",[["class","chip"]],[[8,"id",0]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.select({chip:l.target,id:n.context.$implicit.id,tag:n.context.$implicit.name},l)&&e}return e},null,null)),(n()(),o.ɵted(1,null,["\n\t\t\t","\n\t\t"]))],null,function(n,t){n(t,0,0,o.ɵinlineInterpolate(1,"",t.context.$implicit.id,"")),n(t,1,0,t.context.$implicit.name)})}function i(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,10,"div",[["class","chips chips-initial"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(2,0,null,null,7,"div",[],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(4,0,null,null,1,"div",[["class","chip"],["id","0"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.select({chip:l.target,id:0,tag:"Unscheduled"},l)&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["\n\t\t\tUnscheduled\n\t\t"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵand(16777216,null,null,1,null,e)),o.ɵdid(8,802816,null,0,s.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵeld(12,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),o.ɵeld(13,0,null,null,1,"span",[["class","blue-text text-darken-3"]],null,null,null,null,null)),(n()(),o.ɵted(14,null,["",""])),(n()(),o.ɵeld(15,0,null,null,1,"span",[["class","red-text text-darken-3"]],null,null,null,null,null)),(n()(),o.ɵted(16,null,["",""])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵeld(18,0,null,null,21,"div",[["class","row"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(20,0,null,null,6,"div",[["class","col s4"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(22,0,null,null,3,"div",[["class","chips chips-placeholder"],["materialize","material_chip"]],null,[[null,"chip.add"],[null,"keyup.esc"]],function(n,t,l){var e=!0,i=n.component;if("chip.add"===t){e=!1!==i.add(l.detail)&&e}if("keyup.esc"===t){e=!1!==i.cancelEdit()&&e}return e},null,null)),o.ɵdid(23,5128192,null,0,a.MaterializeDirective,[o.ElementRef],{materializeParams:[0,"materializeParams"],materialize:[1,"materialize"]},null),o.ɵpad(24,1),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(28,0,null,null,10,"div",[["class","col s8"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(30,0,null,null,1,"button",[["class","btn-flat"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.save()&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["Save"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(33,0,null,null,1,"button",[["class","btn-flat"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancelEdit()&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["Cancel"])),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(36,0,null,null,1,"button",[["class","btn red"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.delete(i.chipEdit)&&e}return e},null,null)),(n()(),o.ɵted(-1,null,["DELETE"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵeld(41,0,null,null,157,"div",[["class","row"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(43,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(45,0,null,null,5,"input",[["id","time1"],["name","time1"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,46)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,46).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,46)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,46)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[0]=l)&&e}return e},null,null)),o.ɵdid(46,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(48,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(50,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(52,0,null,null,1,"label",[["class","active"],["for","time1"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 1"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(56,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(58,0,null,null,5,"input",[["id","time2"],["name","time2"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,59)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,59).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,59)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,59)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[1]=l)&&e}return e},null,null)),o.ɵdid(59,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(61,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(63,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(65,0,null,null,1,"label",[["class","active"],["for","time2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 2"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(69,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(71,0,null,null,5,"input",[["id","time3"],["name","time3"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,72)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,72).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,72)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,72)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[2]=l)&&e}return e},null,null)),o.ɵdid(72,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(74,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(76,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(78,0,null,null,1,"label",[["class","active"],["for","time3"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 3"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(82,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(84,0,null,null,5,"input",[["id","time4"],["name","time4"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,85)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,85).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,85)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,85)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[3]=l)&&e}return e},null,null)),o.ɵdid(85,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(87,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(89,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(91,0,null,null,1,"label",[["class","active"],["for","time4"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 4"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(95,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(97,0,null,null,5,"input",[["id","time5"],["name","time5"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,98)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,98).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,98)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,98)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[4]=l)&&e}return e},null,null)),o.ɵdid(98,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(100,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(102,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(104,0,null,null,1,"label",[["class","active"],["for","time5"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 5"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(108,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(110,0,null,null,5,"input",[["id","time6"],["name","time6"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,111)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,111).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,111)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,111)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[5]=l)&&e}return e},null,null)),o.ɵdid(111,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(113,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(115,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(117,0,null,null,1,"label",[["class","active"],["for","time6"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 6"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(121,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(123,0,null,null,5,"input",[["id","time7"],["name","time7"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,124)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,124).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,124)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,124)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[6]=l)&&e}return e},null,null)),o.ɵdid(124,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(126,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(128,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(130,0,null,null,1,"label",[["class","active"],["for","time7"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 7"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(134,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(136,0,null,null,5,"input",[["id","time8"],["name","time8"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,137)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,137).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,137)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,137)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[7]=l)&&e}return e},null,null)),o.ɵdid(137,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(139,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(141,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(143,0,null,null,1,"label",[["class","active"],["for","time8"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 8"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(147,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(149,0,null,null,5,"input",[["id","time9"],["name","time9"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,150)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,150).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,150)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,150)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[8]=l)&&e}return e},null,null)),o.ɵdid(150,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(152,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(154,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(156,0,null,null,1,"label",[["class","active"],["for","time9"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 9"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(160,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(162,0,null,null,5,"input",[["id","time10"],["name","time10"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,163)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,163).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,163)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,163)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[9]=l)&&e}return e},null,null)),o.ɵdid(163,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(165,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(167,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(169,0,null,null,1,"label",[["class","active"],["for","time10"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 10"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(173,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(175,0,null,null,5,"input",[["id","time11"],["name","time11"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,176)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,176).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,176)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,176)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[10]=l)&&e}return e},null,null)),o.ɵdid(176,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(178,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(180,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(182,0,null,null,1,"label",[["class","active"],["for","time11"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 11"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵeld(186,0,null,null,11,"div",[["class","input-field col s2"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(188,0,null,null,5,"input",[["id","time12"],["name","time12"],["placeholder",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keyup.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==o.ɵnov(n,189)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==o.ɵnov(n,189).onTouched()&&e}if("compositionstart"===t){e=!1!==o.ɵnov(n,189)._compositionStart()&&e}if("compositionend"===t){e=!1!==o.ɵnov(n,189)._compositionEnd(l.target.value)&&e}if("keyup.enter"===t){e=!1!==i.save()&&e}if("ngModelChange"===t){e=!1!==(i.time[11]=l)&&e}return e},null,null)),o.ɵdid(189,16384,null,0,d.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,d.COMPOSITION_BUFFER_MODE]],null,null),o.ɵprd(1024,null,d.NG_VALUE_ACCESSOR,function(n){return[n]},[d.DefaultValueAccessor]),o.ɵdid(191,671744,null,0,d.NgModel,[[8,null],[8,null],[8,null],[2,d.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o.ɵprd(2048,null,d.NgControl,null,[d.NgModel]),o.ɵdid(193,16384,null,0,d.NgControlStatus,[d.NgControl],null,null),(n()(),o.ɵted(-1,null,["\n\t\t"])),(n()(),o.ɵeld(195,0,null,null,1,"label",[["class","active"],["for","time12"]],null,null,null,null,null)),(n()(),o.ɵted(-1,null,["Time 12"])),(n()(),o.ɵted(-1,null,["\n\t"])),(n()(),o.ɵted(-1,null,["\n"])),(n()(),o.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,8,0,l.schedules);n(t,23,0,n(t,24,0,l.chipsInput),"material_chip");n(t,48,0,"time1",l.time[0]);n(t,61,0,"time2",""==l.time[0],l.time[1]);n(t,74,0,"time3",""==l.time[1],l.time[2]);n(t,87,0,"time4",""==l.time[2],l.time[3]);n(t,100,0,"time5",""==l.time[3],l.time[4]);n(t,113,0,"time6",""==l.time[4],l.time[5]);n(t,126,0,"time7",""==l.time[5],l.time[6]);n(t,139,0,"time8",""==l.time[6],l.time[7]);n(t,152,0,"time9",""==l.time[7],l.time[8]);n(t,165,0,"time10",""==l.time[8],l.time[9]);n(t,178,0,"time11",""==l.time[9],l.time[10]);n(t,191,0,"time12",""==l.time[10],l.time[11])},function(n,t){var l=t.component;n(t,14,0,l.msg_lvl),n(t,16,0,l.message),n(t,33,0,!l.chipEdit||0==l.chipEdit.id),n(t,36,0,!l.chipEdit||0==l.chipEdit.id),n(t,45,0,o.ɵnov(t,50).ngClassUntouched,o.ɵnov(t,50).ngClassTouched,o.ɵnov(t,50).ngClassPristine,o.ɵnov(t,50).ngClassDirty,o.ɵnov(t,50).ngClassValid,o.ɵnov(t,50).ngClassInvalid,o.ɵnov(t,50).ngClassPending),n(t,58,0,o.ɵnov(t,63).ngClassUntouched,o.ɵnov(t,63).ngClassTouched,o.ɵnov(t,63).ngClassPristine,o.ɵnov(t,63).ngClassDirty,o.ɵnov(t,63).ngClassValid,o.ɵnov(t,63).ngClassInvalid,o.ɵnov(t,63).ngClassPending),n(t,71,0,o.ɵnov(t,76).ngClassUntouched,o.ɵnov(t,76).ngClassTouched,o.ɵnov(t,76).ngClassPristine,o.ɵnov(t,76).ngClassDirty,o.ɵnov(t,76).ngClassValid,o.ɵnov(t,76).ngClassInvalid,o.ɵnov(t,76).ngClassPending),n(t,84,0,o.ɵnov(t,89).ngClassUntouched,o.ɵnov(t,89).ngClassTouched,o.ɵnov(t,89).ngClassPristine,o.ɵnov(t,89).ngClassDirty,o.ɵnov(t,89).ngClassValid,o.ɵnov(t,89).ngClassInvalid,o.ɵnov(t,89).ngClassPending),n(t,97,0,o.ɵnov(t,102).ngClassUntouched,o.ɵnov(t,102).ngClassTouched,o.ɵnov(t,102).ngClassPristine,o.ɵnov(t,102).ngClassDirty,o.ɵnov(t,102).ngClassValid,o.ɵnov(t,102).ngClassInvalid,o.ɵnov(t,102).ngClassPending),n(t,110,0,o.ɵnov(t,115).ngClassUntouched,o.ɵnov(t,115).ngClassTouched,o.ɵnov(t,115).ngClassPristine,o.ɵnov(t,115).ngClassDirty,o.ɵnov(t,115).ngClassValid,o.ɵnov(t,115).ngClassInvalid,o.ɵnov(t,115).ngClassPending),n(t,123,0,o.ɵnov(t,128).ngClassUntouched,o.ɵnov(t,128).ngClassTouched,o.ɵnov(t,128).ngClassPristine,o.ɵnov(t,128).ngClassDirty,o.ɵnov(t,128).ngClassValid,o.ɵnov(t,128).ngClassInvalid,o.ɵnov(t,128).ngClassPending),n(t,136,0,o.ɵnov(t,141).ngClassUntouched,o.ɵnov(t,141).ngClassTouched,o.ɵnov(t,141).ngClassPristine,o.ɵnov(t,141).ngClassDirty,o.ɵnov(t,141).ngClassValid,o.ɵnov(t,141).ngClassInvalid,o.ɵnov(t,141).ngClassPending),n(t,149,0,o.ɵnov(t,154).ngClassUntouched,o.ɵnov(t,154).ngClassTouched,o.ɵnov(t,154).ngClassPristine,o.ɵnov(t,154).ngClassDirty,o.ɵnov(t,154).ngClassValid,o.ɵnov(t,154).ngClassInvalid,o.ɵnov(t,154).ngClassPending),n(t,162,0,o.ɵnov(t,167).ngClassUntouched,o.ɵnov(t,167).ngClassTouched,o.ɵnov(t,167).ngClassPristine,o.ɵnov(t,167).ngClassDirty,o.ɵnov(t,167).ngClassValid,o.ɵnov(t,167).ngClassInvalid,o.ɵnov(t,167).ngClassPending),n(t,175,0,o.ɵnov(t,180).ngClassUntouched,o.ɵnov(t,180).ngClassTouched,o.ɵnov(t,180).ngClassPristine,o.ɵnov(t,180).ngClassDirty,o.ɵnov(t,180).ngClassValid,o.ɵnov(t,180).ngClassInvalid,o.ɵnov(t,180).ngClassPending),n(t,188,0,o.ɵnov(t,193).ngClassUntouched,o.ɵnov(t,193).ngClassTouched,o.ɵnov(t,193).ngClassPristine,o.ɵnov(t,193).ngClassDirty,o.ɵnov(t,193).ngClassValid,o.ɵnov(t,193).ngClassInvalid,o.ɵnov(t,193).ngClassPending)})}function u(n){return o.ɵvid(0,[(n()(),o.ɵeld(0,0,null,null,1,"my-schedules",[],null,null,null,i,t.RenderType_SchedulesComponent)),o.ɵdid(1,49152,null,0,r.SchedulesComponent,[c.ScheduleService,p.UserService],null,null)],null,null)}Object.defineProperty(t,"__esModule",{value:!0});var o=l(3),r=l(327),s=l(12),a=l(23),d=l(20),c=l(114),p=l(5),h=[];t.RenderType_SchedulesComponent=o.ɵcrt({encapsulation:2,styles:h,data:{}}),t.View_SchedulesComponent_0=i,t.View_SchedulesComponent_Host_0=u,t.SchedulesComponentNgFactory=o.ɵccf("my-schedules",r.SchedulesComponent,u,{schedules:"schedules"},{schedulesChange:"schedulesChange",onCloseSchedule:"onCloseSchedule",onScheduleChange:"onScheduleChange"},[])},811:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n}();t.Schedule=e},812:function(n,t,l){"use strict";function e(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,1,"div",[["class","chip"]],[[8,"id",0]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.select({chip:l.target,id:n.context.$implicit.idMenu,tag:n.context.$implicit.name},l)&&e}return e},null,null)),(n()(),y.ɵted(1,null,["\n\t\t\t","\n\t\t"]))],null,function(n,t){n(t,0,0,y.ɵinlineInterpolate(1,"",t.context.$implicit.idMenu,"")),n(t,1,0,t.context.$implicit.name)})}function i(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,7,"div",[["class","chips chips-initial"],["style","min-height: 45px;"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(2,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,e)),y.ɵdid(5,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵted(-1,null,["\n"]))],function(n,t){n(t,5,0,t.component.menus)},null)}function u(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,6,"div",[["style","min-height: 45px;"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(2,0,null,null,3,"div",[["class","progress"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(4,0,null,null,0,"div",[["class","indeterminate"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵted(-1,null,["\n"]))],null,null)}function o(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,1,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),y.ɵted(1,null,["\n\t\t\t\t\t\t","\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,y.ɵinlineInterpolate(1,"col s",l.timecell,"")),n(t,1,0,t.context.$implicit.time)})}function r(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,1,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),y.ɵted(1,null,["\n\t\t\t\t\t\t","\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,y.ɵinlineInterpolate(1,"col s",l.timecell,"")),n(t,1,0,t.context.$implicit.time)})}function s(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,1,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),y.ɵted(1,null,["\n\t\t\t\t\t\t","\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,y.ɵinlineInterpolate(1,"col s",l.timecell,"")),n(t,1,0,t.context.$implicit.time)})}function a(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,1,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),y.ɵted(1,null,["\n\t\t\t\t\t\t","\n\t\t\t\t\t"]))],null,function(n,t){var l=t.component;n(t,0,0,y.ɵinlineInterpolate(1,"col s",l.timecell,"")),n(t,1,0,t.context.$implicit.time)})}function d(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,3,"option",[],null,null,null,null,null)),y.ɵdid(1,147456,null,0,w.NgSelectOption,[y.ElementRef,y.Renderer2,[2,w.SelectControlValueAccessor]],{value:[0,"value"]},null),y.ɵdid(2,147456,null,0,w.ɵq,[y.ElementRef,y.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),y.ɵted(3,null,["",""]))],function(n,t){n(t,1,0,t.context.$implicit.id),n(t,2,0,t.context.$implicit.id)},function(n,t){n(t,3,0,t.context.$implicit.name)})}function c(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,10,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),y.ɵeld(2,0,null,null,5,"input",[["class","filled-in"],["type","checkbox"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==y.ɵnov(n,3).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==y.ɵnov(n,3).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.parent.context.$implicit.readings[n.context.index].active=l)&&e}if("change"===t){e=!1!==i.oncustom(l,n.parent.context.$implicit.id)&&e}return e},null,null)),y.ɵdid(3,16384,null,0,w.CheckboxControlValueAccessor,[y.Renderer2,y.ElementRef],null,null),y.ɵprd(1024,null,w.NG_VALUE_ACCESSOR,function(n){return[n]},[w.CheckboxControlValueAccessor]),y.ɵdid(5,671744,null,0,w.NgModel,[[8,null],[8,null],[8,null],[2,w.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),y.ɵprd(2048,null,w.NgControl,null,[w.NgModel]),y.ɵdid(7,16384,null,0,w.NgControlStatus,[w.NgControl],null,null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),y.ɵeld(9,0,null,null,0,"label",[],[[8,"htmlFor",0]],null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){n(t,5,0,!t.parent.context.$implicit.onMenu,t.parent.context.$implicit.readings[t.context.index].active)},function(n,t){var l=t.component;n(t,0,0,y.ɵinlineInterpolate(1,"col s",l.timecell,"")),n(t,2,0,y.ɵinlineInterpolate(2,"",t.parent.context.$implicit.name,"-",t.context.$implicit.time,""),y.ɵnov(t,7).ngClassUntouched,y.ɵnov(t,7).ngClassTouched,y.ɵnov(t,7).ngClassPristine,y.ɵnov(t,7).ngClassDirty,y.ɵnov(t,7).ngClassValid,y.ɵnov(t,7).ngClassInvalid,y.ɵnov(t,7).ngClassPending),n(t,9,0,y.ɵinlineInterpolate(2,"",t.parent.context.$implicit.name,"-",t.context.$implicit.time,""))})}function p(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,10,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),y.ɵeld(2,0,null,null,5,"input",[["class","filled-in"],["type","checkbox"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==y.ɵnov(n,3).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==y.ɵnov(n,3).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.parent.context.$implicit.readings[n.context.index+i.timelimit].active=l)&&e}if("change"===t){e=!1!==i.oncustom(l,n.parent.context.$implicit.id)&&e}return e},null,null)),y.ɵdid(3,16384,null,0,w.CheckboxControlValueAccessor,[y.Renderer2,y.ElementRef],null,null),y.ɵprd(1024,null,w.NG_VALUE_ACCESSOR,function(n){return[n]},[w.CheckboxControlValueAccessor]),y.ɵdid(5,671744,null,0,w.NgModel,[[8,null],[8,null],[8,null],[2,w.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),y.ɵprd(2048,null,w.NgControl,null,[w.NgModel]),y.ɵdid(7,16384,null,0,w.NgControlStatus,[w.NgControl],null,null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),y.ɵeld(9,0,null,null,0,"label",[],[[8,"htmlFor",0]],null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,5,0,!t.parent.context.$implicit.onMenu,t.parent.context.$implicit.readings[t.context.index+l.timelimit].active)},function(n,t){var l=t.component;n(t,0,0,y.ɵinlineInterpolate(1,"col s",l.timecell,"")),n(t,2,0,y.ɵinlineInterpolate(2,"",t.parent.context.$implicit.name,"-",t.context.$implicit.time,""),y.ɵnov(t,7).ngClassUntouched,y.ɵnov(t,7).ngClassTouched,y.ɵnov(t,7).ngClassPristine,y.ɵnov(t,7).ngClassDirty,y.ɵnov(t,7).ngClassValid,y.ɵnov(t,7).ngClassInvalid,y.ɵnov(t,7).ngClassPending),n(t,9,0,y.ɵinlineInterpolate(2,"",t.parent.context.$implicit.name,"-",t.context.$implicit.time,""))})}function h(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,10,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),y.ɵeld(2,0,null,null,5,"input",[["class","filled-in"],["type","checkbox"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==y.ɵnov(n,3).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==y.ɵnov(n,3).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.parent.context.$implicit.readings[n.context.index+2*i.timelimit].active=l)&&e}if("change"===t){e=!1!==i.oncustom(l,n.parent.context.$implicit.id)&&e}return e},null,null)),y.ɵdid(3,16384,null,0,w.CheckboxControlValueAccessor,[y.Renderer2,y.ElementRef],null,null),y.ɵprd(1024,null,w.NG_VALUE_ACCESSOR,function(n){return[n]},[w.CheckboxControlValueAccessor]),y.ɵdid(5,671744,null,0,w.NgModel,[[8,null],[8,null],[8,null],[2,w.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),y.ɵprd(2048,null,w.NgControl,null,[w.NgModel]),y.ɵdid(7,16384,null,0,w.NgControlStatus,[w.NgControl],null,null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),y.ɵeld(9,0,null,null,0,"label",[],[[8,"htmlFor",0]],null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,5,0,!t.parent.context.$implicit.onMenu,t.parent.context.$implicit.readings[t.context.index+2*l.timelimit].active)},function(n,t){var l=t.component;n(t,0,0,y.ɵinlineInterpolate(1,"col s",l.timecell,"")),n(t,2,0,y.ɵinlineInterpolate(2,"",t.parent.context.$implicit.name,"-",t.context.$implicit.time,""),y.ɵnov(t,7).ngClassUntouched,y.ɵnov(t,7).ngClassTouched,y.ɵnov(t,7).ngClassPristine,y.ɵnov(t,7).ngClassDirty,y.ɵnov(t,7).ngClassValid,y.ɵnov(t,7).ngClassInvalid,y.ɵnov(t,7).ngClassPending),n(t,9,0,y.ɵinlineInterpolate(2,"",t.parent.context.$implicit.name,"-",t.context.$implicit.time,""))})}function f(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,10,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),y.ɵeld(2,0,null,null,5,"input",[["class","filled-in"],["type","checkbox"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==y.ɵnov(n,3).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==y.ɵnov(n,3).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.parent.context.$implicit.readings[n.context.index+3*i.timelimit].active=l)&&e}if("change"===t){e=!1!==i.oncustom(l,n.parent.context.$implicit.id)&&e}return e},null,null)),y.ɵdid(3,16384,null,0,w.CheckboxControlValueAccessor,[y.Renderer2,y.ElementRef],null,null),y.ɵprd(1024,null,w.NG_VALUE_ACCESSOR,function(n){return[n]},[w.CheckboxControlValueAccessor]),y.ɵdid(5,671744,null,0,w.NgModel,[[8,null],[8,null],[8,null],[2,w.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),y.ɵprd(2048,null,w.NgControl,null,[w.NgModel]),y.ɵdid(7,16384,null,0,w.NgControlStatus,[w.NgControl],null,null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),y.ɵeld(9,0,null,null,0,"label",[],[[8,"htmlFor",0]],null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,5,0,!t.parent.context.$implicit.onMenu,t.parent.context.$implicit.readings[t.context.index+3*l.timelimit].active)},function(n,t){var l=t.component;n(t,0,0,y.ɵinlineInterpolate(1,"col s",l.timecell,"")),n(t,2,0,y.ɵinlineInterpolate(2,"",t.parent.context.$implicit.name,"-",t.context.$implicit.time,""),y.ɵnov(t,7).ngClassUntouched,y.ɵnov(t,7).ngClassTouched,y.ɵnov(t,7).ngClassPristine,y.ɵnov(t,7).ngClassDirty,y.ɵnov(t,7).ngClassValid,y.ɵnov(t,7).ngClassInvalid,y.ɵnov(t,7).ngClassPending),n(t,9,0,y.ɵinlineInterpolate(2,"",t.parent.context.$implicit.name,"-",t.context.$implicit.time,""))})}function g(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,86,"div",[["class","border row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(2,0,null,null,11,"div",[["class","col s2 black-text"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(4,0,null,null,5,"input",[["class","filled-in"],["type","checkbox"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==y.ɵnov(n,5).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==y.ɵnov(n,5).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.onMenu=l)&&e}return e},null,null)),y.ɵdid(5,16384,null,0,w.CheckboxControlValueAccessor,[y.Renderer2,y.ElementRef],null,null),y.ɵprd(1024,null,w.NG_VALUE_ACCESSOR,function(n){return[n]},[w.CheckboxControlValueAccessor]),y.ɵdid(7,671744,null,0,w.NgModel,[[8,null],[8,null],[8,null],[2,w.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),y.ɵprd(2048,null,w.NgControl,null,[w.NgModel]),y.ɵdid(9,16384,null,0,w.NgControlStatus,[w.NgControl],null,null),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(11,0,null,null,1,"label",[],[[8,"htmlFor",0],[2,"red-text",null],[2,"black-text",null],[8,"title",0]],null,null,null,null)),(n()(),y.ɵted(12,null,["",""])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(15,0,null,null,28,"div",[["class","col s2"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(17,0,null,null,25,"select",[["class","compact browser-default"],["materialize","material_select"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==y.ɵnov(n,18).onChange(l.target.value)&&e}if("blur"===t){e=!1!==y.ɵnov(n,18).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.idTmPrfl=l)&&e}if("change"===t){e=!1!==i.onschedule(l,n.context.$implicit.id)&&e}return e},null,null)),y.ɵdid(18,16384,null,0,w.SelectControlValueAccessor,[y.Renderer2,y.ElementRef],null,null),y.ɵprd(1024,null,w.NG_VALUE_ACCESSOR,function(n){return[n]},[w.SelectControlValueAccessor]),y.ɵdid(20,671744,null,0,w.NgModel,[[8,null],[8,null],[8,null],[2,w.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),y.ɵprd(2048,null,w.NgControl,null,[w.NgModel]),y.ɵdid(22,16384,null,0,w.NgControlStatus,[w.NgControl],null,null),y.ɵdid(23,5128192,null,0,S.MaterializeDirective,[y.ElementRef],{materialize:[0,"materialize"],ngModel:[1,"ngModel"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(25,0,null,null,3,"option",[["disabled",""]],null,null,null,null,null)),y.ɵdid(26,147456,null,0,w.NgSelectOption,[y.ElementRef,y.Renderer2,[2,w.SelectControlValueAccessor]],null,null),y.ɵdid(27,147456,null,0,w.ɵq,[y.ElementRef,y.Renderer2,[8,null]],null,null),(n()(),y.ɵted(-1,null,["Schedule"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(30,0,null,null,3,"option",[["value","0"]],null,null,null,null,null)),y.ɵdid(31,147456,null,0,w.NgSelectOption,[y.ElementRef,y.Renderer2,[2,w.SelectControlValueAccessor]],{value:[0,"value"]},null),y.ɵdid(32,147456,null,0,w.ɵq,[y.ElementRef,y.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),y.ɵted(-1,null,["Custom"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(35,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),y.ɵdid(36,147456,null,0,w.NgSelectOption,[y.ElementRef,y.Renderer2,[2,w.SelectControlValueAccessor]],{value:[0,"value"]},null),y.ɵdid(37,147456,null,0,w.ɵq,[y.ElementRef,y.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),y.ɵted(-1,null,["Unscheduled"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,d)),y.ɵdid(41,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(45,0,null,null,40,"div",[["class","col s8"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(47,0,null,null,37,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(49,0,null,null,7,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵeld(51,0,null,null,4,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,c)),y.ɵdid(54,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(58,0,null,null,7,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵeld(60,0,null,null,4,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,p)),y.ɵdid(63,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(67,0,null,null,7,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵeld(69,0,null,null,4,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,h)),y.ɵdid(72,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(76,0,null,null,7,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵeld(78,0,null,null,4,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,f)),y.ɵdid(81,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,7,0,void 0!==t.context.$implicit&&l.fixItem(t.context.$implicit.id),t.context.$implicit.onMenu),n(t,20,0,y.ɵinlineInterpolate(1,"schedule",t.context.$implicit.id,""),!t.context.$implicit.onMenu,t.context.$implicit.idTmPrfl);n(t,23,0,"material_select",t.context.$implicit.idTmPrfl);n(t,31,0,"0");n(t,32,0,"0");n(t,36,0,"-1");n(t,37,0,"-1"),n(t,41,0,l.schedules),n(t,54,0,l.scheduletimes?l.scheduletimes.slice(0,l.timelimit):y.ɵEMPTY_ARRAY),n(t,63,0,l.scheduletimes?l.scheduletimes.slice(l.timelimit,2*l.timelimit):y.ɵEMPTY_ARRAY),n(t,72,0,l.scheduletimes?l.scheduletimes.slice(2*l.timelimit,3*l.timelimit):y.ɵEMPTY_ARRAY),n(t,81,0,l.scheduletimes?l.scheduletimes.slice(3*l.timelimit):y.ɵEMPTY_ARRAY)},function(n,t){var l=t.component;n(t,4,0,y.ɵinlineInterpolate(1,"",t.context.$implicit.name,""),y.ɵnov(t,9).ngClassUntouched,y.ɵnov(t,9).ngClassTouched,y.ɵnov(t,9).ngClassPristine,y.ɵnov(t,9).ngClassDirty,y.ɵnov(t,9).ngClassValid,y.ɵnov(t,9).ngClassInvalid,y.ɵnov(t,9).ngClassPending),n(t,11,0,y.ɵinlineInterpolate(1,"",t.context.$implicit.name,""),void 0!==t.context.$implicit&&l.fixItem(t.context.$implicit.id),void 0!==t.context.$implicit&&!l.fixItem(t.context.$implicit.id),y.ɵinlineInterpolate(1,"",l.getErrors(t.context.$implicit.id),"")),n(t,12,0,t.context.$implicit.name),n(t,17,0,y.ɵinlineInterpolate(1,"schedule",t.context.$implicit.id,""),y.ɵnov(t,22).ngClassUntouched,y.ɵnov(t,22).ngClassTouched,y.ɵnov(t,22).ngClassPristine,y.ɵnov(t,22).ngClassDirty,y.ɵnov(t,22).ngClassValid,y.ɵnov(t,22).ngClassInvalid,y.ɵnov(t,22).ngClassPending)})}function m(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n"])),(n()(),y.ɵand(16777216,null,null,1,null,g)),y.ɵdid(3,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n"]))],function(n,t){n(t,3,0,t.component.selectedMenu.items)},null)}function v(n){return y.ɵvid(0,[(n()(),y.ɵand(16777216,null,null,1,null,i)),y.ɵdid(1,16384,null,0,b.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),y.ɵted(-1,null,["\n"])),(n()(),y.ɵand(16777216,null,null,1,null,u)),y.ɵdid(4,16384,null,0,b.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),y.ɵted(-1,null,["\n"])),(n()(),y.ɵeld(6,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),y.ɵeld(7,0,null,null,1,"span",[["class","blue-text text-darken-3"]],null,null,null,null,null)),(n()(),y.ɵted(8,null,["",""])),(n()(),y.ɵeld(9,0,null,null,1,"span",[["class","red-text text-darken-3"]],null,null,null,null,null)),(n()(),y.ɵted(10,null,["",""])),(n()(),y.ɵted(-1,null,["\n"])),(n()(),y.ɵeld(12,0,null,null,21,"div",[["class","row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(14,0,null,null,6,"div",[["class","col s4"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(16,0,null,null,3,"div",[["class","chips chips-placeholder"],["materialize","material_chip"]],null,[[null,"chip.add"],[null,"keyup.esc"]],function(n,t,l){var e=!0,i=n.component;if("chip.add"===t){e=!1!==i.add(l.detail)&&e}if("keyup.esc"===t){e=!1!==i.cancelEdit()&&e}return e},null,null)),y.ɵdid(17,5128192,null,0,S.MaterializeDirective,[y.ElementRef],{materializeParams:[0,"materializeParams"],materialize:[1,"materialize"]},null),y.ɵpad(18,1),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(22,0,null,null,10,"div",[["class","col s8"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(24,0,null,null,1,"button",[["class","btn-flat"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.save()&&e}return e},null,null)),(n()(),y.ɵted(-1,null,["Save"])),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(27,0,null,null,1,"button",[["class","btn-flat"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancelEdit()&&e}return e},null,null)),(n()(),y.ɵted(-1,null,["Cancel"])),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(30,0,null,null,1,"button",[["class","btn red"]],[[2,"disabled",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.delete(i.chipEdit)&&e}return e},null,null)),(n()(),y.ɵted(-1,null,["DELETE"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵted(-1,null,["\n"])),(n()(),y.ɵted(-1,null,["\n"])),(n()(),y.ɵeld(35,0,null,null,49,"div",[["class","border row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(37,0,null,null,1,"div",[["class","col s2"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\tProduct\n\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(40,0,null,null,1,"div",[["class","col s2"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\tSchedule\n\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵeld(43,0,null,null,40,"div",[["class","col s8"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵeld(45,0,null,null,37,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(47,0,null,null,7,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵeld(49,0,null,null,4,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,o)),y.ɵdid(52,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(56,0,null,null,7,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵeld(58,0,null,null,4,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,r)),y.ɵdid(61,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(65,0,null,null,7,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵeld(67,0,null,null,4,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,s)),y.ɵdid(70,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵeld(74,0,null,null,7,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵeld(76,0,null,null,4,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),y.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),y.ɵand(16777216,null,null,1,null,a)),y.ɵdid(79,802816,null,0,b.NgForOf,[y.ViewContainerRef,y.TemplateRef,y.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),y.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t\t"])),(n()(),y.ɵted(-1,null,["\n\t\t"])),(n()(),y.ɵted(-1,null,["\n\t"])),(n()(),y.ɵted(-1,null,["\n"])),(n()(),y.ɵted(-1,null,["\n"])),(n()(),y.ɵand(16777216,null,null,1,null,m)),y.ɵdid(87,16384,null,0,b.NgIf,[y.ViewContainerRef,y.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),y.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,1,0,!l.loading),n(t,4,0,l.loading);n(t,17,0,n(t,18,0,l.chipsInput),"material_chip"),n(t,52,0,l.scheduletimes?l.scheduletimes.slice(0,l.timelimit):y.ɵEMPTY_ARRAY),n(t,61,0,l.scheduletimes?l.scheduletimes.slice(l.timelimit,2*l.timelimit):y.ɵEMPTY_ARRAY),n(t,70,0,l.scheduletimes?l.scheduletimes.slice(2*l.timelimit,3*l.timelimit):y.ɵEMPTY_ARRAY),n(t,79,0,l.scheduletimes?l.scheduletimes.slice(3*l.timelimit):y.ɵEMPTY_ARRAY),n(t,87,0,void 0!==l.selectedMenu)},function(n,t){var l=t.component;n(t,8,0,l.msg_lvl),n(t,10,0,l.message),n(t,27,0,!l.chipEdit),n(t,30,0,!l.chipEdit)})}function C(n){return y.ɵvid(0,[(n()(),y.ɵeld(0,0,null,null,1,"my-menus",[],null,null,null,v,t.RenderType_MenusComponent)),y.ɵdid(1,638976,null,0,_.MenusComponent,[x.MenuService,I.UserService],null,null)],function(n,t){n(t,1,0)},null)}Object.defineProperty(t,"__esModule",{value:!0});var y=l(3),b=l(12),w=l(20),S=l(23),_=l(328),x=l(115),I=l(5),E=[];t.RenderType_MenusComponent=y.ɵcrt({encapsulation:2,styles:E,data:{}}),t.View_MenusComponent_0=v,t.View_MenusComponent_Host_0=C,t.MenusComponentNgFactory=y.ɵccf("my-menus",_.MenusComponent,C,{items:"items",schedules:"schedules",scheduletimes:"scheduletimes",menus:"menus",selectedMenu:"selectedMenu",timecell:"timecell",timelimit:"timelimit"},{allItemsChange:"allItemsChange",schedulesChange:"schedulesChange",menusChange:"menusChange",onMenuChange:"onMenuChange",onCloseMenus:"onCloseMenus",onLoadingData:"onLoadingData"},[])},813:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n}();t.Menu=e},814:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(n,t){this.onMenu=!1,this.vrsn=-1,this.idDaypart=1,this.sid=0,this.id=n||0,this.name=t||"",this.sort=9999,this.idTmPrfl=-1,this.readings=[]}return n}();t.MenuItem=e},815:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(n){this.sid=-1,this.id=-1,this.idMenu=-1,this.epchEvent=n||"",this.idTmPrfl=-1,this.active=!1,this.vrsn=-1,this.idDayPart=1,this.idItm=-1}return n}();t.ScheduledReading=e},816:function(n,t,l){"use strict";function e(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,3,"option",[],null,null,null,null,null)),v.ɵdid(1,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(2,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(3,null,["",""]))],function(n,t){n(t,1,0,t.context.$implicit.idMenu),n(t,2,0,t.context.$implicit.idMenu)},function(n,t){n(t,3,0,t.context.$implicit.name)})}function i(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,19,"div",[["class","input-field col s1"]],[[2,"grey-text",null]],null,null,null,null)),(n()(),v.ɵted(1,null,["\n\t\t",":\n\t\t"])),v.ɵppd(2,2),(n()(),v.ɵeld(3,0,null,null,15,"select",[["class","compact"],["materialize","material_select"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==v.ɵnov(n,4).onChange(l.target.value)&&e}if("blur"===t){e=!1!==v.ɵnov(n,4).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.idMenu=l)&&e}return e},null,null)),v.ɵdid(4,16384,null,0,C.SelectControlValueAccessor,[v.Renderer2,v.ElementRef],null,null),v.ɵprd(1024,null,C.NG_VALUE_ACCESSOR,function(n){return[n]},[C.SelectControlValueAccessor]),v.ɵdid(6,671744,null,0,C.NgModel,[[8,null],[8,null],[8,null],[2,C.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),v.ɵprd(2048,null,C.NgControl,null,[C.NgModel]),v.ɵdid(8,16384,null,0,C.NgControlStatus,[C.NgControl],null,null),v.ɵdid(9,5128192,null,0,y.MaterializeDirective,[v.ElementRef],{materialize:[0,"materialize"],ngModel:[1,"ngModel"]},null),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵeld(11,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),v.ɵdid(12,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(13,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(-1,null,["No Menu"])),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵand(16777216,null,null,1,null,e)),v.ɵdid(17,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵted(-1,null,["\n\t"]))],function(n,t){var l=t.component;n(t,6,0,t.context.$implicit.past,t.context.$implicit.idMenu);n(t,9,0,"material_select",t.context.$implicit.idMenu);n(t,12,0,"-1");n(t,13,0,"-1"),n(t,17,0,l.menus)},function(n,t){n(t,0,0,t.context.$implicit.past),n(t,1,0,v.ɵunv(t,1,0,n(t,2,0,v.ɵnov(t.parent,0),1e3*t.context.$implicit.epchDate,"MMM d"))),n(t,3,0,v.ɵnov(t,8).ngClassUntouched,v.ɵnov(t,8).ngClassTouched,v.ɵnov(t,8).ngClassPristine,v.ɵnov(t,8).ngClassDirty,v.ɵnov(t,8).ngClassValid,v.ɵnov(t,8).ngClassInvalid,v.ɵnov(t,8).ngClassPending)})}function u(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,3,"option",[],null,null,null,null,null)),v.ɵdid(1,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(2,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(3,null,["",""]))],function(n,t){n(t,1,0,t.context.$implicit.idMenu),n(t,2,0,t.context.$implicit.idMenu)},function(n,t){n(t,3,0,t.context.$implicit.name)})}function o(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,19,"div",[["class","input-field col s1"]],null,null,null,null,null)),(n()(),v.ɵted(1,null,["\n\t\t",":\n\t\t"])),v.ɵppd(2,2),(n()(),v.ɵeld(3,0,null,null,15,"select",[["class","compact"],["materialize","material_select"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==v.ɵnov(n,4).onChange(l.target.value)&&e}if("blur"===t){e=!1!==v.ɵnov(n,4).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.idMenu=l)&&e}return e},null,null)),v.ɵdid(4,16384,null,0,C.SelectControlValueAccessor,[v.Renderer2,v.ElementRef],null,null),v.ɵprd(1024,null,C.NG_VALUE_ACCESSOR,function(n){return[n]},[C.SelectControlValueAccessor]),v.ɵdid(6,671744,null,0,C.NgModel,[[8,null],[8,null],[8,null],[2,C.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),v.ɵprd(2048,null,C.NgControl,null,[C.NgModel]),v.ɵdid(8,16384,null,0,C.NgControlStatus,[C.NgControl],null,null),v.ɵdid(9,5128192,null,0,y.MaterializeDirective,[v.ElementRef],{materialize:[0,"materialize"],ngModel:[1,"ngModel"]},null),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵeld(11,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),v.ɵdid(12,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(13,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(-1,null,["No Menu"])),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵand(16777216,null,null,1,null,u)),v.ɵdid(17,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵted(-1,null,["\n\t"]))],function(n,t){var l=t.component;n(t,6,0,t.context.$implicit.idMenu);n(t,9,0,"material_select",t.context.$implicit.idMenu);n(t,12,0,"-1");n(t,13,0,"-1"),n(t,17,0,l.menus)},function(n,t){n(t,1,0,v.ɵunv(t,1,0,n(t,2,0,v.ɵnov(t.parent,0),1e3*t.context.$implicit.epchDate,"MMM d"))),n(t,3,0,v.ɵnov(t,8).ngClassUntouched,v.ɵnov(t,8).ngClassTouched,v.ɵnov(t,8).ngClassPristine,v.ɵnov(t,8).ngClassDirty,v.ɵnov(t,8).ngClassValid,v.ɵnov(t,8).ngClassInvalid,v.ɵnov(t,8).ngClassPending)})}function r(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,3,"option",[],null,null,null,null,null)),v.ɵdid(1,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(2,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(3,null,["",""]))],function(n,t){n(t,1,0,t.context.$implicit.idMenu),n(t,2,0,t.context.$implicit.idMenu)},function(n,t){n(t,3,0,t.context.$implicit.name)})}function s(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,19,"div",[["class","input-field col s1"]],null,null,null,null,null)),(n()(),v.ɵted(1,null,["\n\t\t",":\n\t\t"])),v.ɵppd(2,2),(n()(),v.ɵeld(3,0,null,null,15,"select",[["class","compact"],["materialize","material_select"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==v.ɵnov(n,4).onChange(l.target.value)&&e}if("blur"===t){e=!1!==v.ɵnov(n,4).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.idMenu=l)&&e}return e},null,null)),v.ɵdid(4,16384,null,0,C.SelectControlValueAccessor,[v.Renderer2,v.ElementRef],null,null),v.ɵprd(1024,null,C.NG_VALUE_ACCESSOR,function(n){return[n]},[C.SelectControlValueAccessor]),v.ɵdid(6,671744,null,0,C.NgModel,[[8,null],[8,null],[8,null],[2,C.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),v.ɵprd(2048,null,C.NgControl,null,[C.NgModel]),v.ɵdid(8,16384,null,0,C.NgControlStatus,[C.NgControl],null,null),v.ɵdid(9,5128192,null,0,y.MaterializeDirective,[v.ElementRef],{materialize:[0,"materialize"],ngModel:[1,"ngModel"]},null),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵeld(11,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),v.ɵdid(12,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(13,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(-1,null,["No Menu"])),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵand(16777216,null,null,1,null,r)),v.ɵdid(17,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵted(-1,null,["\n\t"]))],function(n,t){var l=t.component;n(t,6,0,t.context.$implicit.idMenu);n(t,9,0,"material_select",t.context.$implicit.idMenu);n(t,12,0,"-1");n(t,13,0,"-1"),n(t,17,0,l.menus)},function(n,t){n(t,1,0,v.ɵunv(t,1,0,n(t,2,0,v.ɵnov(t.parent,0),1e3*t.context.$implicit.epchDate,"MMM d"))),n(t,3,0,v.ɵnov(t,8).ngClassUntouched,v.ɵnov(t,8).ngClassTouched,v.ɵnov(t,8).ngClassPristine,v.ɵnov(t,8).ngClassDirty,v.ɵnov(t,8).ngClassValid,v.ɵnov(t,8).ngClassInvalid,v.ɵnov(t,8).ngClassPending)})}function a(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,3,"option",[],null,null,null,null,null)),v.ɵdid(1,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(2,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(3,null,["",""]))],function(n,t){n(t,1,0,t.context.$implicit.idMenu),n(t,2,0,t.context.$implicit.idMenu)},function(n,t){n(t,3,0,t.context.$implicit.name)})}function d(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,19,"div",[["class","input-field col s1"]],null,null,null,null,null)),(n()(),v.ɵted(1,null,["\n\t\t",":\n\t\t"])),v.ɵppd(2,2),(n()(),v.ɵeld(3,0,null,null,15,"select",[["class","compact"],["materialize","material_select"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==v.ɵnov(n,4).onChange(l.target.value)&&e}if("blur"===t){e=!1!==v.ɵnov(n,4).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.idMenu=l)&&e}return e},null,null)),v.ɵdid(4,16384,null,0,C.SelectControlValueAccessor,[v.Renderer2,v.ElementRef],null,null),v.ɵprd(1024,null,C.NG_VALUE_ACCESSOR,function(n){return[n]},[C.SelectControlValueAccessor]),v.ɵdid(6,671744,null,0,C.NgModel,[[8,null],[8,null],[8,null],[2,C.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),v.ɵprd(2048,null,C.NgControl,null,[C.NgModel]),v.ɵdid(8,16384,null,0,C.NgControlStatus,[C.NgControl],null,null),v.ɵdid(9,5128192,null,0,y.MaterializeDirective,[v.ElementRef],{materialize:[0,"materialize"],ngModel:[1,"ngModel"]},null),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵeld(11,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),v.ɵdid(12,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(13,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(-1,null,["No Menu"])),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵand(16777216,null,null,1,null,a)),v.ɵdid(17,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵted(-1,null,["\n\t"]))],function(n,t){var l=t.component;n(t,6,0,t.context.$implicit.idMenu);n(t,9,0,"material_select",t.context.$implicit.idMenu);n(t,12,0,"-1");n(t,13,0,"-1"),n(t,17,0,l.menus)},function(n,t){n(t,1,0,v.ɵunv(t,1,0,n(t,2,0,v.ɵnov(t.parent,0),1e3*t.context.$implicit.epchDate,"MMM d"))),n(t,3,0,v.ɵnov(t,8).ngClassUntouched,v.ɵnov(t,8).ngClassTouched,v.ɵnov(t,8).ngClassPristine,v.ɵnov(t,8).ngClassDirty,v.ɵnov(t,8).ngClassValid,v.ɵnov(t,8).ngClassInvalid,v.ɵnov(t,8).ngClassPending)})}function c(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,3,"option",[],null,null,null,null,null)),v.ɵdid(1,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(2,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(3,null,["",""]))],function(n,t){n(t,1,0,t.context.$implicit.idMenu),n(t,2,0,t.context.$implicit.idMenu)},function(n,t){n(t,3,0,t.context.$implicit.name)})}function p(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,19,"div",[["class","input-field col s1"]],null,null,null,null,null)),(n()(),v.ɵted(1,null,["\n\t\t",":\n\t\t"])),v.ɵppd(2,2),(n()(),v.ɵeld(3,0,null,null,15,"select",[["class","compact"],["materialize","material_select"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==v.ɵnov(n,4).onChange(l.target.value)&&e}if("blur"===t){e=!1!==v.ɵnov(n,4).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.idMenu=l)&&e}return e},null,null)),v.ɵdid(4,16384,null,0,C.SelectControlValueAccessor,[v.Renderer2,v.ElementRef],null,null),v.ɵprd(1024,null,C.NG_VALUE_ACCESSOR,function(n){return[n]},[C.SelectControlValueAccessor]),v.ɵdid(6,671744,null,0,C.NgModel,[[8,null],[8,null],[8,null],[2,C.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),v.ɵprd(2048,null,C.NgControl,null,[C.NgModel]),v.ɵdid(8,16384,null,0,C.NgControlStatus,[C.NgControl],null,null),v.ɵdid(9,5128192,null,0,y.MaterializeDirective,[v.ElementRef],{materialize:[0,"materialize"],ngModel:[1,"ngModel"]},null),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵeld(11,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),v.ɵdid(12,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(13,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(-1,null,["No Menu"])),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵand(16777216,null,null,1,null,c)),v.ɵdid(17,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵted(-1,null,["\n\t"]))],function(n,t){var l=t.component;n(t,6,0,t.context.$implicit.idMenu);n(t,9,0,"material_select",t.context.$implicit.idMenu);n(t,12,0,"-1");n(t,13,0,"-1"),n(t,17,0,l.menus)},function(n,t){n(t,1,0,v.ɵunv(t,1,0,n(t,2,0,v.ɵnov(t.parent,0),1e3*t.context.$implicit.epchDate,"MMM d"))),n(t,3,0,v.ɵnov(t,8).ngClassUntouched,v.ɵnov(t,8).ngClassTouched,v.ɵnov(t,8).ngClassPristine,v.ɵnov(t,8).ngClassDirty,v.ɵnov(t,8).ngClassValid,v.ɵnov(t,8).ngClassInvalid,v.ɵnov(t,8).ngClassPending)})}function h(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,3,"option",[],null,null,null,null,null)),v.ɵdid(1,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(2,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(3,null,["",""]))],function(n,t){n(t,1,0,t.context.$implicit.idMenu),n(t,2,0,t.context.$implicit.idMenu)},function(n,t){n(t,3,0,t.context.$implicit.name)})}function f(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,19,"div",[["class","input-field col s1"]],null,null,null,null,null)),(n()(),v.ɵted(1,null,["\n\t\t",":\n\t\t"])),v.ɵppd(2,2),(n()(),v.ɵeld(3,0,null,null,15,"select",[["class","compact"],["materialize","material_select"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==v.ɵnov(n,4).onChange(l.target.value)&&e}if("blur"===t){e=!1!==v.ɵnov(n,4).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.context.$implicit.idMenu=l)&&e}return e},null,null)),v.ɵdid(4,16384,null,0,C.SelectControlValueAccessor,[v.Renderer2,v.ElementRef],null,null),v.ɵprd(1024,null,C.NG_VALUE_ACCESSOR,function(n){return[n]},[C.SelectControlValueAccessor]),v.ɵdid(6,671744,null,0,C.NgModel,[[8,null],[8,null],[8,null],[2,C.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),v.ɵprd(2048,null,C.NgControl,null,[C.NgModel]),v.ɵdid(8,16384,null,0,C.NgControlStatus,[C.NgControl],null,null),v.ɵdid(9,5128192,null,0,y.MaterializeDirective,[v.ElementRef],{materialize:[0,"materialize"],ngModel:[1,"ngModel"]},null),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵeld(11,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),v.ɵdid(12,147456,null,0,C.NgSelectOption,[v.ElementRef,v.Renderer2,[2,C.SelectControlValueAccessor]],{value:[0,"value"]},null),v.ɵdid(13,147456,null,0,C.ɵq,[v.ElementRef,v.Renderer2,[8,null]],{value:[0,"value"]},null),(n()(),v.ɵted(-1,null,["No Menu"])),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵand(16777216,null,null,1,null,h)),v.ɵdid(17,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵted(-1,null,["\n\t"]))],function(n,t){var l=t.component;n(t,6,0,t.context.$implicit.idMenu);n(t,9,0,"material_select",t.context.$implicit.idMenu);n(t,12,0,"-1");n(t,13,0,"-1"),n(t,17,0,l.menus)},function(n,t){n(t,1,0,v.ɵunv(t,1,0,n(t,2,0,v.ɵnov(t.parent,0),1e3*t.context.$implicit.epchDate,"MMM d"))),n(t,3,0,v.ɵnov(t,8).ngClassUntouched,v.ɵnov(t,8).ngClassTouched,v.ɵnov(t,8).ngClassPristine,v.ɵnov(t,8).ngClassDirty,v.ɵnov(t,8).ngClassValid,v.ɵnov(t,8).ngClassInvalid,v.ɵnov(t,8).ngClassPending)})}function g(n){return v.ɵvid(0,[v.ɵpid(0,b.DatePipe,[v.LOCALE_ID]),(n()(),v.ɵeld(1,0,null,null,28,"div",[["class","border row"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(3,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(6,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(9,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["Sunday"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(12,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["Monday"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(15,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["Tuesday"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(18,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["Wednesday"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(21,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["Thursday"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(24,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["Friday"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(27,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["Saturday"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵeld(31,0,null,null,10,"div",[["class","border row"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(33,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(36,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵand(16777216,null,null,1,null,i)),v.ɵdid(40,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵeld(43,0,null,null,10,"div",[["class","border row"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(45,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(48,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵand(16777216,null,null,1,null,o)),v.ɵdid(52,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵeld(55,0,null,null,10,"div",[["class","border row"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(57,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(60,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵand(16777216,null,null,1,null,s)),v.ɵdid(64,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵeld(67,0,null,null,10,"div",[["class","border row"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(69,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(72,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵand(16777216,null,null,1,null,d)),v.ɵdid(76,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵeld(79,0,null,null,10,"div",[["class","border row"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(81,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(84,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵand(16777216,null,null,1,null,p)),v.ɵdid(88,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵeld(91,0,null,null,10,"div",[["class","border row"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(93,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(96,0,null,null,1,"div",[["class","col s1"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵand(16777216,null,null,1,null,f)),v.ɵdid(100,802816,null,0,b.NgForOf,[v.ViewContainerRef,v.TemplateRef,v.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵeld(103,0,null,null,37,"div",[["class","row"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(105,0,null,null,1,"div",[["class","col s7"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,[" "])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(108,0,null,null,4,"div",[["class","col s1 center"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵeld(110,0,null,null,1,"button",[["class","btn-flat"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.save()&&e}return e},null,null)),(n()(),v.ɵted(-1,null,["Save"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵeld(114,0,null,null,25,"div",[["class","col s1 center"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵeld(116,0,null,null,1,"button",[["class","btn-flat"]],[[2,"hide",null]],[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.cancel()&&e}return e},null,null)),(n()(),v.ɵted(-1,null,["Cancel"])),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵeld(119,0,null,null,19,"div",[["class","preloader-wrapper small active"]],[[2,"hide",null]],null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵeld(121,0,null,null,16,"div",[["class","spinner-layer spinner-blue-only"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),v.ɵeld(123,0,null,null,3,"div",[["class","circle-clipper left"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),v.ɵeld(125,0,null,null,0,"div",[["class","circle"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),v.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),v.ɵeld(128,0,null,null,3,"div",[["class","gap-patch"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),v.ɵeld(130,0,null,null,0,"div",[["class","circle"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),v.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),v.ɵeld(133,0,null,null,3,"div",[["class","circle-clipper right"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),v.ɵeld(135,0,null,null,0,"div",[["class","circle"]],null,null,null,null,null)),(n()(),v.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),v.ɵted(-1,null,["\n\t\t\t"])),(n()(),v.ɵted(-1,null,["\n\t\t"])),(n()(),v.ɵted(-1,null,["\n\t"])),(n()(),v.ɵted(-1,null,["\n"])),(n()(),v.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,40,0,l.menudates.slice(0,7)),n(t,52,0,l.menudates.slice(7,14)),n(t,64,0,l.menudates.slice(14,21)),n(t,76,0,l.menudates.slice(21,28)),n(t,88,0,l.menudates.slice(28,35)),n(t,100,0,l.menudates.slice(35,42))},function(n,t){var l=t.component;n(t,116,0,l.clearing),n(t,119,0,!l.clearing)})}function m(n){return v.ɵvid(0,[(n()(),v.ɵeld(0,0,null,null,1,"my-menudates",[],null,null,null,g,t.RenderType_MenuDatesComponent)),v.ɵdid(1,114688,null,0,w.MenuDatesComponent,[S.MenuDateService,_.UserService],null,null)],function(n,t){n(t,1,0)},null)}Object.defineProperty(t,"__esModule",{value:!0});var v=l(3),C=l(20),y=l(23),b=l(12),w=l(329),S=l(116),_=l(5),x=[];t.RenderType_MenuDatesComponent=v.ɵcrt({encapsulation:2,styles:x,data:{}}),t.View_MenuDatesComponent_0=g,t.View_MenuDatesComponent_Host_0=m,t.MenuDatesComponentNgFactory=v.ɵccf("my-menudates",w.MenuDatesComponent,m,{menus:"menus",menudates:"menudates"},{menusChange:"menusChange",menudatesChange:"menudatesChange"},[])},817:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n}();t.MenuDate=e},818:function(n,t,l){"use strict";function e(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,8,"input",[["class","compact"],["id","dateFilter"],["materialize","pickadate"],["placeholder","Date"],["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]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==F.ɵnov(n,1)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,1).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,1)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,1)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==i.filterDate(l)&&e}return e},null,null)),F.ɵdid(1,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(3,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(5,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),F.ɵdid(6,5128192,null,0,L.MaterializeDirective,[F.ElementRef],{materializeParams:[0,"materializeParams"],materialize:[1,"materialize"],ngModel:[2,"ngModel"]},null),F.ɵpod(7,{format:0,closeOnSelect:1,container:2}),F.ɵpad(8,1)],function(n,t){var l=t.component;n(t,3,0,l.dateFilter);n(t,6,0,n(t,8,0,n(t,7,0,"mm/dd/yyyy",!1,"#rprt")),"pickadate",l.dateFilter)},function(n,t){n(t,0,0,F.ɵnov(t,5).ngClassUntouched,F.ɵnov(t,5).ngClassTouched,F.ɵnov(t,5).ngClassPristine,F.ɵnov(t,5).ngClassDirty,F.ɵnov(t,5).ngClassValid,F.ɵnov(t,5).ngClassInvalid,F.ɵnov(t,5).ngClassPending)})}function i(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,8,"input",[["class","compact"],["id","dateToFilter"],["materialize","pickadate"],["placeholder","Date"],["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]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==F.ɵnov(n,1)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,1).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,1)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,1)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==i.filterDateTo(l)&&e}return e},null,null)),F.ɵdid(1,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(3,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(5,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),F.ɵdid(6,5128192,null,0,L.MaterializeDirective,[F.ElementRef],{materializeParams:[0,"materializeParams"],materialize:[1,"materialize"],ngModel:[2,"ngModel"]},null),F.ɵpod(7,{format:0,closeOnSelect:1,container:2}),F.ɵpad(8,1)],function(n,t){var l=t.component;n(t,3,0,l.dateToFilter);n(t,6,0,n(t,8,0,n(t,7,0,"mm/dd/yyyy",!1,"#rprt")),"pickadate",l.dateToFilter)},function(n,t){n(t,0,0,F.ɵnov(t,5).ngClassUntouched,F.ɵnov(t,5).ngClassTouched,F.ɵnov(t,5).ngClassPristine,F.ɵnov(t,5).ngClassDirty,F.ɵnov(t,5).ngClassValid,F.ɵnov(t,5).ngClassInvalid,F.ɵnov(t,5).ngClassPending)})}function u(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,6,"div",[["class","container valign-wrapper"],["style","min-height: 20%;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵeld(2,0,null,null,3,"div",[["class","progress left col s12 m6 blue lighten-3 valign"],["style","width: 100%;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(4,0,null,null,0,"div",[["class","indeterminate blue"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t"]))],null,null)}function o(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,7,"div",[["class","container valign-wrapper"],["style","min-height: 20%;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵeld(2,0,null,null,4,"div",[["class","left col s12 m6"],["style","width: 100%;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(4,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["No Data Found"])),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t"]))],null,null)}function r(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,5,"tr",[["class","compactish"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(2,0,null,null,2,"td",[["class","compactish grey"],["colspan","11"]],null,null,null,null,null)),(n()(),F.ɵeld(3,0,null,null,1,"span",[["class","blue-text text-darken-4 cc-impt"]],null,null,null,null,null)),(n()(),F.ɵted(4,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"]))],null,function(n,t){n(t,4,0,t.parent.context.$implicit.resultDate)})}function s(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"i",[["class","material-icons red-text report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["cancel"]))],null,null)}function a(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"i",[["class","material-icons green-text report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["check_circle"]))],null,null)}function d(n){return F.ɵvid(0,[(n()(),F.ɵand(16777216,null,null,1,null,s)),F.ɵdid(1,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵand(16777216,null,null,1,null,a)),F.ɵdid(3,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵeld(4,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(5,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),F.ɵted(6,null,["",""])),(n()(),F.ɵeld(7,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(8,null,["",""]))],function(n,t){n(t,1,0,0==t.parent.context.$implicit.dorrResult),n(t,3,0,1==t.parent.context.$implicit.dorrResult)},function(n,t){n(t,6,0,t.parent.context.$implicit.verifiedBy),n(t,8,0,t.parent.context.$implicit.verifiedTime)})}function c(n){return F.ɵvid(0,[(n()(),F.ɵand(16777216,null,null,1,null,d)),F.ɵdid(1,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵand(0,null,null,0))],function(n,t){n(t,1,0,1==t.context.$implicit.dorrType)},null)}function p(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"i",[["class","material-icons red-text report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["cancel"]))],null,null)}function h(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"i",[["class","material-icons green-text report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["check_circle"]))],null,null)}function f(n){return F.ɵvid(0,[(n()(),F.ɵand(16777216,null,null,1,null,p)),F.ɵdid(1,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵand(16777216,null,null,1,null,h)),F.ɵdid(3,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵeld(4,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(5,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),F.ɵted(6,null,["",""])),(n()(),F.ɵeld(7,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(8,null,["",""]))],function(n,t){n(t,1,0,0==t.parent.context.$implicit.dorrResult),n(t,3,0,1==t.parent.context.$implicit.dorrResult)},function(n,t){n(t,6,0,t.parent.context.$implicit.verifiedBy),n(t,8,0,t.parent.context.$implicit.verifiedTime)})}function g(n){return F.ɵvid(0,[(n()(),F.ɵand(16777216,null,null,1,null,f)),F.ɵdid(1,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵand(0,null,null,0))],function(n,t){n(t,1,0,2==t.context.$implicit.dorrType)},null)}function m(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,[" "])),(n()(),F.ɵeld(2,0,null,null,0,"br",[],null,null,null,null,null))],null,null)}function v(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"i",[["class","material-icons red-text report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["cancel"]))],null,null)}function C(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"i",[["class","material-icons green-text report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["check_circle"]))],null,null)}function y(n){return F.ɵvid(0,[(n()(),F.ɵand(16777216,null,null,1,null,v)),F.ɵdid(1,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵand(16777216,null,null,1,null,C)),F.ɵdid(3,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵeld(4,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(5,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),F.ɵted(6,null,["",""])),(n()(),F.ɵeld(7,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(8,null,["",""]))],function(n,t){n(t,1,0,0==t.parent.context.$implicit.dorrResult),n(t,3,0,1==t.parent.context.$implicit.dorrResult)},function(n,t){n(t,6,0,t.parent.context.$implicit.verifiedBy),n(t,8,0,t.parent.context.$implicit.verifiedTime)})}function b(n){return F.ɵvid(0,[(n()(),F.ɵand(16777216,null,null,1,null,y)),F.ɵdid(1,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵand(0,null,null,0))],function(n,t){n(t,1,0,3==t.context.$implicit.dorrType)},null)}function w(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"span",[["class","compact cc-impt right"]],null,null,null,null,null)),(n()(),F.ɵted(1,null,["",""]))],null,function(n,t){n(t,1,0,t.component.verifiedBy)})}function S(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,32,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(2,0,null,null,15,"div",[["class","compact col s2 center"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(4,0,null,null,6,"input",[["class","with-gap"],["type","radio"],["value","0"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==F.ɵnov(n,5)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,5).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,5)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,5)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==F.ɵnov(n,6).onChange()&&e}if("blur"===t){e=!1!==F.ɵnov(n,6).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.parent.context.$implicit.rrResult=l)&&e}return e},null,null)),F.ɵdid(5,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵdid(6,212992,null,0,U.RadioControlValueAccessor,[F.Renderer2,F.ElementRef,U.ɵi,F.Injector],{name:[0,"name"],value:[1,"value"]},null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[U.DefaultValueAccessor,U.RadioControlValueAccessor]),F.ɵdid(8,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(10,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(12,0,null,null,4,"label",[],[[8,"htmlFor",0]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(14,0,null,null,1,"i",[["class","material-icons red-text report-flow-text"]],[[2,"text-lighten-4",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["cancel"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(19,0,null,null,4,"div",[["class","compact col s5"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,w)),F.ɵdid(22,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(25,0,null,null,6,"div",[["class","compact col s4"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(27,0,null,null,3,"span",[["class","compact cc-impt right"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(28,null,["",""])),F.ɵpid(131072,j.AsyncPipe,[F.ChangeDetectorRef]),F.ɵppd(30,2),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,6,0,F.ɵinlineInterpolate(1,"rrresult[",t.parent.context.$implicit.id,"]"),"0"),n(t,8,0,F.ɵinlineInterpolate(1,"rrresult[",t.parent.context.$implicit.id,"]"),void 0===l.verifiedBy||""==l.verifiedBy,t.parent.context.$implicit.rrResult),n(t,22,0,void 0!==t.parent.context.$implicit.rrResult)},function(n,t){var l=t.component;n(t,4,0,F.ɵinlineInterpolate(1,"rrresult0[",t.parent.context.$implicit.id,"]"),F.ɵnov(t,10).ngClassUntouched,F.ɵnov(t,10).ngClassTouched,F.ɵnov(t,10).ngClassPristine,F.ɵnov(t,10).ngClassDirty,F.ɵnov(t,10).ngClassValid,F.ɵnov(t,10).ngClassInvalid,F.ɵnov(t,10).ngClassPending),n(t,12,0,F.ɵinlineInterpolate(1,"rrresult0[",t.parent.context.$implicit.id,"]")),n(t,14,0,void 0===t.parent.context.$implicit.rrResult||1==t.parent.context.$implicit.rrResult),n(t,27,0,void 0===t.parent.context.$implicit.rrResult),n(t,28,0,F.ɵunv(t,28,0,n(t,30,0,F.ɵnov(t.parent.parent.parent,0),F.ɵunv(t,28,0,F.ɵnov(t,29).transform(l.verifiedTime)),"hh:mm:ss")))})}function _(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"a",[["class","btn btn-small red waves-effect waves-light right"]],null,[[null,"click"]],function(n,t,l){var e=!0;if("click"===t){e=!1!==(n.parent.parent.context.$implicit.rrResult=void 0)&&e}return e},null,null)),(n()(),F.ɵted(-1,null,["Cancel"]))],null,null)}function x(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"a",[["class","btn btn-small green waves-effect waves-light right"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.saveDORR(n.parent.parent.context.$implicit,n.parent.parent.context.$implicit.rrResult)&&e}return e},null,null)),(n()(),F.ɵted(-1,null,["Save"]))],null,null)}function I(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,30,"div",[["class","compact row"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(2,0,null,null,15,"div",[["class","compact col s2 center"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(4,0,null,null,6,"input",[["class","with-gap"],["type","radio"],["value","1"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==F.ɵnov(n,5)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,5).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,5)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,5)._compositionEnd(l.target.value)&&e}if("change"===t){e=!1!==F.ɵnov(n,6).onChange()&&e}if("blur"===t){e=!1!==F.ɵnov(n,6).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.parent.context.$implicit.rrResult=l)&&e}return e},null,null)),F.ɵdid(5,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵdid(6,212992,null,0,U.RadioControlValueAccessor,[F.Renderer2,F.ElementRef,U.ɵi,F.Injector],{name:[0,"name"],value:[1,"value"]},null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n,t){return[n,t]},[U.DefaultValueAccessor,U.RadioControlValueAccessor]),F.ɵdid(8,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(10,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(12,0,null,null,4,"label",[],[[8,"htmlFor",0]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(14,0,null,null,1,"i",[["class","material-icons green-text report-flow-text"]],[[2,"text-lighten-4",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["check_circle"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(19,0,null,null,10,"div",[["class","compact col s9"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,_)),F.ɵdid(22,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(24,0,null,null,1,"span",[["class","right"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,[" "])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,x)),F.ɵdid(28,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,6,0,F.ɵinlineInterpolate(1,"rrresult[",t.parent.context.$implicit.id,"]"),"1"),n(t,8,0,F.ɵinlineInterpolate(1,"rrresult[",t.parent.context.$implicit.id,"]"),void 0===l.verifiedBy||""==l.verifiedBy,t.parent.context.$implicit.rrResult),n(t,22,0,void 0!==t.parent.context.$implicit.rrResult),n(t,28,0,void 0!==t.parent.context.$implicit.rrResult)},function(n,t){n(t,4,0,F.ɵinlineInterpolate(1,"rrresult1[",t.parent.context.$implicit.id,"]"),F.ɵnov(t,10).ngClassUntouched,F.ɵnov(t,10).ngClassTouched,F.ɵnov(t,10).ngClassPristine,F.ɵnov(t,10).ngClassDirty,F.ɵnov(t,10).ngClassValid,F.ɵnov(t,10).ngClassInvalid,F.ɵnov(t,10).ngClassPending),n(t,12,0,F.ɵinlineInterpolate(1,"rrresult1[",t.parent.context.$implicit.id,"]")),n(t,14,0,void 0===t.parent.context.$implicit.rrResult||0==t.parent.context.$implicit.rrResult)})}function E(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,38,"div",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(2,0,null,null,11,"div",[["class","compact col s3"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(4,0,null,null,5,"input",[["type","checkbox"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==F.ɵnov(n,5).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==F.ɵnov(n,5).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.parent.context.$implicit.recordReview=l)&&e}return e},null,null)),F.ɵdid(5,16384,null,0,U.CheckboxControlValueAccessor,[F.Renderer2,F.ElementRef],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.CheckboxControlValueAccessor]),F.ɵdid(7,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(9,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(11,0,null,null,1,"label",[],[[8,"htmlFor",0]],null,null,null,null)),(n()(),F.ɵted(-1,null,[" "])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(15,0,null,null,22,"div",[["class","compact col s9"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(17,0,null,null,19,"div",[["class","switch"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(19,0,null,null,16,"label",[["class","compact"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(21,0,null,null,1,"i",[["class","material-icons red-text report-flow-text"]],[[2,"text-lighten-4",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["cancel"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(24,0,null,null,5,"input",[["class","compact"],["type","checkbox"]],[[8,"id",0],[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0;if("change"===t){e=!1!==F.ɵnov(n,25).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==F.ɵnov(n,25).onTouched()&&e}if("ngModelChange"===t){e=!1!==(n.parent.context.$implicit.rrResult=l)&&e}return e},null,null)),F.ɵdid(25,16384,null,0,U.CheckboxControlValueAccessor,[F.Renderer2,F.ElementRef],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.CheckboxControlValueAccessor]),F.ɵdid(27,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(29,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(31,0,null,null,0,"span",[["class","lever"],["style","top: 0px;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(33,0,null,null,1,"i",[["class","material-icons green-text report-flow-text"]],[[2,"text-lighten-4",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["check_circle"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){var l=t.component;n(t,7,0,void 0===l.verifiedBy||""==l.verifiedBy,t.parent.context.$implicit.recordReview),n(t,27,0,void 0===t.parent.context.$implicit.recordReview||!t.parent.context.$implicit.recordReview,t.parent.context.$implicit.rrResult)},function(n,t){n(t,4,0,F.ɵinlineInterpolate(1,"rr[",t.parent.context.$implicit.id,"]"),F.ɵnov(t,9).ngClassUntouched,F.ɵnov(t,9).ngClassTouched,F.ɵnov(t,9).ngClassPristine,F.ɵnov(t,9).ngClassDirty,F.ɵnov(t,9).ngClassValid,F.ɵnov(t,9).ngClassInvalid,F.ɵnov(t,9).ngClassPending),n(t,11,0,F.ɵinlineInterpolate(1,"rr[",t.parent.context.$implicit.id,"]")),n(t,21,0,void 0===t.parent.context.$implicit.recordReview||!t.parent.context.$implicit.recordReview||void 0===t.parent.context.$implicit.rrResult||t.parent.context.$implicit.rrResult),n(t,24,0,F.ɵinlineInterpolate(1,"rrresult[",t.parent.context.$implicit.id,"]"),F.ɵnov(t,29).ngClassUntouched,F.ɵnov(t,29).ngClassTouched,F.ɵnov(t,29).ngClassPristine,F.ɵnov(t,29).ngClassDirty,F.ɵnov(t,29).ngClassValid,F.ɵnov(t,29).ngClassInvalid,F.ɵnov(t,29).ngClassPending),n(t,33,0,void 0===t.parent.context.$implicit.recordReview||!t.parent.context.$implicit.recordReview||void 0===t.parent.context.$implicit.rrResult||!t.parent.context.$implicit.rrResult)})}function R(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"i",[["class","material-icons red-text report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["cancel"]))],null,null)}function O(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"i",[["class","material-icons green-text report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["check_circle"]))],null,null)}function A(n){return F.ɵvid(0,[(n()(),F.ɵand(16777216,null,null,1,null,R)),F.ɵdid(1,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵand(16777216,null,null,1,null,O)),F.ɵdid(3,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵeld(4,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(5,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),F.ɵted(6,null,["",""])),(n()(),F.ɵeld(7,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(8,null,["",""]))],function(n,t){n(t,1,0,0==t.parent.context.$implicit.dorrResult),n(t,3,0,1==t.parent.context.$implicit.dorrResult)},function(n,t){n(t,6,0,t.parent.context.$implicit.verifiedBy),n(t,8,0,t.parent.context.$implicit.verifiedTime)})}function M(n){return F.ɵvid(0,[(n()(),F.ɵand(16777216,null,null,1,null,A)),F.ɵdid(1,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵand(0,null,null,0))],function(n,t){n(t,1,0,3==t.context.$implicit.dorrType)},null)}function N(n){return F.ɵvid(0,[(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,M)),F.ɵdid(2,802816,null,0,j.NgForOf,[F.ViewContainerRef,F.TemplateRef,F.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){n(t,2,0,t.parent.context.$implicit.dorrs)},null)}function T(n){return F.ɵvid(0,[(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,r)),F.ɵdid(2,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(4,0,null,null,114,"tr",[["class","compactish"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(6,0,null,null,2,"td",[["class","compactish hide-on-med-and-down"]],null,null,null,null,null)),(n()(),F.ɵeld(7,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),F.ɵted(8,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(10,0,null,null,5,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),F.ɵeld(11,0,null,null,2,"span",[["class","cc-impt black-text hide-on-large-only"]],null,null,null,null,null)),(n()(),F.ɵted(12,null,["",""])),(n()(),F.ɵeld(13,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(14,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),F.ɵted(15,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(17,0,null,null,2,"td",[["class","compactish hide-on-med-and-down"]],null,null,null,null,null)),(n()(),F.ɵeld(18,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),F.ɵted(19,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(21,0,null,null,4,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),F.ɵeld(22,0,null,null,2,"span",[["class","cc-impt black-text hide-on-large-only"]],null,null,null,null,null)),(n()(),F.ɵted(23,null,["",""])),(n()(),F.ɵeld(24,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(25,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(27,0,null,null,2,"td",[["class","hide compactish"]],null,null,null,null,null)),(n()(),F.ɵeld(28,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),F.ɵted(29,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(31,0,null,null,16,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵeld(33,0,null,null,13,"div",[["class","row compact"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(35,0,null,null,6,"div",[["class","compact col s8 m6"]],null,null,null,null,null)),(n()(),F.ɵted(36,null,["",""])),(n()(),F.ɵeld(37,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(38,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),F.ɵted(39,null,["",""])),(n()(),F.ɵeld(40,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(41,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(43,0,null,null,2,"div",[["class","compact col s4 m6"]],null,null,null,null,null)),(n()(),F.ɵand(16777216,null,null,1,null,c)),F.ɵdid(45,802816,null,0,j.NgForOf,[F.ViewContainerRef,F.TemplateRef,F.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(49,0,null,null,5,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),F.ɵted(50,null,["",""])),(n()(),F.ɵeld(51,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["--"])),(n()(),F.ɵeld(53,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(54,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(56,0,null,null,6,"td",[["class","compactish"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(57,null,["",""])),(n()(),F.ɵeld(58,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(59,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),F.ɵted(60,null,["",""])),(n()(),F.ɵeld(61,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(62,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(64,0,null,null,6,"td",[["class","compactish"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(65,null,["",""])),(n()(),F.ɵeld(66,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(67,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),F.ɵted(68,null,["",""])),(n()(),F.ɵeld(69,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(70,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(72,0,null,null,16,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵeld(74,0,null,null,13,"div",[["class","row compact"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(76,0,null,null,6,"div",[["class","compact col s8 m6"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["--"])),(n()(),F.ɵeld(78,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵeld(79,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),F.ɵted(80,null,["",""])),(n()(),F.ɵeld(81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(82,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(84,0,null,null,2,"div",[["class","compact col s4 m6"]],null,null,null,null,null)),(n()(),F.ɵand(16777216,null,null,1,null,g)),F.ɵdid(86,802816,null,0,j.NgForOf,[F.ViewContainerRef,F.TemplateRef,F.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(90,0,null,null,6,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),F.ɵand(16777216,null,null,1,null,m)),F.ɵdid(92,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵeld(93,0,null,null,1,"span",[["class","cc-impt"]],[[2,"green-text",null],[2,"black-text",null]],null,null,null,null)),(n()(),F.ɵted(94,null,["",""])),(n()(),F.ɵeld(95,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(96,null,["",""])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(98,0,null,null,4,"td",[["class","compactish"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,b)),F.ɵdid(101,802816,null,0,j.NgForOf,[F.ViewContainerRef,F.TemplateRef,F.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(104,0,null,null,13,"td",[["class","compactish"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,S)),F.ɵdid(107,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,I)),F.ɵdid(110,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,E)),F.ɵdid(113,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,N)),F.ɵdid(116,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"]))],function(n,t){var l=t.component;n(t,2,0,0==t.context.index||t.context.$implicit.resultDate!=l.ccdata[t.context.index-1].resultDate),n(t,45,0,t.context.$implicit.dorrs),n(t,86,0,t.context.$implicit.dorrs),n(t,92,0,"Pass"==t.context.$implicit.result),n(t,101,0,t.context.$implicit.dorrs),n(t,107,0,!l.hasRR(t.context.$implicit.dorrs)),n(t,110,0,!l.hasRR(t.context.$implicit.dorrs));n(t,113,0,!1),n(t,116,0,l.hasRR(t.context.$implicit.dorrs))},function(n,t){var l=t.component;n(t,8,0,t.context.$implicit.ckchNumber),n(t,12,0,t.context.$implicit.ckchNumber),n(t,15,0,t.context.$implicit.itemName),n(t,19,0,t.context.$implicit.lotNumber),n(t,23,0,t.context.$implicit.lotNumber),n(t,25,0,t.context.$implicit.probeSerial),n(t,29,0,t.context.$implicit.resultDate),n(t,36,0,t.context.$implicit.cookTemp),n(t,39,0,t.context.$implicit.peakTemp),n(t,41,0,t.context.$implicit.peakTime),n(t,50,0,t.context.$implicit.phase1StartTemp),n(t,54,0,t.context.$implicit.phase1StartTime),n(t,56,0,!l.showTiers),n(t,57,0,t.context.$implicit.phase1EndTemp),n(t,60,0,t.context.$implicit.phase1Time),n(t,62,0,t.context.$implicit.phase1EndTime),n(t,64,0,!l.showTiers),n(t,65,0,t.context.$implicit.phase2EndTemp),n(t,68,0,t.context.$implicit.phase2Time),n(t,70,0,t.context.$implicit.phase2EndTime),n(t,80,0,t.context.$implicit.totalTime),n(t,82,0,t.context.$implicit.finalTime),n(t,93,0,"Pass"==t.context.$implicit.result,"Pass"!=t.context.$implicit.result),n(t,94,0,t.context.$implicit.result),n(t,96,0,t.context.$implicit.correctiveAction),n(t,98,0,l.doRR),n(t,104,0,!l.doRR)})}function P(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,58,"div",[["class","row"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵeld(2,0,null,null,55,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),F.ɵeld(3,0,null,null,54,"table",[["class","striped report-flow-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(5,0,null,null,45,"thead",[],null,null,null,null,null)),(n()(),F.ɵeld(6,0,null,null,44,"tr",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(8,0,null,null,1,"th",[["class","hide-on-med-and-down"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Number"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(11,0,null,null,3,"th",[],null,null,null,null,null)),(n()(),F.ɵeld(12,0,null,null,1,"span",[["class","hide-on-large-only"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Number / "])),(n()(),F.ɵted(-1,null,["Name"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(16,0,null,null,1,"th",[["class","hide-on-med-and-down"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Lot"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(19,0,null,null,3,"th",[],null,null,null,null,null)),(n()(),F.ɵeld(20,0,null,null,1,"span",[["class","hide-on-large-only"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Lot / "])),(n()(),F.ɵted(-1,null,["Probe"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(24,0,null,null,1,"th",[["class","hide"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Date"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(27,0,null,null,1,"th",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Cook Temp / DO"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(30,0,null,null,1,"th",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Cooling Start"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(33,0,null,null,1,"th",[],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["Tier 1"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(36,0,null,null,1,"th",[],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["Tier 2"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(39,0,null,null,1,"th",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Total Time / DO"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(42,0,null,null,1,"th",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Results / CAR "])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(45,0,null,null,1,"th",[],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["RR"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(48,0,null,null,1,"th",[],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["Verified Results"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(52,0,null,null,4,"tbody",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,T)),F.ɵdid(55,802816,null,0,j.NgForOf,[F.ViewContainerRef,F.TemplateRef,F.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t"]))],function(n,t){n(t,55,0,t.component.ccdata)},function(n,t){var l=t.component;n(t,33,0,!l.showTiers),n(t,36,0,!l.showTiers),n(t,45,0,l.doRR),n(t,48,0,!l.doRR)})}function k(n){return F.ɵvid(0,[F.ɵpid(0,j.DatePipe,[F.LOCALE_ID]),(n()(),F.ɵeld(1,0,null,null,237,"div",[["class","row"],["id","rprt"]],null,[[null,"click"]],function(n,t,l){var e=!0;if("click"===t){e=!1!==l.stopPropagation()&&e}return e},null,null)),(n()(),F.ɵted(-1,null,["\n\t"])),(n()(),F.ɵeld(3,0,null,null,222,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t"])),(n()(),F.ɵeld(5,0,null,null,219,"ul",[["class","collection with-header"],["style","list-style-type: none;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵeld(7,0,null,null,8,"li",[["class","collection-header hide-on-print"],["data-html2canvas-ignore","1"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(9,0,null,null,1,"span",[["class","black-text"],["style","font-weight: bolder;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Report Filter"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(12,0,null,null,2,"button",[["class","btn-floating btn-flat right"],["id","refresh"],["style","margin-top: -10px;"],["title","Refresh"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.refreshData()&&e}return e},null,null)),(n()(),F.ɵeld(13,0,null,null,1,"i",[["class","material-icons black-text"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["refresh"])),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵeld(17,0,null,null,206,"li",[["class","compactish collection-item"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(19,0,null,null,11,"div",[["class","input-field col s4 m3 l1"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(21,0,null,null,5,"input",[["class","compact"],["id","numberFilter"],["placeholder","Number"],["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]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==F.ɵnov(n,22)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,22).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,22)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,22)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.numberFilter=l)&&e}if("keyup"===t){e=!1!==i.filterNumber(l)&&e}return e},null,null)),F.ɵdid(22,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(24,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(26,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(28,0,null,null,1,"label",[["class","active"],["for","numberFilter"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Number"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(32,0,null,null,11,"div",[["class","input-field col s4 m3 l2"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(34,0,null,null,5,"input",[["class","compact"],["id","nameFilter"],["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]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==F.ɵnov(n,35)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,35).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,35)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,35)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.nameFilter=l)&&e}if("keyup"===t){e=!1!==i.filterName(l)&&e}return e},null,null)),F.ɵdid(35,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(37,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(39,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(41,0,null,null,1,"label",[["class","active"],["for","nameFilter"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Name"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(45,0,null,null,11,"div",[["class","input-field col s4 m3 l1"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(47,0,null,null,5,"input",[["class","compact"],["id","lotFilter"],["placeholder","Lot"],["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]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==F.ɵnov(n,48)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,48).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,48)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,48)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.lotFilter=l)&&e}if("keyup"===t){e=!1!==i.filterLot(l)&&e}return e},null,null)),F.ɵdid(48,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(50,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(52,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(54,0,null,null,1,"label",[["class","active"],["for","lotFilter"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Lot"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(58,0,null,null,11,"div",[["class","input-field col s4 m3 l1"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(60,0,null,null,5,"input",[["class","compact"],["id","probeFilter"],["placeholder","Probe"],["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]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==F.ɵnov(n,61)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,61).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,61)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,61)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.probeFilter=l)&&e}if("keyup"===t){e=!1!==i.filterProbe(l)&&e}return e},null,null)),F.ɵdid(61,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(63,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(65,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(67,0,null,null,1,"label",[["class","active"],["for","probeFilter"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Probe"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(71,0,null,null,7,"div",[["class","input-field col s4 m3 l1"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,e)),F.ɵdid(74,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(76,0,null,null,1,"label",[["class","active"],["for","dateFilter"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Date From"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(80,0,null,null,7,"div",[["class","input-field col s4 m3 l1"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,i)),F.ɵdid(83,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(85,0,null,null,1,"label",[["class","active"],["for","dateToFilter"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Date To"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(89,0,null,null,11,"div",[["class","input-field col s4 m3 l2"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(91,0,null,null,5,"input",[["class","compact"],["id","resultsFilter"],["placeholder","Results"],["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]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==F.ɵnov(n,92)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,92).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,92)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,92)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.resultsFilter=l)&&e}if("keyup"===t){e=!1!==i.filterResults(l)&&e}return e},null,null)),F.ɵdid(92,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(94,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(96,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(98,0,null,null,1,"label",[["class","active"],["for","resultsFilter"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Results"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(102,0,null,null,11,"div",[["class","input-field col s4 m2"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(104,0,null,null,5,"input",[["class","compact"],["id","verifiedBy"],["placeholder",""],["type","text"]],[[2,"invalid",null],[4,"background",null],[2,"ng-untouched",null],[2,"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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==F.ɵnov(n,105)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,105).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,105)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,105)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.verifiedBy=l)&&e}return e},null,null)),F.ɵdid(105,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(107,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(109,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(111,0,null,null,1,"label",[["class","active"],["for","verifiedBy"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Verified By"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(115,0,null,null,11,"div",[["class","input-field col s4 m2"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(117,0,null,null,5,"input",[["class","compact"],["disabled",""],["id","verifiedDate"],["placeholder",""],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==F.ɵnov(n,118)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,118).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,118)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,118)._compositionEnd(l.target.value)&&e}return e},null,null)),F.ɵdid(118,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(120,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},null),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(122,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(124,0,null,null,1,"label",[["class","active"],["for","verifiedDate"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Verified Date"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(128,0,null,null,8,"div",[["class","input-field col s4 m2"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(130,0,null,null,2,"input",[["class","compact"],["disabled",""],["id","verifiedTime"],["placeholder",""],["readonly",""],["type","text"]],[[8,"value",0]],null,null,null,null)),F.ɵpid(131072,j.AsyncPipe,[F.ChangeDetectorRef]),F.ɵppd(132,2),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(134,0,null,null,1,"label",[["class","active"],["for","verifiedTime"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Verified Time"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(138,0,null,null,11,"div",[["class","input-field col s4 m3"]],[[2,"hide",null]],null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(140,0,null,null,5,"input",[["class","compact"],["disabled",""],["id","verifiedMethod"],["placeholder",""],["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]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0;if("input"===t){e=!1!==F.ɵnov(n,141)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==F.ɵnov(n,141).onTouched()&&e}if("compositionstart"===t){e=!1!==F.ɵnov(n,141)._compositionStart()&&e}if("compositionend"===t){e=!1!==F.ɵnov(n,141)._compositionEnd(l.target.value)&&e}return e},null,null)),F.ɵdid(141,16384,null,0,U.DefaultValueAccessor,[F.Renderer2,F.ElementRef,[2,U.COMPOSITION_BUFFER_MODE]],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.DefaultValueAccessor]),F.ɵdid(143,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},null),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(145,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(147,0,null,null,1,"label",[["class","active"],["for","verifiedMethod"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Verified Method"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵeld(151,0,null,null,71,"div",[["class","col s8 m3"]],null,null,null,null,null)),(n()(),F.ɵeld(152,0,null,null,70,"div",[["class","row"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(154,0,null,null,20,"div",[["class","col s4"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵeld(156,0,null,null,17,"div",[["class","switch center"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(158,0,null,null,14,"label",[["class","compact"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\tDO/RR"])),(n()(),F.ɵeld(160,0,null,null,1,"span",[["class","hide-on-med-and-down"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,[" Only"])),(n()(),F.ɵeld(162,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(164,0,null,null,5,"input",[["class","compact"],["id","dorrsFilter"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==F.ɵnov(n,165).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==F.ɵnov(n,165).onTouched()&&e}if("ngModelChange"===t){e=!1!==(i.dorrsFilter=l)&&e}if("change"===t){e=!1!==i.filterHasDORR(l)&&e}return e},null,null)),F.ɵdid(165,16384,null,0,U.CheckboxControlValueAccessor,[F.Renderer2,F.ElementRef],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.CheckboxControlValueAccessor]),F.ɵdid(167,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(169,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(171,0,null,null,0,"span",[["class","lever"],["style","top: 0px;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(176,0,null,null,21,"div",[["class","col s4"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵeld(178,0,null,null,18,"div",[["class","switch center"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(180,0,null,null,15,"label",[["class","compact"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(182,0,null,null,1,"span",[["class","hide-on-med-and-down"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Show "])),(n()(),F.ɵted(-1,null,["T1/T2"])),(n()(),F.ɵeld(185,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(187,0,null,null,5,"input",[["class","compact"],["id","showTiers"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==F.ɵnov(n,188).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==F.ɵnov(n,188).onTouched()&&e}if("ngModelChange"===t){e=!1!==(i.showTiers=l)&&e}return e},null,null)),F.ɵdid(188,16384,null,0,U.CheckboxControlValueAccessor,[F.Renderer2,F.ElementRef],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.CheckboxControlValueAccessor]),F.ɵdid(190,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(192,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(194,0,null,null,0,"span",[["class","lever"],["style","top: 0px;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵeld(199,0,null,null,22,"div",[["class","col s4"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵeld(201,0,null,null,19,"div",[["class","switch center"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(203,0,null,null,16,"label",[["class","compact"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(205,0,null,null,1,"span",[["class","hide-on-med-and-down"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["Record Review"])),(n()(),F.ɵeld(207,0,null,null,1,"span",[["class","hide-on-large-only"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["RR"])),(n()(),F.ɵeld(209,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(211,0,null,null,5,"input",[["class","compact"],["id","doRR"],["type","checkbox"]],[[2,"ng-untouched",null],[2,"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"],[null,"change"],[null,"blur"]],function(n,t,l){var e=!0,i=n.component;if("change"===t){e=!1!==F.ɵnov(n,212).onChange(l.target.checked)&&e}if("blur"===t){e=!1!==F.ɵnov(n,212).onTouched()&&e}if("ngModelChange"===t){e=!1!==(i.doRR=l)&&e}return e},null,null)),F.ɵdid(212,16384,null,0,U.CheckboxControlValueAccessor,[F.Renderer2,F.ElementRef],null,null),F.ɵprd(1024,null,U.NG_VALUE_ACCESSOR,function(n){return[n]},[U.CheckboxControlValueAccessor]),F.ɵdid(214,671744,null,0,U.NgModel,[[8,null],[8,null],[8,null],[2,U.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),F.ɵprd(2048,null,U.NgControl,null,[U.NgModel]),F.ɵdid(216,16384,null,0,U.NgControlStatus,[U.NgControl],null,null),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t\t"])),(n()(),F.ɵeld(218,0,null,null,0,"span",[["class","lever"],["style","top: 0px;"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t\t"])),(n()(),F.ɵted(-1,null,["\n\t\t"])),(n()(),F.ɵted(-1,null,["\n\t"])),(n()(),F.ɵted(-1,null,["\n\t"])),(n()(),F.ɵeld(227,0,null,null,10,"div",[["class","col s12"],["id","selectedSiteReport"]],null,null,null,null,null)),(n()(),F.ɵted(-1,null,["\n\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,u)),F.ɵdid(230,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,o)),F.ɵdid(233,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t\t"])),(n()(),F.ɵand(16777216,null,null,1,null,P)),F.ɵdid(236,16384,null,0,j.NgIf,[F.ViewContainerRef,F.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),F.ɵted(-1,null,["\n\t"])),(n()(),F.ɵted(-1,null,["\n"])),(n()(),F.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,24,0,l.numberFilter),n(t,37,0,l.nameFilter),n(t,50,0,l.lotFilter),n(t,63,0,l.probeFilter),n(t,74,0,l.pickerVisible),n(t,83,0,l.pickerVisible),n(t,94,0,l.resultsFilter),n(t,107,0,l.verifiedBy);n(t,120,0,"",l.verifiedDate);n(t,143,0,"",l.verifiedMethod),n(t,167,0,l.dorrsFilter),n(t,190,0,l.showTiers),n(t,214,0,l.doRR),n(t,230,0,l.searching),n(t,233,0,!l.searching&&(void 0==l.ccdata||0==l.ccdata.length)),n(t,236,0,!l.searching&&void 0!==l.ccdata&&l.ccdata.length>0)},function(n,t){var l=t.component;n(t,19,0,l.doRR),n(t,21,0,F.ɵnov(t,26).ngClassUntouched,F.ɵnov(t,26).ngClassTouched,F.ɵnov(t,26).ngClassPristine,F.ɵnov(t,26).ngClassDirty,F.ɵnov(t,26).ngClassValid,F.ɵnov(t,26).ngClassInvalid,F.ɵnov(t,26).ngClassPending),n(t,32,0,l.doRR),n(t,34,0,F.ɵnov(t,39).ngClassUntouched,F.ɵnov(t,39).ngClassTouched,F.ɵnov(t,39).ngClassPristine,F.ɵnov(t,39).ngClassDirty,F.ɵnov(t,39).ngClassValid,F.ɵnov(t,39).ngClassInvalid,F.ɵnov(t,39).ngClassPending),n(t,45,0,l.doRR),n(t,47,0,F.ɵnov(t,52).ngClassUntouched,F.ɵnov(t,52).ngClassTouched,F.ɵnov(t,52).ngClassPristine,F.ɵnov(t,52).ngClassDirty,F.ɵnov(t,52).ngClassValid,F.ɵnov(t,52).ngClassInvalid,F.ɵnov(t,52).ngClassPending),n(t,58,0,l.doRR),n(t,60,0,F.ɵnov(t,65).ngClassUntouched,F.ɵnov(t,65).ngClassTouched,F.ɵnov(t,65).ngClassPristine,F.ɵnov(t,65).ngClassDirty,F.ɵnov(t,65).ngClassValid,F.ɵnov(t,65).ngClassInvalid,F.ɵnov(t,65).ngClassPending),n(t,71,0,l.doRR),n(t,80,0,l.doRR),n(t,89,0,l.doRR),n(t,91,0,F.ɵnov(t,96).ngClassUntouched,F.ɵnov(t,96).ngClassTouched,F.ɵnov(t,96).ngClassPristine,F.ɵnov(t,96).ngClassDirty,F.ɵnov(t,96).ngClassValid,F.ɵnov(t,96).ngClassInvalid,F.ɵnov(t,96).ngClassPending),n(t,102,0,!l.doRR),n(t,104,0,void 0===l.verifiedBy||""==l.verifiedBy,void 0===l.verifiedBy||""==l.verifiedBy?"yellow":"none",F.ɵnov(t,109).ngClassUntouched,F.ɵnov(t,109).ngClassTouched,F.ɵnov(t,109).ngClassPristine,F.ɵnov(t,109).ngClassDirty,F.ɵnov(t,109).ngClassValid,F.ɵnov(t,109).ngClassInvalid,F.ɵnov(t,109).ngClassPending),n(t,115,0,!l.doRR),n(t,117,0,F.ɵnov(t,122).ngClassUntouched,F.ɵnov(t,122).ngClassTouched,F.ɵnov(t,122).ngClassPristine,F.ɵnov(t,122).ngClassDirty,F.ɵnov(t,122).ngClassValid,F.ɵnov(t,122).ngClassInvalid,F.ɵnov(t,122).ngClassPending),n(t,128,0,!l.doRR),n(t,130,0,F.ɵinlineInterpolate(1,"",F.ɵunv(t,130,0,n(t,132,0,F.ɵnov(t,0),F.ɵunv(t,130,0,F.ɵnov(t,131).transform(l.verifiedTime)),"hh:mm:ss")),"")),n(t,138,0,!l.doRR),n(t,140,0,F.ɵnov(t,145).ngClassUntouched,F.ɵnov(t,145).ngClassTouched,F.ɵnov(t,145).ngClassPristine,F.ɵnov(t,145).ngClassDirty,F.ɵnov(t,145).ngClassValid,F.ɵnov(t,145).ngClassInvalid,F.ɵnov(t,145).ngClassPending),n(t,164,0,F.ɵnov(t,169).ngClassUntouched,F.ɵnov(t,169).ngClassTouched,F.ɵnov(t,169).ngClassPristine,F.ɵnov(t,169).ngClassDirty,F.ɵnov(t,169).ngClassValid,F.ɵnov(t,169).ngClassInvalid,F.ɵnov(t,169).ngClassPending),n(t,187,0,F.ɵnov(t,192).ngClassUntouched,F.ɵnov(t,192).ngClassTouched,F.ɵnov(t,192).ngClassPristine,F.ɵnov(t,192).ngClassDirty,F.ɵnov(t,192).ngClassValid,F.ɵnov(t,192).ngClassInvalid,F.ɵnov(t,192).ngClassPending),n(t,211,0,F.ɵnov(t,216).ngClassUntouched,F.ɵnov(t,216).ngClassTouched,F.ɵnov(t,216).ngClassPristine,F.ɵnov(t,216).ngClassDirty,F.ɵnov(t,216).ngClassValid,F.ɵnov(t,216).ngClassInvalid,F.ɵnov(t,216).ngClassPending)})}function D(n){return F.ɵvid(0,[(n()(),F.ɵeld(0,0,null,null,1,"my-report-view",[],null,null,null,k,t.RenderType_ReportViewComponent)),F.ɵdid(1,114688,null,0,z.ReportViewComponent,[q.CCDataService],null,null)],function(n,t){n(t,1,0)},null)}Object.defineProperty(t,"__esModule",{value:!0});var V=l(819),F=l(3),U=l(20),L=l(23),j=l(12),z=l(330),q=l(117),G=[V.styles];t.RenderType_ReportViewComponent=F.ɵcrt({encapsulation:0,styles:G,data:{}}),t.View_ReportViewComponent_0=k,t.View_ReportViewComponent_Host_0=D,t.ReportViewComponentNgFactory=F.ɵccf("my-report-view",z.ReportViewComponent,D,{sid:"sid",site:"site",ccdata:"ccdata"},{ccdataChange:"ccdataChange"},[])},819:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styles=["table[_ngcontent-%COMP%] {\n font-size: calc(8px + 8 * ((100vw - 500px) / 1300)) !important;\n}\n\nbutton.btn-label[_ngcontent-%COMP%] {\n margin-top: 20px;\n font-family: Arial;\n background-color: #eee;\n border: none;\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer; cursor: hand;\n}\nbutton.btn-label[_ngcontent-%COMP%]:hover {\n background-color: #cfd8dc;\n}\nbutton.btn-label[_ngcontent-%COMP%]:disabled {\n background-color: #eee;\n color: #ccc; \n cursor: auto;\n}\ninput[_ngcontent-%COMP%]:disabled, {\n font-weight: bold;\n color: rgba(0,0,0,0.45);\n}\ndiv.input-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n padding: 1px 0px;\n width: 100%;\n margin: 0px;\n}\n[_nghost-%COMP%] input.ng-dirty, [_nghost-%COMP%] .ng-dirty > input {\n border-bottom: 1px solid #f7df44 !important;\n box-shadow: 0 1px 0 0 #f7df44 !important;\n}\n[_nghost-%COMP%] input.ng-dirty.invalid, [_nghost-%COMP%] .ng-dirty.invalid > input {\n border-bottom: 1px solid #F44336 !important;\n box-shadow: 0 1px 0 0 #F44336 !important;\n}\nspan.dirty[_ngcontent-%COMP%] {\n color: #F44336;\n}\n.input-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:not(.label-icon).active {\n -webkit-transform: translateX(-5px) scale(0.8);\n transform: translateX(-5px) scale(0.8);\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n}\ninput.ng-dirty[_ngcontent-%COMP%] {\n border-bottom: 1px solid #9e9e9e !important;\n box-shadow: none !important;\n}\n.compactish[_ngcontent-%COMP%] {\n padding: 5px !important;\n margin: 0 !important;\n}\ninput[_ngcontent-%COMP%]:not([type]), input[type=text][_ngcontent-%COMP%]:not(.browser-default), input[type=password][_ngcontent-%COMP%]:not(.browser-default), input[type=email][_ngcontent-%COMP%]:not(.browser-default), input[type=url][_ngcontent-%COMP%]:not(.browser-default), input[type=time][_ngcontent-%COMP%]:not(.browser-default), input[type=date][_ngcontent-%COMP%]:not(.browser-default), input[type=datetime][_ngcontent-%COMP%]:not(.browser-default), input[type=datetime-local][_ngcontent-%COMP%]:not(.browser-default), input[type=tel][_ngcontent-%COMP%]:not(.browser-default), input[type=number][_ngcontent-%COMP%]:not(.browser-default), input[type=search][_ngcontent-%COMP%]:not(.browser-default), textarea.materialize-textarea[_ngcontent-%COMP%] {\n height: 2rem !important;\n margin-top: 1rem !important;\n}"]},820:function(n,t,l){"use strict";function e(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,8,"input",[["class","compact"],["id","dateFilter"],["materialize","pickadate"],["placeholder","Date"],["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]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==D.ɵnov(n,1)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==D.ɵnov(n,1).onTouched()&&e}if("compositionstart"===t){e=!1!==D.ɵnov(n,1)._compositionStart()&&e}if("compositionend"===t){e=!1!==D.ɵnov(n,1)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==i.filterDate(l)&&e}return e},null,null)),D.ɵdid(1,16384,null,0,V.DefaultValueAccessor,[D.Renderer2,D.ElementRef,[2,V.COMPOSITION_BUFFER_MODE]],null,null),D.ɵprd(1024,null,V.NG_VALUE_ACCESSOR,function(n){return[n]},[V.DefaultValueAccessor]),D.ɵdid(3,671744,null,0,V.NgModel,[[8,null],[8,null],[8,null],[2,V.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),D.ɵprd(2048,null,V.NgControl,null,[V.NgModel]),D.ɵdid(5,16384,null,0,V.NgControlStatus,[V.NgControl],null,null),D.ɵdid(6,5128192,null,0,F.MaterializeDirective,[D.ElementRef],{materializeParams:[0,"materializeParams"],materialize:[1,"materialize"],ngModel:[2,"ngModel"]},null),D.ɵpod(7,{format:0,closeOnSelect:1,container:2}),D.ɵpad(8,1)],function(n,t){var l=t.component;n(t,3,0,l.dateFilter);n(t,6,0,n(t,8,0,n(t,7,0,"mm/dd/yyyy",!1,"#rprt")),"pickadate",l.dateFilter)},function(n,t){n(t,0,0,D.ɵnov(t,5).ngClassUntouched,D.ɵnov(t,5).ngClassTouched,D.ɵnov(t,5).ngClassPristine,D.ɵnov(t,5).ngClassDirty,D.ɵnov(t,5).ngClassValid,D.ɵnov(t,5).ngClassInvalid,D.ɵnov(t,5).ngClassPending)})}function i(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,6,"div",[["class","container valign-wrapper"],["style","min-height: 20%;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(2,0,null,null,3,"div",[["class","progress left col s12 m6 blue lighten-3 valign"],["style","width: 100%;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(4,0,null,null,0,"div",[["class","indeterminate blue"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t"]))],null,null)}function u(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,7,"div",[["class","container valign-wrapper"],["style","min-height: 20%;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(2,0,null,null,4,"div",[["class","left col s12 m6"],["style","width: 100%;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(4,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["No Data Found"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t"]))],null,null)}function o(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,43,null,null,null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(2,0,null,null,1,"div",[["class","col s6"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Log must be kept for 1 Year, minimum"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(5,0,null,null,11,"div",[["class","col s2"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(7,0,null,null,5,"input",[["class","compact"],["id","sigs0"],["placeholder",""],["style","margin-top: 0 !important; width: 95% !important;"],["type","text"]],[[2,"invalid",null],[4,"background",null],[2,"ng-untouched",null],[2,"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"],[null,"focusout"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==D.ɵnov(n,8)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==D.ɵnov(n,8).onTouched()&&e}if("compositionstart"===t){e=!1!==D.ɵnov(n,8)._compositionStart()&&e}if("compositionend"===t){e=!1!==D.ɵnov(n,8)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.sigs[0]=l)&&e}if("focusout"===t){e=!1!==i.saveSignature()&&e}return e},null,null)),D.ɵdid(8,16384,null,0,V.DefaultValueAccessor,[D.Renderer2,D.ElementRef,[2,V.COMPOSITION_BUFFER_MODE]],null,null),D.ɵprd(1024,null,V.NG_VALUE_ACCESSOR,function(n){return[n]},[V.DefaultValueAccessor]),D.ɵdid(10,671744,null,0,V.NgModel,[[8,null],[8,null],[8,null],[2,V.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),D.ɵprd(2048,null,V.NgControl,null,[V.NgModel]),D.ɵdid(12,16384,null,0,V.NgControlStatus,[V.NgControl],null,null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(14,0,null,null,1,"label",[["class","right"],["for","sigs0"],["style","margin-right: 5%;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Signature (11AM)"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(18,0,null,null,11,"div",[["class","col s2"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(20,0,null,null,5,"input",[["class","compact"],["id","sigs1"],["placeholder",""],["style","margin-top: 0 !important; width: 95% !important;"],["type","text"]],[[2,"invalid",null],[4,"background",null],[2,"ng-untouched",null],[2,"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"],[null,"focusout"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==D.ɵnov(n,21)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==D.ɵnov(n,21).onTouched()&&e}if("compositionstart"===t){e=!1!==D.ɵnov(n,21)._compositionStart()&&e}if("compositionend"===t){e=!1!==D.ɵnov(n,21)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.sigs[1]=l)&&e}if("focusout"===t){e=!1!==i.saveSignature()&&e}return e},null,null)),D.ɵdid(21,16384,null,0,V.DefaultValueAccessor,[D.Renderer2,D.ElementRef,[2,V.COMPOSITION_BUFFER_MODE]],null,null),D.ɵprd(1024,null,V.NG_VALUE_ACCESSOR,function(n){return[n]},[V.DefaultValueAccessor]),D.ɵdid(23,671744,null,0,V.NgModel,[[8,null],[8,null],[8,null],[2,V.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),D.ɵprd(2048,null,V.NgControl,null,[V.NgModel]),D.ɵdid(25,16384,null,0,V.NgControlStatus,[V.NgControl],null,null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(27,0,null,null,1,"label",[["class","right"],["for","sigs1"],["style","margin-right: 5%;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Signature (3PM)"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(31,0,null,null,11,"div",[["class","col s2"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(33,0,null,null,5,"input",[["class","compact"],["id","sigs2"],["placeholder",""],["style","margin-top: 0 !important; width: 95% !important;"],["type","text"]],[[2,"invalid",null],[4,"background",null],[2,"ng-untouched",null],[2,"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"],[null,"focusout"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,t,l){var e=!0,i=n.component;if("input"===t){e=!1!==D.ɵnov(n,34)._handleInput(l.target.value)&&e}if("blur"===t){e=!1!==D.ɵnov(n,34).onTouched()&&e}if("compositionstart"===t){e=!1!==D.ɵnov(n,34)._compositionStart()&&e}if("compositionend"===t){e=!1!==D.ɵnov(n,34)._compositionEnd(l.target.value)&&e}if("ngModelChange"===t){e=!1!==(i.sigs[2]=l)&&e}if("focusout"===t){e=!1!==i.saveSignature()&&e}return e},null,null)),D.ɵdid(34,16384,null,0,V.DefaultValueAccessor,[D.Renderer2,D.ElementRef,[2,V.COMPOSITION_BUFFER_MODE]],null,null),D.ɵprd(1024,null,V.NG_VALUE_ACCESSOR,function(n){return[n]},[V.DefaultValueAccessor]),D.ɵdid(36,671744,null,0,V.NgModel,[[8,null],[8,null],[8,null],[2,V.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),D.ɵprd(2048,null,V.NgControl,null,[V.NgModel]),D.ɵdid(38,16384,null,0,V.NgControlStatus,[V.NgControl],null,null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(40,0,null,null,1,"label",[["class","right"],["for","sigs2"],["style","margin-right: 5%;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Signature (7PM)"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"]))],function(n,t){var l=t.component;n(t,10,0,l.sigs[0]),n(t,23,0,l.sigs[1]),n(t,36,0,l.sigs[2])},function(n,t){var l=t.component;n(t,7,0,void 0===l.sigs[0]||""==l.sigs[0],void 0===l.sigs[0]||""==l.sigs[0]?"yellow":"none",D.ɵnov(t,12).ngClassUntouched,D.ɵnov(t,12).ngClassTouched,D.ɵnov(t,12).ngClassPristine,D.ɵnov(t,12).ngClassDirty,D.ɵnov(t,12).ngClassValid,D.ɵnov(t,12).ngClassInvalid,D.ɵnov(t,12).ngClassPending),n(t,20,0,void 0===l.sigs[1]||""==l.sigs[1],void 0===l.sigs[1]||""==l.sigs[1]?"yellow":"none",D.ɵnov(t,25).ngClassUntouched,D.ɵnov(t,25).ngClassTouched,D.ɵnov(t,25).ngClassPristine,D.ɵnov(t,25).ngClassDirty,D.ɵnov(t,25).ngClassValid,D.ɵnov(t,25).ngClassInvalid,D.ɵnov(t,25).ngClassPending),n(t,33,0,void 0===l.sigs[2]||""==l.sigs[2],void 0===l.sigs[2]||""==l.sigs[2]?"yellow":"none",D.ɵnov(t,38).ngClassUntouched,D.ɵnov(t,38).ngClassTouched,D.ɵnov(t,38).ngClassPristine,D.ɵnov(t,38).ngClassDirty,D.ɵnov(t,38).ngClassValid,D.ɵnov(t,38).ngClassInvalid,D.ɵnov(t,38).ngClassPending)})}function r(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,2,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵeld(1,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),D.ɵted(2,null,["",""]))],null,function(n,t){n(t,2,0,t.parent.context.$implicit.notes)})}function s(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,2,"th",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵeld(1,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(2,null,["",""]))],null,function(n,t){n(t,2,0,t.context.$implicit.name)})}function a(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,1,"span",[["class","cc-impt green-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Yes"]))],null,null)}function d(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,1,"span",[["class","cc-impt red-text text-darken-2"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["No"]))],null,null)}function c(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,1,"span",[["class","red-text text-darken-2"],["style","white-space: nowrap;"]],null,null,null,null,null)),(n()(),D.ɵted(1,null,["",""]))],null,function(n,t){n(t,1,0,t.parent.parent.parent.context.$implicit.grd)})}function p(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,10,null,null,null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,a)),D.ɵdid(3,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,d)),D.ɵdid(6,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,c)),D.ɵdid(9,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){n(t,3,0,"Pass"==t.parent.parent.context.$implicit.grd),n(t,6,0,"Fail"==t.parent.parent.context.$implicit.grd),n(t,9,0,"Pass"!=t.parent.parent.context.$implicit.grd&&"Fail"!=t.parent.parent.context.$implicit.grd)},null)}function h(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,1,"span",[["class","cc-impt green-text"]],null,null,null,null,null)),(n()(),D.ɵted(1,null,["",""]))],null,function(n,t){n(t,1,0,t.parent.parent.parent.context.$implicit.msr)})}function f(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,1,"span",[["class","red-text text-darken-2"],["style","white-space: nowrap;"]],null,null,null,null,null)),(n()(),D.ɵted(1,null,["",""]))],null,function(n,t){n(t,1,0,t.parent.parent.parent.context.$implicit.grd)})}function g(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,7,null,null,null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,h)),D.ɵdid(3,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,f)),D.ɵdid(6,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){n(t,3,0,"Pass"==t.parent.parent.context.$implicit.grd),n(t,6,0,"Pass"!=t.parent.parent.context.$implicit.grd)},null)}function m(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,2,"span",[["class","cc-impt green-text"]],null,null,null,null,null)),(n()(),D.ɵted(1,null,["","° ",""])),D.ɵppd(2,2)],null,function(n,t){n(t,1,0,D.ɵunv(t,1,0,n(t,2,0,D.ɵnov(t.parent.parent.parent.parent.parent.parent.parent.parent,0),t.parent.parent.parent.context.$implicit.msr,"1.0-1")),t.parent.parent.parent.context.$implicit.dgr)})}function v(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,2,"span",[["class","red-text text-darken-2"],["style","white-space: nowrap;"]],null,null,null,null,null)),(n()(),D.ɵted(1,null,["","° ",""])),D.ɵppd(2,2)],null,function(n,t){n(t,1,0,D.ɵunv(t,1,0,n(t,2,0,D.ɵnov(t.parent.parent.parent.parent.parent.parent.parent.parent,0),t.parent.parent.parent.context.$implicit.msr,"1.0-1")),t.parent.parent.parent.context.$implicit.dgr)})}function C(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,1,"span",[["class","red-text text-darken-2"],["style","white-space: nowrap;"]],null,null,null,null,null)),(n()(),D.ɵted(1,null,["",""]))],null,function(n,t){n(t,1,0,t.parent.parent.parent.context.$implicit.grd)})}function y(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,10,null,null,null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,m)),D.ɵdid(3,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,v)),D.ɵdid(6,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,C)),D.ɵdid(9,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){n(t,3,0,"Pass"==t.parent.parent.context.$implicit.grd),n(t,6,0,"Fail"==t.parent.parent.context.$implicit.grd),n(t,9,0,"Pass"!=t.parent.parent.context.$implicit.grd&&"Fail"!=t.parent.parent.context.$implicit.grd)},null)}function b(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),D.ɵted(1,null,["/ ",""])),D.ɵpid(0,U.SlicePipe,[])],null,function(n,t){n(t,1,0,D.ɵunv(t,1,0,D.ɵnov(t,2).transform(t.parent.parent.context.$implicit.did,0,5)))})}function w(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,15,null,null,null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,p)),D.ɵdid(3,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,g)),D.ɵdid(6,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,y)),D.ɵdid(9,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,b)),D.ɵdid(12,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵeld(14,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){n(t,3,0,0==t.parent.parent.context.$implicit.typ.indexOf("Pass")),n(t,6,0,0==t.parent.parent.context.$implicit.typ.indexOf("Scored")),n(t,9,0,-1==t.parent.parent.context.$implicit.typ.indexOf("Inspection")),n(t,12,0,"Missed"!=t.parent.context.$implicit.grd)},null)}function S(n){return D.ɵvid(0,[(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,w)),D.ɵdid(2,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){n(t,2,0,0==t.context.$implicit.due.indexOf(t.parent.parent.context.$implicit))},null)}function _(n){return D.ɵvid(0,[(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵeld(1,0,null,null,4,"td",[["class","compact"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,S)),D.ɵdid(4,802816,null,0,U.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){n(t,4,0,t.context.$implicit.evts)},null)}function x(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,8,"tr",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵeld(2,0,null,null,2,"td",[["class","compact"]],null,null,null,null,null)),(n()(),D.ɵeld(3,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),D.ɵted(4,null,["",""])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,_)),D.ɵdid(7,802816,null,0,U.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"]))],function(n,t){n(t,7,0,t.parent.context.$implicit.itms)},function(n,t){n(t,4,0,t.context.$implicit)})}function I(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,3,"span",[["class","cc-impt"]],null,null,null,null,null)),(n()(),D.ɵted(1,null,[""," / ",""])),D.ɵpid(0,U.SlicePipe,[]),(n()(),D.ɵeld(3,0,null,null,0,"br",[],null,null,null,null,null))],null,function(n,t){n(t,1,0,D.ɵunv(t,1,0,D.ɵnov(t,2).transform(t.parent.context.$implicit.did,0,5)),t.parent.context.$implicit.act)})}function E(n){return D.ɵvid(0,[(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,I)),D.ɵdid(2,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"]))],function(n,t){n(t,2,0,"Pass"!=t.context.$implicit.grd&&"Missed"!=t.context.$implicit.grd&&""!=t.context.$implicit.act)},null)}function R(n){return D.ɵvid(0,[(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵeld(1,0,null,null,4,"td",[["class","compact"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,E)),D.ɵdid(4,802816,null,0,U.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"]))],function(n,t){n(t,4,0,t.context.$implicit.evts)},null)}function O(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,30,"table",[["class","striped report-flow-text"]],null,null,null,null,null)),(n()(),D.ɵeld(1,0,null,null,29,"tbody",[],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(3,0,null,null,13,"tr",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵeld(5,0,null,null,7,"th",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵeld(7,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(8,null,["",""])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,r)),D.ɵdid(11,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,s)),D.ɵdid(15,802816,null,0,U.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,x)),D.ɵdid(19,802816,null,0,U.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(21,0,null,null,8,"tr",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵeld(23,0,null,null,2,"td",[["class","compact"]],null,null,null,null,null)),(n()(),D.ɵeld(24,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["CAR"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,R)),D.ɵdid(28,802816,null,0,U.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"]))],function(n,t){n(t,11,0,(null==t.context.$implicit.notes?null:t.context.$implicit.notes.length)>0),n(t,15,0,t.context.$implicit.itms),n(t,19,0,t.context.$implicit.time_grid),n(t,28,0,t.context.$implicit.itms)},function(n,t){n(t,8,0,t.context.$implicit.name)})}function A(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,10,"div",[["class","row"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,o)),D.ɵdid(3,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(5,0,null,null,4,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\n\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,O)),D.ɵdid(8,802816,null,0,U.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),D.ɵted(-1,null,["\n\n\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t"]))],function(n,t){var l=t.component;n(t,3,0,417==l.site.cid),n(t,8,0,l.ccpdata)},null)}function M(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,37,"tr",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(2,0,null,null,2,"td",[["class","compactish"]],[[2,"none",null]],null,null,null,null)),(n()(),D.ɵeld(3,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),D.ɵted(4,null,["",""])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(6,0,null,null,4,"td",[["class","compactish"]],[[2,"none",null]],null,null,null,null)),(n()(),D.ɵeld(7,0,null,null,3,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),D.ɵdid(8,278528,null,0,U.NgClass,[D.IterableDiffers,D.KeyValueDiffers,D.ElementRef,D.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),D.ɵpod(9,{"red-text text-darken-4":0}),(n()(),D.ɵted(10,null,["",""])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(12,0,null,null,2,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵeld(13,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),D.ɵted(14,null,["",""])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(16,0,null,null,2,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵeld(17,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),D.ɵted(18,null,["",""])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(20,0,null,null,2,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵeld(21,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),D.ɵted(22,null,["",""])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(24,0,null,null,2,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵeld(25,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),D.ɵted(26,null,["",""])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(28,0,null,null,4,"td",[["class","compactish"]],[[2,"norec",null]],null,null,null,null)),(n()(),D.ɵeld(29,0,null,null,3,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),D.ɵdid(30,278528,null,0,U.NgClass,[D.IterableDiffers,D.KeyValueDiffers,D.ElementRef,D.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),D.ɵpod(31,{"red-text text-darken-4":0}),(n()(),D.ɵted(32,null,["",""])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(34,0,null,null,2,"td",[["class","compactish"]],null,null,null,null,null)),(n()(),D.ɵeld(35,0,null,null,1,"span",[["class","cc-impt black-text"]],null,null,null,null,null)),(n()(),D.ɵted(36,null,["",""])),(n()(),D.ɵted(-1,null,["\n "]))],function(n,t){n(t,8,0,"cc-impt black-text",n(t,9,0,0==t.context.$implicit.ccps));n(t,30,0,"cc-impt black-text",n(t,31,0,t.context.$implicit.none==t.context.$implicit.ccps&&t.context.$implicit.none>0))},function(n,t){n(t,2,0,0==t.context.$implicit.ccps||t.context.$implicit.none>0),n(t,4,0,t.context.$implicit.store),n(t,6,0,0==t.context.$implicit.ccps),n(t,10,0,t.context.$implicit.ccps),n(t,14,0,t.context.$implicit.pass),n(t,18,0,t.context.$implicit.fail),n(t,22,0,t.context.$implicit.miss),n(t,26,0,t.context.$implicit.cnps),n(t,28,0,t.context.$implicit.none>0),n(t,32,0,t.context.$implicit.none),n(t,36,0,t.context.$implicit.unsch)})}function N(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,46,"div",[["class","row"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(2,0,null,null,43,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(4,0,null,null,40,"table",[["class","striped report-flow-text"]],null,null,null,null,null)),(n()(),D.ɵeld(5,0,null,null,39,"tbody",[],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(7,0,null,null,33,"tr",[],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(9,0,null,null,2,"th",[],null,null,null,null,null)),(n()(),D.ɵeld(10,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Store"])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(13,0,null,null,2,"th",[],null,null,null,null,null)),(n()(),D.ɵeld(14,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["CCPs"])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(17,0,null,null,2,"th",[],null,null,null,null,null)),(n()(),D.ɵeld(18,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Pass"])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(21,0,null,null,2,"th",[],null,null,null,null,null)),(n()(),D.ɵeld(22,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Fail"])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(25,0,null,null,2,"th",[],null,null,null,null,null)),(n()(),D.ɵeld(26,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Miss"])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(29,0,null,null,2,"th",[],null,null,null,null,null)),(n()(),D.ɵeld(30,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["CNP"])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(33,0,null,null,2,"th",[],null,null,null,null,null)),(n()(),D.ɵeld(34,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["No Rec."])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(37,0,null,null,2,"th",[],null,null,null,null,null)),(n()(),D.ɵeld(38,0,null,null,1,"span",[["class","cc-impt white-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Unsched"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,M)),D.ɵdid(43,802816,null,0,U.NgForOf,[D.ViewContainerRef,D.TemplateRef,D.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵted(-1,null,["\n\t\t"]))],function(n,t){n(t,43,0,t.component.ccpstats)},null)}function T(n){return D.ɵvid(0,[D.ɵpid(0,U.DecimalPipe,[D.LOCALE_ID]),(n()(),D.ɵeld(1,0,null,null,60,"div",[["class","row"],["id","rprt"]],null,[[null,"click"]],function(n,t,l){var e=!0;if("click"===t){e=!1!==l.stopPropagation()&&e}return e},null,null)),(n()(),D.ɵted(-1,null,["\n\t"])),(n()(),D.ɵeld(3,0,null,null,42,"div",[["class","col s12"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t"])),(n()(),D.ɵeld(5,0,null,null,39,"ul",[["class","collection with-header"],["style","list-style-type: none;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(7,0,null,null,12,"li",[["class","collection-header hide-on-print"],["data-html2canvas-ignore","1"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(9,0,null,null,1,"span",[["class","black-text"],["style","font-weight: bolder;"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Report Filter"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(12,0,null,null,2,"button",[["class","btn-floating btn-flat right"],["id","refresh"],["style","margin-top: -10px;"],["title","Refresh"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.refreshData()&&e}return e},null,null)),(n()(),D.ɵeld(13,0,null,null,1,"i",[["class","material-icons black-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["refresh"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(16,0,null,null,2,"button",[["class","btn-floating btn-flat right"],["id","print"],["style","margin-top: -10px;"],["title","Print"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.captureScreen()&&e}return e},null,null)),(n()(),D.ɵeld(17,0,null,null,1,"i",[["class","material-icons black-text"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["print"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵeld(21,0,null,null,22,"li",[["class","compactish collection-item"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(23,0,null,null,7,"div",[["class","input-field col s4 m3 l1"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,e)),D.ɵdid(26,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t\t\t\t"])),(n()(),D.ɵeld(28,0,null,null,1,"label",[["class","active"],["for","dateFilter"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Date"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵeld(32,0,null,null,10,"div",[["class","input-field col s4 m3 l1 hide-on-print"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(34,0,null,null,4,"button",[["class","compact btn-floating btn-flat hide-on-print"],["id","overview"],["style","margin-top: 1rem !important;"],["title","Overview"]],null,[[null,"click"]],function(n,t,l){var e=!0,i=n.component;if("click"===t){e=!1!==i.overviewData()&&e}return e},null,null)),(n()(),D.ɵeld(35,0,null,null,3,"i",[["class","material-icons hide-on-print"]],null,null,null,null,null)),D.ɵdid(36,278528,null,0,U.NgClass,[D.IterableDiffers,D.KeyValueDiffers,D.ElementRef,D.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),D.ɵpod(37,{"grey lighten-1 blue-text text-darken-2":0,"white black-text":1}),(n()(),D.ɵted(-1,null,["summarize"])),(n()(),D.ɵted(-1,null,["\n "])),(n()(),D.ɵeld(40,0,null,null,1,"label",[["class","active hide-on-print"],["for","overview"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["Overview"])),(n()(),D.ɵted(-1,null,["\n\t\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t\t"])),(n()(),D.ɵted(-1,null,["\n\t\t"])),(n()(),D.ɵted(-1,null,["\n\t"])),(n()(),D.ɵted(-1,null,["\n\t"])),(n()(),D.ɵeld(47,0,null,null,13,"div",[["class","col s12"],["id","selectedSiteReport"]],null,null,null,null,null)),(n()(),D.ɵted(-1,null,["\n\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,i)),D.ɵdid(50,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,u)),D.ɵdid(53,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,A)),D.ɵdid(56,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t\t"])),(n()(),D.ɵand(16777216,null,null,1,null,N)),D.ɵdid(59,16384,null,0,U.NgIf,[D.ViewContainerRef,D.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),D.ɵted(-1,null,["\n\t"])),(n()(),D.ɵted(-1,null,["\n"])),(n()(),D.ɵted(-1,null,["\n"]))],function(n,t){var l=t.component;n(t,26,0,l.pickerVisible);n(t,36,0,"material-icons hide-on-print",n(t,37,0,l.overview,!l.overview)),n(t,50,0,l.searching),n(t,53,0,!l.searching&&(!l.overview&&(void 0==l.ccpdata||0==l.ccpdata.length)||l.overview&&(void 0==l.ccpstats||0==l.ccpstats.length))),n(t,56,0,!l.searching&&void 0!==l.ccpdata&&l.ccpdata.length>0&&!l.overview),n(t,59,0,!l.searching&&void 0!==l.ccpstats&&l.ccpstats.length>0&&l.overview)},null)}function P(n){return D.ɵvid(0,[(n()(),D.ɵeld(0,0,null,null,1,"my-report-ccp",[],null,null,null,T,t.RenderType_ReportCCPComponent)),D.ɵdid(1,114688,null,0,L.ReportCCPComponent,[j.CCPDataService],null,null)],function(n,t){n(t,1,0)},null)}Object.defineProperty(t,"__esModule",{value:!0});var k=l(821),D=l(3),V=l(20),F=l(23),U=l(12),L=l(331),j=l(118),z=[k.styles];t.RenderType_ReportCCPComponent=D.ɵcrt({encapsulation:0,styles:z,data:{}}),t.View_ReportCCPComponent_0=T,t.View_ReportCCPComponent_Host_0=P,t.ReportCCPComponentNgFactory=D.ɵccf("my-report-ccp",L.ReportCCPComponent,P,{sid:"sid",site:"site",ccpdata:"ccpdata",ccpstats:"ccpstats"},{ccpdataChange:"ccpdataChange",ccpstatsChange:"ccpstatsChange"},[])},821:function(n,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styles=["table[_ngcontent-%COMP%] {\n font-size: calc(8px + 8 * ((100vw - 500px) / 1300)) !important;\n}\n\nbutton.btn-label[_ngcontent-%COMP%] {\n margin-top: 20px;\n font-family: Arial;\n background-color: #eee;\n border: none;\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer; cursor: hand;\n}\nbutton.btn-label[_ngcontent-%COMP%]:hover {\n background-color: #cfd8dc;\n}\nbutton.btn-label[_ngcontent-%COMP%]:disabled {\n background-color: #eee;\n color: #ccc; \n cursor: auto;\n}\ninput[_ngcontent-%COMP%]:disabled, {\n font-weight: bold;\n color: rgba(0,0,0,0.45);\n}\ndiv.input-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n padding: 1px 0px;\n width: 100%;\n margin: 0px;\n}\n[_nghost-%COMP%] input.ng-dirty, [_nghost-%COMP%] .ng-dirty > input {\n border-bottom: 1px solid #f7df44 !important;\n box-shadow: 0 1px 0 0 #f7df44 !important;\n}\n[_nghost-%COMP%] input.ng-dirty.invalid, [_nghost-%COMP%] .ng-dirty.invalid > input {\n border-bottom: 1px solid #F44336 !important;\n box-shadow: 0 1px 0 0 #F44336 !important;\n}\nspan.dirty[_ngcontent-%COMP%] {\n color: #F44336;\n}\n.input-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:not(.label-icon).active {\n -webkit-transform: translateX(-5px) scale(0.8);\n transform: translateX(-5px) scale(0.8);\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n}\ninput.ng-dirty[_ngcontent-%COMP%] {\n border-bottom: 1px solid #9e9e9e !important;\n box-shadow: none !important;\n}\n.compactish[_ngcontent-%COMP%] {\n padding: 5px !important;\n margin: 0 !important;\n}\ninput[_ngcontent-%COMP%]:not([type]), input[type=text][_ngcontent-%COMP%]:not(.browser-default), input[type=password][_ngcontent-%COMP%]:not(.browser-default), input[type=email][_ngcontent-%COMP%]:not(.browser-default), input[type=url][_ngcontent-%COMP%]:not(.browser-default), input[type=time][_ngcontent-%COMP%]:not(.browser-default), input[type=date][_ngcontent-%COMP%]:not(.browser-default), input[type=datetime][_ngcontent-%COMP%]:not(.browser-default), input[type=datetime-local][_ngcontent-%COMP%]:not(.browser-default), input[type=tel][_ngcontent-%COMP%]:not(.browser-default), input[type=number][_ngcontent-%COMP%]:not(.browser-default), input[type=search][_ngcontent-%COMP%]:not(.browser-default), textarea.materialize-textarea[_ngcontent-%COMP%] {\n height: 2rem !important;\n margin-top: 1rem !important;\n}\nth[_ngcontent-%COMP%], table.striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:nth-child(odd) > th[_ngcontent-%COMP%], table.striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:nth-child(even) > th[_ngcontent-%COMP%] {\n background-color: black;\n border-radius: 0;\n}\ntable[_ngcontent-%COMP%] {\n width: auto;\n float: left;\n display: table;\n border: 1px solid black;\n margin: 0 10px 5px 0;\n}\ntable.striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td.norec[_ngcontent-%COMP%], table.striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td.none[_ngcontent-%COMP%] {\n background-color: #fff59d; \n}\ntable.striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:nth-child(odd) > td.norec[_ngcontent-%COMP%], table.striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:nth-child(odd) > td.none[_ngcontent-%COMP%] {\n background-color: #fdd835; i\n}"]},822:function(n,t,l){(function(e,i){var u,u,u,o,o;!function(t,l){n.exports=l()}(0,function(){"use strict";function r(n){var t=0;if(71!==n[t++]||73!==n[t++]||70!==n[t++]||56!==n[t++]||56!=(n[t++]+1&253)||97!==n[t++])throw"Invalid GIF 87a/89a header.";var l=n[t++]|n[t++]<<8,e=n[t++]|n[t++]<<8,i=n[t++],u=i>>7,o=1<<1+(7&i);n[t++],n[t++];var r=null;u&&(r=t,t+=3*o);var a=!0,d=[],c=0,p=null,h=0,f=null;for(this.width=l,this.height=e;a&&t>2&7,t++;break;case 254:for(;0!==(I=n[t++]);)t+=I;break;default:throw"Unknown graphic control label: 0x"+n[t-1].toString(16)}break;case 44:var m=n[t++]|n[t++]<<8,v=n[t++]|n[t++]<<8,C=n[t++]|n[t++]<<8,y=n[t++]|n[t++]<<8,b=n[t++],w=b>>6&1,S=r,_=!1;b>>7&&(_=!0,S=t,t+=3*(1<<1+(7&b)));var x=t;for(t++;;){var I;if(0===(I=n[t++]))break;t+=I}d.push({x:m,y:v,width:C,height:y,has_local_palette:_,palette_offset:S,data_offset:x,data_length:t-x,transparent_index:p,interlaced:!!w,delay:c,disposal:h});break;case 59:a=!1;break;default:throw"Unknown gif block: 0x"+n[t-1].toString(16)}this.numFrames=function(){return d.length},this.loopCount=function(){return f},this.frameInfo=function(n){if(n<0||n>=d.length)throw"Frame index out of range.";return d[n]},this.decodeAndBlitFrameBGRA=function(t,e){var i=this.frameInfo(t),u=i.width*i.height,o=new Uint8Array(u);s(n,i.data_offset,o,u);var r=i.palette_offset,a=i.transparent_index;null===a&&(a=256);var d=i.width,c=l-d,p=d,h=4*(i.y*l+i.x),f=4*((i.y+i.height)*l+i.x),g=h,m=4*c;!0===i.interlaced&&(m+=4*(d+c)*7);for(var v=8,C=0,y=o.length;C>=1)),b===a)g+=4;else{var w=n[r+3*b],S=n[r+3*b+1],_=n[r+3*b+2];e[g++]=_,e[g++]=S,e[g++]=w,e[g++]=255}--p}},this.decodeAndBlitFrameRGBA=function(t,e){var i=this.frameInfo(t),u=i.width*i.height,o=new Uint8Array(u);s(n,i.data_offset,o,u);var r=i.palette_offset,a=i.transparent_index;null===a&&(a=256);var d=i.width,c=l-d,p=d,h=4*(i.y*l+i.x),f=4*((i.y+i.height)*l+i.x),g=h,m=4*c;!0===i.interlaced&&(m+=4*(d+c)*7);for(var v=8,C=0,y=o.length;C>=1)),b===a)g+=4;else{var w=n[r+3*b],S=n[r+3*b+1],_=n[r+3*b+2];e[g++]=w,e[g++]=S,e[g++]=_,e[g++]=255}--p}}}function s(n,t,l,e){for(var i=n[t++],u=1<>=s,d-=s,m!==u){if(m===o)break;for(var v=m>8,++C;var b=y;if(e>=8;null!==g&&r<4096&&(f[r++]=g<<8|b,a+1<=r&&s<12&&(++s,a=a<<1|1)),g=m}else r=o+1,a=(1<<(s=i+1))-1,g=null}return p!==e&&console.log("Warning, gif stream shorter than expected."),l}function a(n){function t(n,t){for(var l=0,e=0,i=new Array,u=1;u<=16;u++){for(var o=1;o<=n[u];o++)i[t[e]]=[],i[t[e]][0]=l,i[t[e]][1]=u,e++,l++;l*=2}return i}function l(n){for(var t=n[0],l=n[1]-1;0<=l;)t&1<>8&255),e(255&n)}function u(n,t,e,i,u){for(var o,r=u[0],s=u[240],a=function(n,t){var l,e,i,u,o,r,s,a,d,c,p=0;for(d=0;d<8;++d){l=n[p],e=n[p+1],i=n[p+2],u=n[p+3],o=n[p+4],r=n[p+5],s=n[p+6];var h=l+(a=n[p+7]),f=l-a,g=e+s,m=e-s,v=i+r,C=i-r,b=u+o,w=u-o,S=h+b,_=h-b,x=g+v,I=g-v;n[p]=S+x,n[p+4]=S-x;var E=.707106781*(I+_);n[p+2]=_+E,n[p+6]=_-E;var R=.382683433*((S=w+C)-(I=m+f)),O=.5411961*S+R,A=1.306562965*I+R,M=.707106781*(x=C+m),N=f+M,T=f-M;n[p+5]=T+O,n[p+3]=T-O,n[p+1]=N+A,n[p+7]=N-A,p+=8}for(d=p=0;d<8;++d){l=n[p],e=n[p+8],i=n[p+16],u=n[p+24],o=n[p+32],r=n[p+40],s=n[p+48];var P=l+(a=n[p+56]),k=l-a,D=e+s,V=e-s,F=i+r,U=i-r,L=u+o,j=u-o,z=P+L,q=P-L,G=D+F,B=D-F;n[p]=z+G,n[p+32]=z-G;var $=.707106781*(B+q);n[p+16]=q+$,n[p+48]=q-$;var H=.382683433*((z=j+U)-(B=V+k)),W=.5411961*z+H,K=1.306562965*B+H,Y=.707106781*(G=U+V),J=k+Y,X=k-Y;n[p+40]=X+W,n[p+24]=X-W,n[p+8]=J+K,n[p+56]=J-K,p++}for(d=0;d<64;++d)c=n[d]*t[d],y[d]=0>4;for(var w=1;w<=h;++w)l(s);m&=15}o=32767+b[f],l(u[(m<<4)+C[o]]),l(v[o]),f++}return 63!=p&&l(r),e}function o(n){n<=0&&(n=1),100>3)*W+(z=4*(7&G)),H<=K+q&&(j-=W*(K+1+q-H)),W<=b+z&&(j-=b+z-W+4),R=B[j++],A=B[j++],U=B[j++],x[G]=(O[R]+O[A+256>>0]+O[U+512>>0]>>16)-128,I[G]=(O[R+768>>0]+O[A+1024>>0]+O[U+1280>>0]>>16)-128,E[G]=(O[R+1280>>0]+O[A+1536>>0]+O[U+1792>>0]>>16)-128;v=u(x,g,v,r,a),C=u(I,m,C,s,d),y=u(E,m,y,s,d),b+=32}K+=8}if(0<=_){var Y=[];Y[1]=_+1,Y[0]=(1<<_+1)-1,l(Y)}return i(65497),new Uint8Array(w)},function(){(new Date).getTime(),n||(n=50),function(){for(var n=String.fromCharCode,t=0;t<256;t++)R[t]=n(t)}(),r=t(M,N),s=t(k,D),a=t(T,P),d=t(V,F),function(){for(var n=1,t=2,l=1;l<=15;l++){for(var e=n;e>0]=38470*n,O[n+512>>0]=7471*n+32768,O[n+768>>0]=-11059*n,O[n+1024>>0]=-21709*n,O[n+1280>>0]=32768*n+8421375,O[n+1536>>0]=-27439*n,O[n+1792>>0]=-5329*n}(),o(n),(new Date).getTime()}()}function d(n,t){if(this.pos=0,this.buffer=n,this.datav=new DataView(n.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}var c,p,h,f,g,m,v,C,y,b,w,S,_,x,I,E,R,O,A,M,N,T,P,k,D,V,F,U,L,j,z,q,G,B,$,H,W,K,Y,J,X,Z,Q,nn,tn,ln,en,un,on,rn,sn,an,dn,cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},pn=function(e){function i(n){var t={};this.subscribe=function(n,l,e){if("function"!=typeof l)return!1;t.hasOwnProperty(n)||(t[n]={});var i=Math.random().toString(35);return t[n][i]=[l,!!e],i},this.unsubscribe=function(n){for(var l in t)if(t[l][n])return delete t[l][n],!0;return!1},this.publish=function(l){if(t.hasOwnProperty(l)){var i=Array.prototype.slice.call(arguments,1),u=[];for(var o in t[l]){var r=t[l][o];try{r[0].apply(n,i)}catch(l){e.console&&console.error("jsPDF PubSub Error",l.message,l)}r[1]&&u.push(o)}u.length&&u.forEach(this.unsubscribe)}}}function o(n,t,l,u){var a={};"object"===(void 0===n?"undefined":cn(n))&&(n=(a=n).orientation,t=a.unit||t,l=a.format||l,u=a.compress||a.compressPdf||u),t=t||"mm",l=l||"a4",n=(""+(n||"P")).toLowerCase(),(""+l).toLowerCase();var d,c,p,h,f,g,m,v,C,y,b,w=!!u&&"function"==typeof Uint8Array,S=a.textColor||"0 g",_=a.drawColor||"0 G",x=a.fontSize||16,I=a.charSpace||0,E=a.R2L||!1,R=a.lineHeight||1.15,O=a.lineWidth||.200025,A="00000000000000000000000000000000",M=2,N=!1,T=[],P={},k={},D=0,V=[],F=[],U=[],L=[],j=[],z=0,q=0,G=0,B={title:"",subject:"",author:"",keywords:"",creator:""},$={},H=new i($),W=a.hotfixes||[],K=function(n){var t,l=n.ch1,e=n.ch2,i=n.ch3,u=n.ch4,o=(n.precision,"draw"===n.pdfColorType?["G","RG","K"]:["g","rg","k"]);if("string"==typeof l&&"#"!==l.charAt(0)){var r=new RGBColor(l);r.ok&&(l=r.toHex())}if("string"==typeof l&&/^#[0-9A-Fa-f]{3}$/.test(l)&&(l="#"+l[1]+l[1]+l[2]+l[2]+l[3]+l[3]),"string"==typeof l&&/^#[0-9A-Fa-f]{6}$/.test(l)){var s=parseInt(l.substr(1),16);l=s>>16&255,e=s>>8&255,i=255&s}if(void 0===e||void 0===u&&l===e&&e===i)if("string"==typeof l)t=l+" "+o[0];else switch(n.precision){case 2:t=Q(l/255)+" "+o[0];break;case 3:default:t=nn(l/255)+" "+o[0]}else if(void 0===u||"object"===(void 0===u?"undefined":cn(u))){if("string"==typeof l)t=[l,e,i,o[1]].join(" ");else switch(n.precision){case 2:t=[Q(l/255),Q(e/255),Q(i/255),o[1]].join(" ");break;default:case 3:t=[nn(l/255),nn(e/255),nn(i/255),o[1]].join(" ")}u&&0===u.a&&(t=["255","255","255",o[1]].join(" "))}else if("string"==typeof l)t=[l,e,i,u,o[2]].join(" ");else switch(n.precision){case 2:t=[Q(l),Q(e),Q(i),Q(u),o[2]].join(" ");break;case 3:default:t=[nn(l),nn(e),nn(i),nn(u),o[2]].join(" ")}return t},Y=function(n){var t=function(n){return("0"+parseInt(n)).slice(-2)},l=n.getTimezoneOffset(),e=l<0?"+":"-",i=Math.floor(Math.abs(l/60)),u=Math.abs(l%60),o=[e,t(i),"'",t(u),"'"].join("");return["D:",n.getFullYear(),t(n.getMonth()+1),t(n.getDate()),t(n.getHours()),t(n.getMinutes()),t(n.getSeconds()),o].join("")},J=function(n){var t;return void 0===(void 0===n?"undefined":cn(n))&&(n=new Date),t="object"===(void 0===n?"undefined":cn(n))&&"[object Date]"===Object.prototype.toString.call(n)?Y(n):/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(n)?n:Y(new Date),y=t},X=function(n){var t=y;return"jsDate"===n&&(t=function(n){var t=parseInt(n.substr(2,4),10),l=parseInt(n.substr(6,2),10)-1,e=parseInt(n.substr(8,2),10),i=parseInt(n.substr(10,2),10),u=parseInt(n.substr(12,2),10),o=parseInt(n.substr(14,2),10);return parseInt(n.substr(16,2),10),parseInt(n.substr(20,2),10),new Date(t,l,e,i,u,o,0)}(y)),t},Z=function(n){return n=n||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),A=n},Q=function(n){return n.toFixed(2)},nn=function(n){return n.toFixed(3)},tn=function(n){n="string"==typeof n?n:n.toString(),N?V[h].push(n):(G+=n.length+1,L.push(n))},ln=function(){return T[++M]=G,tn(M+" 0 obj"),M},en=function(n){tn("stream"),tn(n),tn("endstream")},un=function(){for(var n in tn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),tn("/Font <<"),P)P.hasOwnProperty(n)&&tn("/"+n+" "+P[n].objectNumber+" 0 R");tn(">>"),tn("/XObject <<"),H.publish("putXobjectDict"),tn(">>")},on=function(){!function(){for(var n in P)P.hasOwnProperty(n)&&(t=P[n],H.publish("putFont",{font:t,out:tn,newObject:ln}),!0!==t.isAlreadyPutted&&(t.objectNumber=ln(),tn("<<"),tn("/Type /Font"),tn("/BaseFont /"+t.postScriptName),tn("/Subtype /Type1"),"string"==typeof t.encoding&&tn("/Encoding /"+t.encoding),tn("/FirstChar 32"),tn("/LastChar 255"),tn(">>"),tn("endobj")));var t}(),H.publish("putResources"),T[2]=G,tn("2 0 obj"),tn("<<"),un(),tn(">>"),tn("endobj"),H.publish("postPutResources")},rn=function(n,t,l){k.hasOwnProperty(t)||(k[t]={}),k[t][l]=n},sn=function(n,t,l,e){var i="F"+(Object.keys(P).length+1).toString(10),u=P[i]={id:i,postScriptName:n,fontName:t,fontStyle:l,encoding:e,metadata:{}};return rn(i,t,l),H.publish("addFont",u),i},an=function(n,t){return function(n,t){var l,e,i,u,o,r,s,a,c;if(i=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&P[d].metadata&&P[d].metadata[i]&&P[d].metadata[i].encoding&&(u=P[d].metadata[i].encoding,!o&&P[d].encoding&&(o=P[d].encoding),!o&&u.codePages&&(o=u.codePages[0]),"string"==typeof o&&(o=u[o]),o)){for(s=!1,r=[],l=0,e=n.length;l>8&&(s=!0);n=r.join("")}for(l=n.length;void 0===s&&0!==l;)n.charCodeAt(l-1)>>8&&(s=!0),l--;if(!s)return n;for(r=t.noBOM?[]:[254,255],l=0,e=n.length;l>8)>>8)throw new Error("Character at position "+l+" of string '"+n+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");r.push(c),r.push(a-(c<<8))}return String.fromCharCode.apply(void 0,r)}(n,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},dn=function(){(function(n,t){var l="string"==typeof t&&t.toLowerCase();if("string"==typeof n){var e=n.toLowerCase();s.hasOwnProperty(e)&&(n=s[e][0]/c,t=s[e][1]/c)}if(Array.isArray(n)&&(t=n[1],n=n[0]),l){switch(l.substr(0,1)){case"l":n>"),tn("endobj"),t=V[n].join("\n"),ln(),w){for(l=[],i=t.length;i--;)l[i]=t.charCodeAt(i);r=s.from(t),(u=new Deflater(6)).append(new Uint8Array(l)),t=u.flush(),(l=new Uint8Array(t.length+6)).set(new Uint8Array([120,156])),l.set(t,2),l.set(new Uint8Array([255&r,r>>8&255,r>>16&255,r>>24&255]),t.length+2),t=String.fromCharCode.apply(null,l),tn("<>")}else tn("<>");en(t),tn("endobj")}T[1]=G,tn("1 0 obj"),tn("<>"),tn("endobj"),H.publish("postPutPages")}(),function(){H.publish("putAdditionalObjects");for(var n=0;n>"),tn("endobj"),ln(),tn("<<"),function(){switch(tn("/Type /Catalog"),tn("/Pages 1 0 R"),v||(v="fullwidth"),v){case"fullwidth":tn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":tn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":tn("/OpenAction [3 0 R /Fit]");break;case"original":tn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+v;"%"===n.substr(n.length-1)&&(v=parseInt(v)/100),"number"==typeof v&&tn("/OpenAction [3 0 R /XYZ null null "+Q(v)+"]")}switch(C||(C="continuous"),C){case"continuous":tn("/PageLayout /OneColumn");break;case"single":tn("/PageLayout /SinglePage");break;case"two":case"twoleft":tn("/PageLayout /TwoColumnLeft");break;case"tworight":tn("/PageLayout /TwoColumnRight")}m&&tn("/PageMode /"+m),H.publish("putCatalog")}(),tn(">>"),tn("endobj");var n,t=G,l="0000000000";for(tn("xref"),tn("0 "+(M+1)),tn(l+" 65535 f "),n=1;n<=M;n++){var i=T[n];tn("function"==typeof i?(l+T[n]()).slice(-10)+" 00000 n ":(l+T[n]).slice(-10)+" 00000 n ")}return tn("trailer"),tn("<<"),tn("/Size "+(M+1)),tn("/Root "+M+" 0 R"),tn("/Info "+(M-1)+" 0 R"),tn("/ID [ <"+A+"> <"+A+"> ]"),tn(">>"),tn("startxref"),tn(""+t),tn("%%EOF"),N=!0,L.join("\n")},gn=function(n){var t="S";return"F"===n?t="f":"FD"===n||"DF"===n?t="B":"f"!==n&&"f*"!==n&&"B"!==n&&"B*"!==n||(t=n),t},mn=function(){for(var n=fn(),t=n.length,l=new ArrayBuffer(t),e=new Uint8Array(l);t--;)e[t]=n.charCodeAt(t);return l},vn=function(){return new Blob([mn()],{type:"application/pdf"})},Cn=((b=function(n,t){var l="dataur"===(""+n).substr(0,6)?"data:application/pdf;base64,"+btoa(fn()):0;switch(n){case void 0:return fn();case"save":if("object"===("undefined"==typeof navigator?"undefined":cn(navigator))&&navigator.getUserMedia&&(void 0===e.URL||void 0===e.URL.createObjectURL))return $.output("dataurlnewwindow");An(vn(),t),"function"==typeof An.unload&&e.setTimeout&&setTimeout(An.unload,911);break;case"arraybuffer":return mn();case"blob":return vn();case"bloburi":case"bloburl":return e.URL&&e.URL.createObjectURL(vn())||void 0;case"datauristring":case"dataurlstring":return l;case"dataurlnewwindow":var i=e.open(l);if(i||"undefined"==typeof safari)return i;case"datauri":case"dataurl":return e.document.location.href=l;default:throw new Error('Output type "'+n+'" is not supported.')}}).foo=function(){try{return b.apply(this,arguments)}catch(l){var n=l.stack||"";~n.indexOf(" at ")&&(n=n.split(" at ")[1]);var t="Error in function "+n.split("\n")[0].split("<")[0]+": "+l.message;if(!e.console)throw new Error(t);e.console.error(t,l),e.alert&&alert(t)}},(b.foo.bar=b).foo),yn=function(n){return!0===Array.isArray(W)&&-1":")")):"[object Array]"===Object.prototype.toString.call(y[J])&&(X=parseFloat(y[J][1]).toFixed(2),Z=parseFloat(y[J][2]).toFixed(2),Q=(o?"<":"(")+y[J][0]+(o?">":")"),nn=1),void 0!==B&&void 0!==B[J]&&(ln=B[J]+" Tw\n"),0!==A.length&&0===J?n.push(ln+A.join(" ")+" "+X+" "+Z+" Tm\n"+Q):1===nn||0===nn&&0===J?n.push(ln+X+" "+Z+" Td\n"+Q):n.push(ln+Q);n=0===nn?n.join(" Tj\nT* "):n.join(" Tj\n"),n+=" Tj\n";var en="BT\n/"+d+" "+x+" Tf\n"+(x*a).toFixed(2)+" TL\n"+S+"\n";return en+=s,en+=n,tn(en+="ET"),c},$.lstext=function(n,t,l,e){console.warn("jsPDF.lstext is deprecated");for(var i=0,u=n.length;i, https://github.com/MrRio/jsPDF * 2010 Aaron Spike, https://github.com/acspike * 2012 Willow Systems Corporation, willow-systems.com * 2012 Pablo Hess, https://github.com/pablohess * 2012 Florian Jenett, https://github.com/fjenett * 2013 Warren Weckesser, https://github.com/warrenweckesser * 2013 Youssef Beddad, https://github.com/lifof * 2013 Lee Driscoll, https://github.com/lsdriscoll * 2013 Stefan Slonevskiy, https://github.com/stefslon * 2013 Jeremy Morel, https://github.com/jmorel * 2013 Christoph Hartmann, https://github.com/chris-rock * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria * 2014 James Makes, https://github.com/dollaruw * 2014 Diego Casorran, https://github.com/diegocr * 2014 Steven Spungin, https://github.com/Flamenco * 2014 Kenneth Glassey, https://github.com/Gavvers * * Licensed under the MIT License * * Contributor(s): * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, * kim3er, mfo, alnorth, Flamenco */ !function(n,t){var l,e,i=1,u=function(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n},o=function(n){return n*(i/1)},r=function(n){var t=new E,l=j.internal.getHeight(n)||0,e=j.internal.getWidth(n)||0;return t.BBox=[0,0,e.toFixed(2),l.toFixed(2)],t},s=function(n,t,l){n=n||0;var e=1;return e<<=t-1,1==(l=l||1)?n|=e:n&=~e,n},a=function(n,t,l){return l=l||1.3,n=n||0,1==t.readOnly&&(n=s(n,1)),1==t.required&&(n=s(n,2)),1==t.noExport&&(n=s(n,3)),1==t.multiline&&(n=s(n,13)),t.password&&(n=s(n,14)),t.noToggleToOff&&(n=s(n,15)),t.radio&&(n=s(n,16)),t.pushbutton&&(n=s(n,17)),t.combo&&(n=s(n,18)),t.edit&&(n=s(n,19)),t.sort&&(n=s(n,20)),t.fileSelect&&1.4<=l&&(n=s(n,21)),t.multiSelect&&1.4<=l&&(n=s(n,22)),t.doNotSpellCheck&&1.4<=l&&(n=s(n,23)),1==t.doNotScroll&&1.4<=l&&(n=s(n,24)),t.richText&&1.4<=l&&(n=s(n,25)),n},d=function(n){var t=n[0],l=n[1],i=n[2],u=n[3],r={};return Array.isArray(t)?(t[0]=o(t[0]),t[1]=o(t[1]),t[2]=o(t[2]),t[3]=o(t[3])):(t=o(t),l=o(l),i=o(i),u=o(u)),r.lowerLeft_X=t||0,r.lowerLeft_Y=o(e)-l-u||0,r.upperRight_X=t+i||0,r.upperRight_Y=o(e)-l||0,[r.lowerLeft_X.toFixed(2),r.lowerLeft_Y.toFixed(2),r.upperRight_X.toFixed(2),r.upperRight_Y.toFixed(2)]},c=function(n){if(n.appearanceStreamContent)return n.appearanceStreamContent;if(n.V||n.DV){var t=[],l=n.V||n.DV,e=p(n,l);t.push("/Tx BMC"),t.push("q"),t.push("/F1 "+e.fontSize.toFixed(2)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push("BT"),t.push(e.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=new r(n);return i.stream=t.join("\n"),i}},p=function(n,t,l,e){e=e||12,l=l||"helvetica";var i={text:"",fontSize:""},u=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),o=e,r=j.internal.getHeight(n)||0;r=r<0?-r:r;var s=j.internal.getWidth(n)||0;s=s<0?-s:s;o++;n:for(;;){t="";var a=h("3",--o+"px",l).height,d=n.multiline?r-o:(r-a)/2,c=-2,p=d+=2,f=0,g=0,m=0;if(o<=0){o=12,t="(...) Tj\n",t+="% Width of Text: "+h(t,"1px").width+", FieldWidth:"+s+"\n";break}m=h(u[0]+" ",o+"px",l).width;var v="",C=0;for(var y in u){v=" "==(v+=u[y]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var b=parseInt(y);m=h(v+" ",o+"px",l).width;var w=function(n,t,e){if(n+1=u.length-1;if(!w||S){if(w||S){if(S)g=b;else if(n.multiline&&r<(a+2)*(C+2)+2)continue n}else{if(!n.multiline)continue n;if(r<(a+2)*(C+2)+2)continue n;g=b}for(var _="",x=f;x<=g;x++)_+=u[x]+" ";switch(_=" "==_.substr(_.length-1)?_.substr(0,_.length-1):_,m=h(_,o+"px",l).width,n.Q){case 2:c=s-m-2;break;case 1:c=(s-m)/2;break;case 0:default:c=2}t+=c.toFixed(2)+" "+p.toFixed(2)+" Td\n",t+="("+_+") Tj\n",t+=-c.toFixed(2)+" 0 Td\n",p=-(o+2),m=0,f=g+1,C++,v=""}else v+=" "}break}return i.text=t,i.fontSize=o,i},h=function(n,t,e){e=e||"helvetica";var i=l.internal.getFont(e),u=l.getStringUnitWidth(n,{font:i,fontSize:parseFloat(t),charSpace:0})*parseFloat(t);return{height:l.getStringUnitWidth("3",{font:i,fontSize:parseFloat(t),charSpace:0})*parseFloat(t)*1.5,width:u}},f={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},g=function(){for(var n in l.internal.acroformPlugin.acroFormDictionaryRoot.Fields){var t=l.internal.acroformPlugin.acroFormDictionaryRoot.Fields[n];t.hasAnnotation&&v.call(l,t)}},m=function(n){l.internal.acroformPlugin.printedOut&&(l.internal.acroformPlugin.printedOut=!1,l.internal.acroformPlugin.acroFormDictionaryRoot=null),l.internal.acroformPlugin.acroFormDictionaryRoot||S.call(l),l.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n)},v=function(n){var t={type:"reference",object:n};l.annotationPlugin.annotations[l.internal.getPageInfo(n.page).pageNumber].push(t)},C=function(){void 0!==l.internal.acroformPlugin.acroFormDictionaryRoot?l.internal.write("/AcroForm "+l.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R"):console.log("Root missing...")},y=function(){l.internal.events.unsubscribe(l.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete l.internal.acroformPlugin.acroFormDictionaryRoot._eventID,l.internal.acroformPlugin.printedOut=!0},b=function(n){var t=!n;n||(l.internal.newObjectDeferredBegin(l.internal.acroformPlugin.acroFormDictionaryRoot.objId),l.internal.out(l.internal.acroformPlugin.acroFormDictionaryRoot.getString())),n=n||l.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var e in n){var i=n[e],u=i.Rect;i.Rect&&(i.Rect=d.call(this,i.Rect)),l.internal.newObjectDeferredBegin(i.objId);var o=i.objId+" 0 obj\n<<\n";if("object"===(void 0===i?"undefined":cn(i))&&"function"==typeof i.getContent&&(o+=i.getContent()),i.Rect=u,i.hasAppearanceStream&&!i.appearanceStreamContent){var r=c.call(this,i);o+="/AP << /N "+r+" >>\n",l.internal.acroformPlugin.xForms.push(r)}if(i.appearanceStreamContent){for(var s in o+="/AP << ",i.appearanceStreamContent){var a=i.appearanceStreamContent[s];if(o+="/"+s+" ",o+="<< ",1<=Object.keys(a).length||Array.isArray(a))for(var e in a){var p;"function"==typeof(p=a[e])&&(p=p.call(this,i)),o+="/"+e+" "+p+" ",0<=l.internal.acroformPlugin.xForms.indexOf(p)||l.internal.acroformPlugin.xForms.push(p)}else"function"==typeof(p=a)&&(p=p.call(this,i)),o+="/"+e+" "+p+" \n",0<=l.internal.acroformPlugin.xForms.indexOf(p)||l.internal.acroformPlugin.xForms.push(p);o+=" >>\n"}o+=">>\n"}o+=">>\nendobj\n",l.internal.out(o)}t&&w.call(this,l.internal.acroformPlugin.xForms)},w=function(n){for(var t in n){var e=t,i=n[t];l.internal.newObjectDeferredBegin(i&&i.objId);var u="";"object"===(void 0===i?"undefined":cn(i))&&"function"==typeof i.getString&&(u=i.getString()),l.internal.out(u),delete n[e]}},S=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(l=this,O.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(f)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");i=l.internal.scaleFactor,e=l.internal.pageSize.getHeight(),l.internal.acroformPlugin.acroFormDictionaryRoot=new R,l.internal.acroformPlugin.acroFormDictionaryRoot._eventID=l.internal.events.subscribe("postPutResources",y),l.internal.events.subscribe("buildDocument",g),l.internal.events.subscribe("putCatalog",C),l.internal.events.subscribe("postPutPages",b),l.internal.acroformPlugin.isInitialized=!0}},_=function(n){if(Array.isArray(n)){var t=" [";for(var l in n)t+=n[l].toString(),t+=l>\n",this.stream&&(n+="stream\n",n+=this.stream,n+="\nendstream\n"),n+="endobj\n"},I.prototype.getContent=function(){var n="";return n+=function(n){var t="",l=Object.keys(n).filter(function(n){return"content"!=n&&"appearanceStreamContent"!=n&&"_"!=n.substring(0,1)});for(var e in l){var i=l[e],u=n[i];u&&(Array.isArray(u)?t+="/"+i+" "+_(u)+"\n":t+=u instanceof I?"/"+i+" "+u.objId+" 0 R\n":"/"+i+" "+u+"\n")}return t}(this)};var E=function(){var n;I.call(this),this.Type="/XObject",this.Subtype="/Form",this.FormType=1,this.BBox,this.Matrix,this.Resources="2 0 R",this.PieceInfo,Object.defineProperty(this,"Length",{enumerable:!0,get:function(){return void 0!==n?n.length:0}}),Object.defineProperty(this,"stream",{enumerable:!1,set:function(t){n=t.trim()},get:function(){return n||null}})};u(E,I);var R=function(){I.call(this);var n=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0>"},YesPushDown:function(n){var t=r(n),e=[],i=l.internal.getFont("zapfdingbats","normal").id;n.Q=1;var u=p(n,"3","ZapfDingbats",50);return e.push("0.749023 g"),e.push("0 0 "+j.internal.getWidth(n).toFixed(2)+" "+j.internal.getHeight(n).toFixed(2)+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+i+" "+u.fontSize.toFixed(2)+" Tf 0 g"),e.push("BT"),e.push(u.text),e.push("ET"),e.push("Q"),e.push("EMC"),t.stream=e.join("\n"),t},YesNormal:function(n){var t=r(n),e=l.internal.getFont("zapfdingbats","normal").id,i=[];n.Q=1;var u=j.internal.getHeight(n),o=j.internal.getWidth(n),s=p(n,"3","ZapfDingbats",.9*u);return i.push("1 g"),i.push("0 0 "+o.toFixed(2)+" "+u.toFixed(2)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+(o-1).toFixed(2)+" "+(u-1).toFixed(2)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+e+" "+s.fontSize.toFixed(2)+" Tf 0 g"),i.push(s.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(n){var t=r(n),l=[];return l.push("0.749023 g"),l.push("0 0 "+j.internal.getWidth(n).toFixed(2)+" "+j.internal.getHeight(n).toFixed(2)+" re"),l.push("f"),t.stream=l.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(n){var t={D:{Off:j.RadioButton.Circle.OffPushDown},N:{}};return t.N[n]=j.RadioButton.Circle.YesNormal,t.D[n]=j.RadioButton.Circle.YesPushDown,t},createMK:function(){return"<< /CA (l)>>"},YesNormal:function(n){var t=r(n),l=[],e=j.internal.getWidth(n)<=j.internal.getHeight(n)?j.internal.getWidth(n)/4:j.internal.getHeight(n)/4;e*=.9;var i=j.internal.Bezier_C;return l.push("q"),l.push("1 0 0 1 "+j.internal.getWidth(n)/2+" "+j.internal.getHeight(n)/2+" cm"),l.push(e+" 0 m"),l.push(e+" "+e*i+" "+e*i+" "+e+" 0 "+e+" c"),l.push("-"+e*i+" "+e+" -"+e+" "+e*i+" -"+e+" 0 c"),l.push("-"+e+" -"+e*i+" -"+e*i+" -"+e+" 0 -"+e+" c"),l.push(e*i+" -"+e+" "+e+" -"+e*i+" "+e+" 0 c"),l.push("f"),l.push("Q"),t.stream=l.join("\n"),t},YesPushDown:function(n){var t=r(n),l=[],e=j.internal.getWidth(n)<=j.internal.getHeight(n)?j.internal.getWidth(n)/4:j.internal.getHeight(n)/4,i=2*(e*=.9),u=i*j.internal.Bezier_C,o=e*j.internal.Bezier_C;return l.push("0.749023 g"),l.push("q"),l.push("1 0 0 1 "+(j.internal.getWidth(n)/2).toFixed(2)+" "+(j.internal.getHeight(n)/2).toFixed(2)+" cm"),l.push(i+" 0 m"),l.push(i+" "+u+" "+u+" "+i+" 0 "+i+" c"),l.push("-"+u+" "+i+" -"+i+" "+u+" -"+i+" 0 c"),l.push("-"+i+" -"+u+" -"+u+" -"+i+" 0 -"+i+" c"),l.push(u+" -"+i+" "+i+" -"+u+" "+i+" 0 c"),l.push("f"),l.push("Q"),l.push("0 g"),l.push("q"),l.push("1 0 0 1 "+(j.internal.getWidth(n)/2).toFixed(2)+" "+(j.internal.getHeight(n)/2).toFixed(2)+" cm"),l.push(e+" 0 m"),l.push(e+" "+o+" "+o+" "+e+" 0 "+e+" c"),l.push("-"+o+" "+e+" -"+e+" "+o+" -"+e+" 0 c"),l.push("-"+e+" -"+o+" -"+o+" -"+e+" 0 -"+e+" c"),l.push(o+" -"+e+" "+e+" -"+o+" "+e+" 0 c"),l.push("f"),l.push("Q"),t.stream=l.join("\n"),t},OffPushDown:function(n){var t=r(n),l=[],e=j.internal.getWidth(n)<=j.internal.getHeight(n)?j.internal.getWidth(n)/4:j.internal.getHeight(n)/4,i=2*(e*=.9),u=i*j.internal.Bezier_C;return l.push("0.749023 g"),l.push("q"),l.push("1 0 0 1 "+(j.internal.getWidth(n)/2).toFixed(2)+" "+(j.internal.getHeight(n)/2).toFixed(2)+" cm"),l.push(i+" 0 m"),l.push(i+" "+u+" "+u+" "+i+" 0 "+i+" c"),l.push("-"+u+" "+i+" -"+i+" "+u+" -"+i+" 0 c"),l.push("-"+i+" -"+u+" -"+u+" -"+i+" 0 -"+i+" c"),l.push(u+" -"+i+" "+i+" -"+u+" "+i+" 0 c"),l.push("f"),l.push("Q"),t.stream=l.join("\n"),t}},Cross:{createAppearanceStream:function(n){var t={D:{Off:j.RadioButton.Cross.OffPushDown},N:{}};return t.N[n]=j.RadioButton.Cross.YesNormal,t.D[n]=j.RadioButton.Cross.YesPushDown,t},createMK:function(){return"<< /CA (8)>>"},YesNormal:function(n){var t=r(n),l=[],e=j.internal.calculateCross(n);return l.push("q"),l.push("1 1 "+(j.internal.getWidth(n)-2).toFixed(2)+" "+(j.internal.getHeight(n)-2).toFixed(2)+" re"),l.push("W"),l.push("n"),l.push(e.x1.x.toFixed(2)+" "+e.x1.y.toFixed(2)+" m"),l.push(e.x2.x.toFixed(2)+" "+e.x2.y.toFixed(2)+" l"),l.push(e.x4.x.toFixed(2)+" "+e.x4.y.toFixed(2)+" m"),l.push(e.x3.x.toFixed(2)+" "+e.x3.y.toFixed(2)+" l"),l.push("s"),l.push("Q"),t.stream=l.join("\n"),t},YesPushDown:function(n){var t=r(n),l=j.internal.calculateCross(n),e=[];return e.push("0.749023 g"),e.push("0 0 "+j.internal.getWidth(n).toFixed(2)+" "+j.internal.getHeight(n).toFixed(2)+" re"),e.push("f"),e.push("q"),e.push("1 1 "+(j.internal.getWidth(n)-2).toFixed(2)+" "+(j.internal.getHeight(n)-2).toFixed(2)+" re"),e.push("W"),e.push("n"),e.push(l.x1.x.toFixed(2)+" "+l.x1.y.toFixed(2)+" m"),e.push(l.x2.x.toFixed(2)+" "+l.x2.y.toFixed(2)+" l"),e.push(l.x4.x.toFixed(2)+" "+l.x4.y.toFixed(2)+" m"),e.push(l.x3.x.toFixed(2)+" "+l.x3.y.toFixed(2)+" l"),e.push("s"),e.push("Q"),t.stream=e.join("\n"),t},OffPushDown:function(n){var t=r(n),l=[];return l.push("0.749023 g"),l.push("0 0 "+j.internal.getWidth(n).toFixed(2)+" "+j.internal.getHeight(n).toFixed(2)+" re"),l.push("f"),t.stream=l.join("\n"),t}}},createDefaultAppearanceStream:function(n){return"/F1 0 Tf 0 g"}};j.internal={Bezier_C:.551915024494,calculateCross:function(n){var t,l,e=j.internal.getWidth(n),i=j.internal.getHeight(n),u=(l=i)<(t=e)?l:t;return{x1:{x:(e-u)/2,y:(i-u)/2+u},x2:{x:(e-u)/2+u,y:(i-u)/2},x3:{x:(e-u)/2,y:(i-u)/2},x4:{x:(e-u)/2+u,y:(i-u)/2+u}}}},j.internal.getWidth=function(n){var t=0;return"object"===(void 0===n?"undefined":cn(n))&&(t=o(n.Rect[2])),t},j.internal.getHeight=function(n){var t=0;return"object"===(void 0===n?"undefined":cn(n))&&(t=o(n.Rect[3])),t},n.addField=function(n){return S.call(this),n instanceof U?this.addTextField.call(this,n):n instanceof A?this.addChoiceField.call(this,n):n instanceof P?this.addButton.call(this,n):n instanceof V?m.call(this,n):n&&m.call(this,n),n.page=l.internal.getCurrentPageInfo().pageNumber,this},n.addButton=function(n){S.call(this);var t=n||new O;t.FT="/Btn",t.Ff=a(t.Ff,n,l.internal.getPDFVersion()),m.call(this,t)},n.addTextField=function(n){S.call(this);var t=n||new O;t.FT="/Tx",t.Ff=a(t.Ff,n,l.internal.getPDFVersion()),m.call(this,t)},n.addChoiceField=function(n){S.call(this);var t=n||new O;t.FT="/Ch",t.Ff=a(t.Ff,n,l.internal.getPDFVersion()),m.call(this,t)},"object"==(void 0===t?"undefined":cn(t))&&(t.ChoiceField=A,t.ListBox=M,t.ComboBox=N,t.EditBox=T,t.Button=P,t.PushButton=k,t.RadioButton=D,t.CheckBox=F,t.TextField=U,t.PasswordField=L,t.AcroForm={Appearance:j}),n.AcroFormChoiceField=A,n.AcroFormListBox=M,n.AcroFormComboBox=N,n.AcroFormEditBox=T,n.AcroFormButton=P,n.AcroFormPushButton=k,n.AcroFormRadioButton=D,n.AcroFormCheckBox=F,n.AcroFormTextField=U,n.AcroFormPasswordField=L,n.AcroForm={ChoiceField:A,ListBox:M,ComboBox:N,EditBox:T,Button:P,PushButton:k,RadioButton:D,CheckBox:F,TextField:U,PasswordField:L}}(pn.API,"undefined"!=typeof window&&window||void 0!==e&&e),pn.API.addHTML=function(n,t,l,e,i){if("undefined"==typeof html2canvas&&"undefined"==typeof rasterizeHTML)throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");"number"!=typeof t&&(e=t,i=l),"function"==typeof e&&(i=e,e=null),"function"!=typeof i&&(i=function(){});var u=this.internal,o=u.scaleFactor,r=u.pageSize.getWidth(),s=u.pageSize.getHeight();if((e=e||{}).onrendered=function(n){t=parseInt(t)||0,l=parseInt(l)||0;var u=e.dim||{},a=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},e.margin),d=u.h||Math.min(s,n.height/o),c=u.w||Math.min(r,n.width/o)-t,p=e.format||"JPEG",h=e.imageCompression||"SLOW";if(n.height>s-a.top-a.bottom&&e.pagesplit){var f=function(n,t,l,i,u){var o=document.createElement("canvas");o.height=u,o.width=i;var r=o.getContext("2d");return r.mozImageSmoothingEnabled=!1,r.webkitImageSmoothingEnabled=!1,r.msImageSmoothingEnabled=!1,r.imageSmoothingEnabled=!1,r.fillStyle=e.backgroundColor||"#ffffff",r.fillRect(0,0,i,u),r.drawImage(n,t,l,i,u,0,0,i,u),o},g=function(){for(var e,u,d=0,g=0,m={},v=!1;;){var C;if(g=0,m.top=0!==d?a.top:l,m.left=0!==d?a.left:t,v=(r-a.left-a.right)*o=n.width)break;this.addPage()}else y=[C=f(n,0,d,e,u),m.left,m.top,C.width/o,C.height/o,p,null,h],this.addImage.apply(this,y);if((d+=u)>=n.height)break;this.addPage()}i(c,d,null,y)}.bind(this);if("CANVAS"===n.nodeName){var m=new Image;m.onload=g,m.src=n.toDataURL("image/png"),n=m}else g()}else{var v=Math.random().toString(35),C=[n,t,l,c,d,p,v,h];this.addImage.apply(this,C),i(c,d,v,C)}}.bind(this),"undefined"!=typeof html2canvas&&!e.rstz)return html2canvas(n,e);if("undefined"!=typeof rasterizeHTML){var a="drawDocument";return"string"==typeof n&&(a=/^http/.test(n)?"drawURL":"drawHTML"),e.width=e.width||r*o,rasterizeHTML[a](n,void 0,e).then(function(n){e.onrendered(n.image)},function(n){i(null,n)})}return null},/** @preserve * jsPDF addImage plugin * Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/ * 2013 Chris Dowling, https://github.com/gingerchris * 2013 Trinh Ho, https://github.com/ineedfat * 2013 Edwin Alejandro Perez, https://github.com/eaparango * 2013 Norah Smith, https://github.com/burnburnrocket * 2014 Diego Casorran, https://github.com/diegocr * 2014 James Robb, https://github.com/jamesbrobb * * */ function(n){var t="addImage_",l={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]};n.getImageFileTypeByImageData=function(n,t){var e,i;t=t||"UNKNOWN";var u,o,r,s="UNKNOWN";for(r in l)for(u=l[r],e=0;e>"),"trns"in t&&t.trns.constructor==Array){for(var u="",o=0,r=t.trns.length;o>"),i(t.data),e("endobj"),"smask"in t){var s="/Predictor "+t.p+" /Colors 1 /BitsPerComponent "+t.bpc+" /Columns "+t.w,a={w:t.w,h:t.h,cs:"DeviceGray",bpc:t.bpc,dp:s,data:t.smask};"f"in t&&(a.f=t.f),n.call(this,a)}t.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),e("<< /Length "+t.pal.length+">>"),i(this.arrayBufferToBinaryString(new Uint8Array(t.pal))),e("endobj"))},u=function(){var n=this.internal.collections[t+"images"];for(var l in n)e.call(this,n[l])},o=function(){var n,l=this.internal.collections[t+"images"],e=this.internal.write;for(var i in l)e("/I"+(n=l[i]).i,n.n,"0","R")},r=function(t){return"function"==typeof n["process"+t.toUpperCase()]},s=function(n){return"object"===(void 0===n?"undefined":cn(n))&&1===n.nodeType},a=function(n,t){if("IMG"===n.nodeName&&n.hasAttribute("src")){var l=""+n.getAttribute("src");if(0===l.indexOf("data:image/"))return l;!t&&/\.png(?:[?#].*)?$/i.test(l)&&(t="png")}if("CANVAS"===n.nodeName)var e=n;else{(e=document.createElement("canvas")).width=n.clientWidth||n.width,e.height=n.clientHeight||n.height;var i=e.getContext("2d");if(!i)throw"addImage requires canvas to be supported by browser.";i.drawImage(n,0,0,e.width,e.height)}return e.toDataURL("png"==(""+t).toLowerCase()?"image/png":"image/jpeg")},d=function(n,t){var l;if(t)for(var e in t)if(n===t[e].alias){l=t[e];break}return l};n.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},n.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},n.sHashCode=function(n){return n=n||"",Array.prototype.reduce&&n.split("").reduce(function(n,t){return(n=(n<<5)-n+t.charCodeAt(0))&n},0)},n.isString=function(n){return"string"==typeof n},n.validateStringAsBase64=function(n){var t=!0;return(n=n||"").length%4!=0&&(t=!1),!1===/[A-Za-z0-9\/]+/.test(n.substr(0,n.length-2))&&(t=!1),!1===/[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==/.test(n.substr(-2))&&(t=!1),t},n.extractInfoFromBase64DataURI=function(n){return/^data:([\w]+?\/([\w]+?));base64,(.+)$/g.exec(n)},n.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},n.isArrayBuffer=function(n){return!!this.supportsArrayBuffer()&&n instanceof ArrayBuffer},n.isArrayBufferView=function(n){return!!this.supportsArrayBuffer()&&"undefined"!=typeof Uint32Array&&(n instanceof Int8Array||n instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array)},n.binaryStringToUint8Array=function(n){for(var t=n.length,l=new Uint8Array(t),e=0;e>18]+e[(258048&t)>>12]+e[(4032&t)>>6]+e[63&t];return 1==o?l+=e[(252&(t=i[r]))>>2]+e[(3&t)<<4]+"==":2==o&&(l+=e[(64512&(t=i[r]<<8|i[r+1]))>>10]+e[(1008&t)>>4]+e[(15&t)<<2]+"="),l},n.createImageInfo=function(n,t,l,e,i,u,o,r,s,a,d,c,p){var h={alias:r,w:t,h:l,cs:e,bpc:i,i:o,data:n};return u&&(h.f=u),s&&(h.dp=s),a&&(h.trns=a),d&&(h.pal=d),c&&(h.smask=c),p&&(h.p=p),h},n.addImage=function(l,e,i,c,p,h,f,g,m){var v="";if("string"!=typeof e){var C=h;h=p,p=c,c=i,i=e,e=C}if("object"===(void 0===l?"undefined":cn(l))&&!s(l)&&"imageData"in l){var y=l;l=y.imageData,e=y.format||e,i=y.x||i||0,c=y.y||c||0,p=y.w||p,h=y.h||h,f=y.alias||f,g=y.compression||g,m=y.rotation||y.angle||m}if(isNaN(i)||isNaN(c))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var b,w,S,_,x,I,E,R=function(){var n=this.internal.collections[t+"images"];return n||(this.internal.collections[t+"images"]=n={},this.internal.events.subscribe("putResources",u),this.internal.events.subscribe("putXobjectDict",o)),n}.call(this);if(!((b=d(l,R))||(s(l)&&(l=a(l,e)),(null==(E=f)||0===E.length)&&(f="string"==typeof(I=l)&&n.sHashCode(I)),b=d(f,R)))){if(this.isString(l)&&(""!==(v=this.convertStringToImageData(l))?l=v:void 0!==(v=this.loadImageFile(l))&&(l=v)),e=this.getImageFileTypeByImageData(l,e),!r(e))throw new Error("addImage does not support files of type '"+e+"', please ensure that a plugin for '"+e+"' support is added.");if(this.supportsArrayBuffer()&&(l instanceof Uint8Array||(w=l,l=this.binaryStringToUint8Array(l))),!(b=this["process"+e.toUpperCase()](l,(x=0,(_=R)&&(x=Object.keys?Object.keys(_).length:function(n){var t=0;for(var l in n)n.hasOwnProperty(l)&&t++;return t}(_)),x),f,((S=g)&&"string"==typeof S&&(S=S.toUpperCase()),S in n.image_compression?S:n.image_compression.NONE),w)))throw new Error("An unkwown error occurred whilst processing the image")}return function(n,t,l,e,i,u,o,r){var s=function(n,t,l){return n||t||(t=n=-96),n<0&&(n=-1*l.w*72/n/this.internal.scaleFactor),t<0&&(t=-1*l.h*72/t/this.internal.scaleFactor),0===n&&(n=t*l.w/l.h),0===t&&(t=n*l.h/l.w),[n,t]}.call(this,l,e,i),a=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;if(l=s[0],e=s[1],o[u]=i,r){r*=Math.PI/180;var c=Math.cos(r),p=Math.sin(r),h=function(n){return n.toFixed(4)},f=[h(c),h(p),h(-1*p),h(c),0,0,"cm"]}this.internal.write("q"),r?(this.internal.write([1,"0","0",1,a(n),d(t+e),"cm"].join(" ")),this.internal.write(f.join(" ")),this.internal.write([a(l),"0","0",a(e),"0","0","cm"].join(" "))):this.internal.write([a(l),"0","0",a(e),a(n),d(t+e),"cm"].join(" ")),this.internal.write("/I"+i.i+" Do"),this.internal.write("Q")}.call(this,i,c,p,h,b,b.i,R,m),this},n.convertStringToImageData=function(t){var l,e="";return this.isString(t)&&(null!==(l=this.extractInfoFromBase64DataURI(t))?n.validateStringAsBase64(l[3])&&(e=atob(l[3])):n.validateStringAsBase64(t)&&(e=atob(t))),e};var c=function(n,t){return n.subarray(t,t+5)};n.processJPEG=function(n,t,l,e,i,u){var o,r=this.decode.DCT_DECODE;if(!this.isString(n)&&!this.isArrayBuffer(n)&&!this.isArrayBufferView(n))return null;if(this.isString(n)&&(o=function(n){var t;if(255===!n.charCodeAt(0)||216===!n.charCodeAt(1)||255===!n.charCodeAt(2)||224===!n.charCodeAt(3)||!n.charCodeAt(6)==="J".charCodeAt(0)||!n.charCodeAt(7)==="F".charCodeAt(0)||!n.charCodeAt(8)==="I".charCodeAt(0)||!n.charCodeAt(9)==="F".charCodeAt(0)||0===!n.charCodeAt(10))throw new Error("getJpegSize requires a binary string jpeg file");for(var l=256*n.charCodeAt(4)+n.charCodeAt(5),e=4,i=n.length;e>",a.content=v;var h=a.objId+" 0 R";v="<>";else if(s.options.pageNumber)switch(v="<>",this.internal.write(v))}}this.internal.write("]")}}]),c.createAnnotation=function(n){switch(n.type){case"link":this.link(n.bounds.x,n.bounds.y,n.bounds.w,n.bounds.h,n);break;case"text":case"freetext":this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push(n)}},c.link=function(n,t,l,e,i){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:n,y:t,w:l,h:e,options:i,type:"link"})},c.textWithLink=function(n,t,l,e){var i=this.getTextWidth(n),u=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(n,t,l),l+=.2*u,this.link(t,l-u,i,u,e),i},c.getTextWidth=function(n){var t=this.internal.getFontSize();return this.getStringUnitWidth(n)*t/this.internal.scaleFactor},c.getLineHeight=function(){return this.internal.getLineHeight()},function(n){function t(n){return void 0!==n&&void 0!==r[n.charCodeAt(0)]}function l(n){return void 0!==n&&0<=p.indexOf(n.charCodeAt(0))}function e(n){return void 0!==n&&0<=c.indexOf(n.charCodeAt(0))}function i(n){return t(n)&&2<=r[n.charCodeAt(0)].length}function u(n,u,o,s){return t(n)?(s=s||{},r=Object.assign(r,s),!i(n)||!t(u)&&!t(o)||!t(o)&&l(u)||l(n)&&!t(u)||l(n)&&e(u)||l(n)&&l(u)?(r=Object.assign(r,a),h):t(d=n)&&4==r[d.charCodeAt(0)].length&&t(u)&&!l(u)&&t(o)&&i(o)?(r=Object.assign(r,a),m):l(n)||!t(o)?(r=Object.assign(r,a),f):(r=Object.assign(r,a),g)):-1;var d}var o=Object.keys({ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",fa:"Persian","fa-IR":"Persian/Iran",ur:"Urdu"}),r={1569:[65152],1570:[65153,65154,65153,65154],1571:[65155,65156,65155,65156],1572:[65157,65158],1573:[65159,65160,65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166,65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194,65193],1584:[65195,65196,65195],1585:[65197,65198,65197],1586:[65199,65200,65199],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262,65261],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395,64394],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},s={1570:[65269,65270,65269,65270],1571:[65271,65272,65271,65272],1573:[65273,65274,65273,65274],1575:[65275,65276,65275,65276]},a={1570:[65153,65154,65153,65154],1571:[65155,65156,65155,65156],1573:[65159,65160,65159,65160],1575:[65165,65166,65165,65166]},d={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},c=[1570,1571,1573,1575],p=[1569,1570,1571,1572,1573,1575,1577,1583,1584,1585,1586,1608,1688],h=0,f=1,g=2,m=3,v=n.processArabic=function(n,l){n=n||"",l=l||!1;var i,o,c,p="",h=0,f=0,g="",m="",v="";for(h=0;h>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})}return this},(h=pn.API).events.push(["initialized",function(){this.canvas.pdf=this}]),h.canvas={getContext:function(n){return(this.pdf.context2d._canvas=this).pdf.context2d},childNodes:[]},Object.defineProperty(h.canvas,"width",{get:function(){return this._width},set:function(n){this._width=n,this.getContext("2d").pageWrapX=n+1}}),Object.defineProperty(h.canvas,"height",{get:function(){return this._height},set:function(n){this._height=n,this.getContext("2d").pageWrapY=n+1}}),f=pn.API,y={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},b=1,w=function(n,t,l,e,i){y={x:n,y:t,w:l,h:e,ln:i}},S=function(){return y},_={left:0,top:0,bottom:0},f.setHeaderFunction=function(n){C=n},f.getTextDimensions=function(n){g=this.internal.getFont().fontName,m=this.table_font_size||this.internal.getFontSize(),v=this.internal.getFont().fontStyle;var t,l,e=19.049976/25.4;(l=document.createElement("font")).id="jsPDFCell";try{l.style.fontStyle=v}catch(t){l.style.fontWeight=v}l.style.fontSize=m+"pt",l.style.fontFamily=g;try{l.textContent=n}catch(t){l.innerText=n}return document.body.appendChild(l),t={w:(l.offsetWidth+1)*e,h:(l.offsetHeight+1)*e},document.body.removeChild(l),t},f.cellAddPage=function(){var n=this.margins||_;this.addPage(),w(n.left,n.top,void 0,void 0),b+=1},f.cellInitialize=function(){y={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},b=1},f.cell=function(n,t,l,e,i,u,o){var r=S(),s=!1;if(void 0!==r.ln)if(r.ln===u)n=r.x+r.w,t=r.y;else{var a=this.margins||_;r.y+r.h+e+13>=this.internal.pageSize.getHeight()-a.bottom&&(this.cellAddPage(),s=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(u,!0)),t=S().y+S().h,s&&(t=23)}if(void 0!==i[0])if(this.printingHeaderRow?this.rect(n,t,l,e,"FD"):this.rect(n,t,l,e),"right"===o){i instanceof Array||(i=[i]);for(var d=0;d=this.pageBreaks[e]){t++,0===this.lastBreak&&l++;var i=this.pageBreaks[e]-this.lastBreak;this.lastBreak=this.pageBreaks[e],l+=Math.floor(i/this.pageWrapY)}return 0===this.lastBreak&&(l+=Math.floor(n/this.pageWrapY)+1),l+t}return this.pdf.internal.getCurrentPageInfo().pageNumber},_gotoPage:function(n){},lineTo:function(n,t){n=this._wrapX(n),t=this._wrapY(t);var l=this._matrix_map_point(this.ctx._transform,[n,t]),e={type:"lt",x:n=l[0],y:t=l[1]};this.path.push(e)},bezierCurveTo:function(n,t,l,e,i,u){var o;n=this._wrapX(n),t=this._wrapY(t),l=this._wrapX(l),e=this._wrapY(e),i=this._wrapX(i),u=this._wrapY(u),i=(o=this._matrix_map_point(this.ctx._transform,[i,u]))[0],u=o[1];var r={type:"bct",x1:n=(o=this._matrix_map_point(this.ctx._transform,[n,t]))[0],y1:t=o[1],x2:l=(o=this._matrix_map_point(this.ctx._transform,[l,e]))[0],y2:e=o[1],x:i,y:u};this.path.push(r)},quadraticCurveTo:function(n,t,l,e){var i;n=this._wrapX(n),t=this._wrapY(t),l=this._wrapX(l),e=this._wrapY(e),l=(i=this._matrix_map_point(this.ctx._transform,[l,e]))[0],e=i[1];var u={type:"qct",x1:n=(i=this._matrix_map_point(this.ctx._transform,[n,t]))[0],y1:t=i[1],x:l,y:e};this.path.push(u)},arc:function(n,t,l,e,i,u){if(n=this._wrapX(n),t=this._wrapY(t),!this._matrix_is_identity(this.ctx._transform)){var o=this._matrix_map_point(this.ctx._transform,[n,t]);n=o[0],t=o[1];var r=this._matrix_map_point(this.ctx._transform,[0,0]),s=this._matrix_map_point(this.ctx._transform,[0,l]);l=Math.sqrt(Math.pow(s[0]-r[0],2)+Math.pow(s[1]-r[1],2))}var a={type:"arc",x:n,y:t,radius:l,startAngle:e,endAngle:i,anticlockwise:u};this.path.push(a)},drawImage:function(n,t,l,e,i,u,o,r,s){void 0!==u&&(t=u,l=o,e=r,i=s),t=this._wrapX(t),l=this._wrapY(l);var a,d=this._matrix_map_rect(this.ctx._transform,{x:t,y:l,w:e,h:i}),c=(this._matrix_map_rect(this.ctx._transform,{x:u,y:o,w:r,h:s}),/data:image\/(\w+).*/i.exec(n));a=null!=c?c[1]:"png",this.pdf.addImage(n,a,d.x,d.y,d.w,d.h)},_matrix_multiply:function(n,t){var l=t[0],e=t[1],i=t[2],u=t[3],o=t[4],r=t[5],s=l*n[0]+e*n[2],a=i*n[0]+u*n[2],d=o*n[0]+r*n[2]+n[4];return e=l*n[1]+e*n[3],u=i*n[1]+u*n[3],r=o*n[1]+r*n[3]+n[5],[l=s,e,i=a,u,o=d,r]},_matrix_rotation:function(n){return Math.atan2(n[2],n[0])},_matrix_decompose:function(n){var t=n[0],l=n[1],e=n[2],i=n[3],u=Math.sqrt(t*t+l*l),o=(t/=u)*e+(l/=u)*i;e-=t*o,i-=l*o;var r=Math.sqrt(e*e+i*i);return o/=r,t*(i/=r)>"),s.push(">>");var a="MASK"+s.objId;this.pdf.internal.addGraphicsState(a,s.objId);var d="/"+a+" gs";e.splice(0,0,"q"),e.splice(1,0,d),e.push("Q"),window.outIntercept=r;break;default:var c="/"+this.pdf.internal.blendModeMap[this.ctx.globalCompositeOperation.toUpperCase()];c&&this.pdf.internal.out(c+" gs")}var p=this.ctx.globalAlpha;if(this.ctx._fillOpacity<1&&(p=this.ctx._fillOpacity),i){var h=this.pdf.internal.newObject2();h.push("<>"),a="GS_O_"+h.objId,this.pdf.internal.addGraphicsState(a,h.objId),this.pdf.internal.out("/"+a+" gs")}for(var f=this.path,g=0;g>"),t.push(">>");var l="MASK"+t.objId;this.pdf.internal.addGraphicsState(l,t.objId);var e="/"+l+" gs";this.pdf.internal.out(e)}else console.log("jsPDF v2 not enabled")},clip:function(){if(0e.pdf.margins_doc.top&&(e.pdf.addPage(),e.y=e.pdf.margins_doc.top,e.executeWatchFunctions(u));var O=a(u),A=e.x,M=12/e.pdf.internal.scaleFactor,N=(O["margin-left"]+O["padding-left"])*M,T=(O["margin-right"]+O["padding-right"])*M,P=(O["margin-top"]+O["padding-top"])*M,k=(O["margin-bottom"]+O["padding-bottom"])*M;void 0!==O.float&&"right"===O.float?A+=e.settings.width-u.width-T:A+=N,e.pdf.addImage(E,A,e.y+P,u.width,u.height),E=void 0,"right"===O.float||"left"===O.float?(e.watchFunctions.push(function(n,t,l,i){return e.y>=t?(e.x+=n,e.settings.width+=l,!0):!!(i&&1===i.nodeType&&!w[i.nodeName]&&e.x+i.width>e.pdf.margins_doc.left+e.pdf.margins_doc.width)&&(e.x+=n,e.y=t,e.settings.width+=l,!0)}.bind(this,"left"===O.float?-u.width-N-T:0,e.y+u.height+P+k,u.width)),e.watchFunctions.push(function(n,t,l){return!(e.y]*?>/gi,""),d="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(a=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",a.innerHTML='