PageSourceSearch

https://my.ine.com/js/9548.ec66e7865eb9a87a.js

js ine.com collected 2026-10-01 10:45:33 UTC 12,708 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkmy_ine_com"]=self["webpackChunkmy_ine_com"]||[]).push([[9548],{2741:function(t,i,e){e.d(i,{A:function(){return p}});var n=e(95976),o=e(91808);const s={class:"authentication-background"},r={key:0},a=["src","alt"],d={key:1};function c(t,i,e,c,l,u){const g=(0,n.g2)("DefaultBusinessPic"),h=(0,n.g2)("AdditionalLinks");return(0,n.uX)(),(0,n.CE)("div",s,[e.isBusiness?((0,n.uX)(),(0,n.CE)("div",r,[e.companyLogo?((0,n.uX)(),(0,n.CE)("img",{key:0,class:"authentication-background__logo",src:e.companyLogo,alt:e.companyName},null,8,a)):((0,n.uX)(),(0,n.Wv)(g,{key:1,class:"authentication-background__logo authentication-background__logo--svg"}))])):((0,n.uX)(),(0,n.CE)("div",d,[i[0]||(i[0]=(0,n.Lk)("img",{class:"ine-form__logo",src:o,alt:"INE logo"},null,-1)),(0,n.bF)(h,{class:"authentication-background__additional-links"})]))])}var l=e(91865),u=e(70812),g={name:"AuthenticationBackground",components:{AdditionalLinks:u.A,DefaultBusinessPic:{...l.A,name:"DefaultBusinessPic"}},props:{companyLogo:{type:String,required:!1},companyName:{type:String,required:!1},isBusiness:{type:Boolean,required:!1,default(){return!1}}}},h=e(1169);const m=(0,h.A)(g,[["render",c],["__scopeId","data-v-1dfd6106"]]);var p=m},22482:function(t,i,e){e.d(i,{A:function(){return p}});var n=e(95976),o=e(10160),s=e(29746);const r={class:"google-auth-modal__step step-digit-code__step"},a={class:"step-digit-code__wrapper"},d=["id","value"],c=["disabled"];function l(t,i,e,l,u,g){const h=(0,n.g2)("ActionLoader");return(0,n.uX)(),(0,n.CE)("section",r,[(0,n.Lk)("div",a,[(0,n.Lk)("div",{class:(0,o.C4)(["step-digit-code__digits-wrapper",!e.isModal&&"auth-form__digits-wrapper"])},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(u.digits,t=>((0,n.uX)(),(0,n.CE)("input",{id:t,key:`digit-${t}`,ref_for:!0,ref:`ga-digit-${t}`,class:(0,o.C4)(["step-digit-code__digit",t===u.currentDigitPosition&&!u.isDigitsCompleted&&"step-digit-code__digit--active",!e.isModal&&"auth-form__digit"]),value:u.currentDigits[t-1],type:"number",max:"1",onInput:i[0]||(i[0]=t=>g.moveNextDigit(t)),onPaste:i[1]||(i[1]=(...t)=>g.onPaste&&g.onPaste(...t)),onKeydown:i[2]||(i[2]=(...t)=>g.backspaceDigit&&g.backspaceDigit(...t))},null,42,d))),128))],2)]),(0,n.Lk)("div",{class:(0,o.C4)(["google-auth-modal__step-btn-wrapper",!e.isModal&&"auth-form__actions-group auth-form__actions-group-digit"])},[e.isGoogleAuthenticatorMFA||u.isLoading||e.isModal?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("button",{key:0,class:"btn btn--tertiary auth-form__resend-code",onClick:i[3]||(i[3]=(0,s.D$)(i=>t.$parent.$emit("resend-mfa-code"),["prevent"]))}," Resend Code ")),(0,n.Lk)("button",{ref:"confirm",class:(0,o.C4)(["btn btn--primary google-auth-modal__step-next-btn step-digit-code__confirm-btn",[!e.isModal&&"auth-form__actions-submit-wrapper"]]),disabled:u.isSaveDisabled,onClick:i[4]||(i[4]=t=>g.submitCode()),onKeydown:i[5]||(i[5]=(...t)=>g.backspaceDigit&&g.backspaceDigit(...t))},(0,o.v_)(g.confirmBtnLabel),43,c),e.isModal?((0,n.uX)(),(0,n.CE)("button",{key:1,type:"submit",class:"btn btn--secondary google-auth-modal__step-next-btn step-digit-code__back-btn",onClick:i[6]||(i[6]=i=>t.$emit("go-prev-step"))}," Back ")):(0,n.Q3)("",!0)],2),u.isLoading&&e.isModal?((0,n.uX)(),(0,n.Wv)(h,{key:0,class:"modal__loader"})):(0,n.Q3)("",!0)])}var u=e(52059),g={name:"DigitCodeInput",components:{ActionLoader:u.A},props:{gaQrCode:{type:String,required:!1},isModal:{type:Boolean,required:!1,default(){return!1}},isGoogleAuthenticatorMFA:{type:Boolean,required:!1,default(){return!1}}},data(){return{isSaveDisabled:!0,isDigitsCompleted:!1,isLoading:!1,currentDigitPosition:1,currentDigits:[],digits:6}},computed:{qrImage(){return`data:image/svg+xml;base64,${this.gaQrCode}`},confirmBtnLabel(){return this.isModal?"Confirm":"Confirm code"}},watch:{currentDigitPosition(){var t;const i=null===(t=this.currentDigits)||void 0===t?void 0:t.filter(t=>null!==t).length,e=i===this.digits;this.isDigitsCompleted=e,this.isSaveDisabled=!e}},async mounted(){this.$refs["ga-digit-1"][0].focus()},methods:{backspaceDigit(t){if(8===t.keyCode){const i=Number(t.currentTarget.id)?Number(t.currentTarget.id)-1:this.digits,e=i||1;this.currentDigits[e]=null,this.$refs[`ga-digit-${e}`][0].focus(),this.currentDigitPosition=e}},moveNextDigit(t){var i;if(t&&"insertFromPaste"===t.inputType)return void t.preventDefault();const e=t.currentTarget.value,n=Number(t.currentTarget.id);this.$refs[`ga-digit-${n}`][0].value="",this.currentDigitPosition=n,e.length>1&&e.substr(0,1);const o=this.currentDigitPosition-1,s=/\d/.test(e);this.currentDigits[o]=s?e:null,s&&((null===(i=this.currentDigits[o])||void 0===i?void 0:i.length)>1&&(this.currentDigits[o]=this.currentDigits[o][1]),this.currentDigitPosition++,this.currentDigitPosition<this.digits+1?this.$refs[`ga-digit-${this.currentDigitPosition}`][0].focus():this.$nextTick(()=>this.$refs.confirm.focus()))},onPaste(t){var i;const e=null===(i=t.clipboardData.getData("text"))||void 0===i?void 0:i.replace(/\D/g,"");if(e){var n;const i=e.split("");for(let t=0;t<this.digits;t++)this.$refs[`ga-digit-${t+1}`][0].value=i[t]?i[t]:null;t.preventDefault(),this.currentDigits=i.slice(0,6),this.currentDigitPosition=this.currentDigits.length+1,this.currentDigitPosition<6&&(null===(n=this.$refs[`ga-digit-${this.currentDigitPosition}`][0])||void 0===n||n.focus())}this.currentDigitPosition===this.digits+1&&this.$nextTick(()=>this.$refs.confirm.focus())},async submitCode(){this.isLoading=!0,this.$emit("is-digit-code-loading",!0),this.$parent.$emit("is-digit-code-loading",!0),this.isSaveDisabled=!0;const t=this.currentDigits.join("");try{await this.$store.dispatch("auth/submitMFACode",t),this.isModal?(this.$parent.$emit("ga-enroll-success"),this.$parent.$emit("close-ga-modal")):this.$parent.$emit("handle-submitted-form")}catch(i){this.currentDigits=[],this.$emit("is-digit-code-loading",!1),this.$parent.$emit("is-digit-code-loading",!1),this.isLoading=!1,this.$nextTick(()=>this.$refs["ga-digit-1"][0].focus()),this.currentDigitPosition=1}}}},h=e(1169);const m=(0,h.A)(g,[["render",l],["__scopeId","data-v-099b7cd6"]]);var p=m},29548:function(t,i,e){e.r(i),e.d(i,{default:function(){return y}});var n=e(95976),o=e(29746);const s={class:"auth-form"},r={class:"auth-form__container"},a={class:"auth-form__wrapper"},d={class:"auth-form__forms"};function c(t,i,e,c,l,u){const g=(0,n.g2)("AuthenticationBackgroun
1d"),h=(0,n.g2)("TwoFactorForm"),m=(0,n.g2)("AdditionalLinks"),p=(0,n.g2)("Spinner");return(0,n.uX)(),(0,n.CE)("section",s,[i[0]||(i[0]=(0,n.Lk)("h1",{class:"sr-only"},"Two Factor Authentication",-1)),(0,n.Lk)("div",r,[(0,n.bF)(g),(0,n.bo)((0,n.Lk)("div",a,[(0,n.Lk)("div",d,[(0,n.bF)(h,{class:"auth-form__form",isLoading:l.isLoading,isGoogleAuthenticatorMFA:!!t.isGoogleAuthenticatorMFA,onIsDigitCodeLoading:u.isDigitCodeLoading,onCancelLogin:u.cancelLogin,onResendMfaCode:u.resendMFACode,onHandleSubmittedForm:u.handleSubmittedForm},null,8,["isLoading","isGoogleAuthenticatorMFA","onIsDigitCodeLoading","onCancelLogin","onResendMfaCode","onHandleSubmittedForm"])]),(0,n.bF)(m,{isTabletFooter:!0,class:"auth-form__form-footer-links"})],512),[[o.aG,!l.isLoading]]),(0,n.bo)((0,n.bF)(p,{label:l.isResendingMFACode?"":"You’re being logged in",class:"auth-form__wrapper auth-form__spinner"},null,8,["label"]),[[o.aG,l.isLoading]])])])}var l=e(51449),u=e(21057),g=e(2741);const h={class:"auth-form__form-wrapper"};function m(t,i,e,s,r,a){const d=(0,n.g2)("Title"),c=(0,n.g2)("DigitCodeInput");return(0,n.uX)(),(0,n.CE)("div",h,[(0,n.Lk)("form",{class:"ine-form__form auth-form__form",onSubmit:i[0]||(i[0]=(0,o.D$)((...t)=>a.validateFields&&a.validateFields(...t),["prevent"]))},[(0,n.bF)(d,{class:"auth-form__title-wrapper auth-form__title-wrapper--compressed",header:"Enter your 6-digit MFA code",tagline:"SMS, email, or Google Authenticator"}),(0,n.bF)(c,{isGoogleAuthenticatorMFA:e.isGoogleAuthenticatorMFA},null,8,["isGoogleAuthenticatorMFA"])],32)])}var p=e(58482),f=e(77114),_=e(22482),v={name:"TwoFactorForm",components:{Title:f.A,DigitCodeInput:_.A},props:{isLoading:{type:Boolean,required:!0},isGoogleAuthenticatorMFA:{type:Boolean,required:!0}},data(){return{errors:(0,p.nA)(),fields:{"mfa code":{type:"text",rules:["presence"],placeholder:"MFA Code",value:"",autocomplete:"one-time-code"}}}},methods:{validateFields(){const{fields:t}=this,{isValid:i,errors:e}=(0,p.l)(t);if(this.errors=e,i){const i={code:t["mfa code"].value};this.$emit("submit-form",i)}},clearErrors(){this.errors=(0,p.nA)()}}},b=e(1169);const A=(0,b.A)(v,[["render",m]]);var k=A,L=e(70812),C=e(45770),F={name:"TwoFactor",components:{AuthenticationBackground:g.A,TwoFactorForm:k,AdditionalLinks:L.A,Spinner:C.A},metaInfo(){return{title:"Two Factor Authentication",meta:[{vmid:"robots",name:"robots",content:"noindex"}]}},data(){return{isLoading:!1,isResendingMFACode:!1}},computed:{...(0,l.aH)({isAuthenticated:t=>t.auth.isAuthenticated,isTwoFactorRequired:t=>t.auth.isTwoFactorRequired,searchQuery:t=>t.search.searchQuery,redirectUrl:t=>t.auth.redirectUrl,isGoogleAuthenticatorMFA:t=>t.auth.isGoogleAuthenticatorMFA,businessInvitationId:t=>t.business.businessInvitationId})},async created(){this.isTwoFactorRequired||(this.$router.push({name:"login"}),this.$store.dispatch("auth/setIsTwoFactorRequired",!1))},methods:{async resendMFACode(){this.isLoading=!0,this.isResendingMFACode=!0,await this.$store.dispatch("auth/resendMFACode"),this.$store.dispatch("app/setNotification","The code has been resent."),this.isLoading=!1,this.isResendingMFACode=!1},isDigitCodeLoading(t){this.isLoading=t},async handleSubmittedForm(){if(this.isAuthenticated){if(this.sendMixpanelEvent(this.eventsConstants.ACCOUNT_USER_LOGIN,{}),this.businessInvitationId)return this.$router.push({name:"confirm-invite",params:{id:this.businessInvitationId}});this.redirectUrl&&this.redirectUrl.length?window.location.assign(this.redirectUrl):this.$router.push({name:"home"})}},async cancelLogin(){await(0,u.mL)(),this.$store.dispatch("auth/setIsTwoFactorRequired",!1),this.$store.dispatch("auth/setRedirectUrl",""),this.$router.push({name:"home"})}}};const D=(0,b.A)(F,[["render",c]]);var y=D},70812:function(t,i,e){e.d(i,{A:function(){return g}});var n=e(95976),o=e(10160);const s={class:"ine-form__additional-links"},r=["href"];function a(t,i,e,a,d,c){return(0,n.uX)(),(0,n.CE)("div",s,[(0,n.Lk)("a",{class:"ine-form__additional-link",target:"_blank",rel:"noopener",href:`//${t.plansLink}`},(0,o.v_)(c.plansLabel),9,r),i[0]||(i[0]=(0,n.Lk)("a",{class:"ine-form__additional-link",target:"_blank",rel:"noopener",href:"//ine.com"},"INE.com",-1)),i[1]||(i[1]=(0,n.Lk)("a",{class:"ine-form__additional-link",target:"_blank",rel:"noopener",href:"//community.ine.com"},"INE Community",-1))])}var d=e(51449),c={name:"AdditionalLinks",props:{isTabletFooter:{type:Boolean,required:!1,default(){return!1}}},computed:{...(0,d.aH)({plansLink:t=>t.app.plansLink}),plansLabel(){return this.isTabletFooter?"Our plans":"Learn More About Our Plans"},checkoutUrl(){return"checkout.ine.com"}}},l=e(1169);const u=(0,l.A)(c,[["render",a]]);var g=u},77114:function(t,i,e){e.d(i,{A:function(){return g}});var n=e(95976),o=e(10160);const s={class:"ine-form__title-wrapper"},r=["innerHTML"],a={key:0,class:"ine-form__alert"};function d(t,i,e,d,c,l){return(0,n.uX)(),(0,n.CE)("div",s,[(0,n.Lk)("h2",{class:(0,o.C4)(["ine-form__title",!e.tagline&&"title--no-tagline"])},(0,o.v_)(e.header),3),(0,n.Lk)("p",{class:"ine-form__tagline",innerHTML:e.tagline},null,8,r),e.alert&&e.alert.length?((0,n.uX)(),(0,n.CE)("small",a,(0,o.v_)(e.alert),1)):(0,n.Q3)("",!0)])}var c={name:"Title",props:{header:{type:String,required:!0},tagline:{type:String,required:!1},alert:{type:String,required:!1}}},l=e(1169);const u=(0,l.A)(c,[["render",d],["__scopeId","data-v-1c9eddd1"]]);var g=u},91865:function(t,i,e){e.d(i,{A:function(){return c}});var n=e(95976);const o={width:"58",height:"58",viewBox:"0 0 58 58",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function s(t,i){return(0,n.uX)(),(0,n.CE)("svg",o,i[0]||(i[0]=[(0,n.Fv)('<rect width="58" height="58" rx="29" fill="#D3C9FA"></rect><path d="M20.019 23.914l-.05.029v10.076L15 36.964v-15.97l.05-.028 4.969 2.948zM28.575 39.02v5.896l-.1.06L15 36.983v-.019l4.97-2.944v.015l8.505 5.045.1-.06z" fill="#A793F6"></path><path d="M41.949 36.924v.06l-13.374 7.933V39.02l8.404-4.986v-.06l4.97 2.949z" fill="#A793F6"></path><path d="M41.949 20.998v15.925l-4.97-2.948V23.943l4.97-2.945z" fill="#A793F6"></path><path d="M41.949 20.995v.003l-4.97 2.945-8.404-4.987V13.06l13.374 7.935z" fill="#A793F6"></path><path d="M28.575 13.06v5.896l-.1-.06-8.456 5.018-4.97-2.948L28.476 13l.1.06z" fill="#A793F6"></path>',6)]))}var r=e(1169);const a={},d=(0,r.A)(a,[["render",s]]);var c=d}}]);

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.