/* Minification failed. Returning unminified contents.
(2,2404-2411): run-time warning JS1010: Expected identifier: default
(2,3631-3638): run-time warning JS1010: Expected identifier: default
(2,3753-3760): run-time warning JS1010: Expected identifier: default
(2,4164-4171): run-time warning JS1010: Expected identifier: default
(2,4284-4291): run-time warning JS1010: Expected identifier: default
(2,4746-4753): run-time warning JS1010: Expected identifier: default
(2,4990-4997): run-time warning JS1010: Expected identifier: default
(2,5317-5324): run-time warning JS1010: Expected identifier: default
(2,5585-5592): run-time warning JS1010: Expected identifier: default
(2,5786-5793): run-time warning JS1010: Expected identifier: default
(2,6145-6152): run-time warning JS1010: Expected identifier: default
(2,6445-6452): run-time warning JS1010: Expected identifier: default
(2,7199-7206): run-time warning JS1010: Expected identifier: default
(2,7258-7265): run-time warning JS1010: Expected identifier: default
(2,7297-7304): run-time warning JS1010: Expected identifier: default
(2,7508-7515): run-time warning JS1010: Expected identifier: default
(2,7567-7574): run-time warning JS1010: Expected identifier: default
(2,7606-7613): run-time warning JS1010: Expected identifier: default
(2,7636-7643): run-time warning JS1010: Expected identifier: default
(2,9675-9682): run-time warning JS1010: Expected identifier: default
(2,9807-9814): run-time warning JS1010: Expected identifier: default
(2,10102-10109): run-time warning JS1010: Expected identifier: default
(2,10313-10318): run-time warning JS1010: Expected identifier: catch
(2,10504-10511): run-time warning JS1010: Expected identifier: default
(2,10686-10693): run-time warning JS1010: Expected identifier: default
(2,30958-30965): run-time warning JS1010: Expected identifier: default
(3,301-308): run-time warning JS1010: Expected identifier: default
(3,464-471): run-time warning JS1010: Expected identifier: default
(3,3756-3763): run-time warning JS1010: Expected identifier: default
(3,4081-4088): run-time warning JS1010: Expected identifier: default
(3,6312-6319): run-time warning JS1010: Expected identifier: default
(3,6626-6633): run-time warning JS1010: Expected identifier: default
(3,6893-6900): run-time warning JS1010: Expected identifier: default
(10,6092-6099): run-time warning JS1010: Expected identifier: default
(10,6103-6110): run-time warning JS1010: Expected identifier: default
(10,6323-6330): run-time warning JS1010: Expected identifier: default
(10,6424-6431): run-time warning JS1010: Expected identifier: default
(10,6525-6532): run-time warning JS1010: Expected identifier: default
(10,6627-6634): run-time warning JS1010: Expected identifier: default
(10,6730-6737): run-time warning JS1010: Expected identifier: default
(10,6835-6842): run-time warning JS1010: Expected identifier: default
(10,6940-6947): run-time warning JS1010: Expected identifier: default
(10,7043-7050): run-time warning JS1010: Expected identifier: default
(10,7146-7153): run-time warning JS1010: Expected identifier: default
(10,7249-7256): run-time warning JS1010: Expected identifier: default
(10,7429-7436): run-time warning JS1010: Expected identifier: default
(10,7726-7733): run-time warning JS1010: Expected identifier: default
(10,8432-8439): run-time warning JS1010: Expected identifier: default
(10,8663-8670): run-time warning JS1010: Expected identifier: default
(10,8897-8904): run-time warning JS1010: Expected identifier: default
(10,9810-9817): run-time warning JS1010: Expected identifier: default
(10,9953-9960): run-time warning JS1010: Expected identifier: default
(10,10048-10053): run-time warning JS1028: Expected identifier or string: class
(10,10368-10375): run-time warning JS1010: Expected identifier: default
(10,10601-10608): run-time warning JS1010: Expected identifier: default
(10,11135-11142): run-time warning JS1010: Expected identifier: default
(10,11204-11211): run-time warning JS1010: Expected identifier: default
(10,11747-11754): run-time warning JS1010: Expected identifier: default
(10,12664-12671): run-time warning JS1010: Expected identifier: default
(10,13250-13257): run-time warning JS1010: Expected identifier: default
(10,14657-14664): run-time warning JS1010: Expected identifier: default
(10,14765-14772): run-time warning JS1010: Expected identifier: default
(10,14788-14795): run-time warning JS1010: Expected identifier: default
(10,15191-15198): run-time warning JS1010: Expected identifier: default
(10,15268-15275): run-time warning JS1010: Expected identifier: default
(10,15576-15583): run-time warning JS1010: Expected identifier: default
(10,16326-16333): run-time warning JS1010: Expected identifier: default
(10,16419-16426): run-time warning JS1010: Expected identifier: default
(10,16688-16695): run-time warning JS1010: Expected identifier: default
(10,16937-16944): run-time warning JS1010: Expected identifier: default
(10,17128-17135): run-time warning JS1010: Expected identifier: default
(10,17744-17751): run-time warning JS1010: Expected identifier: default
(10,17955-17962): run-time warning JS1010: Expected identifier: default
(10,18866-18873): run-time warning JS1010: Expected identifier: default
(10,18999-19006): run-time warning JS1010: Expected identifier: default
(10,19227-19232): run-time warning JS1028: Expected identifier or string: class
(10,19413-19420): run-time warning JS1010: Expected identifier: default
(10,19513-19518): run-time warning JS1028: Expected identifier or string: class
(10,19828-19835): run-time warning JS1010: Expected identifier: default
(10,19921-19926): run-time warning JS1028: Expected identifier or string: class
(10,20369-20376): run-time warning JS1010: Expected identifier: default
(10,21068-21075): run-time warning JS1010: Expected identifier: default
(10,21510-21517): run-time warning JS1010: Expected identifier: default
(10,22576-22583): run-time warning JS1010: Expected identifier: default
(10,23705-23712): run-time warning JS1010: Expected identifier: default
(10,24602-24609): run-time warning JS1010: Expected identifier: default
(10,27407-27414): run-time warning JS1010: Expected identifier: default
(10,27518-27525): run-time warning JS1010: Expected identifier: default
(10,27872-27879): run-time warning JS1010: Expected identifier: default
(10,27977-27984): run-time warning JS1010: Expected identifier: default
(10,28893-28900): run-time warning JS1010: Expected identifier: default
(10,29362-29369): run-time warning JS1010: Expected identifier: default
(10,29961-29968): run-time warning JS1010: Expected identifier: default
(10,30277-30284): run-time warning JS1010: Expected identifier: default
(10,30599-30606): run-time warning JS1010: Expected identifier: default
(10,31379-31386): run-time warning JS1010: Expected identifier: default
(10,31405-31412): run-time warning JS1010: Expected identifier: default
(11,428-435): run-time warning JS1010: Expected identifier: default
(11,468-475): run-time warning JS1010: Expected identifier: default
(11,493-500): run-time warning JS1010: Expected identifier: default
(11,710-717): run-time warning JS1010: Expected identifier: default
(11,766-771): run-time warning JS1010: Expected identifier: catch
(11,810-817): run-time warning JS1010: Expected identifier: default
(11,1581-1588): run-time warning JS1010: Expected identifier: default
(11,1612-1619): run-time warning JS1010: Expected identifier: default
(11,2113-2120): run-time warning JS1010: Expected identifier: default
(11,2381-2388): run-time warning JS1010: Expected identifier: default
(11,2650-2657): run-time warning JS1010: Expected identifier: default
(11,2901-2908): run-time warning JS1010: Expected identifier: default
(11,3146-3153): run-time warning JS1010: Expected identifier: default
(11,3422-3429): run-time warning JS1010: Expected identifier: default
(11,3662-3669): run-time warning JS1010: Expected identifier: default
(11,3910-3917): run-time warning JS1010: Expected identifier: default
(11,4130-4137): run-time warning JS1010: Expected identifier: default
(11,4145-4152): run-time warning JS1010: Expected identifier: default
(11,4174-4181): run-time warning JS1010: Expected identifier: default
(11,4204-4211): run-time warning JS1010: Expected identifier: default
(11,4226-4233): run-time warning JS1010: Expected identifier: default
(11,4246-4253): run-time warning JS1010: Expected identifier: default
(11,4263-4270): run-time warning JS1010: Expected identifier: default
(11,4293-4300): run-time warning JS1010: Expected identifier: default
(11,4314-4321): run-time warning JS1010: Expected identifier: default
(11,4345-4352): run-time warning JS1010: Expected identifier: default
(11,4357-4364): run-time warning JS1010: Expected identifier: default
(11,4434-4441): run-time warning JS1010: Expected identifier: default
(11,4464-4471): run-time warning JS1010: Expected identifier: default
(11,4580-4587): run-time warning JS1010: Expected identifier: default
(11,4770-4777): run-time warning JS1010: Expected identifier: default
(2,2404-2411): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,3631-3638): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,3753-3760): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,4164-4171): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,4284-4291): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,4746-4753): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,4990-4997): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,5317-5324): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,5585-5592): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,5786-5793): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,6145-6152): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,6445-6452): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,7199-7206): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,7258-7265): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,7297-7304): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,7508-7515): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,7567-7574): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,7606-7613): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,7636-7643): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,9675-9682): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,9807-9814): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,10102-10109): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,10313-10318): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(2,10504-10511): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,10686-10693): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(2,30958-30965): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(3,301-308): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(3,464-471): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(3,3756-3763): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(3,4081-4088): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(3,6312-6319): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(3,6626-6633): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(3,6893-6900): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6092-6099): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6103-6110): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6323-6330): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6424-6431): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6525-6532): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6627-6634): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6730-6737): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6835-6842): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,6940-6947): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,7043-7050): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,7146-7153): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,7249-7256): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,7429-7436): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,7726-7733): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,8432-8439): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,8663-8670): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,8897-8904): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,9810-9817): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,9953-9960): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,10368-10375): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,10601-10608): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,11135-11142): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,11204-11211): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,11747-11754): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,12664-12671): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,13250-13257): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,14657-14664): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,14765-14772): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,14788-14795): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,15191-15198): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,15268-15275): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,15576-15583): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,16326-16333): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,16419-16426): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,16688-16695): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,16937-16944): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,17128-17135): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,17744-17751): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,17955-17962): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,18866-18873): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,18999-19006): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,19413-19420): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,19828-19835): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,20369-20376): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,21068-21075): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,21510-21517): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,22576-22583): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,23705-23712): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,24602-24609): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,27407-27414): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,27518-27525): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,27872-27879): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,27977-27984): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,28893-28900): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,29362-29369): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,29961-29968): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,30277-30284): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,30599-30606): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,31379-31386): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(10,31405-31412): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,428-435): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,468-475): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,493-500): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,766-771): run-time error JS1137: 'catch' is a new reserved word and should not be used as an identifier: catch
(11,710-717): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,810-817): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,1581-1588): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,1612-1619): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,2113-2120): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,2381-2388): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,2650-2657): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,2901-2908): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,3146-3153): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,3422-3429): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,3662-3669): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,3910-3917): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4130-4137): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4145-4152): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4174-4181): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4204-4211): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4226-4233): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4246-4253): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4263-4270): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4293-4300): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4314-4321): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4345-4352): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4357-4364): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4434-4441): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4464-4471): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4580-4587): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(11,4770-4777): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
 */
