PageSourceSearch

https://app.setlistory.com/6527.9a76b02b4a8d2a2b.js

js setlistory.com collected 2026-10-01 14:29:13 UTC 6,943 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6527],{6527:(S,f,t)=>{t.r(f),t.d(f,{LoginPage:()=>x});var r=t(5861),e=t(9127),v=t(1972),M=t(2333),m=t(3251),P=t(2548),_=t(8009),d=t(3999),C=t(8085),O=t(8217),a=t(6223),L=t(9567),E=t(8890),u=t(5602),p=t(10),D=t(5547);function A(l,b){if(1&l){const n=e.EpF();e.TgZ(0,"div",13)(1,"span"),e._uU(2),e.ALo(3,"translate"),e.qZA()(),e.TgZ(4,"ion-item",14)(5,"ion-button",15),e.NdJ("click",function(){e.CHM(n);const o=e.oxw();return e.KtG(o.doGoogleLogin())}),e._UZ(6,"ion-icon",16),e._uU(7),e.ALo(8,"translate"),e.qZA()()}2&l&&(e.xp6(2),e.Oqu(e.lcZ(3,2,"or")),e.xp6(5),e.hij(" ",e.lcZ(8,4,"Continue with Google")," "))}const T=()=>["/forgot-password"],Z=()=>["/register"];let x=(()=>{class l{constructor(n){this.platform=n,this.user={email:"",password:""},this.authService=(0,e.f3M)(M.e),this.alertService=(0,e.f3M)(m.c),this.loadingService=(0,e.f3M)(P.b),this.networkService=(0,e.f3M)(_.S),this.translate=(0,e.f3M)(d.sK),this.title=(0,e.f3M)(C.y),this.publicResizeService=(0,e.f3M)(O.M);const i=this.translate.instant("Login"),o=this.translate.instant("Login to your Setlistory account and start creating setlists.");this.title.init(i,o),(0,L.d)({logoGoogle:E.logoGoogle})}ionViewDidEnter(){this.publicResizeService.setHeight()}login(){var n=this;return(0,r.Z)(function*(){if(n.networkService.getCurrentNetworkStatus()===_.Q.offline)return n.alertService.show([n.translate.instant("No internet connection")],"danger",2e3),!1;yield n.loadingService.show("login"),n.authService.login(n.user).subscribe((0,r.Z)(function*(){n.authService.getCurrentUser().then(function(){var i=(0,r.Z)(function*(o){yield n.authService.addToTokens(o),n.loadingService.hide("login"),window.location.reload()});return function(o){return i.apply(this,arguments)}}())}),function(){var i=(0,r.Z)(function*(o){n.loadingService.hide("login"),n.alertService.show(o.error,"danger")});return function(o){return i.apply(this,arguments)}}())})()}doGoogleLogin(){var n=this;return(0,r.Z)(function*(){if(n.networkService.getCurrentNetworkStatus()===_.Q.offline)return n.alertService.show([n.translate.instant("No internet connection")],"danger",2e3),!1;let o={login_type:"google",id_token:(yield p.J.login({provider:"google",options:{scopes:["profile","email"],forceRefreshToken:!0}})).result.idToken};yield n.loadingService.show("googleLogin"),n.authService.externalLogin(o).subscribe(function(){var s=(0,r.Z)(function*(g){p.J.logout({provider:"google"}),n.authService.getCurrentUser().then(function(){var c=(0,r.Z)(function*(h){yield n.authService.addToTokens(h),n.loadingService.hide("googleLogin"),window.location.reload()});return function(h){return c.apply(this,arguments)}}())});return function(g){return s.apply(this,arguments)}}(),function(){var s=(0,r.Z)(function*(g){p.J.logout({provider:"google"}),n.loadingService.hide("googleLogin"),n.alertService.show(g.error,"danger")});return function(g){return s.apply(this,arguments)}}())})()}doAppleLogin(){if(this.networkService.getCurrentNetworkStatus()===_.Q.offline)return this.alertService.show([this.translate.instant("No internet connection")],"danger",2e3),!1}static{this.\u0275fac=function(i){return new(i||l)(e.Y36(D.t4))}}static{this.\u0275cmp=e.Xpm({type:l,selectors:[["app-login"]],standalone:!0,features:[e.jDz],decls:33,vars:41,consts:[[1,"publicContainer"],["name","form",1,"custom-form",3,"ngSubmit"],["f","ngForm"],["lines","none"],["id","email","type","email","name","email","label-placement","stacked","required","",3,"ngModel","label","placeholder","ngModelChange"],["email","ngModel"],["id","password","type","password","name","password","label-placement","stacked","required","",3,"ngModel","label","placeholder","ngModelChange"],["password","ngModel"],[1,"ion-text-right","pt-2"],[1,"small-text","py-3",3,"routerLink","title"],["type","submit",1,"btn","bg-red","taller",3,"disabled"],[1,"ion-text-center"],[3,"routerLink","title"],[1,"loginDivider"],["lines","none",1,"ion-no-margin"],[1,"mx-auto","google",3,"click"],["name","logo-google",1,"ion-margin-end"]],template:function(i,o){if(1&i){const s=e.EpF();e.TgZ(0,"div",0)(1,"h1"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"form",1,2),e.NdJ("ngSubmit",function(){e.CHM(s);const c=e.MAs(5);return e.KtG(c.form.valid&&o.login())}),e.TgZ(6,"ion-item",3)(7,"ion-input",4,5),e.NdJ("ngModelChange",function(c){return o.user.email=c}),e.ALo(9,"translate"),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"ion-item",3)(12,"ion-input",6,7),e.NdJ("ngModelChange",function(c){return o.user.password=c}),e.ALo(14,"translate"),e.ALo(15,"translate"),e.qZA()(),e.TgZ(16,"div",8)(17,"a",9),e.ALo(18,"translate"),e._uU(19),e.ALo(20,"translate"),e.qZA()(),e.TgZ(21,"ion-item",3)(22,"ion-button",10),e._uU(23),e.ALo(24,"translate"),e.qZA()(),e.YNc(25,A,9,6),e.TgZ(26,"p",11),e._uU(27),e.ALo(28,"translate"),e.TgZ(29,"a",12),e.ALo(30,"translate"),e._uU(31),e.ALo(32,"translate"),e.qZA()()()()}if(2&i){const s=e.MAs(5);
1e.xp6(2),e.Oqu(e.lcZ(3,17,"Login")),e.xp6(5),e.MGl("label","",e.lcZ(9,19,"E-mail")," *"),e.s9C("placeholder",e.lcZ(10,21,"Input your email here")),e.Q6J("ngModel",o.user.email),e.xp6(5),e.MGl("label","",e.lcZ(14,23,"Password")," *"),e.s9C("placeholder",e.lcZ(15,25,"Type in your password")),e.Q6J("ngModel",o.user.password),e.xp6(5),e.s9C("title",e.lcZ(18,27,"Forgot password")),e.Q6J("routerLink",e.DdM(39,T)),e.xp6(2),e.Oqu(e.lcZ(20,29,"Forgot password?")),e.xp6(3),e.Q6J("disabled",!s.form.valid),e.xp6(1),e.Oqu(e.lcZ(24,31,"Login")),e.xp6(2),e.um2(25,o.platform.is("ios")?-1:25),e.xp6(2),e.hij("",e.lcZ(28,33,"Don't have an account"),"? "),e.xp6(2),e.s9C("title",e.lcZ(30,35,"Sign up")),e.Q6J("routerLink",e.DdM(40,Z)),e.xp6(2),e.Oqu(e.lcZ(32,37,"Sign up"))}},dependencies:[a.u5,a._Y,a.JJ,a.JL,a.Q7,a.On,a.F,u.gu,u.YG,u.Ie,u.pK,v.rH,d.aw,d.X$],styles:['.apple[_ngcontent-%COMP%], .google[_ngcontent-%COMP%]{max-width:100%;height:40px;font-size:16px;line-height:16px;margin-bottom:10px;box-shadow:none}.apple[_ngcontent-%COMP%]:hover, .google[_ngcontent-%COMP%]:hover{box-shadow:none}.google[_ngcontent-%COMP%]{background-color:#fff;--background: #ffffff;border:1px solid #d4deef;color:#3e75cf}.google[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{color:#464646}.apple[_ngcontent-%COMP%]{background-color:#000;--background: #000}.ion-no-margin[_ngcontent-%COMP%]{margin:0!important}ion-button[_ngcontent-%COMP%]{margin-bottom:0}.loginDivider[_ngcontent-%COMP%]{line-height:0;text-align:center;margin-top:30px;margin-bottom:30px;color:var(--ion-text-color);position:relative;opacity:.5}.loginDivider[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before, .loginDivider[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:after{content:"";position:absolute;height:1px;border-bottom:1px solid var(--ion-text-color);top:0;width:45%}.loginDivider[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before{left:0}.loginDivider[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:after{right:0}']})}}return l})()}}]);

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.