-
Notifications
You must be signed in to change notification settings - Fork 0
/
89-es5.793ce49ff5ccc259271a.js
1 lines (1 loc) · 1.75 KB
/
89-es5.793ce49ff5ccc259271a.js
1
!function(){"use strict";function n(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function t(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}(self.webpackChunklto_erc20_token_frontend=self.webpackChunklto_erc20_token_frontend||[]).push([[89],{19089:function(e,r,o){o.r(r),o.d(r,{LoginModule:function(){return p}});var c,i=o(99763),a=o(51095),u=o(8239),l=o(37716),s=o(68011),f=[{path:"",component:(c=function(){function e(t,r){n(this,e),this.router=t,this.walletService=r}var r,o,c;return r=e,(o=[{key:"connect",value:function(){var n=this;return(0,u.Z)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.walletService.connect();case 2:n.router.navigate([""],{skipLocationChange:!0});case 3:case"end":return t.stop()}},t)}))()}}])&&t(r.prototype,o),c&&t(r,c),e}(),c.\u0275fac=function(n){return new(n||c)(l.Y36(i.F0),l.Y36(s.X))},c.\u0275cmp=l.Xpm({type:c,selectors:[["login"]],decls:3,vars:0,consts:[["id","login"],["mat-flat-button","","color","primary",3,"click"]],template:function(n,t){1&n&&(l.TgZ(0,"div",0),l.TgZ(1,"button",1),l.NdJ("click",function(){return t.connect()}),l._uU(2," \ud83d\udd13 Unlock Wallet "),l.qZA(),l.qZA())},directives:[a.lW],styles:["#login[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 256px)}button[_ngcontent-%COMP%]{min-width:200px;min-height:60px;font-size:large}"]}),c)}],p=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({providers:[],imports:[[i.Bz.forChild(f),a.ot]]}),t}()}}])}();