1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3810],{56310:(e,t,o)=>{o.d(t,{$8:()=>i,$N:()=>l,AS:()=>c,AU:()=>p,MN:()=>d,OR:()=>m,Sg:()=>s,U6:()=>g,al:()=>r,fe:()=>n,jy:()=>A,l$:()=>u,os:()=>a});const n='AGREEMENTS_REQUESTED',i=(e,t,o)=>({type:n,payload:{activeOnly:e,index:t,size:o}}),r=e=>({type:n,payload:{id:e}}),a='AGREEMENTS_RECEIVED',c=function(e,t){return void 0===t&&(t=!1),{type:a,payload:{agreements:e,append:t}}},s='AGREEMENTS_SEARCH_PRODUCT_IDS',u=e=>({type:s,payload:{keywords:e}}),p='AGREEMENTS_SEARCH_PRODUCT_IDS_RECEIVED',l=(e,t)=>({type:p,payload:{keywords:e,ids:t}}),d='AGREEMENT_LINES_AVAILABILITY_REQUESTED',m=e=>({type:d,payload:e}),A='AGREEMENT_LINES_AVAILABILITY_RECEIVED',g=e=>({type:A,payload:e})},66802:(e,t,o)=>{o.d(t,{F:()=>y,A:()=>l});var n=o(83589),i=o(3822),r=o(40119),a=o(53715),c=o(56310),s=o(79977),u=o(12535);const p=e=>(0,u.A)(Promise.all([o.e(564),o.e(1622),o.e(7436)]).then(o.bind(o,62273)),e),l=(e,t,o)=>{let{params:u,options:l}=e,{api:d}=o;const m=u.search??null,A=u.activeOnly??!0,g=u.index??0;return null!=l&&l.onlyItems?(0,n.of)({action$:(0,n.of)(m?(0,c.al)(m):(0,c.$8)(A,g,10)),page:{...t.value.page,search:m,activeOnly:A}}):p(d.graphApi((0,a._I)('salesAgreements')).pipe((0,i.T)((e=>{let{pages:{salesAgreements:t}}=e;const o={...t,component:r.BR.SalesAgreements,index:!1,search:m,activeOnly:A};return u.previewToken?{page:{...o,agreements:s.K}}:{page:o,action$:(0,n.of)(m?(0,c.al)(m):(0,c.$8)(A,0,10+10*g))}})),(0,a.V1)()))};var d=o(2366),m=o(21778),A=o(80474),g=o(33289),v=o(38903);const f=` query SalesAgreementPage($agreementId:String!,$loadCategories:Boolean=false){pages{salesAgreement(agreementId:$agreementId){metaTitle content{desktop{...rows}mobile{...rows}}agreement{id effectiveDate expirationDate currency{id cultureName symbol decimalDigits}address:formattedShippingAddress lines{id salesAgreementId category{id name ...on NotExistingProductCategory{type:__typename}}discountPercent price@requireAbility(ability:${o(24147).Ul.ViewPrices})effectiveDate expirationDate isMaxEnforced product{id customerSpecificId title url exists isOrderable inventoryInfo{inventory}stockLevels{outOfStock lowStock maxStockNumber}uom{id description}uoms{id description quantityStep maximumQuantity minimumQuantity}categoriesPaths@include(if:$loadCategories){categories{id name}}${g.UQ} variantComponentGroups{id name components{id name variants}}variants{id isOrderable}}uom{id description}quantities{value:commitment invoiced released remaining shipped}amounts{value:commitment invoiced max min released remaining shipped}location{code title}}status title url}}}}`+v.A;var T=o(74397);const y=(e,t,o)=>{let{params:{id:r,agreementLine:u,previewToken:l}}=e,{api:g}=o;return l?g.graphApi((0,a._I)('salesAgreement')).pipe((0,i.T)((e=>{let{pages:{salesAgreement:t}}=e;return t?{page:{...(0,a.CL)(t),component:A.B.SalesAgreement,index:!1,agreement:s.z}}:null}))):p(t.pipe((0,d.$)(T.BR),(0,m.n)((e=>{let{analytics:o}=e;return g.graphApi(f,{agreementId:r,loadCategories:o.isTrackingEnabled}).pipe((0,i.T)((e=>{let{pages:{salesAgreement:o}}=e;if(!o||!o.agreement)return null;for(const e of o.agreement.lines)e.category&&('NotExistingProductCategory'===e.category.type?(delete e.category.type,e.category.exists=!1):e.category.exists=!0);o.agreement.expandedAgreementLineId=u;const i=t.value.page;return i&&i.agreement&&i.agreement.id===o.agreement.id&&(o.search=i.search),{page:{...(0,a.CL)(o),component:A.B.SalesAgreement,index:!1},action$:(0,n.of)((0,c.OR)(o.agreement))}})))}))))}},79977:(e,t,o)=>{o.d(t,{K:()=>i,z:()=>r});var n=o(52657);const i={items:Array.from(Array(5)).map(((e,t)=>({id:t.toString(),status:n.z.Active,currency:{id:''},title:null,url:'',effectiveDate:'-',expirationDate:'-'}))),loadedLength:5},r={id:'S1',url:'',title:'',status:n.z.Active,currency:{id:'',cultureName:'',symbol:'',decimalDigits:0,displayAsId:!1},effectiveDate:'-',expirationDate:'-',address:'-',lines:Array.from(Array(3)).map(((e,t)=>({id:t.toString(),salesAgreementId:'S1',quantities:{},amounts:{},uom:{id:''}})))}},25781:(e,t,o)=>{o.d(t,{A:()=>c});var n=o(40119),i=o(3822),r=o(2366),a=o(41664);const c=(e,t)=>{const{params:{code:o}}=e;return t.pipe((0,i.T)((e=>e.settings)),(0,r.$)(a.$J),(0,i.T)((()=>({routeData:e,page:{index:!1,component:n.BR.SingleSignOnLoginCallback,code:o}}))))}},46598:(e,t,o)=>{o.d(t,{A:()=>c});var n=o(40119),i=o(3822),r=o(2366),a=o(41664);const c=(e,t)=>t.pipe((0,i.T)((e=>e.settings)),(0,r.$)(a.$J),(0,i.T)((()=>({routeData:e,page:{index:!1,component:n.BR.SingleSignOnLogoutCallback}}))))},29920:(e,t,o)=>{o.d(t,{A:()=>A});var n=o(38903);const i=` query StockAlertsPage($loadCategories:Boolean=false){pages{stockAlerts{metaTitle content{desktop{...rows}mobile{...rows}}}}profile{stockAlerts{list{product{id title exists url customerSpecificId uom
1s{id description@requireAbility(ability:${o(42346).Ul.ViewUnitOfMeasure})}hasVariants variants{id title}categoriesPaths@include(if:$loadCategories){categories{name}}}items{id productId variantId uomId storeLocation{id name}quantity email}}}}}`+n.A;var r=o(80474),a=o(3822),c=o(2366),s=o(21778),u=o(53715),p=o(74397),l=o(12535),d=o(2433);const m=e=>e.sort(((e,t)=>(e.product.title||'').localeCompare(t.product.title||''))).map((e=>{let{product:t,items:o}=e;return{product:t,items:o.sort(((e,o)=>{var n,i;return t.hasVariants&&((null==(n=e.variant)?void 0:n.title)||'').localeCompare((null==(i=o.variant)?void 0:i.title)||'')||0}))}})),A=(e,t,n)=>{let{params:A}=e,{api:g}=n;return null!=A&&A.previewToken?g.graphApi((0,u._I)('stockAlerts')).pipe((0,a.T)((e=>{let{pages:{stockAlerts:t}}=e;return t?{page:{...t,component:r.B.StockAlerts,index:!1,stockAlerts:d.A}}:null})),(0,u.V1)()):t.pipe((0,c.$)(p.BR),(0,s.n)((e=>(0,l.A)(Promise.all([o.e(564),o.e(2125)]).then(o.bind(o,78798)),g.graphApi(i,{loadCategories:e.analytics.isTrackingEnabled}).pipe((0,a.T)((e=>{var t;let{pages:o,profile:n}=e;return{page:{...(0,u.CL)(o.stockAlerts),component:r.B.StockAlerts,index:!1,stockAlerts:m((i=(null==(t=n.stockAlerts)?void 0:t.list)||[],i.filter((e=>{var t;return null==(t=e.product)?void 0:t.exists})).map((e=>{let{product:t,items:o}=e;return{product:t,items:o.map((e=>{var o;return{...e,uom:null==(o=t.uoms)?void 0:o.find((t=>t.id===e.uomId)),variant:t.variants.find((t=>t.id===e.variantId))}})).filter((e=>{let{variantId:t,uomId:o,variant:n,uom:i}=e;return(!t||n)&&(!o||i)}))}}))))}};var i})))))))}},2433:(e,t,o)=>{o.d(t,{A:()=>a});const n={id:'UOM',description:'UOM'},i={id:'LOCATION1',name:'location 1'},r=e=>({id:`VARIANT${e}`,title:`Variant ${e}`}),a=[{product:{id:'PRODUCT1',exists:!0,title:'Product 1',url:'/product1',customerSpecificId:null,hasVariants:!1,variants:[],uoms:[n]},items:[{id:'ITEM1',productId:'PRODUCT1',variantId:null,uomId:'UOM',uom:n,storeLocation:i,quantity:1,email:'[email protected]'}]},{product:{id:'PRODUCT2',exists:!0,title:'Product 2',url:'/product2',customerSpecificId:null,hasVariants:!0,variants:[r(1),r(2),r(3)],uoms:[n]},items:[{id:'ITEM2',productId:'PRODUCT2',variantId:r(1).id,variant:r(1),uomId:'UOM',uom:n,storeLocation:i,quantity:1,email:'[email protected]'},{id:'ITEM3',productId:'PRODUCT2',variantId:r(2).id,variant:r(2),uomId:'UOM',uom:n,storeLocation:i,quantity:1,email:'[email protected]'},{id:'ITEM4',productId:'PRODUCT2',variantId:r(3).id,variant:r(3),uomId:'UOM',uom:n,storeLocation:i,quantity:1,email:'[email protected]'}]},{product:{id:'PRODUCT3',exists:!0,title:'Product 3',url:'/product3',customerSpecificId:null,hasVariants:!1,variants:[],uoms:[n]},items:[{id:'ITEM5',productId:'PRODUCT3',variantId:null,uomId:'UOM',uom:n,storeLocation:i,quantity:1,email:'[email protected]'}]}]},29452:(e,t,o)=>{o.d(t,{K:()=>h,f:()=>v});var n=o(38903);const i=" options{orderProducts showPrices showStock}",r=` query SubAccountsPage{pages{subAccounts{metaTitle content{desktop{...rows}mobile{...rows}}}}profile{subAccounts{search{list{active limits(take:1){amount}canAuthorizeOrders canOrder canSeePrices canSeeStock id name authenticationType}}${i}}}}`+n.A,a=` authorizers:search(input:{canAuthorize:true}){list{id name}}${i}`,c=" accountManagers{list{id name}}",s=` query SubAccountPage($id:ID!){pages{editSubAccount{metaTitle content{desktop{...rows}mobile{...rows}}}}profile{subAccounts{search(input:{ids:[$id]}){list{active limits{amount authorizerId}dependentAccounts{id name}canAuthorizeOrders canOrder canSeePrices canSeeStock email id name authenticationType}}${a}}${c}}}`+n.A,u=` query NewSubAccountPage{pages{newSubAccount{metaTitle content{desktop{...rows}mobile{...rows}}}}profile{subAccounts{${a}}${c}}}`+n.A,p=` query SubAccountsPreviewPage{pages{subAccounts{metaTitle content{desktop{...rows}mobile{...rows}}}}profile{subAccounts{${i}}}}`+n.A;var l=o(53715),d=o(3822),m=o(80474),A=o(70960),g=o(12535);const v=(e,t,n)=>{let{params:i}=e,{api:a}=n;return null!=i&&i.previewToken?a.graphApi(p).pipe((0,d.T)((e=>{let{pages:{subAccounts:t},profile:o}=e;return{page:{...t,component:m.B.SubAccounts,index:!1,subAccounts:A.R,options:o.subAccounts.options}}})),(0,l.V1)()):(0,g.A)(Promise.all([o.e(3778),o.e(564),o.e(9137),o.e(2739)]).then(o.bind(o,14582)),a.graphApi(r).pipe((0,d.T)((e=>{let{pages:{subAccounts:t},profile:o}=e;return{page:{...t,component:m.B.SubAccounts,index:!1,subAccounts:o.subAccounts.search,options:o.subAccounts.options}}})),(0,l.V1)()))};var f=o(83589),T=o(69334),y=o(10170);const h=(e,t,r)=>{let{routeName:a,params:c}=e,{api:p}=r;const v=a===y.xW.EditSubAccount,h=v?'editSubAccount':'newSubAccount';if(null!=c&&c.previewToken)return p.graphApi((e=>` query SubAccountPreviewPage{pages{${e}{metaTitle content{desktop{...rows}mobile{...rows}}}}profile{subAccounts{${i}}}}`+n.A)(h)).pipe((0,d.T)((e=>{let{pages:t,profile:{subAccounts:o}}=e;const n='editSubAccount'in t?t.editSubAccount:t.newSubAccount,i={...(0,l.CL)(n),component:m.B.SubAccount,index:!1,options:o.options,authorizers:A.S.authorizers};return v&&(i.subAccount=A.S.subAccount),{page:i}}
1)));const S=null==c?void 0:c.id;if(v&&!S)return(0,f.of)(null);const C=v?p.graphApi(s,{id:S}):p.graphApi(u);return(0,g.A)(Promise.all([o.e(3778),o.e(564),o.e(9137),o.e(2739)]).then(o.bind(o,14582)),C.pipe((0,d.T)((e=>{let{pages:t,profile:{subAccounts:o,accountManagers:n}}=e;const i='editSubAccount'in t?t.editSubAccount:t.newSubAccount,r='authorizers'in o?n.list.concat(o.authorizers.list):n.list,a={...(0,l.CL)(i),component:m.B.SubAccount,index:!1,subAccount:'search'in o?o.search.list[0]:void 0,authorizers:(0,T.G)(r,(e=>e.id)),options:o.options};return a.subAccount&&delete a.authorizers[a.subAccount.id],v&&!a.subAccount?null:{page:a}}))))}},70960:(e,t,o)=>{o.d(t,{R:()=>r,S:()=>i});var n=o(16911);const i={options:{orderProducts:!0,showPrices:!0,showStock:!0},subAccount:{id:'someId',name:'',email:'',active:!0,canAuthorizeOrders:!1,canOrder:!0,canSeePrices:!0,canSeeStock:!0,limits:[],dependentAccounts:[],authenticationType:'SANA'},authorizers:{someId:{id:'someId',name:'Some account'}}},r={list:Array.from(Array(5)).map((()=>({id:(0,n.r)(),name:'',email:'',active:!0,canAuthorizeOrders:!1,canOrder:!0,canSeePrices:!0,canSeeStock:!0,limits:[],dependentAccounts:[],authenticationType:'SANA'})))}},61466:(e,t,o)=>{o.d(t,{A:()=>l});var n=o(83589),i=o(43144),r=o(3822),a=o(53715),c=o(80474),s=o(21809),u=o(42346),p=o(12535);const l=(e,t,r)=>{let{params:{previewToken:a,token:c}}=e;if(a){const e={id:'-',name:'Subscription name',nextOrderDate:''};return d(r.api,e)}return c?(0,s.a0)(u.Ul.UseOrderSubscriptions,t,r).pipe((0,i.ZZ)((e=>e===u.Qs.NotAvailable?(0,n.of)(null):(0,p.A)(Promise.all([o.e(564),o.e(1301)]).then(o.bind(o,86273)),d(r.api))))):(0,n.of)(null)};function d(e,t){return void 0===t&&(t=null),e.graphApi((0,a._I)('subscriptionOrderConfirmation')).pipe((0,r.T)((e=>{let{pages:{subscriptionOrderConfirmation:o}}=e;return o?{page:{...o,component:c.B.SubscriptionOrderConfirmation,index:!1,subscriptionInfo:t}}:null})),(0,a.V1)())}},44858:(e,t,o)=>{o.d(t,{CL:()=>a,V1:()=>r,_I:()=>c._});var n=o(7417),i=o(92229);function r(){return(0,n.M)((e=>{e&&e.page&&(e.page=a(e.page))}))}function a(e){const t=e,{desktop:o,mobile:n}=e.content;return o&&(t.content.desktop=(0,i.F)(o)),n&&(t.content.mobile=(0,i.F)(n)),t}var c=o(4887)},4887:(e,t,o)=>{o.d(t,{_:()=>i});var n=o(38903);const i=e=>` query SystemPage{pages{${e}{metaTitle content{desktop{...rows}mobile{...rows}}}}}`+n.A},66371:(e,t,o)=>{o.d(t,{H:()=>p,Q:()=>c});var n=o(24024),i=o(3822),r=o(2366),a=o(41664);const c=(e,t,o)=>t.pipe((0,n.Z)(t.value),(0,i.T)((e=>{let{settings:t}=e;return t})),(0,r.$)(a.$J),(0,i.T)((t=>{const o=t.loaded&&t.homePage.to;return o?{forwardTo:{...o,params:{...o.params,...e.params},canonicalUrl:e.canonicalUrl}}:null})));var s=o(80474),u=o(44858);const p=(e,t,o)=>{let{api:n}=o;return n.graphApi((0,u._I)('notFound')).pipe((0,i.T)((t=>{var o;let{pages:n}=t;const i={page:(0,u.CL)(n.notFound),statusCode:404};return i.page.component=s.B.NotFound,i.page.index=!1,i.page.backTo=null==(o=e.options)?void 0:o.backTo,i})))}},53715:(e,t,o)=>{o.d(t,{nR:()=>a,CL:()=>r.CL,V1:()=>r.V1,Xb:()=>i,_I:()=>r._I});var n=o(92229);function i(e){const t=e;if(!t.content)return t;const{header:o,footer:i}=e.content;return o&&(t.content.header=(0,n.F)(o)),i&&(t.content.footer=(0,n.F)(i)),t}o(38903);var r=o(44858);function a(e){return async t=>{const o=t.page;let{mobile:n,desktop:i}=o.content;if(n&&i)return[n,i];const r=await e(t);return n??(n=r.mobile.value),i??(i=r.desktop.value),[n,i]}}},54691:(e,t,o)=>{o.d(t,{A:()=>A});var n=o(10170),i=o(40119),r=o(3822),a=o(2366),c=o(21778),s=o(53715),u=o(41664),p=o(42346),l=o(34728),d=o(83589);function m(e,t){var o,n;if(null!=(o=t.params)&&o.previewToken)return p.Qs.Available;const i=e.webstore2FA.enabled,r=null==(n=t.params)?void 0:n.firstFactorPassed;return i&&r?p.Qs.Available:p.Qs.NotAvailable}const A=(e,t,o)=>{let{api:A}=o;return t.pipe((0,r.T)((e=>e.settings)),(0,a.$)(u.$J),(0,c.n)((o=>{var a,c;return(null!=(a=e.params)&&a.previewToken?null==(c=e.previewData)?void 0:c.closedStore:o.storeType===u.Mo.Closed)?function(e,t,o){const a=m(t,o);if(a!==p.Qs.Available)return(0,d.of)({action$:(0,d.of)((0,l.VJ)(n.OR.forLogin()))});const c=(0,s._I)('twoFactorAuthenticationClosedStoreLoginConfirmation');return e.graphApi(c).pipe((0,r.T)((e=>{let{pages:{twoFactorAuthenticationClosedStoreLoginConfirmation:t}}=e;return{page:{...(0,s.CL)(t),component:i.BR.TwoFactorAuthenticationClosedStoreLoginConfirmation,index:!1,emptyLayout:!0,backTo:{routeData:n.OR.forLogin()},successRedirect:{routeData:n.OR.forHome()}}}})))}(A,o,e):function(e,t,o,a){const c=m(o,a);if(c!==p.Qs.Available)return(0,d.of)({action$:(0,d.of)((0,l.VJ)(n.OR.forLogin()))});const u=(0,s._I)('twoFactorAuthenticationLoginConfirmation');return e.graphApi(u).pipe((0,r.T)((e=>{let{pages:{twoFactorAuthenticationLoginConfirmation:o}}=e;
1return{page:{...(0,s.CL)(o),component:i.BR.TwoFactorAuthenticationLoginConfirmation,index:!1,backTo:{routeData:n.OR.forLogin()},successRedirect:t.page.backTo}}})))}(A,t.value,o,e)})))}},73312:(e,t,o)=>{o.d(t,{A:()=>A});var n=o(10170),i=o(40119),r=o(3822),a=o(2366),c=o(21778),s=o(53715),u=o(41664),p=o(42346),l=o(34728),d=o(83589);function m(e,t){var o,n;if(null!=(o=t.params)&&o.previewToken)return p.Qs.Available;const i=e.webstore2FA.enabled,r=null==(n=t.params)?void 0:n.firstFactorPassed;return i&&r?p.Qs.Available:p.Qs.NotAvailable}const A=(e,t,o)=>{let{api:A}=o;return t.pipe((0,r.T)((e=>e.settings)),(0,a.$)(u.$J),(0,c.n)((o=>{var a,c;return(null!=(a=e.params)&&a.previewToken?null==(c=e.previewData)?void 0:c.closedStore:o.storeType===u.Mo.Closed)?function(e,t,o){const a=m(t,o);if(a!==p.Qs.Available)return(0,d.of)({action$:(0,d.of)((0,l.VJ)(n.OR.forLogin()))});const c=(0,s._I)('twoFactorAuthenticationClosedStoreLoginWithRecoveryCode');return e.graphApi(c).pipe((0,r.T)((e=>{let{pages:{twoFactorAuthenticationClosedStoreLoginWithRecoveryCode:t}}=e;return{page:{...(0,s.CL)(t),component:i.BR.TwoFactorAuthenticationClosedStoreLoginWithRecoveryCode,index:!1,emptyLayout:!0,backTo:{routeData:n.OR.forLogin()},successRedirect:{routeData:n.OR.forHome()}}}})))}(A,o,e):function(e,t,o,a){const c=m(o,a);if(c!==p.Qs.Available)return(0,d.of)({action$:(0,d.of)((0,l.VJ)(n.OR.forLogin()))});const u=t.page,A=(0,s._I)('twoFactorAuthenticationLoginWithRecoveryCode');return e.graphApi(A).pipe((0,r.T)((e=>{let{pages:{twoFactorAuthenticationLoginWithRecoveryCode:t}}=e;return{page:{...(0,s.CL)(t),component:i.BR.TwoFactorAuthenticationLoginWithRecoveryCode,index:!1,backTo:{routeData:n.OR.forLogin()},successRedirect:'successRedirect'in u?u.successRedirect:void 0}}})))}(A,t.value,o,e)})))}},5330:(e,t,o)=>{o.d(t,{$Q:()=>A,BH:()=>F,CX:()=>f,EI:()=>u,En:()=>i,FA:()=>s,GO:()=>T,Ih:()=>l,J3:()=>y,LR:()=>v,Qy:()=>E,T8:()=>p,TM:()=>r,Wk:()=>c,YD:()=>S,_3:()=>I,_W:()=>O,aI:()=>a,b9:()=>d,eE:()=>n,gD:()=>b,gd:()=>C,ho:()=>R,k7:()=>g,ql:()=>h,tK:()=>_,uG:()=>w,yM:()=>m});const n='TWO_FA/SECRET_KEY_REQUESTED',i=()=>({type:n}),r='TWO_FA/SECRET_KEY_RECEIVED',a=e=>({type:r,payload:{secretKey:e}}),c='TWO_FA/CONFIRMATION_RESULT_RECEIVED',s=(e,t)=>({type:c,payload:{confirmationSuccessful:e,recoveryCodes:t}}),u='TWO_FA/CONFIRMATION_RESULT_RESET',p=()=>({type:u}),l='TWO_FA/SET_CONFIRMATION_LOADING',d=e=>({type:l,payload:{loading:e}}),m='TWO_FA/REMOVE_SECRET_KEY',A=()=>({type:m}),g='TWO_FA/SECRET_KEY_REMOVED',v=e=>({type:g,payload:{isSuccess:e}}),f='TWO_FA/CONFIRM_GENERAL_TOTP',T=e=>({type:f,payload:{options:e}}),y='TWO_FA/GENERAL_TOTP_CONFIRMATION_FAILED',h=()=>({type:y}),S='TWO_FA/SETUP_CONTINUED',C=()=>({type:S}),E='TWO_FA/RECOVERY_CODES_REQUESTED',b=()=>({type:E}),R='TWO_FA/RECOVERY_CODES_RECEIVED',w=e=>({type:R,payload:{recoveryCodes:e}}),I='TWO_FA/RECOVERY_CODES_CLEARED',O=()=>({type:I}),_='TWO_FA/SECRET_KEY_IMMEDIATELY_REMOVED',F=()=>({type:_})},55794:(e,t,o)=>{let n;o.d(t,{E:()=>r,_:()=>i});const i=e=>{n=e},r=()=>n},15119:(e,t,o)=>{o.d(t,{A:()=>R});var n=o(21778),i=o(3822),r=o(94273),a=o(24024),c=o(88741),s=o(7417),u=o(12134),p=o(83589),l=o(95027),d=o(69230),m=o(78017),A=o(5330),g=o(26863),v=o(34728),f=o(10170),T=o(41457);const y=(e,t,o)=>{let{api:c}=t;return c.graphApi(m.g4,o.variables).pipe((0,i.T)((e=>e.profile.twoFactorAuthentication.confirmSecretKey)),(0,s.M)((e=>h(e.isSuccess))),(0,n.n)((e=>{let{isSuccess:t,recoveryCodes:o}=e;const n=[(0,A.FA)(t,o),(0,g.N3)(),(0,A.b9)(!1)];return t&&n.push((0,v.VJ)(f.OR.forTwoFactorAuthenticationRecoveryCodes(),void 0,{replaceHistory:!0})),n})),(0,a.Z)((0,g.cu)(),(0,A.b9)(!0)),(0,r.W)((()=>(0,p.of)((0,A.FA)(!1,[]),(0,g.N3)(),(0,A.b9)(!1)))))},h=e=>{if(!e)return;T.b.success(null,{textKey:'TwoFactorAuthenticationSetupConfirmation_Success',autoDismiss:!0})};var S=o(15622),C=o(94385);const E=(e,t,o)=>{let{api:n}=t;return n.graphApi(m.jE,o.variables,{retries:0}).pipe((0,i.T)((e=>e.profile.twoFactorAuthentication.removeSecretKey.isSuccess)),(0,S.H)((e=>[(0,A.LR)(e),(0,A.b9)(!1),(0,v.VJ)(f.OR.forLoginDetails())])),(0,a.Z)((0,A.b9)(!0)),(0,C.IM)(['TWO_FACTOR_AUTHENTICATION_UNAUTHORIZED'],(e=>(0,p.of)((0,A.ql)(),(0,A.b9)(!1)))))};var b=o(55794);const R=(e,t,o)=>{const T=e.pipe((0,u.g)(A.eE),(0,n.n)((()=>o.api.graphApi(m.ce).pipe((0,i.T)((e=>e.profile.twoFactorAuthentication.createSecretKey)),(0,i.T)(w),(0,i.T)(A.aI)))),(0,r.W)((()=>(0,p.of)((0,A.aI)(null))))),h=e.pipe((0,u.g)(A.tK),(0,n.n)((()=>o.api.graphApi(m.jE,void 0,{useCookies:!0,retries:0}).pipe((0,i.T)((()=>
1(0,v.VJ)(f.OR.forLoginDetails(!0)))))))),S=e.pipe((0,u.g)(A.CX),(0,n.n)((n=>{let{payload:{options:i}}=n;if(!t.value.routing.previous)return l.w;const r=(0,b.E)();return r?r(e,o,i).pipe((0,a.Z)((0,g.cu)()),(0,c.q)((0,g.N3)())):l.w}))),C=e.pipe((0,u.g)(A.YD),(0,s.M)((e=>(0,b._)(y))),(0,i.T)((()=>(0,v.VJ)(f.OR.forTwoFactorAuthenticationSetupConfirmation())))),R=e.pipe((0,u.g)(A.yM),(0,s.M)((e=>(0,b._)(E))),(0,i.T)((()=>(0,v.VJ)(f.OR.forTwoFactorAuthenticationGeneralConfirmation({variables:{}}))))),I=e.pipe((0,u.g)(A.Qy),(0,n.n)((()=>o.api.graphApi(m.$N).pipe((0,i.T)((e=>e.profile.twoFactorAuthentication.regenerateRecoveryCodes)),(0,n.n)((e=>[(0,A.uG)(e),(0,v.VJ)(f.OR.forTwoFactorAuthenticationRecoveryCodes())]))))));return(0,d.h)(T,S,C,R,I,h)},w=e=>e?{value:e.secretKey,uri:e.secretKeyUri}:null},84814:(e,t,o)=>{o.d(t,{A:()=>u});var n=o(80474),i=o(83589),r=o(3822),a=o(53715),c=o(55794);const s=e=>{var t;return null==(t=e.options)||!t.variables||void 0===(0,c.E)()},u=(e,t,o)=>{var c;return null!=(c=e.params)&&c.previewToken?o.api.graphApi((0,a._I)('twoFactorAuthenticationGeneralConfirmation')).pipe((0,r.T)((e=>{let{pages:{twoFactorAuthenticationGeneralConfirmation:t}}=e;return{page:{...(0,a.CL)(t),component:n.B.TwoFactorAuthenticationGeneralConfirmation,index:!1}}}))):s(e)?(0,i.of)(null):o.api.graphApi((0,a._I)('twoFactorAuthenticationGeneralConfirmation')).pipe((0,r.T)((t=>{let{pages:{twoFactorAuthenticationGeneralConfirmation:o}}=t;return{page:{...(0,a.CL)(o),component:n.B.TwoFactorAuthenticationGeneralConfirmation,index:!1,options:e.options}}})))}},77384:(e,t,o)=>{o.d(t,{A:()=>c});var n=o(53715),i=o(40119),r=o(3822),a=o(83589);const c=(e,t,o)=>{var c,s,u,p;let{api:l}=o;return(null!=(c=e.params)&&c.isDepartedFromInternalPage||null!=(s=e.params)&&s.previewToken)&&(null!=(u=e.params)&&u.previewToken||null!=(p=t.value.twoFactorAuthentication)&&null!=(p=p.recoveryCodes)&&p.length)?l.graphApi((0,n._I)('twoFactorAuthenticationRecoveryCodes')).pipe((0,r.T)((e=>e.pages.twoFactorAuthenticationRecoveryCodes)),(0,r.T)((e=>({page:{...(0,n.CL)(e),component:i.BR.TwoFactorAuthenticationRecoveryCodes,index:!1}})))):(0,a.of)(null)}},73219:(e,t,o)=>{o.d(t,{A:()=>d});var n=o(78017),i=o(42346),r=o(21809),a=o(10170),c=o(83589),s=o(3822),u=o(21778),p=o(80474),l=o(53715);const d=(e,t,o)=>{var d;return null!=(d=e.params)&&d.previewToken?o.api.graphApi((0,l._I)('twoFactorAuthenticationSetupConfirmation')).pipe((0,s.T)((e=>{let{pages:{twoFactorAuthenticationSetupConfirmation:t}}=e;return{page:{...(0,l.CL)(t),component:p.B.TwoFactorAuthenticationSetupConfirmation,index:!1}}}))):(0,r.a0)(i.Ul.Setup2FA,t,o).pipe((0,u.n)((e=>function(e,t){var o,n;if(e!==i.Qs.Available)return!0;const r=(null==(o=t.routing.previous)?void 0:o.routeData.routeName)===a.xW.TwoFactorAuthenticationSetup,c=(null==(n=t.routing.routeData)?void 0:n.routeName)===a.xW.TwoFactorAuthenticationSetup;return!r&&!c}(e,t.value)?(0,c.of)(null):o.api.graphApi((0,n.xA)('twoFactorAuthenticationSetupConfirmation')).pipe((0,s.T)((e=>{let{pages:{twoFactorAuthenticationSetupConfirmation:t},viewer:{is2FAEnabled:o}}=e;return o?null:{page:{...(0,l.CL)(t),component:p.B.TwoFactorAuthenticationSetupConfirmation,index:!1}}}))))))}},78106:(e,t,o)=>{o.d(t,{A:()=>d});var n=o(80474),i=o(42346),r=o(21809),a=o(83589),c=o(3822),s=o(21778),u=o(53715),p=o(5330),l=o(78017);const d=(e,t,o)=>{var d;return null!=(d=e.params)&&d.previewToken?o.api.graphApi((0,u._I)('twoFactorAuthenticationSetup')).pipe((0,c.T)((e=>{let{pages:{twoFactorAuthenticationSetup:t}}=e;return{page:{...(0,u.CL)(t),component:n.B.TwoFactorAuthenticationSetup,index:!1}}}))):(0,r.a0)(i.Ul.Setup2FA,t,o).pipe((0,s.n)((e=>e!==i.Qs.Available?(0,a.of)(null):o.api.graphApi((0,l.xA)('twoFactorAuthenticationSetup')).pipe((0,c.T)((e=>{let{pages:{twoFactorAuthenticationSetup:t},viewer:{is2FAEnabled:o}}=e;return o?null:{page:{...(0,u.CL)(t),component:n.B.TwoFactorAuthenticationSetup,index:!1},action$:(0,a.of)((0,p.En)())}}))))))}},43827:(e,t,o)=>{o.d(t,{A:()=>p});var n=o(10170),i=o(80474),r=o(3822),a=o(53715),c=o(78017),s=o(83589);const u=(e,t)=>t?{routeData:n.OR.forRepresent(e)}:e?{routeData:e.routeData,url:e.url}:{routeData:n.OR.forHome()},p=(e,t,o)=>{var n;let{api:p}=o;return null!=(n=e.params)&&n.previewToken?p.graphApi(c.b2).pipe((0,r.T)((e=>{let{pages:{twoFactorAuthenticationSpentRecoveryCodeAlert:t}}=e;return{page:{...(0,a.CL)(t),component:i.B.TwoFactorAuthenticationSpentRecoveryCodeAlert,index:!1,remainingRecoveryCodeCount:null,nextPageRouteInfo:null}}}))):e.options?p.graphApi(c.b2).pipe((0,r.T)((t=>{let{pages:{twoFactorAuthenticationSpentRecoveryCodeAlert:o},viewer:{remaining2FARecoveryCodeCount:n,oneToMany:r}}=t;
1return{page:{...(0,a.CL)(o),component:i.B.TwoFactorAuthenticationSpentRecoveryCodeAlert,index:!1,remainingRecoveryCodeCount:n,nextPageRouteInfo:u(e.options.backTo,r)}}}))):(0,s.of)(null)}},78017:(e,t,o)=>{o.d(t,{$N:()=>c,b2:()=>u,ce:()=>i,g4:()=>r,jE:()=>a,xA:()=>s});var n=o(38903);const i="mutation{profile{twoFactorAuthentication{createSecretKey{secretKey secretKeyUri}}}}",r="mutation($totp:String!){profile{twoFactorAuthentication{confirmSecretKey(totp:$totp){isSuccess recoveryCodes}}}}",a="mutation($totp:String){profile{twoFactorAuthentication{removeSecretKey(totp:$totp)}}}",c="mutation{profile{twoFactorAuthentication{regenerateRecoveryCodes}}}",s=e=>` query{pages{${e}{metaTitle content{desktop{...rows}mobile{...rows}}}}viewer{is2FAEnabled}}`+n.A,u="query{pages{twoFactorAuthenticationSpentRecoveryCodeAlert{metaTitle content{desktop{...rows}mobile{...rows}}}}viewer{remaining2FARecoveryCodeCount oneToMany}}"+n.A},21029:(e,t,o)=>{o.d(t,{A:()=>r});var n=o(5330);const i={secretKey:null,confirmationSuccessful:!0,confirmationLoading:!1,recoveryCodes:[]},r=function(e,t){switch(void 0===e&&(e=i),t.type){case n.TM:return{...e,secretKey:t.payload.secretKey};case n.Wk:return{...e,...t.payload};case n.EI:return{...e,confirmationSuccessful:!0,confirmationLoading:!1};case n.Ih:return{...e,confirmationLoading:t.payload.loading};case n.k7:return t.payload.isSuccess?{...e,secretKey:null}:e;case n.J3:return{...e,confirmationSuccessful:!1,confirmationLoading:!1};case n.CX:return{...e,confirmationSuccessful:!0,confirmationLoading:!0};case n.ho:return{...e,recoveryCodes:t.payload.recoveryCodes};case n._3:return{...e,recoveryCodes:[]};default:return e}}},3805:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(46656),i=o(21778);let r;const a=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return r||(Promise.all([o.e(392),o.e(7925),o.e(4559),o.e(4853),o.e(4386),o.e(564),o.e(6301),o.e(3091),o.e(8371),o.e(794),o.e(9925),o.e(1097),o.e(8575),o.e(910),o.e(5963),o.e(1456),o.e(475),o.e(354),o.e(126),o.e(380),o.e(1392),o.e(5272),o.e(3053),o.e(8741),o.e(2629),o.e(6473),o.e(992),o.e(614),o.e(9137),o.e(777),o.e(2065),o.e(8579),o.e(2291),o.e(2816),o.e(6159)]).then(o.bind(o,92541)),r=Promise.all([o.e(392),o.e(7925),o.e(4559),o.e(4853),o.e(4386),o.e(564),o.e(6301),o.e(3091),o.e(8371),o.e(794),o.e(9925),o.e(1097),o.e(8575),o.e(910),o.e(5963),o.e(1456),o.e(475),o.e(354),o.e(126),o.e(380),o.e(1392),o.e(5272),o.e(3053),o.e(8741),o.e(2629),o.e(6473),o.e(992),o.e(614),o.e(9137),o.e(777),o.e(2065),o.e(8579),o.e(2291),o.e(2816),o.e(6159)]).then(o.bind(o,94987))),(0,n.H)(r).pipe((0,i.n)((e=>e.default(...t))))}},85045:(e,t,o)=>{o.d(t,{A:()=>s});var n=o(83589),i=o(6776),r=o(3822),a=o(10170),c=o(92920);const s=(e,t,o)=>{let{params:s}=e,{scope:u}=o;return(0,n.of)(s).pipe((0,i.p)((e=>t=>null!=t&&('CLIENT'===e||'SERVER'===e&&void 0!==t.routeName))(u)),(0,r.T)((e=>{let{url:t,routeName:o,params:i,permanent:r}=e;if(!o&&'CLIENT'===u)return window.location=t,{redirectUrl:t,action$:(0,n.of)((0,c.ei)())};const s=r?301:302;return{redirectUrl:t,statusCode:s,action$:(0,n.of)((0,a.SE)(t,s,{routeName:o,params:i}))}})))}}}]); 2//# sourceMappingURL=webstore-803a06e4.2f718677.js.map
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.