{"version":3,"file":"app-fa2f341c.9729664bca28a8e6916d.bundle.js","mappings":";;;;;;;;;;;;;;AAAA;AAEA;AAEA;AAGA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAGA;AACA;AACA;;;;;;;;;;;;;;;;AC3BA;AACA;AAEA;AAMA;AAAA;AAHA;AAIA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlCA;;;;;;;;;;;;;;;;;;;;;ACHA;AACA;AACA;AAEA;AAaA;AAAA;AAAA;AAAA;AAAA;AAAA;AANA;AACA;AAEA;AAIA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AApCA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;ACTA;AAEA;AACA;AAGA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAGA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AAEA;AASA;AAAA;AAPA;AACA;AAEA;AACA;AAIA;AACA;AACA;AAEA;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;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AAEA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjHA;AAKA;AAAA;AAJA;AACA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AASA;AACA;AAAA;AARA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA/EA;;;;;;;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AAEA;AAOA;AACA;AAAA;AANA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAxCA;;;;;;;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AAEA;AAQA;AACA;AAAA;AAPA;AACA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AArCA;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AAEA;AASA;AACA;AAAA;AARA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAtCA;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AAEA;AAOA;AACA;AAAA;AANA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA/BA;;;;;;;;;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAQA;AACA;AAAA;AAPA;AACA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAjCA;;;;;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AAEA;AASA;AACA;AAAA;AARA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAxCA;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AAEA;AAOA;AACA;AAAA;AANA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA/BA;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AAEA;AAQA;AACA;AAAA;AAPA;AACA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAlCA;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AAEA;AAQA;AACA;AAAA;AAPA;AACA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAhCA;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AAEA;AAQA;AACA;AAAA;AAPA;AACA;AACA;AACA;AAKA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAhCA;;;;;;;;;;;;;;;ACPA;AAEA;AAGA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAdA;;;;;;;;;;;;;;;ACFA;AAEA;AACA;AAGA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAGA;AACA;AACA;;;;;;;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AAEA;AAeA;AAAA;AAbA;AACA;AACA;AAEA;AAGA;AAAA;AAAA;AAAA;AACA;AACA;AAKA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AA1FA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAaA;AAAA;AAVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAEA;AAAA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjQA;AAQA;AAAA;AAPA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAgCA;AAAA;AA9BA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAEA;AAIA;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;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;AC5OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAaA;AAAA;AAVA;AACA;AACA;AACA;AACA;AACA;AAEA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAEA;AAIA;AAEA;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;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAYA;AAAA;AATA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAIA;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAWA;AAAA;AARA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAGA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAOA;AAAA;AAJA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACrJA;AACA;AACA;AAEA;AAQA;AAAA;AANA;AACA;AAEA;AAIA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AACA;AAlDA;;;;;;;;;;;;;;;ACJA;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;;;;;;;;;;;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/members/sso/index.js","webpack://www.zeusteam.com/./src/members/sso/my-biz-card.js","webpack://www.zeusteam.com/./src/members/sso/surancebay.js","webpack://www.zeusteam.com/./src/members/tasks/index.js","webpack://www.zeusteam.com/./src/members/tasks/list.js","webpack://www.zeusteam.com/./src/members/tasks/task-type-base.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/LevelChangeRequest.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/NewAgentLevelRequest.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/annuity-issued-paid-30d.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/data-feed-exception.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/emergency-contact-before-policy.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/policy-charged-back.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/reauth-nylas.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/review-translation.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/set-surance-bay-affiliation.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/upline-contracting-reminder-ignored-process.js","webpack://www.zeusteam.com/./src/members/tasks/task-type/upline-contracting-reminder.js","webpack://www.zeusteam.com/./src/members/terms-of-use.js","webpack://www.zeusteam.com/./src/members/to-dos/_index.js","webpack://www.zeusteam.com/./src/members/to-dos/list.js","webpack://www.zeusteam.com/./src/members/training/course.js","webpack://www.zeusteam.com/./src/members/training/courses/training-module.js","webpack://www.zeusteam.com/./src/members/training/dialog/course-editor.js","webpack://www.zeusteam.com/./src/members/training/dialog/course-module-editor.js","webpack://www.zeusteam.com/./src/members/training/dialog/training-editor.js","webpack://www.zeusteam.com/./src/members/training/dialog/training-topic-editor.js","webpack://www.zeusteam.com/./src/members/training/training.js","webpack://www.zeusteam.com/./src/members/widget.js","webpack://www.zeusteam.com/./src/members/tasks/list.scss","webpack://www.zeusteam.com/./src/members/to-dos/list.scss","webpack://www.zeusteam.com/./src/members/training/training.scss","webpack://www.zeusteam.com/./src/members/sso/index.html","webpack://www.zeusteam.com/./src/members/sso/my-biz-card.html","webpack://www.zeusteam.com/./src/members/sso/surancebay.html","webpack://www.zeusteam.com/./src/members/tasks/index.html","webpack://www.zeusteam.com/./src/members/tasks/list.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/LevelChangeRequest.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/NewAgentLevelRequest.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/annuity-issued-paid-30d.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/data-feed-exception.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/emergency-contact-before-policy.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/policy-charged-back.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/reauth-nylas.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/review-translation.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/set-surance-bay-affiliation.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/upline-contracting-reminder-ignored-process.html","webpack://www.zeusteam.com/./src/members/tasks/task-type/upline-contracting-reminder.html","webpack://www.zeusteam.com/./src/members/terms-of-use.html","webpack://www.zeusteam.com/./src/members/to-dos/_index.html","webpack://www.zeusteam.com/./src/members/to-dos/list.html","webpack://www.zeusteam.com/./src/members/training/course.html","webpack://www.zeusteam.com/./src/members/training/dialog/course-editor.html","webpack://www.zeusteam.com/./src/members/training/dialog/course-module-editor.html","webpack://www.zeusteam.com/./src/members/training/dialog/training-editor.html","webpack://www.zeusteam.com/./src/members/training/dialog/training-topic-editor.html","webpack://www.zeusteam.com/./src/members/training/training.html","webpack://www.zeusteam.com/./src/members/widget.html"],"sourcesContent":["import { PLATFORM } from 'aurelia-pal';\r\n\r\nexport class SsoIndex {\r\n\r\n constructor() {\r\n\t}\r\n\r\n\tconfigureRouter(config, router){\r\n\t\tconfig.map([\r\n {\r\n\t\t\t\troute: 'surancebay',\r\n\t\t\t\tmoduleId: PLATFORM.moduleName('members/sso/surancebay'),\r\n\t\t\t\ttitle: '',\r\n\t\t\t\tnav: false,\r\n\t\t\t\tsettings: { canAddToMobileMenu: false }\r\n\t\t\t},\r\n {\r\n\t\t\t\troute: ['my-biz-card', 'my-biz-card/:memberId'],\r\n\t\t\t\tmoduleId: PLATFORM.moduleName('members/sso/my-biz-card'),\r\n\t\t\t\ttitle: '',\r\n\t\t\t\tnav: false,\r\n\t\t\t\tsettings: { canAddToMobileMenu: false }\r\n\t\t\t},\r\n\t\t]);\r\n\r\n\t\tthis.router = router;\r\n\t}\r\n}\r\n","import { AgentSites, AGENT_SITE_TYPE } from 'services/agent-sites';\r\nimport { Notifier } from 'common/ui';\r\n\r\nexport class MyBizCard {\r\n static inject = [AgentSites, Notifier];\r\n\r\n _agentSites;\r\n _notifier;\r\n\r\n constructor(agentSites, notifier) {\r\n this._agentSites = agentSites;\r\n this._notifier = notifier;\r\n }\r\n\r\n async activate(model) {\r\n try {\r\n this.ssoing = true;\r\n const sso = await this._agentSites.ssoUrl(AGENT_SITE_TYPE.MyBizCardOnline, model.memberId);\r\n if (!sso || !sso.canSso) {\r\n this._notifier.error('mbco-sso-failed');\r\n return;\r\n }\r\n this.ssoUrl = sso.url;\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.ssoing = false;\r\n }\r\n }\r\n\r\n async attached() {\r\n try {\r\n window.location.href = this.ssoUrl;\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","import { bindable } from 'aurelia-framework';\r\nimport { Security } from 'common/security';\r\nimport { Sso } from 'services/sso';\r\n\r\nexport class Surancebay {\r\n static inject = [Security, Sso];\r\n @bindable module;\r\n @bindable view;\r\n @bindable newWindow = true;\r\n @bindable ssoOnLoad = true;\r\n\r\n _security;\r\n _sso;\r\n\r\n model;\r\n ssoFormEl;\r\n\r\n constructor(security, sso) {\r\n this.security = security;\r\n this._sso = sso;\r\n }\r\n\r\n activate(model) {\r\n this.memberId = this.security.authenticatedMemberId;\r\n if (!model) return;\r\n if (model.newWindow) this.newWindow = model.newWindow === 'true' ? true : false;\r\n if (model.view) this.view = model.view;\r\n }\r\n\r\n async attached() {\r\n try {\r\n if (this.security.isShadow) return;\r\n this.model = await this._sso.suranceBay(this.module, this.view, this.newWindow);\r\n this.loaded = true;\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n submitSso() {\r\n this.ssoFormEl.submit();\r\n }\r\n}\r\n","import { PLATFORM } from 'aurelia-pal';\r\n\r\nexport class Index {\r\n constructor() {\r\n }\r\n\r\n configureRouter(config, router) {\r\n config.map([\r\n {\r\n route: ['', 'task/:id'],\r\n moduleId: PLATFORM.moduleName('members/tasks/list'),\r\n membersOnly: true,\r\n adminOnly: false,\r\n settings: { canAddToMobileMenu: false },\r\n },\r\n ]);\r\n\r\n this.router = router;\r\n }\r\n}\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { computedFrom } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { c } from 'common/common';\r\n\r\nexport class List {\r\n static inject = [EventAggregator, Tasks];\r\n _ea;\r\n _tasks;\r\n\r\n tasks;\r\n currentIndex = 0;\r\n _handlers = [];\r\n\r\n constructor(ea, tasks) {\r\n this._ea = ea;\r\n this._tasks = tasks;\r\n }\r\n\r\n activate(model) {\r\n this.taskId = model && model.id ? model.id : null;\r\n }\r\n\r\n attached() {\r\n this._handlers.push(this._ea.subscribe(c.EventKeys.tasks.updated, () => this._load()));\r\n this._load();\r\n }\r\n\r\n detached() {\r\n this._handlers.forEach(h => h.dispose());\r\n this._handlers = [];\r\n }\r\n\r\n _load() {\r\n try {\r\n this.working = true;\r\n this.tasks = this._tasks.current;\r\n if (this.tasks.length === 0) {\r\n this.currentIndex = undefined;\r\n this.task = undefined;\r\n return;\r\n }\r\n if (this.currentIndex === undefined) this.currentIndex = 0;\r\n if (this.currentIndex >= this.tasks.length) this.currentIndex = 0;\r\n this.task = this.tasks[this.currentIndex];\r\n } catch (err) {\r\n this.tasks = [];\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n\r\n _resetTaskIndex() {\r\n if (this.tasks.length === 0) {\r\n this.currentIndex = undefined;\r\n this.task = undefined;\r\n } else {\r\n this.currentIndex = 0;\r\n this.task = this.tasks[this.currentIndex];\r\n }\r\n }\r\n\r\n @computedFrom('tasks', 'currentIndex')\r\n get canGoNext() {\r\n if (!this.tasks) return false;\r\n return this.tasks.length - 1 > this.currentIndex;\r\n }\r\n\r\n @computedFrom('tasks', 'currentIndex')\r\n get canGoBack() {\r\n if (!this.tasks || this.tasks.length === 0) return false;\r\n return this.currentIndex > 0;\r\n }\r\n\r\n next() {\r\n this.currentIndex++;\r\n this.task = this.tasks[this.currentIndex];\r\n }\r\n\r\n previous() {\r\n this.currentIndex--;\r\n this.task = this.tasks[this.currentIndex];\r\n }\r\n\r\n openProfile(id) {\r\n\t\tthis._ea.publish(c.EventKeys.site.openProfile, { member: null, memberId: id });\r\n }\r\n\r\n taskViewModel(task) {\r\n switch (task.taskType) {\r\n case 'annuity-issued-paid-30d': return PLATFORM.moduleName('./task-type/annuity-issued-paid-30d');\r\n case 'data-feed-exception': return PLATFORM.moduleName('./task-type/data-feed-exception');\r\n case 'LevelChangeRequest': return PLATFORM.moduleName('./task-type/LevelChangeRequest');\r\n case 'NewAgentLevelRequest': return PLATFORM.moduleName('./task-type/NewAgentLevelRequest');\r\n case 'policy-charged-back': return PLATFORM.moduleName('./task-type/policy-charged-back');\r\n case 'reauth-nylas': return PLATFORM.moduleName('./task-type/reauth-nylas');\r\n case 'review-translation': return PLATFORM.moduleName('./task-type/review-translation');\r\n case 'set-surance-bay-affiliation': return PLATFORM.moduleName('./task-type/set-surance-bay-affiliation');\r\n case 'upline-contracting-reminder-ignored-process': return PLATFORM.moduleName('./task-type/upline-contracting-reminder-ignored-process');\r\n case 'upline-contracting-reminder': return PLATFORM.moduleName('./task-type/upline-contracting-reminder');\r\n case 'emergency-contact-before-policy': return PLATFORM.moduleName('./task-type/emergency-contact-before-policy');\r\n }\r\n return null;\r\n }\r\n\r\n taskCompleted(index) {\r\n try {\r\n this.tasks.splice(index, 1);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","export class TaskTypeBase {\r\n _element;\r\n _tasks;\r\n _notifier;\r\n\r\n constructor(element, tasks, notifier) {\r\n this._element = element;\r\n this._tasks = tasks;\r\n this._notifier = notifier;\r\n }\r\n\r\n _activate(model) {\r\n this.id = model.id;\r\n this.taskType = model.taskType;\r\n this.metadata = model.metadataJson ? JSON.parse(model.metadataJson) : {};\r\n this.assignedToMember = model.assignedToMember;\r\n this.aboutMember = model.aboutMember;\r\n this.aboutMemberDirectUpline = model.aboutMemberDirectUpline;\r\n this.aboutMemberAgency = model.aboutMemberAgency;\r\n this.createdByMember = model.createdByMember;\r\n }\r\n\r\n async _complete(model) {\r\n try {\r\n await this._tasks.complete(this.id, model);\r\n this._dispatchEvent();\r\n } catch (err) {\r\n this._notifier.error(err);\r\n }\r\n }\r\n\r\n async _save(model) {\r\n try {\r\n await this._tasks.save(this.id, model);\r\n this._notifier.success('task-saved');\r\n } catch (err) {\r\n this._notifier.error(err);\r\n }\r\n }\r\n\r\n _dispatchEvent() {\r\n this._element.dispatchEvent(new CustomEvent('completed', { bubbles: true, detail: {} }));\r\n }\r\n}\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { DialogService } from 'aurelia-dialog';\r\nimport { TaskTypeBase } from './../task-type-base';\r\nimport moment from 'moment';\r\nimport { ConfirmDialog } from 'common/dialogs/confirm/confirm-dialog';\r\nPLATFORM.moduleName('common/dialogs/confirm/confirm-dialog');\r\n\r\nexport class TaskLevelChangeRequest extends TaskTypeBase {\r\n static inject = [Element, Tasks, Notifier, Security, DialogService];\r\n _security;\r\n _dialogService;\r\n task;\r\n comments;\r\n commentHistory = [];\r\n working = false;\r\n\r\n constructor(element, tasks, notifier, security, dialogService) {\r\n super(element, tasks, notifier);\r\n this._security = security;\r\n this._dialogService = dialogService;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n this._displayApprovalComments();\r\n }\r\n\r\n _displayApprovalComments() {\r\n this.comments = '';\r\n this.commentHistory = [];\r\n if (typeof this.metadata.approvalComments === 'string') {\r\n this.comments = this.metadata.approvalComments;\r\n } else if (Array.isArray(this.metadata.approvalComments)) {\r\n this.commentHistory = this.metadata.approvalComments;\r\n this.commentHistory.sort((a,b) => moment(b.date).valueOf() - moment(a.date).valueOf());\r\n }\r\n }\r\n\r\n _setApprovalComments() {\r\n this.metadata.approvalComments = this.commentHistory;\r\n if (this.comments) {\r\n this.metadata.approvalComments.push({ commentByMemberId: this._security.authenticatedMemberId, commentBy: `${this._security.agent.firstName} ${this._security.agent.lastName}`, date: moment.utc().toISOString(), comment: this.comments });\r\n this.comments = '';\r\n }\r\n }\r\n\r\n async deleteComment(index) {\r\n this.commentHistory.splice(index, 1);\r\n await this.save();\r\n }\r\n\r\n confirm(approved) {\r\n const model = approved\r\n ? { key: 'approve-level-request-change', okButtonClass: 'btn-primary' }\r\n : { key: 'reject-level-request-change', okButtonClass: 'btn-danger' };\r\n\t this._dialogService.open({ viewModel: ConfirmDialog, model, ignoreTransitions: true }).whenClosed(async(response) => {\r\n\t if (response.wasCancelled) return;\r\n this.complete(approved);\r\n });\r\n }\r\n\r\n async complete(approved) {\r\n try {\r\n this.working = true;\r\n this.metadata.approved = approved;\r\n this._setApprovalComments();\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n\r\n async save() {\r\n try {\r\n this.working = true;\r\n this._setApprovalComments();\r\n await this._save(this.metadata);\r\n this._displayApprovalComments();\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { Levels } from 'services/levels';\r\nimport { TaskTypeBase } from './../task-type-base';\r\n\r\nexport class NewAgentLevelRequest extends TaskTypeBase {\r\n static inject = [Element, Tasks, Notifier, Security, Levels];\r\n _security;\r\n _levels;\r\n task;\r\n working = false;\r\n\r\n constructor(element, tasks, notifier, security, levels) {\r\n super(element, tasks, notifier);\r\n this._security = security;\r\n this._levels = levels;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n }\r\n\r\n async attached() {\r\n try {\r\n const levels = await this._levels.byTypeRestricted(this._security.authenticatedMemberId);\r\n if (levels && levels.lifeLevels && levels.lifeLevels.length) {\r\n const L00Index = levels.lifeLevels.findIndex(x => x === 'L00');\r\n if (L00Index >= 0) levels.lifeLevels.splice(L00Index, 1);\r\n }\r\n this.levels = levels;\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n async submit() {\r\n try {\r\n this.working = true;\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { TaskTypeBase } from './../task-type-base';\r\nimport { c } from 'common/common';\r\n\r\nexport class AnnuityIssuedPaid30d extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security];\r\n _ea;\r\n _security;\r\n task;\r\n working = false;\r\n canceledDate;\r\n\r\n constructor(element, ea, tasks, notifier, security) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this._security = security;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n console.log(model);\r\n }\r\n\r\n openProfile() {\r\n\t\tthis._ea.publish(c.EventKeys.site.openProfile, { member: null, memberId: this.metadata.writingAgentId });\r\n }\r\n\r\n openPolicy() {\r\n this._ea.publish(c.EventKeys.site.openPolicy, { policyId: this.metadata.policyId });\r\n }\r\n\r\n async complete() {\r\n try {\r\n this.working = true;\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { Carriers } from 'services/carriers';\r\nimport { TaskTypeBase } from './../task-type-base';\r\n\r\nexport class DataFeedException extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security, Carriers];\r\n _ea;\r\n security;\r\n _carriers;\r\n task;\r\n working = false;\r\n canceledDate;\r\n\r\n constructor(element, ea, tasks, notifier, security, carriers) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this.security = security;\r\n this._carriers = carriers;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n }\r\n\r\n async complete() {\r\n try {\r\n this.working = true;\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n\r\n async downloadDataFeedFile() {\r\n try {\r\n await this._carriers.downloadImportFile(this.metadata.importFileName, this.metadata.dataFeedType, this.metadata.carrierId);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { TaskTypeBase } from './../task-type-base';\r\n\r\nexport class EmergencyContactBeforePolicy extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security];\r\n _ea;\r\n security;\r\n task;\r\n working = false;\r\n\r\n constructor(element, ea, tasks, notifier, security) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this.security = security;\r\n }\r\n\r\n async activate(model) {\r\n this._activate(model);\r\n }\r\n\r\n async complete(closeWithoutPolicy = false) {\r\n try {\r\n if (!closeWithoutPolicy && !this.forPolicy) return;\r\n this.working = true;\r\n if (!closeWithoutPolicy) {\r\n this.metadata.policyId = this.forPolicy.id;\r\n }\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { TaskTypeBase } from './../task-type-base';\r\nimport { c } from 'common/common';\r\nimport moment from 'moment';\r\n\r\nexport class PolicyChargedBack extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security];\r\n _ea;\r\n _security;\r\n task;\r\n working = false;\r\n canceledDate;\r\n\r\n constructor(element, ea, tasks, notifier, security) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this._security = security;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n }\r\n\r\n openPolicy() {\r\n this._ea.publish(c.EventKeys.site.openPolicy, { policyId: this.metadata.policyId });\r\n }\r\n\r\n async submit() {\r\n try {\r\n this.working = true;\r\n if (this.canceledDate) this.metadata.canceledDate = moment(this.canceledDate).utcOffset(0, true).toISOString();\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { Nylas } from 'services/nylas';\r\nimport { TaskTypeBase } from './../task-type-base';\r\n\r\nexport class ReauthNylas extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security, Nylas];\r\n _ea;\r\n security;\r\n _nylas;\r\n task;\r\n working = false;\r\n canceledDate;\r\n\r\n constructor(element, ea, tasks, notifier, security, nylas) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this.security = security;\r\n this._nylas = nylas;\r\n }\r\n\r\n async activate(model) {\r\n this._activate(model);\r\n this.mustReauth = await this._nylas.mustReauth();\r\n this._loadNylasAuthUrl();\r\n }\r\n\r\n async _loadNylasAuthUrl() {\r\n try {\r\n this.nylasAuthUrl = await this._nylas.redirectToAuthUrl(this.metadata.email, 'task');\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n async complete() {\r\n try {\r\n this.working = true;\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { TaskTypeBase } from './../task-type-base';\r\nimport { c } from 'common/common';\r\n\r\nexport class ReviewTranslation extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security];\r\n _ea;\r\n _security;\r\n task;\r\n working = false;\r\n\r\n constructor(element, ea, tasks, notifier, security) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this._security = security;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n }\r\n\r\n openPolicy() {\r\n this._ea.publish(c.EventKeys.site.openPolicy, { policyId: this.metadata.policyId });\r\n }\r\n\r\n async complete() {\r\n try {\r\n this.working = true;\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { TaskTypeBase } from './../task-type-base';\r\nimport { c } from 'common/common';\r\n\r\nexport class SetSuranceBayAffiliation extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security];\r\n _ea;\r\n _security;\r\n task;\r\n working = false;\r\n canceledDate;\r\n\r\n constructor(element, ea, tasks, notifier, security) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this._security = security;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n console.log(this.task);\r\n }\r\n\r\n openPolicy() {\r\n this._ea.publish(c.EventKeys.site.openPolicy, { policyId: this.metadata.policyId });\r\n }\r\n\r\n async submit(complete) {\r\n try {\r\n this.working = true;\r\n this.metadata.complete = complete;\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { TaskTypeBase } from './../task-type-base';\r\nimport { c } from 'common/common';\r\n\r\nexport class UplineContractingReminderIgnoredProcess extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security];\r\n _ea;\r\n _security;\r\n task;\r\n working = false;\r\n canceledDate;\r\n\r\n constructor(element, ea, tasks, notifier, security) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this._security = security;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n }\r\n\r\n openMember() {\r\n\t\tthis._ea.publish(c.EventKeys.site.openProfile, { member: null, memberId: this.metadata.downlineAgentId });\r\n }\r\n\r\n async complete() {\r\n try {\r\n this.working = true;\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Tasks } from 'services/tasks';\r\nimport { Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { TaskTypeBase } from './../task-type-base';\r\nimport { c } from 'common/common';\r\n\r\nexport class UplineContractingReminder extends TaskTypeBase {\r\n static inject = [Element, EventAggregator, Tasks, Notifier, Security];\r\n _ea;\r\n _security;\r\n task;\r\n working = false;\r\n canceledDate;\r\n\r\n constructor(element, ea, tasks, notifier, security) {\r\n super(element, tasks, notifier);\r\n this._ea = ea;\r\n this._security = security;\r\n }\r\n\r\n activate(model) {\r\n this._activate(model);\r\n }\r\n\r\n openMember() {\r\n\t\tthis._ea.publish(c.EventKeys.site.openProfile, { member: null, memberId: this.metadata.downlineAgentId });\r\n }\r\n\r\n async complete() {\r\n try {\r\n this.working = true;\r\n await this._complete(this.metadata);\r\n } catch (err) {\r\n console.log(err);\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n}\r\n","import { Page } from 'common/ui';\r\n\r\nexport class PrivacyPolicy {\r\n\tstatic inject = [Page];\r\n\r\n\tconstructor(page) {\r\n\t\tthis.page = page;\r\n\t}\r\n\r\n\tactivate() {\r\n\t\tthis.page.track('terms-of-use');\r\n\t}\r\n\r\n\tattached() {\r\n\t this.page.scrollToTop();\r\n\t}\r\n} \r\n","import { PLATFORM } from 'aurelia-pal';\r\n\r\nexport class Index {\r\n constructor() {\r\n }\r\n\r\n configureRouter(config, router) {\r\n config.map([\r\n {\r\n route: ['', ':id'],\r\n moduleId: PLATFORM.moduleName('members/to-dos/list'),\r\n membersOnly: true,\r\n adminOnly: false,\r\n settings: { canAddToMobileMenu: false },\r\n },\r\n ]);\r\n\r\n this.router = router;\r\n }\r\n}\r\n","import { activationStrategy } from 'aurelia-router';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { ToDos, toDoType } from 'services/to-dos';\r\nimport { ToDoTypeValueConverter } from 'resources/value-converters/to-do-type';\r\nimport { c } from 'common/common';\r\n\r\nexport class List {\r\n static inject = [EventAggregator, ToDos, ToDoTypeValueConverter];\r\n _ea;\r\n _toDos;\r\n _tdtvc;\r\n\r\n toDos;\r\n\r\n filters = [\r\n { key: 'search', value: '', keys: ['aboutName', 'aboutTypeName', 'title', 'comments'] },\r\n ];\r\n filterColumns;\r\n\r\n _handlers = [];\r\n\r\n constructor(ea, toDos, tdtvc) {\r\n this._ea = ea;\r\n this._toDos = toDos;\r\n this._tdtvc = tdtvc;\r\n }\r\n\r\n determineActivationStrategy() {\r\n return activationStrategy.invokeLifecycle;\r\n }\r\n\r\n activate(model) {\r\n this.toDoId = model && model.id ? model.id : null;\r\n if (this._attached) this._load();\r\n }\r\n\r\n attached() {\r\n this._attached = true;\r\n this._handlers.push(this._ea.subscribe(c.EventKeys.toDos.todayUpdated, () => this._load()));\r\n this._load();\r\n }\r\n\r\n detached() {\r\n this._handlers.forEach(h => h.dispose());\r\n this._handlers = [];\r\n }\r\n\r\n _load() {\r\n try {\r\n this.working = true;\r\n this.toDo = undefined;\r\n this.toDos = this._toDos.today;\r\n this.toDos.forEach(td => td.aboutTypeName = this._tdtvc.toView(td.aboutType));\r\n if (this.toDoId) {\r\n this.toDo = this.toDos.find(x => x.id === this.toDoId);\r\n }\r\n this._initializeFilters();\r\n } catch (err) {\r\n this.toDos = [];\r\n } finally {\r\n this.working = false;\r\n }\r\n }\r\n\r\n _initializeFilters() {\r\n try {\r\n const filterColumns = [];\r\n const allTypes = toDoType.all().map(x => this._tdtvc.toView(x));\r\n filterColumns.push({ key: 'aboutTypeName', labelKey: 'to-do-type', type: 'options', options: allTypes, defaultValue: allTypes.join('|') });\r\n filterColumns.push({ key: 'dueDate', labelKey: 'due-date', type: 'date', initializeValue: undefined, defaultValue: undefined });\r\n this.filterColumns = filterColumns;\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n filterColumnsSet(filters) {\r\n if (!filters) return;\r\n const newFilters = [];\r\n this.filters.forEach(f => newFilters.push(f));\r\n filters.forEach(f => newFilters.push(f));\r\n this.filters = newFilters;\r\n }\r\n\r\n toggleFilters() {\r\n this.showDrawer = !this.showDrawer;\r\n }\r\n\r\n gridFiltered(data) {\r\n this.filtered = data.filtered;\r\n this.filteredBy = data.filteredBy;\r\n }\r\n\r\n removeFilter(filter) {\r\n this.removeAdvancedFilter = filter;\r\n }\r\n}\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport {inject} from 'aurelia-framework';\r\nimport {EventAggregator} from 'aurelia-event-aggregator';\r\nimport {Api} from 'common/server';\r\nimport {Page, Notifier} from 'common/ui';\r\nimport {Security} from 'common/security';\r\nimport {I18n} from 'common/i18n';\r\nimport {UiWidgets} from 'services/ui-widgets';\r\nimport {CourseModuleEditor} from './dialog/course-module-editor';\r\nimport {DialogService} from 'aurelia-dialog';\r\nimport {TrainingModule} from './courses/training-module';\r\nimport { c } from 'common/common';\r\nimport { ROLE } from 'common/constants';\r\nimport environment from '../../../config/environment.json';\r\nPLATFORM.moduleName('./dialog/course-module-editor');\r\n\r\n@inject(EventAggregator, Api, Page, Notifier, Security, I18n, UiWidgets, DialogService)\r\nexport class TrainingCourse {\r\n\r\n trainingSlug = '';\r\n courseSlug = '';\r\n moduleSlug = '';\r\n training = null;\r\n associatedCourses = [];\r\n\tcourse = null;\r\n\tmodule = null;\r\n\tisOnFirstModule = true;\r\n\tisOnLastModule = false;\r\n\r\n\tconstructor(eventAggregator, api, page, notifier, security, i18n, uiWidgets, dialogService) {\r\n\t this.eventAggregator = eventAggregator;\r\n\t this._api = api;\r\n\t this.page = page;\r\n\t this.notifier = notifier;\r\n\t this.security = security;\r\n\t this.i18n = i18n;\r\n\t this.uiWidgets = uiWidgets;\r\n\t this.dialogService = dialogService;\r\n\r\n this.isAdmin = this.security.isInRole([ROLE.Admin, ROLE.TrainingAdmin]);\r\n\t}\r\n\r\n\tactivate(params, routerConfig) {\r\n\t this.trainingSlug = params.trainingSlug;\r\n\t this.courseSlug = params.courseSlug || null;\r\n\t this.moduleSlug = params.moduleSlug || null;\r\n\t var pageUrl = 'members/resources/' + this.trainingSlug + '/' + this.courseSlug;\r\n\t if (this.moduleSlug) this.page.track(pageUrl + '/' + this.moduleSlug);\r\n\t else this.page.track(pageUrl);\r\n\t this._initialize(true);\r\n\t}\r\n\r\n\t_initialize(clear) {\r\n\t var me = this;\r\n\t if (clear) {\r\n\t me.training = null;\r\n\t me.course = null;\r\n\t me.module = null;\r\n\t me.isOnFirstModule = true;\r\n\t me.isOnLastModule = false;\r\n }\r\n\t me._loadCourse().then(() => {\r\n\t me._activateSlug();\r\n\t me._scrollToModuleTitle();\r\n\t }).catch(error => {\r\n\t console.log('error loading course');\r\n\t });\r\n\t}\r\n\r\n\t_loadCourse() {\r\n\t var me = this;\r\n\r\n\t return new Promise((resolve, reject) => {\r\n\t if (me.course && me.course.modules && me.course.modules.length > 0) { resolve(); return; }\r\n\r\n\t me._api.getData('training/' + this.trainingSlug + '/course/' + me.courseSlug + '/' + me.i18n.currentLocale).then(model => {\r\n\t me.training = model.training;\r\n\t me.course = model;\r\n\t me.prependTitle = '';\r\n\t if (me.course.associatedWithCarrier) me.prependTitle = me.course.carrierName + ': ';\r\n\r\n\t me.associatedCourses = me.training.courses;\r\n\t if (me.course.carrierId) {\r\n\t me.associatedCourses = [];\r\n\t for (var i = 0; i < me.training.carriers.length; i++) {\r\n\t if (me.training.carriers[i].id !== me.course.carrierId) continue;\r\n\t me.associatedCourses = me.training.carriers[i].courses;\r\n\t break;\r\n\t }\r\n\t }\r\n\r\n\t me.module = null;\r\n\t if (!me.course.modules || me.course.modules.length === 0) { me.course.modules = []; resolve(); return; }\r\n\r\n\t if (!me.moduleSlug) { me.module = me.course.modules[0]; resolve(); return; }\r\n\r\n\t for (var i = 0; i < me.course.modules.length; i++) {\r\n\t if (me.course.modules[i].slug !== me.moduleSlug) continue;\r\n\t me.module = this.course.modules[i];\r\n break;\r\n\t }\r\n\r\n\t if (me.module === null) {\r\n\t me.module = me.course.modules[0];\r\n\t }\r\n\r\n\t resolve();\r\n\t }).catch(error => {\r\n\t reject();\r\n\t });\r\n\t });\r\n\t}\r\n\r\n\tshowModule(module) {\r\n\t this.module = module;\r\n\t this._activateSlug();\r\n\t this._scrollToModuleTitle();\r\n\t}\r\n\r\n\t_activateSlug() {\r\n\t this.isOnFirstModule = true;\r\n\t this.isOnLastModule = false;\r\n\t this.stopVideo();\r\n\r\n\t\tthis.courseUrl = undefined;\r\n\t if (!this.course) return;\r\n\t\tif (this.course.url) this.courseUrl = c.Helpers.replaceVariables(this.security, this.course.url, true);\r\n\r\n\t if (this.course.type === 'video') {\r\n\t\t\tlet src = this.course.url;\r\n\t\t\tif (src.indexOf('http') < 0) {\r\n\t\t\t\tconst slash = this.course.url.indexOf('/') === 0 ? '' : '/';\r\n\t\t\t\tsrc = `${environment.static}${slash}${this.course.url}`;\r\n\t\t\t}\r\n\t $(\"#embedded-video\").attr(\"src\", src);\r\n\t $('#video-audio').html('');\r\n\t return;\r\n\t }\r\n\r\n\t if (this.course.type === 'document') {\r\n\t\t\tlet src = this.course.url;\r\n\t\t\tif (src.indexOf('http') < 0) {\r\n\t\t\t\tconst slash = this.course.url.indexOf('/') === 0 ? '' : '/';\r\n\t\t\t\tsrc = `${environment.static}${slash}${this.course.url}`;\r\n\t\t\t}\r\n\t\t\tthis.courseUrl = src;\r\n\t $(\"#embedded-document\").attr(\"src\", `${src}?dispositionType=inline`);\r\n\t return;\r\n\t }\r\n\r\n\t if (this.course.type === 'external-web') {\r\n\t $(\"#embedded-external-web\").attr(\"src\", this.courseUrl);\r\n\t return;\r\n\t }\r\n\r\n\t if (this.course.type === 'powerpoint-online') {\r\n\t $(\"#embedded-powerpoint-online\").attr(\"src\", this.course.url);\r\n\t $('#powerpoint-online-link').attr('href', this.course.url2);\r\n\t return;\r\n\t }\r\n\r\n\t if (this.course.type === 'online') {\r\n\r\n\t if (this.module) {\r\n\t for (var i = 0; i < this.course.modules.length; i++) {\r\n\t if (this.course.modules[i].slug !== this.module.slug) continue;\r\n\t this.isOnFirstModule = i === 0;\r\n\t this.isOnLastModule = i === this.course.modules.length - 1;\r\n\t break;\r\n\t }\r\n\t } else {\r\n\t this.isOnFirstModule = false;\r\n\t this.isOnLastModule = false;\r\n\t }\r\n\r\n\t if (this.module && this.module.moduleType === 'quiz') {\r\n\t var html = '
';\r\n\t $('#quiz').html(html).show();\r\n\t } else {\r\n\t $('#quiz').html('').hide();\r\n\t }\r\n\t }\r\n\r\n\t this.page.scrollToTop();\r\n\t}\r\n\r\n\tattached() {\r\n\t var me = this;\r\n\t\tme._initializeHandler = me.eventAggregator.subscribe('zeus.training-course.initialize', function(uiWidget) {\r\n\t\t me._initialize(true);\r\n\t\t});\r\n }\r\n\r\n\tdetached() {\r\n\t\tthis._initializeHandler.dispose();\r\n }\r\n\r\n\tpreviousModule() {\r\n\t for (var i = 0; i < this.course.modules.length; i++) {\r\n\t if (this.course.modules[i].slug !== this.module.slug) continue;\r\n\t this.module = this.course.modules[i-1];\r\n\t break;\r\n\t }\r\n\t this._activateSlug();\r\n\t this._scrollToModuleTitle();\r\n }\r\n\r\n nextModule() {\r\n for (var i = 0; i < this.course.modules.length; i++) {\r\n if (this.course.modules[i].slug !== this.module.slug) continue;\r\n this.module = this.course.modules[i+1];\r\n break;\r\n }\r\n this._activateSlug();\r\n this._scrollToModuleTitle();\r\n }\r\n\r\n _scrollToModuleTitle() {\r\n try {\r\n var title = $('#module-title');\r\n var offsetTop = title.offset().top;\r\n offsetTop -= 200;\r\n window.scrollTo(0, offsetTop);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n openModuleEditor(module) {\r\n var model = {\r\n courseId: this.course.id,\r\n module: module,\r\n ordering: module ? module.ordering : this.course.modules.length ? this.course.modules[this.course.modules.length-1].ordering + 1 : 1\r\n };\r\n this.dialogService.open({ viewModel: CourseModuleEditor, model: model, ignoreTransitions: true }).whenClosed(response => {\r\n if (response.wasCancelled) return;\r\n if (!response.output) {\r\n this._initialize(true);\r\n return;\r\n }\r\n if (!module || response.output.slug === module.slug) {\r\n this._initialize(true);\r\n return;\r\n }\r\n this.uiWidgets.initialize().then(() => {\r\n this._initialize(true);\r\n });\r\n });\r\n }\r\n\r\n stopVideo() {\r\n $(\"#embedded-video\").attr(\"src\", \"about:blank\");\r\n }\r\n\r\n showPowerpoint(pptUrl) {\r\n $('#embedded-powerpoint').attr('src', pptUrl);\r\n }\r\n}\r\n","export class TrainingModule {\r\n\tindex = 0;\r\n\tid = '';\r\n\tname = '';\r\n\thtml = '';\r\n\tmoduleType = 'Module';\r\n\tquizId = '';\r\n\r\n\tconstructor(index, id, name) {\r\n\t\tthis.index = index;\r\n\t\tthis.id = id + '';\r\n\t\tthis.name = name;\r\n\t}\r\n\r\n\taddHtml(html) {\r\n\t\tthis.html = html;\r\n\t}\r\n\r\n\tsetQuizId(quizId) {\r\n\t\tthis.moduleType = 'Quiz';\r\n\t\tthis.quizId = quizId;\t\t\r\n\t}\r\n\t\r\n\tsetQuizId2(quizId) {\r\n\t\tthis.moduleType = 'Quiz2';\r\n\t\tthis.quizId = quizId;\r\n\t}\r\n}\r\n","import { inject } from 'aurelia-framework';\r\nimport { DialogController } from 'aurelia-dialog';\r\nimport { NewInstance } from 'aurelia-dependency-injection';\r\nimport { ValidationRules, ValidationController } from 'aurelia-validation';\r\nimport { BootstrapFormValidationRenderer } from 'validation/bootstrap-form-validation-renderer';\r\nimport { I18n } from 'common/i18n';\r\nimport { Api } from 'common/server';\r\nimport { Notifier } from 'common/ui';\r\nimport { c } from 'common/common';\r\nimport { Content } from 'common/content';\r\n\r\n@inject(DialogController, NewInstance.of(ValidationController), I18n, Api, Notifier, Content)\r\nexport class CourseEditor {\r\n _content;\r\n\r\n id = null;\r\n trainingId = null;\r\n newTrainingId = null;\r\n slug = '';\r\n ordering = 1;\r\n isActive = false;\r\n showDeleteConfirm = false;\r\n restrictByCarrier = false;\r\n\r\n groupByOption = null;\r\n carriers = [];\r\n carrierId = null;\r\n trainingTopics = [];\r\n trainingTopicId = null;\r\n\r\n courseTypes = [];\r\n selectedCourseTypeId = 'online';\r\n\r\n showUrl = false;\r\n urlLabel = '';\r\n url = '';\r\n urlCaption = '';\r\n showUrl2 = false;\r\n url2 = '';\r\n url2Label = '';\r\n url2Caption = '';\r\n contentAfterLink = false;\r\n\r\n constructor(dialogController, validationController, i18n, api, notifier, content) {\r\n this.dialogController = dialogController;\r\n this.dialogController.settings.centerHorizontalOnly = true;\r\n this.validationController = validationController;\r\n this.validationController.addRenderer(new BootstrapFormValidationRenderer());\r\n this.i18n = i18n;\r\n this.api = api;\r\n this.notifier = notifier;\r\n this._content = content;\r\n\r\n this.deleteText = this.i18n.tr('delete');\r\n\r\n this.courseTypes.push({ id: 'online', name: this.i18n.tr('training-courses-types-online') });\r\n this.courseTypes.push({ id: 'internal-web', name: this.i18n.tr('training-courses-types-internal-web') });\r\n this.courseTypes.push({ id: 'video', name: this.i18n.tr('training-courses-types-video') });\r\n this.courseTypes.push({ id: 'document', name: this.i18n.tr('training-courses-types-document') });\r\n this.courseTypes.push({ id: 'external-web', name: this.i18n.tr('training-courses-types-external-web') });\r\n this.courseTypes.push({ id: 'powerpoint-online', name: this.i18n.tr('training-courses-types-powerpoint-online') });\r\n\r\n ValidationRules\r\n .ensure('slug').required().matches(c.RegEx.slug)\r\n .ensure('ordering').required().satisfiesRule('integerRange', 1, 5000)\r\n .on(this);\r\n }\r\n\r\n async activate(model) {\r\n await this._loadTrainings();\r\n await this._loadCarriers();\r\n await this._loadTopics();\r\n this.id = null;\r\n this.slug = '';\r\n this.ordering = model.ordering || 1;\r\n this.isActive = false;\r\n this.carrierId = null;\r\n this.trainingTopicId = null;\r\n this.groupByOption = null;\r\n this.title = this.i18n.tr('training-courses-add-title');\r\n this.trainingId = model.trainingId;\r\n this.newTrainingId = this.trainingId;\r\n this.restrictByCarrier = model.restrictByCarrier;\r\n if (model.course) {\r\n this.title = this.i18n.tr('training-courses-edit-title');\r\n this.id = model.course.id;\r\n this.slug = model.course.slug;\r\n this.ordering = model.course.ordering;\r\n this.selectedCourseTypeId = model.course.type;\r\n this.url = model.course.url;\r\n this.url2 = model.course.url2;\r\n this.contentAfterLink = model.course.contentAfterLink;\r\n this.carrierId = model.course.carrierId;\r\n this.trainingTopicId = model.course.trainingTopicId;\r\n this.isActive = model.course.isActive;\r\n\r\n if (this.carrierId) this.groupByOption = 'carrier';\r\n if (this.trainingTopicId) this.groupByOption = 'topic';\r\n }\r\n this.validationController.reset();\r\n this._setInputsByType();\r\n }\r\n\r\n courseTypeChanged() {\r\n this.url = '';\r\n this.url2 = '';\r\n this._setInputsByType();\r\n return true;\r\n }\r\n\r\n _setInputsByType() {\r\n this.showUrl = false;\r\n this.showUrlFileIcon = false;\r\n this.showUrl2 = false;\r\n this.urlCaption = '';\r\n this.url2Caption = '';\r\n switch (this.selectedCourseTypeId) {\r\n case 'online':\r\n break;\r\n case 'internal-web':\r\n break;\r\n case 'video':\r\n this.urlLabel = this.i18n.tr('training-courses-types-video-url-label');\r\n this.urlCaption = this.i18n.tr('training-courses-types-video-url-caption');\r\n this.showUrl = true;\r\n this.showUrl2 = true;\r\n this.url2Label = this.i18n.tr('training-courses-audio-url');\r\n this.url2Caption = this.i18n.tr('training-courses-audio-caption');\r\n break;\r\n case 'document':\r\n this.urlLabel = this.i18n.tr('training-courses-types-document-url-label');\r\n this.showUrl = true;\r\n this.showUrlFileIcon = true;\r\n break;\r\n case 'powerpoint-online':\r\n this.urlLabel = this.i18n.tr('training-courses-types-powerpoint-online-url-label');\r\n this.urlCaption = this.i18n.tr('training-courses-types-powerpoint-online-url-caption');\r\n this.showUrl = true;\r\n this.showUrl2 = true;\r\n this.url2Label = this.i18n.tr('training-courses-types-powerpoint-online-url2-label');\r\n this.url2Caption = this.i18n.tr('training-courses-types-powerpoint-online-url2-caption');\r\n break;\r\n case 'external-web':\r\n this.urlLabel = this.i18n.tr('training-courses-types-external-web-url-label');\r\n this.showUrl = true;\r\n break;\r\n }\r\n }\r\n\r\n save() {\r\n var me = this;\r\n this.validationController.validate().then(v => {\r\n if (!v.valid) return;\r\n\r\n if (me.carrierId === 'null') me.carrierId = null;\r\n\r\n var saveModel = { \r\n slug: me.slug, \r\n ordering: me.ordering,\r\n courseType: me.selectedCourseTypeId,\r\n url: me.url,\r\n url2: me.url2,\r\n contentAfterLink: me.contentAfterLink,\r\n isActive: me.isActive,\r\n carrierId: me.carrierId,\r\n trainingTopicId: me.trainingTopicId,\r\n trainingId: me.newTrainingId\r\n };\r\n\r\n if (me.id) {\r\n me.api.updateData(\"training/\" + me.trainingId + \"/course/\" + me.id, saveModel).then(data => {\r\n me.notifier.success('training-courses-update-successful', { slug: me.slug });\r\n me.dialogController.ok({ id: me.id, slug: me.slug, ordering: me.ordering, trainingId: me.newTrainingId });\r\n }).catch(error => {\r\n if (error) me.notifier.error(error);\r\n else me.notifier.generalError();\r\n });\r\n } else {\r\n me.api.postData(\"training/\" + me.trainingId + \"/course\", saveModel).then(data => {\r\n me.notifier.success('training-courses-add-successful', { slug: me.slug });\r\n me.dialogController.ok({ id: data.id, slug: me.slug, ordering: me.ordering, trainingId: me.newTrainingId });\r\n }).catch(error => {\r\n if (error) me.notifier.error(error);\r\n else me.notifier.generalError();\r\n });\r\n }\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 deleteCourse() {\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 var me = this;\r\n\r\n me.api.deleteData(\"training/\" + me.trainingId + \"/course/\" + me.id).then(data => {\r\n me.notifier.success('training-courses-delete-successful', { slug: me.slug });\r\n me.dialogController.ok();\r\n }).catch(error => {\r\n me.notifier.generalError();\r\n });\r\n }\r\n\r\n async _loadCarriers() {\r\n this.carriers = await this.api.getData('carrier');\r\n }\r\n\r\n async _loadTopics() {\r\n this.trainingTopics = await this.api.getData('training/topic/' + this.i18n.currentLocale);\r\n }\r\n\r\n async _loadTrainings() {\r\n this.trainings = await this.api.getData('training/list/' + this.i18n.currentLocale);\r\n }\r\n\r\n openFileManager(pathProperty, object, nameProperty) {\r\n this._content.fileManager(file => {\r\n const name = file.displayName || file.fileName;\r\n if (object) {\r\n object[pathProperty] = file.path;\r\n if (nameProperty) object[nameProperty] = name;\r\n } else {\r\n this[pathProperty] = file.path;\r\n if (nameProperty) this[nameProperty] = name;\r\n }\r\n });\r\n }\r\n}\r\n","import {inject} from 'aurelia-framework';\r\nimport {DialogController} from 'aurelia-dialog';\r\nimport {NewInstance} from 'aurelia-dependency-injection';\r\nimport {ValidationRules, ValidationController} from 'aurelia-validation';\r\nimport {BootstrapFormValidationRenderer} from 'validation/bootstrap-form-validation-renderer';\r\nimport {I18n} from 'common/i18n';\r\nimport {Api} from 'common/server';\r\nimport {Notifier} from 'common/ui';\r\nimport {c} from 'common/common';\r\n\r\n@inject(DialogController, NewInstance.of(ValidationController), I18n, Api, Notifier)\r\nexport class CourseModuleEditor {\r\n\r\n id = null;\r\n courseId = null;\r\n slug = '';\r\n ordering = 1;\r\n isActive = false;\r\n showDeleteConfirm = false;\r\n\r\n moduleTypes = [];\r\n selectedModuleTypeId = 'standard';\r\n\r\n constructor(dialogController, validationController, i18n, api, notifier) {\r\n this.dialogController = dialogController;\r\n this.dialogController.settings.centerHorizontalOnly = true;\r\n this.validationController = validationController;\r\n this.validationController.addRenderer(new BootstrapFormValidationRenderer());\r\n this.i18n = i18n;\r\n this.api = api;\r\n this.notifier = notifier;\r\n\r\n this.deleteText = this.i18n.tr('delete');\r\n\r\n this.moduleTypes.push({ id: 'standard', name: this.i18n.tr('training-courses-module-types-standard') });\r\n this.moduleTypes.push({ id: 'quiz', name: this.i18n.tr('training-courses-module-types-quiz') });\r\n\r\n ValidationRules\r\n .ensure('slug').required().matches(c.RegEx.slug)\r\n .ensure('ordering').required().satisfiesRule('integerRange', 1, 5000)\r\n .on(this);\r\n }\r\n\r\n activate(model) {\r\n this.id = null;\r\n this.slug = '';\r\n this.ordering = model.ordering || 1;\r\n this.isActive = false;\r\n this.title = this.i18n.tr('training-courses-module-add-title');\r\n this.courseId = model.courseId;\r\n if (model.module) {\r\n this.title = this.i18n.tr('training-courses-module-edit-title');\r\n this.id = model.module.id;\r\n this.slug = model.module.slug;\r\n this.ordering = model.module.ordering;\r\n this.isActive = model.module.isActive;\r\n this.quizId = model.module.quizId;\r\n this.selectedModuleTypeId = model.module.moduleType;\r\n }\r\n this.validationController.reset();\r\n }\r\n\r\n moduleTypeChanged() {\r\n this.quizId = '';\r\n return true;\r\n }\r\n\r\n save() {\r\n var me = this;\r\n this.validationController.validate().then(v => {\r\n if (!v.valid) return;\r\n\r\n var saveModel = { slug: me.slug, ordering: me.ordering, isActive: me.isActive, quizId: me.quizId };\r\n\r\n if (me.id) {\r\n me.api.updateData(\"training/course/\" + me.courseId + \"/module/\" + me.id, saveModel).then(data => {\r\n me.notifier.success('training-courses-module-update-successful', { slug: me.slug });\r\n me.dialogController.ok({ id: me.id, slug: me.slug, ordering: me.ordering });\r\n }).catch(error => {\r\n if (error) me.notifier.error(error);\r\n else me.notifier.generalError();\r\n });\r\n } else {\r\n me.api.postData(\"training/course/\" + me.courseId + \"/module\", saveModel).then(data => {\r\n me.notifier.success('training-courses-module-add-successful', { slug: me.slug });\r\n me.dialogController.ok({ id: data.id, slug: me.slug, ordering: me.ordering });\r\n }).catch(error => {\r\n if (error) me.notifier.error(error);\r\n else me.notifier.generalError();\r\n });\r\n }\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 deleteModule() {\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 var me = this;\r\n\r\n me.api.deleteData(\"training/course/\" + me.courseId + \"/module/\" + me.id).then(data => {\r\n me.notifier.success('training-courses-module-delete-successful', { slug: me.slug });\r\n me.dialogController.ok();\r\n }).catch(error => {\r\n me.notifier.generalError();\r\n });\r\n }\r\n}\r\n","import {inject} from 'aurelia-framework';\r\nimport {DialogController} from 'aurelia-dialog';\r\nimport {NewInstance} from 'aurelia-dependency-injection';\r\nimport {ValidationRules, ValidationController} from 'aurelia-validation';\r\nimport {BootstrapFormValidationRenderer} from 'validation/bootstrap-form-validation-renderer';\r\nimport {I18n} from 'common/i18n';\r\nimport {Api} from 'common/server';\r\nimport {Notifier} from 'common/ui';\r\nimport {c} from 'common/common';\r\n\r\n@inject(DialogController, NewInstance.of(ValidationController), I18n, Api, Notifier)\r\nexport class TrainingEditor {\r\n\r\n id = null;\r\n slug = '';\r\n ordering = 1;\r\n isActive = false;\r\n restrictByCarrier = false;\r\n showDeleteConfirm = false;\r\n minimumLevel = null;\r\n levels = [];\r\n\r\n constructor(dialogController, validationController, i18n, api, notifier) {\r\n this.dialogController = dialogController;\r\n this.dialogController.settings.centerHorizontalOnly = true;\r\n this.validationController = validationController;\r\n this.validationController.addRenderer(new BootstrapFormValidationRenderer());\r\n this._i18n = i18n;\r\n this._api = api;\r\n this._notifier = notifier;\r\n\r\n this.deleteText = this._i18n.tr('delete');\r\n\r\n ValidationRules\r\n .ensure('slug').required().matches(c.RegEx.slug)\r\n .ensure('ordering').required().satisfiesRule('integerRange', 1, 5000)\r\n .on(this);\r\n }\r\n\r\n async activate(model) {\r\n await this._loadLevels();\r\n this.id = null;\r\n this.slug = '';\r\n this.ordering = model.ordering || 1;\r\n this.isActive = false;\r\n this.restrictByCarrier = false;\r\n this.title = this._i18n.tr('training-add-title');\r\n this.minimumLevel = '';\r\n if (model.training) {\r\n this.id = model.training.id;\r\n this.slug = model.training.slug;\r\n this.ordering = model.training.ordering;\r\n this.isActive = model.training.isActive;\r\n this.restrictByCarrier = model.training.restrictByCarrier;\r\n this.minimumLevel = model.training.minimumLevel;\r\n this.title = this._i18n.tr('training-edit-title');\r\n }\r\n this.validationController.reset();\r\n }\r\n\r\n async save() {\r\n const v = await this.validationController.validate();\r\n if (!v.valid) return;\r\n\r\n try {\r\n if (this.minimumLevel === 'null') this.minimumLevel = null;\r\n var saveModel = { slug: this.slug, ordering: this.ordering, isActive: this.isActive, restrictByCarrier: this.restrictByCarrier, minimumLevel: this.minimumLevel };\r\n\r\n if (this.id) {\r\n await this._api.updateData('training/' + this.id, saveModel);\r\n this._notifier.success('training-update-successful', { slug: this.slug });\r\n this.dialogController.ok({ id: this.id, slug: this.slug, ordering: this.ordering });\r\n } else {\r\n const data = await this._api.postData('training/', saveModel);\r\n this._notifier.success('training-add-successful', { slug: this.slug });\r\n this.dialogController.ok({ id: data.id, slug: this.slug, ordering: this.ordering });\r\n }\r\n } catch (err) {\r\n if (err) this._notifier.error(err);\r\n else this._notifier.generalError();\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 deleteTraining() {\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\r\n try {\r\n await this._api.deleteData('training/' + this.id);\r\n this._notifier.success('training-delete-successful', { slug: this.slug });\r\n this.dialogController.ok();\r\n } catch (err) {\r\n this._notifier.generalError();\r\n }\r\n }\r\n\r\n async _loadLevels() {\r\n try {\r\n this.levels = await this._api.get('level/list-all');\r\n } catch(error) {\r\n console.log(error);\r\n }\r\n }\r\n}\r\n","import {inject} from 'aurelia-framework';\r\nimport {DialogController} from 'aurelia-dialog';\r\nimport {NewInstance} from 'aurelia-dependency-injection';\r\nimport {ValidationRules, ValidationController} from 'aurelia-validation';\r\nimport {BootstrapFormValidationRenderer} from 'validation/bootstrap-form-validation-renderer';\r\nimport {I18n} from 'common/i18n';\r\nimport {Api} from 'common/server';\r\nimport {Notifier} from 'common/ui';\r\nimport {c} from 'common/common';\r\n\r\n@inject(DialogController, NewInstance.of(ValidationController), I18n, Api, Notifier)\r\nexport class TrainingTopicEditor {\r\n\r\n id = null;\r\n slug = '';\r\n isActive = false;\r\n showDeleteConfirm = false;\r\n minimumLevel = null;\r\n\r\n levels;\r\n\r\n constructor(dialogController, validationController, i18n, api, notifier) {\r\n this.dialogController = dialogController;\r\n this.dialogController.settings.centerHorizontalOnly = true;\r\n this.validationController = validationController;\r\n this.validationController.addRenderer(new BootstrapFormValidationRenderer());\r\n this._i18n = i18n;\r\n this._api = api;\r\n this._notifier = notifier;\r\n\r\n this.deleteText = this._i18n.tr('delete');\r\n\r\n ValidationRules\r\n .ensure('slug').required().matches(c.RegEx.slug)\r\n .on(this);\r\n }\r\n\r\n async activate(model) {\r\n await this._loadLevels();\r\n this.id = null;\r\n this.slug = '';\r\n this.isActive = false;\r\n this.minimumLevel = null;\r\n this.title = this._i18n.tr('training-topic-add-title');\r\n if (model) {\r\n this.title = this._i18n.tr('training-topic-edit-title');\r\n this.id = model.id;\r\n this.slug = model.slug;\r\n this.isActive = model.isActive;\r\n this.minimumLevel = model.minimumLevel;\r\n }\r\n this.validationController.reset();\r\n }\r\n\r\n save() {\r\n var me = this;\r\n this.validationController.validate().then(v => {\r\n if (!v.valid) return;\r\n if (me.minimumLevel === 'null') me.minimumLevel = null;\r\n\r\n var saveModel = { slug: me.slug, isActive: me.isActive, minimumLevel: me.minimumLevel };\r\n\r\n if (me.id) {\r\n me._api.updateData(\"training/topic/\" + me.id, saveModel).then(data => {\r\n me._notifier.success('training-topic-update-successful', { slug: me.slug });\r\n me.dialogController.ok({ deleted: false, id: me.id, slug: me.slug });\r\n }).catch(error => {\r\n if (error) me._notifier.error(error);\r\n else me._notifier.generalError();\r\n });\r\n } else {\r\n me._api.postData(\"training/topic\", saveModel).then(data => {\r\n me._notifier.success('training-topic-add-successful', { slug: me.slug });\r\n me.dialogController.ok({ deleted: false, id: data.id, slug: me.slug });\r\n }).catch(error => {\r\n if (error) me._notifier.error(error);\r\n else me._notifier.generalError();\r\n });\r\n }\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 deleteTrainingTopic() {\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 var me = this;\r\n\r\n me._api.deleteData(\"training/topic/\" + me.id).then(data => {\r\n me._notifier.success('training-topic-delete-successful', { slug: me.slug });\r\n me.dialogController.ok({ deleted: true });\r\n }).catch(error => {\r\n me._notifier.generalError();\r\n });\r\n }\r\n\r\n async _loadLevels() {\r\n try {\r\n this.levels = await this._api.getData('level/list-all');\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n}\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { inject } from 'aurelia-framework';\r\nimport { EventAggregator } from 'aurelia-event-aggregator';\r\nimport { Api } from 'common/server';\r\nimport { Page, Notifier } from 'common/ui';\r\nimport { Security } from 'common/security';\r\nimport { I18n } from 'common/i18n';\r\nimport { UiWidgets } from 'services/ui-widgets';\r\nimport { TrainingEditor } from './dialog/training-editor';\r\nimport { CourseEditor } from './dialog/course-editor';\r\nimport { TrainingTopicEditor } from './dialog/training-topic-editor';\r\nimport { DialogService } from 'aurelia-dialog';\r\nimport { ROLE } from 'common/constants';\r\nPLATFORM.moduleName('./dialog/training-editor');\r\nPLATFORM.moduleName('./dialog/course-editor');\r\nPLATFORM.moduleName('./dialog/training-topic-editor');\r\n\r\n@inject(EventAggregator, Api, Page, Notifier, Security, I18n, UiWidgets, DialogService)\r\nexport class Training {\r\n\r\n showVideoUrl = '';\r\n trainings = [];\r\n topics = [];\r\n\r\n constructor(eventAggregator, api, page, notifier, security, i18n, uiWidgets, dialogService) {\r\n this.eventAggregator = eventAggregator;\r\n this.api = api;\r\n this.page = page;\r\n this.notifier = notifier;\r\n this.security = security;\r\n this.i18n = i18n;\r\n this.uiWidgets = uiWidgets;\r\n this._dialogService = dialogService;\r\n\r\n this.isAdmin = this.security.isInRole([ROLE.Admin, ROLE.CarrierAdmin, ROLE.ResourceAdmin, ROLE.TrainingAdmin]);\r\n }\r\n\r\n activate() {\r\n this.page.track('members/resources');\r\n this._initialize(false);\r\n this._loadTopics();\r\n }\r\n\r\n attached() {\r\n $(\"#training-video-dialog\").on(\"hidden.bs.modal\", this.stopVideo);\r\n this._initializeHandler = this.eventAggregator.subscribe('zeus.training.initialize', (uiWidget) => {\r\n this._initialize(true);\r\n });\r\n this._topicHandler = this.eventAggregator.subscribe('zeus.training.topic.initialize', (uiWidget) => {\r\n this.uiWidgets.addToCache(uiWidget);\r\n this._loadTopics();\r\n });\r\n }\r\n\r\n detached() {\r\n this._initializeHandler.dispose();\r\n this._topicHandler.dispose();\r\n }\r\n\r\n _initialize(clear) {\r\n if (clear) this.trainings = [];\r\n this._loadIntros();\r\n }\r\n\r\n async _loadIntros() {\r\n try {\r\n if (this.trainings && this.trainings.length > 0) return;\r\n this.trainings = await this.api.getData('training/all/' + this.i18n.currentLocale)\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n openTrainingEditor(training) {\r\n let defaultOrdering = 1;\r\n if (training) {\r\n defaultOrdering = training.ordering;\r\n } else if (this.trainings && this.trainings.length) {\r\n defaultOrdering = this.trainings[this.trainings.length - 1].ordering + 1;\r\n }\r\n var model = { \r\n ordering: defaultOrdering,\r\n training: training\r\n };\r\n this._dialogService.open({ viewModel: TrainingEditor, model: model, ignoreTransitions: true }).whenClosed(response => {\r\n if (response.wasCancelled) return;\r\n if (!response.output) {\r\n this._initialize(true);\r\n return;\r\n }\r\n if (!training || response.output.slug === training.slug) {\r\n this._initialize(true);\r\n return;\r\n }\r\n this.uiWidgets.initialize().then(() => {\r\n this._initialize(true);\r\n });\r\n });\r\n }\r\n\r\n openTrainingCourseEditor(training, course) {\r\n var model = {\r\n trainingId: training.id,\r\n restrictByCarrier: training.restrictByCarrier,\r\n course: course,\r\n ordering: course ? course.ordering : training.courses.length ? training.courses[training.courses.length-1].ordering + 1 : 1\r\n };\r\n this._dialogService.open({ viewModel: CourseEditor, model: model, ignoreTransitions: true }).whenClosed(response => {\r\n if (response.wasCancelled) return;\r\n if (!response.output) {\r\n this._initialize(true);\r\n return;\r\n }\r\n if (!course || (response.output.slug === course.slug && response.output.trainingId === training.id)) {\r\n this._initialize(true);\r\n return;\r\n }\r\n this.uiWidgets.initialize().then(() => {\r\n this._initialize(true);\r\n });\r\n });\r\n }\r\n\r\n playVideo(videoUrl) {\r\n $(\"#embedded-video\").attr(\"src\", videoUrl);\r\n }\r\n stopVideo() {\r\n $(\"#embedded-video\").attr(\"src\", \"about:blank\");\r\n }\r\n showPowerpoint(pptUrl) {\r\n $('#embedded-powerpoint').attr('src', pptUrl);\r\n }\r\n\r\n async _loadTopics() {\r\n this.topics = [];\r\n try {\r\n this.topics = await this.api.getData('training/topic/' + this.i18n.currentLocale);\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n async openTopicEditor(topic) {\r\n this._dialogService.open({ viewModel: TrainingTopicEditor, model: topic || null, ignoreTransitions: true }).whenClosed(response => {\r\n if (response.wasCancelled) return;\r\n if (response.output.deleted) this._initialize(true);\r\n this._loadTopics();\r\n });\r\n }\r\n}\r\n","import { TemplatingEngine } from 'aurelia-templating';\r\nimport { Menus } from 'services/menus';\r\nimport { c } from 'common/common';\r\n\r\nexport class Widget {\r\n static inject = [TemplatingEngine, Menus];\r\n _templatingEngine;\r\n _menus;\r\n\r\n widgetId;\r\n _widgetView;\r\n\r\n constructor(templatingEngine, menus) {\r\n this._templatingEngine = templatingEngine;\r\n this._menus = menus;\r\n }\r\n\r\n activate(model) {\r\n this.widgetId = model.id;\r\n }\r\n\r\n attached() {\r\n this._initialize();\r\n }\r\n\r\n detached() {\r\n if (this._widgetView) {\r\n try {\r\n this._widgetView.detached();\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n }\r\n\r\n async _initialize() {\r\n try {\r\n let id = c.Helpers.uniqueId();\r\n const mobileMenu = await this._menus.mobileMenu(this.widgetId);\r\n if (!mobileMenu) {\r\n const nonMobileSettingsValue = JSON.stringify({});\r\n this.widgetContainerEl.innerHTML = `<${this.widgetId} data-id=\"${id}\" can-edit.bind=\"false\" settings.bind=\"${nonMobileSettingsValue}\">${this.widgetId}>`;\r\n } else {\r\n const settings = mobileMenu.metadata ?? {};\r\n let settingsValue = JSON.stringify(settings);\r\n settingsValue = c.Helpers.replaceAll(settingsValue, '\"', '\\'');\r\n this.widgetContainerEl.innerHTML = `<${mobileMenu.code} data-id=\"${id}\" can-edit.bind=\"false\" settings.bind=\"${settingsValue}\">${mobileMenu.code}>`;\r\n }\r\n this._widgetView = this._templatingEngine.enhance({ element: this.widgetContainerEl, bindingContext: this });\r\n\r\n } catch (err) {\r\n console.log(err);\r\n }\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-task {\\n background-color: var(--kt-card-bg);\\n border-radius: var(--zeus-margin-sm);\\n margin-bottom: var(--zeus-margin);\\n border: var(--zeus-card-border);\\n position: relative;\\n}\\n.zeus-task .zeus-task-header {\\n padding: var(--zeus-margin);\\n background-color: var(--kt-primary-light);\\n border-top-left-radius: var(--zeus-margin-sm);\\n border-top-right-radius: var(--zeus-margin-sm);\\n display: flex;\\n justify-content: space-between;\\n align-items: center;\\n}\\n.zeus-task .zeus-task-title {\\n font-size: 1.2em;\\n font-weight: bold;\\n}\\n.zeus-task .zeus-task-body {\\n padding: var(--zeus-margin);\\n}\\n\\n.zeus-task-content {\\n position: relative;\\n min-height: 50px;\\n}\\n\\n.zeus-task-navigation {\\n display: flex;\\n justify-content: space-between;\\n align-items: center;\\n margin-bottom: var(--zeus-margin);\\n}\\n\\n.zeus-task-count-container {\\n text-align: center;\\n}\\n\\n.zeus-task-count {\\n font-weight: bold;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/members/tasks/list.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,mCAAA;EACA,oCAAA;EACA,iCAAA;EACA,+BAAA;EACA,kBAAA;AACJ;AACI;EACI,2BAAA;EACA,yCAAA;EACA,6CAAA;EACA,8CAAA;EACA,aAAA;EACA,8BAAA;EACA,mBAAA;AACR;AAEI;EACI,gBAAA;EACA,iBAAA;AAAR;AAGI;EACI,2BAAA;AADR;;AAKA;EACI,kBAAA;EACA,gBAAA;AAFJ;;AAKA;EACI,aAAA;EACA,8BAAA;EACA,mBAAA;EACA,iCAAA;AAFJ;;AAKA;EACI,kBAAA;AAFJ;;AAKA;EACI,iBAAA;AAFJ\",\"sourcesContent\":[\".zeus-task {\\r\\n background-color: var(--kt-card-bg);\\r\\n border-radius : var(--zeus-margin-sm);\\r\\n margin-bottom : var(--zeus-margin);\\r\\n border : var(--zeus-card-border);\\r\\n position : relative;\\r\\n\\r\\n .zeus-task-header {\\r\\n padding: var(--zeus-margin);\\r\\n background-color: var(--kt-primary-light);\\r\\n border-top-left-radius: var(--zeus-margin-sm);\\r\\n border-top-right-radius: var(--zeus-margin-sm);\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n align-items: center;\\r\\n }\\r\\n\\r\\n .zeus-task-title {\\r\\n font-size: 1.2em;\\r\\n font-weight: bold;\\r\\n }\\r\\n\\r\\n .zeus-task-body {\\r\\n padding : var(--zeus-margin);\\r\\n }\\r\\n}\\r\\n\\r\\n.zeus-task-content {\\r\\n position : relative;\\r\\n min-height: 50px;\\r\\n}\\r\\n\\r\\n.zeus-task-navigation {\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n align-items: center;\\r\\n margin-bottom: var(--zeus-margin);\\r\\n}\\r\\n\\r\\n.zeus-task-count-container {\\r\\n text-align: center;\\r\\n}\\r\\n\\r\\n.zeus-task-count {\\r\\n font-weight: bold;\\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-task {\\n background-color: var(--kt-card-bg);\\n border-radius: var(--zeus-margin-sm);\\n margin-bottom: var(--zeus-margin);\\n border: var(--zeus-card-border);\\n position: relative;\\n}\\n.zeus-task .zeus-task-header {\\n padding: var(--zeus-margin);\\n background-color: var(--kt-primary-light);\\n border-top-left-radius: var(--zeus-margin-sm);\\n border-top-right-radius: var(--zeus-margin-sm);\\n display: flex;\\n justify-content: space-between;\\n align-items: center;\\n}\\n.zeus-task .zeus-task-title {\\n font-size: 1.2em;\\n font-weight: bold;\\n}\\n.zeus-task .zeus-task-body {\\n padding: var(--zeus-margin);\\n}\\n\\n.zeus-task-content {\\n position: relative;\\n min-height: 50px;\\n}\\n\\n.zeus-task-navigation {\\n display: flex;\\n justify-content: space-between;\\n align-items: center;\\n margin-bottom: var(--zeus-margin);\\n}\\n\\n.zeus-task-count-container {\\n text-align: center;\\n}\\n\\n.zeus-task-count {\\n font-weight: bold;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/members/to-dos/list.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,mCAAA;EACA,oCAAA;EACA,iCAAA;EACA,+BAAA;EACA,kBAAA;AACJ;AACI;EACI,2BAAA;EACA,yCAAA;EACA,6CAAA;EACA,8CAAA;EACA,aAAA;EACA,8BAAA;EACA,mBAAA;AACR;AAEI;EACI,gBAAA;EACA,iBAAA;AAAR;AAGI;EACI,2BAAA;AADR;;AAKA;EACI,kBAAA;EACA,gBAAA;AAFJ;;AAKA;EACI,aAAA;EACA,8BAAA;EACA,mBAAA;EACA,iCAAA;AAFJ;;AAKA;EACI,kBAAA;AAFJ;;AAKA;EACI,iBAAA;AAFJ\",\"sourcesContent\":[\".zeus-task {\\r\\n background-color: var(--kt-card-bg);\\r\\n border-radius : var(--zeus-margin-sm);\\r\\n margin-bottom : var(--zeus-margin);\\r\\n border : var(--zeus-card-border);\\r\\n position : relative;\\r\\n\\r\\n .zeus-task-header {\\r\\n padding: var(--zeus-margin);\\r\\n background-color: var(--kt-primary-light);\\r\\n border-top-left-radius: var(--zeus-margin-sm);\\r\\n border-top-right-radius: var(--zeus-margin-sm);\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n align-items: center;\\r\\n }\\r\\n\\r\\n .zeus-task-title {\\r\\n font-size: 1.2em;\\r\\n font-weight: bold;\\r\\n }\\r\\n\\r\\n .zeus-task-body {\\r\\n padding : var(--zeus-margin);\\r\\n }\\r\\n}\\r\\n\\r\\n.zeus-task-content {\\r\\n position : relative;\\r\\n min-height: 50px;\\r\\n}\\r\\n\\r\\n.zeus-task-navigation {\\r\\n display: flex;\\r\\n justify-content: space-between;\\r\\n align-items: center;\\r\\n margin-bottom: var(--zeus-margin);\\r\\n}\\r\\n\\r\\n.zeus-task-count-container {\\r\\n text-align: center;\\r\\n}\\r\\n\\r\\n.zeus-task-count {\\r\\n font-weight: bold;\\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-menu-item {\\n width: 100%;\\n}\\n.zeus-menu-item .menu-link {\\n flex: auto;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/members/training/training.scss\"],\"names\":[],\"mappings\":\"AAAA;EACI,WAAA;AACJ;AACI;EACI,UAAA;AACR\",\"sourcesContent\":[\".zeus-menu-item {\\r\\n width: 100%;\\r\\n\\r\\n .menu-link {\\r\\n flex: auto;\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Module\nvar code = \"\\r\\n\\tPlease wait while you are logged into your My BizCard account...
\\r\\nIf you are not redirected, click here
\\r\\n\";\n// Exports\nexport default code;","// Module\nvar code = \"\\r\\n:
\\r\\n\\t\\t\\t\\t