PageSourceSearch

https://vix.com/assets/web/_next/static/chunks/pages/[lang]/provee…/resumen/[[...path]]-c929fd16dc44beac.js

js vix.com collected 2026-09-24 08:40:30 UTC 14,591 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3459],{4717:e=>{e.exports={title:"AlertContent_title__af33R",subtitle:"AlertContent_subtitle__6eatR",sanitizedSubtitle:"AlertContent_sanitizedSubtitle__7MViv",footer:"AlertContent_footer__miRz_",userIdentifier:"AlertContent_userIdentifier__ohCge"}},12837:(e,n,t)=>{"use strict";t.d(n,{A:()=>f});var i=t(6029);t(55729);var a=t(50212),r=t(53721),o=t(84262),l=t(59668),s=t(54487),d=t(35192),u=t(69729),c=t(4717),m=t.n(c);let f=function({primaryButtonProps:e,secondaryButtonProps:n,tertiaryButtonProps:t,subtitle:c,title:f,titleWordsCount:p,titleLineBreak:v=!0,titleTextParts:k,hideIcon:b,disclaimer:g,sanitizeSubtitle:S,titleClassname:h,subtitleClassname:x,footer:y,userIdentifier:w}){return(0,i.jsxs)("div",{role:"dialog",children:[(0,i.jsx)("div",{className:"flex mb-8 xs:mb-10 sm:mb-8 tv:mb-10",children:!b&&(0,i.jsx)(o.A,{className:"w-16 sm:w-[86px] tv:w-32 tv:mx-auto",color:r.Q1.White,name:"Vix",viewBox:"0 0 256 100"})}),k&&(0,i.jsx)(u.A,{className:(0,a.A)(m().title,"tv:text-center",h),title:k}),f&&(0,i.jsx)(d.A,{className:(0,a.A)(m().title,"tv:text-center",h),title:f,firstColorWordsCount:p||0,isHeadingFont:!0,isLineBreak:v,withGradient:!0}),w&&(0,i.jsx)("p",{className:(0,a.A)("mt-2 text-manatee",m().userIdentifier),children:w}),c&&(0,i.jsx)("p",{className:(0,a.A)("flex flex-col mx-0 mt-6 text-primary tv:text-center tv:text-primary",S?m().sanitizedSubtitle:m().subtitle,x),children:S&&"string"==typeof c?(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:c}}):(0,i.jsx)(i.Fragment,{children:c})}),g&&(0,i.jsx)("p",{className:(0,a.A)("flex flex-col mx-0 mt-6 text-primary"),children:g}),(0,i.jsxs)("div",{className:"flex flex-col items-center",children:[e&&(0,i.jsx)(l.A,{type:e.type||s.V.Primary,onClick:e.onClick,disabled:e.isDisabled,className:(0,a.A)("justify-center h-12 w-full mt-8 tv:h-20 tv:w-7/12 tv:mt-14",e?.className),children:e?.children}),n&&(0,i.jsx)(l.A,{type:n.type||s.V.Secondary,onClick:n.onClick,disabled:n.isDisabled,className:(0,a.A)("justify-center h-12 w-full mt-6 tv:h-20 tv:w-7/12 tv:mt-14",n?.className),children:n?.children}),t&&(0,i.jsx)(l.A,{type:t.type||s.V.TextButton,onClick:t.onClick,disabled:t.isDisabled,className:(0,a.A)("justify-center h-12 w-full mt-6 tv:h-20 tv:w-7/12 tv:mt-14 [&]:bg-inherit",t?.className),children:t?.children}),y&&(0,i.jsx)("p",{className:(0,a.A)("flex flex-col mx-0 mt-6 text-primary tv:text-start tv:text-primary tv:mt-12",m().footer),children:y})]})]})}},22230:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var i=t(55729),a=t(50473),r=t(81568),o=t(96853),l=t.n(o),s=t(16744);let d={[r.Z.UPSELL]:s.N.SpectrumBillingUpgradeQuery,[r.Z.DOWNSELL]:s.N.SpectrumBillingDowngradeQuery,[r.Z.ALL]:s.N.SpectrumBillingUpgradeQuery},u=function(e=r.Z.UPSELL,n="cache-first"){let[t,{data:o,error:s,called:u,loading:c}]=(0,a._)(l(),{fetchPolicy:n,variables:{urlPath:d[e],uiModulesPagination:{first:10,after:null},contentPagination:{first:10,after:null}}}),m=(0,i.useCallback)(()=>{t()},[t]);return{dataUiPage:o?.uiPage,getSpectrumBillingData:m,called:u,error:s,loading:c}}},22540:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/proveedores/cambio-plan/resumen/[[...path]]",function(){return t(81226)}])},32209:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>S,t7:()=>g});var i=t(6029),a=t(55729),r=t(81278),o=t(81568),l=t(45241),s=t(43238),d=t(30314),u=t(16744),c=t(96564),m=t(63459),f=t(24963),p=t(68361),v=t(45194),k=t(94424);let b={upgrade:o.Z.UPSELL,downgrade:o.Z.DOWNSELL};function g(e){for(let n of e){let e=n.toLowerCase();if(b[e])return b[e]}return o.Z.UPSELL}let S=function({children:e}){let{localization:n}=(0,m.A)(),t=(0,r.useRouter)(),[o,b]=(0,a.useState)(k.P1),[g,S]=(0,a.useState)(null),{isOpen:h,dataModal:x,onPrimaryHandler:y,onClose:w}=g||{},N={id:"errorModal",body:x?.body||[{text:n("error_plan_change_not_applied"),styles:[c.Sk.Strong],link:null}],fstCta:x?.fstCta||[{text:n("labels_timed_out_transaction_cta"),styles:[c.Sk.Strong],link:null}],header:x?.header||[{text:n("title_transaction"),styles:[c.Sk.Strong],link:null},{text:n("title_failed"),styles:[c.Sk.Strong],link:null}],sndCta:x?.sndCta||[{text:n("labels_continue_to_vix"),styles:[c.Sk.Strong],link:null}]},{getUserSubscription:C,data:P,loading:A,error:_}=(0,d.Ay)(),O=(0,a.useMemo)(()=>P?.userSubscription?.activeSubscription?.partner?.toUpperCase()===s.d.SPECTRUM,[P?.userSubscription?.activeSubscription?.partner]),E=(0,a.useMemo)(()=>({...o,userCurrentPlan:P?.userSubscription?.activeSubscription?.plan||void 0,setSpectrumBillingValues:b,setErrorModal:S}),[o,P?.userSubscription?.activeSubscription?.plan]),F=(0,a.useCallback)(()=>{S(null),t.push(u.N.Index)},[]);if((0,a.useEffect)(()=>{P||C()},[P]),A||!P)return(0,i.jsx)(l.A,{isFullView:!0});if(!A&&(_||!O)){let e=_?{userSubscriptionError:_}:{error:Error("Not found"),statusCode:404};return(0,i.jsx)("div",{className:"absolute bg-charade top-0 left-0 w-screen z-navigation-top",children:(0,i.jsx)(p.A,{...e})})}return(0,i.jsx)(k.Ay.Provider,{value:E,children:g?(0,i.jsx)(v.A,{isOpen:h,dataModal:N,onPrimaryHandler:y,onSecondaryHandler:F,onClose:w}):(0,i.jsx)(f.A,{showBackButtonOnMobile:!0,children:e})})}},45194:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var i=t(6029);t(55729);var a=t(51421),r=t(22752);let o=function({dataModal:e,isOpen:n=!0,onPrimaryHandler:t,onSecondaryHandler:o,onThirdHandler:l,onClose:s,thirdCta:d}){let{header:u,body:c,fstCta:m,sndCta:f}=e||{},p=(0,r.Ay)(c),v=(0,r.Ay)(m),k=(0,r.Ay)(f),b=d?{children:(0,r.Ay)(d),onClick:l}:void 0;return(0,i.jsx)(a.A,{onClose:s,isOpen:n,subtitle:p,titleTextParts:u,primaryButtonProps:t?{children:v,onClick:t}:void 0,secondaryButtonProps:o?{children:k,onClick:o}:void 0,tertiaryButtonProps:b})}},51421:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var i=t(6029);t(55729);var a=t(75828),r=t.n(a),o=t(23061),l=t(10393),s=t(12837),d=t(52777),u=t.n(d);let c=function({hideCloseButton:e,isOpen:n,onClose:t,trackingProps:a,className:d,...c}){return(0,i.jsxs)(l.A,{isOpen:!!n,onClose:t,hideCloseButton:e,className:r()(u().wrapper,d),children:[(0,i.jsx)(s.A,{...c}),n&&a&&(0,i.jsx)(o.A,{...a})]})}},52777:e=>{e.exports={wrapper:"AlertModal_wrapper__X5PUZ",wrapperTv:"AlertModal_wrapperTv__NZHGb"}},60738:(e,n,t)=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"OutboundSubscriptionPreviewMutation"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OutboundSubscriptionPreviewInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"outboundSubscriptionPreview"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errorReason"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscriptionOutboundPreview"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"planId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startingDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"oneBrandMarketingCopy"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OneBrandMarketingCopyOutboundFragment"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:425}};i.loc.source={body:"#import './fragments/OneBrandMarketingCopyOutbound.gql'\n\nmutation OutboundSubscriptionPreviewMutation($input: OutboundSubscriptionPreviewInput!) {\n  outboundSubscriptionPreview(input: $input) {\n    errorReason\n    subscriptionOutboundPreview {\n      currency\n      name\n      planId\n      price\n      startingDate\n      oneBrandMarketingCopy {\n        ...OneBrandMarketingCopyOutboundFragment\n      }\n    }\n    success\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};i.definitions=i.definitions.concat(t(78082).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}));var r={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,t){if("FragmentSpread"===n.kind)t.add(n.name.value);else if("VariableDefinition"===n.kind){var i=n.type;"NamedType"===i.kind&&t.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,t)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,t)}),n.definitions&&n.definitions.forEach(function(n){e(n,t)})}(e,n),r[e.name.value]=n}}),e.exports=i,e.exports.OutboundSubscriptionPreviewMutation=function(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=r[n]||new Set,a=new Set,l=new Set;for(i.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach(function(e){l.add(e)}))})}return a.forEach(function(n){var i=o(e,n);i&&t.definitions.push(i)}),t}(i,"OutboundSubscriptionPreviewMutation")},78082:(e,n,t)=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OneBrandMarketingCopyOutboundFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OneBrandMarketingCopy"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"planTilePrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TextPartFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"planTileTitle"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TextPartFragment"},directives:[]}]}}]}}],loc:{start:0,end:202}};i.loc.source={body:"#import './TextPartFragment.gql'\n\nfragment OneBrandMarketingCopyOutboundFragment on OneBrandMarketingCopy {\n  planTilePrice {\n    ...TextPartFragment\n  }\n  planTileTitle {\n    ...TextPartFragment\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};i.definitions=i.definitions.concat(t(59856).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}));var r={};function o(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,t){if("FragmentSpread"===n.kind)t.add(n.name.value);
1else if("VariableDefinition"===n.kind){var i=n.type;"NamedType"===i.kind&&t.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,t)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,t)}),n.definitions&&n.definitions.forEach(function(n){e(n,t)})}(e,n),r[e.name.value]=n}}),e.exports=i,e.exports.OneBrandMarketingCopyOutboundFragment=function(e,n){var t={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=r[n]||new Set,a=new Set,l=new Set;for(i.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach(function(e){l.add(e)}))})}return a.forEach(function(n){var i=o(e,n);i&&t.definitions.push(i)}),t}(i,"OneBrandMarketingCopyOutboundFragment")},81226:(e,n,t)=>{"use strict";t.r(n),t.d(n,{SpectrumBillingSummaryComponentMap:()=>x,default:()=>w});var i=t(6029),a=t(55729),r=t(81278),o=t(71024),l=t.n(o),s=t(45241),d=t(22752),u=t(81568),c=t(7234),m=t(60738),f=t.n(m);let p=function(){let[e,{data:n,error:t,loading:i}]=(0,c.n)(f());return{getOutboundSubscription:(0,a.useCallback)(({changeDirection:n,planId:t,encryptedPromoData:i})=>{e({variables:{input:{changeDirection:n,planId:t,encryptedPromoData:i}}})},[e]),data:n,error:t,loading:i}};var v=t(22230),k=t(23061),b=t(27177),g=t(32209),S=t(94424),h=t(68361);let x={[u.Z.UPSELL]:l()(()=>Promise.all([t.e(7127),t.e(4438),t.e(3910),t.e(9334),t.e(4466)]).then(t.bind(t,44189)),{loadableGenerated:{webpack:()=>[44189]}}),[u.Z.DOWNSELL]:l()(()=>Promise.all([t.e(7127),t.e(4185)]).then(t.bind(t,64185)),{loadableGenerated:{webpack:()=>[64185]}}),[u.Z.ALL]:l()(()=>Promise.all([t.e(7127),t.e(4438),t.e(3910),t.e(9334),t.e(4466)]).then(t.bind(t,44189)),{loadableGenerated:{webpack:()=>[44189]}})};function y(){let e=(0,r.useRouter)(),{path:n}=e?.query,{selectedPlanId:t,promoToken:o,setErrorModal:l}=(0,S.g7)(),c=(0,a.useMemo)(()=>(0,g.t7)(n),[]),m=(0,a.useMemo)(()=>x[c],[c]),f=(0,a.useMemo)(()=>c===u.Z.DOWNSELL?b.Anb:b.wCk,[c]),{getOutboundSubscription:y,data:w,loading:N,error:C}=p(),{outboundSubscriptionPreview:P}=w||{},{getSpectrumBillingData:A,dataUiPage:_,loading:O}=(0,v.A)(c),E=(0,a.useMemo)(()=>{let e=_?.uiModules?.edges?.[0]?.node;if(e)return{header:(0,d.Ay)(e.planSwitchingHeaderCardTextParts)||void 0,legalDescription:(0,d.Ay)(e.planSwitchLegalDisclosureTextParts)||void 0}},[_]),F=(0,a.useCallback)(()=>{l(null),e.back()},[]);return((0,a.useEffect)(()=>{y({changeDirection:c,planId:t,encryptedPromoData:o})},[c,t,o]),(0,a.useEffect)(()=>{A()},[c]),(0,a.useEffect)(()=>{if(P?.success)return;let{errorReason:e}=P||{};e&&l({isOpen:!0,dataModal:{body:[],fstCta:[],header:[],id:null,sndCta:[]},onPrimaryHandler:F,onClose:F})},[P]),!N&&C)?(0,i.jsx)("div",{className:"absolute bg-charade top-0 left-0 w-screen z-navigation-top",children:(0,i.jsx)(h.A,{error:C})}):O||N||!P?.subscriptionOutboundPreview||!E?(0,i.jsx)(s.A,{isFullView:!0}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m,{dataUi:E,previewData:P?.subscriptionOutboundPreview}),(0,i.jsx)(k.A,{path:e.asPath,segmentData:f})]})}y.getLayout=e=>(0,i.jsx)(g.Ay,{children:e}),y.getInitialProps=()=>({isFullViewMode:!0});let w=y},94424:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>l,P1:()=>o,g7:()=>r});var i=t(55729);let a=(0,i.createContext)(null);function r(){let e=(0,i.useContext)(a);if(null===e)throw Error("useSpectrumBillingValues must be a child of SpectrumBillingContext.Provider");return e}let o={selectedPlanId:"",promoToken:""},l=a}},e=>{e.O(0,[6853,6593,636,8792],()=>e(e.s=22540)),_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.