/* Minification failed. Returning unminified contents.
(2,2208-2215): run-time warning JS1010: Expected identifier: default
(2,4022-4029): run-time warning JS1010: Expected identifier: default
(2,4157-4164): run-time warning JS1010: Expected identifier: default
(2,4432-4437): run-time warning JS1010: Expected identifier: catch
(2,4556-4563): run-time warning JS1010: Expected identifier: default
(2,4841-4848): run-time warning JS1010: Expected identifier: default
(6,21802-21809): run-time warning JS1010: Expected identifier: default
(6,21965-21972): run-time warning JS1010: Expected identifier: default
(6,22278-22285): run-time warning JS1010: Expected identifier: default
(6,22544-22551): run-time warning JS1010: Expected identifier: default
(12,26383-26390): run-time warning JS1010: Expected identifier: default
(12,26480-26487): run-time warning JS1010: Expected identifier: default
(12,26581-26588): run-time warning JS1010: Expected identifier: default
(12,26682-26689): run-time warning JS1010: Expected identifier: default
(12,26784-26791): run-time warning JS1010: Expected identifier: default
(12,26887-26894): run-time warning JS1010: Expected identifier: default
(12,26992-26999): run-time warning JS1010: Expected identifier: default
(12,27097-27104): run-time warning JS1010: Expected identifier: default
(12,27200-27207): run-time warning JS1010: Expected identifier: default
(12,27303-27310): run-time warning JS1010: Expected identifier: default
(12,27484-27491): run-time warning JS1010: Expected identifier: default
(12,27977-27984): run-time warning JS1010: Expected identifier: default
(12,29184-29191): run-time warning JS1010: Expected identifier: default
(12,29195-29202): run-time warning JS1010: Expected identifier: default
(12,31905-31912): run-time warning JS1010: Expected identifier: default
(13,774-781): run-time warning JS1010: Expected identifier: default
(13,1190-1197): run-time warning JS1010: Expected identifier: default
(13,1427-1434): run-time warning JS1010: Expected identifier: default
(13,1608-1615): run-time warning JS1010: Expected identifier: default
(13,1793-1800): run-time warning JS1010: Expected identifier: default
(13,1984-1991): run-time warning JS1010: Expected identifier: default
(13,2167-2174): run-time warning JS1010: Expected identifier: default
(13,2351-2358): run-time warning JS1010: Expected identifier: default
(13,2533-2540): run-time warning JS1010: Expected identifier: default
(13,2716-2723): run-time warning JS1010: Expected identifier: default
(13,2899-2906): run-time warning JS1010: Expected identifier: default
(13,3344-3351): run-time warning JS1010: Expected identifier: default
(13,3568-3575): run-time warning JS1010: Expected identifier: default
(13,3783-3790): run-time warning JS1010: Expected identifier: default
(13,3997-4004): run-time warning JS1010: Expected identifier: default
(13,4210-4217): run-time warning JS1010: Expected identifier: default
(13,4424-4431): run-time warning JS1010: Expected identifier: default
(13,4655-4662): run-time warning JS1010: Expected identifier: default
(13,4964-4971): run-time warning JS1010: Expected identifier: default
(13,6504-6511): run-time warning JS1010: Expected identifier: default
(13,6920-6927): run-time warning JS1010: Expected identifier: default
(13,7157-7164): run-time warning JS1010: Expected identifier: default
(13,7338-7345): run-time warning JS1010: Expected identifier: default
(13,7529-7536): run-time warning JS1010: Expected identifier: default
(13,7712-7719): run-time warning JS1010: Expected identifier: default
(13,7896-7903): run-time warning JS1010: Expected identifier: default
(13,8078-8085): run-time warning JS1010: Expected identifier: default
(13,8261-8268): run-time warning JS1010: Expected identifier: default
(13,8444-8451): run-time warning JS1010: Expected identifier: default
(13,9020-9027): run-time warning JS1010: Expected identifier: default
(13,9235-9242): run-time warning JS1010: Expected identifier: default
(13,9449-9456): run-time warning JS1010: Expected identifier: default
(13,9662-9669): run-time warning JS1010: Expected identifier: default
(13,9876-9883): run-time warning JS1010: Expected identifier: default
(13,10107-10114): run-time warning JS1010: Expected identifier: default
(13,10389-10396): run-time warning JS1010: Expected identifier: default
(13,11621-11628): run-time warning JS1010: Expected identifier: default
(13,11959-11966): run-time warning JS1010: Expected identifier: default
(13,12790-12797): run-time warning JS1010: Expected identifier: default
(13,13416-13423): run-time warning JS1010: Expected identifier: default
(13,13481-13488): run-time warning JS1010: Expected identifier: default
(13,14199-14206): run-time warning JS1010: Expected identifier: default
(13,15296-15303): run-time warning JS1010: Expected identifier: default
(13,15321-15328): run-time warning JS1010: Expected identifier: default
(13,15457-15464): run-time warning JS1010: Expected identifier: default
(13,15513-15518): run-time warning JS1010: Expected identifier: catch
(13,15557-15564): run-time warning JS1010: Expected identifier: default
(13,15750-15757): run-time warning JS1010: Expected identifier: default
(13,15781-15788): run-time warning JS1010: Expected identifier: default
(13,16286-16293): run-time warning JS1010: Expected identifier: default
(13,16526-16533): run-time warning JS1010: Expected identifier: default
(13,16774-16781): run-time warning JS1010: Expected identifier: default
(13,16964-16971): run-time warning JS1010: Expected identifier: default
(13,16984-16991): run-time warning JS1010: Expected identifier: default
(13,17010-17017): run-time warning JS1010: Expected identifier: default
(13,17040-17047): run-time warning JS1010: Expected identifier: default
(13,17062-17069): run-time warning JS1010: Expected identifier: default
(13,17079-17086): run-time warning JS1010: Expected identifier: default
(13,17091-17098): run-time warning JS1010: Expected identifier: default
(13,17356-17363): run-time warning JS1010: Expected identifier: default
(13,17433-17440): run-time warning JS1010: Expected identifier: default
(13,17463-17470): run-time warning JS1010: Expected identifier: default
(13,17579-17586): run-time warning JS1010: Expected identifier: default
(15,1903-1910): run-time warning JS1010: Expected identifier: default
(15,23211-23218): run-time warning JS1010: Expected identifier: default
(15,23542-23549): run-time warning JS1010: Expected identifier: default
(15,23601-23608): run-time warning JS1010: Expected identifier: default
(15,23640-23647): run-time warning JS1010: Expected identifier: default
(15,23851-23858): run-time warning JS1010: Expected identifier: default
(15,23910-23917): run-time warning JS1010: Expected identifier: default
(15,23949-23956): run-time warning JS1010: Expected identifier: default
(15,23979-23986): run-time warning JS1010: Expected identifier: default
(15,24798-24805): run-time warning JS1010: Expected identifier: default
(15,26588-26595): run-time warning JS1010: Expected identifier: default
(15,26820-26825): run-time warning JS1010: Expected identifier: catch
(15,27204-27211): run-time warning JS1010: Expected identifier: default
(15,27249-27256): run-time warning JS1010: Expected identifier: default
(15,27534-27541): run-time warning JS1010: Expected identifier: default
(15,27821-27828): run-time warning JS1010: Expected identifier: default
(15,28053-28058): run-time warning JS1010: Expected identifier: catch
(15,28281-28288): run-time warning JS1010: Expected identifier: default
(15,28594-28599): run-time warning JS1010: Expected identifier: catch
(15,29489-29496): run-time warning JS1010: Expected identifier: default
(15,29803-29810): run-time warning JS1010: Expected identifier: default
(15,30070-30077): run-time warning JS1010: Expected identifier: default
(22,5018-5025): run-time warning JS1010: Expected identifier: default
(22,5115-5122): run-time warning JS1010: Expected identifier: default
(22,5216-5223): run-time warning JS1010: Expected identifier: default
(22,5317-5324): run-time warning JS1010: Expected identifier: default
(22,5419-5426): run-time warning JS1010: Expected identifier: default
(22,5522-5529): run-time warning JS1010: Expected identifier: default
(22,5627-5634): run-time warning JS1010: Expected identifier: default
(22,5732-5739): run-time warning JS1010: Expected identifier: default
(22,5835-5842): run-time warning JS1010: Expected identifier: default
(22,5938-5945): run-time warning JS1010: Expected identifier: default
(22,6119-6126): run-time warning JS1010: Expected identifier: default
(22,6597-6604): run-time warning JS1010: Expected identifier: default
(22,8005-8012): run-time warning JS1010: Expected identifier: default
(22,8016-8023): run-time warning JS1010: Expected identifier: default
(22,8267-8274): run-time warning JS1010: Expected identifier: default
(22,8936-8943): run-time warning JS1010: Expected identifier: default
(22,9237-9244): run-time warning JS1010: Expected identifier: default
(22,9382-9389): run-time warning JS1010: Expected identifier: default
(22,9527-9534): run-time warning JS1010: Expected identifier: default
(22,9672-9679): run-time warning JS1010: Expected identifier: default
(22,9874-9881): run-time warning JS1010: Expected identifier: default
(22,10021-10028): run-time warning JS1010: Expected identifier: default
(22,10168-10175): run-time warning JS1010: Expected identifier: default
(22,10315-10322): run-time warning JS1010: Expected identifier: default
(22,10489-10496): run-time warning JS1010: Expected identifier: default
(22,10636-10643): run-time warning JS1010: Expected identifier: default
(22,10783-10790): run-time warning JS1010: Expected identifier: default
(22,10930-10937): run-time warning JS1010: Expected identifier: default
(22,11104-11111): run-time warning JS1010: Expected identifier: default
(22,11251-11258): run-time warning JS1010: Expected identifier: default
(22,11398-11405): run-time warning JS1010: Expected identifier: default
(22,11545-11552): run-time warning JS1010: Expected identifier: default
(22,11723-11730): run-time warning JS1010: Expected identifier: default
(22,11837-11844): run-time warning JS1010: Expected identifier: default
(22,13135-13142): run-time warning JS1010: Expected identifier: default
(22,13733-13740): run-time warning JS1010: Expected identifier: default
(22,13985-13992): run-time warning JS1010: Expected identifier: default
(22,14098-14105): run-time warning JS1010: Expected identifier: default
(22,14451-14458): run-time warning JS1010: Expected identifier: default
(22,14943-14950): run-time warning JS1010: Expected identifier: default
(22,15073-15080): run-time warning JS1010: Expected identifier: default
(22,15282-15289): run-time warning JS1010: Expected identifier: default
(22,15499-15506): run-time warning JS1010: Expected identifier: default
(22,15728-15735): run-time warning JS1010: Expected identifier: default
(22,15897-15904): run-time warning JS1010: Expected identifier: default
(22,16006-16013): run-time warning JS1010: Expected identifier: default
(22,16305-16312): run-time warning JS1010: Expected identifier: default
(22,16487-16494): run-time warning JS1010: Expected identifier: default
(22,16778-16785): run-time warning JS1010: Expected identifier: default
(22,17626-17633): run-time warning JS1010: Expected identifier: default
(22,18068-18075): run-time warning JS1010: Expected identifier: default
(22,18285-18292): run-time warning JS1010: Expected identifier: default
(22,18514-18521): run-time warning JS1010: Expected identifier: default
(22,18685-18692): run-time warning JS1010: Expected identifier: default
(22,18951-18958): run-time warning JS1010: Expected identifier: default
(22,19145-19152): run-time warning JS1010: Expected identifier: default
(22,19353-19360): run-time warning JS1010: Expected identifier: default
(22,19464-19471): run-time warning JS1010: Expected identifier: default
(22,20271-20278): run-time warning JS1010: Expected identifier: default
(22,20500-20507): run-time warning JS1010: Expected identifier: default
(22,20669-20676): run-time warning JS1010: Expected identifier: default
(22,20935-20942): run-time warning JS1010: Expected identifier: default
(22,21045-21052): run-time warning JS1010: Expected identifier: default
(22,21418-21425): run-time warning JS1010: Expected identifier: default
(22,21617-21624): run-time warning JS1010: Expected identifier: default
(22,21865-21872): run-time warning JS1010: Expected identifier: default
(22,22030-22037): run-time warning JS1010: Expected identifier: default
(22,22319-22326): run-time warning JS1010: Expected identifier: default
(22,22486-22493): run-time warning JS1010: Expected identifier: default
(22,22646-22653): run-time warning JS1010: Expected identifier: default
(22,23416-23423): run-time warning JS1010: Expected identifier: default
(22,23506-23513): run-time warning JS1010: Expected identifier: default
(22,23589-23596): run-time warning JS1010: Expected identifier: default
(22,24053-24060): run-time warning JS1010: Expected identifier: default
(22,24191-24198): run-time warning JS1010: Expected identifier: default
(22,24507-24514): run-time warning JS1010: Expected identifier: default
(22,25521-25528): run-time warning JS1010: Expected identifier: default
(22,27302-27309): run-time warning JS1010: Expected identifier: default
(22,27383-27390): run-time warning JS1010: Expected identifier: default
(22,27877-27884): run-time warning JS1010: Expected identifier: default
(22,27930-27937): run-time warning JS1010: Expected identifier: default
(22,28027-28034): run-time warning JS1010: Expected identifier: default
(22,28275-28282): run-time warning JS1010: Expected identifier: default
(22,28642-28649): run-time warning JS1010: Expected identifier: default
(22,29032-29039): run-time warning JS1010: Expected identifier: default
(22,29176-29183): run-time warning JS1010: Expected identifier: default
(22,29187-29194): run-time warning JS1010: Expected identifier: default
(22,30300-30307): run-time warning JS1010: Expected identifier: default
(22,30325-30332): run-time warning JS1010: Expected identifier: default
(22,30406-30413): run-time warning JS1010: Expected identifier: default
(22,30518-30525): run-time warning JS1010: Expected identifier: default
(22,30574-30579): run-time warning JS1010: Expected identifier: catch
(22,30618-30625): run-time warning JS1010: Expected identifier: default
(22,30787-30794): run-time warning JS1010: Expected identifier: default
(22,30818-30825): run-time warning JS1010: Expected identifier: default
(22,30951-30958): run-time warning JS1010: Expected identifier: default
(22,31124-31131): run-time warning JS1010: Expected identifier: default
(22,31155-31162): run-time warning JS1010: Expected identifier: default
(22,31582-31589): run-time warning JS1010: Expected identifier: default
(22,31822-31829): run-time warning JS1010: Expected identifier: default
(23,80-87): run-time warning JS1010: Expected identifier: default
(23,269-276): run-time warning JS1010: Expected identifier: default
(23,298-305): run-time warning JS1010: Expected identifier: default
(23,328-335): run-time warning JS1010: Expected identifier: default
(23,350-357): run-time warning JS1010: Expected identifier: default
(23,365-372): run-time warning JS1010: Expected identifier: default
(23,382-389): run-time warning JS1010: Expected identifier: default
(23,406-413): run-time warning JS1010: Expected identifier: default
(23,418-425): run-time warning JS1010: Expected identifier: default
(23,685-692): run-time warning JS1010: Expected identifier: default
(23,933-940): run-time warning JS1010: Expected identifier: default
(23,1010-1017): run-time warning JS1010: Expected identifier: default
(23,1040-1047): run-time warning JS1010: Expected identifier: default
(23,1156-1163): run-time warning JS1010: Expected identifier: default
(23,1346-1353): run-time warning JS1010: Expected identifier: default
(25,4884-4891): run-time warning JS1010: Expected identifier: default
(25,4895-4902): run-time warning JS1010: Expected identifier: default
(25,19805-19812): run-time warning JS1010: Expected identifier: default
(25,20629-20636): run-time warning JS1010: Expected identifier: default
(25,20792-20799): run-time warning JS1010: Expected identifier: default
(25,21105-21112): run-time warning JS1010: Expected identifier: default
(25,21371-21378): run-time warning JS1010: Expected identifier: default
(31,26472-26479): run-time warning JS1010: Expected identifier: default
(31,26583-26590): run-time warning JS1010: Expected identifier: default
(31,26892-26897): run-time warning JS1010: Expected identifier: catch
(31,27004-27011): run-time warning JS1010: Expected identifier: default
(31,27289-27296): run-time warning JS1010: Expected identifier: default
(31,27628-27635): run-time warning JS1010: Expected identifier: default
(31,27725-27732): run-time warning JS1010: Expected identifier: default
(31,27826-27833): run-time warning JS1010: Expected identifier: default
(31,27927-27934): run-time warning JS1010: Expected identifier: default
(31,28029-28036): run-time warning JS1010: Expected identifier: default
(31,28132-28139): run-time warning JS1010: Expected identifier: default
(31,28237-28244): run-time warning JS1010: Expected identifier: default
(31,28342-28349): run-time warning JS1010: Expected identifier: default
(31,28445-28452): run-time warning JS1010: Expected identifier: default
(31,28548-28555): run-time warning JS1010: Expected identifier: default
(31,28729-28736): run-time warning JS1010: Expected identifier: default
(31,29222-29229): run-time warning JS1010: Expected identifier: default
(31,31924-31931): run-time warning JS1010: Expected identifier: default
(32,1078-1085): run-time warning JS1010: Expected identifier: default
(32,1324-1331): run-time warning JS1010: Expected identifier: default
(32,1517-1524): run-time warning JS1010: Expected identifier: default
(32,1822-1829): run-time warning JS1010: Expected identifier: default
(32,2057-2064): run-time warning JS1010: Expected identifier: default
(32,2419-2426): run-time warning JS1010: Expected identifier: default
(32,3697-3704): run-time warning JS1010: Expected identifier: default
(32,3987-3994): run-time warning JS1010: Expected identifier: default
(32,4586-4593): run-time warning JS1010: Expected identifier: default
(32,4960-4967): run-time warning JS1010: Expected identifier: default
(32,5025-5032): run-time warning JS1010: Expected identifier: default
(32,5321-5328): run-time warning JS1010: Expected identifier: default
(32,6409-6416): run-time warning JS1010: Expected identifier: default
(32,6538-6545): run-time warning JS1010: Expected identifier: default
(32,6594-6599): run-time warning JS1010: Expected identifier: catch
(32,6638-6645): run-time warning JS1010: Expected identifier: default
(32,6814-6821): run-time warning JS1010: Expected identifier: default
(32,6845-6852): run-time warning JS1010: Expected identifier: default
(32,7341-7348): run-time warning JS1010: Expected identifier: default
(32,7581-7588): run-time warning JS1010: Expected identifier: default
(32,7829-7836): run-time warning JS1010: Expected identifier: default
(32,8019-8026): run-time warning JS1010: Expected identifier: default
(32,8039-8046): run-time warning JS1010: Expected identifier: default
(32,8062-8069): run-time warning JS1010: Expected identifier: default
(32,8092-8099): run-time warning JS1010: Expected identifier: default
(32,8114-8121): run-time warning JS1010: Expected identifier: default
(32,8131-8138): run-time warning JS1010: Expected identifier: default
(32,8143-8150): run-time warning JS1010: Expected identifier: default
(32,8399-8406): run-time warning JS1010: Expected identifier: default
(32,8476-8483): run-time warning JS1010: Expected identifier: default
(32,8506-8513): run-time warning JS1010: Expected identifier: default
(32,8594-8601): run-time warning JS1010: Expected identifier: default
(2,2208-2215): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,4022-4029): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,4157-4164): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,4432-4437): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(2,4556-4563): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,4841-4848): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(6,21802-21809): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(6,21965-21972): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(6,22278-22285): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(6,22544-22551): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,26383-26390): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,26480-26487): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,26581-26588): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,26682-26689): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,26784-26791): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,26887-26894): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,26992-26999): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,27097-27104): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,27200-27207): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,27303-27310): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,27484-27491): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,27977-27984): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,29184-29191): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,29195-29202): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(12,31905-31912): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,774-781): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,1190-1197): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,1427-1434): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,1608-1615): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,1793-1800): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,1984-1991): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,2167-2174): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,2351-2358): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,2533-2540): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,2716-2723): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,2899-2906): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,3344-3351): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,3568-3575): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,3783-3790): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,3997-4004): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,4210-4217): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,4424-4431): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,4655-4662): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,4964-4971): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,6504-6511): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,6920-6927): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,7157-7164): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,7338-7345): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,7529-7536): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,7712-7719): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,7896-7903): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,8078-8085): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,8261-8268): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,8444-8451): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,9020-9027): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,9235-9242): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,9449-9456): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,9662-9669): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,9876-9883): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,10107-10114): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,10389-10396): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,11621-11628): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,11959-11966): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,12790-12797): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,13416-13423): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,13481-13488): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,14199-14206): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,15296-15303): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,15321-15328): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,15513-15518): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(13,15457-15464): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,15557-15564): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,15750-15757): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,15781-15788): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,16286-16293): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,16526-16533): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,16774-16781): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,16964-16971): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,16984-16991): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17010-17017): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17040-17047): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17062-17069): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17079-17086): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17091-17098): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17356-17363): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17433-17440): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17463-17470): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(13,17579-17586): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,1903-1910): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,23211-23218): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,23542-23549): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,23601-23608): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,23640-23647): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,23851-23858): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,23910-23917): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,23949-23956): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,23979-23986): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,24798-24805): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,26588-26595): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,26820-26825): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(15,27204-27211): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,27249-27256): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,27534-27541): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,27821-27828): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,28053-28058): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(15,28281-28288): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,28594-28599): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(15,29489-29496): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,29803-29810): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(15,30070-30077): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5018-5025): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5115-5122): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5216-5223): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5317-5324): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5419-5426): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5522-5529): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5627-5634): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5732-5739): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5835-5842): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5938-5945): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6119-6126): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6597-6604): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,8005-8012): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,8016-8023): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,8267-8274): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,8936-8943): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9237-9244): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9382-9389): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9527-9534): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9672-9679): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9874-9881): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10021-10028): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10168-10175): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10315-10322): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10489-10496): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10636-10643): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10783-10790): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10930-10937): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11104-11111): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11251-11258): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11398-11405): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11545-11552): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11723-11730): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11837-11844): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13135-13142): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13733-13740): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13985-13992): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14098-14105): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14451-14458): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14943-14950): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15073-15080): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15282-15289): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15499-15506): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15728-15735): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15897-15904): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16006-16013): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16305-16312): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16487-16494): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16778-16785): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17626-17633): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18068-18075): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18285-18292): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18514-18521): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18685-18692): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18951-18958): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19145-19152): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19353-19360): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19464-19471): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20271-20278): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20500-20507): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20669-20676): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20935-20942): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,21045-21052): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,21418-21425): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,21617-21624): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,21865-21872): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,22030-22037): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,22319-22326): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,22486-22493): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,22646-22653): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,23416-23423): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,23506-23513): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,23589-23596): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,24053-24060): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,24191-24198): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,24507-24514): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,25521-25528): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,27302-27309): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,27383-27390): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,27877-27884): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,27930-27937): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,28027-28034): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,28275-28282): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,28642-28649): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,29032-29039): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,29176-29183): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,29187-29194): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,30300-30307): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,30325-30332): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,30406-30413): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,30574-30579): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(22,30518-30525): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,30618-30625): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,30787-30794): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,30818-30825): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,30951-30958): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,31124-31131): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,31155-31162): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,31582-31589): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,31822-31829): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,80-87): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,269-276): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,298-305): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,328-335): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,350-357): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,365-372): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,382-389): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,406-413): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,418-425): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,685-692): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,933-940): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,1010-1017): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,1040-1047): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,1156-1163): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(23,1346-1353): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(25,4884-4891): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(25,4895-4902): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(25,19805-19812): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(25,20629-20636): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(25,20792-20799): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(25,21105-21112): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(25,21371-21378): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,26472-26479): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,26583-26590): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,26892-26897): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(31,27004-27011): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,27289-27296): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,27628-27635): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,27725-27732): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,27826-27833): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,27927-27934): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,28029-28036): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,28132-28139): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,28237-28244): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,28342-28349): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,28445-28452): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,28548-28555): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,28729-28736): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,29222-29229): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(31,31924-31931): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,1078-1085): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,1324-1331): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,1517-1524): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,1822-1829): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,2057-2064): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,2419-2426): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,3697-3704): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,3987-3994): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,4586-4593): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,4960-4967): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,5025-5032): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,5321-5328): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,6409-6416): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,6594-6599): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(32,6538-6545): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,6638-6645): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,6814-6821): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,6845-6852): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,7341-7348): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,7581-7588): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,7829-7836): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8019-8026): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8039-8046): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8062-8069): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8092-8099): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8114-8121): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8131-8138): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8143-8150): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8399-8406): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8476-8483): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8506-8513): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(32,8594-8601): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
 */