// [AIV]  Build version: 1.15.0 - Tuesday, September 5th, 2023, 12:23:40 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\\FA_Widgets\\rss-member-benefit-quote-widget\\build\\js",t(0)}([function(e,t,r){e.exports=r(45)},function(e,t){e.exports=React},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_LOOKUPS_SUCCESS="LOAD_LOOKUPS_SUCCESS",t.LOAD_RESOURCES_SUCCESS="LOAD_RESOURCES_SUCCESS",t.LOAD_PERMISSIONS_SUCCESS="LOAD_PERMISSIONS_SUCCESS",t.LOAD_BENEFITQUOTE_SUCCESS="LOAD_BENEFITQUOTE_SUCCESS",t.LOAD_BENEFITQUOTETYPE_SUCCESS="LOAD_BENEFITQUOTETYPE_SUCCESS",t.MODECHANGE_MEMBERBENEFITQUOTE_SUCCESS="MODECHANGE_MEMBERBENEFITQUOTE_SUCCESS",t.CHANGEEMPLOYEE_ISEMPLOYEE_SUCCESS="CHANGEEMPLOYEE_ISEMPLOYEE_SUCCESS",t.CHANGEEMPLOYEE_ISRETIRMENTTYPE_SUCCESS="CHANGEEMPLOYEE_ISRETIRMENTTYPE_SUCCESS",t.API_SERVER_ERROR="API_SERVER_ERROR"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(13),o=function(){function e(){}return e.loadInitialData=function(){return{benefitQuoteType:this.benefitQuoteType,authorizationRules:this.authorizationRules,benefitQuoteDetails:this.benefitQuoteDetails,resources:this.resources,serverError:this.serverError,mode:this.mode,isEmployee:this.isEmployee,isPermanentlyRetired:this.isPermanentlyRetired}},e.benefitQuoteType=new Array,e.benefitQuoteDetails=new Array,e.resources=new Array,e.authorizationRules=new Array,e.serverError=new n.MemberBenefitQuoteProxy.Error,e}();t.InitialState=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=r(8),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,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,i=r(1),s=r(4),a=r(42);!function(e){e[e.Hide=1]="Hide",e[e.View=2]="View"}(o||(o={})),t.Mode=o;var u;!function(e){e[e.Yes=1]="Yes",e[e.No=0]="No"}(u||(u={})),t.isEmployee=u;var l;!function(e){e[e.Yes=1]="Yes",e[e.No=0]="No"}(l||(l={})),t.isPermanentlyRetired=l;var c=function(e){function t(t){return e.call(this,t)||this}return n(t,e),t.prototype.componentDidMount=function(){},t.prototype.render=function(){var e=this.props.benefitQuoteType,t=this.props.payeeTypeList,r=this.props.isEmployee===u.Yes,n=this.props.isPermanentlyRetired===l.Yes;return i.createElement("div",null,i.createElement("div",{className:"row"},i.createElement("div",{className:"col-md-4 col-sm-6 col-xs-12",id:"benefit_type"},i.createElement("p",{className:"widget-label col-xs-12 col-sm-4 col-md-4"},i.createElement("strong",null,s.default.getResourceValueByFullKey(this.props.componentName+"_BENEFITTYPELABEL",this.props))),e.length>1?i.createElement(a.default,{id:"benefitType",className:"col-xs-12 col-sm-6 col-md-8",onChange:this.props.onBenefitTypeChange,options:e}):i.createElement("p",{className:"widget-label col-xs-12 col-sm-8 col-md-8"},e[0].benefitType.description)),i.createElement("div",{className:"col-md-4 col-sm-6 col-xs-12",id:"payee_type"},i.createElement("p",{className:"widget-label col-xs-12 col-sm-4 col-md-4"},i.createElement("strong",null,s.default.getResourceValueByFullKey(this.props.componentName+"_PAYEETYPELABEL",this.props))),t.length>1?i.createElement(a.default,{id:"payeeType",className:"col-xs-12 col-sm-6 col-md-8",onChange:this.props.onPayeeTypeChange,options:t,selectVal:this.props.selectedPayeeTypeId}):i.createElement("p",{className:"widget-label col-xs-12 col-sm-8 col-md-8"},t[0].description)),i.createElement("div",{className:"col-md-4 col-sm-4 col-xs-12 pull-right"},i.createElement("button",{className:"btn btn-form-default col-md-6 col-sm-12 col-xs-12 pull-left",onClick:this.props.onViewButtonClick},s.default.getResourceValueByFullKey(this.props.componentName+"_GENERATEBUTTONLABEL",this.props)))),i.createElement("div",{className:"row"}),i.createElement("div",{className:"row"},i.createElement("div",{className:"col-md-8 col-sm-8 col-xs-12"},s.default.getResourceValueByFullKey(this.props.componentName+"_ISEMPLOYEDLABEL",this.props)),i.createElement("div",{className:"col-md-4 col-sm-4 col-xs-12"},i.createElement("input",{type:"radio",name:"isEmployedRadioButton",value:"true",onClick:this.props.buttonChangeAction,checked:r}),i.createElement("label",{htmlFor:"Yes"},s.default.getResourceValueByFullKey(this.props.componentName+"_ISEMPLOYEDYESLABEL",this.props)),i.createElement("input",{type:"radio",name:"isEmployedRadioButton",value:"false",onClick:this.props.buttonChangeAction,checked:!r}),i.createElement("label",{htmlFor:"Yes"},s.default.getResourceValueByFullKey(this.props.componentName+"_ISEMPLOYEDNOLABEL",this.props)))),i.createElement("div",{className:"row"},i.createElement("div",{className:"col-md-8 col-sm-8 col-xs-12"},s.default.getResourceValueByFullKey(this.props.componentName+"_ISPERMANENTLYRETIREDLABEL",this.props)),i.createElement("div",{className:"col-md-4 col-sm-4 col-xs-12"},i.createElement("input",{type:"radio",name:"isPermanentlyRetiredRadioButton",value:"true",onClick:this.props.buttonChangeAction,checked:n,disabled:!r}),i.createElement("label",{htmlFor:"Yes"},s.default.getResourceValueByFullKey(this.props.componentName+"_ISPERMANENTLYRETIREDYESLABEL",this.props)),i.createElement("input",{type:"radio",name:"isPermanentlyRetiredRadioButton",value:"false",onClick:this.props.buttonChangeAction,checked:!n,disabled:!r}),i.createElement("label",{htmlFor:"Yes"},s.default.getResourceValueByFullKey(this.props.componentName+"_ISPERMANENTLYRETIREDNOLABEL",this.props)))))},t}(i.Component);t.MemberBenefitQuoteFilterComponent=c},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(8),o=r(56),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("/"),s=n.filter(e.authorizationRules,{resourcePath:i,actionTypeName:o.default.VIEW});return s.length>0&&(s[0].accessTypeName===o.default.ALLOW||s[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("/"),s=n.filter(e.authorizationRules,{resourcePath:i,actionTypeName:o.default.EDIT});return s.length>0&&(s[0].accessTypeName===o.default.ALLOW||s[0].accessTypeName!==o.default.DENY&&void 0)},e}();t.default=i},function(e,t){e.exports=Lodash},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:s.API_SERVER_ERROR,error:e}}function o(e){return{type:s.LOAD_BENEFITQUOTE_SUCCESS,benefitQuoteDetails:e}}var i=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(2),a=r(3),u=r(35),l=r(17),c=r(18);t.default={getDetails:function(){return function(e){e(l.beginAjaxCall()),e(c.startLoaderCall())}},getResources:function(){var e=new u.default,t=a.InitialState.widgetConfig.planCode,r=a.InitialState.widgetConfig.planMemberId,n=a.InitialState.widgetConfig.clientType;return e.plansResources(r,t,n)},getBenefitDetails:function(e,t,r,s,p){return void 0===p&&(p=!1),function(d){d(l.beginAjaxCall()),d(c.startLoaderCall());var f=new u.default,h=a.InitialState.widgetConfig.planCode,m=a.InitialState.widgetConfig.planMemberId;f.getBenefitDetails(m,h,e,t,r,s).then(function(e){e.data&&d(o(e.data)),d(l.successAjaxCall()),d(c.successLoaderCall())}).catch(function(e){d(l.ajaxCallError()),d(c.successLoaderCall()),p?d(n(i({},e,{type:"error"}))):(d(n(i({},e,{type:"notification"}))),d(n({})))})}},getAuthorizationRules:function(){var e=new u.default,t=a.InitialState.widgetConfig.planCode,r=a.InitialState.widgetConfig.x_Correlation_Id;return e.getAuthorizationRules(t,r)},getMembersBenefitquotetypes:function(){var e=new u.default,t=a.InitialState.widgetConfig.planCode,r=a.InitialState.widgetConfig.planMemberId;return e.getMembersBenefitquotetypes(r,t)}}},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){var t=function(){function e(e,t){this.baseUrl=void 0,this.jsonParseReviver=void 0,this.baseUrl=e?e:"",this.http=t?t:window}return e.prototype.plansAuthorizationrulesByPlanCode=function(e,t){var r=this,n=this.baseUrl+"/plans/{planCode}/authorizationrules";if(void 0===e||null===e)throw new i("The parameter 'planCode' must be defined.");n=n.replace("{planCode}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");var o={method:"GET",headers:{"X-Correlation-Id":t,"Content-Type":"application/json; charset=UTF-8",Accept:"application/json; charset=UTF-8"}};return this.http.fetch(n,o).then(function(e){return r.processPlansAuthorizationrulesByPlanCode(e)})},e.prototype.processPlansAuthorizationrulesByPlanCode=function(e){var t=this;return e.text().then(function(r){var n=e.status;if(200===n){var i=null,s=""===r?null:JSON.parse(r,t.jsonParseReviver);return i=s?o.fromJS(s):new o}if(401===n){var u=null,l=""===r?null:JSON.parse(r,t.jsonParseReviver);u=l?a.fromJS(l):new a,t.throwException("A server error occurred.",n,r,u)}else if(403===n){var c=null,p=""===r?null:JSON.parse(r,t.jsonParseReviver);c=p?a.fromJS(p):new a,t.throwException("A server error occurred.",n,r,c)}else if(404===n){var d=null,f=""===r?null:JSON.parse(r,t.jsonParseReviver);d=f?a.fromJS(f):new a,t.throwException("A server error occurred.",n,r,d)}else 200!==n&&204!==n&&t.throwException("An unexpected server error occurred.",n,r);return null})},e.prototype.plansMembersBenefitquotesByPlanCode=function(e,t,r,n,o,s,a){var u=this,l=this.baseUrl+"/plans/{planCode}/members/{planMemberId}/benefitquotes?";if(void 0===e||null===e)throw new i("The parameter 'planMemberId' must be defined.");if(l=l.replace("{planMemberId}",encodeURIComponent(""+e)),void 0===t||null===t)throw new i("The parameter 'planCode' must be defined.");l=l.replace("{planCode}",encodeURIComponent(""+t)),void 0!==r&&(l+="benefitType="+encodeURIComponent(""+r)+"&"),void 0!==n&&(l+="payeeType="+encodeURIComponent(""+n)+"&"),void 0!==o&&(l+="isEmployed="+encodeURIComponent(""+o)+"&"),void 0!==s&&(l+="isPermanentlyRetired="+encodeURIComponent(""+s)+"&"),l=l.replace(/[?&]$/,"");var c={method:"GET",headers:{"X-Correlation-Id":a,"Content-Type":"application/json; charset=UTF-8",Accept:"application/json; charset=UTF-8"}};return this.http.fetch(l,c).then(function(e){return u.processPlansMembersBenefitquotesByPlanCode(e)})},e.prototype.processPlansMembersBenefitquotesByPlanCode=function(e){var t=this;return e.text().then(function(r){var n=e.status;if(200===n){var o=null,i=""===r?null:JSON.parse(r,t.jsonParseReviver);return o=i?u.fromJS(i):new u}if(401===n){var s=null,l=""===r?null:JSON.parse(r,t.jsonParseReviver);s=l?a.fromJS(l):new a,t.throwException("A server error occurred.",n,r,s)}else if(403===n){var c=null,p=""===r?null:JSON.parse(r,t.jsonParseReviver);c=p?a.fromJS(p):new a,t.throwException("A server error occurred.",n,r,c)}else if(404===n){var d=null,f=""===r?null:JSON.parse(r,t.jsonParseReviver);d=f?a.fromJS(f):new a,t.throwException("A server error occurred.",n,r,d)}else 200!==n&&204!==n&&t.throwException("An unexpected server error occurred.",n,r);return null})},e.prototype.plansMembersBenefitquotetypesByPlanCode=function(e,t,r){var n=this,o=this.baseUrl+"/plans/{planCode}/members/{planMemberId}/benefitquotetypes";if(void 0===e||null===e)throw new i("The parameter 'planMemberId' must be defined.");if(o=o.replace("{planMemberId}",encodeURIComponent(""+e)),void 0===t||null===t)throw new i("The parameter 'planCode' must be defined.");o=o.replace("{planCode}",encodeURIComponent(""+t)),o=o.replace(/[?&]$/,"");var s={method:"GET",headers:{"X-Correlation-Id":r,"Content-Type":"application/json; charset=UTF-8",Accept:"application/json; charset=UTF-8"}};return this.http.fetch(o,s).then(function(e){return n.processPlansMembersBenefitquotetypesByPlanCode(e)})},e.prototype.processPlansMembersBenefitquotetypesByPlanCode=function(e){var t=this;return e.text().then(function(r){var n=e.status;if(200===n){var o=null,i=""===r?null:JSON.parse(r,t.jsonParseReviver);return o=i?d.fromJS(i):new d}if(401===n){var s=null,u=""===r?null:JSON.parse(r,t.jsonParseReviver);s=u?a.fromJS(u):new a,t.throwException("A server error occurred.",n,r,s)}else if(403===n){var l=null,c=""===r?null:JSON.parse(r,t.jsonParseReviver);l=c?a.fromJS(c):new a,t.throwException("A server error occurred.",n,r,l)}else if(404===n){var p=null,f=""===r?null:JSON.parse(r,t.jsonParseReviver);p=f?a.fromJS(f):new a,t.throwException("A server error occurred.",n,r,p)}else 200!==n&&204!==n&&t.throwException("An unexpected server error occurred.",n,r);return null})},e.prototype.plansMembersResourcesByPlanCode=function(e,t,r,n){var o=this,s=this.baseUrl+"/plans/{planCode}/members/{planMemberId}/resources?";if(void 0===e||null===e)throw new i("The parameter 'planMemberId' must be defined.");if(s=s.replace("{planMemberId}",encodeURIComponent(""+e)),void 0===t||null===t)throw new i("The parameter 'planCode' must be defined.");s=s.replace("{planCode}",encodeURIComponent(""+t)),void 0!==r&&(s+="clientType="+encodeURIComponent(""+r)+"&"),s=s.replace(/[?&]$/,"");var a={method:"GET",headers:{"X-Correlation-Id":n,"Content-Type":"application/json; charset=UTF-8",Accept:"application/json; charset=UTF-8"}};return this.http.fetch(s,a).then(function(e){return o.processPlansMembersResourcesByPlanCode(e)})},e.prototype.processPlansMembersResourcesByPlanCode=function(e){var t=this;return e.text().then(function(r){var n=e.status;if(200===n){var o=null,i=""===r?null:JSON.parse(r,t.jsonParseReviver);return o=i?m.fromJS(i):new m}return 200!==n&&204!==n&&t.throwException("An unexpected server error occurred.",n,r),null})},e.prototype.throwException=function(e,t,r,n){throw null!==n&&void 0!==n?n:new v(e,t,r,null)},e}();e.Client=t;var n=function(){function e(e){if(void 0!==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(i.fromJS(n))}}this.message=void 0!==e.message?e.message:void 0}}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){if(e=void 0===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.toJS())}}return e.message=void 0!==this.message?this.message:void 0,e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.ApiResponse=n;var o=function(e){function t(t){var r=e.call(this,t)||this;if(void 0!==t&&t.data&&t.data.constructor===Array){r.data=[];for(var n=0,o=t.data;n<o.length;n++){var i=o[n];r.data.push(s.fromJS(i))}}return r}return r(t,e),t.fromJS=function(e){return new t(e)},t.prototype.toJS=function(t){if(t=void 0===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.toJS())}}return e.prototype.toJS.call(this,t),t},t.prototype.toJSON=function(){return JSON.stringify(this.toJS())},t.prototype.clone=function(){var e=this.toJSON();return new t(JSON.parse(e))},t}(n);e.PlansAuthorizationrulesResponse=o;var i=function(){function e(e){void 0!==e&&(this.code=void 0!==e.code?e.code:void 0,this.type=void 0!==e.type?e.type:void 0,this.description=void 0!==e.description?e.description:void 0)}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){return e=void 0===e?{}:e,e.code=void 0!==this.code?this.code:void 0,e.type=void 0!==this.type?this.type:void 0,e.description=void 0!==this.description?this.description:void 0,e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.Error=i;var s=function(){function e(e){void 0!==e&&(this.applicationId=void 0!==e.applicationId?e.applicationId:void 0,this.applicationPath=void 0!==e.applicationPath?e.applicationPath:void 0,this.resourceId=void 0!==e.resourceId?e.resourceId:void 0,this.resourceName=void 0!==e.resourceName?e.resourceName:void 0,this.resourcePath=void 0!==e.resourcePath?e.resourcePath:void 0,this.entityId=void 0!==e.entityId?e.entityId:void 0,this.actionTypeId=void 0!==e.actionTypeId?e.actionTypeId:void 0,this.actionTypeName=void 0!==e.actionTypeName?e.actionTypeName:void 0,this.accessTypeId=void 0!==e.accessTypeId?e.accessTypeId:void 0,this.accessTypeName=void 0!==e.accessTypeName?e.accessTypeName:void 0,this.parentApplicationId=void 0!==e.parentApplicationId?e.parentApplicationId:void 0,this.parentResourceId=void 0!==e.parentResourceId?e.parentResourceId:void 0)}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){return e=void 0===e?{}:e,e.applicationId=void 0!==this.applicationId?this.applicationId:void 0,e.applicationPath=void 0!==this.applicationPath?this.applicationPath:void 0,e.resourceId=void 0!==this.resourceId?this.resourceId:void 0,e.resourceName=void 0!==this.resourceName?this.resourceName:void 0,e.resourcePath=void 0!==this.resourcePath?this.resourcePath:void 0,e.entityId=void 0!==this.entityId?this.entityId:void 0,e.actionTypeId=void 0!==this.actionTypeId?this.actionTypeId:void 0,e.actionTypeName=void 0!==this.actionTypeName?this.actionTypeName:void 0,e.accessTypeId=void 0!==this.accessTypeId?this.accessTypeId:void 0,e.accessTypeName=void 0!==this.accessTypeName?this.accessTypeName:void 0,e.parentApplicationId=void 0!==this.parentApplicationId?this.parentApplicationId:void 0,e.parentResourceId=void 0!==this.parentResourceId?this.parentResourceId:void 0,e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.AuthorizationRule=s;var a=function(){function e(e){if(void 0!==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(i.fromJS(n))}}this.message=void 0!==e.message?e.message:void 0}}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){if(e=void 0===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.toJS())}}return e.message=void 0!==this.message?this.message:void 0,e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.ApiResponse4=a;var u=function(e){function t(t){var r=e.call(this,t)||this;return void 0!==t&&(r.data=t.data?l.fromJS(t.data):void 0),r}return r(t,e),t.fromJS=function(e){return new t(e)},t.prototype.toJS=function(t){return t=void 0===t?{}:t,t.data=this.data?this.data.toJS():void 0,e.prototype.toJS.call(this,t),t},t.prototype.toJSON=function(){return JSON.stringify(this.toJS())},t.prototype.clone=function(){var e=this.toJSON();return new t(JSON.parse(e))},t}(n);e.PlansMembersBenefitquotesResponse=u;var l=function(){function e(e){if(void 0!==e){if(this.planCode=void 0!==e.planCode?e.planCode:void 0,this.planMemberId=void 0!==e.planMemberId?e.planMemberId:void 0,this.benefitTypeCode=void 0!==e.benefitTypeCode?e.benefitTypeCode:void 0,this.payeeTypeCode=void 0!==e.payeeTypeCode?e.payeeTypeCode:void 0,this.calculationDate=void 0!==e.calculationDate?e.calculationDate:void 0,this.grossAccumulation=void 0!==e.grossAccumulation?e.grossAccumulation:void 0,this.grossNotional=void 0!==e.grossNotional?e.grossNotional:void 0,this.finalAverageSalary=void 0!==e.finalAverageSalary?e.finalAverageSalary:void 0,this.accruedMultiple=void 0!==e.accruedMultiple?e.accruedMultiple:void 0,this.grossInsurance=void 0!==e.grossInsurance?e.grossInsurance:void 0,this.totalFee=void 0!==e.totalFee?e.totalFee:void 0,this.benefitProtectionRebate=void 0!==e.benefitProtectionRebate?e.benefitProtectionRebate:void 0,this.contributionsTax=void 0!==e.contributionsTax?e.contributionsTax:void 0,this.noTaxFileNumberTax=void 0!==e.noTaxFileNumberTax?e.noTaxFileNumberTax:void 0,this.totalPremiums=void 0!==e.totalPremiums?e.totalPremiums:void 0,this.lumpSum=void 0!==e.lumpSum?e.lumpSum:void 0,this.lumpSumInterest=void 0!==e.lumpSumInterest?e.lumpSumInterest:void 0,this.lumpSumTax=void 0!==e.lumpSumTax?e.lumpSumTax:void 0,this.netAmount=void 0!==e.netAmount?e.netAmount:void 0,e.preservationComponents&&e.preservationComponents.constructor===Array){this.preservationComponents=[];for(var t=0,r=e.preservationComponents;t<r.length;t++){var n=r[t];this.preservationComponents.push(c.fromJS(n))}}if(e.taxableComponents&&e.taxableComponents.constructor===Array){this.taxableComponents=[];for(var o=0,i=e.taxableComponents;o<i.length;o++){var n=i[o];this.taxableComponents.push(p.fromJS(n))}}}}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){if(e=void 0===e?{}:e,e.planCode=void 0!==this.planCode?this.planCode:void 0,e.planMemberId=void 0!==this.planMemberId?this.planMemberId:void 0,e.benefitTypeCode=void 0!==this.benefitTypeCode?this.benefitTypeCode:void 0,e.payeeTypeCode=void 0!==this.payeeTypeCode?this.payeeTypeCode:void 0,e.calculationDate=void 0!==this.calculationDate?this.calculationDate:void 0,e.grossAccumulation=void 0!==this.grossAccumulation?this.grossAccumulation:void 0,e.grossNotional=void 0!==this.grossNotional?this.grossNotional:void 0,e.finalAverageSalary=void 0!==this.finalAverageSalary?this.finalAverageSalary:void 0,e.accruedMultiple=void 0!==this.accruedMultiple?this.accruedMultiple:void 0,e.grossInsurance=void 0!==this.grossInsurance?this.grossInsurance:void 0,e.totalFee=void 0!==this.totalFee?this.totalFee:void 0,e.benefitProtectionRebate=void 0!==this.benefitProtectionRebate?this.benefitProtectionRebate:void 0,e.contributionsTax=void 0!==this.contributionsTax?this.contributionsTax:void 0,e.noTaxFileNumberTax=void 0!==this.noTaxFileNumberTax?this.noTaxFileNumberTax:void 0,e.totalPremiums=void 0!==this.totalPremiums?this.totalPremiums:void 0,e.lumpSum=void 0!==this.lumpSum?this.lumpSum:void 0,e.lumpSumInterest=void 0!==this.lumpSumInterest?this.lumpSumInterest:void 0,e.lumpSumTax=void 0!==this.lumpSumTax?this.lumpSumTax:void 0,e.netAmount=void 0!==this.netAmount?this.netAmount:void 0,this.preservationComponents&&this.preservationComponents.constructor===Array){e.preservationComponents=[];for(var t=0,r=this.preservationComponents;t<r.length;t++){var n=r[t];e.preservationComponents.push(n.toJS())}}if(this.taxableComponents&&this.taxableComponents.constructor===Array){e.taxableComponents=[];for(var o=0,i=this.taxableComponents;o<i.length;o++){var n=i[o];e.taxableComponents.push(n.toJS())}}return e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.BenefitQuote=l;var c=function(){function e(e){void 0!==e&&(this.componentType=void 0!==e.componentType?e.componentType:void 0,this.grossAmount=void 0!==e.grossAmount?e.grossAmount:void 0)}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){return e=void 0===e?{}:e,e.componentType=void 0!==this.componentType?this.componentType:void 0,e.grossAmount=void 0!==this.grossAmount?this.grossAmount:void 0,e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.PreservationComponent=c;var p=function(){function e(e){void 0!==e&&(this.componentType=void 0!==e.componentType?e.componentType:void 0,this.grossAmount=void 0!==e.grossAmount?e.grossAmount:void 0,this.taxAmount=void 0!==e.taxAmount?e.taxAmount:void 0,this.netAmount=void 0!==e.netAmount?e.netAmount:void 0)}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){return e=void 0===e?{}:e,e.componentType=void 0!==this.componentType?this.componentType:void 0,e.grossAmount=void 0!==this.grossAmount?this.grossAmount:void 0,e.taxAmount=void 0!==this.taxAmount?this.taxAmount:void 0,e.netAmount=void 0!==this.netAmount?this.netAmount:void 0,e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.TaxableComponent=p;var d=function(e){function t(t){var r=e.call(this,t)||this;if(void 0!==t&&t.data&&t.data.constructor===Array){r.data=[];for(var n=0,o=t.data;n<o.length;n++){var i=o[n];r.data.push(f.fromJS(i))}}return r}return r(t,e),t.fromJS=function(e){return new t(e)},t.prototype.toJS=function(t){if(t=void 0===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.toJS())}}return e.prototype.toJS.call(this,t),t},t.prototype.toJSON=function(){return JSON.stringify(this.toJS())},t.prototype.clone=function(){var e=this.toJSON();return new t(JSON.parse(e))},t}(n);e.PlansMembersBenefitquotetypesResponse=d;var f=function(){function e(e){if(this.benefitType=new h,this.payeeTypes=[],void 0!==e&&(this.benefitType=e.benefitType?h.fromJS(e.benefitType):new h,e.payeeTypes&&e.payeeTypes.constructor===Array)){this.payeeTypes=[];for(var t=0,r=e.payeeTypes;t<r.length;t++){var n=r[t];this.payeeTypes.push(h.fromJS(n))}}}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){if(e=void 0===e?{}:e,e.benefitType=this.benefitType?this.benefitType.toJS():void 0,this.payeeTypes&&this.payeeTypes.constructor===Array){e.payeeTypes=[];for(var t=0,r=this.payeeTypes;t<r.length;t++){var n=r[t];e.payeeTypes.push(n.toJS())}}return e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.BenefitQuoteType=f;var h=function(){function e(e){void 0!==e&&(this.code=void 0!==e.code?e.code:void 0,this.description=void 0!==e.description?e.description:void 0)}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){return e=void 0===e?{}:e,e.code=void 0!==this.code?this.code:void 0,e.description=void 0!==this.description?this.description:void 0,e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.CodeDescription=h;var m=function(e){function t(t){var r=e.call(this,t)||this;if(void 0!==t&&t.data&&t.data.constructor===Array){r.data=[];for(var n=0,o=t.data;n<o.length;n++){var i=o[n];r.data.push(y.fromJS(i))}}return r}return r(t,e),t.fromJS=function(e){return new t(e)},t.prototype.toJS=function(t){if(t=void 0===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.toJS())}}return e.prototype.toJS.call(this,t),t},t.prototype.toJSON=function(){return JSON.stringify(this.toJS())},t.prototype.clone=function(){var e=this.toJSON();return new t(JSON.parse(e))},t}(n);e.PlansMembersResourcesResponse=m;var y=function(){function e(e){void 0!==e&&(this.key=void 0!==e.key?e.key:void 0,this.value=void 0!==e.value?e.value:void 0)}return e.fromJS=function(t){return new e(t)},e.prototype.toJS=function(e){return e=void 0===e?{}:e,e.key=void 0!==this.key?this.key:void 0,e.value=void 0!==this.value?this.value:void 0,e},e.prototype.toJSON=function(){return JSON.stringify(this.toJS())},e.prototype.clone=function(){var t=this.toJSON();return new e(JSON.parse(t))},e}();e.Resource=y;var v=function(e){function t(t,r,n,o){var i=e.call(this)||this;return i.message=t,i.status=r,i.response=n,i.result=o,i}return r(t,e),t}(i);e.SwaggerException=v}(n=t.MemberBenefitQuoteProxy||(t.MemberBenefitQuoteProxy={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(e){return n.createElement("div",{className:"row"},n.createElement("div",{className:"col-sm-9 col-xs-12"},e.displayName),n.createElement("div",{className:"col-sm-2 col-xs-10 currency-float-right"},e.displayValue))};t.default=o},function(e,t){e.exports=ReactGA},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(6);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(6);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";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);t.WidgetErrorComponent=function(e){return n.createElement("div",null,n.createElement("p",null,"An error has occurred retrieving the details for Member ",e.memberId,":"),n.createElement("p",null,e.message),n.createElement("p",null,"Please select reload, to try again"),n.createElement("button",{onClick:e.reload,className:"btn btn-primary"}," RELOAD "))}},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=r(15),a=r(21),u=r(23),l=function(e){function t(t){var r=e.call(this,t)||this;return r.error={is:!1,message:""},r.state={collapsed:t.collapsed},r.handleCollapse=r.handleCollapse.bind(r),r}return n(t,e),t.prototype.handleCollapse=function(){var e=this.state.collapsed;if(this.setState({collapsed:!this.state.collapsed}),e&&this.props.data&&this.props.data.analytics&&this.props.data.analytics.isEnabled&&this.props.data.analytics.GAID){var t=s.ga();t("send","event","Widgets","Viewed",this.props.widgetName,{dimension1:this.props.data.analytics.officeStaffId,dimension2:this.props.memberId,dimension3:new Date,dimension4:this.props.planCode,dimension5:this.props.data.analytics.adviserId})}},t.prototype.render=function(){var e=[],t=this.props.errorComponent;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:e.push({type:"success",message:"Action Performed Successfully"});break;default:e.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.props.notifications&&this.props.notifications.length&&(e=this.props.notifications),i.createElement("div",{className:this.props.headerClass},i.createElement("div",{className:"panel-group",id:this.props.id+"Accordio"},i.createElement("div",{className:"panel panel-default"},i.createElement("div",{className:"panel-heading"},i.createElement("h4",{className:"panel-title"},i.createElement("a",{className:this.state.collapsed?"accordion-toggle collapsed":"accordion-toggle",onClick:this.handleCollapse,"data-toggle":"collapse"},this.props.title))),i.createElement("div",{id:this.props.id,className:this.state.collapsed?"panel-collapse collapse":"panel-collapse collapse in","aria-expanded":"false"},i.createElement("div",{className:"panel-body"},i.createElement(u.default,{id:this.props.id,notifications:e}),this.error.is?this.props.showCustomError&&this.props.errorComponent?i.createElement(t,{reload:this.props.reload}):i.createElement(a.WidgetErrorComponent,{memberId:this.props.memberId,message:this.error.message,reload:this.props.reload}):this.props.children)))))},t}(i.Component);t.default=l},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=function(e){function t(t){return e.call(this,t)||this}return n(t,e),t.prototype.componentDidMount=function(){var e=this;this.kendoNotification=$("#"+this.props.id+"NotificationArea").kendoNotification({animation:!1,appendTo:"#"+this.props.id+"NotificationContainer",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"),this.props.notifications.length&&this.props.notifications.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.id+"NotificationContainer").offset().top},1e3))})},t.prototype.componentWillReceiveProps=function(e){var t=this;this.kendoNotification&&e.notifications.length&&e.notifications.forEach(function(e){if(e.type){var r={};if(e.response)try{r=JSON.parse(e.response)}catch(e){r={}}e.response&&r.message?t.kendoNotification.show(r.message,e.type):t.kendoNotification.show(e.message,e.type),$("html, body").animate({scrollTop:$("#"+t.props.id+"NotificationContainer").offset().top},1e3)}})},t.prototype.render=function(){return o.createElement("div",null,o.createElement("span",{id:this.props.id+"NotificationArea"}),o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-12"},o.createElement("div",{id:this.props.id+"NotificationContainer"}))))},t}(o.Component);t.default=i},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(6),i=r(11);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(6),i=r(11);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),s=i[0],a=i[1],u=new p(o(e,s,a)),l=0,d=a>0?s-4:s;for(n=0;n<d;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===a&&(t=c[e.charCodeAt(n)]<<2|c[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===a&&(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 s(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function a(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(s(n));return o.join("")}function u(e){for(var t,r=e.length,n=r%3,o=[],i=16383,s=0,u=r-n;s<u;s+=i)o.push(a(e,s,s+i>u?u:s+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=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,h=d.length;f<h;++f)l[f]=d[f],c[d.charCodeAt(f)]=f;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 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):h(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|v(t,r);e=i(e,n);var o=e.write(t,r);return o!==n&&(e=e.slice(0,o)),e}function d(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=d(e,t),e}function h(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||H(t.length)?i(e,0):d(e,t);if("Buffer"===t.type&&Z(t.data))return d(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 y(e){return+e!=e&&(e=0),s.alloc(+e)}function v(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 G(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 G(e).length;t=(""+t).toLowerCase(),n=!0}}function g(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 M(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return B(this,t,r);case"base64":return O(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function E(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(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:S(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):S(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function S(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,d=0;d<u;d++)if(i(e,l+d)!==i(t,d)){p=!1;break}if(p)return l}return-1}function T(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 A(e,t,r,n){return W(G(t,e.length-r),e,r,n)}function w(e,t,r,n){return W(q(t),e,r,n)}function _(e,t,r,n){return w(e,t,r,n)}function C(e,t,r,n){return W(K(t),e,r,n)}function R(e,t,r,n){return W(z(t,e.length-r),e,r,n)}function O(e,t,r){return 0===t&&r===e.length?X.fromByteArray(e):X.fromByteArray(e.slice(t,r))}function P(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 N(n)}function N(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 I(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 B(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 M(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 U(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 x(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(!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 L(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 j(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 k(e,t,r,n,o){return o||j(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(e,t,r,n,23,4),r+4}function Q(e,t,r,n,o){return o||j(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(e,t,r,n,52,8),r+8}function Y(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 V(e){return e<16?"0"+e.toString(16):e.toString(16)}function G(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 q(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=[],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 X.toByteArray(Y(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 H(e){return e!==e}var X=r(26),$=r(31),Z=r(28);t.Buffer=s,t.SlowBuffer=y,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=v,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)E(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)E(this,t,t+3),E(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)E(this,t,t+7),E(this,t+1,t+6),E(this,t+2,t+5),E(this,t+3,t+4);return this},s.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?P(this,0,e):g.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 b(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return b(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 T(this,e,t,r);case"utf8":case"utf-8":return A(this,e,t,r);case"ascii":return w(this,e,t,r);case"latin1":case"binary":return _(this,e,t,r);case"base64":return C(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(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||x(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||x(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||x(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||x(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||x(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||x(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||x(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||x(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||x(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||x(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},s.prototype.readInt16LE=function(e,t){t||x(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||x(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||x(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||x(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||x(e,4,this.length),$.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||x(e,4,this.length),$.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||x(e,8,this.length),$.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||x(e,8,this.length),$.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;D(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;D(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||D(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||D(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||D(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):J(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||D(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):J(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);D(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);D(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||D(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||D(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||D(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||D(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):J(this,e,t,!0),t+4},s.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),s.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},s.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return Q(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return Q(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:G(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){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){t=e.exports=r(30)(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(27).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,s,a=8*o-n-1,u=(1<<a)-1,l=u>>1,c=-7,p=r?o-1:0,d=r?-1:1,f=e[t+p];for(p+=d,i=f&(1<<-c)-1,f>>=-c,c+=a;c>0;i=256*i+e[t+p],p+=d,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+e[t+p],p+=d,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,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,h=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?d/u:d*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+=h,a/=256,o-=8);for(s=s<<o|a,l+=o;l>0;e[r+f]=255&s,f+=h,s/=256,l-=8);e[r+f-h]|=128*m}},function(e,t,r){function n(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=h[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));h[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=v(),n=b[b.length-1];if("top"===e.insertAt)n?n.nextSibling?r.insertBefore(t,n.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),b.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=b.indexOf(e);t>=0&&b.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=E++;r=g||(g=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=d.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=T(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 d(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=S(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 h={},m=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},y=m(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=m(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,E=0,b=[],S=r(33);e.exports=function(e,t){t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},"undefined"==typeof t.singleton&&(t.singleton=y()),"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=h[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 h[u.id]}}}};var T=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(29);"string"==typeof n&&(n=[[e.id,n,""]]),r(32)(n,{}),n.locals&&(e.exports=n.locals)},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(36),i=r(13),s=function(e){function t(){var t=e.call(this)||this;return t.setupHttpClient(),t}return n(t,e),t.prototype.setupHttpClient=function(){this.memberBenefitQuoteProxyClient=new i.MemberBenefitQuoteProxy.Client(this.baseUrl,{fetch:this.overrideFetch})},t.prototype.getMembersBenefitquotetypes=function(e,t){return this.memberBenefitQuoteProxyClient.plansMembersBenefitquotetypesByPlanCode(e,t,"")},t.prototype.getBenefitDetails=function(e,t,r,n,o,i){return this.memberBenefitQuoteProxyClient.plansMembersBenefitquotesByPlanCode(e,t,r,n,o,i,"")},t.prototype.plansResources=function(e,t,r){return this.memberBenefitQuoteProxyClient.plansMembersResourcesByPlanCode(e,t,r,"")},t.prototype.getAuthorizationRules=function(e,t){return this.memberBenefitQuoteProxyClient.plansAuthorizationrulesByPlanCode(e,"")},t}(o.default);t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(43),o=r(3),i=r(10),s=function(){function e(){if(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)this.baseUrl=n.default.uat5ApiUrl;else{if(o.InitialState.widgetConfig.environment!==i.Environment.STG)throw new Error("please supply a api endpoint for this widget in app config");this.baseUrl=n.default.stgApiUrl}this.overrideDefaultFetchSetup()}return e.prototype.overrideDefaultFetchSetup=function(){this.overrideFetch=function(e,t){return t.headers.Authorization="Bearer "+o.InitialState.widgetConfig.accessToken,t.headers.PlanCode=o.InitialState.widgetConfig.planCode,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(1),i=r(7),s=r(4),a=r(14),u=function(e){function t(t){var r=e.call(this,t)||this;return r.showHideData=function(e){var t=e.detailRow;if(console.log(e.data),e.data.componentType)if(console.log(e.data.componentType,"1"),"*PRESERVED"==e.data.componentType){console.log(r.props);var n=s.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_PRESERVATIONCOMPONENTS_PRESERVEDDESCRIPTION",r.props);t.find(".member-benefit-quote-preserve-details-grid").append(n)}else if("*RESTRICTED"==e.data.componentType){var n=s.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_PRESERVATIONCOMPONENTS_RESTRICTEDDESCRIPTION",r.props);t.find(".member-benefit-quote-preserve-details-grid").append(n)}else if("*UNRESTRICTED"==e.data.componentType){var n=s.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_PRESERVATIONCOMPONENTS_NONRESTRICTEDDESCRIPTION",r.props);t.find(".member-benefit-quote-preserve-details-grid").append(n)}},r}return n(t,e),t.prototype.componentDidMount=function(){this.attachGrid()},t.prototype.componentWillReceiveProps=function(){var e=$("#member-benefit-quote-preserve-grid").data("kendoGrid");setTimeout(function(){e.dataSource.read()},100)},t.prototype.attachGrid=function(){$("#member-benefit-quote-preserve-grid").kendoGrid({dataSource:new kendo.data.DataSource({transport:{read:function(e){e.success(this.props.benefitQuoteDetails)}.bind(this)},schema:{data:"preservationComponents"},aggregate:[{field:"grossAmount",aggregate:"sum"}]}),groupable:!1,sortable:!1,width:600,filterable:!1,pageable:!1,detailInit:this.showHideData,detailTemplate:kendo.template($("#preserve-template").html()),columns:[{field:"componentType",title:s.default.getResourceValueStringByKey("PRESERVATIONCOMPONENTSLABEL",this.props),footerTemplate:"Total:",width:350},{field:"grossAmount ",title:s.default.getResourceValueStringByKey("GROSSLABEL",this.props),format:"{0:c2}",headerAttributes:{class:"currency-float-right"},template:'<div class="float-right currency-float-right"><span>#= kendo.toString(grossAmount, "n") #</span></div>',aggregates:["sum"],footerTemplate:'<div class="float-right currency-float-right">#=kendo.toString(data["grossAmount"].sum, "n")#</div>',width:150},{field:"grossAmount",title:s.default.getResourceValueStringByKey("GROSSLABEL",this.props),hidden:!0}],columnMenu:!1}),this.applyPermissionsToGrid()},t.prototype.applyPermissionsToGrid=function(){var e=$("#member-benefit-quote-preserve-grid").data("kendoGrid");i.default.hasViewPermissionByKeyPath(this.props,"memberBenefitQuoteWidget","preservationComponents")?e.showColumn("gross","net","preservedDescription","restrictedDescription","unrestrictedDescription","Total Description"):e.hideColumn("gross","net","preservedDescription","restrictedDescription","unrestrictedDescription","Total Description")},t.prototype.render=function(){return o.createElement("div",{className:"col-md-12"},o.createElement("div",{className:"col-md-12 no-collapse-header"},o.createElement("h3",null,o.createElement(a.default,{data:this.props.benefitQuoteDetails.netAmount,displayName:s.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_SUMMARYCOMPONENT_NETPAYMENTLABEL",this.props),displayValue:kendo.toString(this.props.benefitQuoteDetails.netAmount,"n2")}))),o.createElement("div",{className:"col-xs-12 benefit-quote-table"},o.createElement("div",{id:"member-benefit-quote-preserve-grid"})),o.createElement("script",{type:"text/x-kendo-template",id:"preserve-template"},o.createElement("div",{className:"tabstrip"},o.createElement("div",{className:"member-benefit-quote-preserve-details-grid"}))))},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(4),s=function(e){function t(t){return e.call(this,t)||this}return n(t,e),t.prototype.render=function(){var e=this;return o.createElement("div",{className:this.props.openAccordian?"row collapse-header":"row collapse-header collapsed",onClick:function(){return e.props.onOpen(e.props.index)},"data-toggle":"collapse","data-parent":"#accordion","aria-expanded":this.props.index===this.props.openAccordian},o.createElement("div",{className:"col-sm-9 col-xs-12"},o.createElement("h3",null,i.default.getResourceValueByFullKey(this.props.componentName+"_NETPAYMENTLABEL",this.props))),o.createElement("div",{className:"col-sm-2 col-xs-10"},o.createElement("h3",null,kendo.toString(this.props.benefitQuoteDetails.netAmount,"n2"))),o.createElement("div",{className:"col-sm-1 col-xs-2"},o.createElement("h3",{className:"pull-right"},o.createElement("span",{className:"glyphicon glyphicon-chevron-right glyphicon-align-left","aria-hidden":"true"}),o.createElement("span",{className:"glyphicon glyphicon-chevron-down glyphicon-align-left","aria-hidden":"true"}))))},t}(o.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)}}(),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},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&(r[n[o]]=e[n[o]]);return r};Object.defineProperty(t,"__esModule",{value:!0});var s=r(1),a=r(7),u=r(14),l=r(4),c=r(8),p=function(e){function t(t){return e.call(this,t)||this}return n(t,e),t.prototype.applyPermissionsToGrid=function(){},t.prototype.getBenefitQuoteSummaryDetails=function(){var e=this,t=[],r=this.props.benefitQuoteDetails,n=r.lumpSumInterest,p=i(r,["lumpSumInterest"]),d=o({lumpSumInterest:n},p);return c.forEach(d,function(r,n){["payeeTypeCode","planCode","planMemberId","benefitTypeCode","preservationComponents","taxableComponents","netAmount"].indexOf(n)===-1&&(a.default.hasViewPermissionByKeyPath(e.props,"memberBenefitQuoteWidget","summary",n)?t.push(s.createElement(u.default,{displayName:l.default.getResourceValueStringByFullKey(e.props.componentName+"_"+n.toUpperCase()+"LABEL",e.props)+":",displayValue:r.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2}),key:n})):null)}),t},t.prototype.render=function(){return s.createElement("div",{className:"col-md-12"},s.createElement("div",{className:"col-md-12 no-collapse-header"},s.createElement("h3",null,s.createElement(u.default,{data:this.props.benefitQuoteDetails.grossAccumulation,displayName:l.default.getResourceValueByFullKey(this.props.componentName+"_GROSSACCUMULATIONLABEL",this.props),displayValue:kendo.toString(this.props.benefitQuoteDetails.grossAccumulation,"n2")}))),s.createElement("div",{className:"col-md-12 no-collapse-content"},this.getBenefitQuoteSummaryDetails()))},t}(s.Component);t.default=p},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(4),s=r(7),a=function(e){function t(t){return e.call(this,t)||this}return n(t,e),t.prototype.render=function(){var e=this.props.benefitQuoteDetails.calculationDate;return o.createElement("div",null,o.createElement("div",{className:"row"},o.createElement("div",{className:"col-sm-2 col-xs-12"},o.createElement("b",null,i.default.getResourceValueByFullKey(this.props.componentName+"_QUOTEDATELABEL",this.props))),s.default.hasViewPermissionByKeyPath(this.props,"memberBenefitQuoteWidget","header","quoteDate")?o.createElement("div",{className:"col-sm-2 col-xs-10"},kendo.toString(new Date(e),"dd/MM/yyyy")):null,o.createElement("div",{className:"col-sm-2"},o.createElement("b",null,i.default.getResourceValueByFullKey(this.props.componentName+"_WITHDRAWALTYPELABEL",this.props))),o.createElement("div",{className:"col-sm-2"},this.props.selectedbenefitTypeDesc),o.createElement("div",{className:"col-sm-2"},o.createElement("b",null,i.default.getResourceValueByFullKey(this.props.componentName+"_PAYEETYPELABEL",this.props))),o.createElement("div",{className:"col-sm-2"},this.props.selectedPayeeTypeDesc)))},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(7),s=r(4),a=function(e){function t(t){var r=e.call(this,t)||this;return r.showHideData=function(e){var t=e.detailRow;if(e.data.componentType)if("*TAXED"===e.data.componentType){var n=s.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_TAXCOMPONENTS_TAXEDDESCRIPTION",r.props);t.find(".member-benefit-quote-tax-details-grid").append(n)}else if("*TAXFREE"===e.data.componentType){var n=s.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_TAXCOMPONENTS_UNTAXEDDESCRIPTION",r.props);t.find(".member-benefit-quote-tax-details-grid").append(n)}},r}return n(t,e),t.prototype.componentDidMount=function(){this.attachGrid()},t.prototype.componentWillReceiveProps=function(){var e=$("#member-benefit-quote-tax-grid").data("kendoGrid");setTimeout(function(){e.dataSource.read()},100)},t.prototype.attachGrid=function(){$("#member-benefit-quote-tax-grid").kendoGrid({dataSource:new kendo.data.DataSource({transport:{read:function(e){e.success(this.props.benefitQuoteDetails)}.bind(this)},aggregate:[{field:"grossAmount",aggregate:"sum"},{field:"taxAmount",aggregate:"sum"},{field:"netAmount",aggregate:"sum"}]}),groupable:!1,sortable:!1,width:600,filterable:!1,pageable:!1,detailInit:this.showHideData,detailTemplate:kendo.template($("#tax-template").html()),columns:[{field:"componentType",title:s.default.getResourceValueStringByKey("TAXCOMPONENTLABEL",this.props),footerTemplate:"Total:",width:200},{field:"grossAmount ",title:s.default.getResourceValueStringByKey("GROSSLABEL",this.props),format:"{0:c2}",template:'<div class="float-right currency-float-right"><span>#= kendo.toString(grossAmount, "n") #</span></div>',aggregates:["sum"],headerAttributes:{class:"currency-float-right"},footerTemplate:'<div class="float-right currency-float-right">#=kendo.toString(data["grossAmount"].sum, "n")#</div>',width:120},{field:"taxAmount ",title:s.default.getResourceValueStringByKey("LUMPSUMTAXLABEL",this.props),format:"{0:c2}",headerAttributes:{class:"currency-float-right"},template:'<div class="float-right currency-float-right"><span>#= kendo.toString(taxAmount, "n") #</span></div>',aggregates:["sum"],footerTemplate:'<div class="float-right currency-float-right">#=kendo.toString(data["taxAmount"].sum, "n")#</div>',width:120},{field:"netAmount ",title:s.default.getResourceValueStringByKey("NETLABEL",this.props),format:"{0:c2}",headerAttributes:{class:"currency-float-right"},template:'<div class="float-right currency-float-right"><span>#= kendo.toString(netAmount, "n") #</span></div>',aggregates:["sum"],footerTemplate:'<div class="float-right currency-float-right">#=kendo.toString(data["netAmount"].sum, "n")#</div>',width:120}],columnMenu:!1}),this.applyPermissionsToGrid()},t.prototype.applyPermissionsToGrid=function(){var e=$("#member-benefit-quote-preserve-grid").data("kendoGrid");i.default.hasViewPermissionByKeyPath(this.props,"memberBenefitQuoteWidget","taxComponents")?e.showColumn("gross","Tax","net","taxDescription","taxFreeDescription","totalDescription"):e.hideColumn("gross","Tax","net","taxDescription","taxFreeDescription","totalDescription")},t.prototype.render=function(){return o.createElement("div",{className:"col-md-12"},o.createElement("div",{className:"col-xs-12 benefit-quote-table"},o.createElement("div",{id:"member-benefit-quote-tax-grid"})),o.createElement("script",{type:"text/x-kendo-template",id:"tax-template"},o.createElement("div",{className:"tabstrip"},o.createElement("div",{className:"member-benefit-quote-tax-details-grid"}))))},t}(o.Component);t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(e){return n.createElement("select",{id:e.id,className:e.className,onChange:e.onChange,value:e.selectVal},e.options.map(function(e,t){return"benefitType"in e?n.createElement("option",{value:t.toString(),key:t.toString()},e.benefitType.description):n.createElement("option",{value:t.toString(),key:t.toString()},e.description)}))};t.default=o},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/memberbenefitquotewidget/v1",e.sitApiUrl="https://api-sit1.np.linkgroup.com/rss/memberbenefitquotewidget/v1",e.uatApiUrl="https://api-uat1.np.linkgroup.com/rss/memberbenefitquotewidget/v1",e.prodApiUrl="https://api-prd1.linkgroup.com/rss/memberbenefitquotewidget/v1",e.demoApiUrl="https://api-demo.orientsys.com.au/super/api/memberbenefitquotewidget/v1",e.uatCatApiUrl="https://api-uat-cat.orientsys.com.au/super/api/memberbenefitquotewidget/v1",e.uat2ApiUrl="https://api-uat-2.orientsys.com.au/super/api/memberbenefitquotewidget/v1",e.uat3ApiUrl="https://api-uat-3.orientsys.com.au/super/api/memberbenefitquotewidget/v1",e.uat4ApiUrl="https://api-uat-4.orientsys.com.au/super/api/memberbenefitquotewidget/v1",e.uat5ApiUrl="https://api-uat-5.orientsys.com.au/super/api/memberbenefitquotewidget/v1",e.stgApiUrl="https://api-stg.orientsys.com.au/super/api/memberbenefitquotewidget/v1",e}();t.default=r},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(16),s=r(9),a=r(22),u=r(39),l=r(40),c=r(38),p=r(41),d=r(37),f=r(5),h=r(12),m=r(5),y=r(4),v=r(19),g=r(3),E=function(e){function t(t){var r=e.call(this,t)||this;return r.notifications=[],r.widgetId="benefitQuote",r.selectedPayeeId=0,r.selectedBenefitId=0,r.handleOnViewButtonClickEvent=r.handleOnViewButtonClickEvent.bind(r),r.handleBenefitTypeChange=r.handleBenefitTypeChange.bind(r),r.handlePayeeTypeChange=r.handlePayeeTypeChange.bind(r),r.handleAccordian=r.handleAccordian.bind(r),r.handleButtonChangeAction=r.handleButtonChangeAction.bind(r),r.setInitialStateForFilters(),r}return n(t,e),t.prototype.componentWillMount=function(){var e=this.props.componentName+"_HEADER_TITLE";this.headerTitle=y.default.getResourceValueByFullKey(e,this.props),this.setState({benefitQuoteDetails:this.props.benefitQuoteDetails})},t.prototype.componentWillReceiveProps=function(e){0!=e.benefitQuoteDetails.length&&(this.setState({mode:m.Mode.View}),this.setState({benefitQuoteDetails:e.benefitQuoteDetails}))},t.prototype.loadBenefitDetails=function(){this.props.actions.getBenefitDetails(void 0,void 0,!0,!0,!0)},t.prototype.handleOnViewButtonClickEvent=function(e){this.setState({offset:0}),$("#"+this.widgetId+"NotificationArea").data("kendoNotification").getNotifications().remove();var t=this.state.isEmployee===m.isEmployee.Yes,r=this.state.isPermanentlyRetired===m.isPermanentlyRetired.Yes;this.props.pushDataToGA(g.InitialState.widgetConfig,"Requested BenefitQuote for BenefitType: "+this.state.selectedbenefitType+", PayeeType: "+this.state.selectedPayeeType+", IsEmployed: "+t+", IsPermRetired: "+r,y.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_HEADER_TITLE",this.props)),this.props.actions.getBenefitDetails(this.state.selectedbenefitType,this.state.selectedPayeeType,t,r)},t.prototype.handleButtonChangeAction=function(e){"isEmployedRadioButton"===e.target.name?"true"===e.target.value?this.setState({isEmployee:m.isEmployee.Yes}):(this.setState({isEmployee:m.isEmployee.No}),this.setState({isPermanentlyRetired:m.isPermanentlyRetired.No})):"isPermanentlyRetiredRadioButton"===e.target.name&&("true"===e.target.value?this.setState({isPermanentlyRetired:m.isPermanentlyRetired.Yes}):this.setState({isPermanentlyRetired:m.isPermanentlyRetired.No}))},t.prototype.handleBenefitTypeChange=function(e){this.selectedBenefitId=e.target.value,this.selectedPayeeId=0,this.setState({selectedbenefitType:this.props.benefitQuoteType[e.target.value].benefitType.code}),this.setState({selectedbenefitTypeDesc:this.props.benefitQuoteType[e.target.value].benefitType.description}),this.setState({payeeTypeList:this.props.benefitQuoteType[e.target.value].payeeTypes}),this.setState({selectedPayeeType:this.props.benefitQuoteType[e.target.value].payeeTypes[this.selectedPayeeId].code}),this.setState({selectedPayeeTypeDesc:this.props.benefitQuoteType[e.target.value].payeeTypes[this.selectedPayeeId].description}),this.setState({selectedPayeeTypeId:this.selectedPayeeId})},t.prototype.handlePayeeTypeChange=function(e){this.selectedPayeeId=e.target.value,this.setState({payeeTypeList:this.props.benefitQuoteType[this.selectedBenefitId].payeeTypes}),this.setState({selectedPayeeType:this.state.payeeTypeList[e.target.value].code}),this.setState({selectedPayeeTypeDesc:this.state.payeeTypeList[e.target.value].description}),this.setState({selectedPayeeTypeId:this.selectedPayeeId})},t.prototype.setInitialStateForFilters=function(){0!=this.props.benefitQuoteType.length&&(this.state={selectedbenefitType:this.props.benefitQuoteType[this.selectedBenefitId].benefitType.code,selectedbenefitTypeDesc:this.props.benefitQuoteType[this.selectedBenefitId].benefitType.description,selectedPayeeType:this.props.benefitQuoteType[this.selectedBenefitId].payeeTypes[this.selectedPayeeId].code,selectedPayeeTypeDesc:this.props.benefitQuoteType[this.selectedBenefitId].payeeTypes[this.selectedPayeeId].description,payeeTypeList:this.props.benefitQuoteType[this.selectedBenefitId].payeeTypes,isEmployee:m.isEmployee.No,isPermanentlyRetired:m.isPermanentlyRetired.No,mode:m.Mode.Hide,selectedPayeeTypeId:0})},t.prototype.handleAccordian=function(e){this.state.openAccordian===e?this.setState({openAccordian:""}):this.setState({openAccordian:e})},t.prototype.render=function(){return this.props.serverError.message&&"An unexpected server error occurred."==this.props.serverError.message&&(this.props.serverError.message=" "+y.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_ERROR_GENERICERROR",this.props)),o.createElement(a.default,{title:this.headerTitle,id:this.widgetId,collapsed:!0,serverError:this.props.serverError,notifications:this.notifications,memberId:g.InitialState.widgetConfig.memberId,reload:this.props.reload,headerClass:g.InitialState.widgetConfig.headerClass,data:g.InitialState.widgetConfig.data||{},planCode:g.InitialState.widgetConfig.planCode,widgetName:y.default.getResourceValueStringByFullKey("MEMBERBENEFITQUOTE_HEADER_TITLE",this.props)},o.createElement(v.default,{showLoaderMessage:this.props.loader}),o.createElement(f.MemberBenefitQuoteFilterComponent,{onViewButtonClick:this.handleOnViewButtonClickEvent,buttonChangeAction:this.handleButtonChangeAction,onBenefitTypeChange:this.handleBenefitTypeChange,onPayeeTypeChange:this.handlePayeeTypeChange,benefitType:this.state.selectedbenefitType,isEmployee:this.state.isEmployee,isPermanentlyRetired:this.state.isPermanentlyRetired,payeeType:this.state.selectedPayeeType,benefitQuoteType:this.props.benefitQuoteType,payeeTypeList:this.state.payeeTypeList,benefitQuoteDetails:this.state.benefitQuoteDetails,resources:this.props.resources,authorizationRules:this.props.authorizationRules,dispatch:this.props.dispatch,widgetId:this.widgetId,componentName:this.props.componentName+"_FILTERCOMPONENT",selectedPayeeTypeId:this.state.selectedPayeeTypeId}),this.state.mode===m.Mode.View?o.createElement("div",null,o.createElement(l.default,{benefitQuoteType:this.props.benefitQuoteType,authorizationRules:this.props.authorizationRules,payeeTypeList:this.state.payeeTypeList,selectedbenefitTypeDesc:this.state.selectedbenefitTypeDesc,selectedPayeeTypeDesc:this.state.selectedPayeeTypeDesc,dispatch:this.props.dispatch,widgetId:this.widgetId,benefitQuoteDetails:this.state.benefitQuoteDetails,resources:this.props.resources,componentName:this.props.componentName+"_SUMMARYCOMPONENT"}),o.createElement(c.default,{benefitQuoteType:this.props.benefitQuoteType,authorizationRules:this.props.authorizationRules,benefitQuoteDetails:this.state.benefitQuoteDetails,dispatch:this.props.dispatch,widgetId:this.widgetId,resources:this.props.resources,componentName:this.props.componentName+"_SUMMARYCOMPONENT",index:1,openAccordian:this.state.openAccordian,onOpen:this.handleAccordian}),o.createElement("div",{className:this.state.openAccordian?"row collapse in remove-margin-left-right":"row collapse remove-margin-left-right",id:"collapseBQOne",role:"tabpanel","aria-labelledby":"headingOne"},o.createElement(u.default,{benefitQuoteType:this.props.benefitQuoteType,authorizationRules:this.props.authorizationRules,benefitQuoteDetails:this.state.benefitQuoteDetails,resources:this.props.resources,dispatch:this.props.dispatch,widgetId:this.widgetId,componentName:this.props.componentName+"_SUMMARYCOMPONENT"}),o.createElement(d.default,{benefitQuoteType:this.props.benefitQuoteType,authorizationRules:this.props.authorizationRules,benefitQuoteDetails:this.state.benefitQuoteDetails,dispatch:this.props.dispatch,widgetId:this.widgetId,resources:this.props.resources,componentName:this.props.componentName+"_PRESERVATIONCOMPONENTS"}),o.createElement(p.default,{benefitQuoteType:this.props.benefitQuoteType,authorizationRules:this.props.authorizationRules,dispatch:this.props.dispatch,widgetId:this.widgetId,benefitQuoteDetails:this.state.benefitQuoteDetails.taxableComponents.filter(function(e){if("Total"!==e.componentType)return e}),resources:this.props.resources,componentName:this.props.componentName+"_TAXCOMPONENTS"}))):o.createElement("div",{className:"col-md-6 col-sm-4 col-xs-12"}," "))},t}(o.Component),b=function(e,t){return{ajaxCallsInProgress:e.ajaxCallsInProgress,lookups:e.lookups,authorizationRules:e.authorizationRules,benefitQuoteType:e.benefitQuoteType,serverError:e.serverError,resources:e.resources,benefitQuoteDetails:e.benefitQuoteDetails,loader:e.loader}},S=function(e){return{actions:s.bindActionCreators(h.default,e),dispatch:e}};t.default=i.connect(b,S)(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(34);var o=r(1),i=r(15),s=r(58),a=r(59),u=r(55),l=r(16),c=r(3),p=r(20),d=r(10),f=r(44),h=r(12),m=r(5),y=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),this.initialiseGoogleAnalytics(t),this.getResourcesAndAuthorizationRulesAndAttachWidget(t)},t.prototype.getResourcesAndAuthorizationRulesAndAttachWidget=function(e){var t=this,r=[h.default.getMembersBenefitquotetypes(),h.default.getResources(),h.default.getAuthorizationRules()],n=c.InitialState.loadInitialData();s.all(r).then(function(r){null!==r&&(n.benefitQuoteType=r[0].data,n.resources=r[1].data,n.authorizationRules=r[2].data,n.mode=m.Mode.Hide),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.initialiseGoogleAnalytics=function(e){e.data&&e.data.analytics&&e.data.analytics.isEnabled&&e.data.analytics.GAID&&i.initialize(e.data.analytics.GAID,{gaOptions:{userId:"NA"!==e.data.analytics.officeStaffId?e.data.analytics.officeStaffId:e.data.analytics.adviserId}})},t.prototype.pushDataToGA=function(e,t,r){if(e.data&&e.data.analytics&&e.data.analytics.isEnabled&&e.data.analytics.GAID){var n=i.ga();n("send","event","Widgets",t,r,{dimension1:e.data.analytics.officeStaffId,dimension2:e.memberId,dimension3:new Date,dimension4:e.planCode,dimension5:e.data.analytics.adviserId})}},t.prototype.renderMainComponent=function(e,t){a.render(o.createElement(l.Provider,{store:this.store},o.createElement(p.default,null,o.createElement(f.default,{reload:this.reload,componentName:"MEMBERBENEFITQUOTE",pushDataToGA:this.pushDataToGA}))),document.getElementById(t))},t}(d.LgWidget),v="1.15.0";window.Lg.Fa.memberBenefitQuoteWidgetVersion=v,window.Lg.Fa.memberBenefitQuoteWidget=y},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.benefitQuoteDetails),t.type){case o.LOAD_BENEFITQUOTE_SUCCESS:return t.benefitQuoteDetails;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=r(3);t.default=n},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(2),i=r(3);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.InitialState.benefitQuoteType),t.type){case o.LOAD_BENEFITQUOTETYPE_SUCCESS:return t.benefitQuoteType;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=r(3);t.default=n},function(e,t,r){"use strict";function n(e,t){switch(void 0===e&&(e=i.isEmployee.No),t.type){case o.CHANGEEMPLOYEE_ISEMPLOYEE_SUCCESS:return t.isEmployee;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";function n(e,t){switch(void 0===e&&(e=i.Mode.Hide),t.type){case o.MODECHANGE_MEMBERBENEFITQUOTE_SUCCESS:return t.mode;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";function n(e,t){switch(void 0===e&&(e=i.isPermanentlyRetired.No),t.type){case o.CHANGEEMPLOYEE_ISRETIRMENTTYPE_SUCCESS:return t.isPermanentlyRetired;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";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(2),i=r(3);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(2),i=r(3);t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9),o=r(24),i=r(48),s=r(53),a=r(46),u=r(50),l=r(49),c=r(51),p=r(47),d=r(52),f=r(25),h=n.combineReducers({benefitQuoteType:i.default,mode:u.default,authorizationRules:p.default,benefitQuoteDetails:a.default,serverError:d.default,resources:s.default,loader:f.default,ajaxCallsInProgress:o.default,isEmployee:l.default,isPermanentlyRetired:c.default});t.default=h},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(9),i=r(54),s=r(60),a=r(57);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(t){return function(r){var n="production";"production"!==n&&(console.groupCollapsed(r.type),console.log("dispatching",r),console.log("next state",e.getState()),console.groupEnd()),t(r)}}}},function(e,t){e.exports=Promise},function(e,t){e.exports=ReactDOM},function(e,t){e.exports=ReduxThunk}]);
//# sourceMappingURL=lg-fa-member-benefit-quote-widget.min.js.map ;