-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.50d49061.js
195 lines (179 loc) · 240 KB
/
main.50d49061.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
// modules are defined as an array
// [ module function, map of requires ]
//
// map of requires is short require name -> numeric require
//
// anything defined in a previous bundle is accessed via the
// orig method which is the require for previous bundles
require = (function (modules, cache, entry) {
// Save the require from previous bundle to this closure if any
var previousRequire = typeof require === "function" && require;
function newRequire(name, jumped, ModuleConfig) {
if (!cache[name]) {
if (!modules[name]) {
// if we cannot find the module within our internal map or
// cache jump to the current global require ie. the last bundle
// that was added to the page.
var currentRequire = typeof require === "function" && require;
if (!jumped && currentRequire) {
return currentRequire(name, true);
}
// If there are other bundles on this page the require from the
// previous one is saved to 'previousRequire'. Repeat this as
// many times as there are bundles until the module is found or
// we exhaust the require chain.
if (previousRequire) {
return previousRequire(name, true);
}
var err = new Error('Cannot find module \'' + name + '\'');
err.code = 'MODULE_NOT_FOUND';
throw err;
}
localRequire.resolve = resolve;
var module = cache[name] = new newRequire.Module(ModuleConfig);
modules[name][0].call(module.exports, localRequire, module, module.exports);
}
return cache[name].exports;
function localRequire(x){
return newRequire(localRequire.resolve(x));
}
function resolve(x){
return modules[name][1][x] || x;
}
}
function Module() {
this.bundle = newRequire;
this.exports = {};
}
newRequire.Module = Module;
newRequire.modules = modules;
newRequire.cache = cache;
newRequire.parent = previousRequire;
for (var i = 0; i < entry.length; i++) {
newRequire(entry[i]);
}
// Override the current require with this new one
return newRequire;
})({8:[function(require,module,exports) {
},{}],10:[function(require,module,exports) {
var global = arguments[3];
var t=arguments[3];Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({});function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return!0===t}function i(t){return!1===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function u(t){return c.call(t).slice(8,-1)}function l(t){return"[object Object]"===c.call(t)}function f(t){return"[object RegExp]"===c.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var m=h("slot,component",!0),y=h("key,ref,slot,slot-scope,is");function g(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function C(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var A=/-(\w)/g,w=C(function(t){return t.replace(A,function(t,e){return e?e.toUpperCase():""})}),$=C(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),x=/\B([A-Z])/g,O=C(function(t){return t.replace(x,"-$1").toLowerCase()});function k(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function S(t,e){return t.bind(e)}var E=Function.prototype.bind?S:k;function j(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function I(t,e){for(var n in e)t[n]=e[n];return t}function T(t){for(var e={},n=0;n<t.length;n++)t[n]&&I(e,t[n]);return e}function N(t,e,n){}var D=function(t,e,n){return!1},L=function(t){return t};function P(t,e){if(t===e)return!0;var n=s(t),r=s(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every(function(t,n){return P(t,e[n])});if(o||i)return!1;var a=Object.keys(t),c=Object.keys(e);return a.length===c.length&&a.every(function(n){return P(t[n],e[n])})}catch(t){return!1}}function M(t,e){for(var n=0;n<t.length;n++)if(P(t[n],e))return n;return-1}function F(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var R="data-server-rendered",U=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:D,isReservedAttr:D,isUnknownElement:D,getTagNamespace:N,parsePlatformTagName:L,mustUseProp:D,_lifecycleHooks:B};function V(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function z(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=/[^\w.$]/;function q(t){if(!W.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var K,X="__proto__"in{},G="undefined"!=typeof window,J="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Z=J&&WXEnvironment.platform.toLowerCase(),Q=G&&window.navigator.userAgent.toLowerCase(),Y=Q&&/msie|trident/.test(Q),tt=Q&&Q.indexOf("msie 9.0")>0,et=Q&&Q.indexOf("edge/")>0,nt=Q&&Q.indexOf("android")>0||"android"===Z,rt=Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Z,ot=Q&&/chrome\/\d+/.test(Q)&&!et,it={}.watch,at=!1;if(G)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(t){}var ct=function(){return void 0===K&&(K=!G&&!J&&void 0!==t&&"server"===t.process.env.VUE_ENV),K},ut=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ft,pt="undefined"!=typeof Symbol&<(Symbol)&&"undefined"!=typeof Reflect&<(Reflect.ownKeys);ft="undefined"!=typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt,vt,ht,mt,yt=N,gt=N,_t=N,bt=N,Ct=0,At=function(){this.id=Ct++,this.subs=[]};At.prototype.addSub=function(t){this.subs.push(t)},At.prototype.removeSub=function(t){g(this.subs,t)},At.prototype.depend=function(){At.target&&At.target.addDep(this)},At.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},At.target=null;var wt=[];function $t(t){At.target&&wt.push(At.target),At.target=t}function xt(){At.target=wt.pop()}var Ot=function(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},kt={child:{configurable:!0}};kt.child.get=function(){return this.componentInstance},Object.defineProperties(Ot.prototype,kt);var St=function(t){void 0===t&&(t="");var e=new Ot;return e.text=t,e.isComment=!0,e};function Et(t){return new Ot(void 0,void 0,void 0,String(t))}function jt(t){var e=new Ot(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.isCloned=!0,e}var It=Array.prototype,Tt=Object.create(It),Nt=["push","pop","shift","unshift","splice","sort","reverse"];Nt.forEach(function(t){var e=It[t];z(Tt,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var Dt=Object.getOwnPropertyNames(Tt),Lt=!0;function Pt(t){Lt=t}var Mt=function(t){(this.value=t,this.dep=new At,this.vmCount=0,z(t,"__ob__",this),Array.isArray(t))?((X?Ft:Rt)(t,Tt,Dt),this.observeArray(t)):this.walk(t)};function Ft(t,e,n){t.__proto__=e}function Rt(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];z(t,i,e[i])}}function Ut(t,e){var n;if(s(t)&&!(t instanceof Ot))return b(t,"__ob__")&&t.__ob__ instanceof Mt?n=t.__ob__:Lt&&!ct()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Mt(t)),e&&n&&n.vmCount++,n}function Bt(t,e,n,r,o){var i=new At,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get;s||2!==arguments.length||(n=t[e]);var c=a&&a.set,u=!o&&Ut(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return At.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(e)&&zt(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!=e&&r!=r||(c?c.call(t,e):n=e,u=!o&&Ut(e),i.notify())}})}}function Ht(t,e,n){if(Array.isArray(t)&&p(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Bt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Vt(t,e){if(Array.isArray(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||b(t,e)&&(delete t[e],n&&n.dep.notify())}}function zt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&zt(e)}Mt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Bt(t,e[n])},Mt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Ut(t[e])};var Wt=H.optionMergeStrategies;function qt(t,e){if(!e)return t;for(var n,r,o,i=Object.keys(e),a=0;a<i.length;a++)r=t[n=i[a]],o=e[n],b(t,n)?l(r)&&l(o)&&qt(r,o):Ht(t,n,o);return t}function Kt(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,o="function"==typeof t?t.call(n,n):t;return r?qt(r,o):o}:e?t?function(){return qt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Xt(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function Gt(t,e,n,r){var o=Object.create(t||null);return e?I(o,e):o}Wt.data=function(t,e,n){return n?Kt(t,e,n):e&&"function"!=typeof e?t:Kt(t,e)},B.forEach(function(t){Wt[t]=Xt}),U.forEach(function(t){Wt[t+"s"]=Gt}),Wt.watch=function(t,e,n,r){if(t===it&&(t=void 0),e===it&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var i in I(o,t),e){var a=o[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Wt.props=Wt.methods=Wt.inject=Wt.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return I(o,t),e&&I(o,e),o},Wt.provide=Kt;var Jt=function(t,e){return void 0===e?t:e};function Zt(t){for(var e in t.components)Qt(e)}function Qt(t){/^[a-zA-Z][\w-]*$/.test(t)||yt('Invalid component name: "'+t+'". Component names can only contain alphanumeric characters and the hyphen, and must start with a letter.'),(m(t)||H.isReservedTag(t))&&yt("Do not use built-in or reserved HTML elements as component id: "+t)}function Yt(t,e){var n=t.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i[w(o)]={type:null});else if(l(n))for(var a in n)o=n[a],i[w(a)]=l(o)?o:{type:o};else 0;t.props=i}}function te(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(l(n))for(var i in n){var a=n[i];r[i]=l(a)?I({from:i},a):{from:a}}else 0}}function ee(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function ne(t,e,n){l(e)||yt('Invalid value for option "'+t+'": expected an Object, but got '+u(e)+".",n)}function re(t,e,n){"function"==typeof e&&(e=e.options),Yt(e,n),te(e,n),ee(e);var r=e.extends;if(r&&(t=re(t,r,n)),e.mixins)for(var o=0,i=e.mixins.length;o<i;o++)t=re(t,e.mixins[o],n);var a,s={};for(a in t)c(a);for(a in e)b(t,a)||c(a);function c(r){var o=Wt[r]||Jt;s[r]=o(t[r],e[r],n,r)}return s}function oe(t,e,n,r){if("string"==typeof n){var o=t[e];if(b(o,n))return o[n];var i=w(n);if(b(o,i))return o[i];var a=$(i);if(b(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function ie(t,e,n,r){var o=e[t],i=!b(n,t),a=n[t],s=pe(Boolean,o.type);if(s>-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===O(t)){var c=pe(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=ae(r,o,t);var u=Lt;Pt(!0),Ut(a),Pt(u)}return a}function ae(t,e,n){if(b(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof r&&"Function"!==le(e.type)?r.call(t):r}}function se(t,e,n,r,o){if(t.required&&o)yt('Missing required prop: "'+e+'"',r);else if(null!=n||t.required){var i=t.type,a=!i||!0===i,s=[];if(i){Array.isArray(i)||(i=[i]);for(var c=0;c<i.length&&!a;c++){var l=ue(n,i[c]);s.push(l.expectedType||""),a=l.valid}}if(a){var f=t.validator;f&&(f(n)||yt('Invalid prop: custom validator check failed for prop "'+e+'".',r))}else yt('Invalid prop: type check failed for prop "'+e+'". Expected '+s.map($).join(", ")+", got "+u(n)+".",r)}}var ce=/^(String|Number|Boolean|Function|Symbol)$/;function ue(t,e){var n,r=le(e);if(ce.test(r)){var o=typeof t;(n=o===r.toLowerCase())||"object"!==o||(n=t instanceof e)}else n="Object"===r?l(t):"Array"===r?Array.isArray(t):t instanceof e;return{valid:n,expectedType:r}}function le(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function fe(t,e){return le(t)===le(e)}function pe(t,e){if(!Array.isArray(e))return fe(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(fe(e[n],t))return n;return-1}function de(t,e,n){if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,t,e,n))return}catch(t){ve(t,r,"errorCaptured hook")}}ve(t,e,n)}function ve(t,e,n){if(H.errorHandler)try{return H.errorHandler.call(null,t,e,n)}catch(t){he(t,null,"config.errorHandler")}he(t,e,n)}function he(t,e,n){if(!G&&!J||"undefined"==typeof console)throw t;console.error(t)}var me,ye,ge=[],_e=!1;function be(){_e=!1;var t=ge.slice(0);ge.length=0;for(var e=0;e<t.length;e++)t[e]()}var Ce,Ae,we,$e,xe,Oe,ke,Se=!1;if("undefined"!=typeof setImmediate&<(setImmediate))ye=function(){setImmediate(be)};else if("undefined"==typeof MessageChannel||!lt(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())ye=function(){setTimeout(be,0)};else{var Ee=new MessageChannel,je=Ee.port2;Ee.port1.onmessage=be,ye=function(){je.postMessage(1)}}if("undefined"!=typeof Promise&<(Promise)){var Ie=Promise.resolve();me=function(){Ie.then(be),rt&&setTimeout(N)}}else me=ye;function Te(t){return t._withTask||(t._withTask=function(){Se=!0;var e=t.apply(null,arguments);return Se=!1,e})}function Ne(t,e){var n;if(ge.push(function(){if(t)try{t.call(e)}catch(t){de(t,e,"nextTick")}else n&&n(e)}),_e||(_e=!0,Se?ye():me()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}var De,Le,Pe,Me=new ft;function Fe(t){Re(t,Me),Me.clear()}function Re(t,e){var n,r,o=Array.isArray(t);if(!(!o&&!s(t)||Object.isFrozen(t)||t instanceof Ot)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)Re(t[n],e);else for(n=(r=Object.keys(t)).length;n--;)Re(t[r[n]],e)}}var Ue,Be=C(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}});function He(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),o=0;o<r.length;o++)r[o].apply(null,t)}return e.fns=t,e}function Ve(t,e,r,o,i){var a,s,c,u;for(a in t)s=t[a],c=e[a],u=Be(a),n(s)||(n(c)?(n(s.fns)&&(s=t[a]=He(s)),r(u.name,s,u.once,u.capture,u.passive,u.params)):s!==c&&(c.fns=s,t[a]=c));for(a in e)n(t[a])&&o((u=Be(a)).name,e[a],u.capture)}function ze(t,e,i){var a;t instanceof Ot&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function c(){i.apply(this,arguments),g(a.fns,c)}n(s)?a=He([c]):r(s.fns)&&o(s.merged)?(a=s).fns.push(c):a=He([s,c]),a.merged=!0,t[e]=a}function We(t,e,o){var i=e.options.props;if(!n(i)){var a={},s=t.attrs,c=t.props;if(r(s)||r(c))for(var u in i){var l=O(u);qe(a,c,u,l,!0)||qe(a,s,u,l,!1)}return a}}function qe(t,e,n,o,i){if(r(e)){if(b(e,n))return t[n]=e[n],i||delete e[n],!0;if(b(e,o))return t[n]=e[o],i||delete e[o],!0}return!1}function Ke(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function Xe(t){return a(t)?[Et(t)]:Array.isArray(t)?Je(t):void 0}function Ge(t){return r(t)&&r(t.text)&&i(t.isComment)}function Je(t,e){var i,s,c,u,l=[];for(i=0;i<t.length;i++)n(s=t[i])||"boolean"==typeof s||(u=l[c=l.length-1],Array.isArray(s)?s.length>0&&(Ge((s=Je(s,(e||"")+"_"+i))[0])&&Ge(u)&&(l[c]=Et(u.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?Ge(u)?l[c]=Et(u.text+s):""!==s&&l.push(Et(s)):Ge(s)&&Ge(u)?l[c]=Et(u.text+s.text):(o(t._isVList)&&r(s.tag)&&n(s.key)&&r(e)&&(s.key="__vlist"+e+"_"+i+"__"),l.push(s)));return l}function Ze(t,e){return(t.__esModule||pt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),s(t)?e.extend(t):t}function Qe(t,e,n,r,o){var i=St();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function Ye(t,e,i){if(o(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(o(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var a=t.contexts=[i],c=!0,u=function(){for(var t=0,e=a.length;t<e;t++)a[t].$forceUpdate()},l=F(function(n){t.resolved=Ze(n,e),c||u()}),f=F(function(e){r(t.errorComp)&&(t.error=!0,u())}),p=t(l,f);return s(p)&&("function"==typeof p.then?n(t.resolved)&&p.then(l,f):r(p.component)&&"function"==typeof p.component.then&&(p.component.then(l,f),r(p.error)&&(t.errorComp=Ze(p.error,e)),r(p.loading)&&(t.loadingComp=Ze(p.loading,e),0===p.delay?t.loading=!0:setTimeout(function(){n(t.resolved)&&n(t.error)&&(t.loading=!0,u())},p.delay||200)),r(p.timeout)&&setTimeout(function(){n(t.resolved)&&f(null)},p.timeout))),c=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(i)}function tn(t){return t.isComment&&t.asyncFactory}function en(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||tn(n)))return n}}function nn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&an(t,e)}function rn(t,e,n){n?Ue.$once(t,e):Ue.$on(t,e)}function on(t,e){Ue.$off(t,e)}function an(t,e,n){Ue=t,Ve(e,n||{},rn,on,t),Ue=void 0}function sn(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var r=0,o=t.length;r<o;r++)this.$on(t[r],n);else(this._events[t]||(this._events[t]=[])).push(n),e.test(t)&&(this._hasHookEvent=!0);return this},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,o=t.length;r<o;r++)this.$off(t[r],e);return n}var i=n._events[t];if(!i)return n;if(!e)return n._events[t]=null,n;if(e)for(var a,s=i.length;s--;)if((a=i[s])===e||a.fn===e){i.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?j(n):n;for(var r=j(arguments,1),o=0,i=n.length;o<i;o++)try{n[o].apply(e,r)}catch(n){de(n,e,'event handler for "'+t+'"')}}return e}}function cn(t,e){var n={};if(!t)return n;for(var r=0,o=t.length;r<o;r++){var i=t[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(un)&&delete n[u];return n}function un(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ln(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?ln(t[n],e):e[t[n].key]=t[n].fn;return e}var fn=null,pn=!1;function dn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function vn(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&bn(n,"beforeUpdate");var r=n.$el,o=n._vnode,i=fn;fn=n,n._vnode=t,o?n.$el=n.__patch__(o,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),fn=i,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){bn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||g(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),bn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function hn(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=St),bn(t,"beforeMount"),new Pn(t,function(){t._update(t._render(),n)},N,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,bn(t,"mounted")),t}function mn(t,n,r,o,i){var a=!!(i||t.$options._renderChildren||o.data.scopedSlots||t.$scopedSlots!==e);if(t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i,t.$attrs=o.data.attrs||e,t.$listeners=r||e,n&&t.$options.props){Pt(!1);for(var s=t._props,c=t.$options._propKeys||[],u=0;u<c.length;u++){var l=c[u],f=t.$options.props;s[l]=ie(l,f,n,t)}Pt(!0),t.$options.propsData=n}r=r||e;var p=t.$options._parentListeners;t.$options._parentListeners=r,an(t,r,p),a&&(t.$slots=cn(i,o.context),t.$forceUpdate())}function yn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function gn(t,e){if(e){if(t._directInactive=!1,yn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)gn(t.$children[n]);bn(t,"activated")}}function _n(t,e){if(!(e&&(t._directInactive=!0,yn(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)_n(t.$children[n]);bn(t,"deactivated")}}function bn(t,e){$t();var n=t.$options[e];if(n)for(var r=0,o=n.length;r<o;r++)try{n[r].call(t)}catch(n){de(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e),xt()}var Cn=100,An=[],wn=[],$n={},xn={},On=!1,kn=!1,Sn=0;function En(){Sn=An.length=wn.length=0,$n={},On=kn=!1}function jn(){var t,e;for(kn=!0,An.sort(function(t,e){return t.id-e.id}),Sn=0;Sn<An.length;Sn++)e=(t=An[Sn]).id,$n[e]=null,t.run();var n=wn.slice(),r=An.slice();En(),Nn(n),In(r),ut&&H.devtools&&ut.emit("flush")}function In(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&bn(r,"updated")}}function Tn(t){t._inactive=!1,wn.push(t)}function Nn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,gn(t[e],!0)}function Dn(t){var e=t.id;if(null==$n[e]){if($n[e]=!0,kn){for(var n=An.length-1;n>Sn&&An[n].id>t.id;)n--;An.splice(n+1,0,t)}else An.push(t);On||(On=!0,Ne(jn))}}var Ln=0,Pn=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ln,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="","function"==typeof e?this.getter=e:(this.getter=q(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Pn.prototype.get=function(){var t;$t(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;de(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Fe(t),xt(),this.cleanupDeps()}return t},Pn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Pn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Pn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Dn(this)},Pn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){de(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Pn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Mn={enumerable:!0,configurable:!0,get:N,set:N};function Fn(t,e,n){Mn.get=function(){return this[e][n]},Mn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Mn)}function Rn(t){t._watchers=[];var e=t.$options;e.props&&Un(t,e.props),e.methods&&Kn(t,e.methods),e.data?Bn(t):Ut(t._data={},!0),e.computed&&zn(t,e.computed),e.watch&&e.watch!==it&&Xn(t,e.watch)}function Un(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];!t.$parent||Pt(!1);var i=function(i){o.push(i);var a=ie(i,e,n,t);Bt(r,i,a),i in t||Fn(t,"_props",i)};for(var a in e)i(a);Pt(!0)}function Bn(t){var e=t.$options.data;l(e=t._data="function"==typeof e?Hn(e,t):e||{})||(e={});for(var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);o--;){var i=n[o];0,r&&b(r,i)||V(i)||Fn(t,"_data",i)}Ut(e,!0)}function Hn(t,e){$t();try{return t.call(e,e)}catch(t){return de(t,e,"data()"),{}}finally{xt()}}var Vn={lazy:!0};function zn(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new Pn(t,a||N,N,Vn)),o in t||Wn(t,o,i)}}function Wn(t,e,n){var r=!ct();"function"==typeof n?(Mn.get=r?qn(e):n,Mn.set=N):(Mn.get=n.get?r&&!1!==n.cache?qn(e):n.get:N,Mn.set=n.set?n.set:N),Object.defineProperty(t,e,Mn)}function qn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),At.target&&e.depend(),e.value}}function Kn(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?N:E(e[n],t)}function Xn(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Gn(t,n,r[o]);else Gn(t,n,r)}}function Gn(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Jn(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ht,t.prototype.$delete=Vt,t.prototype.$watch=function(t,e,n){if(l(e))return Gn(this,t,e,n);(n=n||{}).user=!0;var r=new Pn(this,t,e,n);return n.immediate&&e.call(this,r.value),function(){r.teardown()}}}function Zn(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}function Qn(t){var e=Yn(t.$options.inject,t);e&&(Pt(!1),Object.keys(e).forEach(function(n){Bt(t,n,e[n])}),Pt(!0))}function Yn(t,e){if(t){for(var n=Object.create(null),r=pt?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),o=0;o<r.length;o++){for(var i=r[o],a=t[i].from,s=e;s;){if(s._provided&&b(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[i]){var c=t[i].default;n[i]="function"==typeof c?c.call(e):c}else 0}return n}}function tr(t,e){var n,o,i,a,c;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),o=0,i=t.length;o<i;o++)n[o]=e(t[o],o);else if("number"==typeof t)for(n=new Array(t),o=0;o<t;o++)n[o]=e(o+1,o);else if(s(t))for(a=Object.keys(t),n=new Array(a.length),o=0,i=a.length;o<i;o++)c=a[o],n[o]=e(t[c],c,o);return r(n)&&(n._isVList=!0),n}function er(t,e,n,r){var o,i=this.$scopedSlots[t];if(i)n=n||{},r&&(n=I(I({},r),n)),o=i(n)||e;else{var a=this.$slots[t];a&&(a._rendered=!0),o=a||e}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},o):o}function nr(t){return oe(this.$options,"filters",t,!0)||L}function rr(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function or(t,e,n,r,o){var i=H.keyCodes[e]||n;return o&&r&&!H.keyCodes[e]?rr(o,r):i?rr(i,t):r?O(r)!==e:void 0}function ir(t,e,n,r,o){if(n)if(s(n)){var i;Array.isArray(n)&&(n=T(n));var a=function(a){if("class"===a||"style"===a||y(a))i=t;else{var s=t.attrs&&t.attrs.type;i=r||H.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}a in i||(i[a]=n[a],o&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))};for(var c in n)a(c)}else;return t}function ar(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(cr(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r)}function sr(t,e,n){return cr(t,"__once__"+e+(n?"_"+n:""),!0),t}function cr(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&ur(t[r],e+"_"+r,n);else ur(t,e,n)}function ur(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function lr(t,e){if(e)if(l(e)){var n=t.on=t.on?I({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function fr(t){t._o=sr,t._n=v,t._s=d,t._l=tr,t._t=er,t._q=P,t._i=M,t._m=ar,t._f=nr,t._k=or,t._b=ir,t._v=Et,t._e=St,t._u=ln,t._g=lr}function pr(t,n,r,i,a){var s,c=a.options;b(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var u=o(c._compiled),l=!u;this.data=t,this.props=n,this.children=r,this.parent=i,this.listeners=t.on||e,this.injections=Yn(c.inject,i),this.slots=function(){return cn(r,i)},u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||e),c._scopeId?this._c=function(t,e,n,r){var o=$r(s,t,e,n,r,l);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return $r(s,t,e,n,r,l)}}function dr(t,n,o,i,a){var s=t.options,c={},u=s.props;if(r(u))for(var l in u)c[l]=ie(l,u,n||e);else r(o.attrs)&&hr(c,o.attrs),r(o.props)&&hr(c,o.props);var f=new pr(o,c,a,i,t),p=s.render.call(null,f._c,f);if(p instanceof Ot)return vr(p,o,f.parent,s);if(Array.isArray(p)){for(var d=Xe(p)||[],v=new Array(d.length),h=0;h<d.length;h++)v[h]=vr(d[h],o,f.parent,s);return v}}function vr(t,e,n,r){var o=jt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function hr(t,e){for(var n in e)t[w(n)]=e[n]}fr(pr.prototype);var mr={init:function(t,e,n,r){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var o=t;mr.prepatch(o,o)}else{(t.componentInstance=_r(t,fn,n,r)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;mn(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,bn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Tn(n):gn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?_n(e,!0):e.$destroy())}},yr=Object.keys(mr);function gr(t,e,i,a,c){if(!n(t)){var u=i.$options._base;if(s(t)&&(t=u.extend(t)),"function"==typeof t){var l;if(n(t.cid)&&void 0===(t=Ye(l=t,u,i)))return Qe(l,e,i,a,c);e=e||{},Nr(t),r(e.model)&&Cr(t.options,e);var f=We(e,t,c);if(o(t.options.functional))return dr(t,f,e,i,a);var p=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}br(e);var v=t.options.name||c;return new Ot("vue-component-"+t.cid+(v?"-"+v:""),e,void 0,void 0,void 0,i,{Ctor:t,propsData:f,listeners:p,tag:c,children:a},l)}}}function _r(t,e,n,o){var i={_isComponent:!0,parent:e,_parentVnode:t,_parentElm:n||null,_refElm:o||null},a=t.data.inlineTemplate;return r(a)&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new t.componentOptions.Ctor(i)}function br(t){for(var e=t.hook||(t.hook={}),n=0;n<yr.length;n++){var r=yr[n];e[r]=mr[r]}}function Cr(t,e){var n=t.model&&t.model.prop||"value",o=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var i=e.on||(e.on={});r(i[o])?i[o]=[e.model.callback].concat(i[o]):i[o]=e.model.callback}var Ar=1,wr=2;function $r(t,e,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=wr),xr(t,e,n,r,i)}function xr(t,e,n,o,i){if(r(n)&&r(n.__ob__))return St();if(r(n)&&r(n.is)&&(e=n.is),!e)return St();var a,s,c;(Array.isArray(o)&&"function"==typeof o[0]&&((n=n||{}).scopedSlots={default:o[0]},o.length=0),i===wr?o=Xe(o):i===Ar&&(o=Ke(o)),"string"==typeof e)?(s=t.$vnode&&t.$vnode.ns||H.getTagNamespace(e),a=H.isReservedTag(e)?new Ot(H.parsePlatformTagName(e),n,o,void 0,void 0,t):r(c=oe(t.$options,"components",e))?gr(c,n,t,o,e):new Ot(e,n,o,void 0,void 0,t)):a=gr(e,n,t,o);return Array.isArray(a)?a:r(a)?(r(s)&&Or(a,s),r(n)&&kr(n),a):St()}function Or(t,e,i){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,i=!0),r(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];r(c.tag)&&(n(c.ns)||o(i)&&"svg"!==c.tag)&&Or(c,e,i)}}function kr(t){s(t.style)&&Fe(t.style),s(t.class)&&Fe(t.class)}function Sr(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,o=r&&r.context;t.$slots=cn(n._renderChildren,o),t.$scopedSlots=e,t._c=function(e,n,r,o){return $r(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return $r(t,e,n,r,o,!0)};var i=r&&r.data;Bt(t,"$attrs",i&&i.attrs||e,null,!0),Bt(t,"$listeners",n._parentListeners||e,null,!0)}function Er(t){fr(t.prototype),t.prototype.$nextTick=function(t){return Ne(t,this)},t.prototype._render=function(){var t,n=this,r=n.$options,o=r.render,i=r._parentVnode;i&&(n.$scopedSlots=i.data.scopedSlots||e),n.$vnode=i;try{t=o.call(n._renderProxy,n.$createElement)}catch(e){de(e,n,"render"),t=n._vnode}return t instanceof Ot||(t=St()),t.parent=i,t}}var jr=0;function Ir(t){t.prototype._init=function(t){var e=this;e._uid=jr++,e._isVue=!0,t&&t._isComponent?Tr(e,t):e.$options=re(Nr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,dn(e),nn(e),Sr(e),bn(e,"beforeCreate"),Qn(e),Rn(e),Zn(e),bn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Tr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r,n._parentElm=e._parentElm,n._refElm=e._refElm;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Nr(t){var e=t.options;if(t.super){var n=Nr(t.super);if(n!==t.superOptions){t.superOptions=n;var r=Dr(t);r&&I(t.extendOptions,r),(e=t.options=re(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Dr(t){var e,n=t.options,r=t.extendOptions,o=t.sealedOptions;for(var i in n)n[i]!==o[i]&&(e||(e={}),e[i]=Lr(n[i],r[i],o[i]));return e}function Lr(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var o=0;o<t.length;o++)(e.indexOf(t[o])>=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function Pr(t){this._init(t)}function Mr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=j(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Fr(t){t.mixin=function(t){return this.options=re(this.options,t),this}}function Rr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=re(n.options,t),a.super=n,a.options.props&&Ur(a),a.options.computed&&Br(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,U.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=I({},a.options),o[r]=a,a}}function Ur(t){var e=t.options.props;for(var n in e)Fn(t.prototype,"_props",n)}function Br(t){var e=t.options.computed;for(var n in e)Wn(t.prototype,n,e[n])}function Hr(t){U.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Vr(t){return t&&(t.Ctor.options.name||t.tag)}function zr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Wr(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Vr(a.componentOptions);s&&!e(s)&&qr(n,i,r,o)}}}function qr(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,g(n,e)}Ir(Pr),Jn(Pr),sn(Pr),vn(Pr),Er(Pr);var Kr=[String,RegExp,Array],Xr={name:"keep-alive",abstract:!0,props:{include:Kr,exclude:Kr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)qr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Wr(t,function(t){return zr(e,t)})}),this.$watch("exclude",function(e){Wr(t,function(t){return!zr(e,t)})})},render:function(){var t=this.$slots.default,e=en(t),n=e&&e.componentOptions;if(n){var r=Vr(n),o=this.include,i=this.exclude;if(o&&(!r||!zr(o,r))||i&&r&&zr(i,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,g(s,c),s.push(c)):(a[c]=e,s.push(c),this.max&&s.length>parseInt(this.max)&&qr(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Gr={KeepAlive:Xr};function Jr(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:yt,extend:I,mergeOptions:re,defineReactive:Bt},t.set=Ht,t.delete=Vt,t.nextTick=Ne,t.options=Object.create(null),U.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,I(t.options.components,Gr),Mr(t),Fr(t),Rr(t),Hr(t)}Jr(Pr),Object.defineProperty(Pr.prototype,"$isServer",{get:ct}),Object.defineProperty(Pr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Pr,"FunctionalRenderContext",{value:pr}),Pr.version="2.5.17";var Zr=h("style,class"),Qr=h("input,textarea,option,select,progress"),Yr=function(t,e,n){return"value"===n&&Qr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},to=h("contenteditable,draggable,spellcheck"),eo=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),no="http://www.w3.org/1999/xlink",ro=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},oo=function(t){return ro(t)?t.slice(6,t.length):""},io=function(t){return null==t||!1===t};function ao(t){for(var e=t.data,n=t,o=t;r(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(e=so(o.data,e));for(;r(n=n.parent);)n&&n.data&&(e=so(e,n.data));return co(e.staticClass,e.class)}function so(t,e){return{staticClass:uo(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function co(t,e){return r(t)||r(e)?uo(t,lo(e)):""}function uo(t,e){return t?e?t+" "+e:t:e||""}function lo(t){return Array.isArray(t)?fo(t):s(t)?po(t):"string"==typeof t?t:""}function fo(t){for(var e,n="",o=0,i=t.length;o<i;o++)r(e=lo(t[o]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function po(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var vo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ho=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),mo=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),yo=function(t){return ho(t)||mo(t)};function go(t){return mo(t)?"svg":"math"===t?"math":void 0}var _o=Object.create(null);function bo(t){if(!G)return!0;if(yo(t))return!1;if(t=t.toLowerCase(),null!=_o[t])return _o[t];var e=document.createElement(t);return t.indexOf("-")>-1?_o[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:_o[t]=/HTMLUnknownElement/.test(e.toString())}var Co=h("text,number,password,search,email,tel,url");function Ao(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function wo(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function $o(t,e){return document.createElementNS(vo[t],e)}function xo(t){return document.createTextNode(t)}function Oo(t){return document.createComment(t)}function ko(t,e,n){t.insertBefore(e,n)}function So(t,e){t.removeChild(e)}function Eo(t,e){t.appendChild(e)}function jo(t){return t.parentNode}function Io(t){return t.nextSibling}function To(t){return t.tagName}function No(t,e){t.textContent=e}function Do(t,e){t.setAttribute(e,"")}var Lo=Object.freeze({createElement:wo,createElementNS:$o,createTextNode:xo,createComment:Oo,insertBefore:ko,removeChild:So,appendChild:Eo,parentNode:jo,nextSibling:Io,tagName:To,setTextContent:No,setStyleScope:Do}),Po={create:function(t,e){Mo(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Mo(t,!0),Mo(e))},destroy:function(t){Mo(t,!0)}};function Mo(t,e){var n=t.data.ref;if(r(n)){var o=t.context,i=t.componentInstance||t.elm,a=o.$refs;e?Array.isArray(a[n])?g(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var Fo=new Ot("",{},[]),Ro=["create","activate","update","remove","destroy"];function Uo(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&Bo(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function Bo(t,e){if("input"!==t.tag)return!0;var n,o=r(n=t.data)&&r(n=n.attrs)&&n.type,i=r(n=e.data)&&r(n=n.attrs)&&n.type;return o===i||Co(o)&&Co(i)}function Ho(t,e,n){var o,i,a={};for(o=e;o<=n;++o)r(i=t[o].key)&&(a[i]=o);return a}function Vo(t){var e,i,s={},c=t.modules,u=t.nodeOps;for(e=0;e<Ro.length;++e)for(s[Ro[e]]=[],i=0;i<c.length;++i)r(c[i][Ro[e]])&&s[Ro[e]].push(c[i][Ro[e]]);function l(t){var e=u.parentNode(t);r(e)&&u.removeChild(e,t)}function f(t,e,n,i,a,c,l){if(r(t.elm)&&r(c)&&(t=c[l]=jt(t)),t.isRootInsert=!a,!function(t,e,n,i){var a=t.data;if(r(a)){var c=r(t.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(t,!1,n,i),r(t.componentInstance))return p(t,e),o(c)&&function(t,e,n,o){var i,a=t;for(;a.componentInstance;)if(a=a.componentInstance._vnode,r(i=a.data)&&r(i=i.transition)){for(i=0;i<s.activate.length;++i)s.activate[i](Fo,a);e.push(a);break}d(n,t.elm,o)}(t,e,n,i),!0}}(t,e,n,i)){var f=t.data,h=t.children,m=t.tag;r(m)?(t.elm=t.ns?u.createElementNS(t.ns,m):u.createElement(m,t),g(t),v(t,h,e),r(f)&&y(t,e),d(n,t.elm,i)):o(t.isComment)?(t.elm=u.createComment(t.text),d(n,t.elm,i)):(t.elm=u.createTextNode(t.text),d(n,t.elm,i))}}function p(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(y(t,e),g(t)):(Mo(t),e.push(t))}function d(t,e,n){r(t)&&(r(n)?n.parentNode===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function v(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)f(e[r],n,t.elm,null,!0,e,r)}else a(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return r(t.tag)}function y(t,n){for(var o=0;o<s.create.length;++o)s.create[o](Fo,t);r(e=t.data.hook)&&(r(e.create)&&e.create(Fo,t),r(e.insert)&&n.push(t))}function g(t){var e;if(r(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)r(e=n.context)&&r(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;r(e=fn)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function _(t,e,n,r,o,i){for(;r<=o;++r)f(n[r],i,t,e,!1,n,r)}function b(t){var e,n,o=t.data;if(r(o))for(r(e=o.hook)&&r(e=e.destroy)&&e(t),e=0;e<s.destroy.length;++e)s.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function C(t,e,n,o){for(;n<=o;++n){var i=e[n];r(i)&&(r(i.tag)?(A(i),b(i)):l(i.elm))}}function A(t,e){if(r(e)||r(t.data)){var n,o=s.remove.length+1;for(r(e)?e.listeners+=o:e=function(t,e){function n(){0==--n.listeners&&l(t)}return n.listeners=e,n}(t.elm,o),r(n=t.componentInstance)&&r(n=n._vnode)&&r(n.data)&&A(n,e),n=0;n<s.remove.length;++n)s.remove[n](t,e);r(n=t.data.hook)&&r(n=n.remove)?n(t,e):e()}else l(t.elm)}function w(t,e,n,o){for(var i=n;i<o;i++){var a=e[i];if(r(a)&&Uo(t,a))return i}}function $(t,e,i,a){if(t!==e){var c=e.elm=t.elm;if(o(t.isAsyncPlaceholder))r(e.asyncFactory.resolved)?k(t.elm,e,i):e.isAsyncPlaceholder=!0;else if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))e.componentInstance=t.componentInstance;else{var l,p=e.data;r(p)&&r(l=p.hook)&&r(l=l.prepatch)&&l(t,e);var d=t.children,v=e.children;if(r(p)&&m(e)){for(l=0;l<s.update.length;++l)s.update[l](t,e);r(l=p.hook)&&r(l=l.update)&&l(t,e)}n(e.text)?r(d)&&r(v)?d!==v&&function(t,e,o,i,a){var s,c,l,p=0,d=0,v=e.length-1,h=e[0],m=e[v],y=o.length-1,g=o[0],b=o[y],A=!a;for(;p<=v&&d<=y;)n(h)?h=e[++p]:n(m)?m=e[--v]:Uo(h,g)?($(h,g,i),h=e[++p],g=o[++d]):Uo(m,b)?($(m,b,i),m=e[--v],b=o[--y]):Uo(h,b)?($(h,b,i),A&&u.insertBefore(t,h.elm,u.nextSibling(m.elm)),h=e[++p],b=o[--y]):Uo(m,g)?($(m,g,i),A&&u.insertBefore(t,m.elm,h.elm),m=e[--v],g=o[++d]):(n(s)&&(s=Ho(e,p,v)),n(c=r(g.key)?s[g.key]:w(g,e,p,v))?f(g,i,t,h.elm,!1,o,d):Uo(l=e[c],g)?($(l,g,i),e[c]=void 0,A&&u.insertBefore(t,l.elm,h.elm)):f(g,i,t,h.elm,!1,o,d),g=o[++d]);p>v?_(t,n(o[y+1])?null:o[y+1].elm,o,d,y,i):d>y&&C(0,e,p,v)}(c,d,v,i,a):r(v)?(r(t.text)&&u.setTextContent(c,""),_(c,null,v,0,v.length-1,i)):r(d)?C(0,d,0,d.length-1):r(t.text)&&u.setTextContent(c,""):t.text!==e.text&&u.setTextContent(c,e.text),r(p)&&r(l=p.hook)&&r(l=l.postpatch)&&l(t,e)}}}function x(t,e,n){if(o(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var O=h("attrs,class,staticClass,staticStyle,key");function k(t,e,n,i){var a,s=e.tag,c=e.data,u=e.children;if(i=i||c&&c.pre,e.elm=t,o(e.isComment)&&r(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(r(c)&&(r(a=c.hook)&&r(a=a.init)&&a(e,!0),r(a=e.componentInstance)))return p(e,n),!0;if(r(s)){if(r(u))if(t.hasChildNodes())if(r(a=c)&&r(a=a.domProps)&&r(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var l=!0,f=t.firstChild,d=0;d<u.length;d++){if(!f||!k(f,u[d],n,i)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else v(e,u,n);if(r(c)){var h=!1;for(var m in c)if(!O(m)){h=!0,y(e,n);break}!h&&c.class&&Fe(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,i,a,c,l){if(!n(e)){var p,d=!1,v=[];if(n(t))d=!0,f(e,v,c,l);else{var h=r(t.nodeType);if(!h&&Uo(t,e))$(t,e,v,a);else{if(h){if(1===t.nodeType&&t.hasAttribute(R)&&(t.removeAttribute(R),i=!0),o(i)&&k(t,e,v))return x(e,v,!0),t;p=t,t=new Ot(u.tagName(p).toLowerCase(),{},[],void 0,p)}var y=t.elm,g=u.parentNode(y);if(f(e,v,y._leaveCb?null:g,u.nextSibling(y)),r(e.parent))for(var _=e.parent,A=m(e);_;){for(var w=0;w<s.destroy.length;++w)s.destroy[w](_);if(_.elm=e.elm,A){for(var O=0;O<s.create.length;++O)s.create[O](Fo,_);var S=_.data.hook.insert;if(S.merged)for(var E=1;E<S.fns.length;E++)S.fns[E]()}else Mo(_);_=_.parent}r(g)?C(0,[t],0,0):r(t.tag)&&b(t)}}return x(e,v,d),e.elm}r(t)&&b(t)}}var zo={create:Wo,update:Wo,destroy:function(t){Wo(t,Fo)}};function Wo(t,e){(t.data.directives||e.data.directives)&&qo(t,e)}function qo(t,e){var n,r,o,i=t===Fo,a=e===Fo,s=Xo(t.data.directives,t.context),c=Xo(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,Jo(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(Jo(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Jo(u[n],"inserted",e,t)};i?ze(e,"insert",f):f()}if(l.length&&ze(e,"postpatch",function(){for(var n=0;n<l.length;n++)Jo(l[n],"componentUpdated",e,t)}),!i)for(n in s)c[n]||Jo(s[n],"unbind",t,t,a)}var Ko=Object.create(null);function Xo(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=Ko),o[Go(r)]=r,r.def=oe(e.$options,"directives",r.name,!0);return o}function Go(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Jo(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){de(r,n.context,"directive "+t.name+" "+e+" hook")}}var Zo=[Po,zo];function Qo(t,e){var o=e.componentOptions;if(!(r(o)&&!1===o.Ctor.options.inheritAttrs||n(t.data.attrs)&&n(e.data.attrs))){var i,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(i in r(u.__ob__)&&(u=e.data.attrs=I({},u)),u)a=u[i],c[i]!==a&&Yo(s,i,a);for(i in(Y||et)&&u.value!==c.value&&Yo(s,"value",u.value),c)n(u[i])&&(ro(i)?s.removeAttributeNS(no,oo(i)):to(i)||s.removeAttribute(i))}}function Yo(t,e,n){t.tagName.indexOf("-")>-1?ti(t,e,n):eo(e)?io(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):to(e)?t.setAttribute(e,io(n)||"false"===n?"false":"true"):ro(e)?io(n)?t.removeAttributeNS(no,oo(e)):t.setAttributeNS(no,e,n):ti(t,e,n)}function ti(t,e,n){if(io(n))t.removeAttribute(e);else{if(Y&&!tt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var ei={create:Qo,update:Qo};function ni(t,e){var o=e.elm,i=e.data,a=t.data;if(!(n(i.staticClass)&&n(i.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=ao(e),c=o._transitionClasses;r(c)&&(s=uo(s,lo(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var ri,oi={create:ni,update:ni},ii="__r",ai="__c";function si(t){if(r(t[ii])){var e=Y?"change":"input";t[e]=[].concat(t[ii],t[e]||[]),delete t[ii]}r(t[ai])&&(t.change=[].concat(t[ai],t.change||[]),delete t[ai])}function ci(t,e,n){var r=ri;return function o(){null!==t.apply(null,arguments)&&li(e,o,n,r)}}function ui(t,e,n,r,o){e=Te(e),n&&(e=ci(e,t,r)),ri.addEventListener(t,e,at?{capture:r,passive:o}:r)}function li(t,e,n,r){(r||ri).removeEventListener(t,e._withTask||e,n)}function fi(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},o=t.data.on||{};ri=e.elm,si(r),Ve(r,o,ui,li,e.context),ri=void 0}}var pi={create:fi,update:fi};function di(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var o,i,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(o in r(c.__ob__)&&(c=e.data.domProps=I({},c)),s)n(c[o])&&(a[o]="");for(o in c){if(i=c[o],"textContent"===o||"innerHTML"===o){if(e.children&&(e.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o){a._value=i;var u=n(i)?"":String(i);vi(a,u)&&(a.value=u)}else a[o]=i}}}function vi(t,e){return!t.composing&&("OPTION"===t.tagName||hi(t,e)||mi(t,e))}function hi(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function mi(t,e){var n=t.value,o=t._vModifiers;if(r(o)){if(o.lazy)return!1;if(o.number)return v(n)!==v(e);if(o.trim)return n.trim()!==e.trim()}return n!==e}var yi={create:di,update:di},gi=C(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function _i(t){var e=bi(t.style);return t.staticStyle?I(t.staticStyle,e):e}function bi(t){return Array.isArray(t)?T(t):"string"==typeof t?gi(t):t}function Ci(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=_i(o.data))&&I(r,n);(n=_i(t.data))&&I(r,n);for(var i=t;i=i.parent;)i.data&&(n=_i(i.data))&&I(r,n);return r}var Ai,wi=/^--/,$i=/\s*!important$/,xi=function(t,e,n){if(wi.test(e))t.style.setProperty(e,n);else if($i.test(n))t.style.setProperty(e,n.replace($i,""),"important");else{var r=ki(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Oi=["Webkit","Moz","ms"],ki=C(function(t){if(Ai=Ai||document.createElement("div").style,"filter"!==(t=w(t))&&t in Ai)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Oi.length;n++){var r=Oi[n]+e;if(r in Ai)return r}});function Si(t,e){var o=e.data,i=t.data;if(!(n(o.staticStyle)&&n(o.style)&&n(i.staticStyle)&&n(i.style))){var a,s,c=e.elm,u=i.staticStyle,l=i.normalizedStyle||i.style||{},f=u||l,p=bi(e.data.style)||{};e.data.normalizedStyle=r(p.__ob__)?I({},p):p;var d=Ci(e,!0);for(s in f)n(d[s])&&xi(c,s,"");for(s in d)(a=d[s])!==f[s]&&xi(c,s,null==a?"":a)}}var Ei={create:Si,update:Si};function ji(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ii(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ti(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&I(e,Ni(t.name||"v")),I(e,t),e}return"string"==typeof t?Ni(t):void 0}}var Ni=C(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Di=G&&!tt,Li="transition",Pi="animation",Mi="transition",Fi="transitionend",Ri="animation",Ui="animationend";Di&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mi="WebkitTransition",Fi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ri="WebkitAnimation",Ui="webkitAnimationEnd"));var Bi=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Hi(t){Bi(function(){Bi(t)})}function Vi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ji(t,e))}function zi(t,e){t._transitionClasses&&g(t._transitionClasses,e),Ii(t,e)}function Wi(t,e,n){var r=Ki(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Li?Fi:Ui,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},i+1),t.addEventListener(s,l)}var qi=/\b(transform|all)(,|$)/;function Ki(t,e){var n,r=window.getComputedStyle(t),o=r[Mi+"Delay"].split(", "),i=r[Mi+"Duration"].split(", "),a=Xi(o,i),s=r[Ri+"Delay"].split(", "),c=r[Ri+"Duration"].split(", "),u=Xi(s,c),l=0,f=0;return e===Li?a>0&&(n=Li,l=a,f=i.length):e===Pi?u>0&&(n=Pi,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Li:Pi:null)?n===Li?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Li&&qi.test(r[Mi+"Property"])}}function Xi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Gi(e)+Gi(t[n])}))}function Gi(t){return 1e3*Number(t.slice(0,-1))}function Ji(t,e){var o=t.elm;r(o._leaveCb)&&(o._leaveCb.cancelled=!0,o._leaveCb());var i=Ti(t.data.transition);if(!n(i)&&!r(o._enterCb)&&1===o.nodeType){for(var a=i.css,c=i.type,u=i.enterClass,l=i.enterToClass,f=i.enterActiveClass,p=i.appearClass,d=i.appearToClass,h=i.appearActiveClass,m=i.beforeEnter,y=i.enter,g=i.afterEnter,_=i.enterCancelled,b=i.beforeAppear,C=i.appear,A=i.afterAppear,w=i.appearCancelled,$=i.duration,x=fn,O=fn.$vnode;O&&O.parent;)x=(O=O.parent).context;var k=!x._isMounted||!t.isRootInsert;if(!k||C||""===C){var S=k&&p?p:u,E=k&&h?h:f,j=k&&d?d:l,I=k&&b||m,T=k&&"function"==typeof C?C:y,N=k&&A||g,D=k&&w||_,L=v(s($)?$.enter:$);0;var P=!1!==a&&!tt,M=ta(T),R=o._enterCb=F(function(){P&&(zi(o,j),zi(o,E)),R.cancelled?(P&&zi(o,S),D&&D(o)):N&&N(o),o._enterCb=null});t.data.show||ze(t,"insert",function(){var e=o.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),T&&T(o,R)}),I&&I(o),P&&(Vi(o,S),Vi(o,E),Hi(function(){zi(o,S),R.cancelled||(Vi(o,j),M||(Yi(L)?setTimeout(R,L):Wi(o,c,R)))})),t.data.show&&(e&&e(),T&&T(o,R)),P||M||R()}}}function Zi(t,e){var o=t.elm;r(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var i=Ti(t.data.transition);if(n(i)||1!==o.nodeType)return e();if(!r(o._leaveCb)){var a=i.css,c=i.type,u=i.leaveClass,l=i.leaveToClass,f=i.leaveActiveClass,p=i.beforeLeave,d=i.leave,h=i.afterLeave,m=i.leaveCancelled,y=i.delayLeave,g=i.duration,_=!1!==a&&!tt,b=ta(d),C=v(s(g)?g.leave:g);0;var A=o._leaveCb=F(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),_&&(zi(o,l),zi(o,f)),A.cancelled?(_&&zi(o,u),m&&m(o)):(e(),h&&h(o)),o._leaveCb=null});y?y(w):w()}function w(){A.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),p&&p(o),_&&(Vi(o,u),Vi(o,f),Hi(function(){zi(o,u),A.cancelled||(Vi(o,l),b||(Yi(C)?setTimeout(A,C):Wi(o,c,A)))})),d&&d(o,A),_||b||A())}}function Qi(t,e,n){"number"!=typeof t?yt("<transition> explicit "+e+" duration is not a valid number - got "+JSON.stringify(t)+".",n.context):isNaN(t)&&yt("<transition> explicit "+e+" duration is NaN - the duration expression might be incorrect.",n.context)}function Yi(t){return"number"==typeof t&&!isNaN(t)}function ta(t){if(n(t))return!1;var e=t.fns;return r(e)?ta(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ea(t,e){!0!==e.data.show&&Ji(e)}var na=G?{create:ea,activate:ea,remove:function(t,e){!0!==t.data.show?Zi(t,e):e()}}:{},ra=[ei,oi,pi,yi,Ei,na],oa=ra.concat(Zo),ia=Vo({nodeOps:Lo,modules:oa});tt&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&da(t,"input")});var aa={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ze(n,"postpatch",function(){aa.componentUpdated(t,e,n)}):sa(t,e,n.context),t._vOptions=[].map.call(t.options,la)):("textarea"===n.tag||Co(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",fa),t.addEventListener("compositionend",pa),t.addEventListener("change",pa),tt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){sa(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,la);if(o.some(function(t,e){return!P(t,r[e])}))(t.multiple?e.value.some(function(t){return ua(t,o)}):e.value!==e.oldValue&&ua(e.value,o))&&da(t,"change")}}};function sa(t,e,n){ca(t,e,n),(Y||et)&&setTimeout(function(){ca(t,e,n)},0)}function ca(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],o)i=M(r,la(a))>-1,a.selected!==i&&(a.selected=i);else if(P(la(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function ua(t,e){return e.every(function(e){return!P(e,t)})}function la(t){return"_value"in t?t._value:t.value}function fa(t){t.target.composing=!0}function pa(t){t.target.composing&&(t.target.composing=!1,da(t.target,"input"))}function da(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function va(t){return!t.componentInstance||t.data&&t.data.transition?t:va(t.componentInstance._vnode)}var ha={bind:function(t,e,n){var r=e.value,o=(n=va(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Ji(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=va(n)).data&&n.data.transition?(n.data.show=!0,r?Ji(n,function(){t.style.display=t.__vOriginalDisplay}):Zi(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},ma={model:aa,show:ha},ya={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ga(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ga(en(e.children)):t}function _a(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[w(i)]=o[i];return e}function ba(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ca(t){for(;t=t.parent;)if(t.data.transition)return!0}function Aa(t,e){return e.key===t.key&&e.tag===t.tag}var wa={name:"transition",props:ya,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||tn(t)})).length){0;var r=this.mode;0;var o=n[0];if(Ca(this.$vnode))return o;var i=ga(o);if(!i)return o;if(this._leaving)return ba(t,o);var s="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?s+"comment":s+i.tag:a(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var c=(i.data||(i.data={})).transition=_a(this),u=this._vnode,l=ga(u);if(i.data.directives&&i.data.directives.some(function(t){return"show"===t.name})&&(i.data.show=!0),l&&l.data&&!Aa(i,l)&&!tn(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=I({},c);if("out-in"===r)return this._leaving=!0,ze(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),ba(t,o);if("in-out"===r){if(tn(i))return u;var p,d=function(){p()};ze(c,"afterEnter",d),ze(c,"enterCancelled",d),ze(f,"delayLeave",function(t){p=t})}}return o}}},$a=I({tag:String,moveClass:String},ya);delete $a.mode;var xa={props:$a,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=_a(this),s=0;s<o.length;s++){var c=o[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=t(e,null,u),this.removed=l}return t(e,null,i)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Oa),t.forEach(ka),t.forEach(Sa),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Vi(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Fi,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Fi,t),n._moveCb=null,zi(n,e))})}}))},methods:{hasMove:function(t,e){if(!Di)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Ii(n,t)}),ji(n,e),n.style.display="none",this.$el.appendChild(n);var r=Ki(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Oa(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ka(t){t.data.newPos=t.elm.getBoundingClientRect()}function Sa(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}var Ea={Transition:wa,TransitionGroup:xa};Pr.config.mustUseProp=Yr,Pr.config.isReservedTag=yo,Pr.config.isReservedAttr=Zr,Pr.config.getTagNamespace=go,Pr.config.isUnknownElement=bo,I(Pr.options.directives,ma),I(Pr.options.components,Ea),Pr.prototype.__patch__=G?ia:N,Pr.prototype.$mount=function(t,e){return hn(this,t=t&&G?Ao(t):void 0,e)},G&&setTimeout(function(){H.devtools&&ut&&ut.emit("init",Pr)},0),exports.default=Pr;
},{}],7:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"App"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},e.staticRenderFns=[];
},{}],27:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}},e="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function n(t){e&&(t._devtoolHook=e,e.emit("vuex:init",t),e.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,n){e.emit("vuex:mutation",t,n)}))}function o(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function i(t){return null!==t&&"object"==typeof t}function r(t){return t&&"function"==typeof t.then}function s(t,e){if(!t)throw new Error("[vuex] "+e)}var a=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},a.prototype.forEachChild=function(t){o(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,c);var u=function(t){this.register([],t,!1)};function f(t,e,n){if(e.update(n),n.modules)for(var o in n.modules){if(!e.getChild(o))return void 0;f(t.concat(o),e.getChild(o),n.modules[o])}}u.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},u.prototype.update=function(t){f([],this.root,t)},u.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new a(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r);e.modules&&o(e.modules,function(e,o){i.register(t.concat(o),e,n)})},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var p,h={assert:function(t){return"function"==typeof t},expected:"function"},l={assert:function(t){return"function"==typeof t||"object"==typeof t&&"function"==typeof t.handler},expected:'function or object with "handler" function'},d={getters:h,mutations:h,actions:l};function m(t,e){Object.keys(d).forEach(function(n){if(e[n]){var i=d[n];o(e[n],function(e,o){s(i.assert(e),v(t,n,o,e,i.expected))})}})}function v(t,e,n,o,i){var r=e+" should be "+i+' but "'+e+"."+n+'"';return t.length>0&&(r+=' in module "'+t.join(".")+'"'),r+=" is "+JSON.stringify(o)+"."}var _=function(t){var e=this;void 0===t&&(t={}),!p&&"undefined"!=typeof window&&window.Vue&&G(window.Vue);var o=t.plugins;void 0===o&&(o=[]);var i=t.strict;void 0===i&&(i=!1);var r=t.state;void 0===r&&(r={}),"function"==typeof r&&(r=r()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new p;var s=this,a=this.dispatch,c=this.commit;this.dispatch=function(t,e){return a.call(s,t,e)},this.commit=function(t,e,n){return c.call(s,t,e,n)},this.strict=i,$(this,r,[],this._modules.root),w(this,r),o.forEach(function(t){return t(e)}),p.config.devtools&&n(this)},y={state:{configurable:!0}};function g(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function b(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;$(t,n,[],t._modules.root,!0),w(t,n,e)}function w(t,e,n){var i=t._vm;t.getters={};var r={};o(t._wrappedGetters,function(e,n){r[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var s=p.config.silent;p.config.silent=!0,t._vm=new p({data:{$$state:e},computed:r}),p.config.silent=s,t.strict&&C(t),i&&(n&&t._withCommit(function(){i._data.$$state=null}),p.nextTick(function(){return i.$destroy()}))}function $(t,e,n,o,i){var r=!n.length,s=t._modules.getNamespace(n);if(o.namespaced&&(t._modulesNamespaceMap[s]=o),!r&&!i){var a=S(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){p.set(a,c,o.state)})}var u=o.context=x(t,s,n);o.forEachMutation(function(e,n){O(t,s+n,e,u)}),o.forEachAction(function(e,n){var o=e.root?n:s+n,i=e.handler||e;j(t,o,i,u)}),o.forEachGetter(function(e,n){E(t,s+n,e,u)}),o.forEachChild(function(o,r){$(t,e,n.concat(r),o,i)})}function x(t,e,n){var o=""===e,i={dispatch:o?t.dispatch:function(n,o,i){var r=k(n,o,i),s=r.payload,a=r.options,c=r.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:o?t.commit:function(n,o,i){var r=k(n,o,i),s=r.payload,a=r.options,c=r.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(i,{getters:{get:o?function(){return t.getters}:function(){return M(t,e)}},state:{get:function(){return S(t.state,n)}}}),i}function M(t,e){var n={},o=e.length;return Object.keys(t.getters).forEach(function(i){if(i.slice(0,o)===e){var r=i.slice(o);Object.defineProperty(n,r,{get:function(){return t.getters[i]},enumerable:!0})}}),n}function O(t,e,n,o){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,o.state,e)})}function j(t,e,n,o){(t._actions[e]||(t._actions[e]=[])).push(function(e,i){var s=n.call(t,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:t.getters,rootState:t.state},e,i);return r(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):s})}function E(t,e,n,o){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(o.state,o.getters,t.state,t.getters)})}function C(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}function S(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function k(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function G(e){p&&e===p||t(p=e)}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},_.prototype.commit=function(t,e,n){var o=this,i=k(t,e,n),r=i.type,s=i.payload,a=(i.options,{type:r,payload:s}),c=this._mutations[r];c&&(this._withCommit(function(){c.forEach(function(t){t(s)})}),this._subscribers.forEach(function(t){return t(a,o.state)}))},_.prototype.dispatch=function(t,e){var n=this,o=k(t,e),i=o.type,r=o.payload,s={type:i,payload:r},a=this._actions[i];if(a)return this._actionSubscribers.forEach(function(t){return t(s,n.state)}),a.length>1?Promise.all(a.map(function(t){return t(r)})):a[0](r)},_.prototype.subscribe=function(t){return g(t,this._subscribers)},_.prototype.subscribeAction=function(t){return g(t,this._actionSubscribers)},_.prototype.watch=function(t,e,n){var o=this;return this._watcherVM.$watch(function(){return t(o.state,o.getters)},e,n)},_.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},_.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),$(this,this.state,t,this._modules.get(t),n.preserveState),w(this,this.state)},_.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=S(e.state,t.slice(0,-1));p.delete(n,t[t.length-1])}),b(this)},_.prototype.hotUpdate=function(t){this._modules.update(t),b(this,!0)},_.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(_.prototype,y);var A=T(function(t,e){var n={};return L(e).forEach(function(e){var o=e.key,i=e.val;n[o]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var o=U(this.$store,"mapState",t);if(!o)return;e=o.context.state,n=o.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[o].vuex=!0}),n}),N=T(function(t,e){var n={};return L(e).forEach(function(e){var o=e.key,i=e.val;n[o]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var o=this.$store.commit;if(t){var r=U(this.$store,"mapMutations",t);if(!r)return;o=r.context.commit}return"function"==typeof i?i.apply(this,[o].concat(e)):o.apply(this.$store,[i].concat(e))}}),n}),P=T(function(t,e){var n={};return L(e).forEach(function(e){var o=e.key,i=e.val;i=t+i,n[o]=function(){if(!t||U(this.$store,"mapGetters",t))return this.$store.getters[i]},n[o].vuex=!0}),n}),H=T(function(t,e){var n={};return L(e).forEach(function(e){var o=e.key,i=e.val;n[o]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var o=this.$store.dispatch;if(t){var r=U(this.$store,"mapActions",t);if(!r)return;o=r.context.dispatch}return"function"==typeof i?i.apply(this,[o].concat(e)):o.apply(this.$store,[i].concat(e))}}),n}),V=function(t){return{mapState:A.bind(null,t),mapGetters:P.bind(null,t),mapMutations:N.bind(null,t),mapActions:H.bind(null,t)}};function L(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function T(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function U(t,e,n){var o=t._modulesNamespaceMap[n];return o}var B={Store:_,install:G,version:"3.0.1",mapState:A,mapMutations:N,mapGetters:P,mapActions:H,createNamespacedHelpers:V};exports.Store=_,exports.install=G,exports.mapState=A,exports.mapMutations=N,exports.mapGetters=P,exports.mapActions=H,exports.createNamespacedHelpers=V,exports.default=B;
},{}],33:[function(require,module,exports) {
var global = arguments[3];
var t=arguments[3];module.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=1)}([function(t,e,n){var r=n(3)(n(2),n(4),null,null);t.exports=r.exports},function(e,n,r){"use strict";function i(t){t.component("textarea-autosize",a.a)}Object.defineProperty(n,"__esModule",{value:!0}),n.install=i;var o=r(0),a=r.n(o);r.d(n,"TextareaAutosize",function(){return a.a});var u={version:"1.0.4",install:i};n.default=u;var s=null;"undefined"!=typeof window?s=window.Vue:void 0!==t&&(s=t.Vue),s&&s.use(u)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"TextareaAutosize",created:function(){this.updateVal()},mounted:function(){this.resize()},props:{value:{type:[String,Number],default:""},autosize:{type:Boolean,default:!0},minHeight:{type:[Number],default:null},maxHeight:{type:[Number],default:null},important:{type:[Boolean,Array],default:!1}},data:function(){return{val:null,maxHeightScroll:!1}},computed:{computedStyles:function(){var t={};return this.autosize&&(t.resize=this.isResizeImportant?"none !important":"none",this.maxHeightScroll||(t.overflow=this.isOverflowImportant?"hidden !important":"hidden")),t},isResizeImportant:function(){var t=this.important;return!0===t||Array.isArray(t)&&t.includes("resize")},isOverflowImportant:function(){var t=this.important;return!0===t||Array.isArray(t)&&t.includes("overflow")},isHeightImportant:function(){var t=this.important;return!0===t||Array.isArray(t)&&t.includes("height")}},methods:{updateVal:function(){this.val=this.value},resize:function(){var t=this.isHeightImportant?"important":void 0;this.$el.style.setProperty("height","auto",t);var e=this.$el.scrollHeight+1;this.minHeight&&(e=e<this.minHeight?this.minHeight:e),this.maxHeight&&(e>this.maxHeight?(e=this.maxHeight,this.maxHeightScroll=!0):this.maxHeightScroll=!1);var n=e+"px";return this.$el.style.setProperty("height",n,t),this}},watch:{value:function(){this.updateVal()},val:function(t){this.$nextTick(this.resize),this.$emit("input",t)}}}},function(t,e){t.exports=function(t,e,n,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),n&&(u._scopeId=n),r){var s=u.computed||(u.computed={});Object.keys(r).forEach(function(t){var e=r[t];s[t]=function(){return e}})}return{esModule:i,exports:o,options:u}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("textarea",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],style:t.computedStyles,domProps:{value:t.val},on:{focus:t.resize,input:function(e){e.target.composing||(t.val=e.target.value)}}})},staticRenderFns:[]}}]);
},{}],30:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./dist/vue-textarea-autosize.common.js");Object.keys(e).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});var t=r(e);function r(e){return e&&e.__esModule?e:{default:e}}exports.default=t.default;
},{"./dist/vue-textarea-autosize.common.js":33}],19:[function(require,module,exports) {
var e=function(){"use strict";return e=function(t){if(this.REQUEST_TYPE={LOGIN:"LOGIN",RENEW_TOKEN:"RENEW_TOKEN",UNKNOWN:"UNKNOWN"},this.RESPONSE_TYPE={ID_TOKEN_TOKEN:"id_token token",TOKEN:"token"},this.CONSTANTS={ACCESS_TOKEN:"access_token",EXPIRES_IN:"expires_in",ID_TOKEN:"id_token",ERROR_DESCRIPTION:"error_description",SESSION_STATE:"session_state",ERROR:"error",STORAGE:{TOKEN_KEYS:"adal.token.keys",ACCESS_TOKEN_KEY:"adal.access.token.key",EXPIRATION_KEY:"adal.expiration.key",STATE_LOGIN:"adal.state.login",STATE_RENEW:"adal.state.renew",NONCE_IDTOKEN:"adal.nonce.idtoken",SESSION_STATE:"adal.session.state",USERNAME:"adal.username",IDTOKEN:"adal.idtoken",ERROR:"adal.error",ERROR_DESCRIPTION:"adal.error.description",LOGIN_REQUEST:"adal.login.request",LOGIN_ERROR:"adal.login.error",RENEW_STATUS:"adal.token.renew.status",ANGULAR_LOGIN_REQUEST:"adal.angular.login.request"},RESOURCE_DELIMETER:"|",CACHE_DELIMETER:"||",LOADFRAME_TIMEOUT:6e3,TOKEN_RENEW_STATUS_CANCELED:"Canceled",TOKEN_RENEW_STATUS_COMPLETED:"Completed",TOKEN_RENEW_STATUS_IN_PROGRESS:"In Progress",LOGGING_LEVEL:{ERROR:0,WARN:1,INFO:2,VERBOSE:3},LEVEL_STRING_MAP:{0:"ERROR:",1:"WARNING:",2:"INFO:",3:"VERBOSE:"},POPUP_WIDTH:483,POPUP_HEIGHT:600},e.prototype._singletonInstance)return e.prototype._singletonInstance;if(e.prototype._singletonInstance=this,this.instance="https://login.microsoftonline.com/",this.config={},this.callback=null,this.popUp=!1,this.isAngular=!1,this._user=null,this._activeRenewals={},this._loginInProgress=!1,this._acquireTokenInProgress=!1,this._renewStates=[],this._callBackMappedToRenewStates={},this._callBacksMappedToRenewStates={},this._openedWindows=[],this._requestType=this.REQUEST_TYPE.LOGIN,window._adalInstance=this,t.displayCall&&"function"!=typeof t.displayCall)throw new Error("displayCall is not a function");if(!t.clientId)throw new Error("clientId is required");this.config=this._cloneConfig(t),void 0===this.config.navigateToLoginRequestUrl&&(this.config.navigateToLoginRequestUrl=!0),this.config.popUp&&(this.popUp=!0),this.config.callback&&"function"==typeof this.config.callback&&(this.callback=this.config.callback),this.config.instance&&(this.instance=this.config.instance),this.config.loginResource||(this.config.loginResource=this.config.clientId),this.config.redirectUri||(this.config.redirectUri=window.location.href.split("?")[0].split("#")[0]),this.config.postLogoutRedirectUri||(this.config.postLogoutRedirectUri=window.location.href.split("?")[0].split("#")[0]),this.config.anonymousEndpoints||(this.config.anonymousEndpoints=[]),this.config.isAngular&&(this.isAngular=this.config.isAngular),this.config.loadFrameTimeout&&(this.CONSTANTS.LOADFRAME_TIMEOUT=this.config.loadFrameTimeout)},"undefined"!=typeof window&&(window.Logging={piiLoggingEnabled:!1,level:0,log:function(e){}}),e.prototype.login=function(){if(this._loginInProgress)this.info("Login in progress");else{this._loginInProgress=!0;var e=this._guid();this.config.state=e,this._idTokenNonce=this._guid();var t=this._getItem(this.CONSTANTS.STORAGE.ANGULAR_LOGIN_REQUEST);t&&""!==t?this._saveItem(this.CONSTANTS.STORAGE.ANGULAR_LOGIN_REQUEST,""):t=window.location.href,this.verbose("Expected state: "+e+" startPage:"+t),this._saveItem(this.CONSTANTS.STORAGE.LOGIN_REQUEST,t),this._saveItem(this.CONSTANTS.STORAGE.LOGIN_ERROR,""),this._saveItem(this.CONSTANTS.STORAGE.STATE_LOGIN,e,!0),this._saveItem(this.CONSTANTS.STORAGE.NONCE_IDTOKEN,this._idTokenNonce,!0),this._saveItem(this.CONSTANTS.STORAGE.ERROR,""),this._saveItem(this.CONSTANTS.STORAGE.ERROR_DESCRIPTION,"");var i=this._getNavigateUrl("id_token",null)+"&nonce="+encodeURIComponent(this._idTokenNonce);this.config.displayCall?this.config.displayCall(i):this.popUp?(this._saveItem(this.CONSTANTS.STORAGE.STATE_LOGIN,""),this._renewStates.push(e),this.registerCallback(e,this.config.clientId,this.callback),this._loginPopup(i)):this.promptUser(i)}},e.prototype._openPopup=function(e,t,i,s){try{var o=window.screenLeft?window.screenLeft:window.screenX,n=window.screenTop?window.screenTop:window.screenY,r=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,a=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,h=r/2-i/2+o,T=a/2-s/2+n,c=window.open(e,t,"width="+i+", height="+s+", top="+T+", left="+h);return c.focus&&c.focus(),c}catch(e){return this.warn("Error opening popup, "+e.message),this._loginInProgress=!1,this._acquireTokenInProgress=!1,null}},e.prototype._handlePopupError=function(e,t,i,s,o){this.warn(s),this._saveItem(this.CONSTANTS.STORAGE.ERROR,i),this._saveItem(this.CONSTANTS.STORAGE.ERROR_DESCRIPTION,s),this._saveItem(this.CONSTANTS.STORAGE.LOGIN_ERROR,o),t&&this._activeRenewals[t]&&(this._activeRenewals[t]=null),this._loginInProgress=!1,this._acquireTokenInProgress=!1,e&&e(s,null,i)},e.prototype._loginPopup=function(e,t,i){var s=this._openPopup(e,"login",this.CONSTANTS.POPUP_WIDTH,this.CONSTANTS.POPUP_HEIGHT),o=i||this.callback;if(null!=s){if(this._openedWindows.push(s),-1!=this.config.redirectUri.indexOf("#"))var n=this.config.redirectUri.split("#")[0];else n=this.config.redirectUri;var r=this,a=window.setInterval(function(){if(!s||s.closed||void 0===s.closed){var e="Popup Window closed",i="Popup Window closed by UI action/ Popup Window handle destroyed due to cross zone navigation in IE/Edge";return r.isAngular&&r._broadcast("adal:popUpClosed",i+r.CONSTANTS.RESOURCE_DELIMETER+e),r._handlePopupError(o,t,e,i,i),void window.clearInterval(a)}try{var h=s.location;if(-1!=encodeURI(h.href).indexOf(encodeURI(n)))return r.isAngular?r._broadcast("adal:popUpHashChanged",h.hash):r.handleWindowCallback(h.hash),window.clearInterval(a),r._loginInProgress=!1,r._acquireTokenInProgress=!1,r.info("Closing popup window"),r._openedWindows=[],void s.close()}catch(e){}},1)}else{var h="Popup Window is null. This can happen if you are using IE";this._handlePopupError(o,t,"Error opening popup",h,h)}},e.prototype._broadcast=function(e,t){!function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}e.prototype=window.Event.prototype,window.CustomEvent=e}();var i=new CustomEvent(e,{detail:t});window.dispatchEvent(i)},e.prototype.loginInProgress=function(){return this._loginInProgress},e.prototype._hasResource=function(e){var t=this._getItem(this.CONSTANTS.STORAGE.TOKEN_KEYS);return t&&!this._isEmpty(t)&&t.indexOf(e+this.CONSTANTS.RESOURCE_DELIMETER)>-1},e.prototype.getCachedToken=function(e){if(!this._hasResource(e))return null;var t=this._getItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+e),i=this._getItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+e),s=this.config.expireOffsetSeconds||300;return i&&i>this._now()+s?t:(this._saveItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+e,""),this._saveItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+e,0),null)},e.prototype.getCachedUser=function(){if(this._user)return this._user;var e=this._getItem(this.CONSTANTS.STORAGE.IDTOKEN);return this._user=this._createUser(e),this._user},e.prototype.registerCallback=function(e,t,i){this._activeRenewals[t]=e,this._callBacksMappedToRenewStates[e]||(this._callBacksMappedToRenewStates[e]=[]);var s=this;this._callBacksMappedToRenewStates[e].push(i),this._callBackMappedToRenewStates[e]||(this._callBackMappedToRenewStates[e]=function(i,o,n,r){s._activeRenewals[t]=null;for(var a=0;a<s._callBacksMappedToRenewStates[e].length;++a)try{s._callBacksMappedToRenewStates[e][a](i,o,n,r)}catch(n){s.warn(n)}s._callBacksMappedToRenewStates[e]=null,s._callBackMappedToRenewStates[e]=null})},e.prototype._renewToken=function(e,t,i){this.info("renewToken is called for resource:"+e);var s=this._addAdalFrame("adalRenewFrame"+e),o=this._guid()+"|"+e;this.config.state=o,this._renewStates.push(o),this.verbose("Renew token Expected state: "+o),i=i||"token";var n=this._urlRemoveQueryStringParameter(this._getNavigateUrl(i,e),"prompt");i===this.RESPONSE_TYPE.ID_TOKEN_TOKEN&&(this._idTokenNonce=this._guid(),this._saveItem(this.CONSTANTS.STORAGE.NONCE_IDTOKEN,this._idTokenNonce,!0),n+="&nonce="+encodeURIComponent(this._idTokenNonce)),n+="&prompt=none",n=this._addHintParameters(n),this.registerCallback(o,e,t),this.verbosePii("Navigate to:"+n),s.src="about:blank",this._loadFrameTimeout(n,"adalRenewFrame"+e,e)},e.prototype._renewIdToken=function(e,t){this.info("renewIdToken is called");var i=this._addAdalFrame("adalIdTokenFrame"),s=this._guid()+"|"+this.config.clientId;this._idTokenNonce=this._guid(),this._saveItem(this.CONSTANTS.STORAGE.NONCE_IDTOKEN,this._idTokenNonce,!0),this.config.state=s,this._renewStates.push(s),this.verbose("Renew Idtoken Expected state: "+s);var o=null===t||void 0===t?null:this.config.clientId,n=(t=t||"id_token",this._urlRemoveQueryStringParameter(this._getNavigateUrl(t,o),"prompt"));n+="&prompt=none",n=this._addHintParameters(n),n+="&nonce="+encodeURIComponent(this._idTokenNonce),this.registerCallback(s,this.config.clientId,e),this.verbosePii("Navigate to:"+n),i.src="about:blank",this._loadFrameTimeout(n,"adalIdTokenFrame",this.config.clientId)},e.prototype._urlContainsQueryStringParameter=function(e,t){return new RegExp("[\\?&]"+e+"=").test(t)},e.prototype._urlRemoveQueryStringParameter=function(e,t){var i=new RegExp("(\\&"+t+"=)[^&]+");return e=e.replace(i,""),i=new RegExp("("+t+"=)[^&]+&"),e=e.replace(i,""),i=new RegExp("("+t+"=)[^&]+"),e=e.replace(i,"")},e.prototype._loadFrameTimeout=function(e,t,i){this.verbose("Set loading state to pending for: "+i),this._saveItem(this.CONSTANTS.STORAGE.RENEW_STATUS+i,this.CONSTANTS.TOKEN_RENEW_STATUS_IN_PROGRESS),this._loadFrame(e,t);var s=this;setTimeout(function(){if(s._getItem(s.CONSTANTS.STORAGE.RENEW_STATUS+i)===s.CONSTANTS.TOKEN_RENEW_STATUS_IN_PROGRESS){s.verbose("Loading frame has timed out after: "+s.CONSTANTS.LOADFRAME_TIMEOUT/1e3+" seconds for resource "+i);var e=s._activeRenewals[i];e&&s._callBackMappedToRenewStates[e]&&s._callBackMappedToRenewStates[e]("Token renewal operation failed due to timeout",null,"Token Renewal Failed"),s._saveItem(s.CONSTANTS.STORAGE.RENEW_STATUS+i,s.CONSTANTS.TOKEN_RENEW_STATUS_CANCELED)}},s.CONSTANTS.LOADFRAME_TIMEOUT)},e.prototype._loadFrame=function(e,t){var i=this;i.info("LoadFrame: "+t);var s=t;setTimeout(function(){var t=i._addAdalFrame(s);""!==t.src&&"about:blank"!==t.src||(t.src=e,i._loadFrame(e,s))},500)},e.prototype.acquireToken=function(e,t){if(this._isEmpty(e))return this.warn("resource is required"),void t("resource is required",null,"resource is required");var i=this.getCachedToken(e);return i?(this.info("Token is already in cache for resource:"+e),void t(null,i,null)):this._user||this.config.extraQueryParameter&&-1!==this.config.extraQueryParameter.indexOf("login_hint")?void(this._activeRenewals[e]?this.registerCallback(this._activeRenewals[e],e,t):(this._requestType=this.REQUEST_TYPE.RENEW_TOKEN,e===this.config.clientId?this._user?(this.verbose("renewing idtoken"),this._renewIdToken(t)):(this.verbose("renewing idtoken and access_token"),this._renewIdToken(t,this.RESPONSE_TYPE.ID_TOKEN_TOKEN)):this._user?(this.verbose("renewing access_token"),this._renewToken(e,t)):(this.verbose("renewing idtoken and access_token"),this._renewToken(e,t,this.RESPONSE_TYPE.ID_TOKEN_TOKEN)))):(this.warn("User login is required"),void t("User login is required",null,"login required"))},e.prototype.acquireTokenPopup=function(e,t,i,s){if(this._isEmpty(e))return this.warn("resource is required"),void s("resource is required",null,"resource is required");if(!this._user)return this.warn("User login is required"),void s("User login is required",null,"login required");if(this._acquireTokenInProgress)return this.warn("Acquire token interactive is already in progress"),void s("Acquire token interactive is already in progress",null,"Acquire token interactive is already in progress");var o=this._guid()+"|"+e;this.config.state=o,this._renewStates.push(o),this._requestType=this.REQUEST_TYPE.RENEW_TOKEN,this.verbose("Renew token Expected state: "+o);var n=this._urlRemoveQueryStringParameter(this._getNavigateUrl("token",e),"prompt");if(n+="&prompt=select_account",t&&(n+=t),i&&-1===n.indexOf("&claims"))n+="&claims="+encodeURIComponent(i);else if(i&&-1!==n.indexOf("&claims"))throw new Error("Claims cannot be passed as an extraQueryParameter");n=this._addHintParameters(n),this._acquireTokenInProgress=!0,this.info("acquireToken interactive is called for the resource "+e),this.registerCallback(o,e,s),this._loginPopup(n,e,s)},e.prototype.acquireTokenRedirect=function(e,t,i){if(this._isEmpty(e))return this.warn("resource is required"),void s("resource is required",null,"resource is required");var s=this.callback;if(!this._user)return this.warn("User login is required"),void s("User login is required",null,"login required");if(this._acquireTokenInProgress)return this.warn("Acquire token interactive is already in progress"),void s("Acquire token interactive is already in progress",null,"Acquire token interactive is already in progress");var o=this._guid()+"|"+e;this.config.state=o,this.verbose("Renew token Expected state: "+o);var n=this._urlRemoveQueryStringParameter(this._getNavigateUrl("token",e),"prompt");if(n+="&prompt=select_account",t&&(n+=t),i&&-1===n.indexOf("&claims"))n+="&claims="+encodeURIComponent(i);else if(i&&-1!==n.indexOf("&claims"))throw new Error("Claims cannot be passed as an extraQueryParameter");n=this._addHintParameters(n),this._acquireTokenInProgress=!0,this.info("acquireToken interactive is called for the resource "+e),this._saveItem(this.CONSTANTS.STORAGE.LOGIN_REQUEST,window.location.href),this._saveItem(this.CONSTANTS.STORAGE.STATE_RENEW,o,!0),this.promptUser(n)},e.prototype.promptUser=function(e){e?(this.infoPii("Navigate to:"+e),window.location.replace(e)):this.info("Navigate url is empty")},e.prototype.clearCache=function(){this._saveItem(this.CONSTANTS.STORAGE.LOGIN_REQUEST,""),this._saveItem(this.CONSTANTS.STORAGE.ANGULAR_LOGIN_REQUEST,""),this._saveItem(this.CONSTANTS.STORAGE.SESSION_STATE,""),this._saveItem(this.CONSTANTS.STORAGE.STATE_LOGIN,""),this._saveItem(this.CONSTANTS.STORAGE.STATE_RENEW,""),this._renewStates=[],this._saveItem(this.CONSTANTS.STORAGE.NONCE_IDTOKEN,""),this._saveItem(this.CONSTANTS.STORAGE.IDTOKEN,""),this._saveItem(this.CONSTANTS.STORAGE.ERROR,""),this._saveItem(this.CONSTANTS.STORAGE.ERROR_DESCRIPTION,""),this._saveItem(this.CONSTANTS.STORAGE.LOGIN_ERROR,""),this._saveItem(this.CONSTANTS.STORAGE.LOGIN_ERROR,"");var e=this._getItem(this.CONSTANTS.STORAGE.TOKEN_KEYS);if(!this._isEmpty(e)){e=e.split(this.CONSTANTS.RESOURCE_DELIMETER);for(var t=0;t<e.length&&""!==e[t];t++)this._saveItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+e[t],""),this._saveItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+e[t],0)}this._saveItem(this.CONSTANTS.STORAGE.TOKEN_KEYS,"")},e.prototype.clearCacheForResource=function(e){this._saveItem(this.CONSTANTS.STORAGE.STATE_RENEW,""),this._saveItem(this.CONSTANTS.STORAGE.ERROR,""),this._saveItem(this.CONSTANTS.STORAGE.ERROR_DESCRIPTION,""),this._hasResource(e)&&(this._saveItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+e,""),this._saveItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+e,0))},e.prototype.logOut=function(){var e;if(this.clearCache(),this._user=null,this.config.logOutUri)e=this.config.logOutUri;else{var t="common",i="";this.config.tenant&&(t=this.config.tenant),this.config.postLogoutRedirectUri&&(i="post_logout_redirect_uri="+encodeURIComponent(this.config.postLogoutRedirectUri)),e=this.instance+t+"/oauth2/logout?"+i}this.infoPii("Logout navigate to: "+e),this.promptUser(e)},e.prototype._isEmpty=function(e){return void 0===e||!e||0===e.length},e.prototype.getUser=function(e){if("function"!=typeof e)throw new Error("callback is not a function");if(this._user)e(null,this._user);else{var t=this._getItem(this.CONSTANTS.STORAGE.IDTOKEN);this._isEmpty(t)?(this.warn("User information is not available"),e("User information is not available",null)):(this.info("User exists in cache: "),this._user=this._createUser(t),e(null,this._user))}},e.prototype._addHintParameters=function(e){if(this._user&&this._user.profile)if(this._user.profile.sid&&-1!==e.indexOf("&prompt=none"))this._urlContainsQueryStringParameter("sid",e)||(e+="&sid="+encodeURIComponent(this._user.profile.sid));else if(this._user.profile.upn&&(this._urlContainsQueryStringParameter("login_hint",e)||(e+="&login_hint="+encodeURIComponent(this._user.profile.upn)),!this._urlContainsQueryStringParameter("domain_hint",e)&&this._user.profile.upn.indexOf("@")>-1)){var t=this._user.profile.upn.split("@");e+="&domain_hint="+encodeURIComponent(t[t.length-1])}return e},e.prototype._createUser=function(e){var t=null,i=this._extractIdToken(e);return i&&i.hasOwnProperty("aud")&&(i.aud.toLowerCase()===this.config.clientId.toLowerCase()?(t={userName:"",profile:i},i.hasOwnProperty("upn")?t.userName=i.upn:i.hasOwnProperty("email")&&(t.userName=i.email)):this.warn("IdToken has invalid aud field")),t},e.prototype._getHash=function(e){return e.indexOf("#/")>-1?e=e.substring(e.indexOf("#/")+2):e.indexOf("#")>-1&&(e=e.substring(1)),e},e.prototype.isCallback=function(e){e=this._getHash(e);var t=this._deserialize(e);return t.hasOwnProperty(this.CONSTANTS.ERROR_DESCRIPTION)||t.hasOwnProperty(this.CONSTANTS.ACCESS_TOKEN)||t.hasOwnProperty(this.CONSTANTS.ID_TOKEN)},e.prototype.getLoginError=function(){return this._getItem(this.CONSTANTS.STORAGE.LOGIN_ERROR)},e.prototype.getRequestInfo=function(e){e=this._getHash(e);var t=this._deserialize(e),i={valid:!1,parameters:{},stateMatch:!1,stateResponse:"",requestType:this.REQUEST_TYPE.UNKNOWN};if(t&&(i.parameters=t,t.hasOwnProperty(this.CONSTANTS.ERROR_DESCRIPTION)||t.hasOwnProperty(this.CONSTANTS.ACCESS_TOKEN)||t.hasOwnProperty(this.CONSTANTS.ID_TOKEN))){i.valid=!0;var s="";if(!t.hasOwnProperty("state"))return this.warn("No state returned"),i;if(this.verbose("State: "+t.state),s=t.state,i.stateResponse=s,this._matchState(i))return i;if(!i.stateMatch&&window.parent){i.requestType=this._requestType;for(var o=this._renewStates,n=0;n<o.length;n++)if(o[n]===i.stateResponse){i.stateMatch=!0;break}}}return i},e.prototype._matchNonce=function(e){var t=this._getItem(this.CONSTANTS.STORAGE.NONCE_IDTOKEN);if(t){t=t.split(this.CONSTANTS.CACHE_DELIMETER);for(var i=0;i<t.length;i++)if(t[i]===e.profile.nonce)return!0}return!1},e.prototype._matchState=function(e){var t=this._getItem(this.CONSTANTS.STORAGE.STATE_LOGIN);if(t){t=t.split(this.CONSTANTS.CACHE_DELIMETER);for(var i=0;i<t.length;i++)if(t[i]===e.stateResponse)return e.requestType=this.REQUEST_TYPE.LOGIN,e.stateMatch=!0,!0}var s=this._getItem(this.CONSTANTS.STORAGE.STATE_RENEW);if(s){s=s.split(this.CONSTANTS.CACHE_DELIMETER);for(i=0;i<s.length;i++)if(s[i]===e.stateResponse)return e.requestType=this.REQUEST_TYPE.RENEW_TOKEN,e.stateMatch=!0,!0}return!1},e.prototype._getResourceFromState=function(e){if(e){var t=e.indexOf("|");if(t>-1&&t+1<e.length)return e.substring(t+1)}return""},e.prototype.saveTokenFromHash=function(e){this.info("State status:"+e.stateMatch+"; Request type:"+e.requestType),this._saveItem(this.CONSTANTS.STORAGE.ERROR,""),this._saveItem(this.CONSTANTS.STORAGE.ERROR_DESCRIPTION,"");var t,i=this._getResourceFromState(e.stateResponse);e.parameters.hasOwnProperty(this.CONSTANTS.ERROR_DESCRIPTION)?(this.infoPii("Error :"+e.parameters.error+"; Error description:"+e.parameters[this.CONSTANTS.ERROR_DESCRIPTION]),this._saveItem(this.CONSTANTS.STORAGE.ERROR,e.parameters.error),this._saveItem(this.CONSTANTS.STORAGE.ERROR_DESCRIPTION,e.parameters[this.CONSTANTS.ERROR_DESCRIPTION]),e.requestType===this.REQUEST_TYPE.LOGIN&&(this._loginInProgress=!1,this._saveItem(this.CONSTANTS.STORAGE.LOGIN_ERROR,e.parameters.error_description))):e.stateMatch?(this.info("State is right"),e.parameters.hasOwnProperty(this.CONSTANTS.SESSION_STATE)&&this._saveItem(this.CONSTANTS.STORAGE.SESSION_STATE,e.parameters[this.CONSTANTS.SESSION_STATE]),e.parameters.hasOwnProperty(this.CONSTANTS.ACCESS_TOKEN)&&(this.info("Fragment has access token"),this._hasResource(i)||(t=this._getItem(this.CONSTANTS.STORAGE.TOKEN_KEYS)||"",this._saveItem(this.CONSTANTS.STORAGE.TOKEN_KEYS,t+i+this.CONSTANTS.RESOURCE_DELIMETER)),this._saveItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+i,e.parameters[this.CONSTANTS.ACCESS_TOKEN]),this._saveItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+i,this._expiresIn(e.parameters[this.CONSTANTS.EXPIRES_IN]))),e.parameters.hasOwnProperty(this.CONSTANTS.ID_TOKEN)&&(this.info("Fragment has id token"),this._loginInProgress=!1,this._user=this._createUser(e.parameters[this.CONSTANTS.ID_TOKEN]),this._user&&this._user.profile?this._matchNonce(this._user)?(this._saveItem(this.CONSTANTS.STORAGE.IDTOKEN,e.parameters[this.CONSTANTS.ID_TOKEN]),i=this.config.loginResource?this.config.loginResource:this.config.clientId,this._hasResource(i)||(t=this._getItem(this.CONSTANTS.STORAGE.TOKEN_KEYS)||"",this._saveItem(this.CONSTANTS.STORAGE.TOKEN_KEYS,t+i+this.CONSTANTS.RESOURCE_DELIMETER)),this._saveItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+i,e.parameters[this.CONSTANTS.ID_TOKEN]),this._saveItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+i,this._user.profile.exp)):(this._saveItem(this.CONSTANTS.STORAGE.LOGIN_ERROR,"Nonce received: "+this._user.profile.nonce+" is not same as requested: "+this._getItem(this.CONSTANTS.STORAGE.NONCE_IDTOKEN)),this._user=null):(e.parameters.error="invalid id_token",e.parameters.error_description="Invalid id_token. id_token: "+e.parameters[this.CONSTANTS.ID_TOKEN],this._saveItem(this.CONSTANTS.STORAGE.ERROR,"invalid id_token"),this._saveItem(this.CONSTANTS.STORAGE.ERROR_DESCRIPTION,"Invalid id_token. id_token: "+e.parameters[this.CONSTANTS.ID_TOKEN])))):(e.parameters.error="Invalid_state",e.parameters.error_description="Invalid_state. state: "+e.stateResponse,this._saveItem(this.CONSTANTS.STORAGE.ERROR,"Invalid_state"),this._saveItem(this.CONSTANTS.STORAGE.ERROR_DESCRIPTION,"Invalid_state. state: "+e.stateResponse));this._saveItem(this.CONSTANTS.STORAGE.RENEW_STATUS+i,this.CONSTANTS.TOKEN_RENEW_STATUS_COMPLETED)},e.prototype.getResourceForEndpoint=function(e){if(this.config&&this.config.anonymousEndpoints)for(var t=0;t<this.config.anonymousEndpoints.length;t++)if(e.indexOf(this.config.anonymousEndpoints[t])>-1)return null;if(this.config&&this.config.endpoints)for(var i in this.config.endpoints)if(e.indexOf(i)>-1)return this.config.endpoints[i];return e.indexOf("http://")>-1||e.indexOf("https://")>-1?this._getHostFromUri(e)===this._getHostFromUri(this.config.redirectUri)?this.config.loginResource:null:this.config.loginResource},e.prototype._getHostFromUri=function(e){var t=String(e).replace(/^(https?:)\/\//,"");return t=t.split("/")[0]},e.prototype.handleWindowCallback=function(e){if(null==e&&(e=window.location.hash),this.isCallback(e)){var t=null,i=!1;this._openedWindows.length>0&&this._openedWindows[this._openedWindows.length-1].opener&&this._openedWindows[this._openedWindows.length-1].opener._adalInstance?(t=this._openedWindows[this._openedWindows.length-1].opener._adalInstance,i=!0):window.parent&&window.parent._adalInstance&&(t=window.parent._adalInstance);var s,o,n=t.getRequestInfo(e),r=null;o=i||window.parent!==window?t._callBackMappedToRenewStates[n.stateResponse]:t.callback,t.info("Returned from redirect url"),t.saveTokenFromHash(n),n.requestType===this.REQUEST_TYPE.RENEW_TOKEN&&window.parent?(window.parent!==window?t.verbose("Window is in iframe, acquiring token silently"):t.verbose("acquiring token interactive in progress"),s=n.parameters[t.CONSTANTS.ACCESS_TOKEN]||n.parameters[t.CONSTANTS.ID_TOKEN],r=t.CONSTANTS.ACCESS_TOKEN):n.requestType===this.REQUEST_TYPE.LOGIN&&(s=n.parameters[t.CONSTANTS.ID_TOKEN],r=t.CONSTANTS.ID_TOKEN);var a=n.parameters[t.CONSTANTS.ERROR_DESCRIPTION],h=n.parameters[t.CONSTANTS.ERROR];try{o&&o(a,s,h,r)}catch(e){t.error("Error occurred in user defined callback function: "+e)}window.parent!==window||i||(t.config.navigateToLoginRequestUrl?window.location.href=t._getItem(t.CONSTANTS.STORAGE.LOGIN_REQUEST):window.location.hash="")}},e.prototype._getNavigateUrl=function(e,t){var i="common";this.config.tenant&&(i=this.config.tenant);var s=this.instance+i+"/oauth2/authorize"+this._serialize(e,this.config,t)+this._addLibMetadata();return this.info("Navigate url:"+s),s},e.prototype._extractIdToken=function(e){var t=this._decodeJwt(e);if(!t)return null;try{var i=t.JWSPayload,s=this._base64DecodeStringUrlSafe(i);return s?JSON.parse(s):(this.info("The returned id_token could not be base64 url safe decoded."),null)}catch(e){this.error("The returned id_token could not be decoded",e)}return null},e.prototype._base64DecodeStringUrlSafe=function(e){return e=e.replace(/-/g,"+").replace(/_/g,"/"),window.atob?decodeURIComponent(escape(window.atob(e))):decodeURIComponent(escape(this._decode(e)))},e.prototype._decode=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i=(e=String(e).replace(/=+$/,"")).length;if(i%4==1)throw new Error("The token to be decoded is not correctly encoded.");for(var s,o,n,r,a,h,T,c,l="",S=0;S<i;S+=4){if(s=t.indexOf(e.charAt(S)),o=t.indexOf(e.charAt(S+1)),n=t.indexOf(e.charAt(S+2)),r=t.indexOf(e.charAt(S+3)),S+2===i-1){h=(a=s<<18|o<<12|n<<6)>>16&255,T=a>>8&255,l+=String.fromCharCode(h,T);break}if(S+1===i-1){h=(a=s<<18|o<<12)>>16&255,l+=String.fromCharCode(h);break}h=(a=s<<18|o<<12|n<<6|r)>>16&255,T=a>>8&255,c=255&a,l+=String.fromCharCode(h,T,c)}return l},e.prototype._decodeJwt=function(e){if(this._isEmpty(e))return null;var t=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);return!t||t.length<4?(this.warn("The returned id_token is not parseable."),null):{header:t[1],JWSPayload:t[2],JWSSig:t[3]}},e.prototype._convertUrlSafeToRegularBase64EncodedString=function(e){return e.replace("-","+").replace("_","/")},e.prototype._serialize=function(e,t,i){var s=[];if(null!==t){s.push("?response_type="+e),s.push("client_id="+encodeURIComponent(t.clientId)),i&&s.push("resource="+encodeURIComponent(i)),s.push("redirect_uri="+encodeURIComponent(t.redirectUri)),s.push("state="+encodeURIComponent(t.state)),t.hasOwnProperty("slice")&&s.push("slice="+encodeURIComponent(t.slice)),t.hasOwnProperty("extraQueryParameter")&&s.push(t.extraQueryParameter);var o=t.correlationId?t.correlationId:this._guid();s.push("client-request-id="+encodeURIComponent(o))}return s.join("&")},e.prototype._deserialize=function(e){var t,i=/\+/g,s=/([^&=]+)=([^&]*)/g,o=function(e){return decodeURIComponent(e.replace(i," "))},n={};for(t=s.exec(e);t;)n[o(t[1])]=o(t[2]),t=s.exec(e);return n},e.prototype._decimalToHex=function(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t},e.prototype._guid=function(){var e=window.crypto||window.msCrypto;if(e&&e.getRandomValues){var t=new Uint8Array(16);return e.getRandomValues(t),t[6]|=64,t[6]&=79,t[8]|=128,t[8]&=191,this._decimalToHex(t[0])+this._decimalToHex(t[1])+this._decimalToHex(t[2])+this._decimalToHex(t[3])+"-"+this._decimalToHex(t[4])+this._decimalToHex(t[5])+"-"+this._decimalToHex(t[6])+this._decimalToHex(t[7])+"-"+this._decimalToHex(t[8])+this._decimalToHex(t[9])+"-"+this._decimalToHex(t[10])+this._decimalToHex(t[11])+this._decimalToHex(t[12])+this._decimalToHex(t[13])+this._decimalToHex(t[14])+this._decimalToHex(t[15])}for(var i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",s="0123456789abcdef",o=0,n="",r=0;r<36;r++)"-"!==i[r]&&"4"!==i[r]&&(o=16*Math.random()|0),"x"===i[r]?n+=s[o]:"y"===i[r]?(o&=3,n+=s[o|=8]):n+=i[r];return n},e.prototype._expiresIn=function(e){return e||(e=3599),this._now()+parseInt(e,10)},e.prototype._now=function(){return Math.round((new Date).getTime()/1e3)},e.prototype._addAdalFrame=function(e){if(void 0!==e){this.info("Add adal frame to document:"+e);var t=document.getElementById(e);if(!t){if(document.createElement&&document.documentElement&&(window.opera||-1===window.navigator.userAgent.indexOf("MSIE 5.0"))){var i=document.createElement("iframe");i.setAttribute("id",e),i.setAttribute("aria-hidden","true"),i.style.visibility="hidden",i.style.position="absolute",i.style.width=i.style.height=i.borderWidth="0px",t=document.getElementsByTagName("body")[0].appendChild(i)}else document.body&&document.body.insertAdjacentHTML&&document.body.insertAdjacentHTML("beforeEnd",'<iframe name="'+e+'" id="'+e+'" style="display:none"></iframe>');window.frames&&window.frames[e]&&(t=window.frames[e])}return t}},e.prototype._saveItem=function(e,t,i){if(this.config&&this.config.cacheLocation&&"localStorage"===this.config.cacheLocation){if(!this._supportsLocalStorage())return this.info("Local storage is not supported"),!1;if(i){var s=this._getItem(e)||"";localStorage.setItem(e,s+t+this.CONSTANTS.CACHE_DELIMETER)}else localStorage.setItem(e,t);return!0}return this._supportsSessionStorage()?(sessionStorage.setItem(e,t),!0):(this.info("Session storage is not supported"),!1)},e.prototype._getItem=function(e){return this.config&&this.config.cacheLocation&&"localStorage"===this.config.cacheLocation?this._supportsLocalStorage()?localStorage.getItem(e):(this.info("Local storage is not supported"),null):this._supportsSessionStorage()?sessionStorage.getItem(e):(this.info("Session storage is not supported"),null)},e.prototype._supportsLocalStorage=function(){try{return!!window.localStorage&&(window.localStorage.setItem("storageTest","A"),"A"==window.localStorage.getItem("storageTest")&&(window.localStorage.removeItem("storageTest"),!window.localStorage.getItem("storageTest")))}catch(e){return!1}},e.prototype._supportsSessionStorage=function(){try{return!!window.sessionStorage&&(window.sessionStorage.setItem("storageTest","A"),"A"==window.sessionStorage.getItem("storageTest")&&(window.sessionStorage.removeItem("storageTest"),!window.sessionStorage.getItem("storageTest")))}catch(e){return!1}},e.prototype._cloneConfig=function(e){if(null===e||"object"!=typeof e)return e;var t={};for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},e.prototype._addLibMetadata=function(){return"&x-client-SKU=Js&x-client-Ver="+this._libVersion()},e.prototype.log=function(e,t,i,s){if(e<=Logging.level){if(!Logging.piiLoggingEnabled&&s)return;var o=(new Date).toUTCString(),n="";n=this.config.correlationId?o+":"+this.config.correlationId+"-"+this._libVersion()+"-"+this.CONSTANTS.LEVEL_STRING_MAP[e]+" "+t:o+":"+this._libVersion()+"-"+this.CONSTANTS.LEVEL_STRING_MAP[e]+" "+t,i&&(n+="\nstack:\n"+i.stack),Logging.log(n)}},e.prototype.error=function(e,t){this.log(this.CONSTANTS.LOGGING_LEVEL.ERROR,e,t)},e.prototype.warn=function(e){this.log(this.CONSTANTS.LOGGING_LEVEL.WARN,e,null)},e.prototype.info=function(e){this.log(this.CONSTANTS.LOGGING_LEVEL.INFO,e,null)},e.prototype.verbose=function(e){this.log(this.CONSTANTS.LOGGING_LEVEL.VERBOSE,e,null)},e.prototype.errorPii=function(e,t){this.log(this.CONSTANTS.LOGGING_LEVEL.ERROR,e,t,!0)},e.prototype.warnPii=function(e){this.log(this.CONSTANTS.LOGGING_LEVEL.WARN,e,null,!0)},e.prototype.infoPii=function(e){this.log(this.CONSTANTS.LOGGING_LEVEL.INFO,e,null,!0)},e.prototype.verbosePii=function(e){this.log(this.CONSTANTS.LOGGING_LEVEL.VERBOSE,e,null,!0)},e.prototype._libVersion=function(){return"1.0.17"},"undefined"!=typeof module&&module.exports&&(module.exports=e,module.exports.inject=function(t){return new e(t)}),e}();
},{}],15:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=function(){function n(){t(this,n)}return e(n,[{key:"setAuthenticatedUser",value:function(e){window.appInsights.setAuthenticatedUserContext(e)}},{key:"clearAuthenticatedUser",value:function(){window.appInsights.clearAuthenticatedUserContext()}},{key:"trackEvent",value:function(e,t){window.appInsights.trackEvent(e,t)}},{key:"trackError",value:function(e,t){var n=t?{method:t}:null;window.appInsights.trackTrace(e,n,window.AI.SeverityLevel.Error)}}]),n}();exports.default=n;
},{}],14:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){function e(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),n=require("adal-angular"),t=u(n),r=require("./telemetryservice"),o=u(r);function u(e){return e&&e.__esModule?e:{default:e}}function a(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}var i=new t.default(window.AppConfig.auth),l=new o.default,c=function(){function n(){a(this,n)}return e(n,[{key:"getCurrentUser",value:function(){return i.getCachedUser()}},{key:"isAuthenticated",value:function(){return this.getCurrentUser()}},{key:"handleCurrentWindowLocation",value:function(){i.isCallback(window.location.hash)&&i.handleWindowCallback()}},{key:"withToken",value:function(e,n){if(!i.getCachedUser()||window.parent!==window||window.opener)throw"Do not have ID token yet";i.acquireToken(n,function(t,r,o){o?(console.log(o,t),i.acquireTokenRedirect(n,null,null)):e(r)})}},{key:"login",value:function(){i.login()}},{key:"logout",value:function(){i.logOut(),l.clearAuthenticatedUser()}}]),n}();exports.default=new c;
},{"adal-angular":19,"./telemetryservice":15}],49:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.oDataQueryNames=["select","expand","orderby","filter","top","skip","skipToken","count"],exports.DEFAULT_VERSION="v1.0",exports.GRAPH_BASE_URL="https://graph.microsoft.com/",exports.oDataQueryNames=exports.oDataQueryNames.concat(exports.oDataQueryNames.map(function(e){return"$"+e}));
},{}],66:[function(require,module,exports) {
function t(t){if(t)return e(t)}function e(e){for(var s in t.prototype)e[s]=t.prototype[s];return e}"undefined"!=typeof module&&(module.exports=t),t.prototype.on=t.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},t.prototype.once=function(t,e){function s(){this.off(t,s),e.apply(this,arguments)}return s.fn=e,this.on(t,s),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var s,i=this._callbacks["$"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r=0;r<i.length;r++)if((s=i[r])===e||s.fn===e){i.splice(r,1);break}return this},t.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),s=this._callbacks["$"+t];if(s)for(var i=0,r=(s=s.slice(0)).length;i<r;++i)s[i].apply(this,e);return this},t.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},t.prototype.hasListeners=function(t){return!!this.listeners(t).length};
},{}],62:[function(require,module,exports) {
"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o};function t(t){return null!==t&&"object"===(void 0===t?"undefined":o(t))}module.exports=t;
},{}],64:[function(require,module,exports) {
"use strict";var t="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},e=require("./is-object");function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}module.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(t){return this._parser=t,this},r.prototype.responseType=function(t){return this._responseType=t,this},r.prototype.serialize=function(t){return this._serializer=t,this},r.prototype.timeout=function(e){if(!e||"object"!==(void 0===e?"undefined":t(e)))return this._timeout=e,this._responseTimeout=0,this;for(var r in e)switch(r){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",r)}return this},r.prototype.retry=function(t,e){return 0!==arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};var o=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];r.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(t){console.error(t)}if(e&&e.status&&e.status>=500&&501!=e.status)return!0;if(t){if(t.code&&~o.indexOf(t.code))return!0;if(t.timeout&&"ECONNABORTED"==t.code)return!0;if(t.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(t,e){if(!this._fullfilledPromise){var r=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(t,e){r.end(function(r,i){r?e(r):t(i)})})}return this._fullfilledPromise.then(t,e)},r.prototype.catch=function(t){return this.then(void 0,t)},r.prototype.use=function(t){return t(this),this},r.prototype.ok=function(t){if("function"!=typeof t)throw Error("Callback required");return this._okCallback=t,this},r.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},r.prototype.get=function(t){return this._header[t.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(t,r){if(e(t)){for(var i in t)this.set(i,t[i]);return this}return this._header[t.toLowerCase()]=r,this.header[t]=r,this},r.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},r.prototype.field=function(t,r){if(null===t||void 0===t)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),e(t)){for(var i in t)this.field(i,t[i]);return this}if(Array.isArray(r)){for(var o in r)this.field(t,r[o]);return this}if(null===r||void 0===r)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof r&&(r=""+r),this._getFormData().append(t,r),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype._auth=function(t,e,r,i){switch(r.type){case"basic":this.set("Authorization","Basic "+i(t+":"+e));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer "+t)}return this},r.prototype.withCredentials=function(t){return void 0==t&&(t=!0),this._withCredentials=t,this},r.prototype.redirects=function(t){return this._maxRedirects=t,this},r.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw TypeError("Invalid argument");return this._maxResponseSize=t,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(t){var r=e(t),i=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),r&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(r&&e(this._data))for(var o in t)this._data[o]=t[o];else"string"==typeof t?(i||this.type("form"),i=this._header["content-type"],this._data="application/x-www-form-urlencoded"==i?this._data?this._data+"&"+t:t:(this._data||"")+t):this._data=t;return!r||this._isHost(t)?this:(i||this.type("json"),this)},r.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},r.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var r=this.url.substring(e+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.substring(0,e)+"?"+r.join("&")}}},r.prototype._appendQueryString=function(){console.trace("Unsupported")},r.prototype._timeoutError=function(t,e,r){if(!this._aborted){var i=new Error(t+e+"ms exceeded");i.timeout=e,i.code="ECONNABORTED",i.errno=r,this.timedout=!0,this.abort(),this.callback(i)}},r.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout))};
},{"./is-object":62}],67:[function(require,module,exports) {
"use strict";exports.type=function(e){return e.split(/ *; */).shift()},exports.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})},exports.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e},{})},exports.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e};
},{}],65:[function(require,module,exports) {
"use strict";var t=require("./utils");function r(t){if(t)return e(t)}function e(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}module.exports=r,r.prototype.get=function(t){return this.header[t.toLowerCase()]},r.prototype._setHeaderProperties=function(r){var e=r["content-type"]||"";this.type=t.type(e);var s=t.params(e);for(var i in s)this[i]=s[i];this.links={};try{r.link&&(this.links=t.parseLinks(r.link))}catch(t){}},r.prototype._setStatusProperties=function(t){var r=t/100|0;this.status=this.statusCode=t,this.statusType=r,this.info=1==r,this.ok=2==r,this.redirect=3==r,this.clientError=4==r,this.serverError=5==r,this.error=(4==r||5==r)&&this.toError(),this.created=201==t,this.accepted=202==t,this.noContent=204==t,this.badRequest=400==t,this.unauthorized=401==t,this.notAcceptable=406==t,this.forbidden=403==t,this.notFound=404==t,this.unprocessableEntity=422==t};
},{"./utils":67}],63:[function(require,module,exports) {
function t(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach(function(e){t.prototype[e]=function(){return this._defaults.push({fn:e,arguments:arguments}),this}}),t.prototype._setDefaults=function(t){this._defaults.forEach(function(e){t[e.fn].apply(t,e.arguments)})},module.exports=t;
},{}],55:[function(require,module,exports) {
var t,e="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};"undefined"!=typeof window?t=window:"undefined"!=typeof self?t=self:(console.warn("Using browser-only version of superagent in non-browser environment"),t=this);var r=require("component-emitter"),n=require("./request-base"),o=require("./is-object"),s=require("./response-base"),i=require("./agent-base");function a(){}var u=exports=module.exports=function(t,e){return"function"==typeof e?new exports.Request("GET",t).end(e):1==arguments.length?new exports.Request("GET",t):new exports.Request(t,e)};exports.Request=m,u.getXHR=function(){if(!(!t.XMLHttpRequest||t.location&&"file:"==t.location.protocol&&t.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){}throw Error("Browser-only version of superagent could not find XHR")};var p="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function h(t){if(!o(t))return t;var e=[];for(var r in t)c(e,r,t[r]);return e.join("&")}function c(t,e,r){if(null!=r)if(Array.isArray(r))r.forEach(function(r){c(t,e,r)});else if(o(r))for(var n in r)c(t,e+"["+n+"]",r[n]);else t.push(encodeURIComponent(e)+"="+encodeURIComponent(r));else null===r&&t.push(encodeURIComponent(e))}function l(t){for(var e,r,n={},o=t.split("&"),s=0,i=o.length;s<i;++s)-1==(r=(e=o[s]).indexOf("="))?n[decodeURIComponent(e)]="":n[decodeURIComponent(e.slice(0,r))]=decodeURIComponent(e.slice(r+1));return n}function d(t){for(var e,r,n,o,s=t.split(/\r?\n/),i={},a=0,u=s.length;a<u;++a)-1!==(e=(r=s[a]).indexOf(":"))&&(n=r.slice(0,e).toLowerCase(),o=p(r.slice(e+1)),i[n]=o);return i}function f(t){return/[\/+]json($|[^-\w])/.test(t)}function y(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.header=this.headers=d(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function m(t,e){var r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",function(){var t,e=null,n=null;try{n=new y(r)}catch(t){return(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=t,r.xhr?(e.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,e.status=r.xhr.status?r.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),r.callback(e)}r.emit("response",n);try{r._isResponseOK(n)||(t=new Error(n.statusText||"Unsuccessful HTTP response"))}catch(e){t=e}t?(t.original=e,t.response=n,t.status=n.status,r.callback(t,n)):r.callback(null,n)})}function w(t,e,r){var n=u("DELETE",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n}u.serializeObject=h,u.parseString=l,u.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},u.serialize={"application/x-www-form-urlencoded":h,"application/json":JSON.stringify},u.parse={"application/x-www-form-urlencoded":l,"application/json":JSON.parse},s(y.prototype),y.prototype._parseBody=function(t){var e=u.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&f(this.type)&&(e=u.parse["application/json"]),e&&t&&(t.length||t instanceof Object)?e(t):null)},y.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,n="cannot "+e+" "+r+" ("+this.status+")",o=new Error(n);return o.status=this.status,o.method=e,o.url=r,o},u.Response=y,r(m.prototype),n(m.prototype),m.prototype.type=function(t){return this.set("Content-Type",u.types[t]||t),this},m.prototype.accept=function(t){return this.set("Accept",u.types[t]||t),this},m.prototype.auth=function(t,r,n){1===arguments.length&&(r=""),"object"===(void 0===r?"undefined":e(r))&&null!==r&&(n=r,r=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});return this._auth(t,r,n,function(t){if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")})},m.prototype.query=function(t){return"string"!=typeof t&&(t=h(t)),t&&this._query.push(t),this},m.prototype.attach=function(t,e,r){if(e){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},m.prototype._getFormData=function(){return this._formData||(this._formData=new t.FormData),this._formData},m.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),r(t,e)},m.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},m.prototype.buffer=m.prototype.ca=m.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},m.prototype.pipe=m.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},m.prototype._isHost=function(t){return t&&"object"===(void 0===t?"undefined":e(t))&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},m.prototype.end=function(t){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||a,this._finalizeQueryString(),this._end()},m.prototype._end=function(){var t=this,e=this.xhr=u.getXHR(),r=this._formData||this._data;this._setTimeouts(),e.onreadystatechange=function(){var r=e.readyState;if(r>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4==r){var n;try{n=e.status}catch(t){n=0}if(!n){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var n=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.onprogress=n.bind(null,"download"),e.upload&&(e.upload.onprogress=n.bind(null,"upload"))}catch(t){}try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof r&&!this._isHost(r)){var o=this._header["content-type"],s=this._serializer||u.serialize[o?o.split(";")[0]:""];!s&&f(o)&&(s=u.serialize["application/json"]),s&&(r=s(r))}for(var i in this.header)null!=this.header[i]&&this.header.hasOwnProperty(i)&&e.setRequestHeader(i,this.header[i]);return this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0!==r?r:null),this},u.agent=function(){return new i},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(t){i.prototype[t.toLowerCase()]=function(e,r){var n=new u.Request(t,e);return this._setDefaults(n),r&&n.end(r),n}}),i.prototype.del=i.prototype.delete,u.get=function(t,e,r){var n=u("GET",t);return"function"==typeof e&&(r=e,e=null),e&&n.query(e),r&&n.end(r),n},u.head=function(t,e,r){var n=u("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&n.query(e),r&&n.end(r),n},u.options=function(t,e,r){var n=u("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},u.del=w,u.delete=w,u.patch=function(t,e,r){var n=u("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},u.post=function(t,e,r){var n=u("POST",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},u.put=function(t,e,r){var n=u("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n};
},{"component-emitter":66,"./request-base":64,"./is-object":62,"./response-base":65,"./agent-base":63}],61:[function(require,module,exports) {
var t,e,n=module.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function u(t){if(e===clearTimeout)return clearTimeout(t);if((e===o||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(t);try{return e(t)}catch(n){try{return e.call(null,t)}catch(n){return e.call(this,t)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{e="function"==typeof clearTimeout?clearTimeout:o}catch(t){e=o}}();var c,s=[],l=!1,a=-1;function f(){l&&c&&(l=!1,c.length?s=c.concat(s):a=-1,s.length&&h())}function h(){if(!l){var t=i(f);l=!0;for(var e=s.length;e;){for(c=s,s=[];++a<e;)c&&c[a].run();a=-1,e=s.length}c=null,l=!1,u(t)}}function m(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];s.push(new m(t,e)),1!==s.length||l||i(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0};
},{}],56:[function(require,module,exports) {
var define;
var global = arguments[3];
var process = require("process");
var t,e=arguments[3],r=require("process");!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof t&&t.amd?t(r):e.ES6Promise=r()}(this,function(){"use strict";function t(t){return"function"==typeof t}var n=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},o=0,i=void 0,s=void 0,u=function(t,e){p[o]=t,p[o+1]=e,2===(o+=2)&&(s?s(_):w())};var c="undefined"!=typeof window?window:void 0,a=c||{},f=a.MutationObserver||a.WebKitMutationObserver,l="undefined"==typeof self&&void 0!==r&&"[object process]"==={}.toString.call(r),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function v(){var t=setTimeout;return function(){return t(_,1)}}var p=new Array(1e3);function _(){for(var t=0;t<o;t+=2){(0,p[t])(p[t+1]),p[t]=void 0,p[t+1]=void 0}o=0}var d,y,m,b,w=void 0;function g(t,e){var r=this,n=new this.constructor(S);void 0===n[j]&&N(n);var o=r._state;if(o){var i=arguments[o-1];u(function(){return K(o,n,i,r._result)})}else k(r,n,t,e);return n}function A(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(S);return O(e,t),e}l?w=function(){return r.nextTick(_)}:f?(y=0,m=new f(_),b=document.createTextNode(""),m.observe(b,{characterData:!0}),w=function(){b.data=y=++y%2}):h?((d=new MessageChannel).port1.onmessage=_,w=function(){return d.port2.postMessage(0)}):w=void 0===c&&"function"==typeof require?function(){try{var t=Function("return this")().require("vertx");return void 0!==(i=t.runOnLoop||t.runOnContext)?function(){i(_)}:v()}catch(t){return v()}}():v();var j=Math.random().toString(36).substring(2);function S(){}var E=void 0,T=1,M=2,P={error:null};function x(t){try{return t.then}catch(t){return P.error=t,P}}function C(e,r,n){r.constructor===e.constructor&&n===g&&r.constructor.resolve===A?function(t,e){e._state===T?F(t,e._result):e._state===M?Y(t,e._result):k(e,void 0,function(e){return O(t,e)},function(e){return Y(t,e)})}(e,r):n===P?(Y(e,P.error),P.error=null):void 0===n?F(e,r):t(n)?function(t,e,r){u(function(t){var n=!1,o=function(t,e,r,n){try{t.call(e,r,n)}catch(t){return t}}(r,e,function(r){n||(n=!0,e!==r?O(t,r):F(t,r))},function(e){n||(n=!0,Y(t,e))},t._label);!n&&o&&(n=!0,Y(t,o))},t)}(e,r,n):F(e,r)}function O(t,e){var r,n;t===e?Y(t,new TypeError("You cannot resolve a promise with itself")):(n=typeof(r=e),null===r||"object"!==n&&"function"!==n?F(t,e):C(t,e,x(e)))}function q(t){t._onerror&&t._onerror(t._result),D(t)}function F(t,e){t._state===E&&(t._result=e,t._state=T,0!==t._subscribers.length&&u(D,t))}function Y(t,e){t._state===E&&(t._state=M,t._result=e,u(q,t))}function k(t,e,r,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+T]=r,o[i+M]=n,0===i&&t._state&&u(D,t)}function D(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n=void 0,o=void 0,i=t._result,s=0;s<e.length;s+=3)n=e[s],o=e[s+r],n?K(r,n,o,i):o(i);t._subscribers.length=0}}function K(e,r,n,o){var i=t(n),s=void 0,u=void 0,c=void 0,a=void 0;if(i){if((s=function(t,e){try{return t(e)}catch(t){return P.error=t,P}}(n,o))===P?(a=!0,u=s.error,s.error=null):c=!0,r===s)return void Y(r,new TypeError("A promises callback cannot return that same promise."))}else s=o,c=!0;r._state!==E||(i&&c?O(r,s):a?Y(r,u):e===T?F(r,s):e===M&&Y(r,s))}var L=0;function N(t){t[j]=L++,t._state=void 0,t._result=void 0,t._subscribers=[]}var U=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(S),this.promise[j]||N(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?F(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&F(this.promise,this._result))):Y(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===E&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,n=r.resolve;if(n===A){var o=x(t);if(o===g&&t._state!==E)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(r===W){var i=new r(S);C(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new r(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},t.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===E&&(this._remaining--,t===M?Y(n,r):this._result[e]=r),0===this._remaining&&F(n,this._result)},t.prototype._willSettleAt=function(t,e){var r=this;k(t,void 0,function(t){return r._settledAt(T,e,t)},function(t){return r._settledAt(M,e,t)})},t}();var W=function(){function t(e){this[j]=L++,this._result=this._state=void 0,this._subscribers=[],S!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(t,e){try{e(function(e){O(t,e)},function(e){Y(t,e)})}catch(e){Y(t,e)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var e=this.constructor;return this.then(function(r){return e.resolve(t()).then(function(){return r})},function(r){return e.resolve(t()).then(function(){throw r})})},t}();return W.prototype.then=g,W.all=function(t){return new U(this,t).promise},W.race=function(t){var e=this;return n(t)?new e(function(r,n){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(r,n)}):new e(function(t,e){return e(new TypeError("You must pass an array to race."))})},W.resolve=A,W.reject=function(t){var e=new this(S);return Y(e,t),e},W._setScheduler=function(t){s=t},W._setAsap=function(t){u=t},W._asap=u,W.polyfill=function(){var t=void 0;if(void 0!==e)t=e;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var r=t.Promise;if(r){var n=null;try{n=Object.prototype.toString.call(r.resolve())}catch(t){}if("[object Promise]"===n&&!r.cast)return}t.Promise=W},W.Promise=W,W});
},{"process":61}],54:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){function e(){}return e.init=function(r,s,o){s&&s.ok?o(null,s.body,s):null==r&&null!==s.error?o(e.ParseError(s),null,s):o(e.ParseError(r),null,s)},e.ParseError=function(e){var r,s;return"rawResponse"in e?r=JSON.parse(e.rawResponse.replace(/^\uFEFF/,"")).error:void 0!==e.response&&null!==e.response.body&&"error"in e.response.body&&(r=e.response.body.error),s=void 0!==e.response&&void 0!==e.response.status?e.response.status:e.statusCode,void 0===r?{statusCode:s,code:null,message:null,requestId:null,date:new Date,body:null}:{statusCode:s,code:r.code,message:r.message,requestId:r.innerError["request-id"],date:new Date(r.innerError.date),body:r}},e}();exports.ResponseHandler=e;
},{}],53:[function(require,module,exports) {
module.exports={_args:[["@microsoft/microsoft-graph-client@1.0.0","/home/des/src/own/okeears/webui"]],_from:"@microsoft/microsoft-graph-client@1.0.0",_id:"@microsoft/microsoft-graph-client@1.0.0",_inBundle:!1,_integrity:"sha1-HAqrL0KMfLrA1E8mWoEnslhsOA0=",_location:"/@microsoft/microsoft-graph-client",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"@microsoft/microsoft-graph-client@1.0.0",name:"@microsoft/microsoft-graph-client",escapedName:"@microsoft%2fmicrosoft-graph-client",scope:"@microsoft",rawSpec:"1.0.0",saveSpec:null,fetchSpec:"1.0.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/@microsoft/microsoft-graph-client/-/microsoft-graph-client-1.0.0.tgz",_spec:"1.0.0",_where:"/home/des/src/own/okeears/webui",bugs:{url:"https://github.com/microsoftgraph/msgraph-sdk-javascript/issues"},dependencies:{"es6-promise":"^4.1.0",superagent:"^3.5.2"},description:"Microsoft Graph Client Library",devDependencies:{"@types/mocha":"^2.2.34","@types/superagent":"^2.0.36",browserify:"^13.1.0",mocha:"^3.2.0",typescript:"^2.2.1"},files:["lib/"],homepage:"https://github.com/microsoftgraph/msgraph-sdk-javascript#readme",main:"lib/src/index.js",name:"@microsoft/microsoft-graph-client",repository:{type:"git",url:"git+https://github.com/microsoftgraph/msgraph-sdk-javascript.git"},scripts:{build:"tsc && node node-browserify.js > lib/graph-js-sdk-web.js",test:"mocha lib/spec/core","test:types":"tsc --p spec/types && mocha spec/types"},types:"./lib/src/index.d.ts",typings:"lib/src/index",version:"1.0.0"};
},{}],50:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("superagent"),e=require("es6-promise"),r=require("./common"),o=require("./ResponseHandler"),n=require("../../package.json"),s=function(){function s(t,e){this.config=t,this._headers={},this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{}},this.parsePath(e)}return s.prototype.header=function(t,e){return this._headers[t]=e,this},s.prototype.headers=function(t){for(var e in t)this._headers[e]=t[e];return this},s.prototype.parsePath=function(t){if(-1!=t.indexOf("https://")){var e=(t=t.replace("https://","")).indexOf("/");this.urlComponents.host="https://"+t.substring(0,e);var o=(t=t.substring(e+1,t.length)).indexOf("/");this.urlComponents.version=t.substring(0,o),t=t.substring(o+1,t.length)}"/"==t.charAt(0)&&(t=t.substr(1));var n=t.indexOf("?");if(-1==n)this.urlComponents.path=t;else{this.urlComponents.path=t.substr(0,n);for(var s=0,i=t.substring(n+1,t.length).split("&");s<i.length;s++){var u=i[s].split("="),a=u[0],p=u[1];r.oDataQueryNames.indexOf(a)?this.urlComponents.oDataQueryParams[a]=p:this.urlComponents.otherURLQueryParams[a]=p}}},s.prototype.urlJoin=function(t){return Array.prototype.slice.call(t).reduce(function(t,e){return[(r=t,r.replace(/\/+$/,"")),function(t){return t.replace(/^\/+/,"")}(e)].join("/");var r})},s.prototype.buildFullUrl=function(){var t=this.urlJoin([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path])+this.createQueryString();return this.config.debugLogging&&console.log(t),t},s.prototype.version=function(t){return this.urlComponents.version=t,this},s.prototype.select=function(t){return this.addCsvQueryParamater("$select",t,arguments),this},s.prototype.expand=function(t){return this.addCsvQueryParamater("$expand",t,arguments),this},s.prototype.orderby=function(t){return this.addCsvQueryParamater("$orderby",t,arguments),this},s.prototype.filter=function(t){return this.urlComponents.oDataQueryParams.$filter=t,this},s.prototype.top=function(t){return this.urlComponents.oDataQueryParams.$top=t,this},s.prototype.skip=function(t){return this.urlComponents.oDataQueryParams.$skip=t,this},s.prototype.skipToken=function(t){return this.urlComponents.oDataQueryParams.$skipToken=t,this},s.prototype.count=function(t){return this.urlComponents.oDataQueryParams.$count=t.toString(),this},s.prototype.responseType=function(t){return this._responseType=t,this},s.prototype.addCsvQueryParamater=function(t,e,r){this.urlComponents.oDataQueryParams[t]=this.urlComponents.oDataQueryParams[t]?this.urlComponents.oDataQueryParams[t]+",":"";var o=[];"string"==typeof e?o.push(e):o=o.concat(e),r.length>1&&"string"==typeof e&&(o=Array.prototype.slice.call(r)),this.urlComponents.oDataQueryParams[t]+=o.join(",")},s.prototype.delete=function(e){var r=this.buildFullUrl();return this.sendRequestAndRouteResponse(t.del(r),e)},s.prototype.patch=function(e,r){var o=this.buildFullUrl();return this.sendRequestAndRouteResponse(t.patch(o).send(e),r)},s.prototype.post=function(e,r){var o=this.buildFullUrl();return this.sendRequestAndRouteResponse(t.post(o).send(e),r)},s.prototype.put=function(e,r){var o=this.buildFullUrl();return this.sendRequestAndRouteResponse(t.put(o).type("application/octet-stream").send(e),r)},s.prototype.create=function(t,e){return this.post(t,e)},s.prototype.update=function(t,e){return this.patch(t,e)},s.prototype.del=function(t){return this.delete(t)},s.prototype.get=function(e){var r=this.buildFullUrl();return this.sendRequestAndRouteResponse(t.get(r),e)},s.prototype.routeResponseToPromise=function(t){var r=this;return new e.Promise(function(e,o){r.routeResponseToCallback(t,function(t,r){null!=t?o(t):e(r)})})},s.prototype.routeResponseToCallback=function(t,e){var r=this;this.config.authProvider(function(n,s){null==n&&null!=s?r.configureRequest(t,s).end(function(t,r){o.ResponseHandler.init(t,r,e)}):e(n,null,null)})},s.prototype.sendRequestAndRouteResponse=function(t,r){if(null==r&&void 0!==e.Promise)return this.routeResponseToPromise(t);this.routeResponseToCallback(t,r||function(){})},s.prototype.getStream=function(e){var r=this;this.config.authProvider(function(o,n){if(null===o&&null!==n){var s=r.buildFullUrl();e(null,r.configureRequest(t.get(s),n))}else e(o,null)})},s.prototype.putStream=function(e,r){var o=this;this.config.authProvider(function(n,s){if(null===n&&null!==s){var i=o.buildFullUrl(),u=o.configureRequest(t.put(i),s);u.type("application/octet-stream"),e.pipe(u).on("error",function(t){r(t,null)}).on("end",function(){r(null)})}})},s.prototype.configureRequest=function(t,e){var r=t.set("Authorization","Bearer "+e).set(this._headers).set("SdkVersion","graph-js-"+n.version);return void 0!==this._responseType&&r.responseType(this._responseType),r},s.prototype.query=function(t){if("string"==typeof t){var e=t,r=e.split("=")[0],o=e.split("=")[1];this.urlComponents.otherURLQueryParams[r]=o}else for(var n in t)this.urlComponents.otherURLQueryParams[n]=t[n];return this},s.prototype.createQueryString=function(){var t=[];if(0!=Object.keys(this.urlComponents.oDataQueryParams).length)for(var e in this.urlComponents.oDataQueryParams)t.push(e+"="+this.urlComponents.oDataQueryParams[e]);if(0!=Object.keys(this.urlComponents.otherURLQueryParams).length)for(var e in this.urlComponents.otherURLQueryParams)t.push(e+"="+this.urlComponents.otherURLQueryParams[e]);return t.length>0?"?"+t.join("&"):""},s}();exports.GraphRequest=s;
},{"superagent":55,"es6-promise":56,"./common":49,"./ResponseHandler":54,"../../package.json":53}],48:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./common"),r=require("./GraphRequest"),n=function(){function n(){this.config={debugLogging:!1,defaultVersion:e.DEFAULT_VERSION,baseUrl:e.GRAPH_BASE_URL}}return n.init=function(e){var r=new n;for(var t in e)r.config[t]=e[t];return r},n.prototype.api=function(e){return new r.GraphRequest(this.config,e)},n}();exports.Client=n;
},{"./common":49,"./GraphRequest":50}],35:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){function e(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),t=require("./authservice"),r=i(t);function i(e){return e&&e.__esModule?e:{default:e}}function n(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=require("@microsoft/microsoft-graph-client"),u="https://graph.microsoft.com",o="id,displayName,jobTitle,officeLocation,givenName,surname,mail,userPrincipalName",l="id,displayName,mail,userPrincipalName",c="id,displayName,emailAddresses,userPrincipalName",h=function(){function t(){var e=this;a(this,t),this.graphClient=s.Client.init({authProvider:function(e){r.default.withToken(function(t){e(null,t)},u)}}),this.getManagersRecursively=function e(t,r,i,n){this.graphClient.api(r+"/manager").select(o).get().then(function(r){if(r){t.unshift(r);var a="/users/"+r.id;e(t,a,i,n)}else i(t)}).catch(function(e){i(t)})},this.getUser=function(t,r,i){e.graphClient.api(t).select(o).get().then(r).catch(i)}}return e(t,[{key:"getCurrentUser",value:function(e,t){this.getUser("/me",e,t)}},{key:"getUserById",value:function(e,t,r){this.getUser("/users/"+e,t,r)}},{key:"getSubjectOrgTree",value:function(e,t,r){var i=this;this.getUserById(e,function(a){var s=[a];i.getManagersRecursively(s,"/users/"+e,t,r),i.getDirectReports(e,function(e){return s.push.apply(s,n(e))},r)},r)}},{key:"getDirectReports",value:function(e,t,r){this.graphClient.api("/users/"+e+"/directReports").select(o).get().then(function(e){return t(e.value)}).catch(r)}},{key:"getCurrentUserRelevantPeople",value:function(e,t){this.graphClient.api("/me/people").version("beta").select(c).top(7).get().then(function(t){var r=t.value;r.forEach(function(e){e.emailAddresses.length&&(e.mail=e.emailAddresses[0].address)}),e(r)}).catch(t)}},{key:"findPeople",value:function(e,t,r){this.graphClient.api("/users").version("beta").select(l).filter("startswith(displayName,'"+e+"') or startswith(givenName,'"+e+"') or startswith(surname,'"+e+"') or startswith(userPrincipalName,'"+e+"') or startswith(mail,'"+e+"')").top(7).get().then(function(e){t(e.value)}).catch(r)}},{key:"getUserPhoto",value:function(e,t,r){this.graphClient.api("/users/"+e+"/photo/$value").responseType("blob").version("beta").get().then(t).catch(function(e){404==e.statusCode?t(null):r(e)})}}]),t}();exports.default=h;
},{"./authservice":14,"@microsoft/microsoft-graph-client":48}],28:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./../../services/authservice"),t=c(e),n=require("./../../services/graphsubjectservice"),E=c(n),i=require("./../../services/telemetryservice"),r=c(i);function c(e){return e&&e.__esModule?e:{default:e}}var o="https://nam.delve.office.com/?u=",u=new E.default,S=new r.default;exports.default={state:{me:{},interestingSubject:{},orgtree:[],selectedSubject:{},suggestedSubjectsList:[],searchQuery:"",error:"",widescreen:!1},getters:{CAN_CHANGE_OKR:function(e){return e.selectedSubject.id===e.me.id},GET_AUTHENTICATED_USER:function(){var e=t.default.getCurrentUser();return{id:e.profile.oid,displayName:e.userName,userPrincipalName:e.profile.upn}}},mutations:{CHANGE_VIEW_MODE:function(e){e.widescreen=!e.widescreen},CHANGE_SEARCH_QUERY:function(e,t){e.searchQuery=t},CURRENT_USER_COMPLETE:function(e,t){e.me=t},CURRENT_USER_FAILED:function(e,t){e.error=t},ORGTREE_COMPLETE:function(e,t){e.orgtree=t},ORGTREE_FAILED:function(e,t){e.error=t},SUGGESTED_SUBJECTS_LIST:function(e,t){e.suggestedSubjectsList=t},INTERESTING_SUBJECT:function(e,t){e.interestingSubject=t},SELECTED_SUBJECT:function(e,t){e.selectedSubject=t}},actions:{WIDESCREEN_MODE:function(e){e.commit("CHANGE_VIEW_MODE")},GET_CURRENT_USER:function(e){u.getCurrentUser(function(t){e.commit("CURRENT_USER_COMPLETE",t),e.dispatch("SET_INTERESTING_SUBJECT",t)},function(e){return console.log(e)})},GET_RELEVANT_SUBJECTS:function(e){u.getCurrentUserRelevantPeople(function(t){return e.commit("SUGGESTED_SUBJECTS_LIST",t)},function(e){return console.log(e)})},SEARCH_SUBJECTS:function(e,t){var n=e.state,E=e.commit,i=e.dispatch;E("CHANGE_SEARCH_QUERY",t),n.searchQuery.length?(u.findPeople(t,function(e){return E("SUGGESTED_SUBJECTS_LIST",e)},function(e){return console.log(e)}),S.trackEvent("SearchSubjects")):i("GET_RELEVANT_SUBJECTS")},SET_INTERESTING_SUBJECT:function(e,t){e.commit("INTERESTING_SUBJECT",t),e.dispatch("GET_ORGTREE"),e.dispatch("SET_SELECTED_SUBJECT",t),S.trackEvent("SetInterestingSubject",{targetId:t.id})},SET_SELECTED_SUBJECT:function(e,t){e.commit("SELECTED_SUBJECT",t),e.dispatch("GET_OBJECTIVES"),S.trackEvent("SetSelectedSubject",{targetId:t.id})},GET_ORGTREE:function(e){u.getSubjectOrgTree(e.state.interestingSubject.id,function(t){t.forEach(function(t){e.dispatch("ENRICH_SUBJECT",t)}),e.commit("ORGTREE_COMPLETE",t)},function(e){return console.log(e)})},ENRICH_SUBJECT:function(e,t){var n=e.commit,E=e.state;t.delvelink=o+t.id,t.photo=null,E.selectedSubject.id==t.id&&n("SELECTED_SUBJECT",t),E.interestingSubject.id==t.id&&n("INTERESTING_SUBJECT",t),u.getUserPhoto(t.id,function(e){if(e){var n=new FileReader;n.onloadend=function(){t.photo=n.result},e=e instanceof Blob?e:new Blob([e]),n.readAsDataURL(e)}else t.photo=null},function(e){return console.log(e)})},LOGIN:function(){t.default.login()},LOGOUT:function(){t.default.logout()}}};
},{"./../../services/authservice":14,"./../../services/graphsubjectservice":35,"./../../services/telemetryservice":15}],57:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=function(){function n(e){t(this,n),this.Aliases=["Everyone except external users","Все, кроме внешних пользователей","Jeder, außer externen Benutzern","Tout le monde sauf les utilisateurs externes","除外部用户外的任何人","外部使用者以外的所有人"],this.graphClient=e}return e(n,[{key:"getOneDriveItemIdByEtag",value:function(e,t,n){var i="me/drive/root/search(q='{"+e+"}')";this.graphClient.api(i).get().then(function(e){e.value.length>0?t(e.value[0].id):t(null)}).catch(n)}},{key:"shareOneDriveItem",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(i>=this.Aliases.length)){var r={recipients:[{alias:this.Aliases[i]}],requireSignIn:!0,sendInvitation:!1,roles:["read"]};this.graphClient.api("me/drive/items/"+e+"/invite").post(r).then(function(e){}).catch(function(r){"invalidRequest"==r.code?n.shareOneDriveItem(e,t,i+1):t(r)})}}},{key:"checkOneDriveItemIsShared",value:function(e,t,n){this.graphClient.api("me/drive/items/"+e).get().then(function(e){var n=new RegExp("(https://.+/)_layouts/.+");t({isShared:e.hasOwnProperty("shared"),webUrl:n.exec(e.webUrl)[1]})}).catch(n)}}]),n}();exports.default=n;
},{}],58:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=function(){function n(){t(this,n)}return e(n,[{key:"getNotebookIdByOneDriveTag",value:function(e){throw"Not Implemented"}},{key:"getOneDriveEtagByNotebookId",value:function(e){return e.substr(2)}}]),n}();exports.default=new n;
},{}],45:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),t=require("./authservice"),n=c(t),i=require("./onedrivehelper"),o=c(i),r=require("./onedrivenotematcher"),a=c(r);function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=require("@microsoft/microsoft-graph-client"),l="https://graph.microsoft.com",d="Okeears",h="last_selected_scope",f=window.AppConfig.app.autoShareNotebook,p=window.AppConfig.app.checkNotebookIsShared,g=[{id:"FY2019",name:"Objectives for 2019"},{id:"FY2018",name:"Objectives for 2018"},{id:"PLAYGROUND",name:"Playground"}],v=function(){function t(){s(this,t);var e=localStorage.getItem(h);this.scope=e?this.getScopes().find(function(t){return t.id==e}):this.getScopes()[0],this.sectionIds=new Map,this.graphClient=u.Client.init({authProvider:function(e){n.default.withToken(function(t){e(null,t)},l)}}),this.oneDriveHelper=new o.default(this.graphClient)}return e(t,[{key:"getSectionName",value:function(){return this.scope.id}},{key:"getScope",value:function(){return this.scope}},{key:"getScopes",value:function(){return g}},{key:"changeScope",value:function(e){localStorage.setItem(h,e.id),this.scope=e,this.sectionIds.clear()}},{key:"getKeyResults",value:function(e,t,n,i){var o=this;this.getPageContent(e,t,function(e){var t=e.querySelector("div > table");if(!t)return n([]);var i=Array.from(t.querySelectorAll("tr")).map(function(e){var t=e.getAttribute("data-id"),n=t||o.createId(),i=Array.from(e.querySelectorAll("td"));return{id:n,statement:i[0].innerText,percent:parseInt(i[1]?i[1].innerText:"0",10),description:i[2]?i[2].innerText:""}});n(i)},i)}},{key:"getObjectives",value:function(e,t,n,i){var o=this,r=e!=t;this.getSection(e,r,function(t){t?o.graphClient.api(o.getSubjectPrefix(e)+"/onenote/sections/"+t+"/pages").select("id, title, createdDateTime, lastModifiedDateTime, links").orderby("createdDateTime asc").get().then(function(t){var r=t.value.map(function(t){var n={id:t.id,createdDateTime:t.createdDateTime,lastModifiedDateTime:t.lastModifiedDateTime,statement:t.title,keyresults:[],onenoteWebUrl:t.links.oneNoteWebUrl.href};return o.getKeyResults(e,n.id,function(e){n.keyresults=e},i),n});n(r)}).catch(i):n([])},i)}},{key:"createObjective",value:function(e,t,n,i){var o=this,r="<html>\n <head>\n <title>"+(t.statement||"")+"</title>\n </head>\n <body>\n <div>\n </div>\n </body>\n </html>";this.getSection(e,!0,function(a){o.graphClient.api("me/onenote/sections/"+a+"/pages").header("Content-Type","application/xhtml+xml").post(r).then(function(r){t.id=r.id,t.createdDateTime=r.createdDateTime,t.lastModifiedDateTime=r.lastModifiedDateTime,t.onenoteWebUrl=r.links.oneNoteWebUrl.href,t.keyresults&&t.keyresults.length>0?setTimeout(function(){o.changeObjective(e,t,n,i)},2e3):n(t)}).catch(i)},i)}},{key:"changeObjective",value:function(e,t,n,i){var o=this,r=[{target:"title",action:"replace",content:t.statement}],a="";t.keyresults&&t.keyresults.length>0&&t.keyresults.forEach(function(e){e.id||(e.id=o.createId()),e.percent||(e.percent=0),a+='<tr data-id="'+e.id+'">\n <td>'+e.statement+"</td>\n <td>"+e.percent+"</td>\n <td>"+(e.description||"")+"</td>\n </tr>"}),r.push({target:"body",action:"replace",content:"<table>"+a+"</table>"}),this.graphClient.api("me/onenote/pages/"+t.id+"/content").patch(r).then(n).catch(i)}},{key:"deleteObjective",value:function(e,t,n,i){this.graphClient.api("me/onenote/pages/"+t).delete().then(n).catch(i)}},{key:"createSection",value:function(e,t,n){var i=this,o=function(o){i.graphClient.api("me/onenote/notebooks/"+o+"/sections").post({displayName:i.getSectionName()}).then(function(r){var a=r.id;i.setSubjectSectionId(e,a),f&&i.shareNotebook(o,n),t(a)}).catch(n)};this.graphClient.api("me/onenote/notebooks").post({displayName:d}).then(function(e){var t=e.id;o(t)}).catch(function(e){20117==e.code?i.graphClient.api("me/onenote/notebooks").filter("displayName eq '"+d+"'").select("id").get().then(function(e){var t=e.value;if(1==t.length){var i=t[0].id;o(i)}else n({message:"Cannot find and/or create the '"+d+"' notebook."})}).catch(n):n(e)})}},{key:"shareNotebook",value:function(e,t){var n=this,i=a.default.getOneDriveEtagByNotebookId(e);this.oneDriveHelper.getOneDriveItemIdByEtag(i,function(e){n.oneDriveHelper.shareOneDriveItem(e,t)},t)}},{key:"checkNotebookIsShared",value:function(e,t,n){var i=this,o=a.default.getOneDriveEtagByNotebookId(e);this.oneDriveHelper.getOneDriveItemIdByEtag(o,function(e){i.oneDriveHelper.checkOneDriveItemIsShared(e,t,n)},n)}},{key:"getSection",value:function(e,t,n,i){var o=this,r=this.sectionIds.get(e);r?n(r):this.searchForSection(e,function(r,a){r?(n(r),!t&&a&&(f&&o.shareNotebook(a,i),p&&o.checkNotebookIsShared(a,function(e){e.isShared||alert("You need to manually share your Okeears.\r\nTo do so you need to go to your OneDrive\r\n"+e.webUrl+'\r\nFind Okeears notebook and share it with "Everyone except external users" without permission to edit.')},i))):t?n(null):o.createSection(e,n,i)},i)}},{key:"getPageContent",value:function(e,t,n,i){this.graphClient.api(this.getSubjectPrefix(e)+"/onenote/pages/"+t+"/content").responseType("document").get().then(function(e){if(ArrayBuffer.isView(e)){var t=(new DOMParser).parseFromString(e,"text/html");n(t)}else n(e)}).catch(i)}},{key:"searchForSection",value:function(e,t,n){var i=this;this.graphClient.api(this.getSubjectPrefix(e)+"/onenote/sections").filter("displayName eq '"+this.getSectionName()+"'").select("id").expand("parentNotebook").get().then(function(o){var r=o.value.filter(function(e){return e.parentNotebook.displayName==d});if(1==r.length){var a=r[0].id,c=r[0].parentNotebook.id;i.setSubjectSectionId(e,a),t(a,c)}else 0==r.length?t(null,null):n({message:"More than one '"+i.getSectionName()+"' sections found in the '"+d+"' notebook."})}).catch(n)}},{key:"getSubjectPrefix",value:function(e){return"/users/"+e}},{key:"setSubjectSectionId",value:function(e,t){this.sectionIds.set(e,t)}},{key:"createId",value:function(){return Math.random().toString(36).substr(2,9)}}]),t}();exports.default=v;
},{"./authservice":14,"./onedrivehelper":57,"./onedrivenotematcher":58,"@microsoft/microsoft-graph-client":48}],29:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./../../services/okrservice"),t=c(e),E=require("./../../services/telemetryservice"),n=c(E),i=require("./user"),r=c(i);function c(e){return e&&e.__esModule?e:{default:e}}var s=new t.default,o=new n.default,u=function(e,t,E){var n=t.findIndex(function(t){return t.id===e});if(n>-1){var i=t[n];t.splice(n,1),E.push(i)}};exports.default={state:{scopes:[],scope:null,objectives:[],removedObjectives:[],loading:!1,saving:!1,error:null,invalidOneDriveForBusinessLicense:!1},mutations:{SET_SCOPE:function(e,t){e.scope=t},SCOPES_COMPLETE:function(e,t){e.error=null,e.loading=!1,e.saving=!1,e.scopes=t},OBJECTIVES_COMPLETE:function(e,t){e.error=null,e.invalidOneDriveForBusinessLicense=!1,e.loading=!1,e.saving=!1,e.objectives=t,e.removedObjectives=[]},CLEAR_OBJECTIVES:function(e){e.objectives=[],e.removedObjectives=[],e.loading=!1,e.saving=!1},ADD_OBJECTIVE:function(e,t){e.error=null,e.objectives.unshift(t)},OBJECTIVES_FAILED:function(e,t){e.error=t,e.invalidOneDriveForBusinessLicense=!1,e.loading=!1,e.saving=!1,o.trackError("OBJECTIVES_FAILED")},MARK_ONEDRIVE_LICENSE_ERROR:function(e){e.invalidOneDriveForBusinessLicense=!0,o.trackError("MARK_ONEDRIVE_LICENSE_ERROR")},CREATE_OBJECTIVE_FAILED:function(e,t){e.error=t,e.saving=!1,o.trackError("CREATE_OBJECTIVE_FAILED")},EDIT_OBJECTIVE:function(e,t){e.saving=!0;var E=e.objectives,n=t.objective;E[E.indexOf(n)].statement=t.statement,e.objectives=E},EDIT_OBJECTIVE_FAILED:function(e,t){e.error=t,e.saving=!1,o.trackError("EDIT_OBJECTIVE_FAILED")},DELETE_OBJECTIVE:function(e,t){e.error=null,e.saving=!0,u(t,e.objectives,e.removedObjectives)},DELETE_OBJECTIVE_FAILED:function(e,t){e.error=t,e.saving=!1,o.trackError("DELETE_OBJECTIVE_FAILED")},RESTORE_OBJECTIVE:function(e,t){e.error=null,e.saving=!0,u(t,e.removedObjectives,e.objectives)},PURGE_OBJECTIVE:function(e,t){u(t,e.removedObjectives,[])},CREATE_KEYRESULT:function(e,t){e.saving=!0;var E=e.objectives,n=t.objective;n.keyresults.push(t.keyresult),E[E.indexOf(n)].keyresults=n.keyresults,e.objectives=E},CREATE_KEYRESULT_FAILED:function(e,t){e.error=t,e.saving=!1,o.trackError("CREATE_KEYRESULT_FAILED")},EDIT_KEYRESULT:function(e,t){e.saving=!0;var E=e.objectives,n=t.objective,i=E.indexOf(n),r=n.keyresults.indexOf(t.keyresult);E[i].keyresults[r].statement=t.krStatement,E[i].keyresults[r].percent=t.krPercent,E[i].keyresults[r].description=t.krDescription,e.objectives=E},EDIT_KEYRESULT_FAILED:function(e,t){e.error=t,e.saving=!1,o.trackError("EDIT_KEYRESULT_FAILED")},DELETE_KEYRESULT:function(e,t){e.saving=!0;var E=e.objectives,n=t.objective,i=E[E.indexOf(n)].keyresults;i.splice(i.indexOf(t.keyresult),1)},DELETE_KEYRESULT_FAILED:function(e,t){e.error=t,e.saving=!1,o.trackError("DELETE_KEYRESULT_FAILED")},SAVING_SUCCESSFULLY_COMPLETE:function(e){e.error=null,e.saving=!1},SAVING_STARTED:function(e){e.saving=!0},LOADING_STARTED:function(e){e.loading=!0}},getters:{HAVE_VISIBLE_OBJECTIVES:function(e){return e.objectives.length+e.removedObjectives.length>0},VISIBLE_OBJECTIVES:function(e){return e.objectives.concat(e.removedObjectives).sort(function(e,t){return e.createdDateTime<t.createdDateTime})}},actions:{SET_SCOPE:function(e,t){e.state;var E=e.commit,n=e.dispatch;E("SET_SCOPE",t),s.changeScope(t),n("GET_OBJECTIVES")},LOAD_SCOPES:function(e){e.state;var t=e.commit;t("LOADING_STARTED"),t("SCOPES_COMPLETE",s.getScopes()),t("SET_SCOPE",s.getScope())},GET_OBJECTIVES:function(e){e.state;var t=e.commit;t("LOADING_STARTED"),s.getObjectives(r.default.state.selectedSubject.id,r.default.state.me.id,function(e){return t("OBJECTIVES_COMPLETE",e)},function(e){404==e.statusCode&&30108==e.code?(t("MARK_ONEDRIVE_LICENSE_ERROR"),t("CLEAR_OBJECTIVES")):t("OBJECTIVES_FAILED",e)})},CREATE_OBJECTIVE:function(e,t){e.state;var E=e.commit;t.id="temp-"+s.createId(),t.lastModifiedDateTime=new Date,t.onenoteWebUrl=null,E("ADD_OBJECTIVE",t),E("SAVING_STARTED"),s.createObjective(r.default.state.selectedSubject.id,t,function(e){return E("SAVING_SUCCESSFULLY_COMPLETE")},function(e){return E("CREATE_OBJECTIVE_FAILED",e)}),o.trackEvent("CreateObjective",{statementLength:t.statement.length})},COPY_OBJECTIVE_TO_CURRENT_USER:function(e,t){e.state;var E=e.commit;r.default.state.me.id===r.default.state.selectedSubject.id&&E("ADD_OBJECTIVE",t),E("SAVING_STARTED"),s.createObjective(r.default.state.me.id,t,function(e){return E("SAVING_SUCCESSFULLY_COMPLETE")},function(e){return E("CREATE_OBJECTIVE_FAILED",e)}),o.trackEvent("CopyObjective",{sourceSubjectId:r.default.state.selectedSubject.id,statementLength:t.statement.length})},EDIT_OBJECTIVE:function(e,t){e.state;var E=e.commit;E("EDIT_OBJECTIVE",t),s.changeObjective(r.default.state.selectedSubject.id,t.objective,function(e){return E("SAVING_SUCCESSFULLY_COMPLETE")},function(e){return E("EDIT_OBJECTIVE_FAILED",e)}),o.trackEvent("EditObjective",{statementLength:t.objective.statement.length})},DELETE_OBJECTIVE:function(e,t){e.state;var E=e.commit;E("DELETE_OBJECTIVE",t),s.deleteObjective(r.default.state.selectedSubject.id,t,function(e){return E("SAVING_SUCCESSFULLY_COMPLETE")},function(e){return E("DELETE_OBJECTIVE_FAILED",e)}),o.trackEvent("DeleteObjective")},RESTORE_OBJECTIVE:function(e,t){var E=e.state,n=e.commit;n("RESTORE_OBJECTIVE",t);var i=E.objectives.find(function(e){return e.id===t});s.createObjective(r.default.state.selectedSubject.id,i,function(e){return n("SAVING_SUCCESSFULLY_COMPLETE")},function(e){return n("CREATE_OBJECTIVE_FAILED",e)}),o.trackEvent("RestoreObjective",{objectiveId:t,statementLength:i.statement.length})},PURGE_OBJECTIVE:function(e,t){(0,e.commit)("PURGE_OBJECTIVE",t),o.trackEvent("PurgeObjective",{objectiveId:t})},CREATE_KEYRESULT:function(e,t){e.state;var E=e.commit;E("CREATE_KEYRESULT",t),s.changeObjective(r.default.state.selectedSubject.id,t.objective,function(e){return E("SAVING_SUCCESSFULLY_COMPLETE")},function(e){return E("CREATE_KEYRESULT_FAILED",e)}),o.trackEvent("CreateKeyResult",{objectiveId:t.objective.id,statementLength:t.objective.statement.length,krStatementLength:t.keyresult.statement.length})},EDIT_KEYRESULT:function(e,t){e.state;var E=e.commit;E("EDIT_KEYRESULT",t),s.changeObjective(r.default.state.selectedSubject.id,t.objective,function(e){return E("SAVING_SUCCESSFULLY_COMPLETE")},function(e){return E("EDIT_KEYRESULT_FAILED",e)}),o.trackEvent("EditKeyResult",{objectiveId:t.objective.id,statementLength:t.objective.statement.length,krStatementLength:t.keyresult.statement.length,krDescriptionLength:t.keyresult.description.length})},DELETE_KEYRESULT:function(e,t){e.state;var E=e.commit;E("DELETE_KEYRESULT",t),s.changeObjective(r.default.state.selectedSubject.id,t.objective,function(e){return E("SAVING_SUCCESSFULLY_COMPLETE")},function(e){return E("DELETE_KEYRESULT_FAILED",e)}),o.trackEvent("DeleteKeyResult",{objectiveId:t.objective.id,statementLength:t.objective.statement.length,krStatementLength:t.keyresult.statement.length,krDescriptionLength:t.keyresult.description.length})}}};
},{"./../../services/okrservice":45,"./../../services/telemetryservice":15,"./user":28}],17:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("vue"),u=i(e),r=require("vuex"),t=i(r),d=require("vue-textarea-autosize"),l=i(d),a=require("./modules/user"),s=i(a),o=require("./modules/okr"),f=i(o);function i(e){return e&&e.__esModule?e:{default:e}}u.default.use(t.default),u.default.use(l.default),exports.default=new t.default.Store({modules:{user:s.default,okr:f.default}});
},{"vue":10,"vuex":27,"vue-textarea-autosize":30,"./modules/user":28,"./modules/okr":29}],16:[function(require,module,exports) {
"use strict";function t(t,e){if(!t)throw new Error("[vue-router] "+e)}function e(t,e){0}function r(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}Object.defineProperty(exports,"__esModule",{value:!0});var n={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var r=e.props,n=e.children,a=e.parent,u=e.data;u.routerView=!0;for(var c=a.$createElement,s=r.name,p=a.$route,f=a._routerViewCache||(a._routerViewCache={}),h=0,l=!1;a&&a._routerRoot!==a;)a.$vnode&&a.$vnode.data.routerView&&h++,a._inactive&&(l=!0),a=a.$parent;if(u.routerViewDepth=h,l)return c(f[s],u,n);var d=p.matched[h];if(!d)return f[s]=null,c();var v=f[s]=d.components[s];u.registerRouteInstance=function(t,e){var r=d.instances[s];(e&&r!==t||!e&&r===t)&&(d.instances[s]=e)},(u.hook||(u.hook={})).prepatch=function(t,e){d.instances[s]=e.componentInstance};var y=u.props=o(p,d.props&&d.props[s]);if(y){y=u.props=i({},y);var m=u.attrs=u.attrs||{};for(var g in y)v.props&&g in v.props||(m[g]=y[g],delete y[g])}return c(v,u,n)}};function o(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function i(t,e){for(var r in e)t[r]=e[r];return t}var a=/[!'()*]/g,u=function(t){return"%"+t.charCodeAt(0).toString(16)},c=/%2C/g,s=function(t){return encodeURIComponent(t).replace(a,u).replace(c,",")},p=decodeURIComponent;function f(t,e,r){void 0===e&&(e={});var n,o=r||h;try{n=o(t||"")}catch(t){n={}}for(var i in e)n[i]=e[i];return n}function h(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var r=t.replace(/\+/g," ").split("="),n=p(r.shift()),o=r.length>0?p(r.join("=")):null;void 0===e[n]?e[n]=o:Array.isArray(e[n])?e[n].push(o):e[n]=[e[n],o]}),e):e}function l(t){var e=t?Object.keys(t).map(function(e){var r=t[e];if(void 0===r)return"";if(null===r)return s(e);if(Array.isArray(r)){var n=[];return r.forEach(function(t){void 0!==t&&(null===t?n.push(s(e)):n.push(s(e)+"="+s(t)))}),n.join("&")}return s(e)+"="+s(r)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var d=/\/?$/;function v(t,e,r,n){var o=n&&n.options.stringifyQuery,i=e.query||{};try{i=y(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:b(e,o),matched:t?g(t):[]};return r&&(a.redirectedFrom=b(r,o)),Object.freeze(a)}function y(t){if(Array.isArray(t))return t.map(y);if(t&&"object"==typeof t){var e={};for(var r in t)e[r]=y(t[r]);return e}return t}var m=v(null,{path:"/"});function g(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function b(t,e){var r=t.path,n=t.query;void 0===n&&(n={});var o=t.hash;return void 0===o&&(o=""),(r||"/")+(e||l)(n)+o}function w(t,e){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(d,"")===e.path.replace(d,"")&&t.hash===e.hash&&x(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&x(t.query,e.query)&&x(t.params,e.params)))}function x(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var r=Object.keys(t),n=Object.keys(e);return r.length===n.length&&r.every(function(r){var n=t[r],o=e[r];return"object"==typeof n&&"object"==typeof o?x(n,o):String(n)===String(o)})}function k(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&E(t.query,e.query)}function E(t,e){for(var r in e)if(!(r in t))return!1;return!0}var R,O=[String,Object],C=[String,Array],_={name:"router-link",props:{to:{type:O,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:C,default:"click"}},render:function(t){var e=this,r=this.$router,n=this.$route,o=r.resolve(this.to,n,this.append),i=o.location,a=o.route,u=o.href,c={},s=r.options.linkActiveClass,p=r.options.linkExactActiveClass,f=null==s?"router-link-active":s,h=null==p?"router-link-exact-active":p,l=null==this.activeClass?f:this.activeClass,d=null==this.exactActiveClass?h:this.exactActiveClass,y=i.path?v(null,i,null,r):a;c[d]=w(n,y),c[l]=this.exact?c[d]:k(n,y);var m=function(t){j(t)&&(e.replace?r.replace(i):r.push(i))},g={click:j};Array.isArray(this.event)?this.event.forEach(function(t){g[t]=m}):g[this.event]=m;var b={class:c};if("a"===this.tag)b.on=g,b.attrs={href:u};else{var x=A(this.$slots.default);if(x){x.isStatic=!1;var E=R.util.extend;(x.data=E({},x.data)).on=g,(x.data.attrs=E({},x.data.attrs)).href=u}else b.on=g}return t(this.tag,b,this.$slots.default)}};function j(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function A(t){if(t)for(var e,r=0;r<t.length;r++){if("a"===(e=t[r]).tag)return e;if(e.children&&(e=A(e.children)))return e}}function T(t){if(!T.installed||R!==t){T.installed=!0,R=t;var e=function(t){return void 0!==t},r=function(t,r){var n=t.$options._parentVnode;e(n)&&e(n=n.data)&&e(n=n.registerRouteInstance)&&n(t,r)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("router-view",n),t.component("router-link",_);var o=t.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}}var S="undefined"!=typeof window;function $(t,e,r){var n=t.charAt(0);if("/"===n)return t;if("?"===n||"#"===n)return e+t;var o=e.split("/");r&&o[o.length-1]||o.pop();for(var i=t.replace(/^\//,"").split("/"),a=0;a<i.length;a++){var u=i[a];".."===u?o.pop():"."!==u&&o.push(u)}return""!==o[0]&&o.unshift(""),o.join("/")}function q(t){var e="",r="",n=t.indexOf("#");n>=0&&(e=t.slice(n),t=t.slice(0,n));var o=t.indexOf("?");return o>=0&&(r=t.slice(o+1),t=t.slice(0,o)),{path:t,query:r,hash:e}}function L(t){return t.replace(/\/\//g,"/")}var P=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},U=et,M=V,H=F,I=J,z=tt,B=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function V(t,e){for(var r,n=[],o=0,i=0,a="",u=e&&e.delimiter||"/";null!=(r=B.exec(t));){var c=r[0],s=r[1],p=r.index;if(a+=t.slice(i,p),i=p+c.length,s)a+=s[1];else{var f=t[i],h=r[2],l=r[3],d=r[4],v=r[5],y=r[6],m=r[7];a&&(n.push(a),a="");var g=null!=h&&null!=f&&f!==h,b="+"===y||"*"===y,w="?"===y||"*"===y,x=r[2]||u,k=d||v;n.push({name:l||o++,prefix:h||"",delimiter:x,optional:w,repeat:b,partial:g,asterisk:!!m,pattern:k?Q(k):m?".*":"[^"+N(x)+"]+?"})}}return i<t.length&&(a+=t.substr(i)),a&&n.push(a),n}function F(t,e){return J(V(t,e))}function D(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function K(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function J(t){for(var e=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(e[r]=new RegExp("^(?:"+t[r].pattern+")$"));return function(r,n){for(var o="",i=r||{},a=(n||{}).pretty?D:encodeURIComponent,u=0;u<t.length;u++){var c=t[u];if("string"!=typeof c){var s,p=i[c.name];if(null==p){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(P(p)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(s=a(p[f]),!e[u].test(s))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(s)+"`");o+=(0===f?c.prefix:c.delimiter)+s}}else{if(s=c.asterisk?K(p):a(p),!e[u].test(s))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');o+=c.prefix+s}}else o+=c}return o}}function N(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Q(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function X(t,e){return t.keys=e,t}function Y(t){return t.sensitive?"":"i"}function W(t,e){var r=t.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return X(t,e)}function G(t,e,r){for(var n=[],o=0;o<t.length;o++)n.push(et(t[o],e,r).source);return X(new RegExp("(?:"+n.join("|")+")",Y(r)),e)}function Z(t,e,r){return tt(V(t,r),e,r)}function tt(t,e,r){P(e)||(r=e||r,e=[]);for(var n=(r=r||{}).strict,o=!1!==r.end,i="",a=0;a<t.length;a++){var u=t[a];if("string"==typeof u)i+=N(u);else{var c=N(u.prefix),s="(?:"+u.pattern+")";e.push(u),u.repeat&&(s+="(?:"+c+s+")*"),i+=s=u.optional?u.partial?c+"("+s+")?":"(?:"+c+"("+s+"))?":c+"("+s+")"}}var p=N(r.delimiter||"/"),f=i.slice(-p.length)===p;return n||(i=(f?i.slice(0,-p.length):i)+"(?:"+p+"(?=$))?"),i+=o?"$":n&&f?"":"(?="+p+"|$)",X(new RegExp("^"+i,Y(r)),e)}function et(t,e,r){return P(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?W(t,e):P(t)?G(t,e,r):Z(t,e,r)}U.parse=M,U.compile=H,U.tokensToFunction=I,U.tokensToRegExp=z;var rt=Object.create(null);function nt(t,e,r){try{return(rt[t]||(rt[t]=U.compile(t)))(e||{},{pretty:!0})}catch(t){return""}}function ot(t,e,r,n){var o=e||[],i=r||Object.create(null),a=n||Object.create(null);t.forEach(function(t){it(o,i,a,t)});for(var u=0,c=o.length;u<c;u++)"*"===o[u]&&(o.push(o.splice(u,1)[0]),c--,u--);return{pathList:o,pathMap:i,nameMap:a}}function it(t,e,r,n,o,i){var a=n.path,u=n.name;var c=n.pathToRegexpOptions||{},s=ut(a,o,c.strict);"boolean"==typeof n.caseSensitive&&(c.sensitive=n.caseSensitive);var p={path:s,regex:at(s,c),components:n.components||{default:n.component},instances:{},name:u,parent:o,matchAs:i,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};(n.children&&n.children.forEach(function(n){var o=i?L(i+"/"+n.path):void 0;it(t,e,r,n,p,o)}),void 0!==n.alias)&&(Array.isArray(n.alias)?n.alias:[n.alias]).forEach(function(i){var a={path:i,children:n.children};it(t,e,r,a,o,p.path||"/")});e[p.path]||(t.push(p.path),e[p.path]=p),u&&(r[u]||(r[u]=p))}function at(t,e){var r=U(t,[],e);return r}function ut(t,e,r){return r||(t=t.replace(/\/$/,"")),"/"===t[0]?t:null==e?t:L(e.path+"/"+t)}function ct(t,e,r,n){var o="string"==typeof t?{path:t}:t;if(o.name||o._normalized)return o;if(!o.path&&o.params&&e){(o=st({},o))._normalized=!0;var i=st(st({},e.params),o.params);if(e.name)o.name=e.name,o.params=i;else if(e.matched.length){var a=e.matched[e.matched.length-1].path;o.path=nt(a,i,"path "+e.path)}else 0;return o}var u=q(o.path||""),c=e&&e.path||"/",s=u.path?$(u.path,c,r||o.append):c,p=f(u.query,o.query,n&&n.options.parseQuery),h=o.hash||u.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:s,query:p,hash:h}}function st(t,e){for(var r in e)t[r]=e[r];return t}function pt(t,e){var r=ot(t),n=r.pathList,o=r.pathMap,i=r.nameMap;function a(t,r,a){var c=ct(t,r,!1,e),s=c.name;if(s){var p=i[s];if(!p)return u(null,c);var f=p.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof c.params&&(c.params={}),r&&"object"==typeof r.params)for(var h in r.params)!(h in c.params)&&f.indexOf(h)>-1&&(c.params[h]=r.params[h]);if(p)return c.path=nt(p.path,c.params,'named route "'+s+'"'),u(p,c,a)}else if(c.path){c.params={};for(var l=0;l<n.length;l++){var d=n[l],v=o[d];if(ft(v.regex,c.path,c.params))return u(v,c,a)}}return u(null,c)}function u(t,r,n){return t&&t.redirect?function(t,r){var n=t.redirect,o="function"==typeof n?n(v(t,r,null,e)):n;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return u(null,r);var c=o,s=c.name,p=c.path,f=r.query,h=r.hash,l=r.params;if(f=c.hasOwnProperty("query")?c.query:f,h=c.hasOwnProperty("hash")?c.hash:h,l=c.hasOwnProperty("params")?c.params:l,s)return i[s],a({_normalized:!0,name:s,query:f,hash:h,params:l},void 0,r);if(p){var d=ht(p,t);return a({_normalized:!0,path:nt(d,l,'redirect route with path "'+d+'"'),query:f,hash:h},void 0,r)}return u(null,r)}(t,n||r):t&&t.matchAs?function(t,e,r){var n=a({_normalized:!0,path:nt(r,e.params,'aliased route with path "'+r+'"')});if(n){var o=n.matched,i=o[o.length-1];return e.params=n.params,u(i,e)}return u(null,e)}(0,r,t.matchAs):v(t,r,n,e)}return{match:a,addRoutes:function(t){ot(t,n,o,i)}}}function ft(t,e,r){var n=e.match(t);if(!n)return!1;if(!r)return!0;for(var o=1,i=n.length;o<i;++o){var a=t.keys[o-1],u="string"==typeof n[o]?decodeURIComponent(n[o]):n[o];a&&(r[a.name]=u)}return!0}function ht(t,e){return $(t,e.parent?e.parent.path:"/",!0)}var lt=Object.create(null);function dt(){window.history.replaceState({key:jt()},""),window.addEventListener("popstate",function(t){yt(),t.state&&t.state.key&&At(t.state.key)})}function vt(t,e,r,n){if(t.app){var o=t.options.scrollBehavior;o&&t.app.$nextTick(function(){var t=mt(),i=o(e,r,n?t:null);i&&("function"==typeof i.then?i.then(function(e){Et(e,t)}).catch(function(t){0}):Et(i,t))})}}function yt(){var t=jt();t&&(lt[t]={x:window.pageXOffset,y:window.pageYOffset})}function mt(){var t=jt();if(t)return lt[t]}function gt(t,e){var r=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-r.left-e.x,y:n.top-r.top-e.y}}function bt(t){return kt(t.x)||kt(t.y)}function wt(t){return{x:kt(t.x)?t.x:window.pageXOffset,y:kt(t.y)?t.y:window.pageYOffset}}function xt(t){return{x:kt(t.x)?t.x:0,y:kt(t.y)?t.y:0}}function kt(t){return"number"==typeof t}function Et(t,e){var r="object"==typeof t;if(r&&"string"==typeof t.selector){var n=document.querySelector(t.selector);if(n){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=gt(n,o=xt(o))}else bt(t)&&(e=wt(t))}else r&&bt(t)&&(e=wt(t));e&&window.scrollTo(e.x,e.y)}var Rt=S&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),Ot=S&&window.performance&&window.performance.now?window.performance:Date,Ct=_t();function _t(){return Ot.now().toFixed(3)}function jt(){return Ct}function At(t){Ct=t}function Tt(t,e){yt();var r=window.history;try{e?r.replaceState({key:Ct},"",t):(Ct=_t(),r.pushState({key:Ct},"",t))}catch(r){window.location[e?"replace":"assign"](t)}}function St(t){Tt(t,!0)}function $t(t,e,r){var n=function(o){o>=t.length?r():t[o]?e(t[o],function(){n(o+1)}):n(o+1)};n(0)}function qt(t){return function(e,n,o){var i=!1,a=0,u=null;Lt(t,function(t,e,n,c){if("function"==typeof t&&void 0===t.cid){i=!0,a++;var s,p=Ht(function(e){Mt(e)&&(e=e.default),t.resolved="function"==typeof e?e:R.extend(e),n.components[c]=e,--a<=0&&o()}),f=Ht(function(t){var e="Failed to resolve async component "+c+": "+t;u||(u=r(t)?t:new Error(e),o(u))});try{s=t(p,f)}catch(t){f(t)}if(s)if("function"==typeof s.then)s.then(p,f);else{var h=s.component;h&&"function"==typeof h.then&&h.then(p,f)}}}),i||o()}}function Lt(t,e){return Pt(t.map(function(t){return Object.keys(t.components).map(function(r){return e(t.components[r],t.instances[r],t,r)})}))}function Pt(t){return Array.prototype.concat.apply([],t)}var Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Mt(t){return t.__esModule||Ut&&"Module"===t[Symbol.toStringTag]}function Ht(t){var e=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var It=function(t,e){this.router=t,this.base=zt(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function zt(t){if(!t)if(S){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function Bt(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r<n&&t[r]===e[r];r++);return{updated:e.slice(0,r),activated:e.slice(r),deactivated:t.slice(r)}}function Vt(t,e,r,n){var o=Lt(t,function(t,n,o,i){var a=Ft(t,e);if(a)return Array.isArray(a)?a.map(function(t){return r(t,n,o,i)}):r(a,n,o,i)});return Pt(n?o.reverse():o)}function Ft(t,e){return"function"!=typeof t&&(t=R.extend(t)),t.options[e]}function Dt(t){return Vt(t,"beforeRouteLeave",Jt,!0)}function Kt(t){return Vt(t,"beforeRouteUpdate",Jt)}function Jt(t,e){if(e)return function(){return t.apply(e,arguments)}}function Nt(t,e,r){return Vt(t,"beforeRouteEnter",function(t,n,o,i){return Qt(t,o,i,e,r)})}function Qt(t,e,r,n,o){return function(i,a,u){return t(i,a,function(t){u(t),"function"==typeof t&&n.push(function(){Xt(t,e.instances,r,o)})})}}function Xt(t,e,r,n){e[r]?t(e[r]):n()&&setTimeout(function(){Xt(t,e,r,n)},16)}It.prototype.listen=function(t){this.cb=t},It.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},It.prototype.onError=function(t){this.errorCbs.push(t)},It.prototype.transitionTo=function(t,e,r){var n=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){n.updateRoute(o),e&&e(o),n.ensureURL(),n.ready||(n.ready=!0,n.readyCbs.forEach(function(t){t(o)}))},function(t){r&&r(t),t&&!n.ready&&(n.ready=!0,n.readyErrorCbs.forEach(function(e){e(t)}))})},It.prototype.confirmTransition=function(t,n,o){var i=this,a=this.current,u=function(t){r(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):(e(!1,"uncaught error during route navigation:"),console.error(t))),o&&o(t)};if(w(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),u();var c=Bt(this.current.matched,t.matched),s=c.updated,p=c.deactivated,f=c.activated,h=[].concat(Dt(p),this.router.beforeHooks,Kt(s),f.map(function(t){return t.beforeEnter}),qt(f));this.pending=t;var l=function(e,n){if(i.pending!==t)return u();try{e(t,a,function(t){!1===t||r(t)?(i.ensureURL(!0),u(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(u(),"object"==typeof t&&t.replace?i.replace(t):i.push(t)):n(t)})}catch(t){u(t)}};$t(h,l,function(){var e=[];$t(Nt(f,e,function(){return i.current===t}).concat(i.router.resolveHooks),l,function(){if(i.pending!==t)return u();i.pending=null,n(t),i.router.app&&i.router.app.$nextTick(function(){e.forEach(function(t){t()})})})})},It.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(r){r&&r(t,e)})};var Yt=function(t){function e(e,r){var n=this;t.call(this,e,r);var o=e.options.scrollBehavior;o&&dt();var i=Wt(this.base);window.addEventListener("popstate",function(t){var r=n.current,a=Wt(n.base);n.current===m&&a===i||n.transitionTo(a,function(t){o&&vt(e,t,r,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,r){var n=this,o=this.current;this.transitionTo(t,function(t){Tt(L(n.base+t.fullPath)),vt(n.router,t,o,!1),e&&e(t)},r)},e.prototype.replace=function(t,e,r){var n=this,o=this.current;this.transitionTo(t,function(t){St(L(n.base+t.fullPath)),vt(n.router,t,o,!1),e&&e(t)},r)},e.prototype.ensureURL=function(t){if(Wt(this.base)!==this.current.fullPath){var e=L(this.base+this.current.fullPath);t?Tt(e):St(e)}},e.prototype.getCurrentLocation=function(){return Wt(this.base)},e}(It);function Wt(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Gt=function(t){function e(e,r,n){t.call(this,e,r),n&&Zt(this.base)||te()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router.options.scrollBehavior,r=Rt&&e;r&&dt(),window.addEventListener(Rt?"popstate":"hashchange",function(){var e=t.current;te()&&t.transitionTo(ee(),function(n){r&&vt(t.router,n,e,!0),Rt||oe(n.fullPath)})})},e.prototype.push=function(t,e,r){var n=this,o=this.current;this.transitionTo(t,function(t){ne(t.fullPath),vt(n.router,t,o,!1),e&&e(t)},r)},e.prototype.replace=function(t,e,r){var n=this,o=this.current;this.transitionTo(t,function(t){oe(t.fullPath),vt(n.router,t,o,!1),e&&e(t)},r)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ee()!==e&&(t?ne(e):oe(e))},e.prototype.getCurrentLocation=function(){return ee()},e}(It);function Zt(t){var e=Wt(t);if(!/^\/#/.test(e))return window.location.replace(L(t+"/#"+e)),!0}function te(){var t=ee();return"/"===t.charAt(0)||(oe("/"+t),!1)}function ee(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.slice(e+1)}function re(t){var e=window.location.href,r=e.indexOf("#");return(r>=0?e.slice(0,r):e)+"#"+t}function ne(t){Rt?Tt(re(t)):window.location.hash=t}function oe(t){Rt?St(re(t)):window.location.replace(re(t))}var ie=function(t){function e(e,r){t.call(this,e,r),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,r){var n=this;this.transitionTo(t,function(t){n.stack=n.stack.slice(0,n.index+1).concat(t),n.index++,e&&e(t)},r)},e.prototype.replace=function(t,e,r){var n=this;this.transitionTo(t,function(t){n.stack=n.stack.slice(0,n.index).concat(t),e&&e(t)},r)},e.prototype.go=function(t){var e=this,r=this.index+t;if(!(r<0||r>=this.stack.length)){var n=this.stack[r];this.confirmTransition(n,function(){e.index=r,e.updateRoute(n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(It),ae=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=pt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Rt&&!1!==t.fallback,this.fallback&&(e="hash"),S||(e="abstract"),this.mode=e,e){case"history":this.history=new Yt(this,t.base);break;case"hash":this.history=new Gt(this,t.base,this.fallback);break;case"abstract":this.history=new ie(this,t.base);break;default:0}},ue={currentRoute:{configurable:!0}};function ce(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function se(t,e,r){var n="hash"===r?"#"+e:e;return t?L(t+"/"+n):n}ae.prototype.match=function(t,e,r){return this.matcher.match(t,e,r)},ue.currentRoute.get=function(){return this.history&&this.history.current},ae.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var r=this.history;if(r instanceof Yt)r.transitionTo(r.getCurrentLocation());else if(r instanceof Gt){var n=function(){r.setupListeners()};r.transitionTo(r.getCurrentLocation(),n,n)}r.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},ae.prototype.beforeEach=function(t){return ce(this.beforeHooks,t)},ae.prototype.beforeResolve=function(t){return ce(this.resolveHooks,t)},ae.prototype.afterEach=function(t){return ce(this.afterHooks,t)},ae.prototype.onReady=function(t,e){this.history.onReady(t,e)},ae.prototype.onError=function(t){this.history.onError(t)},ae.prototype.push=function(t,e,r){this.history.push(t,e,r)},ae.prototype.replace=function(t,e,r){this.history.replace(t,e,r)},ae.prototype.go=function(t){this.history.go(t)},ae.prototype.back=function(){this.go(-1)},ae.prototype.forward=function(){this.go(1)},ae.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},ae.prototype.resolve=function(t,e,r){var n=ct(t,e||this.history.current,r,this),o=this.match(n,e),i=o.redirectedFrom||o.fullPath;return{location:n,route:o,href:se(this.history.base,i,this.mode),normalizedTo:n,resolved:o}},ae.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ae.prototype,ue),ae.install=T,ae.version="3.0.1",S&&window.Vue&&window.Vue.use(ae),exports.default=ae;
},{}],18:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"HeaderTitle"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement;this._self._c;return this._m(0)},e.staticRenderFns=[function(){var e=this.$createElement,t=this._self._c||e;return t("h2",{staticClass:"title"},[t("a",{attrs:{href:"https://www.google.com/search?q=Okeears+OKR+process+web+application",target:"_blank",rel:"noopener noreferrer"}},[this._v("Okeears")])])}];
},{}],11:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("./../components/HeaderTitle"),s=(e=t)&&e.__esModule?e:{default:e};exports.default={components:{HeaderTitle:s.default},methods:{logIn:function(){this.$store.dispatch("LOGIN")}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"container"},[t("header",{staticClass:"header"},[t("HeaderTitle"),this._v(" "),t("div",{staticClass:"header-nav-item"},[t("span",{staticClass:"log-out",on:{click:this.logIn}},[this._v("Log in")])])],1),this._v(" "),this._m(0)])},e.staticRenderFns=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"content"},[t("div",{staticClass:"centered-suggestion-message"},[t("span",[t("h1",[this._v("Okeears")]),t("br"),this._v("\n OKR process web application"),t("br"),this._v("\n Soon you will find some more useful information about the application here."),t("br"),t("br"),this._v("\n Join Okeears community on\n "),t("a",{attrs:{href:"https://github.com/denis1stomin/okeears",target:"_blank",rel:"noopener noreferrer"}},[this._v("GitHub")])])])])}];
},{"./../components/HeaderTitle":18}],34:[function(require,module,exports) {
var e=exports.cache={};function t(){}exports.insert=function(n){if(e[n])return t;e[n]=!0;var r=document.createElement("style");return r.setAttribute("type","text/css"),"textContent"in r?r.textContent=n:r.styleSheet.cssText=n,document.getElementsByTagName("head")[0].appendChild(r),function(){document.getElementsByTagName("head")[0].removeChild(r),e[n]=!1}};
},{}],25:[function(require,module,exports) {
var c=require("vueify/lib/insert-css").insert(".icon-logout[data-v-47ba8074]{transform:rotate(180deg)}");!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"LogoutIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var c=this.$createElement,e=this._self._c||c;return e("svg",{staticClass:"icon icon-logout",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 330 330"}},[e("path",{attrs:{d:"M51.213,180h173.785c8.284,0,15-6.716,15-15s-6.716-15-15-15H51.213l19.394-19.393\n c5.858-5.857,5.858-15.355,0-21.213c-5.856-5.858-15.354-5.858-21.213,0L4.397,154.391c-0.348,0.347-0.676,0.71-0.988,1.09\n c-0.076,0.093-0.141,0.193-0.215,0.288c-0.229,0.291-0.454,0.583-0.66,0.891c-0.06,0.09-0.109,0.185-0.168,0.276\n c-0.206,0.322-0.408,0.647-0.59,0.986c-0.035,0.067-0.064,0.138-0.099,0.205c-0.189,0.367-0.371,0.739-0.53,1.123\n c-0.02,0.047-0.034,0.097-0.053,0.145c-0.163,0.404-0.314,0.813-0.442,1.234c-0.017,0.053-0.026,0.108-0.041,0.162\n c-0.121,0.413-0.232,0.83-0.317,1.257c-0.025,0.127-0.036,0.258-0.059,0.386c-0.062,0.354-0.124,0.708-0.159,1.069\n C0.025,163.998,0,164.498,0,165s0.025,1.002,0.076,1.498c0.035,0.366,0.099,0.723,0.16,1.08c0.022,0.124,0.033,0.251,0.058,0.374\n c0.086,0.431,0.196,0.852,0.318,1.269c0.015,0.049,0.024,0.101,0.039,0.15c0.129,0.423,0.28,0.836,0.445,1.244\n c0.018,0.044,0.031,0.091,0.05,0.135c0.16,0.387,0.343,0.761,0.534,1.13c0.033,0.065,0.061,0.133,0.095,0.198\n c0.184,0.341,0.387,0.669,0.596,0.994c0.056,0.088,0.104,0.181,0.162,0.267c0.207,0.309,0.434,0.603,0.662,0.895\n c0.073,0.094,0.138,0.193,0.213,0.285c0.313,0.379,0.641,0.743,0.988,1.09l44.997,44.997C52.322,223.536,56.161,225,60,225\n s7.678-1.464,10.606-4.394c5.858-5.858,5.858-15.355,0-21.213L51.213,180z"}}),this._v(" "),e("path",{attrs:{d:"M207.299,42.299c-40.944,0-79.038,20.312-101.903,54.333c-4.62,6.875-2.792,16.195,4.083,20.816\n c6.876,4.62,16.195,2.794,20.817-4.083c17.281-25.715,46.067-41.067,77.003-41.067C258.414,72.299,300,113.884,300,165\n s-41.586,92.701-92.701,92.701c-30.845,0-59.584-15.283-76.878-40.881c-4.639-6.865-13.961-8.669-20.827-4.032\n c-6.864,4.638-8.67,13.962-4.032,20.826c22.881,33.868,60.913,54.087,101.737,54.087C274.956,287.701,330,232.658,330,165\n S274.956,42.299,207.299,42.299z"}})])},e.staticRenderFns=[],e._scopeId="data-v-47ba8074";
},{"vueify/lib/insert-css":34}],26:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"WideScreenIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon icon-widescreen",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"}},[t("path",{attrs:{d:"M10 21H7v8h8v-3h-5v-5zm-3-6h3v-5h5V7H7v8zm19 11h-5v3h8v-8h-3v5zM21 7v3h5v5h3V7h-8z"}})])},e.staticRenderFns=[];
},{}],20:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"ScopeSelector",computed:{scopes:{get:function(){return this.$store.state.okr.scopes}},scope:{get:function(){return this.$store.state.okr.scope},set:function(e){this.$store.dispatch("SET_SCOPE",e)}}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"input-form"},[o("select",{directives:[{name:"model",rawName:"v-model",value:e.scope,expression:"scope"}],on:{change:function(t){var o=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.scope=t.target.multiple?o:o[0]}}},e._l(e.scopes,function(t){return o("option",{key:t.id,domProps:{value:t}},[e._v(" "+e._s(t.name))])}))])},e.staticRenderFns=[];
},{}],32:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"IconSearch"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon icon-search",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 57 57"}},[t("path",{attrs:{d:"M55.146,51.887L41.588,37.786c3.486-4.144,5.396-9.358,5.396-14.786c0-12.682-10.318-23-23-23s-23,10.318-23,23\n s10.318,23,23,23c4.761,0,9.298-1.436,13.177-4.162l13.661,14.208c0.571,0.593,1.339,0.92,2.162,0.92\n c0.779,0,1.518-0.297,2.079-0.837C56.255,54.982,56.293,53.08,55.146,51.887z M23.984,6c9.374,0,17,7.626,17,17s-7.626,17-17,17\n s-17-7.626-17-17S14.61,6,23.984,6z"}})])},e.staticRenderFns=[];
},{}],21:[function(require,module,exports) {
var e=require("vueify/lib/insert-css").insert(".linkstyle[data-v-780c397a]{cursor:pointer;color:#85afc1;fill:#85afc1;stroke:#85afc1;transition:all .5s ease-out}.linkhover[data-v-780c397a]{color:#50394e;fill:#50394e;stroke:#50394e;transform:scale(1.1)}.range-thumb[data-v-780c397a]{-webkit-appearance:none;appearance:none;width:15px;height:15px;border-radius:50%;background:#85afc1;cursor:pointer}.input-search[data-v-780c397a]{position:relative;margin:30px}.input-search .action-button[data-v-780c397a]:hover{color:#ccc;fill:#ccc;stroke:#ccc;cursor:default}.input-search .suggested-subjects-list[data-v-780c397a]{position:absolute;top:38px;right:0;left:0;padding:10px 0;z-index:1}.input-search .suggested-subjects-list .suggested-subjects-no-items[data-v-780c397a]{font-size:14px;color:#ccc;font-style:italic}.fade-enter-active[data-v-780c397a],.fade-leave-active[data-v-780c397a]{transition:opacity .5s}.fade-enter[data-v-780c397a],.fade-leave-to[data-v-780c397a]{opacity:0}");!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("./../components/Icons/SearchIcon"),s=(e=t)&&e.__esModule?e:{default:e};exports.default={name:"SearchForm",components:{SearchIcon:s.default},data:function(){return{suggestedSubjectsAreVisible:!1}},computed:{text:{get:function(){return this.$store.state.user.searchQuery},set:function(e){this.$store.dispatch("SEARCH_SUBJECTS",e)}},suggestedSubjects:{get:function(){return this.$store.state.user.suggestedSubjectsList}}},methods:{showSuggestedSubject:function(){this.suggestedSubjectsAreVisible=!0},hideSuggestedSubject:function(){this.suggestedSubjectsAreVisible=!1},selectInterestingSubject:function(e){this.$store.dispatch("SET_INTERESTING_SUBJECT",e),this.$store.dispatch("SEARCH_SUBJECTS","")}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var t="function"==typeof module.exports?module.exports.options:module.exports;t.render=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"input-form input-search"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],attrs:{type:"text",placeholder:"Find people"},domProps:{value:e.text},on:{focus:e.showSuggestedSubject,blur:e.hideSuggestedSubject,input:function(t){t.target.composing||(e.text=t.target.value)}}}),e._v(" "),s("div",{staticClass:"action-button"},[s("SearchIcon")],1),e._v(" "),s("transition",{attrs:{name:"fade"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.suggestedSubjectsAreVisible,expression:"suggestedSubjectsAreVisible"}],staticClass:"suggested-subjects-list"},[e._l(e.suggestedSubjects,function(t){return s("div",{key:t.id,staticClass:"suggested-subjects-item",on:{click:function(s){e.selectInterestingSubject(t)}}},[e._v(e._s(t.displayName))])}),e._v(" "),e.suggestedSubjects.length?e._e():s("div",{staticClass:"suggested-subjects-no-items"},[e._v("No matches")])],2)])],1)},t.staticRenderFns=[],t._scopeId="data-v-780c397a";
},{"vueify/lib/insert-css":34,"./../components/Icons/SearchIcon":32}],31:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"UserIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon icon-user",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100.25 100.25"}},[t("path",{attrs:{d:"M90.125,0.125h-80c-5.5,0-10,4.5-10,10v80c0,5.133,3.921,9.392,8.914,9.938\n c-0.026-0.46-0.046-0.921-0.046-1.388V84.412c0-13.75,11.25-25,25-25h32.084c13.75,0,25,11.25,25,25v14.264\n c0,0.472-0.02,0.938-0.047,1.403c5.079-0.462,9.095-4.759,9.095-9.954v-80C100.125,4.625,95.625,0.125,90.125,0.125z M50.348,54.881\n c-11.253,0-20.375-9.123-20.375-20.375s9.122-20.375,20.375-20.375c11.254,0,20.375,9.123,20.375,20.375\n S61.602,54.881,50.348,54.881z"}})])},e.staticRenderFns=[];
},{}],22:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,s=require("./Icons/UserIcon"),t=(e=s)&&e.__esModule?e:{default:e};exports.default={name:"UserCard",components:{UserIcon:t.default},computed:{user:{get:function(){return this.$store.state.user.selectedSubject}}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",[t("h4",{staticClass:"user-card-name"},[e._v(e._s(e.user.givenName)+" "+e._s(e.user.surname))]),e._v(" "),t("div",{staticClass:"user-card-img"},[e.user.photo?t("div",{staticClass:"user-card-photo",style:{backgroundImage:"url('"+e.user.photo+"')"}}):e._e(),e._v(" "),e.user.photo?e._e():t("UserIcon",{staticClass:"user-card-no-photo"})],1),e._v(" "),t("div",{staticClass:"user-card-details"},[t("div",{staticClass:"user-card-item-title"},[e._v(e._s(e.user.jobTitle))]),e._v(" "),t("div",{staticClass:"user-card-item-title"},[e._v(e._s(e.user.officeLocation))]),e._v(" "),t("div",{staticClass:"user-card-item-title"},[e._v(e._s(e.user.userPrincipalName))]),e._v(" "),t("div",{staticClass:"user-card-item-links"},[e._v("\n View in\n "),t("a",{staticClass:"user-card-item-link",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.user.delvelink}},[e._v("Microsoft Delve")])])])])},e.staticRenderFns=[];
},{"./Icons/UserIcon":31}],23:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},r=require("./Icons/UserIcon"),s=(e=r)&&e.__esModule?e:{default:e},o=require("vuex");exports.default={name:"OrgTree",components:{UserIcon:s.default},computed:t({},(0,o.mapState)({orgtree:function(e){return e.user.orgtree},selectedSubject:function(e){return e.user.selectedSubject}})),methods:{selectSubject:function(e){this.$store.dispatch("SET_SELECTED_SUBJECT",e)}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"org-tree"},e._l(e.orgtree,function(t){return r("div",{key:t.id,staticClass:"org-tree-item",class:{"org-tree-item-selected":t.id===e.selectedSubject.id},on:{click:function(r){e.selectSubject(t)}}},[r("div",{staticClass:"user-card-img"},[t.photo?r("div",{staticClass:"user-card-photo",style:{backgroundImage:"url('"+t.photo+"')"}}):e._e(),e._v(" "),t.photo?e._e():r("UserIcon",{staticClass:"user-card-no-photo"})],1),e._v(" "),r("div",{staticClass:"orgtree-item-info"},[r("div",{staticClass:"org-tree-item-name"},[e._v(e._s(t.displayName))]),e._v(" "),r("div",{staticClass:"org-tree-item-job"},[e._v(e._s(t.jobTitle))])])])}))},e.staticRenderFns=[];
},{"./Icons/UserIcon":31,"vuex":27}],39:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"TrashIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var c="function"==typeof module.exports?module.exports.options:module.exports;c.render=function(){var c=this.$createElement,t=this._self._c||c;return t("svg",{staticClass:"icon icon-trash",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 438.529 438.529"}},[t("path",{attrs:{d:"M417.689,75.654c-1.711-1.709-3.901-2.568-6.563-2.568h-88.224L302.917,25.41c-2.854-7.044-7.994-13.04-15.413-17.989\n C280.078,2.473,272.556,0,264.945,0h-91.363c-7.611,0-15.131,2.473-22.554,7.421c-7.424,4.949-12.563,10.944-15.419,17.989\n l-19.985,47.676h-88.22c-2.667,0-4.853,0.859-6.567,2.568c-1.709,1.713-2.568,3.903-2.568,6.567v18.274\n c0,2.664,0.855,4.854,2.568,6.564c1.714,1.712,3.904,2.568,6.567,2.568h27.406v271.8c0,15.803,4.473,29.266,13.418,40.398\n c8.947,11.139,19.701,16.703,32.264,16.703h237.542c12.566,0,23.319-5.756,32.265-17.268c8.945-11.52,13.415-25.174,13.415-40.971\n V109.627h27.411c2.662,0,4.853-0.856,6.563-2.568c1.708-1.709,2.57-3.9,2.57-6.564V82.221\n C420.26,79.557,419.397,77.367,417.689,75.654z M169.301,39.678c1.331-1.712,2.95-2.762,4.853-3.14h90.504\n c1.903,0.381,3.525,1.43,4.854,3.14l13.709,33.404H155.311L169.301,39.678z M347.173,380.291c0,4.186-0.664,8.042-1.999,11.561\n c-1.334,3.518-2.717,6.088-4.141,7.706c-1.431,1.622-2.423,2.427-2.998,2.427H100.493c-0.571,0-1.565-0.805-2.996-2.427\n c-1.429-1.618-2.81-4.188-4.143-7.706c-1.331-3.519-1.997-7.379-1.997-11.561V109.627h255.815V380.291z"}}),this._v(" "),t("path",{attrs:{d:"M137.04,347.172h18.271c2.667,0,4.858-0.855,6.567-2.567c1.709-1.718,2.568-3.901,2.568-6.57V173.581\n c0-2.663-0.859-4.853-2.568-6.567c-1.714-1.709-3.899-2.565-6.567-2.565H137.04c-2.667,0-4.854,0.855-6.567,2.565\n c-1.711,1.714-2.568,3.904-2.568,6.567v164.454c0,2.669,0.854,4.853,2.568,6.57C132.186,346.316,134.373,347.172,137.04,347.172z"}}),this._v(" "),t("path",{attrs:{d:"M210.129,347.172h18.271c2.666,0,4.856-0.855,6.564-2.567c1.718-1.718,2.569-3.901,2.569-6.57V173.581\n c0-2.663-0.852-4.853-2.569-6.567c-1.708-1.709-3.898-2.565-6.564-2.565h-18.271c-2.664,0-4.854,0.855-6.567,2.565\n c-1.714,1.714-2.568,3.904-2.568,6.567v164.454c0,2.669,0.854,4.853,2.568,6.57C205.274,346.316,207.465,347.172,210.129,347.172z"}}),this._v(" "),t("path",{attrs:{d:"M283.22,347.172h18.268c2.669,0,4.859-0.855,6.57-2.567c1.711-1.718,2.562-3.901,2.562-6.57V173.581\n c0-2.663-0.852-4.853-2.562-6.567c-1.711-1.709-3.901-2.565-6.57-2.565H283.22c-2.67,0-4.853,0.855-6.571,2.565\n c-1.711,1.714-2.566,3.904-2.566,6.567v164.454c0,2.669,0.855,4.853,2.566,6.57C278.367,346.316,280.55,347.172,283.22,347.172z"}})])},c.staticRenderFns=[];
},{}],40:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"CopyIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var t="function"==typeof module.exports?module.exports.options:module.exports;t.render=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("svg",{staticClass:"icon icon-copy",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100.25 100.25"}},[o("path",{attrs:{d:"M93.22,0c-6.701,0.004-59.882,0-59.882,0c-3.684,0-6.659,2.981-6.659,6.658v13.668h6.688V6.688h60.194v60.194\n H79.792v6.688H93.59c3.684,0,6.658-2.982,6.658-6.659V6.668C100.248,6.668,100.554-0.005,93.22,0z"}}),t._v(" "),o("g",[o("g",[o("rect",{attrs:{x:"13.767",y:"66.749",fill:"none",width:"45.38",height:"6.688"}}),t._v(" "),o("rect",{attrs:{x:"13.767",y:"40.125",fill:"none",width:"45.38",height:"6.688"}}),t._v(" "),o("rect",{attrs:{x:"13.767",y:"53.437",fill:"none",width:"45.38",height:"6.688"}}),t._v(" "),o("rect",{attrs:{x:"13.767",y:"80.06",fill:"none",width:"45.38",height:"6.689"}})]),t._v(" "),o("path",{attrs:{d:"M66.547,26.653c-6.701,0.004-59.882,0-59.882,0c-3.684,0-6.659,2.981-6.659,6.658v60.252\n c0,3.684,2.982,6.659,6.659,6.659h60.252c3.684,0,6.658-2.982,6.658-6.659V33.321C73.575,33.321,73.881,26.648,66.547,26.653z\n M66.888,93.535H6.693V33.34h60.194V93.535z"}})]),t._v(" "),o("g",[o("g",[o("rect",{attrs:{x:"79.792",y:"40.096",fill:"none",width:"6.486",height:"6.688"}}),t._v(" "),o("rect",{attrs:{x:"40.157",y:"13.473",fill:"none",width:"46.23",height:"6.688"}}),t._v(" "),o("rect",{attrs:{x:"79.792",y:"26.784",fill:"none",width:"6.486",height:"6.688"}}),t._v(" "),o("rect",{attrs:{x:"79.792",y:"53.407",fill:"none",width:"6.486",height:"6.689"}})])])])},t.staticRenderFns=[];
},{}],41:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"SendIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon icon-send",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 483.3 483.3"}},[t("path",{attrs:{d:"M424.3,57.75H59.1c-32.6,0-59.1,26.5-59.1,59.1v249.6c0,32.6,26.5,59.1,59.1,59.1h365.1c32.6,0,59.1-26.5,59.1-59.1\n v-249.5C483.4,84.35,456.9,57.75,424.3,57.75z M456.4,366.45c0,17.7-14.4,32.1-32.1,32.1H59.1c-17.7,0-32.1-14.4-32.1-32.1v-249.5\n c0-17.7,14.4-32.1,32.1-32.1h365.1c17.7,0,32.1,14.4,32.1,32.1v249.5H456.4z"}}),this._v(" "),t("path",{attrs:{d:"M304.8,238.55l118.2-106c5.5-5,6-13.5,1-19.1c-5-5.5-13.5-6-19.1-1l-163,146.3l-31.8-28.4c-0.1-0.1-0.2-0.2-0.2-0.3\n c-0.7-0.7-1.4-1.3-2.2-1.9L78.3,112.35c-5.6-5-14.1-4.5-19.1,1.1c-5,5.6-4.5,14.1,1.1,19.1l119.6,106.9L60.8,350.95\n c-5.4,5.1-5.7,13.6-0.6,19.1c2.7,2.8,6.3,4.3,9.9,4.3c3.3,0,6.6-1.2,9.2-3.6l120.9-113.1l32.8,29.3c2.6,2.3,5.8,3.4,9,3.4\n c3.2,0,6.5-1.2,9-3.5l33.7-30.2l120.2,114.2c2.6,2.5,6,3.7,9.3,3.7c3.6,0,7.1-1.4,9.8-4.2c5.1-5.4,4.9-14-0.5-19.1L304.8,238.55z"}})])},e.staticRenderFns=[];
},{}],42:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"StarIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon icon-star",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100.25 100.25"}},[t("path",{attrs:{d:"M75.878,95.805c-1.791,0-3.669-0.51-5.582-1.515l-14.373-7.556c-1.437-0.755-3.551-1.188-5.799-1.188\n c-2.249,0-4.363,0.433-5.8,1.189L29.953,94.29c-1.914,1.006-3.792,1.516-5.583,1.516c-2.503,0-4.729-1.003-6.266-2.826\n c-1.267-1.503-2.619-4.224-1.86-8.648l2.745-16.004c0.58-3.379-1.128-8.638-3.584-11.031L3.779,45.961\n c-3.113-3.034-4.285-6.661-3.215-9.952s4.149-5.537,8.451-6.162l16.068-2.335c3.394-0.493,7.867-3.743,9.384-6.818l7.186-14.561\n C43.577,2.235,46.665,0,50.125,0s6.548,2.235,8.472,6.133l7.186,14.56c1.518,3.076,5.99,6.326,9.384,6.818l16.069,2.335\n c4.302,0.625,7.382,2.871,8.451,6.162s-0.103,6.918-3.215,9.952L84.844,57.295c-2.456,2.394-4.164,7.652-3.584,11.031l2.745,16.004\n c0.758,4.424-0.593,7.145-1.861,8.648C80.607,94.802,78.382,95.805,75.878,95.805z M50.125,75.678\n c3.852,0,7.542,0.825,10.391,2.322l13.619,7.16l-2.601-15.166c-1.131-6.596,1.629-15.093,6.422-19.765l11.019-10.741l-15.228-2.213\n c-6.623-0.962-13.852-6.214-16.813-12.217l-6.81-13.796l-6.81,13.797c-2.961,6.002-10.19,11.254-16.813,12.216l-15.228,2.213\n L22.293,50.23c4.793,4.671,7.553,13.168,6.422,19.765l-2.602,15.166L39.733,78C42.583,76.503,46.273,75.678,50.125,75.678z"}})])},e.staticRenderFns=[];
},{}],43:[function(require,module,exports) {
var e=require("vueify/lib/insert-css").insert("line[data-v-40f00e96]{stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}");!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"PlusIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var t="function"==typeof module.exports?module.exports.options:module.exports;t.render=function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon icon-plus",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[t("line",{attrs:{x1:"12",y1:"2",x2:"12",y2:"22"}}),this._v(" "),t("line",{attrs:{x1:"22",y1:"12",x2:"2",y2:"12"}})])},t.staticRenderFns=[],t._scopeId="data-v-40f00e96";
},{"vueify/lib/insert-css":34}],37:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"InputForm",props:["name","placeholder","action","value","autosave","readonly","acceptEmpty","multiline"],data:function(){return{text:this.value}},methods:{onBlur:function(e){this.autosave&&this.actionIfNeeded(e)},onEnterUp:function(e,t){e.shiftKey&&this.multiline||this.actionIfNeeded(t)},onEnterDown:function(e){e.shiftKey&&this.multiline||this.suppressEnter()},actionIfNeeded:function(e){this.readonly||!e&&!this.acceptEmpty||this.action(e)},suppressEnter:function(){event.stopPropagation(),event.preventDefault(),event.returnValue=!1,this.text=event.target.value},clear:function(){this.text=""}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-form"},[n("label",{attrs:{for:e.name}}),e._v(" "),n("textarea-autosize",{style:{resize:e.readonly?"none":"vertical"},attrs:{type:"text",id:e.name,readonly:e.readonly,disabled:e.readonly,placeholder:e.placeholder},nativeOn:{blur:function(t){e.onBlur(e.text)},keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(n=t,e.onEnterUp(n,e.text)):null;var n},keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(n=t,e.onEnterDown(n)):null;var n}},model:{value:e.text,callback:function(t){e.text=t},expression:"text"}}),e._v(" "),n("div",{staticClass:"action-button"},[e._t("default")],2)],1)},e.staticRenderFns=[];
},{}],51:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"ChatIcon"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var t="function"==typeof module.exports?module.exports.options:module.exports;t.render=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"icon icon-chat",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 477.6 477.6"}},[e("path",{attrs:{d:"M407.583,70c-45.1-45.1-105-70-168.8-70s-123.7,24.9-168.8,70c-87,87-93.3,226-15.8,320.2c-10.7,21.9-23.3,36.5-37.6,43.5\n c-8.7,4.3-13.6,13.7-12.2,23.3c1.5,9.7,8.9,17.2,18.6,18.7c5.3,0.8,11,1.3,16.9,1.3l0,0c29.3,0,60.1-10.1,85.8-27.8\n c34.6,18.6,73.5,28.4,113.1,28.4c63.8,0,123.7-24.8,168.8-69.9s69.9-105.1,69.9-168.8S452.683,115.1,407.583,70z M388.483,388.5\n c-40,40-93.2,62-149.7,62c-37.8,0-74.9-10.1-107.2-29.1c-2.1-1.2-4.5-1.9-6.8-1.9c-2.9,0-5.9,1-8.3,2.8\n c-30.6,23.7-61.4,27.2-74.9,27.5c16.1-12,29.6-30.6,40.9-56.5c2.1-4.8,1.2-10.4-2.3-14.4c-74-83.6-70.1-211,8.9-290\n c40-40,93.2-62,149.7-62s109.7,22,149.7,62C471.083,171.6,471.083,306,388.483,388.5z"}}),this._v(" "),e("path",{attrs:{d:"M338.783,160h-200c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h200c7.5,0,13.5-6,13.5-13.5S346.183,160,338.783,160z"}}),this._v(" "),e("path",{attrs:{d:"M308.783,225.3h-200c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h260c7.5,0,13.5-6,13.5-13.5S376.183,225.3,368.783,225.3z"}}),this._v(" "),e("path",{attrs:{d:"M338.783,290.6h-200c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h200c7.5,0,13.5-6,13.5-13.5S346.183,290.6,338.783,290.6z"}})])},t.staticRenderFns=[];
},{}],52:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"ChatIconActive"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var t="function"==typeof module.exports?module.exports.options:module.exports;t.render=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"icon icon-chat",attrs:{focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 477.6 477.6"}},[e("path",{attrs:{d:"M407.583,70c-45.1-45.1-105-70-168.8-70s-123.7,24.9-168.8,70c-87,87-93.3,226-15.8,320.2c-10.7,21.9-23.3,36.5-37.6,43.5\n c-8.7,4.3-13.6,13.7-12.2,23.3c1.5,9.7,8.9,17.2,18.6,18.7c5.3,0.8,11,1.3,16.9,1.3l0,0c29.3,0,60.1-10.1,85.8-27.8\n c34.6,18.6,73.5,28.4,113.1,28.4c63.8,0,123.7-24.8,168.8-69.9s69.9-105.1,69.9-168.8S452.683,115.1,407.583,70z M388.483,388.5\n c-40,40-93.2,62-149.7,62c-37.8,0-74.9-10.1-107.2-29.1c-2.1-1.2-4.5-1.9-6.8-1.9c-2.9,0-5.9,1-8.3,2.8\n c-30.6,23.7-61.4,27.2-74.9,27.5c16.1-12,29.6-30.6,40.9-56.5c2.1-4.8,1.2-10.4-2.3-14.4c-74-83.6-70.1-211,8.9-290\n c40-40,93.2-62,149.7-62s109.7,22,149.7,62C471.083,171.6,471.083,306,388.483,388.5z"}}),this._v(" "),e("path",{attrs:{d:"M338.783,160h-200c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h200c7.5,0,13.5-6,13.5-13.5S346.183,160,338.783,160z"}}),this._v(" "),e("path",{attrs:{d:"M308.783,225.3h-200c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h260c7.5,0,13.5-6,13.5-13.5S376.183,225.3,368.783,225.3z"}}),this._v(" "),e("path",{attrs:{d:"M338.783,290.6h-200c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h200c7.5,0,13.5-6,13.5-13.5S346.183,290.6,338.783,290.6z"}}),this._v(" "),e("ellipse",{staticStyle:{fill:"#ff0000",stroke:"#ffffff","stroke-width":"43.19473267"},attrs:{ry:"108.42477",rx:"113.78529",id:"svg_9",cy:"348.83206",cx:"346.76538"}})])},t.staticRenderFns=[];
},{}],47:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=n(require("./InputForm")),t=n(require("./Icons/ChatIcon")),r=n(require("./Icons/ChatIconActive")),s=n(require("./Icons/TrashIcon"));function n(e){return e&&e.__esModule?e:{default:e}}var o=new(n(require("./../services/telemetryservice")).default);exports.default={name:"KeyResult",components:{InputForm:e.default,ChatIcon:t.default,ChatIconActive:r.default,TrashIcon:s.default},props:["objective","keyresult","readonly"],data:function(){return{showDescription:!1}},methods:{editKeyresult:function(e,t,r,s){this.$store.dispatch("EDIT_KEYRESULT",{objective:e,keyresult:r,krStatement:t.replace(/(?:\r\n|\r|\n)/g,"<br>"),krPercent:r.percent,krDescription:s.replace(/(?:\r\n|\r|\n)/g,"<br>")})},deleteKeyresult:function(e,t){this.$store.dispatch("DELETE_KEYRESULT",{objective:e,keyresult:t})},editPercent:function(e,t){this.$store.dispatch("EDIT_KEYRESULT",{objective:e,keyresult:t,krStatement:t.statement,krPercent:t.percent,krDescription:t.description}),this.showDescription=!0},toggleChat:function(){this.showDescription=!this.showDescription,o.trackEvent("chatButton",{showDescription:this.showDescription})}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"key-result"},[r("InputForm",{attrs:{placeholder:"",autosave:"true",acceptEmpty:"true",multiline:"true",readonly:e.readonly,action:function(t){e.editKeyresult(e.objective,t,e.keyresult,e.keyresult.description)},value:e.keyresult.statement}}),e._v(" "),e.readonly?e._e():r("input",{directives:[{name:"model",rawName:"v-model.number",value:e.keyresult.percent,expression:"keyresult.percent",modifiers:{number:!0}}],staticClass:"key-result-range",attrs:{type:"range",min:"0",max:"100",title:"percentage"},domProps:{value:e.keyresult.percent},on:{blur:[function(t){e.editPercent(e.objective,e.keyresult)},function(t){e.$forceUpdate()}],__r:function(t){e.$set(e.keyresult,"percent",e._n(t.target.value))}}}),e._v(" "),r("span",{staticClass:"key-result-percents"},[e._v(e._s(e.keyresult.percent)+"%")]),e._v(" "),r("div",{staticClass:"icons-container"},[r("span",{staticClass:"input-icon",attrs:{title:"Look at key result description"},on:{click:function(t){e.toggleChat()}}},[e.keyresult.description?e._e():r("ChatIcon"),e._v(" "),e.keyresult.description?r("ChatIconActive"):e._e()],1),e._v(" "),e.readonly?e._e():r("span",{staticClass:"input-icon",attrs:{title:"Delete key result"},on:{click:function(t){e.deleteKeyresult(e.objective,e.keyresult)}}},[r("TrashIcon")],1)]),e._v(" "),e.showDescription?r("InputForm",{staticClass:"key-result-description",attrs:{placeholder:"+ Result achievement description",autosave:"true",acceptEmpty:"true",multiline:"true",name:e.keyresult.id,readonly:e.readonly,action:function(t){e.editKeyresult(e.objective,e.keyresult.statement,e.keyresult,t)},value:e.keyresult.description}}):e._e()],1)},e.staticRenderFns=[];
},{"./InputForm":37,"./Icons/ChatIcon":51,"./Icons/ChatIconActive":52,"./Icons/TrashIcon":39,"./../services/telemetryservice":15}],38:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=r(require("./InputForm")),t=r(require("./KeyResult"));function r(e){return e&&e.__esModule?e:{default:e}}exports.default={name:"KeyResults",components:{InputForm:e.default,KeyResult:t.default},props:["objective","readonly"],methods:{addKeyresult:function(e,t){this.$refs.newKRForm.clear(),this.$store.dispatch("CREATE_KEYRESULT",{objective:e,keyresult:{statement:t,percent:0,description:""}})}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"key-results"},[e._l(e.objective.keyresults,function(t){return r("KeyResult",{key:t.id,attrs:{keyresult:t,objective:e.objective,readonly:e.readonly}})}),e._v(" "),e.readonly?e._e():r("InputForm",{ref:"newKRForm",attrs:{autosave:"true",placeholder:"+ Type measurable key result and press Enter",action:function(t){e.addKeyresult(e.objective,t)}}})],2)},e.staticRenderFns=[];
},{"./InputForm":37,"./KeyResult":47}],44:[function(require,module,exports) {
var a=require("vueify/lib/insert-css").insert(".linkstyle[data-v-a16eba20]{cursor:pointer;color:#85afc1;fill:#85afc1;stroke:#85afc1;transition:all .5s ease-out}.linkhover[data-v-a16eba20]{color:#50394e;fill:#50394e;stroke:#50394e;transform:scale(1.1)}.range-thumb[data-v-a16eba20]{-webkit-appearance:none;appearance:none;width:15px;height:15px;border-radius:50%;background:#85afc1;cursor:pointer}.loading-spinner-default[data-v-a16eba20]{display:inline-block;position:relative;width:64px;height:64px}.loading-spinner-default div[data-v-a16eba20]{position:absolute;width:5px;height:5px;background:#adaa4c;border-radius:50%;animation:loading-spinner-default 1.2s linear infinite}.loading-spinner-default[data-v-a16eba20]:first-child{animation-delay:0s;top:29px;left:53px}.loading-spinner-default[data-v-a16eba20]:nth-child(2){animation-delay:-.1s;top:18px;left:50px}.loading-spinner-default[data-v-a16eba20]:nth-child(3){animation-delay:-.2s;top:9px;left:41px}.loading-spinner-default[data-v-a16eba20]:nth-child(4){animation-delay:-.3s;top:6px;left:29px}.loading-spinner-default[data-v-a16eba20]:nth-child(5){animation-delay:-.4s;top:9px;left:18px}.loading-spinner-default[data-v-a16eba20]:nth-child(6){animation-delay:-.5s;top:18px;left:9px}.loading-spinner-default[data-v-a16eba20]:nth-child(7){animation-delay:-.6s;top:29px;left:6px}.loading-spinner-default[data-v-a16eba20]:nth-child(8){animation-delay:-.7s;top:41px;left:9px}.loading-spinner-default[data-v-a16eba20]:nth-child(9){animation-delay:-.8s;top:50px;left:18px}.loading-spinner-default[data-v-a16eba20]:nth-child(10){animation-delay:-.9s;top:53px;left:29px}.loading-spinner-default[data-v-a16eba20]:nth-child(11){animation-delay:-1s;top:50px;left:41px}.loading-spinner-default[data-v-a16eba20]:nth-child(12){animation-delay:-1.1s;top:41px;left:50px}@keyframes loading-spinner-default{0%,20%,80%,to{transform:scale(1)}50%{transform:scale(1.5)}}");!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={name:"Spinner"}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var a=this.$createElement;this._self._c;return this._m(0)},e.staticRenderFns=[function(){var a=this.$createElement,e=this._self._c||a;return e("div",{staticClass:"loading-spinner-default"},[e("div"),e("div"),e("div"),e("div"),e("div"),e("div"),this._v(" "),e("div"),e("div"),e("div"),e("div"),e("div"),e("div")])}],e._scopeId="data-v-a16eba20";
},{"vueify/lib/insert-css":34}],36:[function(require,module,exports) {
module.exports="onenote.5ac1052d.png";
},{}],24:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},t=v(require("./Icons/TrashIcon")),i=v(require("./Icons/CopyIcon")),n=v(require("./Icons/SendIcon")),s=v(require("./Icons/StarIcon")),o=v(require("./Icons/PlusIcon")),r=v(require("./InputForm")),a=v(require("./KeyResults")),c=v(require("./Animation/Spinner")),l=require("vuex");function v(e){return e&&e.__esModule?e:{default:e}}var u=new(v(require("./../services/telemetryservice")).default);exports.default={name:"Objectives",components:{TrashIcon:t.default,CopyIcon:i.default,SendIcon:n.default,StarIcon:s.default,PlusIcon:o.default,InputForm:r.default,KeyResults:a.default,Spinner:c.default},computed:e({},(0,l.mapGetters)({canChangeOkr:"CAN_CHANGE_OKR",haveVisibleObjectives:"HAVE_VISIBLE_OBJECTIVES",visibleObjectives:"VISIBLE_OBJECTIVES"}),(0,l.mapState)({objectives:function(e){return e.okr.objectives},removedObjectives:function(e){return e.okr.removedObjectives},error:function(e){return e.okr.error},currentlyLoading:function(e){return e.okr.loading},selectedSubject:function(e){return e.user.selectedSubject},invalidOneDriveForBusinessLicense:function(e){return e.okr.invalidOneDriveForBusinessLicense}})),methods:{addObjective:function(e){this.$refs.newObjForm.clear(),this.$store.dispatch("CREATE_OBJECTIVE",{statement:e,keyresults:[]})},editObjective:function(e,t){this.$store.dispatch("EDIT_OBJECTIVE",{objective:e,statement:t})},copyObjective:function(e){var t={statement:e.statement,keyresults:JSON.parse(JSON.stringify(e.keyresults))};t.keyresults.forEach(function(e){e.percent=0,e.description=null}),this.$store.dispatch("COPY_OBJECTIVE_TO_CURRENT_USER",t)},deleteObjective:function(e){e.startsWith("temp")||this.$store.dispatch("DELETE_OBJECTIVE",e)},isRemovedObjective:function(e){return this.$store.state.okr.removedObjectives.findIndex(function(t){return t.id===e})>-1},restoreObjective:function(e){this.$store.dispatch("RESTORE_OBJECTIVE",e)},purgeObjective:function(e){this.$store.dispatch("PURGE_OBJECTIVE",e)},sendChangeSuggestion:function(e){var t=this.$store.state.user.selectedSubject;window.location="mailto:"+(t.mail||t.userPrincipalName)+"?\nsubject=Objective: "+e.statement+"&\nbody=Hi "+(t.givenName||"")+"%2C%0A\nPlease take a look at your objective '"+e.statement+"' on "+window.location+".",u.trackEvent("buttonObjectiveEmail")},sendReminder:function(){var e=this.$store.state.user.selectedSubject;window.location="mailto:"+(e.mail||e.userPrincipalName)+"?\nsubject=Please fill objectives&\nbody=Hi "+(e.givenName||"")+"%2C%0A\nPlease fill objectives for the next period on "+window.location+".",u.trackEvent("buttonReminderEmail")},getLastChangedMessage:function(e){var t=new Date(e);return"Updated "+t.toLocaleDateString()+" at "+t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"okr"},[e.currentlyLoading?i("div",{staticClass:"loading-objectives-waiter"},[i("Spinner")],1):e._e(),e._v(" "),!e.currentlyLoading&&e.invalidOneDriveForBusinessLicense?i("div",{staticClass:"centered-suggestion-message"},[i("span",[e._v("\n It looks like there is no active\n "),i("a",{attrs:{href:"https://blogs.business.microsoft.com/en-my/2017/05/22/what-is-onedrive-for-business/",target:"_blank",rel:"noopener noreferrer"}},[e._v("OneDrive For Business")]),e._v("\n license for the user "+e._s(e.selectedSubject.userPrincipalName)+"."),i("br"),e._v("\n You can go to\n "),i("a",{attrs:{href:"https://portal.office.com/",target:"_blank",rel:"noopener noreferrer"}},[e._v("Office 365 Portal")]),e._v("\n to check for appropriate OneDrive For Business license or to activate it.\n ")])]):e._e(),e._v(" "),e.currentlyLoading||e.invalidOneDriveForBusinessLicense?e._e():i("div",{staticClass:"okr-editor"},[e.canChangeOkr?i("InputForm",{ref:"newObjForm",staticClass:"create-objective-form",attrs:{placeholder:"+ Type ambitious objective and press Enter",action:function(t){e.addObjective(t)}}}):e._e(),e._v(" "),e.error?i("div",{staticClass:"error"},[i("span",[e._v(e._s(e.error.message))])]):e._e(),e._v(" "),e._l(e.visibleObjectives,function(t){return e.haveVisibleObjectives?i("div",{key:t.id,staticClass:"objective-card"},[i("div",{class:{objective:!e.isRemovedObjective(t.id),"objective-deleted":e.isRemovedObjective(t.id)}},[i("div",{staticClass:"objective-item-header"},[i("div",{staticClass:"objective-like-icon icons-container",on:{click:function(e){t.like=!t.like}}},[i("StarIcon",{class:{"objective-like-icon-selected":t.like}})],1),e._v(" "),i("div",{staticClass:"objective-icons icons-container"},[e.canChangeOkr?e._e():i("span",{attrs:{title:"Send suggestion email"},on:{click:function(i){e.sendChangeSuggestion(t)}}},[i("SendIcon")],1),e._v(" "),i("span",{attrs:{title:"Duplicate objective"},on:{click:function(i){e.copyObjective(t)}}},[i("CopyIcon")],1),e._v(" "),e.canChangeOkr?i("span",{attrs:{title:"Delete objective"},on:{click:function(i){e.deleteObjective(t.id)}}},[i("TrashIcon")],1):e._e()])]),e._v(" "),i("div",{staticClass:"objective-item-body"},[i("InputForm",{staticClass:"objective-title",attrs:{placeholder:"",autosave:"true","accept-empty":"true",readonly:!e.canChangeOkr,action:function(i){e.editObjective(t,i)},value:t.statement}}),e._v(" "),i("KeyResults",{attrs:{objective:t,readonly:!e.canChangeOkr}}),e._v(" "),i("div",{staticClass:"objective-additional-info"},[t.lastModifiedDateTime?i("span",{staticClass:"objective-additional-info-text"},[e._v("\n "+e._s(e.getLastChangedMessage(t.lastModifiedDateTime))+"\n ")]):e._e(),e._v(" "),t.onenoteWebUrl?i("a",{attrs:{title:"View objective in Microsoft OneNote",href:t.onenoteWebUrl,target:"_blank",rel:"noopener noreferrer"}},[i("img",{staticClass:"objective-additional-info-o365",attrs:{src:require("../assets/onenote.png")}})]):e._e()])],1),e._v(" "),e.isRemovedObjective(t.id)?i("div",{staticClass:"objective-restore-layer"},[i("div",{staticClass:"objective-restore-button",on:{click:function(i){e.restoreObjective(t.id)}}},[e._v("\n RESTORE\n ")]),e._v(" "),i("div",{staticClass:"objective-restore-separator"},[e._v("|")]),e._v(" "),i("div",{staticClass:"objective-delete-button",on:{click:function(i){e.purgeObjective(t.id)}}},[e._v("\n DELETE\n ")])]):e._e()])]):e._e()}),e._v(" "),e.haveVisibleObjectives?e._e():i("div",{staticClass:"empty-objectives"},[e.canChangeOkr?i("div",{staticClass:"centered-suggestion-message"},[e._m(0)]):i("div",{staticClass:"centered-suggestion-message"},[i("span",[e._v("\n There is no any objective yet."),i("br"),e._v("\n You can send a friendly reminder to your teammate\n "),i("span",{attrs:{title:"Send reminder email"},on:{click:function(t){e.sendReminder()}}},[i("SendIcon")],1)])])])],2)])},e.staticRenderFns=[function(){var e=this.$createElement,t=this._self._c||e;return t("span",[this._v("\n Here is no any objective yet."),t("br"),this._v("\n Let's create your first ambitious objective right now\n ")])}];
},{"./Icons/TrashIcon":39,"./Icons/CopyIcon":40,"./Icons/SendIcon":41,"./Icons/StarIcon":42,"./Icons/PlusIcon":43,"./InputForm":37,"./KeyResults":38,"./Animation/Spinner":44,"vuex":27,"./../services/telemetryservice":15,"../assets/onenote.png":36}],12:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},t=d(require("./../components/HeaderTitle")),r=d(require("./../components/Icons/LogoutIcon")),s=d(require("../components/Icons/WideScreenIcon")),n=d(require("./../components/ScopeSelector")),o=d(require("./../components/SearchForm")),c=d(require("./../components/UserCard")),i=d(require("./../components/OrgTree")),a=d(require("./../components/OKR")),u=require("vuex");function d(e){return e&&e.__esModule?e:{default:e}}exports.default={components:{HeaderTitle:t.default,WideScreenIcon:s.default,LogoutIcon:r.default,ScopeSelector:n.default,SearchForm:o.default,OrgTree:i.default,UserCard:c.default,OKR:a.default},computed:e({},(0,u.mapGetters)({authenticatedUser:"GET_AUTHENTICATED_USER"}),(0,u.mapState)({currentlySaving:function(e){return e.okr.saving},selectedSubject:function(e){return e.user.selectedSubject},user:function(e){return e.user.me},widescreen:function(e){return e.user.widescreen}})),methods:{wideScreen:function(){this.$store.dispatch("WIDESCREEN_MODE")},logOut:function(){this.$store.dispatch("LOGOUT")},selectInterestingSubject:function(e){this.$store.dispatch("SET_INTERESTING_SUBJECT",e)}},mounted:function(){this.$store.dispatch("LOAD_SCOPES"),this.$store.dispatch("GET_CURRENT_USER"),this.$store.dispatch("GET_RELEVANT_SUBJECTS")}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"container"},[r("header",{staticClass:"header"},[r("HeaderTitle"),e._v(" "),r("div",{staticClass:"header-nav-item"},[e.currentlySaving?r("span",{staticClass:"saving-indicator"},[e._v("Saving...")]):e._e(),e._v(" "),r("span",{staticClass:"widescreen",attrs:{title:"Presentation mode"},on:{click:e.wideScreen}},[r("WideScreenIcon")],1),e._v(" "),r("span",{staticClass:"user-name"},[e._v(e._s(e.authenticatedUser.displayName))]),e._v(" "),r("span",{staticClass:"log-out",attrs:{title:"Log out"},on:{click:e.logOut}},[r("LogoutIcon")],1)])],1),e._v(" "),e.widescreen?e._e():r("div",{staticClass:"menu"},[r("ScopeSelector"),e._v(" "),r("SearchForm"),e._v(" "),e.user.id!==e.selectedSubject.id?r("div",{staticClass:"menu-user",on:{click:function(t){e.selectInterestingSubject(e.user)}}},[e._v("Return to me")]):e._e(),e._v(" "),r("OrgTree")],1),e._v(" "),e.widescreen?e._e():r("div",{staticClass:"user-card"},[r("UserCard")],1),e._v(" "),r("div",{staticClass:"content"},[r("OKR")],1)])},e.staticRenderFns=[];
},{"./../components/HeaderTitle":18,"./../components/Icons/LogoutIcon":25,"../components/Icons/WideScreenIcon":26,"./../components/ScopeSelector":20,"./../components/SearchForm":21,"./../components/UserCard":22,"./../components/OrgTree":23,"./../components/OKR":24,"vuex":27}],13:[function(require,module,exports) {
!function(){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={mounted:function(){}}}(),module.exports.__esModule&&(module.exports=module.exports.default);var e="function"==typeof module.exports?module.exports.options:module.exports;e.render=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"signin"},[this._v("Signing you in...")])},e.staticRenderFns=[];
},{}],9:[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("vue"),r=h(e),t=require("vue-router"),n=h(t),i=require("./views/LandingPage.vue"),u=h(i),o=require("./views/OkrEditor.vue"),a=h(o),d=require("./views/Signin.vue"),f=h(d),s=require("./services/authservice"),c=h(s),l=require("./services/telemetryservice"),v=h(l);function h(e){return e&&e.__esModule?e:{default:e}}function m(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}return Array.from(e)}r.default.use(n.default);var p=function(e){var r=new Uint8Array(e);return[].concat(m(r)).map(function(e){return e.toString(16).padStart(2,"0")}).join("")},g=function(e,r,t){if(c.default.handleCurrentWindowLocation(),c.default.isAuthenticated()){var n=c.default.getCurrentUser(),i=(new TextEncoder).encode(n.profile.oid);return window.crypto.subtle.digest("SHA-256",i).then(function(e){var r=p(e);(new v.default).setAuthenticatedUser(r)}),"/editor"===e.path?t():t({name:"editor"}),!0}return t(),!1},w=function(e,r,t){g(e,r,t)||c.default.login()},y=new n.default({mode:"history",routes:[{path:"/",name:"home",component:u.default,beforeEnter:g},{path:"/editor",name:"editor",component:a.default,beforeEnter:w},{path:"/signin",name:"signin",component:f.default,beforeEnter:function(e,r,t){t({name:"home"})}}]});exports.default=y;
},{"vue":10,"vue-router":16,"./views/LandingPage.vue":11,"./views/OkrEditor.vue":12,"./views/Signin.vue":13,"./services/authservice":14,"./services/telemetryservice":15}],4:[function(require,module,exports) {
"use strict";require("./styles/main.less");var e=require("vue"),r=l(e),u=require("./App.vue"),t=l(u),n=require("./store"),i=l(n),s=require("./router"),a=l(s);function l(e){return e&&e.__esModule?e:{default:e}}new r.default({store:i.default,router:a.default,render:function(e){return e(t.default)}}).$mount("#app");
},{"./styles/main.less":8,"vue":10,"./App.vue":7,"./store":17,"./router":9}]},{},[4])