{"version":3,"file":"app-7247aef5.9729664bca28a8e6916d.bundle.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAaA;AAAA;AAXA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA;AAoDA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAEA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAcA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAEA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AA1FA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAmBA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAkBA;AACA;AACA;AACA;AACA;AA3GA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;ACZA;AAEA;AAAA;AAAA;AAAA;AAAA;AAGA;AAFA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;ACJA;AAEA;AAAA;AAAA;AAAA;AAEA;AADA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;ACHA;AACA;AACA;AAEA;AAEA;AAAA;AACA;AAAA;AACA;AAAA;AAaA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAPA;AACA;AACA;AAEA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AA9DA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAwBA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAdA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AAIA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAGA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAjNA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AAQA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AALA;AACA;AAKA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AAhHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AAQA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AALA;AACA;AAKA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AAhHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AAQA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AALA;AACA;AAKA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AA7EA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AAQA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AALA;AACA;AAKA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAEA;AACA;AAEA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AAhHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;ACjBA;AACA;AACA;AAEA;AAOA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlCA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AAEA;AAaA;AACA;AAAA;AAZA;AACA;AAAA;AAAA;AAAA;AAMA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA9CA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AAEA;AAkBA;AAAA;AAhBA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA;AACA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AAxFA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;AClBA;AAEA;AAKA;AAAA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAjBA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;ACJA;AACA;AAAA;AAAA;AAAA;AAAA;AAGA;AAFA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;ACHA;AACA;AACA;AACA","sources":["webpack://www.zeusteam.com/./src/resources/elements/popover/popover.js","webpack://www.zeusteam.com/./src/resources/elements/processing/processing-icon.js","webpack://www.zeusteam.com/./src/resources/elements/processing/processing.js","webpack://www.zeusteam.com/./src/resources/elements/production-summary/production-status.js","webpack://www.zeusteam.com/./src/resources/elements/production-summary/production-summary.js","webpack://www.zeusteam.com/./src/resources/elements/production/by-agency-metrics.js","webpack://www.zeusteam.com/./src/resources/elements/production/by-agent-metrics.js","webpack://www.zeusteam.com/./src/resources/elements/production/by-carrier-metrics.js","webpack://www.zeusteam.com/./src/resources/elements/production/by-team-metrics.js","webpack://www.zeusteam.com/./src/resources/elements/production/placement-and-persistency.js","webpack://www.zeusteam.com/./src/resources/elements/production/volume-rankings.js","webpack://www.zeusteam.com/./src/resources/elements/profile-card/profile-card.js","webpack://www.zeusteam.com/./src/resources/elements/profile-name/profile-name.js","webpack://www.zeusteam.com/./src/resources/elements/property-bag/property-bag.js","webpack://www.zeusteam.com/./src/resources/elements/popover/popover.scss","webpack://www.zeusteam.com/./src/resources/elements/production-summary/production-status.scss","webpack://www.zeusteam.com/./src/resources/elements/production/volume-rankings.scss","webpack://www.zeusteam.com/./src/resources/elements/profile-card/profile-card.scss","webpack://www.zeusteam.com/./src/resources/elements/profile-name/profile-name.scss","webpack://www.zeusteam.com/./src/resources/elements/popover/popover.html","webpack://www.zeusteam.com/./src/resources/elements/processing/processing-icon.html","webpack://www.zeusteam.com/./src/resources/elements/processing/processing.html","webpack://www.zeusteam.com/./src/resources/elements/production-summary/production-status.html","webpack://www.zeusteam.com/./src/resources/elements/production-summary/production-summary.html","webpack://www.zeusteam.com/./src/resources/elements/production/by-agency-metrics.html","webpack://www.zeusteam.com/./src/resources/elements/production/by-agent-metrics.html","webpack://www.zeusteam.com/./src/resources/elements/production/by-carrier-metrics.html","webpack://www.zeusteam.com/./src/resources/elements/production/by-team-metrics.html","webpack://www.zeusteam.com/./src/resources/elements/production/placement-and-persistency.html","webpack://www.zeusteam.com/./src/resources/elements/production/volume-rankings.html","webpack://www.zeusteam.com/./src/resources/elements/profile-card/profile-card.html","webpack://www.zeusteam.com/./src/resources/elements/profile-name/profile-name.html","webpack://www.zeusteam.com/./src/resources/elements/property-bag/property-bag.html"],"sourcesContent":["import { bindable } from 'aurelia-framework';\r\nimport { createPopper } from '@popperjs/core';\r\n\r\nexport class Popover {\r\n static inject = [Element];\r\n _element;\r\n @bindable forId;\r\n @bindable offsetX = 8;\r\n @bindable offsetY = 8;\r\n @bindable strategy;\r\n @bindable update;\r\n @bindable placement = 'auto'\r\n @bindable close;\r\n\r\n _forEl;\r\n\r\n constructor(element) {\r\n this._element = element;\r\n }\r\n\r\n attached() {\r\n this._initialize();\r\n }\r\n\r\n detached() {\r\n try {\r\n if (!this._popper) return;\r\n this._popper.destroy();\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n _initialize() {\r\n try {\r\n this.forEl = document.getElementById(this.forId);\r\n if (!this.forEl) return;\r\n const options = {\r\n placement: this.placement,\r\n container: 'body',\r\n strategy: this.strategy || 'absolute',\r\n modifiers: [\r\n {\r\n name: 'offset',\r\n options: { offset: [Number(this.offsetX), Number(this.offsetY)] },\r\n },\r\n {\r\n name: 'preventOverflow',\r\n options: {\r\n boundary: document.getElementById('kt_app_content')\r\n }\r\n }\r\n ]\r\n };\r\n this._popper = createPopper(this.forEl, this.popoverEl, options);\r\n const showEvents = ['click'];\r\n const hideEvents = [];\r\n\r\n showEvents.forEach(e => this.forEl.addEventListener(e, this._show));\r\n hideEvents.forEach(e => this.forEl.addEventListener(e, this._hide));\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n _show = () => {\r\n try {\r\n this.popoverEl.setAttribute('data-show', '');\r\n this._popper.setOptions((options) => ({\r\n ...options,\r\n modifiers: [\r\n ...options.modifiers,\r\n { name: 'eventListeners', enabled: true },\r\n ]\r\n }));\r\n this._popper.update();\r\n this._element.dispatchEvent(new CustomEvent('opened', { bubbles: true }));\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n closeChanged() {\r\n if (!this.close) return;\r\n this._hide();\r\n }\r\n\r\n hide(ev) {\r\n ev.stopPropagation();\r\n ev.preventDefault();\r\n this._hide();\r\n }\r\n\r\n _hide = () => {\r\n try {\r\n this.popoverEl.removeAttribute('data-show');\r\n this._popper.setOptions((options) => ({\r\n ...options,\r\n modifiers: [\r\n ...options.modifiers,\r\n { name: 'eventListeners', enabled: false },\r\n ],\r\n }));\r\n this._element.dispatchEvent(new CustomEvent('closed', { bubbles: true }));\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n updateChanged() {\r\n if (!this._popper) return;\r\n this._popper.update();\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\n\r\nexport class ProcessingIcon {\r\n @bindable icon = '';\r\n @bindable processing = false;\r\n}","import { bindable } from 'aurelia-framework';\r\n\r\nexport class Processing {\r\n @bindable cssClass = 'zeus-margin-left-sm';\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Security } from 'common/security';\r\nimport { CACHE_TYPE, CACHE_PERIOD, ProductionService } from 'services/production-service';\r\n\r\nexport class ProductionStatus {\r\n static inject = [Element, Security, ProductionService];\r\n @bindable({ changeHandler: '_reload' }) memberId = null;\r\n @bindable({ changeHandler: '_reload' }) cachePeriod;\r\n @bindable({ changeHandler: '_reload' }) cacheType;\r\n @bindable friendlyName;\r\n @bindable showTitle = true;\r\n @bindable horizontal = false;\r\n @bindable size;\r\n\r\n _element;\r\n _security;\r\n _productionService;\r\n\r\n CACHE_PERIOD = CACHE_PERIOD;\r\n CACHE_TYPE = CACHE_TYPE;\r\n\r\n constructor(element, security, productionService) {\r\n this._element = element;\r\n this._security = security;\r\n this._productionService = productionService;\r\n }\r\n\r\n attached() {\r\n this.isAttached = true;\r\n this._load();\r\n }\r\n\r\n _reload() {\r\n if (!this.isAttached) return;\r\n this._load();\r\n }\r\n\r\n async _load() {\r\n try {\r\n this.loading = true;\r\n\r\n // Handle bindables where nothing was set\r\n this.cachePeriod = this.cachePeriod || CACHE_PERIOD.Yesterday;\r\n this.cacheType = this.cacheType || CACHE_TYPE.Personal;\r\n const memberId = this.memberId || this._security.authenticatedMemberId;\r\n this.status = await this._productionService.status(memberId, this.cacheType, this.cachePeriod);\r\n this._element.dispatchEvent(new CustomEvent('loaded', { bubbles: true, detail: { period: this.status?.period } }));\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n statusDirection(difference) {\r\n try {\r\n if (difference > 0) return 'up';\r\n if (difference < 0) return 'down';\r\n return 'even';\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n clicked(type) {\r\n this._element.dispatchEvent(new CustomEvent('clicked', { bubbles: true, detail: { dateType: type } }));\r\n }\r\n}\r\n","import { bindable, computedFrom } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { SUMMARY_TYPE, ProductionService } from 'services/production-service';\r\nimport { Security } from 'common/security';\r\nimport { Members } from 'services/members';\r\nimport { I18n } from 'common/i18n';\r\nimport { TIME_PERIOD, ROLE } from 'common/constants';\r\nimport { c } from 'common/common';\r\nimport moment from 'moment';\r\n\r\nexport class ProductionSummary {\r\n static inject = [EventAggregator, ProductionService, Security, Members, I18n];\r\n @bindable memberId = null;\r\n @bindable compact = true;\r\n @bindable scroll = true;\r\n @bindable timePeriod = TIME_PERIOD.YTD;\r\n @bindable summaryType = SUMMARY_TYPE.Personal;\r\n @bindable date = moment();\r\n @bindable friendlyName;\r\n\r\n _ea;\r\n _productionService;\r\n _security;\r\n _members;\r\n\r\n TIME_PERIOD = TIME_PERIOD;\r\n SUMMARY_TYPE = SUMMARY_TYPE;\r\n policyFilters = [{ value: '', keys: ['submittedDate', 'client.fullName', 'writingAgent.fullName', 'policyNumber', 'carrier.name', 'carrier.code', 'submittedPremium', 'status'] }];\r\n agentSummaryFilters = [{ value: '', keys: ['writingAgent.fullName', 'submittedPremium', 'paidPremium', 'placement.percentage'] }];\r\n policyPremiumType = 'submitted';\r\n\r\n showPlacementPercentage = false;\r\n policyListType = 'submitted';\r\n\r\n constructor(ea, productionService, security, members, i18n) {\r\n this._ea = ea;\r\n this._productionService = productionService;\r\n this._security = security;\r\n this._members = members;\r\n this._i18n = i18n;\r\n }\r\n\r\n attached() {\r\n this.isAttached = true;\r\n this._load();\r\n }\r\n\r\n @computedFrom('summaryType', 'friendlyName')\r\n get summaryTypeName() {\r\n if (this.friendlyName) return this.friendlyName;\r\n if (!this.summaryType) return '';\r\n return this._i18n.tr(`production-summary-${this.summaryType}`);\r\n }\r\n\r\n memberIdChanged() {\r\n if (!this.isAttached) return;\r\n this._load();\r\n }\r\n\r\n async _load() {\r\n try {\r\n this.loading = true;\r\n this.summary = undefined;\r\n this.policies = undefined;\r\n this.showAgencyOption = false;\r\n this.showMasterAgencyOption = false;\r\n\r\n // Handle bindables where nothing was set\r\n this.date = this.date || moment();\r\n this.timePeriod = this.timePeriod || TIME_PERIOD.YTD;\r\n this.summaryType = this.summaryType || SUMMARY_TYPE.Personal;\r\n\r\n this.summary = await this._productionService.summary(this.memberId, this.date, this.timePeriod, this.summaryType);\r\n this._setTimePeriodButtons();\r\n\r\n this.showPlacementPercentage = this.timePeriod === TIME_PERIOD.YTD || this.timePeriod === TIME_PERIOD.MTD;\r\n\r\n this.viewPolicies(this.policyListType);\r\n const inRoleToViewAgencyOption = this._security.isInRole([ROLE.Admin, ROLE.HierarchyViewer]);\r\n this.showAgencyOption = (inRoleToViewAgencyOption || this._security.isAgency()) && this.summary.member.isAgency;\r\n if (inRoleToViewAgencyOption || this._security.isMasterAgency()) {\r\n const ma = await this._members.masterAgency(this.summary.member.id);\r\n if (ma !== null) {\r\n this.showMasterAgencyOption = ma.id === this.summary.member.id;\r\n }\r\n }\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n selectTimePeriod(timePeriod) {\r\n this.timePeriod = timePeriod;\r\n this.date = moment();\r\n this._setTimePeriodButtons();\r\n\r\n this._load();\r\n }\r\n\r\n previousTimePeriod() {\r\n this._setNextTimePeriodDate(-1);\r\n }\r\n\r\n nextTimePeriod() {\r\n if (this.noNextTimePeriod) return;\r\n this._setNextTimePeriodDate(1);\r\n }\r\n\r\n _setNextTimePeriodDate(addDays) {\r\n // When moving to the next time period, add 1 day to the end of the current period\r\n // When moving to the previous time period, subtract 1 day from the current period\r\n const baseDate = addDays > 0 ? this.summary.endDate : this.summary.startDate;\r\n this.date = moment(baseDate).add(addDays, 'days');\r\n this._setTimePeriodButtons();\r\n this._load();\r\n }\r\n\r\n _setTimePeriodButtons() {\r\n this.noNextTimePeriod = moment(this.summary.endDate).isAfter(moment());\r\n switch (this.summary.timePeriod){\r\n case 'mtd': this.timePeriodDisplay = moment.utc(this.summary.endDate).format('MMMM'); break;\r\n case 'wtd': this.timePeriodDisplay = `${moment(this.summary.startDate).format('l')} - ${moment(this.summary.endDate).format('l')}`; break;\r\n case 'ytd': this.timePeriodDisplay = moment(this.summary.endDate).format('YYYY'); break;\r\n default: this.timePeriodDisplay = `${moment(this.summary.startDate).format('l')} - ${moment(this.summary.endDate).format('l')}`; break;\r\n }\r\n }\r\n\r\n setType(type) {\r\n this.summaryType = type;\r\n this.policyListType = type === SUMMARY_TYPE.Personal ? 'submitted' : undefined;\r\n this._load();\r\n }\r\n\r\n viewPolicies(type) {\r\n this.loading = true;\r\n this.policyListType = type;\r\n this.policies = [];\r\n this.policyPremiumType = type;\r\n\r\n let policies;\r\n switch (this.policyListType) {\r\n case 'submitted':\r\n policies = this.summary.policies;\r\n break;\r\n case 'paid':\r\n const allPolicies = [...this.summary.policies, ...this.summary.paidPoliciesNotSubmittedInTimePeriod];\r\n policies = allPolicies.filter(x => this.summary.paid.policyIds.includes(x.id));\r\n break;\r\n case 'pending':\r\n policies = this.summary.policies.filter(x => x.category === 'pending');\r\n this.policyPremiumType = 'submitted';\r\n break;\r\n default:\r\n policies = undefined;\r\n this.policyPremiumType = 'submitted';\r\n break;\r\n }\r\n this.policies = policies;\r\n this.loading = false;\r\n }\r\n\r\n returnToSummaries() {\r\n this.policies = undefined;\r\n }\r\n\r\n togglePlacementDetails() {\r\n this.showPlacementDetails = !this.showPlacementDetails;\r\n this.showDrawer = moment().format();\r\n }\r\n\r\n toggleMiniPolicySummary(ev, policy) {\r\n ev.stopPropagation();\r\n ev.preventDefault();\r\n policy.showMiniSummary = !policy.showMiniSummary;\r\n return false;\r\n }\r\n\r\n policyNoteUpdated(policy) {\r\n policy.mostRecentNoteDate = moment().toISOString();\r\n }\r\n\r\n showPolicyDetails(policy) {\r\n\t\tthis._ea.publish(c.EventKeys.site.openPolicy, { policyId: policy.id });\r\n }\r\n\r\n rowDetailsClicked(event) {\r\n event.stopPropagation();\r\n return false;\r\n }\r\n\r\n \r\n addComment(ev, policy) {\r\n ev.stopPropagation();\r\n ev.preventDefault();\r\n this.policy = policy;\r\n this.addPolicyNote = true;\r\n this.showPolicySummary = false;\r\n this.showDrawer = moment().format();\r\n }\r\n\r\n closePolicyNote() {\r\n this.policy.mostRecentNoteDate = moment().toISOString();\r\n this.addPolicyNote = false;\r\n this.showDrawer = undefined;\r\n }\r\n\r\n @computedFrom('summaryType', 'date', 'timePeriod')\r\n get profileCardTab() {\r\n const summaryType = this.summaryType === SUMMARY_TYPE.Agency\r\n ? SUMMARY_TYPE.Team\r\n : SUMMARY_TYPE.Personal;\r\n return { key: 'production', model: { date: this.date, timePeriod: this.timePeriod, summaryType }};\r\n }\r\n\r\n drawerClosed() {\r\n this.showPlacementDetails = false;\r\n this.addPolicyNote = false;\r\n this.policy = undefined;\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Reports } from 'services/reports';\r\nimport { AGENT_METRIC_TYPE } from 'common/constants';\r\nimport { TimePeriodNavigatorBase } from 'resources/base-classes/time-period-navigator-base';\r\nimport moment from 'moment';\r\n\r\nexport class ByAgencyMetrics extends TimePeriodNavigatorBase {\r\n static inject = [EventAggregator, Reports];\r\n @bindable({ changeHandler: '_inputChanged' }) chartType;\r\n @bindable({ changeHandler: '_inputChanged' }) metricType;\r\n @bindable({ changeHandler: '_inputChanged' }) dateType;\r\n @bindable({ changeHandler: '_inputChanged' }) timePeriod;\r\n @bindable({ changeHandler: '_inputChanged' }) policyStatusGroup;\r\n @bindable({ changeHandler: '_inputChanged' }) premiumType;\r\n @bindable({ changeHandler: '_inputChanged' }) linesOfBusiness;\r\n @bindable sync = true;\r\n @bindable scroll = true;\r\n\r\n _reports;\r\n currentPeriod;\r\n AGENT_METRIC_TYPE = AGENT_METRIC_TYPE;\r\n\r\n constructor(ea, reports) {\r\n super('by-agency-metrics', ea);\r\n this._reports = reports;\r\n }\r\n\r\n attached() {\r\n this._isAttached = true;\r\n this._attached();\r\n this._loadData();\r\n }\r\n\r\n async _inputChanged() {\r\n if (!this._isAttached) return;\r\n this._loadData();\r\n }\r\n\r\n async refreshData() {\r\n this.refreshing = true;\r\n if (this.report) this.report = undefined;\r\n await this._loadData();\r\n this.refreshing = false;\r\n }\r\n\r\n async _loadData(fromSync = false) {\r\n try {\r\n if (!this._reports.validateByAgencyMetrics(this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType)) return;\r\n this.setReportTitle();\r\n this.loading = true;\r\n\r\n this.initializeTimePeriodNavigation(fromSync);\r\n\r\n this.metrics = await this._reports.byAgencyMetrics(this.asOfDate, this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType);\r\n\r\n this.currentPeriod = this.metrics.period;\r\n this.setTimePeriodNavigationDisplays();\r\n\r\n const chartData = [];\r\n this.metrics.records.forEach(r => {\r\n chartData.push({ id: r.agency.id, name: r.agency.fullName, shortName: r.agency.initials, value: r.value });\r\n });\r\n this.chartData = chartData;\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n setReportTitle() {\r\n switch (this.metricType) {\r\n case AGENT_METRIC_TYPE.Count:\r\n this.titleKey = 'apps';\r\n break;\r\n\r\n case AGENT_METRIC_TYPE.PolicyStatusGroup:\r\n this.titleKey = `policy-status-group-${this.policyStatusGroup}`;\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.Premium:\r\n this.titleKey = this.premiumType;\r\n break;\r\n\r\n case AGENT_METRIC_TYPE.Prospect:\r\n this.titleKey = 'prospects';\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.RegisteredRep:\r\n this.titleKey = 'registered-reps';\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.Recruit:\r\n this.titleKey = 'recruits';\r\n break;\r\n\r\n }\r\n }\r\n\r\n async drilldown(drilldownDetail) {\r\n try {\r\n if (!drilldownDetail) return;\r\n this.agencyName = drilldownDetail.name;\r\n this.loadingDetails = true;\r\n this.agencyDetails = await this._reports.byAgencyMetrics(this.asOfDate, this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType, drilldownDetail.id);\r\n this.showDetails();\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loadingDetails = false;\r\n }\r\n }\r\n\r\n async showDetails() {\r\n this.showDrawer = moment().format();\r\n }\r\n\r\n drawerClosed() {\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Reports } from 'services/reports';\r\nimport { AGENT_METRIC_TYPE } from 'common/constants';\r\nimport { TimePeriodNavigatorBase } from 'resources/base-classes/time-period-navigator-base';\r\nimport moment from 'moment';\r\n\r\nexport class ByAgentMetrics extends TimePeriodNavigatorBase {\r\n static inject = [EventAggregator, Reports];\r\n @bindable({ changeHandler: '_inputChanged' }) chartType;\r\n @bindable({ changeHandler: '_inputChanged' }) metricType;\r\n @bindable({ changeHandler: '_inputChanged' }) dateType;\r\n @bindable({ changeHandler: '_inputChanged' }) timePeriod;\r\n @bindable({ changeHandler: '_inputChanged' }) policyStatusGroup;\r\n @bindable({ changeHandler: '_inputChanged' }) premiumType;\r\n @bindable({ changeHandler: '_inputChanged' }) linesOfBusiness;\r\n @bindable sync = true;\r\n @bindable scroll = true;\r\n\r\n _reports;\r\n currentPeriod;\r\n AGENT_METRIC_TYPE = AGENT_METRIC_TYPE;\r\n\r\n constructor(ea, reports) {\r\n super('by-agent-metrics', ea);\r\n this._reports = reports;\r\n }\r\n\r\n attached() {\r\n this._isAttached = true;\r\n this._attached();\r\n this._loadData();\r\n }\r\n\r\n async _inputChanged() {\r\n if (!this._isAttached) return;\r\n this._loadData();\r\n }\r\n\r\n async refreshData() {\r\n this.refreshing = true;\r\n if (this.report) this.report = undefined;\r\n await this._loadData();\r\n this.refreshing = false;\r\n }\r\n\r\n async _loadData(fromSync = false) {\r\n try {\r\n if (!this._reports.validateByAgentMetrics(this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType)) return;\r\n this.setReportTitle();\r\n this.loading = true;\r\n\r\n this.initializeTimePeriodNavigation(fromSync);\r\n\r\n this.metrics = await this._reports.byAgentMetrics(this.asOfDate, this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType);\r\n\r\n this.currentPeriod = this.metrics.period;\r\n this.setTimePeriodNavigationDisplays();\r\n\r\n const chartData = [];\r\n this.metrics.records.forEach(r => {\r\n chartData.push({ id: r.agent.id, name: r.agent.fullName, shortName: r.agent.initials, value: r.value });\r\n });\r\n this.chartData = chartData;\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n setReportTitle() {\r\n switch (this.metricType) {\r\n case AGENT_METRIC_TYPE.Count:\r\n this.titleKey = 'apps';\r\n break;\r\n\r\n case AGENT_METRIC_TYPE.PolicyStatusGroup:\r\n this.titleKey = `policy-status-group-${this.policyStatusGroup}`;\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.Premium:\r\n this.titleKey = this.premiumType;\r\n break;\r\n\r\n case AGENT_METRIC_TYPE.Prospect:\r\n this.titleKey = 'prospects';\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.RegisteredRep:\r\n this.titleKey = 'registered-reps';\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.Recruit:\r\n this.titleKey = 'recruits';\r\n break;\r\n\r\n }\r\n }\r\n\r\n async drilldown(drilldownDetail) {\r\n try {\r\n if (!drilldownDetail) return;\r\n this.agentName = drilldownDetail.name;\r\n this.loadingDetails = true;\r\n this.agentDetails = await this._reports.byAgentMetrics(this.asOfDate, this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType, drilldownDetail.id);\r\n this.showDetails();\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loadingDetails = false;\r\n }\r\n }\r\n\r\n async showDetails() {\r\n this.showDrawer = moment().format();\r\n }\r\n\r\n drawerClosed() {\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Reports } from 'services/reports';\r\nimport { METRIC_TYPE } from 'common/constants';\r\nimport { TimePeriodNavigatorBase } from 'resources/base-classes/time-period-navigator-base';\r\n\r\nexport class ByCarrierMetrics extends TimePeriodNavigatorBase {\r\n static inject = [EventAggregator, Reports];\r\n @bindable({ changeHandler: '_inputChanged' }) chartType;\r\n @bindable({ changeHandler: '_inputChanged' }) metricType;\r\n @bindable({ changeHandler: '_inputChanged' }) dateType;\r\n @bindable({ changeHandler: '_inputChanged' }) timePeriod;\r\n @bindable({ changeHandler: '_inputChanged' }) policyStatusGroup;\r\n @bindable({ changeHandler: '_inputChanged' }) premiumType;\r\n @bindable sync = true;\r\n @bindable scroll = true;\r\n\r\n _reports;\r\n currentPeriod;\r\n METRIC_TYPE = METRIC_TYPE;\r\n\r\n constructor(ea, reports) {\r\n super('by-carrier-metrics', ea);\r\n this._reports = reports;\r\n }\r\n\r\n attached() {\r\n this._isAttached = true;\r\n this._attached();\r\n this._loadData();\r\n }\r\n\r\n async _inputChanged() {\r\n if (!this._isAttached) return;\r\n this._loadData();\r\n }\r\n\r\n async refreshData() {\r\n this.refreshing = true;\r\n if (this.report) this.report = undefined;\r\n await this._loadData();\r\n this.refreshing = false;\r\n }\r\n\r\n async _loadData(fromSync = false) {\r\n try {\r\n if (!this._reports.validateByCarrierMetrics(this.timePeriod, this.metricType, this.dateType, this.policyStatusGroup, this.premiumType)) return;\r\n this.setReportTitle();\r\n this.loading = true;\r\n\r\n this.initializeTimePeriodNavigation(fromSync);\r\n\r\n this.metrics = await this._reports.byCarrierMetrics(this.asOfDate, this.timePeriod, this.metricType, this.dateType, this.policyStatusGroup, this.premiumType);\r\n\r\n this.currentPeriod = this.metrics.period;\r\n this.setTimePeriodNavigationDisplays();\r\n\r\n const chartData = [];\r\n this.metrics.records.forEach(r => {\r\n chartData.push({ id: r.carrier.id, name: r.carrier.name, shortName: r.carrier.code, value: r.value });\r\n });\r\n this.chartData = chartData;\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n setReportTitle() {\r\n switch (this.metricType) {\r\n case METRIC_TYPE.Count:\r\n this.titleKey = 'apps';\r\n break;\r\n\r\n case METRIC_TYPE.PolicyStatusGroup:\r\n this.titleKey = `policy-status-group-${this.policyStatusGroup}`;\r\n break;\r\n \r\n case METRIC_TYPE.Premium:\r\n this.titleKey = this.premiumType;\r\n break;\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Reports } from 'services/reports';\r\nimport { AGENT_METRIC_TYPE } from 'common/constants';\r\nimport { TimePeriodNavigatorBase } from 'resources/base-classes/time-period-navigator-base';\r\nimport moment from 'moment';\r\n\r\nexport class ByTeamMetrics extends TimePeriodNavigatorBase {\r\n static inject = [EventAggregator, Reports];\r\n @bindable({ changeHandler: '_inputChanged' }) chartType;\r\n @bindable({ changeHandler: '_inputChanged' }) metricType;\r\n @bindable({ changeHandler: '_inputChanged' }) dateType;\r\n @bindable({ changeHandler: '_inputChanged' }) timePeriod;\r\n @bindable({ changeHandler: '_inputChanged' }) policyStatusGroup;\r\n @bindable({ changeHandler: '_inputChanged' }) premiumType;\r\n @bindable({ changeHandler: '_inputChanged' }) linesOfBusiness;\r\n @bindable sync = true;\r\n @bindable scroll = true;\r\n\r\n _reports;\r\n currentPeriod;\r\n AGENT_METRIC_TYPE = AGENT_METRIC_TYPE;\r\n\r\n constructor(ea, reports) {\r\n super('by-team-metrics', ea);\r\n this._reports = reports;\r\n }\r\n\r\n attached() {\r\n this._isAttached = true;\r\n this._attached();\r\n this._loadData();\r\n }\r\n\r\n async _inputChanged() {\r\n if (!this._isAttached) return;\r\n this._loadData();\r\n }\r\n\r\n async refreshData() {\r\n this.refreshing = true;\r\n if (this.report) this.report = undefined;\r\n await this._loadData();\r\n this.refreshing = false;\r\n }\r\n\r\n async _loadData(fromSync = false) {\r\n try {\r\n if (!this._reports.validateByTeamMetrics(this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType)) return;\r\n this.setReportTitle();\r\n this.loading = true;\r\n\r\n this.initializeTimePeriodNavigation(fromSync);\r\n\r\n this.metrics = await this._reports.byTeamMetrics(this.asOfDate, this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType);\r\n\r\n this.currentPeriod = this.metrics.period;\r\n this.setTimePeriodNavigationDisplays();\r\n\r\n const chartData = [];\r\n this.metrics.records.forEach(r => {\r\n chartData.push({ id: r.team.id, name: r.team.fullName, shortName: r.team.initials, value: r.value });\r\n });\r\n this.chartData = chartData;\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n setReportTitle() {\r\n switch (this.metricType) {\r\n case AGENT_METRIC_TYPE.Count:\r\n this.titleKey = 'apps';\r\n break;\r\n\r\n case AGENT_METRIC_TYPE.PolicyStatusGroup:\r\n this.titleKey = `policy-status-group-${this.policyStatusGroup}`;\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.Premium:\r\n this.titleKey = this.premiumType;\r\n break;\r\n\r\n case AGENT_METRIC_TYPE.Prospect:\r\n this.titleKey = 'prospects';\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.RegisteredRep:\r\n this.titleKey = 'registered-reps';\r\n break;\r\n \r\n case AGENT_METRIC_TYPE.Recruit:\r\n this.titleKey = 'recruits';\r\n break;\r\n\r\n }\r\n }\r\n\r\n async drilldown(drilldownDetail) {\r\n try {\r\n if (!drilldownDetail) return;\r\n this.teamName = drilldownDetail.name;\r\n this.loadingDetails = true;\r\n this.teamDetails = await this._reports.byTeamMetrics(this.asOfDate, this.timePeriod, this.metricType, this.linesOfBusiness, this.dateType, this.policyStatusGroup, this.premiumType, drilldownDetail.id);\r\n this.showDetails();\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loadingDetails = false;\r\n }\r\n }\r\n\r\n async showDetails() {\r\n this.showDrawer = moment().format();\r\n }\r\n\r\n drawerClosed() {\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { ProductionService } from 'services/production-service';\r\nimport { c } from 'common/common';\r\n\r\nexport class PlacementAndPersistency {\r\n static inject = [ProductionService];\r\n\r\n @bindable memberId;\r\n\r\n _production;\r\n\r\n constructor(production) {\r\n this._production = production;\r\n this.id = c.Helpers.uniqueId();\r\n }\r\n\r\n memberIdChanged() {\r\n this._load();\r\n }\r\n\r\n async _load() {\r\n if (!this.memberId) return;\r\n try {\r\n this.loading = true;\r\n const data = await this._production.placementAndPersistency(this.memberId);\r\n if (data == null) {\r\n this.data = null;\r\n return;\r\n }\r\n this.placementBreaks = [data.placement.targetPercentage, data.placement.targetPercentage];\r\n this.persistency3mBreaks = [data.persistency3Month.targetPercentage, data.persistency3Month.targetPercentage];\r\n this.persistency6mBreaks = [data.persistency6Month.targetPercentage, data.persistency6Month.targetPercentage];\r\n this.persistency9mBreaks = [data.persistency9Month.targetPercentage, data.persistency9Month.targetPercentage];\r\n this.persistency13mBreaks = [data.persistency13Month.targetPercentage, data.persistency13Month.targetPercentage];\r\n this.data = data;\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { I18n } from 'common/i18n';\r\nimport { ProductionService } from 'services/production-service';\r\nimport { WIDGET } from 'common/constants';\r\nimport { TimePeriodNavigatorBase } from 'resources/base-classes/time-period-navigator-base';\r\n\r\nexport class VolumeRankings extends TimePeriodNavigatorBase {\r\n static inject = [EventAggregator, I18n, ProductionService];\r\n _i18n;\r\n _production;\r\n\r\n @bindable settings;\r\n @bindable sync = true;\r\n @bindable scroll = true;\r\n\r\n leaderboard;\r\n asOfDate;\r\n currentPeriod;\r\n\r\n constructor(ea, i18n, production) {\r\n super('volume-rankings', ea);\r\n this._i18n = i18n;\r\n this._production = production;\r\n }\r\n\r\n attached() {\r\n this._isAttached = true;\r\n this._attached();\r\n this._loadData();\r\n }\r\n\r\n settingsChanged() {\r\n if (!this._isAttached) return;\r\n this._loadData();\r\n }\r\n\r\n async _loadData(fromSync = false) {\r\n if (!this.settings) return;\r\n try {\r\n this.reportForTr = this._i18n.tr(`report-for-${this.reportFor}`);\r\n this.loading = true;\r\n this.leaderboard = undefined;\r\n this.initializeTimePeriodNavigation(fromSync);\r\n\r\n this.leaderboard = await this._production.volumeRankings(this.settings, this.asOfDate.toISOString(true));\r\n\r\n this.timePeriod = WIDGET.Period.toReportTimePeriod(this.settings.period);\r\n this.currentPeriod = this.leaderboard.timePeriod;\r\n this.setTimePeriodNavigationDisplays();\r\n this.priorPeriod1Heading = this.getTimePeriodDisplay(this.leaderboard.priorTimePeriod1);\r\n this.priorPeriod2Heading = this.getTimePeriodDisplay(this.leaderboard.priorTimePeriod2);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Members } from 'services/members';\r\nimport { Security } from 'common/security';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { c } from 'common/common';\r\n\r\nexport class ProfileCard {\r\n static inject = [Members, Security, EventAggregator];\r\n _members;\r\n _security;\r\n _ea;\r\n\r\n @bindable forId;\r\n @bindable type;\r\n @bindable card = 'full';\r\n @bindable member;\r\n @bindable showBadges = false;\r\n @bindable reload;\r\n @bindable size = 'xl';\r\n\r\n cardTitleKey;\r\n profile;\r\n canViewProfile = false;\r\n\r\n constructor(members, security, ea) {\r\n this._members = members;\r\n this._security = security;\r\n this._ea = ea;\r\n }\r\n\r\n reloadChanged() {\r\n if (this.forId) {\r\n this._load();\r\n }\r\n }\r\n\r\n memberChanged() {\r\n this._loadMember();\r\n }\r\n\r\n async _loadMember() {\r\n try {\r\n this.clear();\r\n if (!this.member) return;\r\n this.cardTitleKey = 'agent';\r\n this.profile = this.member;\r\n this.canViewProfile = await this._members.canAccessProfile(this.profile.id);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n forIdChanged() {\r\n if (!this.forId) {\r\n this.clear();\r\n return;\r\n }\r\n this._load();\r\n }\r\n\r\n typeChanged() {\r\n this._load();\r\n }\r\n\r\n clear() {\r\n this.cardTitleKey = undefined;\r\n this.profile = undefined;\r\n this.canViewProfile = false;\r\n }\r\n\r\n async _load() {\r\n if (!this.type || !this.forId) return;\r\n try {\r\n this.clear();\r\n if (this.type === 'direct-upline') {\r\n this.cardTitleKey = 'direct-upline';\r\n this.profile = await this._members.getDirectUpline(this.forId);\r\n } else if (this.type === 'agency') {\r\n this.cardTitleKey = 'agency';\r\n this.profile = await this._members.getAgency(this.forId);\r\n } else if (this.type === 'mentor') {\r\n this.cardTitleKey = 'mentor';\r\n this.profile = await this._members.getMentor(this.forId);\r\n } else {\r\n this.cardTitleKey = 'agent';\r\n this.profile = await this._members.getMember(this.forId);\r\n }\r\n if (!this.profile) return;\r\n this.canViewProfile = await this._members.canAccessProfile(this.profile.id);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n\r\n openProfile(ev) {\r\n ev.stopPropagation();\r\n ev.preventDefault();\r\n this._ea.publish(c.EventKeys.site.openProfile, { memberId: this.profile.id });\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\n\r\nexport class ProfileName {\r\n @bindable profile;\r\n @bindable nameLink;\r\n initials;\r\n\r\n constructor() { }\r\n\r\n profileChanged() {\r\n try {\r\n this.initials = '';\r\n if (!this.profile) return;\r\n if (!this.profile.firstName && !this.profile.lastName) return;\r\n if (this.profile.firstName) this.initials += this.profile.firstName.substr(0, 1);\r\n if (this.profile.lastName) this.initials += this.profile.lastName.substr(0, 1);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nexport class PropertyBag {\r\n @bindable bag;\r\n @bindable namespace = '';\r\n}\r\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"popover .zeus-popover {\\n background: var(--kt-info-light);\\n padding: var(--zeus-space-sm);\\n border-radius: 4px;\\n display: none;\\n text-align: left;\\n z-index: 1;\\n}\\npopover .zeus-popover .zeus-popover-content {\\n position: relative;\\n}\\npopover .zeus-popover .zeus-popover-content .zeus-close {\\n position: absolute;\\n top: 0;\\n right: 0;\\n}\\npopover .zeus-popover .zeus-popover-content .zeus-close > i {\\n color: var(--kt-primary) !important;\\n}\\npopover .zeus-popover[data-show] {\\n display: block;\\n}\\npopover .zeus-popover-arrow,\\npopover .zeus-popover-arrow::before {\\n position: absolute;\\n width: 8px;\\n height: 8px;\\n background: inherit;\\n}\\npopover .zeus-popover-arrow {\\n visibility: hidden;\\n}\\npopover .zeus-popover-arrow::before {\\n visibility: visible;\\n content: \\\"\\\";\\n transform: rotate(45deg);\\n}\\npopover .zeus-popover[data-popper-placement^=top] > .zeus-popover-arrow {\\n bottom: -4px;\\n}\\npopover .zeus-popover[data-popper-placement^=bottom] > .zeus-popover-arrow {\\n top: -4px;\\n}\\npopover .zeus-popover[data-popper-placement^=left] > .zeus-popover-arrow {\\n right: -4px;\\n}\\npopover .zeus-popover[data-popper-placement^=right] > .zeus-popover-arrow {\\n left: -4px;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/popover/popover.scss\"],\"names\":[],\"mappings\":\"AACI;EACI,gCAAA;EACA,6BAAA;EACA,kBAAA;EACA,aAAA;EACA,gBAAA;EACA,UAAA;AAAR;AAEQ;EACI,kBAAA;AAAZ;AAEY;EACI,kBAAA;EACA,MAAA;EACA,QAAA;AAAhB;AAEgB;EACI,mCAAA;AAApB;AAMI;EACI,cAAA;AAJR;AAOI;;EAEE,kBAAA;EACA,UAAA;EACA,WAAA;EACA,mBAAA;AALN;AAQI;EACE,kBAAA;AANN;AASI;EACE,mBAAA;EACA,WAAA;EACA,wBAAA;AAPN;AAUI;EACI,YAAA;AARR;AAWI;EACI,SAAA;AATR;AAYI;EACI,WAAA;AAVR;AAaI;EACI,UAAA;AAXR\",\"sourcesContent\":[\"popover {\\r\\n .zeus-popover {\\r\\n background: var(--kt-info-light);\\r\\n padding: var(--zeus-space-sm);\\r\\n border-radius: 4px;\\r\\n display: none;\\r\\n text-align: left;\\r\\n z-index: 1;\\r\\n\\r\\n .zeus-popover-content {\\r\\n position: relative;\\r\\n\\r\\n .zeus-close {\\r\\n position: absolute;\\r\\n top: 0;\\r\\n right: 0;\\r\\n\\r\\n > i {\\r\\n color: var(--kt-primary) !important;\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n .zeus-popover[data-show] {\\r\\n display: block;\\r\\n }\\r\\n\\r\\n .zeus-popover-arrow,\\r\\n .zeus-popover-arrow::before {\\r\\n position: absolute;\\r\\n width: 8px;\\r\\n height: 8px;\\r\\n background: inherit;\\r\\n }\\r\\n \\r\\n .zeus-popover-arrow {\\r\\n visibility: hidden;\\r\\n }\\r\\n \\r\\n .zeus-popover-arrow::before {\\r\\n visibility: visible;\\r\\n content: '';\\r\\n transform: rotate(45deg);\\r\\n }\\r\\n\\r\\n .zeus-popover[data-popper-placement^='top'] > .zeus-popover-arrow {\\r\\n bottom: -4px;\\r\\n }\\r\\n \\r\\n .zeus-popover[data-popper-placement^='bottom'] > .zeus-popover-arrow {\\r\\n top: -4px;\\r\\n }\\r\\n \\r\\n .zeus-popover[data-popper-placement^='left'] > .zeus-popover-arrow {\\r\\n right: -4px;\\r\\n }\\r\\n \\r\\n .zeus-popover[data-popper-placement^='right'] > .zeus-popover-arrow {\\r\\n left: -4px;\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".zeus-production-status-container.horizontal {\\n display: flex;\\n justify-content: center;\\n}\\n.zeus-production-status-container.horizontal > * {\\n margin: 0 var(--zeus-space-sm);\\n}\\n\\n.zeus-production-status {\\n margin-bottom: var(--zeus-margin-xs);\\n text-align: center;\\n}\\n.zeus-production-status .zeus-hero-number {\\n min-width: 150px;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/production-summary/production-status.scss\"],\"names\":[],\"mappings\":\"AACI;EACI,aAAA;EACA,uBAAA;AAAR;AACQ;EACI,8BAAA;AACZ;;AAIA;EACI,oCAAA;EACA,kBAAA;AADJ;AAGI;EACI,gBAAA;AADR\",\"sourcesContent\":[\".zeus-production-status-container {\\r\\n &.horizontal {\\r\\n display: flex;\\r\\n justify-content: center;\\r\\n > * {\\r\\n margin: 0 var(--zeus-space-sm);\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n.zeus-production-status {\\r\\n margin-bottom: var(--zeus-margin-xs);\\r\\n text-align: center;\\r\\n\\r\\n .zeus-hero-number {\\r\\n min-width: 150px;\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"volume-rankings {\\n display: flex;\\n width: 100%;\\n height: 100%;\\n flex-direction: column;\\n}\\n\\n.zeus-volume-rankings-container {\\n flex: 2;\\n overflow: auto;\\n display: flex;\\n flex-direction: column;\\n height: 100%;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/production/volume-rankings.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,aAAA;EACA,WAAA;EACA,YAAA;EACA,sBAAA;AACJ;;AAEA;EACI,OAAA;EACA,cAAA;EACA,aAAA;EACA,sBAAA;EACA,YAAA;AACJ\",\"sourcesContent\":[\"volume-rankings {\\r\\n display: flex;\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n flex-direction: column;\\r\\n}\\r\\n\\r\\n.zeus-volume-rankings-container {\\r\\n flex: 2;\\r\\n overflow: auto;\\r\\n display: flex;\\r\\n flex-direction: column;\\r\\n height: 100%;\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".zeus-profile-card {\\n margin-bottom: var(--zeus-space);\\n border: 1px dashed var(--kt-primary);\\n padding: var(--zeus-space);\\n border-radius: var(--zeus-space);\\n background-color: var(--kt-primary-light);\\n}\\n\\n.zeus-profile-card-heading {\\n font-weight: bold;\\n color: var(--kt-primary);\\n}\\n\\n.zeus-profile-card-content {\\n display: flex;\\n justify-content: space-between;\\n align-items: flex-start;\\n}\\n.zeus-profile-card-content .zeus-profile-card-profile {\\n flex: 2;\\n overflow: hidden;\\n}\\n.zeus-profile-card-content .zeus-profile-card-image-container {\\n flex: 1;\\n}\\n\\n.zeus-profile-card-name {\\n font-weight: bold;\\n}\\n\\n[data-theme=dark] .zeus-profile-card-heading {\\n color: white;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/profile-card/profile-card.scss\"],\"names\":[],\"mappings\":\"AAEA;EACI,gCAAA;EACA,oCAAA;EACA,0BAAA;EACA,gCAAA;EACA,yCAAA;AADJ;;AAIA;EACI,iBAAA;EACA,wBAAA;AADJ;;AAIA;EACI,aAAA;EACA,8BAAA;EACA,uBAAA;AADJ;AAGI;EACI,OAAA;EACA,gBAAA;AADR;AAII;EACI,OAAA;AAFR;;AAMA;EACI,iBAAA;AAHJ;;AAOI;EACI,YAAA;AAJR\",\"sourcesContent\":[\"@import \\\"./../../../styles/components/mixins/_theme-mode.scss\\\";\\r\\n\\r\\n.zeus-profile-card {\\r\\n margin-bottom: var(--zeus-space);\\r\\n border: 1px dashed var(--kt-primary);\\r\\n padding: var(--zeus-space);\\r\\n border-radius: var(--zeus-space);\\r\\n background-color: var(--kt-primary-light);\\r\\n}\\r\\n\\r\\n.zeus-profile-card-heading {\\r\\n font-weight: bold;\\r\\n color: var(--kt-primary);\\r\\n}\\r\\n\\r\\n.zeus-profile-card-content {\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n align-items: flex-start;\\r\\n\\r\\n .zeus-profile-card-profile {\\r\\n flex: 2;\\r\\n overflow: hidden;\\r\\n }\\r\\n\\r\\n .zeus-profile-card-image-container {\\r\\n flex: 1;\\r\\n }\\r\\n}\\r\\n\\r\\n.zeus-profile-card-name {\\r\\n font-weight: bold;\\r\\n}\\r\\n\\r\\n@include theme-dark() {\\r\\n .zeus-profile-card-heading {\\r\\n color: white;\\r\\n } \\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"profile-name {\\n display: flex;\\n}\\nprofile-name .zeus-profile-name-image {\\n width: 40px;\\n height: 40px;\\n border-radius: 40px;\\n margin-right: var(--zeus-space);\\n}\\nprofile-name .zeus-profile-name-initials {\\n width: 40px;\\n height: 40px;\\n border-radius: 40px;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n margin-right: var(--zeus-space);\\n background-color: rgba(255, 127, 0, 0.2);\\n color: orange;\\n font-size: 0.8em;\\n font-weight: bold;\\n}\\nprofile-name .zeus-profile-name-name {\\n color: var(--kt-text-700);\\n}\\nprofile-name .zeus-profile-name-email {\\n font-size: 0.9em;\\n font-weight: bold;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/profile-name/profile-name.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,aAAA;AACJ;AACI;EACI,WAAA;EACA,YAAA;EACA,mBAAA;EACA,+BAAA;AACR;AAEI;EACI,WAAA;EACA,YAAA;EACA,mBAAA;EACA,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,+BAAA;EACA,wCAAA;EACA,aAAA;EACA,gBAAA;EACA,iBAAA;AAAR;AAGI;EACI,yBAAA;AADR;AAII;EACI,gBAAA;EACA,iBAAA;AAFR\",\"sourcesContent\":[\"profile-name {\\r\\n display: flex;\\r\\n\\r\\n .zeus-profile-name-image {\\r\\n width: 40px;\\r\\n height: 40px;\\r\\n border-radius: 40px;\\r\\n margin-right: var(--zeus-space);\\r\\n }\\r\\n\\r\\n .zeus-profile-name-initials {\\r\\n width: 40px;\\r\\n height: 40px;\\r\\n border-radius: 40px;\\r\\n display: flex;\\r\\n align-items: center;\\r\\n justify-content: center;\\r\\n margin-right: var(--zeus-space);\\r\\n background-color: rgba(255, 127, 0, 0.2);\\r\\n color: orange;\\r\\n font-size: 0.8em;\\r\\n font-weight: bold;\\r\\n }\\r\\n\\r\\n .zeus-profile-name-name {\\r\\n color: var(--kt-text-700);\\r\\n }\\r\\n\\r\\n .zeus-profile-name-email {\\r\\n font-size: 0.9em;\\r\\n font-weight: bold;\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Module\nvar code = \"\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\";\n// Exports\nexport default code;"],"names":[],"sourceRoot":""}