1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4642],{24303:function(e,n,t){var a=t(26548),i=t(92019)(a);e.exports=i},93401:function(e,n,t){var a=t(24303),i=t(67878);e.exports=function(e,n){var t=-1,r=i(e)?Array(e.length):[];return a(e,function(e,a,i){r[++t]=n(e,a,i)}),r}},23813:function(e,n,t){var a=t(50343),i=t(13324),r=t(68286),s=t(93401),c=t(27095),l=t(47826),o=t(18477),d=t(23059),u=t(86152);e.exports=function(e,n,t){n=n.length?a(n,function(e){return u(e)?function(n){return i(n,1===e.length?e[0]:e)}:e}):[d];var h=-1;n=a(n,l(r));var m=s(e,function(e,t,i){return{criteria:a(n,function(n){return n(e)}),index:++h,value:e}});return c(m,function(e,n){return o(e,n,t)})}},27095:function(e){e.exports=function(e,n){var t=e.length;for(e.sort(n);t--;)e[t]=e[t].value;return e}},27520:function(e,n,t){var a=t(4795);e.exports=function(e,n){if(e!==n){var t=void 0!==e,i=null===e,r=e==e,s=a(e),c=void 0!==n,l=null===n,o=n==n,d=a(n);if(!l&&!d&&!s&&e>n||s&&c&&o&&!l&&!d||i&&c&&o||!t&&o||!r)return 1;if(!i&&!s&&!d&&e<n||d&&t&&r&&!i&&!s||l&&t&&r||!c&&r||!o)return -1}return 0}},18477:function(e,n,t){var a=t(27520);e.exports=function(e,n,t){for(var i=-1,r=e.criteria,s=n.criteria,c=r.length,l=t.length;++i<c;){var o=a(r[i],s[i]);if(o){if(i>=l)return o;return o*("desc"==t[i]?-1:1)}}return e.index-n.index}},92019:function(e,n,t){var a=t(67878);e.exports=function(e,n){return function(t,i){if(null==t)return t;if(!a(t))return e(t,i);for(var r=t.length,s=n?r:-1,c=Object(t);(n?s--:++s<r)&&!1!==i(c[s],s,c););return t}}},18149:function(e,n,t){var a=t(88746);function i(e,n){return a(e,n)}e.exports=i},829:function(e,n,t){var a=t(62034),i=t(23813),r=t(36060),s=t(82406),c=r(function(e,n){if(null==e)return[];var t=n.length;return t>1&&s(e,n[0],n[1])?n=[]:t>2&&s(n[0],n[1],n[2])&&(n=[n[0]]),i(e,a(n,1),[])});e.exports=c},88239:function(e,n,t){"use strict";t.d(n,{b:function(){return N}});var a=t(70865),i=t(52322);t(84328);var r=t(93047),s=t(97679),c=t(72477),l=t(89177),o=t(4110),d=t(31992),u=t(6228),h=t(12524),m=t.n(h),f=t(72670),_=t.n(f),p=t(97729),x=t.n(p),j=t(2784),b=function(e){var n=e.isFaqDropdownSchemaEnabled,t=e.schemaMarkups;return n&&(null==t?void 0:t.length)?(0,i.jsx)(x(),{children:t.map(function(e,n){return(0,i.jsx)(j.Fragment,{children:_()(null==e?void 0:e.script)},n)})}):null},N=function(e){var n=e.headerImage,t=e.sideImage,h=e.article,f=e.disclaimerTitle,p=e.disclaimerParagraph,x=e.sideBlockMobilePosition,j=e.articleCssClasse
1s,N=e.bnaContainer,v=e.renderSideImage,T=e.isNewBrand,g=e.fillType,C=void 0===g?o.fL.Width:g,w=e.isFullWidth,E=e.visibility,R=void 0===E?"Both":E,A="Mobile"===R?"show-for-mobile-only":"Desktop"===R?"hide-for-mobile hide-for-mobile.inline side--mobile":"",D=(0,d.wC)({article:h}),P=D.schemaMarkups,y=D.isFaqDropdownSchemaEnabled;return void 0!==w&&w?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{isFaqDropdownSchemaEnabled:y,schemaMarkups:P}),(0,i.jsx)(s.Zb,{className:m()(A,"col-3-section no-m-t"),children:(0,i.jsx)("div",{className:m()("content-template-article",j,{"col-2__content":n}),children:_()(h,(0,u.Em)({visibility:R}))})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{isFaqDropdownSchemaEnabled:y,schemaMarkups:P}),(0,i.jsxs)(s.W1,{className:A,sidebar:(f||t||N)&&(0,i.jsxs)(i.Fragment,{children:[f&&(0,i.jsxs)("div",{className:m()("side__info",{"side__info--no-bottom-right-radius":t||N}),children:[(0,i.jsx)("h3",{children:f}),p&&(0,i.jsx)("div",{className:"side__richtext",children:_()(p,(0,u.Em)({visibility:R}))})]}),t&&(void 0===v||v)&&(0,i.jsx)("div",{className:m()("side__image__container",{"side__image__container--no-top-right-radius":f,"side__image__container--no-bottom-right-radius":N,side__image_width_fill_type:C===o.fL.Width}),children:(0,i.jsx)(c.a,{className:"side__image progressive",url:t.url,description:t.description})}),N&&(0,i.jsx)(r.M,(0,a.Z)({className:m()({"bna__article--no-top-right-radius":t||f}),bnaType:l.PMU.SIDE_PANEL},N))]}),sideBlockMobilePosition:x,isNewBrand:void 0!==T&&T,mainBlockClassName:m()("",{"col-2--with-image":n}),children:[n&&(0,i.jsx)("div",{className:"image",children:(0,i.jsx)(c.a,{className:"col-2__image progressive",url:n.url,description:n.description})}),(0,i.jsx)("div",{className:m()("content-template-article",j,{"col-2__content":n}),children:_()(h,(0,u.Em)({visibility:R}))})]})]})}},53740:function(e,n,t){"use strict";t.d(n,{UQ:function(){return x},to:function(){return b}});var a,i=t(90581),r=t(21218),s=t(39309),c=t(52322);t(51241),t(46735);var l,o=t(13922),d=t(79962),u=t(2784),h=function(e){(0,r.Z)(t,e);var n=(0,s.Z)(t);function t(e){return(0,i.Z)(this,t),n.call(this,e)}var a=t.prototype;return a.componentDidUpdate=function(e){e.title!==this.props.title&&!0===this.props.isOpen&&this.props.onToggle(this.props.itemIndex)},a.render=function(){var e=this,n=this.props,t=n.isOpen,a=n.content,i=n.title,r=n.isRichText,s=n.itemClass,l=n.theme,u=n.icon,h=n.isNewBrand,m=void 0!==h&&h,f=(0,d.xU)("accordion item ".concat(null==i?void 0:i.toString(),"}"));return(0,c.jsxs)("div",{className:"accordion-item ".concat(s||""," ").concat(r?"rich-text-accordion__item":""," ").concat(t?"accordion__item__open":""),children:[(0,c.jsx)("label",{htmlFor:"accordion-item",className:"accordion-trigger ".concat(r?"rich-text-accordion__trigger":"","\n theme-").concat(l,"-accordion__trigger"),onClick:function(){return e.props.onToggle(e.props.itemIndex)},children:(0,c.jsxs)("div",{className:"accordion-header",children:[(0,c.jsx)("div",{className:"left-align",children:(0,c.jsxs)("h3",{id:"".concat(f,"_header"),children:[u,i]})}),m&&(0,c.jsx)(o.zN,{id:"".concat(f,"_icon"),className:"accordion-trigger__arrow ".concat("accordion-trigger__arrow--theme-".concat(l))}),!m&&(0,c.jsx)(o.Eh,{id:"".concat(f,"_icon"),closed:!t,className:"accordion-trigger__arrow ".concat("accordion-trigger__arrow--theme-".concat(l))})]})}),(0,c.jsx)("div",{className:"accordion-content accordion-inner accordion__panel ".concat(r?"rich-text-accordion__panel":""," theme-").concat(l,"-accordion__panel"),children:(0,c.jsx)("div",{className:"inner-content",children:(0,c.jsx)("div",{className:"faq-block",children:a})})})]})},t}(u.Component),m=t(12524),f=t.n(m),_=t(18149),p=t.n(_);(l=a||(a={}))[l.LIGHT=0]="LIGHT",l[l.DARK=1]="DARK",l[l.WHITE=2]="WHITE";var x=function(e){(0,r.Z)(t,e);var n=(0,s.Z)(t);function t(e){(0,i.Z)(this,t),a=n.call(this,e);var a,r={itemStates:e.items.map(function(){return!1})};return a.state=r,a}var l=t.prototype;return l.toggle=function(e){var n=this,t=this.state.itemStates[e],a=this.props,i=a.items,r=a.isMultipleOpen,s=i.map(function(a,i){return i===e?!t:!!r&&n.state.itemStates[i]});this.setState({itemStates:s})},l.shouldComponentUpdate=function(e){if(!p()(e.items.map(function(e){return e.title}),this.props.items.map(function(e){return e.title}))){var n={itemStates:e.items.map(function(){return!1})};this.setState(n)}return!0},l.render=function(){var e=this,n=this.props,t=n.items,i=n.itemClass,r=n.isDark,s=n.isWhite,l=n.icon,o=n.className,d=n.isNewBrand,u=void 0!==d&&d,m=void 0!==r&&r?a.DARK:void 0!==s&&s?a.WHITE:a.LIGHT,_=void 0===this.props.isRichText||this.props.isRichText,p=f()("accordion-section ".concat(void 0===o?"":o),{"rich-text-accordion":_,"inverse-accordion":m===a.DARK,"white-accordion":m===a.WHITE,"new-brand-accordion":u});return(0,c.jsx)("section",{className:p,children:t.map(function(n,t){return(0,c.jsx)(h,{title:n.title,content:n.content,isRichText:_,itemIndex:t,onToggle:function(n){return e.toggle(n)},isOpen:e.state.itemStates[t],itemClass:i,theme:m,icon:l,isNewBrand:u},t)})})},t}(u.Component);t(19675);var j=t(47466),b=function(e){var n=e.title,t=e.richTextTitle,a=e.icon,i=e.children,r=e.hideIcon,s=e.openByDefault,l=e.isDark,o=void 0!==l&&l,d=(0,u.useState)(void 0!==s&&s),h=d[0],m=d[1];
1return(0,c.jsx)(j.g,{thinAlert:!0,iconFillColour:"#001C45",showHide:h,onShowHide:m,hideIcon:void 0===r||r,icon:a,title:n,richTextTitle:t,isDark:o,children:(0,c.jsx)("span",{children:i&&h&&(0,c.jsx)("div",{className:f()("m-t-8 m-b-3",{"dark-content":o}),children:i})})})}},97679:function(e,n,t){"use strict";t.d(n,{Zb:function(){return d},UE:function(){return a},W1:function(){return u}});var a,i=t(47842),r=t(52322);t(88995);var s,c=t(89177),l=t(12524),o=t.n(l);(s=a||(a={})).WHITE="white",s.BLUE="blue";var d=function(e){var n,t=e.className,s=void 0===t?"":t,c=e.style,l=void 0===c?a.WHITE:c,d=e.border,u=e.withHeader,h=e.children;return(0,r.jsx)("div",{className:o()("card",(n={},(0,i.Z)(n,l,l),(0,i.Z)(n,"card-with-border",void 0!==d&&d),(0,i.Z)(n,"card-with-withHeader",void 0!==u&&u),(0,i.Z)(n,s,s),n)),children:h})},u=function(e){var n,t=e.className,a=void 0===t?"":t,s=e.mainBlockClassName,l=void 0===s?"":s,d=e.sidebarClassName,u=void 0===d?"":d,h=e.children,m=e.sidebar,f=e.sideBlockMobilePosition,_=void 0===f?c.I_p.AFTER:f,p=e.isNewBrand;return(0,r.jsxs)("div",{className:o()("col-3-section no-m-t content-block",(n={},(0,i.Z)(n,a,a),(0,i.Z)(n,"before-mobile",_===c.I_p.BEFORE),(0,i.Z)(n,"new-brand",void 0!==p&&p),n)),children:[(0,r.jsx)("div",{className:o()("col-2",(0,i.Z)({},l,l)),children:h}),m&&(0,r.jsx)("div",{className:o()("col-1",(0,i.Z)({},u,u)),children:(0,r.jsx)("div",{className:"side side--mobile",children:m})})]})}},72477:function(e,n,t){"use strict";t.d(n,{a:function(){return h}});var a=t(52322),i=t(69052),r=t(79962),s=t(89177),c=t(2784),l=t(29051),o=function(e){var n=(0,c.useState)(""),t=n[0],a=n[1],r=(0,l.useSelector)((0,i.Xm)(t)),o=(0,c.useState)(s.WFD),d=o[0],u=o[1],h=(0,c.useState)(!0),m=h[0],f=h[1];return(0,c.useEffect)(function(){e&&a((0,i.hx)(e))},[e]),(0,c.useEffect)(function(){r?(u(r),f(!1)):setTimeout(function(){return f(!1)})},[r]),{imageSrc:d,loading:m}},d=function(e){var n=(0,c.useState)({src:s.WFD,width:"0",height:"0"}),t=n[0],a=n[1];return(0,c.useEffect)(function(){var n=new Image;n.src=e,setTimeout(function(){e!==s.WFD&&a({src:n.src,width:"".concat(n.width),height:"".concat(n.height)})},e===s.WFD?0:100)},[e]),t},u=function(e){var n=e.url,t=e.description,i=e.className,r=e.imageSrc,s=d(r);return(0,a.jsx)("img",{className:i,width:s.width,height:s.height,src:r,"data-src":n,alt:t,fetchpriority:"high"})},h=function(e){var n=e.url,t=e.description,s=e.className,d=(0,l.useDispatch)(),h=o(n),m=h.imageSrc,f=h.loading;(0,c.useEffect)(function(){f||(0,r.lT)(function(e){d((0,i.nW)(e))})},[f,d]);var _=(0,c.useMemo)(function(){return(0,a.jsx)(u,{url:n,description:t,className:s,imageSrc:m})},[m]);return(0,a.jsx)(a.Fragment,{children:_})}},8723:function(e,n,t){"use strict";t.r(n),t.d(n,{TariffsPage:function(){return en}});var a,i,r=t(90581),s=t(21218),c=t(70865),l=t(96670),o=t(39309),d=t(52322);t(75741),t(7857);var u=t(93047),h=t(88239),m=t(87870),f=t(64262);t(7853);var _=t(72670),p=t.n(_),x=t(50930),j=t(89177),b=t(829),N=t.n(b);a||(a={});var v=function(e){return(0,x.Z)(new Set(e.map(function(e){return e["Discount Label"]}))).map(function(n){var t=e.find(function(e){return e["Discount Label"]===n});return t?{label:n,value:t["Discount Applied"]}:null}).filter(function(e){return null!==e}).sort(function(e,n){return e&&n?parseFloat(e.value)-parseFloat(n.value):0})},T=function(e,n){var t=n.discount,a=n.plan,i=e;return void 0!==t&&(i=i.filter(function(e){return e["Discount Applied"]===t})),a&&(i=i.filter(function(e){var n;return(null===(n=e["Price Plan"])||void 0===n?void 0:n.trim())===a})),N()(i,["EAB with Discount"])},g=function(e,n){if(!e.some(function(e){return e===j.nGh.SMART_MULTI_DISCOUNT}))return v(n.filter(function(n){return e.includes(n.Product)}));var t,a,i=e.filter(function(e){return e!==j.nGh.SMART_MULTI_DISCOUNT});return Array.from(new Map((0,x.Z)(v(n.filter(function(e){return i.includes(e.Product)}))).concat((0,x.Z)(v((t=j.nGh.SMART_MULTI_DISCOUNT,n.filter(function(e){return e.Product===t}))))).map(function(e){return[e.label,e]})).values())},C=function(e,n){var t,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=(t=n.filter(function(n){return e.includes(n.Product)}),(0,x.Z)(new Set(t.map(function(e){var n;return null===(n=e["Price Plan"])||void 0===n?void 0:n.trim()}))).map(function(e){return{value:e,label:e}}));return a?r.filter(function(e){var n=e.label.toLowerCase().startsWith("fixed rate");return i?n:!n}):r},w=function(e,n){var t=e.products,a=e.discount,i=e.plan;return T(n.filter(function(e){return t.includes(e.Product)}),{products:t,discount:a,plan:i})},E=function(e){var n,t=e.value,a=e.fixedPlansOptions,r=e.defaultPlan;return{selectedTariffType:t,selectedPlan:t.startsWith(i.FixedRateTariffs)?(null===(n=a[0])||void 0===n?void 0:n.label)||"":r||"",selectedDiscount:"0"}};t(53758);var R=t(24398),A=t(51603),D=t(6228);t(82025);var P,y=t(12524),F=t.n(y),S=function(e){var n=e.columns,t=e.rows,a=e.onRenderCell,i=e.onRenderHeaderCell,r=e.rowspan,s=e.cssRowClass,c=e.tableClassName,l=e.excludeColumns,o=void 0===l?[]:l,u=e.headerTitleReplacements,h=Array.from(Array(n).keys()),m=Array.from(Array(t).keys());return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"table__desktop__wrapper",children:(0,d.jsx)("table",{className:F()("rich-text-table",c),children:(0,d.jsxs)("tbody",{className:"rich-text-table__tbody",children:[(0,d.jsx)("tr",{className:"rich-text-table__tr rich-text-table__tr--heading",children:h.map(function(e){if(null==o?void 0:o.includes(e))return null;var n=i(e);return(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(null==u?void 0:u[e])||n}),(0,d.jsx)("p",{className:"rich-text-table__td__content rich-text-table__td__content--heading",children:(null==u?void 0:u[e])||n})]},e)})}),m.map(function(e){return(0,d.jsx)("tr",{className:F()("rich-text-table__tr",s),children:h.map(function(n){if(null==o?void 0:o.includes(n))return null;var t=i(n,e),s=a(n,e);if(!r)return(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:t}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:s})]},n+"-"+e);var c=r.atColumns,l=r.every;return c.includes(n)?e%l!=0?null:(0,d.jsxs)("td",{className:"rich-text-table__td",rowSpan:l,children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:t}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:s})]},n+"-"+e):(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:t}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:s})]},n+"-"+e)}
1).filter(Boolean)},e)})]})})}),(0,d.jsx)("div",{className:"table__mobile__wrapper",children:h.map(function(e){if(!r||r.fixedColumn!==e){var n=i(e);return(0,d.jsxs)("div",{className:"table__mobile",children:[(0,d.jsx)("div",{className:"table__mobile__header",children:n}),m.map(function(n){var t=a(e,n),i=F()("table__mobile__row",{"table__mobile__cell--is-half":r&&r.atColumns.includes(e)});if(!r)return(0,d.jsx)("div",{className:i,children:(0,d.jsx)("div",{className:"table__mobile__cell",children:t})},"".concat(n,"-").concat(e));var s=r.atColumns,c=r.fixedColumn,l=r.every,o=a(c,n),u=F()("table__mobile__cell");return(0,d.jsxs)("div",{className:i,children:[o&&(0,d.jsx)("div",{className:u,children:o}),s.includes(e)&&n%l!=0?(0,d.jsx)("div",{className:"table__mobile__cell"}):s.includes(e)?(0,d.jsx)("div",{className:"table__mobile__cell table__mobile__cell--no-border",children:(0,d.jsx)("div",{className:"table__mobile__rowspan",children:t})}):(0,d.jsx)("div",{className:"table__mobile__cell",children:t})]},"".concat(n,"-").concat(e))})]},e)}}).filter(Boolean)})]})},I=t(2784);(P=i||(i={})).StandardTariffs="Standard tariffs",P.FixedRateTariffs="Fixed rate tariffs";var V=function(e){(0,s.Z)(t,e);var n=(0,o.Z)(t);function t(){var e;return(0,r.Z)(this,t),e=n.apply(this,arguments),e.state={selectedPlan:e.props.defaultPlan,selectedDiscount:e.props.defaultDiscount,firefoxHack:!1,showTariffTypeSelector:[j.nGh.GAS,j.nGh.ELECTRICITY].includes(e.props.product)&&e.props.isNewFixedRatesEnabled,selectedTariffType:"".concat(i.StandardTariffs,"-").concat(e.props.product)},e.plansOptions=C(e.props.products,e.props.tariffs,e.props.isNewFixedRatesEnabled),e.fixedPlansOptions=C(e.props.products,e.props.tariffs,e.props.isNewFixedRatesEnabled,!0),e.discountsOptions=g(e.props.products,e.props.tariffs),e.onSelectedPricePlan=function(n){e.setState({selectedPlan:n,firefoxHack:!0}),setTimeout(function(){e.setState({firefoxHack:!1})},50)},e.onSelectedDiscount=function(n){e.setState({selectedDiscount:n})},e.onTariffTypeHandleChange=function(n){e.setState(E({value:n,fixedPlansOptions:e.fixedPlansOptions,defaultPlan:e.props.defaultPlan}))},e}return t.prototype.render=function(){var e=this,n=this.state,t=n.selectedDiscount,a=n.selectedPlan,r=n.firefoxHack,s=this.props,c=s.title,l=s.product,o=s.products,u=s.planFieldName,h=s.discountFieldName,m=s.columns,f=s.onRenderProductsHeaderCell,_=s.onRenderCell,x=s.rowspan,j=s.headerParagraph,b=s.footerParagraph,N=s.footerParagraphFixedRate,v=s.tariffs,T=s.twentyFourHourDisclaimer,g=s.disclaimerPattern,C=s.subtitle;if(this.plansOptions.length<1)return null;var E,P,y,I,V,U,H=w({products:o,discount:t,plan:a},v),k=function(n,t){return _(n,t,H[t],e.state)},M=function(n,t){return f(n,e.state,H.length>0?H[t||0]:void 0)},G=function(e){return e==="".concat(i.FixedRateTariffs,"-").concat(l)?N||"":b||""};return(0,d.jsx)("div",{className:"main-container new-brand new-brand__new-font",children:(0,d.jsxs)("div",{className:"block",children:[(0,d.jsxs)("header",{className:"section-header section-header--multititle",children:[(0,d.jsx)("h2",{className:"section-header__title",children:c}),C&&(0,d.jsx)("h3",{className:"section-header__subtitle--no-m-b",children:C})]}),(0,d.jsxs)("main",{children:[j&&p()(j),this.state.showTariffTypeSelector&&this.fixedPlansOptions.length>0&&(0,d.jsx)(A.SY,{isToggle:!0,value:this.state.selectedTariffType,name:"tarrif_type-".concat(this.props.product),vertical:!0,options:[{value:"".concat(i.StandardTariffs,"-").concat(this.props.product),label:i.StandardTariffs},{value:"".concat(i.FixedRateTariffs,"-").concat(this.props.product),label:i.FixedRateTariffs},],onChange:function(n){e.onTariffTypeHandleChange(n)},isHallowIcon:!0,fillColor:"#00306a"}),(0,d.jsxs)("div",{className:"main-tariffs__options",children:[(0,d.jsx)("div",{className:"main_tariffs__option-container main_tariffs__option-container--left",children:(0,d.jsx)(R.lU,{groupClassName:"group--no-margin group--fullwidth",options:(E=this.state.selectedTariffType,P=e.props,y=P.isNewFixedRatesEnabled,I=P.product,y?E==="".concat(i.FixedRateTariffs,"-").concat(I)?e.fixedPlansOptions:e.plansOptions:e.plansOptions),name:u,value:a||"",onChange:this.onSelectedPricePlan,isNewBrand:!0,label:"Plan type"})}),(V=this.state.selectedTariffType,U=this.props.product,V!=="".concat(i.FixedRateTariffs,"-").concat(U)&&(0,d.jsx)("div",{className:"main_tariffs__option-container main_tariffs__option-container--right",children:(0,d.jsx)(R.lU,{groupClassName:"group--no-margin group--fullwidth",options:this.discountsOptions,name:h,value:t||"",onChange:this.onSelectedDiscount,isNewBrand:!0,label:"Discount"})}))]}),(0,d.jsx)(S,{rowspan:"function"==typeof x?x(a,l):x,columns:m,rows:H.length,excludeColumns:this.state.selectedTariffType.startsWith(i.FixedRateTariffs)?[3]:[],headerTitleReplacements:function(){if(e.state.selectedTariffType.startsWith(i.FixedRateTariffs))return{4:"EAB"}}(),onRenderHeaderCell:M,onRenderCell:k,cssRowClass:"rich-text-table__tr--no-highlight",tableClassName:F()({"rich-text-table--ff-hack":r})}),a&&a.toLowerCase().includes(g)?(0,d.jsx)("span",{children:T}):null]}),G(this.state.selectedTariffType)&&(0,d.jsx)("footer",{children:(0,d.jsx)("p",{className:"main_tariffs__footer",children:p()(G(this.state.selectedTariffType),(0,D.Em)({replaceTagNames:"p"}))})})]})})},t}(I.Component),U=t(53740),H=t(51610),k=t(50862),M=t(8498),G=t(35657),O=t(67107),B=function(e){var n=e.dynamicContentTitle,t=e.dynamicTariffInformation,a=e.dynamicContentRichText;if(!t)return null;var i=t.columnOneLabel,r=t.columnTwoLabel,s=t.columnThreeLabel,c=t.columnFourLabel,l=t.rowOneValueOne,o=t.rowOneValueTwo,u=t.rowOneValueThree,h=t.rowOneValueFour,m=t.rowTwoValueOne,f=t.rowTwoValueTwo,_=t.rowTwoValueThree,x=t.rowTwoValueFour;return(0,d.jsx)("div",{className:"main-container new-brand new-brand__new-font dynamic-tariff-table","data-testid":"dynamic-tariff-table",children:(0,d.jsxs)("div",{className:"block",children:[(0,d.jsx)("header",{className:"section-header",children:(0,d.jsx)("h2",{className:"section-header__title",children:n})}),(0,d.jsxs)("main",{children:[(0,d.jsx)("div",{className:"table__desktop__wrapper",children:(0,d.jsx)("table",{className:"rich-text-table",children:(0,d.jsxs)("tbody",{className:"rich-text-table__tbody",children:[(0,d.jsxs)("tr",{className:"rich-text-table__tr rich-text-table__tr--heading",children:[(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:i})}),(0,d.jsx)("p",{className:"rich-text-table__td__content rich-text-table__td__content--heading",children:(0,d.jsx)("span",{children:i})})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:r})}),(0,d.jsx)("p",{className:"rich-text-table__td__content rich-text-table__td__content--heading",children:(0,d.jsx)("span",{children:r})})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{className:"main-tariffs__header",children:s})}),(0,d.jsx)("p",{className:"rich-text-table__td__content rich-text-table__td__content--heading",children:(0,d.jsx)("span",{className:"main-tariffs__header",children:s})})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:c})}),(0,d.jsx)("p",{className:"rich-text-table__td__content rich-text-table__td__content--heading",children:(0,d.jsx)("span",{children:c})})]})]}),(0,d.jsxs)("tr",{className:"rich-text-table__tr rich-text-table__tr--no-highlight",children:[(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:i})}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:p()(l,(0,D.Em)({replaceTagNames:"p"}))})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:r})}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:p()(o,(0,D.Em)({replaceTagNames:"p"}))})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{className:"main-tariffs__header",children:s})}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:p()(u,(0,D.Em)({replaceTagNames:"p"}))})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:c})}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:p()(h,(0,D.Em)({replaceTagNames:"p"}))})]})]}),(0,d.jsxs)("tr",{className:"rich-text-table__tr rich-text-table__tr--no-highlight",children:[(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:i})}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:p()(m,(0,D.Em)({replaceTagNames:"p"}))})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:r})}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:p()(f,(0,D.Em)({replaceTagNames:"p"}))})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{className:"main-tariffs__header",children:s})}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:p()(_,(0,D.Em)({replaceTagNames:"p"}))})]}),(0,d.jsxs)("td",{className:"rich-text-table__td",children:[(0,d.jsx)("h6",{className:"rich-text-table__mobile-title",children:(0,d.jsx)("span",{children:c})}),(0,d.jsx)("p",{className:"rich-text-table__td__content",children:p()(x,(0,D.Em)({replaceTagNames:"p"}))})]})]})]})})}),(0,d.jsxs)("div",{className:"table__mobile__wrapper",children:[(0,d.jsxs)("div",{className:"table__mobile",children:[(0,d.jsx)("div",{className:"table__mobile__header",children:(0,d.jsx)("span",{children:r})}),(0,d.jsxs)("div",{className:"table__mobile__row",children:[(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:(0,d.jsx)("p",{children:p()(l,(0,D.Em)({replaceTagNames:"p"}))})})}),(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("p",{children:p()(o,(0,D.Em)({replaceTagNames:"p"}))})})]}),(0,d.jsxs)("div",{className:"table__mobile__row",children:[(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:(0,d.jsx)("p",{children:p()(m,(0,D.Em)({replaceTagNames:"p"}))})})}),(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("p",{children:p()(f,(0,D.Em)({replaceTagNames:"p"}))})})]})]}),(0,d.jsxs)("div",{className:"table__mobile",children:[(0,d.jsx)("div",{className:"table__mobile__header",children:(0,d.jsx)("span",{className:"main-tariffs__header",children:s})}),(0,d.jsxs)("div",{className:"table__mobile__row",children:[(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:(0,d.jsx)("p",{children:p()(l,(0,D.Em)({replaceTagNames:"p"}))})})}),(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("p",{children:p()(u,(0,D.Em)({replaceTagNames:"p"}))})})]}),(0,d.jsxs)("div",{className:"table__mobile__row",children:[(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:(0,d.jsx)("p",{children:p()(m,(0,D.Em)({replaceTagNames:"p"}))})})}),(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("p",{children:p()(_,(0,D.Em)({replaceTagNames:"p"}))})})]})]}),(0,d.jsxs)("div",{className:"table__mobile",children:[(0,d.jsx)("div",{className:"table__mobile__header",children:(0,d.jsx)("span",{children:c})}),(0,d.jsxs)("div",{className:"table__mobile__row",children:[(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:(0,d.jsx)("p",{children:p()(l,(0,D.Em)({replaceTagNames:"p"}))})})}),(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("p",{children:p()(h,(0,D.Em)({replaceTagNames:"p"}))})})]}),(0,d.jsxs)("div",{className:"table__mobile__row",children:[(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:(0,d.jsx)("p",{children:p()(m,(0,D.Em)({replaceTagNames:"p"}))})})}),(0,d.jsx)("div",{className:"table__mobile__cell",children:(0,d.jsx)("p",{children:p()(x,(0,D.Em)({replaceTagNames:"p"}))})})]})]})]}),(0,d.jsx)("p",{className:"main_tariffs__footer",children:p()(a,(0,D.Em)({replaceTagNames:"p"}))})]})]})})},L=function(e){var n=e.isUpcomingDynamicPriceChangeEnabled,t=e.upcomingDynamicPriceChangeContent;return n?(0,d.jsx)("div",{className:"main-container new-brand new-brand__new-font upcoming-dynamic-price-change",children:(0,d.jsx)("div",{className:"block",children:p()(t,(0,D.Em)())})}):null},Z=function(e){return isNaN(e)?"No":Number((100*e).toFixed(2))+"%"},W={0:function(){return(0,d.jsx)("span",{children:"Rate type"})},1:function(){return(0,d.jsx)("span",{children:"Annual Standing Charge (â¬)"})},2:function(){return(0,d.jsx)("span",{className:"main-tariffs__header",children:"Unit Rate (Cent per kWh)"})},3:function(e){return(0,d.jsxs)("span",{children:["Unit Rate - ",Z(e)," Discount"]})},4:function(e){return(0,d.jsxs)("span",{children:["EAB - ",Z(e)," Discount "]})}},Y={0:function(e){return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:e["Rate Type"]})})},1:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("span",{className:"main-tariffs__inc-vat",children:[e["Annual Standing Charge (Inc VAT)"]," Inc VAT"]}),(0,d.jsxs)("span",{className:"main-tariffs__ex-vat",children:[e["Annual Standing Charge (Ex VAT)"]," Ex VAT"]})]})},2:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("span",{className:"main-tariffs__inc-vat",children:[e["Unit Rate (Inc VAT)"]," Inc VAT "]}),(0,d.jsxs)("span",{className:"main-tariffs__ex-vat",children:[e["Unit Rate (Ex VAT)"]," Ex VAT "]})]})},3:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("span",{className:"main-tariffs__inc-vat",children:[e["Unit Discounted (Inc VAT)"]," Inc VAT "]}),(0,d.jsxs)("span",{className:"main-tariffs__ex-vat",children:[e["Unit Discounted (Ex VAT)"]," Ex VAT "]})]})},4:function(e){return(0,d.jsxs)("span",{className:"main-tariffs__eab",children:["â¬",e["EAB with Discount"]]})}},q={0:function(){return(0,d.jsx)("span",{children:"Annual Standing Charge (â¬)"})},1:function(){return(0,d.jsx)("span",{children:"Capacity Rate (â¬/Peak day kWh)"})},2:function(){return(0,d.jsx)("span",{children:"Unit Rate (Cent per kWh)"})},3:function(e){return(0,d.jsxs)("span",{children:["Unit Rate - ",Z(e)," Discount"]})},4:function(e){return(0,d.jsxs)("span",{children:["EAB - ",Z(e)," Discount "]})}},K={0:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("span",{className:"main-tariffs__inc-vat",children:[e["Annual Standing Charge (Inc VAT)"]," Inc VAT "]}),(0,d.jsxs)("span",{className:"main-tariffs__ex-vat",children:[e["Annual Standing Charge (Ex VAT)"]," Ex VAT "]})]})},1:function(e){return e["Capacity Rate (Inc VAT)"]&&e["Capacity Rate (Inc VAT)"]?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:e["Capacity Rate (Inc VAT)"]&&e["Capacity Rate (Inc VAT)"]+" Inc VAT"}),(0,d.jsx)("span",{className:"main-tariffs__ex-vat",children:e["Capacity Rate (Ex VAT)"]&&e["Capacity Rate (Ex VAT)"]+" Ex VAT"})," "]}):(0,d.jsx)("span",{children:"N/A"})},2:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("span",{className:"main-tariffs__inc-vat",children:[e["Unit Rate (Inc VAT)"]," Inc VAT "]}),(0,d.jsxs)("span",{className:"main-tariffs__ex-vat",children:[e["Unit Rate (Ex VAT)"]," Ex VAT "]})]})},3:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("span",{className:"main-tariffs__inc-vat",children:[e["Unit Discounted (Inc VAT)"]," Inc VAT "]}),(0,d.jsxs)("span",{className:"main-tariffs__ex-vat",children
1:[e["Unit Discounted (Ex VAT)"]," Ex VAT "]})]})},4:function(e){return(0,d.jsxs)("span",{className:"main-tariffs__eab",children:["â¬",e["EAB with Discount"]]})}},z={0:function(){return(0,d.jsx)("span",{children:"Rate type"})},1:function(){return(0,d.jsx)("span",{children:"Annual Standing Charge (â¬)"})},2:function(){return(0,d.jsx)("span",{className:"main-tariffs__header",children:"Unit Rate (Cent per kWh)"})},3:function(e){return(0,d.jsxs)("span",{children:["Unit Rate - ",Z(e)," Discount"]})},4:function(e){return(0,d.jsxs)("span",{children:["EAB - ",Z(e)," Discount "]})}},J={0:function(){return(0,d.jsx)("span",{children:"Rate type"})},1:function(){return(0,d.jsx)("span",{children:"Annual Standing Charge (â¬)"})},2:function(){return(0,d.jsx)("span",{className:"main-tariffs__header",children:"Unit Rate (Cent per kWh)"})},3:function(e,n){return(0,d.jsx)(d.Fragment,{children:n&&(0,d.jsx)("span",{children:"Unit Rate - ".concat(n.Product===j.nGh.SMART_MULTI_DISCOUNT?n["Discount Label"].trimEnd():"".concat(Z(e)," Discount"))})})},4:function(e,n){return(0,d.jsx)(d.Fragment,{children:n&&(0,d.jsx)("span",{children:"EAB - ".concat(n.Product===j.nGh.SMART_MULTI_DISCOUNT?n["Discount Label"].trimEnd():"".concat(Z(e)," Discount"))})})}},Q={0:function(e){return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:e["Rate Type"]})})},1:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("span",{className:"main-tariffs__inc-vat",children:[e["Annual Standing Charge (Inc VAT)"]," Inc VAT"]}),(0,d.jsxs)("span",{className:"main-tariffs__ex-vat",children:[e["Annual Standing Charge (Ex VAT)"]," Ex VAT"]})]})},2:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:""!==e["Unit Rate (Inc VAT)"]?"".concat(e["Unit Rate (Inc VAT)"]," Inc VAT"):""}),(0,d.jsx)("span",{className:"main-tariffs__ex-vat",children:""!==e["Unit Rate (Ex VAT)"]?"".concat(e["Unit Rate (Ex VAT)"]," Ex VAT"):""})]})},3:function(e){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"main-tariffs__inc-vat",children:""!==e["Unit Discounted (Inc VAT)"]?"".concat(e["Unit Discounted (Inc VAT)"]," Inc VAT"):""}),(0,d.jsx)("span",{className:"main-tariffs__ex-vat",children:""!==e["Unit Discounted (Ex VAT)"]?"".concat(e["Unit Discounted (Ex VAT)"]," Ex VAT"):""})]})},4:function(e){return(0,d.jsx)("span",{className:"main-tariffs__eab",children:"N/A"!==e["EAB with Discount"]?"⬠".concat(e["EAB with Discount"]):"N/A"})}},X=t(63397),$=t(29051),ee=function(e){(0,s.Z)(t,e);var n=(0,o.Z)(t);function t(){return(0,r.Z)(this,t),n.apply(this,arguments)}var a=t.prototype;return a.componentDidUpdate=function(){var e=this.props,n=e.loaded,t=e.dispatchFetchTariffs,a=e.content,i=e.tariffs;!0===n&&a&&!i&&t(a.offersFile)},a.render=function(){var e=this.props,n=e.content,t=e.loaded,a=e.error,i=e.upcomingTariffs,r=e.tariffs,s=e.isNewFixedRatesOnTariffsPageEnabled,o=void 0!==s&&s;if(!t||!n||!r)return(0,d.jsx)(k.w,{});if(a&&a.length)return(0,d.jsx)("div",{className:"main-container",children:(0,d.jsx)("p",{className:"error",children:a})});var _,x=n.title,b=n.pageMetaData,N=n.eabTitle,v=n.eabParagraph,T=n.eabAccordionTitle,g=n.eabAccordionParagraph,C=n.electricityTableFooterParagraph,w=n.electricityTableFooterParagraphFixedRate,E=n.electricityTableHeaderParagraph,R=n.gasTableFooterParagraph,A=n.gasTableFooterParagraphFixedRate,P=n.gasTableHeaderParagraph,y=n.smartTableFooterParagraph,F=n.smartTableHeaderParagraph,S=n.lastBlockTitle,I=n.lastBlockParagraph,M=n.electricityTableTitle,G=n.gasTableTitle,O=n.smartTableTitle,Z=n.twentyFourHourDisclaimer,$=n.bnaContainer,ee=n.rowSpanPattern,en=n.disclaimerPattern,et=n.defaultElectricityPlan,ea=n.defaultGasPlan,ei=n.defaultSmartPlan,er=n.defaultElectricityDiscount,es=n.defaultGasDiscount,ec=n.defaultSmartDiscount,el=n.upcomingElecTitle,eo=n.upcomingElecSubtitle,ed=n.upcomingGasSubtitle,eu=n.upcomingGasTitle,eh=n.upcomingSmartSubtitle,em=n.upcomingSmartTitle,ef=n.upcomingTariffsEnabled,e_=n.microgenContentTitle,ep=n.microgenContentRichText,ex=n.hideUpcomingGas,ej=n.pushUpcomingTariffsToTop,eb=n.upcomingPriceChangeContentBox,eN=n.dynamicContentTitle,ev=n.dynamicContentRichText,eT=n.dynamicTariffInformation,eg=n.isUpcomingDynamicPriceChangeEnabled,eC=n.upcomingDynamicPriceChangeContent,ew=(_=ee,function(e,n){return e&&(e.toLowerCase().includes(_)||n.includes(j.nGh.SMART)||n.includes(j.nGh.SMART_MULTI_DISCOUNT))?{atColumns:[1,4],every:200,fixedColumn:0}:{atColumns:[4],every:2,fixedColumn:0}}),eE=function(){return ex?null:(0,d.jsx)(V,{isNewFixedRatesEnabled:o,tariffs:i,onRenderHeaderCell:function(e,n){var t=n.selectedDiscount;return q[e](t)},onRenderProductsHeaderCell:function(e,n){var t=n.selectedDiscount;return q[e](t)},onRenderCell:function(e,n,t){return K[e](t)},defaultPlan:ea,defaultDiscount:es,columns:5,planFieldName:"gasPlan",discountFieldName:"gasDiscount",title:eu,subtitle:ed,product:j.nGh.GAS,products:[j.nGh.GAS],twentyFourHourDisclaimer:Z,disclaimerPattern:en})},eR=function(){return(0,d.jsx)(V,{isNewFixedRatesEnabled:o,tariffs:i,onRenderHeaderCell:function(e,n){var t=n.selectedDiscount;return W[e](t)},onRenderProductsHeaderCell:function(e,n){var t=n.selectedDiscount;return W[e](t)},onRenderCell:function(e,n,t){return Y[e](t)},defaultPlan:et,defaultDiscount:er,columns:5,planFieldName:"electricityPlan",discountFieldName:"electricityDiscount",title:el,subtitle:eo,product:j.nGh.ELECTRICITY,products:[j.nGh.ELECTRICITY],rowspan:ew,twentyFourHourDisclaimer:Z,disclaimerPattern:en})},eA=function(){return(0,d.jsx)(V,{isNewFixedRatesEnabled:o,tariffs:i,onRenderHeaderCell:function(e,n){var t=n.selectedDiscount;return z[e](t)},onRenderProductsHeaderCell:function(e,n,t){var a=n.selectedDiscount;return J[e](a,t)},onRenderCell:function(e,n,t){return Q[e](t)},defaultPlan:ei,defaultDiscount:ec,columns:5,planFieldName:"smartPlan",discountFieldName:"smartDiscount",title:em,subtitle:eh,product:j.nGh.SMART,products:[j.nGh.SMART,j.nGh.SMART_MULTI_DISCOUNT],rowspan:ew,twentyFourHourDisclaimer:Z,disclaimerPattern:en})},eD=ef&&i;return(0,d.jsx)(X.J9,{initialValues:{},onSubmit:function(){},children:(0,d.jsxs)("section",{className:"main-tariffs tariff-table new-brand new-brand__new-font",children:[(0,d.jsx)(f.S,{metadata:b}),(0,d.jsxs)("div",{className:"main-section-container",children:[(0,d.jsx)(H.c,{useNewBrandFont:!0,children:(0,d.jsx)("p",{children:x})}),(0,d.jsxs)("div",{className:"main-container",children:[(0,d.jsx)(m.p,{title:x,className:"normal--m-b"}),$&&(0,d.jsx)(u.M,(0,c.Z)({className:"bna__tariff",bnaType:j.PMU.CARD_TITLE_ONLY,loaderWrapperClassName:"bna__article--white-loader",loaderClassName:"blue"},$)),eb&&(0,d.jsx)(h.b,(0,l.Z)((0,c.Z)({},eb),{isNewBrand:!0}))]}),eD&&ej&&(0,d.jsxs)(d.Fragment,{children:[eE(),eR(),eA(),(0,d.jsx)(L,{isUpcomingDynamicPriceChangeEnabled:eg,upcomingDynamicPriceChangeContent:eC})]}),(0,d.jsx)(V,{isNewFixedRatesEnabled:o,tariffs:r,headerParagraph:P,footerParagraph:R,footerParagraphFixedRate:A,onRenderHeaderCell:function(e,n){var t=n.selectedDiscount;return q[e](t)},onRenderProductsHeaderCell:function(e,n){var t=n.selectedDiscount;return q[e](t)},onRenderCell:function(e,n,t){return K[e](t)},defaultPlan:ea,defaultDiscount:es,columns:5,planFieldName:"gasPlan",discountFieldName:"gasDiscount",title:G,product:j.nGh.GAS,products:[j.nGh.GAS],twentyFourHourDisclaimer:Z,disclaimerPattern:en},1),eD&&!ej&&eE(),(0,d.jsx)(V,{isNewFixedRatesEnabled:o,tariffs:r,headerParagraph:E,footerParagraph:C,footerParagraphFixedRate:w,onRenderHeaderCell:function(e,n){var t=n.selectedDiscount;return W[e](t)},onRenderProductsHeaderCell:function(e,n){var t=n.selectedDiscount;return W[e](t)},onRenderCell:function(e,n,t){return Y[e](t)},defaultPlan:et,defaultDiscount:er,columns:5,planFieldName:"electricityPlan",discountFieldName:"electricityDiscount",title:M,product:j.nGh.ELECTRICITY,products:[j.nGh.ELECTRICITY],rowspan:ew,twentyFourHourDisclaimer:Z,disclaimerPattern:en}),eD&&!ej&&eR(),(0,d.jsx)(V,{isNewFixedRatesEnabled:o,tariffs:r,headerParagraph:F,footerParagraph:y,onRenderHeaderCell:function(e,n){var t=n.selectedDiscount;return z[e](t)},onRenderProductsHeaderCell:function(e,n,t){var a=n.selectedDiscount;return J[e](a,t)},onRenderCell:function(e,n,t){return Q[e](t)},defaultPlan:ei,defaultDiscount:ec,columns:5,planFieldName:"smartPlan",discountFieldName:"smartDiscount",title:O,product:j.nGh.SMART,products:[j.nGh.SMART,j.nGh.SMART_MULTI_DISCOUNT],rowspan:ew,twentyFourHourDisclaimer:Z,disclaimerPattern:en}
1),eD&&!ej&&eA(),(0,d.jsx)(B,{dynamicContentTitle:eN,dynamicContentRichText:ev,dynamicTariffInformation:eT}),(0,d.jsx)("div",{className:"main-container",children:(0,d.jsx)("div",{className:"col-3-section no-m-t",children:(0,d.jsxs)("div",{className:"col-2",children:[(0,d.jsx)("header",{className:"section-header",children:(0,d.jsx)("h2",{className:"section-header__title",children:e_})}),p()(ep,(0,D.Em)())]})})}),(0,d.jsx)("div",{className:"main-container",children:(0,d.jsx)("div",{className:"col-3-section no-m-t",children:(0,d.jsxs)("div",{className:"col-2",children:[(0,d.jsx)("header",{className:"section-header",children:(0,d.jsx)("h2",{className:"section-header__title",children:N})}),(0,d.jsxs)("main",{children:[p()(v),(0,d.jsx)(U.to,{richTextTitle:p()(T),children:p()(g)})]})]})})}),(0,d.jsx)("div",{className:"main-container",children:(0,d.jsx)("div",{className:"col-3-section no-m-t",children:(0,d.jsxs)("div",{className:"col-2",children:[(0,d.jsx)("header",{className:"section-header",children:(0,d.jsx)("h3",{className:"section-header__title",children:S})}),(0,d.jsx)("main",{children:(0,d.jsx)("div",{className:"main_tariffs__footer",children:p()(I)})})]})})})]})]})})},t}(I.Component),en=(0,$.connect)(function(e){var n=(0,O.xm)(e),t=(0,M.$T)("tariffs",e);return(0,l.Z)((0,c.Z)({},t),{isNewFixedRatesOnTariffsPageEnabled:n})},function(e){return{dispatchFetchTariffs:function(n){e((0,G.fetchTariffsAction)(n))}}})(ee)},84328:function(){},82025:function(){},7853:function(){},19675:function(){},88995:function(){},75741:function(){},7857:function(){},53758:function(){}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.