1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{92:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(82337)}])},446:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trigger=function(e){var t=e.eventName,n=e.data;window._exhaust&&"function"==typeof window._exhaust.trigger||(window._exhaust_init_queue=window._exhaust_init_queue||[],window._exhaust={trigger:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return window._exhaust_init_queue.push(e)}}),window._exhaust.trigger(t,n)}},3399:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reset=t.isSameAsLastEvent=t.deepEqual=void 0;var r=n(89990),a=n(32522),i=new Map,o=new Map;t.deepEqual=function(e,n){return Array.isArray(e)?!!Array.isArray(n)&&e.length===n.length&&e.reduce(function(e,r,a){if(!e)return e;var i=(0,t.deepEqual)(r,n[a]);return e&&i},!0):"object"!=typeof e||null===e?e===n:"object"==typeof n&&null!==n&&Object.keys(e).reduce(function(r,a){if(!r)return r;var i=(0,t.deepEqual)(e[a],n[a]);return r&&i},!0)},t.isSameAsLastEvent=function(e,n){void 0===n&&(n=!1);var s,c=null!=(s=(0,r.getConfig)().sameEventTimeout)?s:a.SAME_EVENT_TIME_TO_LIVE_SECONDS,u=o.get(e.eventName)||0,l=i.get(e.eventName);return c>0&&(i.set(e.eventName,e),o.set(e.eventName,Date.now()+1e3*c)),!!(!n&&u>Date.now())&&(0,t.deepEqual)(e,l)},t.reset=function(){i.clear(),o.clear()}},3711:(e,t,n)=>{"use strict";n.d(t,{Dl:()=>a,JY:()=>v,KJ:()=>o,N6:()=>g,Qy:()=>s,RA:()=>m,Wl:()=>p,Wm:()=>_,_f:()=>d,jE:()=>c,lq:()=>u,p8:()=>f,pY:()=>y,ph:()=>h,q5:()=>l,sR:()=>b,wO:()=>i});var r=n(43713);let a="/home";var i=function(e){return e.NEWCust="NEWCust",e.ExistingCustomer="ExistingCustomer",e}({});let o=!0,s={FIND_ADDRESS:"See your deals",ALREADY_WITH_US:"Already with us?",NOT_BT_CUSTOMER:"Not a BT customer yet?"},c="custType",u="currentCustType",l="showNonCustHome",d="showCustHome",f=!0,h=!1,v="unrecognised",p="recognised",_={PROD_CMS_URL_NEWCUST_UPLIFT:(0,r.A)("/content/bt/storefront/api/bt-home/new-customer-uplift.model.json"),PROD_CMS_URL_EXTCUST_UPLIFT:(0,r.A)("/content/bt/storefront/api/bt-home/ext-customer-uplift.model.json")},b={HERO_BANNER:"hero_banner",PRODUCT_ICONS:"product_icon",COPYRIGHT:"copyright",CSS_STYLE:"css_style",NOTIFICATION_BAR:"notification_bar",SERVICE_CHECKER:"service_checker",HEADING_AND_DESCRIPTION:"heading-description",PRODUCT_CARD:"product-card",MAIN_HERO_BANNER:"main_hero_banner",HEADER_SUBHEADER:"header_subheader",TV_BANNER:"new-homepage-tv-banner",ADDON_CARD:"addon-cards",BUILD_PACKAGE:"3col_build_your_package",GET_OF_BOTH:"6col_best_of_both-BB_and_EE",CAROUSEL_BANNER:"main_hero_carousel",NOTIFICATION_PANEL:"notification-popup"},m={HERO_BANNER1:"hero1",HERO_BANNER2:"hero2",HERO_BANNER3:"hero3",MAIN_BANNER:"mainherobanner",BT_TV:"bt_tv_hero_banner",BT_SPORT:"bt_sport_hero_banner",BT_MOBILE:"bt_mobile_hero_banner"},g={ERROR_BLOCK_HEADING:"Sorry, we couldn't connect you",ERROR_BLOCK_TEXT:"We can't seem to find the page that you're looking for. Please try again, or use one of the handy links below. If you're looking for My BT, we've moved this to a new location. Use the link below to go to the right place.",ERROR_BLOCK_HEADING_500:"We'll be right back",ERROR_BLOCK_TEXT_500:"Sorry, but we are doing some maintenance on the site at the moment. It should be back, better than ever, in a short while."},y=(0,r.A)("/content/bt/storefront/api/broadband/legal-data.model.json")},9026:e=>{"use strict";e.exports=JSON.parse('{"packageVersion":"1.0.6"}')},10085:()=>{},11839:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(96016),t),a(n(90610),t),a(n(69629),t)},13750:(e,t,n)=>{"use strict";n.d(t,{$t:()=>s,eA:()=>i,oi:()=>o}),n(26594);var r=n(80237);let a=e=>"number"!=typeof e||e<=0?0:100*e,i=(e,t)=>{let n=a(e);return(n+a(t))/100};function o(){return!!r.KJ&&"true"===localStorage.getItem(r.TJ)}function s(){let e=null;if(!r.KJ)return e;let t=localStorage.getItem(r.ru);if(t)try{e=JSON.parse(t)}catch(e){console.log("Error parsing")}return e}},16738:function(e,t,n){"use strict";var r=n(65364),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)}
1,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AnalyticsScripts=t.EE_SCRIPT_URL=t.BT_SCRIPT_URL=void 0;var o=i(n(14232)),s=n(32522),c=n(9026),u=n(89990),l=n(16859);t.BT_SCRIPT_URL="https://assets.adobedtm.com/468fd5a0b220/5e2a7b1f96d2/launch-ENfdadf1bb09d848de85923e05be32e7d1.min.js",t.EE_SCRIPT_URL="https://assets.adobedtm.com/468fd5a0b220/f1dd5ada620a/launch-ENc69d733bf4824e17ac296b1064825816.min.js";var d=function(e){var t=e.analyticsVersion,n=e.dataLayer,r=null!=t?t:c.packageVersion,i=a(a({},n),{source:"fep-analytics-".concat(r)});return o.default.createElement("script",{key:"fep-analytics-data-layer-script","data-testid":"data-layer",dangerouslySetInnerHTML:{__html:"window.digitalData=".concat(JSON.stringify(i))}})},f=function(e){var n=e.dns===s.DnsNames.BT?t.BT_SCRIPT_URL:t.EE_SCRIPT_URL;return o.default.createElement("script",{async:!0,key:"fep-analytics-tag-manager-script",src:n})};t.AnalyticsScripts=function(e){var t=e.dataLayerConfig,n=e.analyticsVersion,a=e.disableDtrumScript,i=(0,l.createDataLayer)(t),c=t.dns;(0,u.storeConfig)(t),Object.values(s.DnsNames).includes(c)||console.warn('[fep-analytics] The value of "dns" is invalid. Accepted values: '.concat(Object.values(s.DnsNames)));var h=[d({analyticsVersion:n,dataLayer:i}),f({dns:c})];return!a&&(h.unshift(o.default.createElement("script",{key:"fep-analytics-dtrum-bugfix-script",dangerouslySetInnerHTML:{__html:"window.dtrum = window.dtrum || { enable: function () { console.debug('[Analytics] Fake dtrum.enable is called.') } }"}})),r.env&&r.env.ANALYTICS_DEBUG_MODE&&console.debug("Dtrum bugfix script injected")),o.default.createElement(o.default.Fragment,null,h)}},16859:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.createDataLayer=function(e){var t=e.appName,n=e.channel,i=e.dns,o=e.environment,s=e.pageName,c=e.version,u=i===a.DnsNames.BT?{user:{},vendor:{adobe:{analytics:{pageName:s}}}}:{};return r({application:{name:t,channel:n,environment:o,is_spa:!0,version:c||"2.1.6"}},u)};var a=n(32522)},18058:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateAdobeConfig=void 0;var r=n(32522);t.generateAdobeConfig=function(e){var t=e.dns,n=e.analyticsPageName;return t===r.DnsNames.BT?{adobe:{pageName:n}}:{}}},18105:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(14232);function a(e){var t=r.createContext(null);return{Provider:function(n){var a=e(n.initialState);return r.createElement(t.Provider,{value:a},n.children)},useContainer:function(){var e=r.useContext(t);if(null===e)throw Error("Component must be wrapped with <Container.Provider>");return e}}}},23390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},24530:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){var e=function(){},t={},n={},r={};function a(e,t){if(e){var a=r[e];if(n[e]=t,a)for(;a.length;)a[0](e,t),a.splice(0,1)}}function i(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function o(n,r,o){var s,c;if(r&&r.trim&&(s=r),c=(s?o:r)||{},s)if(s in t)throw"LoadJS";else t[s]=!0;function u(t,r){!function(t,n,r){var a,i,o=(t=t.push?t:[t]).length,s=o,c=[];for(i=0,a=function(e,t,r){if("e"==t&&c.push(e),"b"==t)if(!r)return;else c.push(e);--o||n(c)};i<s;i++)!function t(n,r,a,i){var o,s,c,u=document,l=a.async,d=(a.numRetries||0)+1,f=a.before||e,h=n.replace(/[\?|#].*$/,""),v=n.replace(/^(css|img|module|nomodule)!/,"");if(i=i||0,/(^css!|\.css$)/.test(h))(c=u.createElement("link")).rel="stylesheet",c.href=v,(o="hideFocus"in c)&&c.relList&&(o=0,c.rel="preload",c.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h))(c=u.createElement("img")).src=v;else if((c=u.createElement("script")).src=v,c.async=void 0===l||l,s="noModule"in c,/^module!/.test(h)){if(!s)return r(n,"l");c.type="module"}else if(/^nomodule!/.test(h)&&s)return r(n,"l");c.onload=c.onerror=c.onbeforeload=function(e){var s=e.type[0];if(o)try{c.sheet.cssText.length||(s="e")}catch(e){18!=e.code&&(s="e")}if("e"==s){if((i+=1)<d)return t(n,r,a,i)}else if("preload"==c.rel&&"style"==c.as)return c.rel="stylesheet";r(n,s,e.defaultPrevented)},!1!==f(n,c)&&u.head.appendChild(c)}(t[i],a,r)}(n,function(e){i(c,e),t&&i({success:t,error:r},e),a(s,e)},c)}if(c.returnPromise)return new Promise(u);u()}return o.ready=function(e,t){return!function(e,t){e=e.push?e:[e];var a,i,o,s=[],c=e.length,u=c;
1for(a=function(e,n){n.length&&s.push(e),--u||t(s)};c--;){if(o=n[i=e[c]]){a(i,o);continue}(r[i]=r[i]||[]).push(a)}}(e,function(e){i(t,e)}),o},o.done=function(e){a(e,[])},o.reset=function(){t={},n={},r={}},o.isDefined=function(e){return e in t},o})?n.apply(t,[]):n)||(e.exports=r)},26594:function(e,t,n){var r;e=n.nmd(e),function(a){"use strict";var i=function(e,t){if(null!=e)return e[t]},o=function(e,t){for(var n=t.split("."),r=e;n.length;)r=i(r,n.shift());return r};o.has=function(e,t){if(void 0!==o(e,t))return!0;var n=t.split("."),r=o(e,n.slice(0,-1).join(".")),a=n.slice(-1);return null!==r&&"object"==typeof r&&a in r},o(e,"exports")?e.exports=o:o(n.amdD,"amd")?void 0===(r=(function(){return o}).call(t,n,t,e))||(e.exports=r):a.delve=o}(this)},28903:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var r=n(14232),a=n(18105);let i="SET_CUST_TYPE";function o(e,t){if(t.type===i)return{...e,showCustType:!e.showCustType};throw Error("".concat(t.type," is not a valid action type"))}let s=(0,a.g)(function(){let[e,t]=(0,r.useReducer)(o,{showCustType:!1});return{state:e,setCustType:()=>t({type:i})}})},30754:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.handlePageView=void 0;var a=n(80497),i=n(89990),o=n(32522),s=n(94502);t.handlePageView=function(e){var t=e.pageInfo,n=e.user,c=e.metadata,u=e.forceSending,l=(0,i.getConfig)(),d=l.channel,f=l.dns,h=l.environment;f===o.DnsNames.EE&&"bt"===o.DnsNames.EE||t?(i.DebugConsole.log("Recorded page view: ",(null==t?void 0:t.analyticsPageName)||"EE page view triggered based on base path"),(0,s.sendEventToTagManager)({eventName:o.EventNames.VIEW_PAGE,data:(0,a.mapPageConfigData)(r(r(r({},t),(0,a.generateChannelData)({dns:f,channel:d})),{environment:h,dns:f||"bt",user:n,metadata:c})),forceSending:u})):i.DebugConsole.error("No page name configured for ".concat(t))}},32522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SAME_EVENT_TIME_TO_LIVE_SECONDS=t.EventNames=t.HTTPRequestMethods=t.ErrorTypes=t.ErrorNames=t.NbaEventNames=t.EnvironmentNames=t.DnsNames=t.UserProductCategories=t.UserProductTypes=t.ProductCategories=t.ProductContextNames=t.ChannelNames=t.BasketItemActionNames=t.ActionNames=void 0,t.ActionNames={STARTED:"started",COMPLETED:"completed"},t.BasketItemActionNames={ADDED:"item.added",REMOVED:"item.removed",EMPTY:"item.empty",VIEW:"item.viewed",CHECKOUT:"item.checkout",ADD_SHIPPING_INFO:"item.addshippinginfo",ADD_PAYMENT_INFO:"item.addpaymentinfo"},t.ChannelNames={SHOP:"shop",MY_ACCOUNT:"myaccount",HELP:"help",STORE_FINDER:"storefinder",COVERAGE_CHECKER:"coveragechecker",COMMUNITY_URL:"community",BROADBAND:"broadband",EE:"ee"},t.ProductContextNames={GALLERY:"PLP",PRODUCT:"PDP",EXTRA:"extra",BENEFITS:"benefits",RECOMMENDATIONS:"NBA"},t.ProductCategories={HANDSET:"Handset",WATCHES:"Watches",TABLET:"Tablet",LAPTOP:"Laptop",DONGLE:"Dongle",HOME_BROADBAND:"Home broadband",PAYM_PLAN:"PAYM Plan",PAYG_PLAN:"PAYG Plan",SIM:"Sim",ADDONS:"Addons",INSURANCE:"Insurance",ACCESSORY:"Accessory"},t.UserProductTypes={MOBILE:"mobile",BROADBAND:"broadband"},t.UserProductCategories={PAYM:"paym",PAYG:"payg",FTTC:"fttc",FTTP:"fttp"},t.DnsNames={BT:"bt",EE:"ee"},t.EnvironmentNames={DEVELOPMENT:"development",PRODUCTION:"production",STAGING:"staging"},t.NbaEventNames={VIEW_ELIGIBLE:"view eligible",DISPLAY:"display",CLICK:"click"},t.ErrorNames={500:"500_INTERNAL_SERVER_ERROR"},t.ErrorTypes={API:"api",INPUT:"input",VALIDATION:"validation",SYSTEM:"system",UNKNOWN:"unknown"},t.HTTPRequestMethods={POST:"POST",GET:"GET"},t.EventNames={BASKET:"basketEvent",CHECKER:"checkerEvent",ERROR_OCCURRED:"errorOccurred",JOURNEY_ACTION_COMPLETED:"journeyActionCompleted",NBA_RECOMMENDATIONS:"nbaRecommendations",VIEW_PAGE:"viewPage",VIEW_PRODUCT:"viewProduct",TRANSACTION:"transaction"},t.SAME_EVENT_TIME_TO_LIVE_SECONDS=60},32737:function(e,t,n){"use strict";var r=n(65364),a=this;
1Object.defineProperty(t,"__esModule",{value:!0}),t.DebugConsole=t.setDebugEnabled=void 0;var i="true"===r.env.ANALYTICS_DEBUG_MODE;t.setDebugEnabled=function(e){i=e};var o=function(e){return["[Analytics]"].concat(e)};t.DebugConsole={log:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i&&console.log.apply(a,o(e))},warn:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i&&console.warn.apply(a,o(e))},error:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i&&console.error.apply(a,o(e))},debug:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i&&console.debug.apply(a,o(e))}}},33005:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocation=t.hasWindow=void 0,t.hasWindow=function(){return!!window},t.getLocation=function(){return window.location}},34721:(e,t,n)=>{"use strict";n.d(t,{wi:()=>c,Y9:()=>s,_Z:()=>i,AY:()=>o});var r=n(37876),a=n(14232);let i=(0,a.memo)(e=>{let{classNameProp:t,width:n,height:a,color:i,ariaRole:o}=e;return(0,r.jsx)("svg",{width:n||"15",height:a||"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-hidden":"true",role:o,className:t||void 0,children:(0,r.jsx)("path",{d:"M14 9h-4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V10a1 1 0 0 0-1-1Zm-1 12h-2V11h2v10ZM22 9h-4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V10a1 1 0 0 0-1-1Zm-1 12h-2V11h2v10Z",fill:i||"#6400AA"})})}),o=(0,a.memo)(e=>{let{classNameProp:t,width:n,height:a,color:i,ariaRole:o}=e;return(0,r.jsx)("svg",{width:n||"15",height:a||"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-hidden":"true",role:o,className:t||void 0,children:(0,r.jsx)("path",{d:"m23.448 15.106-12-6a1.001 1.001 0 0 0-1.446.894v12a1.001 1.001 0 0 0 1.448.894l12-6a1.002 1.002 0 0 0 0-1.788h-.002ZM12 20.382v-8.764L20.764 16 12 20.382Z",fill:i||"#6400AA"})})}),s=(0,a.memo)(()=>(0,r.jsx)("header",{className:"aem-global-header",id:"aem-global-header",suppressHydrationWarning:!0})),c=(0,a.memo)(()=>(0,r.jsx)("footer",{id:"aem-global-footer",className:"aem-global-footer",suppressHydrationWarning:!0}))},35335:(e,t,n)=>{"use strict";n.d(t,{Bt:()=>er,DJ:()=>m,DK:()=>en,Dh:()=>ec,EU:()=>a,EY:()=>Z,Ez:()=>h,Ff:()=>I,I0:()=>d,IX:()=>L,K4:()=>R,Kl:()=>et,LY:()=>F,MM:()=>o,NF:()=>v,OQ:()=>ea,Oy:()=>O,P0:()=>k,R:()=>b,Rp:()=>w,Rs:()=>l,St:()=>ee,Uh:()=>P,Us:()=>D,VB:()=>A,W_:()=>E,Wv:()=>N,XB:()=>u,XY:()=>f,Xj:()=>ei,Z5:()=>$,_:()=>eo,_9:()=>z,a:()=>U,aQ:()=>C,au:()=>c,bj:()=>M,ey:()=>H,fS:()=>V,fU:()=>j,ih:()=>x,j2:()=>W,lA:()=>B,m$:()=>_,mD:()=>r,pc:()=>p,pr:()=>G,qB:()=>q,qJ:()=>Q,rC:()=>X,rd:()=>es,sZ:()=>eu,sz:()=>T,t3:()=>i,tP:()=>S,tf:()=>Y,uF:()=>J,vb:()=>K,vx:()=>g,wV:()=>s,wY:()=>y});let r="BT_SC_CACHED_DATA",a="/aem/storefront/broadband",i="/aem/storefront/tv",o="/aem/storefront/add-tv",s="/aem/storefront/upgrade-your-broadband",c="/aem/storefront/upgrade-your-broadband-bt-sports-sky",u="/aem/storefront/bt-plus-bundle-ec",l="/aem/storefront/cw",d="/aem/storefront/cw-ec",f="/aem/storefront/tv-affiliates",h="/aem/storefront/broadband-students",v="/aem/storefront/upgrade-tv",p="/aem/storefront/uso",_="/aem/storefront/mobile",b="/aem/storefront/tv-led-bb",m="/aem/storefront/halo-3-plus",g="postcode",y="addressId",E="resultDetailsHeading",O="customerJourney",w="journeyType",C="postcode",S="selectedAddress",A="telephone",T="house",P="presalesSubPremiseName",N="presalesHomeName",D="presalesDependentThoroughfare",R="presalesHomeNumber",j="presalesDoubleDependentLocality",k="presalesThoroughfare",I="presalesPostTown",x="county",B="pstnConsent",M="revisionDetails",L="revisionNumber",V="4.6.0",U="default",H="broadband-deals",F="tv",W="add-tv",G="upgrade",K="upgrade-bts",q="btpb-ec",z="cw",Y="cw-ec",J="upgrade-tv",X="mobile",$="tv-affiliate",Z="tv-led-bb",Q="uso-journey",ee="halo-3-plus",et="productAvailabilitySuccess",en="productAvailabilityFailure",er=45e3,ea="serviceLineTypes",ei="isExistingClient",eo="fttpFieldType",es="addressIdAndFttpFieldType",ec="XXX",eu="N1"},35785:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendCustomEvent=void 0;var r=n(32522),a=n(41134);t.sendCustomEvent=function(e){var t=e.eventName,n=e.data;if(Object.values(r.EventNames).includes(t))throw Error("".concat(t," is a reserved event name"));(0,a.sendEventToTagManager)({eventName:t,data:n})}},41134:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};
1Object.defineProperty(t,"__esModule",{value:!0}),t.sendEventToTagManager=function(e){var t=e.forceSending,n=e.origin,r=e.pathname,i=a(e,["forceSending","origin","pathname"]);try{var l=u({event:i,origin:n,pathname:r});if((0,o.isSameAsLastEvent)(l,t))return void s.DebugConsole.debug("Skip event sending: ".concat(i.eventName),i.data);"undefined"!=typeof window&&((0,c.trigger)(i),s.DebugConsole.log("Sending event: ".concat(i.eventName),i.data))}catch(e){s.DebugConsole.error("Error sending event ".concat(null==i?void 0:i.eventName," to tag manager:"),e)}};var i=n(32522),o=n(64310),s=n(89990),c=n(446),u=function(e){var t=e.event,n=e.origin,a=e.pathname;if(t.eventName===i.EventNames.VIEW_PAGE){var o=(0,s.hasWindow)()?(0,s.getLocation)():{origin:n||"unknown",pathname:a||"unknown"};return{eventName:t.eventName,data:r(r({},t.data),{additionalComparison:o.origin+o.pathname})}}return t}},43713:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=e=>"".concat("https://www.bt.com").concat(e)},45105:(e,t,n)=>{e.exports=n(87665)},51325:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});let r={"/":{analyticsPageName:"con:dbs:Home"},"/error":{analyticsPageName:"con:dbs:Home:error"},"/maintenance":{analyticsPageName:"con:dbs:Home:maintenance"},"/security":{analyticsPageName:"con:dbs:Home:security"},"/downloadmybtapp":{analyticsPageName:"con:dbs:Home:downloadmybtapp"}}},52360:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.usePageTracker=void 0,a(n(32522),t),a(n(94502),t),a(n(11839),t),a(n(80497),t),a(n(69382),t),a(n(63362),t),a(n(89990),t);var i=n(69629);Object.defineProperty(t,"usePageTracker",{enumerable:!0,get:function(){return i.usePageTracker}})},52886:function(e,t){"use strict";var n=this&&this.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.channelMapEntries=void 0,t.channelMapEntries=n([{basePath:"/mobile",subdomain:"",channel:"shop"},{basePath:"/mobile-phone-deals",subdomain:"",channel:"shop"},{basePath:"/shop",subdomain:"",channel:"shop"},{basePath:"/accessories",subdomain:"",channel:"shop"},{basePath:"/basket",subdomain:"",channel:"shop"},{basePath:"/campaigns",subdomain:"",channel:"shop"},{basePath:"/family-account",subdomain:"",channel:"shop"},{basePath:"/features-and-articles",subdomain:"",channel:"shop"},{basePath:"/smart-tech",subdomain:"",channel:"shop"},{basePath:"/computing-tablets",subdomain:"",channel:"shop"},{basePath:"/new-phones-coming-soon",subdomain:"",channel:"shop"},{basePath:"/partner-deals",subdomain:"",channel:"shop"},{basePath:"/phones4u",subdomain:"",channel:"shop"},{basePath:"/sharer-bundles",subdomain:"",channel:"shop"},{basePath:"/sharer-details",subdomain:"",channel:"shop"},{basePath:"/upgrade",subdomain:"",channel:"shop"},{basePath:"/device",subdomain:"",channel:"shop"},{basePath:"/smart-home",subdomain:"",channel:"shop"},{basePath:"/app",subdomain:"",channel:"myaccount"},{basePath:"/bills-payments",subdomain:"",channel:"myaccount"},{basePath:"/plans-subscriptions",subdomain:"",channel:"myaccount"},{basePath:"/activation-portal",subdomain:"",channel:"myaccount"},{basePath:"/",subdomain:"id",channel:"myaccount"},{basePath:"/broadband",subdomain:"",channel:"broadband"},{basePath:"/home-broadband",subdomain:"",channel:"broadband"},{basePath:"/help",subdomain:"",channel:"help"},{basePath:"/contact-ee",subdomain:"",channel:"help"},{basePath:"/why-ee",subdomain:"",channel:"ee"},{basePath:"/store-finder",subdomain:"",channel:"storefinder"},{basePath:"/store-finder",subdomain:"",channel:"storefinder"},{basePath:"/",subdomain:"coverage",channel:"coveragechecker"},{basePath:"/",subdomain:"community",channel:"community"}],[{basePath:"/exp/analytics-demo",subdomain:"",channel:"shop"},{basePath:"/help",subdomain:"community",channel:"community"}],!0)},54059:(e,t,n)=>{"use strict";var r=n(14232),a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(r),i=function(e){var t=e.brand,n=e.children;return a.default.createElement("div",{className:"lc"+(t?" lc-"+t:"")},n)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}var c=function(e,t,n){return e(n={path:void 0,exports:{},require:function(e,t){throw null==t&&n.path,Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}}
1,n.exports),n.exports}(function(e){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var i=typeof a;if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)&&a.length){var o=n.apply(null,a);o&&e.push(o)}else if("object"===i)for(var s in a)t.call(a,s)&&a[s]&&e.push(s)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}),u=r.forwardRef(function(e,t){var n,r=e.children,i=e.className,s=e.elementType,u=e.href,l=e.isDisabled,d=e.isDisplayBlock,f=e.isFullWidth,h=e.onClick,v=e.rel,p=e.target,_=e.testId,b=e.analyticsLabel,m=e.type,g=c(((n={"lc-Button":!0,"lc-Button--displayBlock":d,"lc-Button--fullWidth":f&&"default"===f})["lc-Button--fullWidth"+(f&&f.toUpperCase())]=f&&"default"!==f,n[""+i]=i,n)),y={"data-testid":_,"data-analytics-link":b,disabled:l,onClick:h,type:m,ref:t};return"a"===(void 0===s?"button":s)||u?a.default.createElement("a",o({},y,{"aria-disabled":l||void 0,href:l?void 0:u,rel:v,tabIndex:l?void 0:0,target:p,className:g}),r):a.default.createElement("button",o({},y,{className:g,disabled:l}),r)}),l=r.createContext({surfaceBackground:""}),d=l.Provider,f=function(e){var t,n=e.background,r=e.children,i=e.className;return a.default.createElement(d,{value:{surfaceBackground:void 0===n?"white":n}},a.default.createElement("div",{className:c(((t={"lc-Surface":!0})[""+i]=i,t))},r))},h=["black","grey-10","indigo"],v=r.forwardRef(function(e,t){var n=e.children,i=e.colorVariant,d=e.styleVariant,f=void 0===d?"primary":d,v=s(e,["children","colorVariant","styleVariant"]),p=r.useContext(l).surfaceBackground,_=c({"lc-ButtonBT":!0,"lc-ButtonBT--colorPurchase":"purchase"===(void 0===i?"core":i)&&"secondary"!==f,"lc-ButtonBT--onDarkBackground":h.includes(p),"lc-ButtonBT--styleSecondary":"secondary"===f});return a.default.createElement(u,o({className:_,ref:t},v),n)}),p=function(e){var t=e.id,n=e.idError,r=void 0===n?t+"-error":n,a=e.idHelper,i=void 0===a?t+"-helper":a,o=e.errorMessage,s=e.helper;if(!t)return{ariaDescribedby:void 0,idHelper:void 0,idError:void 0};var c=[];return o&&c.push(r),s&&c.push(i),{ariaDescribedby:c.length>0?c.join(" "):void 0,idError:r,idHelper:i}},_=function(e){var t="number"===e.type?"text":e.type,n=e.inputMode;e.inputMode||("email"===e.type?n="email":"number"===e.type?n="numeric":"tel"===e.type?n="tel":"url"===e.type&&(n="url"));var r=e.pattern;return e.pattern||"number"!==e.type||(r="[0-9]*"),{inputMode:n,pattern:r,type:t}},b=function(){var e=r.useState(!1),t=e[0],n=e[1];return r.useEffect(function(){n(!!window.MSInputMethodContext&&!!document.DOCUMENT_NODE)},[]),[t]},m=r.forwardRef(function(e,t){var n,r=e.className,i=e.errorMessage,s=e.helper,u=e.id,l=e.isChecked,d=void 0!==l&&l,f=e.isDisabled,h=void 0!==f&&f,v=e.isRequired,_=void 0!==v&&v,m=e.label,g=e.name,y=e.onChange,E=e.value,O=e.testId,w=e.isInGroup,C=u+"-label",S=p({id:u,errorMessage:i,helper:s}),A=S.ariaDescribedby,T=S.idHelper,P=S.idError,N={};"function"==typeof y?N.checked=d:d&&!y&&(N.defaultChecked=!0);var D=b()[0];return a.default.createElement("div",{className:c(((n={"lc-Checkbox":!0,"lc-Checkbox--disabled":h,"lc-Checkbox--invalid":i})[""+r]=r&&!D,n))},a.default.createElement("label",{id:C,htmlFor:u,className:"lc-Checkbox-label"},a.default.createElement("input",o({"aria-describedby":A,"aria-disabled":h,"aria-invalid":i?"true":"false","aria-required":_?"true":void 0,className:"lc-Checkbox-input"},N,{disabled:h,"data-testid":O,id:u,name:g,onChange:y,ref:t,required:_,type:"checkbox",value:E})),a.default.createElement("span",{className:"lc-Checkbox-box"}),a.default.createElement("span",{className:"lc-Checkbox-label-content"},m,!_&&!(void 0!==w&&w)&&" (Optional)")),s&&a.default.createElement("div",{id:T,className:"lc-Checkbox-helper"},s),i&&a.default.createElement("div",{id:P,className:"lc-Checkbox-error"},i))}),g=r.forwardRef(function(e,t){var n=s(e,[]);return a.default.createElement(m,o({},n,{className:"lc-CheckboxBT",ref:t}))}),y=function(e){var t=e.children;return r.useEffect(function(){a.default.Children.map(t,function(e){if(e&&e.type!==E)throw Error("Illegal child passed to <Columns />. Ensure to only use <Columns.Col />.")})},[t]),a.default.createElement("div",{className:"lc-Columns"},t)},E=function(e){var t,n=e.align,r=void 0===n?"top":n,i=e.children,o=e.isVisible,s=e.span,u=e.spanS,l=e.spanM,d=e.spanL,f=e.spanXL;return a.default.createElement("div",{className:c(((t={})["lc-Col"]=!0,t["lc-Col--alignBottom"]="bottom"===r,t["lc-Col--alignCenter"]="center"===r,t["lc-Col--"+s]=void 0!==s,t["lc-Col--S"+u]=void 0!==u,t["lc-Col--M"+l]=void 0!==l,t["lc-Col--L"+d]=void 0!==d,t["lc-Col--XL"+f]=void 0!==f,t["lc-Col--visible"]=o,t))},i)};E.displayName="Columns.Col",y.Col=E;var O=function(e){var t,n=e.className,r=e.children,i=e.elementType,s=void 0===i?"div":i,u=e.errorMessage,l=e.helper,d=e.htmlFor,f=e.id,h=e.isRequired,v=e.label,_=e.testId,b=p({errorMessage:u,helper:l,id:d||f}),m=b.ariaDescribedby,g=b.idError,y=b.idHelper,E="div"===s?"label":"legend",O={},w={};return"label"===E?(w.htmlFor=d,d?w.id=d+"-label":f&&(w.id=f+"-label")):O["aria-describedby"]=m,a.default.createElement(s,o({className:c(((t={"lc-FormControl":!0})[""+n]=n,t)),id:f,"data-testid":_},O),a.default.createElement(E,o({className:"lc-FormControl-label"},w),v," ",!(void 0!==h&&h)&&a.default.createElement("span",{className:"lc-FormControl-labelOptional"},"(Optional)")),l&&a.default.createElement("div",{className:"lc-FormControl-helper",id:y},l),r,u&&a.default.createElement("div",{className:"lc-FormControl-error",id:g},u))},w=function(e){var t,n=e.className,r=e.labelSize,i=void 0===r?"l":r,u=e.labelWeight,l=s(e,["className","labelSize","labelWeight"]);return a.default.createElement(O,o({className:c(((t={"lc-FormControlBT":!0,"lc-FormControlBT--smallLabel":"s"===i,"lc-FormControlBT--normalLabel":"normal"===(void 0===u?"bold":u)&&"s"===i})[""+n]=n,t))},l))},C=function(e){var t,n=e.children,r=e.className,i=e.isInline,o=e.level,s="span";return o&&!i&&(s="h"+o),a.default.createElement(s,{className:c(((t={"lc-Heading":!0,"lc-Heading--inline":i})[""+r]=r,t))},n)},S={indigo:["white","grey-01","grey-02"],pink:["indigo","grey-10","black"],white:["indigo","grey-10","black"]},A=r.forwardRef(function(e,t){var n,r=e.children,i=e.className,u=e.isBold,l=e.isDisplayBlock,d=e.testId,f=e.analyticsLabel,h=s(e,["children","className","isBold","isDisplayBlock","testId","analyticsLabel"]);return a.default.createElement("a",o({className:c(((n={"lc-Link":!0,"lc-Link--isBold":u,"lc-Link--displayBlock":l})[""+i]=i,n)),"data-testid":d,"data-analytics-link":f,ref:t},h),r)}),T=r.createContext({}),P=T.Provider,N=function(){var e=r.useContext(T);return e||console.warn("Ensure to use <RadioGroup.RadioButton />
1 within the <RadioGroup /> or its branded version."),e},D=r.forwardRef(function(e,t){var n,r=e.className,i=e.helper,o=e.id,s=e.label,u=e.value,l=e.testId,d=N(),f=d.isDisabled,h=d.isInvalid,v=d.isRequired,_=d.isChecked,b=d.name,m=d.changeEvent,g=d.errorMessage,y=d.errorId,E=o+"-label",O=!!f&&f,w=p({id:o,idError:y+"-error",helper:i,errorMessage:g}),C=w.ariaDescribedby,S=w.idHelper;return a.default.createElement("div",{className:c(((n={"lc-RadioButton":!0,"lc-RadioButton--checked":_,"lc-RadioButton--disabled":O,"lc-RadioButton--invalid":h,"lc-RadioButton--required":v})[""+r]=r,n))},a.default.createElement("label",{className:"lc-RadioButton-label",htmlFor:o,id:E},a.default.createElement("input",{"aria-describedby":C,"aria-disabled":O,className:"lc-RadioButton-input",defaultChecked:_===u,disabled:f,"data-testid":l,id:o,name:b,onChange:m,ref:t,required:v,type:"radio",value:u}),a.default.createElement("span",{className:"lc-RadioButton-label-content"},s)),i&&a.default.createElement("div",{className:"lc-RadioButton-helper",id:S}
1,i))}),R=function(e){var t,n=e.className,r=e.children,i=e.defaultValue,o=e.isDisabled,s=void 0!==o&&o,u=e.isRequired,l=void 0!==u&&u,d=e.errorMessage,f=e.id,h=e.helper,v=e.label,p=e.name,_=e.onChange,b=e.renderFormControl,m=e.testId;return a.default.createElement(P,{value:{isChecked:i,isRequired:l,isDisabled:s,isInvalid:!!d,errorId:f,errorMessage:d,name:p,changeEvent:_}},a.default.createElement(void 0===b?O:b,{elementType:"fieldset",label:v,errorMessage:d,helper:h,isRequired:l,id:f,testId:m},a.default.createElement("div",{className:c(((t={"lc-RadioGroup":!0,"lc-RadioGroup--invalid":d,"lc-RadioGroup--disabled":s})[""+n]=n,t))},r)))};R.RadioButton=D;var j=function(e){var t,n=e.children,r=e.className,i=e.isInline,o=e.isMeasured,s=e.elementType;return a.default.createElement(void 0===s?"p":s,{className:c(((t={"lc-Text":!0,"lc-Text--inline":i,"lc-Text--measured":o})[""+r]=r,t))},n)},k=r.forwardRef(function(e,t){var n,r=e.className,i=e.defaultValue,s=e.errorMessage,u=e.helper,l=e.id,d=e.inputMode,f=e.isDisabled,h=e.isReadOnly,v=e.isRequired,b=void 0!==v&&v,m=e.label,g=e.maxLength,y=e.minLength,E=e.name,w=e.onChange,C=e.pattern,S=e.renderFormControl,A=e.type,T=e.value,P=_({inputMode:d,pattern:C,type:void 0===A?"text":A}),N=p({errorMessage:s,id:l,helper:u}).ariaDescribedby;return a.default.createElement("div",{className:c(((n={"lc-TextInput":!0,"lc-TextInput--invalid":s})[""+r]=r,n))},a.default.createElement(void 0===S?O:S,{errorMessage:s,helper:u,htmlFor:l,isRequired:b,label:m},a.default.createElement("input",o({"aria-describedby":N,"aria-invalid":s?"true":"false","aria-required":b?"true":void 0,className:"lc-TextInput-input",defaultValue:void 0!==T?void 0:void 0===i?"":i,disabled:void 0!==f&&f,id:l,maxLength:g,minLength:y,name:E,onChange:w,readOnly:void 0!==h&&h,ref:t,required:b,value:void 0!==T?T:void 0},P))))}),I=r.forwardRef(function(e,t){var n=e.labelSize,i=void 0===n?"l":n,u=e.labelWeight,l=void 0===u?"bold":u,d=s(e,["labelSize","labelWeight"]),f=r.useMemo(function(){return function(e){return a.default.createElement(w,o({},e,{labelSize:i,labelWeight:l}))}},[i,l]);return a.default.createElement(k,o({className:c({"lc-TextInputBT":!0}),ref:t,renderFormControl:f},d))}),x=function(e){var t,n=e.className,r=e.isVisible;return a.default.createElement("div",{className:c(((t={"lc-VerticalSpace":!0,"lc-VerticalSpace--visible":r})[""+n]=n,t))})},B=function(e){var t=e.condition,n=e.wrapper,r=e.children;return t?n(r):r},M=r.createContext({}).Provider,L=function(e){var t,n=e.className,r=e.children,i=e.defaultValue,o=e.isDisabled,s=void 0!==o&&o,u=e.isRequired,l=void 0!==u&&u,d=e.errorMessage,f=e.id,h=e.helper,v=e.label,p=e.name,_=e.onChange,b=e.renderFormControl,m=e.testId,g=a.default.Children.toArray(r).map(function(e){return a.default.cloneElement(e,{isInGroup:!0,isDisabled:s})});return a.default.createElement(M,{value:{isChecked:i,isRequired:l,isDisabled:s,isInvalid:!!d,errorId:f,errorMessage:d,name:p,changeEvent:_}},a.default.createElement(void 0===b?O:b,{elementType:"fieldset",label:v,errorMessage:d,helper:h,isRequired:l,id:f,testId:m},a.default.createElement("div",{className:c(((t={"lc-CheckboxGroup":!0,"lc-CheckboxGroup--invalid":d,"lc-CheckboxGroup--disabled":s})[""+n]=n,t))},g)))};L.Checkbox=m;t.C6=function(e){var t=e.children;return a.default.createElement(i,{brand:"bt"},t)},t.$n=v,t.DZ=function(e){var t,n=e.children,i=e.colour,u=e.isBold,d=e.size,f=s(e,["children","colour","isBold","size"]),h=r.useContext(l).surfaceBackground,v=""===h||!!i&&S[i]&&S[i].includes(h);v||console.warn('"'+i+'" on "'+h+'" is not allowed.');var p=f.isInline&&"pink"===i&&S.indigo.includes(h);return a.default.createElement(C,o({className:c(((t={"lc-HeadingBT":!0})["lc-HeadingBT--"+i]=i&&v,t["lc-HeadingBT-inline-pink"]=p,t["lc-HeadingBT--size"+(d&&d.toUpperCase())]=d,t["lc-HeadingBT--bold"]=u&&d&&["xs","s","m"].includes(d),t))},f),n)},t.N_=function(e){var t,n=e.type,i=e.size,u=void 0===i?"inherit":i,d=e.styleVariant,f=s(e,["type","size","styleVariant"]),v=r.useContext(l).surfaceBackground;return a.default.createElement(A,o({className:c(((t={"lc-LinkBT":!0,"lc-LinkBT--onDarkBackgroun
1d":h.includes(v),"lc-LinkBT--navMenu":"nav-menu"===(void 0===n?"default":n)})["lc-LinkBT--size"+(u&&u.toUpperCase())]=u,t["lc-LinkBT--styleSecondary"]="secondary"===(void 0===d?"primary":d),t))},f))},t.ui=function(e){var t,n=e.background,r=e.children;return a.default.createElement(f,{background:n,className:c(((t={"lc-SurfaceBT":!0})["lc-SurfaceBT--"+(null==n?void 0:n.replace("-",""))+"Background"]=n,t))},r)},t.EY=function(e){var t,n=e.children,r=e.isCondensed,i=e.size,u=s(e,["children","isCondensed","size"]);return a.default.createElement(j,o({className:c(((t={"lc-TextBT":!0})["lc-TextBT--size"+(i&&i.toUpperCase())]=i&&"m"!==i,t["lc-TextBT--condensed"]=r&&"s"===i,t))},u),n)},t.ks=I,t.X_=function(e){var t,n=e.size,r=e.sizeS,i=e.sizeM,u=e.sizeL,l=e.sizeXL,d=s(e,["size","sizeS","sizeM","sizeL","sizeXL"]);return a.default.createElement(B,{condition:!!(r||i||u||l),wrapper:function(e){return a.default.createElement("div",null,e)}},a.default.createElement(x,o({className:c(((t={"lc-VerticalSpaceBT":!0})["lc-VerticalSpaceBT--size"+(n&&n.toUpperCase())]=n&&"m"!==n,t["lc-VerticalSpaceBT--sizeS"+(r&&r.toUpperCase())]=r&&"m"!==r,t["lc-VerticalSpaceBT--sizeM"+(i&&i.toUpperCase())]=i&&"m"!==i,t["lc-VerticalSpaceBT--sizeL"+(u&&u.toUpperCase())]=u&&"m"!==u,t["lc-VerticalSpaceBT--sizeXL"+(l&&l.toUpperCase())]=l&&"m"!==l,t))},d)))}},56839:(e,t,n)=>{"use strict";n.d(t,{y:()=>j});var r=n(14232),a=n(18105),i=n(89099),o=n(80237),s=n(13750),c=n(3711);function u(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)"__proto__"!==r&&(e[r]=n[r])}return e}var l=function e(t,n){function r(e,r,a){if("undefined"!=typeof document){"number"==typeof(a=u({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var o in a)a[o]&&(i+="; "+o,!0!==a[o]&&(i+="="+a[o].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},a=0;a<n.length;a++){var i=n[a].split("="),o=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(s in r||(r[s]=t.read(o,s)),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",u({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,u({},this.attributes,t))},withConverter:function(t){return e(u({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let d=e=>{let t="2FA_SWITCH=ON",n=e.split("&");return n.length>5?n.splice(n.length-5,0,t):n.push(t),n.join("&")};function f(e){let t=e.replace(/\/+$/,"").split("/"),n=t[t.length-1];return n?n.split(".")[0]:""}let h=(e,t,n,r,a)=>{let i=t&&e.completeWifi?e.completeWifi:e;if(r){window.location.href=d(i.checkoutUrl);return}let o={prodcutcardcomponent:{pricing:{broadband_value:{}}}},{prodcutcardcomponent:u}=o,{pricing:h}=u,v=e.ojUrl;if(e.completeWifi&&(v=e.completeWifi.ojUrl),t&&e.completeWifi){v=e.ojUrl;let t=0===i.postageCost?"0.00":i.postageCost.toString(),n=0===i.activationCost?"0.00":i.activationCost.toString(),r=(100*i.postageCost+100*i.activationCost)/100,a=i.monthlyCost.toString(),o=i.saleMonthlyCost?i.saleMonthlyCost.toString():a;h.broadband_value.name=i.displayName.toUpperCase(),h.broadband_value.full_price=a,h.broadband_value.offer_price=o,h.broadband_value.package_id=i.packageId,h.broadband_value.options_url=i.ojUrl,h.full_price=a,h.offer_price=o,h.delivery_charge=t,h.hub_activation=n,h.upfront_cost=r.toString(),h.package_id=i.packageId,h.options_url=i.ojUrl,h.landlinePrice=i.landlinePrice}if(!t){let e=i.monthlyCost.toString(),t=i.saleMonthlyCost?i.saleMonthlyCost.toString():e,n=0===i.postageCost?"0.00":i.postageCost.toString(),r=0===i.activationCost?"0.00":i.activationCost.toString(),a=(0,s.eA)(i.postageCost||0,i.activationCost||0);a=0===a?"0.00":a.toString(),h.broadband_value.full_price=e,h.broadband_value.offer_price=t,h.full_price=e,h.offer_price=t,h.landlinePrice=i.landlinePrice,h.delivery_charge=n,h.hub_activation=r,h.upfront_cost=a,h.contract_length="".concat(i.contractLength," month contract"),h.broadband_value.broadband=i.displayName,h.package_id=i.packageId}let p=i.optionsUrl,_=encodeURI(JSON.stringify({prodcutcardcomponent:u})),b=function(e,t,n){let{prodcutcardcomponent:r}=e,a=f(t),{pricing:i}=r,o=[],s=[],c=[];if(i)return i.broadband_value&&o.push(function(e,t,n){let r=t.toLowerCase(),a=r.concat("_value"),i=(e[a].name?e[a].name:e[a][r])||"",o=e[a]&&e[a].offer_price?e[a].offer_price:e[a].full_price,s=e[a]&&e[a].full_price?"£".concat(e[a].full_price):"",c=e.package_id||"",u=e[a]&&e[a].contract_length||""||e.contract_length||"",l=e.delivery_charge||"0.00",d=e.hub_activation||"0.00",f=!!e.isHalfPrice&&e.isHalfPrice;return{productId:c,name:i,contractLength:u,wasPrice:s,deliveryCharge:l,activationFee:d,sportCode:e.sportCode||"",tvCode:e.tvCode||"",productType:t.toUpperCase(),monthlyprice:"£".concat(o),isRemovable:"false",offerLength:"",afterOfferPrice:"",isLandlineIncluded:n,landlinePrice:e.landlinePrice||"",rewardsText:"",isHalfPrice:f,halfPriceSuffix:e.halfPriceSuffix||""}}(i,"broadband",n)),s.push(function(e){let t=e.hub_activation||"0.00",n=e.delivery_charge||"0.00";return{hub_activation:"".concat(t),delivery_charge:"".concat(n)}}(i)),c.push(function(e){let t=e.offer_price,n=e.upfront_cost||"0.00",r=t&&"0.00"!==t?t:e.full_price;return{orderPrice:"".concat(r),upfront_cost:"".concat(n)}}(i)),{basket:[{[a]:[{productData:o},{upfrontData:s},{summaryData:c}]}]}}(o,p,a),m=function(e,t){let{optionsJourneyType:n,optionsJourneyPath:r,optionsUrl:a,ojUrl:i}=e,o=d(t),s=d(i);if(!n||!r||!a||!i){console.group(),console.error("Product is missing options / order journey information!"),console.table({optionsJourneyType:n,optionsJourneyPath:r,optionsUrl:a,ojUrl:i}),console.dir(e),console.groupEnd();return}return{items:[{opsType:n},{fixedPath:r},{baseOjUrl:o},{selected:[]},{preselected:[]},{option1:[]},{option2:[]},{option3:[]},{skipParams:""},{basket:[{productData:[]},{upfrontData:[]},{summaryData:[]}]},{[f(a)]:[{xfPath:""},{productdataList:[]}]},{baseOjUrl:s}]}}(i,v);if(localStorage.removeItem("black_friday_sale_data"),console.log("Cookie Data:",_),console.log("PC_DATA",o),console.log("BSK_DATA:",b),console.log("OPS_DATA:",m),l.set("PC_DATA",_,{domain:".bt.com"}),localStorage.setItem("PC_DATA",JSON.stringify(o)),localStorage.setItem("BSK_DATA",JSON.stringify(b)),localStorage.setItem("OPS_DATA",JSON.stringify(m)),localStorage.removeItem("OPTS_PRODUCT_STORE"),localStorage.removeItem("OPTS_CONTENT_STORE"),r);else if(n){let e;e=i.optionsUrl,(c.p8&&c.ph||!c.p8)&&(e=e.replace("https://www.bt.com","")),localStorage.setItem("IS_
1LANDLINE_INCLUDED",a),window.location.href=e}};var v=n(35335);let p="SERVICE_CHECKER_OPEN",_="SERVICE_CHECKER_SET_DATA",b="SERVICE_CHECKER_CLOSE",m="SCENARIO_FETCH_INIT",g="SCENARIO_FETCH_SUCCESS",y="SCENARIO_FETCH_FAILED",E="PRODUCT_DATA_FETCH_INIT",O="PRODUCT_DATA_FETCH_FAILED",w="TOGGLE_COMPLETE_WIFI",C="RESET_COMPLETE_WIFI",S="RESET",A="SHOW_ALL",T="TOGGLE_PRODUCTS",P="SHOW_WITHUS",N="SET_ALTERNATE_PRODUCTS",D="UPDATE_UPRN_DETAILS",R=(e,t)=>{switch(t.type){case p:return{...e,serviceCheckerOpen:!0,productId:t.payload&&t.payload.productId,goToDetails:t.payload&&t.payload.goToDetails,goToOptions:t.payload&&t.payload.goToOptions,goToCheckout:t.payload&&t.payload.goToCheckout};case _:return{...e,serviceCheckerOpen:!1,serviceCheckerData:t.payload&&t.payload.serviceCheckerData,goToDetails:t.payload&&t.payload.goToDetails,productUnavailable:t.payload&&t.payload.productUnavailable,scenario:t.payload&&t.payload.scenario,showAllDeals:t.payload&&t.payload.showAllDeals};case b:return{...e,serviceCheckerOpen:!1,productId:null,goToDetails:!1,goToOptions:!1,goToCheckout:!1};case m:return{...e,isFetchingScenario:!0};case g:return{...e,...t.payload,isFetchingScenario:!1,fetchingScenarioError:!1,showAllDeals:!(t.payload&&t.payload.scenario&&o.bg.includes(t.payload.scenario.scenario))};case y:return{...e,scenario:null,isFetchingScenario:!1,fetchingScenarioError:!0};case E:return{...e,isFetchingProductData:!1,fetchingProductDataError:!1};case O:return{...e,scenario:null,isFetchingProductData:!1,fetchingProductDataError:!0};case w:return{...e,completeWifi:!e.completeWifi};case C:return{...e,completeWifi:!1};case T:return{...e,showAlternateProducts:!e.showAlternateProducts};case S:return{isFetchingScenario:!1,fetchingScenarioError:!1,isFetchingProductData:!1,fetchingProductDataError:!1,hasError:!1,scenario:null,serviceCheckerData:null,serviceCheckerOpen:!1,productUnavailable:null,productId:null,completeWifi:!1,showAllDeals:!0,showWithUs:!0,showAlternateProducts:!0};case A:return{...e,showAllDeals:!0};case P:return{...e,showWithUs:!e.showWithUs};case N:return{...e,showAlternateProducts:t.payload&&t.payload.showAlternateProducts};case D:var n,r;return{...e,uprn:null==(n=t.payload)?void 0:n.uprn,selectedId:null==(r=t.payload)?void 0:r.selectedId};default:throw Error("".concat(t.type," is not a valid action type"))}},j=(0,a.g)(function(){let[e,t]=(0,r.useReducer)(R,{isFetchingScenario:!1,fetchingScenarioError:!1,isFetchingProductData:!1,fetchingProductDataError:!1,hasError:!1,scenario:null,serviceCheckerData:(0,s.$t)(),serviceCheckerOpen:!1,productUnavailable:(0,s.oi)(),productId:null,goToDetails:!1,goToOptions:!1,goToCheckout:!1,completeWifi:!1,showAllDeals:!0,showAlternateProducts:!0,showWithUs:!(0,s.$t)(),uprn:null,selectedId:null}),n=(0,i.useRouter)(),a=()=>{t({type:m})},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t({type:g,payload:{scenario:e}})};return{state:e,openServiceChecker:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t({type:p,payload:{productId:e,goToDetails:n,goToOptions:r,goToCheckout:a}})},closeServiceChecker:()=>t({type:b}),setServiceCheckerData:(r,i)=>{if(i){let s=r&&r.custom&&r.custom[v.W_]?r.custom[v.W_][v.aQ]:"";a(),((e,t)=>{let n=e.toLowerCase();return Promise.all([fetch(c.p8?"https://www.bt.com/content/dam/bt/broadband/deals/".concat(n,".json"):"https://www.btcom.digital-ref1.bt.com/content/dam/bt/broadband/deals/".concat(n,".json")).then(e=>{if(e.ok)return e.json();throw Error("Error fetching scenario")}).then(e=>e),(async()=>{if("default"!==e){let e=t?t.replace(" ","").trim().toUpperCase():t;if(e)return fetch(o.fh,{method:"POST",body:JSON.stringify({postcode:e}),headers:{"Content-Type":"application/json"}}).then(e=>e.json()).then(e=>e&&e.variantId?e.variantId:0).catch(()=>(console.warn("!---Failed to get postcode variant, returning default---!"),0))}return 0})()]).then(e=>{let[t,n]=e;return t.variant=n,sessionStorage.setItem("scenarioVarient",n),t})})(i,s).then(a=>{let i;u(a),localStorage.removeItem(o.TJ);let s=null;if(e.productId){let t=null;if(!(t=a.packages.find(t=>t.packageId===e.productId))){let n=new Map;if(n.set("UINF1-NEW","FIBRE-1"),n.set("SFFEU","FIBRE-ESS"),n.get(e.productId)){let r=a.packages.find(t=>t.packageId===n.get(e.productId));r&&(i=n.get(e.productId),t=r)}}if(s=!t,t){e.goToDetails&&n.push("details/".concat(t.slug.current));let r=!e.showAlternateProducts;if(e.goToOptions)return h(t,e.completeWifi,!0,!1,r);if(e.goToCheckout)return h(t,e.completeWifi,!1,!0,r)}else n.pathname.indexOf("details")>-1?n.push("/"):localStorage.getItem(o.i3)&&(localStorage.removeItem(o.i3),n.push("".concat(o.az)))}return i?s=!1:localStorage.setItem(o.TJ,null!=s?s.toString():""),t({type:_,payload:{serviceCheckerData:r,scenario:a,productUnavailable:!!s,goToDetails:!1,goToOptions:!1,goToCheckout:!1,showAllDeals:!(a&&o.bg.includes(a.scenario))}}),null})}else t({type:_,payload:{serviceCheckerData:r,goToDetails:!1,goToOptions:!1,goToCheckout:!1,productUnavailable:null,scenario:null}})},scenarioFetchInit:a,setScenario:u,scenarioFetchFailed:()=>t({type:y}),productDataFetchInit:()=>t({type:E}
1),productDataFetchFailed:()=>t({type:O}),toggleCompleteWifi:()=>t({type:w}),reset:()=>{t({type:S}),localStorage.removeItem(o.B8)},showAllProductDeals:()=>t({type:A}),toggleProducts:()=>t({type:T}),showWithUsSection:()=>t({type:P}),resetCompleteWifi:()=>t({type:C}),setAlternateProducts:e=>{t({type:N,payload:{showAlternateProducts:e}})},updateUPRNDetails:(e,n)=>{t({type:D,payload:{uprn:e,selectedId:n}})}}})},58149:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>z,BE:()=>q});var r,a=n(14232);function i(e,t,n,r){return new(n||(n=Promise))(function(a,i){function o(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}c((r=r.apply(e,t||[])).next())})}function o(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){var c=[i,s];if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){o.label=c[1];break}if(6===c[0]&&o.label<a[1]){o.label=a[1],a=c;break}
1if(a&&o.label<a[2]){o.label=a[2],o.ops.push(c);break}a[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var s=function(){},c=s(),u=Object,l=function(e){return e===c},d=function(e){return"function"==typeof e},f=function(e,t){return u.assign({},e,t)},h="undefined",v=function(){return typeof window!=h},p=new WeakMap,_=0,b=function(e){var t,n,r=typeof e,a=e&&e.constructor,i=a==Date;if(u(e)!==e||i||a==RegExp)t=i?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=p.get(e))return t;if(t=++_+"~",p.set(e,t),a==Array){for(n=0,t="@";n<e.length;n++)t+=b(e[n])+",";p.set(e,t)}if(a==u){t="#";for(var o=u.keys(e).sort();!l(n=o.pop());)l(e[n])||(t+=n+":"+b(e[n])+",");p.set(e,t)}}return t},m=!0,g=v(),y=typeof document!=h,E=g&&window.addEventListener?window.addEventListener.bind(window):s,O=y?document.addEventListener.bind(document):s,w=g&&window.removeEventListener?window.removeEventListener.bind(window):s,C=y?document.removeEventListener.bind(document):s,S={initFocus:function(e){return O("visibilitychange",e),E("focus",e),function(){C("visibilitychange",e),w("focus",e)}},initReconnect:function(e){var t=function(){m=!0,e()},n=function(){m=!1};
1return E("online",t),E("offline",n),function(){w("online",t),w("offline",n)}}},A=!v()||"Deno"in window,T=A?a.useEffect:a.useLayoutEffect,P="undefined"!=typeof navigator&&navigator.connection,N=!A&&P&&(["slow-2g","2g"].includes(P.effectiveType)||P.saveData),D=function(e){if(d(e))try{e=e()}catch(t){e=""}var t=[].concat(e),n=(e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?b(e):"")?"$swr$"+e:"";return[e,t,n]},R=new WeakMap,j=function(e,t,n,r,a,i,o){void 0===o&&(o=!0);var s=R.get(e),c=s[0],u=s[1],l=s[3],d=c[t],f=u[t];if(o&&f)for(var h=0;h<f.length;++h)f[h](n,r,a);return i&&(delete l[t],d&&d[0])?d[0](2).then(function(){return e.get(t)}):e.get(t)},k=0,I=function(){return++k},x=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(void 0,void 0,void 0,function(){var t,n,r,a,i,s,u,h,v,p,_,b,m,g,y,E,O,w,C,S;return o(this,function(o){switch(o.label){case 0:if(t=e[0],n=e[1],r=e[2],s=!!l((i="boolean"==typeof(a=e[3])?{revalidate:a}:a||{}).populateCache)||i.populateCache,u=!1!==i.revalidate,h=!1!==i.rollbackOnError,v=i.optimisticData,_=(p=D(n))[0],b=p[2],!_)return[2];if(m=R.get(t)[2],e.length<3)return[2,j(t,_,t.get(_),c,c,u,!0)];if(g=r,E=I(),m[_]=[E,0],O=!l(v),w=t.get(_),O&&(C=d(v)?v(w):v,t.set(_,C),j(t,_,C)),d(g))try{g=g(t.get(_))}catch(e){y=e}if(!(g&&d(g.then)))return[3,2];return[4,g.catch(function(e){y=e})];case 1:if(g=o.sent(),E!==m[_][0]){if(y)throw y;return[2,g]}y&&O&&h&&(s=!0,g=w,t.set(_,w)),o.label=2;case 2:return s&&(y||(d(s)&&(g=s(g,w)),t.set(_,g)),t.set(b,f(t.get(b),{error:y}))),m[_][1]=I(),[4,j(t,_,g,y,c,u,!!s)];case 3:if(S=o.sent(),y)throw y;return[2,s?S:g]}})})},B=function(e,t){for(var n in e)e[n][0]&&e[n][0](t)},M=function(e,t){if(!R.has(e)){var n=f(S,t),r={},a=x.bind(c,e),i=s;if(R.set(e,[r,{},{},{},a]),!A){var o=n.initFocus(setTimeout.bind(c,B.bind(c,r,0))),u=n.initReconnect(setTimeout.bind(c,B.bind(c,r,1)));i=function(){o&&o(),u&&u(),R.delete(e)}}return[e,a,i]}return[e,R.get(e)[4]]},L=M(new Map),V=L[0],U=f({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:function(e,t,n,r,a){var i=n.errorRetryCount,o=a.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;(l(i)||!(o>i))&&setTimeout(r,s,a)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:N?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:N?5e3:3e3,compare:function(e,t){return b(e)==b(t)},isPaused:function(){return!1},cache:V,mutate:L[1],fallback:{}},{isOnline:function(){return m},isVisible:function(){var e=y&&document.visibilityState;return l(e)||"hidden"!==e}}),H=function(e,t){var n=f(e,t);if(t){var r=e.use,a=e.fallback,i=t.use,o=t.fallback;r&&i&&(n.use=r.concat(i)),a&&o&&(n.fallback=f(a,o))}return n},F=(0,a.createContext)({}),W=function(e,t){var n=(0,a.useState)({})[1],r=(0,a.useRef)(e),i=(0,a.useRef)({data:!1,error:!1,isValidating:!1}),o=(0,a.useCallback)(function(e){var a=!1,o=r.current;for(var s in e)o[s]!==e[s]&&(o[s]=e[s],i.current[s]&&(a=!0));a&&!t.current&&n({})},[]);return T(function(){r.current=e}),[r,i.current,o]},G=function(e,t,n){var r=t[e]||(t[e]=[]);return r.push(n),function(){var e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},K={dedupe:!0},q=u.defineProperty(function(e){var t=e.value,n=H((0,a.useContext)(F),t),r=t&&t.provider,i=(0,a.useState)(function(){return r?M(r(n.cache||V),t):c})[0];return i&&(n.cache=i[0],n.mutate=i[1]),T(function(){return i?i[2]:c},[]),(0,a.createElement)(F.Provider,f(e,{value:n}))},"default",{value:U}),z=(r=function(e,t,n){var r=n.cache,s=n.compare,u=n.fallbackData,p=n.suspense,_=n.revalidateOnMount,b=n.refreshInterval,m=n.refreshWhenHidden,g=n.refreshWhenOffline,y=R.get(r),E=y[0],O=y[1],w=y[2],C=y[3],S=D(e),P=S[0],N=S[1],k=S[2],B=(0,a.useRef)(!1),M=(0,a.useRef)(!1),L=(0,a.useRef)(P),V=(0,a.useRef)(t),U=(0,a.useRef)(n),H=function(){return U.current},F=function(){return H().isVisible()&&H().isOnline()},q=function(e){return r.set(k,f(r.get(k),e))},z=r.get(P),Y=l(u)?n.fallback[P]:u,J=l(z)?Y:z,X=r.get(k)||{},$=X.error,Z=!B.current,Q=function(){return Z&&!l(_)?_:!H().isPaused()&&(p?!l(J)&&n.revalidateIfStale:l(J)||n.revalidateIfStale)},ee=!!P&&!!t&&(!!X.isValidating||Z&&Q()),et=W({data:J,error:$,isValidating:ee},M),en=et[0],er=et[1],ea=et[2],ei=(0,a.useCallback)(function(e){return i(void 0,void 0,void 0,function(){var t,a,i,u,f,h,v,p,_,b,m,g,y;return o(this,function(o){switch(o.label){case 0:if(t=V.current,!P||!t||M.current||H().isPaused())return[2,!1];u=!0,f=e||{},h=!C[P]||!f.dedupe,v=function(){return!M.current&&P===L.current&&B.current},p=function(){var e=C[P];e&&e[1]===i&&delete C[P]},_={isValidating:!1},b=function(){q({isValidating:!1}),v()&&ea(_)},q({isValidating:!0}),ea({isValidating:!0}),o.label=1;case 1:return o.trys.push([1,3,,4]),h&&(j(r,P,en.current.data,en.current.error,!0),n.loadingTimeout&&!r.get(P)&&setTimeout(function(){u&&v()&&H().onLoadingSlow(P,n)},n.loadingTimeout),C[P]=[t.apply(void 0,N),I()]),a=(y=C[P])[0],i=y[1],[4,a];case 2:if(a=o.sent(),h&&setTimeout(p,n.dedupingInterval),!C[P]||C[P][1]!==i)return h&&v()&&H().onDiscarded(P),[2,!1];if(q({error:c}),_.error=c,!l(m=w[P])&&(i<=m[0]||i<=m[1]||0===m[1]))return b(),h&&v()&&H().onDiscarded(P),[2,!1];return s(en.current.data,a)?_.data=en.current.data:_.data=a,s(r.get(P),a)||r.set(P,a),h&&v()&&H().onSuccess(a,P,n),[3,4];case 3:return g=o.sent(),p(),!H().isPaused()&&(q({error:g}
1),_.error=g,h&&v()&&(H().onError(g,P,n),("boolean"==typeof n.shouldRetryOnError&&n.shouldRetryOnError||d(n.shouldRetryOnError)&&n.shouldRetryOnError(g))&&F()&&H().onErrorRetry(g,P,n,ei,{retryCount:(f.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return u=!1,b(),v()&&h&&j(r,P,_.data,_.error,!1),[2,!0]}})})},[P]),eo=(0,a.useCallback)(x.bind(c,r,function(){return L.current}),[]);if(T(function(){V.current=t,U.current=n}),T(function(){if(P){var e=P!==L.current,t=ei.bind(c,K),n=0,r=G(P,O,function(e,t,n){ea(f({error:t,isValidating:n},s(en.current.data,e)?c:{data:e}))}),a=G(P,E,function(e){if(0==e){var r=Date.now();H().revalidateOnFocus&&r>n&&F()&&(n=r+H().focusThrottleInterval,t())}else if(1==e)H().revalidateOnReconnect&&F()&&t();else if(2==e)return ei()});return M.current=!1,L.current=P,B.current=!0,e&&ea({data:J,error:$,isValidating:ee}),Q()&&(l(J)||A?t():v()&&typeof window.requestAnimationFrame!=h?window.requestAnimationFrame(t):setTimeout(t,1)),function(){M.current=!0,r(),a()}}},[P,ei]),T(function(){var e;function t(){var t=d(b)?b(J):b;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!en.current.error&&(m||H().isVisible())&&(g||H().isOnline())?ei(K).then(t):t()}return t(),function(){e&&(clearTimeout(e),e=-1)}},[b,m,g,ei]),(0,a.useDebugValue)(J),p&&l(J)&&P)throw V.current=t,U.current=n,M.current=!1,l($)?ei(K):$;return{mutate:eo,get data(){return er.data=!0,J},get error(){return er.error=!0,$},get isValidating(){return er.isValidating=!0,ee}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=f(U,(0,a.useContext)(F)),i=d(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],o=i[0],s=i[1],c=H(n,i[2]),u=r,l=c.use;if(l)for(var h=l.length;h-- >0;)u=l[h](u);return u(o,s||c.fetcher,c)})},59004:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},63362:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(77553),t),a(n(59004),t),a(n(89364),t),a(n(72959),t),a(n(80738),t),a(n(92487),t),a(n(23390),t)},64310:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(3399),t)},69382:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.appAnalytics=void 0;var i=n(16859),o=n(94502),s=n(11839);a(n(16738),t),a(n(30754),t),a(n(93950),t),t.appAnalytics={createDataLayer:i.createDataLayer,sendEventToTagManager:o.sendEventToTagManager,sendErrorToAnalytics:o.sendErrorToAnalytics,usePageTracker:s.usePageTracker}},69629:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.usePageTracker=function(e){var t=e.pageNames,n=e.channel,c=e.environment,u=void 0===c?s.EnvironmentNames.DEVELOPMENT:c,l=e.allowedPages,d=e.user,f=e.metadata,h=e.dns,v=e.pathname;(0,o.storeConfig)({channel:n,environment:u,dns:h});var p=r({},t&&t[v]?t[v]:{});(0,a.useEffect)(function(){if((null==l?void 0:l.length)&&!l.includes(v))return void o.DebugConsole.warn("Pathname ".concat(v," is not included in allowedPages."));(0,i.handlePageView)({pageInfo:p,user:d,metadata:f})},[l,p,v])};var a=n(14232),i=n(69382),o=n(89990),s=n(32522)},72959:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0})},77553:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},78304:(e,t,n)=>{"use strict";n.d(t,{eO:()=>p,PA:()=>m,iz:()=>y});var r,a=n(80035),i=n(14232);if(!i.useState)throw Error("mobx-react-lite requires React with Hooks support");if(!a.Gn)throw Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var o=n(98477);function s(e){e()}var c=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o},u=[];function l(e){return(0,a.yl)(e)}var d=new Set;function f(){void 0===r&&(r=setTimeout(h,1e4))}function h(){r=void 0;var e=Date.now();d.forEach(function(t){var n=t.current;n&&e>=n.cleanAt&&(n.reaction.dispose(),t.current=null,d.delete(t))}),d.size>0&&f()}var v=!1;function p(e){v=e}function _(e){return"observer"+e}var b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function m(e,t){if(v)return e;var n,r,o,s=b({forwardRef:!1},t),h=e.displayName||e.name,p=function(t,n){return function(e,t){if(void 0===t&&(t="observed"),v)return e();var n,r,o,s=(n=c((0,i.useState)(0),2)[1],(0,i.useCallback)(function(){n(function(e){return e+1})},u)),h=i.useRef(null);if(!h.current){var p={reaction:new a.qT(_(t),function(){p.mounted?s():p.changedBeforeMount=!0}),mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+1e4};h.current=p,d.add(h),f()}var b=h.current.reaction;if(i.useDebugValue(b,l),i.useEffect(function(){return d.delete(h),h.current?(h.current.mounted=!0,h.current.changedBeforeMount&&(h.current.changedBeforeMount=!1,s())):(h.current={reaction:new a.qT(_(t),function(){s()}),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},s()),function(){h.current.reaction.dispose(),h.current=null}},[]),b.track(function(){try{r=e()}catch(e){o=e}}),o)throw o;return r}(function(){return e(t,n)},h)};return p.displayName=h,n=e,r=o=s.forwardRef?(0,i.memo)((0,i.forwardRef)(p)):(0,i.memo)(p),Object.keys(n).forEach(function(e){g[e]||Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),o.displayName=h,o}var g={$$typeof:!0,render:!0,compare:!0,type:!0};function y(e,t){return(0,i.useState)(function(){return(0,a.sH)(e(),t,{autoBind:!0})})[0]}!function(e){e||(e=s),(0,a.jK)({reactionScheduler:e})}(o.unstable_batchedUpdates)},79422:()=>{},80035:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/mobx6/src/errors.ts":"[MobX] "+e)}function a(){return void 0!==n.g?n.g:window}n.d(t,{Gn:()=>function e(t,n,a){var i=!!(null==a?void 0:a.autoBind),o=tG(t,null==a?void 0:a.name,eu(null==a?void 0:a.defaultDecorator));eX();try{if(!n)return!function(t){if(!t[K]){for(var n=t,r=[];n&&n!==g;){var a=b(n,G);if(a){if(!r.length){for(var i in a.value)if(!F(t,i)&&!F(n,i))return!0}r.unshift(a.value)}n=Object.getPrototypeOf(n)}r.forEach(function(n){e(t,n)}),j(t,K,!0),r.length}}(t),t;V(n).forEach(function(e){var a=n[e],s=function(e,t){for(var n=e;n&&n!==g;){var a=b(n,t);if(a)return[a,n];n=Object.getPrototypeOf(n)}r(1,t)}(t,e),c=s[0],u=s[1];tw(o,u,e,c,a,!1,i)})}finally{e$()}return t},jK:()=>to,lB:()=>th,qT:()=>eQ,sH:()=>ed,yl:()=>ts});var i,o,s,c,u,l,d,f,h,v,p,_=Object.assign,b=Object.getOwnPropertyDescriptor,m=Object.defineProperty,g=Object.prototype,y=[];Object.freeze(y);var E={};Object.freeze(E);var O="undefined"!=typeof Proxy,w=Object.toString();function C(){O||r("Proxy not available")}function S(){return++ez.mobxGuid}function A(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var T=function(){};function P(e){return"function"==typeof e}function N(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function D(e){return null!==e&&"object"==typeof e}function R(e){if(!D(e))return!1;var t,n=Object.getPrototypeOf(e);return null==n||(null==(t=n.constructor)?void 0:t.toString())===w}function j(e,t,n){m(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}
1function k(e,t,n){m(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function I(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return D(e)&&!0===e[n]}}function x(e){return e instanceof Map}function B(e){return e instanceof Set}var M=void 0!==Object.getOwnPropertySymbols;function L(e){var t=Object.keys(e);if(!M)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return g.propertyIsEnumerable.call(e,t)})):t}var V="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:M?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function U(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function H(e){return null===e?null:"object"==typeof e?""+e:e}function F(e,t){return g.hasOwnProperty.call(e,t)}var W=Object.getOwnPropertyDescriptors||function(e){var t={};return V(e).forEach(function(n){t[n]=b(e,n)}),t},G=Symbol("mobx-decorators"),K=Symbol("mobx-applied-decorators");function q(e){return _(function(t,n){void 0===n?z(e,t):Y(t,n,e)},{annotationType_:e})}function z(e,t){return _(function(n,r){Y(n,r,e,t)},{annotationType_:e,arg_:t})}function Y(e,t,n,r){var a,i=b(e,G);i?a=i.value:j(e,G,a={}),a[t]={annotationType_:n,arg_:r}}var J=Symbol("mobx administration"),X=function(){function e(e){void 0===e&&(e="Atom@"+S()),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=l.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;
1return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return eZ(this)},t.reportChanged=function(){var e;eX(),e=this,e.lowestObserverState_!==l.STALE_&&(e.lowestObserverState_=l.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===l.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=l.STALE_})),e$()},t.toString=function(){return this.name_},e}(),$=I("Atom",X);function Z(e,t,n){void 0===t&&(t=T),void 0===n&&(n=T);var r=new X(e);return t!==T&&ta("onBO",r,t,void 0),n!==T&&tr(r,n),r}var Q={structural:function(e,t){return t3(e,t)},default:function(e,t){return Object.is(e,t)}};function ee(e,t,n){return tf(e)?e:Array.isArray(e)?ed.array(e,{name:n}):R(e)?ed.object(e,void 0,{name:n}):x(e)?ed.map(e,{name:n}):B(e)?ed.set(e,{name:n}):e}function et(e){return e}var en="observable",er="observable.ref",ea="observable.shallow",ei="observable.struct",eo={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function es(e){return!0===e.deep?ee:!1===e.deep?et:eu(e.defaultDecorator)}Object.freeze(eo);var ec=((i={})[en]=ee,i[er]=et,i[ea]=function(e,t,n){return null==e||tY(e)||tI(e)||tL(e)||tH(e)?e:Array.isArray(e)?ed.array(e,{name:n,deep:!1}):R(e)?ed.object(e,void 0,{name:n,deep:!1}):x(e)?ed.map(e,{name:n,deep:!1}):B(e)?ed.set(e,{name:n,deep:!1}):void 0},i[ei]=function(e,t){return t3(e,t)?t:e},i);function eu(e){var t;return e?null!=(t=ec[e.annotationType_])?t:r(12):ee}function el(e,t,n){if(N(t))return void Y(e,t,en);if(tf(e))return e;var r=R(e)?ed.object(e,t,n):Array.isArray(e)?ed.array(e,t):x(e)?ed.map(e,t):B(e)?ed.set(e,t):e;return r!==e?r:ed.box(e)}el.annotationType_=en;var ed=_(el,{box:function(e,t){var n=t||eo;return new eN(e,es(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eo;return(!1===ez.useProxies||!1===n.proxy?function(e,t,n){return new t$(e,t,n)}:function(e,t,n,r){void 0===n&&(n="ObservableArray@"+S()),void 0===r&&(r=!1),C();var a=new tT(n,t,r,!1);k(a.values_,J,a);var i=new Proxy(a.values_,tA);if(a.proxy_=i,e&&e.length){var o=ey(!0);a.spliceWithArray_(0,0,e),eE(o)}return i})(e,es(n),n.name)},map:function(e,t){var n=t||eo;return new tM(e,es(n),n.name)},set:function(e,t){var n=t||eo;return new tU(e,es(n),n.name)},object:function(e,t,n){var r,a,i=n||eo,o={};return tG(o,null==n?void 0:n.name,es(i)),function(e,t,n,r){var a=r||eo,i=tG(e,a.name,es(a));eX();try{var o=W(t);L(o).forEach(function(t){tw(i,e,t,o[t],!n||!(t in n)||n[t],!0,!!(null==r?void 0:r.autoBind))})}finally{e$()}return e}(!1===ez.useProxies||!1===i.proxy?o:(r=o,C(),a=new Proxy(r,tp),r[J].proxy_=a,a),e,t,n)},ref:q(er),shallow:q(ea),deep:q(en),struct:q(ei)}),ef="computed",eh="computed.struct",ev=function(e,t,n){if(N(t))return Y(e,t,ef);if(R(e))return z(ef,e);var r=R(t)?t:{};return r.get=e,r.name=r.name||e.name||"",new eD(r)};ev.annotationType_=ef,ev.struct=_(function(e,t){Y(e,t,eh)},{annotationType_:eh});var ep=0,e_=1,eb=null!=(o=null==(s=b(function(){},"name"))?void 0:s.configurable)&&o,em={value:"action",configurable:!0,writable:!1,enumerable:!1};function eg(e,t,n,a){function i(){return function(e,t,n,a,i){var o,s,c,u,l,d,f=(o=t,s=ez.trackingDerivation,c=!o||!s,eX(),u=ez.allowStateChanges,c&&(eV(),u=ey(!0)),ep=(l={runAsAction_:c,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:eH(!0),notifySpy_:!1,startTime_:0,actionId_:e_++,parentActionId_:ep}).actionId_,l);try{return n.apply(a,i)}catch(e){throw f.error_=e,e}finally{ep!==(d=f).actionId_&&r(30),ep=d.parentActionId_,void 0!==d.error_&&(ez.suppressReactionErrors=!0),eE(d.prevAllowStateChanges_),eF(d.prevAllowStateReads_),e$(),d.runAsAction_&&eU(d.prevDerivation_),ez.suppressReactionErrors=!1}}(e,n,t,a||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,eb&&(em.value=e,Object.defineProperty(i,"name",em)),i}function ey(e){var t=ez.allowStateChanges;return ez.allowStateChanges=e,t}function eE(e){ez.allowStateChanges=e}function eO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
1function ew(e,t,n){return t&&eO(e.prototype,t),n&&eO(e,n),e}function eC(){return(eC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function eS(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function eA(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eP(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return eT(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eT(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}c=Symbol.toPrimitive;var eN=function(e){function t(t,n,r,a,i){var o;return void 0===r&&(r="ObservableValue@"+S()),void 0===a&&(a=!0),void 0===i&&(i=Q.default),(o=e.call(this,r)||this).enhancer=void 0,o.name_=void 0,o.equals=void 0,o.hasUnreportedChange_=!1,o.interceptors_=void 0,o.changeListeners_=void 0,o.value_=void 0,o.dehancer=void 0,o.enhancer=n,o.name_=r,o.equals=i,o.value_=n(t,void 0,r),o}eS(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==ez.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(ex(this),t_(this)){var t=tm(this,{object:this,type:tS,newValue:e});if(!t)return ez.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?ez.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tg(this)&&tE(this,{type:tS,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return tb(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:tS,newValue:this.value_,oldValue:void 0}),ty(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return H(this.get())},n[c]=function(){return this.valueOf()},t}(X);u=Symbol.toPrimitive;var eD=function(){function e(e){this.dependenciesState_=l.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=l.UP_TO_DATE_,this.unboundDepsCount_=0,this.mapid_="#"+S(),this.value_=new ej(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=d.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue@"+S(),e.set&&(this.setter_=eg(this.name_+"-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Q.structural:Q.default),this.scope_=e.context,this.requiresReaction_=!!e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){var e;e=this,e.lowestObserverState_===l.UP_TO_DATE_&&(e.lowestObserverState_=l.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===l.UP_TO_DATE_&&(e.dependenciesState_=l.POSSIBLY_STALE_,e.onBecomeStale_())}))}
1,t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing_&&r(32,this.name_,this.derivation),0!==ez.inBatch||0!==this.observers_.size||this.keepAlive_){if(eZ(this),eI(this)){var e,t=ez.trackingContext;this.keepAlive_&&!t&&(ez.trackingContext=this),this.trackAndCompute()&&(e=this,e.lowestObserverState_!==l.STALE_&&(e.lowestObserverState_=l.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===l.POSSIBLY_STALE_?t.dependenciesState_=l.STALE_:t.dependenciesState_===l.UP_TO_DATE_&&(e.lowestObserverState_=l.UP_TO_DATE_)}))),ez.trackingContext=t}}else eI(this)&&(this.warnAboutUntrackedRead_(),eX(),this.value_=this.computeValue_(!1),e$());var n=this.value_;if(ek(n))throw n.cause;return n},t.set=function(e){if(this.setter_){this.isRunningSetter_&&r(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===l.NOT_TRACKING_,n=this.computeValue_(!0),r=t||ek(e)||ek(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=ey(!1);if(e)t=eB(this,this.derivation,this.scope_);else if(!0===ez.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new ej(e)}return eE(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(eM(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,a=void 0;return function(e,t){void 0===t&&(t=E);var n,r=t&&t.name||e.name||"Autorun@"+S();if(t.scheduler||t.delay){var a,i=(a=t).scheduler?a.scheduler:a.delay?function(e){return setTimeout(e,a.delay)}:tn,o=!1;n=new eQ(r,function(){o||(o=!0,i(function(){o=!1,n.isDisposed_||n.track(s)}))},t.onError,t.requiresObservable)}else n=new eQ(r,function(){this.track(s)},t.onError,t.requiresObservable);function s(){e(n)}return n.schedule_(),n.getDisposer_()}(function(){var i=n.get();if(!r||t){var o=eV();e({observableKind:"computed",debugObjectName:n.name_,type:tS,object:n,newValue:i,oldValue:a}),eU(o)}r=!1,a=i})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return H(this.get())},t[u]=function(){return this.valueOf()},e}(),eR=I("ComputedValue",eD);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(l||(l={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(d||(d={}));var ej=function(e){this.cause=void 0,this.cause=e};function ek(e){return e instanceof ej}function eI(e){switch(e.dependenciesState_){case l.UP_TO_DATE_:return!1;case l.NOT_TRACKING_:case l.STALE_:return!0;case l.POSSIBLY_STALE_:for(var t=eH(!0),n=eV(),r=e.observing_,a=r.length,i=0;i<a;i++){var o=r[i];if(eR(o)){if(ez.disableErrorBoundaries)o.get();else try{o.get()}catch(e){return eU(n),eF(t),!0}if(e.dependenciesState_===l.STALE_)return eU(n),eF(t),!0}}return eW(e),eU(n),eF(t),!1}}function ex(e){}function eB(e,t,n){var r,a=eH(!0);eW(e),e.newObserving_=Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++ez.runId;var i=ez.trackingDerivation;if(ez.trackingDerivation=e,ez.inBatch++,!0===ez.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new ej(e)}return ez.inBatch--,ez.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=l.UP_TO_DATE_,a=0,i=e.unboundDepsCount_,o=0;o<i;o++){var s=n[o];0===s.diffValue_&&(s.diffValue_=1,a!==o&&(n[a]=s),a++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=a,e.newObserving_=null,i=t.length;i--;){var c=t[i];0===c.diffValue_&&eY(c,e),c.diffValue_=0}for(;a--;){var u,d,f=n[a];1===f.diffValue_&&(f.diffValue_=0,u=f,d=e,u.observers_.add(d),u.lowestObserverState_>d.dependenciesState_&&(u.lowestObserverState_=d.dependenciesState_))}r!==l.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),eF(a),r}function eM(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)eY(t[n],e);e.dependenciesState_=l.NOT_TRACKING_}function eL(e){var t=eV();try{return e()}finally{eU(t)}}function eV(){var e=ez.trackingDerivation;return ez.trackingDerivation=null,e}function eU(e){ez.trackingDerivation=e}function eH(e){var t=ez.allowStateReads;return ez.allowStateReads=e,t}function eF(e){ez.allowStateReads=e}
1function eW(e){if(e.dependenciesState_!==l.UP_TO_DATE_){e.dependenciesState_=l.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=l.UP_TO_DATE_}}var eG=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1},eK=!0,eq=!1,ez=function(){var e=a();return(e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(eK=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new eG().version&&(eK=!1),eK)?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new eG):(setTimeout(function(){eq||r(35)},1),new eG)}();function eY(e,t){e.observers_.delete(t),0===e.observers_.size&&eJ(e)}function eJ(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,ez.pendingUnobservations.push(e))}function eX(){ez.inBatch++}function e$(){if(0==--ez.inBatch){e1();for(var e=ez.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof eD&&n.suspend_())}ez.pendingUnobservations=[]}}function eZ(e){var t=ez.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&ez.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),!0):(0===e.observers_.size&&ez.inBatch>0&&eJ(e),!1)}var eQ=function(){function e(e,t,n,r){void 0===e&&(e="Reaction@"+S()),void 0===r&&(r=!1),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=l.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.mapid_="#"+S(),this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=d.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,ez.pendingReactions.push(this),e1())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){if(eX(),this.isScheduled_=!1,eI(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}e$()}},t.track=function(e){if(!this.isDisposed_){eX(),this.isRunning_=!0;var t=ez.trackingContext;ez.trackingContext=this;var n=eB(this,e,void 0);ez.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&eM(this),ek(n)&&this.reportExceptionInDerivation_(n.cause),e$()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)return void this.errorHandler_(e,this);if(ez.disableErrorBoundaries)throw e;ez.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",e),ez.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){!this.isDisposed_&&(this.isDisposed_=!0,this.isRunning_||(eX(),eM(this),e$()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[J]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){r("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];"boolean"==typeof n[n.length-1]&&(e=n.pop());var i=function(e){switch(e.length){case 0:return ez.trackingDerivation;case 1:return tQ(e[0]);case 2:return tQ(e[0],e[1])}}(n);if(!i)return r("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");i.isTracing_===d.NONE&&console.log("[mobx.trace] '"+i.name_+"' tracing enabled"),i.isTracing_=e?d.BREAK:d.LOG}(this,e)},e}(),e0=function(e){return e()};function e1(){ez.inBatch>0||ez.isRunningReactions||e0(e2)}function e2(){ez.isRunningReactions=!0;for(var e=ez.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,a=n.length;r<a;r++)n[r].runReaction_()}ez.isRunningReactions=!1}var e3=I("Reaction",eQ),e9="action",e5="action.bound",e4="autoAction",e8="autoAction.bound";function e6(e,t){var n=function(n,r){return P(n)?eg(n.name||"<unnamed action>",n,e):P(r)?eg(n,r,e):N(r)?Y(n,r,t):N(n)?z(t,n):void 0};return n.annotationType_=t,n}var e7=e6(!1,e9),te=e6(!0,e4);function tt(e){return P(e)&&!0===e.isMobxAction}
1e7.bound=q(e5),te.bound=q(e8);var tn=function(e){return e()};function tr(e,t,n){return ta("onBUO",e,t,n)}function ta(e,t,n,r){var a="function"==typeof r?tQ(t,n):tQ(t),i=P(r)?r:n,o=e+"L";return a[o]?a[o].add(i):a[o]=new Set([i]),function(){var e=a[o];e&&(e.delete(i),0===e.size&&delete a[o])}}var ti="always";function to(e){!0===e.isolateGlobalState&&function(){if((ez.pendingReactions.length||ez.inBatch||ez.isRunningReactions)&&r(36),eq=!0,eK){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ez=new eG}}();var t,n,i=e.useProxies,o=e.enforceActions;if(void 0!==i&&(ez.useProxies=i===ti||"never"!==i&&"undefined"!=typeof Proxy),"ifavailable"===i&&(ez.verifyProxies=!0),void 0!==o){var s=o===ti?ti:"observed"===o;ez.enforceActions=s,ez.allowStateChanges=!0!==s&&s!==ti}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries"].forEach(function(t){t in e&&(ez[t]=!!e[t])}),ez.allowStateReads=!ez.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=e0,e0=function(e){return t(function(){return n(e)})})}function ts(e,t){return function e(t){var n={name:t.name_};return t.observing_&&t.observing_.length>0&&(n.dependencies=Array.from(new Set(t.observing_)).map(e)),n}(tQ(e,t))}var tc=0;function tu(){this.message="FLOW_CANCELLED"}tu.prototype=Object.create(Error.prototype);var tl=Object.assign(function(e,t){if(N(t))return Y(e,t,"flow");var n=e.name||"<unnamed flow>",r=function(){var t,r=arguments,a=++tc,i=e7(n+" - runid: "+a+" - init",e).apply(this,r),o=void 0,s=new Promise(function(e,r){var s=0;function c(e){var t;o=void 0;try{t=e7(n+" - runid: "+a+" - yield "+s++,i.next).call(i,e)}catch(e){return r(e)}l(t)}function u(e){var t;o=void 0;try{t=e7(n+" - runid: "+a+" - yield "+s++,i.throw).call(i,e)}catch(e){return r(e)}l(t)}function l(t){return P(null==t?void 0:t.then)?void t.then(l,r):t.done?e(t.value):(o=Promise.resolve(t.value)).then(c,u)}t=r,c(void 0)});return s.cancel=e7(n+" - runid: "+a+" - cancel",function(){try{o&&td(o);var e=i.return(void 0),n=Promise.resolve(e.value);n.then(T,T),td(n),t(new tu)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},{annotationType_:"flow"});function td(e){P(e.cancel)&&e.cancel()}function tf(e){return!!e&&(tY(e)||!!e[J]||$(e)||e3(e)||eR(e))}function th(e,t,n,r){var a,i,o,s,c,u,l;return P(n)?(a=e,i=t,o=n,s=r,t0(a,i).observe_(o,s)):(c=e,u=t,l=n,t0(c).observe_(u,l))}function tv(e,t){void 0===t&&(t=void 0),eX();try{return e.apply(t)}finally{e$()}}var tp={has:function(e,t){if(t===J||"constructor"===t)return!0;var n=e[J];return N(t)?n.has_(t):t in e},get:function(e,t){if(t===J||"constructor"===t)return e[t];var n=e[J],r=n.values_.get(t);if(r instanceof X){var a=r.get();return void 0===a&&n.has_(t),a}return N(t)&&n.has_(t),e[t]},set:function(e,t,n){return!!N(t)&&(!function e(t,n,a){if(2==arguments.length&&!tH(t)){eX();var i=n;try{for(var o in i)e(t,o,i[o])}finally{e$()}return}if(tY(t)){var s=t[J];s.values_.get(n)?s.write_(n,a):s.addObservableProp_(n,a,s.defaultEnhancer_)}else tL(t)?t.set(n,a):tH(t)?t.add(n):tI(t)?("number"!=typeof n&&(n=parseInt(n,10)),n<0&&r("Invalid index: '"+n+"'"),eX(),n>=t.length&&(t.length=n+1),t[n]=a,e$()):r(8)}(e,t,n),!0)},deleteProperty:function(e,t){return!!N(t)&&(e[J].remove_(t),!0)},ownKeys:function(e){return e[J].keysAtom_.reportObserved(),Reflect.ownKeys(e)},preventExtensions:function(e){r(13)}};function t_(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function tb(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),A(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tm(e,t){var n=eV();try{for(var a=[].concat(e.interceptors_||[]),i=0,o=a.length;i<o&&((t=a[i](t))&&!t.type&&r(14),t);i++);return t}finally{eU(n)}}function tg(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function ty(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),A(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tE(e,t){var n=eV(),r=e.changeListeners_;if(r){r=r.slice();for(var a=0,i=r.length;a<i;a++)r[a](t);eU(n)}}function tO(e,t,n,r,a){j(e,t,a?te(n||t,r):e7(n||t,r))}function tw(e,t,n,a,i,o,s){var c,u=e.target_,l=i;if(!0===i&&(i=function(e,t,n){if(e.get)return ev;if(e.set)return!1;if(P(e.value)){var r,a;return(a=null==(r=e.value)?void 0:r.constructor)&&("GeneratorFunction"===a.name||"GeneratorFunction"===a.displayName)?tl:!tt(e.value)&&(n?te.bound:te)}return null!=t?t:ed.deep}(a,ed,s)),!1===i){o&&m(u,n,a);return}if(!i||!0===i||!i.annotationType_)return r(2,n);var d=i.annotationType_;switch(d){case e4:case e9:var f=a.value;P(f)||r(3,n),t===u||o?tO(u,n,i.arg_,f,d===e4):tt(t[n])||tO(t,n,i.arg_,f,d===e4);break;case e8:case e5:var h=a.value;P(h)||r(3,n),tO(u,n,i.arg_,h.bind(e.proxy_||u),d===e8);break;case"flow":t===u||o?j(u,n,tl(a.value)):(null==(c=t[n])?void 0:c.isMobXFlow)!==!0&&j(t,n,tl(a.value));break;case ef:case eh:a.get||r(4,n),e.addComputedProp_(u,n,eC({get:a.get,set:a.set,compareStructural
1:i.annotationType_===eh},i.arg_));break;case en:case er:case ea:case ei:var v=!0===l?e.defaultEnhancer_:eu(i);e.addObservableProp_(n,a.value,v)}}var tC="splice",tS="update",tA={get:function(e,t){var n=e[J];return t===J?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?F(tP,t)?tP[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[J];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},tT=function(){function e(e,t,n,r){this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new X(e||"ObservableArray@"+S()),this.enhancer_=function(n,r){return t(n,r,e+"[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return tb(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),ty(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=Array(e-t),a=0;a<e-t;a++)n[a]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&tZ(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var a=this.values_.length;if(void 0===e?e=0:e>a?e=a:e<0&&(e=Math.max(0,a+e)),t=1==arguments.length?a-e:null==t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=y),t_(this)){var i=tm(this,{object:this.proxy_,type:tC,index:e,removedCount:t,added:n});if(!i)return y;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var o=n.length-t;this.updateArrayLength_(a,o)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var a=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length=e+n.length-t;for(var o=0;o<n.length;o++)this.values_[e+o]=n[o];for(var s=0;s<i.length;s++)this.values_[e+n.length+s]=i[s];return a},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,a=tg(this),i=a||r?{observableKind:"array",object:this.proxy_,type:tS,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),a&&tE(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,a=tg(this),i=a||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:tC,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),a&&tE(this,i)},t.get_=function(e){if(e<this.values_.length)return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX")},t.set_=function(e,t){var n=this.values_;if(e<n.length){this.atom_;var a=n[e];if(t_(this)){var i=tm(this,{type:tS,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,a))!==a&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,a))}else e===n.length?this.spliceWithArray_(e,0,[t]):r(17,e,n.length)},e}(),tP={clear:function(){return this.splice(0)},replace:function(e){var t=this[J];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];var i=this[J];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[J].spliceWithArray_(e,t,n)},push:function(){for(var e=this[J],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[J].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[J],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return ez.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ez.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[J],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function tN(e,t){"function"==typeof Array.prototype[e]&&(tP[e]=t(e))}function tD(e){return function(){var t=this[J];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function tR(e){return function(t,n){var r=this,a=this[J];return a.atom_.reportObserved(),a.dehanceValues_(a.values_)[e](function(e,a){return t.call(n,e,a,r)})}}function tj(e){return function(){var t=this,n=this[J];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),a=arguments[0];return arguments[0]=function(e,n,r){return a(e,n,r,t)},r[e].apply(r,arguments)}}tN("concat",tD),tN("flat",tD),tN("includes",tD),tN("indexOf",tD),tN("join",tD),tN("lastIndexOf",tD),tN("slice",tD),tN("toString",tD),tN("toLocaleStr
1ing",tD),tN("every",tR),tN("filter",tR),tN("find",tR),tN("findIndex",tR),tN("flatMap",tR),tN("forEach",tR),tN("map",tR),tN("some",tR),tN("reduce",tj),tN("reduceRight",tj);var tk=I("ObservableArrayAdministration",tT);function tI(e){return D(e)&&tk(e[J])}var tx={},tB="delete";f=Symbol.iterator,h=Symbol.toStringTag;var tM=function(){function e(e,t,n){void 0===t&&(t=ee),void 0===n&&(n="ObservableMap@"+S()),this.enhancer_=void 0,this.name_=void 0,this[J]=tx,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,P(Map)||r(18),this.keysAtom_=Z(this.name_+".keys()"),this.data_=new Map,this.hasMap_=new Map,this.merge(e)}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!ez.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new eN(this.has_(e),et,this.name_+"."+U(e)+"?",!1);this.hasMap_.set(e,r),tr(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(t_(this)){var r=tm(this,{type:n?tS:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(ex(this.keysAtom_),t_(this)&&!tm(this,{type:tB,object:this,name:e}))return!1;if(this.has_(e)){var n=tg(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:tB,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tv(function(){t.keysAtom_.reportChanged(),t.updateHasMapEntry_(e,!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&tE(this,r),!0}return!1},t.updateHasMapEntry_=function(e,t){var n=this.hasMap_.get(e);n&&n.setNewValue_(t)},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==ez.UNCHANGED){var r=tg(this),a=r?{observableKind:"map",debugObjectName:this.name_,type:tS,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&tE(this,a)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tv(function(){var r=new eN(t,n.enhancer_,n.name_+"."+U(e),!1);n.data_.set(e,r),t=r.value_,n.updateHasMapEntry_(e,!0),n.keysAtom_.reportChanged()});var r=tg(this),a=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&tE(this,a)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return t5({next:function(){var n=t.next(),r=n.done,a=n.value;return{done:r,value:r?void 0:e.get(a)}}})},t.entries=function(){var e=this,t=this.keys();return t5({next:function(){var n=t.next(),r=n.done,a=n.value;return{done:r,value:r?void 0:[a,e.get(a)]}}})},t[f]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=eP(this);!(n=r()).done;){var a=n.value,i=a[0],o=a[1];e.call(t,o,i,this)}},t.merge=function(e){var t=this;return tL(e)&&(e=new Map(e)),tv(function(){R(e)?L(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):x(e)?(e.constructor!==Map&&r(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&r(20,e)}),this},t.clear=function(){var e=this;tv(function(){eL(function(){for(var t,n=eP(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return tv(function(){for(var n,a=function(e){if(x(e)||tL(e))return e;if(Array.isArray(e))return new Map(e);if(!R(e))return r(21,e);var t=new Map;for(var n in e)t.set(n,e[n]);return t}(e),i=new Map,o=!1,s=eP(t.data_.keys());!(n=s()).done;){var c=n.value;if(!a.has(c))if(t.delete(c))o=!0;else{var u=t.data_.get(c);i.set(c,u)}}for(var l,d=eP(a.entries());!(l=d()).done;){var f=l.value,h=f[0],v=f[1],p=t.data_.has(h);if(t.set(h,v),t.data_.has(h)){var _=t.data_.get(h);i.set(h,_),p||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var b=t.data_.keys(),m=i.keys(),g=b.next(),y=m.next();!g.done;){if(g.value!==y.value){t.keysAtom_.reportChanged();break}g=b.next(),y=m.next()}t.data_=i}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return ty(this,e)},t.intercept_=function(e){return tb(this,e)},ew(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:h,get:function(){return"Map"}}]),e}(),tL=I("ObservableMap",tM),tV={};v=Symbol.iterator,p=Symbol.toStringTag;var tU=function(){function e(e,t,n){void 0===t&&(t=ee),void 0===n&&(n="ObservableSet@"+S()),this.name_=void 0,this[J]=tV,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,P(Set)||r(22),this.atom_=Z(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tv(function(){eL(function(){for(var t,n=eP(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=eP(this);!(n=r()).done;){var a=n.value;e.call(t,a,a,this)}},t.add=function(e){var t=this;if(ex(this.atom_),t_(this)&&!tm(this,{type:"add",object:this,newValue:e}))return this;if(!this.has(e)){tv(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var n=tg(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;n&&tE(this,r)}return this},t.delete=function(e){var t=this;if(t_(this)&&!tm(this,{type:tB,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tg(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:tB,object:this,oldValue:e}:null;return tv(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&tE(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return t5({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return t5({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return tH(e)&&(e=new Set(e)),tv(function(){Array.isArray(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):B(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&r("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return ty(this,e)},t.intercept_=function(e){return tb(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[v]=function(){return this.values()},ew(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:p,get:function(){return"Set"}}]),e}(),tH=I("ObservableSet",tU),tF="remove",tW=function(){function e(e,t,n,r){void 0===t&&(t=new Map),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultEnhancer_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.pendingKeys_=void 0,this.keysValue_=[],this.isStaledKeysValue_=!0,this.target_=e,this.values_=t,this.name_=n,this.defaultEnhancer_=r,this.keysAtom_=ne
1w X(n+".keys")}var t=e.prototype;return t.read_=function(e){return this.values_.get(e).get()},t.write_=function(e,t){var n=this.target_,r=this.values_.get(e);if(r instanceof eD)return void r.set(t);if(t_(this)){var a=tm(this,{type:tS,object:this.proxy_||n,name:e,newValue:t});if(!a)return;t=a.newValue}if((t=r.prepareNewValue_(t))!==ez.UNCHANGED){var i=tg(this),o=i?{type:tS,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||n,oldValue:r.value_,name:e,newValue:t}:null;r.setNewValue_(t),i&&tE(this,o)}},t.has_=function(e){var t=this.pendingKeys_||(this.pendingKeys_=new Map),n=t.get(e);return n||(n=new eN(!!this.values_.get(e),et,this.name_+"."+U(e)+"?",!1),t.set(e,n)),n.get()},t.addObservableProp_=function(e,t,n){void 0===n&&(n=this.defaultEnhancer_);var r,a=this.target_;if(t_(this)){var i=tm(this,{object:this.proxy_||a,name:e,type:"add",newValue:t});if(!i)return;t=i.newValue}var o=new eN(t,n,this.name_+"."+U(e),!1);this.values_.set(e,o),t=o.value_,m(a,e,tK[r=e]||(tK[r]={configurable:!0,enumerable:!0,get:function(){return this[J].read_(r)},set:function(e){this[J].write_(r,e)}})),this.notifyPropertyAddition_(e,t)},t.addComputedProp_=function(e,t,n){var r,a=this.target_;n.name=n.name||this.name_+"."+U(t),n.context=this.proxy_||a,this.values_.set(t,new eD(n)),m(e,t,tq[r=t]||(tq[r]={configurable:!0,enumerable:!1,get:function(){return this[J].read_(r)},set:function(e){this[J].write_(r,e)}}))},t.remove_=function(e){if(this.values_.has(e)){var t=this.target_;if(!t_(this)||tm(this,{object:this.proxy_||t,name:e,type:tF}))try{eX();var n=tg(this),r=this.values_.get(e),a=r&&r.get();if(r&&r.set(void 0),this.reportKeysChanged(),this.values_.delete(e),this.pendingKeys_){var i=this.pendingKeys_.get(e);i&&i.set(!1)}delete this.target_[e];var o=n?{type:tF,observableKind:"object",object:this.proxy_||t,debugObjectName:this.name_,oldValue:a,name:e}:null;n&&tE(this,o)}finally{e$()}}},t.observe_=function(e,t){return ty(this,e)},t.intercept_=function(e){return tb(this,e)},t.notifyPropertyAddition_=function(e,t){var n=tg(this),r=n?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;if(n&&tE(this,r),this.pendingKeys_){var a=this.pendingKeys_.get(e);a&&a.set(!0)}this.reportKeysChanged()},t.getKeys_=function(){if(this.keysAtom_.reportObserved(),!this.isStaledKeysValue_)return this.keysValue_;this.keysValue_=[];for(var e,t=eP(this.values_);!(e=t()).done;){var n=e.value,r=n[0];n[1]instanceof eN&&this.keysValue_.push(r)}return this.isStaledKeysValue_=!1,this.keysValue_},t.reportKeysChanged=function(){this.isStaledKeysValue_=!0,this.keysAtom_.reportChanged()},e}();function tG(e,t,n){if(void 0===t&&(t=""),void 0===n&&(n=ee),F(e,J))return e[J];R(e)||(t=(e.constructor.name||"ObservableObject")+"@"+S()),t||(t="ObservableObject@"+S());var r=new tW(e,new Map,U(t),n);return j(e,J,r),r}var tK=Object.create(null),tq=Object.create(null),tz=I("ObservableObjectAdministration",tW);function tY(e){return!!D(e)&&tz(e[J])}var tJ=0,tX=function(){};!function(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}(tX,Array.prototype);var t$=function(e){function t(t,n,r,a){void 0===r&&(r="ObservableArray@"+S()),void 0===a&&(a=!1);var i=e.call(this)||this,o=new tT(r,n,a,!0);if(o.proxy_=eA(i),k(eA(i),J,o),t&&t.length){var s=ey(!0);i.spliceWithArray(0,0,t),eE(s)}return i}eS(t,e);var n=t.prototype;return n.concat=function(){this[J].atom_.reportObserved();for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return tI(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return t5({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},ew(t,[{key:"length",get:function(){return this[J].getArrayLength_()},set:function(e){this[J].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}]),t}(tX);function tZ(e){if(e>tJ){for(var t=tJ;t<e+100;
1t++)!function(e){m(t$.prototype,""+e,{enumerable:!1,configurable:!0,get:function(){return this[J].get_(e)},set:function(t){this[J].set_(e,t)}})}(t);tJ=e}}function tQ(e,t){if("object"==typeof e&&null!==e){if(tI(e))return void 0!==t&&r(23),e[J].atom_;if(tH(e))return e[J];if(tL(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,t1(e)),n}if(tY(e)){if(!t)return r(26);var a=e[J].values_.get(t);return a||r(27,t,t1(e)),a}if($(e)||eR(e)||e3(e))return e}else if(P(e)&&e3(e[J]))return e[J];r(28)}function t0(e,t){return(e||r(29),void 0!==t)?t0(tQ(e,t)):$(e)||eR(e)||e3(e)||tL(e)||tH(e)?e:e[J]?e[J]:void r(24,e)}function t1(e,t){return(void 0!==t?tQ(e,t):tY(e)||tL(e)||tH(e)?t0(e):tQ(e)).name_}Object.entries(tP).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&j(t$.prototype,t,n)}),tZ(1e3);var t2=g.toString;function t3(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,a,i){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var o=typeof t;if(!P(o)&&"object"!==o&&"object"!=typeof n)return!1;var s=t2.call(t);if(s!==t2.call(n))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":if(+t!=+t)return+n!=+n;return 0==+t?1/t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=t9(t),n=t9(n);var c="[object Array]"===s;if(!c){if("object"!=typeof t||"object"!=typeof n)return!1;var u=t.constructor,l=n.constructor;if(u!==l&&!(P(u)&&u instanceof u&&P(l)&&l instanceof l)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),i=i||[];for(var d=(a=a||[]).length;d--;)if(a[d]===t)return i[d]===n;if(a.push(t),i.push(n),c){if((d=t.length)!==n.length)return!1;for(;d--;)if(!e(t[d],n[d],r-1,a,i))return!1}else{var f,h=Object.keys(t);if(d=h.length,Object.keys(n).length!==d)return!1;for(;d--;)if(!(F(n,f=h[d])&&e(t[f],n[f],r-1,a,i)))return!1}return a.pop(),i.pop(),!0}(e,t,n)}function t9(e){return tI(e)?e.slice():x(e)||tL(e)||B(e)||tH(e)?Array.from(e.entries()):e}function t5(e){return e[Symbol.iterator]=t4,e}function t4(){return this}["Symbol","Map","Set","Symbol"].forEach(function(e){void 0===a()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:t1},$mobx:J})},80237:(e,t,n)=>{"use strict";n.d(t,{B8:()=>f,KJ:()=>o,TJ:()=>s,Vm:()=>h,aS:()=>v,az:()=>u,bg:()=>d,fh:()=>p,i3:()=>l,p8:()=>a,ph:()=>i,ru:()=>c});var r=n(65364);let a=!0,i=!1,o=!0,s="__product_unavailable",c="BT_SC_CACHED_DATA",u="/home",l="isFromBBHub",d=["fttp","fttp-gf","fttp-gfast-2"];r.env.BT_AEM_DOMAIN;let f="__analytics_state",h=["copper-mocoy"],v=["copper-mocon","copper-mocon-l10mb4g"],p="https://www.bt.com/exp/bt-postcode-mapper/api/postcode-variant"},80497:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(96665),t)},80738:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},82337:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(37876);n(14232);var a=n(45105),i=n.n(a),o=n(89099),s=n(52360),c=n(51325);n(10085),n(83237),n(99919),n(96334),n(79422);var u=n(34721),l=n(54059),d=n(28903),f=n(58149),h=n(43713),v=n(24530),p=n.n(v);let _=()=>{(()=>{if(document.querySelector("link[data-clientlibs]"))return;let e=document.createElement("link");e.rel="stylesheet",e.href=(0,h.A)("/etc.clientlibs/global/clientlibs.min.css"),e.setAttribute("data-clientlibs",""),e.media="print",e.onload=()=>{e.media="all"},document.head.appendChild(e)})(),p()((0,h.A)("/content/dam/bt/global/js/btheader.api-1.0.js"),{success:()=>{var e;return null==(e=window.GlobalHeader)?void 0:e.init({activePage:"",displayGlobalSearch:"N",displayMobileSearch:"N"})}}),p()((0,h.A)("/content/dam/bt/global/js/btfooter.api-1.0.js"),{success:()=>{var e;return null==(e=window.GlobalFooter)?void 0:e.init()}})};var b=n(98225),m=n(56839);let g=function(e){let{Component:t,pageProps:n}=e,a=(0,o.useRouter)();return(0,s.usePageTracker)({pageNames:c.Q,channel:s.ChannelNames.BROADBAND,environment:"production",pathname:a.pathname}),(0,r.jsx)(f.BE,{value:{dedupingInterval:6e4,revalidateOnFocus:!1,revalidateOnReconnect:!0,shouldRetryOnError:!1},children:(0,r.jsx)(b.tv,{children:(0,r.jsx)(m.y.Provider,{children:(0,r.jsx)(d.n.Provider,{children:(0,r.jsxs)(l.C6,{children:[(0,r.jsx)(i(),{src:"https://code.jquery.com/jquery-3.7.1.min.js",strategy:"lazyOnload",integrity:"sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==",crossOrigin:"anonymous",onReady:_}),(0,r.jsx)(u.Y9,{}),(0,r.jsx)("main",{id:"maincontent",role:"main",suppressHydrationWarning:!0,children:(0,r.jsx)(t,{...n})}),(0,r.jsx)(u.wi,{})]})})})})})}},83237:()=>{},87169:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.reset=t.getConfigItem=t.getConfig=t.storeConfig=void 0;var a=n(32522),i={dns:a.DnsNames.EE,environment:a.EnvironmentNames.DEVELOPMENT},o=i;t.storeConfig=function(e){var t=Object.keys(e).reduce(function(t,n){var a,i=e[n];return null!=i?r(r({},t),((a={})[n]=i,a)):t},{});o=r(r({},o),t)},t.getConfig=function(){return r({},o)},t.getConfigItem=function(e){return o[e]||null},t.reset=function(){o=i}},89099:(e,t,n)=>{e.exports=n(6763)},89364:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},89990:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(33005),t),a(n(87169),t),a(n(32737),t),a(n(18058),t)},90610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pageNamesConfig=t.journeyNamesConfig=void 0,t.journeyNamesConfig={cancellationJourney:"C:SA:cancel",feedbackJourney:"FB:SA:feedback"},t.pageNamesConfig={basketPage:"basket-page",cancellationPage:"cancellation-form",checkoutPage:"checkout-page",homePage:"home-page",orderTrackerPage:"order-tracker-page",productViewPage:"product-view-page"}},91721:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.sendErrorToAnalytics=void 0;var a=n(89990),i=n(32522),o=n(69382),s=n(41134);t.sendErrorToAnalytics=function(e){var t=e.analyticsPageName,n=e.type,c=e.code,u=e.label,l=e.name,d=e.isNce,f=e.triggerPageView,h=e.pageNames,v=e.path,p=e.attributes,_=(0,a.getConfig)().dns,b=r(r({},(0,a.generateAdobeConfig)({analyticsPageName:t,dns:_})),{error:{type:void 0===n?"system":n,code:c,label:u,name:l,is_nce:d,attributes:p}});void 0!==f&&f&&(v&&h?(0,o.handleSSRPageView)({path:v,pageNames:h}):a.DebugConsole.error('Page names and path must be passed in to "sendErrorToAnalytics" if you want to trigger page view events on SSR errors')),(0,s.sendEventToTagManager)({eventName:i.EventNames.ERROR_OCCURRED,data:b})}},92487:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},93950:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleSSRPageView=void 0;var r=n(30754);t.handleSSRPageView=function(e){var t=e.path,n=e.pageNames,a=n&&t&&n[t]||null;(0,r.handlePageView)({pageInfo:a})}},94502:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(35785),t),a(n(41134),t),a(n(91721),t)},96016:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAnalytics=void 0;var r=n(32522),a=n(94502),i=n(14232);t.useAnalytics=function(){var e=(0,i.useCallback)(function(e){(0,a.sendEventToTagManager)(e)},[]),t=(0,i.useCallback)(function(){return{basketEvent:function(){return{payload:function(t){return e({eventName:r.EventNames.BASKET,data:t})},flat:function(){}}},checkerEvent:function(){return{payload:function(t){return e({eventName:r.EventNames.CHECKER,data:t})},flat:function(){}}},errorOccurredEvent:function(){return{payload:function(t){return e({eventName:r.EventNames.ERROR_OCCURRED,data:t})},flat:function(){}}},journeyActionCompletedEvent:function(){return{payload:function(t){return e({eventName:r.EventNames.JOURNEY_ACTION_COMPLETED,data:t})},flat:function(){}}},nbaRecommendationsEvent:function(){return{payload:function(t){return e({eventName:r.EventNames.NBA_RECOMMENDATIONS,data:t})},flat:function(){}}},transactionEvent:function(){return{payload:function(t){return e({eventName:r.EventNames.TRANSACTION,data:t})},flat:function(){}}},viewPageEvent:function(){return{payload:function(t){return e({eventName:r.EventNames.VIEW_PAGE,data:t})},flat:function(){}}},viewProductEvent:function(){return{payload:function(t){return e({eventName:r.EventNames.VIEW_PRODUCT,data:t})},flat:function(){}}}}},[]);return{sendEvent:e,send:t}}},96334:()=>{},96665:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.mapPageConfigData=t.generateChannelData=t.deriveChannelNameFromUrl=void 0,n(32522);var a=n(32522),i=n(89990),o=n(52886);t.deriveChannelNameFromUrl=function(e){var t,n,r,a=e.hostname,s=e.pathname,c=e.channelMap,u=void 0===c?o.channelMapEntries:c,l=u.filter(function(e){var t="".concat(e.subdomain,".");return a.includes(t)}),d=u.filter(function(e){return""===e.subdomain});return(r=l.length>0?null==(t=l.find(function(e){return s.match("".concat(e.basePath))}))?void 0:t.channel:null==(n=d.find(function(e){return s.match("^".concat(e.basePath))}))?void 0:n.channel)?(i.DebugConsole.log("Detected channel map match: ",r),r):(i.DebugConsole.log("Using default channel as no match found: ","ee"),"ee")},t.generateChannelData=function(e){var n=e.dns,r=e.channel;return n===a.DnsNames.EE?{channel:r||(0,t.deriveChannelNameFromUrl)({hostname:window.location.hostname,pathname:window.location.pathname})}:{}},t.mapPageConfigData=function(e){var n=e.analyticsPageName,a=e.channel,o=e.dns,s=e.environment,c=e.user,u=e.metadata;return r(r(r({},(0,i.generateAdobeConfig)({analyticsPageName:n,dns:o})),{page:r(r({},(0,t.generateChannelData)({dns:o,channel:a})),{environment:s||"production"}),user:c}),u)}},98225:(e,t,n)=>{"use strict";n.d(t,{Pd:()=>u,tv:()=>l});var r=n(37876),a=n(78304),i=n(80035),o=n(14232);(0,a.eO)(!1);let s={postcode:""},c={data:{...s},savePostcode(e){this.data.postcode!==e&&(this.data.postcode=e)},resetData(){this.data={...s}}},u=(0,o.createContext)(c),l=e=>{let{children:t}=e,n=(0,a.iz)(()=>c),o=e=>{if("update"!==e.type)return},s=(0,i.lB)(n.data,o);return(0,i.lB)(n,"data",()=>{s&&s(),s=(0,i.lB)(n.data,o)}),(0,i.lB)(n.data,()=>{}),(0,r.jsx)(u.Provider,{value:n,children:t})}},99919:()=>{}},e=>{var t=t=>e(e.s=t);e.O(0,[593,792],()=>(t(92),t(6763))),_N_E=e.O()}]);
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.