logster 2.11.4 → 2.12.1
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 +10 -5
- data/README.md +8 -0
- data/assets/javascript/.gitkeep +0 -0
- data/assets/javascript/chunk.143.2faa04830259ce9aa59a.js +22 -0
- data/assets/javascript/chunk.178.ca5ade1d8cbdbfbe6d72.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 +1257 -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 +89 -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 +32 -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,1282 @@
|
|
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
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
e.default=
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
var
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
var n=
|
109
|
-
e.
|
110
|
-
|
111
|
-
|
112
|
-
r
|
113
|
-
|
114
|
-
|
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],u=n.default.get("gems_data").filter((function(e){return r.startsWith("".concat(e.name,"-"))})).sortBy("name.length").reverse()[0]
|
90
|
+
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
|
91
|
+
var t=n.default.get("directories").filter((function(t){return e.startsWith(t.path)})).sortBy("path.length").reverse()[0]
|
92
|
+
if(!t)return null
|
93
|
+
var r,o,i,a=d(t.path),u=e.substring(a.length),l=""
|
94
|
+
if(u.includes("/")){var f=c(u.match(/(.+\/)(.+):(\d+)(:.*)/)||[],5)
|
95
|
+
l=f[1],r=f[2],o=f[3],i=f[4]}else{var s=c(u.match(/(.+):(\d+)(:.*)/)||[],4)
|
96
|
+
r=s[1],o=s[2],i=s[3]}if(!r||!o||!i)return null
|
97
|
+
var p=t.main_app?this.commitSha:null
|
98
|
+
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)}))
|
99
|
+
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)
|
100
|
+
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
|
101
|
+
function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
102
|
+
if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return
|
103
|
+
if("string"==typeof e)return s(e,t)
|
104
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
105
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
106
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
107
|
+
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)
|
108
|
+
var n=0,o=function(){}
|
109
|
+
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
|
110
|
+
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
111
|
+
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)
|
112
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
113
|
+
return n}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
114
|
+
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
|
115
|
+
var r=e[Symbol.toPrimitive]
|
116
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
117
|
+
if("object"!==_typeof(n))return n
|
118
|
+
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
|
119
|
+
if(Reflect.construct.sham)return!1
|
120
|
+
if("function"==typeof Proxy)return!0
|
121
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
122
|
+
return function(){var r,n=h(e)
|
123
|
+
if(t){var o=h(this).constructor
|
124
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
125
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
126
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
127
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
128
|
+
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={}
|
129
|
+
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
|
130
|
+
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")
|
131
|
+
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)
|
132
|
+
var t,r,a,c=d(u)
|
133
|
+
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))
|
134
|
+
var e,t=(0,n.clone)(this.currentEnv),r=f(o.default.get("env_expandable_keys")||[])
|
135
|
+
try{for(r.s();!(e=r.n()).done;){var a=e.value
|
136
|
+
if(Object.prototype.hasOwnProperty.call(t,a)&&!Array.isArray(t[a])){var c,u=[t[a]],l=f(this.message.env)
|
137
|
+
try{for(l.s();!(c=l.n()).done;){var s=c.value
|
138
|
+
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)
|
139
|
+
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
|
140
|
+
function f(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
141
|
+
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
|
142
|
+
if(Reflect.construct.sham)return!1
|
143
|
+
if("function"==typeof Proxy)return!0
|
144
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
145
|
+
return function(){var r,n=d(e)
|
146
|
+
if(t){var o=d(this).constructor
|
147
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
148
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
149
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
150
|
+
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")
|
151
|
+
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
|
152
|
+
var r=e[Symbol.toPrimitive]
|
153
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
154
|
+
if("object"!==_typeof(n))return n
|
155
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
156
|
+
return"symbol"===_typeof(t)?t:String(t)}function v(e,t,r,n,o){var i={}
|
157
|
+
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
|
158
|
+
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")
|
159
|
+
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)
|
160
|
+
var t,r,n,i=p(a)
|
161
|
+
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)
|
162
|
+
for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f]
|
163
|
+
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=[]
|
164
|
+
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")
|
165
|
+
document.body.appendChild(i),i.value=o,i.select(),document.execCommand("copy"),document.body.removeChild(i)}},{key:"tabChanged",value:function(e){var t
|
166
|
+
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)
|
167
|
+
e.default=b})),define("client-app/components/message-row",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n,o,i
|
168
|
+
function a(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
169
|
+
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
|
170
|
+
var r=e[Symbol.toPrimitive]
|
171
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
172
|
+
if("object"!==_typeof(n))return n
|
173
|
+
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)
|
174
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
175
|
+
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
|
176
|
+
if(Reflect.construct.sham)return!1
|
177
|
+
if("function"==typeof Proxy)return!0
|
178
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
179
|
+
return function(){var r,n=f(e)
|
180
|
+
if(t){var o=f(this).constructor
|
181
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
182
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
183
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
184
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
185
|
+
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
|
186
|
+
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")
|
187
|
+
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)
|
188
|
+
var t,r,n,s=l(p)
|
189
|
+
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")
|
190
|
+
if(e){var t=parseFloat(getComputedStyle(e).height)
|
191
|
+
i=e.scrollHeight-20<t+e.scrollTop,o=!0}}}},{key:"didInsertElement",value:function(){c(f(p.prototype),"didInsertElement",this).apply(this,arguments)
|
192
|
+
var e=document.getElementById("top-panel")
|
193
|
+
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
|
194
|
+
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
|
195
|
+
function y(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
196
|
+
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
|
197
|
+
if(Reflect.construct.sham)return!1
|
198
|
+
if("function"==typeof Proxy)return!0
|
199
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
200
|
+
return function(){var r,n=b(e)
|
201
|
+
if(t){var o=b(this).constructor
|
202
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
203
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
204
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
205
|
+
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")
|
206
|
+
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
|
207
|
+
var r=e[Symbol.toPrimitive]
|
208
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
209
|
+
if("object"!==_typeof(n))return n
|
210
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
211
|
+
return"symbol"===_typeof(t)?t:String(t)}function g(e,t,r,n,o){var i={}
|
212
|
+
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
|
213
|
+
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")
|
214
|
+
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)
|
215
|
+
var t,r,n,o=h(i)
|
216
|
+
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)
|
217
|
+
for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l]
|
218
|
+
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
|
219
|
+
if(!(1===t&&this.disableForwardButtons||-1===t&&this.disableBackButtons)){var r=this.position+t
|
220
|
+
this.navigate(r)}}},{key:"bigJump",value:function(e){var t="back"===e?0:this.list.length-1
|
221
|
+
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)
|
222
|
+
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
|
223
|
+
function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
224
|
+
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)
|
225
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
226
|
+
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
|
227
|
+
if(Reflect.construct.sham)return!1
|
228
|
+
if("function"==typeof Proxy)return!0
|
229
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
230
|
+
return function(){var r,n=d(e)
|
231
|
+
if(t){var o=d(this).constructor
|
232
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
233
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
234
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
235
|
+
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")
|
236
|
+
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
|
237
|
+
var r=e[Symbol.toPrimitive]
|
238
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
239
|
+
if("object"!==_typeof(n))return n
|
240
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
241
|
+
return"symbol"===_typeof(t)?t:String(t)}function v(e,t,r,n,o){var i={}
|
242
|
+
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
|
243
|
+
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")
|
244
|
+
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)
|
245
|
+
var t,r,n,i=p(a)
|
246
|
+
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)
|
247
|
+
for(var s=arguments.length,p=new Array(s),d=0;d<s;d++)p[d]=arguments[d]
|
248
|
+
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"))
|
249
|
+
for(var e=0,t=g;e<t.length;e++){var r=t[e]
|
250
|
+
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)
|
251
|
+
for(var e=0,t=g;e<t.length;e++){var r=t[e]
|
252
|
+
this.divider.removeEventListener(r,this.dividerClickHandler)}}},{key:"initialDivideView",value:function(){var e=localStorage&&localStorage.logster_divider_bottom||300,t=window.innerHeight-parseInt(e,10)
|
253
|
+
this.divideView(t)}},{key:"divideView",value:function(e){var t=window.innerHeight,r=t-e
|
254
|
+
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")
|
255
|
+
e&&e.parentElement.removeChild(e),this.set("resizing",!1),localStorage&&(localStorage.logster_divider_bottom=parseInt(this.divider.style.bottom,10))
|
256
|
+
for(var t=0,r=b;t<r.length;t++){var n=r[t]
|
257
|
+
document.removeEventListener(n,this.performDrag)}for(var o=0,i=m;o<i.length;o++){var a=i[o]
|
258
|
+
document.removeEventListener(a,this.endDrag)}}},{key:"dividerClickHandler",value:function(e){e.preventDefault()
|
259
|
+
var t=document.createElement("DIV")
|
260
|
+
t.id="overlay",document.body.appendChild(t),this.set("resizing",!0)
|
261
|
+
for(var r=0,n=b;r<n.length;r++){var o=n[r]
|
262
|
+
document.addEventListener(o,this.performDrag)}for(var i=0,a=m;i<a.length;i++){var c=a[i]
|
263
|
+
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
|
264
|
+
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
|
265
|
+
function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e}
|
266
|
+
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"
|
267
|
+
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||[])
|
268
|
+
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
|
269
|
+
var s={}
|
270
|
+
function y(){}function d(){}function h(){}var v={}
|
271
|
+
u(v,i,(function(){return this}))
|
272
|
+
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
273
|
+
m&&m!==t&&r.call(m,i)&&(v=m)
|
274
|
+
var g=h.prototype=y.prototype=Object.create(v)
|
275
|
+
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)
|
276
|
+
if("throw"!==u.type){var l=u.arg,s=l.value
|
277
|
+
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
|
278
|
+
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"
|
279
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
280
|
+
if("completed"===n){if("throw"===o)throw i
|
281
|
+
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
282
|
+
if(a){var c=P(a,r)
|
283
|
+
if(c){if(c===s)continue
|
284
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
285
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
286
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
287
|
+
n="executing"
|
288
|
+
var u=f(e,t,r)
|
289
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue
|
290
|
+
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]
|
291
|
+
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
|
292
|
+
var o=f(n,e.iterator,t.arg)
|
293
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
294
|
+
var i=o.arg
|
295
|
+
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]}
|
296
|
+
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||{}
|
297
|
+
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]
|
298
|
+
if(t)return t.call(e)
|
299
|
+
if("function"==typeof e.next)return e
|
300
|
+
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
|
301
|
+
return t.value=void 0,t.done=!0,t}
|
302
|
+
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
|
303
|
+
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)
|
304
|
+
var a=new O(l(t,r,n,o),i)
|
305
|
+
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=[]
|
306
|
+
for(var n in t)r.push(n)
|
307
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
308
|
+
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
|
309
|
+
var e=this.tryEntries[0].completion
|
310
|
+
if("throw"===e.type)throw e.arg
|
311
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
312
|
+
var t=this
|
313
|
+
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
|
314
|
+
if("root"===i.tryLoc)return n("end")
|
315
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
316
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
317
|
+
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")
|
318
|
+
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]
|
319
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
320
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
321
|
+
var a=i?i.completion:{}
|
322
|
+
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
|
323
|
+
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]
|
324
|
+
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]
|
325
|
+
if(r.tryLoc===e){var n=r.completion
|
326
|
+
if("throw"===n.type){var o=n.arg
|
327
|
+
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
|
328
|
+
return new Promise((function(n,o){var i=e.apply(t,r)
|
329
|
+
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
|
330
|
+
if("string"==typeof e)return v(e,t)
|
331
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
332
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
333
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
334
|
+
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)
|
335
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
336
|
+
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]
|
337
|
+
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)
|
338
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
339
|
+
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
|
340
|
+
if(Reflect.construct.sham)return!1
|
341
|
+
if("function"==typeof Proxy)return!0
|
342
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
343
|
+
return function(){var r,n=P(e)
|
344
|
+
if(t){var o=P(this).constructor
|
345
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
346
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
347
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
348
|
+
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")
|
349
|
+
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
|
350
|
+
var r=e[Symbol.toPrimitive]
|
351
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
352
|
+
if("object"!==_typeof(n))return n
|
353
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
354
|
+
return"symbol"===_typeof(t)?t:String(t)}function x(e,t,r,n,o){var i={}
|
355
|
+
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
|
356
|
+
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")
|
357
|
+
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)
|
358
|
+
var t,r,n,a,c,u,l=O(y)
|
359
|
+
function y(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,y)
|
360
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
361
|
+
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||[]
|
362
|
+
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
|
363
|
+
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
|
364
|
+
break}return this.newPatterns.removeObject(t),t.destroy(),e.abrupt("return")
|
365
|
+
case 4:return this.requestInit(t),e.prev=5,e.next=8,this.makeAPICall({method:"DELETE",pattern:t.value})
|
366
|
+
case 8:this.patterns.removeObject(t),t.destroy(),e.next=15
|
367
|
+
break
|
368
|
+
case 12:e.prev=12,e.t0=e.catch(5),this.catchBlock(t,e.t0)
|
369
|
+
case 15:return e.prev=15,this.finallyBlock(t),e.finish(15)
|
370
|
+
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
|
371
|
+
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
|
372
|
+
break}return e.next=5,this.makeAPICall({method:"POST",pattern:t.valueBuffer,retroactive:!!t.retroactive})
|
373
|
+
case 5:r=e.sent,t.updateValue(r.pattern),t.set("isNew",!1),this.patterns.pushObject(t),this.newPatterns.removeObject(t),e.next=17
|
374
|
+
break
|
375
|
+
case 12:return e.next=14,this.makeAPICall({method:"PUT",pattern:t.value,new_pattern:t.valueBuffer})
|
376
|
+
case 14:n=e.sent,t.updateValue(n.pattern),t.set("count",0)
|
377
|
+
case 17:e.next=22
|
378
|
+
break
|
379
|
+
case 19:e.prev=19,e.t0=e.catch(1),this.catchBlock(t,e.t0)
|
380
|
+
case 22:return e.prev=22,this.finallyBlock(t),e.finish(22)
|
381
|
+
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}})
|
382
|
+
case 4:t.set("count",0),e.next=10
|
383
|
+
break
|
384
|
+
case 7:e.prev=7,e.t0=e.catch(1),this.catchBlock(t,e.t0)
|
385
|
+
case 10:return e.prev=10,this.finallyBlock(t),e.finish(10)
|
386
|
+
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)
|
387
|
+
e.default=k})),define("client-app/components/tab-contents",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n
|
388
|
+
function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
389
|
+
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)
|
390
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
391
|
+
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
|
392
|
+
if(Reflect.construct.sham)return!1
|
393
|
+
if("function"==typeof Proxy)return!0
|
394
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
395
|
+
return function(){var r,n=l(e)
|
396
|
+
if(t){var o=l(this).constructor
|
397
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
398
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
399
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
400
|
+
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")
|
401
|
+
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
|
402
|
+
var r=e[Symbol.toPrimitive]
|
403
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
404
|
+
if("object"!==_typeof(n))return n
|
405
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
406
|
+
return"symbol"===_typeof(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
407
|
+
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")
|
408
|
+
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)
|
409
|
+
var t,r,n,s=c(p)
|
410
|
+
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)
|
411
|
+
for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a]
|
412
|
+
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
|
413
|
+
e.default=s})),define("client-app/components/tabbed-section",["exports","@ember/component","@ember/array","@ember/object"],(function(e,t,r,n){var o
|
414
|
+
function i(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
415
|
+
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
|
416
|
+
if(Reflect.construct.sham)return!1
|
417
|
+
if("function"==typeof Proxy)return!0
|
418
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
419
|
+
return function(){var r,n=l(e)
|
420
|
+
if(t){var o=l(this).constructor
|
421
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
422
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
423
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
424
|
+
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")
|
425
|
+
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
|
426
|
+
var r=e[Symbol.toPrimitive]
|
427
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
428
|
+
if("object"!==_typeof(n))return n
|
429
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
430
|
+
return"symbol"===_typeof(t)?t:String(t)}function p(e,t,r,n,o){var i={}
|
431
|
+
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
|
432
|
+
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")
|
433
|
+
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)
|
434
|
+
var t,n,o,l=c(s)
|
435
|
+
function s(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,s)
|
436
|
+
for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
|
437
|
+
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)
|
438
|
+
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
|
439
|
+
function s(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
440
|
+
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
|
441
|
+
var r=e[Symbol.toPrimitive]
|
442
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
443
|
+
if("object"!==_typeof(n))return n
|
444
|
+
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)
|
445
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
446
|
+
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
|
447
|
+
if(Reflect.construct.sham)return!1
|
448
|
+
if("function"==typeof Proxy)return!0
|
449
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
450
|
+
return function(){var r,n=h(e)
|
451
|
+
if(t){var o=h(this).constructor
|
452
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
453
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
454
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
455
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
456
|
+
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={}
|
457
|
+
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
|
458
|
+
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")
|
459
|
+
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)
|
460
|
+
var t,r,n,a=d(c)
|
461
|
+
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)
|
462
|
+
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
|
463
|
+
function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e}
|
464
|
+
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"
|
465
|
+
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||[])
|
466
|
+
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
|
467
|
+
var p={}
|
468
|
+
function y(){}function d(){}function h(){}var v={}
|
469
|
+
l(v,i,(function(){return this}))
|
470
|
+
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
471
|
+
m&&m!==t&&r.call(m,i)&&(v=m)
|
472
|
+
var g=h.prototype=y.prototype=Object.create(v)
|
473
|
+
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)
|
474
|
+
if("throw"!==u.type){var l=u.arg,f=l.value
|
475
|
+
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
|
476
|
+
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"
|
477
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
478
|
+
if("completed"===n){if("throw"===o)throw i
|
479
|
+
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
480
|
+
if(a){var c=P(a,r)
|
481
|
+
if(c){if(c===p)continue
|
482
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
483
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
484
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
485
|
+
n="executing"
|
486
|
+
var u=s(e,t,r)
|
487
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue
|
488
|
+
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]
|
489
|
+
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
|
490
|
+
var o=s(n,e.iterator,t.arg)
|
491
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p
|
492
|
+
var i=o.arg
|
493
|
+
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]}
|
494
|
+
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||{}
|
495
|
+
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]
|
496
|
+
if(t)return t.call(e)
|
497
|
+
if("function"==typeof e.next)return e
|
498
|
+
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
|
499
|
+
return t.value=void 0,t.done=!0,t}
|
500
|
+
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
|
501
|
+
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)
|
502
|
+
var a=new O(f(t,r,n,o),i)
|
503
|
+
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=[]
|
504
|
+
for(var n in t)r.push(n)
|
505
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
506
|
+
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
|
507
|
+
var e=this.tryEntries[0].completion
|
508
|
+
if("throw"===e.type)throw e.arg
|
509
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
510
|
+
var t=this
|
511
|
+
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
|
512
|
+
if("root"===i.tryLoc)return n("end")
|
513
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
514
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
515
|
+
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")
|
516
|
+
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]
|
517
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
518
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
519
|
+
var a=i?i.completion:{}
|
520
|
+
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
|
521
|
+
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]
|
522
|
+
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]
|
523
|
+
if(r.tryLoc===e){var n=r.completion
|
524
|
+
if("throw"===n.type){var o=n.arg
|
525
|
+
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
|
526
|
+
return new Promise((function(n,o){var i=e.apply(t,r)
|
527
|
+
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]
|
528
|
+
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
|
529
|
+
if(Reflect.construct.sham)return!1
|
530
|
+
if("function"==typeof Proxy)return!0
|
531
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
532
|
+
return function(){var r,n=h(e)
|
533
|
+
if(t){var o=h(this).constructor
|
534
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
535
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
536
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
537
|
+
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")
|
538
|
+
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
|
539
|
+
var r=e[Symbol.toPrimitive]
|
540
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
541
|
+
if("object"!==_typeof(n))return n
|
542
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
543
|
+
return"symbol"===_typeof(t)?t:String(t)}function m(e,t,r,n,o){var i={}
|
544
|
+
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
|
545
|
+
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")
|
546
|
+
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)
|
547
|
+
var r,n,a,c,l,h,b=y(m)
|
548
|
+
function m(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,m)
|
549
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
550
|
+
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()
|
551
|
+
case 3:this.model.updateSelectedRow()
|
552
|
+
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")
|
553
|
+
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]:{}
|
554
|
+
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
|
555
|
+
break}return e.next=3,(0,o.ajax)("/clear",{type:"POST"})
|
556
|
+
case 3:this.model.reload()
|
557
|
+
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
558
|
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(!
|
559
|
+
var o=!1,i=0
|
560
|
+
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()
|
561
|
+
case 5:this.model.updateSelectedRow()
|
562
|
+
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
|
563
|
+
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)
|
564
|
+
e.default=g})),define("client-app/controllers/show",["exports","@ember/controller","@ember/object"],(function(e,t,r){var n
|
565
|
+
function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
566
|
+
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
|
567
|
+
if(Reflect.construct.sham)return!1
|
568
|
+
if("function"==typeof Proxy)return!0
|
569
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
570
|
+
return function(){var r,n=u(e)
|
571
|
+
if(t){var o=u(this).constructor
|
572
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
573
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
574
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
575
|
+
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")
|
576
|
+
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
|
577
|
+
var r=e[Symbol.toPrimitive]
|
578
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
579
|
+
if("object"!==_typeof(n))return n
|
580
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
581
|
+
return"symbol"===_typeof(t)?t:String(t)}function f(e,t,r,n,o){var i={}
|
582
|
+
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
|
583
|
+
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")
|
584
|
+
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)
|
585
|
+
var t,r,n,u=a(f)
|
586
|
+
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)
|
587
|
+
for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a]
|
588
|
+
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)
|
589
|
+
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
|
590
|
+
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
|
591
|
+
var i=(0,t.helper)(o)
|
592
|
+
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]
|
593
|
+
return"/"!==t[0]&&(t="/".concat(t)),(0,r.getRootPath)()+t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.logsterUrl=n
|
594
|
+
var o=(0,t.helper)(n)
|
595
|
+
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
|
596
|
+
var n=(0,t.helper)(r)
|
597
|
+
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
|
598
|
+
var r=t.default
|
599
|
+
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}
|
600
|
+
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"
|
601
|
+
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||[])
|
602
|
+
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
|
603
|
+
var y={}
|
604
|
+
function d(){}function h(){}function v(){}var b={}
|
605
|
+
f(b,c,(function(){return this}))
|
606
|
+
var m=Object.getPrototypeOf,g=m&&m(m(E([])))
|
607
|
+
g&&g!==t&&r.call(g,c)&&(b=g)
|
608
|
+
var w=v.prototype=d.prototype=Object.create(b)
|
609
|
+
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)
|
610
|
+
if("throw"!==l.type){var f=l.arg,s=f.value
|
611
|
+
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
|
612
|
+
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"
|
613
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
614
|
+
if("completed"===n){if("throw"===o)throw i
|
615
|
+
return R()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
616
|
+
if(a){var c=_(a,r)
|
617
|
+
if(c){if(c===y)continue
|
618
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
619
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
620
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
621
|
+
n="executing"
|
622
|
+
var u=p(e,t,r)
|
623
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===y)continue
|
624
|
+
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]
|
625
|
+
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
|
626
|
+
var o=p(n,e.iterator,t.arg)
|
627
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y
|
628
|
+
var i=o.arg
|
629
|
+
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]}
|
630
|
+
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||{}
|
631
|
+
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]
|
632
|
+
if(t)return t.call(e)
|
633
|
+
if("function"==typeof e.next)return e
|
634
|
+
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
|
635
|
+
return t.value=void 0,t.done=!0,t}
|
636
|
+
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
|
637
|
+
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)
|
638
|
+
var a=new j(s(t,r,n,o),i)
|
639
|
+
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=[]
|
640
|
+
for(var n in t)r.push(n)
|
641
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
642
|
+
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
|
643
|
+
var e=this.tryEntries[0].completion
|
644
|
+
if("throw"===e.type)throw e.arg
|
645
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
646
|
+
var t=this
|
647
|
+
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
|
648
|
+
if("root"===i.tryLoc)return n("end")
|
649
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
650
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
651
|
+
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")
|
652
|
+
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]
|
653
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
654
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
655
|
+
var a=i?i.completion:{}
|
656
|
+
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
|
657
|
+
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]
|
658
|
+
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]
|
659
|
+
if(r.tryLoc===e){var n=r.completion
|
660
|
+
if("throw"===n.type){var o=n.arg
|
661
|
+
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
|
662
|
+
return e=o().mark((function e(n){var i,a,c,u,l,f,s,p
|
663
|
+
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
|
664
|
+
break}return n.deferReadiness(),e.prev=4,e.next=7,(0,t.ajax)("/development-preload.json")
|
665
|
+
case 7:a=e.sent,document.getElementById("preloaded-data").setAttribute("data-preloaded",JSON.stringify(a)),e.next=15
|
666
|
+
break
|
667
|
+
case 12:e.prev=12,e.t0=e.catch(4),console.error("Fetching preload data failed.",e.t0)
|
668
|
+
case 15:return e.prev=15,n.advanceReadiness(),e.finish(15)
|
669
|
+
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"]
|
670
|
+
case 20:if(!(l<f.length)){e.next=30
|
671
|
+
break}if(s=f[l],p=s+(""===s?"hidden":"Hidden"),void 0===document[p]){e.next=27
|
672
|
+
break}return c=p,u=s+"visibilitychange",e.abrupt("break",30)
|
673
|
+
case 27:l++,e.next=20
|
674
|
+
break
|
675
|
+
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")
|
676
|
+
case 34:case"end":return e.stop()}}),e,null,[[4,12,15,18]])})),c=function(){var t=this,r=arguments
|
677
|
+
return new Promise((function(n,o){var a=e.apply(t,r)
|
678
|
+
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
|
679
|
+
var u={initialize:a}
|
680
|
+
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
|
681
|
+
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r.default.APP&&(n=r.default.APP.name,o=r.default.APP.version)
|
682
|
+
var i={name:"App Version",initialize:(0,t.default)(n,o)}
|
683
|
+
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
|
684
|
+
var r={name:"container-debug-adapter",initialize:function(){(arguments[1]||arguments[0]).register("container-debug-adapter:main",t.default)}}
|
685
|
+
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]
|
686
|
+
if(!1!==r.default.exportApplicationGlobal){var n
|
147
687
|
if("undefined"!=typeof window)n=window
|
148
688
|
else if("undefined"!=typeof global)n=global
|
149
689
|
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
|
690
|
+
n=self}var o,i=r.default.exportApplicationGlobal
|
691
|
+
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
|
692
|
+
var o={name:"export-application-global",initialize:n}
|
693
|
+
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")
|
694
|
+
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}
|
695
|
+
var r,n={},o=!1
|
696
|
+
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]}}
|
697
|
+
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}
|
698
|
+
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"
|
699
|
+
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||[])
|
700
|
+
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
|
701
|
+
var y={}
|
702
|
+
function d(){}function h(){}function v(){}var b={}
|
703
|
+
f(b,c,(function(){return this}))
|
704
|
+
var m=Object.getPrototypeOf,g=m&&m(m(E([])))
|
705
|
+
g&&g!==t&&o.call(g,c)&&(b=g)
|
706
|
+
var w=v.prototype=d.prototype=Object.create(b)
|
707
|
+
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)
|
708
|
+
if("throw"!==l.type){var f=l.arg,s=f.value
|
709
|
+
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
|
710
|
+
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"
|
711
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
712
|
+
if("completed"===n){if("throw"===o)throw i
|
713
|
+
return R()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
714
|
+
if(a){var c=_(a,r)
|
715
|
+
if(c){if(c===y)continue
|
716
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
717
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
718
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
719
|
+
n="executing"
|
720
|
+
var u=p(e,t,r)
|
721
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===y)continue
|
722
|
+
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]
|
723
|
+
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
|
724
|
+
var o=p(n,e.iterator,t.arg)
|
725
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y
|
726
|
+
var i=o.arg
|
727
|
+
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]}
|
728
|
+
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||{}
|
729
|
+
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]
|
730
|
+
if(t)return t.call(e)
|
731
|
+
if("function"==typeof e.next)return e
|
732
|
+
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
|
733
|
+
return t.value=void 0,t.done=!0,t}
|
734
|
+
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
|
735
|
+
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)
|
736
|
+
var a=new j(s(t,r,n,o),i)
|
737
|
+
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=[]
|
738
|
+
for(var n in t)r.push(n)
|
739
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
740
|
+
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
|
741
|
+
var e=this.tryEntries[0].completion
|
742
|
+
if("throw"===e.type)throw e.arg
|
743
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
744
|
+
var t=this
|
745
|
+
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
|
746
|
+
if("root"===i.tryLoc)return r("end")
|
747
|
+
if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc")
|
748
|
+
if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)
|
749
|
+
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")
|
750
|
+
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]
|
751
|
+
if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n
|
752
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
753
|
+
var a=i?i.completion:{}
|
754
|
+
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
|
755
|
+
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]
|
756
|
+
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]
|
757
|
+
if(r.tryLoc===e){var n=r.completion
|
758
|
+
if("throw"===n.type){var o=n.arg
|
759
|
+
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"]
|
760
|
+
if(null!=r){var n,o,i,a,c=[],u=!0,l=!1
|
761
|
+
try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return
|
762
|
+
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
|
763
|
+
if("string"==typeof e)return a(e,t)
|
764
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
765
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
766
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
767
|
+
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)
|
768
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
769
|
+
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
770
|
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
|
-
|
771
|
+
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]
|
772
|
+
if(null===b)c.push("null")
|
773
|
+
else if("[object Array]"===Object.prototype.toString.call(b)){var m=""
|
774
|
+
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)
|
775
|
+
else if("time"===d&&"number"==typeof b){var g=moment(b).format(),w=h(b)
|
776
|
+
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]
|
777
|
+
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]
|
778
|
+
t[a]=c}return t},e.escapeHtml=s,e.formatTime=h,e.getLocalStorage=function(e,t){try{if(window.localStorage){e="logster-"+e
|
779
|
+
var r=window.localStorage.getItem(e)
|
780
|
+
return null===r?t:"true"===r||"false"!==r&&r}return t}catch(n){return t}},e.increaseTitleCount=function(e){if(!d())return
|
781
|
+
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}
|
782
|
+
var c,u,l,f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"}
|
783
|
+
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={})
|
784
|
+
var a=new XMLHttpRequest
|
785
|
+
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]
|
786
|
+
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]
|
787
|
+
a.setRequestHeader(h,v)}a.onreadystatechange=function(){if(4===a.readyState){var e=a.status
|
788
|
+
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
|
789
|
+
return e=r().mark((function e(n,o){var i
|
790
|
+
return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i=t.default.get(n.replace(".json","")))){e.next=5
|
791
|
+
break}return e.abrupt("return",i)
|
792
|
+
case 5:return e.next=7,p(n,o)
|
793
|
+
case 7:return e.abrupt("return",e.sent)
|
794
|
+
case 8:case"end":return e.stop()}}),e)})),y=function(){var t=this,r=arguments
|
795
|
+
return new Promise((function(n,i){var a=e.apply(t,r)
|
796
|
+
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()
|
797
|
+
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
|
798
|
+
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]
|
799
|
+
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)
|
800
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
801
|
+
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
|
802
|
+
if(Reflect.construct.sham)return!1
|
803
|
+
if("function"==typeof Proxy)return!0
|
804
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
805
|
+
return function(){var r,n=v(e)
|
806
|
+
if(t){var o=v(this).constructor
|
807
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
808
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
809
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
810
|
+
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")
|
811
|
+
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
|
812
|
+
var r=e[Symbol.toPrimitive]
|
813
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
814
|
+
if("object"!==_typeof(n))return n
|
815
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
816
|
+
return"symbol"===_typeof(t)?t:String(t)}function g(e,t,r,n,o){var i={}
|
817
|
+
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
|
818
|
+
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")
|
819
|
+
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)
|
820
|
+
var t,n,i,a=d(c)
|
821
|
+
function c(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,c)
|
822
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
823
|
+
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)
|
824
|
+
var e=this.messages.map((function(e){return r.default.create(e)}))
|
825
|
+
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)
|
826
|
+
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
|
827
|
+
function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
828
|
+
if(!r){if(Array.isArray(e)||(r=k(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
829
|
+
var n=0,o=function(){}
|
830
|
+
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
|
831
|
+
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
832
|
+
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}
|
833
|
+
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"
|
834
|
+
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||[])
|
835
|
+
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
|
836
|
+
var s={}
|
837
|
+
function p(){}function y(){}function d(){}var v={}
|
838
|
+
u(v,i,(function(){return this}))
|
839
|
+
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
840
|
+
m&&m!==t&&r.call(m,i)&&(v=m)
|
841
|
+
var g=d.prototype=p.prototype=Object.create(v)
|
842
|
+
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)
|
843
|
+
if("throw"!==u.type){var l=u.arg,s=l.value
|
844
|
+
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
|
845
|
+
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"
|
846
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
847
|
+
if("completed"===n){if("throw"===o)throw i
|
848
|
+
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
849
|
+
if(a){var c=P(a,r)
|
850
|
+
if(c){if(c===s)continue
|
851
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
852
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
853
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
854
|
+
n="executing"
|
855
|
+
var u=f(e,t,r)
|
856
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue
|
857
|
+
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]
|
858
|
+
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
|
859
|
+
var o=f(n,e.iterator,t.arg)
|
860
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
861
|
+
var i=o.arg
|
862
|
+
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]}
|
863
|
+
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||{}
|
864
|
+
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]
|
865
|
+
if(t)return t.call(e)
|
866
|
+
if("function"==typeof e.next)return e
|
867
|
+
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
|
868
|
+
return t.value=void 0,t.done=!0,t}
|
869
|
+
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
|
870
|
+
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)
|
871
|
+
var a=new O(l(t,r,n,o),i)
|
872
|
+
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=[]
|
873
|
+
for(var n in t)r.push(n)
|
874
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
875
|
+
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
|
876
|
+
var e=this.tryEntries[0].completion
|
877
|
+
if("throw"===e.type)throw e.arg
|
878
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
879
|
+
var t=this
|
880
|
+
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
|
881
|
+
if("root"===i.tryLoc)return n("end")
|
882
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
883
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
884
|
+
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")
|
885
|
+
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]
|
886
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
887
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
888
|
+
var a=i?i.completion:{}
|
889
|
+
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
|
890
|
+
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]
|
891
|
+
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]
|
892
|
+
if(r.tryLoc===e){var n=r.completion
|
893
|
+
if("throw"===n.type){var o=n.arg
|
894
|
+
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
|
895
|
+
return new Promise((function(n,o){var i=e.apply(t,r)
|
896
|
+
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]
|
897
|
+
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
|
898
|
+
if(Reflect.construct.sham)return!1
|
899
|
+
if("function"==typeof Proxy)return!0
|
900
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
901
|
+
return function(){var r,n=j(e)
|
902
|
+
if(t){var o=j(this).constructor
|
903
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
904
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
905
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
906
|
+
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")
|
907
|
+
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
|
908
|
+
var r=e[Symbol.toPrimitive]
|
909
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
910
|
+
if("object"!==_typeof(n))return n
|
911
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
912
|
+
return"symbol"===_typeof(t)?t:String(t)}function x(e,t,r,n,o){var i={}
|
913
|
+
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)
|
914
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
915
|
+
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)
|
916
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
917
|
+
return n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SEVERITIES=void 0
|
918
|
+
var E=["Debug","Info","Warn","Err","Fatal"]
|
919
|
+
e.SEVERITIES=E
|
920
|
+
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")
|
921
|
+
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)
|
922
|
+
var i,c,u,l,f,s,p,y=w(v)
|
923
|
+
function v(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,v)
|
924
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
925
|
+
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=[]
|
926
|
+
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
|
927
|
+
return e&&e.group?e.messages[t]:e}},{key:"hideCountInLoadMore",get:function(){var e=this.filter
|
928
|
+
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
929
|
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
|
-
|
930
|
+
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()
|
931
|
+
case 2:this.reload()
|
932
|
+
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
|
933
|
+
r&&r.set("selected",!1),e.set("selected",!0)
|
934
|
+
var n=t.messageIndex||0,o=n===this.currentGroupedMessagesPosition
|
935
|
+
this.setProperties({currentRow:e,loadingEnv:!1,currentGroupedMessagesPosition:n,currentEnvPosition:0}),o&&this.notifyPropertyChange("currentGroupedMessagesPosition")
|
936
|
+
var i=this.currentMessage&&!this.currentMessage.env
|
937
|
+
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})
|
938
|
+
var t=this.currentMessage&&!this.currentMessage.env
|
939
|
+
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
|
940
|
+
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
|
941
|
+
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
|
942
|
+
if(t&&this.rows){var r=this.rows.find((function(e){return e.key===t}))
|
943
|
+
if(r){var n=this.findEquivalentMessageIndex(r)
|
944
|
+
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
|
945
|
+
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"})
|
946
|
+
case 9:if(i=e.sent,0===(0,o.compare)(i.filter,this.filter)){e.next=12
|
947
|
+
break}return e.abrupt("return")
|
948
|
+
case 12:if(0===(0,o.compare)(i.search,this.search)){e.next=14
|
949
|
+
break}return e.abrupt("return")
|
950
|
+
case 14:if(!(i.messages.length>0)){e.next=56
|
951
|
+
break}if(a=this.toObjects(i.messages),!r.before){e.next=20
|
952
|
+
break}this.rows.unshiftObjects(a),e.next=56
|
953
|
+
break
|
954
|
+
case 20:c=d(a),e.prev=21,c.s()
|
955
|
+
case 23:if((u=c.n()).done){e.next=46
|
956
|
+
break}l=u.value,f=d(this.rows),e.prev=26,f.s()
|
957
|
+
case 28:if((s=f.n()).done){e.next=36
|
958
|
+
break}if((p=s.value).key===l.key){e.next=32
|
959
|
+
break}return e.abrupt("continue",34)
|
960
|
+
case 32:this.rows.removeObject(p),this.currentRow===p&&(y=this.findEquivalentMessageIndex(l),this.selectRow(l,{messageIndex:y}))
|
961
|
+
case 34:e.next=28
|
962
|
+
break
|
963
|
+
case 36:e.next=41
|
964
|
+
break
|
965
|
+
case 38:e.prev=38,e.t0=e.catch(26),f.e(e.t0)
|
966
|
+
case 41:return e.prev=41,f.f(),e.finish(41)
|
967
|
+
case 44:e.next=23
|
968
|
+
break
|
969
|
+
case 46:e.next=51
|
970
|
+
break
|
971
|
+
case 48:e.prev=48,e.t1=e.catch(21),c.e(e.t1)
|
972
|
+
case 51:return e.prev=51,c.f(),e.finish(51)
|
973
|
+
case 54:this.rows.addObjects(a),a.length>0&&(0,t.increaseTitleCount)(a.length)
|
974
|
+
case 56:return this.set("total",i.total),e.abrupt("return",i)
|
975
|
+
case 58:return e.prev=58,this.set("loading",!1),e.finish(58)
|
976
|
+
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
|
977
|
+
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()
|
978
|
+
case 4:t=e.sent,this.updateCanLoadMore(t)
|
979
|
+
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
|
980
|
+
this.load({after:t})}else this.load({})}},{key:"showMoreBefore",value:(l=b(h().mark((function e(){var t,r,n,o
|
981
|
+
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})
|
982
|
+
case 5:o=e.sent,this.updateCanLoadMore(o)
|
983
|
+
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)
|
984
|
+
e.default=L}))
|
985
|
+
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
|
986
|
+
function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e}
|
987
|
+
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"
|
988
|
+
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||[])
|
989
|
+
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
|
990
|
+
var s={}
|
991
|
+
function p(){}function y(){}function d(){}var v={}
|
992
|
+
u(v,i,(function(){return this}))
|
993
|
+
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
994
|
+
m&&m!==t&&r.call(m,i)&&(v=m)
|
995
|
+
var g=d.prototype=p.prototype=Object.create(v)
|
996
|
+
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)
|
997
|
+
if("throw"!==u.type){var l=u.arg,s=l.value
|
998
|
+
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
|
999
|
+
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"
|
1000
|
+
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
1001
|
+
if("completed"===n){if("throw"===o)throw i
|
1002
|
+
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
1003
|
+
if(a){var c=P(a,r)
|
1004
|
+
if(c){if(c===s)continue
|
1005
|
+
return c}}if("next"===r.method)r.sent=r._sent=r.arg
|
1006
|
+
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
1007
|
+
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
1008
|
+
n="executing"
|
1009
|
+
var u=f(e,t,r)
|
1010
|
+
if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue
|
1011
|
+
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]
|
1012
|
+
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
|
1013
|
+
var o=f(n,e.iterator,t.arg)
|
1014
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
1015
|
+
var i=o.arg
|
1016
|
+
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]}
|
1017
|
+
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||{}
|
1018
|
+
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]
|
1019
|
+
if(t)return t.call(e)
|
1020
|
+
if("function"==typeof e.next)return e
|
1021
|
+
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
|
1022
|
+
return t.value=void 0,t.done=!0,t}
|
1023
|
+
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
|
1024
|
+
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)
|
1025
|
+
var a=new O(l(t,r,n,o),i)
|
1026
|
+
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=[]
|
1027
|
+
for(var n in t)r.push(n)
|
1028
|
+
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
1029
|
+
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
|
1030
|
+
var e=this.tryEntries[0].completion
|
1031
|
+
if("throw"===e.type)throw e.arg
|
1032
|
+
return this.rval},dispatchException:function(e){if(this.done)throw e
|
1033
|
+
var t=this
|
1034
|
+
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
|
1035
|
+
if("root"===i.tryLoc)return n("end")
|
1036
|
+
if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc")
|
1037
|
+
if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
1038
|
+
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")
|
1039
|
+
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]
|
1040
|
+
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
1041
|
+
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
1042
|
+
var a=i?i.completion:{}
|
1043
|
+
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
|
1044
|
+
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]
|
1045
|
+
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]
|
1046
|
+
if(r.tryLoc===e){var n=r.completion
|
1047
|
+
if("throw"===n.type){var o=n.arg
|
1048
|
+
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]
|
1049
|
+
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
|
1050
|
+
if(Reflect.construct.sham)return!1
|
1051
|
+
if("function"==typeof Proxy)return!0
|
1052
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1053
|
+
return function(){var r,n=O(e)
|
1054
|
+
if(t){var o=O(this).constructor
|
1055
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1056
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1057
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1058
|
+
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")
|
1059
|
+
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
|
1060
|
+
var r=e[Symbol.toPrimitive]
|
1061
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1062
|
+
if("object"!==_typeof(n))return n
|
1063
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
1064
|
+
return"symbol"===_typeof(t)?t:String(t)}function P(e,t,r,n,o){var i={}
|
1065
|
+
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
|
1066
|
+
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")
|
1067
|
+
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)
|
1068
|
+
var t,r,i,a,c,u=g(l)
|
1069
|
+
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)
|
1070
|
+
for(var f=arguments.length,s=new Array(f),p=0;p<f;p++)s[p]=arguments[p]
|
1071
|
+
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
|
1072
|
+
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
1073
|
case 1:return"info"
|
229
1074
|
case 2:return"warn"
|
230
1075
|
case 3:return"error"
|
231
1076
|
case 4:return"fatal"
|
232
|
-
default:return"unknown"}}
|
1077
|
+
default:return"unknown"}}},{key:"glyph",get:function(){switch(this.severity){case 0:case 1:return""
|
233
1078
|
case 2:return"exclamation-circle"
|
234
1079
|
case 3:case 4:return"times-circle"
|
235
|
-
default:return"question-circle"}}
|
1080
|
+
default:return"question-circle"}}},{key:"prefix",get:function(){return"fas"}},{key:"klass",get:function(){switch(this.severity){case 0:case 1:return""
|
236
1081
|
case 2:return"warning"
|
237
1082
|
case 3:return"error"
|
238
1083
|
case 4:return"fatal"
|
239
|
-
default:return"unknown"}}))
|
240
|
-
e.
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
e.default=
|
246
|
-
|
1084
|
+
default:return"unknown"}}},{key:"fetchEnv",value:(a=h().mark((function e(){var t
|
1085
|
+
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"))
|
1086
|
+
case 2:t=e.sent,this.set("env",t)
|
1087
|
+
case 4:case"end":return e.stop()}}),e,this)})),c=function(){var e=this,t=arguments
|
1088
|
+
return new Promise((function(r,n){var o=a.apply(e,t)
|
1089
|
+
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)
|
1090
|
+
e.default=_})),define("client-app/models/pattern-item",["exports","@ember/object/computed","@ember/object"],(function(e,t,r){var n,o,i,a
|
1091
|
+
function c(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1092
|
+
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)
|
1093
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
1094
|
+
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
|
1095
|
+
if(Reflect.construct.sham)return!1
|
1096
|
+
if("function"==typeof Proxy)return!0
|
1097
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1098
|
+
return function(){var r,n=p(e)
|
1099
|
+
if(t){var o=p(this).constructor
|
1100
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1101
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1102
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1103
|
+
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")
|
1104
|
+
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
|
1105
|
+
var r=e[Symbol.toPrimitive]
|
1106
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1107
|
+
if("object"!==_typeof(n))return n
|
1108
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
1109
|
+
return"symbol"===_typeof(t)?t:String(t)}function h(e,t,r,n,o){var i={}
|
1110
|
+
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
|
1111
|
+
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")
|
1112
|
+
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)
|
1113
|
+
var t,r,n,o=f(i)
|
1114
|
+
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)
|
1115
|
+
for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f]
|
1116
|
+
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)
|
1117
|
+
e.default=v})),define("client-app/resolver",["exports","ember-resolver"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1118
|
+
var r=t.default
|
1119
|
+
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]
|
1120
|
+
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
|
1121
|
+
if(Reflect.construct.sham)return!1
|
1122
|
+
if("function"==typeof Proxy)return!0
|
1123
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1124
|
+
return function(){var r,o=u(e)
|
1125
|
+
if(t){var i=u(this).constructor
|
1126
|
+
r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments)
|
1127
|
+
return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t
|
1128
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1129
|
+
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")
|
1130
|
+
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
|
1131
|
+
var r=e[Symbol.toPrimitive]
|
1132
|
+
if(void 0!==r){var o=r.call(e,t||"default")
|
1133
|
+
if("object"!==n(o))return o
|
1134
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
1135
|
+
return"symbol"===n(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1136
|
+
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")
|
1137
|
+
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)
|
1138
|
+
var t,n,u,f=a(s)
|
1139
|
+
function s(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,s)
|
1140
|
+
for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
|
1141
|
+
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)
|
1142
|
+
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
|
1143
|
+
function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
1144
|
+
if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return
|
1145
|
+
if("string"==typeof e)return u(e,t)
|
1146
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
1147
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
1148
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
1149
|
+
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)
|
1150
|
+
var n=0,o=function(){}
|
1151
|
+
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
|
1152
|
+
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
1153
|
+
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)
|
1154
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
1155
|
+
return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
1156
|
+
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)
|
1157
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
1158
|
+
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
|
1159
|
+
if(Reflect.construct.sham)return!1
|
1160
|
+
if("function"==typeof Proxy)return!0
|
1161
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1162
|
+
return function(){var r,n=d(e)
|
1163
|
+
if(t){var o=d(this).constructor
|
1164
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1165
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1166
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1167
|
+
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")
|
1168
|
+
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
|
1169
|
+
var r=e[Symbol.toPrimitive]
|
1170
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1171
|
+
if("object"!==_typeof(n))return n
|
1172
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
1173
|
+
return"symbol"===_typeof(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
1174
|
+
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")
|
1175
|
+
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)
|
1176
|
+
var t,r,i,u=p(h)
|
1177
|
+
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)
|
1178
|
+
for(var i=arguments.length,c=new Array(i),l=0;l<i;l++)c[l]=arguments[l]
|
1179
|
+
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)
|
1180
|
+
var r,i=c(n.SEVERITIES)
|
1181
|
+
try{for(i.s();!(r=i.n()).done;){var a=r.value
|
1182
|
+
t.set("show".concat(a),e["show".concat(a)])}}catch(s){i.e(s)}finally{i.f()}t.reload()
|
1183
|
+
var u=0,l=1
|
1184
|
+
this.refreshInterval=setInterval((function(){if(!t.loading){u+=1
|
1185
|
+
var e=(0,o.isHidden)(),r=!e
|
1186
|
+
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)
|
1187
|
+
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]
|
1188
|
+
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
|
1189
|
+
var r=e[Symbol.toPrimitive]
|
1190
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1191
|
+
if("object"!==_typeof(n))return n
|
1192
|
+
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)
|
1193
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
1194
|
+
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
|
1195
|
+
if(Reflect.construct.sham)return!1
|
1196
|
+
if("function"==typeof Proxy)return!0
|
1197
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1198
|
+
return function(){var r,n=u(e)
|
1199
|
+
if(t){var o=u(this).constructor
|
1200
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1201
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1202
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1203
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1204
|
+
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
|
1205
|
+
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")
|
1206
|
+
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)
|
1207
|
+
var t,l,f,s=c(p)
|
1208
|
+
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)
|
1209
|
+
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
|
1210
|
+
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)
|
1211
|
+
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]
|
1212
|
+
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
|
1213
|
+
var r=e[Symbol.toPrimitive]
|
1214
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1215
|
+
if("object"!==_typeof(n))return n
|
1216
|
+
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)
|
1217
|
+
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
1218
|
+
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
|
1219
|
+
if(Reflect.construct.sham)return!1
|
1220
|
+
if("function"==typeof Proxy)return!0
|
1221
|
+
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
1222
|
+
return function(){var r,n=u(e)
|
1223
|
+
if(t){var o=u(this).constructor
|
1224
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1225
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
1226
|
+
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
1227
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1228
|
+
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
|
1229
|
+
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")
|
1230
|
+
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)
|
1231
|
+
var t,l,f,s=c(p)
|
1232
|
+
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)
|
1233
|
+
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]
|
1234
|
+
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
|
1235
|
+
var r=e[Symbol.toPrimitive]
|
1236
|
+
if(void 0!==r){var n=r.call(e,t||"default")
|
1237
|
+
if("object"!==_typeof(n))return n
|
1238
|
+
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
1239
|
if(Reflect.construct.sham)return!1
|
248
1240
|
if("function"==typeof Proxy)return!0
|
249
1241
|
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
|
1242
|
+
return function(){var r,n=a(e)
|
1243
|
+
if(t){var o=a(this).constructor
|
1244
|
+
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
1245
|
+
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
254
1246
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
255
|
-
return
|
256
|
-
return e}function
|
1247
|
+
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
1248
|
+
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
1249
|
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"})
|
1250
|
+
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)
|
1251
|
+
var t,r,a,c=i(u)
|
1252
|
+
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))
|
1253
|
+
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
|
1254
|
+
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})
|
1255
|
+
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
|
1256
|
+
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})
|
1257
|
+
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
|
1258
|
+
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})
|
1259
|
+
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
|
1260
|
+
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})
|
1261
|
+
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
|
1262
|
+
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})
|
1263
|
+
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
|
1264
|
+
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})
|
1265
|
+
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
|
1266
|
+
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})
|
1267
|
+
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
|
1268
|
+
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})
|
1269
|
+
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
|
1270
|
+
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})
|
1271
|
+
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
|
1272
|
+
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})
|
1273
|
+
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
|
1274
|
+
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})
|
1275
|
+
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
|
1276
|
+
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})
|
1277
|
+
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
|
1278
|
+
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})
|
1279
|
+
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
|
1280
|
+
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})
|
1281
|
+
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))}
|
1282
|
+
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+5ec1728b"})
|