logster 2.19.1 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +3 -3
- data/CHANGELOG.md +5 -0
- data/assets/javascript/{chunk.143.86f7820bfe6482b8dcd5.js → chunk.143.2f62415fa9ee8d84fb84.js} +4 -4
- data/assets/javascript/{chunk.178.c5fac0c2a2035839a91e.js → chunk.178.e362160626dc2d3791f7.js} +3 -3
- data/assets/javascript/client-app.js +330 -330
- data/client-app/yarn.lock +48 -42
- data/lib/logster/group.rb +0 -1
- data/lib/logster/logger.rb +60 -18
- data/lib/logster/message.rb +1 -1
- data/lib/logster/rails/railtie.rb +2 -2
- data/lib/logster/redis_rate_limiter.rb +1 -1
- data/lib/logster/redis_store.rb +5 -4
- data/lib/logster/version.rb +1 -1
- data/logster.gemspec +2 -2
- data/test/logster/middleware/test_viewer.rb +1 -1
- data/test/logster/test_logger.rb +40 -0
- data/test/logster/test_redis_store.rb +2 -0
- metadata +8 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict"
|
|
2
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)}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
|
|
3
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function c(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}}()
|
|
@@ -17,16 +17,16 @@ if("object"!==i(n))return n
|
|
|
17
17
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
18
18
|
return"symbol"===i(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
19
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&&
|
|
21
|
-
var t,n,i,f=
|
|
20
|
+
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)
|
|
21
|
+
var t,n,i,f=c(p)
|
|
22
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
23
|
for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i]
|
|
24
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
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
|
|
27
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function
|
|
26
|
+
function u(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 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=p(e)););return e}(e,t)
|
|
28
28
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
29
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},
|
|
29
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},c.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
30
|
if(Reflect.construct.sham)return!1
|
|
31
31
|
if("function"==typeof Proxy)return!0
|
|
32
32
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -47,39 +47,39 @@ var h=(0,t.tagName)("span")((a=function(e){(function(e,t){if("function"!=typeof
|
|
|
47
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
48
|
var t,r,n,o=f(i)
|
|
49
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,
|
|
51
|
-
return e=o.call.apply(o,[this].concat(
|
|
50
|
+
for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c]
|
|
51
|
+
return e=o.call.apply(o,[this].concat(u)),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(){c(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&&u(t.prototype,r),n&&u(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
52
|
e.default=h})),define("client-app/components/back-to-site-link",["exports","@ember/component","@ember/object"],(function(e,t,r){var n,o
|
|
53
53
|
function i(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
54
54
|
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
|
|
55
55
|
var r=e[Symbol.toPrimitive]
|
|
56
56
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
57
57
|
if("object"!==_typeof(n))return n
|
|
58
|
-
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 a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function
|
|
58
|
+
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 a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
59
59
|
if(Reflect.construct.sham)return!1
|
|
60
60
|
if("function"==typeof Proxy)return!0
|
|
61
61
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
62
|
-
return function(){var r,n=
|
|
63
|
-
if(t){var o=
|
|
62
|
+
return function(){var r,n=c(e)
|
|
63
|
+
if(t){var o=c(this).constructor
|
|
64
64
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
65
65
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
66
66
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
67
67
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
68
|
-
return e}(e)}(this,r)}}function
|
|
68
|
+
return e}(e)}(this,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
69
69
|
var l,f,s,p,y,d,h=(n=(0,r.computed)("attrs.text","attrs.path"),o=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
70
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(
|
|
71
|
-
var t,r,n,o=c
|
|
72
|
-
function
|
|
70
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(c,e)
|
|
71
|
+
var t,r,n,o=u(c)
|
|
72
|
+
function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),o.apply(this,arguments)}return t=c,(r=[{key:"shouldDisplay",get:function(){return this.text&&this.path}}])&&i(t.prototype,r),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(t.default),l=o.prototype,f="shouldDisplay",s=[n],p=Object.getOwnPropertyDescriptor(o.prototype,"shouldDisplay"),y=o.prototype,d={},Object.keys(p).forEach((function(e){d[e]=p[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=s.slice().reverse().reduce((function(e,t){return t(l,f,e)||e}),d),y&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(y):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,f,d),d=null),o)
|
|
73
73
|
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
|
|
74
|
-
function
|
|
75
|
-
if(null!=r){var n,o,i,a,
|
|
74
|
+
function u(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"]
|
|
75
|
+
if(null!=r){var n,o,i,a,u=[],c=!0,l=!1
|
|
76
76
|
try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return
|
|
77
|
-
|
|
78
|
-
if("string"==typeof e)return
|
|
77
|
+
c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){l=!0,o=f}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(e,t)||function(e,t){if(!e)return
|
|
78
|
+
if("string"==typeof e)return c(e,t)
|
|
79
79
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
80
80
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
81
81
|
if("Map"===r||"Set"===r)return Array.from(e)
|
|
82
|
-
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return
|
|
82
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(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 c(e,t){(null==t||t>e.length)&&(t=e.length)
|
|
83
83
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
84
84
|
return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
85
85
|
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
|
|
@@ -97,8 +97,8 @@ return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return
|
|
|
97
97
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
98
98
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
99
99
|
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={}
|
|
100
|
-
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,
|
|
101
|
-
return/\/tree\//.test(
|
|
100
|
+
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,u=d(t)
|
|
101
|
+
return/\/tree\//.test(u)||(u+="blob/",u+=a?"".concat(a,"/"):"master/"),u+=r+n,/^[0-9]+$/.test(o)&&(u+="#L".concat(o)),u}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
102
102
|
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")
|
|
103
103
|
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)
|
|
104
104
|
var t,r,o,i=s(a)
|
|
@@ -107,20 +107,20 @@ return Array.isArray(this.env)?e=this.env.map((function(e){return e.application_
|
|
|
107
107
|
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")
|
|
108
108
|
return e.substring(t.length)}return e}(t)
|
|
109
109
|
return{line:r,url:e.findGithubURL(t,r)}})):[]}},{key:"githubURLForGem",value:function(e){if(!n.default.get("backtrace_links_enabled"))return null
|
|
110
|
-
var t=
|
|
110
|
+
var t=u(e.match(/([^/]+)\/(.+\/)(.+):(\d+):.*/)||[],5),r=t[1],o=t[2],i=t[3],a=t[4]
|
|
111
111
|
if(!r)return null
|
|
112
|
-
var
|
|
113
|
-
return
|
|
112
|
+
var c=n.default.get("gems_data").filter((function(e){return r.startsWith("".concat(e.name,"-"))})).sortBy("name.length").reverse()[0]
|
|
113
|
+
return c?h({repo:c.url,path:o,filename:i,lineNumber:a}):null}},{key:"githubURLForApp",value:function(e){if(!n.default.get("backtrace_links_enabled"))return null
|
|
114
114
|
var t=n.default.get("directories").filter((function(t){return e.startsWith(t.path)})).sortBy("path.length").reverse()[0]
|
|
115
115
|
if(!t)return null
|
|
116
|
-
var r,o,i,a=d(t.path),
|
|
117
|
-
if(
|
|
118
|
-
l=f[1],r=f[2],o=f[3],i=f[4]}else{var s=c
|
|
116
|
+
var r,o,i,a=d(t.path),c=e.substring(a.length),l=""
|
|
117
|
+
if(c.includes("/")){var f=u(c.match(/(.+\/)(.+):(\d+)(:.*)/)||[],5)
|
|
118
|
+
l=f[1],r=f[2],o=f[3],i=f[4]}else{var s=u(c.match(/(.+):(\d+)(:.*)/)||[],4)
|
|
119
119
|
r=s[1],o=s[2],i=s[3]}if(!r||!o||!i)return null
|
|
120
120
|
var p=t.main_app?this.commitSha:null
|
|
121
121
|
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)}))
|
|
122
122
|
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)
|
|
123
|
-
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,
|
|
123
|
+
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,u,c,l
|
|
124
124
|
function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
|
125
125
|
if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return
|
|
126
126
|
if("string"==typeof e)return s(e,t)
|
|
@@ -129,9 +129,9 @@ var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
|
129
129
|
if("Map"===r||"Set"===r)return Array.from(e)
|
|
130
130
|
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)
|
|
131
131
|
var n=0,o=function(){}
|
|
132
|
-
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,
|
|
132
|
+
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,u=!1
|
|
133
133
|
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
|
134
|
-
return a=e.done,e},e:function(e){
|
|
134
|
+
return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length)
|
|
135
135
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
136
136
|
return n}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
137
137
|
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
|
|
@@ -150,16 +150,16 @@ if(void 0!==t)throw new TypeError("Derived constructors may only return object o
|
|
|
150
150
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
151
151
|
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={}
|
|
152
152
|
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
|
|
153
|
-
var b=(a=(0,t.computed)("currentEnvPosition","isEnvArray","message.env"),
|
|
154
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(
|
|
155
|
-
var t,r,a,
|
|
156
|
-
function
|
|
153
|
+
var b=(a=(0,t.computed)("currentEnvPosition","isEnvArray","message.env"),u=(0,t.computed)("message.env"),c=(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")
|
|
154
|
+
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)
|
|
155
|
+
var t,r,a,u=d(c)
|
|
156
|
+
function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.apply(this,arguments)}return t=c,(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))
|
|
157
157
|
var e,t=(0,n.clone)(this.currentEnv),r=f(o.default.get("env_expandable_keys")||[])
|
|
158
158
|
try{for(r.s();!(e=r.n()).done;){var a=e.value
|
|
159
|
-
if(Object.prototype.hasOwnProperty.call(t,a)&&!Array.isArray(t[a])){var c
|
|
160
|
-
try{for(l.s();!(
|
|
161
|
-
s[a]&&!
|
|
162
|
-
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,
|
|
159
|
+
if(Object.prototype.hasOwnProperty.call(t,a)&&!Array.isArray(t[a])){var u,c=[t[a]],l=f(this.message.env)
|
|
160
|
+
try{for(l.s();!(u=l.n()).done;){var s=u.value
|
|
161
|
+
s[a]&&!c.includes(s[a])&&c.push(s[a])}}catch(p){l.e(p)}finally{l.f()}t[a]=c.length>1?c:c[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}),c}(r.default),v(l.prototype,"currentEnv",[a],Object.getOwnPropertyDescriptor(l.prototype,"currentEnv"),l.prototype),v(l.prototype,"isEnvArray",[u],Object.getOwnPropertyDescriptor(l.prototype,"isEnvArray"),l.prototype),v(l.prototype,"html",[c],Object.getOwnPropertyDescriptor(l.prototype,"html"),l.prototype),l)
|
|
162
|
+
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,u,c,l
|
|
163
163
|
function f(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
164
164
|
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
|
|
165
165
|
if(Reflect.construct.sham)return!1
|
|
@@ -178,24 +178,24 @@ if("object"!==_typeof(n))return n
|
|
|
178
178
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
179
179
|
return"symbol"===_typeof(t)?t:String(t)}function v(e,t,r,n,o){var i={}
|
|
180
180
|
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
|
|
181
|
-
var b=(i=(0,t.bool)("currentRow.group"),a=(0,n.computed)("currentMessage.protected","showSolveAllButton","showSolveButton"),
|
|
181
|
+
var b=(i=(0,t.bool)("currentRow.group"),a=(0,n.computed)("currentMessage.protected","showSolveAllButton","showSolveButton"),u=(0,n.computed)("showSolveAllButton","currentMessage.{canSolve,env}"),c=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
182
182
|
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)
|
|
183
183
|
var t,r,n,i=p(a)
|
|
184
184
|
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)
|
|
185
|
-
for(var
|
|
186
|
-
return e=i.call.apply(i,[this].concat(
|
|
185
|
+
for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f]
|
|
186
|
+
return e=i.call.apply(i,[this].concat(c)),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=[]
|
|
187
187
|
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),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")
|
|
188
188
|
document.body.appendChild(i),i.value=o,i.select(),document.execCommand("copy"),document.body.removeChild(i)}},{key:"tabChanged",value:function(e){var t
|
|
189
|
-
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(
|
|
189
|
+
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(c.prototype,"showSolveAllButton",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v(c.prototype,"buttons",[a],Object.getOwnPropertyDescriptor(c.prototype,"buttons"),c.prototype),v(c.prototype,"showSolveButton",[u],Object.getOwnPropertyDescriptor(c.prototype,"showSolveButton"),c.prototype),v(c.prototype,"copy",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"copy"),c.prototype),v(c.prototype,"tabChanged",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"tabChanged"),c.prototype),v(c.prototype,"protect",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"protect"),c.prototype),v(c.prototype,"unprotect",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"unprotect"),c.prototype),v(c.prototype,"remove",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"remove"),c.prototype),v(c.prototype,"solve",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"solve"),c.prototype),v(c.prototype,"solveAll",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"solveAll"),c.prototype),v(c.prototype,"share",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"share"),c.prototype),c)
|
|
190
190
|
e.default=b})),define("client-app/components/message-row",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n,o,i
|
|
191
191
|
function a(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
192
192
|
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
|
|
193
193
|
var r=e[Symbol.toPrimitive]
|
|
194
194
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
195
195
|
if("object"!==_typeof(n))return n
|
|
196
|
-
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
|
|
196
|
+
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 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=f(e)););return e}(e,t)
|
|
197
197
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
198
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},
|
|
198
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},u.apply(this,arguments)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
199
199
|
if(Reflect.construct.sham)return!1
|
|
200
200
|
if("function"==typeof Proxy)return!0
|
|
201
201
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -207,14 +207,14 @@ if(void 0!==t)throw new TypeError("Derived constructors may only return object o
|
|
|
207
207
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
208
208
|
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
|
|
209
209
|
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")
|
|
210
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
|
210
|
+
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)
|
|
211
211
|
var t,r,n,s=l(p)
|
|
212
|
-
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(
|
|
212
|
+
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(u(f(p.prototype),"willInsertElement",this).apply(this,arguments),!o){var e=document.getElementById("top-panel")
|
|
213
213
|
if(e){var t=parseFloat(getComputedStyle(e).height)
|
|
214
|
-
i=e.scrollHeight-20<t+e.scrollTop,o=!0}}}},{key:"didInsertElement",value:function(){
|
|
214
|
+
i=e.scrollHeight-20<t+e.scrollTop,o=!0}}}},{key:"didInsertElement",value:function(){u(f(p.prototype),"didInsertElement",this).apply(this,arguments)
|
|
215
215
|
var e=document.getElementById("top-panel")
|
|
216
216
|
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
|
|
217
|
-
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,
|
|
217
|
+
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,u,c,l,f,s,p
|
|
218
218
|
function y(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
219
219
|
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
|
|
220
220
|
if(Reflect.construct.sham)return!1
|
|
@@ -233,16 +233,16 @@ if("object"!==_typeof(n))return n
|
|
|
233
233
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
234
234
|
return"symbol"===_typeof(t)?t:String(t)}function g(e,t,r,n,o){var i={}
|
|
235
235
|
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
|
|
236
|
-
var w=(i=(0,t.classNames)("nav-controls"),a=(0,t.classNameBindings)("extraClasses"),
|
|
236
|
+
var w=(i=(0,t.classNames)("nav-controls"),a=(0,t.classNameBindings)("extraClasses"),u=(0,r.equal)("position",0),c=(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")
|
|
237
237
|
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)
|
|
238
238
|
var t,r,n,o=h(i)
|
|
239
239
|
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)
|
|
240
|
-
for(var
|
|
241
|
-
return e=o.call.apply(o,[this].concat(
|
|
240
|
+
for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l]
|
|
241
|
+
return e=o.call.apply(o,[this].concat(c)),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
|
|
242
242
|
if(!(1===t&&this.disableForwardButtons||-1===t&&this.disableBackButtons)){var r=this.position+t
|
|
243
243
|
this.navigate(r)}}},{key:"bigJump",value:function(e){var t="back"===e?0:this.list.length-1
|
|
244
|
-
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",[
|
|
245
|
-
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
|
|
244
|
+
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",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g(s.prototype,"disableForwardButtons",[c],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)
|
|
245
|
+
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,u,c
|
|
246
246
|
function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
247
247
|
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)
|
|
248
248
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
@@ -263,12 +263,12 @@ if("object"!==_typeof(n))return n
|
|
|
263
263
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
264
264
|
return"symbol"===_typeof(t)?t:String(t)}function v(e,t,r,n,o){var i={}
|
|
265
265
|
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
|
|
266
|
-
var b=["touchmove","mousemove"],m=["touchend","mouseup"],g=["touchstart","mousedown"],w=(0,t.classNames)("divider")((
|
|
266
|
+
var b=["touchmove","mousemove"],m=["touchend","mouseup"],g=["touchstart","mousedown"],w=(0,t.classNames)("divider")((u=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
267
267
|
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)
|
|
268
268
|
var t,r,n,i=p(a)
|
|
269
|
-
function a(){var e,t,r,n,o,
|
|
269
|
+
function a(){var e,t,r,n,o,u,l,f;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,a)
|
|
270
270
|
for(var s=arguments.length,p=new Array(s),d=0;d<s;d++)p[d]=arguments[d]
|
|
271
|
-
return e=i.call.apply(i,[this].concat(p)),t=y(e),r="events",n=
|
|
271
|
+
return e=i.call.apply(i,[this].concat(p)),t=y(e),r="events",n=c,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}),u=y(e),f=!1,(l=h(l="resizing"))in u?Object.defineProperty(u,l,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[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"))
|
|
272
272
|
for(var e=0,t=g;e<t.length;e++){var r=t[e]
|
|
273
273
|
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)
|
|
274
274
|
for(var e=0,t=g;e<t.length;e++){var r=t[e]
|
|
@@ -282,35 +282,35 @@ document.removeEventListener(a,this.endDrag)}}},{key:"dividerClickHandler",value
|
|
|
282
282
|
var t=document.createElement("DIV")
|
|
283
283
|
t.id="overlay",document.body.appendChild(t),this.set("resizing",!0)
|
|
284
284
|
for(var r=0,n=b;r<n.length;r++){var o=n[r]
|
|
285
|
-
document.addEventListener(o,this.performDrag)}for(var i=0,a=m;i<a.length;i++){var
|
|
286
|
-
document.addEventListener(
|
|
287
|
-
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,
|
|
285
|
+
document.addEventListener(o,this.performDrag)}for(var i=0,a=m;i<a.length;i++){var u=a[i]
|
|
286
|
+
document.addEventListener(u,this.endDrag)}}}],r&&l(t.prototype,r),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(n.default),c=v(u.prototype,"events",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v(u.prototype,"performDrag",[i.bound],Object.getOwnPropertyDescriptor(u.prototype,"performDrag"),u.prototype),v(u.prototype,"endDrag",[i.bound],Object.getOwnPropertyDescriptor(u.prototype,"endDrag"),u.prototype),v(u.prototype,"dividerClickHandler",[i.bound],Object.getOwnPropertyDescriptor(u.prototype,"dividerClickHandler"),u.prototype),a=u))||a
|
|
287
|
+
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,u,c,l,f,s
|
|
288
288
|
function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e}
|
|
289
|
-
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",
|
|
290
|
-
function
|
|
291
|
-
return n(a,"_invoke",{value:j(e,r,
|
|
289
|
+
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",u=o.toStringTag||"@@toStringTag"
|
|
290
|
+
function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(L){c=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),u=new k(o||[])
|
|
291
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=l
|
|
292
292
|
var s={}
|
|
293
293
|
function y(){}function d(){}function h(){}var v={}
|
|
294
|
-
|
|
294
|
+
c(v,i,(function(){return this}))
|
|
295
295
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
296
296
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
297
297
|
var g=h.prototype=y.prototype=Object.create(v)
|
|
298
|
-
function w(e){["next","throw","return"].forEach((function(t){
|
|
299
|
-
if("throw"!==
|
|
300
|
-
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,
|
|
298
|
+
function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=f(e[n],e,i)
|
|
299
|
+
if("throw"!==c.type){var l=c.arg,s=l.value
|
|
300
|
+
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
301
301
|
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"
|
|
302
302
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
303
303
|
if("completed"===n){if("throw"===o)throw i
|
|
304
304
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
305
|
-
if(a){var
|
|
306
|
-
if(
|
|
307
|
-
return
|
|
305
|
+
if(a){var u=P(a,r)
|
|
306
|
+
if(u){if(u===s)continue
|
|
307
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
308
308
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
309
309
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
310
310
|
n="executing"
|
|
311
|
-
var
|
|
312
|
-
if("normal"===
|
|
313
|
-
return{value:
|
|
311
|
+
var c=f(e,t,r)
|
|
312
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===s)continue
|
|
313
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
314
314
|
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
|
|
315
315
|
var o=f(n,e.iterator,t.arg)
|
|
316
316
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
|
@@ -322,10 +322,10 @@ if(t)return t.call(e)
|
|
|
322
322
|
if("function"==typeof e.next)return e
|
|
323
323
|
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
|
|
324
324
|
return t.value=void 0,t.done=!0,t}
|
|
325
|
-
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=
|
|
326
|
-
return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,
|
|
325
|
+
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=c(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
326
|
+
return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
327
327
|
var a=new O(l(t,r,n,o),i)
|
|
328
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),
|
|
328
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
329
329
|
for(var n in t)r.push(n)
|
|
330
330
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
331
331
|
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
|
|
@@ -335,9 +335,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
335
335
|
var t=this
|
|
336
336
|
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
|
|
337
337
|
if("root"===i.tryLoc)return n("end")
|
|
338
|
-
if(i.tryLoc<=this.prev){var
|
|
339
|
-
if(c
|
|
340
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
338
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
339
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
340
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
341
341
|
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]
|
|
342
342
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
343
343
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -347,9 +347,9 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
347
347
|
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]
|
|
348
348
|
if(r.tryLoc===e){var n=r.completion
|
|
349
349
|
if("throw"===n.type){var o=n.arg
|
|
350
|
-
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
|
|
350
|
+
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 u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function d(e){return function(){var t=this,r=arguments
|
|
351
351
|
return new Promise((function(n,o){var i=e.apply(t,r)
|
|
352
|
-
function a(e){y(i,n,o,a,
|
|
352
|
+
function a(e){y(i,n,o,a,u,"next",e)}function u(e){y(i,n,o,a,u,"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
|
|
353
353
|
if("string"==typeof e)return v(e,t)
|
|
354
354
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
355
355
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
@@ -376,21 +376,21 @@ if("object"!==_typeof(n))return n
|
|
|
376
376
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
377
377
|
return"symbol"===_typeof(t)?t:String(t)}function x(e,t,r,n,o){var i={}
|
|
378
378
|
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
|
|
379
|
-
var k=(a=(0,t.not)("mutable"),
|
|
379
|
+
var k=(a=(0,t.not)("mutable"),u=(0,t.equal)("key","suppression"),c=(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")
|
|
380
380
|
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)
|
|
381
|
-
var t,r,n,a,c,
|
|
381
|
+
var t,r,n,a,u,c,l=O(y)
|
|
382
382
|
function y(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,y)
|
|
383
383
|
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
|
384
384
|
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||[]
|
|
385
385
|
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
|
|
386
|
-
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:(
|
|
386
|
+
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:(c=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
|
|
387
387
|
break}return this.newPatterns.removeObject(t),t.destroy(),e.abrupt("return")
|
|
388
388
|
case 4:return this.requestInit(t),e.prev=5,e.next=8,this.makeAPICall({method:"DELETE",pattern:t.value})
|
|
389
389
|
case 8:this.patterns.removeObject(t),t.destroy(),e.next=15
|
|
390
390
|
break
|
|
391
391
|
case 12:e.prev=12,e.t0=e.catch(5),this.catchBlock(t,e.t0)
|
|
392
392
|
case 15:return e.prev=15,this.finallyBlock(t),e.finish(15)
|
|
393
|
-
case 18:case"end":return e.stop()}}),e,this,[[5,12,15,18]])}))),function(e){return
|
|
393
|
+
case 18:case"end":return e.stop()}}),e,this,[[5,12,15,18]])}))),function(e){return c.apply(this,arguments)})},{key:"save",value:(u=d(p().mark((function e(t){var r,n
|
|
394
394
|
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
|
|
395
395
|
break}return e.next=5,this.makeAPICall({method:"POST",pattern:t.valueBuffer,retroactive:!!t.retroactive})
|
|
396
396
|
case 5:r=e.sent,t.updateValue(r.pattern),t.set("isNew",!1),this.patterns.pushObject(t),this.newPatterns.removeObject(t),e.next=17
|
|
@@ -401,17 +401,17 @@ case 17:e.next=22
|
|
|
401
401
|
break
|
|
402
402
|
case 19:e.prev=19,e.t0=e.catch(1),this.catchBlock(t,e.t0)
|
|
403
403
|
case 22:return e.prev=22,this.finallyBlock(t),e.finish(22)
|
|
404
|
-
case 25:case"end":return e.stop()}}),e,this,[[1,19,22,25]])}))),function(e){return
|
|
404
|
+
case 25:case"end":return e.stop()}}),e,this,[[1,19,22,25]])}))),function(e){return u.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}})
|
|
405
405
|
case 4:t.set("count",0),e.next=10
|
|
406
406
|
break
|
|
407
407
|
case 7:e.prev=7,e.t0=e.catch(1),this.catchBlock(t,e.t0)
|
|
408
408
|
case 10:return e.prev=10,this.finallyBlock(t),e.finish(10)
|
|
409
|
-
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",[
|
|
409
|
+
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",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x(l.prototype,"allPatterns",[c],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)
|
|
410
410
|
e.default=k})),define("client-app/components/tab-contents",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n
|
|
411
411
|
function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
412
412
|
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)
|
|
413
413
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
414
|
-
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
|
|
414
|
+
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 u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
415
415
|
if(Reflect.construct.sham)return!1
|
|
416
416
|
if("function"==typeof Proxy)return!0
|
|
417
417
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -420,7 +420,7 @@ if(t){var o=l(this).constructor
|
|
|
420
420
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
421
421
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
422
422
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
423
|
-
return
|
|
423
|
+
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")
|
|
424
424
|
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
|
|
425
425
|
var r=e[Symbol.toPrimitive]
|
|
426
426
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
@@ -429,13 +429,13 @@ throw new TypeError("@@toPrimitive must return a primitive value.")}return("stri
|
|
|
429
429
|
return"symbol"===_typeof(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
430
430
|
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")
|
|
431
431
|
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)
|
|
432
|
-
var t,r,n,s=
|
|
432
|
+
var t,r,n,s=u(p)
|
|
433
433
|
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)
|
|
434
434
|
for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a]
|
|
435
|
-
return e=s.call.apply(s,[this].concat(i)),t=
|
|
435
|
+
return e=s.call.apply(s,[this].concat(i)),t=c(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
|
|
436
436
|
e.default=s})),define("client-app/components/tabbed-section",["exports","@ember/component","@ember/array","@ember/object"],(function(e,t,r,n){var o
|
|
437
437
|
function i(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
438
|
-
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
|
|
438
|
+
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 u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
439
439
|
if(Reflect.construct.sham)return!1
|
|
440
440
|
if("function"==typeof Proxy)return!0
|
|
441
441
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -444,7 +444,7 @@ if(t){var o=l(this).constructor
|
|
|
444
444
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
445
445
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
446
446
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
447
|
-
return
|
|
447
|
+
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")
|
|
448
448
|
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
|
|
449
449
|
var r=e[Symbol.toPrimitive]
|
|
450
450
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
@@ -454,11 +454,11 @@ return"symbol"===_typeof(t)?t:String(t)}function p(e,t,r,n,o){var i={}
|
|
|
454
454
|
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
|
|
455
455
|
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")
|
|
456
456
|
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)
|
|
457
|
-
var t,n,o,l=
|
|
457
|
+
var t,n,o,l=u(s)
|
|
458
458
|
function s(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,s)
|
|
459
459
|
for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
|
|
460
|
-
return f(
|
|
461
|
-
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,
|
|
460
|
+
return f(c(e=l.call.apply(l,[this].concat(n))),"tabs",(0,r.A)()),f(c(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)
|
|
461
|
+
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,u,c,l,f
|
|
462
462
|
function s(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
463
463
|
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
|
|
464
464
|
var r=e[Symbol.toPrimitive]
|
|
@@ -478,11 +478,11 @@ if(void 0!==t)throw new TypeError("Derived constructors may only return object o
|
|
|
478
478
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
479
479
|
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={}
|
|
480
480
|
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
|
|
481
|
-
var b=6e4,m=(a=(0,t.tagName)(""),
|
|
482
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(
|
|
483
|
-
var t,r,n,a=d(
|
|
484
|
-
function
|
|
485
|
-
e.default=m})),define("client-app/controllers/index",["exports","@ember/runloop","@ember/object","@ember/controller","client-app/lib/utilities","client-app/lib/preload","@glimmer/tracking"],(function(e,t,r,n,o,i,a){var c,
|
|
481
|
+
var b=6e4,m=(a=(0,t.tagName)(""),u=(0,r.computed)("timestamp"),c=(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")
|
|
482
|
+
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)
|
|
483
|
+
var t,r,n,a=d(u)
|
|
484
|
+
function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),a.apply(this,arguments)}return t=u,r=[{key:"didInsertElement",value:function(){p(h(u.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}),u}(n.default),v(f.prototype,"title",[u],Object.getOwnPropertyDescriptor(f.prototype,"title"),f.prototype),v(f.prototype,"time",[c],Object.getOwnPropertyDescriptor(f.prototype,"time"),f.prototype),l=f))||l)
|
|
485
|
+
e.default=m})),define("client-app/controllers/index",["exports","@ember/runloop","@ember/object","@ember/controller","client-app/lib/utilities","client-app/lib/preload","@glimmer/tracking"],(function(e,t,r,n,o,i,a){var u,c,l,f,s
|
|
486
486
|
function p(e){return function(e){if(Array.isArray(e))return y(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
|
|
487
487
|
if("string"==typeof e)return y(e,t)
|
|
488
488
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
@@ -491,31 +491,31 @@ if("Map"===r||"Set"===r)return Array.from(e)
|
|
|
491
491
|
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(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 y(e,t){(null==t||t>e.length)&&(t=e.length)
|
|
492
492
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
493
493
|
return n}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e}
|
|
494
|
-
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",
|
|
495
|
-
function
|
|
496
|
-
return n(a,"_invoke",{value:j(e,r,
|
|
494
|
+
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",u=o.toStringTag||"@@toStringTag"
|
|
495
|
+
function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(L){c=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),u=new k(o||[])
|
|
496
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=l
|
|
497
497
|
var s={}
|
|
498
498
|
function p(){}function y(){}function h(){}var v={}
|
|
499
|
-
|
|
499
|
+
c(v,i,(function(){return this}))
|
|
500
500
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
501
501
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
502
502
|
var g=h.prototype=p.prototype=Object.create(v)
|
|
503
|
-
function w(e){["next","throw","return"].forEach((function(t){
|
|
504
|
-
if("throw"!==
|
|
505
|
-
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,
|
|
503
|
+
function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=f(e[n],e,i)
|
|
504
|
+
if("throw"!==c.type){var l=c.arg,s=l.value
|
|
505
|
+
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
506
506
|
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"
|
|
507
507
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
508
508
|
if("completed"===n){if("throw"===o)throw i
|
|
509
509
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
510
|
-
if(a){var
|
|
511
|
-
if(
|
|
512
|
-
return
|
|
510
|
+
if(a){var u=P(a,r)
|
|
511
|
+
if(u){if(u===s)continue
|
|
512
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
513
513
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
514
514
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
515
515
|
n="executing"
|
|
516
|
-
var
|
|
517
|
-
if("normal"===
|
|
518
|
-
return{value:
|
|
516
|
+
var c=f(e,t,r)
|
|
517
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===s)continue
|
|
518
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
519
519
|
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
|
|
520
520
|
var o=f(n,e.iterator,t.arg)
|
|
521
521
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
|
@@ -527,10 +527,10 @@ if(t)return t.call(e)
|
|
|
527
527
|
if("function"==typeof e.next)return e
|
|
528
528
|
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
|
|
529
529
|
return t.value=void 0,t.done=!0,t}
|
|
530
|
-
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:y,configurable:!0}),y.displayName=
|
|
531
|
-
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,
|
|
530
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:y,configurable:!0}),y.displayName=c(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
531
|
+
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
532
532
|
var a=new O(l(t,r,n,o),i)
|
|
533
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),
|
|
533
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
534
534
|
for(var n in t)r.push(n)
|
|
535
535
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
536
536
|
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
|
|
@@ -540,9 +540,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
540
540
|
var t=this
|
|
541
541
|
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
|
|
542
542
|
if("root"===i.tryLoc)return n("end")
|
|
543
|
-
if(i.tryLoc<=this.prev){var
|
|
544
|
-
if(c
|
|
545
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
543
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
544
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
545
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
546
546
|
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]
|
|
547
547
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
548
548
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -552,9 +552,9 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
552
552
|
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]
|
|
553
553
|
if(r.tryLoc===e){var n=r.completion
|
|
554
554
|
if("throw"===n.type){var o=n.arg
|
|
555
|
-
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 h(e,t,r,n,o,i,a){try{var
|
|
555
|
+
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 h(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function v(e){return function(){var t=this,r=arguments
|
|
556
556
|
return new Promise((function(n,o){var i=e.apply(t,r)
|
|
557
|
-
function a(e){h(i,n,o,a,
|
|
557
|
+
function a(e){h(i,n,o,a,u,"next",e)}function u(e){h(i,n,o,a,u,"throw",e)}a(void 0)}))}}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]
|
|
558
558
|
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
|
|
559
559
|
if(Reflect.construct.sham)return!1
|
|
560
560
|
if("function"==typeof Proxy)return!0
|
|
@@ -572,9 +572,9 @@ if("object"!==_typeof(n))return n
|
|
|
572
572
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
573
573
|
return"symbol"===_typeof(t)?t:String(t)}function x(e,t,r,n,o){var i={}
|
|
574
574
|
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
|
|
575
|
-
var k=(
|
|
575
|
+
var k=(u=(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")
|
|
576
576
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)})(_,e)
|
|
577
|
-
var r,n,a,c,
|
|
577
|
+
var r,n,a,u,c,y,h,j=w(_)
|
|
578
578
|
function _(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,_)
|
|
579
579
|
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
|
580
580
|
return b(O(e=j.call.apply(j,[this].concat(r))),"loading",l,O(e)),b(O(e),"buildingGroupingPattern",f,O(e)),b(O(e),"rowMessagesForGroupingPattern",s,O(e)),P(O(e),"showDebug",(0,o.getLocalStorage)("showDebug",!1)),P(O(e),"showInfo",(0,o.getLocalStorage)("showInfo",!1)),P(O(e),"showWarn",(0,o.getLocalStorage)("showWarn",!0)),P(O(e),"showErr",(0,o.getLocalStorage)("showErr",!0)),P(O(e),"showFatal",(0,o.getLocalStorage)("showFatal",!0)),P(O(e),"search",null),P(O(e),"queryParams",["search"]),e}return r=_,n=[{key:"showSettings",get:function(){return i.default.get("patterns_enabled")}},{key:"backToSiteLinkText",get:function(){return i.default.get("back_to_site_link_text")}},{key:"backToSiteLinkPath",get:function(){return i.default.get("back_to_site_link_path")}},{key:"hasTopMenu",get:function(){return this.backToSiteLinkText&&this.backToSiteLinkPath}},{key:"actionsInMenu",get:function(){return/mobile/i.test(navigator.userAgent)&&!/iPad/.test(navigator.userAgent)}},{key:"showCreateGroupingPattern",get:function(){return this.buildingGroupingPattern&&this.rowMessagesForGroupingPattern.length>1}},{key:"searchTerm",get:function(){return this.search?(this.doSearch(this.search),this.search):null}},{key:"doSearch",value:(h=v(d().mark((function e(t){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.model.set("search",t),this.loading=!0,e.next=4,this.model.reload()
|
|
@@ -587,45 +587,45 @@ case 3:this.model.reload(),this.loading=!1
|
|
|
587
587
|
case 5:case"end":return e.stop()}}),e,this)}))),function(){return y.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)
|
|
588
588
|
e.destroy(),e.set("selected",!1),this.model.set("total",this.model.total-1)
|
|
589
589
|
var o=!1,i=0
|
|
590
|
-
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:(
|
|
590
|
+
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=v(d().mark((function e(t){return d().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]),this.loading=!0,e.next=6,this.model.reload()
|
|
591
591
|
case 6:this.loading=!1,this.model.updateSelectedRow()
|
|
592
|
-
case 8:case"end":return e.stop()}}),e,this)}))),function(e){return
|
|
593
|
-
r!==this.search&&(r&&1===r.length||(0,t.debounce)(this,this.doSearch,r,250))}},{key:"toggleGroupingPatternFromSelectedRows",value:function(){this.buildingGroupingPattern=!this.buildingGroupingPattern,this.rowMessagesForGroupingPattern=[]}},{key:"createGroupingPatternFromSelectedRows",value:(
|
|
592
|
+
case 8:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"updateSearch",value:function(e){var r=e.target.value
|
|
593
|
+
r!==this.search&&(r&&1===r.length||(0,t.debounce)(this,this.doSearch,r,250))}},{key:"toggleGroupingPatternFromSelectedRows",value:function(){this.buildingGroupingPattern=!this.buildingGroupingPattern,this.rowMessagesForGroupingPattern=[]}},{key:"createGroupingPatternFromSelectedRows",value:(u=v(d().mark((function e(){var t
|
|
594
594
|
return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.findLongestMatchingPrefix(this.rowMessagesForGroupingPattern),!(t=this.escapeRegExp(t)).trim().length||!confirm('Do you want to create the grouping pattern\n\n"'.concat(t,'"\n\nCancel = No, OK = Create'))){e.next=10
|
|
595
595
|
break}return e.next=5,(0,o.ajax)("/patterns/grouping.json",{method:"POST",data:{pattern:t}})
|
|
596
596
|
case 5:this.rowMessagesForGroupingPattern=[],this.buildingGroupingPattern=!1,this.model.reload(),e.next=11
|
|
597
597
|
break
|
|
598
598
|
case 10:t.trim().length||alert("Can not create a grouping pattern with the given rows")
|
|
599
|
-
case 11:case"end":return e.stop()}}),e,this)}))),function(){return
|
|
599
|
+
case 11:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"findLongestMatchingPrefix",value:function(e){for(var t=e.reduce((function(e,t){return t.length<e.length?t:e}),e[0]),r="",n=function(){var n=t.substring(0,o+1)
|
|
600
600
|
if(!e.every((function(e){return e.includes(n)})))return"break"
|
|
601
|
-
r=n},o=0;o<t.length&&"break"!==n();o++);return r}},{key:"escapeRegExp",value:function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}],n&&m(r.prototype,n),a&&m(r,a),Object.defineProperty(r,"prototype",{writable:!1}),_}(n.default),l=x(
|
|
602
|
-
e.default=k})),define("client-app/controllers/show",["exports","@ember/controller","@ember/object","@ember/service"],(function(e,t,r,n){var o,i,a,
|
|
603
|
-
function
|
|
604
|
-
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",
|
|
605
|
-
function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(L){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),
|
|
606
|
-
return n(a,"_invoke",{value:j(e,r,
|
|
601
|
+
r=n},o=0;o<t.length&&"break"!==n();o++);return r}},{key:"escapeRegExp",value:function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}],n&&m(r.prototype,n),a&&m(r,a),Object.defineProperty(r,"prototype",{writable:!1}),_}(n.default),l=x(c.prototype,"loading",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=x(c.prototype,"buildingGroupingPattern",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=x(c.prototype,"rowMessagesForGroupingPattern",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),x(c.prototype,"showSettings",[r.computed],Object.getOwnPropertyDescriptor(c.prototype,"showSettings"),c.prototype),x(c.prototype,"backToSiteLinkText",[r.computed],Object.getOwnPropertyDescriptor(c.prototype,"backToSiteLinkText"),c.prototype),x(c.prototype,"backToSiteLinkPath",[r.computed],Object.getOwnPropertyDescriptor(c.prototype,"backToSiteLinkPath"),c.prototype),x(c.prototype,"hasTopMenu",[r.computed],Object.getOwnPropertyDescriptor(c.prototype,"hasTopMenu"),c.prototype),x(c.prototype,"searchTerm",[u],Object.getOwnPropertyDescriptor(c.prototype,"searchTerm"),c.prototype),x(c.prototype,"expandMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"expandMessage"),c.prototype),x(c.prototype,"selectRowAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"selectRowAction"),c.prototype),x(c.prototype,"handleCheckboxChange",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"handleCheckboxChange"),c.prototype),x(c.prototype,"tabChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"tabChangedAction"),c.prototype),x(c.prototype,"showMoreBefore",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"showMoreBefore"),c.prototype),x(c.prototype,"loadMore",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"loadMore"),c.prototype),x(c.prototype,"clear",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"clear"),c.prototype),x(c.prototype,"removeMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"removeMessage"),c.prototype),x(c.prototype,"solveMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"solveMessage"),c.prototype),x(c.prototype,"groupedMessageChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"groupedMessageChangedAction"),c.prototype),x(c.prototype,"envChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"envChangedAction"),c.prototype),x(c.prototype,"updateFilter",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"updateFilter"),c.prototype),x(c.prototype,"updateSearch",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"updateSearch"),c.prototype),x(c.prototype,"toggleGroupingPatternFromSelectedRows",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"toggleGroupingPatternFromSelectedRows"),c.prototype),x(c.prototype,"createGroupingPatternFromSelectedRows",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"createGroupingPatternFromSelectedRows"),c.prototype),c)
|
|
602
|
+
e.default=k})),define("client-app/controllers/show",["exports","@ember/controller","@ember/object","@ember/service"],(function(e,t,r,n){var o,i,a,u
|
|
603
|
+
function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e}
|
|
604
|
+
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",u=o.toStringTag||"@@toStringTag"
|
|
605
|
+
function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(L){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),u=new k(o||[])
|
|
606
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=f
|
|
607
607
|
var p={}
|
|
608
608
|
function y(){}function d(){}function h(){}var v={}
|
|
609
609
|
l(v,i,(function(){return this}))
|
|
610
610
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
611
611
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
612
612
|
var g=h.prototype=y.prototype=Object.create(v)
|
|
613
|
-
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,
|
|
614
|
-
if("throw"!==
|
|
615
|
-
return f&&"object"==_typeof(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,
|
|
613
|
+
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,u){var c=s(e[n],e,i)
|
|
614
|
+
if("throw"!==c.type){var l=c.arg,f=l.value
|
|
615
|
+
return f&&"object"==_typeof(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
616
616
|
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"
|
|
617
617
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
618
618
|
if("completed"===n){if("throw"===o)throw i
|
|
619
619
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
620
|
-
if(a){var
|
|
621
|
-
if(
|
|
622
|
-
return
|
|
620
|
+
if(a){var u=P(a,r)
|
|
621
|
+
if(u){if(u===p)continue
|
|
622
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
623
623
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
624
624
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
625
625
|
n="executing"
|
|
626
|
-
var
|
|
627
|
-
if("normal"===
|
|
628
|
-
return{value:
|
|
626
|
+
var c=s(e,t,r)
|
|
627
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===p)continue
|
|
628
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
629
629
|
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
|
|
630
630
|
var o=s(n,e.iterator,t.arg)
|
|
631
631
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p
|
|
@@ -637,10 +637,10 @@ if(t)return t.call(e)
|
|
|
637
637
|
if("function"==typeof e.next)return e
|
|
638
638
|
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
|
|
639
639
|
return t.value=void 0,t.done=!0,t}
|
|
640
|
-
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,
|
|
641
|
-
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,
|
|
640
|
+
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,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
641
|
+
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,u,"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)
|
|
642
642
|
var a=new O(f(t,r,n,o),i)
|
|
643
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),l(g,
|
|
643
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),l(g,u,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
644
644
|
for(var n in t)r.push(n)
|
|
645
645
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
646
646
|
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
|
|
@@ -650,9 +650,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
650
650
|
var t=this
|
|
651
651
|
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
|
|
652
652
|
if("root"===i.tryLoc)return n("end")
|
|
653
|
-
if(i.tryLoc<=this.prev){var
|
|
654
|
-
if(c
|
|
655
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
653
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
654
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
655
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
656
656
|
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]
|
|
657
657
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
658
658
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -662,9 +662,9 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
662
662
|
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]
|
|
663
663
|
if(r.tryLoc===e){var n=r.completion
|
|
664
664
|
if("throw"===n.type){var o=n.arg
|
|
665
|
-
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
|
|
665
|
+
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 u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function f(e){return function(){var t=this,r=arguments
|
|
666
666
|
return new Promise((function(n,o){var i=e.apply(t,r)
|
|
667
|
-
function a(e){l(i,n,o,a,
|
|
667
|
+
function a(e){l(i,n,o,a,u,"next",e)}function u(e){l(i,n,o,a,u,"throw",e)}a(void 0)}))}}function s(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 p(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
668
668
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}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
|
|
669
669
|
if(Reflect.construct.sham)return!1
|
|
670
670
|
if("function"==typeof Proxy)return!0
|
|
@@ -686,14 +686,14 @@ var g=(o=(0,t.inject)("index"),i=function(e){(function(e,t){if("function"!=typeo
|
|
|
686
686
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(v,e)
|
|
687
687
|
var t,r,n,o,i,l=d(v)
|
|
688
688
|
function v(){var e,t,r,n;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,v)
|
|
689
|
-
for(var o=arguments.length,i=new Array(o),
|
|
690
|
-
return s(h(e=l.call.apply(l,[this].concat(i))),"router",a,h(e)),s(h(e),"indexController",
|
|
689
|
+
for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c]
|
|
690
|
+
return s(h(e=l.call.apply(l,[this].concat(i))),"router",a,h(e)),s(h(e),"indexController",u,h(e)),t=h(e),n=0,(r=b(r="envPosition"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return t=v,r=[{key:"protect",value:function(){this.model.protect()}},{key:"unprotect",value:function(){this.model.unprotect()}},{key:"solveMessage",value:(i=f(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.solve()
|
|
691
691
|
case 2:this.router.transitionTo("index")
|
|
692
|
-
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"removeMessage",value:(o=f(
|
|
692
|
+
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"removeMessage",value:(o=f(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.destroy()
|
|
693
693
|
case 2:this.router.transitionTo("index")
|
|
694
|
-
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"envChanged",value:function(e){this.set("envPosition",e)}}],r&&p(t.prototype,r),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(t.default),a=m(i.prototype,"router",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),
|
|
695
|
-
e.default=g})),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,
|
|
696
|
-
return i&&(t.showExtended&&(
|
|
694
|
+
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"envChanged",value:function(e){this.set("envPosition",e)}}],r&&p(t.prototype,r),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(t.default),a=m(i.prototype,"router",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=m(i.prototype,"indexController",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(i.prototype,"protect",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"protect"),i.prototype),m(i.prototype,"unprotect",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"unprotect"),i.prototype),m(i.prototype,"solveMessage",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"solveMessage"),i.prototype),m(i.prototype,"removeMessage",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"removeMessage"),i.prototype),m(i.prototype,"envChanged",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"envChanged"),i.prototype),i)
|
|
695
|
+
e.default=g})),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,u=null
|
|
696
|
+
return i&&(t.showExtended&&(u=o.match(n.versionExtendedRegExp)),u||(u=o.match(n.versionRegExp))),a&&(u=o.match(n.shaRegExp)),u?u[0]:o}Object.defineProperty(e,"__esModule",{value:!0}),e.appVersion=o,e.default=void 0
|
|
697
697
|
var i=(0,t.helper)(o)
|
|
698
698
|
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]
|
|
699
699
|
return"/"!==t[0]&&(t="/".concat(t)),(0,r.getRootPath)()+t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.logsterUrl=n
|
|
@@ -703,46 +703,46 @@ var n=(0,t.helper)(r)
|
|
|
703
703
|
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
|
|
704
704
|
var r=t.default
|
|
705
705
|
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}
|
|
706
|
-
var e={},t=Object.prototype,r=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},
|
|
707
|
-
function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(R){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),
|
|
708
|
-
return i(a,"_invoke",{value:P(e,r,
|
|
706
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag"
|
|
707
|
+
function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(R){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),u=new S(n||[])
|
|
708
|
+
return i(a,"_invoke",{value:P(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=s
|
|
709
709
|
var y={}
|
|
710
710
|
function d(){}function h(){}function v(){}var b={}
|
|
711
|
-
f(b,
|
|
711
|
+
f(b,u,(function(){return this}))
|
|
712
712
|
var m=Object.getPrototypeOf,g=m&&m(m(E([])))
|
|
713
|
-
g&&g!==t&&r.call(g,
|
|
713
|
+
g&&g!==t&&r.call(g,u)&&(b=g)
|
|
714
714
|
var w=v.prototype=d.prototype=Object.create(b)
|
|
715
|
-
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
|
|
715
|
+
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,u,c){var l=p(e[i],e,a)
|
|
716
716
|
if("throw"!==l.type){var f=l.arg,s=f.value
|
|
717
|
-
return s&&"object"==n(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,c
|
|
717
|
+
return s&&"object"==n(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,u,c)}),(function(e){o("throw",e,u,c)})):t.resolve(s).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,c)}))}c(l.arg)}var a
|
|
718
718
|
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"
|
|
719
719
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
720
720
|
if("completed"===n){if("throw"===o)throw i
|
|
721
721
|
return L()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
722
|
-
if(a){var
|
|
723
|
-
if(
|
|
724
|
-
return
|
|
722
|
+
if(a){var u=_(a,r)
|
|
723
|
+
if(u){if(u===y)continue
|
|
724
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
725
725
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
726
726
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
727
727
|
n="executing"
|
|
728
|
-
var
|
|
729
|
-
if("normal"===
|
|
730
|
-
return{value:
|
|
728
|
+
var c=p(e,t,r)
|
|
729
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===y)continue
|
|
730
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function _(e,t){var r=t.method,n=e.iterator[r]
|
|
731
731
|
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
|
|
732
732
|
var o=p(n,e.iterator,t.arg)
|
|
733
733
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y
|
|
734
734
|
var i=o.arg
|
|
735
735
|
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]}
|
|
736
736
|
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||{}
|
|
737
|
-
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[
|
|
737
|
+
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[u]
|
|
738
738
|
if(t)return t.call(e)
|
|
739
739
|
if("function"==typeof e.next)return e
|
|
740
740
|
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
|
|
741
741
|
return t.value=void 0,t.done=!0,t}
|
|
742
742
|
return o.next=o}}return{next:L}}function L(){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
|
|
743
|
-
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,
|
|
743
|
+
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,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
744
744
|
var a=new j(s(t,r,n,o),i)
|
|
745
|
-
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,
|
|
745
|
+
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,u,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
746
746
|
for(var n in t)r.push(n)
|
|
747
747
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
748
748
|
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
|
|
@@ -752,9 +752,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
752
752
|
var t=this
|
|
753
753
|
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
|
|
754
754
|
if("root"===i.tryLoc)return n("end")
|
|
755
|
-
if(i.tryLoc<=this.prev){var
|
|
756
|
-
if(c
|
|
757
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
755
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
756
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
757
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
758
758
|
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]
|
|
759
759
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
760
760
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -764,8 +764,8 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
764
764
|
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]
|
|
765
765
|
if(r.tryLoc===e){var n=r.completion
|
|
766
766
|
if("throw"===n.type){var o=n.arg
|
|
767
|
-
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
|
|
768
|
-
return e=o().mark((function e(n){var i,a,c,
|
|
767
|
+
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 u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function a(e){return u.apply(this,arguments)}function u(){var e
|
|
768
|
+
return e=o().mark((function e(n){var i,a,u,c,l,f,s,p
|
|
769
769
|
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
|
|
770
770
|
break}return n.deferReadiness(),e.prev=4,e.next=7,(0,t.ajax)("/development-preload.json")
|
|
771
771
|
case 7:a=e.sent,document.getElementById("preloaded-data").setAttribute("data-preloaded",JSON.stringify(a)),e.next=15
|
|
@@ -775,15 +775,15 @@ case 15:return e.prev=15,n.advanceReadiness(),e.finish(15)
|
|
|
775
775
|
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"]
|
|
776
776
|
case 20:if(!(l<f.length)){e.next=30
|
|
777
777
|
break}if(s=f[l],p=s+(""===s?"hidden":"Hidden"),void 0===document[p]){e.next=27
|
|
778
|
-
break}return
|
|
778
|
+
break}return u=p,c=s+"visibilitychange",e.abrupt("break",30)
|
|
779
779
|
case 27:l++,e.next=20
|
|
780
780
|
break
|
|
781
|
-
case 30:(0,t.updateHiddenProperty)(
|
|
782
|
-
case 34:case"end":return e.stop()}}),e,null,[[4,12,15,18]])})),
|
|
781
|
+
case 30:(0,t.updateHiddenProperty)(u),document.addEventListener(c,t.resetTitleCount,!1),/mobile/i.test(navigator.userAgent)&&!/iPad/.test(navigator.userAgent)&&document.body.classList.add("mobile")
|
|
782
|
+
case 34:case"end":return e.stop()}}),e,null,[[4,12,15,18]])})),u=function(){var t=this,r=arguments
|
|
783
783
|
return new Promise((function(n,o){var a=e.apply(t,r)
|
|
784
|
-
function
|
|
785
|
-
var
|
|
786
|
-
e.default=
|
|
784
|
+
function u(e){i(a,n,o,u,c,"next",e)}function c(e){i(a,n,o,u,c,"throw",e)}u(void 0)}))},u.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=a
|
|
785
|
+
var c={initialize:a}
|
|
786
|
+
e.default=c})),define("client-app/initializers/app-version",["exports","ember-cli-app-version/initializer-factory","client-app/config/environment"],(function(e,t,r){var n,o
|
|
787
787
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r.default.APP&&(n=r.default.APP.name,o=r.default.APP.version)
|
|
788
788
|
var i={name:"App Version",initialize:(0,t.default)(n,o)}
|
|
789
789
|
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
|
|
@@ -801,46 +801,46 @@ return{get:function(){return this[o]||this.set(o,n.bind(this)),this[o]}}}})),def
|
|
|
801
801
|
var r,n={},o=!1
|
|
802
802
|
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]}}
|
|
803
803
|
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}
|
|
804
|
-
var e={},t=Object.prototype,o=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},
|
|
805
|
-
function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(R){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),
|
|
806
|
-
return i(a,"_invoke",{value:P(e,r,
|
|
804
|
+
var e={},t=Object.prototype,o=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag"
|
|
805
|
+
function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(R){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),u=new S(n||[])
|
|
806
|
+
return i(a,"_invoke",{value:P(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=s
|
|
807
807
|
var y={}
|
|
808
808
|
function d(){}function h(){}function v(){}var b={}
|
|
809
|
-
f(b,
|
|
809
|
+
f(b,u,(function(){return this}))
|
|
810
810
|
var m=Object.getPrototypeOf,g=m&&m(m(E([])))
|
|
811
|
-
g&&g!==t&&o.call(g,
|
|
811
|
+
g&&g!==t&&o.call(g,u)&&(b=g)
|
|
812
812
|
var w=v.prototype=d.prototype=Object.create(b)
|
|
813
|
-
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
|
|
813
|
+
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,u,c){var l=p(e[i],e,a)
|
|
814
814
|
if("throw"!==l.type){var f=l.arg,s=f.value
|
|
815
|
-
return s&&"object"==n(s)&&o.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,c
|
|
815
|
+
return s&&"object"==n(s)&&o.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(s).then((function(e){f.value=e,u(f)}),(function(e){return r("throw",e,u,c)}))}c(l.arg)}var a
|
|
816
816
|
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"
|
|
817
817
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
818
818
|
if("completed"===n){if("throw"===o)throw i
|
|
819
819
|
return L()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
820
|
-
if(a){var
|
|
821
|
-
if(
|
|
822
|
-
return
|
|
820
|
+
if(a){var u=_(a,r)
|
|
821
|
+
if(u){if(u===y)continue
|
|
822
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
823
823
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
824
824
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
825
825
|
n="executing"
|
|
826
|
-
var
|
|
827
|
-
if("normal"===
|
|
828
|
-
return{value:
|
|
826
|
+
var c=p(e,t,r)
|
|
827
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===y)continue
|
|
828
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function _(e,t){var r=t.method,n=e.iterator[r]
|
|
829
829
|
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
|
|
830
830
|
var o=p(n,e.iterator,t.arg)
|
|
831
831
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y
|
|
832
832
|
var i=o.arg
|
|
833
833
|
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]}
|
|
834
834
|
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||{}
|
|
835
|
-
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[
|
|
835
|
+
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[u]
|
|
836
836
|
if(t)return t.call(e)
|
|
837
837
|
if("function"==typeof e.next)return e
|
|
838
838
|
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
|
|
839
839
|
return t.value=void 0,t.done=!0,t}
|
|
840
840
|
return n.next=n}}return{next:L}}function L(){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
|
|
841
|
-
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,
|
|
841
|
+
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,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
842
842
|
var a=new j(s(t,r,n,o),i)
|
|
843
|
-
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,
|
|
843
|
+
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,u,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
844
844
|
for(var n in t)r.push(n)
|
|
845
845
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
846
846
|
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
|
|
@@ -850,9 +850,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
850
850
|
var t=this
|
|
851
851
|
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
|
|
852
852
|
if("root"===i.tryLoc)return r("end")
|
|
853
|
-
if(i.tryLoc<=this.prev){var
|
|
854
|
-
if(c
|
|
855
|
-
if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(
|
|
853
|
+
if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc")
|
|
854
|
+
if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)
|
|
855
|
+
if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
856
856
|
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]
|
|
857
857
|
if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n
|
|
858
858
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -862,10 +862,10 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
862
862
|
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]
|
|
863
863
|
if(r.tryLoc===e){var n=r.completion
|
|
864
864
|
if("throw"===n.type){var o=n.arg
|
|
865
|
-
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
|
|
866
|
-
if(null!=r){var n,o,i,a,
|
|
865
|
+
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 u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).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"]
|
|
866
|
+
if(null!=r){var n,o,i,a,u=[],c=!0,l=!1
|
|
867
867
|
try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return
|
|
868
|
-
|
|
868
|
+
c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){l=!0,o=f}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(e,t)||function(e,t){if(!e)return
|
|
869
869
|
if("string"==typeof e)return a(e,t)
|
|
870
870
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
871
871
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
@@ -874,21 +874,21 @@ if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(
|
|
|
874
874
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
875
875
|
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]:[]
|
|
876
876
|
if(!r)return""
|
|
877
|
-
for(var
|
|
878
|
-
if(null===b)
|
|
877
|
+
for(var u=[],c=[],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]
|
|
878
|
+
if(null===b)u.push("null")
|
|
879
879
|
else if("[object Array]"===Object.prototype.toString.call(b)){var m=""
|
|
880
|
-
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))),
|
|
880
|
+
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))),u.push("<tr><td>".concat(s(d),"</td><td>").concat(m,"</td></tr>"))}else if("object"===n(b))c.push(d)
|
|
881
881
|
else if("time"===d&&"number"==typeof b){var g=moment(b).format(),w=h(b)
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
t[a]=
|
|
882
|
+
u.push('<tr title="'.concat(g,'"><td>').concat(d,"</td><td>").concat(w,"</td></tr>"))}else u.push("<tr><td>".concat(s(d),"</td><td>").concat(s(b),"</td></tr>"))}for(var O=0,j=c;O<j.length;O++){var P=j[O],_=r[P]
|
|
883
|
+
u.push("<tr><td></td><td><table>"),u.push("<td>".concat(s(P),"</td><td>").concat(e(_,!0),"</td>")),u.push("</table></td></tr>")}return"<table class='".concat(o?"":"env-table","'>").concat(u.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],u=o[1]
|
|
884
|
+
t[a]=u}return t},e.escapeHtml=s,e.formatTime=h,e.getLocalStorage=function(e,t){try{if(window.localStorage){e="logster-"+e
|
|
885
885
|
var r=window.localStorage.getItem(e)
|
|
886
886
|
return null===r?t:"true"===r||"false"!==r&&r}return t}catch(n){return t}},e.increaseTitleCount=function(e){if(!d())return
|
|
887
|
-
|
|
888
|
-
var c,
|
|
887
|
+
c||(c=document.title),l||(l=0),l+=e,document.title="".concat(c," (").concat(l,")")},e.isHidden=d,e.preloadOrAjax=function(e,t){return y.apply(this,arguments)},e.resetTitleCount=function(){l=0,document.title=c||document.title},e.setLocalStorage=function(e,t){try{window.localStorage&&(e="logster-"+e,window.localStorage.setItem(e,t))}catch(r){}},e.updateHiddenProperty=function(e){u=e}
|
|
888
|
+
var u,c,l,f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"}
|
|
889
889
|
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={})
|
|
890
890
|
var a=new XMLHttpRequest
|
|
891
|
-
if(e=(0,t.getRootPath)()+e,r.data)for(var
|
|
891
|
+
if(e=(0,t.getRootPath)()+e,r.data)for(var u=0,c=Object.entries(r.data);u<c.length;u++){var l=i(c[u],2),f=l[0],s=l[1]
|
|
892
892
|
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]
|
|
893
893
|
a.setRequestHeader(h,v)}a.onreadystatechange=function(){if(4===a.readyState){var e=a.status
|
|
894
894
|
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
|
|
@@ -899,8 +899,8 @@ case 5:return e.next=7,p(n,o)
|
|
|
899
899
|
case 7:return e.abrupt("return",e.sent)
|
|
900
900
|
case 8:case"end":return e.stop()}}),e)})),y=function(){var t=this,r=arguments
|
|
901
901
|
return new Promise((function(n,i){var a=e.apply(t,r)
|
|
902
|
-
function
|
|
903
|
-
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,
|
|
902
|
+
function u(e){o(a,n,i,u,c,"next",e)}function c(e){o(a,n,i,u,c,"throw",e)}u(void 0)}))},y.apply(this,arguments)}function d(){return void 0!==u?document[u]:!document.hasFocus}function h(e){var t=moment(e),r=moment()
|
|
903
|
+
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,u,c,l
|
|
904
904
|
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]
|
|
905
905
|
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)
|
|
906
906
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
@@ -921,47 +921,47 @@ if("object"!==_typeof(n))return n
|
|
|
921
921
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
922
922
|
return"symbol"===_typeof(t)?t:String(t)}function g(e,t,r,n,o){var i={}
|
|
923
923
|
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
|
|
924
|
-
var w=(i=(0,t.reads)("regex"),a=(0,t.reads)("messages.firstObject.message"),
|
|
925
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(
|
|
926
|
-
var t,n,i,a=d(
|
|
927
|
-
function
|
|
924
|
+
var w=(i=(0,t.reads)("regex"),a=(0,t.reads)("messages.firstObject.message"),u=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
925
|
+
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)
|
|
926
|
+
var t,n,i,a=d(u)
|
|
927
|
+
function u(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,u)
|
|
928
928
|
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
|
929
|
-
return b(h(e=a.call.apply(a,[this].concat(r))),"selected",!1),b(h(e),"showCount",!0),f(h(e),"key",
|
|
929
|
+
return b(h(e=a.call.apply(a,[this].concat(r))),"selected",!1),b(h(e),"showCount",!0),f(h(e),"key",c,h(e)),f(h(e),"displayMessage",l,h(e)),e}return t=u,n=[{key:"init",value:function(){p(v(u.prototype),"init",this).apply(this,arguments)
|
|
930
930
|
var e=this.messages.map((function(e){return r.default.create(e)}))
|
|
931
|
-
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}),
|
|
931
|
+
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}),u}(n.default),c=g(u.prototype,"key",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=g(u.prototype,"displayMessage",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g(u.prototype,"glyph",[n.computed],Object.getOwnPropertyDescriptor(u.prototype,"glyph"),u.prototype),g(u.prototype,"prefix",[n.computed],Object.getOwnPropertyDescriptor(u.prototype,"prefix"),u.prototype),u)
|
|
932
932
|
e.default=w}))
|
|
933
|
-
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,
|
|
933
|
+
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 u,c,l,f,s,p,y
|
|
934
934
|
function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
|
935
935
|
if(!r){if(Array.isArray(e)||(r=k(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
|
936
936
|
var n=0,o=function(){}
|
|
937
|
-
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,
|
|
937
|
+
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,u=!1
|
|
938
938
|
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
|
939
|
-
return a=e.done,e},e:function(e){
|
|
940
|
-
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",
|
|
941
|
-
function
|
|
942
|
-
return n(a,"_invoke",{value:j(e,r,
|
|
939
|
+
return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)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}
|
|
940
|
+
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",u=o.toStringTag||"@@toStringTag"
|
|
941
|
+
function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(L){c=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),u=new k(o||[])
|
|
942
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=l
|
|
943
943
|
var s={}
|
|
944
944
|
function p(){}function y(){}function d(){}var v={}
|
|
945
|
-
|
|
945
|
+
c(v,i,(function(){return this}))
|
|
946
946
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
947
947
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
948
948
|
var g=d.prototype=p.prototype=Object.create(v)
|
|
949
|
-
function w(e){["next","throw","return"].forEach((function(t){
|
|
950
|
-
if("throw"!==
|
|
951
|
-
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,
|
|
949
|
+
function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=f(e[n],e,i)
|
|
950
|
+
if("throw"!==c.type){var l=c.arg,s=l.value
|
|
951
|
+
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
952
952
|
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"
|
|
953
953
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
954
954
|
if("completed"===n){if("throw"===o)throw i
|
|
955
955
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
956
|
-
if(a){var
|
|
957
|
-
if(
|
|
958
|
-
return
|
|
956
|
+
if(a){var u=P(a,r)
|
|
957
|
+
if(u){if(u===s)continue
|
|
958
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
959
959
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
960
960
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
961
961
|
n="executing"
|
|
962
|
-
var
|
|
963
|
-
if("normal"===
|
|
964
|
-
return{value:
|
|
962
|
+
var c=f(e,t,r)
|
|
963
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===s)continue
|
|
964
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
965
965
|
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
|
|
966
966
|
var o=f(n,e.iterator,t.arg)
|
|
967
967
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
|
@@ -973,10 +973,10 @@ if(t)return t.call(e)
|
|
|
973
973
|
if("function"==typeof e.next)return e
|
|
974
974
|
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
|
|
975
975
|
return t.value=void 0,t.done=!0,t}
|
|
976
|
-
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=
|
|
977
|
-
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,
|
|
976
|
+
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=c(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
977
|
+
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
978
978
|
var a=new O(l(t,r,n,o),i)
|
|
979
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),
|
|
979
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
980
980
|
for(var n in t)r.push(n)
|
|
981
981
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
982
982
|
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
|
|
@@ -986,9 +986,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
986
986
|
var t=this
|
|
987
987
|
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
|
|
988
988
|
if("root"===i.tryLoc)return n("end")
|
|
989
|
-
if(i.tryLoc<=this.prev){var
|
|
990
|
-
if(c
|
|
991
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
989
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
990
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
991
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
992
992
|
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]
|
|
993
993
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
994
994
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -998,9 +998,9 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
998
998
|
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]
|
|
999
999
|
if(r.tryLoc===e){var n=r.completion
|
|
1000
1000
|
if("throw"===n.type){var o=n.arg
|
|
1001
|
-
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
|
|
1001
|
+
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 u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function b(e){return function(){var t=this,r=arguments
|
|
1002
1002
|
return new Promise((function(n,o){var i=e.apply(t,r)
|
|
1003
|
-
function a(e){v(i,n,o,a,
|
|
1003
|
+
function a(e){v(i,n,o,a,u,"next",e)}function u(e){v(i,n,o,a,u,"throw",e)}a(void 0)}))}}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1004
1004
|
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
|
|
1005
1005
|
if(Reflect.construct.sham)return!1
|
|
1006
1006
|
if("function"==typeof Proxy)return!0
|
|
@@ -1024,12 +1024,12 @@ for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
|
1024
1024
|
return n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SEVERITIES=void 0
|
|
1025
1025
|
var E=["Debug","Info","Warn","Err","Fatal"]
|
|
1026
1026
|
e.SEVERITIES=E
|
|
1027
|
-
var L,R=(
|
|
1027
|
+
var L,R=(u=i.computed.apply(void 0,function(e){if(Array.isArray(e))return S(e)}(L=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)}(L)||k(L)||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.")}()),c=(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")
|
|
1028
1028
|
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)
|
|
1029
|
-
var i,c,
|
|
1029
|
+
var i,u,c,l,f,s,p,y=w(v)
|
|
1030
1030
|
function v(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,v)
|
|
1031
1031
|
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
|
1032
|
-
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,
|
|
1032
|
+
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,u=[{key:"filter",get:function(){var e=this,t=[]
|
|
1033
1033
|
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
|
|
1034
1034
|
return e&&e.group?e.messages[t]:e}},{key:"hideCountInLoadMore",get:function(){var e=this.filter
|
|
1035
1035
|
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
|
|
@@ -1048,7 +1048,7 @@ if(t.force||r&&!r.env&&"env"===this.currentTab)return this.set("loadingEnv",!0),
|
|
|
1048
1048
|
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
|
|
1049
1049
|
if(t&&this.rows){var r=this.rows.find((function(e){return e.key===t}))
|
|
1050
1050
|
if(r){var n=this.findEquivalentMessageIndex(r)
|
|
1051
|
-
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,
|
|
1051
|
+
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,u,c,l,f,s,p,y
|
|
1052
1052
|
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"})
|
|
1053
1053
|
case 9:if(i=e.sent,0===(0,o.compare)(i.filter,this.filter)){e.next=12
|
|
1054
1054
|
break}return e.abrupt("return")
|
|
@@ -1058,9 +1058,9 @@ case 14:if(!(i.messages.length>0)){e.next=56
|
|
|
1058
1058
|
break}if(a=this.toObjects(i.messages),!r.before){e.next=20
|
|
1059
1059
|
break}this.rows.unshiftObjects(a),e.next=56
|
|
1060
1060
|
break
|
|
1061
|
-
case 20:
|
|
1062
|
-
case 23:if((u
|
|
1063
|
-
break}l=
|
|
1061
|
+
case 20:u=d(a),e.prev=21,u.s()
|
|
1062
|
+
case 23:if((c=u.n()).done){e.next=46
|
|
1063
|
+
break}l=c.value,f=d(this.rows),e.prev=26,f.s()
|
|
1064
1064
|
case 28:if((s=f.n()).done){e.next=36
|
|
1065
1065
|
break}if((p=s.value).key===l.key){e.next=32
|
|
1066
1066
|
break}return e.abrupt("continue",34)
|
|
@@ -1075,8 +1075,8 @@ case 44:e.next=23
|
|
|
1075
1075
|
break
|
|
1076
1076
|
case 46:e.next=51
|
|
1077
1077
|
break
|
|
1078
|
-
case 48:e.prev=48,e.t1=e.catch(21),
|
|
1079
|
-
case 51:return e.prev=51,
|
|
1078
|
+
case 48:e.prev=48,e.t1=e.catch(21),u.e(e.t1)
|
|
1079
|
+
case 51:return e.prev=51,u.f(),e.finish(51)
|
|
1080
1080
|
case 54:this.rows.addObjects(a),a.length>0&&(0,t.increaseTitleCount)(a.length)
|
|
1081
1081
|
case 56:return this.set("total",i.total),e.abrupt("return",i)
|
|
1082
1082
|
case 58:return e.prev=58,this.set("loading",!1),e.finish(58)
|
|
@@ -1087,34 +1087,34 @@ case 6:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,a
|
|
|
1087
1087
|
this.load({after:t})}else this.load({})}},{key:"showMoreBefore",value:(l=b(h().mark((function e(){var t,r,n,o
|
|
1088
1088
|
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})
|
|
1089
1089
|
case 5:o=e.sent,this.updateCanLoadMore(o)
|
|
1090
|
-
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)}))}}],
|
|
1091
|
-
e.default=R})),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,
|
|
1090
|
+
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)}))}}],u&&m(i.prototype,u),c&&m(i,c),Object.defineProperty(i,"prototype",{writable:!1}),v}(i.default),x(y.prototype,"filter",[u],Object.getOwnPropertyDescriptor(y.prototype,"filter"),y.prototype),x(y.prototype,"currentMessage",[c],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)
|
|
1091
|
+
e.default=R})),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,u,c,l,f,s,p,y,d
|
|
1092
1092
|
function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e}
|
|
1093
|
-
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",
|
|
1094
|
-
function
|
|
1095
|
-
return n(a,"_invoke",{value:j(e,r,
|
|
1093
|
+
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",u=o.toStringTag||"@@toStringTag"
|
|
1094
|
+
function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(L){c=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),u=new k(o||[])
|
|
1095
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=l
|
|
1096
1096
|
var s={}
|
|
1097
1097
|
function p(){}function y(){}function d(){}var v={}
|
|
1098
|
-
|
|
1098
|
+
c(v,i,(function(){return this}))
|
|
1099
1099
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
1100
1100
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
1101
1101
|
var g=d.prototype=p.prototype=Object.create(v)
|
|
1102
|
-
function w(e){["next","throw","return"].forEach((function(t){
|
|
1103
|
-
if("throw"!==
|
|
1104
|
-
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,
|
|
1102
|
+
function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=f(e[n],e,i)
|
|
1103
|
+
if("throw"!==c.type){var l=c.arg,s=l.value
|
|
1104
|
+
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
1105
1105
|
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"
|
|
1106
1106
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
1107
1107
|
if("completed"===n){if("throw"===o)throw i
|
|
1108
1108
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
1109
|
-
if(a){var
|
|
1110
|
-
if(
|
|
1111
|
-
return
|
|
1109
|
+
if(a){var u=P(a,r)
|
|
1110
|
+
if(u){if(u===s)continue
|
|
1111
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
1112
1112
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
1113
1113
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
1114
1114
|
n="executing"
|
|
1115
|
-
var
|
|
1116
|
-
if("normal"===
|
|
1117
|
-
return{value:
|
|
1115
|
+
var c=f(e,t,r)
|
|
1116
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===s)continue
|
|
1117
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
1118
1118
|
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
|
|
1119
1119
|
var o=f(n,e.iterator,t.arg)
|
|
1120
1120
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,s
|
|
@@ -1126,10 +1126,10 @@ if(t)return t.call(e)
|
|
|
1126
1126
|
if("function"==typeof e.next)return e
|
|
1127
1127
|
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
|
|
1128
1128
|
return t.value=void 0,t.done=!0,t}
|
|
1129
|
-
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=
|
|
1130
|
-
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,
|
|
1129
|
+
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=c(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
1130
|
+
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
1131
1131
|
var a=new O(l(t,r,n,o),i)
|
|
1132
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),
|
|
1132
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
1133
1133
|
for(var n in t)r.push(n)
|
|
1134
1134
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
1135
1135
|
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
|
|
@@ -1139,9 +1139,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
1139
1139
|
var t=this
|
|
1140
1140
|
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
|
|
1141
1141
|
if("root"===i.tryLoc)return n("end")
|
|
1142
|
-
if(i.tryLoc<=this.prev){var
|
|
1143
|
-
if(c
|
|
1144
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
1142
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
1143
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
1144
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
1145
1145
|
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]
|
|
1146
1146
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
1147
1147
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -1151,7 +1151,7 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
1151
1151
|
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]
|
|
1152
1152
|
if(r.tryLoc===e){var n=r.completion
|
|
1153
1153
|
if("throw"===n.type){var o=n.arg
|
|
1154
|
-
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
|
|
1154
|
+
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 u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1155
1155
|
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
|
|
1156
1156
|
if(Reflect.construct.sham)return!1
|
|
1157
1157
|
if("function"==typeof Proxy)return!0
|
|
@@ -1169,12 +1169,12 @@ if("object"!==_typeof(n))return n
|
|
|
1169
1169
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
1170
1170
|
return"symbol"===_typeof(t)?t:String(t)}function P(e,t,r,n,o){var i={}
|
|
1171
1171
|
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
|
|
1172
|
-
var _=(i=(0,t.gt)("count",1),a=(0,r.computed)("MAX_LEN","expanded","message.length"),
|
|
1172
|
+
var _=(i=(0,t.gt)("count",1),a=(0,r.computed)("MAX_LEN","expanded","message.length"),u=(0,r.computed)("key"),c=(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")
|
|
1173
1173
|
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)
|
|
1174
|
-
var t,r,i,a,c
|
|
1175
|
-
function l(){var e,t,r,n,o,i,a,
|
|
1174
|
+
var t,r,i,a,u,c=g(l)
|
|
1175
|
+
function l(){var e,t,r,n,o,i,a,u;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,l)
|
|
1176
1176
|
for(var f=arguments.length,s=new Array(f),p=0;p<f;p++)s[p]=arguments[p]
|
|
1177
|
-
return e=
|
|
1177
|
+
return e=c.call.apply(c,[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,u=w(e),a&&Object.defineProperty(o,i,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(u):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
|
|
1178
1178
|
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"
|
|
1179
1179
|
case 1:return"info"
|
|
1180
1180
|
case 2:return"warn"
|
|
@@ -1190,14 +1190,14 @@ case 4:return"fatal"
|
|
|
1190
1190
|
default:return"unknown"}}},{key:"fetchEnv",value:(a=h().mark((function e(){var t
|
|
1191
1191
|
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"))
|
|
1192
1192
|
case 2:t=e.sent,this.set("env",t)
|
|
1193
|
-
case 4:case"end":return e.stop()}}),e,this)})),
|
|
1193
|
+
case 4:case"end":return e.stop()}}),e,this)})),u=function(){var e=this,t=arguments
|
|
1194
1194
|
return new Promise((function(r,n){var o=a.apply(e,t)
|
|
1195
|
-
function i(e){v(o,r,n,i,
|
|
1195
|
+
function i(e){v(o,r,n,i,u,"next",e)}function u(e){v(o,r,n,i,u,"throw",e)}i(void 0)}))},function(){return u.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",[u],Object.getOwnPropertyDescriptor(y.prototype,"shareUrl"),y.prototype),P(y.prototype,"displayMessage",[c],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)
|
|
1196
1196
|
e.default=_})),define("client-app/models/pattern-item",["exports","@ember/object/computed","@ember/object"],(function(e,t,r){var n,o,i,a
|
|
1197
|
-
function
|
|
1198
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function
|
|
1197
|
+
function u(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1198
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}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=p(e)););return e}(e,t)
|
|
1199
1199
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
1200
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},
|
|
1200
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},c.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
|
|
1201
1201
|
if(Reflect.construct.sham)return!1
|
|
1202
1202
|
if("function"==typeof Proxy)return!0
|
|
1203
1203
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -1217,9 +1217,9 @@ return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumera
|
|
|
1217
1217
|
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")
|
|
1218
1218
|
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)
|
|
1219
1219
|
var t,r,n,o=f(i)
|
|
1220
|
-
function i(){var e,t,r,n,
|
|
1221
|
-
for(var
|
|
1222
|
-
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,
|
|
1220
|
+
function i(){var e,t,r,n,u;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,i)
|
|
1221
|
+
for(var c=arguments.length,l=new Array(c),f=0;f<c;f++)l[f]=arguments[f]
|
|
1222
|
+
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,u=s(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(u):void 0}),e}return t=i,r=[{key:"init",value:function(){c(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&&u(t.prototype,r),n&&u(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)
|
|
1223
1223
|
e.default=v})),define("client-app/resolver",["exports","ember-resolver"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1224
1224
|
var r=t.default
|
|
1225
1225
|
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]
|
|
@@ -1227,13 +1227,13 @@ n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Obj
|
|
|
1227
1227
|
if(Reflect.construct.sham)return!1
|
|
1228
1228
|
if("function"==typeof Proxy)return!0
|
|
1229
1229
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
1230
|
-
return function(){var r,o=
|
|
1231
|
-
if(t){var i=
|
|
1230
|
+
return function(){var r,o=c(e)
|
|
1231
|
+
if(t){var i=c(this).constructor
|
|
1232
1232
|
r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments)
|
|
1233
1233
|
return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t
|
|
1234
1234
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1235
|
-
return
|
|
1236
|
-
return e}function
|
|
1235
|
+
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")
|
|
1236
|
+
return e}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(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
|
|
1237
1237
|
var r=e[Symbol.toPrimitive]
|
|
1238
1238
|
if(void 0!==r){var o=r.call(e,t||"default")
|
|
1239
1239
|
if("object"!==n(o))return o
|
|
@@ -1241,22 +1241,22 @@ throw new TypeError("@@toPrimitive must return a primitive value.")}return("stri
|
|
|
1241
1241
|
return"symbol"===n(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1242
1242
|
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")
|
|
1243
1243
|
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)
|
|
1244
|
-
var t,n,
|
|
1244
|
+
var t,n,c,f=a(s)
|
|
1245
1245
|
function s(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,s)
|
|
1246
1246
|
for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
|
|
1247
|
-
return l(
|
|
1247
|
+
return l(u(e=f.call.apply(f,[this].concat(n))),"location",r.default.locationType),l(u(e),"rootURL",r.default.rootURL),e}return t=s,n&&o(t.prototype,n),c&&o(t,c),Object.defineProperty(t,"prototype",{writable:!1}),t}(t.default)
|
|
1248
1248
|
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
|
|
1249
|
-
function
|
|
1249
|
+
function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
|
1250
1250
|
if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return
|
|
1251
|
-
if("string"==typeof e)return
|
|
1251
|
+
if("string"==typeof e)return c(e,t)
|
|
1252
1252
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
1253
1253
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
1254
1254
|
if("Map"===r||"Set"===r)return Array.from(e)
|
|
1255
|
-
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return
|
|
1255
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
|
1256
1256
|
var n=0,o=function(){}
|
|
1257
|
-
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,
|
|
1257
|
+
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,u=!1
|
|
1258
1258
|
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
|
1259
|
-
return a=e.done,e},e:function(e){
|
|
1259
|
+
return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length)
|
|
1260
1260
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
1261
1261
|
return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1262
1262
|
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)
|
|
@@ -1279,63 +1279,63 @@ throw new TypeError("@@toPrimitive must return a primitive value.")}return("stri
|
|
|
1279
1279
|
return"symbol"===_typeof(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1280
1280
|
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")
|
|
1281
1281
|
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)
|
|
1282
|
-
var t,r,i,
|
|
1282
|
+
var t,r,i,c=p(h)
|
|
1283
1283
|
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)
|
|
1284
|
-
for(var i=arguments.length,
|
|
1285
|
-
return e=
|
|
1286
|
-
var r,i=
|
|
1284
|
+
for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l]
|
|
1285
|
+
return e=c.call.apply(c,[this].concat(u)),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)
|
|
1286
|
+
var r,i=u(n.SEVERITIES)
|
|
1287
1287
|
try{for(i.s();!(r=i.n()).done;){var a=r.value
|
|
1288
1288
|
t.set("show".concat(a),e["show".concat(a)])}}catch(s){i.e(s)}finally{i.f()}t.reload()
|
|
1289
|
-
var
|
|
1290
|
-
this.refreshInterval=setInterval((function(){if(!t.loading){
|
|
1289
|
+
var c=0,l=1
|
|
1290
|
+
this.refreshInterval=setInterval((function(){if(!t.loading){c+=1
|
|
1291
1291
|
var e=(0,o.isHidden)(),r=!e
|
|
1292
|
-
e&&
|
|
1292
|
+
e&&c%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)
|
|
1293
1293
|
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]
|
|
1294
1294
|
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
|
|
1295
1295
|
var r=e[Symbol.toPrimitive]
|
|
1296
1296
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
1297
1297
|
if("object"!==_typeof(n))return n
|
|
1298
|
-
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=
|
|
1298
|
+
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=c(e)););return e}(e,t)
|
|
1299
1299
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
1300
|
-
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
|
|
1300
|
+
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 u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
1301
1301
|
if(Reflect.construct.sham)return!1
|
|
1302
1302
|
if("function"==typeof Proxy)return!0
|
|
1303
1303
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
1304
|
-
return function(){var r,n=
|
|
1305
|
-
if(t){var o=
|
|
1304
|
+
return function(){var r,n=c(e)
|
|
1305
|
+
if(t){var o=c(this).constructor
|
|
1306
1306
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
1307
1307
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
1308
1308
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1309
1309
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
1310
|
-
return e}(e)}(this,r)}}function
|
|
1310
|
+
return e}(e)}(this,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1311
1311
|
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")
|
|
1312
1312
|
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)
|
|
1313
|
-
var t,l,f,s=
|
|
1314
|
-
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(
|
|
1315
|
-
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)})),
|
|
1316
|
-
e.setProperties({showCodedSuppression:l,codedSuppression:o,customSuppression:a,grouping:
|
|
1313
|
+
var t,l,f,s=u(p)
|
|
1314
|
+
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(c(p.prototype),"setupController",this).apply(this,arguments)
|
|
1315
|
+
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)})),u=t.grouping.map((function(e){return n.default.create(e)})),l=o.length>0
|
|
1316
|
+
e.setProperties({showCodedSuppression:l,codedSuppression:o,customSuppression:a,grouping:u})}}],l&&o(t.prototype,l),f&&o(t,f),Object.defineProperty(t,"prototype",{writable:!1}),p}(t.default)
|
|
1317
1317
|
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]
|
|
1318
1318
|
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
|
|
1319
1319
|
var r=e[Symbol.toPrimitive]
|
|
1320
1320
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
1321
1321
|
if("object"!==_typeof(n))return n
|
|
1322
|
-
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=
|
|
1322
|
+
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=c(e)););return e}(e,t)
|
|
1323
1323
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
1324
|
-
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
|
|
1324
|
+
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 u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
1325
1325
|
if(Reflect.construct.sham)return!1
|
|
1326
1326
|
if("function"==typeof Proxy)return!0
|
|
1327
1327
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
1328
|
-
return function(){var r,n=
|
|
1329
|
-
if(t){var o=
|
|
1328
|
+
return function(){var r,n=c(e)
|
|
1329
|
+
if(t){var o=c(this).constructor
|
|
1330
1330
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
1331
1331
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
1332
1332
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1333
1333
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
1334
|
-
return e}(e)}(this,r)}}function
|
|
1334
|
+
return e}(e)}(this,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1335
1335
|
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")
|
|
1336
1336
|
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)
|
|
1337
|
-
var t,l,f,s=
|
|
1338
|
-
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(
|
|
1337
|
+
var t,l,f,s=u(p)
|
|
1338
|
+
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(c(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)
|
|
1339
1339
|
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]
|
|
1340
1340
|
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
|
|
1341
1341
|
var r=e[Symbol.toPrimitive]
|
|
@@ -1352,11 +1352,11 @@ return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return
|
|
|
1352
1352
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1353
1353
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
1354
1354
|
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
|
|
1355
|
-
var
|
|
1356
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)})(
|
|
1357
|
-
var t,r,a,
|
|
1358
|
-
function
|
|
1359
|
-
e.default=
|
|
1355
|
+
var u=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
1356
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)})(c,e)
|
|
1357
|
+
var t,r,a,u=i(c)
|
|
1358
|
+
function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.apply(this,arguments)}return t=c,r&&n(t.prototype,r),a&&n(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(t.default.extend(r.default))
|
|
1359
|
+
e.default=u})),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
|
|
1360
1360
|
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})
|
|
1361
1361
|
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
|
|
1362
1362
|
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})
|
|
@@ -1387,4 +1387,4 @@ var r=(0,t.createTemplateFactory)({id:"qqSpoh9d",block:'[[[10,0],[14,0,"settings
|
|
|
1387
1387
|
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
|
|
1388
1388
|
var r=(0,t.createTemplateFactory)({id:"d6AYgHoB",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","@removeMessage","@solveMessage","@envChangedAction","@currentEnvPosition","@actionsInMenu"],[[30,0,["model"]],"true",[30,0,["removeMessage"]],[30,0,["solveMessage"]],[30,0,["envChanged"]],[30,0,["envPosition"]],false]],null],[1,"\\n"],[13]],[],false,["link-to","message-info"]]',moduleName:"client-app/templates/show.hbs",isStrictMode:!1})
|
|
1389
1389
|
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))}
|
|
1390
|
-
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+
|
|
1390
|
+
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+25375250"})
|