BAEL-797 Disabling csrf on the logout link as it was creating problems with the csrf token not being updated correctly.

This commit is contained in:
tschiman 2017-04-16 21:35:09 -06:00
parent ff457a96b5
commit ae7a684d99
12 changed files with 580 additions and 531 deletions

View File

@ -15,7 +15,7 @@
</form>
</ng-template>
<ng-template #loginMessage>
<button type="button" class="btn btn-link">Logout</button>
<button type="button" class="btn btn-link" (click)="onLogout()">Logout</button>
</ng-template>
<div *ngIf="loginFailed">
<div class="alert alert-warning">Login Failed</div>
@ -29,5 +29,4 @@
<h1>Book Rater App</h1>
<p class="lead">Keep track of all the latest books and their ratings.</p>
</div>
</div>

View File

@ -1,21 +1,23 @@
import {Component, OnInit} from "@angular/core";
import {NgForm} from "@angular/forms";
import {RequestOptions, Http, Response, Headers} from "@angular/http";
import "rxjs/Rx";
import {Component} from "@angular/core";
import {Principal} from "./principal";
import {Response, RequestOptions, Headers, Http} from "@angular/http";
import {Observable} from "rxjs";
import {NgForm} from "@angular/forms";
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit{
export class AppComponent {
credentials = {
username: '',
password: ''
};
private username: String = '';
private password: String = '';
principal: Principal = new Principal(false, []);
loginFailed: boolean = false;
@ -29,6 +31,9 @@ export class AppComponent implements OnInit{
onLogin(form: NgForm) {
this.loginFailed = false;
let headers = new Headers({'Content-Type': 'application/json'});
this.username = form.value.username;
this.password = form.value.password;
headers.append('Authorization','Basic ' + btoa(form.value.username + ':' + form.value.password));
headers.append('X-Requested-With','XMLHttpRequest');
let options = new RequestOptions({headers: headers});
@ -47,4 +52,24 @@ export class AppComponent implements OnInit{
this.principal = principal;
});
}
onLogout() {
let headers = new Headers({'Content-Type': 'application/json'});
headers.append('Authorization','Basic ' + btoa(this.username + ':' + this.password));
headers.append('X-Requested-With','XMLHttpRequest');
let options = new RequestOptions({headers: headers});
this.http.post("/logout", '', options)
.catch((error: Response) => {
console.log(error);
return Observable.throw(error);
})
.subscribe((response: Response) => {
if (response.status === 204) {
this.loginFailed = false;
this.credentials.username = '';
this.credentials.password = '';
this.principal = new Principal(false, []);
}
});
}
}

View File

@ -35,11 +35,10 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/eureka/**").hasRole("ADMIN")
.anyRequest().authenticated()
.and()
.logout().permitAll()
.logoutSuccessUrl("/").permitAll()
.logout()
.and()
.addFilterAfter(new CsrfHeaderFilter(), CsrfFilter.class)
.csrf().csrfTokenRepository(csrfTokenRepository());
.csrf().csrfTokenRepository(csrfTokenRepository()).ignoringAntMatchers("/logout");
}
private CsrfTokenRepository csrfTokenRepository() {

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
webpackJsonp([1,4],{
/***/ 197:
/***/ 196:
/***/ (function(module, exports) {
function webpackEmptyContext(req) {
@ -9,20 +9,20 @@ function webpackEmptyContext(req) {
webpackEmptyContext.keys = function() { return []; };
webpackEmptyContext.resolve = webpackEmptyContext;
module.exports = webpackEmptyContext;
webpackEmptyContext.id = 197;
webpackEmptyContext.id = 196;
/***/ }),
/***/ 198:
/***/ 197:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__ = __webpack_require__(203);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__(209);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__environments_environment__ = __webpack_require__(211);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__ = __webpack_require__(202);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__(208);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__environments_environment__ = __webpack_require__(210);
@ -35,17 +35,15 @@ __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dyna
/***/ }),
/***/ 208:
/***/ 207:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_http__ = __webpack_require__(102);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_Rx__ = __webpack_require__(161);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_Rx___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_Rx__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__principal__ = __webpack_require__(210);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs__ = __webpack_require__(161);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__principal__ = __webpack_require__(209);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_http__ = __webpack_require__(102);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs__ = __webpack_require__(269);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@ -60,7 +58,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
var AppComponent = (function () {
function AppComponent(http) {
this.http = http;
@ -68,7 +65,9 @@ var AppComponent = (function () {
username: '',
password: ''
};
this.principal = new __WEBPACK_IMPORTED_MODULE_3__principal__["a" /* Principal */](false, []);
this.username = '';
this.password = '';
this.principal = new __WEBPACK_IMPORTED_MODULE_1__principal__["a" /* Principal */](false, []);
this.loginFailed = false;
}
AppComponent.prototype.ngOnInit = function () {
@ -76,10 +75,12 @@ var AppComponent = (function () {
AppComponent.prototype.onLogin = function (form) {
var _this = this;
this.loginFailed = false;
var headers = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["b" /* Headers */]({ 'Content-Type': 'application/json' });
var headers = new __WEBPACK_IMPORTED_MODULE_2__angular_http__["b" /* Headers */]({ 'Content-Type': 'application/json' });
this.username = form.value.username;
this.password = form.value.password;
headers.append('Authorization', 'Basic ' + btoa(form.value.username + ':' + form.value.password));
headers.append('X-Requested-With', 'XMLHttpRequest');
var options = new __WEBPACK_IMPORTED_MODULE_1__angular_http__["c" /* RequestOptions */]({ headers: headers });
var options = new __WEBPACK_IMPORTED_MODULE_2__angular_http__["c" /* RequestOptions */]({ headers: headers });
this.http.get("/me", options)
.map(function (response) { return response.json(); })
.catch(function (error) {
@ -87,23 +88,43 @@ var AppComponent = (function () {
_this.loginFailed = true;
}
console.log(error);
return __WEBPACK_IMPORTED_MODULE_4_rxjs__["Observable"].throw(error);
return __WEBPACK_IMPORTED_MODULE_3_rxjs__["Observable"].throw(error);
})
.map(function (data) { return new __WEBPACK_IMPORTED_MODULE_3__principal__["a" /* Principal */](data.authenticated, data.authorities); })
.map(function (data) { return new __WEBPACK_IMPORTED_MODULE_1__principal__["a" /* Principal */](data.authenticated, data.authorities); })
.subscribe(function (principal) {
console.log(principal);
_this.principal = principal;
});
};
AppComponent.prototype.onLogout = function () {
var _this = this;
var headers = new __WEBPACK_IMPORTED_MODULE_2__angular_http__["b" /* Headers */]({ 'Content-Type': 'application/json' });
headers.append('Authorization', 'Basic ' + btoa(this.username + ':' + this.password));
headers.append('X-Requested-With', 'XMLHttpRequest');
var options = new __WEBPACK_IMPORTED_MODULE_2__angular_http__["c" /* RequestOptions */]({ headers: headers });
this.http.post("/logout", '', options)
.catch(function (error) {
console.log(error);
return __WEBPACK_IMPORTED_MODULE_3_rxjs__["Observable"].throw(error);
})
.subscribe(function (response) {
if (response.status === 204) {
_this.loginFailed = false;
_this.credentials.username = '';
_this.credentials.password = '';
_this.principal = new __WEBPACK_IMPORTED_MODULE_1__principal__["a" /* Principal */](false, []);
}
});
};
return AppComponent;
}());
AppComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["D" /* Component */])({
selector: 'app-root',
template: __webpack_require__(268),
styles: [__webpack_require__(266)]
template: __webpack_require__(267),
styles: [__webpack_require__(265)]
}),
__metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1__angular_http__["d" /* Http */]) === "function" && _a || Object])
__metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2__angular_http__["d" /* Http */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__angular_http__["d" /* Http */]) === "function" && _a || Object])
], AppComponent);
var _a;
@ -111,7 +132,7 @@ var _a;
/***/ }),
/***/ 209:
/***/ 208:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -119,8 +140,8 @@ var _a;
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(23);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_http__ = __webpack_require__(102);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(208);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ng_bootstrap_ng_bootstrap__ = __webpack_require__(206);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(207);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ng_bootstrap_ng_bootstrap__ = __webpack_require__(205);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@ -159,7 +180,7 @@ AppModule = __decorate([
/***/ }),
/***/ 210:
/***/ 209:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -192,7 +213,7 @@ var Authority = (function () {
/***/ }),
/***/ 211:
/***/ 210:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -209,7 +230,7 @@ var environment = {
/***/ }),
/***/ 266:
/***/ 265:
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(50)();
@ -227,17 +248,17 @@ module.exports = module.exports.toString();
/***/ }),
/***/ 268:
/***/ 267:
/***/ (function(module, exports) {
module.exports = "<nav class=\"navbar navbar-toggleable-md navbar-inverse fixed-top bg-inverse\">\n <button class=\"navbar-toggler navbar-toggler-right\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n <a class=\"navbar-brand\" href=\"#\">Book Rater</a>\n <div class=\"collapse navbar-collapse\" id=\"navbarCollapse\">\n <ul class=\"navbar-nav mr-auto\">\n </ul>\n <div *ngIf=\"!principal.authenticated; then loginForm else loginMessage\"></div>\n <ng-template #loginForm>\n <form (ngSubmit)=\"onLogin(f)\" class=\"form-inline mt-2 mt-md-0\" #f=\"ngForm\">\n <input name=\"username\" [(ngModel)]=\"credentials.username\" required class=\"form-control mr-sm-2\" type=\"text\" placeholder=\"Username\">\n <input name=\"password\" [(ngModel)]=\"credentials.password\" required class=\"form-control mr-sm-2\" type=\"password\" placeholder=\"Password\">\n <button class=\"btn btn-outline-success my-2 my-sm-0\" type=\"submit\" [disabled]=\"!f.valid\">Login</button>\n </form>\n </ng-template>\n <ng-template #loginMessage>\n <button type=\"button\" class=\"btn btn-link\">Logout</button>\n </ng-template>\n <div *ngIf=\"loginFailed\">\n <div class=\"alert alert-warning\">Login Failed</div>\n </div>\n\n </div>\n</nav>\n\n<div class=\"container\">\n <div class=\"jumbotron\">\n <h1>Book Rater App</h1>\n <p class=\"lead\">Keep track of all the latest books and their ratings.</p>\n </div>\n\n</div>\n"
module.exports = "<nav class=\"navbar navbar-toggleable-md navbar-inverse fixed-top bg-inverse\">\n <button class=\"navbar-toggler navbar-toggler-right\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">\n <span class=\"navbar-toggler-icon\"></span>\n </button>\n <a class=\"navbar-brand\" href=\"#\">Book Rater</a>\n <div class=\"collapse navbar-collapse\" id=\"navbarCollapse\">\n <ul class=\"navbar-nav mr-auto\">\n </ul>\n <div *ngIf=\"!principal.authenticated; then loginForm else loginMessage\"></div>\n <ng-template #loginForm>\n <form (ngSubmit)=\"onLogin(f)\" class=\"form-inline mt-2 mt-md-0\" #f=\"ngForm\">\n <input name=\"username\" [(ngModel)]=\"credentials.username\" required class=\"form-control mr-sm-2\" type=\"text\" placeholder=\"Username\">\n <input name=\"password\" [(ngModel)]=\"credentials.password\" required class=\"form-control mr-sm-2\" type=\"password\" placeholder=\"Password\">\n <button class=\"btn btn-outline-success my-2 my-sm-0\" type=\"submit\" [disabled]=\"!f.valid\">Login</button>\n </form>\n </ng-template>\n <ng-template #loginMessage>\n <button type=\"button\" class=\"btn btn-link\" (click)=\"onLogout()\">Logout</button>\n </ng-template>\n <div *ngIf=\"loginFailed\">\n <div class=\"alert alert-warning\">Login Failed</div>\n </div>\n\n </div>\n</nav>\n\n<div class=\"container\">\n <div class=\"jumbotron\">\n <h1>Book Rater App</h1>\n <p class=\"lead\">Keep track of all the latest books and their ratings.</p>\n </div>\n</div>\n"
/***/ }),
/***/ 537:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(198);
module.exports = __webpack_require__(197);
/***/ })

