logster 2.11.4 → 2.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +63 -12
- data/.gitignore +2 -0
- data/CHANGELOG.md +15 -5
- data/README.md +8 -0
- data/assets/javascript/.gitkeep +0 -0
- data/assets/javascript/chunk.143.f61340b825c6a3bf6dbe.js +22 -0
- data/assets/javascript/chunk.178.6d9ae01775c898e7b748.js +22 -0
- data/assets/javascript/chunk.468.95dd450003497c781cb3.js +1213 -0
- data/assets/javascript/chunk.916.85a3fc9d873df80f5ea5.js +579 -0
- data/assets/javascript/client-app.js +1259 -280
- data/assets/javascript/vendor.js +4068 -3375
- data/assets/stylesheets/.gitkeep +0 -0
- data/assets/stylesheets/client-app.css +1 -1
- data/assets/stylesheets/vendor.css +1 -1
- data/build_client_app.sh +6 -8
- data/client-app/.editorconfig +0 -1
- data/client-app/.eslintignore +2 -0
- data/client-app/.eslintrc +10 -0
- data/client-app/.gitignore +1 -1
- data/client-app/.prettierignore +21 -0
- data/client-app/.prettierrc +1 -0
- data/client-app/.template-lintrc.js +10 -0
- data/client-app/README.md +4 -5
- data/client-app/app/app.js +2 -2
- data/client-app/app/components/actions-menu.js +21 -21
- data/client-app/app/components/back-trace.js +93 -90
- data/client-app/app/components/env-tab.js +41 -29
- data/client-app/app/components/message-info.js +78 -75
- data/client-app/app/components/message-row.js +20 -17
- data/client-app/app/components/page-nav.js +33 -24
- data/client-app/app/components/panel-resizer.js +53 -37
- data/client-app/app/components/patterns-list.js +101 -84
- data/client-app/app/components/tab-contents.js +15 -19
- data/client-app/app/components/tabbed-section.js +30 -18
- data/client-app/app/components/time-formatter.js +29 -18
- data/client-app/app/controllers/index.js +143 -119
- data/client-app/app/controllers/show.js +17 -13
- data/client-app/app/helpers/or.js +1 -1
- data/client-app/app/initializers/app-init.js +23 -34
- data/client-app/app/lib/decorators.js +4 -2
- data/client-app/app/lib/preload.js +7 -4
- data/client-app/app/lib/utilities.js +55 -54
- data/client-app/app/models/group.js +20 -15
- data/client-app/app/models/message-collection.js +153 -149
- data/client-app/app/models/message.js +60 -58
- data/client-app/app/models/pattern-item.js +24 -22
- data/client-app/app/router.js +2 -2
- data/client-app/app/routes/index.js +19 -12
- data/client-app/app/routes/settings.js +12 -10
- data/client-app/app/routes/show.js +6 -4
- data/client-app/app/services/events.js +4 -0
- data/client-app/app/styles/app.css +2 -0
- data/client-app/app/templates/application.hbs +1 -2
- data/client-app/app/templates/components/actions-menu.hbs +23 -8
- data/client-app/app/templates/components/back-trace.hbs +10 -3
- data/client-app/app/templates/components/env-tab.hbs +9 -7
- data/client-app/app/templates/components/message-info.hbs +65 -34
- data/client-app/app/templates/components/message-row.hbs +25 -8
- data/client-app/app/templates/components/page-nav.hbs +34 -10
- data/client-app/app/templates/components/panel-resizer.hbs +3 -3
- data/client-app/app/templates/components/patterns-list.hbs +54 -20
- data/client-app/app/templates/components/tabbed-section.hbs +12 -4
- data/client-app/app/templates/components/time-formatter.hbs +1 -1
- data/client-app/app/templates/index.hbs +100 -78
- data/client-app/app/templates/settings.hbs +30 -19
- data/client-app/app/templates/show.hbs +9 -8
- data/client-app/config/ember-cli-update.json +18 -0
- data/client-app/config/environment.js +13 -13
- data/client-app/config/icons.js +3 -3
- data/client-app/config/targets.js +16 -8
- data/client-app/ember-cli-build.js +4 -4
- data/client-app/package.json +41 -31
- data/client-app/testem.js +16 -17
- data/client-app/tests/index.html +8 -1
- data/client-app/tests/integration/components/back-trace-test.js +49 -26
- data/client-app/tests/integration/components/env-tab-test.js +79 -53
- data/client-app/tests/integration/components/message-info-test.js +25 -23
- data/client-app/tests/integration/components/patterns-list-test.js +14 -11
- data/client-app/tests/test-helper.js +8 -4
- data/client-app/tests/unit/controllers/index-test.js +32 -16
- data/client-app/tests/unit/controllers/show-test.js +5 -5
- data/client-app/tests/unit/routes/index-test.js +5 -5
- data/client-app/tests/unit/routes/show-test.js +5 -5
- data/client-app/yarn.lock +9673 -0
- data/lib/logster/version.rb +1 -1
- data/logster.gemspec +6 -3
- metadata +15 -6
- data/client-app/.eslintrc.js +0 -60
- data/client-app/.travis.yml +0 -28
- data/client-app/app/components/update-time.js +0 -21
- data/client-app/package-lock.json +0 -16639
@@ -1,305 +1,1284 @@
|
|
1
1
|
"use strict"
|
2
|
-
function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}define("client-app/app",["exports","
|
3
|
-
|
2
|
+
function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}define("client-app/app",["exports","@ember/application","ember-resolver","ember-load-initializers","client-app/config/environment"],(function(e,t,r,n,o){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
3
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
4
4
|
if(Reflect.construct.sham)return!1
|
5
5
|
if("function"==typeof Proxy)return!0
|
6
6
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
7
|
-
return function(){var n
|
8
|
-
if(t){var
|
9
|
-
|
10
|
-
return
|
7
|
+
return function(){var r,n=f(e)
|
8
|
+
if(t){var o=f(this).constructor
|
9
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
10
|
+
return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t
|
11
11
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
12
|
-
return
|
13
|
-
return e}function
|
14
|
-
var
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
var
|
24
|
-
e.
|
25
|
-
|
26
|
-
var r
|
27
|
-
|
28
|
-
if(
|
29
|
-
|
30
|
-
|
31
|
-
if("
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
if(
|
38
|
-
|
39
|
-
return p
|
40
|
-
|
41
|
-
var
|
42
|
-
if(
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
return{
|
52
|
-
e.default=
|
53
|
-
|
54
|
-
if(
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
var
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
var r=
|
66
|
-
if(
|
67
|
-
|
68
|
-
e
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
function
|
76
|
-
|
77
|
-
|
78
|
-
e
|
79
|
-
|
80
|
-
|
81
|
-
var
|
82
|
-
|
83
|
-
|
84
|
-
this.
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
if(
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
e
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
var n=
|
111
|
-
|
112
|
-
r
|
113
|
-
e.
|
114
|
-
var r=
|
115
|
-
|
116
|
-
|
117
|
-
|
12
|
+
return l(e)}(this,r)}}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
13
|
+
return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function s(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e,t){if("object"!==i(e)||null===e)return e
|
14
|
+
var r=e[Symbol.toPrimitive]
|
15
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
16
|
+
if("object"!==i(n))return n
|
17
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
18
|
+
return"symbol"===i(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
19
|
+
var y=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
20
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)})(p,e)
|
21
|
+
var t,n,i,f=u(p)
|
22
|
+
function p(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,p)
|
23
|
+
for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i]
|
24
|
+
return s(l(e=f.call.apply(f,[this].concat(n))),"modulePrefix",o.default.modulePrefix),s(l(e),"podModulePrefix",o.default.podModulePrefix),s(l(e),"Resolver",r.default),e}return t=p,n&&a(t.prototype,n),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(t.default)
|
25
|
+
e.default=y,(0,n.default)(y,o.default.modulePrefix)})),define("client-app/component-managers/glimmer",["exports","@glimmer/component/-private/ember-component-manager"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/components/actions-menu",["exports","@ember-decorators/component","@ember/component","client-app/lib/decorators","@ember/object"],(function(e,t,r,n,o){var i,a
|
26
|
+
function c(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
27
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function u(){return u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t)
|
28
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
29
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},u.apply(this,arguments)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
30
|
+
if(Reflect.construct.sham)return!1
|
31
|
+
if("function"==typeof Proxy)return!0
|
32
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
33
|
+
return function(){var r,n=p(e)
|
34
|
+
if(t){var o=p(this).constructor
|
35
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
36
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
37
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
38
|
+
return s(e)}(this,r)}}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
39
|
+
return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function y(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
40
|
+
var r=e[Symbol.toPrimitive]
|
41
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
42
|
+
if("object"!==_typeof(n))return n
|
43
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
44
|
+
return"symbol"===_typeof(t)?t:String(t)}function d(e,t,r,n,o){var i={}
|
45
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
46
|
+
var h=(0,t.tagName)("span")((a=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
47
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)})(i,e)
|
48
|
+
var t,r,n,o=f(i)
|
49
|
+
function i(){var e,t,r,n;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,i)
|
50
|
+
for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u]
|
51
|
+
return e=o.call.apply(o,[this].concat(c)),t=s(e),n=!1,(r=y(r="showMenu"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return t=i,r=[{key:"willDestroyElement",value:function(){u(p(i.prototype),"willDestroyElement",this).apply(this,arguments),this.removeOutsideClickHandler()}},{key:"outsideClickHandler",value:function(e){this.element&&!this.element.contains(e.target)&&this.element!==e.target&&(this.set("showMenu",!1),this.updateMenu())}},{key:"updateMenu",value:function(){this.showMenu?this.addOutsideClickHandler():this.removeOutsideClickHandler()}},{key:"addOutsideClickHandler",value:function(){document.addEventListener("click",this.outsideClickHandler)}},{key:"removeOutsideClickHandler",value:function(){document.removeEventListener("click",this.outsideClickHandler)}},{key:"expandMenu",value:function(){this.toggleProperty("showMenu"),this.updateMenu()}}],r&&c(t.prototype,r),n&&c(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(r.default),d(a.prototype,"outsideClickHandler",[n.bound],Object.getOwnPropertyDescriptor(a.prototype,"outsideClickHandler"),a.prototype),d(a.prototype,"expandMenu",[o.action],Object.getOwnPropertyDescriptor(a.prototype,"expandMenu"),a.prototype),i=a))||i
|
52
|
+
e.default=h})),define("client-app/components/back-trace",["exports","@ember/object","@ember/component","client-app/lib/preload"],(function(e,t,r,n){var o,i,a
|
53
|
+
function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
54
|
+
if(null!=r){var n,o,i,a,c=[],u=!0,l=!1
|
55
|
+
try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return
|
56
|
+
u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(f){l=!0,o=f}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(!e)return
|
57
|
+
if("string"==typeof e)return u(e,t)
|
58
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
59
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
60
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
61
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length)
|
62
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
63
|
+
return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
64
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
65
|
+
var r=e[Symbol.toPrimitive]
|
66
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
67
|
+
if("object"!==_typeof(n))return n
|
68
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
69
|
+
if(Reflect.construct.sham)return!1
|
70
|
+
if("function"==typeof Proxy)return!0
|
71
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
72
|
+
return function(){var r,n=p(e)
|
73
|
+
if(t){var o=p(this).constructor
|
74
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
75
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
76
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
77
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
78
|
+
return e}(e)}(this,r)}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function y(e,t,r,n,o){var i={}
|
79
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}function d(e){return e&&"/"!==e[e.length-1]?e+"/":e}function h(e){var t=e.repo,r=e.path,n=e.filename,o=e.lineNumber,i=e.commitSha,a=void 0===i?null:i,c=d(t)
|
80
|
+
return/\/tree\//.test(c)||(c+="blob/",c+=a?"".concat(a,"/"):"master/"),c+=r+n,/^[0-9]+$/.test(o)&&(c+="#L".concat(o)),c}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
81
|
+
var v=(o=(0,t.computed)("env.application_version"),i=(0,t.computed)("backtrace.length","commitSha"),a=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
82
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)})(a,e)
|
83
|
+
var t,r,o,i=s(a)
|
84
|
+
function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"commitSha",get:function(){var e=null
|
85
|
+
return Array.isArray(this.env)?e=this.env.map((function(e){return e.application_version})).filter((function(e){return e}))[0]:this.env&&(e=this.env.application_version),e||n.default.get("application_version")}},{key:"lines",get:function(){var e=this
|
86
|
+
return this.backtrace&&0!==this.backtrace.length?this.backtrace.split("\n").map((function(t){var r=function(e){if(e.startsWith(n.default.get("gems_dir"))){var t=n.default.get("gems_dir")
|
87
|
+
return e.substring(t.length)}return e}(t)
|
88
|
+
return{line:r,url:e.findGithubURL(t,r)}})):[]}},{key:"githubURLForGem",value:function(e){if(!n.default.get("backtrace_links_enabled"))return null
|
89
|
+
var t=c(e.match(/([^/]+)\/(.+\/)(.+):(\d+):.*/)||[],5),r=t[1],o=t[2],i=t[3],a=t[4]
|
90
|
+
if(!r)return null
|
91
|
+
var u=n.default.get("gems_data").filter((function(e){return r.startsWith("".concat(e.name,"-"))})).sortBy("name.length").reverse()[0]
|
92
|
+
return u?h({repo:u.url,path:o,filename:i,lineNumber:a}):null}},{key:"githubURLForApp",value:function(e){if(!n.default.get("backtrace_links_enabled"))return null
|
93
|
+
var t=n.default.get("directories").filter((function(t){return e.startsWith(t.path)})).sortBy("path.length").reverse()[0]
|
94
|
+
if(!t)return null
|
95
|
+
var r,o,i,a=d(t.path),u=e.substring(a.length),l=""
|
96
|
+
if(u.includes("/")){var f=c(u.match(/(.+\/)(.+):(\d+)(:.*)/)||[],5)
|
97
|
+
l=f[1],r=f[2],o=f[3],i=f[4]}else{var s=c(u.match(/(.+):(\d+)(:.*)/)||[],4)
|
98
|
+
r=s[1],o=s[2],i=s[3]}if(!r||!o||!i)return null
|
99
|
+
var p=t.main_app?this.commitSha:null
|
100
|
+
return h({repo:t.url,path:l,filename:r,lineNumber:o,commitSha:p})}},{key:"findGithubURL",value:function(e,t){var r=n.default.get("directories")||[],o=e.startsWith(n.default.get("gems_dir")),i=r.some((function(t){return e.startsWith(t.path)}))
|
101
|
+
return o||!i?this.githubURLForGem(t):this.githubURLForApp(e)}}])&&l(t.prototype,r),o&&l(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default),y(a.prototype,"commitSha",[o],Object.getOwnPropertyDescriptor(a.prototype,"commitSha"),a.prototype),y(a.prototype,"lines",[i],Object.getOwnPropertyDescriptor(a.prototype,"lines"),a.prototype),a)
|
102
|
+
e.default=v})),define("client-app/components/env-tab",["exports","@ember/object","@ember/component","client-app/lib/utilities","client-app/lib/preload","@ember/template"],(function(e,t,r,n,o,i){var a,c,u,l
|
103
|
+
function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
104
|
+
if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return
|
105
|
+
if("string"==typeof e)return s(e,t)
|
106
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
107
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
108
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
109
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
110
|
+
var n=0,o=function(){}
|
111
|
+
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1
|
112
|
+
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
113
|
+
return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length)
|
114
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
115
|
+
return n}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
116
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
117
|
+
var r=e[Symbol.toPrimitive]
|
118
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
119
|
+
if("object"!==_typeof(n))return n
|
120
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
121
|
+
if(Reflect.construct.sham)return!1
|
122
|
+
if("function"==typeof Proxy)return!0
|
123
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
124
|
+
return function(){var r,n=h(e)
|
125
|
+
if(t){var o=h(this).constructor
|
126
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
127
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
128
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
129
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
130
|
+
return e}(e)}(this,r)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t,r,n,o){var i={}
|
131
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
132
|
+
var b=(a=(0,t.computed)("currentEnvPosition","isEnvArray","message.env"),c=(0,t.computed)("message.env"),u=(0,t.computed)("currentEnv","expanded.[]","isEnvArray","message.env"),l=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
133
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(u,e)
|
134
|
+
var t,r,a,c=d(u)
|
135
|
+
function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),c.apply(this,arguments)}return t=u,(r=[{key:"currentEnv",get:function(){return this.isEnvArray?this.message.env[this.currentEnvPosition]:this.message.env}},{key:"isEnvArray",get:function(){return Array.isArray(this.message.env)}},{key:"html",get:function(){if(!this.isEnvArray)return(0,i.htmlSafe)((0,n.buildHashString)(this.message.env))
|
136
|
+
var e,t=(0,n.clone)(this.currentEnv),r=f(o.default.get("env_expandable_keys")||[])
|
137
|
+
try{for(r.s();!(e=r.n()).done;){var a=e.value
|
138
|
+
if(Object.prototype.hasOwnProperty.call(t,a)&&!Array.isArray(t[a])){var c,u=[t[a]],l=f(this.message.env)
|
139
|
+
try{for(l.s();!(c=l.n()).done;){var s=c.value
|
140
|
+
s[a]&&!u.includes(s[a])&&u.push(s[a])}}catch(p){l.e(p)}finally{l.f()}t[a]=u.length>1?u:u[0]}}}catch(p){r.e(p)}finally{r.f()}return(0,i.htmlSafe)((0,n.buildHashString)(t,!1,this.expanded||[]))}},{key:"click",value:function(e){var t=e.target,r=t.dataset.key;(o.default.get("env_expandable_keys")||[]).includes(r)&&t.classList.contains("expand-list")&&(e.preventDefault(),this.expanded?this.expanded.pushObject(r):this.set("expanded",[r]))}}])&&p(t.prototype,r),a&&p(t,a),Object.defineProperty(t,"prototype",{writable:!1}),u}(r.default),v(l.prototype,"currentEnv",[a],Object.getOwnPropertyDescriptor(l.prototype,"currentEnv"),l.prototype),v(l.prototype,"isEnvArray",[c],Object.getOwnPropertyDescriptor(l.prototype,"isEnvArray"),l.prototype),v(l.prototype,"html",[u],Object.getOwnPropertyDescriptor(l.prototype,"html"),l.prototype),l)
|
141
|
+
e.default=b})),define("client-app/components/fa-icon",["exports","@fortawesome/ember-fontawesome/components/fa-icon"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/components/message-info",["exports","@ember/object/computed","@ember/component","@ember/object","client-app/lib/preload"],(function(e,t,r,n,o){var i,a,c,u,l
|
142
|
+
function f(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
143
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
144
|
+
if(Reflect.construct.sham)return!1
|
145
|
+
if("function"==typeof Proxy)return!0
|
146
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
147
|
+
return function(){var r,n=d(e)
|
148
|
+
if(t){var o=d(this).constructor
|
149
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
150
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
151
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
152
|
+
return y(e)}(this,r)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
153
|
+
return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
154
|
+
var r=e[Symbol.toPrimitive]
|
155
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
156
|
+
if("object"!==_typeof(n))return n
|
157
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
158
|
+
return"symbol"===_typeof(t)?t:String(t)}function v(e,t,r,n,o){var i={}
|
159
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
160
|
+
var b=(i=(0,t.bool)("currentRow.group"),a=(0,n.computed)("currentMessage.protected","showSolveAllButton","showSolveButton"),c=(0,n.computed)("showSolveAllButton","currentMessage.{canSolve,env}"),u=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
161
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)})(a,e)
|
162
|
+
var t,r,n,i=p(a)
|
163
|
+
function a(){var e,t,r,n,o;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,a)
|
164
|
+
for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f]
|
165
|
+
return e=i.call.apply(i,[this].concat(u)),t=y(e),r="showSolveAllButton",n=l,o=y(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0}),e}return t=a,(r=[{key:"buttons",get:function(){var e=this.currentMessage.protected,t=[]
|
166
|
+
return!e&&this.showSolveButton&&t.push({klass:"solve",action:this.solve,icon:"check-square",label:"Solve",prefix:"far",danger:!0}),this.showSolveAllButton&&t.push({klass:"solve-all",action:this.solveAll,icon:"check-square",label:"Solve All",prefix:"far",danger:!0}),e?t.push({klass:"unprotect",action:this.unprotect,icon:"unlock",prefix:"fas",label:"Unprotect"}):t.push({klass:"remove",action:this.remove,icon:"trash-alt",label:"Remove",prefix:"far",danger:!0},{klass:"protect",action:this.protect,icon:"lock",prefix:"fas",label:"Protect"}),t.push({klass:"copy",action:this.copy,icon:"copy",prefix:"far",label:"Copy"}),t}},{key:"showSolveButton",get:function(){return!this.showSolveAllButton&&(this.currentMessage.env?this.currentMessage.canSolve:!!o.default.get("application_version"))}},{key:"copy",value:function(){var e=this.currentMessage.showCount?"Message (".concat(this.currentMessage.count," copies reported)"):"Message",t="".concat(e,"\n\n").concat(this.currentMessage.message),r="Backtrace\n\n".concat(this.currentMessage.backtrace.split("\n").slice(0,10).join("\n")),n=Array.isArray(this.currentMessage.env)?this.currentMessage.env.map((function(e){return e.HTTP_HOST})).filter((function(e,t,r){return e&&r.indexOf(e)===t})).join(", "):this.currentMessage.env.HTTP_HOST,o=[t,r,n?"Env\n\nHTTP HOSTS: ".concat(n):""].filter((function(e){return e})).join("\n\n"),i=document.createElement("TEXTAREA")
|
167
|
+
document.body.appendChild(i),i.value=o,i.select(),document.execCommand("copy"),document.body.removeChild(i)}},{key:"tabChanged",value:function(e){var t
|
168
|
+
null===(t=this.onTabChange)||void 0===t||t.call(this,e)}},{key:"protect",value:function(){this.currentMessage.protect()}},{key:"unprotect",value:function(){this.currentMessage.unprotect()}},{key:"remove",value:function(){this.removeMessage(this.currentMessage)}},{key:"solve",value:function(){this.solveMessage(this.currentMessage)}},{key:"solveAll",value:function(){this.currentRow.solveAll()}},{key:"share",value:function(){window.location.pathname=this.currentMessage.shareUrl}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default),l=v(u.prototype,"showSolveAllButton",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v(u.prototype,"buttons",[a],Object.getOwnPropertyDescriptor(u.prototype,"buttons"),u.prototype),v(u.prototype,"showSolveButton",[c],Object.getOwnPropertyDescriptor(u.prototype,"showSolveButton"),u.prototype),v(u.prototype,"copy",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"copy"),u.prototype),v(u.prototype,"tabChanged",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"tabChanged"),u.prototype),v(u.prototype,"protect",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"protect"),u.prototype),v(u.prototype,"unprotect",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"unprotect"),u.prototype),v(u.prototype,"remove",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"remove"),u.prototype),v(u.prototype,"solve",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"solve"),u.prototype),v(u.prototype,"solveAll",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"solveAll"),u.prototype),v(u.prototype,"share",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"share"),u.prototype),u)
|
169
|
+
e.default=b})),define("client-app/components/message-row",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n,o,i
|
170
|
+
function a(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
171
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
172
|
+
var r=e[Symbol.toPrimitive]
|
173
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
174
|
+
if("object"!==_typeof(n))return n
|
175
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t)
|
176
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
177
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},c.apply(this,arguments)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
178
|
+
if(Reflect.construct.sham)return!1
|
179
|
+
if("function"==typeof Proxy)return!0
|
180
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
181
|
+
return function(){var r,n=f(e)
|
182
|
+
if(t){var o=f(this).constructor
|
183
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
184
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
185
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
186
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
187
|
+
return e}(e)}(this,r)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
188
|
+
var s=(0,t.tagName)("div")(n=(0,t.classNameBindings)("model.rowClass",":message-row","model.selected:selected")(n=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
189
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)})(p,e)
|
190
|
+
var t,r,n,s=l(p)
|
191
|
+
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),s.apply(this,arguments)}return t=p,r=[{key:"willInsertElement",value:function(){if(c(f(p.prototype),"willInsertElement",this).apply(this,arguments),!o){var e=document.getElementById("top-panel")
|
192
|
+
if(e){var t=parseFloat(getComputedStyle(e).height)
|
193
|
+
i=e.scrollHeight-20<t+e.scrollTop,o=!0}}}},{key:"didInsertElement",value:function(){c(f(p.prototype),"didInsertElement",this).apply(this,arguments)
|
194
|
+
var e=document.getElementById("top-panel")
|
195
|
+
e&&(o=!1,i&&(i=!1,e.scrollTop=e.scrollHeight-parseFloat(getComputedStyle(e).height)))}},{key:"click",value:function(){this.selectRow()}}],r&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.default))||n)||n
|
196
|
+
e.default=s})),define("client-app/components/page-nav",["exports","@ember-decorators/component","@ember/object/computed","@ember/component","@ember/object"],(function(e,t,r,n,o){var i,a,c,u,l,f,s,p
|
197
|
+
function y(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
198
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
199
|
+
if(Reflect.construct.sham)return!1
|
200
|
+
if("function"==typeof Proxy)return!0
|
201
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
202
|
+
return function(){var r,n=b(e)
|
203
|
+
if(t){var o=b(this).constructor
|
204
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
205
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
206
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
207
|
+
return v(e)}(this,r)}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
208
|
+
return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function m(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
209
|
+
var r=e[Symbol.toPrimitive]
|
210
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
211
|
+
if("object"!==_typeof(n))return n
|
212
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
213
|
+
return"symbol"===_typeof(t)?t:String(t)}function g(e,t,r,n,o){var i={}
|
214
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
215
|
+
var w=(i=(0,t.classNames)("nav-controls"),a=(0,t.classNameBindings)("extraClasses"),c=(0,r.equal)("position",0),u=(0,o.computed)("position","list.length"),l=(0,o.computed)("position"),i(f=a((s=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
216
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)})(i,e)
|
217
|
+
var t,r,n,o=h(i)
|
218
|
+
function i(){var e,t,r,n,a;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,i)
|
219
|
+
for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l]
|
220
|
+
return e=o.call.apply(o,[this].concat(u)),t=v(e),r="disableBackButtons",n=p,a=v(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(a):void 0}),e}return t=i,(r=[{key:"disableForwardButtons",get:function(){return this.position===this.list.length-1}},{key:"displayNumber",get:function(){return this.position+1}},{key:"takeStep",value:function(e){var t="back"===e?-1:1
|
221
|
+
if(!(1===t&&this.disableForwardButtons||-1===t&&this.disableBackButtons)){var r=this.position+t
|
222
|
+
this.navigate(r)}}},{key:"bigJump",value:function(e){var t="back"===e?0:this.list.length-1
|
223
|
+
this.navigate(t)}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(n.default),p=g(s.prototype,"disableBackButtons",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g(s.prototype,"disableForwardButtons",[u],Object.getOwnPropertyDescriptor(s.prototype,"disableForwardButtons"),s.prototype),g(s.prototype,"displayNumber",[l],Object.getOwnPropertyDescriptor(s.prototype,"displayNumber"),s.prototype),g(s.prototype,"takeStep",[o.action],Object.getOwnPropertyDescriptor(s.prototype,"takeStep"),s.prototype),g(s.prototype,"bigJump",[o.action],Object.getOwnPropertyDescriptor(s.prototype,"bigJump"),s.prototype),f=s))||f)||f)
|
224
|
+
e.default=w})),define("client-app/components/panel-resizer",["exports","@ember-decorators/component","@ember/service","@ember/component","@ember/runloop","client-app/lib/decorators"],(function(e,t,r,n,o,i){var a,c,u
|
225
|
+
function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
226
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function f(){return f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t)
|
227
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
228
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},f.apply(this,arguments)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
229
|
+
if(Reflect.construct.sham)return!1
|
230
|
+
if("function"==typeof Proxy)return!0
|
231
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
232
|
+
return function(){var r,n=d(e)
|
233
|
+
if(t){var o=d(this).constructor
|
234
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
235
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
236
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
237
|
+
return y(e)}(this,r)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
238
|
+
return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
239
|
+
var r=e[Symbol.toPrimitive]
|
240
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
241
|
+
if("object"!==_typeof(n))return n
|
242
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
243
|
+
return"symbol"===_typeof(t)?t:String(t)}function v(e,t,r,n,o){var i={}
|
244
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
245
|
+
var b=["touchmove","mousemove"],m=["touchend","mouseup"],g=["touchstart","mousedown"],w=(0,t.classNames)("divider")((c=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
246
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)})(a,e)
|
247
|
+
var t,r,n,i=p(a)
|
248
|
+
function a(){var e,t,r,n,o,c,l,f;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,a)
|
249
|
+
for(var s=arguments.length,p=new Array(s),d=0;d<s;d++)p[d]=arguments[d]
|
250
|
+
return e=i.call.apply(i,[this].concat(p)),t=y(e),r="events",n=u,o=y(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0}),c=y(e),f=!1,(l=h(l="resizing"))in c?Object.defineProperty(c,l,{value:f,enumerable:!0,configurable:!0,writable:!0}):c[l]=f,e}return t=a,r=[{key:"didInsertElement",value:function(){f(d(a.prototype),"didInsertElement",this).apply(this,arguments),this.set("divider",document.querySelector(".divider"))
|
251
|
+
for(var e=0,t=g;e<t.length;e++){var r=t[e]
|
252
|
+
this.divider.addEventListener(r,this.dividerClickHandler)}(0,o.scheduleOnce)("afterRender",this,"initialDivideView")}},{key:"willDestroyElement",value:function(){f(d(a.prototype),"willDestroyElement",this).apply(this,arguments)
|
253
|
+
for(var e=0,t=g;e<t.length;e++){var r=t[e]
|
254
|
+
this.divider.removeEventListener(r,this.dividerClickHandler)}}},{key:"initialDivideView",value:function(){var e=localStorage&&localStorage.logster_divider_bottom||300,t=window.innerHeight-parseInt(e,10)
|
255
|
+
this.divideView(t)}},{key:"divideView",value:function(e){var t=window.innerHeight,r=t-e
|
256
|
+
e<100||e+170>t||(this.divider.style.bottom="".concat(r-5,"px"),this.events.trigger("panelResized",r))}},{key:"performDrag",value:function(e){(0,o.throttle)(this,this.throttledPerformDrag,e,25)}},{key:"throttledPerformDrag",value:function(e){this.resizing&&this.divideView(e.clientY||e.touches&&e.touches[0]&&e.touches[0].clientY)}},{key:"endDrag",value:function(){var e=document.getElementById("overlay")
|
257
|
+
e&&e.parentElement.removeChild(e),this.set("resizing",!1),localStorage&&(localStorage.logster_divider_bottom=parseInt(this.divider.style.bottom,10))
|
258
|
+
for(var t=0,r=b;t<r.length;t++){var n=r[t]
|
259
|
+
document.removeEventListener(n,this.performDrag)}for(var o=0,i=m;o<i.length;o++){var a=i[o]
|
260
|
+
document.removeEventListener(a,this.endDrag)}}},{key:"dividerClickHandler",value:function(e){e.preventDefault()
|
261
|
+
var t=document.createElement("DIV")
|
262
|
+
t.id="overlay",document.body.appendChild(t),this.set("resizing",!0)
|
263
|
+
for(var r=0,n=b;r<n.length;r++){var o=n[r]
|
264
|
+
document.addEventListener(o,this.performDrag)}for(var i=0,a=m;i<a.length;i++){var c=a[i]
|
265
|
+
document.addEventListener(c,this.endDrag)}}}],r&&l(t.prototype,r),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(n.default),u=v(c.prototype,"events",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v(c.prototype,"performDrag",[i.bound],Object.getOwnPropertyDescriptor(c.prototype,"performDrag"),c.prototype),v(c.prototype,"endDrag",[i.bound],Object.getOwnPropertyDescriptor(c.prototype,"endDrag"),c.prototype),v(c.prototype,"dividerClickHandler",[i.bound],Object.getOwnPropertyDescriptor(c.prototype,"dividerClickHandler"),c.prototype),a=c))||a
|
266
|
+
e.default=w})),define("client-app/components/patterns-list",["exports","@ember/object/computed","@ember/component","@ember/object","client-app/models/pattern-item","client-app/lib/utilities"],(function(e,t,r,n,o,i){var a,c,u,l,f,s
|
267
|
+
function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e}
|
268
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag"
|
269
|
+
function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(R){u=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),c=new k(o||[])
|
270
|
+
return n(a,"_invoke",{value:j(e,r,c)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l
|
271
|
+
var s={}
|
272
|
+
function y(){}function d(){}function h(){}var v={}
|
273
|
+
u(v,i,(function(){return this}))
|
274
|
+
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
275
|
+
m&&m!==t&&r.call(m,i)&&(v=m)
|
276
|
+
var g=h.prototype=y.prototype=Object.create(v)
|
277
|
+
function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,c){var u=f(e[n],e,i)
|
278
|
+
if("throw"!==u.type){var l=u.arg,s=l.value
|
279
|
+
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,c)}))}c(u.arg)}var i
|
280
|
+
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
281
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
282
|
+
if("completed"===n){if("throw"===o)throw i
|
283
|
+
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
284
|
+
if(a){var c=P(a,r)
|
285
|
+
if(c){if(c===s)continue
|
286
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
287
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
288
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
289
|
+
n="executing"
|
290
|
+
var u=f(e,t,r)
|
291
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue
|
292
|
+
return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
293
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),s
|
294
|
+
var o=f(n,e.iterator,t.arg)
|
295
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
296
|
+
var i=o.arg
|
297
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function _(e){var t={tryLoc:e[0]}
|
298
|
+
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{}
|
299
|
+
t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i]
|
300
|
+
if(t)return t.call(e)
|
301
|
+
if("function"==typeof e.next)return e
|
302
|
+
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
303
|
+
return t.value=void 0,t.done=!0,t}
|
304
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
305
|
+
return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,u(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
306
|
+
var a=new O(l(t,r,n,o),i)
|
307
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
308
|
+
for(var n in t)r.push(n)
|
309
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
310
|
+
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
311
|
+
var e=this.tryEntries[0].completion
|
312
|
+
if("throw"===e.type)throw e.arg
|
313
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
314
|
+
var t=this
|
315
|
+
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
316
|
+
if("root"===i.tryLoc)return n("end")
|
317
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
318
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
319
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally")
|
320
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
321
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
322
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
323
|
+
var a=i?i.completion:{}
|
324
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
325
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
326
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
327
|
+
if(r.tryLoc===e){var n=r.completion
|
328
|
+
if("throw"===n.type){var o=n.arg
|
329
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}function y(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(l){return void r(l)}c.done?t(u):Promise.resolve(u).then(n,o)}function d(e){return function(){var t=this,r=arguments
|
330
|
+
return new Promise((function(n,o){var i=e.apply(t,r)
|
331
|
+
function a(e){y(i,n,o,a,c,"next",e)}function c(e){y(i,n,o,a,c,"throw",e)}a(void 0)}))}}function h(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return
|
332
|
+
if("string"==typeof e)return v(e,t)
|
333
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
334
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
335
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
336
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length)
|
337
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
338
|
+
return n}function b(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
339
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function g(){return g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=P(e)););return e}(e,t)
|
340
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
341
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},g.apply(this,arguments)}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
342
|
+
if(Reflect.construct.sham)return!1
|
343
|
+
if("function"==typeof Proxy)return!0
|
344
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
345
|
+
return function(){var r,n=P(e)
|
346
|
+
if(t){var o=P(this).constructor
|
347
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
348
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
349
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
350
|
+
return j(e)}(this,r)}}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
351
|
+
return e}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}function _(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
352
|
+
var r=e[Symbol.toPrimitive]
|
353
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
354
|
+
if("object"!==_typeof(n))return n
|
355
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
356
|
+
return"symbol"===_typeof(t)?t:String(t)}function x(e,t,r,n,o){var i={}
|
357
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
358
|
+
var k=(a=(0,t.not)("mutable"),c=(0,t.equal)("key","suppression"),u=(0,n.computed)("patterns.[]","newPatterns.[]"),l=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
359
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)})(y,e)
|
360
|
+
var t,r,n,a,c,u,l=O(y)
|
361
|
+
function y(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,y)
|
362
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
363
|
+
return b(j(e=l.call.apply(l,[this].concat(r))),"immutable",f,j(e)),b(j(e),"showCounter",s,j(e)),e}return t=y,r=[{key:"init",value:function(){g(P(y.prototype),"init",this).apply(this,arguments),this.patterns.length<1&&this.mutable&&this.create()}},{key:"allPatterns",get:function(){var e=this.patterns,t=this.newPatterns||[]
|
364
|
+
return[].concat(h(t.reverse()),h(e.reverse()))}},{key:"makeAPICall",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.method
|
365
|
+
return delete e.method,(0,i.ajax)("/patterns/".concat(this.key,".json"),{method:t,data:e})}},{key:"finallyBlock",value:function(e){e.set("saving",!1)}},{key:"catchBlock",value:function(e,t){t.responseText?e.set("error",t.responseText):e.set("error","Unknown error occurred. Please see dev console.")}},{key:"requestInit",value:function(e){e.setProperties({saving:!0,error:null})}},{key:"create",value:function(){this.newPatterns||this.set("newPatterns",[]),this.newPatterns.pushObject(o.default.create({isNew:!0}))}},{key:"trash",value:(u=d(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isNew){e.next=4
|
366
|
+
break}return this.newPatterns.removeObject(t),t.destroy(),e.abrupt("return")
|
367
|
+
case 4:return this.requestInit(t),e.prev=5,e.next=8,this.makeAPICall({method:"DELETE",pattern:t.value})
|
368
|
+
case 8:this.patterns.removeObject(t),t.destroy(),e.next=15
|
369
|
+
break
|
370
|
+
case 12:e.prev=12,e.t0=e.catch(5),this.catchBlock(t,e.t0)
|
371
|
+
case 15:return e.prev=15,this.finallyBlock(t),e.finish(15)
|
372
|
+
case 18:case"end":return e.stop()}}),e,this,[[5,12,15,18]])}))),function(e){return u.apply(this,arguments)})},{key:"save",value:(c=d(p().mark((function e(t){var r,n
|
373
|
+
return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.requestInit(t),e.prev=1,!t.isNew){e.next=12
|
374
|
+
break}return e.next=5,this.makeAPICall({method:"POST",pattern:t.valueBuffer,retroactive:!!t.retroactive})
|
375
|
+
case 5:r=e.sent,t.updateValue(r.pattern),t.set("isNew",!1),this.patterns.pushObject(t),this.newPatterns.removeObject(t),e.next=17
|
376
|
+
break
|
377
|
+
case 12:return e.next=14,this.makeAPICall({method:"PUT",pattern:t.value,new_pattern:t.valueBuffer})
|
378
|
+
case 14:n=e.sent,t.updateValue(n.pattern),t.set("count",0)
|
379
|
+
case 17:e.next=22
|
380
|
+
break
|
381
|
+
case 19:e.prev=19,e.t0=e.catch(1),this.catchBlock(t,e.t0)
|
382
|
+
case 22:return e.prev=22,this.finallyBlock(t),e.finish(22)
|
383
|
+
case 25:case"end":return e.stop()}}),e,this,[[1,19,22,25]])}))),function(e){return c.apply(this,arguments)})},{key:"resetCount",value:(a=d(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.set("saving",!0),e.prev=1,e.next=4,(0,i.ajax)("/reset-count.json",{method:"PUT",data:{pattern:t.value,hard:!!t.hard}})
|
384
|
+
case 4:t.set("count",0),e.next=10
|
385
|
+
break
|
386
|
+
case 7:e.prev=7,e.t0=e.catch(1),this.catchBlock(t,e.t0)
|
387
|
+
case 10:return e.prev=10,this.finallyBlock(t),e.finish(10)
|
388
|
+
case 13:case"end":return e.stop()}}),e,this,[[1,7,10,13]])}))),function(e){return a.apply(this,arguments)})},{key:"checkboxChanged",value:function(e){e.toggleProperty("retroactive")}}],r&&m(t.prototype,r),n&&m(t,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(r.default),f=x(l.prototype,"immutable",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=x(l.prototype,"showCounter",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x(l.prototype,"allPatterns",[u],Object.getOwnPropertyDescriptor(l.prototype,"allPatterns"),l.prototype),x(l.prototype,"create",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"create"),l.prototype),x(l.prototype,"trash",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"trash"),l.prototype),x(l.prototype,"save",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"save"),l.prototype),x(l.prototype,"resetCount",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"resetCount"),l.prototype),x(l.prototype,"checkboxChanged",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"checkboxChanged"),l.prototype),l)
|
389
|
+
e.default=k})),define("client-app/components/tab-contents",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n
|
390
|
+
function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
391
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}(e,t)
|
392
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
393
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
394
|
+
if(Reflect.construct.sham)return!1
|
395
|
+
if("function"==typeof Proxy)return!0
|
396
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
397
|
+
return function(){var r,n=l(e)
|
398
|
+
if(t){var o=l(this).constructor
|
399
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
400
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
401
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
402
|
+
return u(e)}(this,r)}}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
403
|
+
return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
404
|
+
var r=e[Symbol.toPrimitive]
|
405
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
406
|
+
if("object"!==_typeof(n))return n
|
407
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
408
|
+
return"symbol"===_typeof(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
409
|
+
var s=(0,t.classNameBindings)("active",":content","name")(n=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
410
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(p,e)
|
411
|
+
var t,r,n,s=c(p)
|
412
|
+
function p(){var e,t,r,n;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,p)
|
413
|
+
for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a]
|
414
|
+
return e=s.call.apply(s,[this].concat(i)),t=u(e),n=!1,(r=f(r="isLink"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return t=p,r=[{key:"didInsertElement",value:function(){i(l(p.prototype),"didInsertElement",this).apply(this,arguments),this.tabActions.addTab(this),this.defaultTab&&this.tabActions.selectTab(this)}},{key:"willDestroyElement",value:function(){i(l(p.prototype),"willDestroyElement",this).apply(this,arguments),this.tabActions.removeTab(this)}}],r&&o(t.prototype,r),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.default))||n
|
415
|
+
e.default=s})),define("client-app/components/tabbed-section",["exports","@ember/component","@ember/array","@ember/object"],(function(e,t,r,n){var o
|
416
|
+
function i(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
417
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
418
|
+
if(Reflect.construct.sham)return!1
|
419
|
+
if("function"==typeof Proxy)return!0
|
420
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
421
|
+
return function(){var r,n=l(e)
|
422
|
+
if(t){var o=l(this).constructor
|
423
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
424
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
425
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
426
|
+
return u(e)}(this,r)}}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
427
|
+
return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
428
|
+
var r=e[Symbol.toPrimitive]
|
429
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
430
|
+
if("object"!==_typeof(n))return n
|
431
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
432
|
+
return"symbol"===_typeof(t)?t:String(t)}function p(e,t,r,n,o){var i={}
|
433
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
434
|
+
var y=(o=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
435
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(s,e)
|
436
|
+
var t,n,o,l=c(s)
|
437
|
+
function s(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,s)
|
438
|
+
for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
|
439
|
+
return f(u(e=l.call.apply(l,[this].concat(n))),"tabs",(0,r.A)()),f(u(e),"selected",null),e}return t=s,(n=[{key:"selectTab",value:function(e){e.isLink?this.triggerAction(e.action):(this.selected&&this.selected.set("active",!1),this.set("selected",e),e.set("active",!0),this.onTabChange(e.name))}},{key:"addTab",value:function(e){this.tabs.addObject(e),this.selected||e.isLink||this.selectTab(e)}},{key:"removeTab",value:function(e){this.selected===e&&this.set("selected",null),this.tabs.removeObject(e)}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),s}(t.default),p(o.prototype,"selectTab",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"selectTab"),o.prototype),p(o.prototype,"addTab",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"addTab"),o.prototype),p(o.prototype,"removeTab",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"removeTab"),o.prototype),o)
|
440
|
+
e.default=y})),define("client-app/components/time-formatter",["exports","@ember-decorators/component","@ember/object","@ember/component","client-app/lib/utilities","@ember/runloop"],(function(e,t,r,n,o,i){var a,c,u,l,f
|
441
|
+
function s(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
442
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
443
|
+
var r=e[Symbol.toPrimitive]
|
444
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
445
|
+
if("object"!==_typeof(n))return n
|
446
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function p(){return p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t)
|
447
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
448
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},p.apply(this,arguments)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
449
|
+
if(Reflect.construct.sham)return!1
|
450
|
+
if("function"==typeof Proxy)return!0
|
451
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
452
|
+
return function(){var r,n=h(e)
|
453
|
+
if(t){var o=h(this).constructor
|
454
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
455
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
456
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
457
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
458
|
+
return e}(e)}(this,r)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t,r,n,o){var i={}
|
459
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
460
|
+
var b=6e4,m=(a=(0,t.tagName)(""),c=(0,r.computed)("timestamp"),u=(0,r.computed)("timestamp"),a((f=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
461
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(c,e)
|
462
|
+
var t,r,n,a=d(c)
|
463
|
+
function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.apply(this,arguments)}return t=c,r=[{key:"didInsertElement",value:function(){p(h(c.prototype),"didInsertElement",this).apply(this,arguments),(0,i.later)(this,this.updateTime,b)}},{key:"title",get:function(){return moment(this.timestamp).format()}},{key:"time",get:function(){return(0,o.formatTime)(this.timestamp)}},{key:"updateTime",value:function(){this.isDestroying||this.isDestroyed||(this.notifyPropertyChange("timestamp"),(0,i.later)(this,this.updateTime,b))}}],r&&s(t.prototype,r),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(n.default),v(f.prototype,"title",[c],Object.getOwnPropertyDescriptor(f.prototype,"title"),f.prototype),v(f.prototype,"time",[u],Object.getOwnPropertyDescriptor(f.prototype,"time"),f.prototype),l=f))||l)
|
464
|
+
e.default=m})),define("client-app/controllers/index",["exports","@ember/runloop","@ember/object","@ember/controller","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,r,n,o,i){var a,c
|
465
|
+
function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e}
|
466
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag"
|
467
|
+
function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(R){l=function(e,t,r){return e[t]=r}}function f(e,t,r,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),c=new k(o||[])
|
468
|
+
return n(a,"_invoke",{value:j(e,r,c)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=f
|
469
|
+
var p={}
|
470
|
+
function y(){}function d(){}function h(){}var v={}
|
471
|
+
l(v,i,(function(){return this}))
|
472
|
+
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
473
|
+
m&&m!==t&&r.call(m,i)&&(v=m)
|
474
|
+
var g=h.prototype=y.prototype=Object.create(v)
|
475
|
+
function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,c){var u=s(e[n],e,i)
|
476
|
+
if("throw"!==u.type){var l=u.arg,f=l.value
|
477
|
+
return f&&"object"==_typeof(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,c)}))}c(u.arg)}var i
|
478
|
+
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
479
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
480
|
+
if("completed"===n){if("throw"===o)throw i
|
481
|
+
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
482
|
+
if(a){var c=P(a,r)
|
483
|
+
if(c){if(c===p)continue
|
484
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
485
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
486
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
487
|
+
n="executing"
|
488
|
+
var u=s(e,t,r)
|
489
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue
|
490
|
+
return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
491
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p
|
492
|
+
var o=s(n,e.iterator,t.arg)
|
493
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p
|
494
|
+
var i=o.arg
|
495
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function _(e){var t={tryLoc:e[0]}
|
496
|
+
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{}
|
497
|
+
t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i]
|
498
|
+
if(t)return t.call(e)
|
499
|
+
if("function"==typeof e.next)return e
|
500
|
+
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
501
|
+
return t.value=void 0,t.done=!0,t}
|
502
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=l(h,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
503
|
+
return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
504
|
+
var a=new O(f(t,r,n,o),i)
|
505
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),l(g,c,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
506
|
+
for(var n in t)r.push(n)
|
507
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
508
|
+
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
509
|
+
var e=this.tryEntries[0].completion
|
510
|
+
if("throw"===e.type)throw e.arg
|
511
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
512
|
+
var t=this
|
513
|
+
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
514
|
+
if("root"===i.tryLoc)return n("end")
|
515
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
516
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
517
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally")
|
518
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
519
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
520
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
521
|
+
var a=i?i.completion:{}
|
522
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
523
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
524
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
525
|
+
if(r.tryLoc===e){var n=r.completion
|
526
|
+
if("throw"===n.type){var o=n.arg
|
527
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function l(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(l){return void r(l)}c.done?t(u):Promise.resolve(u).then(n,o)}function f(e){return function(){var t=this,r=arguments
|
528
|
+
return new Promise((function(n,o){var i=e.apply(t,r)
|
529
|
+
function a(e){l(i,n,o,a,c,"next",e)}function c(e){l(i,n,o,a,c,"throw",e)}a(void 0)}))}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
530
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
531
|
+
if(Reflect.construct.sham)return!1
|
532
|
+
if("function"==typeof Proxy)return!0
|
533
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
534
|
+
return function(){var r,n=h(e)
|
535
|
+
if(t){var o=h(this).constructor
|
536
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
537
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
538
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
539
|
+
return d(e)}(this,r)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
540
|
+
return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
541
|
+
var r=e[Symbol.toPrimitive]
|
542
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
543
|
+
if("object"!==_typeof(n))return n
|
544
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
545
|
+
return"symbol"===_typeof(t)?t:String(t)}function m(e,t,r,n,o){var i={}
|
546
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
547
|
+
var g=(a=(0,r.computed)("search"),c=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
548
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)})(m,e)
|
549
|
+
var r,n,a,c,l,h,b=y(m)
|
550
|
+
function m(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,m)
|
551
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
552
|
+
return v(d(e=b.call.apply(b,[this].concat(r))),"showDebug",(0,o.getLocalStorage)("showDebug",!1)),v(d(e),"showInfo",(0,o.getLocalStorage)("showInfo",!1)),v(d(e),"showWarn",(0,o.getLocalStorage)("showWarn",!0)),v(d(e),"showErr",(0,o.getLocalStorage)("showErr",!0)),v(d(e),"showFatal",(0,o.getLocalStorage)("showFatal",!0)),v(d(e),"search",null),v(d(e),"queryParams",["search"]),e}return r=m,n=[{key:"showSettings",get:function(){return i.default.get("patterns_enabled")}},{key:"actionsInMenu",get:function(){return/mobile/i.test(navigator.userAgent)&&!/iPad/.test(navigator.userAgent)}},{key:"searchTerm",get:function(){return this.search?(this.doSearch(this.search),this.search):null}},{key:"doSearch",value:(h=f(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.model.set("search",t),e.next=3,this.model.reload()
|
553
|
+
case 3:this.model.updateSelectedRow()
|
554
|
+
case 4:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})},{key:"resizePanels",value:function(e){var t=document.getElementById("bottom-panel"),r=document.getElementById("top-panel")
|
555
|
+
t.style.height="".concat(e-13,"px"),r.style.bottom="".concat(e+12,"px")}},{key:"expandMessage",value:function(e){e.expand()}},{key:"selectRowAction",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
|
556
|
+
this.model.selectRow(e,t)}},{key:"tabChangedAction",value:function(e){this.model.tabChanged(e)}},{key:"showMoreBefore",value:function(){this.model.showMoreBefore()}},{key:"loadMore",value:function(){return this.model.loadMore()}},{key:"clear",value:(l=f(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!confirm("Clear the logs?\n\nCancel = No, OK = Clear")){e.next=4
|
557
|
+
break}return e.next=3,(0,o.ajax)("/clear",{type:"POST"})
|
558
|
+
case 3:this.model.reload()
|
559
|
+
case 4:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"removeMessage",value:function(e){var t=this.model.currentRow.group?this.model.currentRow:null,r=this.model.rows,n=t?r.indexOf(t):r.indexOf(e)
|
118
560
|
e.destroy(),e.set("selected",!1),this.model.set("total",this.model.total-1)
|
119
|
-
var
|
120
|
-
t?(
|
121
|
-
this.
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
return
|
130
|
-
var r=
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
var
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
e
|
143
|
-
var n={
|
144
|
-
e.
|
145
|
-
|
146
|
-
if(!
|
561
|
+
var o=!1,i=0
|
562
|
+
t?(i=t.messages.indexOf(e),t.messages.removeObject(e),i=Math.min(i,t.messages.length-1),0===t.messages.length&&(r.removeObject(t),o=!0)):(r.removeObject(e),o=!0),o?n>0?this.model.selectRow(r[n-1]):this.model.total>0?this.model.selectRow(r[0]):this.model.reload():t&&this.model.selectRow(r[n],{messageIndex:i})}},{key:"solveMessage",value:function(e){this.model.solve(e)}},{key:"groupedMessageChangedAction",value:function(e){this.model.groupedMessageChanged(e)}},{key:"envChangedAction",value:function(e){this.model.envChanged(e)}},{key:"updateFilter",value:(c=f(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.toggleProperty(t),this.model.set(t,this[t]),(0,o.setLocalStorage)(t,this[t]),e.next=5,this.model.reload()
|
563
|
+
case 5:this.model.updateSelectedRow()
|
564
|
+
case 6:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"updateSearch",value:function(e){var r=e.target.value
|
565
|
+
r!==this.search&&(r&&1===r.length||(0,t.debounce)(this,this.doSearch,r,250))}}],n&&s(r.prototype,n),a&&s(r,a),Object.defineProperty(r,"prototype",{writable:!1}),m}(n.default),m(c.prototype,"showSettings",[r.computed],Object.getOwnPropertyDescriptor(c.prototype,"showSettings"),c.prototype),m(c.prototype,"searchTerm",[a],Object.getOwnPropertyDescriptor(c.prototype,"searchTerm"),c.prototype),m(c.prototype,"expandMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"expandMessage"),c.prototype),m(c.prototype,"selectRowAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"selectRowAction"),c.prototype),m(c.prototype,"tabChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"tabChangedAction"),c.prototype),m(c.prototype,"showMoreBefore",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"showMoreBefore"),c.prototype),m(c.prototype,"loadMore",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"loadMore"),c.prototype),m(c.prototype,"clear",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"clear"),c.prototype),m(c.prototype,"removeMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"removeMessage"),c.prototype),m(c.prototype,"solveMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"solveMessage"),c.prototype),m(c.prototype,"groupedMessageChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"groupedMessageChangedAction"),c.prototype),m(c.prototype,"envChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"envChangedAction"),c.prototype),m(c.prototype,"updateFilter",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"updateFilter"),c.prototype),m(c.prototype,"updateSearch",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"updateSearch"),c.prototype),c)
|
566
|
+
e.default=g})),define("client-app/controllers/show",["exports","@ember/controller","@ember/object"],(function(e,t,r){var n
|
567
|
+
function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
568
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
569
|
+
if(Reflect.construct.sham)return!1
|
570
|
+
if("function"==typeof Proxy)return!0
|
571
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
572
|
+
return function(){var r,n=u(e)
|
573
|
+
if(t){var o=u(this).constructor
|
574
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
575
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
576
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
577
|
+
return c(e)}(this,r)}}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
578
|
+
return e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function l(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
579
|
+
var r=e[Symbol.toPrimitive]
|
580
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
581
|
+
if("object"!==_typeof(n))return n
|
582
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
583
|
+
return"symbol"===_typeof(t)?t:String(t)}function f(e,t,r,n,o){var i={}
|
584
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
585
|
+
var s=(n=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
586
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)})(f,e)
|
587
|
+
var t,r,n,u=a(f)
|
588
|
+
function f(){var e,t,r,n;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,f)
|
589
|
+
for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a]
|
590
|
+
return e=u.call.apply(u,[this].concat(i)),t=c(e),n=0,(r=l(r="envPosition"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return t=f,(r=[{key:"protect",value:function(){this.model.protect()}},{key:"unprotect",value:function(){this.model.unprotect()}},{key:"envChanged",value:function(e){this.set("envPosition",e)}}])&&o(t.prototype,r),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(t.default),f(n.prototype,"protect",[r.action],Object.getOwnPropertyDescriptor(n.prototype,"protect"),n.prototype),f(n.prototype,"unprotect",[r.action],Object.getOwnPropertyDescriptor(n.prototype,"unprotect"),n.prototype),f(n.prototype,"envChanged",[r.action],Object.getOwnPropertyDescriptor(n.prototype,"envChanged"),n.prototype),n)
|
591
|
+
e.default=s})),define("client-app/helpers/app-version",["exports","@ember/component/helper","client-app/config/environment","ember-cli-app-version/utils/regexp"],(function(e,t,r,n){function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.default.APP.version,i=t.versionOnly||t.hideSha,a=t.shaOnly||t.hideVersion,c=null
|
592
|
+
return i&&(t.showExtended&&(c=o.match(n.versionExtendedRegExp)),c||(c=o.match(n.versionRegExp))),a&&(c=o.match(n.shaRegExp)),c?c[0]:o}Object.defineProperty(e,"__esModule",{value:!0}),e.appVersion=o,e.default=void 0
|
593
|
+
var i=(0,t.helper)(o)
|
594
|
+
e.default=i})),define("client-app/helpers/ensure-safe-component",["exports","@embroider/util"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.EnsureSafeComponentHelper}})})),define("client-app/helpers/logster-url",["exports","@ember/component/helper","client-app/lib/preload"],(function(e,t,r){function n(e){var t=e[0]
|
595
|
+
return"/"!==t[0]&&(t="/".concat(t)),(0,r.getRootPath)()+t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.logsterUrl=n
|
596
|
+
var o=(0,t.helper)(n)
|
597
|
+
e.default=o})),define("client-app/helpers/or",["exports","@ember/component/helper"],(function(e,t){function r(e){return e.some((function(e){return e}))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.or=r
|
598
|
+
var n=(0,t.helper)(r)
|
599
|
+
e.default=n})),define("client-app/helpers/page-title",["exports","ember-page-title/helpers/page-title"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
600
|
+
var r=t.default
|
601
|
+
e.default=r})),define("client-app/initializers/app-init",["exports","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e}
|
602
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag"
|
603
|
+
function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(L){f=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),c=new S(n||[])
|
604
|
+
return i(a,"_invoke",{value:P(e,r,c)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=s
|
605
|
+
var y={}
|
606
|
+
function d(){}function h(){}function v(){}var b={}
|
607
|
+
f(b,c,(function(){return this}))
|
608
|
+
var m=Object.getPrototypeOf,g=m&&m(m(E([])))
|
609
|
+
g&&g!==t&&r.call(g,c)&&(b=g)
|
610
|
+
var w=v.prototype=d.prototype=Object.create(b)
|
611
|
+
function O(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(i,a,c,u){var l=p(e[i],e,a)
|
612
|
+
if("throw"!==l.type){var f=l.arg,s=f.value
|
613
|
+
return s&&"object"==n(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,c,u)}),(function(e){o("throw",e,c,u)})):t.resolve(s).then((function(e){f.value=e,c(f)}),(function(e){return o("throw",e,c,u)}))}u(l.arg)}var a
|
614
|
+
i(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function P(e,t,r){var n="suspendedStart"
|
615
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
616
|
+
if("completed"===n){if("throw"===o)throw i
|
617
|
+
return R()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
618
|
+
if(a){var c=_(a,r)
|
619
|
+
if(c){if(c===y)continue
|
620
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
621
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
622
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
623
|
+
n="executing"
|
624
|
+
var u=p(e,t,r)
|
625
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===y)continue
|
626
|
+
return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function _(e,t){var r=t.method,n=e.iterator[r]
|
627
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y
|
628
|
+
var o=p(n,e.iterator,t.arg)
|
629
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y
|
630
|
+
var i=o.arg
|
631
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,y):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,y)}function x(e){var t={tryLoc:e[0]}
|
632
|
+
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{}
|
633
|
+
t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e){var t=e[c]
|
634
|
+
if(t)return t.call(e)
|
635
|
+
if("function"==typeof e.next)return e
|
636
|
+
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
637
|
+
return t.value=void 0,t.done=!0,t}
|
638
|
+
return o.next=o}}return{next:R}}function R(){return{value:void 0,done:!0}}return h.prototype=v,i(w,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:h,configurable:!0}),h.displayName=f(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
639
|
+
return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,f(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(j.prototype),f(j.prototype,u,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
640
|
+
var a=new j(s(t,r,n,o),i)
|
641
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),f(w,l,"Generator"),f(w,c,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
642
|
+
for(var n in t)r.push(n)
|
643
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
644
|
+
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=E,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
645
|
+
var e=this.tryEntries[0].completion
|
646
|
+
if("throw"===e.type)throw e.arg
|
647
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
648
|
+
var t=this
|
649
|
+
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
650
|
+
if("root"===i.tryLoc)return n("end")
|
651
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
652
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
653
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally")
|
654
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
655
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
656
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
657
|
+
var a=i?i.completion:{}
|
658
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
659
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
660
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
661
|
+
if(r.tryLoc===e){var n=r.completion
|
662
|
+
if("throw"===n.type){var o=n.arg
|
663
|
+
k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),y}},e}function i(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(l){return void r(l)}c.done?t(u):Promise.resolve(u).then(n,o)}function a(e){return c.apply(this,arguments)}function c(){var e
|
664
|
+
return e=o().mark((function e(n){var i,a,c,u,l,f,s,p
|
665
|
+
return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.resolveRegistration("config:environment"),(0,r.setRootPath)(i.rootURL.replace(/\/$/,"")),"development"!==i.environment){e.next=18
|
666
|
+
break}return n.deferReadiness(),e.prev=4,e.next=7,(0,t.ajax)("/development-preload.json")
|
667
|
+
case 7:a=e.sent,document.getElementById("preloaded-data").setAttribute("data-preloaded",JSON.stringify(a)),e.next=15
|
668
|
+
break
|
669
|
+
case 12:e.prev=12,e.t0=e.catch(4),console.error("Fetching preload data failed.",e.t0)
|
670
|
+
case 15:return e.prev=15,n.advanceReadiness(),e.finish(15)
|
671
|
+
case 18:moment.updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"secs",m:"a min",mm:"%d mins",h:"an hr",hh:"%d hrs",d:"a day",dd:"%d days",M:"a mth",MM:"%d mths",y:"a yr",yy:"%d yrs"}}),l=0,f=["","webkit","ms","moz","ms"]
|
672
|
+
case 20:if(!(l<f.length)){e.next=30
|
673
|
+
break}if(s=f[l],p=s+(""===s?"hidden":"Hidden"),void 0===document[p]){e.next=27
|
674
|
+
break}return c=p,u=s+"visibilitychange",e.abrupt("break",30)
|
675
|
+
case 27:l++,e.next=20
|
676
|
+
break
|
677
|
+
case 30:(0,t.updateHiddenProperty)(c),document.addEventListener(u,t.resetTitleCount,!1),/mobile/i.test(navigator.userAgent)&&!/iPad/.test(navigator.userAgent)&&document.body.classList.add("mobile")
|
678
|
+
case 34:case"end":return e.stop()}}),e,null,[[4,12,15,18]])})),c=function(){var t=this,r=arguments
|
679
|
+
return new Promise((function(n,o){var a=e.apply(t,r)
|
680
|
+
function c(e){i(a,n,o,c,u,"next",e)}function u(e){i(a,n,o,c,u,"throw",e)}c(void 0)}))},c.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=a
|
681
|
+
var u={initialize:a}
|
682
|
+
e.default=u})),define("client-app/initializers/app-version",["exports","ember-cli-app-version/initializer-factory","client-app/config/environment"],(function(e,t,r){var n,o
|
683
|
+
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r.default.APP&&(n=r.default.APP.name,o=r.default.APP.version)
|
684
|
+
var i={name:"App Version",initialize:(0,t.default)(n,o)}
|
685
|
+
e.default=i})),define("client-app/initializers/container-debug-adapter",["exports","ember-resolver/resolvers/classic/container-debug-adapter"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
686
|
+
var r={name:"container-debug-adapter",initialize:function(){(arguments[1]||arguments[0]).register("container-debug-adapter:main",t.default)}}
|
687
|
+
e.default=r})),define("client-app/initializers/export-application-global",["exports","ember","client-app/config/environment"],(function(e,t,r){function n(){var e=arguments[1]||arguments[0]
|
688
|
+
if(!1!==r.default.exportApplicationGlobal){var n
|
147
689
|
if("undefined"!=typeof window)n=window
|
148
690
|
else if("undefined"!=typeof global)n=global
|
149
691
|
else{if("undefined"==typeof self)return
|
150
|
-
n=self}var
|
151
|
-
|
152
|
-
var
|
153
|
-
e.default=
|
154
|
-
return{get:function(){return this[
|
155
|
-
|
156
|
-
var
|
157
|
-
|
158
|
-
e
|
692
|
+
n=self}var o,i=r.default.exportApplicationGlobal
|
693
|
+
o="string"==typeof i?i:t.default.String.classify(r.default.modulePrefix),n[o]||(n[o]=e,e.reopen({willDestroy:function(){this._super.apply(this,arguments),delete n[o]}}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=n
|
694
|
+
var o={name:"export-application-global",initialize:n}
|
695
|
+
e.default=o})),define("client-app/lib/decorators",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.bound=function(e,t,r){var n=r.value,o="_".concat(t,"Bound")
|
696
|
+
return{get:function(){return this[o]||this.set(o,n.bind(this)),this[o]}}}})),define("client-app/lib/preload",["exports","@ember/object"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getRootPath=function(){return r},e.init=i,e.mutatePreload=function(e,r){o||i();(0,t.set)(n,e,r)},e.setRootPath=function(e){r=e},e.uninitialize=function(){o=!1}
|
697
|
+
var r,n={},o=!1
|
698
|
+
function i(){var e=document.getElementById("preloaded-data").dataset;(n=e.preloaded?JSON.parse(e.preloaded):{}).rootPath=r,o=!0}var a={get:function(e){return o||i(),n[e]}}
|
699
|
+
e.default=a})),define("client-app/lib/utilities",["exports","client-app/lib/preload"],(function(e,t){function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e}
|
700
|
+
var e={},t=Object.prototype,o=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag"
|
701
|
+
function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(L){f=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),c=new S(n||[])
|
702
|
+
return i(a,"_invoke",{value:P(e,r,c)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=s
|
703
|
+
var y={}
|
704
|
+
function d(){}function h(){}function v(){}var b={}
|
705
|
+
f(b,c,(function(){return this}))
|
706
|
+
var m=Object.getPrototypeOf,g=m&&m(m(E([])))
|
707
|
+
g&&g!==t&&o.call(g,c)&&(b=g)
|
708
|
+
var w=v.prototype=d.prototype=Object.create(b)
|
709
|
+
function O(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(i,a,c,u){var l=p(e[i],e,a)
|
710
|
+
if("throw"!==l.type){var f=l.arg,s=f.value
|
711
|
+
return s&&"object"==n(s)&&o.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,c,u)}),(function(e){r("throw",e,c,u)})):t.resolve(s).then((function(e){f.value=e,c(f)}),(function(e){return r("throw",e,c,u)}))}u(l.arg)}var a
|
712
|
+
i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function P(e,t,r){var n="suspendedStart"
|
713
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
714
|
+
if("completed"===n){if("throw"===o)throw i
|
715
|
+
return R()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
716
|
+
if(a){var c=_(a,r)
|
717
|
+
if(c){if(c===y)continue
|
718
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
719
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
720
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
721
|
+
n="executing"
|
722
|
+
var u=p(e,t,r)
|
723
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===y)continue
|
724
|
+
return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function _(e,t){var r=t.method,n=e.iterator[r]
|
725
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y
|
726
|
+
var o=p(n,e.iterator,t.arg)
|
727
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y
|
728
|
+
var i=o.arg
|
729
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,y):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,y)}function x(e){var t={tryLoc:e[0]}
|
730
|
+
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{}
|
731
|
+
t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e){var t=e[c]
|
732
|
+
if(t)return t.call(e)
|
733
|
+
if("function"==typeof e.next)return e
|
734
|
+
if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t
|
735
|
+
return t.value=void 0,t.done=!0,t}
|
736
|
+
return n.next=n}}return{next:R}}function R(){return{value:void 0,done:!0}}return h.prototype=v,i(w,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:h,configurable:!0}),h.displayName=f(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
737
|
+
return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,f(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(j.prototype),f(j.prototype,u,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
738
|
+
var a=new j(s(t,r,n,o),i)
|
739
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),f(w,l,"Generator"),f(w,c,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
740
|
+
for(var n in t)r.push(n)
|
741
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
742
|
+
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=E,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
743
|
+
var e=this.tryEntries[0].completion
|
744
|
+
if("throw"===e.type)throw e.arg
|
745
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
746
|
+
var t=this
|
747
|
+
function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion
|
748
|
+
if("root"===i.tryLoc)return r("end")
|
749
|
+
if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc")
|
750
|
+
if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)
|
751
|
+
if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally")
|
752
|
+
if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r]
|
753
|
+
if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n
|
754
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
755
|
+
var a=i?i.completion:{}
|
756
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
757
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
758
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
759
|
+
if(r.tryLoc===e){var n=r.completion
|
760
|
+
if("throw"===n.type){var o=n.arg
|
761
|
+
k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),y}},e}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(l){return void r(l)}c.done?t(u):Promise.resolve(u).then(n,o)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
762
|
+
if(null!=r){var n,o,i,a,c=[],u=!0,l=!1
|
763
|
+
try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return
|
764
|
+
u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(f){l=!0,o=f}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(!e)return
|
765
|
+
if("string"==typeof e)return a(e,t)
|
766
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
767
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
768
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
769
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length)
|
770
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
771
|
+
return n}Object.defineProperty(e,"__esModule",{value:!0}),e.ajax=p,e.buildArrayString=v,e.buildHashString=function e(r,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]
|
159
772
|
if(!r)return""
|
160
|
-
var
|
161
|
-
|
162
|
-
if(
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
var
|
169
|
-
return
|
170
|
-
|
171
|
-
var
|
172
|
-
|
173
|
-
a=
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
var
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
e
|
188
|
-
function
|
189
|
-
|
190
|
-
return r}
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
var n=
|
195
|
-
|
196
|
-
|
197
|
-
return e&&
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
var
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
this.
|
214
|
-
|
215
|
-
e.
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
return
|
221
|
-
|
773
|
+
for(var c=[],u=[],l=t.default.get("env_expandable_keys")||[],f=0,p=Object.entries(r);f<p.length;f++){var y=i(p[f],2),d=y[0],b=y[1]
|
774
|
+
if(null===b)c.push("null")
|
775
|
+
else if("[object Array]"===Object.prototype.toString.call(b)){var m=""
|
776
|
+
m=l.includes(d)&&!o&&!a.includes(d)&&b.length>3?"".concat(s(b[0]),', <a class="expand-list" data-key=').concat(d,">").concat(b.length-1," more</a>"):"".concat(s(b[0]),", ").concat(v(b.slice(1,b.length))),c.push("<tr><td>".concat(s(d),"</td><td>").concat(m,"</td></tr>"))}else if("object"===n(b))u.push(d)
|
777
|
+
else if("time"===d&&"number"==typeof b){var g=moment(b).format(),w=h(b)
|
778
|
+
c.push('<tr title="'.concat(g,'"><td>').concat(d,"</td><td>").concat(w,"</td></tr>"))}else c.push("<tr><td>".concat(s(d),"</td><td>").concat(s(b),"</td></tr>"))}for(var O=0,j=u;O<j.length;O++){var P=j[O],_=r[P]
|
779
|
+
c.push("<tr><td></td><td><table>"),c.push("<td>".concat(s(P),"</td><td>").concat(e(_,!0),"</td>")),c.push("</table></td></tr>")}return"<table class='".concat(o?"":"env-table","'>").concat(c.join("\n"),"</table>")},e.clone=function(e){for(var t={},r=0,n=Object.entries(e);r<n.length;r++){var o=i(n[r],2),a=o[0],c=o[1]
|
780
|
+
t[a]=c}return t},e.escapeHtml=s,e.formatTime=h,e.getLocalStorage=function(e,t){try{if(window.localStorage){e="logster-"+e
|
781
|
+
var r=window.localStorage.getItem(e)
|
782
|
+
return null===r?t:"true"===r||"false"!==r&&r}return t}catch(n){return t}},e.increaseTitleCount=function(e){if(!d())return
|
783
|
+
u||(u=document.title),l||(l=0),l+=e,document.title="".concat(u," (").concat(l,")")},e.isHidden=d,e.preloadOrAjax=function(e,t){return y.apply(this,arguments)},e.resetTitleCount=function(){l=0,document.title=u||document.title},e.setLocalStorage=function(e,t){try{window.localStorage&&(e="logster-"+e,window.localStorage.setItem(e,t))}catch(r){}},e.updateHiddenProperty=function(e){c=e}
|
784
|
+
var c,u,l,f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"}
|
785
|
+
function s(e){return String(e).replace(/[&<>"'/]/g,(function(e){return f[e]}))}function p(e,r){return new Promise((function(n,o){r||(r={})
|
786
|
+
var a=new XMLHttpRequest
|
787
|
+
if(e=(0,t.getRootPath)()+e,r.data)for(var c=0,u=Object.entries(r.data);c<u.length;c++){var l=i(u[c],2),f=l[0],s=l[1]
|
788
|
+
e+=e.includes("?")?"&":"?",e+="".concat(f,"=").concat(encodeURIComponent(s))}if(a.open(r.method||r.type||"GET",e),a.setRequestHeader("X-SILENCE-LOGGER",!0),r.headers)for(var p=0,y=Object.entries(r.headers);p<y.length;p++){var d=i(y[p],2),h=d[0],v=d[1]
|
789
|
+
a.setRequestHeader(h,v)}a.onreadystatechange=function(){if(4===a.readyState){var e=a.status
|
790
|
+
if(e>=200&&e<300||304===e){var t=a.getResponseHeader("Content-Type"),r=a.responseText;/\bjson\b/.test(t)&&(r=JSON.parse(r)),n(r)}else o(a)}},a.send()}))}function y(){var e
|
791
|
+
return e=r().mark((function e(n,o){var i
|
792
|
+
return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i=t.default.get(n.replace(".json","")))){e.next=5
|
793
|
+
break}return e.abrupt("return",i)
|
794
|
+
case 5:return e.next=7,p(n,o)
|
795
|
+
case 7:return e.abrupt("return",e.sent)
|
796
|
+
case 8:case"end":return e.stop()}}),e)})),y=function(){var t=this,r=arguments
|
797
|
+
return new Promise((function(n,i){var a=e.apply(t,r)
|
798
|
+
function c(e){o(a,n,i,c,u,"next",e)}function u(e){o(a,n,i,c,u,"throw",e)}c(void 0)}))},y.apply(this,arguments)}function d(){return void 0!==c?document[c]:!document.hasFocus}function h(e){var t=moment(e),r=moment()
|
799
|
+
return t.diff(r.startOf("day"))>0?t.format("h:mm a"):t.diff(r.startOf("week"))>0?t.format("dd h:mm a"):t.diff(r.startOf("year"))>0?t.format("D MMM h:mm a"):t.format("D MMM YY")}function v(e){return"["+e.map((function(e){return null===e?"null":Array.isArray(e)?v(e):s(e.toString())})).join(", ")+"]"}})),define("client-app/models/group",["exports","@ember/object/computed","client-app/models/message","@ember/object","client-app/lib/utilities"],(function(e,t,r,n,o){var i,a,c,u,l
|
800
|
+
function f(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
801
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function p(){return p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t)
|
802
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
803
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},p.apply(this,arguments)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
804
|
+
if(Reflect.construct.sham)return!1
|
805
|
+
if("function"==typeof Proxy)return!0
|
806
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
807
|
+
return function(){var r,n=v(e)
|
808
|
+
if(t){var o=v(this).constructor
|
809
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
810
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
811
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
812
|
+
return h(e)}(this,r)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
813
|
+
return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t,r){return(t=m(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
814
|
+
var r=e[Symbol.toPrimitive]
|
815
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
816
|
+
if("object"!==_typeof(n))return n
|
817
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
818
|
+
return"symbol"===_typeof(t)?t:String(t)}function g(e,t,r,n,o){var i={}
|
819
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
820
|
+
var w=(i=(0,t.reads)("regex"),a=(0,t.reads)("messages.firstObject.message"),c=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
821
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(c,e)
|
822
|
+
var t,n,i,a=d(c)
|
823
|
+
function c(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,c)
|
824
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
825
|
+
return b(h(e=a.call.apply(a,[this].concat(r))),"selected",!1),b(h(e),"showCount",!0),f(h(e),"key",u,h(e)),f(h(e),"displayMessage",l,h(e)),e}return t=c,n=[{key:"init",value:function(){p(v(c.prototype),"init",this).apply(this,arguments)
|
826
|
+
var e=this.messages.map((function(e){return r.default.create(e)}))
|
827
|
+
this.set("messages",e)}},{key:"glyph",get:function(){return"clone"}},{key:"prefix",get:function(){return"far"}},{key:"solveAll",value:function(){return(0,o.ajax)("/solve-group",{type:"POST",data:{regex:this.regex}})}}],n&&s(t.prototype,n),i&&s(t,i),Object.defineProperty(t,"prototype",{writable:!1}),c}(n.default),u=g(c.prototype,"key",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=g(c.prototype,"displayMessage",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g(c.prototype,"glyph",[n.computed],Object.getOwnPropertyDescriptor(c.prototype,"glyph"),c.prototype),g(c.prototype,"prefix",[n.computed],Object.getOwnPropertyDescriptor(c.prototype,"prefix"),c.prototype),c)
|
828
|
+
e.default=w})),define("client-app/models/message-collection",["exports","client-app/lib/utilities","client-app/models/message","client-app/models/group","@ember/utils","@ember/object","@ember/array"],(function(e,t,r,n,o,i,a){var c,u,l,f,s,p,y
|
829
|
+
function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
830
|
+
if(!r){if(Array.isArray(e)||(r=k(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
831
|
+
var n=0,o=function(){}
|
832
|
+
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1
|
833
|
+
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
834
|
+
return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e}
|
835
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag"
|
836
|
+
function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(R){u=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),c=new k(o||[])
|
837
|
+
return n(a,"_invoke",{value:j(e,r,c)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l
|
838
|
+
var s={}
|
839
|
+
function p(){}function y(){}function d(){}var v={}
|
840
|
+
u(v,i,(function(){return this}))
|
841
|
+
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
842
|
+
m&&m!==t&&r.call(m,i)&&(v=m)
|
843
|
+
var g=d.prototype=p.prototype=Object.create(v)
|
844
|
+
function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,c){var u=f(e[n],e,i)
|
845
|
+
if("throw"!==u.type){var l=u.arg,s=l.value
|
846
|
+
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,c)}))}c(u.arg)}var i
|
847
|
+
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
848
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
849
|
+
if("completed"===n){if("throw"===o)throw i
|
850
|
+
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
851
|
+
if(a){var c=P(a,r)
|
852
|
+
if(c){if(c===s)continue
|
853
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
854
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
855
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
856
|
+
n="executing"
|
857
|
+
var u=f(e,t,r)
|
858
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue
|
859
|
+
return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
860
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),s
|
861
|
+
var o=f(n,e.iterator,t.arg)
|
862
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
863
|
+
var i=o.arg
|
864
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function _(e){var t={tryLoc:e[0]}
|
865
|
+
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{}
|
866
|
+
t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i]
|
867
|
+
if(t)return t.call(e)
|
868
|
+
if("function"==typeof e.next)return e
|
869
|
+
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
870
|
+
return t.value=void 0,t.done=!0,t}
|
871
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:y,configurable:!0}),y.displayName=u(d,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
872
|
+
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
873
|
+
var a=new O(l(t,r,n,o),i)
|
874
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
875
|
+
for(var n in t)r.push(n)
|
876
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
877
|
+
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
878
|
+
var e=this.tryEntries[0].completion
|
879
|
+
if("throw"===e.type)throw e.arg
|
880
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
881
|
+
var t=this
|
882
|
+
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
883
|
+
if("root"===i.tryLoc)return n("end")
|
884
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
885
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
886
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally")
|
887
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
888
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
889
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
890
|
+
var a=i?i.completion:{}
|
891
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
892
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
893
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
894
|
+
if(r.tryLoc===e){var n=r.completion
|
895
|
+
if("throw"===n.type){var o=n.arg
|
896
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}function v(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(l){return void r(l)}c.done?t(u):Promise.resolve(u).then(n,o)}function b(e){return function(){var t=this,r=arguments
|
897
|
+
return new Promise((function(n,o){var i=e.apply(t,r)
|
898
|
+
function a(e){v(i,n,o,a,c,"next",e)}function c(e){v(i,n,o,a,c,"throw",e)}a(void 0)}))}}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
899
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
900
|
+
if(Reflect.construct.sham)return!1
|
901
|
+
if("function"==typeof Proxy)return!0
|
902
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
903
|
+
return function(){var r,n=j(e)
|
904
|
+
if(t){var o=j(this).constructor
|
905
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
906
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
907
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
908
|
+
return O(e)}(this,r)}}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
909
|
+
return e}function j(e){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},j(e)}function P(e,t,r){return(t=_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
910
|
+
var r=e[Symbol.toPrimitive]
|
911
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
912
|
+
if("object"!==_typeof(n))return n
|
913
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
914
|
+
return"symbol"===_typeof(t)?t:String(t)}function x(e,t,r,n,o){var i={}
|
915
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}function k(e,t){if(e){if("string"==typeof e)return S(e,t)
|
916
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
917
|
+
return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length)
|
918
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
919
|
+
return n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SEVERITIES=void 0
|
920
|
+
var E=["Debug","Info","Warn","Err","Fatal"]
|
921
|
+
e.SEVERITIES=E
|
922
|
+
var R,L=(c=i.computed.apply(void 0,function(e){if(Array.isArray(e))return S(e)}(R=E.map((function(e){return"show".concat(e)})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(R)||k(R)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=(0,i.computed)("currentRow","currentGroupedMessagesPosition"),l=(0,i.computed)("filter","search.length"),f=(0,i.computed)("rows.length","canLoadMore"),s=(0,i.computed)("total","rows.length"),p=(0,i.computed)("search"),y=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
923
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)})(v,e)
|
924
|
+
var i,c,u,l,f,s,p,y=w(v)
|
925
|
+
function v(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,v)
|
926
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
927
|
+
return P(O(e=y.call.apply(y,[this].concat(r))),"total",0),P(O(e),"rows",(0,a.A)()),P(O(e),"currentRow",null),P(O(e),"currentTab",null),P(O(e),"currentEnvPosition",0),P(O(e),"currentGroupedMessagesPosition",0),P(O(e),"search",""),e}return i=v,c=[{key:"filter",get:function(){var e=this,t=[]
|
928
|
+
return E.forEach((function(r,n){e["show".concat(r)]&&t.push(n)})),t.push(5),t}},{key:"currentMessage",get:function(){var e=this.currentRow,t=this.currentGroupedMessagesPosition
|
929
|
+
return e&&e.group?e.messages[t]:e}},{key:"hideCountInLoadMore",get:function(){var e=this.filter
|
930
|
+
return this.search&&this.search.length>0||e&&e.length<6}},{key:"moreBefore",get:function(){return this.rows.length>=50&&this.canLoadMore}},{key:"totalBefore",get:function(){return this.total-this.rows.length}},{key:"regexSearch",get:function(){var e=this.search
|
222
931
|
if(e&&e.length>2&&"/"===e[0]){var t=e.match(/\/(.*)\/(.*)/)
|
223
|
-
if(t&&3===t.length)try{return new RegExp(t[1],t[2])}catch(
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
932
|
+
if(t&&3===t.length)try{return new RegExp(t[1],t[2])}catch(r){}}return null}},{key:"solve",value:(p=b(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.solve()
|
933
|
+
case 2:this.reload()
|
934
|
+
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)})},{key:"selectRow",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.currentRow
|
935
|
+
r&&r.set("selected",!1),e.set("selected",!0)
|
936
|
+
var n=t.messageIndex||0,o=n===this.currentGroupedMessagesPosition
|
937
|
+
this.setProperties({currentRow:e,loadingEnv:!1,currentGroupedMessagesPosition:n,currentEnvPosition:0}),o&&this.notifyPropertyChange("currentGroupedMessagesPosition")
|
938
|
+
var i=this.currentMessage&&!this.currentMessage.env
|
939
|
+
this.fetchEnv({force:i})}},{key:"tabChanged",value:function(e){this.setProperties({currentTab:e,loadingEnv:!1}),this.fetchEnv()}},{key:"groupedMessageChanged",value:function(e){this.setProperties({currentGroupedMessagesPosition:e,currentEnvPosition:0})
|
940
|
+
var t=this.currentMessage&&!this.currentMessage.env
|
941
|
+
this.fetchEnv({force:t})}},{key:"envChanged",value:function(e){this.set("currentEnvPosition",e),this.fetchEnv()}},{key:"fetchEnv",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.currentMessage
|
942
|
+
if(t.force||r&&!r.env&&"env"===this.currentTab)return this.set("loadingEnv",!0),r.fetchEnv().finally((function(){return e.set("loadingEnv",!1)}))}},{key:"findEquivalentMessageIndex",value:function(e){var t,r=0
|
943
|
+
return null!=e&&e.group&&null!==(t=this.currentRow)&&void 0!==t&&t.group&&e.key===this.currentRow.key&&(r=e.messages.mapBy("key").indexOf(this.currentMessage.key),r=Math.max(0,r)),r}},{key:"updateSelectedRow",value:function(){var e,t=null===(e=this.currentRow)||void 0===e?void 0:e.key
|
944
|
+
if(t&&this.rows){var r=this.rows.find((function(e){return e.key===t}))
|
945
|
+
if(r){var n=this.findEquivalentMessageIndex(r)
|
946
|
+
this.selectRow(r,{messageIndex:n})}else this.setProperties({currentRow:null,currentEnvPosition:0,currentGroupedMessagesPosition:0})}}},{key:"load",value:(s=b(h().mark((function e(r){var n,i,a,c,u,l,f,s,p,y
|
947
|
+
return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r||(r={}),n={filter:this.filter.join("_")},this.search&&this.search.length>0&&(n.search=this.search,this.regexSearch&&(n.regex_search="true")),r.before&&(n.before=r.before,r.knownGroups&&(n.known_groups=r.knownGroups)),r.after&&(n.after=r.after),this.set("loading",!0),e.prev=6,e.next=9,(0,t.ajax)("/messages.json",{data:n,method:"POST"})
|
948
|
+
case 9:if(i=e.sent,0===(0,o.compare)(i.filter,this.filter)){e.next=12
|
949
|
+
break}return e.abrupt("return")
|
950
|
+
case 12:if(0===(0,o.compare)(i.search,this.search)){e.next=14
|
951
|
+
break}return e.abrupt("return")
|
952
|
+
case 14:if(!(i.messages.length>0)){e.next=56
|
953
|
+
break}if(a=this.toObjects(i.messages),!r.before){e.next=20
|
954
|
+
break}this.rows.unshiftObjects(a),e.next=56
|
955
|
+
break
|
956
|
+
case 20:c=d(a),e.prev=21,c.s()
|
957
|
+
case 23:if((u=c.n()).done){e.next=46
|
958
|
+
break}l=u.value,f=d(this.rows),e.prev=26,f.s()
|
959
|
+
case 28:if((s=f.n()).done){e.next=36
|
960
|
+
break}if((p=s.value).key===l.key){e.next=32
|
961
|
+
break}return e.abrupt("continue",34)
|
962
|
+
case 32:this.rows.removeObject(p),this.currentRow===p&&(y=this.findEquivalentMessageIndex(l),this.selectRow(l,{messageIndex:y}))
|
963
|
+
case 34:e.next=28
|
964
|
+
break
|
965
|
+
case 36:e.next=41
|
966
|
+
break
|
967
|
+
case 38:e.prev=38,e.t0=e.catch(26),f.e(e.t0)
|
968
|
+
case 41:return e.prev=41,f.f(),e.finish(41)
|
969
|
+
case 44:e.next=23
|
970
|
+
break
|
971
|
+
case 46:e.next=51
|
972
|
+
break
|
973
|
+
case 48:e.prev=48,e.t1=e.catch(21),c.e(e.t1)
|
974
|
+
case 51:return e.prev=51,c.f(),e.finish(51)
|
975
|
+
case 54:this.rows.addObjects(a),a.length>0&&(0,t.increaseTitleCount)(a.length)
|
976
|
+
case 56:return this.set("total",i.total),e.abrupt("return",i)
|
977
|
+
case 58:return e.prev=58,this.set("loading",!1),e.finish(58)
|
978
|
+
case 61:case"end":return e.stop()}}),e,this,[[6,,58,61],[21,48,51,54],[26,38,41,44]])}))),function(e){return s.apply(this,arguments)})},{key:"reload",value:(f=b(h().mark((function e(){var t
|
979
|
+
return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.set("total",0),this.rows.clear(),e.next=4,this.load()
|
980
|
+
case 4:t=e.sent,this.updateCanLoadMore(t)
|
981
|
+
case 6:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"updateCanLoadMore",value:function(e){e&&(e.messages.length<50?this.set("canLoadMore",!1):this.set("canLoadMore",!0))}},{key:"loadMore",value:function(){if(0!==this.rows.length){var e=this.rows[this.rows.length-1],t=e.group?e.row_id:e.key
|
982
|
+
this.load({after:t})}else this.load({})}},{key:"showMoreBefore",value:(l=b(h().mark((function e(){var t,r,n,o
|
983
|
+
return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.rows[0],r=t.group?t.row_id:t.key,n=this.rows.filterBy("group").mapBy("regex"),e.next=5,this.load({before:r,knownGroups:n})
|
984
|
+
case 5:o=e.sent,this.updateCanLoadMore(o)
|
985
|
+
case 7:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"toObjects",value:function(e){return e.map((function(e){return e.group?n.default.create(e):r.default.create(e)}))}}],c&&m(i.prototype,c),u&&m(i,u),Object.defineProperty(i,"prototype",{writable:!1}),v}(i.default),x(y.prototype,"filter",[c],Object.getOwnPropertyDescriptor(y.prototype,"filter"),y.prototype),x(y.prototype,"currentMessage",[u],Object.getOwnPropertyDescriptor(y.prototype,"currentMessage"),y.prototype),x(y.prototype,"hideCountInLoadMore",[l],Object.getOwnPropertyDescriptor(y.prototype,"hideCountInLoadMore"),y.prototype),x(y.prototype,"moreBefore",[f],Object.getOwnPropertyDescriptor(y.prototype,"moreBefore"),y.prototype),x(y.prototype,"totalBefore",[s],Object.getOwnPropertyDescriptor(y.prototype,"totalBefore"),y.prototype),x(y.prototype,"regexSearch",[p],Object.getOwnPropertyDescriptor(y.prototype,"regexSearch"),y.prototype),y)
|
986
|
+
e.default=L}))
|
987
|
+
define("client-app/models/message",["exports","@ember/object/computed","@ember/object","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,r,n,o){var i,a,c,u,l,f,s,p,y,d
|
988
|
+
function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e}
|
989
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag"
|
990
|
+
function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(R){u=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),c=new k(o||[])
|
991
|
+
return n(a,"_invoke",{value:j(e,r,c)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l
|
992
|
+
var s={}
|
993
|
+
function p(){}function y(){}function d(){}var v={}
|
994
|
+
u(v,i,(function(){return this}))
|
995
|
+
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
996
|
+
m&&m!==t&&r.call(m,i)&&(v=m)
|
997
|
+
var g=d.prototype=p.prototype=Object.create(v)
|
998
|
+
function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,c){var u=f(e[n],e,i)
|
999
|
+
if("throw"!==u.type){var l=u.arg,s=l.value
|
1000
|
+
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,c)}))}c(u.arg)}var i
|
1001
|
+
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
1002
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
1003
|
+
if("completed"===n){if("throw"===o)throw i
|
1004
|
+
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
1005
|
+
if(a){var c=P(a,r)
|
1006
|
+
if(c){if(c===s)continue
|
1007
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
1008
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
1009
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
1010
|
+
n="executing"
|
1011
|
+
var u=f(e,t,r)
|
1012
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue
|
1013
|
+
return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
1014
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),s
|
1015
|
+
var o=f(n,e.iterator,t.arg)
|
1016
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
1017
|
+
var i=o.arg
|
1018
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function _(e){var t={tryLoc:e[0]}
|
1019
|
+
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{}
|
1020
|
+
t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i]
|
1021
|
+
if(t)return t.call(e)
|
1022
|
+
if("function"==typeof e.next)return e
|
1023
|
+
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
1024
|
+
return t.value=void 0,t.done=!0,t}
|
1025
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:y,configurable:!0}),y.displayName=u(d,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
1026
|
+
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),u(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
1027
|
+
var a=new O(l(t,r,n,o),i)
|
1028
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
1029
|
+
for(var n in t)r.push(n)
|
1030
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
1031
|
+
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
1032
|
+
var e=this.tryEntries[0].completion
|
1033
|
+
if("throw"===e.type)throw e.arg
|
1034
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
1035
|
+
var t=this
|
1036
|
+
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
1037
|
+
if("root"===i.tryLoc)return n("end")
|
1038
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
1039
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
1040
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally")
|
1041
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
1042
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
1043
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
1044
|
+
var a=i?i.completion:{}
|
1045
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
1046
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
1047
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
1048
|
+
if(r.tryLoc===e){var n=r.completion
|
1049
|
+
if("throw"===n.type){var o=n.arg
|
1050
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}function v(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(l){return void r(l)}c.done?t(u):Promise.resolve(u).then(n,o)}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1051
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,j(n.key),n)}}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
1052
|
+
if(Reflect.construct.sham)return!1
|
1053
|
+
if("function"==typeof Proxy)return!0
|
1054
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1055
|
+
return function(){var r,n=O(e)
|
1056
|
+
if(t){var o=O(this).constructor
|
1057
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1058
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1059
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1060
|
+
return w(e)}(this,r)}}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1061
|
+
return e}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function j(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
1062
|
+
var r=e[Symbol.toPrimitive]
|
1063
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1064
|
+
if("object"!==_typeof(n))return n
|
1065
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
1066
|
+
return"symbol"===_typeof(t)?t:String(t)}function P(e,t,r,n,o){var i={}
|
1067
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1068
|
+
var _=(i=(0,t.gt)("count",1),a=(0,r.computed)("MAX_LEN","expanded","message.length"),c=(0,r.computed)("key"),u=(0,r.computed)("MAX_LEN","expanded","message.length"),l=(0,r.computed)("backtrace.length","env.{application_version,length}"),f=(0,r.computed)("severity"),s=(0,r.computed)("severity"),p=(0,r.computed)("severity"),y=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
1069
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)})(l,e)
|
1070
|
+
var t,r,i,a,c,u=g(l)
|
1071
|
+
function l(){var e,t,r,n,o,i,a,c;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,l)
|
1072
|
+
for(var f=arguments.length,s=new Array(f),p=0;p<f;p++)s[p]=arguments[p]
|
1073
|
+
return e=u.call.apply(u,[this].concat(s)),t=w(e),n=200,(r=j(r="MAX_LEN"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,o=w(e),i="showCount",a=d,c=w(e),a&&Object.defineProperty(o,i,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(c):void 0}),e}return t=l,r=[{key:"hasMore",get:function(){return!this.expanded&&this.message.length>this.MAX_LEN}},{key:"shareUrl",get:function(){return"".concat((0,o.getRootPath)(),"/show/").concat(this.key)}},{key:"displayMessage",get:function(){var e=this.message
|
1074
|
+
return!this.expanded&&this.message.length>this.MAX_LEN&&(e=this.message.substr(0,this.MAX_LEN)),e}},{key:"canSolve",get:function(){return(Array.isArray(this.env)?this.env.map((function(e){return e.application_version})).compact().join(""):this.env&&this.env.application_version)&&this.backtrace&&this.backtrace.length>0}},{key:"rowClass",get:function(){switch(this.severity){case 0:return"debug"
|
228
1075
|
case 1:return"info"
|
229
1076
|
case 2:return"warn"
|
230
1077
|
case 3:return"error"
|
231
1078
|
case 4:return"fatal"
|
232
|
-
default:return"unknown"}}
|
1079
|
+
default:return"unknown"}}},{key:"glyph",get:function(){switch(this.severity){case 0:case 1:return""
|
233
1080
|
case 2:return"exclamation-circle"
|
234
1081
|
case 3:case 4:return"times-circle"
|
235
|
-
default:return"question-circle"}}
|
1082
|
+
default:return"question-circle"}}},{key:"prefix",get:function(){return"fas"}},{key:"klass",get:function(){switch(this.severity){case 0:case 1:return""
|
236
1083
|
case 2:return"warning"
|
237
1084
|
case 3:return"error"
|
238
1085
|
case 4:return"fatal"
|
239
|
-
default:return"unknown"}}))
|
240
|
-
e.
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
e.default=
|
246
|
-
|
1086
|
+
default:return"unknown"}}},{key:"fetchEnv",value:(a=h().mark((function e(){var t
|
1087
|
+
return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,n.ajax)("/fetch-env/".concat(this.key,".json"))
|
1088
|
+
case 2:t=e.sent,this.set("env",t)
|
1089
|
+
case 4:case"end":return e.stop()}}),e,this)})),c=function(){var e=this,t=arguments
|
1090
|
+
return new Promise((function(r,n){var o=a.apply(e,t)
|
1091
|
+
function i(e){v(o,r,n,i,c,"next",e)}function c(e){v(o,r,n,i,c,"throw",e)}i(void 0)}))},function(){return c.apply(this,arguments)})},{key:"expand",value:function(){this.set("expanded",!0)}},{key:"solve",value:function(){return(0,n.ajax)("/solve/".concat(this.key),{type:"PUT"})}},{key:"destroy",value:function(){return(0,n.ajax)("/message/".concat(this.key),{type:"DELETE"})}},{key:"protect",value:function(){return this.set("protected",!0),(0,n.ajax)("/protect/".concat(this.key),{type:"PUT"})}},{key:"unprotect",value:function(){return this.set("protected",!1),(0,n.ajax)("/unprotect/".concat(this.key),{type:"DELETE"})}}],r&&b(t.prototype,r),i&&b(t,i),Object.defineProperty(t,"prototype",{writable:!1}),l}(r.default),d=P(y.prototype,"showCount",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P(y.prototype,"hasMore",[a],Object.getOwnPropertyDescriptor(y.prototype,"hasMore"),y.prototype),P(y.prototype,"shareUrl",[c],Object.getOwnPropertyDescriptor(y.prototype,"shareUrl"),y.prototype),P(y.prototype,"displayMessage",[u],Object.getOwnPropertyDescriptor(y.prototype,"displayMessage"),y.prototype),P(y.prototype,"canSolve",[l],Object.getOwnPropertyDescriptor(y.prototype,"canSolve"),y.prototype),P(y.prototype,"rowClass",[f],Object.getOwnPropertyDescriptor(y.prototype,"rowClass"),y.prototype),P(y.prototype,"glyph",[s],Object.getOwnPropertyDescriptor(y.prototype,"glyph"),y.prototype),P(y.prototype,"klass",[p],Object.getOwnPropertyDescriptor(y.prototype,"klass"),y.prototype),y)
|
1092
|
+
e.default=_})),define("client-app/models/pattern-item",["exports","@ember/object/computed","@ember/object"],(function(e,t,r){var n,o,i,a
|
1093
|
+
function c(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1094
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function u(){return u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t)
|
1095
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
1096
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},u.apply(this,arguments)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
1097
|
+
if(Reflect.construct.sham)return!1
|
1098
|
+
if("function"==typeof Proxy)return!0
|
1099
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1100
|
+
return function(){var r,n=p(e)
|
1101
|
+
if(t){var o=p(this).constructor
|
1102
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1103
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1104
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1105
|
+
return s(e)}(this,r)}}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1106
|
+
return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function y(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
1107
|
+
var r=e[Symbol.toPrimitive]
|
1108
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1109
|
+
if("object"!==_typeof(n))return n
|
1110
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
1111
|
+
return"symbol"===_typeof(t)?t:String(t)}function h(e,t,r,n,o){var i={}
|
1112
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1113
|
+
var v=(n=(0,t.lte)("count",0),o=(0,r.computed)("value","valueBuffer"),i=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
1114
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)})(i,e)
|
1115
|
+
var t,r,n,o=f(i)
|
1116
|
+
function i(){var e,t,r,n,c;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,i)
|
1117
|
+
for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f]
|
1118
|
+
return y(s(e=o.call.apply(o,[this].concat(l))),"isNew",!1),y(s(e),"value",""),y(s(e),"valueBuffer",""),y(s(e),"error",null),y(s(e),"saving",!1),y(s(e),"count",0),t=s(e),r="zeroCount",n=a,c=s(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(c):void 0}),e}return t=i,r=[{key:"init",value:function(){u(p(i.prototype),"init",this).apply(this,arguments),this.set("valueBuffer",this.value)}},{key:"hasBuffer",get:function(){return this.value!==this.valueBuffer}},{key:"updateValue",value:function(e){this.setProperties({value:e,valueBuffer:e})}}],r&&c(t.prototype,r),n&&c(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(r.default),a=h(i.prototype,"zeroCount",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h(i.prototype,"hasBuffer",[o],Object.getOwnPropertyDescriptor(i.prototype,"hasBuffer"),i.prototype),i)
|
1119
|
+
e.default=v})),define("client-app/resolver",["exports","ember-resolver"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1120
|
+
var r=t.default
|
1121
|
+
e.default=r})),define("client-app/router",["exports","@ember/routing/router","client-app/config/environment"],(function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1122
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
1123
|
+
if(Reflect.construct.sham)return!1
|
1124
|
+
if("function"==typeof Proxy)return!0
|
1125
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1126
|
+
return function(){var r,o=u(e)
|
1127
|
+
if(t){var i=u(this).constructor
|
1128
|
+
r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments)
|
1129
|
+
return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t
|
1130
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1131
|
+
return c(e)}(this,r)}}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1132
|
+
return e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e,t){if("object"!==n(e)||null===e)return e
|
1133
|
+
var r=e[Symbol.toPrimitive]
|
1134
|
+
if(void 0!==r){var o=r.call(e,t||"default")
|
1135
|
+
if("object"!==n(o))return o
|
1136
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
1137
|
+
return"symbol"===n(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1138
|
+
var s=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
1139
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)})(s,e)
|
1140
|
+
var t,n,u,f=a(s)
|
1141
|
+
function s(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,s)
|
1142
|
+
for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
|
1143
|
+
return l(c(e=f.call.apply(f,[this].concat(n))),"location",r.default.locationType),l(c(e),"rootURL",r.default.rootURL),e}return t=s,n&&o(t.prototype,n),u&&o(t,u),Object.defineProperty(t,"prototype",{writable:!1}),t}(t.default)
|
1144
|
+
e.default=s,s.map((function(){this.route("index",{path:"/"}),this.route("show",{path:"/show/:id"}),this.route("settings")}))})),define("client-app/routes/index",["exports","@ember/service","@ember/routing/route","client-app/models/message-collection","client-app/lib/utilities"],(function(e,t,r,n,o){var i,a
|
1145
|
+
function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
1146
|
+
if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return
|
1147
|
+
if("string"==typeof e)return u(e,t)
|
1148
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
1149
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
1150
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
1151
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
1152
|
+
var n=0,o=function(){}
|
1153
|
+
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1
|
1154
|
+
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
1155
|
+
return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length)
|
1156
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
1157
|
+
return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1158
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function f(){return f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t)
|
1159
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
1160
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},f.apply(this,arguments)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
1161
|
+
if(Reflect.construct.sham)return!1
|
1162
|
+
if("function"==typeof Proxy)return!0
|
1163
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1164
|
+
return function(){var r,n=d(e)
|
1165
|
+
if(t){var o=d(this).constructor
|
1166
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1167
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1168
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1169
|
+
return y(e)}(this,r)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1170
|
+
return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
1171
|
+
var r=e[Symbol.toPrimitive]
|
1172
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1173
|
+
if("object"!==_typeof(n))return n
|
1174
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
1175
|
+
return"symbol"===_typeof(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1176
|
+
var v,b,m,g,w,O,j=(i=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
1177
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)})(h,e)
|
1178
|
+
var t,r,i,u=p(h)
|
1179
|
+
function h(){var e,t,r,n,o;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,h)
|
1180
|
+
for(var i=arguments.length,c=new Array(i),l=0;l<i;l++)c[l]=arguments[l]
|
1181
|
+
return e=u.call.apply(u,[this].concat(c)),t=y(e),r="events",n=a,o=y(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0}),e}return t=h,(r=[{key:"model",value:function(){return n.default.create()}},{key:"setupController",value:function(e,t){f(d(h.prototype),"setupController",this).call(this,e,t)
|
1182
|
+
var r,i=c(n.SEVERITIES)
|
1183
|
+
try{for(i.s();!(r=i.n()).done;){var a=r.value
|
1184
|
+
t.set("show".concat(a),e["show".concat(a)])}}catch(s){i.e(s)}finally{i.f()}t.reload()
|
1185
|
+
var u=0,l=1
|
1186
|
+
this.refreshInterval=setInterval((function(){if(!t.loading){u+=1
|
1187
|
+
var e=(0,o.isHidden)(),r=!e
|
1188
|
+
e&&u%l==0&&(r=!0,l<20&&l++),r&&(t.loadMore(),e||(l=1))}}),3e3),this.events.on("panelResized",(function(t){e.resizePanels(t)}))}},{key:"deactivate",value:function(){clearInterval(this.refreshInterval)}}])&&l(t.prototype,r),i&&l(t,i),Object.defineProperty(t,"prototype",{writable:!1}),h}(r.default),v=i.prototype,b="events",m=[t.inject],g={configurable:!0,enumerable:!0,writable:!0,initializer:null},O={},Object.keys(g).forEach((function(e){O[e]=g[e]})),O.enumerable=!!O.enumerable,O.configurable=!!O.configurable,("value"in O||O.initializer)&&(O.writable=!0),O=m.slice().reverse().reduce((function(e,t){return t(v,b,e)||e}),O),w&&void 0!==O.initializer&&(O.value=O.initializer?O.initializer.call(w):void 0,O.initializer=void 0),void 0===O.initializer&&(Object.defineProperty(v,b,O),O=null),a=O,i)
|
1189
|
+
e.default=j})),define("client-app/routes/settings",["exports","@ember/routing/route","client-app/lib/utilities","client-app/models/pattern-item"],(function(e,t,r,n){function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1190
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
1191
|
+
var r=e[Symbol.toPrimitive]
|
1192
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1193
|
+
if("object"!==_typeof(n))return n
|
1194
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t)
|
1195
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
1196
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
1197
|
+
if(Reflect.construct.sham)return!1
|
1198
|
+
if("function"==typeof Proxy)return!0
|
1199
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1200
|
+
return function(){var r,n=u(e)
|
1201
|
+
if(t){var o=u(this).constructor
|
1202
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1203
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1204
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1205
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1206
|
+
return e}(e)}(this,r)}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1207
|
+
var l=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
1208
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(p,e)
|
1209
|
+
var t,l,f,s=c(p)
|
1210
|
+
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),s.apply(this,arguments)}return t=p,l=[{key:"model",value:function(){return(0,r.ajax)("/settings.json")}},{key:"setupController",value:function(e,t){i(u(p.prototype),"setupController",this).apply(this,arguments)
|
1211
|
+
var r=t.suppression,o=r.filter((function(e){return e.hard})).map((function(e){return n.default.create(e)})),a=r.reject((function(e){return e.hard})).map((function(e){return n.default.create(e)})),c=t.grouping.map((function(e){return n.default.create(e)})),l=o.length>0
|
1212
|
+
e.setProperties({showCodedSuppression:l,codedSuppression:o,customSuppression:a,grouping:c})}}],l&&o(t.prototype,l),f&&o(t,f),Object.defineProperty(t,"prototype",{writable:!1}),p}(t.default)
|
1213
|
+
e.default=l})),define("client-app/routes/show",["exports","@ember/routing/route","client-app/models/message","client-app/lib/utilities"],(function(e,t,r,n){function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1214
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
1215
|
+
var r=e[Symbol.toPrimitive]
|
1216
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1217
|
+
if("object"!==_typeof(n))return n
|
1218
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t)
|
1219
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
1220
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
1221
|
+
if(Reflect.construct.sham)return!1
|
1222
|
+
if("function"==typeof Proxy)return!0
|
1223
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1224
|
+
return function(){var r,n=u(e)
|
1225
|
+
if(t){var o=u(this).constructor
|
1226
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1227
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1228
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1229
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1230
|
+
return e}(e)}(this,r)}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1231
|
+
var l=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
1232
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(p,e)
|
1233
|
+
var t,l,f,s=c(p)
|
1234
|
+
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),s.apply(this,arguments)}return t=p,l=[{key:"model",value:function(e){return(0,n.preloadOrAjax)("/show/"+e.id+".json")}},{key:"setupController",value:function(e,t){i(u(p.prototype),"setupController",this).apply(this,arguments),e.set("model",r.default.create(t))}}],l&&o(t.prototype,l),f&&o(t,f),Object.defineProperty(t,"prototype",{writable:!1}),p}(t.default)
|
1235
|
+
e.default=l})),define("client-app/services/-ensure-registered",["exports","@embroider/util/services/ensure-registered"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/services/events",["exports","@ember/service","@ember/object/evented"],(function(e,t,r){function n(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1236
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
1237
|
+
var r=e[Symbol.toPrimitive]
|
1238
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1239
|
+
if("object"!==_typeof(n))return n
|
1240
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
247
1241
|
if(Reflect.construct.sham)return!1
|
248
1242
|
if("function"==typeof Proxy)return!0
|
249
1243
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
250
|
-
return function(){var n
|
251
|
-
if(t){var a
|
252
|
-
|
253
|
-
return
|
1244
|
+
return function(){var r,n=a(e)
|
1245
|
+
if(t){var o=a(this).constructor
|
1246
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1247
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
254
1248
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
255
|
-
return
|
256
|
-
return e}function
|
1249
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1250
|
+
return e}(e)}(this,r)}}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
257
1251
|
var c=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
258
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
259
|
-
var
|
260
|
-
function
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
var
|
267
|
-
|
268
|
-
var
|
269
|
-
e
|
270
|
-
|
271
|
-
|
272
|
-
var r=t.
|
273
|
-
e.
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
e.
|
291
|
-
var t=Ember.HTMLBars.template({id:"mMcWs7yM",block:'{"symbols":[],"statements":[[7,"div",true],[10,"class","line-1"],[8],[9],[0,"\\n"],[7,"div",true],[10,"class","line-2"],[8],[9],[0,"\\n"],[7,"div",true],[10,"class","line-3"],[8],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/panel-resizer.hbs"}})
|
292
|
-
e.default=t})),define("client-app/templates/components/patterns-list",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
293
|
-
var t=Ember.HTMLBars.template({id:"XL78JoZq",block:'{"symbols":["pattern"],"statements":[[4,"if",[[24,["mutable"]]],null,{"statements":[[0," "],[7,"button",false],[12,"class","btn new-pattern"],[3,"action",[[23,0,[]],"create"]],[8],[1,[28,"fa-icon",["plus"],null],false],[7,"span",true],[8],[0,"New"],[9],[9],[0,"\\n"]],"parameters":[]},null],[4,"each",[[24,["allPatterns"]]],null,{"statements":[[0," "],[7,"div",true],[10,"class","pattern-wrapper"],[8],[0,"\\n "],[1,[28,"input",null,[["type","class","placeholder","value","disabled"],["textfield","pattern-input","Enter regular expression…",[23,1,["valueBuffer"]],[28,"or",[[24,["immutable"]],[23,1,["saving"]]],null]]]],false],[0,"\\n"],[4,"if",[[24,["mutable"]]],null,{"statements":[[4,"if",[[23,1,["hasBuffer"]]],null,{"statements":[[0," "],[7,"button",false],[12,"disabled",[23,1,["saving"]]],[12,"class","btn ok no-text save shrink"],[3,"action",[[23,0,[]],"save",[23,1,[]]]],[8],[0,"\\n "],[1,[28,"fa-icon",["check"],null],false],[0,"\\n "],[9],[0,"\\n"]],"parameters":[]},null],[0," "],[7,"button",false],[12,"disabled",[23,1,["saving"]]],[12,"class","btn no-text trash shrink"],[3,"action",[[23,0,[]],"trash",[23,1,[]]]],[8],[0,"\\n "],[1,[28,"fa-icon",["trash-alt"],null],false],[0,"\\n "],[9],[0,"\\n"]],"parameters":[]},null],[0,"\\n"],[4,"if",[[24,["showCounter"]]],null,{"statements":[[0," "],[7,"input",true],[10,"disabled","true"],[10,"title","Number of logs that have been suppressed by this pattern"],[10,"class","count shrink"],[11,"value",[23,1,["count"]]],[8],[9],[0,"\\n "],[7,"button",false],[12,"class","btn no-text reset shrink"],[12,"title","Reset count of suppressed logs"],[12,"disabled",[23,1,["zeroCount"]]],[3,"action",[[23,0,[]],"resetCount",[23,1,[]]]],[8],[0,"\\n "],[1,[28,"fa-icon",["redo-alt"],null],false],[0,"\\n "],[9],[0,"\\n"]],"parameters":[]},null],[0," "],[9],[0,"\\n"],[4,"if",[[24,["applyRetroactivelyCheckbox"]]],null,{"statements":[[4,"if",[[23,1,["isNew"]]],null,{"statements":[[0," "],[7,"div",true],[10,"class","retro-checkbox"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[23,1,["retroactive"]]],[10,"class","checkbox"],[11,"onclick",[28,"action",[[23,0,[]],"checkboxChanged",[23,1,[]]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n Apply retroactively\\n "],[9],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null],[4,"if",[[23,1,["error"]]],null,{"statements":[[7,"pre",true],[10,"class","api-error"],[8],[1,[23,1,["error"]],false],[9]],"parameters":[]},null]],"parameters":[1]},null]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/patterns-list.hbs"}})
|
294
|
-
e.default=t})),define("client-app/templates/components/tabbed-section",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
295
|
-
var t=Ember.HTMLBars.template({id:"66JSiIiX",block:'{"symbols":["tab","&default"],"statements":[[14,2],[0,"\\n"],[7,"ul",true],[10,"class","tabs"],[8],[0,"\\n"],[4,"each",[[24,["tabs"]]],null,{"statements":[[0," "],[7,"li",true],[8],[0,"\\n "],[7,"a",false],[12,"title",[29,[[28,"unbound",[[23,1,["hint"]]],null]]]],[12,"href","#"],[12,"class",[29,[[28,"if",[[23,1,["active"]],"active"],null]]]],[3,"action",[[23,0,[]],[24,["selectTab"]],[23,1,[]]]],[8],[0,"\\n "],[1,[28,"unbound",[[23,1,["name"]]],null],false],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n"]],"parameters":[1]},null],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/tabbed-section.hbs"}})
|
296
|
-
e.default=t})),define("client-app/templates/components/time-formatter",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
297
|
-
var t=Ember.HTMLBars.template({id:"Nb2l5Onl",block:'{"symbols":[],"statements":[[1,[22,"time"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/time-formatter.hbs"}})
|
298
|
-
e.default=t})),define("client-app/templates/index",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
299
|
-
var t=Ember.HTMLBars.template({id:"Y79e8oYk",block:'{"symbols":["row"],"statements":[[7,"div",true],[10,"id","top-panel"],[8],[0,"\\n "],[7,"div",true],[10,"id","log-table"],[8],[0,"\\n"],[4,"if",[[24,["model","moreBefore"]]],null,{"statements":[[0," "],[7,"div",false],[12,"class","show-more"],[3,"action",[[23,0,[]],"showMoreBefore"]],[8],[0,"\\n"],[4,"if",[[24,["model","hideCountInLoadMore"]]],null,{"statements":[[0," Load more\\n"]],"parameters":[]},{"statements":[[0," Select to see "],[1,[24,["model","totalBefore"]],false],[0," more\\n"]],"parameters":[]}],[0," "],[9],[0,"\\n"]],"parameters":[]},null],[4,"each",[[24,["model","rows"]]],null,{"statements":[[0," "],[1,[28,"message-row",null,[["model","selectRow"],[[23,1,[]],[28,"action",[[23,0,[]],"selectRowAction",[23,1,[]]],null]]]],false],[0,"\\n"]],"parameters":[1]},null],[0," "],[9],[0,"\\n"],[9],[0,"\\n"],[7,"div",true],[10,"id","bottom-panel"],[11,"class",[29,[[28,"if",[[24,["model","currentRow","group"]],"group-view"],null]]]],[8],[0,"\\n"],[4,"if",[[24,["model","currentRow","group"]]],null,{"statements":[[0," "],[1,[28,"page-nav",null,[["list","position","extraClasses","navigate"],[[24,["model","currentRow","messages"]],[24,["model","currentGroupedMessagesPosition"]],"group-nav",[28,"action",[[23,0,[]],"groupedMessageChangedAction"],null]]]],false],[0,"\\n"]],"parameters":[]},null],[0," "],[1,[28,"message-info",null,[["currentMessage","currentRow","loadingEnv","removeMessage","solveMessage","onTabChange","envChangedAction","currentEnvPosition","actionsInMenu","showShare"],[[24,["model","currentMessage"]],[24,["model","currentRow"]],[24,["model","loadingEnv"]],[28,"action",[[23,0,[]],"removeMessage"],null],[28,"action",[[23,0,[]],"solveMessage"],null],[28,"action",[[23,0,[]],"tabChangedAction"],null],[28,"action",[[23,0,[]],"envChangedAction"],null],[24,["model","currentEnvPosition"]],[24,["actionsInMenu"]],true]]],false],[0,"\\n\\n "],[7,"div",true],[10,"class","action-panel"],[8],[0,"\\n "],[7,"div",true],[10,"class","severity-filters"],[8],[0,"\\n "],[7,"div",true],[10,"class","more-wrapping"],[8],[0,"\\n "],[7,"label",true],[10,"class","debug"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showDebug"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showDebug"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Debug"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","info"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showInfo"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showInfo"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Info"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","warn"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showWarn"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showWarn"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[1,[28,"fa-icon",["exclamation-circle"],[["class"],["warning"]]],false],[0,"\\n "],[7,"span",true],[8],[0,"Warning"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","error"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showErr"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showErr"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[1,[28,"fa-icon",["times-circle"],[["class"],["error"]]],false],[0,"\\n "],[7,"span",true],[8],[0,"Error"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","fatal"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showFatal"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showFatal"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[1,[28,"fa-icon",["times-circle"],[["class"],["fatal"]]],false],[0,"\\n "],[7,"span",true],[8],[0,"Fatal"],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[7,"div",true],[10,"class","search-clear-all"],[8],[0,"\\n "],[7,"input",true],[10,"class","search"],[10,"placeholder","Search"],[11,"value",[22,"searchTerm"]],[11,"onkeyup",[28,"action",[[23,0,[]],"updateSearch"],[["value"],["target.value"]]]],[10,"type","text"],[8],[9],[0,"\\n "],[7,"div",true],[10,"class","footer-btns"],[8],[0,"\\n"],[4,"if",[[24,["showSettings"]]],null,{"statements":[[4,"link-to",null,[["class","route"],["settings btn no-text","settings"]],{"statements":[[0," "],[1,[28,"fa-icon",["cog"],null],false],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null],[0," "],[7,"button",false],[12,"class","clear btn danger"],[3,"action",[[23,0,[]],"clear"]],[8],[1,[28,"fa-icon",["trash-alt"],[["prefix"],["far"]]],false],[7,"span",true],[8],[0,"Clear logs"],[9],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n"],[9],[0,"\\n"],[1,[22,"panel-resizer"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/index.hbs"}})
|
300
|
-
e.default=t})),define("client-app/templates/settings",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
301
|
-
var t=Ember.HTMLBars.template({id:"QRu+EVou",block:'{"symbols":[],"statements":[[7,"div",true],[10,"class","settings-page"],[8],[0,"\\n "],[4,"link-to",null,[["route"],["index"]],{"statements":[[0,"Home"]],"parameters":[]},null],[0,"\\n "],[7,"div",true],[10,"class","settings-header"],[8],[0,"\\n "],[7,"h1",true],[10,"class","header-title"],[8],[0,"Settings"],[9],[0,"\\n "],[7,"img",true],[10,"class","header-logo"],[11,"src",[28,"logster-url",["images/icon_144x144.png"],null]],[8],[9],[0,"\\n "],[9],[0,"\\n\\n "],[7,"div",true],[10,"class","settings-section suppression-patterns"],[8],[0,"\\n "],[7,"h2",true],[10,"class","section-title"],[8],[0,"Suppression Patterns"],[9],[0,"\\n "],[7,"div",true],[8],[0,"New messages that match these Regular Expression patterns will be suppressed. Checking Apply retroactively will remove all existing messages that match the patterns."],[9],[0,"\\n\\n"],[4,"if",[[24,["showCodedSuppression"]]],null,{"statements":[[0," "],[7,"h3",true],[10,"class","subsection-title"],[8],[0,"Hard-coded patterns:"],[9],[0,"\\n "],[7,"div",true],[10,"class","tip"],[8],[0,"These patterns can\'t be removed via the UI because they are commited to the source code of your app."],[9],[0,"\\n "],[1,[28,"patterns-list",null,[["patterns","mutable"],[[24,["codedSuppression"]],false]]],false],[0,"\\n"]],"parameters":[]},null],[0,"\\n "],[7,"h3",true],[10,"class","subsection-title"],[8],[0,"Custom patterns:"],[9],[0,"\\n "],[1,[28,"patterns-list",null,[["patterns","key","applyRetroactivelyCheckbox","mutable"],[[24,["customSuppression"]],"suppression",true,true]]],false],[0,"\\n "],[9],[0,"\\n "],[7,"div",true],[10,"class","settings-section grouping-patterns"],[8],[0,"\\n "],[7,"h2",true],[10,"class","section-title"],[8],[0,"Grouping Patterns"],[9],[0,"\\n "],[7,"div",true],[8],[0,"Add a Regular Expression pattern to group all new and existing messages into a single row when viewing the logs."],[9],[0,"\\n\\n "],[1,[28,"patterns-list",null,[["patterns","key","mutable"],[[24,["grouping"]],"grouping",true]]],false],[0,"\\n "],[9],[0,"\\n"],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/settings.hbs"}})
|
302
|
-
e.default=t})),define("client-app/templates/show",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
303
|
-
var t=Ember.HTMLBars.template({id:"ODDaTIqZ",block:'{"symbols":[],"statements":[[4,"link-to",null,[["class","route"],["recent-link","index"]],{"statements":[[0,"Recent"]],"parameters":[]},null],[0,"\\n\\n"],[7,"div",true],[10,"id","bottom-panel"],[10,"class","full"],[8],[0,"\\n "],[1,[28,"message-info",null,[["currentMessage","showTitle","envChangedAction","currentEnvPosition","actionsInMenu"],[[24,["model"]],"true",[28,"action",[[23,0,[]],"envChanged"],null],[24,["envPosition"]],false]]],false],[0,"\\n"],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/show.hbs"}})
|
304
|
-
e.default=t})),define("client-app/config/environment",[],(function(){try{var e="client-app/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(decodeURIComponent(t))}
|
305
|
-
return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(r){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"0.0.0+9daeaa9e"})
|
1252
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)})(u,e)
|
1253
|
+
var t,r,a,c=i(u)
|
1254
|
+
function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),c.apply(this,arguments)}return t=u,r&&n(t.prototype,r),a&&n(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(t.default.extend(r.default))
|
1255
|
+
e.default=c})),define("client-app/services/page-title-list",["exports","ember-page-title/services/page-title-list"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/services/page-title",["exports","ember-page-title/services/page-title"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/templates/application",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1256
|
+
var r=(0,t.createTemplateFactory)({id:"jRr4M5Lv",block:'[[[46,[28,[37,1],null,null],null,null,null]],[],false,["component","-outlet"]]',moduleName:"client-app/templates/application.hbs",isStrictMode:!1})
|
1257
|
+
e.default=r})),define("client-app/templates/components/actions-menu",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1258
|
+
var r=(0,t.createTemplateFactory)({id:"+wA0Wtkp",block:'[[[41,[30,1],[[[41,[30,0,["showMenu"]],[[[1," "],[10,0],[14,0,"actions-menu"],[12],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[11,"button"],[24,0,"expand btn no-text"],[24,4,"button"],[4,[38,2],["click",[30,0,["expandMenu"]]],null],[12],[1,"\\n "],[8,[39,3],null,[["@icon"],["ellipsis-h"]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,2],[[[1," "],[11,"button"],[24,0,"share btn"],[24,4,"button"],[4,[38,2],["click",[30,0,["share"]]],null],[12],[1,"\\n "],[8,[39,3],null,[["@icon"],["share"]],null],[1,"\\n "],[10,1],[12],[1,"Share"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[18,3,null],[1,"\\n\\n"],[41,[30,2],[[[1," "],[11,"button"],[24,0,"share btn"],[24,4,"button"],[4,[38,2],["click",[30,0,["share"]]],null],[12],[1,"\\n "],[8,[39,3],null,[["@icon"],["share"]],null],[1,"\\n "],[10,1],[12],[1,"Share"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]]],["@actionsInMenu","@showShare","&default"],false,["if","yield","on","fa-icon"]]',moduleName:"client-app/templates/components/actions-menu.hbs",isStrictMode:!1})
|
1259
|
+
e.default=r})),define("client-app/templates/components/back-trace",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1260
|
+
var r=(0,t.createTemplateFactory)({id:"GtPahi+I",block:'[[[42,[28,[37,1],[[28,[37,1],[[30,0,["lines"]]],null]],null],null,[[[10,0],[14,0,"backtrace-line"],[12],[1,[30,1,["line"]]],[41,[30,1,["url"]],[[[10,3],[15,6,[30,1,["url"]]],[14,"target","_blank"],[14,0,"line-link"],[14,"rel","noopener noreferrer"],[12],[1,"\\n "],[8,[39,3],null,[["@icon"],["external-link-square-alt"]],null],[1,"\\n "],[13]],[]],null],[13]],[1]],null]],["line"],false,["each","-track-array","if","fa-icon"]]',moduleName:"client-app/templates/components/back-trace.hbs",isStrictMode:!1})
|
1261
|
+
e.default=r})),define("client-app/templates/components/env-tab",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1262
|
+
var r=(0,t.createTemplateFactory)({id:"0MIUkyLD",block:'[[[41,[30,0,["isEnvArray"]],[[[1," "],[8,[39,1],null,[["@list","@position","@extraClasses","@navigate"],[[30,1,["env"]],[30,2],"env-nav",[30,3]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[1,[30,0,["html"]]]],["@message","@currentEnvPosition","@envChangedAction"],false,["if","page-nav"]]',moduleName:"client-app/templates/components/env-tab.hbs",isStrictMode:!1})
|
1263
|
+
e.default=r})),define("client-app/templates/components/message-info",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1264
|
+
var r=(0,t.createTemplateFactory)({id:"GzM5Tc9S",block:'[[[10,0],[14,0,"message-info"],[12],[1,"\\n "],[8,[39,0],null,[["@onTabChange"],[[30,0,["tabChanged"]]]],[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@name","@hint","@currentMessage","@tabActions"],["info","show info",[30,2],[30,1]]],[["default"],[[[[1,"\\n"],[41,[30,3],[[[1," "],[10,"h3"],[12],[1,"Message\\n"],[41,[30,2,["showCount"]],[[[1," ("],[1,[30,2,["count"]]],[1,"\\n copies reported)\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"pre"],[12],[1,[30,2,["message"]]],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[39,1],null,[["@name","@defaultTab","@hint","@currentMessage","@tabActions"],["backtrace","true","show backtrace",[30,2],[30,1]]],[["default"],[[[[1,"\\n"],[41,[30,3],[[[1," "],[10,"h3"],[12],[1,"Backtrace"],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"pre"],[12],[8,[39,3],[[24,0,"backtrace"]],[["@backtrace","@env"],[[30,2,["backtrace"]],[30,2,["env"]]]],null],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[39,1],null,[["@className","@name","@hint","@currentMessage","@tabActions"],["env","env","show environment",[30,2],[30,1]]],[["default"],[[[[1,"\\n"],[41,[30,2],[[[41,[30,2,["env"]],[[[41,[30,3],[[[1," "],[10,"h3"],[12],[1,"Env"],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,4],null,[["@message","@currentEnvPosition","@envChangedAction"],[[30,2],[30,4],[30,5]]],null],[1,"\\n"]],[]],[[[41,[30,6],[[[1," Loading env...\\n"]],[]],[[[1," No env for this message.\\n "]],[]]]],[]]]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n\\n"],[41,[30,2],[[[1," "],[10,0],[14,0,"message-actions"],[12],[1,"\\n "],[8,[39,5],null,[["@actionsInMenu","@showShare","@share"],[[30,7],[30,8],[30,0,["share"]]]],[["default"],[[[[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["buttons"]]],null]],null],null,[[[1," "],[11,"button"],[16,0,[29,[[30,9,["klass"]]," btn ",[52,[30,9,["danger"]],"danger",""]]]],[24,4,"button"],[4,[38,8],["click",[30,9,["action"]]],null],[12],[1,"\\n "],[8,[39,9],null,[["@icon","@prefix"],[[30,9,["icon"]],[30,9,["prefix"]]]],null],[1,"\\n "],[10,1],[12],[1,[30,9,["label"]]],[13],[1,"\\n "],[13],[1,"\\n"]],[9]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[13]],["tabActions","@currentMessage","@showTitle","@currentEnvPosition","@envChangedAction","@loadingEnv","@actionsInMenu","@showShare","btn"],false,["tabbed-section","tab-contents","if","back-trace","env-tab","actions-menu","each","-track-array","on","fa-icon"]]',moduleName:"client-app/templates/components/message-info.hbs",isStrictMode:!1})
|
1265
|
+
e.default=r})),define("client-app/templates/components/message-row",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1266
|
+
var r=(0,t.createTemplateFactory)({id:"QmvP92Ck",block:'[[[10,0],[14,0,"count"],[12],[1,"\\n"],[41,[30,1,["showCount"]],[[[1," "],[1,[30,1,["count"]]],[1,"\\n"]],[]],null],[13],[1,"\\n\\n"],[10,0],[14,0,"severity"],[12],[1,"\\n"],[41,[30,1,["glyph"]],[[[1," "],[8,[39,1],[[16,0,[30,1,["klass"]]]],[["@icon","@prefix"],[[30,1,["glyph"]],[30,1,["prefix"]]]],null],[1,"\\n"]],[]],null],[13],[1,"\\n\\n"],[10,0],[14,0,"message-body"],[12],[1,"\\n "],[1,[30,1,["displayMessage"]]],[1,"\\n"],[13],[1,"\\n\\n"],[10,0],[14,0,"protected"],[12],[1,"\\n"],[41,[30,1,["protected"]],[[[1," "],[8,[39,1],[[24,"title","message is protected, clearing will not remove it"]],[["@icon"],["lock"]],null],[1,"\\n"]],[]],null],[13],[1,"\\n\\n"],[10,0],[14,0,"time"],[12],[1,"\\n "],[8,[39,2],null,[["@timestamp"],[[30,1,["timestamp"]]]],null],[1,"\\n"],[13]],["@model"],false,["if","fa-icon","time-formatter"]]',moduleName:"client-app/templates/components/message-row.hbs",isStrictMode:!1})
|
1267
|
+
e.default=r})),define("client-app/templates/components/page-nav",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1268
|
+
var r=(0,t.createTemplateFactory)({id:"76VKHbMS",block:'[[[11,"button"],[16,"disabled",[30,0,["disableBackButtons"]]],[24,0,"btn nav-btn no-text"],[24,4,"button"],[4,[38,0],["click",[28,[37,1],[[30,0,["bigJump"]],"back"],null]],null],[12],[1,"\\n "],[8,[39,2],null,[["@icon"],["fast-backward"]],null],[1,"\\n"],[13],[1,"\\n\\n"],[11,"button"],[16,"disabled",[30,0,["disableBackButtons"]]],[24,0,"btn nav-btn no-text"],[24,4,"button"],[4,[38,0],["click",[28,[37,1],[[30,0,["takeStep"]],"back"],null]],null],[12],[1,"\\n "],[8,[39,2],null,[["@icon"],["backward"]],null],[1,"\\n"],[13],[1,"\\n\\n"],[10,1],[14,0,"current-number"],[12],[1,[30,0,["displayNumber"]]],[1,"/"],[1,[30,1,["length"]]],[13],[1,"\\n\\n"],[11,"button"],[16,"disabled",[30,0,["disableForwardButtons"]]],[24,0,"btn nav-btn no-text"],[24,4,"button"],[4,[38,0],["click",[28,[37,1],[[30,0,["takeStep"]],"front"],null]],null],[12],[1,"\\n "],[8,[39,2],null,[["@icon"],["forward"]],null],[1,"\\n"],[13],[1,"\\n\\n"],[11,"button"],[16,"disabled",[30,0,["disableForwardButtons"]]],[24,0,"btn nav-btn no-text"],[24,4,"button"],[4,[38,0],["click",[28,[37,1],[[30,0,["bigJump"]],"front"],null]],null],[12],[1,"\\n "],[8,[39,2],null,[["@icon"],["fast-forward"]],null],[1,"\\n"],[13]],["@list"],false,["on","fn","fa-icon"]]',moduleName:"client-app/templates/components/page-nav.hbs",isStrictMode:!1})
|
1269
|
+
e.default=r})),define("client-app/templates/components/panel-resizer",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1270
|
+
var r=(0,t.createTemplateFactory)({id:"99cXqS4f",block:'[[[10,0],[14,0,"line-1"],[12],[13],[1,"\\n"],[10,0],[14,0,"line-2"],[12],[13],[1,"\\n"],[10,0],[14,0,"line-3"],[12],[13]],[],false,[]]',moduleName:"client-app/templates/components/panel-resizer.hbs",isStrictMode:!1})
|
1271
|
+
e.default=r})),define("client-app/templates/components/patterns-list",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1272
|
+
var r=(0,t.createTemplateFactory)({id:"iLM4EZab",block:'[[[41,[30,1],[[[1," "],[11,"button"],[24,0,"btn new-pattern"],[24,4,"button"],[4,[38,1],["click",[30,0,["create"]]],null],[12],[1,"\\n "],[8,[39,2],null,[["@icon"],["plus"]],null],[1,"\\n "],[10,1],[12],[1,"New"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,0,["allPatterns"]]],null]],null],null,[[[1," "],[10,0],[14,0,"pattern-wrapper"],[12],[1,"\\n "],[8,[39,5],[[24,0,"pattern-input"],[24,"placeholder","Enter regular expression…"],[16,"disabled",[28,[37,6],[[30,0,["immutable"]],[30,2,["saving"]]],null]]],[["@type","@value"],["textfield",[30,2,["valueBuffer"]]]],null],[1,"\\n\\n"],[41,[30,1],[[[41,[30,2,["hasBuffer"]],[[[1," "],[11,"button"],[16,"disabled",[30,2,["saving"]]],[24,0,"btn ok no-text save shrink"],[24,4,"button"],[4,[38,1],["click",[28,[37,7],[[30,0,["save"]],[30,2]],null]],null],[12],[1,"\\n "],[8,[39,2],null,[["@icon"],["check"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[11,"button"],[16,"disabled",[30,2,["saving"]]],[24,0,"btn no-text trash shrink"],[24,4,"button"],[4,[38,1],["click",[28,[37,7],[[30,0,["trash"]],[30,2]],null]],null],[12],[1,"\\n "],[8,[39,2],null,[["@icon"],["trash-alt"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showCounter"]],[[[1," "],[10,"input"],[14,"disabled","true"],[14,"title","Number of logs that have been suppressed by this pattern"],[14,0,"count shrink"],[15,2,[30,2,["count"]]],[12],[13],[1,"\\n "],[11,"button"],[24,0,"btn no-text reset shrink"],[24,"title","Reset count of suppressed logs"],[16,"disabled",[30,2,["zeroCount"]]],[24,4,"button"],[4,[38,1],["click",[28,[37,7],[[30,0,["resetCount"]],[30,2]],null]],null],[12],[1,"\\n "],[8,[39,2],null,[["@icon"],["redo-alt"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,3],[[[41,[30,2,["isNew"]],[[[1," "],[10,0],[14,0,"retro-checkbox"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,2,["retroactive"]]],[14,0,"checkbox"],[15,"onclick",[28,[37,7],[[30,0,["checkboxChanged"]],[30,2]],null]],[14,4,"checkbox"],[12],[13],[1,"\\n Apply retroactively\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[41,[30,2,["error"]],[[[10,"pre"],[14,0,"api-error"],[12],[1,[30,2,["error"]]],[13]],[]],null]],[2]],null]],["@mutable","pattern","@applyRetroactivelyCheckbox"],false,["if","on","fa-icon","each","-track-array","input","or","fn"]]',moduleName:"client-app/templates/components/patterns-list.hbs",isStrictMode:!1})
|
1273
|
+
e.default=r})),define("client-app/templates/components/tabbed-section",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1274
|
+
var r=(0,t.createTemplateFactory)({id:"jowUyE+e",block:'[[[18,2,[[28,[37,1],null,[["addTab","removeTab","selectTab"],[[30,0,["addTab"]],[30,0,["removeTab"]],[30,0,["selectTab"]]]]]]],[1,"\\n\\n"],[10,"ul"],[14,0,"tabs"],[12],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,0,["tabs"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[11,3],[16,"title",[28,[37,4],[[30,1,["hint"]]],null]],[24,6,"#"],[16,0,[52,[30,1,["active"]],"active"]],[4,[38,6],["click",[28,[37,7],[[30,0,["selectTab"]],[30,1]],null]],null],[12],[1,"\\n "],[1,[28,[35,4],[[30,1,["name"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[13]],["tab","&default"],false,["yield","hash","each","-track-array","unbound","if","on","fn"]]',moduleName:"client-app/templates/components/tabbed-section.hbs",isStrictMode:!1})
|
1275
|
+
e.default=r})),define("client-app/templates/components/time-formatter",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1276
|
+
var r=(0,t.createTemplateFactory)({id:"A3xKeZxN",block:'[[[10,1],[15,"title",[30,0,["title"]]],[12],[1,[30,0,["time"]]],[13]],[],false,[]]',moduleName:"client-app/templates/components/time-formatter.hbs",isStrictMode:!1})
|
1277
|
+
e.default=r})),define("client-app/templates/index",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1278
|
+
var r=(0,t.createTemplateFactory)({id:"rM12Js3D",block:'[[[10,0],[14,1,"top-panel"],[12],[1,"\\n "],[10,0],[14,1,"log-table"],[12],[1,"\\n"],[41,[30,0,["model","moreBefore"]],[[[1," "],[11,0],[24,0,"show-more"],[4,[38,1],["click",[30,0,["showMoreBefore"]]],null],[12],[1,"\\n"],[41,[30,0,["model","hideCountInLoadMore"]],[[[1," Load more\\n"]],[]],[[[1," Select to see\\n "],[1,[30,0,["model","totalBefore"]]],[1,"\\n more\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,0,["model","rows"]]],null]],null],null,[[[1," "],[8,[39,4],null,[["@model","@selectRow"],[[30,1],[28,[37,5],[[30,0,["selectRowAction"]],[30,1]],null]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,0],[14,1,"bottom-panel"],[15,0,[52,[30,0,["model","currentRow","group"]],"group-view"]],[12],[1,"\\n"],[41,[30,0,["model","currentRow","group"]],[[[1," "],[8,[39,6],null,[["@list","@position","@extraClasses","@navigate"],[[30,0,["model","currentRow","messages"]],[30,0,["model","currentGroupedMessagesPosition"]],"group-nav",[30,0,["groupedMessageChangedAction"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,7],null,[["@currentMessage","@currentRow","@loadingEnv","@removeMessage","@solveMessage","@onTabChange","@envChangedAction","@currentEnvPosition","@actionsInMenu","@showShare"],[[30,0,["model","currentMessage"]],[30,0,["model","currentRow"]],[30,0,["model","loadingEnv"]],[30,0,["removeMessage"]],[30,0,["solveMessage"]],[30,0,["tabChangedAction"]],[30,0,["envChangedAction"]],[30,0,["model","currentEnvPosition"]],[30,0,["actionsInMenu"]],true]],null],[1,"\\n\\n "],[10,0],[14,0,"action-panel"],[12],[1,"\\n "],[10,0],[14,0,"severity-filters"],[12],[1,"\\n "],[10,0],[14,0,"more-wrapping"],[12],[1,"\\n "],[10,"label"],[14,0,"debug"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showDebug"]]],[15,"onchange",[28,[37,5],[[30,0,["updateFilter"]],"showDebug"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[10,1],[12],[1,"Debug"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[14,0,"info"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showInfo"]]],[15,"onchange",[28,[37,5],[[30,0,["updateFilter"]],"showInfo"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[10,1],[12],[1,"Info"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[14,0,"warn"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showWarn"]]],[15,"onchange",[28,[37,5],[[30,0,["updateFilter"]],"showWarn"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[8,[39,8],[[24,0,"warning"]],[["@icon"],["exclamation-circle"]],null],[1,"\\n "],[10,1],[12],[1,"Warning"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[14,0,"error"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showErr"]]],[15,"onchange",[28,[37,5],[[30,0,["updateFilter"]],"showErr"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[8,[39,8],[[24,0,"error"]],[["@icon"],["times-circle"]],null],[1,"\\n "],[10,1],[12],[1,"Error"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[14,0,"fatal"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showFatal"]]],[15,"onchange",[28,[37,5],[[30,0,["updateFilter"]],"showFatal"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[8,[39,8],[[24,0,"fatal"]],[["@icon"],["times-circle"]],null],[1,"\\n "],[10,1],[12],[1,"Fatal"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"search-clear-all"],[12],[1,"\\n "],[10,"input"],[14,0,"search"],[14,"placeholder","Search"],[15,2,[30,0,["searchTerm"]]],[15,"onkeyup",[30,0,["updateSearch"]]],[14,4,"text"],[12],[13],[1,"\\n\\n "],[10,0],[14,0,"footer-btns"],[12],[1,"\\n"],[41,[30,0,["showSettings"]],[[[1," "],[8,[39,9],[[24,0,"settings btn no-text"]],[["@route"],["settings"]],[["default"],[[[[1,"\\n "],[8,[39,8],null,[["@icon"],["cog"]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n "],[11,"button"],[24,0,"clear btn danger"],[24,4,"button"],[4,[38,1],["click",[30,0,["clear"]]],null],[12],[1,"\\n "],[8,[39,8],[[24,"prefix","far"]],[["@icon"],["trash-alt"]],null],[1,"\\n "],[10,1],[12],[1,"Clear logs"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,10],null,null,null]],["row"],false,["if","on","each","-track-array","message-row","fn","page-nav","message-info","fa-icon","link-to","panel-resizer"]]',moduleName:"client-app/templates/index.hbs",isStrictMode:!1})
|
1279
|
+
e.default=r})),define("client-app/templates/settings",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1280
|
+
var r=(0,t.createTemplateFactory)({id:"qqSpoh9d",block:'[[[10,0],[14,0,"settings-page"],[12],[1,"\\n "],[8,[39,0],null,[["@route"],["index"]],[["default"],[[[[1,"Home"]],[]]]]],[1,"\\n\\n "],[10,0],[14,0,"settings-header"],[12],[1,"\\n "],[10,"h1"],[14,0,"header-title"],[12],[1,"Settings"],[13],[1,"\\n "],[10,"img"],[14,0,"header-logo"],[15,"src",[28,[37,1],["images/icon_144x144.png"],null]],[12],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"settings-section suppression-patterns"],[12],[1,"\\n "],[10,"h2"],[14,0,"section-title"],[12],[1,"Suppression Patterns"],[13],[1,"\\n\\n "],[10,0],[12],[1,"New messages that match these Regular Expression patterns will be\\n suppressed. Checking Apply retroactively will remove all existing messages\\n that match the patterns."],[13],[1,"\\n\\n"],[41,[30,0,["showCodedSuppression"]],[[[1," "],[10,"h3"],[14,0,"subsection-title"],[12],[1,"Hard-coded patterns:"],[13],[1,"\\n\\n "],[10,0],[14,0,"tip"],[12],[1,"These patterns can\'t be removed via the UI because they\\n are commited to the source code of your app."],[13],[1,"\\n\\n "],[8,[39,3],null,[["@patterns","@mutable"],[[30,0,["codedSuppression"]],false]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,"h3"],[14,0,"subsection-title"],[12],[1,"Custom patterns:"],[13],[1,"\\n\\n "],[8,[39,3],null,[["@patterns","@key","@applyRetroactivelyCheckbox","@mutable"],[[30,0,["customSuppression"]],"suppression",true,true]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"settings-section grouping-patterns"],[12],[1,"\\n "],[10,"h2"],[14,0,"section-title"],[12],[1,"Grouping Patterns"],[13],[1,"\\n\\n "],[10,0],[12],[1,"Add a Regular Expression pattern to group all new and existing messages\\n into a single row when viewing the logs."],[13],[1,"\\n\\n "],[8,[39,3],null,[["@patterns","@key","@mutable"],[[30,0,["grouping"]],"grouping",true]],null],[1,"\\n "],[13],[1,"\\n"],[13]],[],false,["link-to","logster-url","if","patterns-list"]]',moduleName:"client-app/templates/settings.hbs",isStrictMode:!1})
|
1281
|
+
e.default=r})),define("client-app/templates/show",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1282
|
+
var r=(0,t.createTemplateFactory)({id:"Wi+UDSYU",block:'[[[8,[39,0],[[24,0,"recent-link"]],[["@route"],["index"]],[["default"],[[[[1,"Recent"]],[]]]]],[1,"\\n\\n"],[10,0],[14,1,"bottom-panel"],[14,0,"full"],[12],[1,"\\n "],[8,[39,1],null,[["@currentMessage","@showTitle","@envChangedAction","@currentEnvPosition","@actionsInMenu"],[[30,0,["model"]],"true",[30,0,["envChanged"]],[30,0,["envPosition"]],false]],null],[1,"\\n"],[13]],[],false,["link-to","message-info"]]',moduleName:"client-app/templates/show.hbs",isStrictMode:!1})
|
1283
|
+
e.default=r})),define("client-app/config/environment",[],(function(){try{var e="client-app/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),r={default:JSON.parse(decodeURIComponent(t))}
|
1284
|
+
return Object.defineProperty(r,"__esModule",{value:!0}),r}catch(n){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"0.0.0+21ff151f"})
|