1(window.webpackJsonp=window.webpackJsonp||[]).push([[63,246],{2959:function(e,t,n){"use strict";n.r(t),n.d(t,"BMW_FEDERATION_REQUEST_STORAGE_KEY",(function(){return Be}));var i,r,a,o,c,d,l,s,p,u,f,m,h,g,b,x,E,O,j,w,C,y=n(5),_=n.n(y),v=n(28),T=n(528),S=n(506),I=n(35),M=n(62),A=n(3065),R=n(30),P=n(14),B=n(0),N=n(39),F=n(3413),D=n(3414),L=n(3624),U=n(3415),k=n(3195),H=n(3361),W=n(3093),z=n(6),Y=n(48),q=z.default.div.withConfig({displayName:"PageRoot",componentId:"sc-1qarj2a-0"})(["min-height:100svh;background:#efefef;display:flex;flex-direction:column;"]),V=z.default.h1.withConfig({displayName:"SeoHeading",componentId:"sc-1qarj2a-1"})(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;"]),G=z.default.section.withConfig({displayName:"BookingContent",componentId:"sc-1qarj2a-2"})(["flex:1;padding:18px 12px 24px;"]),K=z.default.section.withConfig({displayName:"Card",componentId:"sc-1qarj2a-3"})(["width:min(760px,100%);margin:0 auto;background:#ffffff;border:1px solid #d9d9d9;box-shadow:0 2px 12px rgba(0,0,0,0.06);padding:0 0 20px;"]),X=z.default.div.withConfig({displayName:"ContractInfo",componentId:"sc-1qarj2a-4"})(["margin:16px 24px 14px;border:1px solid #e0e0e0;border-radius:2px;background:#fafafa;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;font-size:13px;line-height:1.35;color:#3f3f3f;@media (max-width:740px){margin:14px 14px 10px;}"]),J=z.default.div.withConfig({displayName:"ContractInfoIcon",componentId:"sc-1qarj2a-5"})(["height:100%;min-height:44px;background:#1aa7dd;color:#ffffff;display:flex;align-items:center;justify-content:center;font-weight:700;"]),Q=z.default.h2.withConfig({displayName:"MainHeading",componentId:"sc-1qarj2a-6"})(["margin:8px 24px 6px;text-align:center;color:#2f2f2f;font-size:clamp(34px,6vw,52px);font-weight:300;line-height:1.08;@media (max-width:740px){margin:10px 14px 6px;}"]),Z=z.default.p.withConfig({displayName:"InfoText",componentId:"sc-1qarj2a-7"})(["margin:0 auto 18px;max-width:560px;text-align:center;color:#4f4f4f;font-size:16px;line-height:1.35;padding:0 24px;@media (max-width:740px){padding:0 14px;font-size:15px;}"]),$=z.default.h3.withConfig({displayName:"OptionHeading",componentId:"sc-1qarj2a-8"})(["margin:0;text-align:center;color:#2f2f2f;font-size:30px;line-height:1.2;font-weight:700;@media (max-width:740px){font-size:24px;}"]),ee=z.default.p.withConfig({displayName:"OptionDescription",componentId:"sc-1qarj2a-9"})(["margin:8px auto 12px;max-width:520px;text-align:center;color:#545454;font-size:20px;line-height:1.35;padding:0 24px;@media (max-width:740px){font-size:17px;padding:0 14px;}"]),te=z.default.div.withConfig({displayName:"OptionTelekomLogo",componentId:"sc-1qarj2a-11"})(["display:flex;justify-content:center;color:",";margin:6px auto 14px;line-height:0;svg{width:min(112px,34vw);height:auto;}"],Y.l.magenta),ne=z.default.div.withConfig({displayName:"OptionTag",componentId:"sc-1qarj2a-12"})(["margin:0 56px;color:#2f2f2f;font-size:18px;font-weight:600;line-height:1.2;padding-bottom:8px;border-bottom:1px solid #e0e0e0;@media (max-width:740px){margin:0 14px;font-size:16px;}"]),ie=z.default.div.withConfig({displayName:"OptionRow",componentId:"sc-1qarj2a-13"})(["margin:10px 56px 0;display:flex;justify-content:space-between;align-items:flex-end;gap:12px;@media (max-width:740px){margin:10px 14px 0;}"]),re=z.default.p.withConfig({displayName:"OptionName",componentId:"sc-1qarj2a-14"})(["margin:0;color:#2f2f2f;font-size:18px;line-height:1.3;@media (max-width:740px){font-size:16px;}"]),ae=z.default.p.withConfig({displayName:"OptionPeriod",componentId:"sc-1qarj2a-15"})(["margin:2px 0 0;color:#888888;font-size:12px;line-height:1.2;"]),oe=z.default.p.withConfig({displayName:"OptionPrice",componentId:"sc-1qarj2a-16"})(["margin:0;color:#2f2f2f;font-size:22px;line-height:1.2;white-space:nowrap;@media (max-width:740px){font-size:18px;}"]),ce=z.default.button.withConfig({displayName:"ToggleDetailsButton",componentId:"sc-1qarj2a-17"})(["margin:10px 56px 0;padding:0;border:0;background:transparent;color:#0a79b4;cursor:pointer;font-size:14px;line-height:1.2;font-weight:700;@media (max-width:740px){margin:10px 14px 0;}
1"]),de=z.default.ul.withConfig({displayName:"OptionDetailsList",componentId:"sc-1qarj2a-18"})(["margin:10px 68px 0;color:#4f4f4f;font-size:14px;line-height:1.4;li + li{margin-top:6px;}@media (max-width:740px){margin:10px 24px 0;padding-left:18px;}"]),le=z.default.p.withConfig({displayName:"PriceSummaryLabel",componentId:"sc-1qarj2a-19"})(["margin:16px 56px 0;color:#2f2f2f;font-size:20px;line-height:1.25;font-weight:600;@media (max-width:740px){margin:16px 14px 0;font-size:17px;}"]),se=z.default.p.withConfig({displayName:"PriceSummaryValue",componentId:"sc-1qarj2a-20"})(["margin:2px 56px 0;color:#e20074;font-size:34px;line-height:1.1;font-weight:700;@media (max-width:740px){margin:2px 14px 0;font-size:30px;}"]),pe=z.default.p.withConfig({displayName:"TaxText",componentId:"sc-1qarj2a-21"})(["margin:8px 56px 0;color:#6f6f6f;font-size:13px;line-height:1.35;@media (max-width:740px){margin:8px 14px 0;}"]),ue=z.default.hr.withConfig({displayName:"Divider",componentId:"sc-1qarj2a-22"})(["margin:18px 56px;border:0;border-top:1px solid #e2e2e2;@media (max-width:740px){margin:16px 14px;}"]),fe=z.default.h4.withConfig({displayName:"LegalHeading",componentId:"sc-1qarj2a-23"})(["margin:0 56px 10px;color:#2f2f2f;font-size:26px;line-height:1.2;font-weight:400;@media (max-width:740px){margin:0 14px 10px;font-size:22px;}"]),me=z.default.div.withConfig({displayName:"CheckboxWrapper",componentId:"sc-1qarj2a-24"})(["margin:0 56px 14px;@media (max-width:740px){margin:0 14px 14px;}"]),he=z.default.div.withConfig({displayName:"ConsentCheckboxRow",componentId:"sc-1qarj2a-25"})(["display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;.ods-checkbox{margin-top:1px;}"]),ge=z.default.p.withConfig({displayName:"CheckboxHint",componentId:"sc-1qarj2a-26"})(["margin:0;color:#4f4f4f;font-size:16px;line-height:1.45;@media (max-width:740px){font-size:15px;line-height:1.4;}"]),be=z.default.div.withConfig({displayName:"PrimaryAction",componentId:"sc-1qarj2a-27"})(["margin:20px 56px 10px;display:flex;justify-content:center;.ods-button{min-width:290px;max-width:100%;}@media (max-width:740px){margin:20px 14px 10px;.ods-button{min-width:100%;}}"]),xe=z.default.button.withConfig({displayName:"CancelLink",componentId:"sc-1qarj2a-28"})(["margin:0 auto;display:block;background:transparent;border:0;color:#0a79b4;cursor:pointer;font-size:16px;line-height:1.2;"]),Ee=z.default.section.withConfig({displayName:"ProcessingSection",componentId:"sc-1qarj2a-29"})(["min-height:460px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px 50px;text-align:center;"]),Oe=z.default.div.withConfig({displayName:"ProcessingSpinnerWrapper",componentId:"sc-1qarj2a-30"})(["margin-bottom:18px;.ods-loading-spinner{transform:scale(1.12);}"]),je=z.default.h2.withConfig({displayName:"ProcessingHeading",componentId:"sc-1qarj2a-31"})(["margin:0;color:#2f2f2f;font-size:clamp(42px,6vw,64px);line-height:1.1;font-weight:300;"]),we=z.default.p.withConfig({displayName:"ProcessingBody",componentId:"sc-1qarj2a-32"})(["margin:18px 0 0;color:#4f4f4f;font-size:clamp(24px,3.2vw,38px);line-height:1.35;font-weight:300;"]),Ce=z.default.div.withConfig({displayName:"CancelDialogBody",componentId:"sc-1qarj2a-33"})(["padding:10px 6px 8px;"]),ye=z.default.p.withConfig({displayName:"CancelDialogQuestion",componentId:"sc-1qarj2a-34"})(["margin:0;color:#2f2f2f;font-size:clamp(30px,4.2vw,56px);line-height:1.2;text-align:center;font-weight:300;"]),_e=z.default.div.withConfig({displayName:"CancelDialogActions",componentId:"sc-1qarj2a-35"})(["margin-top:34px;display:flex;justify-content:center;gap:16px;
1.ods-button{min-width:200px;}@media (max-width:640px){margin-top:26px;flex-direction:row;.ods-button{min-width:140px;}}"]),ve=z.default.p.withConfig({displayName:"ErrorBox",componentId:"sc-1qarj2a-36"})(["margin:12px 56px;padding:10px 12px;border:1px solid #ff5f70;background:#fff5f7;color:#aa002d;font-size:13px;line-height:1.4;@media (max-width:740px){margin:12px 14px;}"]),Te=z.default.section.withConfig({displayName:"ErrorScreenSection",componentId:"sc-1qarj2a-37"})(["flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px 60px;text-align:center;"]),Se=z.default.div.withConfig({displayName:"ErrorScreenIcon",componentId:"sc-1qarj2a-38"})(["width:64px;height:64px;border-radius:50%;background:linear-gradient(180deg,#f87171 0%,#dc2626 100%);display:flex;align-items:center;justify-content:center;margin-bottom:24px;&::after{content:'â';color:#ffffff;font-size:28px;font-weight:700;}"]),Ie=z.default.p.withConfig({displayName:"ErrorScreenMessage",componentId:"sc-1qarj2a-39"})(["margin:0 auto 28px;max-width:400px;color:#2f2f2f;font-size:18px;line-height:1.45;white-space:pre-line;a{color:inherit;text-decoration:underline;}"]),Me=z.default.div.withConfig({displayName:"ErrorScreenAction",componentId:"sc-1qarj2a-40"})([".ods-button{min-width:260px;}"]),Ae=n(2);function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach((function(t){_()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Be=R.d.BMW_MOBILE_CONNECT_FEDERATION_REQUEST,Ne=R.d.BMW_MOBILE_CONNECT_REDIRECT_URI,Fe=R.d.BMW_MOBILE_CONNECT_ACCOUNT_ID,De=R.d.BMW_MOBILE_CONNECT_ADDON_ORDER_IDENTIFIER,Le=R.d.BMW_MOBILE_CONNECT_MSISDN,Ue=[{id:"AGBDS",label:"AGB, Datenschutz",descriptionHtml:"Hiermit stimme ich den Allgemeinen Geschäftsbedingungen, Leistungsbeschreibungen und Preislisten zu. Die Datenschutzhinweise habe ich zur Kenntnis genommen.",isMandatory:!0},{id:"WR",label:"Hinweise zum Widerrufsrecht",descriptionHtml:"Als Verbraucher habe ich ein 14-tägiges Widerrufsrecht. Ich wünsche, dass die Telekom vor Ende der Widerrufsfrist mit der Dienstleistung beginnt.",isMandatory:!0}],ke=["AGBDS","WR"],He=e=>{var t=(e.get("bmwAccountID")||e.get("bmwaccountID")||e.get("id")||e.get("d")||"").trim();if(t)return t;if("undefined"==typeof window)return"";try{return(R.g.getItem(Fe)||"").trim()}catch(e){return""}},We=e=>{if(!e||"number"!=typeof e.taxIncludedAmount)return"0,00 EUR";var t=e.currencyCode||"EUR";try{return new Intl.NumberFormat("de-DE",{style:"currency",currency:t,minimumFractionDigits:2,maximumFractionDigits:2}).format(e.taxIncludedAmount)}catch(n){return"".concat(e.taxIncludedAmount.toFixed(2).replace(".",",")," ").concat(t)}},ze=e=>{if(!e||"string"!=typeof e)return"";if("undefined"==typeof window||"undefined"==typeof DOMParser)return e.replace(/<[^>]*>/g," ").replace(/\s+/g," ").replace(/\s#\d+\b/g,"").trim();try{var t=(new DOMParser).parseFromString(e,"text/html"),n=new Set(["strong","b","em","i","br"]),i=e=>{if(3===e.nodeType)return(e.textContent||"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");if(1!==e.nodeType)return"";var t=e,r=t.tagName.toLowerCase(),a=Array.from(t.childNodes).map(i).join("");return n.has(r)?"br"===r?"<br />":"<".concat(r,">").concat(a,"</").concat(r,">"):a};return Array.from(t.body.childNodes).map(i).join("").replace(/\s#\d+\b/g,"").trim()}catch(t){return e.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()}};t.default=e=>{var t,n,y,{location:_}=e,z=Object(M.a)().PUBLIC_BASE_PATH||"",Y=Object(N.c)(),Re=Object(N.d)(W.a),Fe=Object(N.d)(W.f),Ye=Object(N.d)(W.b),qe=Object(N.d)(W.h),Ve=Object(N.d)(W.n),Ge=Object(N.d)(W.q),Ke=Object(N.d)(W.l),
1Xe=Object(N.d)(W.d),Je=Object(N.d)(P.pj),Qe=Object(B.useMemo)(()=>{var e;return new URLSearchParams(null!==(e=_.search)&&void 0!==e?e:"").get("error")},[_.search]),Ze=(t=Qe,n=null==Je?void 0:Je.errors,t?"access_denied"===t&&null!=n&&n.description401?n.description401:null!==(y=null==n?void 0:n.default)&&void 0!==y?y:t:null),[$e,et]=Object(B.useState)(!1),[tt,nt]=Object(B.useState)({}),[it,rt]=Object(B.useState)(!1),at=Object(B.useRef)(!1),ot=Object(B.useRef)(!1);Object(B.useEffect)(()=>(Object(A.a)("osAppInnerContainer","fullWidth"),()=>{Object(A.b)("osAppInnerContainer","fullWidth"),Y(Object(H.resetBmwError)())}),[Y]);var ct=Object(B.useRef)(null);Object(B.useEffect)(()=>{if(Ze&&(ct.current=null,Y(Object(H.resetBmwState)()),"undefined"!=typeof window))try{R.g.removeItem(Le),R.g.removeItem(De),R.g.removeItem(Be)}catch(e){}},[Ze,Y]),Object(B.useEffect)(()=>{var e=new URLSearchParams(_.search||""),t=e.get("code");if(t&&ct.current!==t){ct.current=t;var n=e.get("state")||void 0,i=He(e);if(Y(Object(H.fetchBmwTokenExchange)({code:t,state:n,bmwAccountID:i})),"undefined"!=typeof window){R.g.setItem(Le,"");var r=window.location.pathname;window.history.replaceState(null,"",r)}}else if(!t&&!Ze&&"undefined"!=typeof window)try{var a=R.g.getItem(Le);if(a){var o=He(e);Y(Object(H.fetchBmwCustomerSummary)({msisdn:a,bmwAccountID:o}))}}catch(e){}},[_.search,Ze,Y]);var dt=Object(B.useMemo)(()=>(e=>{var t=((null==e?void 0:e.name)||"").trim();return!t||/^MF[_-]/i.test(t)?"MobilityConnect":t})(Ge),[Ge]),lt=Object(B.useMemo)(()=>(e=>((null==e?void 0:e.longDescription)||(null==e?void 0:e.description)||(null==e?void 0:e.shortDescription)||"Die smarte Verbindung Ihres Fahrzeuges im Netz der Telekom").trim())(Ge),[Ge]),st=Object(B.useMemo)(()=>{var e,t,n,i,r,a,o,c=null==Re||null===(e=Re.productOrderRequest)||void 0===e||null===(t=e.orderItems)||void 0===t||null===(n=t[0])||void 0===n||null===(i=n.recurringPrices)||void 0===i||null===(r=i[0])||void 0===r?void 0:r.price;if(c&&"number"==typeof c.taxIncludedAmount)return We(c);var d=null==Ge||null===(a=Ge.productOfferingPrices)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.price;return d&&"number"==typeof d.taxIncludedAmount?We(d):"0,00 EUR"},[Re,Ge]),pt=Object(B.useMemo)(()=>"Vertragsanpassung: ".concat("MagentaMobil M"," | ").concat(Ke).replace(/\s+/g," ").trim(),[Ke]),ut=Object(B.useMemo)(()=>(e=>{var t=(Array.isArray(null==e?void 0:e.productVariantInformation)&&(null==e?void 0:e.productVariantInformation)||[]).map(e=>(e=>{if("string"==typeof e)return e.trim();if(!e||"object"!=typeof e)return"";var t=e;for(var n of["description","value","name","title","text"]){var i=t[n];if("string"==typeof i&&i.trim())return i.trim()}return""})(e)).filter(e=>e&&!/mock_file|metaTag/i.test(e));return t.length>0?[...new Set(t)]:["Weitere Details zur Option werden nach der Produktdatenanbindung angezeigt."]})(Ge),[Ge]),ft=Object(B.useMemo)(()=>{return e=null==Re?void 0:Re.partyPrivacyProfileTypes,(t=(e||[]).flatMap(e=>(e.partyPrivacyProfileTypeCharacteristics||[]).map((t,n)=>{var i;return{id:t.id||"".concat(e.id||"consent","-").concat(n),label:t.name||"Einwilligung",descriptionHtml:ze(t.description),isMandatory:Boolean(null!==(i=t.isMandatory)&&void 0!==i?i:e.isMandatory)}})).filter((e,t,n)=>n.findIndex(t=>t.id===e.id)===t).filter(e=>ke.includes(e.id))).length>0?[...t].sort((e,t)=>ke.indexOf(e.id)-ke.indexOf(t.id)):Ue;var e,t},[Re]),mt=Object(B.useMemo)(()=>Object(L.c)(null==Re?void 0:Re.companySmartConnectStatus,Xe),[null==Re?void 0:Re.companySmartConnectStatus,Xe]);Object(B.useEffect)(()=>{if("FEDERATION_REQUIRED"===(null==Re?void 0:Re.companySmartConnectStatus)&&!ot.current&&Ke){ot.current=!0;var e=new URLSearchParams({offeringName:dt,publicIdentifier:Ke,flow:"company"});window.location.replace("".concat(z,"/bmw-mobile-connect/success?").concat(e.toString()))}},[null==Re?void 0:Re.companySmartConnectStatus,Ke,dt,z]),Object(B.useEffect)(()=>{if(null!=Re&&Re.federationCompleted&&!at.current){at.current=!0;try{R.g.removeItem(Be),R.g.removeItem(De)}catch(e){}var e=new URLSearchParams({offeringName:dt,publicIdentifier:Ke,orderId:"",status:"linked"});window.location.replace("".concat(z,"/bmw-mobile-connect/success?").concat(e.toString()))}},[null==Re?void 0:Re.federationCompleted,Ke,dt,z]),Object(B.useEffect)(()=>{nt(e=>{var t={};return ft.forEach(n=>{t[n.id]=e[n.id]||!1}),t})},[ft]);var ht=ft.filter(e=>e.isMandatory),gt=!Fe&&!qe&&!!Re&&ht.every(e=>Boolean(tt[e.id])),bt=mt||Ze||Ve||Ye;return mt||Ze||!Fe&&bt&&!Re?Object(Ae.jsxs)(q,{"data-scheme":"magenta",children:[i||(i=Object(Ae.jsx)(D.a,{})),Object(Ae.jsxs)(Te,{children:[r||(r=Object(Ae.jsx)(Se,{})),Object(Ae.jsx)(Ie,{children:Object(L.b)(null!=bt?bt:"")}),Object(Ae.jsx)(Me,{children:Object(Ae.jsx)(v.ODSButton,{label:"Rufnummer erneut eingeben",size:"large",variant:"primary",buttonType:"standard",onClick:()=>{window.location.assign("".concat(z).concat(I.a.BMW_MOBILE_CONNECT.START))}})})]}),a||(a=Object(Ae.jsx)(F.a,{}))]}):Fe||qe||null!=Re&&Re.federationCompleted?Object(Ae.jsxs)(q,{"data-scheme":"magenta",children:[o||(o=Object(Ae.jsx)(D.a,{})),Object(Ae.jsxs)(Ee,{children:[c||(c=Object(Ae.jsx)(Oe,{children:Object(Ae.jsx)(v.ODSLoadingSpinner,{labelAlignment:"vertical",labelText:"",size:"large",variant:"standard"})})),Object(Ae.jsx)(je,{children:qe?"Option wird gebucht":"Verknüpfung wird hergestellt"}),d||(d=Object(Ae.jsxs)(we,{children:["Bitte dieses Fenster nicht schlieÃen.",Object(Ae.jsx)("br",{}),"Der Vorgang kann einige Sekunden dauern."]}))]}),l||(l=Object(Ae.jsx)(F.a,{}))]}):Object(Ae.jsxs)(q,{"data-scheme":"magenta",children:[s||(s=Object(Ae.jsx)(D.a,{})),Object(Ae.jsx)(S.a,{title:"MobilityConnect: Optionsbuchung | Telekom",meta:[{name:"description",content:"Buchen Sie hier Ihre neue Option MobilityConnect für Ihr Fahrzeug. Jetzt starten!"},{name:"robots",content:"noindex, follow"}]}),p||(p=Object(Ae.jsx)(V,{children:"MobilityConnect Optionsbuchung"})),Object(Ae.jsx)(G,{children:Object(Ae.jsxs)(K,{children:[Object(Ae.jsxs)(X,{children:[u||(u=Object(Ae.jsx)(J,{children:"i"})),Object(Ae.jsx)("div",{children:pt||"Vertragsanpassung: MagentaMobil M | 01711234567"})]}),f||(f=Object(Ae.jsx)(Q,{children:"Vertragsanpassung"})),m||(m=Object(Ae.jsx)(Z,{children:"Um Ihr Fahrzeug mit Ihrem Mobilfunkvertrag verknüpfen zu können, benötigen Sie nachfolgende Option, die Sie gleich hier zu Ihrem Vertrag hinzu buchen können."})),Object(Ae.jsx)($,{children:dt}
1),Object(Ae.jsx)(ee,{children:lt}),h||(h=Object(Ae.jsx)(te,{children:Object(Ae.jsx)(k.b,{color:"currentColor",width:112,height:57})})),g||(g=Object(Ae.jsx)(ne,{children:"Neu"})),Object(Ae.jsxs)(ie,{children:[Object(Ae.jsxs)("div",{children:[Object(Ae.jsx)(re,{children:dt}),b||(b=Object(Ae.jsx)(ae,{children:"mtl."}))]}),Object(Ae.jsx)(oe,{children:st})]}),Object(Ae.jsxs)(ce,{type:"button",onClick:()=>et(e=>!e),children:["Alle Details ",$e?"^":"v"]}),$e?Object(Ae.jsx)(de,{children:ut.map(e=>Object(Ae.jsx)("li",{children:e},e))}):null,x||(x=Object(Ae.jsx)(le,{children:"Zusätzliche monatliche Gesamtkosten"})),Object(Ae.jsx)(se,{children:st}),E||(E=Object(Ae.jsx)(pe,{children:"Alle Preise verstehen sich inklusive MwSt."})),O||(O=Object(Ae.jsx)(ue,{})),j||(j=Object(Ae.jsx)(fe,{children:"AGB, Datenschutz und Widerrufsrecht"})),ft.map((e,t)=>{return Object(Ae.jsx)(me,{children:Object(Ae.jsxs)(he,{children:[Object(Ae.jsx)(v.ODSCheckbox,{className:"bmw-mobility-connect-consent-".concat(t),label:"",ariaLabelCheckbox:e.label||"Consent ".concat(t+1),size:"small",checked:Boolean(tt[e.id]),onCheckedChange:(n=e.id,e=>{nt(t=>Pe(Pe({},t),{},{[n]:e.target.checked}))})}),Object(Ae.jsx)(ge,{dangerouslySetInnerHTML:{__html:e.descriptionHtml||e.label}})]})},e.id);var n}),bt?Object(Ae.jsx)(ve,{children:bt}):null,Object(Ae.jsx)(be,{children:Object(Ae.jsx)(v.ODSButton,{label:"Zahlungspflichtig bestellen",size:"large",variant:"primary",buttonType:"standard",disabled:!gt,onClick:()=>{if(gt){var e,t,n=(e=Re,t=null==Ge?void 0:Ge.id,null!=e&&e.productOrderRequest&&Object.keys(e.productOrderRequest).length>0?e.productOrderRequest:{orderItems:[{id:"1",action:"add",businessProcess:"addonManagement",productOffering:{id:t||"MF_MOBCONN"}}]});(e=>{if(null!=e&&e.productOrderFederationRequest)try{var t=e.productOrderFederationRequest;"object"==typeof t&&Object.keys(t).length>0&&R.g.setItem(Be,JSON.stringify(t))}catch(e){}})(Re);try{R.g.removeItem(De)}catch(e){}var i=new URLSearchParams({offeringName:dt,publicIdentifier:Ke,orderId:""}),r="".concat(z,"/bmw-mobile-connect/success?").concat(i.toString());Y(Object(H.placeBmwOrder)({payload:n,redirectUrl:r,persistOrderIdentifier:!0}))}}})}),Object(Ae.jsx)(xe,{type:"button",onClick:()=>{rt(!0)},children:"Abbrechen"})]})}),w||(w=Object(Ae.jsx)(F.a,{})),Object(Ae.jsx)(v.ODSDialog,{open:it,onOpenChange:e=>{rt(e)},children:Object(Ae.jsx)(T.c,{headerText:"",showCloseButton:!0,dismissOnBackdropClick:!0,bodyText:Object(Ae.jsxs)(Ce,{children:[C||(C=Object(Ae.jsx)(ye,{children:"Wollen Sie Ihre Buchung wirklich abbrechen?"})),Object(Ae.jsxs)(_e,{children:[Object(Ae.jsx)(v.ODSButton,{label:"Nein",size:"large",variant:"secondary",buttonType:"standard",onClick:()=>rt(!1)}),Object(Ae.jsx)(v.ODSButton,{label:"Ja",size:"large",variant:"primary",buttonType:"standard",onClick:()=>{window.location.assign((()=>{if("undefined"==typeof window)return"https://www.bmw.de/de/topics/mein-bmw.html";try{var e,t,n=Object(U.b)(null!==(e=new URLSearchParams(window.location.search||"").get("redirect_uri"))&&void 0!==e?e:"");if(n&&Object(U.a)(n))return n;var i=Object(U.b)(null!==(t=R.g.getItem(Ne))&&void 0!==t?t:"");if(i&&Object(U.a)(i))return i}catch(e){}return"https://www.bmw.de/de/topics/mein-bmw.html"})())}})]})]})})})]})}},3050:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i={tokenExchangeData:null,isTokenExchangeLoading:!1,tokenExchangeError:null,authenticationData:null,isAuthenticationLoading:!1,authenticationError:null,privacyProfileTypes:[],isPrivacyProfileTypesLoading:!1,privacyProfileTypesError:null,orderResponse:null,isPlacingOrder:!1,placeOrderError:null,isCompanyFederating:!1,companyFederationError:null}},3065:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var i=(e,t)=>{if("undefined"!=typeof window){var n=document&&document.getElementById(e);n&&n.classList.add(t)}},r=(e,t)=>{if("undefined"!=typeof window){var n=document&&document.getElementById(e);n&&n.classList.remove(t)}}},3093:function(e,t,n){"use strict";n.d(t,"r",(function(){return c})),n.d(t,"j",(function(){return d})),n.d(t,"s",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"f",(function(){return p})),n.d(t,"b",(function(){return u})),n.d(t,"o",(function(){return f})),n.d(t,"i",(function(){return m})),n.d(t,"p",(function(){return h})),n.d(t,"k",(function(){return g})),n.d(t,"t",(function(){return b})),n.d(t,"m",(function(){return x})),n.d(t,"h",(function(){return E})),n.d(t,"n",(function(){return O})),n.d(t,"g",(function(){return j})),n.d(t,"c",(function(){return w})),n.d(t,"d",(function(){return C})),n.d(t,"q",(function(){return y}
1)),n.d(t,"l",(function(){return _})),n.d(t,"e",(function(){return v}));var i=n(41),r=n(2151),a=n(3050),o=e=>e.bmwMobileConnect||a.a,c=Object(i.a)([o],e=>e.tokenExchangeData),d=Object(i.a)([o],e=>e.isTokenExchangeLoading),l=Object(i.a)([o],e=>e.tokenExchangeError),s=Object(i.a)([o],e=>e.authenticationData),p=Object(i.a)([o],e=>e.isTokenExchangeLoading||e.isAuthenticationLoading),u=Object(i.a)([o],e=>e.tokenExchangeError||e.authenticationError),f=Object(i.a)([o],e=>e.privacyProfileTypes),m=Object(i.a)([o],e=>e.isPrivacyProfileTypesLoading),h=Object(i.a)([o],e=>e.privacyProfileTypesError),g=Object(i.a)([f],e=>e.find(e=>"KEK"===(e.name||"").toUpperCase())),b=Object(i.a)([f],e=>e.find(e=>"UWG"===(e.name||"").toUpperCase())),x=Object(i.a)([o],e=>e.orderResponse),E=Object(i.a)([o],e=>e.isPlacingOrder),O=Object(i.a)([o],e=>e.placeOrderError),j=Object(i.a)([o],e=>e.isCompanyFederating),w=Object(i.a)([o],e=>e.companyFederationError),C=e=>{var t,n;return null!==(t=null===(n=e.translation.bmw)||void 0===n?void 0:n.smartConnect.company)&&void 0!==t?t:r.a.smartConnect.company},y=Object(i.a)([s],e=>{var t,n,i;return null==e||null===(t=e.salesCatalogOfferings)||void 0===t||null===(n=t.salesOfferings)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.productOffering}),_=Object(i.a)([o],e=>{var t,n,i;if(null!==(t=e.tokenExchangeData)&&void 0!==t&&t.msisdn)return e.tokenExchangeData.msisdn;var r=e.authenticationData;if(!r)return"";if(r.msisdn)return r.msisdn;var a=(null===(n=r.customer360)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.products)||[];for(var o of a){var c,d=(o.productcharacteristics||[]).find(e=>"msisdn"===e.name),l=null==d||null===(c=d.value)||void 0===c?void 0:c.string;if(l)return l}return""}),v=Object(i.a)([s],e=>{var t,n,i,r,a=null==e||null===(t=e.customer360)||void 0===t||null===(n=t[0])||void 0===n||null===(i=n.party)||void 0===i||null===(r=i[0])||void 0===r?void 0:r.individual;return{salutation:(null==a?void 0:a.salutation)||"",firstName:(null==a?void 0:a.givenName)||"",lastName:(null==a?void 0:a.familyName)||""}})},3169:function(e,t,n){"use strict";n.d(t,"j",(function(){return r})),n.d(t,"i",(function(){return a})),n.d(t,"h",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return p})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return f}));var i=n(6),r=i.default.div.withConfig({displayName:"BmwPageRoot",componentId:"sc-1ve3l0o-0"})(["min-height:100svh;display:flex;flex-direction:column;background:#efefef;"]),a=i.default.header.withConfig({displayName:"BmwHeaderRoot",componentId:"sc-1ve3l0o-1"})(["background:#ffffff;color:#262626;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px 0 0;box-shadow:0 2px 10px rgba(0,0,0,0.16);position:relative;z-index:1;@media (max-width:720px){min-height:52px;gap:14px;padding-right:14px;}@media (max-width:420px){min-height:48px;gap:8px;padding-right:10px;}@media (max-width:360px){align-items:stretch;gap:0;padding-right:8px;}"]),o=i.default.div.withConfig({displayName:"BmwHeaderLogo",componentId:"sc-1ve3l0o-2"})(["width:56px;align-self:stretch;flex:0 0 56px;display:flex;align-items:center;justify-content:center;line-height:0;img{width:56px;height:56px;display:block;}&:focus-visible{outline:2px solid #262626;outline-offset:-6px;}@media (max-width:720px){width:52px;flex-basis:52px;img{width:52px;height:52px;}}@media (max-width:420px){width:48px;flex-basis:48px;img{width:48px;height:48px;}}"]),c=i.default.nav.withConfig({displayName:"BmwHeaderLinks",componentId:"sc-1ve3l0o-3"})(["display:flex;align-items:center;justify-content:flex-end;gap:0;white-space:nowrap;span{color:#262626;text-decoration:none;font-size:14px;line-height:1.2;padding:0 12px;border-right:1px solid #d0d0d0;}span:first-child{padding-left:0;}span:last-child{border-right:0;padding-right:0;}@media (max-width:720px){span{font-size:13px;padding:0 10px;}}@media (max-width:420px){span{font-size:12px;padding:0 6px;}}@media (max-width:360px){flex:1 1 calc(100% - 48px);flex-wrap:wrap;align-content:center;row-gap:2px;white-space:normal;span{font-size:11px;padding:0 5px;}}"]),d=i.default.footer.withConfig({displayName:"BmwFooterRoot",componentId:"sc-1ve3l0o-4"})(["position:relative;margin-top:auto;min-height:260px;background:#242424;color:#cfcfcf;padding:34px 64px 42px;
1@media (max-width:900px){min-height:230px;padding:28px 24px 34px;}"]),l=i.default.div.withConfig({displayName:"BmwFooterBrand",componentId:"sc-1ve3l0o-5"})(["width:104px;height:104px;display:flex;align-items:center;justify-content:center;line-height:0;img{width:104px;height:104px;display:block;}&:focus-visible{outline:2px solid #ffffff;outline-offset:4px;}@media (max-width:900px){width:82px;height:82px;img{width:82px;height:82px;}}"]),s=i.default.p.withConfig({displayName:"BmwFooterCopyright",componentId:"sc-1ve3l0o-6"})(["margin:18px 0 0;color:#d3d3d3;font-size:14px;line-height:1.3;"]),p=i.default.nav.withConfig({displayName:"BmwFooterLinks",componentId:"sc-1ve3l0o-7"})(["margin-top:22px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 0;max-width:calc(100% - 520px);span{color:#d3d3d3;font-size:14px;line-height:1.35;text-decoration:none;white-space:nowrap;}span:not(:last-child)::after{content:'·';color:#d3d3d3;padding:0 14px;}@media (max-width:900px){max-width:none;span{font-size:13px;}span:not(:last-child)::after{padding:0 10px;}}"]),u=i.default.p.withConfig({displayName:"BmwFooterClaim",componentId:"sc-1ve3l0o-8"})(["position:absolute;top:48px;right:64px;margin:0;color:#ffffff;font-size:16px;line-height:1.2;font-weight:700;letter-spacing:0;text-transform:uppercase;@media (max-width:900px){position:static;margin-top:24px;font-size:14px;}"]),f=i.default.div.withConfig({displayName:"BmwFooterChatLink",componentId:"sc-1ve3l0o-9"})(["position:absolute;right:48px;bottom:48px;width:62px;height:62px;border-radius:50%;background:#e20074;display:flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;box-shadow:0 10px 24px rgba(0,0,0,0.24);span{width:8px;height:8px;border-radius:50%;background:#ffffff;}&:focus-visible{outline:2px solid #ffffff;outline-offset:4px;}@media (max-width:900px){right:24px;bottom:24px;width:54px;height:54px;}"])},3195:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));n(0);var i,r,a,o=n(2),c="https://www.telekom.de/resources/images/974660/telekom-logo.svg",d=["M28.97.955H.735L.38 13.409l1.873.325c.349-3.67 1.312-6.394 2.89-8.17 ","1.66-1.86 3.945-2.831 6.884-2.915v26.056c0 2.275-.317 3.752-.982 4.433-.564.583-1.52.94-2.864 1.071-.398.033-1.08.05-2.042.05v1.993h17.425v-1.993c-.963 0-1.643-.017-2.043-.05 ","-1.344-.132-2.3-.488-2.864-1.071-.664-.681-.986-2.158-.986-4.433V2.649c2.94.084 5.23 1.055 6.89 2.915 ","1.578 1.776 2.54 4.5 2.889 8.17l1.873-.325L28.971.955"].join(""),l=e=>{var{width:t=73,height:n=37,color:c="#FFF",isDecorative:l=!1}=e;return Object(o.jsxs)("svg",{role:l?void 0:"img",viewBox:"0 0 73 37",width:t,height:n,"aria-hidden":!!l||void 0,focusable:"false",children:[l?null:i||(i=Object(o.jsx)("title",{children:"Telekom"})),Object(o.jsxs)("g",{fill:c,fillRule:"evenodd",children:[r||(r=Object(o.jsx)("path",{d:"M.381 24.34h7.148v-7.148H.38zM22.177 24.34h7.147v-7.148h-7.147zM43.62 24.34h7.147v-7.148H43.62zM65.063 24.34h7.147v-7.148h-7.147z"})),a||(a=Object(o.jsx)("path",{d:d}))]})]})}},3361:function(e,t,n){"use strict";n.r(t),n.d(t,"bmwMobileConnectReducer",(function(){return l})),n.d(t,"bmwMobileConnectSaga",(function(){return $})),n.d(t,"fetchBmwTokenExchange",(function(){return m})),n.d(t,"fetchBmwTokenExchangeSuccess",(function(){return h})),n.d(t,"fetchBmwTokenExchangeFailure",(function(){return g})),n.d(t,"fetchBmwCustomerSummary",(function(){return b})),n.d(t,"fetchBmwCustomerSummarySuccess",(function(){return x})),n.d(t,"fetchBmwCustomerSummaryFailure",(function(){return E})),n.d(t,"fetchBmwAuthentication",(function(){return O})),n.d(t,"fetchBmwAuthenticationSuccess",(function(){return j})),n.d(t,"fetchBmwAuthenticationFailure",(function(){return w})),n.d(t,"fetchPrivacyProfileTypes",(function(){return C})),n.d(t,"fetchPrivacyProfileTypesSuccess",(function(){return y})),n.d(t,"fetchPrivacyProfileTypesFailure",(function(){return _})),n.d(t,"placeBmwOrder",(function(){return v})),n.d(t,"placeBmwOrderSuccess",(function(){return T})),n.d(t,"placeBmwOrderFailure",(function(){return S})),n.d(t,"federateBmwCompany",(function(){return I})),n.d(t,"federateBmwCompanySuccess",(function(){return M})),n.d(t,"federateBmwCompanyFailure",(function(){return A})),n.d(t,"resetBmwState",(function(){return R})),n.d(t,"resetBmwError",(function(){return P})),n.d(t,"getTokenExchangeData",(function(){return ee.r})),n.d(t,"getIsTokenExchangeLoading",(function(){return ee.j})),n.d(t,"getTokenExchangeError",(function(){return ee.s}
1)),n.d(t,"getAuthenticationData",(function(){return ee.a})),n.d(t,"getIsAuthenticationLoading",(function(){return ee.f})),n.d(t,"getAuthenticationError",(function(){return ee.b})),n.d(t,"getPrivacyProfileTypes",(function(){return ee.o})),n.d(t,"getIsPrivacyProfileTypesLoading",(function(){return ee.i})),n.d(t,"getPrivacyProfileTypesError",(function(){return ee.p})),n.d(t,"getKekProfile",(function(){return ee.k})),n.d(t,"getUwgProfile",(function(){return ee.t})),n.d(t,"getOrderResponse",(function(){return ee.m})),n.d(t,"getIsPlacingOrder",(function(){return ee.h})),n.d(t,"getPlaceOrderError",(function(){return ee.n})),n.d(t,"getIsCompanyFederating",(function(){return ee.g})),n.d(t,"getCompanyFederationError",(function(){return ee.c})),n.d(t,"getCompanySmartConnectTranslation",(function(){return ee.d})),n.d(t,"getProductOffering",(function(){return ee.q})),n.d(t,"getMsisdnFromResponse",(function(){return ee.l})),n.d(t,"getCustomerInfo",(function(){return ee.e})),n.d(t,"initialBmwMobileConnectState",(function(){return o.a})),n.d(t,"bmwActions",(function(){return B})),n.d(t,"bmwConstants",(function(){return a}));var i=n(5),r=n.n(i),a={FETCH_BMW_TOKEN_EXCHANGE:"bmwMobileConnect/FETCH_BMW_TOKEN_EXCHANGE",FETCH_BMW_TOKEN_EXCHANGE_SUCCESS:"bmwMobileConnect/FETCH_BMW_TOKEN_EXCHANGE_SUCCESS",FETCH_BMW_TOKEN_EXCHANGE_FAILURE:"bmwMobileConnect/FETCH_BMW_TOKEN_EXCHANGE_FAILURE",FETCH_BMW_CUSTOMER_SUMMARY:"bmwMobileConnect/FETCH_BMW_CUSTOMER_SUMMARY",FETCH_BMW_CUSTOMER_SUMMARY_SUCCESS:"bmwMobileConnect/FETCH_BMW_CUSTOMER_SUMMARY_SUCCESS",FETCH_BMW_CUSTOMER_SUMMARY_FAILURE:"bmwMobileConnect/FETCH_BMW_CUSTOMER_SUMMARY_FAILURE",FETCH_BMW_AUTHENTICATION:"bmwMobileConnect/FETCH_BMW_AUTHENTICATION",FETCH_BMW_AUTHENTICATION_SUCCESS:"bmwMobileConnect/FETCH_BMW_AUTHENTICATION_SUCCESS",FETCH_BMW_AUTHENTICATION_FAILURE:"bmwMobileConnect/FETCH_BMW_AUTHENTICATION_FAILURE",FETCH_PRIVACY_PROFILE_TYPES:"bmwMobileConnect/FETCH_PRIVACY_PROFILE_TYPES",FETCH_PRIVACY_PROFILE_TYPES_SUCCESS:"bmwMobileConnect/FETCH_PRIVACY_PROFILE_TYPES_SUCCESS",FETCH_PRIVACY_PROFILE_TYPES_FAILURE:"bmwMobileConnect/FETCH_PRIVACY_PROFILE_TYPES_FAILURE",PLACE_BMW_ORDER:"bmwMobileConnect/PLACE_BMW_ORDER",PLACE_BMW_ORDER_SUCCESS:"bmwMobileConnect/PLACE_BMW_ORDER_SUCCESS",PLACE_BMW_ORDER_FAILURE:"bmwMobileConnect/PLACE_BMW_ORDER_FAILURE",FEDERATE_BMW_COMPANY:"bmwMobileConnect/FEDERATE_BMW_COMPANY",FEDERATE_BMW_COMPANY_SUCCESS:"bmwMobileConnect/FEDERATE_BMW_COMPANY_SUCCESS",FEDERATE_BMW_COMPANY_FAILURE:"bmwMobileConnect/FEDERATE_BMW_COMPANY_FAILURE",RESET_BMW_STATE:"bmwMobileConnect/RESET_BMW_STATE",RESET_BMW_ERROR:"bmwMobileConnect/RESET_BMW_ERROR"},o=n(3050);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.FETCH_BMW_TOKEN_EXCHANGE:return d(d({},e),{},{isTokenExchangeLoading:!0,tokenExchangeError:null});case a.FETCH_BMW_TOKEN_EXCHANGE_SUCCESS:return d(d({},e),{},{tokenExchangeData:t.payload,isTokenExchangeLoading:!1,tokenExchangeError:null});case a.FETCH_BMW_TOKEN_EXCHANGE_FAILURE:return d(d({},e),{},{tokenExchangeData:null,isTokenExchangeLoading:!1,tokenExchangeError:t.payload.error});case a.FETCH_BMW_CUSTOMER_SUMMARY:case a.FETCH_BMW_AUTHENTICATION:return d(d({},e),{},{isAuthenticationLoading:!0,authenticationError:null});case a.FETCH_BMW_CUSTOMER_SUMMARY_SUCCESS:case a.FETCH_BMW_AUTHENTICATION_SUCCESS:return d(d({},e),{},{authenticationData:t.payload,isAuthenticationLoading:!1,authenticationError:null});case a.FETCH_BMW_CUSTOMER_SUMMARY_FAILURE:case a.FETCH_BMW_AUTHENTICATION_FAILURE:return d(d({},e),{},{authenticationData:null,isAuthenticationLoading:!1,authenticationError:t.payload.error});case a.FETCH_PRIVACY_PROFILE_TYPES:return d(d({},e),{},{isPrivacyProfileTypesLoading:!0,privacyProfileTypesError:null});case a.FETCH_PRIVACY_PROFILE_TYPES_SUCCESS:return d(d({},e),{},{privacyProfileTypes:t.payload,isPrivacyProfileTypesLoading:!1,privacyProfileTypesError:null});case a.FETCH_PRIVACY_PROFILE_TYPES_FAILURE:return d(d({},e),{},{privacyProfileTypes:[],isPrivacyProfileTypesLoading:!1,privacyProfileTypesError:t.payload.error});case a.PLACE_BMW_ORDER:return d(d({},e),{},{isPlacingOrder:!0,placeOrderError:null});case a.PLACE_BMW_ORDER_SUCCESS:return d(d({},e),{},{orderResponse:t.payload,isPlacingOrder:!1,placeOrderError:null});case a.PLACE_BMW_ORDER_FAILURE:return d(d({},e),{},{orderResponse:null,isPlacingOrder:!1,placeOrderError:t.payload.error});
1case a.FEDERATE_BMW_COMPANY:return d(d({},e),{},{isCompanyFederating:!0,companyFederationError:null});case a.FEDERATE_BMW_COMPANY_SUCCESS:return d(d({},e),{},{isCompanyFederating:!1,companyFederationError:null});case a.FEDERATE_BMW_COMPANY_FAILURE:return d(d({},e),{},{isCompanyFederating:!1,companyFederationError:t.payload.error});case a.RESET_BMW_ERROR:return d(d({},e),{},{tokenExchangeError:null,authenticationError:null,privacyProfileTypesError:null,placeOrderError:null,companyFederationError:null});case a.RESET_BMW_STATE:return o.a;default:return e}},s=n(3),p=n(15),u=n(30),f=n(4),m=Object(f.a)(a.FETCH_BMW_TOKEN_EXCHANGE),h=Object(f.a)(a.FETCH_BMW_TOKEN_EXCHANGE_SUCCESS),g=Object(f.a)(a.FETCH_BMW_TOKEN_EXCHANGE_FAILURE),b=Object(f.a)(a.FETCH_BMW_CUSTOMER_SUMMARY),x=Object(f.a)(a.FETCH_BMW_CUSTOMER_SUMMARY_SUCCESS),E=Object(f.a)(a.FETCH_BMW_CUSTOMER_SUMMARY_FAILURE),O=Object(f.a)(a.FETCH_BMW_AUTHENTICATION),j=Object(f.a)(a.FETCH_BMW_AUTHENTICATION_SUCCESS),w=Object(f.a)(a.FETCH_BMW_AUTHENTICATION_FAILURE),C=Object(f.a)(a.FETCH_PRIVACY_PROFILE_TYPES),y=Object(f.a)(a.FETCH_PRIVACY_PROFILE_TYPES_SUCCESS),_=Object(f.a)(a.FETCH_PRIVACY_PROFILE_TYPES_FAILURE),v=Object(f.a)(a.PLACE_BMW_ORDER),T=Object(f.a)(a.PLACE_BMW_ORDER_SUCCESS),S=Object(f.a)(a.PLACE_BMW_ORDER_FAILURE),I=Object(f.a)(a.FEDERATE_BMW_COMPANY),M=Object(f.a)(a.FEDERATE_BMW_COMPANY_SUCCESS),A=Object(f.a)(a.FEDERATE_BMW_COMPANY_FAILURE),R=Object(f.a)(a.RESET_BMW_STATE),P=Object(f.a)(a.RESET_BMW_ERROR),B={fetchBmwTokenExchange:m,fetchBmwTokenExchangeSuccess:h,fetchBmwTokenExchangeFailure:g,fetchBmwCustomerSummary:b,fetchBmwCustomerSummarySuccess:x,fetchBmwCustomerSummaryFailure:E,fetchBmwAuthentication:O,fetchBmwAuthenticationSuccess:j,fetchBmwAuthenticationFailure:w,fetchPrivacyProfileTypes:C,fetchPrivacyProfileTypesSuccess:y,fetchPrivacyProfileTypesFailure:_,placeBmwOrder:v,placeBmwOrderSuccess:T,placeBmwOrderFailure:S,federateBmwCompany:I,federateBmwCompanySuccess:M,federateBmwCompanyFailure:A,resetBmwState:R,resetBmwError:P},N=n(33),F=n.n(N),D=n(46),L=n(40),U=function(){var e=F()((function*(e){var{code:t,state:n}=e,i=new URLSearchParams({code:t});return n&&i.set("state",n),D.a.get("/bmw/mobile-connect/token-exchange?".concat(i.toString()))}));return function(t){return e.apply(this,arguments)}}(),k=function(){var e=F()((function*(e){var{msisdn:t,bmwAccountID:n}=e,i=new URLSearchParams({msisdn:t});return n&&i.set("bmwAccountID",n),D.a.get("/bmw/mobile-connect/customer-summary?".concat(i.toString()))}));return function(t){return e.apply(this,arguments)}}(),H=function(){var e=F()((function*(e){var{code:t,state:n,bmwAccountID:i}=e,r=new URLSearchParams({code:t});return n&&r.set("state",n),i&&r.set("bmwAccountID",i),yield D.a.get("/bmw/mobile-connect/authentication?".concat(r.toString()))}));return function(t){return e.apply(this,arguments)}}(),W=function(){var e=F()((function*(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{lifecycleStatus:t="active",channelId:n="OneShop"}=e,i=yield D.a.get("/partyPrivacyManagement/v4/partyPrivacyProfileTypes",{params:{lifecycleStatus:t,"channels.id":n}});return Array.isArray(i)?i:[]}));return function(){return e.apply(this,arguments)}}(),z=function(){var e=F()((function*(e){return yield D.a.post("/bmw/mobile-connect/productOrders",e)}));return function(t){return e.apply(this,arguments)}}(),Y=function(){var e=F()((function*(e){return D.a.put(L.b.BMW_MOBILE_CONNECT.FEDERATE_COMPANY(e.msisdn,e.bmwAccountID),{})}));return function(t){return e.apply(this,arguments)}}(),q=u.d.BMW_MOBILE_CONNECT_ADDON_ORDER_IDENTIFIER,V=u.d.BMW_MOBILE_CONNECT_MSISDN;function*G(e){try{var{code:t,state:n,bmwAccountID:i}=e.payload,r=yield Object(s.b)(U,{code:t,state:n});yield Object(s.f)(h(r)),u.g.setItem(V,r.msisdn),yield Object(s.f)(b({msisdn:r.msisdn,bmwAccountID:i}))}catch(e){var a,o=e,c=(null==o||null===(a=o.errorMessage)||void 0===a?void 0:a.userMessage)||"Authentication failed. Please retry from the start page.";Object(p.mb)(e,"fetchBmwTokenExchangeSaga"),yield Object(s.f)(g({error:c}))}}function*K(e){try{var t=yield Object(s.b)(k,e.payload);yield Object(s.f)(x(t))}catch(e){var n,i=e,r=(null==i||null===(n=i.errorMessage)||void 0===n?void 0:n.userMessage)||"Failed to load customer data. Please retry.";Object(p.mb)(e,"fetchBmwCustomerSummarySaga"),yield Object(s.f)(E({error:r}))}}function*X(e){try{var t=yield Object(s.b)(H,e.payload);yield Object(s.f)(j(t))}catch(e){var n,i=e,r=(null==i||null===(n=i.errorMessage)||void 0===n?void 0:n.userMessage)||"Authentication failed. Please retry from the start page.";Object(p.mb)(e,"fetchBmwAuthenticationSaga"),yield Object(s.f)(w({error:r}))}}function*J(e){try{var t=yield Object(s.b)(W,e.payload||{});yield Object(s.f)(y(t))}catch(e){Object(p.mb)(e,"fetchPrivacyProfileTypesSaga"),yield Object(s.f)(_({error:"Privacy profile loading failed. Please retry."}))}}function*Q(e){try{var{payload:t,redirectUrl:n,persistOrderIdentifier:i}=e.payload,r=yield Object(s.b)(z,t);if(yield Object(s.f)(T(r)),i)try{r.externalId?u.g.setItem(q,r.externalId):u.g.removeItem(q)}catch(e){}n&&"undefined"!=typeof window&&window.location.assign(n)}catch(e){Object(p.mb)(e,"placeBmwOrderSaga"),yield Object(s.f)(S({error:"Order booking failed. Please retry."}))}}function*Z(e){try{yield Object(s.b)(Y,e.payload),yield Object(s.f)(M()),e.payload.redirectUrl&&"undefined"!=typeof window&&window.location.assign(e.payload.redirectUrl)}catch(e){Object(p.mb)(e,"federateBmwCompanySaga"),yield Object(s.f)(A({error:"COMPANY_FEDERATION_FAILED"}))}}function*$(){yield Object(s.j)(a.FETCH_BMW_TOKEN_EXCHANGE,G),yield Object(s.j)(a.FETCH_BMW_CUSTOMER_SUMMARY,K),yield Object(s.j)(a.FETCH_BMW_AUTHENTICATION,X
1),yield Object(s.j)(a.FETCH_PRIVACY_PROFILE_TYPES,J),yield Object(s.j)(a.PLACE_BMW_ORDER,Q),yield Object(s.j)(a.FEDERATE_BMW_COMPANY,Z)}var ee=n(3093)},3413:function(e,t,n){"use strict";n(0);var i,r,a,o,c,d,l=n(135),s=n(3169),p=n(3195),u=n(2),f=[{label:"Impressum"},{label:"Datenschutz"},{label:"AGB"},{label:"Produktinformationsblatt"},{label:"Verbraucherinformationen"},{label:"Verträge hier kündigen"},{label:"Vertrag widerrufen"}];t.a=()=>{var e=Object(l.a)({modulePath:"cart.global.accessibility.common.navigationalArialabels"});return Object(u.jsxs)(s.f,{children:[Object(u.jsx)(s.a,{"aria-label":e("bmwTelekomLogo"),children:i||(i=Object(u.jsx)("img",{src:p.a,alt:""}))}),r||(r=Object(u.jsx)(s.d,{children:"© Telekom Deutschland GmbH"})),Object(u.jsx)(s.e,{"aria-label":e("bmwFooterNavigation"),children:f.map(e=>Object(u.jsx)("span",{children:e.label},e.label))}),a||(a=Object(u.jsx)(s.c,{children:"CONNECTING YOUR WORLD."})),Object(u.jsxs)(s.b,{"aria-label":e("bmwContact"),children:[o||(o=Object(u.jsx)("span",{})),c||(c=Object(u.jsx)("span",{})),d||(d=Object(u.jsx)("span",{}))]})]})}},3414:function(e,t,n){"use strict";n(0);var i,r=n(135),a=n(3169),o=n(3195),c=n(2),d=[{label:"Privatkunden"},{label:"Geschäftskunden"},{label:"Telekom Shops"},{label:"Kontakt"}];t.a=()=>{var e=Object(r.a)({modulePath:"cart.global.accessibility.common.navigationalArialabels"});return Object(c.jsxs)(a.i,{children:[Object(c.jsx)(a.h,{"aria-label":e("bmwTelekomLogo"),children:i||(i=Object(c.jsx)("img",{src:o.a,alt:""}))}),Object(c.jsx)(a.g,{"aria-label":e("bmwHeaderNavigation"),children:d.map(e=>Object(c.jsx)("span",{children:e.label},e.label))})]})}},3415:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var i=new Set(["".concat("java","script:"),"data:","vbscript:","file:","blob:"]),r=e=>("string"==typeof e?e:"").replace(/\u00A0/g," ").trim().replace(/(^['"])|(['"]$)/g,""),a=e=>{try{var t=new URL(r(e)).protocol.toLowerCase();return Boolean(t)&&!i.has(t)}catch(e){return!1}}},3624:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));n(0);var i=n(2),r=(e,t)=>{switch(e){case"ALREADY_FEDERATED":return t.alreadyFederatedError;case"OPTION_NOT_BOOKED":return t.optionNotBookedError;case"TARIFF_NOT_ELIGIBLE":return t.tariffNotEligibleError;case"TECHNICAL_ERROR":return t.federationTechnicalError;default:return null}},a=e=>e.federationTechnicalError,o=e=>e.split(/(https?:\/\/[^\s]+)/g).map((e,t)=>/^https?:\/\//.test(e)?Object(i.jsx)("a",{href:e,rel:"noreferrer",target:"_blank",children:e},"".concat(e,"-").concat(t)):e)}}]);
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.