UNPKG

p3x-redis-ui-material

Version:

💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io

33 lines (24 loc) • 2.48 MB
/*! @license p3x-redis-ui-material v2020.10.418 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io https://corifeus.com/redis-ui-material Copyright (c) 2020 Patrik Laszlo / P3X / Corifeus and contributors. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information about all licenses, please see bundle.bd9de15fff31adf12ae9.js.LICENSE.txt */ !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=118)}([function(e,t,n){"use strict";(function(e){n.d(t,"M",(function(){return a})),n.d(t,"x",(function(){return l})),n.d(t,"Q",(function(){return d})),n.d(t,"w",(function(){return u})),n.d(t,"r",(function(){return h})),n.d(t,"q",(function(){return p})),n.d(t,"y",(function(){return f})),n.d(t,"E",(function(){return m})),n.d(t,"n",(function(){return g})),n.d(t,"A",(function(){return v})),n.d(t,"z",(function(){return b})),n.d(t,"b",(function(){return y})),n.d(t,"L",(function(){return C})),n.d(t,"d",(function(){return w})),n.d(t,"K",(function(){return $})),n.d(t,"c",(function(){return A})),n.d(t,"p",(function(){return x})),n.d(t,"o",(function(){return I})),n.d(t,"D",(function(){return E})),n.d(t,"f",(function(){return k})),n.d(t,"H",(function(){return S})),n.d(t,"F",(function(){return T})),n.d(t,"I",(function(){return M})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return R})),n.d(t,"C",(function(){return O})),n.d(t,"B",(function(){return L})),n.d(t,"U",(function(){return N})),n.d(t,"e",(function(){return D})),n.d(t,"g",(function(){return P})),n.d(t,"T",(function(){return H})),n.d(t,"v",(function(){return j})),n.d(t,"J",(function(){return F})),n.d(t,"R",(function(){return B})),n.d(t,"S",(function(){return V})),n.d(t,"u",(function(){return W})),n.d(t,"l",(function(){return U})),n.d(t,"k",(function(){return G})),n.d(t,"j",(function(){return K})),n.d(t,"G",(function(){return z})),n.d(t,"i",(function(){return Z})),n.d(t,"h",(function(){return Y})),n.d(t,"P",(function(){return X})),n.d(t,"m",(function(){return q})),n.d(t,"a",(function(){return J})),n.d(t,"N",(function(){return ee})),n.d(t,"O",(function(){return te}));var i=n(1),r=n(3),o=n(5),s=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i},a="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||void 0,c=a.angular||{},l=c.fromJson||JSON.parse.bind(JSON),d=c.toJson||JSON.stringify.bind(JSON),u=c.forEach||function(e,t,n){if(Object(i.a)(e))return e.forEach(t,n);Object.keys(e).forEach((function(n){return t(e[n],n)}))},h=Object.assign||J,p=c.equals||Q;function f(e){return e}function m(){}function g(e,t,n,i,r){void 0===r&&(r=!1);var o=function(t){return e()[t].bind(n())};return(i=i||Object.keys(e())).reduce((function(e,n){var i;return e[n]=r?(i=n,function(){return t[i]=o(i),t[i].apply(null,arguments)}):o(n),e}),t)}var v=function(e,t){return h(Object.create(e),t)},b=Object(r.e)(y);function y(e,t){return-1!==e.indexOf(t)}var C=Object(r.e)(w);function w(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),e}var $=Object(r.e)(A);function A(e,t){return e.push(t),t}var x=function(e){return e.slice().forEach((function(t){"function"==typeof t&&t(),C(e,t)}))};function I(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=h.apply(void 0,s([{}],t.reverse()));return h(i,S(e||{},Object.keys(i)))}var E=function(e,t){return h(e,t)};function k(e,t){var n=[];for(var i in e.path){if(e.path[i]!==t.path[i])break;n.push(e.path[i])}return n}function S(e,t){var n={};for(var i in e)-1!==t.indexOf(i)&&(n[i]=e[i]);return n}function T(e,t){return Object.keys(e).filter(Object(r.i)(b(t))).reduce((function(t,n){return t[n]=e[n],t}),{})}function M(e,t){return L(e,Object(r.n)(t))}function _(e,t){var n=Object(i.a)(e),r=n?[]:{},o=n?function(e){return r.push(e)}:function(e,t){return r[t]=e};return u(e,(function(e,n){t(e,n)&&o(e,n)})),r}function R(e,t){var n;return u(e,(function(e,i){n||t(e,i)&&(n=e)})),n}var O=L;function L(e,t,n){return n=n||(Object(i.a)(e)?[]:{}),u(e,(function(e,i){return n[i]=t(e,i)})),n}var N=function(e){return Object.keys(e).map((function(t){return e[t]}))},D=function(e,t){return e&&t},P=function(e,t){return e||t},H=function(e,t){return e.concat(t)},j=function(e,t){return Object(i.a)(t)?e.concat(t.reduce(j,[])):F(e,t)};function F(e,t){return e.push(t),e}var B=function(e,t){return b(e,t)?e:F(e,t)},V=function(e){return e.reduce(H,[])},W=function(e){return e.reduce(j,[])},U=K,G=K;function K(e,t){return void 0===t&&(t="assert failure"),function(n){var r=e(n);if(!r)throw new Error(Object(i.d)(t)?t(n):t);return r}}var z=function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};function Z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];for(var n=e.reduce((function(e,t){return Math.min(t.length,e)}),9007199254740991),i=[],r=function(t){switch(e.length){case 1:i.push([e[0][t]]);break;case 2:i.push([e[0][t],e[1][t]]);break;case 3:i.push([e[0][t],e[1][t],e[2][t]]);break;case 4:i.push([e[0][t],e[1][t],e[2][t],e[3][t]]);break;default:i.push(e.map((function(e){return e[t]})))}},o=0;o<n;o++)r(o);return i}function Y(e,t){var n,r;if(Object(i.a)(t)&&(n=t[0],r=t[1]),!Object(i.l)(n))throw new Error("invalid parameters to applyPairs");return e[n]=r,e}function X(e){return e.length&&e[e.length-1]||void 0}function q(e,t){return t&&Object.keys(t).forEach((function(e){return delete t[e]})),t||(t={}),h(t,e)}function J(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var i=Object.keys(n),r=0;r<i.length;r++)e[i[r]]=n[i[r]]}return e}function Q(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n=typeof e;if(n!==typeof t||"object"!==n)return!1;var o,s,a=[e,t];if(Object(r.a)(i.a)(a))return s=t,(o=e).length===s.length&&Z(o,s).reduce((function(e,t){return e&&Q(t[0],t[1])}),!0);if(Object(r.a)(i.b)(a))return e.getTime()===t.getTime();if(Object(r.a)(i.k)(a))return e.toString()===t.toString();if(Object(r.a)(i.d)(a))return!0;if([i.d,i.a,i.b,i.k].map(r.c).reduce((function(e,t){return e||!!t(a)}),!1))return!1;var c={};for(var l in e){if(!Q(e[l],t[l]))return!1;c[l]=!0}for(var l in t)if(!c[l])return!1;return!0}var ee=function(e){return e.catch((function(e){return 0}))&&e},te=function(e){return ee(o.b.$q.reject(e))}}).call(this,n(10))},function(e,t,n){"use strict";n.d(t,"m",(function(){return s})),n.d(t,"c",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"h",(function(){return u})),n.d(t,"l",(function(){return h})),n.d(t,"i",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"e",(function(){return v})),n.d(t,"j",(function(){return b}));var i=n(3),r=Object.prototype.toString,o=function(e){return function(t){return typeof t===e}},s=o("undefined"),a=Object(i.i)(s),c=function(e){return null===e},l=Object(i.j)(c,s),d=o("function"),u=o("number"),h=o("string"),p=function(e){return null!==e&&"object"==typeof e},f=Array.isArray,m=function(e){return"[object Date]"===r.call(e)},g=function(e){return"[object RegExp]"===r.call(e)};function v(e){if(f(e)&&e.length){var t=e.slice(0,-1),n=e.slice(-1);return!(t.filter(Object(i.i)(h)).length||n.filter(Object(i.i)(d)).length)}return d(e)}var b=Object(i.b)(p,Object(i.m)(Object(i.n)("then"),d))},function(e,t,n){"use strict";n.r(t);var i=n(4);n.d(t,"root",(function(){return i.Bb})),n.d(t,"fromJson",(function(){return i.J})),n.d(t,"toJson",(function(){return i.Mb})),n.d(t,"forEach",(function(){return i.I})),n.d(t,"extend",(function(){return i.C})),n.d(t,"equals",(function(){return i.B})),n.d(t,"identity",(function(){return i.M})),n.d(t,"noop",(function(){return i.lb})),n.d(t,"createProxyFunctions",(function(){return i.w})),n.d(t,"inherit",(function(){return i.O})),n.d(t,"inArray",(function(){return i.N})),n.d(t,"_inArray",(function(){return i.f})),n.d(t,"removeFrom",(function(){return i.Ab})),n.d(t,"_removeFrom",(function(){return i.h})),n.d(t,"pushTo",(function(){return i.zb})),n.d(t,"_pushTo",(function(){return i.g})),n.d(t,"deregAll",(function(){return i.z})),n.d(t,"defaults",(function(){return i.y})),n.d(t,"mergeR",(function(){return i.kb})),n.d(t,"ancestors",(function(){return i.k})),n.d(t,"pick",(function(){return i.tb})),n.d(t,"omit",(function(){return i.nb})),n.d(t,"pluck",(function(){return i.vb})),n.d(t,"filter",(function(){return i.D})),n.d(t,"find",(function(){return i.E})),n.d(t,"mapObj",(function(){return i.ib})),n.d(t,"map",(function(){return i.hb})),n.d(t,"values",(function(){return i.Tb})),n.d(t,"allTrueR",(function(){return i.j})),n.d(t,"anyTrueR",(function(){return i.n})),n.d(t,"unnestR",(function(){return i.Rb})),n.d(t,"flattenR",(function(){return i.G})),n.d(t,"pushR",(function(){return i.yb})),n.d(t,"uniqR",(function(){return i.Pb})),n.d(t,"unnest",(function(){return i.Qb})),n.d(t,"flatten",(function(){return i.F})),n.d(t,"assertPredicate",(function(){return i.s})),n.d(t,"assertMap",(function(){return i.r})),n.d(t,"assertFn",(function(){return i.q})),n.d(t,"pairs",(function(){return i.qb})),n.d(t,"arrayTuples",(function(){return i.p})),n.d(t,"applyPairs",(function(){return i.o})),n.d(t,"tail",(function(){return i.Lb})),n.d(t,"copy",(function(){return i.v})),n.d(t,"_extend",(function(){return i.e})),n.d(t,"silenceUncaughtInPromise",(function(){return i.Db})),n.d(t,"silentRejection",(function(){return i.Eb})),n.d(t,"makeStub",(function(){return i.gb})),n.d(t,"services",(function(){return i.Cb})),n.d(t,"Glob",(function(){return i.b})),n.d(t,"curry",(function(){return i.x})),n.d(t,"compose",(function(){return i.u})),n.d(t,"pipe",(function(){return i.ub})),n.d(t,"prop",(function(){return i.wb})),n.d(t,"propEq",(function(){return i.xb})),n.d(t,"parse",(function(){return i.rb})),n.d(t,"not",(function(){return i.mb})),n.d(t,"and",(function(){return i.l})),n.d(t,"or",(function(){return i.ob})),n.d(t,"all",(function(){return i.i})),n.d(t,"any",(function(){return i.m})),n.d(t,"is",(function(){return i.Q})),n.d(t,"eq",(function(){return i.A})),n.d(t,"val",(function(){return i.Sb})),n.d(t,"invoke",(function(){return i.P})),n.d(t,"pattern",(function(){return i.sb})),n.d(t,"isUndefined",(function(){return i.db})),n.d(t,"isDefined",(function(){return i.T})),n.d(t,"isNull",(function(){return i.W})),n.d(t,"isNullOrUndefined",(function(){return i.X})),n.d(t,"isFunction",(function(){return i.U})),n.d(t,"isNumber",(function(){return i.Y})),n.d(t,"isString",(function(){return i.cb})),n.d(t,"isObject",(function(){return i.Z})),n.d(t,"isArray",(function(){return i.R})),n.d(t,"isDate",(function(){return i.S})),n.d(t,"isRegExp",(function(){return i.bb})),n.d(t,"isInjectable",(function(){return i.V})),n.d(t,"isPromise",(function(){return i.ab})),n.d(t,"Queue",(function(){return i.c})),n.d(t,"maxLength",(function(){return i.jb})),n.d(t,"padString",(function(){return i.pb})),n.d(t,"kebobString",(function(){return i.fb})),n.d(t,"functionToString",(function(){return i.K})),n.d(t,"fnToString",(function(){return i.H})),n.d(t,"stringify",(function(){return i.Jb})),n.d(t,"beforeAfterSubstr",(function(){return i.t})),n.d(t,"hostRegex",(function(){return i.L})),n.d(t,"stripLastPathElement",(function(){return i.Kb})),n.d(t,"splitHash",(function(){return i.Gb})),n.d(t,"splitQuery",(function(){return i.Ib})),n.d(t,"splitEqual",(function(){return i.Fb})),n.d(t,"trimHashVal",(function(){return i.Ob})),n.d(t,"splitOnDelim",(function(){return i.Hb})),n.d(t,"joinNeighborsR",(function(){return i.eb})),n.d(t,"Category",(function(){return i.a})),n.d(t,"Trace",(function(){return i.d})),n.d(t,"trace",(function(){return i.Nb}));var r=n(19);for(var o in r)["default","root","fromJson","toJson","forEach","extend","equals","identity","noop","createProxyFunctions","inherit","inArray","_inArray","removeFrom","_removeFrom","pushTo","_pushTo","deregAll","defaults","mergeR","ancestors","pick","omit","pluck","filter","find","mapObj","map","values","allTrueR","anyTrueR","unnestR","flattenR","pushR","uniqR","unnest","flatten","assertPredicate","assertMap","assertFn","pairs","arrayTuples","applyPairs","tail","copy","_extend","silenceUncaughtInPromise","silentRejection","makeStub","services","Glob","curry","compose","pipe","prop","propEq","parse","not","and","or","all","any","is","eq","val","invoke","pattern","isUndefined","isDefined","isNull","isNullOrUndefined","isFunction","isNumber","isString","isObject","isArray","isDate","isRegExp","isInjectable","isPromise","Queue","maxLength","padString","kebobString","functionToString","fnToString","stringify","beforeAfterSubstr","hostRegex","stripLastPathElement","splitHash","splitQuery","splitEqual","trimHashVal","splitOnDelim","joinNeighborsR","Category","Trace","trace"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var s=n(100);n.d(t,"PathNode",(function(){return s.a})),n.d(t,"PathUtils",(function(){return s.b}));var a=n(22);n.d(t,"resolvePolicies",(function(){return a.e})),n.d(t,"defaultResolvePolicy",(function(){return a.d})),n.d(t,"Resolvable",(function(){return a.b})),n.d(t,"NATIVE_INJECTOR_TOKEN",(function(){return a.a})),n.d(t,"ResolveContext",(function(){return a.c}));var c=n(24);for(var o in c)["default","root","fromJson","toJson","forEach","extend","equals","identity","noop","createProxyFunctions","inherit","inArray","_inArray","removeFrom","_removeFrom","pushTo","_pushTo","deregAll","defaults","mergeR","ancestors","pick","omit","pluck","filter","find","mapObj","map","values","allTrueR","anyTrueR","unnestR","flattenR","pushR","uniqR","unnest","flatten","assertPredicate","assertMap","assertFn","pairs","arrayTuples","applyPairs","tail","copy","_extend","silenceUncaughtInPromise","silentRejection","makeStub","services","Glob","curry","compose","pipe","prop","propEq","parse","not","and","or","all","any","is","eq","val","invoke","pattern","isUndefined","isDefined","isNull","isNullOrUndefined","isFunction","isNumber","isString","isObject","isArray","isDate","isRegExp","isInjectable","isPromise","Queue","maxLength","padString","kebobString","functionToString","fnToString","stringify","beforeAfterSubstr","hostRegex","stripLastPathElement","splitHash","splitQuery","splitEqual","trimHashVal","splitOnDelim","joinNeighborsR","Category","Trace","trace","PathNode","PathUtils","resolvePolicies","defaultResolvePolicy","Resolvable","NATIVE_INJECTOR_TOKEN","ResolveContext"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(o);var l=n(102);n.d(t,"TransitionHookPhase",(function(){return l.h})),n.d(t,"TransitionHookScope",(function(){return l.i})),n.d(t,"HookBuilder",(function(){return l.a})),n.d(t,"matchState",(function(){return l.m})),n.d(t,"RegisteredHook",(function(){return l.b})),n.d(t,"makeEvent",(function(){return l.l})),n.d(t,"RejectType",(function(){return l.c})),n.d(t,"Rejection",(function(){return l.d})),n.d(t,"Transition",(function(){return l.e})),n.d(t,"TransitionHook",(function(){return l.g})),n.d(t,"TransitionEventType",(function(){return l.f})),n.d(t,"defaultTransOpts",(function(){return l.k})),n.d(t,"TransitionService",(function(){return l.j}));var d=n(103);for(var o in d)["default","root","fromJson","toJson","forEach","extend","equals","identity","noop","createProxyFunctions","inherit","inArray","_inArray","removeFrom","_removeFrom","pushTo","_pushTo","deregAll","defaults","mergeR","ancestors","pick","omit","pluck","filter","find","mapObj","map","values","allTrueR","anyTrueR","unnestR","flattenR","pushR","uniqR","unnest","flatten","assertPredicate","assertMap","assertFn","pairs","arrayTuples","applyPairs","tail","copy","_extend","silenceUncaughtInPromise","silentRejection","makeStub","services","Glob","curry","compose","pipe","prop","propEq","parse","not","and","or","all","any","is","eq","val","invoke","pattern","isUndefined","isDefined","isNull","isNullOrUndefined","isFunction","isNumber","isString","isObject","isArray","isDate","isRegExp","isInjectable","isPromise","Queue","maxLength","padString","kebobString","functionToString","fnToString","stringify","beforeAfterSubstr","hostRegex","stripLastPathElement","splitHash","splitQuery","splitEqual","trimHashVal","splitOnDelim","joinNeighborsR","Category","Trace","trace","PathNode","PathUtils","resolvePolicies","defaultResolvePolicy","Resolvable","NATIVE_INJECTOR_TOKEN","ResolveContext","TransitionHookPhase","TransitionHookScope","HookBuilder","matchState","RegisteredHook","makeEvent","RejectType","Rejection","Transition","TransitionHook","TransitionEventType","defaultTransOpts","TransitionService"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return d[e]}))}(o);var u=n(105);for(var o in u)["default","root","fromJson","toJson","forEach","extend","equals","identity","noop","createProxyFunctions","inherit","inArray","_inArray","removeFrom","_removeFrom","pushTo","_pushTo","deregAll","defaults","mergeR","ancestors","pick","omit","pluck","filter","find","mapObj","map","values","allTrueR","anyTrueR","unnestR","flattenR","pushR","uniqR","unnest","flatten","assertPredicate","assertMap","assertFn","pairs","arrayTuples","applyPairs","tail","copy","_extend","silenceUncaughtInPromise","silentRejection","makeStub","services","Glob","curry","compose","pipe","prop","propEq","parse","not","and","or","all","any","is","eq","val","invoke","pattern","isUndefined","isDefined","isNull","isNullOrUndefined","isFunction","isNumber","isString","isObject","isArray","isDate","isRegExp","isInjectable","isPromise","Queue","maxLength","padString","kebobString","functionToString","fnToString","stringify","beforeAfterSubstr","hostRegex","stripLastPathElement","splitHash","splitQuery","splitEqual","trimHashVal","splitOnDelim","joinNeighborsR","Category","Trace","trace","PathNode","PathUtils","resolvePolicies","defaultResolvePolicy","Resolvable","NATIVE_INJECTOR_TOKEN","ResolveContext","TransitionHookPhase","TransitionHookScope","HookBuilder","matchState","RegisteredHook","makeEvent","RejectType","Rejection","Transition","TransitionHook","TransitionEventType","defaultTransOpts","TransitionService"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(o);var h=n(59);n.d(t,"UIRouterGlobals",(function(){return h.a}));var p=n(55);n.d(t,"UIRouter",(function(){return p.a}));var f=n(107);for(var o in f)["default","root","fromJson","toJson","forEach","extend","equals","identity","noop","createProxyFunctions","inherit","inArray","_inArray","removeFrom","_removeFrom","pushTo","_pushTo","deregAll","defaults","mergeR","ancestors","pick","omit","pluck","filter","find","mapObj","map","values","allTrueR","anyTrueR","unnestR","flattenR","pushR","uniqR","unnest","flatten","assertPredicate","assertMap","assertFn","pairs","arrayTuples","applyPairs","tail","copy","_extend","silenceUncaughtInPromise","silentRejection","makeStub","services","Glob","curry","compose","pipe","prop","propEq","parse","not","and","or","all","any","is","eq","val","invoke","pattern","isUndefined","isDefined","isNull","isNullOrUndefined","isFunction","isNumber","isString","isObject","isArray","isDate","isRegExp","isInjectable","isPromise","Queue","maxLength","padString","kebobString","functionToString","fnToString","stringify","beforeAfterSubstr","hostRegex","stripLastPathElement","splitHash","splitQuery","splitEqual","trimHashVal","splitOnDelim","joinNeighborsR","Category","Trace","trace","PathNode","PathUtils","resolvePolicies","defaultResolvePolicy","Resolvable","NATIVE_INJECTOR_TOKEN","ResolveContext","TransitionHookPhase","TransitionHookScope","HookBuilder","matchState","RegisteredHook","makeEvent","RejectType","Rejection","Transition","TransitionHook","TransitionEventType","defaultTransOpts","TransitionService","UIRouterGlobals","UIRouter"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return f[e]}))}(o);var m=n(111);n.d(t,"UIRouterPluginBase",(function(){return m.a}))},function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"m",(function(){return s})),n.d(t,"n",(function(){return a})),n.d(t,"o",(function(){return c})),n.d(t,"k",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"j",(function(){return h})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"p",(function(){return v})),n.d(t,"g",(function(){return b})),n.d(t,"l",(function(){return y}));var i=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i};function r(e){return function t(){if(arguments.length>=e.length)return e.apply(this,arguments);var n=Array.prototype.slice.call(arguments);return t.bind.apply(t,i([this],n))}}function o(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}}function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.apply(null,[].slice.call(arguments).reverse())}var a=function(e){return function(t){return t&&t[e]}},c=r((function(e,t,n){return n&&n[e]===t})),l=function(e){return s.apply(null,e.split(".").map(a))},d=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!e.apply(null,t)}};function u(e,t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e.apply(null,n)&&t.apply(null,n)}}function h(e,t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e.apply(null,n)||t.apply(null,n)}}var p=function(e){return function(t){return t.reduce((function(t,n){return t&&!!e(n)}),!0)}},f=function(e){return function(t){return t.reduce((function(t,n){return t||!!e(n)}),!1)}},m=function(e){return function(t){return null!=t&&t.constructor===e||t instanceof e}},g=function(e){return function(t){return e===t}},v=function(e){return function(){return e}};function b(e,t){return function(n){return n[e].apply(n,t)}}function y(e){return function(t){for(var n=0;n<e.length;n++)if(e[n][0](t))return e[n][1](t)}}},function(e,t,n){"use strict";var i=n(0);n.d(t,"e",(function(){return i.a})),n.d(t,"f",(function(){return i.b})),n.d(t,"g",(function(){return i.c})),n.d(t,"h",(function(){return i.d})),n.d(t,"j",(function(){return i.e})),n.d(t,"k",(function(){return i.f})),n.d(t,"n",(function(){return i.g})),n.d(t,"o",(function(){return i.h})),n.d(t,"p",(function(){return i.i})),n.d(t,"q",(function(){return i.j})),n.d(t,"r",(function(){return i.k})),n.d(t,"s",(function(){return i.l})),n.d(t,"v",(function(){return i.m})),n.d(t,"w",(function(){return i.n})),n.d(t,"y",(function(){return i.o})),n.d(t,"z",(function(){return i.p})),n.d(t,"B",(function(){return i.q})),n.d(t,"C",(function(){return i.r})),n.d(t,"D",(function(){return i.s})),n.d(t,"E",(function(){return i.t})),n.d(t,"F",(function(){return i.u})),n.d(t,"G",(function(){return i.v})),n.d(t,"I",(function(){return i.w})),n.d(t,"J",(function(){return i.x})),n.d(t,"M",(function(){return i.y})),n.d(t,"N",(function(){return i.z})),n.d(t,"O",(function(){return i.A})),n.d(t,"hb",(function(){return i.B})),n.d(t,"ib",(function(){return i.C})),n.d(t,"kb",(function(){return i.D})),n.d(t,"lb",(function(){return i.E})),n.d(t,"nb",(function(){return i.F})),n.d(t,"qb",(function(){return i.G})),n.d(t,"tb",(function(){return i.H})),n.d(t,"vb",(function(){return i.I})),n.d(t,"yb",(function(){return i.J})),n.d(t,"zb",(function(){return i.K})),n.d(t,"Ab",(function(){return i.L})),n.d(t,"Bb",(function(){return i.M})),n.d(t,"Db",(function(){return i.N})),n.d(t,"Eb",(function(){return i.O})),n.d(t,"Lb",(function(){return i.P})),n.d(t,"Mb",(function(){return i.Q})),n.d(t,"Pb",(function(){return i.R})),n.d(t,"Qb",(function(){return i.S})),n.d(t,"Rb",(function(){return i.T})),n.d(t,"Tb",(function(){return i.U}));var r=n(5);n.d(t,"gb",(function(){return r.a})),n.d(t,"Cb",(function(){return r.b}));var o=n(37);n.d(t,"b",(function(){return o.a}));var s=n(3);n.d(t,"i",(function(){return s.a})),n.d(t,"l",(function(){return s.b})),n.d(t,"m",(function(){return s.c})),n.d(t,"u",(function(){return s.d})),n.d(t,"x",(function(){return s.e})),n.d(t,"A",(function(){return s.f})),n.d(t,"P",(function(){return s.g})),n.d(t,"Q",(function(){return s.h})),n.d(t,"mb",(function(){return s.i})),n.d(t,"ob",(function(){return s.j})),n.d(t,"rb",(function(){return s.k})),n.d(t,"sb",(function(){return s.l})),n.d(t,"ub",(function(){return s.m})),n.d(t,"wb",(function(){return s.n})),n.d(t,"xb",(function(){return s.o})),n.d(t,"Sb",(function(){return s.p}));var a=n(1);n.d(t,"R",(function(){return a.a})),n.d(t,"S",(function(){return a.b})),n.d(t,"T",(function(){return a.c})),n.d(t,"U",(function(){return a.d})),n.d(t,"V",(function(){return a.e})),n.d(t,"W",(function(){return a.f})),n.d(t,"X",(function(){return a.g})),n.d(t,"Y",(function(){return a.h})),n.d(t,"Z",(function(){return a.i})),n.d(t,"ab",(function(){return a.j})),n.d(t,"bb",(function(){return a.k})),n.d(t,"cb",(function(){return a.l})),n.d(t,"db",(function(){return a.m}));var c=n(28);n.d(t,"c",(function(){return c.a}));var l=n(6);n.d(t,"t",(function(){return l.a})),n.d(t,"H",(function(){return l.b})),n.d(t,"K",(function(){return l.c})),n.d(t,"L",(function(){return l.d})),n.d(t,"eb",(function(){return l.e})),n.d(t,"fb",(function(){return l.f})),n.d(t,"jb",(function(){return l.g})),n.d(t,"pb",(function(){return l.h})),n.d(t,"Fb",(function(){return l.i})),n.d(t,"Gb",(function(){return l.j})),n.d(t,"Hb",(function(){return l.k})),n.d(t,"Ib",(function(){return l.l})),n.d(t,"Jb",(function(){return l.m})),n.d(t,"Kb",(function(){return l.n})),n.d(t,"Ob",(function(){return l.o}));var d=n(8);n.d(t,"a",(function(){return d.a})),n.d(t,"d",(function(){return d.b})),n.d(t,"Nb",(function(){return d.c}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var i=function(e,t){return t.reduce((function(t,n){return t[n]=(i=e+"."+n+"()",function(){throw new Error("No implementation for "+i+". The framework specific code did not implement this method.")}),t;var i}),{})},r={$q:void 0,$injector:void 0}},function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"m",(function(){return f})),n.d(t,"a",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"n",(function(){return v})),n.d(t,"j",(function(){return b})),n.d(t,"l",(function(){return y})),n.d(t,"i",(function(){return C})),n.d(t,"o",(function(){return w})),n.d(t,"k",(function(){return $})),n.d(t,"e",(function(){return A}));var i=n(1),r=n(7),o=n(0),s=n(3);function a(e,t){return t.length<=e?t:t.substr(0,e-3)+"..."}function c(e,t){for(;t.length<e;)t+=" ";return t}function l(e){return e.replace(/^([A-Z])/,(function(e){return e.toLowerCase()})).replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))}function d(e){var t=u(e),n=t.match(/^(function [^ ]+\([^)]*\))/),i=n?n[1]:t,r=e.name||"";return r&&i.match(/function \(/)?"function "+r+i.substr(9):i}function u(e){var t=Object(i.a)(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}var h=r.b.isRejectionPromise,p=Object(s.l)([[i.m,Object(s.p)("undefined")],[i.f,Object(s.p)("null")],[i.j,Object(s.p)("[Promise]")],[h,function(e){return e._transitionRejection.toString()}],[function(e){return Object(i.i)(e)&&!Object(i.a)(e)&&e.constructor!==Object&&Object(i.d)(e.toString)},function(e){return e.toString()}],[i.e,d],[Object(s.p)(!0),o.y]]);function f(e){var t=[];function n(e){if(Object(i.i)(e)){if(-1!==t.indexOf(e))return"[circular ref]";t.push(e)}return p(e)}return Object(i.m)(e)?n(e):JSON.stringify(e,(function(e,t){return n(t)})).replace(/\\"/g,'"')}var m=function(e){return function(t){if(!t)return["",""];var n=t.indexOf(e);return-1===n?[t,""]:[t.substr(0,n),t.substr(n+1)]}},g=new RegExp("^(?:[a-z]+:)?//[^/]+/"),v=function(e){return e.replace(/\/[^/]*$/,"")},b=m("#"),y=m("?"),C=m("="),w=function(e){return e?e.replace(/^#/,""):""};function $(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(o.y)}}function A(e,t){return Object(i.l)(Object(o.P)(e))&&Object(i.l)(t)?e.slice(0,-1).concat(Object(o.P)(e)+t):Object(o.J)(e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var i,r=n(0),o=n(6),s=n(3);!function(e){e[e.SUPERSEDED=2]="SUPERSEDED",e[e.ABORTED=3]="ABORTED",e[e.INVALID=4]="INVALID",e[e.IGNORED=5]="IGNORED",e[e.ERROR=6]="ERROR"}(i||(i={}));var a=0,c=function(){function e(e,t,n){this.$id=a++,this.type=e,this.message=t,this.detail=n}return e.isRejectionPromise=function(t){return t&&"function"==typeof t.then&&Object(s.h)(e)(t._transitionRejection)},e.superseded=function(t,n){var r=new e(i.SUPERSEDED,"The transition has been superseded by a different transition",t);return n&&n.redirected&&(r.redirected=!0),r},e.redirected=function(t){return e.superseded(t,{redirected:!0})},e.invalid=function(t){return new e(i.INVALID,"This transition is invalid",t)},e.ignored=function(t){return new e(i.IGNORED,"The transition was ignored",t)},e.aborted=function(t){return new e(i.ABORTED,"The transition has been aborted",t)},e.errored=function(t){return new e(i.ERROR,"The transition errored",t)},e.normalize=function(t){return Object(s.h)(e)(t)?t:e.errored(t)},e.prototype.toString=function(){var e,t=(e=this.detail)&&e.toString!==Object.prototype.toString?e.toString():Object(o.m)(e),n=this;return"Transition Rejection($id: "+n.$id+" type: "+n.type+", message: "+n.message+", detail: "+t+")"},e.prototype.toPromise=function(){return Object(r.r)(Object(r.O)(this),{_transitionRejection:this})},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return f}));var i=n(3),r=n(1),o=n(6),s=n(16);function a(e){if(!e)return"ui-view (defunct)";var t=e.creationContext?e.creationContext.name||"(root)":"(none)";return"[ui-view#"+e.id+" "+e.$type+":"+e.fqn+" ("+e.name+"@"+t+")]"}var c;function l(e){return Object(r.h)(e)?c[e]:c[c[e]]}!function(e){e[e.RESOLVE=0]="RESOLVE",e[e.TRANSITION=1]="TRANSITION",e[e.HOOK=2]="HOOK",e[e.UIVIEW=3]="UIVIEW",e[e.VIEWCONFIG=4]="VIEWCONFIG"}(c||(c={}));var d=Object(i.k)("$id"),u=Object(i.k)("router.$id"),h=function(e){return"Transition #"+d(e)+"-"+u(e)},p=function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(e,t){var n=this;t.length||(t=Object.keys(c).map((function(e){return parseInt(e,10)})).filter((function(e){return!isNaN(e)})).map((function(e){return c[e]}))),t.map(l).forEach((function(t){return n._enabled[t]=e}))},e.prototype.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!0,e)},e.prototype.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!1,e)},e.prototype.enabled=function(e){return!!this._enabled[l(e)]},e.prototype.traceTransitionStart=function(e){this.enabled(c.TRANSITION)&&s.a.log(h(e)+": Started -> "+Object(o.m)(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(c.TRANSITION)&&s.a.log(h(e)+": Ignored <> "+Object(o.m)(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(c.HOOK)){var r=Object(i.k)("traceData.hookType")(n)||"internal",a=Object(i.k)("traceData.context.state.name")(n)||Object(i.k)("traceData.context")(n)||"unknown",l=Object(o.c)(e.registeredHook.callback);s.a.log(h(t)+": Hook -> "+r+" context: "+a+", "+Object(o.g)(200,l))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(c.HOOK)&&s.a.log(h(t)+": <- Hook returned: "+Object(o.g)(200,Object(o.m)(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(c.RESOLVE)&&s.a.log(h(n)+": Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(c.RESOLVE)&&s.a.log(h(t)+": <- Resolved "+e+" to: "+Object(o.g)(200,Object(o.m)(e.data)))},e.prototype.traceError=function(e,t){this.enabled(c.TRANSITION)&&s.a.log(h(t)+": <- Rejected "+Object(o.m)(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(c.TRANSITION)&&s.a.log(h(t)+": <- Success "+Object(o.m)(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(c.UIVIEW)&&s.a.log("ui-view: "+Object(o.h)(30,e)+" "+a(t)+n)},e.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(c.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},e.prototype.traceUIViewFill=function(e,t){this.enabled(c.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+Object(o.g)(200,t))},e.prototype.traceViewSync=function(e){if(this.enabled(c.VIEWCONFIG)){var t="uiview component fqn",n=e.map((function(e){var n,i=e.uiView,r=e.viewConfig,o=i&&i.fqn,s=r&&r.viewDecl.$context.name+": ("+r.viewDecl.$name+")";return(n={})[t]=o,n["view config state (view name)"]=s,n})).sort((function(e,n){return(e[t]||"").localeCompare(n[t]||"")}));s.a.table(n)}},e.prototype.traceViewServiceEvent=function(e,t){this.enabled(c.VIEWCONFIG)&&s.a.log("VIEWCONFIG: "+e+" "+function(e){var t=e.viewDecl,n=t.$context.name||"(root)";return"[View#"+e.$id+" from '"+n+"' state]: target ui-view: '"+t.$uiViewName+"@"+t.$uiViewContextAnchor+"'"}(t))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(c.VIEWCONFIG)&&s.a.log("VIEWCONFIG: "+e+" "+a(t))},e}(),f=new p},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(27),r=angular,o=i&&i.module?i:r},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var i,r;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),function(e){e[e.CREATE=0]="CREATE",e[e.BEFORE=1]="BEFORE",e[e.RUN=2]="RUN",e[e.SUCCESS=3]="SUCCESS",e[e.ERROR=4]="ERROR"}(i||(i={})),function(e){e[e.TRANSITION=0]="TRANSITION",e[e.STATE=1]="STATE"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l}));var i=n(0),r=n(5),o=n(8),s=n(6),a=n(1),c={when:"LAZY",async:"WAIT"},l=function(){function e(t,n,o,s,c){if(this.resolved=!1,this.promise=void 0,t instanceof e)Object(i.r)(this,t);else if(Object(a.d)(n)){if(Object(a.g)(t))throw new Error("new Resolvable(): token argument is required");if(!Object(a.d)(n))throw new Error("new Resolvable(): resolveFn argument must be a function");this.token=t,this.policy=s,this.resolveFn=n,this.deps=o||[],this.data=c,this.resolved=void 0!==c,this.promise=this.resolved?r.b.$q.when(this.data):void 0}else if(Object(a.i)(t)&&t.token&&(t.hasOwnProperty("resolveFn")||t.hasOwnProperty("data"))){var l=t;return new e(l.token,l.resolveFn,l.deps,l.policy,l.data)}}return e.prototype.getPolicy=function(e){var t=this.policy||{},n=e&&e.resolvePolicy||{};return{when:t.when||n.when||c.when,async:t.async||n.async||c.async}},e.prototype.resolve=function(e,t){var n=this,s=r.b.$q,c=e.findNode(this),l=c&&c.state,d=this.getPolicy(l).async,u=Object(a.d)(d)?d:i.y;return this.promise=s.when().then((function(){return s.all(e.getDependencies(n).map((function(n){return n.get(e,t)})))})).then((function(e){return n.resolveFn.apply(null,e)})).then(u).then((function(e){return n.data=e,n.resolved=!0,n.resolveFn=null,o.c.traceResolvableResolved(n,t),n.data}))},e.prototype.get=function(e,t){return this.promise||this.resolve(e,t)},e.prototype.toString=function(){return"Resolvable(token: "+Object(s.m)(this.token)+", requires: ["+this.deps.map(s.m)+"])"},e.prototype.clone=function(){return new e(this)},e.fromData=function(t,n){return new e(t,(function(){return n}),null,null,n)},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return u}));var i,r=n(0),o=n(3),s=n(1),a=n(5),c=n(29),l=Object.prototype.hasOwnProperty;function d(e,t,n){var o=!1===n.reloadOnSearch&&t===i.SEARCH||void 0,a=Object(r.t)([n.dynamic,o],s.c),c=Object(s.c)(a)?{dynamic:a}:{},d=function(e){function t(){return e.value}e=function(e){return 0===["value","type","squash","array","dynamic"].filter(l.bind(e||{})).length}(e)?{value:e}:e,t.__cacheable=!0;var n=Object(s.e)(e.value)?e.value:t;return Object(r.r)(e,{$$fn:n})}(n&&n.params&&n.params[e]);return Object(r.r)(c,d)}!function(e){e[e.PATH=0]="PATH",e[e.SEARCH=1]="SEARCH",e[e.CONFIG=2]="CONFIG"}(i||(i={}));var u=function(){function e(e,t,n,a,l){var u=d(e,n,l);t=function(e,t,n,r,o){if(e.type&&t&&"string"!==t.name)throw new Error("Param '"+r+"' has two type configurations.");if(e.type&&t&&"string"===t.name&&o.type(e.type))return o.type(e.type);if(t)return t;if(!e.type){var s=n===i.CONFIG?"any":n===i.PATH?"path":n===i.SEARCH?"query":"string";return o.type(s)}return e.type instanceof c.a?e.type:o.type(e.type)}(u,t,n,e,a.paramTypes);var h,p,f=(h={array:n===i.SEARCH&&"auto"},p=e.match(/\[\]$/)?{array:!0}:{},Object(r.r)(h,p,u).array);t=f?t.$asArray(f,n===i.SEARCH):t;var m=void 0!==u.value||n===i.SEARCH,g=Object(s.c)(u.dynamic)?!!u.dynamic:!!t.dynamic,v=Object(s.c)(u.raw)?!!u.raw:!!t.raw,b=function(e,t,n){var i=e.squash;if(!t||!1===i)return!1;if(!Object(s.c)(i)||null==i)return n;if(!0===i||Object(s.l)(i))return i;throw new Error("Invalid squash policy: '"+i+"'. Valid policies: false, true, or arbitrary string")}(u,m,a.defaultSquashPolicy()),y=function(e,t,n,i){var a=[{from:"",to:n||t?void 0:""},{from:null,to:n||t?void 0:""}],c=Object(s.a)(e.replace)?e.replace:[];Object(s.l)(i)&&c.push({from:i,to:void 0});var l=Object(r.B)(c,Object(o.n)("from"));return Object(r.s)(a,(function(e){return-1===l.indexOf(e.from)})).concat(c)}(u,f,m,b),C=Object(s.c)(u.inherit)?!!u.inherit:!!t.inherit;Object(r.r)(this,{id:e,type:t,location:n,isOptional:m,dynamic:g,raw:v,squash:b,replace:y,inherit:C,array:f,config:u})}return e.values=function(e,t){void 0===t&&(t={});for(var n={},i=0,r=e;i<r.length;i++){var o=r[i];n[o.id]=o.value(t[o.id])}return n},e.changed=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e.filter((function(e){return!e.type.equals(t[e.id],n[e.id])}))},e.equals=function(t,n,i){return void 0===n&&(n={}),void 0===i&&(i={}),0===e.changed(t,n,i).length},e.validates=function(e,t){return void 0===t&&(t={}),e.map((function(e){return e.validates(t[e.id])})).reduce(r.e,!0)},e.prototype.isDefaultValue=function(e){return this.isOptional&&this.type.equals(this.value(),e)},e.prototype.value=function(e){var t=this;return e=function(e){for(var n=0,i=t.replace;n<i.length;n++){var r=i[n];if(r.from===e)return r.to}return e}(e),Object(s.m)(e)?function(){if(t._defaultValueCache)return t._defaultValueCache.defaultValue;if(!a.b.$injector)throw new Error("Injectable functions cannot be called at configuration time");var e=a.b.$injector.invoke(t.config.$$fn);if(null!=e&&!t.type.is(e))throw new Error("Default value ("+e+") for parameter '"+t.id+"' is not an instance of ParamType ("+t.type.name+")");return t.config.$$fn.__cacheable&&(t._defaultValueCache={defaultValue:e}),e}():this.type.$normalize(e)},e.prototype.isSearch=function(){return this.location===i.SEARCH},e.prototype.validates=function(e){if((Object(s.m)(e)||null===e)&&this.isOptional)return!0;var t=this.type.$normalize(e);if(!this.type.is(t))return!1;var n=this.type.encode(t);return!(Object(s.l)(n)&&!this.type.pattern.exec(n))},e.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(11),r=n(0),o=n(6),s=n(1),a=n(3),c=n(8),l=n(5),d=n(7),u=n(17),h={current:r.E,transition:null,traceData:{},bind:null},p=function(){function e(e,t,n,o){var s=this;this.transition=e,this.stateContext=t,this.registeredHook=n,this.options=o,this.isSuperseded=function(){return s.type.hookPhase===i.a.RUN&&!s.options.transition.isActive()},this.options=Object(r.o)(o,h),this.type=n.eventType}return e.chain=function(e,t){return e.reduce((function(e,t){return e.then((function(){return t.invokeHook()}))}),t||l.b.$q.when())},e.invokeHooks=function(t,n){for(var i=0;i<t.length;i++){var r=t[i].invokeHook();if(Object(s.j)(r)){var o=t.slice(i+1);return e.chain(o,r).then(n)}}return n()},e.runAllHooks=function(e){e.forEach((function(e){return e.invokeHook()}))},e.prototype.logError=function(e){this.transition.router.stateService.defaultErrorHandler()(e)},e.prototype.invokeHook=function(){var e=this,t=this.registeredHook;if(!t._deregistered){var n=this.getNotCurrentRejection();if(n)return n;var i=this.options;c.c.traceHookInvocation(this,this.transition,i);var r=function(n){return t.eventType.getErrorHandler(e)(n)},o=function(n){return t.eventType.getResultHandler(e)(n)};try{var a=t.callback.call(i.bind,e.transition,e.stateContext);return!this.type.synchronous&&Object(s.j)(a)?a.catch((function(e){return d.b.normalize(e).toPromise()})).then(o,r):o(a)}catch(e){return r(d.b.normalize(e))}finally{t.invokeLimit&&++t.invokeCount>=t.invokeLimit&&t.deregister()}}},e.prototype.handleHookResult=function(e){var t=this,n=this.getNotCurrentRejection();return n||(Object(s.j)(e)?e.then((function(e){return t.handleHookResult(e)})):(c.c.traceHookResult(e,this.transition,this.options),!1===e?d.b.aborted("Hook aborted transition").toPromise():Object(a.h)(u.a)(e)?d.b.redirected(e).toPromise():void 0))},e.prototype.getNotCurrentRejection=function(){var e=this.transition.router;return e._disposed?d.b.aborted("UIRouter instance #"+e.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?d.b.aborted().toPromise():this.isSuperseded()?d.b.superseded(this.options.current()).toPromise():void 0},e.prototype.toString=function(){var e=this.options,t=this.registeredHook,n=Object(a.k)("traceData.hookType")(e)||"internal",i=Object(a.k)("traceData.context.state.name")(e)||Object(a.k)("traceData.context")(e)||"unknown",r=Object(o.b)(t.callback);return n+" context: "+i+", "+Object(o.g)(200,r)},e.HANDLE_RESULT=function(e){return function(t){return e.handleHookResult(t)}},e.LOG_REJECTED_RESULT=function(e){return function(t){Object(s.j)(t)&&t.catch((function(t){return e.logError(d.b.normalize(t))}))}},e.LOG_ERROR=function(e){return function(t){return e.logError(t)}},e.REJECT_ERROR=function(e){return function(e){return Object(r.O)(e)}},e.THROW_ERROR=function(e){return function(e){throw e}},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(0),r=n(3),o=n(17),s=n(30),a=function(){function e(){}return e.makeTargetState=function(e,t){var n=Object(i.P)(t).state;return new o.a(e,n,t.map(Object(r.n)("paramValues")).reduce(i.D,{}),{})},e.buildPath=function(e){var t=e.params();return e.$state().path.map((function(e){return new s.a(e).applyRawParams(t)}))},e.buildToPath=function(t,n){var i=e.buildPath(n);return n.options().inherit?e.inheritParams(t,i,Object.keys(n.params())):i},e.applyViewConfigs=function(t,n,r){n.filter((function(e){return Object(i.z)(r,e.state)})).forEach((function(r){var o=Object(i.U)(r.state.views||{}),s=e.subPath(n,(function(e){return e===r})),a=o.map((function(e){return t.createViewConfig(s,e)}));r.views=a.reduce(i.T,[])}))},e.inheritParams=function(e,t,n){void 0===n&&(n=[]);var o=e.map((function(e){return e.paramSchema})).reduce(i.T,[]).filter((function(e){return!e.inherit})).map(Object(r.n)("id"));return t.map((function(t){var a=Object(i.r)({},t&&t.paramValues),c=Object(i.H)(a,n);a=Object(i.F)(a,n);var l,d,u,h=Object(i.F)((l=e,d=t.state,u=Object(i.t)(l,Object(r.o)("state",d)),Object(i.r)({},u&&u.paramValues)||{}),o),p=Object(i.r)(a,h,c);return new s.a(t.state).applyRawParams(p)}))},e.treeChanges=function(t,n,i){for(var r,o,s,a,c,l,d=Math.min(t.length,n.length),u=0;u<d&&t[u].state!==i&&(r=t[u],o=n[u],r.equals(o,e.nonDynamicParams));)u++;a=(s=t).slice(0,u),c=s.slice(u);var h=a.map((function(e,t){var i=e.clone();return i.paramValues=n[t].paramValues,i}));return l=n.slice(u),{from:s,to:h.concat(l),retained:a,retainedWithToParams:h,exiting:c,entering:l}},e.matching=function(e,t,n){var r=!1;return Object(i.i)(e,t).reduce((function(e,t){var i=t[0],o=t[1];return(r=r||!i.equals(o,n))?e:e.concat(i)}),[])},e.equals=function(t,n,i){return t.length===n.length&&e.matching(t,n,i).length===t.length},e.subPath=function(e,t){var n=Object(i.t)(e,t),r=e.indexOf(n);return-1===r?void 0:e.slice(0,r+1)},e.nonDynamicParams=function(e){return e.state.parameters({inherit:!1}).filter((function(e){return!e.dynamic}))},e.paramValues=function(e){return e.reduce((function(e,t){return Object(i.r)(e,t.paramValues)}),{})},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(0),r={log:i.E,error:i.E,table:i.E};var o="undefined"!=typeof document&&document.documentMode&&9===document.documentMode?window&&window.console?function(e){var t=function(t){return Function.prototype.bind.call(t,e)};return{log:t(e.log),error:t(e.log),table:t(e.log)}}(window.console):r:console.table&&console.error?console:function(e){var t=e.log.bind(e);return{log:t,error:e.error?e.error.bind(e):t,table:e.table?e.table.bind(e):t}}(console)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(1),r=n(6),o=n(4),s=function(){function e(e,t,n,i){this._stateRegistry=e,this._identifier=t,this._identifier=t,this._params=Object(o.C)({},n||{}),this._options=Object(o.C)({},i||{}),this._definition=e.matcher.find(t,this._options.relative)}return e.prototype.name=function(){return this._definition&&this._definition.name||this._identifier},e.prototype.identifier=function(){return this._identifier},e.prototype.params=function(){return this._params},e.prototype.$state=function(){return this._definition},e.prototype.state=function(){return this._definition&&this._definition.self},e.prototype.options=function(){return this._options},e.prototype.exists=function(){return!(!this._definition||!this._definition.self)},e.prototype.valid=function(){return!this.error()},e.prototype.error=function(){var e=this.options().relative;if(!this._definition&&e){var t=e.name?e.name:e;return"Could not resolve '"+this.name()+"' from state '"+t+"'"}return this._definition?this._definition.self?void 0:"State '"+this.name()+"' has an invalid definition":"No such state '"+this.name()+"'"},e.prototype.toString=function(){return"'"+this.name()+"'"+Object(r.m)(this.params())},e.prototype.withState=function(t){return new e(this._stateRegistry,t,this._params,this._options)},e.prototype.withParams=function(t,n){void 0===n&&(n=!1);var i=n?t:Object(o.C)({},this._params,t);return new e(this._stateRegistry,this._identifier,i,this._options)},e.prototype.withOptions=function(t,n){void 0===n&&(n=!1);var i=n?t:Object(o.C)({},this._options,t);return new e(this._stateRegistry,this._identifier,this._params,i)},e.isDef=function(e){return e&&e.state&&(Object(i.l)(e.state)||Object(i.i)(e.state)&&Object(i.l)(e.state.name))},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return g}));var i=n(0),r=n(3),o=n(8),s=n(5),a=n(38),c=n(12),l=n(15),d=n(6),u=n(4),h=a.a.when,p=[h.EAGER,h.LAZY],f=[h.EAGER],m="Native Injector",g=function(){function e(e){this._path=e}return e.prototype.getTokens=function(){return this._path.reduce((function(e,t){return e.concat(t.resolvables.map((function(e){return e.token})))}),[]).reduce(i.R,[])},e.prototype.getResolvable=function(e){var t=this._path.map((function(e){return e.resolvables})).reduce(i.T,[]).filter((function(t){return t.token===e}));return Object(i.P)(t)},e.prototype.getPolicy=function(e){var t=this.findNode(e);return e.getPolicy(t.state)},e.prototype.subContext=function(t){return new e(l.a.subPath(this._path,(function(e){return e.state===t})))},e.prototype.addResolvables=function(e,t){var n=Object(i.t)(this._path,Object(r.o)("state",t)),o=e.map((function(e){return e.token}));n.resolvables=n.resolvables.filter((function(e){return-1===o.indexOf(e.token)})).concat(e)},e.prototype.resolvePath=function(e,t){var n=this;void 0===e&&(e="LAZY");var c=(Object(i.z)(p,e)?e:"LAZY")===a.a.when.EAGER?f:p;o.c.traceResolvePath(this._path,e,t);var l=function(e,t){return function(r){return Object(i.z)(e,n.getPolicy(r)[t])}},d=this._path.reduce((function(e,i){var o=i.resolvables.filter(l(c,"when")),s=o.filter(l(["NO