{"version":3,"file":"app-3f7cfb31.9729664bca28a8e6916d.bundle.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AAEA;AAAA;AAAA;AAAA;AAEA;AADA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAmBA;AAAA;AAjBA;AAEA;AAAA;AAEA;AACA;AACA;AAAA;AAEA;AAEA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA/GA;AAAA;AAAA;AAAA;AAAA;AAIA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;ACrBA;AACA;AAEA;AAIA;AAAA;AAEA;AAAA;AAJA;AAKA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA1BA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAiBA;AAAA;AAdA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAKA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AArFA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;ACtBA;AACA;AAEA;AAQA;AAAA;AANA;AACA;AAAA;AAMA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlCA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAuBA;AAAA;AArBA;AACA;AACA;AAGA;AACA;AACA;AAFA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAaA;AAIA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAtIA;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;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AAEA;AAkBA;AAAA;AAhBA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAQA;AACA;AACA;AAjIA;AAAA;AAAA;AAAA;AAAA;AACA;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;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AAEA;AAgBA;AAAA;AAdA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;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;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AA9EA;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;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAmBA;AAAA;AAjBA;AACA;AACA;AAGA;AACA;AACA;AAFA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA;AAIA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AA1HA;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;;;;;;;;;;;;;;ACxBA;;;;;;;;;;;;;;;ACAA;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;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","sources":["webpack://www.zeusteam.com/./src/resources/elements/carrier-code/carrier-code.js","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-number-editor.js","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-number.js","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-numbers.js","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/contracted-with-carriers.js","webpack://www.zeusteam.com/./src/resources/elements/chart-bar/chart-bar.js","webpack://www.zeusteam.com/./src/resources/elements/chart-goal-progress/chart-goal-progress.js","webpack://www.zeusteam.com/./src/resources/elements/chart-line/chart-line.js","webpack://www.zeusteam.com/./src/resources/elements/chart-pie/chart-pie.js","webpack://www.zeusteam.com/./src/resources/elements/chat/chat-button.js","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-number-editor.scss","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-number.scss","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-numbers.scss","webpack://www.zeusteam.com/./src/resources/elements/chart-bar/chart-bar.scss","webpack://www.zeusteam.com/./src/resources/elements/chart-goal-progress/chart-goal-progress.scss","webpack://www.zeusteam.com/./src/resources/elements/chart-line/chart-line.scss","webpack://www.zeusteam.com/./src/resources/elements/chart-pie/chart-pie.scss","webpack://www.zeusteam.com/./src/resources/elements/carrier-code/carrier-code.html","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-number-editor.html","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-number.html","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/carrier-numbers.html","webpack://www.zeusteam.com/./src/resources/elements/carrier-numbers/contracted-with-carriers.html","webpack://www.zeusteam.com/./src/resources/elements/chart-bar/chart-bar.html","webpack://www.zeusteam.com/./src/resources/elements/chart-goal-progress/chart-goal-progress.html","webpack://www.zeusteam.com/./src/resources/elements/chart-line/chart-line.html","webpack://www.zeusteam.com/./src/resources/elements/chart-pie/chart-pie.html","webpack://www.zeusteam.com/./src/resources/elements/chat/chat-button.html"],"sourcesContent":["import { bindable } from 'aurelia-framework';\r\n\r\nexport class CarrierCode {\r\n @bindable carrier;\r\n}\r\n","import { inject, observable } from 'aurelia-framework';\r\nimport { DialogController } from 'aurelia-dialog';\r\nimport { NewInstance } from 'aurelia-dependency-injection';\r\nimport { ValidationController } from 'aurelia-validation';\r\nimport { BootstrapFormValidationRenderer } from 'validation/bootstrap-form-validation-renderer';\r\nimport { I18n } from 'common/i18n';\r\nimport { Members } from 'services/members';\r\nimport { Notifier } from 'common/ui';\r\nimport { Carriers } from 'services/carriers';\r\nimport { AgentNumbers } from 'services/agent-numbers';\r\nimport moment from 'moment';\r\n\r\n@inject(DialogController, NewInstance.of(ValidationController), I18n, Members, Notifier, Carriers, AgentNumbers)\r\nexport class CarrierNumberEditor {\r\n _agentNumbers;\r\n\r\n id;\r\n @observable agentNumber;\r\n lineOfBusiness;\r\n visible = true;\r\n status;\r\n @observable statusComment;\r\n comments;\r\n\r\n lobs = ['', 'life', 'annuity', 'hma', 'ancillary'];\r\n statuses;\r\n carriers;\r\n carrierId;\r\n focusCarrier = false;\r\n focusNumber = false;\r\n\r\n constructor(dialogController, validationController, i18n, members, notifier, carriers, agentNumbers) {\r\n this.dialogController = dialogController;\r\n this.validationController = validationController;\r\n this.validationController.addRenderer(new BootstrapFormValidationRenderer());\r\n this._i18n = i18n;\r\n this._members = members;\r\n this._notifier = notifier;\r\n this._carriers = carriers;\r\n this._agentNumbers = agentNumbers;\r\n\r\n this.deleteText = this._i18n.tr('delete');\r\n }\r\n\r\n activate(model) {\r\n this.memberId = model.memberId;\r\n this.carrierId = undefined;\r\n this.carrier = model.carrier;\r\n this.carrierSet = this.carrier ? true : false;\r\n this.focusCarrier = !this.carrierSet;\r\n this.focusNumber = this.carrierSet;\r\n this.id = model.agentNumber.id;\r\n this.assignedDate = model.agentNumber.assignedDate;\r\n this.agentNumber = model.agentNumber.agentNumber;\r\n this.statusCode = model.agentNumber.status;\r\n this.lineOfBusiness = model.agentNumber.lineOfBusiness;\r\n this.visible = model.agentNumber.visible;\r\n this.comments = model.agentNumber.comments;\r\n this.commentDate = model.agentNumber.commentDate;\r\n this.validationController.reset();\r\n }\r\n\r\n attached() {\r\n this._load();\r\n }\r\n\r\n async _load() {\r\n try {\r\n this.statuses = await this._agentNumbers.agentNumberStatuses();\r\n this.status = this.statuses.find(x => x.code === this.statusCode) || null;\r\n this.carriers = await this._carriers.all();\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n agentNumberChanged() {\r\n if (this.id) return; // do not adjust anything if this is an existing agent number\r\n if (this.agentNumber && !this.assignedDate) this.assignedDate = moment();\r\n if (!this.agentNumber && this.assignedDate) this.clearAssignedDateNow = moment().valueOf();\r\n }\r\n\r\n setComment(comment) {\r\n this.comments = comment;\r\n }\r\n\r\n async save() {\r\n try {\r\n const v = await this.validationController.validate();\r\n if (!v.valid) return;\r\n this.saving = true;\r\n\r\n const carrierId = this.carrierSet ? this.carrier.carrierId : this.carrierId;\r\n const status = this.status ? this.status.code : null;\r\n await this._members.saveAgentNumber(this.memberId, this.id, carrierId, this.agentNumber, this.lineOfBusiness || null, this.visible, status, this.comments, this.assignedDate);\r\n this._notifier.success(this._i18n.tr('members-carriers-editor-save-success'));\r\n this.dialogController.ok({ deleted: false });\r\n } catch (err) {\r\n this._notifier.generalError(err);\r\n } finally {\r\n this.saving = false;\r\n }\r\n }\r\n\r\n resetDelete() {\r\n this.showDeleteConfirm = false;\r\n this.deleteText = this._i18n.tr('delete');\r\n }\r\n\r\n async deleteEntry() {\r\n if (!this.showDeleteConfirm) {\r\n this.showDeleteConfirm = true;\r\n this.deleteText = this._i18n.tr('delete-confirm');\r\n return;\r\n }\r\n\r\n this.showDeleteConfirm = false;\r\n this.deleting = true;\r\n try {\r\n await this._members.deleteAgentNumber(this.memberId, this.id);\r\n this._notifier.success('members-carriers-editor-delete-success');\r\n this.dialogController.ok({ deleted: true });\r\n } catch (err) {\r\n this._notifier.generalError();\r\n } finally {\r\n this.deleting = false;\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { AgentNumbers } from 'services/agent-numbers';\r\n\r\nexport class CarrierNumber {\r\n static inject = [AgentNumbers];\r\n _agentNumbers;\r\n\r\n @bindable({ changeHandler: '_load' }) carrierId;\r\n\r\n constructor(agentNumbers) {\r\n this._agentNumbers = agentNumbers;\r\n }\r\n\r\n async _load() {\r\n try {\r\n if (!this.carrierId) return;\r\n this.loading = true;\r\n const carrier = await this._agentNumbers.forCarrier(this.carrierId);\r\n if (!carrier) return;\r\n for (let an of carrier.agentNumbers) {\r\n an.statusColor = await this._agentNumbers.statusColor(an);\r\n }\r\n this.agentNumbers = carrier.agentNumbers;\r\n this.carrier = carrier.carrierName;\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n}","import { PLATFORM } from 'aurelia-pal';\r\nimport { customElement, bindable } from 'aurelia-framework';\r\nimport { Security } from 'common/security';\r\nimport { Api } from 'common/server';\r\nimport { CarrierNumberEditor } from './carrier-number-editor';\r\nimport { DialogService } from 'aurelia-dialog';\r\nimport { AgentNumbers } from 'services/agent-numbers';\r\nimport { c } from 'common/common';\r\nimport moment from 'moment';\r\nPLATFORM.moduleName('./carrier-number-editor');\r\n\r\n@customElement('member-carrier-numbers')\r\nexport class CarrierNumbers {\r\n static inject = [Element, Security, Api, DialogService, AgentNumbers];\r\n _element;\r\n _security;\r\n _api;\r\n _dialogService;\r\n _agentNumbers;\r\n\r\n @bindable memberId;\r\n @bindable showNumbers = false;\r\n @bindable readOnly = false;\r\n id;\r\n isMyProfile = false;\r\n\r\n carriers;\r\n\r\n constructor(element, security, api, dialogService, agentNumbers) {\r\n this._element = element;\r\n this._security = security;\r\n this._api = api;\r\n this._dialogService = dialogService;\r\n this._agentNumbers = agentNumbers;\r\n this.id = c.Helpers.uniqueId();\r\n this.isAdmin = this._security.isAdmin;\r\n }\r\n\r\n bind() {\r\n if (!this.memberId) return;\r\n this._load();\r\n }\r\n\r\n memberIdChanged() {\r\n if (!this.memberId) return;\r\n this._load();\r\n }\r\n\r\n async _load() {\r\n try {\r\n this.isMyProfile = this.memberId === this._security.authenticatedMemberId;\r\n this.isMyDownline = this.isMyProfile ? true : !this._security.isAdmin;\r\n this.carriers = [];\r\n this.agentNumberCount = 0;\r\n const data = await this._api.get(`member/${this.memberId}/carrier-number`);\r\n let hasAtLeastOne = false;\r\n for (let c of data) {\r\n const carrier = {\r\n carrierId: c.carrierId,\r\n carrier: c.carrierName,\r\n agentNumbers: c.agentNumbers,\r\n hasBalance: c.hasBalance,\r\n balance: c.balance,\r\n balanceAsOfDate: c.balanceAsOfDate ? moment(c.balanceAsOfDate).format('l') : '',\r\n display: this.isMyProfile || this.isMyDownline ? false : true,\r\n };\r\n this.carriers.push(carrier);\r\n if (!c.agentNumbers) continue;\r\n for (let an of carrier.agentNumbers) {\r\n an.statusColor = await this._agentNumbers.statusColor(an);\r\n }\r\n let carrierHasAtLeastOneNumer = carrier.agentNumbers.length > 0;\r\n this.agentNumberCount += carrier.agentNumbers.length;\r\n carrier.display = this.isMyProfile || this.isMyDownline ? carrierHasAtLeastOneNumer : true;\r\n if (carrier.display) hasAtLeastOne = true;\r\n }\r\n this.hasAtLeastOneNumber = hasAtLeastOne;\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n showList(show) {\r\n this.showNumbers = show;\r\n }\r\n\r\n addCarrierNumber() {\r\n this._openEditor(undefined, undefined);\r\n }\r\n\r\n editCarrierNumber(carrier, agentNumber) {\r\n this._openEditor(carrier, agentNumber);\r\n }\r\n\r\n _openEditor(carrier, agentNumber) {\r\n const model = {\r\n memberId: this.memberId,\r\n carrier,\r\n agentNumber: agentNumber || { visible: true },\r\n };\r\n\t this._dialogService.open({ viewModel: CarrierNumberEditor, model, ignoreTransitions: true }).whenClosed(response => {\r\n\t if (response.wasCancelled) return;\r\n\t this._load();\r\n\t });\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Api } from 'common/server';\r\n\r\nexport class ContractedWithCarriers {\r\n static inject = [Element, Api];\r\n _element;\r\n _api;\r\n\r\n @bindable memberId;\r\n carriers;\r\n\r\n constructor(element, api) {\r\n this._element = element;\r\n this._api = api;\r\n }\r\n\r\n bind() {\r\n this._load();\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.carriers = [];\r\n const data = await this._api.get(`member/${this.memberId}/carrier-number`);\r\n for (let c of data) {\r\n if (!c.agentNumbers) continue;\r\n const hasAgentNumber = c.agentNumbers.find(x => x.agentNumber && x.visible);\r\n if (!hasAgentNumber) continue;\r\n this.carriers.push({\r\n id: c.carrierId,\r\n name: c.carrierName,\r\n });\r\n }\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Router } from 'aurelia-router';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { I18n } from 'common/i18n';\r\nimport { CHART_COLORS } from 'common/constants';\r\nimport Chart from 'chart.js/auto';\r\nimport { mode } from 'common/ui';\r\n\r\nexport class ChartBar {\r\n static inject = [Element, Router, EventAggregator, I18n];\r\n _element;\r\n _router;\r\n _ea;\r\n _i18n;\r\n\r\n /**\r\n * Data must be an array of objects with { name, value }\r\n */\r\n @bindable data;\r\n @bindable horizontal = false;\r\n @bindable isCurrency = false;\r\n @bindable YAxisIsCurrency = false;\r\n @bindable noDataKey;\r\n @bindable reload;\r\n @bindable loading = false;\r\n @bindable heightPerRow;\r\n @bindable barColor;\r\n\r\n _chart;\r\n chartEl;\r\n\r\n constructor(element, router, ea, i18n) {\r\n this._element = element;\r\n this._router = router;\r\n this._ea = ea;\r\n this._i18n = i18n;\r\n }\r\n\r\n attached() {\r\n this._loadChart();\r\n }\r\n\r\n dataChanged() {\r\n this._loadChart();\r\n }\r\n\r\n reloadChanged() {\r\n this._loadChart();\r\n }\r\n\r\n _loadChart() {\r\n if (!this.chartEl || !this.data) return;\r\n\r\n try {\r\n const uiMode = mode();\r\n\r\n if (!this.data.length) {\r\n this.showChart = false;\r\n return;\r\n }\r\n this.showChart = true;\r\n const labels = [];\r\n const labelIds = [];\r\n const shortLabels = [];\r\n const values = [];\r\n this.data.forEach(d => {\r\n labels.push(d.name);\r\n labelIds.push(d.id);\r\n if (d.shortName) shortLabels.push(d.shortName); else shortLabels.push(d.name);\r\n values.push(d.value);\r\n });\r\n const data = {\r\n labels,\r\n labelIds,\r\n shortLabels,\r\n datasets: [\r\n {\r\n data: values,\r\n backgroundColor: this.barColor || CHART_COLORS.Classic(uiMode.mode),\r\n }\r\n ]\r\n };\r\n const config = {\r\n type: 'bar',\r\n data: data,\r\n options: {\r\n maxBarThickness: 12,\r\n borderRadius: 12,\r\n responsive: true,\r\n plugins: {\r\n legend: { display: false },\r\n title: { display: false },\r\n tooltip: {\r\n callbacks: {\r\n label: (context) => {\r\n return this.isCurrency\r\n ? `${context.label}: $${context.formattedValue}`\r\n : `${context.label}: ${context.formattedValue}`;\r\n },\r\n },\r\n },\r\n },\r\n onHover: (evt, item) => {\r\n evt.native.target.style.cursor = item[0] ? 'pointer' : 'default';\r\n },\r\n onClick: (evt, item) => {\r\n const points = this._chart.getElementsAtEventForMode(evt, 'nearest', { intersect: true }, true);\r\n if (!points || !points.length) return;\r\n const firstPoint = points[0];\r\n const label = this._chart.data.labels[firstPoint.index];\r\n const labelId = this._chart.data.labelIds[firstPoint.index];\r\n const value = this._chart.data.datasets[firstPoint.datasetIndex].data[firstPoint.index];\r\n this._element.dispatchEvent(new CustomEvent('drilldown', { bubbles: true, detail: { id: labelId, name: label, value } }));\r\n },\r\n },\r\n };\r\n if (this.YAxisIsCurrency) {\r\n config.options.scales = {\r\n y: {\r\n ticks: {\r\n callback: (value, index, ticks) => {\r\n return '$' + `${value}`;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (this.horizontal) {\r\n config.options.indexAxis = 'y';\r\n config.options.maintainAspectRatio = false;\r\n }\r\n\r\n if (this.heightPerRow) {\r\n const height = this.heightPerRow * values.length;\r\n this.chartContainerEl.style.height = `${height}px`;\r\n }\r\n\r\n if (this._chart) {\r\n this._chart.data.labels = data.labels;\r\n this._chart.data.labelIds = data.labelIds;\r\n this._chart.data.shortLabels = data.shortLabels;\r\n this._chart.data.datasets = data.datasets;\r\n this._chart.update();\r\n return;\r\n }\r\n\r\n this._chart = new Chart(this.chartEl, config);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Router } from 'aurelia-router';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { I18n } from 'common/i18n';\r\nimport Chart from 'chart.js/auto';\r\nimport { c } from 'common/common';\r\n\r\nexport class ChartGoalProgress {\r\n static inject = [Router, EventAggregator, I18n];\r\n _router;\r\n _ea;\r\n _i18n;\r\n\r\n @bindable key;\r\n @bindable goal;\r\n @bindable progress;\r\n @bindable ryg;\r\n @bindable formatMoney = false;\r\n @bindable decimals = 0;\r\n @bindable reload;\r\n @bindable size = 'small';\r\n\r\n chartEl;\r\n showChart = true;\r\n\r\n constructor(router, ea, i18n) {\r\n this._router = router;\r\n this._ea = ea;\r\n this._i18n = i18n;\r\n }\r\n\r\n attached() {\r\n this._loadChart();\r\n }\r\n\r\n goalChanged() {\r\n this._loadChart();\r\n }\r\n\r\n progressChanged() {\r\n this._loadChart();\r\n }\r\n\r\n reloadChanged() {\r\n this._loadChart();\r\n }\r\n\r\n rygChanged() {\r\n this._loadChart();\r\n }\r\n\r\n _loadChart() {\r\n try {\r\n if (!this.chartEl || this.goal === undefined || this.goal === null || this.progress === undefined || this.progress === null || this.ryg === undefined || this.ryg === null) return;\r\n this.neededToMeetGoal = this.goal - this.progress;\r\n if (this.neededToMeetGoal < 0) this.neededToMeetGoal = 0;\r\n const backgroundColors = [this.rygColor(), 'transparent'];\r\n const borderColors = [this.rygColor(), '#eeeeee'];\r\n const data = {\r\n labels: ['', ''],\r\n datasets: [\r\n {\r\n label: '',\r\n data: [this.progress, this.neededToMeetGoal],\r\n backgroundColor: backgroundColors,\r\n borderColor: borderColors\r\n }\r\n ]\r\n };\r\n const plugin = {\r\n id: 'content-at-center',\r\n beforeDraw: (chart) => {\r\n let width = chart.width;\r\n let height = chart.height;\r\n let ctx = chart.ctx;\r\n \r\n const centerText = this.formatMoney ? `$${this.progress.formatMoney(this.decimals)}` : `${c.Helpers.formatNumber(this.progress, this.decimals)}`;\r\n let heightDivisor = this.centerTextDivisor(centerText);\r\n\r\n let fontSize = (height / heightDivisor).toFixed(2);\r\n ctx.font = `${fontSize}em sans-serif`;\r\n ctx.textBaseline = 'middle';\r\n ctx.fillStyle = this.rygColor();\r\n \r\n let textX = Math.round((width - ctx.measureText(centerText).width) / 2);\r\n let textY = height / 1.9;\r\n \r\n ctx.fillText(centerText, textX, textY);\r\n ctx.save();\r\n }\r\n }\r\n const config = {\r\n type: 'doughnut',\r\n data: data,\r\n plugins: [plugin],\r\n options: {\r\n responsive: true,\r\n cutout: '90%',\r\n plugins: {\r\n legend: { display: false },\r\n title: { display: false },\r\n tooltip: { enabled: false }\r\n }\r\n },\r\n };\r\n\r\n if (this._chart) {\r\n this._chart.data.datasets = data.datasets;\r\n this._chart.update();\r\n return;\r\n }\r\n\r\n this._chart = new Chart(this.chartEl, config);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n rygColor() {\r\n let color = 'black';\r\n switch (this.ryg) {\r\n case 'r': color = 'red'; break;\r\n case 'y': color = 'orange'; break;\r\n case 'g': color = 'green'; break;\r\n default: break;\r\n }\r\n return color;\r\n }\r\n\r\n centerTextDivisor(centerText) {\r\n // size = small\r\n let heightDivisor = 70;\r\n if (centerText.length >= 9) heightDivisor = 100;\r\n else if (centerText.length >= 8) heightDivisor = 100;\r\n else if (centerText.length >= 7) heightDivisor = 100;\r\n else if (centerText.length >= 6) heightDivisor = 100;\r\n else if (centerText.length >= 5) heightDivisor = 100;\r\n else if (centerText.length >= 4) heightDivisor = 100;\r\n else if (centerText.length >= 3) heightDivisor = 95;\r\n else if (centerText.length >= 2) heightDivisor = 80;\r\n return heightDivisor;\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Router } from 'aurelia-router';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { I18n } from 'common/i18n';\r\nimport Chart from 'chart.js/auto';\r\nimport moment from 'moment';\r\n\r\nexport class ChartLine {\r\n static inject = [Router, EventAggregator, I18n];\r\n _router;\r\n _ea;\r\n _i18n;\r\n\r\n @bindable datasets;\r\n @bindable dateFormat = 'l';\r\n @bindable decimals = 0;\r\n @bindable reload;\r\n @bindable legendPosition = 'bottom';\r\n @bindable curved = false;\r\n\r\n chartEl;\r\n showChart = true;\r\n\r\n constructor(router, ea, i18n) {\r\n this._router = router;\r\n this._ea = ea;\r\n this._i18n = i18n;\r\n }\r\n\r\n attached() {\r\n this._loadChart();\r\n }\r\n\r\n datasetsChanged() {\r\n this._loadChart();\r\n }\r\n\r\n reloadChanged() {\r\n this._loadChart();\r\n }\r\n\r\n _loadChart() {\r\n try {\r\n if (!this.chartEl || !this.datasets) return;\r\n\r\n const data = {\r\n labels: undefined,\r\n datasets: [],\r\n };\r\n for (let dataset of this.datasets) {\r\n const dataValues = [];\r\n const dataLabels = [];\r\n dataset.data.forEach(d => {\r\n dataValues.push(d.value);\r\n dataLabels.push(moment.utc(d.date).format(this.dateFormat));\r\n });\r\n if (!data.labels) data.labels = dataLabels; // Both datasets must have the same labels\r\n data.datasets.push({\r\n label: this._i18n.tr(dataset.key),\r\n data: dataValues,\r\n backgroundColor: [dataset.color],\r\n borderColor: [dataset.color],\r\n lineTension: this.curved ? 0.3 : 0,\r\n });\r\n }\r\n const config = {\r\n type: 'line',\r\n data: data,\r\n options: {\r\n responsive: true,\r\n scales: {\r\n y: { min: 0 }\r\n },\r\n plugins: {\r\n legend: { display: true, position: this.legendPosition },\r\n title: { display: false },\r\n }\r\n },\r\n };\r\n\r\n if (this._chart) {\r\n this._chart.data.datasets = data.datasets;\r\n this._chart.update();\r\n return;\r\n }\r\n\r\n this._chart = new Chart(this.chartEl, config);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Router } from 'aurelia-router';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { I18n } from 'common/i18n';\r\nimport { CHART_COLORS } from 'common/constants';\r\nimport { c } from 'common/common';\r\nimport Chart from 'chart.js/auto';\r\nimport ChartDataLabels from 'chartjs-plugin-datalabels';\r\nimport { mode } from 'common/ui';\r\n\r\nexport class ChartPie {\r\n static inject = [Element, Router, EventAggregator, I18n];\r\n _element;\r\n _router;\r\n _ea;\r\n _i18n;\r\n\r\n /**\r\n * Data must be an array of objects with { name, value }\r\n */\r\n @bindable data;\r\n @bindable isCurrency = false;\r\n @bindable noDataKey;\r\n @bindable reload;\r\n @bindable loading = false;\r\n\r\n _chart;\r\n chartEl;\r\n\r\n constructor(element, router, ea, i18n) {\r\n this._element = element;\r\n this._router = router;\r\n this._ea = ea;\r\n this._i18n = i18n;\r\n }\r\n\r\n attached() {\r\n this._loadChart();\r\n }\r\n\r\n dataChanged() {\r\n this._loadChart();\r\n }\r\n\r\n reloadChanged() {\r\n this._loadChart();\r\n }\r\n\r\n _loadChart() {\r\n if (!this.chartEl || !this.data) return;\r\n try {\r\n const uiMode = mode();\r\n\r\n if (!this.data.length) {\r\n this.showChart = false;\r\n return;\r\n }\r\n this.showChart = true;\r\n const labels = [];\r\n const labelIds = [];\r\n const shortLabels = [];\r\n const values = [];\r\n this.data.forEach(d => {\r\n labels.push(d.name);\r\n labelIds.push(d.id);\r\n if (d.shortName) shortLabels.push(d.shortName); else shortLabels.push(d.name);\r\n values.push(d.value);\r\n });\r\n const data = {\r\n labels,\r\n labelIds,\r\n shortLabels,\r\n datasets: [\r\n {\r\n data: values,\r\n backgroundColor: CHART_COLORS.Classic(uiMode.mode),\r\n borderWidth: 0,\r\n }\r\n ]\r\n };\r\n const config = {\r\n type: 'pie',\r\n data: data,\r\n plugins: [ChartDataLabels],\r\n options: {\r\n responsive: true,\r\n plugins: {\r\n legend: { display: false },\r\n title: { display: false },\r\n tooltip: {\r\n callbacks: {\r\n label: (context) => {\r\n return this.isCurrency\r\n ? `${context.label}: $${context.formattedValue}`\r\n : `${context.label}: ${context.formattedValue}`;\r\n },\r\n },\r\n },\r\n datalabels: {\r\n color: 'white',\r\n formatter: (value, context) => {\r\n const total = context.dataset.data.reduce((n, value) => n + value, 0);\r\n const count = context.dataset.data[context.dataIndex];\r\n if (count === 0) return '';\r\n const percentage = count / total;\r\n const label = percentage < .25 ? context.chart.data.shortLabels[context.dataIndex] : context.chart.data.labels[context.dataIndex];\r\n if (percentage < 0.03) return '';\r\n if (percentage < .1) return label;\r\n const valueFormatted = this.isCurrency ? `$${c.Helpers.formatMoney(count, 0)}` : c.Helpers.formatNumber(count, 2, true);\r\n return `${label} (${valueFormatted})`;\r\n }\r\n },\r\n },\r\n onHover: (evt, item) => {\r\n evt.native.target.style.cursor = item[0] ? 'pointer' : 'default';\r\n },\r\n onClick: (evt, item) => {\r\n const points = this._chart.getElementsAtEventForMode(evt, 'nearest', { intersect: true }, true);\r\n if (!points || !points.length) return;\r\n const firstPoint = points[0];\r\n const label = this._chart.data.labels[firstPoint.index];\r\n const labelId = this._chart.data.labelIds[firstPoint.index];\r\n const value = this._chart.data.datasets[firstPoint.datasetIndex].data[firstPoint.index];\r\n this._element.dispatchEvent(new CustomEvent('drilldown', { bubbles: true, detail: { id: labelId, name: label, value } }));\r\n },\r\n },\r\n };\r\n\r\n if (this._chart) {\r\n this._chart.data.labels = data.labels;\r\n this._chart.data.labelIds = data.labelIds;\r\n this._chart.data.shortLabels = data.shortLabels;\r\n this._chart.data.datasets = data.datasets;\r\n this._chart.update();\r\n return;\r\n }\r\n\r\n this._chart = new Chart(this.chartEl, config);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","export class ChatButton {\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, \".zeus-predefined-comments {\\n max-height: 200px;\\n overflow: auto;\\n}\\n\\n.zeus-predefined-comment {\\n margin-bottom: var(--zeus-margin);\\n padding: var(--zeus-margin);\\n display: flex;\\n flex-direction: row;\\n justify-content: space-between;\\n align-items: center;\\n}\\n.zeus-predefined-comment .zeus-predefined-comment-button {\\n width: 250px;\\n padding-left: var(--zeus-margin);\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/carrier-numbers/carrier-number-editor.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,iBAAA;EACA,cAAA;AACJ;;AAEA;EACI,iCAAA;EACA,2BAAA;EACA,aAAA;EACA,mBAAA;EACA,8BAAA;EACA,mBAAA;AACJ;AACI;EACI,YAAA;EACA,gCAAA;AACR\",\"sourcesContent\":[\".zeus-predefined-comments {\\r\\n max-height: 200px;\\r\\n overflow: auto;\\r\\n}\\r\\n\\r\\n.zeus-predefined-comment {\\r\\n margin-bottom: var(--zeus-margin);\\r\\n padding: var(--zeus-margin);\\r\\n display: flex;\\r\\n flex-direction: row;\\r\\n justify-content: space-between;\\r\\n align-items: center;\\r\\n\\r\\n .zeus-predefined-comment-button {\\r\\n width: 250px;\\r\\n padding-left: var(--zeus-margin);\\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-carrier-number-container {\\n position: relative;\\n margin-bottom: var(--zeus-margin-sm);\\n padding: var(--zeus-margin);\\n border: 1px solid #efefef;\\n border-radius: var(--zeus-margin-sm);\\n}\\n.zeus-carrier-number-container.zeus-not-contracted {\\n border-color: rgba(255, 127, 127, 0.4);\\n color: red;\\n text-align: center;\\n}\\n.zeus-carrier-number-container .zeus-carrier-number {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n padding: var(--zeus-margin-xs) var(--zeus-margin-sm);\\n}\\n.zeus-carrier-number-container .zeus-carrier-number .zeus-carrier-number-agentNumber {\\n padding-left: var(--zeus-margin-lg);\\n}\\n.zeus-carrier-number-container .zeus-carrier-number .zeus-carrier-number-lob {\\n color: var(--kt-primary);\\n font-variant: small-caps;\\n margin-left: var(--zeus-margin-sm);\\n}\\n.zeus-carrier-number-container .zeus-carrier-number .zeus-carrier-number-assignedDate {\\n font-style: italic;\\n font-size: 0.95em;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/carrier-numbers/carrier-number.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,kBAAA;EACA,oCAAA;EACA,2BAAA;EACA,yBAAA;EACA,oCAAA;AACJ;AACI;EACI,sCAAA;EACA,UAAA;EACA,kBAAA;AACR;AAEI;EACI,aAAA;EACA,mBAAA;EACA,8BAAA;EACA,oDAAA;AAAR;AAEQ;EACI,mCAAA;AAAZ;AAGQ;EACI,wBAAA;EACA,wBAAA;EACA,kCAAA;AADZ;AAIQ;EACI,kBAAA;EACA,iBAAA;AAFZ\",\"sourcesContent\":[\".zeus-carrier-number-container {\\r\\n position: relative;\\r\\n margin-bottom: var(--zeus-margin-sm);\\r\\n padding: var(--zeus-margin);\\r\\n border: 1px solid #efefef;\\r\\n border-radius: var(--zeus-margin-sm);\\r\\n\\r\\n &.zeus-not-contracted {\\r\\n border-color: rgba(255, 127, 127, 0.4);\\r\\n color: red;\\r\\n text-align: center;\\r\\n }\\r\\n\\r\\n .zeus-carrier-number {\\r\\n display: flex;\\r\\n align-items: center;\\r\\n justify-content: space-between;\\r\\n padding: var(--zeus-margin-xs) var(--zeus-margin-sm);\\r\\n \\r\\n .zeus-carrier-number-agentNumber {\\r\\n padding-left: var(--zeus-margin-lg);\\r\\n }\\r\\n \\r\\n .zeus-carrier-number-lob {\\r\\n color: var(--kt-primary);\\r\\n font-variant: small-caps;\\r\\n margin-left: var(--zeus-margin-sm);\\r\\n }\\r\\n \\r\\n .zeus-carrier-number-assignedDate {\\r\\n font-style: italic;\\r\\n font-size: 0.95em;\\r\\n }\\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-carrier-number-carrier {\\n margin-bottom: var(--zeus-margin-lg);\\n position: relative;\\n}\\n.zeus-carrier-number-carrier .zeus-title {\\n padding: var(--zeus-margin-sm);\\n border-radius: var(--zeus-margin-sm);\\n}\\n.zeus-carrier-number-carrier .zeus-title .zeus-carrier-number-carrier-name {\\n margin-bottom: 0 !important;\\n padding: var(--zeus-margin-sm) 0;\\n}\\n.zeus-carrier-number-carrier .zeus-title .zeus-icon-link {\\n margin-bottom: 0;\\n}\\n\\n.zeus-carrier-number-agentNumber-container {\\n position: relative;\\n margin-bottom: var(--zeus-margin-sm);\\n}\\n\\n.zeus-carrier-number {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n padding: var(--zeus-margin-xs) var(--zeus-margin-sm);\\n}\\n.zeus-carrier-number .zeus-carrier-number-agentNumber {\\n padding-left: var(--zeus-margin-lg);\\n}\\n.zeus-carrier-number .zeus-carrier-number-lob {\\n color: var(--kt-primary);\\n font-variant: small-caps;\\n}\\n.zeus-carrier-number .zeus-carrier-number-assignedDate {\\n font-style: italic;\\n font-size: 0.95em;\\n}\\n\\n.zeus-carrier-number-edit {\\n text-decoration: none !important;\\n}\\n.zeus-carrier-number-edit i.fas {\\n position: absolute;\\n left: var(--zeus-margin-xs);\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/carrier-numbers/carrier-numbers.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,oCAAA;EACA,kBAAA;AACJ;AACI;EACI,8BAAA;EACA,oCAAA;AACR;AACQ;EACI,2BAAA;EACA,gCAAA;AACZ;AAEQ;EACI,gBAAA;AAAZ;;AAKA;EACI,kBAAA;EACA,oCAAA;AAFJ;;AAKA;EACI,aAAA;EACA,mBAAA;EACA,8BAAA;EACA,oDAAA;AAFJ;AAII;EACI,mCAAA;AAFR;AAKI;EACI,wBAAA;EACA,wBAAA;AAHR;AAMI;EACI,kBAAA;EACA,iBAAA;AAJR;;AAQA;EACI,gCAAA;AALJ;AAOI;EACI,kBAAA;EACA,2BAAA;AALR\",\"sourcesContent\":[\".zeus-carrier-number-carrier {\\r\\n margin-bottom: var(--zeus-margin-lg);\\r\\n position: relative;\\r\\n\\r\\n .zeus-title {\\r\\n padding: var(--zeus-margin-sm);\\r\\n border-radius: var(--zeus-margin-sm);\\r\\n\\r\\n .zeus-carrier-number-carrier-name {\\r\\n margin-bottom: 0 !important;\\r\\n padding: var(--zeus-margin-sm) 0;\\r\\n }\\r\\n\\r\\n .zeus-icon-link {\\r\\n margin-bottom: 0;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n.zeus-carrier-number-agentNumber-container {\\r\\n position: relative;\\r\\n margin-bottom: var(--zeus-margin-sm);\\r\\n}\\r\\n\\r\\n.zeus-carrier-number {\\r\\n display: flex;\\r\\n align-items: center;\\r\\n justify-content: space-between;\\r\\n padding: var(--zeus-margin-xs) var(--zeus-margin-sm);\\r\\n\\r\\n .zeus-carrier-number-agentNumber {\\r\\n padding-left: var(--zeus-margin-lg);\\r\\n }\\r\\n\\r\\n .zeus-carrier-number-lob {\\r\\n color: var(--kt-primary);\\r\\n font-variant: small-caps;\\r\\n }\\r\\n\\r\\n .zeus-carrier-number-assignedDate {\\r\\n font-style: italic;\\r\\n font-size: 0.95em;\\r\\n }\\r\\n}\\r\\n\\r\\n.zeus-carrier-number-edit {\\r\\n text-decoration: none !important;\\r\\n\\r\\n i.fas {\\r\\n position: absolute;\\r\\n left: var(--zeus-margin-xs);\\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, \"chart-bar {\\n display: flex;\\n position: relative;\\n width: 100%;\\n max-width: 100%;\\n justify-content: center;\\n}\\nchart-bar .zeus-chart-bar-canvas {\\n position: relative;\\n display: flex;\\n max-width: 100%;\\n width: 100%;\\n min-height: 200px;\\n padding: var(--zeus-margin-sm);\\n}\\nchart-bar .zeus-chart-bar-canvas > canvas {\\n max-width: 100%;\\n max-height: 100%;\\n}\\nchart-bar.zeus-max-height-250 {\\n max-height: 250px;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/chart-bar/chart-bar.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,aAAA;EACA,kBAAA;EACA,WAAA;EACA,eAAA;EACA,uBAAA;AACJ;AACI;EACI,kBAAA;EACA,aAAA;EACA,eAAA;EACA,WAAA;EACA,iBAAA;EACA,8BAAA;AACR;AACQ;EACI,eAAA;EACA,gBAAA;AACZ;AAGI;EACI,iBAAA;AADR\",\"sourcesContent\":[\"chart-bar {\\r\\n display: flex;\\r\\n position: relative;\\r\\n width: 100%;\\r\\n max-width: 100%;\\r\\n justify-content: center;\\r\\n\\r\\n .zeus-chart-bar-canvas {\\r\\n position: relative;\\r\\n display: flex;\\r\\n max-width: 100%;\\r\\n width: 100%;\\r\\n min-height: 200px;\\r\\n padding: var(--zeus-margin-sm);\\r\\n\\r\\n > canvas {\\r\\n max-width: 100%;\\r\\n max-height: 100%;\\r\\n }\\r\\n }\\r\\n\\r\\n &.zeus-max-height-250 {\\r\\n max-height: 250px;\\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, \"chart-goal-progress {\\n display: flex;\\n position: relative;\\n max-width: 100%;\\n justify-content: center;\\n}\\nchart-goal-progress .zeus-chart-goal-canvas {\\n position: relative;\\n display: flex;\\n max-width: 100%;\\n padding: var(--zeus-margin-sm);\\n}\\nchart-goal-progress .zeus-chart-goal-canvas.zeus-chart-goal-canvas-small {\\n max-width: 100px;\\n}\\nchart-goal-progress .zeus-chart-goal-canvas > canvas {\\n max-width: 100%;\\n max-height: 100%;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/chart-goal-progress/chart-goal-progress.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,aAAA;EACA,kBAAA;EACA,eAAA;EACA,uBAAA;AACJ;AACI;EACI,kBAAA;EACA,aAAA;EACA,eAAA;EACA,8BAAA;AACR;AACQ;EACI,gBAAA;AACZ;AAEQ;EACI,eAAA;EACA,gBAAA;AAAZ\",\"sourcesContent\":[\"chart-goal-progress {\\r\\n display: flex;\\r\\n position: relative;\\r\\n max-width: 100%;\\r\\n justify-content: center;\\r\\n\\r\\n .zeus-chart-goal-canvas {\\r\\n position: relative;\\r\\n display: flex;\\r\\n max-width: 100%;\\r\\n padding: var(--zeus-margin-sm);\\r\\n\\r\\n &.zeus-chart-goal-canvas-small {\\r\\n max-width: 100px;\\r\\n }\\r\\n\\r\\n > canvas {\\r\\n max-width: 100%;\\r\\n max-height: 100%;\\r\\n }\\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, \"chart-line {\\n display: flex;\\n position: relative;\\n max-width: 100%;\\n justify-content: center;\\n}\\nchart-line .zeus-chart-line-canvas {\\n position: relative;\\n display: flex;\\n max-width: 100%;\\n width: 100%;\\n min-height: 200px;\\n padding: var(--zeus-margin-sm);\\n}\\nchart-line .zeus-chart-line-canvas > canvas {\\n max-width: 100%;\\n max-height: 100%;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/chart-line/chart-line.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,aAAA;EACA,kBAAA;EACA,eAAA;EACA,uBAAA;AACJ;AACI;EACI,kBAAA;EACA,aAAA;EACA,eAAA;EACA,WAAA;EACA,iBAAA;EACA,8BAAA;AACR;AACQ;EACI,eAAA;EACA,gBAAA;AACZ\",\"sourcesContent\":[\"chart-line {\\r\\n display: flex;\\r\\n position: relative;\\r\\n max-width: 100%;\\r\\n justify-content: center;\\r\\n\\r\\n .zeus-chart-line-canvas {\\r\\n position: relative;\\r\\n display: flex;\\r\\n max-width: 100%;\\r\\n width: 100%;\\r\\n min-height: 200px;\\r\\n padding: var(--zeus-margin-sm);\\r\\n\\r\\n > canvas {\\r\\n max-width: 100%;\\r\\n max-height: 100%;\\r\\n }\\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, \"chart-pie {\\n display: flex;\\n position: relative;\\n width: 100%;\\n max-width: 100%;\\n justify-content: center;\\n}\\nchart-pie .zeus-chart-pie-canvas {\\n position: relative;\\n display: flex;\\n max-width: 100%;\\n width: 100%;\\n min-height: 200px;\\n padding: var(--zeus-margin-sm);\\n}\\nchart-pie .zeus-chart-pie-canvas > canvas {\\n max-width: 100%;\\n max-height: 100%;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/resources/elements/chart-pie/chart-pie.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,aAAA;EACA,kBAAA;EACA,WAAA;EACA,eAAA;EACA,uBAAA;AACJ;AACI;EACI,kBAAA;EACA,aAAA;EACA,eAAA;EACA,WAAA;EACA,iBAAA;EACA,8BAAA;AACR;AACQ;EACI,eAAA;EACA,gBAAA;AACZ\",\"sourcesContent\":[\"chart-pie {\\r\\n display: flex;\\r\\n position: relative;\\r\\n width: 100%;\\r\\n max-width: 100%;\\r\\n justify-content: center;\\r\\n\\r\\n .zeus-chart-pie-canvas {\\r\\n position: relative;\\r\\n display: flex;\\r\\n max-width: 100%;\\r\\n width: 100%;\\r\\n min-height: 200px;\\r\\n padding: var(--zeus-margin-sm);\\r\\n\\r\\n > canvas {\\r\\n max-width: 100%;\\r\\n max-height: 100%;\\r\\n }\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// 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 = \"\\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":""}