File diff suppressed because one or more lines are too long

View File

@ -23,7 +23,7 @@ var ctx = __webpack_require__(36)
, IObject = __webpack_require__(84)
, toObject = __webpack_require__(93)
, toLength = __webpack_require__(92)
, asc = __webpack_require__(217);
, asc = __webpack_require__(216);
module.exports = function(TYPE, $create){
var IS_MAP = TYPE == 1
, IS_FILTER = TYPE == 2
@ -71,9 +71,9 @@ var dP = __webpack_require__(26).f
, anInstance = __webpack_require__(79)
, defined = __webpack_require__(82)
, forOf = __webpack_require__(45)
, $iterDefine = __webpack_require__(227)
, step = __webpack_require__(229)
, setSpecies = __webpack_require__(235)
, $iterDefine = __webpack_require__(226)
, step = __webpack_require__(228)
, setSpecies = __webpack_require__(234)
, DESCRIPTORS = __webpack_require__(29)
, fastKey = __webpack_require__(47).fastKey
, SIZE = DESCRIPTORS ? '_s' : 'size';
@ -262,7 +262,7 @@ exports.f = Object.getOwnPropertySymbols;
var has = __webpack_require__(17)
, toIObject = __webpack_require__(91)
, arrayIndexOf = __webpack_require__(215)(false)
, arrayIndexOf = __webpack_require__(214)(false)
, IE_PROTO = __webpack_require__(89)('IE_PROTO');
module.exports = function(object, names){
@ -366,10 +366,10 @@ module.exports = function(it, key){
/***/ 18:
/***/ (function(module, exports, __webpack_require__) {
var Map = __webpack_require__(238)
var Map = __webpack_require__(237)
, $export = __webpack_require__(8)
, shared = __webpack_require__(90)('metadata')
, store = shared.store || (shared.store = new (__webpack_require__(254)));
, store = shared.store || (shared.store = new (__webpack_require__(253)));
var getOrCreateMetadataMap = function(target, targetKey, create){
var targetMetadata = store.get(target);
@ -437,14 +437,14 @@ $exports.store = store;
/***/ }),
/***/ 199:
/***/ 198:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__ = __webpack_require__(212);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__ = __webpack_require__(211);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__ = __webpack_require__(213);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__ = __webpack_require__(212);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_core_js_es7_reflect__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__ = __webpack_require__(536);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_zone_js_dist_zone__);
@ -463,47 +463,47 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/***/ }),
/***/ 212:
/***/ 211:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(238);
__webpack_require__(239);
__webpack_require__(240);
__webpack_require__(241);
__webpack_require__(242);
__webpack_require__(243);
__webpack_require__(246);
__webpack_require__(244);
__webpack_require__(245);
__webpack_require__(243);
__webpack_require__(244);
__webpack_require__(246);
__webpack_require__(247);
__webpack_require__(248);
__webpack_require__(249);
__webpack_require__(250);
__webpack_require__(252);
__webpack_require__(251);
__webpack_require__(250);
module.exports = __webpack_require__(35).Reflect;
/***/ }),
/***/ 212:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(254);
__webpack_require__(255);
__webpack_require__(257);
__webpack_require__(256);
__webpack_require__(259);
__webpack_require__(258);
__webpack_require__(260);
__webpack_require__(261);
__webpack_require__(262);
module.exports = __webpack_require__(35).Reflect;
/***/ }),
/***/ 213:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(255);
__webpack_require__(256);
__webpack_require__(258);
__webpack_require__(257);
__webpack_require__(260);
__webpack_require__(259);
__webpack_require__(261);
__webpack_require__(262);
__webpack_require__(263);
module.exports = __webpack_require__(35).Reflect;
/***/ }),
/***/ 214:
/***/ (function(module, exports, __webpack_require__) {
var forOf = __webpack_require__(45);
module.exports = function(iter, ITERATOR){
@ -515,14 +515,14 @@ module.exports = function(iter, ITERATOR){
/***/ }),
/***/ 215:
/***/ 214:
/***/ (function(module, exports, __webpack_require__) {
// false -> Array#indexOf
// true -> Array#includes
var toIObject = __webpack_require__(91)
, toLength = __webpack_require__(92)
, toIndex = __webpack_require__(236);
, toIndex = __webpack_require__(235);
module.exports = function(IS_INCLUDES){
return function($this, el, fromIndex){
var O = toIObject($this)
@ -542,11 +542,11 @@ module.exports = function(IS_INCLUDES){
/***/ }),
/***/ 216:
/***/ 215:
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(13)
, isArray = __webpack_require__(225)
, isArray = __webpack_require__(224)
, SPECIES = __webpack_require__(19)('species');
module.exports = function(original){
@ -564,11 +564,11 @@ module.exports = function(original){
/***/ }),
/***/ 217:
/***/ 216:
/***/ (function(module, exports, __webpack_require__) {
// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
var speciesConstructor = __webpack_require__(216);
var speciesConstructor = __webpack_require__(215);
module.exports = function(original, length){
return new (speciesConstructor(original))(length);
@ -576,14 +576,14 @@ module.exports = function(original, length){
/***/ }),
/***/ 218:
/***/ 217:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var aFunction = __webpack_require__(34)
, isObject = __webpack_require__(13)
, invoke = __webpack_require__(223)
, invoke = __webpack_require__(222)
, arraySlice = [].slice
, factories = {};
@ -607,7 +607,7 @@ module.exports = Function.bind || function bind(that /*, args... */){
/***/ }),
/***/ 219:
/***/ 218:
/***/ (function(module, exports, __webpack_require__) {
// getting tag from 19.1.3.6 Object.prototype.toString()
@ -636,7 +636,7 @@ module.exports = function(it){
/***/ }),
/***/ 220:
/***/ 219:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -726,14 +726,14 @@ module.exports = {
/***/ }),
/***/ 221:
/***/ 220:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(16).document && document.documentElement;
/***/ }),
/***/ 222:
/***/ 221:
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__(13)
@ -747,7 +747,7 @@ module.exports = function(that, target, C){
/***/ }),
/***/ 223:
/***/ 222:
/***/ (function(module, exports) {
// fast apply, http://jsperf.lnkit.com/fast-apply/5
@ -769,7 +769,7 @@ module.exports = function(fn, args, that){
/***/ }),
/***/ 224:
/***/ 223:
/***/ (function(module, exports, __webpack_require__) {
// check on default Array iterator
@ -783,7 +783,7 @@ module.exports = function(it){
/***/ }),
/***/ 225:
/***/ 224:
/***/ (function(module, exports, __webpack_require__) {
// 7.2.2 IsArray(argument)
@ -794,7 +794,7 @@ module.exports = Array.isArray || function isArray(arg){
/***/ }),
/***/ 226:
/***/ 225:
/***/ (function(module, exports, __webpack_require__) {
// call something on iterator step with safe closing on error
@ -812,12 +812,12 @@ module.exports = function(iterator, fn, value, entries){
/***/ }),
/***/ 227:
/***/ 226:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var LIBRARY = __webpack_require__(230)
var LIBRARY = __webpack_require__(229)
, $export = __webpack_require__(8)
, redefine = __webpack_require__(38)
, hide = __webpack_require__(46)
@ -889,7 +889,7 @@ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED
/***/ }),
/***/ 228:
/***/ 227:
/***/ (function(module, exports, __webpack_require__) {
var ITERATOR = __webpack_require__(19)('iterator')
@ -916,7 +916,7 @@ module.exports = function(exec, skipClosing){
/***/ }),
/***/ 229:
/***/ 228:
/***/ (function(module, exports) {
module.exports = function(done, value){
@ -925,14 +925,14 @@ module.exports = function(done, value){
/***/ }),
/***/ 230:
/***/ 229:
/***/ (function(module, exports) {
module.exports = false;
/***/ }),
/***/ 231:
/***/ 230:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -972,7 +972,7 @@ module.exports = !$assign || __webpack_require__(25)(function(){
/***/ }),
/***/ 232:
/***/ 231:
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__(26)
@ -991,7 +991,7 @@ module.exports = __webpack_require__(29) ? Object.defineProperties : function de
/***/ }),
/***/ 233:
/***/ 232:
/***/ (function(module, exports, __webpack_require__) {
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
@ -1004,11 +1004,11 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){
/***/ }),
/***/ 234:
/***/ 233:
/***/ (function(module, exports, __webpack_require__) {
// all object keys, includes non-enumerable and symbols
var gOPN = __webpack_require__(233)
var gOPN = __webpack_require__(232)
, gOPS = __webpack_require__(153)
, anObject = __webpack_require__(5)
, Reflect = __webpack_require__(16).Reflect;
@ -1020,7 +1020,7 @@ module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){
/***/ }),
/***/ 235:
/***/ 234:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -1040,7 +1040,7 @@ module.exports = function(KEY){
/***/ }),
/***/ 236:
/***/ 235:
/***/ (function(module, exports, __webpack_require__) {
var toInteger = __webpack_require__(158)
@ -1053,10 +1053,10 @@ module.exports = function(index, length){
/***/ }),
/***/ 237:
/***/ 236:
/***/ (function(module, exports, __webpack_require__) {
var classof = __webpack_require__(219)
var classof = __webpack_require__(218)
, ITERATOR = __webpack_require__(19)('iterator')
, Iterators = __webpack_require__(85);
module.exports = __webpack_require__(35).getIteratorMethod = function(it){
@ -1067,7 +1067,7 @@ module.exports = __webpack_require__(35).getIteratorMethod = function(it){
/***/ }),
/***/ 238:
/***/ 237:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -1091,7 +1091,7 @@ module.exports = __webpack_require__(81)('Map', function(get){
/***/ }),
/***/ 239:
/***/ 238:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
@ -1113,7 +1113,7 @@ $export($export.S + $export.F * !__webpack_require__(25)(function(){
/***/ }),
/***/ 240:
/***/ 239:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
@ -1123,7 +1123,7 @@ var $export = __webpack_require__(8)
, anObject = __webpack_require__(5)
, isObject = __webpack_require__(13)
, fails = __webpack_require__(25)
, bind = __webpack_require__(218)
, bind = __webpack_require__(217)
, rConstruct = (__webpack_require__(16).Reflect || {}).construct;
// MS Edge supports only 2 arguments and argumentsList argument is optional
@ -1166,7 +1166,7 @@ $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
/***/ }),
/***/ 241:
/***/ 240:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
@ -1194,7 +1194,7 @@ $export($export.S + $export.F * __webpack_require__(25)(function(){
/***/ }),
/***/ 242:
/***/ 241:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.4 Reflect.deleteProperty(target, propertyKey)
@ -1211,7 +1211,7 @@ $export($export.S, 'Reflect', {
/***/ }),
/***/ 243:
/***/ 242:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -1244,7 +1244,7 @@ $export($export.S, 'Reflect', {
/***/ }),
/***/ 244:
/***/ 243:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
@ -1260,7 +1260,7 @@ $export($export.S, 'Reflect', {
/***/ }),
/***/ 245:
/***/ 244:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.8 Reflect.getPrototypeOf(target)
@ -1276,7 +1276,7 @@ $export($export.S, 'Reflect', {
/***/ }),
/***/ 246:
/***/ 245:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.6 Reflect.get(target, propertyKey [, receiver])
@ -1303,7 +1303,7 @@ $export($export.S, 'Reflect', {get: get});
/***/ }),
/***/ 247:
/***/ 246:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.9 Reflect.has(target, propertyKey)
@ -1317,7 +1317,7 @@ $export($export.S, 'Reflect', {
/***/ }),
/***/ 248:
/***/ 247:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.10 Reflect.isExtensible(target)
@ -1334,30 +1334,17 @@ $export($export.S, 'Reflect', {
/***/ }),
/***/ 249:
/***/ 248:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.11 Reflect.ownKeys(target)
var $export = __webpack_require__(8);
$export($export.S, 'Reflect', {ownKeys: __webpack_require__(234)});
$export($export.S, 'Reflect', {ownKeys: __webpack_require__(233)});
/***/ }),
/***/ 25:
/***/ (function(module, exports) {
module.exports = function(exec){
try {
return !!exec();
} catch(e){
return true;
}
};
/***/ }),
/***/ 250:
/***/ 249:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.12 Reflect.preventExtensions(target)
@ -1379,7 +1366,20 @@ $export($export.S, 'Reflect', {
/***/ }),
/***/ 251:
/***/ 25:
/***/ (function(module, exports) {
module.exports = function(exec){
try {
return !!exec();
} catch(e){
return true;
}
};
/***/ }),
/***/ 250:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.14 Reflect.setPrototypeOf(target, proto)
@ -1400,7 +1400,7 @@ if(setProto)$export($export.S, 'Reflect', {
/***/ }),
/***/ 252:
/***/ 251:
/***/ (function(module, exports, __webpack_require__) {
// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
@ -1437,7 +1437,7 @@ $export($export.S, 'Reflect', {set: set});
/***/ }),
/***/ 253:
/***/ 252:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -1456,7 +1456,7 @@ module.exports = __webpack_require__(81)('Set', function(get){
/***/ }),
/***/ 254:
/***/ 253:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@ -1464,8 +1464,8 @@ module.exports = __webpack_require__(81)('Set', function(get){
var each = __webpack_require__(148)(0)
, redefine = __webpack_require__(38)
, meta = __webpack_require__(47)
, assign = __webpack_require__(231)
, weak = __webpack_require__(220)
, assign = __webpack_require__(230)
, weak = __webpack_require__(219)
, isObject = __webpack_require__(13)
, getWeak = meta.getWeak
, isExtensible = Object.isExtensible
@ -1519,7 +1519,7 @@ if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
/***/ }),
/***/ 255:
/***/ 254:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
@ -1533,7 +1533,7 @@ metadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue
/***/ }),
/***/ 256:
/***/ 255:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
@ -1554,11 +1554,11 @@ metadata.exp({deleteMetadata: function deleteMetadata(metadataKey, target /*, ta
/***/ }),
/***/ 257:
/***/ 256:
/***/ (function(module, exports, __webpack_require__) {
var Set = __webpack_require__(253)
, from = __webpack_require__(214)
var Set = __webpack_require__(252)
, from = __webpack_require__(213)
, metadata = __webpack_require__(18)
, anObject = __webpack_require__(5)
, getPrototypeOf = __webpack_require__(30)
@ -1579,7 +1579,7 @@ metadata.exp({getMetadataKeys: function getMetadataKeys(target /*, targetKey */)
/***/ }),
/***/ 258:
/***/ 257:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
@ -1602,7 +1602,7 @@ metadata.exp({getMetadata: function getMetadata(metadataKey, target /*, targetKe
/***/ }),
/***/ 259:
/***/ 258:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
@ -1616,6 +1616,21 @@ metadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetK
/***/ }),
/***/ 259:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
, anObject = __webpack_require__(5)
, ordinaryGetOwnMetadata = metadata.get
, toMetaKey = metadata.key;
metadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){
return ordinaryGetOwnMetadata(metadataKey, anObject(target)
, arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
}});
/***/ }),
/***/ 26:
/***/ (function(module, exports, __webpack_require__) {
@ -1641,21 +1656,6 @@ exports.f = __webpack_require__(29) ? Object.defineProperty : function definePro
/***/ 260:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
, anObject = __webpack_require__(5)
, ordinaryGetOwnMetadata = metadata.get
, toMetaKey = metadata.key;
metadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){
return ordinaryGetOwnMetadata(metadataKey, anObject(target)
, arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
}});
/***/ }),
/***/ 261:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
, anObject = __webpack_require__(5)
, getPrototypeOf = __webpack_require__(30)
@ -1675,7 +1675,7 @@ metadata.exp({hasMetadata: function hasMetadata(metadataKey, target /*, targetKe
/***/ }),
/***/ 262:
/***/ 261:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
@ -1690,7 +1690,7 @@ metadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, ta
/***/ }),
/***/ 263:
/***/ 262:
/***/ (function(module, exports, __webpack_require__) {
var metadata = __webpack_require__(18)
@ -1711,7 +1711,7 @@ metadata.exp({metadata: function metadata(metadataKey, metadataValue){
/***/ }),
/***/ 267:
/***/ 266:
/***/ (function(module, exports) {
// shim for using process in browser
@ -2035,11 +2035,11 @@ __webpack_require__(35).inspectSource = function(it){
/***/ (function(module, exports, __webpack_require__) {
var ctx = __webpack_require__(36)
, call = __webpack_require__(226)
, isArrayIter = __webpack_require__(224)
, call = __webpack_require__(225)
, isArrayIter = __webpack_require__(223)
, anObject = __webpack_require__(5)
, toLength = __webpack_require__(92)
, getIterFn = __webpack_require__(237)
, getIterFn = __webpack_require__(236)
, BREAK = {}
, RETURN = {};
var exports = module.exports = function(iterable, entries, fn, that, ITERATOR){
@ -4242,14 +4242,14 @@ if (_global['PromiseRejectionEvent']) {
})));
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(62), __webpack_require__(267)))
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(62), __webpack_require__(266)))
/***/ }),
/***/ 538:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(199);
module.exports = __webpack_require__(198);
/***/ }),
@ -4367,9 +4367,9 @@ var global = __webpack_require__(16)
, anInstance = __webpack_require__(79)
, isObject = __webpack_require__(13)
, fails = __webpack_require__(25)
, $iterDetect = __webpack_require__(228)
, $iterDetect = __webpack_require__(227)
, setToStringTag = __webpack_require__(88)
, inheritIfRequired = __webpack_require__(222);
, inheritIfRequired = __webpack_require__(221);
module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
var Base = global[NAME]
@ -4489,7 +4489,7 @@ module.exports = {};
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
var anObject = __webpack_require__(5)
, dPs = __webpack_require__(232)
, dPs = __webpack_require__(231)
, enumBugKeys = __webpack_require__(83)
, IE_PROTO = __webpack_require__(89)('IE_PROTO')
, Empty = function(){ /* empty */ }
@ -4504,7 +4504,7 @@ var createDict = function(){
, gt = '>'
, iframeDocument;
iframe.style.display = 'none';
__webpack_require__(221).appendChild(iframe);
__webpack_require__(220).appendChild(iframe);
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
// createDict = iframe.contentWindow.Object;
// html.removeChild(iframe);

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
webpackJsonp([2,4],{
/***/ 196:
/***/ 195:
/***/ (function(module, exports) {
/*
@ -253,16 +253,16 @@ function updateLink(linkElement, obj) {
/***/ }),
/***/ 200:
/***/ 199:
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
var content = __webpack_require__(264);
var content = __webpack_require__(263);
if(typeof content === 'string') content = [[module.i, content, '']];
// add the styles to the DOM
var update = __webpack_require__(196)(content, {});
var update = __webpack_require__(195)(content, {});
if(content.locals) module.exports = content.locals;
// Hot Module Replacement
if(false) {
@ -280,16 +280,16 @@ if(false) {
/***/ }),
/***/ 201:
/***/ 200:
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
var content = __webpack_require__(265);
var content = __webpack_require__(264);
if(typeof content === 'string') content = [[module.i, content, '']];
// add the styles to the DOM
var update = __webpack_require__(196)(content, {});
var update = __webpack_require__(195)(content, {});
if(content.locals) module.exports = content.locals;
// Hot Module Replacement
if(false) {
@ -307,7 +307,7 @@ if(false) {
/***/ }),
/***/ 264:
/***/ 263:
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(50)();
@ -322,7 +322,7 @@ exports.push([module.i, "/*!\n * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.
/***/ }),
/***/ 265:
/***/ 264:
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(50)();
@ -397,8 +397,8 @@ module.exports = function() {
/***/ 539:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(201);
module.exports = __webpack_require__(200);
__webpack_require__(200);
module.exports = __webpack_require__(199);
/***/ })

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long