trusted-setup-server/_nuxt/e33d27e735b8d7ed81d1.js

1 line
15 KiB
JavaScript
Raw Permalink Normal View History

2020-05-14 06:03:36 +02:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{370:function(t,e,n){"use strict";n(89),n(27),n(28),n(16),n(64),n(40),n(116),n(22);var o=n(48),r=n(65);function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={computed:l(l({},Object(r.c)("user",["isLoggedIn","hasErrorName"])),{},{userName:{get:function(){return this.$store.state.user.name},set:function(t){this.$store.commit("user/SET_NAME",t)}},userCompany:{get:function(){return this.$store.state.user.company},set:function(t){this.$store.commit("user/SET_COMPANY",t)}}}),methods:l(l({},Object(r.b)("user",["makeTweet","logInVia","logOut"])),{},{restrictSymbols:function(t){var e=new RegExp("[^0-9a-zA-Z\\x20]","g");this[t]=this[t].replace(e,"")}})},d=n(10),component=Object(d.a)(m,(function(){var t,e=this,n=e.$createElement,o=e._self._c||n;return o("div",{staticClass:"form"},[e.isLoggedIn?o("div",{staticClass:"fields"},[o("button",{staticClass:"button is-icon logout",on:{click:e.logOut}},[o("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"}},[o("path",{attrs:{fill:"#94febf",d:"M14.08,15.59L16.67,13H7V11H16.67L14.08,8.41L15.5,7L20.5,12L15.5,17L14.08,15.59M19,3A2,2 0 0,1 21,5V9.67L19,7.67V5H5V19H19V16.33L21,14.33V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19Z"}})])]),e._v(" "),o("b-field",{attrs:{type:{"is-danger":e.hasErrorName.invalid},message:(t={},t[e.hasErrorName.msg]=e.hasErrorName.invalid,t),label:"Name"}},[o("b-input",{attrs:{maxlength:"35"},on:{blur:function(t){return e.restrictSymbols("userName")}},model:{value:e.userName,callback:function(t){e.userName=t},expression:"userName"}})],1),e._v(" "),o("b-field",{attrs:{label:"Project"}},[o("b-input",{attrs:{maxlength:"35"},on:{blur:function(t){return e.restrictSymbols("userCompany")}},model:{value:e.userCompany,callback:function(t){e.userCompany=t},expression:"userCompany"}})],1)],1):o("div",{staticClass:"buttons"},[o("b-button",{attrs:{type:"is-primary",outlined:"",expanded:""},on:{click:function(t){return e.logInVia("twitter")}}},[e._v("\n Sign in with Twitter\n ")]),e._v(" "),o("b-button",{attrs:{type:"is-primary",outlined:"",expanded:""},on:{click:function(t){return e.logInVia("github")}}},[e._v("\n Sign in with Github\n ")])],1)])}),[],!1,null,null,null);e.a=component.exports},372:function(t,e,n){"use strict";n.r(e);n(89),n(27),n(28),n(64),n(23);var o=n(3),r=(n(22),n(48)),c=(n(29),n(30),n(117),n(16),n(65)),l=n(10),m=Object(l.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"cloak",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"147",height:"147"}},[e("path",{attrs:{fill:"#FFF","fill-opacity":".051","fill-rule":"evenodd",stroke:"#393939",d:"M121.872 93.745c-12.959 4.013-30.138 6.224-48.372 6.224-18.234 0-35.413-2.211-48.372-6.224C10.978 89.363 3.5 83.367 3.5 76.404c0-6.941 7.379-12.887 21.365-17.255V18.618c0-4.51 1.993-8.749 5.466-11.631a15.118 15.118 0 0 1 12.453-3.233c.055.01.109.022.162.035.23.057 23.042 5.727 30.554 5.727 7.515 0 30.324-5.67 30.553-5.727.054-.013.108-.025.162-.035a15.12 15.12 0 0 1 12.453 3.234 15.065 15.065 0 0 1 5.466 11.63v40.531C136.12 63.517 143.5 69.463 143.5 76.404c0 6.963-7.479 12.959-21.628 17.341zm-5.215-75.127a9.619 9.619 0 0 0-3.489-7.424 9.65 9.65 0 0 0-7.873-2.078c-1.801.448-23.78 5.869-31.795 5.869S43.505 9.564 41.704 9.116a9.644 9.644 0 0 0-7.872 2.078 9.615 9.615 0 0 0-3.489 7.424v21.033c11.728 2.946 26.415 4.56 41.652 4.56 8.92 0 17.57-.538 25.712-1.599a2.735 2.735 0 0 1 .709 5.423c-