// [AIV]  Build version: 0.18.0 - Tuesday, September 5th, 2023, 12:03:02 PM  
 !function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="C:\\Workspace\\APIMigration\\rss-member-fund-performance-widget\\build\\js",t(0)}([function(e,t,r){e.exports=r(34)},function(e,t){e.exports=React},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(10),o=function(){function e(){}return e.loadInitialData=function(){return{resources:this.resources,authorizationRules:this.authorizationRules,serverError:this.serverError,fundPerformance:this.fundPerformance}},e.fundPerformance=new n.FundPerformanceProxies.FundPerformanceApiResponse,e.authorizationRules=new Array,e.serverError=new n.FundPerformanceProxies.ErrorDto,e.resources=new Array,e}();t.InitialState=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_RESOURCES_SUCCESS="LOAD_RESOURCES_SUCCESS",t.LOAD_PERMISSIONS_SUCCESS="LOAD_PERMISSIONS_SUCCESS",t.GET_FUNDPERFORMANCE_SUCCESS="GET_FUNDPERFORMANCE_SUCCESS",t.API_SERVER_ERROR="API_SERVER_ERROR"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BEGIN_AJAX_CALL="BEGIN_AJAX_CALL",t.AJAX_CALL_ERROR="AJAX_CALL_ERROR",t.SUCCESS_AJAX_CALL="SUCCESS_AJAX_CALL",t.LOAD_LOADER_START="LOAD_LOADER_START",t.LOAD_LOADER_SUCCESS="LOAD_LOADER_SUCCESS"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=r(42),i=function(){function e(){}return e.getResourceValueByKey=function(e,t){var r=t.componentName,i=r+"_"+e,s=o.filter(t.resources,["key",i]);return s.length>0?n.createElement("span",null,s[0].value):n.createElement("span",null,"invalid key")},e.getResourceValueByFullKey=function(e,t){var r=e,i=o.filter(t.resources,["key",r]);return i.length>0?n.createElement("span",null,i[0].value):n.createElement("span",null,"invalid key")},e.getResourceValueStringByKey=function(e,t){var r=t.componentName,n=r+"_"+e,i=o.filter(t.resources,["key",n]);return i.length>0?i[0].value:"invalid key"},e.getResourceValueStringByFullKey=function(e,t){var r=e,n=o.filter(t.resources,["key",r]);return n.length>0?n[0].value:"invalid key"},e}();t.default=i},function(e,t){e.exports=Redux},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r;!function(e){e[e.DEV="DEV"]="DEV",e[e.SIT="SIT"]="SIT",e[e.UAT="UAT"]="UAT",e[e.PROD="PROD"]="PROD",e[e.DEMO="DEMO"]="DEMO",e[e.UATCAT="UAT-CAT"]="UATCAT",e[e.UAT2="UAT-2"]="UAT2",e[e.UAT3="UAT-3"]="UAT3",e[e.UAT4="UAT-4"]="UAT4",e[e.UAT5="UAT-5"]="UAT5",e[e.STG="STG"]="STG"}(r=t.Environment||(t.Environment={}));var n;!function(e){e[e.MobileNative="Mobile.Native"]="MobileNative",e[e.MobileWeb="Mobile.Web"]="MobileWeb",e[e.Web="Web"]="Web"}(n=t.Client||(t.Client={}));var o=function(){function e(){}return e.prototype.init=function(e){if(null==e.accessToken||""===e.accessToken)throw new Error("Please supply a access token");if(null==e.planCode||""===e.planCode)throw new Error("Please supply a planCode");if(null==e.memberId||""===e.memberId)throw new Error("Please supply a member id");if(null==e.environment)throw new Error("Please supply environment");if(null==e.client?e.client=n.Web:null==e.isImpersonated?e.isImpersonated=!1:void 0!==e.data&&null!=e.data||(e.data={}),void 0!==e.hasEditAccess&&null!=e.hasEditAccess||(e.hasEditAccess=!0),e.useGoogleAnalytics&&!window.ga){if(e.environment!==r.DEV)throw new Error("Please add analytics script in hosting application");console.warn("Please add analytics script in hosting application")}},e}();t.LgWidget=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.ajaxCallsInProgress=0,e.loader=!1,e}();t.InitialState=r},function(e,t,r){"use strict";function n(e){return{type:i.API_SERVER_ERROR,error:e}}function o(e){return{type:i.GET_FUNDPERFORMANCE_SUCCESS,fundPerformance:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(3),s=r(2),a=r(28),u=r(12),l=r(13);t.default={getFundPerformances:function(e){return void 0===e&&(e=!1),function(e){e(u.beginAjaxCall()),e(l.startLoaderCall());var t=new a.default,r=s.InitialState.widgetConfig.planCode,i=s.InitialState.widgetConfig.memberId,c=s.InitialState.widgetConfig.x_Correlation_Id;t.getplansFundPerformanceByPlanCodeAndMemberId(r,i,c).then(function(t){t.data&&e(o(t.data)),e(u.successAjaxCall()),e(l.successLoaderCall())}).catch(function(t){e(u.ajaxCallError()),e(l.successLoaderCall()),e(n({reasonObj:t}))})}},getResources:function(){var e=new a.default,t=s.InitialState.widgetConfig.planCode,r=s.InitialState.widgetConfig.client.toString(),n=s.InitialState.widgetConfig.x_Correlation_Id,o=s.InitialState.widgetConfig.classification;return e.getResources(t,r,o,void 0,void 0,void 0,n)},getAuthorizationRules:function(){var e=new a.default,t=s.InitialState.widgetConfig.planCode,r=Number(s.InitialState.widgetConfig.memberId),n=s.InitialState.widgetConfig.x_Correlation_Id;return e.getAuthorizationRules(r,t,n)}}},function(e,t){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var n;!function(e){function t(e,t,r,n,o){throw new ze(e,t,r,n,o)}var n=function(){function e(e,t){this.jsonParseReviver=void 0,this.http=t?t:window,this.baseUrl=e?e:"https://api-dev.apac.linkgroup.corp:8183/api/russell/v1"}return e.prototype.serviceStatusGet=function(){var e=this,t=this.baseUrl+"/service/status";t=t.replace(/[?&]$/,"");var r={method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(t,r).then(function(t){return e.processServiceStatusGet(t)})},e.prototype.processServiceStatusGet=function(e){var r=this,n=e.status,i={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return i[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?o.fromJS(n):new o}):503===n?e.text().then(function(e){var o=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return o=void 0!==s?s:null,t("A server error occurred.",n,e,i,o)}):401===n?e.text().then(function(e){var o=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return o=void 0!==s?s:null,t("A server error occurred.",n,e,i,o)}):403===n?e.text().then(function(e){var o=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return o=void 0!==s?s:null,t("A server error occurred.",n,e,i,o)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,i)}):Promise.resolve(null)},e.prototype.applicationsByApplicationIdGet=function(e){var t=this,r=this.baseUrl+"/applications/{applicationId}";if(void 0===e||null===e)throw new Error("The parameter 'applicationId' must be defined.");r=r.replace("{applicationId}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");var n={method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(r,n).then(function(e){return t.processApplicationsByApplicationIdGet(e)})},e.prototype.processApplicationsByApplicationIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?i.fromJS(n):new i}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=void 0!==s?s:null,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=void 0!==s?s:null,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansDefaultparametersByPlanCodeGet=function(e,t){var r=this,n=this.baseUrl+"/plans/{planCode}/defaultparameters";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");n=n.replace("{planCode}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");var o={method:"GET",headers:{"X-Correlation-Id":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(n,o).then(function(e){return r.processPlansDefaultparametersByPlanCodeGet(e)})},e.prototype.processPlansDefaultparametersByPlanCodeGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?a.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansBpayreferencesByPlanCodeGet=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/bpayreferences?";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'customerReference' must be defined and cannot be null.");if(i+="customerReference="+encodeURIComponent(""+t)+"&",void 0===r||null===r)throw new Error("The parameter 'surName' must be defined and cannot be null.");i+="surName="+encodeURIComponent(""+r)+"&",i=i.replace(/[?&]$/,"");var s={method:"GET",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,s).then(function(e){return o.processPlansBpayreferencesByPlanCodeGet(e)})},e.prototype.processPlansBpayreferencesByPlanCodeGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?d.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansInvestmentstylereturndetailsByPlanCodeGet=function(e,t){var r=this,n=this.baseUrl+"/plans/{planCode}/investmentstylereturndetails";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");n=n.replace("{planCode}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");var o={method:"GET",headers:{"X-Correlation-Id":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(n,o).then(function(e){return r.processPlansInvestmentstylereturndetailsByPlanCodeGet(e)})},e.prototype.processPlansInvestmentstylereturndetailsByPlanCodeGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?v.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansResourcesByPlanCodeAndApplicationIdGet=function(e,t,r,n,o,i,s,a){var u=this,l=this.baseUrl+"/plans/{planCode}/resources/{applicationId}?";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(l=l.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'applicationId' must be defined.");l=l.replace("{applicationId}",encodeURIComponent(""+t)),void 0!==r&&(l+="clientType="+encodeURIComponent(""+r)+"&"),void 0!==n&&(l+="classificationId="+encodeURIComponent(""+n)+"&"),void 0!==o&&(l+="moduleName="+encodeURIComponent(""+o)+"&"),void 0!==i&&(l+="componentName="+encodeURIComponent(""+i)+"&"),void 0!==s&&(l+="elementName="+encodeURIComponent(""+s)+"&"),l=l.replace(/[?&]$/,"");var c={method:"GET",headers:{"X-Correlation-Id":void 0!==a&&null!==a?""+a:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(l,c).then(function(e){return u.processPlansResourcesByPlanCodeAndApplicationIdGet(e)})},e.prototype.processPlansResourcesByPlanCodeAndApplicationIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?S.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansAuthorizationrulesByPlanCodeAndApplicationIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/authorizationrules/{applicationId}";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'applicationId' must be defined.");o=o.replace("{applicationId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansAuthorizationrulesByPlanCodeAndApplicationIdGet(e)})},e.prototype.processPlansAuthorizationrulesByPlanCodeAndApplicationIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?A.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersSupermatchByPlanCodeAndMemberIdPost=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/supermatch";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"POST",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersSupermatchByPlanCodeAndMemberIdPost(e)})},e.prototype.processPlansMembersSupermatchByPlanCodeAndMemberIdPost=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?g.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersAnnualparametersByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/annualparameters";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersAnnualparametersByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersAnnualparametersByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?I.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersProductByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/product";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersProductByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersProductByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?R.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersProductByPlanCodeAndMemberIdPut=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/product";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"PUT",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersProductByPlanCodeAndMemberIdPut(e)})},e.prototype.processPlansMembersProductByPlanCodeAndMemberIdPut=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),204===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersAddressByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/address";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersAddressByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersAddressByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);if(n&&n.constructor===Array){t=[];for(var o=0,i=n;o<i.length;o++){var s=i[o];t.push(M.fromJS(s))}}return t}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersInsuranceByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/insurance";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersInsuranceByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersInsuranceByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?j.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersFundperformanceByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/fundperformance";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersFundperformanceByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersFundperformanceByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?_.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersPhonenumbersByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/phonenumbers";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersPhonenumbersByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersPhonenumbersByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?D.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersEmailaddressesByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/emailaddresses";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersEmailaddressesByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersEmailaddressesByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?L.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersTodolistItemsCountByPlanCodeAndMemberIdGet=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/todolist/items/count?";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");if(i=i.replace("{memberId}",encodeURIComponent(""+t)),void 0===r||null===r)throw new Error("The parameter 'status' must be defined and cannot be null.");i+="status="+encodeURIComponent(""+r)+"&",i=i.replace(/[?&]$/,"");var s={method:"GET",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,s).then(function(e){return o.processPlansMembersTodolistItemsCountByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersTodolistItemsCountByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){
return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?F.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersTodolistByPlanCodeAndMemberIdGet=function(e,t,r,n,o,i){var s=this,a=this.baseUrl+"/plans/{planCode}/members/{memberId}/todolist?";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(a=a.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");a=a.replace("{memberId}",encodeURIComponent(""+t)),void 0!==r&&(a+="textType="+encodeURIComponent(""+r)+"&"),void 0!==n&&(a+="classificationId="+encodeURIComponent(""+n)+"&"),void 0!==o&&(a+="status="+encodeURIComponent(""+o)+"&"),a=a.replace(/[?&]$/,"");var u={method:"GET",headers:{"X-Correlation-Id":void 0!==i&&null!==i?""+i:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(a,u).then(function(e){return s.processPlansMembersTodolistByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersTodolistByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?k.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersTodolistByPlanCodeAndMemberIdPut=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/todolist";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"PUT",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersTodolistByPlanCodeAndMemberIdPut(e)})},e.prototype.processPlansMembersTodolistByPlanCodeAndMemberIdPut=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),204===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersQuestionsByPlanCodeAndMemberIdPost=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/questions";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"POST",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersQuestionsByPlanCodeAndMemberIdPost(e)})},e.prototype.processPlansMembersQuestionsByPlanCodeAndMemberIdPost=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersEmailsByPlanCodeAndMemberIdPost=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/emails";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"POST",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersEmailsByPlanCodeAndMemberIdPost(e)})},e.prototype.processPlansMembersEmailsByPlanCodeAndMemberIdPost=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersRetirereadyReportDocumentIdByPlanCodeAndMemberIdGet=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/retireready/report/{documentId}";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");if(i=i.replace("{memberId}",encodeURIComponent(""+t)),void 0===r||null===r)throw new Error("The parameter 'documentId' must be defined.");i=i.replace("{documentId}",encodeURIComponent(""+r)),i=i.replace(/[?&]$/,"");var s={method:"GET",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,s).then(function(e){return o.processPlansMembersRetirereadyReportDocumentIdByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersRetirereadyReportDocumentIdByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?Q.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersRetirereadyByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/retireready";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersRetirereadyByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersRetirereadyByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?Z.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersRetirereadyByPlanCodeAndMemberIdPost=function(e,t,r,n,o,i,s){var a=this,u=this.baseUrl+"/plans/{planCode}/members/{memberId}/retireready?";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(u=u.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");if(u=u.replace("{memberId}",encodeURIComponent(""+t)),void 0===r||null===r)throw new Error("The parameter 'project' must be defined and cannot be null.");if(u+="project="+encodeURIComponent(""+r)+"&",void 0===n||null===n)throw new Error("The parameter 'save' must be defined and cannot be null.");if(u+="save="+encodeURIComponent(""+n)+"&",void 0===o||null===o)throw new Error("The parameter 'report' must be defined and cannot be null.");u+="report="+encodeURIComponent(""+o)+"&",u=u.replace(/[?&]$/,"");var l=JSON.stringify(i),c={body:l,method:"POST",headers:{"X-Correlation-Id":void 0!==s&&null!==s?""+s:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(u,c).then(function(e){return a.processPlansMembersRetirereadyByPlanCodeAndMemberIdPost(e)})},e.prototype.processPlansMembersRetirereadyByPlanCodeAndMemberIdPost=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?Z.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersRetirereadyByPlanCodeAndMemberIdDelete=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/retireready";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"DELETE",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersRetirereadyByPlanCodeAndMemberIdDelete(e)})},e.prototype.processPlansMembersRetirereadyByPlanCodeAndMemberIdDelete=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),204===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersComparisondataByPlanCodeAndMemberIdGet=function(e,t,r,n,o,i,s,a,u){var l=this,c=this.baseUrl+"/plans/{planCode}/members/{memberId}/comparisondata?";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(c=c.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");if(c=c.replace("{memberId}",encodeURIComponent(""+t)),void 0===r||null===r)throw new Error("The parameter 'minimumSalary' must be defined and cannot be null.");if(c+="minimumSalary="+encodeURIComponent(""+r)+"&",void 0===n||null===n)throw new Error("The parameter 'maximumSalary' must be defined and cannot be null.");if(c+="maximumSalary="+encodeURIComponent(""+n)+"&",void 0===o||null===o)throw new Error("The parameter 'minimumAge' must be defined and cannot be null.");if(c+="minimumAge="+encodeURIComponent(""+o)+"&",void 0===i||null===i)throw new Error("The parameter 'maximumAge' must be defined and cannot be null.");if(c+="maximumAge="+encodeURIComponent(""+i)+"&",void 0===s||null===s)throw new Error("The parameter 'currentBalance' must be defined and cannot be null.");if(c+="currentBalance="+encodeURIComponent(""+s)+"&",void 0===a||null===a)throw new Error("The parameter 'gender' must be defined and cannot be null.");c+="gender="+encodeURIComponent(""+a)+"&",c=c.replace(/[?&]$/,"");var p={method:"GET",headers:{"X-Correlation-Id":void 0!==u&&null!==u?""+u:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(c,p).then(function(e){return l.processPlansMembersComparisondataByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersComparisondataByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?oe.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersInvestmentearningsByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/investmentearnings";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersInvestmentearningsByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersInvestmentearningsByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?ie.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersBenefitgrowthByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/benefitgrowth";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersBenefitgrowthByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersBenefitgrowthByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?se.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersDocumentsDocumentIdByPlanCodeAndMemberIdGet=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/documents/{documentId}";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");if(i=i.replace("{memberId}",encodeURIComponent(""+t)),void 0===r||null===r)throw new Error("The parameter 'documentId' must be defined.");i=i.replace("{documentId}",encodeURIComponent(""+r)),i=i.replace(/[?&]$/,"");var s={method:"GET",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,s).then(function(e){return o.processPlansMembersDocumentsDocumentIdByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersDocumentsDocumentIdByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?ue.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersDocumentsByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/documents";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersDocumentsByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersDocumentsByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?ce.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersDocumentsByPlanCodeAndMemberIdPost=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/documents";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"POST",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersDocumentsByPlanCodeAndMemberIdPost(e)})},e.prototype.processPlansMembersDocumentsByPlanCodeAndMemberIdPost=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?ue.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersInvestmentswitchesByPlanCodeAndMemberIdPost=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/investmentswitches";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"POST",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersInvestmentswitchesByPlanCodeAndMemberIdPost(e)})},e.prototype.processPlansMembersInvestmentswitchesByPlanCodeAndMemberIdPost=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersInvestmentswitchesByPlanCodeAndMemberIdDelete=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/investmentswitches";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"DELETE",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersInvestmentswitchesByPlanCodeAndMemberIdDelete(e)})},e.prototype.processPlansMembersInvestmentswitchesByPlanCodeAndMemberIdDelete=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),204===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersInvestmentsByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/investments";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersInvestmentsByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersInvestmentsByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?ve.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersConcessionalcontributionsByPlanCodeAndMemberIdGet=function(e,t,r,n,o){var i=this,s=this.baseUrl+"/plans/{planCode}/members/{memberId}/concessionalcontributions?";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(s=s.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");s=s.replace("{memberId}",encodeURIComponent(""+t)),void 0!==r&&(s+="surchargePeriods="+encodeURIComponent(""+r)+"&"),void 0!==n&&(s+="includeLinkedMembers="+encodeURIComponent(""+n)+"&"),s=s.replace(/[?&]$/,"");var a={method:"GET",headers:{"X-Correlation-Id":void 0!==o&&null!==o?""+o:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(s,a).then(function(e){return i.processPlansMembersConcessionalcontributionsByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersConcessionalcontributionsByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?be.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,
t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersRolloversByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/rollovers";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersRolloversByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersRolloversByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?Ce.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersRolloversByPlanCodeAndMemberIdPost=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/rollovers";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"POST",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersRolloversByPlanCodeAndMemberIdPost(e)})},e.prototype.processPlansMembersRolloversByPlanCodeAndMemberIdPost=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?Ce.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersInvestmentoptiondetailsByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}/investmentoptiondetails";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersInvestmentoptiondetailsByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersInvestmentoptiondetailsByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?Ie.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersRebalancingstatusByPlanCodeAndMemberIdPut=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/rebalancingstatus";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"PUT",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersRebalancingstatusByPlanCodeAndMemberIdPut(e)})},e.prototype.processPlansMembersRebalancingstatusByPlanCodeAndMemberIdPut=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersTfnByPlanCodeAndMemberIdPut=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}/tfn";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"PUT",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersTfnByPlanCodeAndMemberIdPut(e)})},e.prototype.processPlansMembersTfnByPlanCodeAndMemberIdPut=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersByPlanCodeAndMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{memberId}";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");o=o.replace("{memberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersByPlanCodeAndMemberIdGet(e)})},e.prototype.processPlansMembersByPlanCodeAndMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?Ue.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersByPlanCodeAndMemberIdPut=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{memberId}";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'memberId' must be defined.");i=i.replace("{memberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var s=JSON.stringify(r),a={body:s,method:"PUT",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(e){return o.processPlansMembersByPlanCodeAndMemberIdPut(e)})},e.prototype.processPlansMembersByPlanCodeAndMemberIdPut=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),204===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?s.fromJS(n):new s}):401===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,s=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=s?f.fromJS(s):new f,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e}();e.Client=n;var o=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.status=e.status)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.status=this.status,e},e}();e.ServiceStatus=o;var i=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.minAppVersion=e.minAppVersion)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.minAppVersion=this.minAppVersion,e},e}();e.ApplicationsResponse=i;var s=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){if(e){if(e.errors&&e.errors.constructor===Array){this.errors=[];for(var t=0,r=e.errors;t<r.length;t++){var n=r[t];this.errors.push(u.fromJS(n))}}this.message=e.message}},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){if(e="object"==typeof e?e:{},this.errors&&this.errors.constructor===Array){e.errors=[];for(var t=0,r=this.errors;t<r.length;t++){var n=r[t];e.errors.push(n.toJSON())}}return e.message=this.message,e},e}();e.ApiResponse=s;var a=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t){if(t.agePension&&t.agePension.constructor===Array){this.agePension=[];for(var r=0,n=t.agePension;r<n.length;r++){var o=n[r];this.agePension.push(l.fromJS(o))}}if(this.maxCoContribution=t.maxCoContribution,t.preservationAge&&t.preservationAge.constructor===Array){this.preservationAge=[];for(var i=0,s=t.preservationAge;i<s.length;i++){var o=s[i];this.preservationAge.push(c.fromJS(o))}}if(t.lifeExpectancy&&t.lifeExpectancy.constructor===Array){this.lifeExpectancy=[];for(var a=0,u=t.lifeExpectancy;a<u.length;a++){var o=u[a];this.lifeExpectancy.push(p.fromJS(o))}}if(this.minimumWorkTestAge=t.minimumWorkTestAge,this.maximumWorkTestAge=t.maximumWorkTestAge,this.accumulationSuperEarningTaxRate=t.accumulationSuperEarningTaxRate,this.contributionEndAge=t.contributionEndAge,this.preTaxContributionRate=t.preTaxContributionRate,this.preTaxContributionLimit=t.preTaxContributionLimit,this.preTaxExcessContributionRate=t.preTaxExcessContributionRate,this.firstYearBringForwardNonConcessionalContLimit=t.firstYearBringForwardNonConcessionalContLimit,this.concessionalContributionLimitText=t.concessionalContributionLimitText,this.belowConcessionalContributionLimit=t.belowConcessionalContributionLimit,this.aboveConcessionalContributionLimit=t.aboveConcessionalContributionLimit,this.coContibutionLimit=t.coContibutionLimit,this.thresholdEffectiveDate=t.thresholdEffectiveDate,this.deflatorRate=t.deflatorRate,this.salaryGrowthRate=t.salaryGrowthRate,t.sGRate&&t.sGRate.constructor===Array){this.sGRate=[];for(var f=0,d=t.sGRate;f<d.length;f++){var o=d[f];this.sGRate.push(h.fromJS(o))}}this.nonConcessionalCapAmount=t.nonConcessionalCapAmount}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.agePension&&this.agePension.constructor===Array){t.agePension=[];for(var r=0,n=this.agePension;r<n.length;r++){var o=n[r];t.agePension.push(o.toJSON())}}if(t.maxCoContribution=this.maxCoContribution,this.preservationAge&&this.preservationAge.constructor===Array){t.preservationAge=[];for(var i=0,s=this.preservationAge;i<s.length;i++){var o=s[i];t.preservationAge.push(o.toJSON())}}if(this.lifeExpectancy&&this.lifeExpectancy.constructor===Array){t.lifeExpectancy=[];for(var a=0,u=this.lifeExpectancy;a<u.length;a++){var o=u[a];t.lifeExpectancy.push(o.toJSON())}}if(t.minimumWorkTestAge=this.minimumWorkTestAge,t.maximumWorkTestAge=this.maximumWorkTestAge,t.accumulationSuperEarningTaxRate=this.accumulationSuperEarningTaxRate,t.contributionEndAge=this.contributionEndAge,t.preTaxContributionRate=this.preTaxContributionRate,t.preTaxContributionLimit=this.preTaxContributionLimit,t.preTaxExcessContributionRate=this.preTaxExcessContributionRate,t.firstYearBringForwardNonConcessionalContLimit=this.firstYearBringForwardNonConcessionalContLimit,t.concessionalContributionLimitText=this.concessionalContributionLimitText,t.belowConcessionalContributionLimit=this.belowConcessionalContributionLimit,t.aboveConcessionalContributionLimit=this.aboveConcessionalContributionLimit,t.coContibutionLimit=this.coContibutionLimit,t.thresholdEffectiveDate=this.thresholdEffectiveDate,t.deflatorRate=this.deflatorRate,t.salaryGrowthRate=this.salaryGrowthRate,this.sGRate&&this.sGRate.constructor===Array){t.sGRate=[];for(var l=0,c=this.sGRate;l<c.length;l++){var o=c[l];t.sGRate.push(o.toJSON())}}return t.nonConcessionalCapAmount=this.nonConcessionalCapAmount,e.prototype.toJSON.call(this,t),t},t}(s);e.DefaultParametersApiResponse=a;var u=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.type=e.type,this.description=e.description)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.type=this.type,e.description=this.description,e},e}();e.ErrorDto=u;var l=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.dateOfBirth=e.dateOfBirth,this.ageMale=e.ageMale,this.ageFemale=e.ageFemale)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.dateOfBirth=this.dateOfBirth,e.ageMale=this.ageMale,e.ageFemale=this.ageFemale,e},e}();e.AgePensionTable=l;var c=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.dateOfBirth=e.dateOfBirth,this.age=e.age)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.dateOfBirth=this.dateOfBirth,e.age=this.age,e},e}();e.PreservationAgeReferenceTable=c;var p=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.age=e.age,this.e0xMale=e.e0xMale,this.e0xFemale=e.e0xFemale,this._1xMale=e["1xMale"],this._1xFemale=e["1xFemale"])},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.age=this.age,e.e0xMale=this.e0xMale,e.e0xFemale=this.e0xFemale,e["1xMale"]=this._1xMale,e["1xFemale"]=this._1xFemale,e},e}();e.LifeExpectancyTable=p;var h=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.yearToJune=e.yearToJune,this.rate=e.rate)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.yearToJune=this.yearToJune,e.rate=this.rate,e},e}();e.SGRateTable=h;var f=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){if(e){if(e.errors&&e.errors.constructor===Array){this.errors=[];for(var t=0,r=e.errors;t<r.length;t++){var n=r[t];this.errors.push(u.fromJS(n))}}this.message=e.message}},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){if(e="object"==typeof e?e:{},this.errors&&this.errors.constructor===Array){e.errors=[];for(var t=0,r=this.errors;t<r.length;t++){var n=r[t];e.errors.push(n.toJSON())}}return e.message=this.message,e},e}();e.ApiResponse9=f;var d=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.data=[]),r}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.data&&t.data.constructor===Array){this.data=[];for(var r=0,n=t.data;r<n.length;r++){var o=n[r];this.data.push(m.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.data&&this.data.constructor===Array){t.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];t.data.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.BPayApiResponse=d;var m=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.contributionType=t.contributionType,this.billerCode=t.billerCode,this.billerReference=t.billerReference)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.contributionType=this.contributionType,t.billerCode=this.billerCode,t.billerReference=this.billerReference,e.prototype.toJSON.call(this,t),t},t}(s);e.BPayModel=m;var v=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&(this.effectiveDate=t.effectiveDate,t.investmentStyleReturns&&t.investmentStyleReturns.constructor===Array)){this.investmentStyleReturns=[];for(var r=0,n=t.investmentStyleReturns;r<n.length;r++){var o=n[r];this.investmentStyleReturns.push(y.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},t.effectiveDate=this.effectiveDate,this.investmentStyleReturns&&this.investmentStyleReturns.constructor===Array){t.investmentStyleReturns=[];for(var r=0,n=this.investmentStyleReturns;r<n.length;r++){var o=n[r];t.investmentStyleReturns.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.InvestmentStylesApiResponse=v;var y=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.investmentStyleId=e.investmentStyleId,this.longDescription=e.longDescription,this.shortDescription=e.shortDescription,this.retirementRatePercentage=e.retirementRatePercentage,this.accumulationRatePercentage=e.accumulationRatePercentage)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.investmentStyleId=this.investmentStyleId,e.longDescription=this.longDescription,e.shortDescription=this.shortDescription,e.retirementRatePercentage=this.retirementRatePercentage,e.accumulationRatePercentage=this.accumulationRatePercentage,e},e}();e.InvestmentStyles=y;var S=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.data&&t.data.constructor===Array){this.data=[];for(var r=0,n=t.data;r<n.length;r++){var o=n[r];this.data.push(b.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.data&&this.data.constructor===Array){t.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];t.data.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.PlansResourcesResponse=S;var b=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.key=e.key,this.value=e.value)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.key=this.key,e.value=this.value,e},e}();e.Resource=b;var A=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.data&&t.data.constructor===Array){this.data=[];for(var r=0,n=t.data;r<n.length;r++){var o=n[r];this.data.push(C.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.data&&this.data.constructor===Array){t.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];t.data.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.PlansAuthorizationrulesResponse=A;var C=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.applicationId=e.applicationId,this.applicationPath=e.applicationPath,this.resourceId=e.resourceId,this.resourceName=e.resourceName,this.resourcePath=e.resourcePath,this.entityId=e.entityId,this.actionTypeId=e.actionTypeId,this.actionTypeName=e.actionTypeName,this.accessTypeId=e.accessTypeId,this.accessTypeName=e.accessTypeName,this.parentApplicationId=e.parentApplicationId,this.parentResourceId=e.parentResourceId)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.applicationId=this.applicationId,e.applicationPath=this.applicationPath,e.resourceId=this.resourceId,e.resourceName=this.resourceName,e.resourcePath=this.resourcePath,e.entityId=this.entityId,e.actionTypeId=this.actionTypeId,e.actionTypeName=this.actionTypeName,e.accessTypeId=this.accessTypeId,e.accessTypeName=this.accessTypeName,e.parentApplicationId=this.parentApplicationId,e.parentResourceId=this.parentResourceId,e},e}();e.AuthorizationRule=C;var g=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.data=new E),r}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.data=t.data?E.fromJS(t.data):new E)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.data=this.data?this.data.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.SuperMatchResponse=g;var E=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.superFound=e.superFound?w.fromJS(e.superFound):void 0,this.atoHeldSuper=e.atoHeldSuper,this.coContributions=e.coContributions,this.sgc=e.sgc,this.holdingsActive=e.holdingsActive,this.holdingsInactive=e.holdingsInactive,this.unclaimedResident=e.unclaimedResident,this.unclaimedTempResident=e.unclaimedTempResident,this.lowIncomeSuper=e.lowIncomeSuper)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.superFound=this.superFound?this.superFound.toJSON():void 0,e.atoHeldSuper=this.atoHeldSuper,e.coContributions=this.coContributions,e.sgc=this.sgc,e.holdingsActive=this.holdingsActive,e.holdingsInactive=this.holdingsInactive,e.unclaimedResident=this.unclaimedResident,e.unclaimedTempResident=this.unclaimedTempResident,e.lowIncomeSuper=this.lowIncomeSuper,e},e}();e.SuperMatchResult=E;var w=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.fundAbn=t.fundAbn,this.fundName=t.fundName,this.fundUSI=t.fundUSI,this.memberNumber=t.memberNumber,this.memberAccountBalance=t.memberAccountBalance)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.fundAbn=this.fundAbn,t.fundName=this.fundName,t.fundUSI=this.fundUSI,t.memberNumber=this.memberNumber,t.memberAccountBalance=this.memberAccountBalance,e.prototype.toJSON.call(this,t),t},t}(s);e.SuperFunds=w;var P=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.fundAbn=t.fundAbn,this.fundName=t.fundName,this.taxFileNumber=t.taxFileNumber,this.firstName=t.firstName,this.lastName=t.lastName,this.otherGivenName=t.otherGivenName,this.dateOfBirth=t.dateOfBirth,this.line1=t.line1,this.line2=t.line2,this.suburb=t.suburb,this.state=t.state,this.postcode=t.postcode,this.country=t.country,this.consolidateAtoHeldMoney=t.consolidateAtoHeldMoney,this.memberCode=t.memberCode,this.usi=t.usi)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.fundAbn=this.fundAbn,t.fundName=this.fundName,t.taxFileNumber=this.taxFileNumber,t.firstName=this.firstName,t.lastName=this.lastName,t.otherGivenName=this.otherGivenName,t.dateOfBirth=this.dateOfBirth,t.line1=this.line1,t.line2=this.line2,t.suburb=this.suburb,t.state=this.state,t.postcode=this.postcode,t.country=this.country,t.consolidateAtoHeldMoney=this.consolidateAtoHeldMoney,t.memberCode=this.memberCode,t.usi=this.usi,e.prototype.toJSON.call(this,t),t},t}(s);e.SuperMatchRequest=P;var I=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.data=new N),r}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.data=t.data?N.fromJS(t.data):new N)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.data=this.data?this.data.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.AnnualParametersApiResponse=I;var N=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.concessionalCap=e.concessionalCap,this.nonConcessionalCap=e.nonConcessionalCap,this.nonConcessionalCapBringForward=e.nonConcessionalCapBringForward,this.isAgePensionIncluded=e.isAgePensionIncluded,this.preservationAge=e.preservationAge,this.pensionAge=e.pensionAge,this.defaultSalaryIndex=e.defaultSalaryIndex,this.isHomeOwner=e.isHomeOwner,this.oneOffContributionAgeDefault=e.oneOffContributionAgeDefault,this.deflatorPercentage=e.deflatorPercentage,this.contactNumber=e.contactNumber)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.concessionalCap=this.concessionalCap,e.nonConcessionalCap=this.nonConcessionalCap,e.nonConcessionalCapBringForward=this.nonConcessionalCapBringForward,e.isAgePensionIncluded=this.isAgePensionIncluded,e.preservationAge=this.preservationAge,e.pensionAge=this.pensionAge,e.defaultSalaryIndex=this.defaultSalaryIndex,e.isHomeOwner=this.isHomeOwner,e.oneOffContributionAgeDefault=this.oneOffContributionAgeDefault,e.deflatorPercentage=this.deflatorPercentage,e.contactNumber=this.contactNumber,e},e}();e.AnnualParameters=N;var R=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.planCode=t.planCode,this.tfnStatus=t.tfnStatus,this.isOnlineCommunicationRequired=t.isOnlineCommunicationRequired,this.hasMarketingConsent=t.hasMarketingConsent,this.hasSuperMatchConsent=t.hasSuperMatchConsent,this.dualConsentType=t.dualConsentType,this.beneficiary=t.beneficiary?O.fromJS(t.beneficiary):void 0)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.planCode=this.planCode,t.tfnStatus=this.tfnStatus,t.isOnlineCommunicationRequired=this.isOnlineCommunicationRequired,t.hasMarketingConsent=this.hasMarketingConsent,t.hasSuperMatchConsent=this.hasSuperMatchConsent,t.dualConsentType=this.dualConsentType,t.beneficiary=this.beneficiary?this.beneficiary.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.ProductApiResponse=R;var O=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.bindingNomination=t.bindingNomination,this.bindingNomExpiryDate=t.bindingNomExpiryDate,this.beneficiaries=t.beneficiaries?J.fromJS(t.beneficiaries):void 0)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.bindingNomination=this.bindingNomination,t.bindingNomExpiryDate=this.bindingNomExpiryDate,t.beneficiaries=this.beneficiaries?this.beneficiaries.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.MemberBeneficiary=O;var J=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),
t&&(this.title=t.title,this.firstName=t.firstName,this.lastName=t.lastName,this.relationship=t.relationship,this.percentage=t.percentage)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.title=this.title,t.firstName=this.firstName,t.lastName=this.lastName,t.relationship=this.relationship,t.percentage=this.percentage,e.prototype.toJSON.call(this,t),t},t}(s);e.BeneficiaryModel=J;var T=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.planCode=t.planCode,this.beneficiary=t.beneficiary?O.fromJS(t.beneficiary):void 0)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.planCode=this.planCode,t.beneficiary=this.beneficiary?this.beneficiary.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.UpdateProduct=T;var M=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.line1=t.line1,this.line2=t.line2,this.suburb=t.suburb,this.state=t.state,this.postcode=t.postcode,this.country=t.country)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.line1=this.line1,t.line2=this.line2,t.suburb=this.suburb,t.state=this.state,t.postcode=this.postcode,t.country=this.country,e.prototype.toJSON.call(this,t),t},t}(s);e.MemberAddress=M;var j=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&(this.calculationDate=t.calculationDate,t.insurance&&t.insurance.constructor===Array)){this.insurance=[];for(var r=0,n=t.insurance;r<n.length;r++){var o=n[r];this.insurance.push(x.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},t.calculationDate=this.calculationDate,this.insurance&&this.insurance.constructor===Array){t.insurance=[];for(var r=0,n=this.insurance;r<n.length;r++){var o=n[r];t.insurance.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.InsuranceApiResponse=j;var x=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.benefitAmount=t.benefitAmount,this.insuredAmount=t.insuredAmount,this.voluntaryCover=t.voluntaryCover)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.benefitAmount=this.benefitAmount,t.insuredAmount=this.insuredAmount,t.voluntaryCover=this.voluntaryCover,e.prototype.toJSON.call(this,t),t},t}(s);e.InsurnaceModel=x;var _=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.data=new B),r}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.data=t.data?B.fromJS(t.data):new B)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.data=this.data?this.data.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.FundPerformanceApiResponse=_;var B=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){if(e&&(this.calculationDate=e.calculationDate,e.portfolios&&e.portfolios.constructor===Array)){this.portfolios=[];for(var t=0,r=e.portfolios;t<r.length;t++){var n=r[t];this.portfolios.push(U.fromJS(n))}}},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){if(e="object"==typeof e?e:{},e.calculationDate=this.calculationDate,this.portfolios&&this.portfolios.constructor===Array){e.portfolios=[];for(var t=0,r=this.portfolios;t<r.length;t++){var n=r[t];e.portfolios.push(n.toJSON())}}return e},e}();e.FundPerformance=B;var U=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.longDescription=e.longDescription,this.shortDescription=e.shortDescription,this.balance=e.balance,this.inceptionDate=e.inceptionDate,this._1Month=e["1Month"],this._3Months=e["3Months"],this._1Year=e["1Year"],this._3Years=e["3Years"],this._5Years=e["5Years"],this.percentageSinceInception=e.percentageSinceInception,this.investmentGroup=e.investmentGroup)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.longDescription=this.longDescription,e.shortDescription=this.shortDescription,e.balance=this.balance,e.inceptionDate=this.inceptionDate,e["1Month"]=this._1Month,e["3Months"]=this._3Months,e["1Year"]=this._1Year,e["3Years"]=this._3Years,e["5Years"]=this._5Years,e.percentageSinceInception=this.percentageSinceInception,e.investmentGroup=this.investmentGroup,e},e}();e.Portfolio=U;var D=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.phoneNumber=t.phoneNumber,this.mobileNumber=t.mobileNumber,this.workNumber=t.workNumber,this.faxNumber=t.faxNumber)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.phoneNumber=this.phoneNumber,t.mobileNumber=this.mobileNumber,t.workNumber=this.workNumber,t.faxNumber=this.faxNumber,e.prototype.toJSON.call(this,t),t},t}(s);e.PhoneNumbersApiResponse=D;var L=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.email=t.email,this.secondaryEmail=t.secondaryEmail)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.email=this.email,t.secondaryEmail=this.secondaryEmail,e.prototype.toJSON.call(this,t),t},t}(s);e.EmailAddressesApiResponse=L;var F=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.count=t.count)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.count=this.count,e.prototype.toJSON.call(this,t),t},t}(s);e.ToDoListCount=F;var G;!function(e){e[e.Short="short"]="Short",e[e.Long="long"]="Long"}(G=e.TextTypeEnum||(e.TextTypeEnum={}));var k=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.toDoListItems=[]),r}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t){if(t.toDoListItems&&t.toDoListItems.constructor===Array){this.toDoListItems=[];for(var r=0,n=t.toDoListItems;r<n.length;r++){var o=n[r];this.toDoListItems.push(V.fromJS(o))}}this.feeSaving=t.feeSaving,this.annualFee=t.annualFee,this.accountBalance=t.accountBalance,this.preTaxContribution=t.preTaxContribution,this.postTaxContribution=t.postTaxContribution,this.simulationDate=t.simulationDate,this.oneOffContribution=t.oneOffContribution,this.superInOtherFund=t.superInOtherFund,this.noOfYearsSinceLastContact=t.noOfYearsSinceLastContact,this.searchStage=t.searchStage,this.investmentStyleCurrent=t.investmentStyleCurrent?H.fromJS(t.investmentStyleCurrent):void 0,this.investmentStyleSimulated=t.investmentStyleSimulated?H.fromJS(t.investmentStyleSimulated):void 0}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.toDoListItems&&this.toDoListItems.constructor===Array){t.toDoListItems=[];for(var r=0,n=this.toDoListItems;r<n.length;r++){var o=n[r];t.toDoListItems.push(o.toJSON())}}return t.feeSaving=this.feeSaving,t.annualFee=this.annualFee,t.accountBalance=this.accountBalance,t.preTaxContribution=this.preTaxContribution,t.postTaxContribution=this.postTaxContribution,t.simulationDate=this.simulationDate,t.oneOffContribution=this.oneOffContribution,t.superInOtherFund=this.superInOtherFund,t.noOfYearsSinceLastContact=this.noOfYearsSinceLastContact,t.searchStage=this.searchStage,t.investmentStyleCurrent=this.investmentStyleCurrent?this.investmentStyleCurrent.toJSON():void 0,t.investmentStyleSimulated=this.investmentStyleSimulated?this.investmentStyleSimulated.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.ToDoListApiResponse=k;var H=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.shortDescription=e.shortDescription,this.longDescription=e.longDescription)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.shortDescription=this.shortDescription,e.longDescription=this.longDescription,e},e}();e.GenericCodeDescription=H;var V=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e||(this.status=new X)}return e.prototype.init=function(e){e&&(this.id=e.id,this.status=e.status?X.fromJS(e.status):new X,this.isRetireReady=e.isRetireReady,this.header=e.header,this.message=e.message)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.id=this.id,e.status=this.status?this.status.toJSON():void 0,e.isRetireReady=this.isRetireReady,e.header=this.header,e.message=this.message,e},e}();e.ToDoListItem=V;var Y;!function(e){e[e.UPGRADE="UPGRADE"]="UPGRADE",e[e.UPGRADEMANUAL="UPGRADE-MANUAL"]="UPGRADEMANUAL",e[e.RETCALC="RETCALC"]="RETCALC",e[e.SEARCH="SEARCH"]="SEARCH",e[e.COMBINE="COMBINE"]="COMBINE",e[e.GROW="GROW"]="GROW",e[e.INVEST="INVEST"]="INVEST",e[e.INSURANCE="INSURANCE"]="INSURANCE",e[e.TTR="TTR"]="TTR",e[e.CHECK="CHECK"]="CHECK"}(Y=e.IdEnum||(e.IdEnum={}));var X=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.description=e.description)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.description=this.description,e},e}();e.Status=X;var $=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.id=e.id,this.isInterested=e.isInterested,this.isRetireReady=e.isRetireReady,this.tdlData=e.tdlData?K.fromJS(e.tdlData):void 0)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.id=this.id,e.isInterested=this.isInterested,e.isRetireReady=this.isRetireReady,e.tdlData=this.tdlData?this.tdlData.toJSON():void 0,e},e}();e.UpdateToDoList=$;var K=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.emailConfirmed=e.emailConfirmed,this.pdsAcknowledged=e.pdsAcknowledged,this.trusteeDirConfirmed=e.trusteeDirConfirmed,this.riqsUpgradeConfirmed=e.riqsUpgradeConfirmed)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.emailConfirmed=this.emailConfirmed,e.pdsAcknowledged=this.pdsAcknowledged,e.trusteeDirConfirmed=this.trusteeDirConfirmed,e.riqsUpgradeConfirmed=this.riqsUpgradeConfirmed,e},e}();e.ToDoListUpgrade=K;var W=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.questionType=e.questionType,this.isCMSGenerate=e.isCMSGenerate,this.mobileNumber=e.mobileNumber,this.workNumber=e.workNumber,this.faxNumber=e.faxNumber,this.phoneNumber=e.phoneNumber,this.email=e.email)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.questionType=this.questionType,e.isCMSGenerate=this.isCMSGenerate,e.mobileNumber=this.mobileNumber,e.workNumber=this.workNumber,e.faxNumber=this.faxNumber,e.phoneNumber=this.phoneNumber,e.email=this.email,e},e}();e.Questions=W;var q;!function(e){e[e.UPGRADEDONE="UPGRADE-DONE"]="UPGRADEDONE",e[e.UPGRADEINTERESTED="UPGRADE-INTERESTED"]="UPGRADEINTERESTED",e[e.INVEST="INVEST"]="INVEST",e[e.GROW="GROW"]="GROW",e[e.INSURANCE="INSURANCE"]="INSURANCE",e[e.TTR="TTR"]="TTR",e[e.GENERAL="GENERAL"]="GENERAL"}(q=e.QuestionTypeEnum||(e.QuestionTypeEnum={}));var z=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.subject=e.subject,this.name=e.name,this.phone=e.phone,this.address=e.address,this.cityStatePostcode=e.cityStatePostcode,this.email=e.email,this.message=e.message,this.isCallRequest=e.isCallRequest)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.subject=this.subject,e.name=this.name,e.phone=this.phone,e.address=this.address,e.cityStatePostcode=this.cityStatePostcode,e.email=this.email,e.message=this.message,e.isCallRequest=this.isCallRequest,e},e}();e.Emails=z;var Q=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.documentStream=t.documentStream)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.documentStream=this.documentStream,e.prototype.toJSON.call(this,t),t},t}(s);e.DocumentApiResponse=Q;var Z=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.data=new ee),r}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.data=t.data?ee.fromJS(t.data):new ee)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.data=this.data?this.data.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.RetireReadyApiResponse=Z;var ee=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.isDataComplete=e.isDataComplete,this.isAutoUpdate=e.isAutoUpdate,this.birthDate=e.birthDate,this.currentBalance=e.currentBalance,this.retirementAge=e.retirementAge,this.ageIncomeLastTo=e.ageIncomeLastTo,this.preTaxAnnualSalary=e.preTaxAnnualSalary,this.employerContributionRate=e.employerContributionRate,this.investmentStyleCurrent=e.investmentStyleCurrent,this.investmentStyleCurrentPct=e.investmentStyleCurrentPct,this.investmentStylePension=e.investmentStylePension,this.investmentStylePensionPct=e.investmentStylePensionPct,this.isAgePensionIncluded=e.isAgePensionIncluded,this.isHomeOwner=e.isHomeOwner,this.email=e.email,this.preTaxCurrentContribution=e.preTaxCurrentContribution,this.postTaxCurrentContribution=e.postTaxCurrentContribution,this.lifestyleTracked=e.lifestyleTracked,this.lifestyleGoal=e.lifestyleGoal,this.projectedIncome=e.projectedIncome,this.desiredIncome=e.desiredIncome,this.simulatedIncome=e.simulatedIncome,this.shortfallAmount=e.shortfallAmount,this.lumpSumAtRetirementTracked=e.lumpSumAtRetirementTracked,this.lumpSumAtRetirementSimulated=e.lumpSumAtRetirementSimulated,this.preTaxContributionSimulated=e.preTaxContributionSimulated,this.postTaxContributionSimulated=e.postTaxContributionSimulated,this.oneOffcontribution=e.oneOffcontribution,this.superInOtherFund=e.superInOtherFund,this.investmentStyleSimulated=e.investmentStyleSimulated,this.investmentStyleSimulatedPct=e.investmentStyleSimulatedPct,this.includeTTRStrategy=e.includeTTRStrategy,this.trackingPeriod=e.trackingPeriod?te.fromJS(e.trackingPeriod):void 0,this.documentId=e.documentId,this.deflatorRate=e.deflatorRate,this.salaryGrowthRate=e.salaryGrowthRate)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.isDataComplete=this.isDataComplete,e.isAutoUpdate=this.isAutoUpdate,e.birthDate=this.birthDate,e.currentBalance=this.currentBalance,e.retirementAge=this.retirementAge,e.ageIncomeLastTo=this.ageIncomeLastTo,e.preTaxAnnualSalary=this.preTaxAnnualSalary,e.employerContributionRate=this.employerContributionRate,e.investmentStyleCurrent=this.investmentStyleCurrent,e.investmentStyleCurrentPct=this.investmentStyleCurrentPct,e.investmentStylePension=this.investmentStylePension,e.investmentStylePensionPct=this.investmentStylePensionPct,e.isAgePensionIncluded=this.isAgePensionIncluded,e.isHomeOwner=this.isHomeOwner,e.email=this.email,e.preTaxCurrentContribution=this.preTaxCurrentContribution,e.postTaxCurrentContribution=this.postTaxCurrentContribution,e.lifestyleTracked=this.lifestyleTracked,e.lifestyleGoal=this.lifestyleGoal,e.projectedIncome=this.projectedIncome,e.desiredIncome=this.desiredIncome,e.simulatedIncome=this.simulatedIncome,e.shortfallAmount=this.shortfallAmount,e.lumpSumAtRetirementTracked=this.lumpSumAtRetirementTracked,e.lumpSumAtRetirementSimulated=this.lumpSumAtRetirementSimulated,e.preTaxContributionSimulated=this.preTaxContributionSimulated,e.postTaxContributionSimulated=this.postTaxContributionSimulated,e.oneOffcontribution=this.oneOffcontribution,e.superInOtherFund=this.superInOtherFund,e.investmentStyleSimulated=this.investmentStyleSimulated,e.investmentStyleSimulatedPct=this.investmentStyleSimulatedPct,e.includeTTRStrategy=this.includeTTRStrategy,e.trackingPeriod=this.trackingPeriod?this.trackingPeriod.toJSON():void 0,e.documentId=this.documentId,e.deflatorRate=this.deflatorRate,e.salaryGrowthRate=this.salaryGrowthRate,e},e}();e.RetireReady=ee;var te=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.age=e.age,this.projectedPreRetirementSalary=e.projectedPreRetirementSalary,this.projectedSuperPension=e.projectedSuperPension,this.projectedAgePension=e.projectedAgePension)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.age=this.age,e.projectedPreRetirementSalary=this.projectedPreRetirementSalary,e.projectedSuperPension=this.projectedSuperPension,e.projectedAgePension=this.projectedAgePension,e},e}();e.TrackingPeriod=te;var re;!function(e){e[e.Track="track"]="Track",e[e.Simulate="simulate"]="Simulate",e[e.Both="both"]="Both"}(re=e.ProjectEnum||(e.ProjectEnum={}));var ne;!function(e){e[e.MALE="MALE"]="MALE",e[e.FEMALE="FEMALE"]="FEMALE",e[e.UNIDENTIFIED="UNIDENTIFIED"]="UNIDENTIFIED"}(ne=e.GenderEnum||(e.GenderEnum={}));var oe=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.memberCount=t.memberCount,this.mininumBenefit=t.mininumBenefit,this.averageBenefit=t.averageBenefit,this.medianBenefit=t.medianBenefit,this.maximumBenefit=t.maximumBenefit,this.lessAverageBenefitCount=t.lessAverageBenefitCount,this.lessCurrentBenefitCount=t.lessCurrentBenefitCount,this.lessCurrentBenefitPercentage=t.lessCurrentBenefitPercentage)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.memberCount=this.memberCount,t.mininumBenefit=this.mininumBenefit,t.averageBenefit=this.averageBenefit,t.medianBenefit=this.medianBenefit,t.maximumBenefit=this.maximumBenefit,t.lessAverageBenefitCount=this.lessAverageBenefitCount,t.lessCurrentBenefitCount=this.lessCurrentBenefitCount,t.lessCurrentBenefitPercentage=this.lessCurrentBenefitPercentage,e.prototype.toJSON.call(this,t),t},t}(s);e.ComparisonDataApiResponse=oe;var ie=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.calculationDate=t.calculationDate,this.startDate=t.startDate,this.startBalance=t.startBalance,this.endDate=t.endDate,this.endBalance=t.endBalance,this.netCashFlow=t.netCashFlow,this.netEarnings=t.netEarnings,this.percentageEarnings=t.percentageEarnings)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.calculationDate=this.calculationDate,t.startDate=this.startDate,t.startBalance=this.startBalance,t.endDate=this.endDate,t.endBalance=this.endBalance,t.netCashFlow=this.netCashFlow,t.netEarnings=this.netEarnings,t.percentageEarnings=this.percentageEarnings,e.prototype.toJSON.call(this,t),t},t}(s);e.InvestmentEarningsApiResponse=ie;var se=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.data=[]),r}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.data&&t.data.constructor===Array){this.data=[];for(var r=0,n=t.data;r<n.length;r++){var o=n[r];this.data.push(ae.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.data&&this.data.constructor===Array){t.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];t.data.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.BenefitGrowthApiResponse=se;var ae=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.yearMonth=e.yearMonth,this.maximumBenefit=e.maximumBenefit)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.yearMonth=this.yearMonth,e.maximumBenefit=this.maximumBenefit,e},e}();e.BenefitGrowth=ae;var ue=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.documentId=t.documentId,this.documentStream=t.documentStream)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.documentId=this.documentId,t.documentStream=this.documentStream,e.prototype.toJSON.call(this,t),t},t}(s);e.DocumentApiResponse167=ue;var le;!function(e){e[e.AdditionalContribution="Additional-Contribution"]="AdditionalContribution",e[e.EmploymentChange="Employment-Change"]="EmploymentChange"}(le=e.TypeEnum||(e.TypeEnum={}));var ce=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.documents=[]),r}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.documents&&t.documents.constructor===Array){this.documents=[];for(var r=0,n=t.documents;r<n.length;r++){var o=n[r];this.documents.push(pe.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.documents&&this.documents.constructor===Array){t.documents=[];for(var r=0,n=this.documents;r<n.length;r++){var o=n[r];t.documents.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.DocumentListApiResponse=ce;var pe=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.dateSent=t.dateSent,this.description=t.description,this.documentId=t.documentId)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.dateSent=this.dateSent,t.description=this.description,t.documentId=this.documentId,e.prototype.toJSON.call(this,t),t},t}(s);e.DocumentList=pe;var he=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.hasOptedForContribution=t.hasOptedForContribution,this.contributionAmount=t.contributionAmount,this.frequency=t.frequency)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.hasOptedForContribution=this.hasOptedForContribution,t.contributionAmount=this.contributionAmount,t.frequency=this.frequency,e.prototype.toJSON.call(this,t),t},t}(s);e.CreateDocument=he;var fe;!function(e){e[e.Weekly="Weekly"]="Weekly",e[e.Fortnightly="Fortnightly"]="Fortnightly",e[e.Monthly="Monthly"]="Monthly",e[e.Quarterly="Quarterly"]="Quarterly"}(fe=e.FrequencyEnum||(e.FrequencyEnum={}));var de=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t){if(this.isRebalancing=t.isRebalancing,t.currentInvestmentSwitch&&t.currentInvestmentSwitch.constructor===Array){this.currentInvestmentSwitch=[];for(var r=0,n=t.currentInvestmentSwitch;r<n.length;r++){var o=n[r];this.currentInvestmentSwitch.push(me.fromJS(o))}}if(t.futureInvestmentSwitch&&t.futureInvestmentSwitch.constructor===Array){this.futureInvestmentSwitch=[];for(var i=0,s=t.futureInvestmentSwitch;i<s.length;i++){var o=s[i];this.futureInvestmentSwitch.push(me.fromJS(o))}}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},t.isRebalancing=this.isRebalancing,this.currentInvestmentSwitch&&this.currentInvestmentSwitch.constructor===Array){t.currentInvestmentSwitch=[];for(var r=0,n=this.currentInvestmentSwitch;r<n.length;r++){var o=n[r];t.currentInvestmentSwitch.push(o.toJSON())}}if(this.futureInvestmentSwitch&&this.futureInvestmentSwitch.constructor===Array){t.futureInvestmentSwitch=[];for(var i=0,s=this.futureInvestmentSwitch;i<s.length;i++){var o=s[i];t.futureInvestmentSwitch.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.CreateInvestmentSwitch=de;var me=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.percentage=e.percentage)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.percentage=this.percentage,e},e}();e.InvestmentSwitchInfo=me;var ve=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t){if(this.calculationDate=t.calculationDate,this.investmentTotal=t.investmentTotal,this.isRebalancing=t.isRebalancing,t.currentInvestment&&t.currentInvestment.constructor===Array){this.currentInvestment=[];for(var r=0,n=t.currentInvestment;r<n.length;r++){var o=n[r];this.currentInvestment.push(ye.fromJS(o))}}if(t.futureInvestment&&t.futureInvestment.constructor===Array){this.futureInvestment=[];for(var i=0,s=t.futureInvestment;i<s.length;i++){var o=s[i];this.futureInvestment.push(Se.fromJS(o))}}if(this.noOfSwitches=t.noOfSwitches,this.nextEffectiveSwitchDate=t.nextEffectiveSwitchDate,this.pendingSwitchDate=t.pendingSwitchDate,this.nextRebalancingDate=t.nextRebalancingDate,t.newCurrentBenefit&&t.newCurrentBenefit.constructor===Array){this.newCurrentBenefit=[];for(var a=0,u=t.newCurrentBenefit;a<u.length;a++){var o=u[a];this.newCurrentBenefit.push(Se.fromJS(o))}}if(t.newFutureBenefit&&t.newFutureBenefit.constructor===Array){this.newFutureBenefit=[];for(var l=0,c=t.newFutureBenefit;l<c.length;l++){var o=c[l];this.newFutureBenefit.push(Se.fromJS(o))}}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},t.calculationDate=this.calculationDate,t.investmentTotal=this.investmentTotal,t.isRebalancing=this.isRebalancing,this.currentInvestment&&this.currentInvestment.constructor===Array){t.currentInvestment=[];for(var r=0,n=this.currentInvestment;r<n.length;r++){var o=n[r];t.currentInvestment.push(o.toJSON())}}if(this.futureInvestment&&this.futureInvestment.constructor===Array){t.futureInvestment=[];for(var i=0,s=this.futureInvestment;i<s.length;i++){var o=s[i];t.futureInvestment.push(o.toJSON())}}if(t.noOfSwitches=this.noOfSwitches,t.nextEffectiveSwitchDate=this.nextEffectiveSwitchDate,t.pendingSwitchDate=this.pendingSwitchDate,t.nextRebalancingDate=this.nextRebalancingDate,this.newCurrentBenefit&&this.newCurrentBenefit.constructor===Array){t.newCurrentBenefit=[];for(var a=0,u=this.newCurrentBenefit;a<u.length;a++){var o=u[a];t.newCurrentBenefit.push(o.toJSON())}}if(this.newFutureBenefit&&this.newFutureBenefit.constructor===Array){t.newFutureBenefit=[];for(var l=0,c=this.newFutureBenefit;l<c.length;l++){var o=c[l];t.newFutureBenefit.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.InvestmentsApiResponse=ve;var ye=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.longDescription=e.longDescription,this.shortDescription=e.shortDescription,this.unitPrice=e.unitPrice,this.unitsHeld=e.unitsHeld,this.amount=e.amount)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.longDescription=this.longDescription,e.shortDescription=this.shortDescription,e.unitPrice=this.unitPrice,e.unitsHeld=this.unitsHeld,e.amount=this.amount,e},e}();e.InvestmentInfo=ye;var Se=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.longDescription=e.longDescription,this.shortDescription=e.shortDescription,this.percentage=e.percentage)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.longDescription=this.longDescription,e.shortDescription=this.shortDescription,e.percentage=this.percentage,e},e}();e.BenefitInfo=Se;var be=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&(this.calculationDate=t.calculationDate,t.financialYear&&t.financialYear.constructor===Array)){this.financialYear=[];for(var r=0,n=t.financialYear;r<n.length;r++){var o=n[r];this.financialYear.push(Ae.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},t.calculationDate=this.calculationDate,this.financialYear&&this.financialYear.constructor===Array){t.financialYear=[];for(var r=0,n=this.financialYear;r<n.length;r++){var o=n[r];t.financialYear.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.ConcessionalContribApiResponse=be;var Ae=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.year=t.year,this.notionalAmount=t.notionalAmount,this.employerAmount=t.employerAmount,this.salarySacrificeAmount=t.salarySacrificeAmount,this.otherAmount=t.otherAmount,this.totalAmount=t.totalAmount)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.year=this.year,t.notionalAmount=this.notionalAmount,t.employerAmount=this.employerAmount,t.salarySacrificeAmount=this.salarySacrificeAmount,t.otherAmount=this.otherAmount,t.totalAmount=this.totalAmount,e.prototype.toJSON.call(this,t),t},t}(s);e.ConcessionalContribModel=Ae;var Ce=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.data=[]),r}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.data&&t.data.constructor===Array){this.data=[];for(var r=0,n=t.data;r<n.length;r++){var o=n[r];this.data.push(ge.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){
if(t="object"==typeof t?t:{},this.data&&this.data.constructor===Array){t.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];t.data.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.RolloverApiResponse=Ce;var ge=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.transactionDate=t.transactionDate,this.fundName=t.fundName,this.status=t.status)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.transactionDate=this.transactionDate,t.fundName=this.fundName,t.status=this.status,e.prototype.toJSON.call(this,t),t},t}(s);e.RolloverInfo=ge;var Ee=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.data=[]),r}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.data&&t.data.constructor===Array){this.data=[];for(var r=0,n=t.data;r<n.length;r++){var o=n[r];this.data.push(we.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.data&&this.data.constructor===Array){t.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];t.data.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.InitiateRolloverRequest=Ee;var we=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.isSuperMatch=t.isSuperMatch,this.fundName=t.fundName,this.abn=t.abn,this.usi=t.usi,this.otherFundAccount=t.otherFundAccount,this.isWholeBalance=t.isWholeBalance,this.partialTransferAmount=t.partialTransferAmount,this.deliverySource=t.deliverySource)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.isSuperMatch=this.isSuperMatch,t.fundName=this.fundName,t.abn=this.abn,t.usi=this.usi,t.otherFundAccount=this.otherFundAccount,t.isWholeBalance=this.isWholeBalance,t.partialTransferAmount=this.partialTransferAmount,t.deliverySource=this.deliverySource,e.prototype.toJSON.call(this,t),t},t}(s);e.InitiateRollover=we;var Pe;!function(e){e[e.Online="Online"]="Online",e[e.Join="Join"]="Join"}(Pe=e.DeliverySourceEnum||(e.DeliverySourceEnum={}));var Ie=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.data=t.data?Ne.fromJS(t.data):void 0)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.data=this.data?this.data.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.PlansMembersInvestmentoptiondetailsResponse=Ie;var Ne=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e||(this.investmentOptionGridRows=[])}return e.prototype.init=function(e){if(e){if(this.isRebalancing=e.isRebalancing,this.planCode=e.planCode,this.investmentDefinitionId=e.investmentDefinitionId,this.planType=e.planType,this.planMemberId=e.planMemberId,this.selectedTransactionId=e.selectedTransactionId,this.canSwitch=e.canSwitch,e.investmentOptionGridRows&&e.investmentOptionGridRows.constructor===Array){this.investmentOptionGridRows=[];for(var t=0,r=e.investmentOptionGridRows;t<r.length;t++){var n=r[t];this.investmentOptionGridRows.push(Je.fromJS(n))}}if(this.nextSwitchDateHeader=e.nextSwitchDateHeader,this.nextFutureSwitchDateHeader=e.nextFutureSwitchDateHeader,this.restrictions=e.restrictions?Re.fromJS(e.restrictions):void 0,this.currentDrawdown=e.currentDrawdown?Oe.fromJS(e.currentDrawdown):void 0,this.pendingDrawdown=e.pendingDrawdown?Oe.fromJS(e.pendingDrawdown):void 0,e.pendingSwitches&&e.pendingSwitches.constructor===Array){this.pendingSwitches=[];for(var o=0,i=e.pendingSwitches;o<i.length;o++){var n=i[o];this.pendingSwitches.push(xe.fromJS(n))}}}},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){if(e="object"==typeof e?e:{},e.isRebalancing=this.isRebalancing,e.planCode=this.planCode,e.investmentDefinitionId=this.investmentDefinitionId,e.planType=this.planType,e.planMemberId=this.planMemberId,e.selectedTransactionId=this.selectedTransactionId,e.canSwitch=this.canSwitch,this.investmentOptionGridRows&&this.investmentOptionGridRows.constructor===Array){e.investmentOptionGridRows=[];for(var t=0,r=this.investmentOptionGridRows;t<r.length;t++){var n=r[t];e.investmentOptionGridRows.push(n.toJSON())}}if(e.nextSwitchDateHeader=this.nextSwitchDateHeader,e.nextFutureSwitchDateHeader=this.nextFutureSwitchDateHeader,e.restrictions=this.restrictions?this.restrictions.toJSON():void 0,e.currentDrawdown=this.currentDrawdown?this.currentDrawdown.toJSON():void 0,e.pendingDrawdown=this.pendingDrawdown?this.pendingDrawdown.toJSON():void 0,this.pendingSwitches&&this.pendingSwitches.constructor===Array){e.pendingSwitches=[];for(var o=0,i=this.pendingSwitches;o<i.length;o++){var n=i[o];e.pendingSwitches.push(n.toJSON())}}return e},e}();e.InvestmentOptionDetails=Ne;var Re=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.mustBalanceMatchMIC=e.mustBalanceMatchMIC,this.nextChoiceDate=e.nextChoiceDate,this.nextSwitchDate=e.nextSwitchDate)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.mustBalanceMatchMIC=this.mustBalanceMatchMIC,e.nextChoiceDate=this.nextChoiceDate,e.nextSwitchDate=this.nextSwitchDate,e},e}();e.InvestmentRestrictions=Re;var Oe=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.description=e.description,this.columnHeader=e.columnHeader,this.columnText=e.columnText)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.description=this.description,e.columnHeader=this.columnHeader,e.columnText=this.columnText,e},e}();e.DrawdownOption=Oe;var Je=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.displayRank=e.displayRank,this.category=e.category?Te.fromJS(e.category):void 0,this.investmentOption=e.investmentOption?Me.fromJS(e.investmentOption):void 0,this.currentStrategy=e.currentStrategy?je.fromJS(e.currentStrategy):void 0,this.newStrategy=e.newStrategy?je.fromJS(e.newStrategy):void 0)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.displayRank=this.displayRank,e.category=this.category?this.category.toJSON():void 0,e.investmentOption=this.investmentOption?this.investmentOption.toJSON():void 0,e.currentStrategy=this.currentStrategy?this.currentStrategy.toJSON():void 0,e.newStrategy=this.newStrategy?this.newStrategy.toJSON():void 0,e},e}();e.InvestmentOptionGridRow=Je;var Te=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.description=e.description,this.choiceExclusiveWithinCategory=e.choiceExclusiveWithinCategory)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.description=this.description,e.choiceExclusiveWithinCategory=this.choiceExclusiveWithinCategory,e},e}();e.Category=Te;var Me=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.id=e.id,this.description=e.description,this.longDescription=e.longDescription)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.id=this.id,e.description=this.description,e.longDescription=this.longDescription,e},e}();e.InvestmentOption=Me;var je=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.currentAmount=e.currentAmount,this.currentPercentage=e.currentPercentage,this.futurePercentage=e.futurePercentage,this.futureHeirarchy=e.futureHeirarchy,this.units=e.units,this.unitPrice=e.unitPrice,this.balanceSplitAtPercentage=e.balanceSplitAtPercentage,this.investmentSetId=e.investmentSetId)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.currentAmount=this.currentAmount,e.currentPercentage=this.currentPercentage,e.futurePercentage=this.futurePercentage,e.futureHeirarchy=this.futureHeirarchy,e.units=this.units,e.unitPrice=this.unitPrice,e.balanceSplitAtPercentage=this.balanceSplitAtPercentage,e.investmentSetId=this.investmentSetId,e},e}();e.InvestmentStrategy=je;var xe=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.transactionId=e.transactionId,this.effectiveDateHeader=e.effectiveDateHeader,this.canEdit=e.canEdit,this.canCancel=e.canCancel)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.transactionId=this.transactionId,e.effectiveDateHeader=this.effectiveDateHeader,e.canEdit=this.canEdit,e.canCancel=this.canCancel,e},e}();e.PendingSwitchListing=xe;var _e=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.isRebalancing=e.isRebalancing)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.isRebalancing=this.isRebalancing,e},e}();e.RebalancingStatus=_e;var Be=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.taxFileNumber=t.taxFileNumber)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.taxFileNumber=this.taxFileNumber,e.prototype.toJSON.call(this,t),t},t}(s);e.TFNApiRequest=Be;var Ue=function(e){function t(t){var r=e.call(this,t)||this;return t||(r.accountAuthority="Online Authority"),r}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t){if(this.memberId=t.memberId,this.title=t.title,this.firstName=t.firstName,this.lastName=t.lastName,this.dateOfBirth=t.dateOfBirth,this.age=t.age,this.gender=t.gender,this.accountAuthority=void 0!==t.accountAuthority?t.accountAuthority:"Online Authority",t.address&&t.address.constructor===Array){this.address=[];for(var r=0,n=t.address;r<n.length;r++){var o=n[r];this.address.push(M.fromJS(o))}}if(t.emailAddress&&t.emailAddress.constructor===Array){this.emailAddress=[];for(var i=0,s=t.emailAddress;i<s.length;i++){var o=s[i];this.emailAddress.push(De.fromJS(o))}}if(t.phoneNumber&&t.phoneNumber.constructor===Array){this.phoneNumber=[];for(var a=0,u=t.phoneNumber;a<u.length;a++){var o=u[a];this.phoneNumber.push(Fe.fromJS(o))}}if(t.product&&t.product.constructor===Array){this.product=[];for(var l=0,c=t.product;l<c.length;l++){var o=c[l];this.product.push(ke.fromJS(o))}}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},t.memberId=this.memberId,t.title=this.title,t.firstName=this.firstName,t.lastName=this.lastName,t.dateOfBirth=this.dateOfBirth,t.age=this.age,t.gender=this.gender,t.accountAuthority=this.accountAuthority,this.address&&this.address.constructor===Array){t.address=[];for(var r=0,n=this.address;r<n.length;r++){var o=n[r];t.address.push(o.toJSON())}}if(this.emailAddress&&this.emailAddress.constructor===Array){t.emailAddress=[];for(var i=0,s=this.emailAddress;i<s.length;i++){var o=s[i];t.emailAddress.push(o.toJSON())}}if(this.phoneNumber&&this.phoneNumber.constructor===Array){t.phoneNumber=[];for(var a=0,u=this.phoneNumber;a<u.length;a++){var o=u[a];t.phoneNumber.push(o.toJSON())}}if(this.product&&this.product.constructor===Array){t.product=[];for(var l=0,c=this.product;l<c.length;l++){var o=c[l];t.product.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.MemberApiResponse=Ue;var De=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.email=t.email)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.email=this.email,e.prototype.toJSON.call(this,t),t},t}(s);e.MemberEmail=De;var Le;!function(e){e[e.Primary="primary"]="Primary",e[e.Secondary="secondary"]="Secondary"}(Le=e.TypeEnum247||(e.TypeEnum247={}));var Fe=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.phone=t.phone)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.phone=this.phone,e.prototype.toJSON.call(this,t),t},t}(s);e.MemberPhoneNo=Fe;var Ge;!function(e){e[e.Mobile="mobile"]="Mobile",e[e.Home="home"]="Home",e[e.Work="work"]="Work",e[e.Fax="fax"]="Fax"}(Ge=e.TypeEnum249||(e.TypeEnum249={}));var ke=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.description=t.description,this.planCode=t.planCode,this.membershipType=t.membershipType,this.benefitClass=t.benefitClass,this.dateJoinedFund=t.dateJoinedFund,this.eligibleServiceDate=t.eligibleServiceDate,this.benefitAccrualDate=t.benefitAccrualDate,this.normalRetireDate=t.normalRetireDate,this.baseSalary=t.baseSalary,this.tfnStatus=t.tfnStatus,this.isAdvisedMember=t.isAdvisedMember,this.isDefinedBenefitMember=t.isDefinedBenefitMember,this.isOnlineCommunicationRequired=t.isOnlineCommunicationRequired,this.hasMarketingConsent=t.hasMarketingConsent,this.hasSuperMatchConsent=t.hasSuperMatchConsent,this.dualConsentType=t.dualConsentType,this.bpayRefNumber=t.bpayRefNumber,this.employment=t.employment?He.fromJS(t.employment):void 0,this.beneficiary=t.beneficiary?Ve.fromJS(t.beneficiary):void 0)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.description=this.description,t.planCode=this.planCode,t.membershipType=this.membershipType,t.benefitClass=this.benefitClass,t.dateJoinedFund=this.dateJoinedFund,t.eligibleServiceDate=this.eligibleServiceDate,t.benefitAccrualDate=this.benefitAccrualDate,t.normalRetireDate=this.normalRetireDate,t.baseSalary=this.baseSalary,t.tfnStatus=this.tfnStatus,t.isAdvisedMember=this.isAdvisedMember,t.isDefinedBenefitMember=this.isDefinedBenefitMember,t.isOnlineCommunicationRequired=this.isOnlineCommunicationRequired,t.hasMarketingConsent=this.hasMarketingConsent,t.hasSuperMatchConsent=this.hasSuperMatchConsent,t.dualConsentType=this.dualConsentType,t.bpayRefNumber=this.bpayRefNumber,t.employment=this.employment?this.employment.toJSON():void 0,t.beneficiary=this.beneficiary?this.beneficiary.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.MemberProduct=ke;var He=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.employerName=t.employerName,this.dateJoinedCompany=t.dateJoinedCompany)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.employerName=this.employerName,t.dateJoinedCompany=this.dateJoinedCompany,e.prototype.toJSON.call(this,t),t},t}(s);e.MemberEmployment=He;var Ve=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.bindingNomination=t.bindingNomination,this.bindingNomExpiryDate=t.bindingNomExpiryDate,this.beneficiaries=t.beneficiaries?Ye.fromJS(t.beneficiaries):void 0)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.bindingNomination=this.bindingNomination,t.bindingNomExpiryDate=this.bindingNomExpiryDate,t.beneficiaries=this.beneficiaries?this.beneficiaries.toJSON():void 0,e.prototype.toJSON.call(this,t),t},t}(s);e.MemberBeneficiary252=Ve;var Ye=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.firstName=t.firstName,this.lastName=t.lastName,this.relationship=t.relationship,this.percentage=t.percentage)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.firstName=this.firstName,t.lastName=this.lastName,t.relationship=this.relationship,t.percentage=this.percentage,e.prototype.toJSON.call(this,t),t},t}(s);e.BeneficiaryModel253=Ye;var Xe=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t){if(t.address&&t.address.constructor===Array){this.address=[];for(var r=0,n=t.address;r<n.length;r++){var o=n[r];this.address.push(M.fromJS(o))}}if(t.emailAddress&&t.emailAddress.constructor===Array){this.emailAddress=[];for(var i=0,s=t.emailAddress;i<s.length;i++){var o=s[i];this.emailAddress.push(De.fromJS(o))}}if(t.phoneNumber&&t.phoneNumber.constructor===Array){this.phoneNumber=[];for(var a=0,u=t.phoneNumber;a<u.length;a++){var o=u[a];this.phoneNumber.push(Fe.fromJS(o))}}if(t.product&&t.product.constructor===Array){this.product=[];for(var l=0,c=t.product;l<c.length;l++){var o=c[l];this.product.push($e.fromJS(o))}}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.address&&this.address.constructor===Array){t.address=[];for(var r=0,n=this.address;r<n.length;r++){var o=n[r];t.address.push(o.toJSON())}}if(this.emailAddress&&this.emailAddress.constructor===Array){t.emailAddress=[];for(var i=0,s=this.emailAddress;i<s.length;i++){var o=s[i];t.emailAddress.push(o.toJSON())}}if(this.phoneNumber&&this.phoneNumber.constructor===Array){t.phoneNumber=[];for(var a=0,u=this.phoneNumber;a<u.length;a++){var o=u[a];t.phoneNumber.push(o.toJSON())}}if(this.product&&this.product.constructor===Array){t.product=[];for(var l=0,c=this.product;l<c.length;l++){var o=c[l];t.product.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(s);e.UpdateMember=Xe;var $e=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t),t&&(this.type=t.type,this.planCode=t.planCode,this.isOnlineCommunicationRequired=t.isOnlineCommunicationRequired,this.hasMarketingConsent=t.hasMarketingConsent,this.hasSuperMatchConsent=t.hasSuperMatchConsent,this.dualConsentType=t.dualConsentType)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.type=this.type,t.planCode=this.planCode,t.isOnlineCommunicationRequired=this.isOnlineCommunicationRequired,t.hasMarketingConsent=this.hasMarketingConsent,t.hasSuperMatchConsent=this.hasSuperMatchConsent,t.dualConsentType=this.dualConsentType,e.prototype.toJSON.call(this,t),t},t}(s);e.UpdateProduct261=$e;var Ke;!function(e){e[e.Short="short"]="Short",e[e.Long="long"]="Long"}(Ke=e.TextType||(e.TextType={}));var We;!function(e){e[e.Track="track"]="Track",e[e.Simulate="simulate"]="Simulate",e[e.Both="both"]="Both"}(We=e.Project||(e.Project={}));var qe;!function(e){e[e.MALE="MALE"]="MALE",e[e.FEMALE="FEMALE"]="FEMALE",e[e.UNIDENTIFIED="UNIDENTIFIED"]="UNIDENTIFIED"}(qe=e.Gender||(e.Gender={}));var ze=function(e){function t(t,r,n,o,i){var s=e.call(this)||this;return s.isSwaggerException=!0,s.message=t,s.status=r,s.response=n,s.headers=o,s.result=i,s}return r(t,e),t.isSwaggerException=function(e){return e.isSwaggerException===!0},t}(Error);e.SwaggerException=ze}(n=t.FundPerformanceProxies||(t.FundPerformanceProxies={}))},function(e,t){e.exports=ReactRedux},function(e,t,r){"use strict";function n(){return{type:s.BEGIN_AJAX_CALL}}function o(){return{type:s.AJAX_CALL_ERROR}}function i(){return{type:s.SUCCESS_AJAX_CALL}}Object.defineProperty(t,"__esModule",{value:!0});var s=r(4);t.beginAjaxCall=n,t.ajaxCallError=o,t.successAjaxCall=i},function(e,t,r){"use strict";function n(){return{type:i.LOAD_LOADER_START}}function o(){return{type:i.LOAD_LOADER_SUCCESS}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(4);t.startLoaderCall=n,t.successLoaderCall=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(e){return n.createElement("div",null,e.showLoaderMessage?n.createElement("div",{className:"overlay"},n.createElement("div",{className:"windows8"},n.createElement("div",{className:"wBall",id:"wBall_1"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_2"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_3"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_4"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_5"},n.createElement("div",{className:"wInnerBall"})))):null)};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(e){return n.createElement("div",null,e.children)};t.default=o},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.ajaxCallsInProgress),t.type){case o.BEGIN_AJAX_CALL:return e+1;case o.AJAX_CALL_ERROR:return e-1;case o.SUCCESS_AJAX_CALL:return e-1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),i=r(8);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.loader),t.type){case o.LOAD_LOADER_START:return!0;case o.LOAD_LOADER_SUCCESS:return!1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),i=r(8);t.default=n},function(e,t){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function n(e){return 3*e.length/4-r(e)}function o(e){var t,n,o,i,s,a=e.length;i=r(e),s=new c(3*a/4-i),n=i>0?a-4:a;var u=0;for(t=0;t<n;t+=4)o=l[e.charCodeAt(t)]<<18|l[e.charCodeAt(t+1)]<<12|l[e.charCodeAt(t+2)]<<6|l[e.charCodeAt(t+3)],s[u++]=o>>16&255,s[u++]=o>>8&255,s[u++]=255&o;return 2===i?(o=l[e.charCodeAt(t)]<<2|l[e.charCodeAt(t+1)]>>4,s[u++]=255&o):1===i&&(o=l[e.charCodeAt(t)]<<10|l[e.charCodeAt(t+1)]<<4|l[e.charCodeAt(t+2)]>>2,s[u++]=o>>8&255,s[u++]=255&o),s}function i(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function s(e,t,r){for(var n,o=[],s=t;s<r;s+=3)n=(e[s]<<16)+(e[s+1]<<8)+e[s+2],o.push(i(n));return o.join("")}function a(e){for(var t,r=e.length,n=r%3,o="",i=[],a=16383,l=0,c=r-n;l<c;l+=a)i.push(s(e,l,l+a>c?c:l+a));return 1===n?(t=e[r-1],o+=u[t>>2],o+=u[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=u[t>>10],o+=u[t>>4&63],o+=u[t<<2&63],o+="="),i.push(o),i.join("")}t.byteLength=n,t.toByteArray=o,t.fromByteArray=a;for(var u=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,f=p.length;h<f;++h)u[h]=p[h],l[p.charCodeAt(h)]=h;l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},function(e,t,r){(function(e){/*!
	 * The buffer module from node.js, for the browser.
	 *
	 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
	 * @license  MIT
	 */
"use strict";function n(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function o(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=s.prototype):(null===e&&(e=new s(t)),e.length=t),e}function s(e,t,r){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return a(this,e,t,r)}function a(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?f(e,t,r,n):"string"==typeof t?p(e,t,r):d(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e,t,r,n){return u(t),t<=0?i(e,t):void 0!==r?"string"==typeof n?i(e,t).fill(r,n):i(e,t).fill(r):i(e,t)}function c(e,t){if(u(t),e=i(e,t<0?0:0|m(t)),!s.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!s.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|y(t,r);e=i(e,n);var o=e.write(t,r);return o!==n&&(e=e.slice(0,o)),e}function h(e,t){var r=t.length<0?0:0|m(t.length);e=i(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function f(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),s.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=s.prototype):e=h(e,t),e}function d(e,t){if(s.isBuffer(t)){var r=0|m(t.length);return e=i(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||q(t.length)?i(e,0):h(e,t);if("Buffer"===t.type&&Z(t.data))return h(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function v(e){return+e!=e&&(e=0),s.alloc(+e)}function y(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(e).length;default:if(n)return Y(e).length;t=(""+t).toLowerCase(),n=!0}}function S(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,r);case"utf8":case"utf-8":return O(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return M(this,t,r);case"base64":return R(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function b(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function A(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:C(e,t,r,n,o);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):C(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function C(e,t,r,n,o){function i(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,u=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}var l;if(o){var c=-1;for(l=r;l<a;l++)if(i(e,l)===i(t,c===-1?0:l-c)){if(c===-1&&(c=l),l-c+1===u)return c*s}else c!==-1&&(l-=l-c),c=-1}else for(r+u>a&&(r=a-u),l=r;l>=0;l--){for(var p=!0,h=0;h<u;h++)if(i(e,l+h)!==i(t,h)){p=!1;break}if(p)return l}return-1}function g(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[r+s]=a}return s}function E(e,t,r,n){return W(Y(t,e.length-r),e,r,n)}function w(e,t,r,n){return W(X(t),e,r,n)}function P(e,t,r,n){return w(e,t,r,n)}function I(e,t,r,n){return W(K(t),e,r,n)}function N(e,t,r,n){return W($(t,e.length-r),e,r,n)}function R(e,t,r){return 0===t&&r===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(t,r))}function O(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i=e[o],s=null,a=i>239?4:i>223?3:i>191?2:1;if(o+a<=r){var u,l,c,p;switch(a){case 1:i<128&&(s=i);break;case 2:u=e[o+1],128===(192&u)&&(p=(31&i)<<6|63&u,p>127&&(s=p));break;case 3:u=e[o+1],l=e[o+2],128===(192&u)&&128===(192&l)&&(p=(15&i)<<12|(63&u)<<6|63&l,p>2047&&(p<55296||p>57343)&&(s=p));break;case 4:u=e[o+1],l=e[o+2],c=e[o+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(p=(15&i)<<18|(63&u)<<12|(63&l)<<6|63&c,p>65535&&p<1114112&&(s=p))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),o+=a}return J(n)}function J(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=ee));return r}function T(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function M(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function j(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=V(e[i]);return o}function x(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function _(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function B(e,t,r,n,o,i){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function U(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function D(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function L(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function F(e,t,r,n,o){return o||L(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,r,n,23,4),r+4}function G(e,t,r,n,o){return o||L(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,r,n,52,8),r+8}function k(e){if(e=H(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function H(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function V(e){return e<16?"0"+e.toString(16):e.toString(16)}function Y(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],s=0;s<n;++s){if(r=e.charCodeAt(s),r>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function X(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function $(e,t){for(var r,n,o,i=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function K(e){return z.toByteArray(k(e))}function W(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function q(e){return e!==e}var z=r(18),Q=r(22),Z=r(23);t.Buffer=s,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:n(),t.kMaxLength=o(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return a(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return l(null,e,t,r)},s.allocUnsafe=function(e){return c(null,e)},s.allocUnsafeSlow=function(e){return c(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Z(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=s.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!s.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},s.byteLength=y,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)b(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)b(this,t,t+3),b(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)b(this,t,t+7),b(this,t+1,t+6),b(this,t+2,t+5),b(this,t+3,t+4);return this},s.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?O(this,0,e):S.apply(this,arguments)},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},s.prototype.compare=function(e,t,r,n,o){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,u=Math.min(i,a),l=this.slice(n,o),c=e.slice(t,r),p=0;p<u;++p)if(l[p]!==c[p]){i=l[p],a=c[p];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(e,t,r){return this.indexOf(e,t,r)!==-1},s.prototype.indexOf=function(e,t,r){return A(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return A(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return g(this,e,t,r);case"utf8":case"utf-8":return E(this,e,t,r);case"ascii":return w(this,e,t,r);case"latin1":case"binary":return P(this,e,t,r);case"base64":return I(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e);var n;if(s.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=s.prototype;else{var o=t-e;n=new s(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},s.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||_(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},s.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||_(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},s.prototype.readUInt8=function(e,t){return t||_(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||_(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||_(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||_(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||_(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return t||_(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},s.prototype.readInt16LE=function(e,t){t||_(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||_(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||_(e,4,this.length),Q.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||_(e,4,this.length),Q.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||_(e,8,this.length),Q.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||_(e,8,this.length),Q.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;B(this,e,t,r,o,0)}var i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;B(this,e,t,r,o,0)}var i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);B(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);B(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return F(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return F(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return G(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return G(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:Y(new s(e,n).toString()),u=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%u]}return this};var te=/[^+\/0-9A-Za-z-_]/g}).call(t,function(){return this}())},function(e,t,r){t=e.exports=r(21)(void 0),t.push([e.id,'@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans"),local("OpenSans"),url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:local("Open Sans Bold"),local("OpenSans-Bold"),url(https://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format("woff")}',""])},function(e,t,r){(function(t){function r(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t){var i=n(o),s=o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"});return[r].concat(s).concat([i]).join("\n")}return[r].join("\n")}function n(e){var r=new t(JSON.stringify(e)).toString("base64"),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+r;return"/*# "+n+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=r(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<e.length;o++){var s=e[o];"number"==typeof s[0]&&n[s[0]]||(r&&!s[2]?s[2]=r:r&&(s[2]="("+s[2]+") and ("+r+")"),t.push(s))}},t}}).call(t,r(19).Buffer)},function(e,t){t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,u=(1<<a)-1,l=u>>1,c=-7,p=r?o-1:0,h=r?-1:1,f=e[t+p];for(p+=h,i=f&(1<<-c)-1,f>>=-c,c+=a;c>0;i=256*i+e[t+p],p+=h,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+e[t+p],p+=h,c-=8);if(0===i)i=1-l;else{if(i===u)return s?NaN:(f?-1:1)*(1/0);s+=Math.pow(2,n),i-=l}return(f?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,u,l=8*i-o-1,c=(1<<l)-1,p=c>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,d=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+p>=1?h/u:h*Math.pow(2,1-p),t*u>=2&&(s++,u/=2),s+p>=c?(a=0,s=c):s+p>=1?(a=(t*u-1)*Math.pow(2,o),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,o),s=0));o>=8;e[r+f]=255&a,f+=d,a/=256,o-=8);for(s=s<<o|a,l+=o;l>0;e[r+f]=255&s,f+=d,s/=256,l-=8);e[r+f-d]|=128*m}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(c(n.parts[i],t))}else{for(var s=[],i=0;i<n.parts.length;i++)s.push(c(n.parts[i],t));d[n.id]={id:n.id,refs:1,parts:s}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],i=o[0],s=o[1],a=o[2],u=o[3],l={css:s,media:a,sourceMap:u};r[i]?r[i].parts.push(l):t.push(r[i]={id:i,parts:[l]})}return t}function i(e,t){var r=y(),n=A[A.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),A.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function s(e){e.parentNode.removeChild(e);var t=A.indexOf(e);t>=0&&A.splice(t,1)}function a(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),i(e,t),t}function u(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),i(e,t),t}function l(e,t){Object.keys(t).forEach(function(r){e.setAttribute(r,t[r])})}function c(e,t){var r,n,o;if(t.singleton){var i=b++;r=S||(S=a(t)),n=p.bind(null,r,i,!1),o=p.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=u(t),n=f.bind(null,r,t),o=function(){s(r),r.href&&URL.revokeObjectURL(r.href)}):(r=a(t),n=h.bind(null,r),o=function(){s(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function p(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function h(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function f(e,t,r){var n=r.css,o=r.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(n=C(n)),o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([n],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}var d={},m=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=m(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),y=m(function(){return document.head||document.getElementsByTagName("head")[0]}),S=null,b=0,A=[],C=r(25);e.exports=function(e,t){t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],s=0;s<r.length;s++){var a=r[s],u=d[a.id];u.refs--,i.push(u)}if(e){var l=o(e);n(l,t)}for(var s=0;s<i.length;s++){var u=i[s];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete d[u.id]}}}};var g=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,n=r+t.pathname.replace(/\/[^\/]*$/,"/"),o=e.replace(/url *\( *(.+?) *\)/g,function(e,t){var o=t.replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return e;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?r+o:n+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"});return o}},function(e,t,r){var n=r(20);"string"==typeof n&&(n=[[e.id,n,""]]),r(24)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(32),o=r(2),i=r(7),s=function(){function e(){if(this.applicationId=n.default.applicationId,o.InitialState.widgetConfig.environment===i.Environment.DEV)this.baseUrl=n.default.devApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT)this.baseUrl=n.default.uatApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.SIT)this.baseUrl=n.default.sitApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.PROD)this.baseUrl=n.default.prodApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.DEMO)this.baseUrl=n.default.demoApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UATCAT)this.baseUrl=n.default.uatcatApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT3)this.baseUrl=n.default.uat3ApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT2)this.baseUrl=n.default.uat2ApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT4)this.baseUrl=n.default.uat4ApiUrl;else{if(o.InitialState.widgetConfig.environment!==i.Environment.UAT5)throw new Error("please supply a api endpoint for this widget in app config");this.baseUrl=n.default.uat5ApiUrl}this.overrideDefaultFetchSetup()}return e.prototype.overrideDefaultFetchSetup=function(){this.overrideFetch=function(e,t){return"undefined"!=typeof o.InitialState.widgetConfig.data&&o.InitialState.widgetConfig.data.hasOwnProperty("validateUserSession")&&o.InitialState.widgetConfig.data.validateUserSession(),t.headers.Authorization="Bearer "+o.InitialState.widgetConfig.accessToken,t.headers.PlanCode=o.InitialState.widgetConfig.planCode,console.log(t),fetch(e,t)}},e}();t.default=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(27),i=r(10),s=function(e){function t(){var t=e.call(this)||this;return t.setupHttpClient(),t}return n(t,e),t.prototype.setupHttpClient=function(){this.fundPerformanceProxyClient=new i.FundPerformanceProxies.Client(this.baseUrl,{fetch:this.overrideFetch})},t.prototype.getResources=function(e,t,r,n,o,i,s){var a=this.applicationId;return this.fundPerformanceProxyClient.plansResourcesByPlanCodeAndApplicationIdGet(e,a,t,r,n,o,i,s)},t.prototype.getAuthorizationRules=function(e,t,r){var n=this.applicationId;return this.fundPerformanceProxyClient.plansAuthorizationrulesByPlanCodeAndApplicationIdGet(t,n,r)},t.prototype.getplansFundPerformanceByPlanCodeAndMemberId=function(e,t,r){return this.fundPerformanceProxyClient.plansMembersFundperformanceByPlanCodeAndMemberIdGet(e,t,r)},t}(o.default);t.default=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e};Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.error={is:!1,message:""},t}return n(t,e),t.prototype.componentDidMount=function(){this.kendoNotification=$("#"+this.props.widgetId+"NotificationArea").kendoNotification({animation:!1,appendTo:"#"+this.props.widgetId+"NotificationArea",autoHideAfter:0,hideOnClick:!1,button:!0,templates:[{type:"success",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'},{type:"warning",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'},{type:"error",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'}]}).data("kendoNotification")},t.prototype.render=function(){var e=this;console.log("serverError notification",this.props.serverError);var t=[];if(this.props.serverError)if("string"==typeof this.props.serverError)this.error.is=!0,this.error.message=this.props.serverError;else if("object"==typeof this.props.serverError)if(this.props.serverError.status){if("error"===this.props.serverError.type)this.error.is=!0,this.error.message=this.props.serverError.message;else if("notification"===this.props.serverError.type)switch(this.props.serverError.status){case 200:case 201:t.push({type:"success",message:"Action Performed Successfully"});break;default:t.push(o({},this.props.serverError,{type:"error"}))}}else"[OBJECT OBJECT]"!==this.props.serverError.toString().toUpperCase()&&(this.error.is=!0,this.error.message=this.props.serverError.toString());return this.error.is&&(this.kendoNotification.hide(),this.kendoNotification.show(this.error.message,"error")),t.length&&t.forEach(function(t){t.type&&(t.response&&t.response.message?e.kendoNotification.show(t.response.message,t.type):e.kendoNotification.show(t.message,t.type),$("html, body").animate({scrollTop:$("#"+e.props.widgetId+"NotificationContainer").offset().top},1e3))}),i.createElement("div",{id:this.props.widgetId+"NotificationArea"})},t}(i.Component);t.default=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{
__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=r(5),s=function(e){function t(t){var r=e.call(this,t)||this;return r.renderFundPerformanceItems=function(){var e=r.props.fundPerformance.calculationDate,t=e.substring(0,10),n=kendo.toString(kendo.parseDate(t),"dd/MM/yyyy");return o.createElement("div",{className:"fund-performance"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h1",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_INTROHEADER",r.props)}})),o.createElement("div",{className:"table-responsive"},o.createElement("table",{className:"table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",{colSpan:3,className:"light-grey"}),o.createElement("th",{colSpan:6,className:"dark-grey"},o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_TABLEHEADER",r.props)}}),n))),o.createElement("tbody",null,o.createElement("tr",null,o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_FUNDCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_BALANCECOLUMNNAME ",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_INCEPTIONDATECOLUMNNAME ",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_1MONTHCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_3MONTHSCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_1YEARCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_3YEARSCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_5YEARSCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_SINCEINCEPTIONCOLUMNNAME",r.props)}}))),r.props.fundPerformance.portfolios.map(function(e){var t=kendo.toString(kendo.parseDate(e.inceptionDate),"dd/MM/yyyy"),n=e.balance,s=n.toLocaleString("en");return 0===e.balance?null:o.createElement("tr",null,o.createElement("td",null,e.longDescription),o.createElement("td",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_DOLLARSIGN",r.props)}}),s),o.createElement("td",null,t),o.createElement("td",null,null==e._1Month?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._1Month+"%"),o.createElement("td",null,null==e._3Months?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._3Months+"%"),o.createElement("td",null,null==e._1Year?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._1Year+"%"),o.createElement("td",null,null==e._3Years?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._3Years+"%"),o.createElement("td",null,null==e._5Years?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._5Years+"%"),o.createElement("td",null,null==e.percentageSinceInception?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e.percentageSinceInception+"%"))})))))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("button",{className:"btn-showall",dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_SHOWALLBUTTON",r.props)},onClick:r.props.onShowAllClick}))))},r.state={},r}return n(t,e),t.prototype.componentDidMount=function(){},t.prototype.render=function(){return this.props.fundPerformance.calculationDate?o.createElement("div",null,this.renderFundPerformanceItems()):o.createElement("div",null)},t}(o.Component);t.FundPerformanceGridComponent=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=r(5),s=function(e){function t(t){var r=e.call(this,t)||this;return r.renderFundPerformanceGroups=function(){for(var e=[],t={},n=0;n<r.props.fundPerformance.portfolios.length;n++){var s=r.props.fundPerformance.portfolios[n].investmentGroup;t[s]||(t[s]=[]),t[s].push(r.props.fundPerformance.portfolios[n])}for(s in t)e.push({group:s,investmentGroups:t[s]});var a=r.props.fundPerformance.calculationDate,u=a.substring(0,10),l=kendo.toString(kendo.parseDate(u),"dd/MM/yyyy");return o.createElement("div",{className:"fund-performance"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h1",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_INTROHEADER",r.props)}})),o.createElement("div",{className:"table-responsive"},o.createElement("table",{className:"table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",{colSpan:2,className:"light-grey"}),o.createElement("th",{colSpan:6,className:"dark-grey"},o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_TABLEHEADER",r.props)}}),l))),o.createElement("tbody",null,o.createElement("tr",null,o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_FUNDCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_INCEPTIONDATECOLUMNNAME ",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_1MONTHCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_3MONTHSCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_1YEARCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_3YEARSCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_5YEARSCOLUMNNAME",r.props)}})),o.createElement("th",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_SINCEINCEPTIONCOLUMNNAME",r.props)}})))),e.map(function(e){return o.createElement("tbody",null,"null"!=e.group?o.createElement("tr",{className:"title"},o.createElement("td",{colSpan:8},e.group)):"",e.investmentGroups.map(function(e){var t=kendo.toString(kendo.parseDate(e.inceptionDate),"dd/MM/yyyy");return o.createElement("tr",null,o.createElement("td",null,e.longDescription),o.createElement("td",null,t),o.createElement("td",null,null==e._1Month?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._1Month+"%"),o.createElement("td",null,null==e._3Months?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._3Months+"%"),o.createElement("td",null,null==e._1Year?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._1Year+"%"),o.createElement("td",null,null==e._3Years?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._3Years+"%"),o.createElement("td",null,null==e._5Years?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e._5Years+"%"),o.createElement("td",null,null==e.percentageSinceInception?o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_NOTAPPLICABLETEXT",r.props)}}):e.percentageSinceInception+"%"))}))})))),o.createElement("div",{className:"col-sm-12 footer-infor"},o.createElement("p",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INVESTMENT_FUNDPERFORMANCE_FOOTERTEXT",r.props)}})))))},r.state={},r}return n(t,e),t.prototype.componentDidMount=function(){},t.prototype.render=function(){return o.createElement("div",null,this.renderFundPerformanceGroups())},t}(o.Component);t.FundPerformanceInvestmentGroupGridComponent=s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.devApiUrl="https://api-dev1.np.linkgroup.com/rss/russellmemberui/v1",e.sitApiUrl="https://api-sit1.np.linkgroup.com/rss/russellmemberui/v1",e.uatApiUrl="https://api-uat1.np.linkgroup.com/rss/russellmemberui/v1",e.prodApiUrl="https://api-prd1.linkgroup.com/rss/russellmemberui/v1",e.demoApiUrl="https://api-demo.orientsys.com.au/super/api/russell/v1",e.uatcatApiUrl="https://api-uat-cat.orientsys.com.au/super/api/russell/v1",e.uat2ApiUrl="https://api-uat-2.orientsys.com.au/super/api/russell/v1",e.uat3ApiUrl="https://api-uat-3.orientsys.com.au/super/api/russell/v1",e.uat4ApiUrl="https://api-uat-4.orientsys.com.au/super/api/russell/v1",e.uat5ApiUrl="https://api-uat-5.orientsys.com.au/super/api/russell/v1",e.applicationId="linkgroup.fundadmin.russellfundperformancewidget",e}();t.default=r},function(e,t,r){"use strict";function n(e,t){return{ajaxCallsInProgress:e.ajaxCallsInProgress,authorizationRules:e.authorizationRules,resources:e.resources,fundPerformance:e.fundPerformance,serverError:e.serverError,loader:e.loader,getFundPerformances:e.getFundPerformances}}function o(e){return{actions:u.bindActionCreators(l.default,e),dispatch:e}}var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var s=r(1),a=r(11),u=r(6),l=r(9),c=r(29),p=r(5),h=r(14),f=r(31),d=r(30),m=function(e){function t(t){var r=e.call(this,t)||this;return r.notifications=[],r.widgetId="fundPerformance",r.handleShowAll=r.handleShowAll.bind(r),r.state={showAll:!1},r}return i(t,e),t.prototype.handleShowAll=function(){this.setState({showAll:!0})},t.prototype.componentDidMount=function(){var e=this.props.componentName+"_HEADER_TITLE";this.headerTitle=p.default.getResourceValueByFullKey(e,this.props),this.props.actions.getFundPerformances(),this.kendoNotification=$("#"+this.props.widgetId+"NotificationArea").data("kendoNotification")},t.prototype.componentWillReceiveProps=function(e){!e.serverError||this.props.serverError===e.serverError||404!==e.serverError.reasonObj.status&&400!==e.serverError.reasonObj.status&&403!==e.serverError.reasonObj.status&&500!==e.serverError.reasonObj.status||(this.kendoNotification.hide(),this.kendoNotification.show("Please try after some time !","error"))},t.prototype.render=function(){return s.createElement("div",null,s.createElement(h.default,{showLoaderMessage:this.props.loader}),s.createElement(c.default,{widgetId:this.props.widgetId,serverError:this.props.serverError}),this.state.showAll||this.props.fundPerformance&&this.props.fundPerformance.portfolios&&!this.props.fundPerformance.portfolios.some(function(e){return e.balance>0})?s.createElement(f.FundPerformanceInvestmentGroupGridComponent,{resources:this.props.resources,authorizationRules:this.props.authorizationRules,fundPerformance:this.props.fundPerformance,componentName:"FUNDPERFORMANCE"}):s.createElement(d.FundPerformanceGridComponent,{fundPerformance:this.props.fundPerformance,resources:this.props.resources,authorizationRules:this.props.authorizationRules,componentName:"FUNDPERFORMANCE",onShowAllClick:this.handleShowAll}))},t}(s.Component);t.default=a.connect(n,o)(m)},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),r(26);var o=r(1),i=r(45),s=r(43),a=r(44),u=r(40),l=r(11),c=r(2),p=r(15),h=r(7),f=r(33),d=r(9),m=function(e){function t(){var t=e.call(this)||this;return t.reload=function(){a.unmountComponentAtNode(document.getElementById(c.InitialState.widgetConfig.elementId)),t.store=void 0,t.init(c.InitialState.widgetConfig)},t}return n(t,e),t.prototype.init=function(t){c.InitialState.widgetConfig=t,e.prototype.init.call(this,t),i.event({category:"Widgets",action:"Load Fund Performance Widget",label:"Load",nonInteraction:!1}),this.getResourcesAndAuthorizationRulesAndAttachWidget(t)},t.prototype.getResourcesAndAuthorizationRulesAndAttachWidget=function(e){var t=this,r=[d.default.getResources(),d.default.getFundPerformances()],n=c.InitialState.loadInitialData();s.all(r).then(function(r){null!==r&&(n.resources=r[0].data),t.store=u.default(n),t.renderMainComponent(t.store,e.elementId)}).catch(function(r){n.serverError=r,t.store=u.default(n),t.renderMainComponent(t.store,e.elementId)})},t.prototype.renderMainComponent=function(e,t){console.log(e,t),a.render(o.createElement(l.Provider,{store:this.store},o.createElement(p.default,null,o.createElement(f.default,{widgetId:c.InitialState.widgetConfig.elementId,reload:this.reload,componentName:"FUNDPERFORMANCE"}))),document.getElementById(t))},t}(h.LgWidget),v="0.18.0";window.Lg.Fa.FundPerformanceWidget=m,window.Lg.Fa.FundPerformanceWidgetVersion=v},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.authorizationRules),t.type){case o.LOAD_PERMISSIONS_SUCCESS:return t.authorizationRules;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(3),i=r(2);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.serverError),t.type){case o.API_SERVER_ERROR:return t.error;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(3),i=r(2);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.resources),t.type){case o.LOAD_RESOURCES_SUCCESS:return t.resources;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(3),i=r(2);t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6),o=r(16),i=r(37),s=r(35),a=r(39),u=r(36),l=r(17),c=n.combineReducers({authorizationRules:s.default,resources:i.default,fundPerformance:a.default,ajaxCallsInProgress:o.default,serverError:u.default,loader:l.default});t.default=c},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.fundPerformance),t.type){case o.GET_FUNDPERFORMANCE_SUCCESS:return t.fundPerformance;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(3),i=r(2);t.default=n},function(e,t,r){"use strict";function n(e){return o.createStore(i.default,e,o.applyMiddleware(s.default,a.loggingMiddleware))}Object.defineProperty(t,"__esModule",{value:!0});var o=r(6),i=r(38),s=r(46),a=r(41);t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loggingMiddleware=function(e){return function(e){return function(t){var r="production";"production"!==r&&console.log("Action:",t),e(t)}}}},function(e,t){e.exports=Lodash},function(e,t){e.exports=Promise},function(e,t){e.exports=ReactDOM},function(e,t){e.exports=ReactGA},function(e,t){e.exports=ReduxThunk}]);
//# sourceMappingURL=lg-fa-fundperformance-widget.min.js.map ;// [AIV]  Build version: 0.26.0 - Tuesday, September 5th, 2023, 11:48:15 AM  
 !function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="C:\\Workspace\\APIMigration\\to-be-merged\\rss-member-rebalance-widget\\build\\js",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var r=t.slice(1),n=e[t[0]];return function(e,t,o){n.apply(this,[e,t,o].concat(r))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,r){e.exports=r(42)},function(e,t){e.exports=React},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6),o=function(){function e(){}return e.loadInitialData=function(){return{resources:this.resources,authorizationRules:this.authorizationRules,data:this.data,serverError:this.serverError}},e.resources=new Array,e.authorizationRules=new Array,e.serverError=new n.memberRebalancingToolProxy.ErrorDto,e.data=new n.memberRebalancingToolProxy.InvestmentsApiResponse,e}();t.InitialState=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=r(15),i=function(){function e(){}return e.getResourceValueByKey=function(e,t){var r=t.componentName,i=r+"_"+e,a=o.filter(t.resources,["key",i]);return a.length>0?n.createElement("span",null,a[0].value):n.createElement("span",null,"invalid key")},e.getResourceValueByFullKey=function(e,t){var r=e,i=o.filter(t.resources,["key",r]);return i.length>0?n.createElement("span",null,i[0].value):n.createElement("span",null,"invalid key")},e.getResourceValueStringByKey=function(e,t){var r=t.componentName,n=r+"_"+e,i=o.filter(t.resources,["key",n]);return i.length>0?i[0].value:"invalid key"},e.getResourceValueStringByFullKey=function(e,t){var r=e,n=o.filter(t.resources,["key",r]);return n.length>0?n[0].value:"invalid key"},e}();t.default=i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BEGIN_AJAX_CALL="BEGIN_AJAX_CALL",t.AJAX_CALL_ERROR="AJAX_CALL_ERROR",t.SUCCESS_AJAX_CALL="SUCCESS_AJAX_CALL",t.LOAD_LOADER_START="LOAD_LOADER_START",t.LOAD_LOADER_SUCCESS="LOAD_LOADER_SUCCESS"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_ADVISER_SUCCESS="LOAD_PROJECTIONTOOL_SUCCESS",t.MEMBER_RESOURCES_SUCCESS="MEMBER_RESOURCES_SUCCESS",t.MEMBER_INVESTMENTCHOICE_SUCCESS="MEMBER_INVESTMENTCHOICE_SUCCESS",t.MEMBER_PLANMEMBERINVESTMENT_SUCCESS="MEMBER_PLANMEMBERINVESTMENT_SUCCESS",t.MEMBER_REBALANCINGSTATUS_SUCCESS="MEMBER_REBALANCINGSTATUS_SUCCESS",t.MEMBER_PERMISSIONS_SUCCESS="LOAD_PERMISSIONS_SUCCESS",t.MEMBER_DETAILS_SUCCESS="MEMBER_DETAILS_SUCCESS",t.API_SERVER_ERROR="API_SERVER_ERROR",t.LOAD_PERMISSIONS_SUCCESS="LOAD_PERMISSIONS_SUCCESS",t.LOAD_RESOURCES_SUCCESS="LOAD_RESOURCES_SUCCESS"},function(e,t){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var n;!function(e){function t(e,t,r,n,o){throw new v(e,t,r,n,o)}var n=function(){function e(e,t){this.jsonParseReviver=void 0,this.http=t?t:window,this.baseUrl=e?e:"https://api-dev.apac.linkgroup.corp:8183/api/memberrebalancewidget/v1"}return e.prototype.serviceStatusGet=function(){var e=this,t=this.baseUrl+"/service/status";t=t.replace(/[?&]$/,"");var r={method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(t,r).then(function(t){return e.processServiceStatusGet(t)})},e.prototype.processServiceStatusGet=function(e){var r=this,n=e.status,i={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return i[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?o.fromJS(n):new o}):503===n?e.text().then(function(e){var o=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return o=void 0!==a?a:null,t("A server error occurred.",n,e,i,o)}):401===n?e.text().then(function(e){var o=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return o=void 0!==a?a:null,t("A server error occurred.",n,e,i,o)}):403===n?e.text().then(function(e){var o=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return o=void 0!==a?a:null,t("A server error occurred.",n,e,i,o)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,i)}):Promise.resolve(null)},e.prototype.plansResourcesByPlanCodeAndApplicationIdGet=function(e,t,r,n,o,i,a,s){var u=this,l=this.baseUrl+"/plans/{planCode}/resources/{applicationId}?";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(l=l.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'applicationId' must be defined.");l=l.replace("{applicationId}",encodeURIComponent(""+t)),void 0!==r&&(l+="clientType="+encodeURIComponent(""+r)+"&"),void 0!==n&&(l+="classificationId="+encodeURIComponent(""+n)+"&"),void 0!==o&&(l+="moduleName="+encodeURIComponent(""+o)+"&"),void 0!==i&&(l+="componentName="+encodeURIComponent(""+i)+"&"),void 0!==a&&(l+="elementName="+encodeURIComponent(""+a)+"&"),l=l.replace(/[?&]$/,"");var c={method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(l,c).then(function(e){return u.processPlansResourcesByPlanCodeAndApplicationIdGet(e)})},e.prototype.processPlansResourcesByPlanCodeAndApplicationIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?a.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansAuthorizationrulesByPlanCodeAndApplicationIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/authorizationrules/{applicationId}";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'applicationId' must be defined.");o=o.replace("{applicationId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansAuthorizationrulesByPlanCodeAndApplicationIdGet(e)})},e.prototype.processPlansAuthorizationrulesByPlanCodeAndApplicationIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?c.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersInvestmentsByPlanCodeAndPlanMemberIdGet=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{planMemberId}/investments";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'planMemberId' must be defined.");o=o.replace("{planMemberId}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(e){return n.processPlansMembersInvestmentsByPlanCodeAndPlanMemberIdGet(e)})},e.prototype.processPlansMembersInvestmentsByPlanCodeAndPlanMemberIdGet=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?p.fromJS(n):null}):401===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e.prototype.plansMembersRebalancingstatusByPlanCodeAndPlanMemberIdPut=function(e,t,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{planMemberId}/rebalancingstatus";if(void 0===e||null===e)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+e)),void 0===t||null===t)throw new Error("The parameter 'planMemberId' must be defined.");i=i.replace("{planMemberId}",encodeURIComponent(""+t)),i=i.replace(/[?&]$/,"");var a=JSON.stringify(r),s={body:a,method:"PUT",headers:{"Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,s).then(function(e){return o.processPlansMembersRebalancingstatusByPlanCodeAndPlanMemberIdPut(e)})},e.prototype.processPlansMembersRebalancingstatusByPlanCodeAndPlanMemberIdPut=function(e){var r=this,n=e.status,o={};return e.headers&&e.headers.forEach&&e.headers.forEach(function(e,t){return o[t]=e}),200===n?e.text().then(function(e){var t=null,n=""===e?null:JSON.parse(e,r.jsonParseReviver);return t=n?i.fromJS(n):new i}):401===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):403===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):404===n?e.text().then(function(e){var i=null,a=""===e?null:JSON.parse(e,r.jsonParseReviver);return i=a?l.fromJS(a):new l,t("A server error occurred.",n,e,o,i)}):200!==n&&204!==n?e.text().then(function(e){return t("An unexpected server error occurred.",n,e,o)}):Promise.resolve(null)},e}();e.Client=n;var o=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.status=e.status)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.status=this.status,e},e}();e.ServiceStatus=o;var i=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){if(e){if(e.errors&&e.errors.constructor===Array){this.errors=[];for(var t=0,r=e.errors;t<r.length;t++){var n=r[t];this.errors.push(s.fromJS(n))}}this.message=e.message}},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){if(e="object"==typeof e?e:{},this.errors&&this.errors.constructor===Array){e.errors=[];for(var t=0,r=this.errors;t<r.length;t++){var n=r[t];e.errors.push(n.toJSON())}}return e.message=this.message,e},e}();e.ApiResponse=i;var a=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.data&&t.data.constructor===Array){this.data=[];for(var r=0,n=t.data;r<n.length;r++){var o=n[r];this.data.push(u.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.data&&this.data.constructor===Array){t.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];t.data.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(i);e.PlansResourcesResponse=a;var s=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.type=e.type,this.description=e.description)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.type=this.type,e.description=this.description,e},e}();e.ErrorDto=s;var u=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.key=e.key,this.value=e.value)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.key=this.key,e.value=this.value,e},e}();e.Resource=u;var l=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){if(e){if(e.errors&&e.errors.constructor===Array){this.errors=[];for(var t=0,r=e.errors;t<r.length;t++){var n=r[t];this.errors.push(s.fromJS(n))}}this.message=e.message}},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){if(e="object"==typeof e?e:{},this.errors&&this.errors.constructor===Array){e.errors=[];for(var t=0,r=this.errors;t<r.length;t++){var n=r[t];e.errors.push(n.toJSON())}}return e.message=this.message,e},e}();e.ApiResponse5=l;var c=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t&&t.data&&t.data.constructor===Array){this.data=[];for(var r=0,n=t.data;r<n.length;r++){var o=n[r];this.data.push(f.fromJS(o))}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.data&&this.data.constructor===Array){t.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];t.data.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(i);e.PlansAuthorizationrulesResponse=c;var f=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.applicationId=e.applicationId,this.applicationPath=e.applicationPath,this.resourceId=e.resourceId,this.resourceName=e.resourceName,this.resourcePath=e.resourcePath,this.entityId=e.entityId,this.actionTypeId=e.actionTypeId,this.actionTypeName=e.actionTypeName,this.accessTypeId=e.accessTypeId,this.accessTypeName=e.accessTypeName,this.parentApplicationId=e.parentApplicationId,this.parentResourceId=e.parentResourceId)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.applicationId=this.applicationId,e.applicationPath=this.applicationPath,e.resourceId=this.resourceId,e.resourceName=this.resourceName,e.resourcePath=this.resourcePath,e.entityId=this.entityId,e.actionTypeId=this.actionTypeId,e.actionTypeName=this.actionTypeName,e.accessTypeId=this.accessTypeId,e.accessTypeName=this.accessTypeName,e.parentApplicationId=this.parentApplicationId,e.parentResourceId=this.parentResourceId,e},e}();e.AuthorizationRule=f;var p=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.init=function(t){if(e.prototype.init.call(this,t),t){if(this.calculationDate=t.calculationDate,this.investmentTotal=t.investmentTotal,this.isRebalancing=t.isRebalancing,t.currentInvestment&&t.currentInvestment.constructor===Array){this.currentInvestment=[];for(var r=0,n=t.currentInvestment;r<n.length;r++){var o=n[r];this.currentInvestment.push(h.fromJS(o))}}if(t.futureInvestment&&t.futureInvestment.constructor===Array){this.futureInvestment=[];for(var i=0,a=t.futureInvestment;i<a.length;i++){var o=a[i];this.futureInvestment.push(d.fromJS(o))}}if(this.noOfSwitches=t.noOfSwitches,this.nextEffectiveSwitchDate=t.nextEffectiveSwitchDate,this.pendingSwitchDate=t.pendingSwitchDate,this.nextRebalancingDate=t.nextRebalancingDate,t.newCurrentBenefit&&t.newCurrentBenefit.constructor===Array){this.newCurrentBenefit=[];for(var s=0,u=t.newCurrentBenefit;s<u.length;s++){var o=u[s];this.newCurrentBenefit.push(d.fromJS(o))}}if(t.newFutureBenefit&&t.newFutureBenefit.constructor===Array){this.newFutureBenefit=[];for(var l=0,c=t.newFutureBenefit;l<c.length;l++){var o=c[l];this.newFutureBenefit.push(d.fromJS(o))}}}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},t.calculationDate=this.calculationDate,t.investmentTotal=this.investmentTotal,t.isRebalancing=this.isRebalancing,this.currentInvestment&&this.currentInvestment.constructor===Array){t.currentInvestment=[];for(var r=0,n=this.currentInvestment;r<n.length;r++){var o=n[r];t.currentInvestment.push(o.toJSON())}}if(this.futureInvestment&&this.futureInvestment.constructor===Array){t.futureInvestment=[];for(var i=0,a=this.futureInvestment;i<a.length;i++){var o=a[i];t.futureInvestment.push(o.toJSON())}}if(t.noOfSwitches=this.noOfSwitches,t.nextEffectiveSwitchDate=this.nextEffectiveSwitchDate,t.pendingSwitchDate=this.pendingSwitchDate,t.nextRebalancingDate=this.nextRebalancingDate,this.newCurrentBenefit&&this.newCurrentBenefit.constructor===Array){t.newCurrentBenefit=[];for(var s=0,u=this.newCurrentBenefit;s<u.length;s++){var o=u[s];t.newCurrentBenefit.push(o.toJSON())}}if(this.newFutureBenefit&&this.newFutureBenefit.constructor===Array){t.newFutureBenefit=[];for(var l=0,c=this.newFutureBenefit;l<c.length;l++){var o=c[l];t.newFutureBenefit.push(o.toJSON())}}return e.prototype.toJSON.call(this,t),t},t}(i);e.InvestmentsApiResponse=p;var h=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.longDescription=e.longDescription,this.shortDescription=e.shortDescription,this.unitPrice=e.unitPrice,this.unitsHeld=e.unitsHeld,this.amount=e.amount)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.longDescription=this.longDescription,e.shortDescription=this.shortDescription,e.unitPrice=this.unitPrice,e.unitsHeld=this.unitsHeld,e.amount=this.amount,e},e}();e.InvestmentInfo=h;var d=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.code=e.code,this.longDescription=e.longDescription,this.shortDescription=e.shortDescription,this.percentage=e.percentage)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.code=this.code,e.longDescription=this.longDescription,e.shortDescription=this.shortDescription,e.percentage=this.percentage,e},e}();e.BenefitInfo=d;var m=function(){function e(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}return e.prototype.init=function(e){e&&(this.isRebalancing=e.isRebalancing)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.isRebalancing=this.isRebalancing,e},e}();e.RebalancingStatus=m;var v=function(e){function t(t,r,n,o,i){var a=e.call(this)||this;return a.isSwaggerException=!0,a.message=t,a.status=r,a.response=n,a.headers=o,a.result=i,a}return r(t,e),t.isSwaggerException=function(e){return e.isSwaggerException===!0},t}(Error);e.SwaggerException=v}(n=t.memberRebalancingToolProxy||(t.memberRebalancingToolProxy={}))},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e};Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.error={is:!1,message:""},t}return n(t,e),t.prototype.componentDidMount=function(){this.kendoNotification=$("#"+this.props.widgetId+"NotificationArea").kendoNotification({animation:!1,appendTo:"#"+this.props.widgetId+"NotificationArea",autoHideAfter:0,hideOnClick:!1,button:!0,templates:[{type:"success",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'},{type:"warning",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'},{type:"error",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'}]}).data("kendoNotification")},t.prototype.render=function(){var e=this,t=[];if(this.props.serverError)if("string"==typeof this.props.serverError)this.error.is=!0,this.error.message=this.props.serverError;else if("object"==typeof this.props.serverError)if(this.props.serverError.status){if("error"===this.props.serverError.type)this.error.is=!0,this.error.message=this.props.serverError.message;else if("notification"===this.props.serverError.type)switch(this.props.serverError.status){case 200:case 201:t.push({type:"success",message:"Action Performed Successfully"});break;default:t.push(o({},this.props.serverError,{type:"error"}))}}else"[OBJECT OBJECT]"!==this.props.serverError.toString().toUpperCase()&&(this.error.is=!0,this.error.message=this.props.serverError.toString());return this.error.is&&(this.kendoNotification.hide(),this.kendoNotification.show(this.error.message,"error")),t.length&&(this.kendoNotification.hide(),t.forEach(function(t){t.type&&(t.response&&t.response.message?e.kendoNotification.show(t.response.message,t.type):e.kendoNotification.show(t.message,t.type),$("html, body").animate({scrollTop:$("#"+e.props.widgetId+"NotificationArea").offset().top},1e3))})),i.createElement("div",null,i.createElement("div",{id:this.props.widgetId+"NotificationArea"}))},t}(i.Component);t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(15),o=r(50),i=function(){function e(){}return e.hasViewPermissionByKeyPath=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i="/"+t.join("/"),a=n.filter(e.authorizationRules,{resourcePath:i,actionTypeName:o.default.VIEW});return a.length>0&&(a[0].accessTypeName===o.default.ALLOW||a[0].accessTypeName!==o.default.DENY&&void 0)},e.hasEditPermissionByKeyPath=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i="/"+t.join("/"),a=n.filter(e.authorizationRules,{resourcePath:i,actionTypeName:o.default.EDIT});return a.length>0&&(a[0].accessTypeName===o.default.ALLOW||a[0].accessTypeName!==o.default.DENY&&void 0)},e}();t.default=i},function(e,t){e.exports=Redux},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(e){return n.createElement("div",null,e.showLoaderMessage?n.createElement("div",{className:"overlay"},n.createElement("div",{className:"windows8"},n.createElement("div",{className:"wBall",id:"wBall_1"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_2"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_3"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_4"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_5"},n.createElement("div",{className:"wInnerBall"})))):null)};t.default=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r;!function(e){e[e.DEV="DEV"]="DEV",e[e.SIT="SIT"]="SIT",e[e.UAT="UAT"]="UAT",e[e.PROD="PROD"]="PROD",e[e.DEMO="DEMO"]="DEMO",e[e.UATCAT="UAT-CAT"]="UATCAT",e[e.UAT2="UAT-2"]="UAT2",e[e.UAT3="UAT-3"]="UAT3",e[e.UAT4="UAT-4"]="UAT4",e[e.UAT5="UAT-5"]="UAT5",e[e.STG="STG"]="STG"}(r=t.Environment||(t.Environment={}));var n;!function(e){e[e.MobileNative="Mobile.Native"]="MobileNative",e[e.MobileWeb="Mobile.Web"]="MobileWeb",e[e.Web="Web"]="Web"}(n=t.Client||(t.Client={}));var o=function(){function e(){}return e.prototype.init=function(e){if(null==e.accessToken||""===e.accessToken)throw new Error("Please supply a access token");if(null==e.planCode||""===e.planCode)throw new Error("Please supply a planCode");if(null==e.memberId||""===e.memberId)throw new Error("Please supply a member id");if(null==e.environment)throw new Error("Please supply environment");if(null==e.client?e.client=n.Web:null==e.isImpersonated?e.isImpersonated=!1:void 0!==e.data&&null!=e.data||(e.data={}),void 0!==e.hasEditAccess&&null!=e.hasEditAccess||(e.hasEditAccess=!0),e.useGoogleAnalytics&&!window.ga){if(e.environment!==r.DEV)throw new Error("Please add analytics script in hosting application");console.warn("Please add analytics script in hosting application")}},e}();t.LgWidget=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.ajaxCallsInProgress=0,e.loader=!1,e}();t.InitialState=r},function(e,t,r){"use strict";function n(e){return{type:s.API_SERVER_ERROR,error:e}}function o(e){return{type:s.MEMBER_INVESTMENTCHOICE_SUCCESS,memberInvestmentOptions:e}}function i(){return function(e){e(c.beginAjaxCall()),e(f.startLoaderCall());var t=new l.default,r=u.InitialState.widgetConfig.memberId,i=u.InitialState.widgetConfig.planCode,a=u.InitialState.widgetConfig.x_Correlation_Id;t.getInvestments(r,i,a).then(function(t){e(o(t)),e(c.successAjaxCall()),e(f.successLoaderCall())}).catch(function(t){e(c.ajaxCallError()),e(n(t)),e(f.successLoaderCall())})}}var a=this&&this.__assign||Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e};Object.defineProperty(t,"__esModule",{value:!0});var s=r(5),u=r(2),l=r(32),c=r(17),f=r(18);t.getMemberInvestments=i,t.default={getResources:function(){var e=new l.default,t=u.InitialState.widgetConfig.planCode,r=u.InitialState.widgetConfig.client.toString(),n=u.InitialState.widgetConfig.x_Correlation_Id,o=u.InitialState.widgetConfig.classification;return e.getResources(t,r,o,void 0,void 0,void 0,n)},getAuthorizationRules:function(){var e=new l.default,t=u.InitialState.widgetConfig.planCode,r=Number(u.InitialState.widgetConfig.memberId),n=u.InitialState.widgetConfig.x_Correlation_Id;return e.getAuthorizationRules(r,t,n)},getMemberInvestments:function(){return function(e){e(c.beginAjaxCall()),e(f.startLoaderCall());var t=new l.default,r=u.InitialState.widgetConfig.memberId,i=u.InitialState.widgetConfig.planCode,a=u.InitialState.widgetConfig.x_Correlation_Id;t.getInvestments(r,i,a).then(function(t){e(o(t)),e(c.successAjaxCall()),e(f.successLoaderCall())}).catch(function(t){e(c.ajaxCallError()),e(n("Sorry error occured, please try again later.")),e(f.successLoaderCall())})}},updateRebalancing:function(e,t){return function(r){r(c.beginAjaxCall()),r(f.startLoaderCall());var o=new l.default,i=u.InitialState.widgetConfig.planCode,s=u.InitialState.widgetConfig.memberId,p=u.InitialState.widgetConfig.x_Correlation_Id;o.updatePlansMembersRebalancingstatusByPlanCode(s,i,e,p).then(function(e){t("success","VIEWINVESTMENTS_SUCCESS_UPDATEINVESTMENT"),r(c.successAjaxCall()),r(f.successLoaderCall())}).catch(function(e){r(c.ajaxCallError()),r(f.successLoaderCall()),r(n(a({},e,{type:"notification"}))),r(n({})),t("error","VIEWINVESTMENTS_ERROR_UPDATEINVESTMENT")})}}}},5,function(e,t){e.exports=Lodash},function(e,t){e.exports=ReactRedux},function(e,t,r){"use strict";function n(){return{type:a.BEGIN_AJAX_CALL}}function o(){return{type:a.AJAX_CALL_ERROR}}function i(){return{type:a.SUCCESS_AJAX_CALL}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(4);t.beginAjaxCall=n,t.ajaxCallError=o,t.successAjaxCall=i},function(e,t,r){"use strict";function n(){return{type:i.LOAD_LOADER_START}}function o(){return{type:i.LOAD_LOADER_SUCCESS}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(4);t.startLoaderCall=n,t.successLoaderCall=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(e){return n.createElement("div",null,e.children)};t.default=o},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.ajaxCallsInProgress),t.type){case o.BEGIN_AJAX_CALL:return e+1;case o.AJAX_CALL_ERROR:return e-1;case o.SUCCESS_AJAX_CALL:return e-1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),i=r(12);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.loader),t.type){case o.LOAD_LOADER_START:return!0;case o.LOAD_LOADER_SUCCESS:return!1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),i=r(12);t.default=n},function(e,t){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function n(e){var t=r(e),n=t[0],o=t[1];return 3*(n+o)/4-o}function o(e,t,r){return 3*(t+r)/4-r}function i(e){var t,n,i=r(e),a=i[0],s=i[1],u=new f(o(e,a,s)),l=0,p=s>0?a-4:a;for(n=0;n<p;n+=4)t=c[e.charCodeAt(n)]<<18|c[e.charCodeAt(n+1)]<<12|c[e.charCodeAt(n+2)]<<6|c[e.charCodeAt(n+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=c[e.charCodeAt(n)]<<2|c[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===s&&(t=c[e.charCodeAt(n)]<<10|c[e.charCodeAt(n+1)]<<4|c[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function s(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(a(n));return o.join("")}function u(e){for(var t,r=e.length,n=r%3,o=[],i=16383,a=0,u=r-n;a<u;a+=i)o.push(s(e,a,a+i>u?u:a+i));return 1===n?(t=e[r-1],o.push(l[t>>2]+l[t<<4&63]+"==")):2===n&&(t=(e[r-2]<<8)+e[r-1],o.push(l[t>>10]+l[t>>4&63]+l[t<<2&63]+"=")),o.join("")}t.byteLength=n,t.toByteArray=i,t.fromByteArray=u;for(var l=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,d=p.length;h<d;++h)l[h]=p[h],c[p.charCodeAt(h)]=h;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(e,t,r){(function(e){/*!
	 * The buffer module from node.js, for the browser.
	 *
	 * @author   Feross Aboukhadijeh <http://feross.org>
	 * @license  MIT
	 */
"use strict";function n(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=a.prototype):(null===e&&(e=new a(t)),e.length=t),e}function a(e,t,r){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return s(this,e,t,r)}function s(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?h(e,t,r,n):"string"==typeof t?f(e,t,r):d(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e,t,r,n){return u(t),t<=0?i(e,t):void 0!==r?"string"==typeof n?i(e,t).fill(r,n):i(e,t).fill(r):i(e,t)}function c(e,t){if(u(t),e=i(e,t<0?0:0|m(t)),!a.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!a.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|E(t,r);e=i(e,n);var o=e.write(t,r);return o!==n&&(e=e.slice(0,o)),e}function p(e,t){var r=t.length<0?0:0|m(t.length);e=i(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function h(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),a.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=a.prototype):e=p(e,t),e}function d(e,t){if(a.isBuffer(t)){var r=0|m(t.length);return e=i(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||$(t.length)?i(e,0):p(e,t);if("Buffer"===t.type&&Q(t.data))return p(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function v(e){return+e!=e&&(e=0),a.alloc(+e)}function E(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return X(e).length;default:if(n)return K(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,r);case"utf8":case"utf-8":return N(this,t,r);case"ascii":return B(this,t,r);case"latin1":case"binary":return O(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function _(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:A(e,t,r,n,o);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):A(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function A(e,t,r,n,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}var l;if(o){var c=-1;for(l=r;l<s;l++)if(i(e,l)===i(t,c===-1?0:l-c)){if(c===-1&&(c=l),l-c+1===u)return c*a}else c!==-1&&(l-=l-c),c=-1}else for(r+u>s&&(r=s-u),l=r;l>=0;l--){for(var f=!0,p=0;p<u;p++)if(i(e,l+p)!==i(t,p)){f=!1;break}if(f)return l}return-1}function S(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function w(e,t,r,n){return W(K(t,e.length-r),e,r,n)}function I(e,t,r,n){return W(Y(t),e,r,n)}function R(e,t,r,n){return I(e,t,r,n)}function b(e,t,r,n){return W(X(t),e,r,n)}function C(e,t,r,n){return W(z(t,e.length-r),e,r,n)}function T(e,t,r){return 0===t&&r===e.length?Z.fromByteArray(e):Z.fromByteArray(e.slice(t,r))}function N(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i=e[o],a=null,s=i>239?4:i>223?3:i>191?2:1;if(o+s<=r){var u,l,c,f;switch(s){case 1:i<128&&(a=i);break;case 2:u=e[o+1],128===(192&u)&&(f=(31&i)<<6|63&u,f>127&&(a=f));break;case 3:u=e[o+1],l=e[o+2],128===(192&u)&&128===(192&l)&&(f=(15&i)<<12|(63&u)<<6|63&l,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=e[o+1],l=e[o+2],c=e[o+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(f=(15&i)<<18|(63&u)<<12|(63&l)<<6|63&c,f>65535&&f<1114112&&(a=f))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=s}return P(n)}function P(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=ee));return r}function B(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function O(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function L(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=H(e[i]);return o}function M(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function U(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,r,n,o,i){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function x(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function j(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function k(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function V(e,t,r,n,o){return o||k(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),q.write(e,t,r,n,23,4),r+4}function J(e,t,r,n,o){return o||k(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),q.write(e,t,r,n,52,8),r+8}function G(e){if(e=F(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function F(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function H(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Y(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function z(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function X(e){return Z.toByteArray(G(e))}function W(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function $(e){return e!==e}var Z=r(22),q=r(27),Q=r(24);t.Buffer=a,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:n(),t.kMaxLength=o(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,r){return s(null,e,t,r)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,r){return l(null,e,t,r)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Q(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=a.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!a.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},a.byteLength=E,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},a.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?N(this,0,e):y.apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},a.prototype.compare=function(e,t,r,n,o){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,s=r-t,u=Math.min(i,s),l=this.slice(n,o),c=e.slice(t,r),f=0;f<u;++f)if(l[f]!==c[f]){i=l[f],s=c[f];break}return i<s?-1:s<i?1:0},a.prototype.includes=function(e,t,r){return this.indexOf(e,t,r)!==-1},a.prototype.indexOf=function(e,t,r){return _(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return _(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return S(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return I(this,e,t,r);case"latin1":case"binary":return R(this,e,t,r);case"base64":return b(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e);var n;if(a.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=a.prototype;else{var o=t-e;n=new a(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},a.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},a.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUInt8=function(e,t){return t||U(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||U(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||U(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return t||U(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,t){t||U(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){t||U(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||U(e,4,this.length),q.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||U(e,4,this.length),q.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||U(e,8,this.length),q.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||U(e,8,this.length),q.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;D(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;D(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);D(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);D(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,r){return V(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return V(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return J(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return J(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!a.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=a.isBuffer(e)?e:K(new a(e,n).toString()),u=s.length;for(i=0;i<r-t;++i)this[i+t]=s[i%u]}return this};var te=/[^+\/0-9A-Za-z-_]/g}).call(t,function(){return this}())},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){t=e.exports=r(26)(void 0),t.push([e.id,'@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans"),local("OpenSans"),url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:local("Open Sans Bold"),local("OpenSans-Bold"),url(https://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format("woff")}',""])},function(e,t,r){(function(t){function r(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t){var i=n(o),a=o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"});return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}function n(e){var r=new t(JSON.stringify(e)).toString("base64"),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+r;return"/*# "+n+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=r(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),t.push(a))}},t}}).call(t,r(23).Buffer)},function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?o-1:0,p=r?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-c)-1,h>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,n),i-=l}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,u,l=8*i-o-1,c=(1<<l)-1,f=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+f>=1?p/u:p*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[r+h]=255&a,h+=d,a/=256,l-=8);e[r+h-d]|=128*m}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(c(n.parts[i],t))}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(c(n.parts[i],t));d[n.id]={id:n.id,refs:1,parts:a}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n],i=o[0],a=o[1],s=o[2],u=o[3],l={css:a,media:s,sourceMap:u};r[i]?r[i].parts.push(l):t.push(r[i]={id:i,parts:[l]})}return t}function i(e,t){var r=E(),n=_[_.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),_.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),i(e,t),t}function u(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),i(e,t),t}function l(e,t){Object.keys(t).forEach(function(r){e.setAttribute(r,t[r])})}function c(e,t){var r,n,o;if(t.singleton){var i=g++;r=y||(y=s(t)),n=f.bind(null,r,i,!1),o=f.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=u(t),n=h.bind(null,r,t),o=function(){a(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(t),n=p.bind(null,r),o=function(){a(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function f(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=S(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var r=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function h(e,t,r){var n=r.css,o=r.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(n=A(n)),o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var d={},m=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=m(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),E=m(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,g=0,_=[],A=r(29);e.exports=function(e,t){t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],a=0;a<r.length;a++){var s=r[a],u=d[s.id];u.refs--,i.push(u)}if(e){var l=o(e);n(l,t)}for(var a=0;a<i.length;a++){var u=i[a];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete d[u.id]}}}};var S=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,n=r+t.pathname.replace(/\/[^\/]*$/,"/"),o=e.replace(/url *\( *(.+?) *\)/g,function(e,t){var o=t.replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return e;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?r+o:n+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"});return o}},function(e,t,r){var n=r(25);"string"==typeof n&&(n=[[e.id,n,""]]),r(28)(n,{}),n.locals&&(e.exports=n.locals)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(40),o=r(2),i=r(11),a=function(){function e(){if(this.applicationId=n.default.applicationId,o.InitialState.widgetConfig.environment===i.Environment.DEV)this.baseUrl=n.default.devApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT)this.baseUrl=n.default.uatApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.SIT)this.baseUrl=n.default.sitApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.PROD)this.baseUrl=n.default.prodApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.DEMO)this.baseUrl=n.default.demoApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UATCAT)this.baseUrl=n.default.uatcatApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT2)this.baseUrl=n.default.uat2ApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT3)this.baseUrl=n.default.uat3ApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT4)this.baseUrl=n.default.uat4ApiUrl;else{if(o.InitialState.widgetConfig.environment!==i.Environment.UAT5)throw new Error("please supply a api endpoint for this widget in app config");this.baseUrl=n.default.uat5ApiUrl}this.overrideDefaultFetchSetup()}return e.prototype.overrideDefaultFetchSetup=function(){this.overrideFetch=function(e,t){return"undefined"!=typeof o.InitialState.widgetConfig.data&&o.InitialState.widgetConfig.data.hasOwnProperty("validateUserSession")&&o.InitialState.widgetConfig.data.validateUserSession(),t.headers.Authorization="Bearer "+o.InitialState.widgetConfig.accessToken,t.headers.PlanCode=o.InitialState.widgetConfig.planCode,fetch(e,t)}},e}();t.default=a},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(31),i=r(6),a=function(e){function t(){var t=e.call(this)||this;return t.setupHttpClient(),t}return n(t,e),t.prototype.setupHttpClient=function(){this.MemberRebalancingToolApiProxyClient=new i.memberRebalancingToolProxy.Client(this.baseUrl,{fetch:this.overrideFetch})},t.prototype.updatePlansMembersRebalancingstatusByPlanCode=function(e,t,r,n){return this.MemberRebalancingToolApiProxyClient.plansMembersRebalancingstatusByPlanCodeAndPlanMemberIdPut(t,e,r,n)},t.prototype.getResources=function(e,t,r,n,o,i,a){var s=this.applicationId;return this.MemberRebalancingToolApiProxyClient.plansResourcesByPlanCodeAndApplicationIdGet(e,s,t,r,n,o,i,a)},t.prototype.getAuthorizationRules=function(e,t,r){var n=this.applicationId;return this.MemberRebalancingToolApiProxyClient.plansAuthorizationrulesByPlanCodeAndApplicationIdGet(t,n,r)},t.prototype.getInvestments=function(e,t,r){return this.MemberRebalancingToolApiProxyClient.plansMembersInvestmentsByPlanCodeAndPlanMemberIdGet(t,e,r)},t}(o.default);t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(e){return jQuery(".overlay").hide(),n.createElement("div",{className:"validation-summary-errors",id:"validationSummary"},e.errorMessage)};t.default=o},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=r(3),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.render=function(){return o.createElement("div",null,o.createElement("p",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLETITLE",this.props)}})),o.createElement("div",{className:"table-responsive"},o.createElement("table",{className:"table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLEHEADER1",this.props)}}),o.createElement("th",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLEHEADER2",this.props)}}),o.createElement("th",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLEHEADER3",this.props)}}),o.createElement("th",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLEHEADER4",this.props)}}))),o.createElement("tbody",null,o.createElement("tr",null,o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER1C1",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER1C2",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER1C3",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER1C4",this.props)}})),o.createElement("tr",null,o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER2C1",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER2C2",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER2C3",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER2C4",this.props)}})),o.createElement("tr",null,o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER3C1",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER3C2",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER3C3",this.props)}}),o.createElement("td",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLER3C4",this.props)}}))))),o.createElement("p",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLEFOOTER",this.props)}})))},t}(o.Component);t.default=a},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=r(8),a=r(3),s=r(7),u=r(2),l=r(39),c=function(e){function t(t){var r=e.call(this)||this;return r.showUpdateButton=r.showUpdateButton.bind(r),r.handleCheckBox=r.handleCheckBox.bind(r),r.state={checked:null===t.checkbox_state?t.data.isRebalancing:t.checkbox_state},r}return n(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.checkbox_state!==e.checkbox_state&&this.setState({checked:e.checkbox_state})},t.prototype.handleCheckBox=function(e){this.setState({checked:e.target.checked})},t.prototype.handleUpdateButtonValidations=function(e){if(this.updateButtonDisabled(e))return!1;var t=$("#"+this.props.widgetId+"NotificationArea").data("kendoNotification");if(t.hide(),this.props.data.isRebalancing===this.state.checked){var r=this.props.data.isRebalancing?"REBALANCING_EDIT_ALREADYELECTEDERROR":"REBALANCING_EDIT_ALREADYNOTELECTEDERROR";return t.show(a.default.getResourceValueStringByFullKey(r,this.props),"error"),$("html, body").animate({scrollTop:$("#"+this.props.widgetId+"NotificationArea").offset().top},1e3),!1}this.props.showConfirmationPage(this.state.checked)},t.prototype.showUpdateButton=function(e){var t=this;if(u.InitialState.widgetConfig.isImpersonated)return null;var r=!1;return this.updateButtonDisabled(e)&&(r=!0),o.createElement("div",{className:"col-sm-12"},o.createElement("a",{className:"btn btn-primary pull-right pull-right",id:"BtnUpdate",onClick:function(n){return r?null:t.handleUpdateButtonValidations(e)},disabled:r},a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_UPDATEBUTTONLABEL",this.props)))},t.prototype.updateButtonDisabled=function(e){var t=this.props.data.nextRebalancingDate.split("T"),r=this.props.data.nextEffectiveSwitchDate.split("T");return!i.default.hasEditPermissionByKeyPath(this.props,"updateButton")||e.length<=1||!!(new Date(t[0])<=new Date(r[0])&&i.default.hasEditPermissionByKeyPath(this.props,"blackoutPeriodValidation"))},t.prototype.rebalancingCheckbox=function(){var e=this;return o.createElement("p",{id:"rebalancing"},o.createElement("input",{type:"checkbox",checked:this.state.checked,onChange:function(t){return e.handleCheckBox(t)}}),o.createElement("span",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_CHECKBOXLABEL",this.props)}}))},t.prototype.formatDate=function(){var e=this.props.data.nextEffectiveSwitchDate.split("T");return kendo.toString(new Date(e[0]),"dd MMM yyyy")},t.prototype.render=function(){var e=0===this.props.data.newFutureBenefit.length?this.props.data.futureInvestment:this.props.data.newFutureBenefit,t=(this.props.data.futureInvestment.length,this.props.data.newFutureBenefit.length),r=this.formatDate(),n=t>0?a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_PENDINGINVESTMENT",this.props).replace("[[SWITCH_EFFECTIVE_DATE]]",r):a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_CURRENTINVESTMENT",this.props);return o.createElement("div",{className:"container"},o.createElement("div",{className:"re-balancing"},o.createElement(s.default,{widgetId:this.props.widgetId,serverError:this.props.serverError}),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h1",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_PAGEHEADER",this.props)}}))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h3",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_INTROHEADER",this.props)}}),o.createElement("p",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_INTROBODY",this.props)}})," "))),o.createElement(l.default,{authorizationRules:this.props.authorizationRules,resources:this.props.resources,investmentOptionGridRows:e,investentOptResourceText:n}),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},1===e.length?o.createElement("p",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_SINGLEINVESTMENTOPTION",this.props)}}):this.props.data.isRebalancing?o.createElement("p",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_CANCELOPTIONTEXT",this.props)}}):null,e.length>1?this.rebalancingCheckbox():null,o.createElement("div",{className:"col-sm-12"},o.createElement("a",null,this.showUpdateButton(this.props.data.futureInvestment)))))))},t}(o.Component);t.default=c},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=r(6),a=r(3),s=r(7),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleFinalUpdateButton=function(){var e=new i.memberRebalancingToolProxy.RebalancingStatus({isRebalancing:t.props.checkbox_state});t.props.actions.updateRebalancing(e,t.handleNextStep)},t.handleNextStep=function(e,r){t.props.showAcknowledgenemtpage(e,r)},t}return n(t,e),t.prototype.handleCancel=function(){confirm(a.default.getResourceValueStringByFullKey("REBALANCING_UPDATE_CONFIRMPOPUP",this.props))&&this.props.showInvestmentsPage(!0)},t.prototype.handleBack=function(){this.props.handleBackButton()},t.prototype.render=function(){var e=this,t=this.props.checkbox_state?"REBALANCING_UPDATE_INTROBODY1":"REBALANCING_UPDATE_INTROBODY2";return o.createElement("div",{className:"container"},o.createElement("div",{className:"re-balancing"},o.createElement(s.default,{widgetId:this.props.widgetId,serverError:this.props.serverError}),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h1",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_PAGEHEADER",this.props)}}))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h3",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_UPDATE_INTROHEADER",this.props)}}),o.createElement("p",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey(t,this.props)}})))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12 link-bar"},o.createElement("a",{className:"link-secondary",id:"BtnCancel",onClick:function(t){return e.handleCancel()}},a.default.getResourceValueStringByFullKey("REBALANCING_UPDATE_CANCELBUTTON",this.props)),o.createElement("a",{className:"link-secondary",id:"BtnBack",onClick:function(t){return e.handleBack()}},a.default.getResourceValueStringByFullKey("REBALANCING_UPDATE_BACKBUTTON",this.props)),o.createElement("a",{className:"btn btn-primary",id:"BtnStatus",onClick:function(t){return e.handleFinalUpdateButton()}},a.default.getResourceValueStringByFullKey("REBALANCING_UPDATE_CONFIRMBUTTON",this.props))))))},t}(o.Component);t.default=u},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=r(3),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.render=function(){var e=this;return o.createElement("div",{className:"container"},o.createElement("div",{className:"re-balancing"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h1",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_EDIT_PAGEHEADER",this.props)}}))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h3",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_VIEW_INTROHEADER",this.props)}}),o.createElement("p",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("REBALANCING_VIEW_INTROBODY",this.props)}})))),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12 link-bar"},o.createElement("a",{onClick:function(t){return e.props.showInvestmentsPage(!0)}},i.default.getResourceValueStringByFullKey("REBALANCING_VIEW_PAGERETURNLINK",this.props))))))},t}(o.Component);t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=r(3),i=r(2),a=r(7),s=function(e){var t="/#/Investments/InvestmentEnquiry/ViewPendingInvestmentSwitches?PlanCode="+i.InitialState.widgetConfig.planCode;return n.createElement("div",{className:"container"},n.createElement("div",{className:"re-balancing"},n.createElement(a.default,{widgetId:e.widgetId,serverError:e.serverError}),n.createElement("div",{className:"row"},n.createElement("div",{className:"col-sm-12"},n.createElement("h1",{dangerouslySetInnerHTML:{__html:o.default.getResourceValueStringByFullKey("REBALANCING_EDIT_PAGEHEADER",e)}}))),n.createElement("div",{className:"row"},n.createElement("div",{className:"col-sm-12"},n.createElement("h3",null,n.createElement("span",{dangerouslySetInnerHTML:{__html:o.default.getResourceValueStringByFullKey("INVESTMENTSELECT_VIEW_INTROHEADER",e)}})),n.createElement("p",null,n.createElement("div",{dangerouslySetInnerHTML:{__html:o.default.getResourceValueStringByFullKey("INVESTMENTSELECT_VIEW_INTROBODY",e).replace("[[SWITCH_BALANCE_URL]]",t)}})))),n.createElement("div",{className:"row"},n.createElement("div",{className:"col-sm-12"},n.createElement("h3",null,n.createElement("span",{dangerouslySetInnerHTML:{__html:o.default.getResourceValueStringByFullKey("INVESTMENTSELECT_VIEW_INTROHEADER2",e)}})),n.createElement("p",null,n.createElement("span",{dangerouslySetInnerHTML:{__html:o.default.getResourceValueStringByFullKey("INVESTMENTSELECT_VIEW_INTROBODY2",e).replace("[[OPEN_REBALANCE_SCREEN]]",'<a id="clickBtn">Click Here</a>')}}))))))};t.default=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=r(8),a=r(3),s=r(34),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.render=function(){return o.createElement("div",null,o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("p",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_EXAMPLETABLE",this.props)}})),i.default.hasViewPermissionByKeyPath(this.props,"showExampleGrid")?o.createElement(s.default,{resources:this.props.resources}):null)),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("p",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:this.props.investentOptResourceText}})),o.createElement("div",{className:"table-responsive"},o.createElement("table",{className:"table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_HEADER1",this.props)}}),o.createElement("th",{dangerouslySetInnerHTML:{__html:a.default.getResourceValueStringByFullKey("REBALANCING_EDIT_HEADER3",this.props)}}))),o.createElement("tbody",null,this.props.investmentOptionGridRows.map(function(e){return o.createElement("tr",null,o.createElement("td",null,e.shortDescription),o.createElement("td",null,e.percentage,"%"))})))))))},t}(o.Component);t.default=u},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.devApiUrl="https://api-dev1.np.linkgroup.com/rss/memberrebalancewidget/v1",e.sitApiUrl="https://api-sit1.np.linkgroup.com/rss/memberrebalancewidget/v1",e.uatApiUrl="https://api-uat1.np.linkgroup.com/rss/memberrebalancewidget/v1",e.prodApiUrl="https://api-prd1.linkgroup.com/rss/memberrebalancewidget/v1",e.demoApiUrl="https://api-demo.orientsys.com.au/super/api/memberrebalancewidget/v1",e.uatcatApiUrl="https://api-uat-cat.orientsys.com.au/super/api/memberrebalancewidget/v1",e.uat2ApiUrl="https://api-uat-2.orientsys.com.au/super/api/memberrebalancewidget/v1",e.uat3ApiUrl="https://api-uat-3.orientsys.com.au/super/api/memberrebalancewidget/v1",e.uat4ApiUrl="https://api-uat-4.orientsys.com.au/super/api/memberrebalancewidget/v1",e.uat5ApiUrl="https://api-uat-5.orientsys.com.au/super/api/memberrebalancewidget/v1",e.applicationId="linkgroup.fundadmin.russellrebalancingwidget",e}();t.default=r},function(e,t,r){"use strict";function n(e,t){return{ajaxCallsInProgress:e.ajaxCallsInProgress,authorizationRules:e.authorizationRules,serverError:e.serverError,resources:e.resources,data:e.data,loader:e.loader}}function o(e){return{actions:l.bindActionCreators(y,e)}}var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=this&&this.__assign||Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e};Object.defineProperty(t,"__esModule",{value:!0});var s=r(1),u=r(16),l=r(9),c=r(8),f=r(35),p=r(36),h=r(37),d=r(13),m=r(10),v=r(38),E=function(e){function t(t){var r=e.call(this,t)||this;return r.notifications=[],r.data={},r.handleInvestmentsPage=function(e){void 0===e&&(e=!1),e&&r.loadInvestments(),r.setState({showConfirmation:!1,showAcknowledgement:!1,checkbox_state:r.props.data.isRebalancing})},r.handleBackButton=function(){r.setState({showConfirmation:!1,showAcknowledgement:!1})},r.loadInvestments=function(e){r.props.actions.getMemberInvestments(e)},r.showConfirmation=function(e){var t=r.state.showConfirmation;r.setState({showConfirmation:!t,checkbox_state:e})},r.handleConfirmationUpdate=function(e,t){if("error"===e);else{var n=r.state.showAcknowledgement;r.setState({showConfirmation:!1,showAcknowledgement:!n})}},r.state={showConfirmation:!1,showAcknowledgement:!1,showInvestments:!1,checkbox_state:null},r}return i(t,e),t.prototype.componentDidMount=function(){var e=this;c.default.hasViewPermissionByKeyPath(this.props,"isSwitchInvestmentPageEnabled")?c.default.hasViewPermissionByKeyPath(this.props,"RebalanceInvestments")&&$("body").on("click","#clickBtn",function(){e.props.actions.getMemberInvestments()}):this.loadInvestments()},t.prototype.componentWillReceiveProps=function(e){e.data&&e.data.isRebalancing!==this.props.data.isRebalancing&&this.setState({checkbox_state:e.data.isRebalancing})},t.prototype.render=function(){var e=!1;return this.props.data&&this.props.data.calculationDate&&(e=!0),s.createElement("div",null,s.createElement(m.default,{showLoaderMessage:this.props.loader}),!e&&c.default.hasViewPermissionByKeyPath(this.props,"isSwitchInvestmentPageEnabled")?s.createElement(v.default,{resources:this.props.resources,authorizationRules:this.props.authorizationRules,widgetId:"rebalancing-widget",serverError:this.props.serverError}):null,!e||this.state.showConfirmation||this.state.showAcknowledgement?null:s.createElement(f.default,{actions:this.props.actions,showConfirmationPage:this.showConfirmation,resources:this.props.resources,authorizationRules:this.props.authorizationRules,widgetId:"rebalancing-widget",checkbox_state:this.state.checkbox_state,data:this.props.data,serverError:this.props.serverError}),this.state.showConfirmation&&!this.state.showAcknowledgement?s.createElement(p.default,{showInvestmentsPage:this.handleInvestmentsPage,showAcknowledgenemtpage:this.handleConfirmationUpdate,actions:this.props.actions,resources:this.props.resources,checkbox_state:this.state.checkbox_state,handleBackButton:this.handleBackButton,data:this.props.data,serverError:this.props.serverError,widgetId:"rebalancing-widget"}):null,this.state.showAcknowledgement?s.createElement(h.default,{showInvestmentsPage:this.handleInvestmentsPage,resources:this.props.resources}):null)},t}(s.Component),y=a({},d.getMemberInvestments,d.default);t.default=u.connect(n,o)(E)},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),r(30);var o=r(1),i=r(54),a=r(52),s=r(53),u=r(49),l=r(16),c=r(2),f=r(19),p=r(11),h=r(41),d=r(13),m=r(33),v=r(10),E=function(e){function t(){var t=e.call(this)||this;return t.reload=function(){s.unmountComponentAtNode(document.getElementById(c.InitialState.widgetConfig.elementId)),t.store=void 0,t.init(c.InitialState.widgetConfig)},t}return n(t,e),t.prototype.init=function(t){c.InitialState.widgetConfig=t,e.prototype.init.call(this,t),i.event({category:"Widgets",action:"Load Rebalancing Tool Widget",label:"Load",nonInteraction:!1}),this.LoadRebalancingToolWidget(t)},t.prototype.LoadRebalancingToolWidget=function(e){var t=this;this.renderLoaderComponent(e.elementId);var r=[d.default.getResources(),d.default.getAuthorizationRules()],n=c.InitialState.loadInitialData();this.store=u.default(n),a.all(r).then(function(r){null!==r&&(n.resources=r[0].data,n.authorizationRules=r[1].data),t.store=u.default(n),t.renderMainComponent(t.store,e.elementId)}).catch(function(r){n.serverError=r,t.store=u.default(n),t.renderErrorComponent(e.elementId)})},t.prototype.renderMainComponent=function(e,t){s.render(o.createElement(l.Provider,{store:this.store},o.createElement(f.default,null,o.createElement(h.default,{reload:this.reload}))),document.getElementById(t))},t.prototype.renderErrorComponent=function(e){s.render(o.createElement(m.default,{errorMessage:"Sorry error occured, please try again later."}),document.getElementById(e))},t.prototype.renderLoaderComponent=function(e){s.render(o.createElement(f.default,null,o.createElement(v.default,{showLoaderMessage:!0})),document.getElementById(e))},t}(p.LgWidget),y="0.26.0";window.Lg.Fa.RebalancingToolWidgetVersion=y,window.Lg.Fa.RebalancingToolWidget=E},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.authorizationRules),t.type){case o.LOAD_PERMISSIONS_SUCCESS:return t.authorizationRules;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(5),i=r(2);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.serverError),t.type){case o.API_SERVER_ERROR:return t.error;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(5),i=r(2);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=o.InitialState.resources),t.type){case i.LOAD_RESOURCES_SUCCESS:return t.resources;default:
return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=r(5);t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9),o=r(20),i=r(45),a=r(43),s=r(47),u=r(44),l=r(21),c=r(48),f=n.combineReducers({resources:i.default,authorizationRules:a.default,ajaxCallsInProgress:o.default,serverError:u.default,data:s.default,loader:l.default,memberDetails:c.default});t.default=f},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.data),t.type){case o.MEMBER_INVESTMENTCHOICE_SUCCESS:return t.memberInvestmentOptions;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(14),i=r(2);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.data),t.type){case o.MEMBER_DETAILS_SUCCESS:return t.memberDetails;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(14),i=r(2);t.default=n},function(e,t,r){"use strict";function n(e){return o.createStore(i.default,e,o.applyMiddleware(a.default,s.loggingMiddleware))}Object.defineProperty(t,"__esModule",{value:!0});var o=r(9),i=r(46),a=r(55),s=r(51);t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.ALLOW="allow",e.DENY="deny",e.VIEW="view",e.EDIT="edit",e}();t.default=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loggingMiddleware=function(e){return function(e){return function(t){var r="production";"production"!==r&&console.log("Action:",t),e(t)}}}},function(e,t){e.exports=Promise},function(e,t){e.exports=ReactDOM},function(e,t){e.exports=ReactGA},function(e,t){e.exports=ReduxThunk}]));
//# sourceMappingURL=lg-fa-rebalancing-tool-widget.min.js.map ;// [AIV]  Build version: 0.15.0 - Tuesday, September 5th, 2023, 11:55:36 AM  
 !function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="C:\\Workspace\\APIMigration\\interest_rate_new\\rss-member-interest-rate-widget\\build\\js",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":break;case"object":t[e]=function(e){var r=e.slice(1),n=t[e[0]];return function(t,e,o){n.apply(this,[t,e,o].concat(r))}}(t[e]);break;default:t[e]=t[t[e]]}return t}([function(t,e,r){t.exports=r(34)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(11),o=function(){function t(){}return t.loadInitialData=function(){return{resources:this.resources,authorizationRules:this.authorizationRules,serverError:this.serverError,interestRate:this.interestRate}},t.interestRate=new n.InterestRateProxies.InvestmentOption,t.authorizationRules=new Array,t.serverError=new n.InterestRateProxies.ApiResponse,t.resources=new Array,t}();e.InitialState=o},function(t,e){t.exports=React},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LOAD_RESOURCES_SUCCESS="LOAD_RESOURCES_SUCCESS",e.LOAD_PERMISSIONS_SUCCESS="LOAD_PERMISSIONS_SUCCESS",e.GET_INTERESTRATE_SUCCESS="GET_INTERESTRATE_SUCCESS",e.API_SERVER_ERROR="API_SERVER_ERROR"},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BEGIN_AJAX_CALL="BEGIN_AJAX_CALL",e.AJAX_CALL_ERROR="AJAX_CALL_ERROR",e.SUCCESS_AJAX_CALL="SUCCESS_AJAX_CALL",e.LOAD_LOADER_START="LOAD_LOADER_START",e.LOAD_LOADER_SUCCESS="LOAD_LOADER_SUCCESS"},function(t,e){t.exports=Redux},function(t,e,r){"use strict";function n(){return{type:a.BEGIN_AJAX_CALL}}function o(){return{type:a.AJAX_CALL_ERROR}}function i(){return{type:a.SUCCESS_AJAX_CALL}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(4);e.beginAjaxCall=n,e.ajaxCallError=o,e.successAjaxCall=i},function(t,e,r){"use strict";function n(){return{type:i.LOAD_LOADER_START}}function o(){return{type:i.LOAD_LOADER_SUCCESS}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(4);e.startLoaderCall=n,e.successLoaderCall=o},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r;!function(t){t[t.DEV="DEV"]="DEV",t[t.SIT="SIT"]="SIT",t[t.UAT="UAT"]="UAT",t[t.PROD="PROD"]="PROD",t[t.DEMO="DEMO"]="DEMO",t[t.UATCAT="UAT-CAT"]="UATCAT",t[t.UAT2="UAT-2"]="UAT2",t[t.UAT3="UAT-3"]="UAT3",t[t.UAT4="UAT-4"]="UAT4",t[t.UAT5="UAT-5"]="UAT5",t[t.STG="STG"]="STG"}(r=e.Environment||(e.Environment={}));var n;!function(t){t[t.MobileNative="Mobile.Native"]="MobileNative",t[t.MobileWeb="Mobile.Web"]="MobileWeb",t[t.Web="Web"]="Web"}(n=e.Client||(e.Client={}));var o=function(){function t(){}return t.prototype.init=function(t){if(null==t.accessToken||""===t.accessToken)throw new Error("Please supply a access token");if(null==t.planCode||""===t.planCode)throw new Error("Please supply a planCode");if(null==t.memberId||""===t.memberId)throw new Error("Please supply a member id");if(null==t.environment)throw new Error("Please supply environment");if(null==t.client?t.client=n.Web:null==t.isImpersonated?t.isImpersonated=!1:void 0!==t.data&&null!=t.data||(t.data={}),void 0!==t.hasEditAccess&&null!=t.hasEditAccess||(t.hasEditAccess=!0),t.useGoogleAnalytics&&!window.ga){if(t.environment!==r.DEV)throw new Error("Please add analytics script in hosting application");console.warn("Please add analytics script in hosting application")}},t}();e.LgWidget=o},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.ajaxCallsInProgress=0,t.loader=!1,t}();e.InitialState=r},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(29),i=r(11),a=function(t){function e(){var e=t.call(this)||this;return e.setupHttpClient(),e}return n(e,t),e.prototype.setupHttpClient=function(){this.interestRateProxyClient=new i.InterestRateProxies.Client(this.baseUrl,{fetch:this.overrideFetch})},e.prototype.getResources=function(t,e,r,n,o,i,a){var s=this.applicationId;return this.interestRateProxyClient.plansResourcesByPlanCodeAndApplicationIdGet(t,s,e,r,n,o,i,a)},e.prototype.getAuthorizationRules=function(t,e,r){var n=this.applicationId;return this.interestRateProxyClient.plansAuthorizationrulesByPlanCodeAndApplicationIdGet(e,n,r)},e.prototype.getInterestRateByPlanCodeAndMemberId=function(t,e,r,n){return this.interestRateProxyClient.plansMembersInterestRateByPlanCodeAndPlanMemberIdGet(t,e,r,n)},e}(o.default);e.default=a},function(t,e){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var n;!function(t){function e(t,e,r,n,o){throw new g(t,e,r,n,o)}var n=function(){function t(t,e){this.jsonParseReviver=void 0,this.http=e?e:window,this.baseUrl=t?t:"https://api-dev.apac.linkgroup.corp:8183/api/memberdbinterestratewidget/v1"}return t.prototype.serviceStatusGet=function(){var t=this,e=this.baseUrl+"/service/status";e=e.replace(/[?&]$/,"");var r={method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(e,r).then(function(e){return t.processServiceStatusGet(e)})},t.prototype.processServiceStatusGet=function(t){var r=this,n=t.status,o={};return t.headers&&t.headers.forEach&&t.headers.forEach(function(t,e){return o[e]=t}),200===n?t.text().then(function(t){var e=null,n=""===t?null:JSON.parse(t,r.jsonParseReviver);return e=n?a.fromJS(n):new a}):503===n?t.text().then(function(t){var i=null,a=""===t?null:JSON.parse(t,r.jsonParseReviver);return i=void 0!==a?a:null,e("A server error occurred.",n,t,o,i)}):401===n?t.text().then(function(t){var i=null,a=""===t?null:JSON.parse(t,r.jsonParseReviver);return i=void 0!==a?a:null,e("A server error occurred.",n,t,o,i)}):403===n?t.text().then(function(t){var i=null,a=""===t?null:JSON.parse(t,r.jsonParseReviver);return i=void 0!==a?a:null,e("A server error occurred.",n,t,o,i)}):200!==n&&204!==n?t.text().then(function(t){return e("An unexpected server error occurred.",n,t,o)}):Promise.resolve(null)},t.prototype.plansResourcesByPlanCodeAndApplicationIdGet=function(t,e,r,n,o,i,a,s){var u=this,c=this.baseUrl+"/plans/{planCode}/resources/{applicationId}?";if(void 0===t||null===t)throw new Error("The parameter 'planCode' must be defined.");if(c=c.replace("{planCode}",encodeURIComponent(""+t)),void 0===e||null===e)throw new Error("The parameter 'applicationId' must be defined.");c=c.replace("{applicationId}",encodeURIComponent(""+e)),void 0!==r&&(c+="clientType="+encodeURIComponent(""+r)+"&"),void 0!==n&&(c+="classificationId="+encodeURIComponent(""+n)+"&"),void 0!==o&&(c+="moduleName="+encodeURIComponent(""+o)+"&"),void 0!==i&&(c+="componentName="+encodeURIComponent(""+i)+"&"),void 0!==a&&(c+="elementName="+encodeURIComponent(""+a)+"&"),c=c.replace(/[?&]$/,"");var l={method:"GET",headers:{"X-Correlation-Id":void 0!==s&&null!==s?""+s:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(c,l).then(function(t){return u.processPlansResourcesByPlanCodeAndApplicationIdGet(t)})},t.prototype.processPlansResourcesByPlanCodeAndApplicationIdGet=function(t){var r=this,n=t.status,i={};return t.headers&&t.headers.forEach&&t.headers.forEach(function(t,e){return i[e]=t}),200===n?t.text().then(function(t){var e=null,n=""===t?null:JSON.parse(t,r.jsonParseReviver);return e=n?y.fromJS(n):null}):401===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):403===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):404===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):200!==n&&204!==n?t.text().then(function(t){return e("An unexpected server error occurred.",n,t,i)}):Promise.resolve(null)},t.prototype.plansAuthorizationrulesByPlanCodeAndApplicationIdGet=function(t,e,r){var n=this,o=this.baseUrl+"/plans/{planCode}/authorizationrules/{applicationId}";if(void 0===t||null===t)throw new Error("The parameter 'planCode' must be defined.");if(o=o.replace("{planCode}",encodeURIComponent(""+t)),void 0===e||null===e)throw new Error("The parameter 'applicationId' must be defined.");o=o.replace("{applicationId}",encodeURIComponent(""+e)),o=o.replace(/[?&]$/,"");var i={method:"GET",headers:{"X-Correlation-Id":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(o,i).then(function(t){return n.processPlansAuthorizationrulesByPlanCodeAndApplicationIdGet(t)})},t.prototype.processPlansAuthorizationrulesByPlanCodeAndApplicationIdGet=function(t){var r=this,n=t.status,i={};return t.headers&&t.headers.forEach&&t.headers.forEach(function(t,e){return i[e]=t}),200===n?t.text().then(function(t){var e=null,n=""===t?null:JSON.parse(t,r.jsonParseReviver);return e=n?v.fromJS(n):null}):401===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):403===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):404===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):200!==n&&204!==n?t.text().then(function(t){return e("An unexpected server error occurred.",n,t,i)}):Promise.resolve(null)},t.prototype.plansMembersInterestRateByPlanCodeAndPlanMemberIdGet=function(t,e,r,n){var o=this,i=this.baseUrl+"/plans/{planCode}/members/{planMemberId}/interestRate?";if(void 0===t||null===t)throw new Error("The parameter 'planCode' must be defined.");if(i=i.replace("{planCode}",encodeURIComponent(""+t)),void 0===e||null===e)throw new Error("The parameter 'planMemberId' must be defined.");i=i.replace("{planMemberId}",encodeURIComponent(""+e)),void 0!==r&&(i+="classificationId="+encodeURIComponent(""+r)+"&"),i=i.replace(/[?&]$/,"");var a={method:"GET",headers:{"X-Correlation-Id":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json",Accept:"application/json"}};return this.http.fetch(i,a).then(function(t){return o.processPlansMembersInterestRateByPlanCodeAndPlanMemberIdGet(t)})},t.prototype.processPlansMembersInterestRateByPlanCodeAndPlanMemberIdGet=function(t){var r=this,n=t.status,i={};return t.headers&&t.headers.forEach&&t.headers.forEach(function(t,e){return i[e]=t}),200===n?t.text().then(function(t){var e=null,n=""===t?null:JSON.parse(t,r.jsonParseReviver);return e=n?f.fromJS(n):null}):401===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):403===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):404===n?t.text().then(function(t){var a=null,s=""===t?null:JSON.parse(t,r.jsonParseReviver);return a=s?o.fromJS(s):new o,e("A server error occurred.",n,t,i,a)}):200!==n&&204!==n?t.text().then(function(t){return e("An unexpected server error occurred.",n,t,i)}):Promise.resolve(null)},t}();t.Client=n;var o=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){if(t){if(t.errors&&t.errors.constructor===Array){this.errors=[];for(var e=0,r=t.errors;e<r.length;e++){var n=r[e];this.errors.push(i.fromJS(n))}}this.message=t.message}},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){if(t="object"==typeof t?t:{},this.errors&&this.errors.constructor===Array){t.errors=[];for(var e=0,r=this.errors;e<r.length;e++){var n=r[e];t.errors.push(n.toJSON())}}return t.message=this.message,t},t}();t.ApiResponse=o;var i=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){t&&(this.code=t.code,this.type=t.type,this.description=t.description)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.code=this.code,t.type=this.type,t.description=this.description,t},t}();t.ErrorDto=i;var a=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){t&&(this.status=t.status)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.status=this.status,t},t}();t.ServiceStatus=a;var s=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){t&&(this.id=t.id,this.description=t.description)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.id=this.id,t.description=this.description,t},t}();t.IdDescription=s;var u=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){t&&(this.code=t.code,this.description=t.description)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.code=this.code,t.description=this.description,t},t}();t.CodeDescription=u;var c=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){t&&(this.id=t.id,this.code=t.code,this.description=t.description)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.id=this.id,t.code=this.code,t.description=this.description,t},t}();t.IdCodeDescription=c;var l;!function(t){t[t.PERCENTAGE="PERCENTAGE"]="PERCENTAGE",t[t.HIERARCHY="HIERARCHY"]="HIERARCHY",t[t.PRORATA="PRORATA"]="PRORATA",t[t.HIGHESTBALANCE="HIGHESTBALANCE"]="HIGHESTBALANCE"}(l=t.InvestmentChoiceType||(t.InvestmentChoiceType={}));var f=function(t){function e(e){var r=t.call(this,e)||this;return e||(r.data=new p),r}return r(e,t),e.prototype.init=function(e){t.prototype.init.call(this,e),e&&(this.data=e.data?p.fromJS(e.data):new p)},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){return e="object"==typeof e?e:{},e.data=this.data?this.data.toJSON():void 0,t.prototype.toJSON.call(this,e),e},e}(o);t.InterestRateResponse=f;var p=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){t&&(this.id=t.id,this.longdescription=t.longdescription,this.shortdescription=t.shortdescription,this.rate=t.rate,this.effectiveDate=t.effectiveDate)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.id=this.id,t.longdescription=this.longdescription,t.shortdescription=this.shortdescription,t.rate=this.rate,t.effectiveDate=this.effectiveDate,t},t}();t.InvestmentOption=p;var h=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){t&&(this.key=t.key,this.value=t.value)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.key=this.key,t.value=this.value,t},t}();t.Resource=h;var d=function(){function t(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype.init=function(t){t&&(this.applicationId=t.applicationId,this.applicationPath=t.applicationPath,this.parentApplicationId=t.parentApplicationId,this.resourceId=t.resourceId,this.resourceName=t.resourceName,this.resourcePath=t.resourcePath,this.parentResourceId=t.parentResourceId,this.entityId=t.entityId,this.actionTypeId=t.actionTypeId,this.actionTypeName=t.actionTypeName,this.accessTypeId=t.accessTypeId,this.accessTypeName=t.accessTypeName)},t.fromJS=function(e){e="object"==typeof e?e:{};var r=new t;return r.init(e),r},t.prototype.toJSON=function(t){return t="object"==typeof t?t:{},t.applicationId=this.applicationId,t.applicationPath=this.applicationPath,t.parentApplicationId=this.parentApplicationId,t.resourceId=this.resourceId,t.resourceName=this.resourceName,t.resourcePath=this.resourcePath,t.parentResourceId=this.parentResourceId,t.entityId=this.entityId,t.actionTypeId=this.actionTypeId,t.actionTypeName=this.actionTypeName,t.accessTypeId=this.accessTypeId,t.accessTypeName=this.accessTypeName,t},t}();t.AuthorizationRule=d;var v=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.prototype.init=function(e){if(t.prototype.init.call(this,e),e&&e.data&&e.data.constructor===Array){this.data=[];for(var r=0,n=e.data;r<n.length;r++){var o=n[r];this.data.push(d.fromJS(o))}}},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){if(e="object"==typeof e?e:{},this.data&&this.data.constructor===Array){e.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];e.data.push(o.toJSON())}}return t.prototype.toJSON.call(this,e),e},e}(o);t.PlansAuthorizationrulesresponse=v;var y=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e.prototype.init=function(e){if(t.prototype.init.call(this,e),e&&e.data&&e.data.constructor===Array){this.data=[];for(var r=0,n=e.data;r<n.length;r++){var o=n[r];this.data.push(h.fromJS(o))}}},e.fromJS=function(t){t="object"==typeof t?t:{};var r=new e;return r.init(t),r},e.prototype.toJSON=function(e){if(e="object"==typeof e?e:{},this.data&&this.data.constructor===Array){e.data=[];for(var r=0,n=this.data;r<n.length;r++){var o=n[r];e.data.push(o.toJSON())}}return t.prototype.toJSON.call(this,e),e},e}(o);t.PlansResourcesresponse=y;var g=function(t){function e(e,r,n,o,i){var a=t.call(this)||this;return a.isSwaggerException=!0,a.message=e,a.status=r,a.response=n,a.headers=o,a.result=i,a}return r(e,t),e.isSwaggerException=function(t){return t.isSwaggerException===!0},e}(Error);t.SwaggerException=g}(n=e.InterestRateProxies||(e.InterestRateProxies={}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),o=r(41),i=function(){function t(){}return t.getResourceValueByKey=function(t,e){var r=e.componentName,i=r+"_"+t,a=o.filter(e.resources,["key",i]);return a.length>0?n.createElement("span",null,a[0].value):n.createElement("span",null,"invalid key")},t.getResourceValueByFullKey=function(t,e){var r=t,i=o.filter(e.resources,["key",r]);return i.length>0?n.createElement("span",null,i[0].value):n.createElement("span",null,"invalid key")},t.getResourceValueStringByKey=function(t,e){var r=e.componentName,n=r+"_"+t,i=o.filter(e.resources,["key",n]);return i.length>0?i[0].value:"invalid key"},t.getResourceValueStringByFullKey=function(t,e){var r=t,n=o.filter(e.resources,["key",r]);return n.length>0?n[0].value:"invalid key"},t}();e.default=i},function(t,e){t.exports=ReactRedux},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),o=function(t){return n.createElement("div",null,t.showLoaderMessage?n.createElement("div",{className:"overlay"},n.createElement("div",{className:"windows8"},n.createElement("div",{className:"wBall",id:"wBall_1"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_2"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_3"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_4"},n.createElement("div",{className:"wInnerBall"})),n.createElement("div",{className:"wBall",id:"wBall_5"},n.createElement("div",{className:"wInnerBall"})))):null)};e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),o=function(t){return n.createElement("div",null,t.children)};e.default=o},function(t,e,r){"use strict";function n(t,e){switch(void 0===t&&(t=i.InitialState.ajaxCallsInProgress),e.type){case o.BEGIN_AJAX_CALL:return t+1;case o.AJAX_CALL_ERROR:return t-1;case o.SUCCESS_AJAX_CALL:return t-1;default:return t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),i=r(9);e.default=n},function(t,e,r){"use strict";function n(t,e){switch(void 0===t&&(t=i.InitialState.loader),e.type){case o.LOAD_LOADER_START:return!0;case o.LOAD_LOADER_SUCCESS:return!1;default:return t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),i=r(9);e.default=n},function(t,e){"use strict";function r(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function n(t){return 3*t.length/4-r(t)}function o(t){var e,n,o,i,a,s=t.length;i=r(t),a=new l(3*s/4-i),n=i>0?s-4:s;var u=0;for(e=0;e<n;e+=4)o=c[t.charCodeAt(e)]<<18|c[t.charCodeAt(e+1)]<<12|c[t.charCodeAt(e+2)]<<6|c[t.charCodeAt(e+3)],a[u++]=o>>16&255,a[u++]=o>>8&255,a[u++]=255&o;return 2===i?(o=c[t.charCodeAt(e)]<<2|c[t.charCodeAt(e+1)]>>4,a[u++]=255&o):1===i&&(o=c[t.charCodeAt(e)]<<10|c[t.charCodeAt(e+1)]<<4|c[t.charCodeAt(e+2)]>>2,a[u++]=o>>8&255,a[u++]=255&o),a}function i(t){return u[t>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}function a(t,e,r){for(var n,o=[],a=e;a<r;a+=3)n=(t[a]<<16)+(t[a+1]<<8)+t[a+2],o.push(i(n));return o.join("")}function s(t){for(var e,r=t.length,n=r%3,o="",i=[],s=16383,c=0,l=r-n;c<l;c+=s)i.push(a(t,c,c+s>l?l:c+s));return 1===n?(e=t[r-1],o+=u[e>>2],o+=u[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=u[e>>10],o+=u[e>>4&63],o+=u[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=n,e.toByteArray=o,e.fromByteArray=s;for(var u=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,h=f.length;p<h;++p)u[p]=f[p],c[f.charCodeAt(p)]=p;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,e,r){(function(t){/*!
	 * The buffer module from node.js, for the browser.
	 *
	 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
	 * @license  MIT
	 */
"use strict";function n(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(o()<e)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=a.prototype):(null===t&&(t=new a(e)),t.length=e),t}function a(t,e,r){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return s(this,t,e,r)}function s(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?h(t,e,r,n):"string"==typeof e?f(t,e,r):d(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function c(t,e,r,n){return u(e),e<=0?i(t,e):void 0!==r?"string"==typeof n?i(t,e).fill(r,n):i(t,e).fill(r):i(t,e)}function l(t,e){if(u(e),t=i(t,e<0?0:0|v(e)),!a.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function f(t,e,r){if("string"==typeof r&&""!==r||(r="utf8"),!a.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|g(e,r);t=i(t,n);var o=t.write(e,r);return o!==n&&(t=t.slice(0,o)),t}function p(t,e){var r=e.length<0?0:0|v(e.length);t=i(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function h(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),a.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=a.prototype):t=p(t,e),t}function d(t,e){if(a.isBuffer(e)){var r=0|v(e.length);return t=i(t,r),0===t.length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||$(e.length)?i(t,0):p(t,e);if("Buffer"===e.type&&Q(e.data))return p(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function y(t){return+t!=t&&(t=0),a.alloc(+t)}function g(t,e){if(a.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return X(t).length;default:if(n)return H(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return B(this,e,r);case"utf8":case"utf-8":return P(this,e,r);case"ascii":return U(this,e,r);case"latin1":case"binary":return N(this,e,r);case"base64":return T(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function E(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function A(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,o);if("number"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function w(t,e,r,n,o){function i(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var a=1,s=t.length,u=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}var c;if(o){var l=-1;for(c=r;c<s;c++)if(i(t,c)===i(e,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===u)return l*a}else l!==-1&&(c-=c-l),l=-1}else for(r+u>s&&(r=s-u),c=r;c>=0;c--){for(var f=!0,p=0;p<u;p++)if(i(t,c+p)!==i(e,p)){f=!1;break}if(f)return c}return-1}function R(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function _(t,e,r,n){return K(H(e,t.length-r),t,r,n)}function S(t,e,r,n){return K(F(e),t,r,n)}function b(t,e,r,n){return S(t,e,r,n)}function I(t,e,r,n){return K(X(e),t,r,n)}function C(t,e,r,n){return K(W(e,t.length-r),t,r,n)}function T(t,e,r){return 0===e&&r===t.length?Z.fromByteArray(t):Z.fromByteArray(t.slice(e,r))}function P(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i=t[o],a=null,s=i>239?4:i>223?3:i>191?2:1;if(o+s<=r){var u,c,l,f;switch(s){case 1:i<128&&(a=i);break;case 2:u=t[o+1],128===(192&u)&&(f=(31&i)<<6|63&u,f>127&&(a=f));break;case 3:u=t[o+1],c=t[o+2],128===(192&u)&&128===(192&c)&&(f=(15&i)<<12|(63&u)<<6|63&c,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=t[o+1],c=t[o+2],l=t[o+3],128===(192&u)&&128===(192&c)&&128===(192&l)&&(f=(15&i)<<18|(63&u)<<12|(63&c)<<6|63&l,f>65535&&f<1114112&&(a=f))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=s}return O(n)}function O(t){var e=t.length;if(e<=tt)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=tt));return r}function U(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function N(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function B(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=V(t[i]);return o}function j(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,r,n,o,i){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function M(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function D(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function J(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function k(t,e,r,n,o){return o||J(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),q.write(t,e,r,n,23,4),r+4}function Y(t,e,r,n,o){return o||J(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),q.write(t,e,r,n,52,8),r+8}function G(t){if(t=z(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function V(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function F(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function W(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function X(t){return Z.toByteArray(G(t))}function K(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function $(t){return t!==t}var Z=r(18),q=r(22),Q=r(23);e.Buffer=a,e.SlowBuffer=y,e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:n(),e.kMaxLength=o(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,r){return s(null,t,e,r)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,r){return c(null,t,e,r)},a.allocUnsafe=function(t){return l(null,t)},a.allocUnsafeSlow=function(t){return l(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Q(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=a.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!a.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},a.byteLength=g,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)E(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this},a.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):m.apply(this,arguments)},a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},a.prototype.compare=function(t,e,r,n,o){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,s=r-e,u=Math.min(i,s),c=this.slice(n,o),l=t.slice(e,r),f=0;f<u;++f)if(c[f]!==l[f]){i=c[f],s=l[f];break}return i<s?-1:s<i?1:0},a.prototype.includes=function(t,e,r){return this.indexOf(t,e,r)!==-1},a.prototype.indexOf=function(t,e,r){return A(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return A(this,t,e,r,!1)},a.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return R(this,t,e,r);case"utf8":case"utf-8":return _(this,t,e,r);case"ascii":return S(this,t,e,r);case"latin1":case"binary":return b(this,t,e,r);case"base64":return I(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;a.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t);var n;if(a.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=a.prototype;else{var o=e-t;n=new a(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+t]}return n},a.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||x(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},a.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||x(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},a.prototype.readUInt8=function(t,e){return e||x(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||x(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||x(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||x(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||x(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||x(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||x(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},a.prototype.readInt8=function(t,e){return e||x(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},a.prototype.readInt16LE=function(t,e){e||x(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(t,e){e||x(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(t,e){return e||x(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||x(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||x(t,4,this.length),q.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||x(t,4,this.length),q.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||x(t,8,this.length),q.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||x(t,8,this.length),q.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;L(this,t,e,r,o,0)}var i=1,a=0;for(this[e]=255&t;++a<r&&(i*=256);)this[e+a]=t/i&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;L(this,t,e,r,o,0)}var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):D(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);L(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);L(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):D(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,r){return k(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return k(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return Y(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return Y(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!a.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var i;if("number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var s=a.isBuffer(t)?t:H(new a(t,n).toString()),u=s.length;for(i=0;i<r-e;++i)this[i+e]=s[i%u]}return this};var et=/[^+\/0-9A-Za-z-_]/g}).call(e,function(){return this}())},function(t,e,r){e=t.exports=r(21)(void 0),e.push([t.id,'@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans"),local("OpenSans"),url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:local("Open Sans Bold"),local("OpenSans-Bold"),url(https://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format("woff")}',""])},function(t,e,r){(function(e){function r(t,e){var r=t[1]||"",o=t[3];if(!o)return r;if(e){var i=n(o),a=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}function n(t){var r=new e(JSON.stringify(t)).toString("base64"),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+r;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=r(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),e.push(a))}},e}}).call(e,r(19).Buffer)},function(t,e){e.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,p=r?-1:1,h=t[e+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+t[e+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+t[e+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+f>=1?p/u:p*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,o),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;t[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+h]=255&a,h+=d,a/=256,c-=8);t[r+h-d]|=128*v}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){function n(t,e){for(var r=0;r<t.length;r++){var n=t[r],o=d[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(l(n.parts[i],e))}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(l(n.parts[i],e));d[n.id]={id:n.id,refs:1,parts:a}}}}function o(t){for(var e=[],r={},n=0;n<t.length;n++){var o=t[n],i=o[0],a=o[1],s=o[2],u=o[3],c={css:a,media:s,sourceMap:u};r[i]?r[i].parts.push(c):e.push(r[i]={id:i,parts:[c]})}return e}function i(t,e){var r=g(),n=A[A.length-1];if("top"===t.insertAt)n?n.nextSibling?r.insertBefore(e,n.nextSibling):r.appendChild(e):r.insertBefore(e,r.firstChild),A.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=A.indexOf(t);e>=0&&A.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",c(e,t.attrs),i(t,e),e}function u(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),i(t,e),e}function c(t,e){Object.keys(e).forEach(function(r){t.setAttribute(r,e[r])})}function l(t,e){var r,n,o;if(e.singleton){var i=E++;r=m||(m=s(e)),n=f.bind(null,r,i,!1),o=f.bind(null,r,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=u(e),n=h.bind(null,r,e),o=function(){a(r),r.href&&URL.revokeObjectURL(r.href)}):(r=s(e),n=p.bind(null,r),o=function(){a(r)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}function f(t,e,r,n){var o=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=R(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function p(t,e){var r=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}function h(t,e,r){var n=r.css,o=r.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(n=w(n)),o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([n],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var d={},v=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},y=v(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=v(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,E=0,A=[],w=r(25);t.exports=function(t,e){e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},"undefined"==typeof e.singleton&&(e.singleton=y()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var r=o(t);return n(r,e),function(t){for(var i=[],a=0;a<r.length;a++){var s=r[a],u=d[s.id];u.refs--,i.push(u)}if(t){var c=o(t);n(c,e)}for(var a=0;a<i.length;a++){var u=i[a];if(0===u.refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete d[u.id]}}}};var R=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var r=e.protocol+"//"+e.host,n=r+e.pathname.replace(/\/[^\/]*$/,"/"),o=t.replace(/url *\( *(.+?) *\)/g,function(t,e){var o=e.replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return t;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?r+o:n+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"});return o}},function(t,e,r){var n=r(20);"string"==typeof n&&(n=[[t.id,n,""]]),r(24)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,r){"use strict";function n(t){return{type:i.API_SERVER_ERROR,error:t}}function o(t){return{type:i.GET_INTERESTRATE_SUCCESS,interestRate:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(3),a=r(1),s=r(10),u=r(6),c=r(7);e.default={getInterestRate:function(){return function(t){t(u.beginAjaxCall()),t(c.startLoaderCall());var e=new s.default,r=a.InitialState.widgetConfig.planCode,i=a.InitialState.widgetConfig.memberId,l=a.InitialState.widgetConfig.x_Correlation_Id,f=a.InitialState.widgetConfig.classification;e.getInterestRateByPlanCodeAndMemberId(r,i,f,l).then(function(e){e&&t(o(e.data)),t(u.successAjaxCall()),t(c.successLoaderCall())}).catch(function(e){t(u.ajaxCallError()),t(c.successLoaderCall()),t(n(e))})}},getResources:function(){var t=new s.default,e=a.InitialState.widgetConfig.planCode,r=a.InitialState.widgetConfig.client.toString(),n=a.InitialState.widgetConfig.x_Correlation_Id,o=a.InitialState.widgetConfig.classification;return t.getResources(e,r,o,void 0,void 0,void 0,n)},getAuthorizationRules:function(){var t=new s.default,e=a.InitialState.widgetConfig.planCode,r=Number(a.InitialState.widgetConfig.memberId),n=a.InitialState.widgetConfig.x_Correlation_Id;return t.getAuthorizationRules(r,e,n)}}},27,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(32),o=r(1),i=r(8),a=function(){function t(){if(this.applicationId=n.default.applicationId,o.InitialState.widgetConfig.environment===i.Environment.DEV)this.baseUrl=n.default.devApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT)this.baseUrl=n.default.uatApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.SIT)this.baseUrl=n.default.sitApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.PROD)this.baseUrl=n.default.prodApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.DEMO)this.baseUrl=n.default.demoApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UATCAT)this.baseUrl=n.default.uatcatApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT3)this.baseUrl=n.default.uat3ApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT2)this.baseUrl=n.default.uat2ApiUrl;else if(o.InitialState.widgetConfig.environment===i.Environment.UAT4)this.baseUrl=n.default.uat4ApiUrl;else{if(o.InitialState.widgetConfig.environment!==i.Environment.UAT5)throw new Error("please supply a api endpoint for this widget in app config");this.baseUrl=n.default.uat5ApiUrl}this.overrideDefaultFetchSetup()}return t.prototype.overrideDefaultFetchSetup=function(){this.overrideFetch=function(t,e){return"undefined"!=typeof o.InitialState.widgetConfig.data&&o.InitialState.widgetConfig.data.hasOwnProperty("validateUserSession")&&o.InitialState.widgetConfig.data.validateUserSession(),e.headers.Authorization="Bearer "+o.InitialState.widgetConfig.accessToken,e.headers.PlanCode=o.InitialState.widgetConfig.planCode,console.log(e),fetch(t,e)}},t}();e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t};Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.error={is:!1,message:""},e}return n(e,t),e.prototype.componentDidMount=function(){this.kendoNotification=$("#"+this.props.widgetId+"NotificationArea").kendoNotification({animation:!1,appendTo:"#"+this.props.widgetId+"NotificationArea",autoHideAfter:0,hideOnClick:!1,button:!0,templates:[{type:"success",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'},{type:"warning",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'},{type:"error",template:'<div class="k-notification-wrap"> #= data.content # <span class="k-icon k-i-close" title="Hide"></span></div>'}]}).data("kendoNotification")},e.prototype.render=function(){var t=this,e=[];if(this.props.serverError)if("string"==typeof this.props.serverError)this.error.is=!0,this.error.message=this.props.errorText;else if("object"==typeof this.props.serverError)if(this.props.serverError.status)if("error"===this.props.serverError.type)this.error.is=!0,this.error.message=this.props.errorText;else if("notification"===this.props.serverError.type)switch(this.props.serverError.status){case 200:case 201:e.push({type:"success",message:"Action Performed Successfully"});break;default:e.push(o({},this.props.serverError,{type:"error"}))}else this.error.is=!0,this.error.message=this.props.errorText;else"[OBJECT OBJECT]"!==this.props.serverError.toString().toUpperCase()&&(this.error.is=!0,this.error.message=this.props.errorText);return this.error.is&&this.kendoNotification&&(this.kendoNotification.hide(),this.kendoNotification.show(this.error.message,"error")),e.length&&e.forEach(function(e){e.type&&(e.response&&e.response.message?t.kendoNotification.show(e.response.message,e.type):t.kendoNotification.show(e.message,e.type),$("html, body").animate({scrollTop:$("#"+t.props.widgetId+"NotificationContainer").offset().top},1e3))}),i.createElement("div",{id:this.props.widgetId+"NotificationArea"})},e}(i.Component);e.default=a},function(t,e,r){"use strict";var n=this&&this.__extends||function(){
var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=r(2),i=r(12),a=function(t){function e(e){var r=t.call(this,e)||this;return r.formatDate=function(){if(null==r.props.interestRate.effectiveDate||void 0==r.props.interestRate.effectiveDate)return"";var t=r.props.interestRate.effectiveDate,e=new Date(t),n=["January","February","March","April","May","June","July","August","September","October","November","December"],o=("0"+e.getDate()).slice(-2),i=e.getMonth(),a=e.getFullYear(),s=" "+o+" "+n[i]+" "+a;return s},r.renderinterestRate=function(){return o.createElement("div",{className:"interest-rate container"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("h2",null," ",o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INTERESTRATE_VIEW_PAGENAME",r.props)}})),o.createElement("div",{className:"table-responsive"},o.createElement("div",null,o.createElement("h3",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INTERESTRATE_VIEW_HEADER",r.props)}}))),o.createElement("br",null),o.createElement("div",null,o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INTERESTRATE_VIEW_INTRO",r.props).replace("[[Current Financial Year Start Date]]",r.formatDate())}})),o.createElement("br",null),o.createElement("div",{className:"strip-interestrate"},o.createElement("span",{className:"col-sm-12",dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INTERESTRATE_VIEW_TABLEHEADER",r.props)}})),o.createElement("div",null,o.createElement("p",{className:"col-xs-8"},o.createElement("span",{className:"col-sm-12",dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INTERESTRATE_VIEW_OPTIONDESCRIPTION",r.props)}})),o.createElement("p",{className:"col-xs-4"},r.props.interestRate.rate?r.props.interestRate.rate+"%":""))),o.createElement("div",null,o.createElement("br",null),o.createElement("br",null),o.createElement("br",null),o.createElement("span",{dangerouslySetInnerHTML:{__html:i.default.getResourceValueStringByFullKey("INTERESTRATE_VIEW_FOOTER",r.props)}})))))},r}return n(e,t),e.prototype.render=function(){return o.createElement("div",null,this.renderinterestRate())},e}(o.Component);e.InterestRateGroupGridComponent=a},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.devApiUrl="https://api-dev1.np.linkgroup.com/rss/memberinterestratewidget/v1",t.sitApiUrl="https://api-sit1.np.linkgroup.com/rss/memberinterestratewidget/v1",t.uatApiUrl="https://api-uat1.np.linkgroup.com/rss/memberinterestratewidget/v1",t.prodApiUrl="https://api-prd1.linkgroup.com/rss/memberinterestratewidget/v1",t.demoApiUrl="https://api-demo.orientsys.com.au/super/api/memberinterestratewidget/v1",t.uatcatApiUrl="https://api-uat-cat.orientsys.com.au/super/api/memberinterestratewidget/v1",t.uat2ApiUrl="https://api-uat-2.orientsys.com.au/super/api/memberinterestratewidget/v1",t.uat3ApiUrl="https://api-uat-3.orientsys.com.au/super/api/memberinterestratewidget/v1",t.uat4ApiUrl="https://api-uat-4.orientsys.com.au/super/api/memberinterestratewidget/v1",t.uat5ApiUrl="https://api-uat-5.orientsys.com.au/super/api/memberinterestratewidget/v1",t.applicationId="linkgroup.fundadmin.russellinterestratewidget",t}();e.default=r},function(t,e,r){"use strict";function n(t,e){return{ajaxCallsInProgress:t.ajaxCallsInProgress,authorizationRules:t.authorizationRules,resources:t.resources,interestRate:t.interestRate,serverError:t.serverError,loader:t.loader}}function o(t){return{actions:u.bindActionCreators(h.default,t),dispatch:t}}var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),s=r(13),u=r(5),c=r(30),l=r(12),f=r(14),p=r(31),h=r(28),d=function(t){function e(e){var r=t.call(this,e)||this;return r.notifications=[],r.widgetId="interestRate",r.state={serverErrorText:l.default.getResourceValueStringByFullKey("INTERESTRATE_COMMON_ERRORTEXT",r.props)},r}return i(e,t),e.prototype.componentWillMount=function(){this.props.actions.getInterestRate(),this.kendoNotification=$("#"+this.props.widgetId+"NotificationArea").data("kendoNotification")},e.prototype.render=function(){return a.createElement("div",{className:"container"},a.createElement(f.default,{showLoaderMessage:this.props.loader}),a.createElement(c.default,{widgetId:"interestRate",errorText:this.state.serverErrorText,serverError:this.props.serverError}),a.createElement(p.InterestRateGroupGridComponent,{resources:this.props.resources,authorizationRules:this.props.authorizationRules,interestRate:this.props.interestRate}))},e}(a.Component);e.default=s.connect(n,o)(d)},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),r(26);var o=r(2),i=r(44),a=r(42),s=r(43),u=r(40),c=r(13),l=r(1),f=r(15),p=r(8),h=r(33),d=r(27),v=function(t){function e(){var e=t.call(this)||this;return e.reload=function(){s.unmountComponentAtNode(document.getElementById(l.InitialState.widgetConfig.elementId)),e.store=void 0,e.init(l.InitialState.widgetConfig)},e}return n(e,t),e.prototype.init=function(e){l.InitialState.widgetConfig=e,t.prototype.init.call(this,e),i.event({category:"Widgets",action:"Load Interest Rate",label:"Load",nonInteraction:!1}),this.getResourcesAndAuthorizationRulesAndAttachWidget(e)},e.prototype.getResourcesAndAuthorizationRulesAndAttachWidget=function(t){var e=this,r=[d.default.getResources()],n=l.InitialState.loadInitialData();a.all(r).then(function(r){null!==r&&(n.resources=r[0].data),e.store=u.default(n),e.renderMainComponent(e.store,t.elementId)}).catch(function(r){n.serverError=r,e.store=u.default(n),e.renderMainComponent(e.store,t.elementId)})},e.prototype.renderMainComponent=function(t,e){s.render(o.createElement(c.Provider,{store:this.store},o.createElement(f.default,null,o.createElement(h.default,{widgetId:l.InitialState.widgetConfig.elementId,reload:this.reload,componentName:"INTERESTRATE"}))),document.getElementById(e))},e}(p.LgWidget),y="0.15.0";window.Lg.Fa.InterestRateWidget=v,window.Lg.Fa.InterestRateWidgetVersion=y},function(t,e,r){"use strict";function n(t,e){switch(void 0===t&&(t=i.InitialState.authorizationRules),e.type){case o.LOAD_PERMISSIONS_SUCCESS:return e.authorizationRules;default:return t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(3),i=r(1);e.default=n},function(t,e,r){"use strict";function n(t,e){switch(void 0===t&&(t=i.InitialState.serverError),e.type){case o.API_SERVER_ERROR:return e.error;default:return t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(3),i=r(1);e.default=n},function(t,e,r){"use strict";function n(t,e){switch(void 0===t&&(t=i.InitialState.resources),e.type){case o.LOAD_RESOURCES_SUCCESS:return e.resources;default:return t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(3),i=r(1);e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(5),o=r(16),i=r(37),a=r(35),s=r(39),u=r(36),c=r(17),l=n.combineReducers({authorizationRules:a.default,resources:i.default,interestRate:s.default,ajaxCallsInProgress:o.default,serverError:u.default,loader:c.default});e.default=l},function(t,e,r){"use strict";function n(t,e){switch(void 0===t&&(t=o.InitialState.interestRate),e.type){case i.GET_INTERESTRATE_SUCCESS:return e.interestRate;default:return t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(1),i=r(3);e.default=n},function(t,e,r){"use strict";function n(t){return o.createStore(i.default,t,o.applyMiddleware(a.default))}Object.defineProperty(e,"__esModule",{value:!0});var o=r(5),i=r(38),a=r(45);e.default=n},function(t,e){t.exports=Lodash},function(t,e){t.exports=Promise},function(t,e){t.exports=ReactDOM},function(t,e){t.exports=ReactGA},function(t,e){t.exports=ReduxThunk}]));
//# sourceMappingURL=lg-fa-interestRate-widget.min.js.map ;