PageSourceSearch

https://business.bt.com/broadband-acquisition/_next/static/chunks/834.76b646888ba30ae4.js

js bt.com collected 2026-10-01 08:31:06 UTC 4,628 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[834],{30834:(e,n,l)=>{l.r(n),l.d(n,{KeepMyNumberMock:()=>w,KeepMyNumberModal:()=>y});var o=l(12429),t=l(60004),r=l(10787),u=l(63061),i=l(83176),a=l(5354),d=l(37721),s=l(47141),p=l(17503),c=l(60072);function b(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),l.push.apply(l,o)}return l}function m(e){for(var n=1;n<arguments.length;n++){var l=null!=arguments[n]?arguments[n]:{};n%2?b(Object(l),!0).forEach(function(n){(0,o.A)(e,n,l[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):b(Object(l)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(l,n))})}return e}var y=(0,a.z)(function(e){var n,l,a,b,y,h,f=e.steps,v=e.onRequestClose,M=e.onNext,N=e.onChange,w=(0,u.B)().state,C=null==w?void 0:w.keepMyNumber,g=C.activeStep,O=C.isKeepMyNumberVisible,S=C.phoneNumber,G=null==f?void 0:f.find(function(e){return(null==e?void 0:e.step)===g}),j=function(e){var n,l,o,t;s.cuq.record.click({name:null==e?void 0:e.label,type:null==e?void 0:e.buttonStyle,url:null==(n=window)||null==(n=n.location)?void 0:n.href},null==G||null==(l=G.modal)?void 0:l.title,p.Bs.ProcessModal),null==M||null==(o=M.find(function(n){return n.buttonId===e.id}))||null==(t=o.onClick)||t.call(o)},P=m(m({},null==G||null==(n=G.modal)?void 0:n.buttonGroup),{},{buttons:null!=(l=null==G||null==(a=G.modal)||null==(a=a.buttonGroup)||null==(a=a.buttons)?void 0:a.map(function(e){return m(m({},e),{},{onClick:function(){return j(e)}})}))?l:[]});return(0,t.useEffect)(function(){if(O){var e,n,l,o,t=[i.Gr.KeepMyNumberModal,i.Gr.ShowBundlesModal,i.Gr.ConfirmKeepMyNumberModal],r=[i.Gr.KeepMyNumberErrorModal,i.Gr.PortNotAllowsModal,i.Gr.TryAgainModal];t.includes(g)?s.cuq.record.popUp(p.XN.ComponentPopUpEvent,g===i.Gr.ConfirmKeepMyNumberModal?null==G||null==(e=G.modal)||null==(e=e.components)||null==(e=e.at(0))?void 0:e.label:null==G||null==(n=G.modal)?void 0:n.title,null==G||null==(l=G.modal)?void 0:l.content,p.Bs.ProcessModal):r.includes(g)&&s.cuq.record.event({event:p.XN.LineTypeError,errordetails:{errormessage:null==G||null==(o=G.modal)||null==(o=o.components)||null==(o=o.at(0))?void 0:o.heading}})}},[O,G,g]),(0,c.jsx)(r.Modal,m(m({},null==G?void 0:G.modal),{},{buttonGroup:P,isOpen:O,onRequestClose:v,children:null==G||null==(b=G.modal)||null==(b=b.components)?void 0:b.map(function(e){var n;return(0,c.jsx)(d.H,m(m({},e),{},{onChange:null==N||null==(n=N.find(function(n){return n.inputId===(null==e?void 0:e.id)}))?void 0:n.onChange,defaultValue:g===i.Gr.ConfirmKeepMyNumberLoadingModal?S:""}))}),footerComponent:(null==G||null==(y=G.modal)?void 0:y.footerComponent)&&(0,c.jsx)(r.ContactUsPanel,m(m({},null==G||null==(h=G.modal)?void 0:h.footerComponent),{},{startSprLiveChat:function(e){var n,l,t,r;null==(n=window)||null==(l=n.sprChat)||l.call(n,"enable"),null==(t=window)||null==(r=t.sprChat)||r.call(t,"openNewConversation",{conversationContext:(0,o.A)({},w.config.sprinklrConfigId,e)}),null==v||v()}}))}))}),h=l(27340),f=l(85409),v={buttons:[{id:i.eM.BuyNowWithNewNumber,label:"Continue with broadband‑only",isFullWidth:!0},{id:i.eM.ShowBundles,buttonStyle:f.inm.Secondary,label:"Show plans with a digital phone line",isFullWidth:!0}],isFullWidth:!0},M={buttons:[{id:i.eM.KeepMyNumber,label:"Yes, keep my number",isFullWidth:!0},{id:i.eM.BuyNowWithNewNumber,buttonStyle:f.inm.Secondary,label:"No, get a new number",isFullWidth:!0}],isFullWidth:!0},N={buttons:[{id:i.eM.ConfirmKeepMyNumber,label:"Confirm current number",isFullWidth:!0},{id:i.eM.BuyNowWithNewNumber,buttonStyle:f.inm.Secondary,label:"No, get a new number",isFullWidth:!0}],isFullWidth:!0},w={steps:[{step:i.Gr.ShowBundlesModal,modal:{buttonGroup:v,title:"You’ve chosen a broadband only plan",children:(0,c.jsx)(h.FcD,{headingLevel:"4",heading:"If you have a phone number",description:"Broadband-only doesn’t include a phone service. You won’t be able to carry your number across."})}}
1,{step:i.Gr.KeepMyNumberModal,modal:{buttonGroup:M,title:"Need to keep your business number?",content:"Your plan includes a digital phone line. Port your current number or get a new one."}},{step:i.Gr.ConfirmKeepMyNumberModal,modal:{buttonGroup:N,title:"Need to keep your business number?",content:"Your plan includes a digital phone line. Port your current number or get a new one.",children:(0,c.jsx)(r.SingleInputForm,{label:"Enter your phone number",labelSize:"m",requirementStatus:"not-applicable"})}}]}}}]);

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.