PageSourceSearch

https://tinyurl.com/js/chunks/3524.a167652fcd16b97c.js

js tinyurl.com collected 2026-09-24 05:21:09 UTC 12,260 bytes, 2 lines download raw bytes

1/*! For license information please see 3524.a167652fcd16b97c.js.LICENSE.txt */
2"use strict";(self.webpackChunktinyurl=self.webpackChunktinyurl||[]).push([[3524],{38866(t,e,r){r.d(e,{D:()=>u,d:()=>s});var n=r(70305),o=r(37624),i=["110100","110110","110200","110420","110430","110500","110510","200010","200100","11060","11062","100","102","103","104","105","106","120","300","600"];function a(t,e){var r=e?"generic_captcha_error":"shorten_captcha_error";if(i.includes(t))return n.A.t("".concat(r,"_").concat(t));var a=t.slice(0,5);if(i.includes(a))return n.A.t("".concat(r,"_").concat(a));var s=t.slice(0,3),u=i.includes(s);return(0,o.uy)(u)?n.A.t("".concat(r,"_default")):n.A.t("".concat(r,"_").concat(s))}function s(t){if((0,o.uy)(t))return n.A.t("shorten_captcha_error_default");return a(t,!1)}function u(t){if((0,o.uy)(t))return n.A.t("generic_captcha_error_default");return a(t,!0)}},19588(t,e,r){r.d(e,{A:()=>i});var n=r(76798),o=r.n(n)()(function(t){return t[1]});o.push([t.id,".login-widget[data-v-740d113f]{display:flex;flex-flow:column;height:100%;justify-content:center}.login-widget__title[data-v-740d113f]{font-size:2.5rem;font-weight:700;margin-bottom:.625rem}.login-widget__sub-title[data-v-740d113f]{font-size:1rem;font-weight:500;margin-bottom:0}.login-widget__captcha-wrapper[data-v-740d113f]{height:calc(65px + 1.25rem);max-width:350px}.login-widget__form-forgot-password[data-v-740d113f],.login-widget__sub-title-link[data-v-740d113f]{font-size:1rem;font-weight:600}.collapse-enter-active[data-v-740d113f],.collapse-leave-active[data-v-740d113f]{transition:max-height .75s ease,opacity 1s ease}.collapse-enter[data-v-740d113f],.collapse-leave-to[data-v-740d113f]{max-height:0;opacity:0}
2.collapse-enter-to[data-v-740d113f],.collapse-leave[data-v-740d113f]{max-height:calc(65px + 1.25rem);opacity:1}",""]);const i=o},3524(t,e,r){r.r(e),r.d(e,{default:()=>S});var n=r(85471),o=r(95353),i=r(37624),a=r(62852),s=r(90462),u=r(50317),l=r(38866);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}var f=["container"];function d(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var u=n&&n.prototype instanceof s?n:s,l=Object.create(u.prototype);return p(l,"_invoke",function(r,n,o){var i,s,u,l=0,c=o||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,r){return i=e,s=0,u=t,d.n=r,a}};function p(r,n){for(s=r,u=n,e=0;!f&&l&&!o&&e<c.length;e++){var o,i=c[e],p=d.p,h=i[2];r>3?(o=h===n)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=r<2&&p<i[1])?(s=0,d.v=n,d.n=i[1]):p<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,d.n=h,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,c,h){if(l>1)throw TypeError("Generator is already running");for(f&&1===c&&p(c,h),s=c,u=h;(e=s<2?t:u)||!f;){i||(s?s<3?(s>1&&(d.n=-1),p(s,u)):d.n=u:d.v=u);try{if(l=2,i){if(s||(o="next"),e=i[o]){if(!(e=e.call(i,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,s<2&&(s=0)}else 1===s&&(e=i.return)&&e.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=t}else if((e=(f=d.n<0)?u:r.call(n,d))!==a)break}catch(e){i=t,s=1,u=e}finally{l=1}}return{value:e,done:f}}}(r,o,i),!0),l}var a={};function s(){}function u(){}function l(){}e=Object.getPrototypeOf;var c=[][n]?e(e([][n]())):(p(e={},n,function(){return this}),e),f=l.prototype=s.prototype=Object.create(c);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,p(t,o,"GeneratorFunction")),t.prototype=Object.create(f),t}return u.prototype=l,p(f,"constructor",l),p(l,"constructor",u),u.displayName="GeneratorFunction",p(l,o,"GeneratorFunction"),p(f),p(f,o,"Generator"),p(f,n,function(){return this}),p(f,"toString",function(){return"[object Generator]"}),(d=function(){return{w:i,m:h}})()}function p(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}p=function(t,e,r,n){function i(e,r){p(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},p(t,e,r,n)}function h(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){h(i,n,o,a,s,"next",t)}function s(t){h(i,n,o,a,s,"throw",t)}a(void 0)})}}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach(function(e){m(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function m(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const y={name:"LoginWidget",components:{TuLoginForm:i.R6},mixins:[u.A],setup:function(){var t=(0,a.vz)(),e=t.getSsoButtons,r=t.login,n=t.forwardableQueryParams,o=(0,a.ef)(),s=o.getSiteKey,u=o.isAntiRobotWhitelisted,l=(0,i.A$)(s.value,u.value),c=l.container,d=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],-1===e.indexOf(r)&&{}.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(l,f),p=(0,a.Bd)().translate,h=(0,a.GP)({email:void 0,password:void 0});return{login:r,translate:p,container:c,turnstile:d,getSsoButtons:e,errorMessages:h.state,processErrors:h.processErrors,purgeErrorState:h.purgeState,areErrorsProcessable:h.areErrorsProcessable,forwardableQueryParams:n}},data:function(){return{request:void 0,ssoButtons:void 0,isLoading:!1,formError:void 0}},computed:b(b({},(0,o.L8)(["isUserVerifiedOrSubscribed"])),{},{formProps:function(){var t={emailLabel:this.translate("auth_labels.email"),emailInputPlaceholder:this.translate("auth_labels.enter_email"),passwordLabel:this.translate("auth_labels.password"),passwordInputPlaceholder:this.translate("auth_labels.enter_password"),loginLabel:this.translate("navbar.login_text")};return{ssoButtons:this.ssoButtons,isKeepLoggedInLabel:this.translate("auth_labels.keep_logged_in"),upperDividerLabel:this.translate("auth_labels.upper_divider"),lowerDividerLabel:this.translate("auth_labels.lower_divider"),formLabels:t,emailCopyError:this.errorMessages.email,passwordCopyError:this.errorMessages.password,error:this.formError,isLoading:this.isLoading||this.turnstile.isChallenging.value}}}),created:function(){this.ssoButtons=this.getSsoButtons(this.forwardableQueryParams)},mounted:function(){this.configureTurnstile()},methods:{buildLoginRequest:function(t){return{email:t.email,password:t.password,remember:t.isKeepLoggedIn?"yes":"",captcha_token:void 0}},onLogin:function(t){this.isLoading||this.turnstile.isChallenging.value||(this.turnstile.isReady.value?(this.purgeErrorState(),this.isLoading=!0,this.formError=void 0,this.request=this.buildLoginRequest(t),this.turnstile.challenge(
2)):this.setErrorMessage((0,l.D)()))},onCaptchaVerify:function(t){this.request.captcha_token=t,this.doLogin()},onCaptchaFail:function(t){this.setErrorMessage((0,l.D)(t)),this.isLoading=!1},onUnrecoverableCaptchaError:function(){this.setErrorMessage((0,l.D)()),this.isLoading=!1},onRecoverableCaptchaError:function(){this.setErrorMessage((0,l.D)()),this.isLoading=!1},configureTurnstile:function(){var t={"challenge-success":this.onCaptchaVerify,"challenge-error":this.onCaptchaFail,"recoverable-error":this.onRecoverableCaptchaError,"unrecoverable-error":this.onUnrecoverableCaptchaError};this.turnstile.eventBus.on(function(e,r){var n;return null===(n=t[e])||void 0===n?void 0:n.call(t,r)}),this.turnstile.initialize()},setErrorMessage:function(t){var e=this;this.formError=null,(0,n.nextTick)(function(){e.formError=t})},doLogin:function(){var t=this;return g(d().m(function e(){var r,n,o,i;return d().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,t.login(t.request);case 1:return e.n=2,t.onAfterLogin();case 2:e.n=5;break;case 3:if(e.p=3,i=e.v,n=i.response,o=null==n||null===(r=n.data)||void 0===r?void 0:r.errors,!t.areErrorsProcessable(o)){e.n=4;break}return t.processErrors(o),e.a(2);case 4:t.handleLoginException(n);case 5:return e.p=5,t.isLoading=!1,e.f(5);case 6:return e.a(2)}},e,null,[[0,3,5,6]])}))()},onAfterLogin:function(){var t=this;return g(d().m(function e(){var r,n;return d().w(function(e){for(;;)switch(e.n){case 0:return r=t.getLoginSubscription(),n=t.$route.query.to,e.n=1,t.refreshState();case 1:localStorage.setItem("isBfcmPromoVisible",!t.isUserSubscribed),localStorage.setItem("stateStatus",!0),(0,i.uy)(r)?(0,i.uy)(n)?t.isUserVerifiedOrSubscribed?t.$router.push({name:"homepage"}):t.$router.push({name:"email_verify"}):t.$router.push({path:t.$route.query.to}):t.handleSubscription(r);case 2:return e.a(2)}},e)}))()},handleSubscription:function(t){if(!this.isUserSubscribed)return this.$router.push({name:"homepage"}),void this.subscribe(t,this.$route.query.coupon);Bus.$emit("showModal",s.default,{title:"You're already subscribed",message:"Please choose plan to switch to",type:"warning"}),this.$router.push({name:"settings.subscription"})},handleLoginException:function(t){var e;switch(null==t?void 0:t.status){case 451:this.errorMessages.email=this.$t("account_terminated");break;case 422:this.processErrors(null==t||null===(e=t.data)||void 0===e?void 0:e.errors);break;case 428:this.$router.push({name:"login.2FA.verify",query:this.forwardableQueryParams});break;default:this.formError=this.$t("something_went_wrong")}},getLoginSubscription:function(){var t=this.$route.query.subscription,e=this.$route.query.interval;if(!((0,i.uy)(t)||(0,i.uy)(this.subscriptionsForActiveInterval)||(0,i.uy)(e)))return this.billingPeriod=e,this.subscriptionsForActiveInterval.find(function(e){return e.name===t})}}};var _=r(85072),w=r.n(_),O=r(19588),P={insert:"head",singleton:!1};w()(O.A,P);O.A.locals;const S=(0,r(14486).A)(y,function(){var t=this,e=t._self._c;return e("section",{staticClass:"login-widget",attrs:{"data-test-id":"login-widget","aria-labelledby":"login-widget-title"}},[e("h1",{staticClass:"login-widget__title",attrs:{id:"login-widget-title"}},[t._v("\n    "+t._s(t.translate("login_page.title"))+"\n  ")]),t._v(" "),e("p",{staticClass:"login-widget__sub-title"},[t._v("\n    "+t._s(t.translate("login_page.sub_title"))+"\n    "),e("router-link",{staticClass:"tu-primary-link login-widget__sub-title-link",attrs:{"data-test-id":"login-widget-register-link",to:{name:"register",query:t.forwardableQueryParams}}},[t._v("\n      "+t._s(t.translate("login_page.sign_up_link"))+"\n    ")])],1),t._v(" "),e("TuLoginForm",t._b({staticClass:"login-widget__form",on:{login:t.onLogin},scopedSlots:t._u([{key:"forgot-password",fn:function(){return[e("router-link",{staticClass:"tu-primary-link login-widget__form-forgot-password",attrs:{"data-test-id":"login-widget-forgot-password-link",to:{name:"reset_request"}}},[t._v("\n        "+t._s(t.translate("login_page.forgot_link"))+"\n      ")])]},proxy:!0},{key:"captcha",fn:function(){return[e("transition",{attrs:{name:"collapse"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.turnstile.isVisible.value,expression:"turnstile.isVisible.value"}],ref:"container",staticClass:"login-widget__captcha-wrapper"})])]},proxy:!0}])},"TuLoginForm",t.formProps,!1))],1)},[],!1,null,"740d113f",null).exports}}]);

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.