From 96187a934d0aa67bf3de9c7a3111b5b2e4a264d0 Mon Sep 17 00:00:00 2001 From: RedocBot Date: Thu, 30 Jun 2016 13:56:21 +0000 Subject: [PATCH] Release v0.15.1 --- dist/redoc.min.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/redoc.min.js b/dist/redoc.min.js index 87c84e48..77578a83 100644 --- a/dist/redoc.min.js +++ b/dist/redoc.min.js @@ -2499,7 +2499,7 @@ Prism.languages.scala = Prism.languages.extend('java', { delete Prism.languages.scala['class-name']; delete Prism.languages.scala['function']; -!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in p||(p[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==q.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=p[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex=0;f--){for(var g=c[f],i=0;if;f++){var h=c.importers[f];if(!h.locked)for(var i=0;if;f++){var j,k=b.normalizedDeps[f],l=p[k],m=u[k];m?j=m.exports:l&&!l.declarative?j=l.esModule:l?(h(l),m=l.module,j=m.exports):j=o(k),m&&m.importers?(m.importers.push(c),c.dependencies.push(m)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=p[a];if(c)c.declarative?n(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=o(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=p[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(a){var b={};if("object"==typeof a||"function"==typeof a){var c=a&&a.hasOwnProperty;if(r)for(var d in a)m(b,a,d)||l(b,a,d,c);else for(var d in a)l(b,a,d,c)}return b["default"]=a,t(b,"__useDefault",{value:!0}),b}function l(a,b,c,d){(!d||b.hasOwnProperty(c))&&(a[c]=b[c])}function m(a,b,c){try{var d;return(d=Object.getOwnPropertyDescriptor(b,c))&&t(a,c,d),!0}catch(e){return!1}}function n(b,c){var d=p[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==q.call(c,g)&&(p[g]?n(g,c):o(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function o(a){if(w[a])return w[a];if("@node/"==a.substr(0,6))return v(a.substr(6));var b=p[a];if(!b)throw"Module "+a+" not present.";return f(a),n(a,[]),p[a]=void 0,b.declarative&&t(b.module.exports,"__esModule",{value:!0}),w[a]=b.declarative?b.module.exports:b.esModule}var p={},q=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},r=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(s){r=!1}var t;!function(){try{Object.defineProperty({},"a",{})&&(t=Object.defineProperty)}catch(a){t=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var u={},v="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,w={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:v,register:b,registerDynamic:c,get:o,set:function(a,b){w[a]=b},newModule:function(a){return a}},h=0;h1)for(var h=1;hb;b++)if(this[b]===a)return b;return-1},k=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"];h.set("@@global-helpers",h.newModule({prepareGlobal:function(a,c,e){var h=b.define;b.define=void 0;var i;if(e){i={};for(var j in e)i[j]=b[j],b[j]=e[j]}return c||(g={},f(function(a,b){g[a]=b})),function(){var a;if(c)a=d(c);else{a={};var e,j;f(function(b,c){g[b]!==c&&"undefined"!=typeof c&&(a[b]=c,"undefined"!=typeof e?j||e===c||(j=!0):e=c)}),a=j?a:e}if(i)for(var k in i)b[k]=i[k];return b.define=h,a}}}))}("undefined"!=typeof self?self:global),a.register("3",[],function(){return{setters:[],execute:function(){}}}),a.register("4",[],function(){return{setters:[],execute:function(){}}}),a.register("5",[],function(){return{setters:[],execute:function(){}}}),a.register("6",[],function(){return{setters:[],execute:function(){}}}),a.register("7",[],function(a){"use strict";var b;return{setters:[],execute:function(){b="0.15.0",a("redocVersion",b)}}}),a.registerDynamic("8",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.ReflectionCapabilities=d.__core_private__.ReflectionCapabilities,b.reflector=d.__core_private__.reflector,c.exports}),a.registerDynamic("a",["b","c","d","e","f","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("e"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("10");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("11",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("12",["e"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;cd&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c0&&(b.println("var self = this;"),this.visitAllStatements(a.constructorMethod.body,b)),b.decIndent(),b.println("}")},b.prototype._visitClassGetter=function(a,b,c){c.println("Object.defineProperty("+a.name+".prototype, '"+b.name+"', { get: function() {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("}});")},b.prototype._visitClassMethod=function(a,b,c){c.print(a.name+".prototype."+b.name+" = function("),this._visitParams(b.params,c),c.println(") {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("};")},b.prototype.visitReadVarExpr=function(b,c){if(b.builtin===h.BuiltinVar.This)c.print("self");else{if(b.builtin===h.BuiltinVar.Super)throw new e.BaseException("'super' needs to be handled at a parent ast node, not at the variable level!");a.prototype.visitReadVarExpr.call(this,b,c)}return null},b.prototype.visitDeclareVarStmt=function(a,b){return b.print("var "+a.name+" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return a.value.visitExpression(this,b),null},b.prototype.visitInvokeFunctionExpr=function(b,c){var d=b.fn;return d instanceof h.ReadVarExpr&&d.builtin===h.BuiltinVar.Super?(c.currentClass.parent.visitExpression(this,c),c.print(".call(this"),b.args.length>0&&(c.print(", "),this.visitAllExpressions(b.args,c,",")),c.print(")")):a.prototype.visitInvokeFunctionExpr.call(this,b,c),null},b.prototype.visitFunctionExpr=function(a,b){return b.print("function("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return b.print("function "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.visitTryCatchStmt=function(a,b){b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+g.CATCH_ERROR_VAR.name+") {"),b.incIndent();var c=[g.CATCH_STACK_VAR.set(g.CATCH_ERROR_VAR.prop("stack")).toDeclStmt(null,[h.StmtModifier.Final])].concat(a.catchStmts);return this.visitAllStatements(c,b),b.decIndent(),b.println("}"),null},b.prototype._visitParams=function(a,b){this.visitAllObjects(function(a){return b.print(a.name)},a,b,",")},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case h.BuiltinMethod.ConcatArray:b="concat";break;case h.BuiltinMethod.SubscribeObservable:b="subscribe";break;case h.BuiltinMethod.bind:b="bind";break;default:throw new e.BaseException("Unknown builtin method: "+a)}return b},b}(g.AbstractEmitterVisitor);return b.AbstractJsEmitterVisitor=i,c.exports}),a.registerDynamic("20",["1e","1f","1d","1c"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=new j,e=g.EmitterVisitorContext.createRoot([c]);return d.visitAllStatements(b,e),f.evalExpression(a,c,e.toSource(),d.getArgs())}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("1e"),g=a("1f"),h=a("1d"),i=a("1c");b.jitStatements=d;var j=function(a){function b(){a.apply(this,arguments),this._evalArgNames=[],this._evalArgValues=[]}return e(b,a),b.prototype.getArgs=function(){for(var a={},b=0;b0?e(c[0]):null;i.isPresent(d)&&(b.print(": "),d.visitExpression(this,b),c=c.slice(1)),b.println(" {"),b.incIndent(),this.visitAllStatements(c,b),b.decIndent(),b.println("}")},b.prototype._visitClassMethod=function(a,b){i.isPresent(a.type)?a.type.visitType(this,b):b.print("void"),b.print(" "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype.visitFunctionExpr=function(a,b){return b.print("("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return i.isPresent(a.type)?a.type.visitType(this,b):b.print("void"),b.print(" "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case j.BuiltinMethod.ConcatArray:b=".addAll";break;case j.BuiltinMethod.SubscribeObservable:b="listen";break;case j.BuiltinMethod.bind:b=null;break;default:throw new h.BaseException("Unknown builtin method: "+a)}return b},b.prototype.visitTryCatchStmt=function(a,b){return b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+k.CATCH_ERROR_VAR.name+", "+k.CATCH_STACK_VAR.name+") {"),b.incIndent(),this.visitAllStatements(a.catchStmts,b),b.decIndent(), +!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in p||(p[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==q.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=p[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex=0;f--){for(var g=c[f],i=0;if;f++){var h=c.importers[f];if(!h.locked)for(var i=0;if;f++){var j,k=b.normalizedDeps[f],l=p[k],m=u[k];m?j=m.exports:l&&!l.declarative?j=l.esModule:l?(h(l),m=l.module,j=m.exports):j=o(k),m&&m.importers?(m.importers.push(c),c.dependencies.push(m)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=p[a];if(c)c.declarative?n(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=o(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=p[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(a){var b={};if("object"==typeof a||"function"==typeof a){var c=a&&a.hasOwnProperty;if(r)for(var d in a)m(b,a,d)||l(b,a,d,c);else for(var d in a)l(b,a,d,c)}return b["default"]=a,t(b,"__useDefault",{value:!0}),b}function l(a,b,c,d){(!d||b.hasOwnProperty(c))&&(a[c]=b[c])}function m(a,b,c){try{var d;return(d=Object.getOwnPropertyDescriptor(b,c))&&t(a,c,d),!0}catch(e){return!1}}function n(b,c){var d=p[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==q.call(c,g)&&(p[g]?n(g,c):o(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function o(a){if(w[a])return w[a];if("@node/"==a.substr(0,6))return v(a.substr(6));var b=p[a];if(!b)throw"Module "+a+" not present.";return f(a),n(a,[]),p[a]=void 0,b.declarative&&t(b.module.exports,"__esModule",{value:!0}),w[a]=b.declarative?b.module.exports:b.esModule}var p={},q=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},r=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(s){r=!1}var t;!function(){try{Object.defineProperty({},"a",{})&&(t=Object.defineProperty)}catch(a){t=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var u={},v="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,w={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:v,register:b,registerDynamic:c,get:o,set:function(a,b){w[a]=b},newModule:function(a){return a}},h=0;h1)for(var h=1;hb;b++)if(this[b]===a)return b;return-1},k=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"];h.set("@@global-helpers",h.newModule({prepareGlobal:function(a,c,e){var h=b.define;b.define=void 0;var i;if(e){i={};for(var j in e)i[j]=b[j],b[j]=e[j]}return c||(g={},f(function(a,b){g[a]=b})),function(){var a;if(c)a=d(c);else{a={};var e,j;f(function(b,c){g[b]!==c&&"undefined"!=typeof c&&(a[b]=c,"undefined"!=typeof e?j||e===c||(j=!0):e=c)}),a=j?a:e}if(i)for(var k in i)b[k]=i[k];return b.define=h,a}}}))}("undefined"!=typeof self?self:global),a.register("3",[],function(){return{setters:[],execute:function(){}}}),a.register("4",[],function(){return{setters:[],execute:function(){}}}),a.register("5",[],function(){return{setters:[],execute:function(){}}}),a.register("6",[],function(){return{setters:[],execute:function(){}}}),a.register("7",[],function(a){"use strict";var b;return{setters:[],execute:function(){b="0.15.1",a("redocVersion",b)}}}),a.registerDynamic("8",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.ReflectionCapabilities=d.__core_private__.ReflectionCapabilities,b.reflector=d.__core_private__.reflector,c.exports}),a.registerDynamic("a",["b","c","d","e","f","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("e"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("10");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("11",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("12",["e"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;cd&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c0&&(b.println("var self = this;"),this.visitAllStatements(a.constructorMethod.body,b)),b.decIndent(),b.println("}")},b.prototype._visitClassGetter=function(a,b,c){c.println("Object.defineProperty("+a.name+".prototype, '"+b.name+"', { get: function() {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("}});")},b.prototype._visitClassMethod=function(a,b,c){c.print(a.name+".prototype."+b.name+" = function("),this._visitParams(b.params,c),c.println(") {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("};")},b.prototype.visitReadVarExpr=function(b,c){if(b.builtin===h.BuiltinVar.This)c.print("self");else{if(b.builtin===h.BuiltinVar.Super)throw new e.BaseException("'super' needs to be handled at a parent ast node, not at the variable level!");a.prototype.visitReadVarExpr.call(this,b,c)}return null},b.prototype.visitDeclareVarStmt=function(a,b){return b.print("var "+a.name+" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return a.value.visitExpression(this,b),null},b.prototype.visitInvokeFunctionExpr=function(b,c){var d=b.fn;return d instanceof h.ReadVarExpr&&d.builtin===h.BuiltinVar.Super?(c.currentClass.parent.visitExpression(this,c),c.print(".call(this"),b.args.length>0&&(c.print(", "),this.visitAllExpressions(b.args,c,",")),c.print(")")):a.prototype.visitInvokeFunctionExpr.call(this,b,c),null},b.prototype.visitFunctionExpr=function(a,b){return b.print("function("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return b.print("function "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.visitTryCatchStmt=function(a,b){b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+g.CATCH_ERROR_VAR.name+") {"),b.incIndent();var c=[g.CATCH_STACK_VAR.set(g.CATCH_ERROR_VAR.prop("stack")).toDeclStmt(null,[h.StmtModifier.Final])].concat(a.catchStmts);return this.visitAllStatements(c,b),b.decIndent(),b.println("}"),null},b.prototype._visitParams=function(a,b){this.visitAllObjects(function(a){return b.print(a.name)},a,b,",")},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case h.BuiltinMethod.ConcatArray:b="concat";break;case h.BuiltinMethod.SubscribeObservable:b="subscribe";break;case h.BuiltinMethod.bind:b="bind";break;default:throw new e.BaseException("Unknown builtin method: "+a)}return b},b}(g.AbstractEmitterVisitor);return b.AbstractJsEmitterVisitor=i,c.exports}),a.registerDynamic("20",["1e","1f","1d","1c"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=new j,e=g.EmitterVisitorContext.createRoot([c]);return d.visitAllStatements(b,e),f.evalExpression(a,c,e.toSource(),d.getArgs())}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("1e"),g=a("1f"),h=a("1d"),i=a("1c");b.jitStatements=d;var j=function(a){function b(){a.apply(this,arguments),this._evalArgNames=[],this._evalArgValues=[]}return e(b,a),b.prototype.getArgs=function(){for(var a={},b=0;b0?e(c[0]):null;i.isPresent(d)&&(b.print(": "),d.visitExpression(this,b),c=c.slice(1)),b.println(" {"),b.incIndent(),this.visitAllStatements(c,b),b.decIndent(),b.println("}")},b.prototype._visitClassMethod=function(a,b){i.isPresent(a.type)?a.type.visitType(this,b):b.print("void"),b.print(" "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype.visitFunctionExpr=function(a,b){return b.print("("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return i.isPresent(a.type)?a.type.visitType(this,b):b.print("void"),b.print(" "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case j.BuiltinMethod.ConcatArray:b=".addAll";break;case j.BuiltinMethod.SubscribeObservable:b="listen";break;case j.BuiltinMethod.bind:b=null;break;default:throw new h.BaseException("Unknown builtin method: "+a)}return b},b.prototype.visitTryCatchStmt=function(a,b){return b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+k.CATCH_ERROR_VAR.name+", "+k.CATCH_STACK_VAR.name+") {"),b.incIndent(),this.visitAllStatements(a.catchStmts,b),b.decIndent(), b.println("}"),null},b.prototype.visitBinaryOperatorExpr=function(b,c){switch(b.operator){case j.BinaryOperator.Identical:c.print("identical("),b.lhs.visitExpression(this,c),c.print(", "),b.rhs.visitExpression(this,c),c.print(")");break;case j.BinaryOperator.NotIdentical:c.print("!identical("),b.lhs.visitExpression(this,c),c.print(", "),b.rhs.visitExpression(this,c),c.print(")");break;default:a.prototype.visitBinaryOperatorExpr.call(this,b,c)}return null},b.prototype.visitLiteralArrayExpr=function(b,c){return f(b.type)&&c.print("const "),a.prototype.visitLiteralArrayExpr.call(this,b,c)},b.prototype.visitLiteralMapExpr=function(b,c){return f(b.type)&&c.print("const "),i.isPresent(b.valueType)&&(c.print("")),a.prototype.visitLiteralMapExpr.call(this,b,c)},b.prototype.visitInstantiateExpr=function(a,b){return b.print(f(a.type)?"const":"new"),b.print(" "),a.classExpr.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},b.prototype.visitBuiltintType=function(a,b){var c;switch(a.name){case j.BuiltinTypeName.Bool:c="bool";break;case j.BuiltinTypeName.Dynamic:c="dynamic";break;case j.BuiltinTypeName.Function:c="Function";break;case j.BuiltinTypeName.Number:c="num";break;case j.BuiltinTypeName.Int:c="int";break;case j.BuiltinTypeName.String:c="String";break;default:throw new h.BaseException("Unsupported builtin type "+a.name)}return b.print(c),null},b.prototype.visitExternalType=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitArrayType=function(a,b){return b.print("List<"),i.isPresent(a.of)?a.of.visitType(this,b):b.print("dynamic"),b.print(">"),null},b.prototype.visitMapType=function(a,b){return b.print("Map"),null},b.prototype._visitParams=function(a,b){var c=this;this.visitAllObjects(function(a){i.isPresent(a.type)&&(a.type.visitType(c,b),b.print(" ")),b.print(a.name)},a,b,",")},b.prototype._visitIdentifier=function(a,b,c){var d=this;if(i.isBlank(a.name))throw new h.BaseException("Internal error: unknown identifier "+a);if(i.isPresent(a.moduleUrl)&&a.moduleUrl!=this._moduleUrl){var e=this.importsWithPrefixes.get(a.moduleUrl);i.isBlank(e)&&(e="import"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(a.moduleUrl,e)),c.print(e+".")}c.print(a.name),i.isPresent(b)&&b.length>0&&(c.print("<"),this.visitAllObjects(function(a){return a.visitType(d,c)},b,c,","),c.print(">"))},b}(k.AbstractEmitterVisitor);return c.exports}),a.registerDynamic("22",["23","24","19","1a","1e","21","1b","25"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=a.concat([new n.ReturnStatement(n.variable(b))]),e=new q(null,null,null,null,new Map,new Map,new Map,new Map,c),f=new t,g=f.visitAllStatements(d,e);return l.isPresent(g)?g.value:null}function e(a){return l.IS_DART?a instanceof p:l.isPresent(a)&&l.isPresent(a.props)&&l.isPresent(a.getters)&&l.isPresent(a.methods)}function f(a,b,c,d,e){for(var f=d.createChildWihtLocalVars(),g=0;ge();case n.BinaryOperator.BiggerEquals:return d()>=e();default:throw new k.BaseException("Unknown operator "+a.operator)}},a.prototype.visitReadPropExpr=function(a,b){var c,d=a.receiver.visitExpression(this,b);if(e(d)){var f=d;c=f.props.has(a.name)?f.props.get(a.name):f.getters.has(a.name)?f.getters.get(a.name)():f.methods.has(a.name)?f.methods.get(a.name):h.reflector.getter(a.name)(d)}else c=h.reflector.getter(a.name)(d);return c},a.prototype.visitReadKeyExpr=function(a,b){var c=a.receiver.visitExpression(this,b),d=a.index.visitExpression(this,b);return c[d]},a.prototype.visitLiteralArrayExpr=function(a,b){return this.visitAllExpressions(a.entries,b)},a.prototype.visitLiteralMapExpr=function(a,b){var c=this,d={};return a.entries.forEach(function(a){return d[a[0]]=a[1].visitExpression(c,b)}),d},a.prototype.visitAllExpressions=function(a,b){var c=this;return a.map(function(a){return a.visitExpression(c,b)})},a.prototype.visitAllStatements=function(a,b){for(var c=0;c0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("2e",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a.prototype.get=function(a){return null},a}();return b.XHR=d,c.exports}),a.registerDynamic("2b",["9","24","1a","1e","18","2e","31","3b","3c","35","2d","3d"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("24"),f=a("1a"),g=a("1e"),h=a("18"),i=a("2e"),j=a("31"),k=a("3b"),l=a("3c"),m=a("35"),n=a("2d"),o=a("3d"),p=function(){function a(a,b,c,d){this._xhr=a,this._urlResolver=b,this._htmlParser=c,this._config=d}return a.prototype.normalizeDirective=function(a){return a.isComponent?this.normalizeTemplate(a.type,a.template).then(function(b){return new h.CompileDirectiveMetadata({type:a.type,isComponent:a.isComponent,selector:a.selector,exportAs:a.exportAs,changeDetection:a.changeDetection,inputs:a.inputs,outputs:a.outputs,hostListeners:a.hostListeners,hostProperties:a.hostProperties,hostAttributes:a.hostAttributes,lifecycleHooks:a.lifecycleHooks,providers:a.providers,viewProviders:a.viewProviders,queries:a.queries,viewQueries:a.viewQueries,template:b})}):e.PromiseWrapper.resolve(a)},a.prototype.normalizeTemplate=function(a,b){var c=this;if(g.isPresent(b.template))return e.PromiseWrapper.resolve(this.normalizeLoadedTemplate(a,b,b.template,a.moduleUrl));if(g.isPresent(b.templateUrl)){var d=this._urlResolver.resolve(a.moduleUrl,b.templateUrl);return this._xhr.get(d).then(function(e){return c.normalizeLoadedTemplate(a,b,e,d)})}throw new f.BaseException("No template specified for component "+a.name)},a.prototype.normalizeLoadedTemplate=function(a,b,c,e){var i=this,j=this._htmlParser.parse(c,a.name);if(j.errors.length>0){var m=j.errors.join("\n");throw new f.BaseException("Template parse errors:\n"+m)}var n=new q;l.htmlVisitAll(n,j.rootNodes);var o=b.styles.concat(n.styles),p=n.styleUrls.filter(k.isStyleUrlResolvable).map(function(a){return i._urlResolver.resolve(e,a)}).concat(b.styleUrls.filter(k.isStyleUrlResolvable).map(function(b){return i._urlResolver.resolve(a.moduleUrl,b)})),r=o.map(function(a){var b=k.extractStyleUrls(i._urlResolver,e,a);return b.styleUrls.forEach(function(a){return p.push(a)}),b.style}),s=b.encapsulation;return g.isBlank(s)&&(s=this._config.defaultEncapsulation),s===d.ViewEncapsulation.Emulated&&0===r.length&&0===p.length&&(s=d.ViewEncapsulation.None),new h.CompileTemplateMetadata({encapsulation:s,template:c,templateUrl:e,styles:r,styleUrls:p,ngContentSelectors:n.ngContentSelectors,animations:b.animations,interpolation:b.interpolation})},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:i.XHR},{type:j.UrlResolver},{type:m.HtmlParser},{type:n.CompilerConfig}],a}();b.DirectiveNormalizer=p;var q=function(){function a(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return a.prototype.visitElement=function(a,b){var c=o.preparseElement(a);switch(c.type){case o.PreparsedElementType.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(c.selectAttr);break;case o.PreparsedElementType.STYLE:var d="";a.children.forEach(function(a){a instanceof l.HtmlTextAst&&(d+=a.value)}),this.styles.push(d);break;case o.PreparsedElementType.STYLESHEET:this.styleUrls.push(c.hrefAttr)}return c.nonBindable&&this.ngNonBindableStackCount++,l.htmlVisitAll(this,a.children),c.nonBindable&&this.ngNonBindableStackCount--,null},a.prototype.visitComment=function(a,b){return null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitText=function(a,b){return null},a.prototype.visitExpansion=function(a,b){return null},a.prototype.visitExpansionCase=function(a,b){return null},a}();return c.exports}),a.registerDynamic("3e",["1a","3c","3f"],!0,function(a,b,c){"use strict";function d(a){var b=new l;return new k(h.htmlVisitAll(b,a),b.isExpanded,b.errors)}function e(a,b){var c=a.cases.map(function(a){-1!=j.indexOf(a.value)||a.value.match(/^=\d+$/)||b.push(new i.I18nError(a.valueSourceSpan,'Plural cases should be "=" or one of '+j.join(", ")));var c=d(a.expression);return b.push.apply(b,c.errors),new h.HtmlElementAst("template",[new h.HtmlAttrAst("ngPluralCase",""+a.value,a.valueSourceSpan)],c.nodes,a.sourceSpan,a.sourceSpan,a.sourceSpan)}),e=new h.HtmlAttrAst("[ngPlural]",a.switchValue,a.switchValueSourceSpan);return new h.HtmlElementAst("ng-container",[e],c,a.sourceSpan,a.sourceSpan,a.sourceSpan)}function f(a,b){var c=a.cases.map(function(a){var c=d(a.expression);return b.push.apply(b,c.errors),new h.HtmlElementAst("template",[new h.HtmlAttrAst("ngSwitchCase",""+a.value,a.valueSourceSpan)],c.nodes,a.sourceSpan,a.sourceSpan,a.sourceSpan)}),e=new h.HtmlAttrAst("[ngSwitch]",a.switchValue,a.switchValueSourceSpan);return new h.HtmlElementAst("ng-container",[e],c,a.sourceSpan,a.sourceSpan,a.sourceSpan)}var g=a("1a"),h=a("3c"),i=a("3f"),j=["zero","one","two","few","many","other"];b.expandNodes=d;var k=function(){function a(a,b,c){this.nodes=a,this.expanded=b,this.errors=c}return a}();b.ExpansionResult=k;var l=function(){function a(){this.isExpanded=!1,this.errors=[]}return a.prototype.visitElement=function(a,b){return new h.HtmlElementAst(a.name,a.attrs,h.htmlVisitAll(this,a.children),a.sourceSpan,a.startSourceSpan,a.endSourceSpan)},a.prototype.visitAttr=function(a,b){return a},a.prototype.visitText=function(a,b){return a},a.prototype.visitComment=function(a,b){return a},a.prototype.visitExpansion=function(a,b){return this.isExpanded=!0,"plural"==a.type?e(a,this.errors):f(a,this.errors)},a.prototype.visitExpansionCase=function(a,b){throw new g.BaseException("Should not be reached")},a}();return c.exports}),a.registerDynamic("40",["19","1a","1e","3c","35","41","3e","42","3f"],!0,function(a,b,c){"use strict";var d=a("19"),e=a("1a"),f=a("1e"),g=a("3c"),h=a("35"),i=a("41"),j=a("3e"),k=a("42"),l=a("3f"),m="ph",n="name",o=/<\/ph>/gi,p=function(){function a(a,b,c,d,e,f){this._htmlParser=a,this._parser=b,this._messagesContent=c,this._messages=d,this._implicitTags=e,this._implicitAttrs=f}return a.prototype.parse=function(a,b,c,d){void 0===c&&(c=!1),void 0===d&&(d=i.DEFAULT_INTERPOLATION_CONFIG),this.errors=[],this._interpolationConfig=d;var e=this._htmlParser.parse(a,b,!0);if(e.errors.length>0)return e;var f=j.expandNodes(e.rootNodes),g=this._recurse(f.nodes);return(k=this.errors).push.apply(k,f.errors),this.errors.length>0?new h.HtmlParseTreeResult([],this.errors):new h.HtmlParseTreeResult(g,[]);var k},a.prototype._processI18nPart=function(a){try{return a.hasI18n?this._mergeI18Part(a):this._recurseIntoI18nPart(a)}catch(b){if(b instanceof l.I18nError)return this.errors.push(b),[];throw b}},a.prototype._mergeI18Part=function(a){var b=a.createMessage(this._parser,this._interpolationConfig),c=k.id(b);if(!d.StringMapWrapper.contains(this._messages,c))throw new l.I18nError(a.sourceSpan,"Cannot find message for id '"+c+"', content '"+b.content+"'.");var e=this._messages[c];return this._mergeTrees(a,e,a.children)},a.prototype._recurseIntoI18nPart=function(a){if(f.isPresent(a.rootElement)){var b=a.rootElement,c=this._recurse(a.children),d=this._i18nAttributes(b);return[new g.HtmlElementAst(b.name,d,c,b.sourceSpan,b.startSourceSpan,b.endSourceSpan)]}return f.isPresent(a.rootTextNode)?[a.rootTextNode]:this._recurse(a.children)},a.prototype._recurse=function(a){var b=this,c=l.partition(a,this.errors,this._implicitTags);return d.ListWrapper.flatten(c.map(function(a){return b._processI18nPart(a)}))},a.prototype._mergeTrees=function(a,b,c){var d=new q;g.htmlVisitAll(d,c);var h=this._mergeTreesHelper(b,d.mapping);if(f.isPresent(a.rootElement)){var i=a.rootElement,j=this._i18nAttributes(i);return[new g.HtmlElementAst(i.name,j,h,i.sourceSpan,i.startSourceSpan,i.endSourceSpan)]}if(f.isPresent(a.rootTextNode))throw new e.BaseException("should not be reached");return h},a.prototype._mergeTreesHelper=function(a,b){var c=this;return a.map(function(d){if(d instanceof g.HtmlElementAst)return c._mergeElementOrInterpolation(d,a,b);if(d instanceof g.HtmlTextAst)return d;throw new e.BaseException("should not be reached")})},a.prototype._mergeElementOrInterpolation=function(a,b,c){var d=this._getName(a),g=d[0],h=f.NumberWrapper.parseInt(d.substring(1),10),i=c[h];if("t"==g)return this._mergeTextInterpolation(a,i);if("e"==g)return this._mergeElement(a,i,c);throw new e.BaseException("should not be reached")},a.prototype._getName=function(a){if(a.name!=m)throw new l.I18nError(a.sourceSpan,'Unexpected tag "'+a.name+'". Only "'+m+'" tags are allowed.');var b=a.attrs.filter(function(a){return a.name==n});if(0==b.length)throw new l.I18nError(a.sourceSpan,'Missing "'+n+'" attribute.');return b[0].value},a.prototype._mergeTextInterpolation=function(a,b){var c=this._parser.splitInterpolation(b.value,b.sourceSpan.toString(),this._interpolationConfig),d=f.isPresent(c)?c.expressions:[],e=this._messagesContent.substring(a.startSourceSpan.end.offset,a.endSourceSpan.start.offset),h=this._replacePlaceholdersWithExpressions(e,d,b.sourceSpan);return new g.HtmlTextAst(h,b.sourceSpan)},a.prototype._mergeElement=function(a,b,c){var d=this._mergeTreesHelper(a.children,c);return new g.HtmlElementAst(b.name,this._i18nAttributes(b),d,b.sourceSpan,b.startSourceSpan,b.endSourceSpan)},a.prototype._i18nAttributes=function(a){var b=this,c=[],e=f.isPresent(this._implicitAttrs[a.name])?this._implicitAttrs[a.name]:[]; return a.attrs.forEach(function(f){if(!f.name.startsWith(l.I18N_ATTR_PREFIX)&&f.name!=l.I18N_ATTR){var h,i=a.attrs.filter(function(a){return a.name==""+l.I18N_ATTR_PREFIX+f.name});if(0==i.length){if(-1==e.indexOf(f.name))return void c.push(f);h=l.messageFromAttribute(b._parser,b._interpolationConfig,f)}else h=l.messageFromI18nAttribute(b._parser,b._interpolationConfig,a,i[0]);var j=k.id(h);if(!d.StringMapWrapper.contains(b._messages,j))throw new l.I18nError(f.sourceSpan,"Cannot find message for id '"+j+"', content '"+h.content+"'.");var m=b._replaceInterpolationInAttr(f,b._messages[j]);c.push(new g.HtmlAttrAst(f.name,m,f.sourceSpan))}}),c},a.prototype._replaceInterpolationInAttr=function(a,b){var c=this._parser.splitInterpolation(a.value,a.sourceSpan.toString(),this._interpolationConfig),d=f.isPresent(c)?c.expressions:[],e=b[0],h=b[b.length-1],i=e.sourceSpan.start.offset,j=h instanceof g.HtmlElementAst?h.endSourceSpan.end.offset:h.sourceSpan.end.offset,k=this._messagesContent.substring(i,j);return this._replacePlaceholdersWithExpressions(k,d,a.sourceSpan)},a.prototype._replacePlaceholdersWithExpressions=function(a,b,c){var d=this,e=this._buildExprMap(b);return f.RegExpWrapper.replaceAll(o,a,function(a){var b=a[2],f=b.substring(1,b.length-1);return d._convertIntoExpression(f,e,c)})},a.prototype._buildExprMap=function(a){for(var b=new Map,c=new Map,d=0;d-1;d.push(new w(i,null,i.children,q.isPresent(k)?k.value:null,l))}else i instanceof r.HtmlTextAst&&d.push(new w(null,i,null,null,!1))}return d}function e(a){return a instanceof r.HtmlCommentAst&&q.isPresent(a.value)&&a.value.startsWith("i18n")}function f(a){return a instanceof r.HtmlCommentAst&&q.isPresent(a.value)&&"/i18n"===a.value}function g(a){for(var c=a.attrs,d=0;d1?b[1]:null}function j(a,b,c,d){var e=d.name.substring(5),f=c.attrs.find(function(a){return a.name==e});if(f)return k(a,b,f,h(d.value),i(d.value));throw new v(c.sourceSpan,"Missing attribute '"+e+"'.")}function k(a,b,c,d,e){void 0===d&&(d=null),void 0===e&&(e=null);var f=l(c.value,c.sourceSpan,a,b);return new t.Message(f,d,e)}function l(a,b,c,d){try{var e=c.splitInterpolation(a,b.toString(),d),f=new Map;if(q.isPresent(e)){for(var g="",h=0;h'}return g}return a}catch(j){return a}}function m(a,b){var c=q.StringWrapper.split(a,u);return c.length>1?c[1]:""+b}function n(a,b){var c=a.get(b);return q.isPresent(c)?(a.set(b,c+1),b+"_"+c):(a.set(b,1),b)}function o(a,b,c){var d=new x(b,c);return r.htmlVisitAll(d,a).join("")}var p=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},q=a("1e"),r=a("3c"),s=a("43"),t=a("42");b.I18N_ATTR="i18n",b.I18N_ATTR_PREFIX="i18n-";var u=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*"([\s\S]*?)"[\s\S]*\)/g,v=function(a){function b(b,c){a.call(this,b,c)}return p(b,a),b}(s.ParseError);b.I18nError=v,b.partition=d;var w=function(){function a(a,b,c,d,e){this.rootElement=a,this.rootTextNode=b,this.children=c,this.i18n=d,this.hasI18n=e}return Object.defineProperty(a.prototype,"sourceSpan",{get:function(){return q.isPresent(this.rootElement)?this.rootElement.sourceSpan:q.isPresent(this.rootTextNode)?this.rootTextNode.sourceSpan:this.children[0].sourceSpan},enumerable:!0,configurable:!0}),a.prototype.createMessage=function(a,b){return new t.Message(o(this.children,a,b),h(this.i18n),i(this.i18n))},a}();b.Part=w,b.meaning=h,b.description=i,b.messageFromI18nAttribute=j,b.messageFromAttribute=k,b.removeInterpolation=l,b.getPhNameFromBinding=m,b.dedupePhName=n,b.stringifyNodes=o;var x=function(){function a(a,b){this._parser=a,this._interpolationConfig=b,this._index=0}return a.prototype.visitElement=function(a,b){var c=this._index++,d=this._join(r.htmlVisitAll(this,a.children),"");return''+d+""},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitText=function(a,b){var c=this._index++,d=l(a.value,a.sourceSpan,this._parser,this._interpolationConfig);return d!=a.value?''+d+"":a.value},a.prototype.visitComment=function(a,b){return""},a.prototype.visitExpansion=function(a,b){return null},a.prototype.visitExpansionCase=function(a,b){return null},a.prototype._join=function(a,b){return a.filter(function(a){return a.length>0}).join(b)},a}();return c.exports}),a.registerDynamic("44",["19","1e","3c","41","42","3f","45"],!0,function(a,b,c){return function(c){"use strict";function d(a){var b={};return a.forEach(function(a){e.StringMapWrapper.contains(b,i.id(a))||(b[i.id(a)]=a)}),e.StringMapWrapper.values(b)}var e=a("19"),f=a("1e"),g=a("3c"),h=a("41"),i=a("42"),j=a("3f"),k=function(){function a(a,b){this.messages=a,this.errors=b}return a}();b.ExtractionResult=k,b.removeDuplicates=d;var l=function(){function a(a,b,c,d){this._htmlParser=a,this._parser=b,this._implicitTags=c,this._implicitAttrs=d}return a.prototype.extract=function(a,b,c){void 0===c&&(c=h.DEFAULT_INTERPOLATION_CONFIG),this._messages=[],this._errors=[];var d=this._htmlParser.parse(a,b,!0);return 0==d.errors.length&&this._recurse(d.rootNodes,c),new k(this._messages,this._errors.concat(d.errors))},a.prototype._extractMessagesFromPart=function(a,b){a.hasI18n?(this._messages.push(a.createMessage(this._parser,b)),this._recurseToExtractMessagesFromAttributes(a.children,b)):this._recurse(a.children,b),f.isPresent(a.rootElement)&&this._extractMessagesFromAttributes(a.rootElement,b)},a.prototype._recurse=function(a,b){var c=this;if(f.isPresent(a)){var d=j.partition(a,this._errors,this._implicitTags);d.forEach(function(a){return c._extractMessagesFromPart(a,b)})}},a.prototype._recurseToExtractMessagesFromAttributes=function(a,b){var c=this;a.forEach(function(a){a instanceof g.HtmlElementAst&&(c._extractMessagesFromAttributes(a,b),c._recurseToExtractMessagesFromAttributes(a.children,b))})},a.prototype._extractMessagesFromAttributes=function(a,b){var c=this,d=f.isPresent(this._implicitAttrs[a.name])?this._implicitAttrs[a.name]:[],e=[];a.attrs.filter(function(a){return a.name.startsWith(j.I18N_ATTR_PREFIX)}).forEach(function(d){try{e.push(d.name.substring(j.I18N_ATTR_PREFIX.length)),c._messages.push(j.messageFromI18nAttribute(c._parser,b,a,d))}catch(f){if(!(f instanceof j.I18nError))throw f;c._errors.push(f)}}),a.attrs.filter(function(a){return!a.name.startsWith(j.I18N_ATTR_PREFIX)}).filter(function(a){return-1==e.indexOf(a.name)}).filter(function(a){return d.indexOf(a.name)>-1}).forEach(function(a){return c._messages.push(j.messageFromAttribute(c._parser,b,a))})},a}();b.MessageExtractor=l}(a("45")),c.exports}),a.registerDynamic("42",["1e"],!0,function(a,b,c){"use strict";function d(a){var b=e.isPresent(a.meaning)?a.meaning:"",c=e.isPresent(a.content)?a.content:"";return e.escape("$ng|"+b+"|"+c)}var e=a("1e"),f=function(){function a(a,b,c){void 0===c&&(c=null),this.content=a,this.meaning=b,this.description=c}return a}();return b.Message=f,b.id=d,c.exports}),a.registerDynamic("46",["1e","3c","35","43","42"],!0,function(a,b,c){"use strict";function d(a){var b=a.map(function(a){return i(a)}).join("");return""+b+""}function e(a,b){var c=new o.HtmlParser,d=j(a.trim()),e=c.parse(d,b);if(e.errors.length>0)return new v(null,{},e.errors);if(f(e.rootNodes))return new v(null,{},[new w(null,'Missing element "'+u+'"')]);var h=e.rootNodes[0],i=[],k={};return g(h.children,k,i),0==i.length?new v(d,k,[]):new v(null,{},i)}function f(a){return a.length<1||!(a[0]instanceof n.HtmlElementAst)||a[0].name!=u}function g(a,b,c){a.forEach(function(a){if(a instanceof n.HtmlElementAst){var d=a;if(d.name!=t)return void c.push(new w(a.sourceSpan,'Unexpected element "'+d.name+'"'));var e=h(d);if(m.isBlank(e))return void c.push(new w(a.sourceSpan,'"'+s+'" attribute is missing'));b[e]=d.children}})}function h(a){var b=a.attrs.filter(function(a){return a.name==s});return b.length>0?b[0].value:null}function i(a){var b=m.isPresent(a.description)?" desc='"+k(a.description)+"'":"",c=m.isPresent(a.meaning)?" meaning='"+k(a.meaning)+"'":"";return""+a.content+""}function j(a){return m.RegExpWrapper.replaceAll(r,a,function(a){var b=a[2];return""})}function k(a){return x.reduce(function(a,b){return a.replace(b[0],b[1])},a)}var l=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},m=a("1e"),n=a("3c"),o=a("35"),p=a("43"),q=a("42"),r=m.RegExpWrapper.create('\\'),s="id",t="msg",u="message-bundle";b.serializeXmb=d;var v=function(){function a(a,b,c){this.content=a,this.messages=b,this.errors=c}return a}();b.XmbDeserializationResult=v;var w=function(a){function b(b,c){a.call(this,b,c)}return l(b,a),b}(p.ParseError);b.XmbDeserializationError=w,b.deserializeXmb=e;var x=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[//g,">"]];return c.exports}),a.registerDynamic("47",["9","1a","1e"],!0,function(a,b,c){"use strict";function d(a,b){if(f.isDevMode()&&!h.isBlank(b)){if(!h.isArray(b))throw new g.BaseException("Expected '"+a+"' to be an array of strings.");for(var c=0;c]/g,/^[\{\}]$/g];return b.assertInterpolationSymbols=e,c.exports}),a.registerDynamic("48",["9","23","19"],!0,function(a,b,c){"use strict";function d(a,b){var c=h.get(a),d=i.get(a);return f.reflector.hasLifecycleHook(b,c,d)}var e=a("9"),f=a("23"),g=a("19"),h=g.MapWrapper.createFromPairs([[f.LifecycleHooks.OnInit,e.OnInit],[f.LifecycleHooks.OnDestroy,e.OnDestroy],[f.LifecycleHooks.DoCheck,e.DoCheck],[f.LifecycleHooks.OnChanges,e.OnChanges],[f.LifecycleHooks.AfterContentInit,e.AfterContentInit],[f.LifecycleHooks.AfterContentChecked,e.AfterContentChecked],[f.LifecycleHooks.AfterViewInit,e.AfterViewInit],[f.LifecycleHooks.AfterViewChecked,e.AfterViewChecked]]),i=g.MapWrapper.createFromPairs([[f.LifecycleHooks.OnInit,"ngOnInit"],[f.LifecycleHooks.OnDestroy,"ngOnDestroy"],[f.LifecycleHooks.DoCheck,"ngDoCheck"],[f.LifecycleHooks.OnChanges,"ngOnChanges"],[f.LifecycleHooks.AfterContentInit,"ngAfterContentInit"],[f.LifecycleHooks.AfterContentChecked,"ngAfterContentChecked"],[f.LifecycleHooks.AfterViewInit,"ngAfterViewInit"],[f.LifecycleHooks.AfterViewChecked,"ngAfterViewChecked"]]);return b.hasLifecycleHook=d,c.exports}),a.registerDynamic("33",["9","23","19","1a","1e"],!0,function(a,b,c){"use strict";function d(a){return a instanceof e.DirectiveMetadata}var e=a("9"),f=a("23"),g=a("19"),h=a("1a"),i=a("1e"),j=function(){function a(a){void 0===a&&(a=f.reflector),this._reflector=a}return a.prototype.resolve=function(a){var b=this._reflector.annotations(e.resolveForwardRef(a));if(i.isPresent(b)){var c=b.find(d);if(i.isPresent(c)){var f=this._reflector.propMetadata(a);return this._mergeWithPropertyMetadata(c,f,a)}}throw new h.BaseException("No Directive annotation found on "+i.stringify(a))},a.prototype._mergeWithPropertyMetadata=function(a,b,c){var d=[],f=[],h={},j={};return g.StringMapWrapper.forEach(b,function(a,b){a.forEach(function(a){if(a instanceof e.InputMetadata&&(i.isPresent(a.bindingPropertyName)?d.push(b+": "+a.bindingPropertyName):d.push(b)),a instanceof e.OutputMetadata&&(i.isPresent(a.bindingPropertyName)?f.push(b+": "+a.bindingPropertyName):f.push(b)),a instanceof e.HostBindingMetadata&&(i.isPresent(a.hostPropertyName)?h["["+a.hostPropertyName+"]"]=b:h["["+b+"]"]=b),a instanceof e.HostListenerMetadata){var c=i.isPresent(a.args)?a.args.join(", "):"";h["("+a.eventName+")"]=b+"("+c+")"}a instanceof e.QueryMetadata&&(j[b]=a)})}),this._merge(a,d,f,h,j,c)},a.prototype._merge=function(a,b,c,d,f,j){var k,l=i.isPresent(a.inputs)?g.ListWrapper.concat(a.inputs,b):b;i.isPresent(a.outputs)?(a.outputs.forEach(function(a){if(g.ListWrapper.contains(c,a))throw new h.BaseException("Output event '"+a+"' defined multiple times in '"+i.stringify(j)+"'")}),k=g.ListWrapper.concat(a.outputs,c)):k=c;var m=i.isPresent(a.host)?g.StringMapWrapper.merge(a.host,d):d,n=i.isPresent(a.queries)?g.StringMapWrapper.merge(a.queries,f):f;return a instanceof e.ComponentMetadata?new e.ComponentMetadata({selector:a.selector,inputs:l,outputs:k,host:m,exportAs:a.exportAs,moduleId:a.moduleId,queries:n,changeDetection:a.changeDetection,providers:a.providers,viewProviders:a.viewProviders}):new e.DirectiveMetadata({selector:a.selector,inputs:l,outputs:k,host:m,exportAs:a.exportAs,queries:n,providers:a.providers})},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:f.ReflectorReader}],a}();return b.DirectiveResolver=j,b.CODEGEN_DIRECTIVE_RESOLVER=new j(f.reflector),c.exports}),a.registerDynamic("34",["9","23","1a","1e"],!0,function(a,b,c){"use strict";function d(a){return a instanceof e.PipeMetadata}var e=a("9"),f=a("23"),g=a("1a"),h=a("1e"),i=function(){function a(a){void 0===a&&(a=f.reflector),this._reflector=a}return a.prototype.resolve=function(a){var b=this._reflector.annotations(e.resolveForwardRef(a));if(h.isPresent(b)){var c=b.find(d);if(h.isPresent(c))return c}throw new g.BaseException("No Pipe decorator found on "+h.stringify(a))},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:f.ReflectorReader}],a}();return b.PipeResolver=i,c.exports}),a.registerDynamic("32",["9","23","1e","1a","19"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("23"),f=a("1e"),g=a("1a"),h=a("19"),i=function(){function a(a){void 0===a&&(a=e.reflector),this._reflector=a,this._cache=new h.Map}return a.prototype.resolve=function(a){var b=this._cache.get(a);return f.isBlank(b)&&(b=this._resolve(a),this._cache.set(a,b)),b},a.prototype._resolve=function(a){var b;if(this._reflector.annotations(a).forEach(function(a){a instanceof d.ComponentMetadata&&(b=a)}),f.isPresent(b)){if(f.isBlank(b.template)&&f.isBlank(b.templateUrl))throw new g.BaseException("Component '"+f.stringify(a)+"' must have either 'template' or 'templateUrl' set.");return new d.ViewMetadata({templateUrl:b.templateUrl,template:b.template,directives:b.directives,pipes:b.pipes,encapsulation:b.encapsulation,styles:b.styles,styleUrls:b.styleUrls,animations:b.animations,interpolation:b.interpolation})}throw new g.BaseException("Could not compile '"+f.stringify(a)+"' because it is not a component.")},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:e.ReflectorReader}],a}();return b.ViewResolver=i,c.exports}),a.registerDynamic("2c",["9","23","19","1a","1e","47","18","2d","48","33","34","31","1c","32"],!0,function(a,b,c){"use strict";function d(a,b){var c=[];return q.isPresent(b)&&f(b,c),q.isPresent(a.directives)&&f(a.directives,c),c}function e(a,b){var c=[];return q.isPresent(b)&&f(b,c),q.isPresent(a.pipes)&&f(a.pipes,c),c}function f(a,b){for(var c=0;c0?d:"package:"+d+y.MODULE_SUFFIX}return a.importUri(b)}function k(a){return y.visitValue(a,new B,null)}var l=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},m=a("9"),n=a("23"),o=a("19"),p=a("1a"),q=a("1e"),r=a("47"),s=a("18"),t=a("2d"),u=a("48"),v=a("33"),w=a("34"),x=a("31"),y=a("1c"),z=a("32"),A=function(){function a(a,b,c,d,e){void 0===e&&(e=n.reflector),this._directiveResolver=a,this._pipeResolver=b,this._viewResolver=c,this._config=d,this._reflector=e,this._directiveCache=new Map,this._pipeCache=new Map,this._anonymousTypes=new Map,this._anonymousTypeIndex=0}return a.prototype.sanitizeTokenName=function(a){var b=q.stringify(a);if(b.indexOf("(")>=0){var c=this._anonymousTypes.get(a);q.isBlank(c)&&(this._anonymousTypes.set(a,this._anonymousTypeIndex++),c=this._anonymousTypes.get(a)),b="anonymous_token_"+c+"_"}return y.sanitizeIdentifier(b)},a.prototype.getAnimationEntryMetadata=function(a){var b=this,c=a.definitions.map(function(a){return b.getAnimationStateMetadata(a)});return new s.CompileAnimationEntryMetadata(a.name,c)},a.prototype.getAnimationStateMetadata=function(a){if(a instanceof m.AnimationStateDeclarationMetadata){var b=this.getAnimationStyleMetadata(a.styles);return new s.CompileAnimationStateDeclarationMetadata(a.stateNameExpr,b)}return a instanceof m.AnimationStateTransitionMetadata?new s.CompileAnimationStateTransitionMetadata(a.stateChangeExpr,this.getAnimationMetadata(a.steps)):null},a.prototype.getAnimationStyleMetadata=function(a){return new s.CompileAnimationStyleMetadata(a.offset,a.styles)},a.prototype.getAnimationMetadata=function(a){var b=this;if(a instanceof m.AnimationStyleMetadata)return this.getAnimationStyleMetadata(a);if(a instanceof m.AnimationKeyframesSequenceMetadata)return new s.CompileAnimationKeyframesSequenceMetadata(a.steps.map(function(a){return b.getAnimationStyleMetadata(a)}));if(a instanceof m.AnimationAnimateMetadata){var c=this.getAnimationMetadata(a.styles);return new s.CompileAnimationAnimateMetadata(a.timings,c)}if(a instanceof m.AnimationWithStepsMetadata){var d=a.steps.map(function(a){return b.getAnimationMetadata(a)});return a instanceof m.AnimationGroupMetadata?new s.CompileAnimationGroupMetadata(d):new s.CompileAnimationSequenceMetadata(d)}return null},a.prototype.getDirectiveMetadata=function(a){var b=this,c=this._directiveCache.get(a);if(q.isBlank(c)){var d=this._directiveResolver.resolve(a),e=null,f=null,g=[],h=i(a);if(d instanceof m.ComponentMetadata){r.assertArrayOfStrings("styles",d.styles);var k=d,l=this._viewResolver.resolve(a);r.assertArrayOfStrings("styles",l.styles),r.assertInterpolationSymbols("interpolation",l.interpolation);var o=q.isPresent(l.animations)?l.animations.map(function(a){return b.getAnimationEntryMetadata(a)}):null;e=new s.CompileTemplateMetadata({encapsulation:l.encapsulation,template:l.template,templateUrl:l.templateUrl,styles:l.styles,styleUrls:l.styleUrls,animations:o,interpolation:l.interpolation}),f=k.changeDetection,q.isPresent(d.viewProviders)&&(g=this.getProvidersMetadata(d.viewProviders)),h=j(this._reflector,a,k)}var p=[];q.isPresent(d.providers)&&(p=this.getProvidersMetadata(d.providers));var t=[],v=[];q.isPresent(d.queries)&&(t=this.getQueriesMetadata(d.queries,!1,a),v=this.getQueriesMetadata(d.queries,!0,a)),c=s.CompileDirectiveMetadata.create({selector:d.selector,exportAs:d.exportAs,isComponent:q.isPresent(e),type:this.getTypeMetadata(a,h),template:e,changeDetection:f,inputs:d.inputs,outputs:d.outputs,host:d.host,lifecycleHooks:n.LIFECYCLE_HOOKS_VALUES.filter(function(b){return u.hasLifecycleHook(b,a)}),providers:p,viewProviders:g,queries:t,viewQueries:v}),this._directiveCache.set(a,c)}return c},a.prototype.maybeGetDirectiveMetadata=function(a){try{return this.getDirectiveMetadata(a)}catch(b){if(-1!==b.message.indexOf("No Directive annotation"))return null;throw b}},a.prototype.getTypeMetadata=function(a,b,c){return void 0===c&&(c=null),new s.CompileTypeMetadata({name:this.sanitizeTokenName(a),moduleUrl:b,runtime:a,diDeps:this.getDependenciesMetadata(a,c)})},a.prototype.getFactoryMetadata=function(a,b,c){return void 0===c&&(c=null),new s.CompileFactoryMetadata({name:this.sanitizeTokenName(a),moduleUrl:b,runtime:a,diDeps:this.getDependenciesMetadata(a,c)})},a.prototype.getPipeMetadata=function(a){var b=this._pipeCache.get(a);if(q.isBlank(b)){var c=this._pipeResolver.resolve(a);b=new s.CompilePipeMetadata({type:this.getTypeMetadata(a,i(a)),name:c.name,pure:c.pure,lifecycleHooks:n.LIFECYCLE_HOOKS_VALUES.filter(function(b){return u.hasLifecycleHook(b,a)})}),this._pipeCache.set(a,b)}return b},a.prototype.getViewDirectivesMetadata=function(a){for(var b=this,c=this._viewResolver.resolve(a),e=d(c,this._config.platformDirectives),f=0;fc;c++)b+=" ";return b}var f=a("1a"),g=a("1e"),h=a("1b"),i=/'|\\|\n|\r|\$/g;b.CATCH_ERROR_VAR=h.variable("error"),b.CATCH_STACK_VAR=h.variable("stack");var j=function(){function a(){}return a}();b.OutputEmitter=j;var k=function(){function a(a){this.indent=a,this.parts=[]}return a}(),l=function(){function a(a,b){this._exportedVars=a,this._indent=b,this._classes=[],this._lines=[new k(b)]}return a.createRoot=function(b){return new a(b,0)},Object.defineProperty(a.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!0,configurable:!0}),a.prototype.isExportedVar=function(a){return-1!==this._exportedVars.indexOf(a)},a.prototype.println=function(a){void 0===a&&(a=""),this.print(a,!0)},a.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},a.prototype.print=function(a,b){void 0===b&&(b=!1),a.length>0&&this._currentLine.parts.push(a),b&&this._lines.push(new k(this._indent))},a.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},a.prototype.incIndent=function(){this._indent++,this._currentLine.indent=this._indent},a.prototype.decIndent=function(){this._indent--,this._currentLine.indent=this._indent},a.prototype.pushClass=function(a){this._classes.push(a)},a.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(a.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),a.prototype.toSource=function(){var a=this._lines;return 0===a[a.length-1].parts.length&&(a=a.slice(0,a.length-1)),a.map(function(a){return a.parts.length>0?e(a.indent)+a.parts.join(""):""}).join("\n")},a}();b.EmitterVisitorContext=l;var m=function(){function a(a){this._escapeDollarInStrings=a}return a.prototype.visitExpressionStmt=function(a,b){return a.expr.visitExpression(this,b),b.println(";"),null},a.prototype.visitReturnStmt=function(a,b){return b.print("return "),a.value.visitExpression(this,b),b.println(";"),null},a.prototype.visitIfStmt=function(a,b){b.print("if ("),a.condition.visitExpression(this,b),b.print(") {");var c=g.isPresent(a.falseCase)&&a.falseCase.length>0;return a.trueCase.length<=1&&!c?(b.print(" "),this.visitAllStatements(a.trueCase,b),b.removeEmptyLastLine(),b.print(" ")):(b.println(),b.incIndent(),this.visitAllStatements(a.trueCase,b),b.decIndent(),c&&(b.println("} else {"),b.incIndent(),this.visitAllStatements(a.falseCase,b),b.decIndent())),b.println("}"),null},a.prototype.visitThrowStmt=function(a,b){return b.print("throw "),a.error.visitExpression(this,b),b.println(";"),null},a.prototype.visitCommentStmt=function(a,b){var c=a.comment.split("\n");return c.forEach(function(a){b.println("// "+a)}),null},a.prototype.visitWriteVarExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),b.print(a.name+" = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitWriteKeyExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),a.receiver.visitExpression(this,b),b.print("["),a.index.visitExpression(this,b),b.print("] = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitWritePropExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),a.receiver.visitExpression(this,b),b.print("."+a.name+" = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitInvokeMethodExpr=function(a,b){a.receiver.visitExpression(this,b);var c=a.name;return g.isPresent(a.builtin)&&(c=this.getBuiltinMethodName(a.builtin),g.isBlank(c))?null:(b.print("."+c+"("),this.visitAllExpressions(a.args,b,","),b.print(")"),null)},a.prototype.visitInvokeFunctionExpr=function(a,b){return a.fn.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},a.prototype.visitReadVarExpr=function(a,c){var d=a.name;if(g.isPresent(a.builtin))switch(a.builtin){case h.BuiltinVar.Super:d="super";break;case h.BuiltinVar.This:d="this";break;case h.BuiltinVar.CatchError:d=b.CATCH_ERROR_VAR.name;break;case h.BuiltinVar.CatchStack:d=b.CATCH_STACK_VAR.name;break;default:throw new f.BaseException("Unknown builtin variable "+a.builtin)}return c.print(d),null},a.prototype.visitInstantiateExpr=function(a,b){return b.print("new "),a.classExpr.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},a.prototype.visitLiteralExpr=function(a,b){var c=a.value;return g.isString(c)?b.print(d(c,this._escapeDollarInStrings)):g.isBlank(c)?b.print("null"):b.print(""+c),null},a.prototype.visitConditionalExpr=function(a,b){return b.print("("),a.condition.visitExpression(this,b),b.print("? "),a.trueCase.visitExpression(this,b),b.print(": "),a.falseCase.visitExpression(this,b),b.print(")"),null},a.prototype.visitNotExpr=function(a,b){return b.print("!"),a.condition.visitExpression(this,b),null},a.prototype.visitBinaryOperatorExpr=function(a,b){var c;switch(a.operator){case h.BinaryOperator.Equals:c="==";break;case h.BinaryOperator.Identical:c="===";break;case h.BinaryOperator.NotEquals:c="!=";break;case h.BinaryOperator.NotIdentical:c="!==";break;case h.BinaryOperator.And:c="&&";break;case h.BinaryOperator.Or:c="||";break;case h.BinaryOperator.Plus:c="+";break;case h.BinaryOperator.Minus:c="-";break;case h.BinaryOperator.Divide:c="/";break;case h.BinaryOperator.Multiply:c="*";break;case h.BinaryOperator.Modulo: c="%";break;case h.BinaryOperator.Lower:c="<";break;case h.BinaryOperator.LowerEquals:c="<=";break;case h.BinaryOperator.Bigger:c=">";break;case h.BinaryOperator.BiggerEquals:c=">=";break;default:throw new f.BaseException("Unknown operator "+a.operator)}return b.print("("),a.lhs.visitExpression(this,b),b.print(" "+c+" "),a.rhs.visitExpression(this,b),b.print(")"),null},a.prototype.visitReadPropExpr=function(a,b){return a.receiver.visitExpression(this,b),b.print("."),b.print(a.name),null},a.prototype.visitReadKeyExpr=function(a,b){return a.receiver.visitExpression(this,b),b.print("["),a.index.visitExpression(this,b),b.print("]"),null},a.prototype.visitLiteralArrayExpr=function(a,b){var c=a.entries.length>1;return b.print("[",c),b.incIndent(),this.visitAllExpressions(a.entries,b,",",c),b.decIndent(),b.print("]",c),null},a.prototype.visitLiteralMapExpr=function(a,b){var c=this,e=a.entries.length>1;return b.print("{",e),b.incIndent(),this.visitAllObjects(function(a){b.print(d(a[0],c._escapeDollarInStrings)+": "),a[1].visitExpression(c,b)},a.entries,b,",",e),b.decIndent(),b.print("}",e),null},a.prototype.visitAllExpressions=function(a,b,c,d){var e=this;void 0===d&&(d=!1),this.visitAllObjects(function(a){return a.visitExpression(e,b)},a,b,c,d)},a.prototype.visitAllObjects=function(a,b,c,d,e){void 0===e&&(e=!1);for(var f=0;f0&&c.print(d,e),a(b[f]);e&&c.println()},a.prototype.visitAllStatements=function(a,b){var c=this;a.forEach(function(a){return a.visitStatement(c,b)})},a}();return b.AbstractEmitterVisitor=m,b.escapeSingleQuoteString=d,c.exports}),a.registerDynamic("25",["1a","1e","1f","1b"],!0,function(a,b,c){"use strict";function d(a){var b,c=new l(j),d=h.EmitterVisitorContext.createRoot([]);return b=g.isArray(a)?a:[a],b.forEach(function(a){if(a instanceof i.Statement)a.visitStatement(c,d);else if(a instanceof i.Expression)a.visitExpression(c,d);else{if(!(a instanceof i.Type))throw new f.BaseException("Don't know how to print debug info for "+a);a.visitType(c,d)}}),d.toSource()}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("1a"),g=a("1e"),h=a("1f"),i=a("1b"),j="asset://debug/lib";b.debugOutputAstAsTypeScript=d;var k=function(){function a(a){this._importGenerator=a}return a.prototype.emitStatements=function(a,b,c){var d=this,e=new l(a),f=h.EmitterVisitorContext.createRoot(c);e.visitAllStatements(b,f);var g=[];return e.importsWithPrefixes.forEach(function(b,c){g.push("imp"+("ort * as "+b+" from '"+d._importGenerator.getImportPath(a,c)+"';"))}),g.push(f.toSource()),g.join("\n")},a}();b.TypeScriptEmitter=k;var l=function(a){function b(b){a.call(this,!1),this._moduleUrl=b,this.importsWithPrefixes=new Map}return e(b,a),b.prototype.visitType=function(a,b,c){void 0===c&&(c="any"),g.isPresent(a)?a.visitType(this,b):b.print(c)},b.prototype.visitExternalExpr=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitDeclareVarStmt=function(a,b){return b.isExportedVar(a.name)&&b.print("export "),a.hasModifier(i.StmtModifier.Final)?b.print("const"):b.print("var"),b.print(" "+a.name+":"),this.visitType(a.type,b),b.print(" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return b.print("(<"),a.type.visitType(this,b),b.print(">"),a.value.visitExpression(this,b),b.print(")"),null},b.prototype.visitDeclareClassStmt=function(a,b){var c=this;return b.pushClass(a),b.isExportedVar(a.name)&&b.print("export "),b.print("class "+a.name),g.isPresent(a.parent)&&(b.print(" extends "),a.parent.visitExpression(this,b)),b.println(" {"),b.incIndent(),a.fields.forEach(function(a){return c._visitClassField(a,b)}),g.isPresent(a.constructorMethod)&&this._visitClassConstructor(a,b),a.getters.forEach(function(a){return c._visitClassGetter(a,b)}),a.methods.forEach(function(a){return c._visitClassMethod(a,b)}),b.decIndent(),b.println("}"),b.popClass(),null},b.prototype._visitClassField=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print(a.name),b.print(":"),this.visitType(a.type,b),b.println(";")},b.prototype._visitClassGetter=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print("get "+a.name+"()"),b.print(":"),this.visitType(a.type,b),b.println(" {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype._visitClassConstructor=function(a,b){b.print("constructor("),this._visitParams(a.constructorMethod.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.constructorMethod.body,b),b.decIndent(),b.println("}")},b.prototype._visitClassMethod=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print(a.name+"("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype.visitFunctionExpr=function(a,b){return b.print("("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" => {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return b.isExportedVar(a.name)&&b.print("export "),b.print("function "+a.name+"("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.visitTryCatchStmt=function(a,b){b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+h.CATCH_ERROR_VAR.name+") {"),b.incIndent();var c=[h.CATCH_STACK_VAR.set(h.CATCH_ERROR_VAR.prop("stack")).toDeclStmt(null,[i.StmtModifier.Final])].concat(a.catchStmts);return this.visitAllStatements(c,b),b.decIndent(),b.println("}"),null},b.prototype.visitBuiltintType=function(a,b){var c;switch(a.name){case i.BuiltinTypeName.Bool:c="boolean";break;case i.BuiltinTypeName.Dynamic:c="any";break;case i.BuiltinTypeName.Function:c="Function";break;case i.BuiltinTypeName.Number:c="number";break;case i.BuiltinTypeName.Int:c="number";break;case i.BuiltinTypeName.String:c="string";break;default:throw new f.BaseException("Unsupported builtin type "+a.name)}return b.print(c),null},b.prototype.visitExternalType=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitArrayType=function(a,b){return this.visitType(a.of,b),b.print("[]"),null},b.prototype.visitMapType=function(a,b){return b.print("{[key: string]:"),this.visitType(a.valueType,b),b.print("}"),null},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case i.BuiltinMethod.ConcatArray:b="concat";break;case i.BuiltinMethod.SubscribeObservable:b="subscribe";break;case i.BuiltinMethod.bind:b="bind";break;default:throw new f.BaseException("Unknown builtin method: "+a)}return b},b.prototype._visitParams=function(a,b){var c=this;this.visitAllObjects(function(a){b.print(a.name),b.print(":"),c.visitType(a.type,b)},a,b,",")},b.prototype._visitIdentifier=function(a,b,c){var d=this;if(g.isBlank(a.name))throw new f.BaseException("Internal error: unknown identifier "+a);if(g.isPresent(a.moduleUrl)&&a.moduleUrl!=this._moduleUrl){var e=this.importsWithPrefixes.get(a.moduleUrl);g.isBlank(e)&&(e="import"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(a.moduleUrl,e)),c.print(e+".")}c.print(a.name),g.isPresent(b)&&b.length>0&&(c.print("<"),this.visitAllObjects(function(a){return a.visitType(d,c)},b,c,","),c.print(">"))},b}(h.AbstractEmitterVisitor);return c.exports}),a.registerDynamic("4a",["23"],!0,function(a,b,c){"use strict";function d(a,c){for(var d=0,e=c;d0?f.push(i):(f.length>0&&(d.push(f.join("")),c.push(D),f=[]),c.push(i)),i==B&&e++}return f.length>0&&(d.push(f.join("")),c.push(D)),new F(c.join(""),d)}var g=a("19"),h=a("1e"),i=function(){function a(){this.strictStyling=!0}return a.prototype.shimCssText=function(a,b,c){return void 0===c&&(c=""),a=d(a),a=this._insertDirectives(a),this._scopeCssText(a,b,c)},a.prototype._insertDirectives=function(a){return a=this._insertPolyfillDirectivesInCssText(a),this._insertPolyfillRulesInCssText(a)},a.prototype._insertPolyfillDirectivesInCssText=function(a){return h.StringWrapper.replaceAllMapped(a,j,function(a){return a[1]+"{"})},a.prototype._insertPolyfillRulesInCssText=function(a){return h.StringWrapper.replaceAllMapped(a,k,function(a){var b=a[0];return b=h.StringWrapper.replace(b,a[1],""),b=h.StringWrapper.replace(b,a[2],""),a[3]+b})},a.prototype._scopeCssText=function(a,b,c){var d=this._extractUnscopedRulesFromCssText(a);return a=this._insertPolyfillHostInCssText(a),a=this._convertColonHost(a),a=this._convertColonHostContext(a),a=this._convertShadowDOMSelectors(a),h.isPresent(b)&&(a=this._scopeSelectors(a,b,c)),a=a+"\n"+d,a.trim()},a.prototype._extractUnscopedRulesFromCssText=function(a){for(var b,c="",d=h.RegExpWrapper.matcher(l,a);h.isPresent(b=h.RegExpMatcherWrapper.next(d));){var e=b[0];e=h.StringWrapper.replace(e,b[2],""),e=h.StringWrapper.replace(e,b[1],b[3]),c+=e+"\n\n"}return c},a.prototype._convertColonHost=function(a){return this._convertColonRule(a,p,this._colonHostPartReplacer)},a.prototype._convertColonHostContext=function(a){return this._convertColonRule(a,q,this._colonHostContextPartReplacer)},a.prototype._convertColonRule=function(a,b,c){return h.StringWrapper.replaceAllMapped(a,b,function(a){if(h.isPresent(a[2])){for(var b=a[2].split(","),d=[],e=0;e","+","~"],e=a,f="["+b+"]",i=0;i0&&!g.ListWrapper.contains(d,b)&&!h.StringWrapper.contains(b,f)){var c=/([^:]*)(:*)(.*)/g,e=h.RegExpWrapper.firstMatch(c,b);h.isPresent(e)&&(a=e[1]+f+e[2]+e[3])}return a}).join(j)}return e},a.prototype._insertPolyfillHostInCssText=function(a){return a=h.StringWrapper.replaceAll(a,x,n),a=h.StringWrapper.replaceAll(a,w,m)},a}();b.ShadowCss=i;var j=/polyfill-next-selector[^}]*content:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim,k=/(polyfill-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,l=/(polyfill-unscoped-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,m="-shadowcsshost",n="-shadowcsscontext",o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",p=h.RegExpWrapper.create("("+m+o,"im"),q=h.RegExpWrapper.create("("+n+o,"im"),r=m+"-no-combinator",s=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],t=/(?:>>>)|(?:\/deep\/)/g,u="([>\\s~+[.,{:][\\s\\S]*)?$",v=h.RegExpWrapper.create(m,"im"),w=/:host/gim,x=/:host-context/gim,y=/\/\*[\s\S]*?\*\//g,z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,A=/([{}])/g,B="{",C="}",D="%BLOCK%",E=function(){function a(a,b){this.selector=a,this.content=b}return a}();b.CssRule=E,b.processRules=e;var F=function(){function a(a,b){this.escapedString=a,this.blocks=b}return a}()}(a("45")),c.exports}),a.registerDynamic("28",["9","1e","18","1b","4b","3b","31"],!0,function(a,b,c){"use strict";function d(a){var b="styles";return f.isPresent(a)&&(b+="_"+a.type.name),b}var e=a("9"),f=a("1e"),g=a("18"),h=a("1b"),i=a("4b"),j=a("3b"),k=a("31"),l="%COMP%",m="_nghost-"+l,n="_ngcontent-"+l,o=function(){function a(a,b,c){this.moduleUrl=a,this.isShimmed=b,this.valuePlaceholder=c}return a}();b.StylesCompileDependency=o;var p=function(){function a(a,b,c){this.statements=a,this.stylesVar=b,this.dependencies=c}return a}();b.StylesCompileResult=p;var q=function(){function a(a){this._urlResolver=a,this._shadowCss=new i.ShadowCss}return a.prototype.compileComponent=function(a){var b=a.template.encapsulation===e.ViewEncapsulation.Emulated;return this._compileStyles(d(a),a.template.styles,a.template.styleUrls,b)},a.prototype.compileStylesheet=function(a,b,c){var e=j.extractStyleUrls(this._urlResolver,a,b);return this._compileStyles(d(null),[e.style],e.styleUrls,c)},a.prototype._compileStyles=function(a,b,c,e){for(var f=this,i=b.map(function(a){return h.literal(f._shimIfNeeded(a,e))}),j=[],k=0;k0&&f.isBlank(b.element)&&d.ListWrapper.isEmpty(b.classNames)&&d.ListWrapper.isEmpty(b.attrs)&&(b.element="*"),a.push(b)},j=new a,k=f.RegExpWrapper.matcher(h,b),l=j,m=!1;f.isPresent(c=f.RegExpMatcherWrapper.next(k));){if(f.isPresent(c[1])){if(m)throw new e.BaseException("Nesting :not is not allowed in a selector");m=!0,l=new a,j.notSelectors.push(l)}if(f.isPresent(c[2])&&l.setElement(c[2]),f.isPresent(c[3])&&l.addClassName(c[3]),f.isPresent(c[4])&&l.addAttribute(c[4],c[5]),f.isPresent(c[6])&&(m=!1,l=j),f.isPresent(c[7])){if(m)throw new e.BaseException("Multiple selectors in :not are not supported");i(g,j),j=l=new a}}return i(g,j),g},a.prototype.isElementSelector=function(){return f.isPresent(this.element)&&d.ListWrapper.isEmpty(this.classNames)&&d.ListWrapper.isEmpty(this.attrs)&&0===this.notSelectors.length},a.prototype.setElement=function(a){void 0===a&&(a=null),this.element=a},a.prototype.getMatchingElementTemplate=function(){for(var a=f.isPresent(this.element)?this.element:"div",b=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",c="",d=0;d"},a.prototype.addAttribute=function(a,b){void 0===b&&(b=g),this.attrs.push(a),b=f.isPresent(b)?b.toLowerCase():g,this.attrs.push(b)},a.prototype.addClassName=function(a){this.classNames.push(a.toLowerCase())},a.prototype.toString=function(){var a="";if(f.isPresent(this.element)&&(a+=this.element),f.isPresent(this.classNames))for(var b=0;b0&&(a+="="+d),a+="]"}return this.notSelectors.forEach(function(b){return a+=":not("+b+")"}),a},a}();b.CssSelector=i;var j=function(){function a(){this._elementMap=new d.Map,this._elementPartialMap=new d.Map,this._classMap=new d.Map,this._classPartialMap=new d.Map,this._attrValueMap=new d.Map,this._attrValuePartialMap=new d.Map,this._listContexts=[]}return a.createNotMatcher=function(b){var c=new a;return c.addSelectables(b,null),c},a.prototype.addSelectables=function(a,b){var c=null;a.length>1&&(c=new k(a),this._listContexts.push(c));for(var d=0;d0&&(f.isBlank(this.listContext)||!this.listContext.alreadyMatched)){var d=j.createNotMatcher(this.notSelectors);c=!d.match(a,null)}return c&&f.isPresent(b)&&(f.isBlank(this.listContext)||!this.listContext.alreadyMatched)&&(f.isPresent(this.listContext)&&(this.listContext.alreadyMatched=!0),b(this.selector,this.cbContext)),c},a}();b.SelectorContext=l}(a("45")),c.exports}),a.registerDynamic("31",["9","1e"],!0,function(a,b,c){"use strict";function d(){return new o}function e(){return new o(n)}function f(a){var b=h(a);return b&&b[p.Scheme]||""}function g(a,b,c,d,e,f,g){var h=[];return m.isPresent(a)&&h.push(a+":"),m.isPresent(c)&&(h.push("//"),m.isPresent(b)&&h.push(b+"@"),h.push(c),m.isPresent(d)&&h.push(":"+d)),m.isPresent(e)&&h.push(e),m.isPresent(f)&&h.push("?"+f),m.isPresent(g)&&h.push("#"+g),h.join("")}function h(a){return m.RegExpWrapper.firstMatch(q,a)}function i(a){if("/"==a)return"/";for(var b="/"==a[0]?"/":"",c="/"===a[a.length-1]?"/":"",d=a.split("/"),e=[],f=0,g=0;g0?e.pop():f++;break;default:e.push(h)}}if(""==b){for(;f-- >0;)e.unshift("..");0===e.length&&e.push(".")}return b+e.join("/")+c}function j(a){var b=a[p.Path];return b=m.isBlank(b)?"":i(b),a[p.Path]=b,g(a[p.Scheme],a[p.UserInfo],a[p.Domain],a[p.Port],b,a[p.QueryData],a[p.Fragment])}function k(a,b){var c=h(encodeURI(b)),d=h(a);if(m.isPresent(c[p.Scheme]))return j(c);c[p.Scheme]=d[p.Scheme];for(var e=p.Scheme;e<=p.Port;e++)m.isBlank(c[e])&&(c[e]=d[e]);if("/"==c[p.Path][0])return j(c);var f=d[p.Path];m.isBlank(f)&&(f="/");var g=f.lastIndexOf("/");return f=f.substring(0,g+1)+c[p.Path],c[p.Path]=f,j(c)}var l=a("9"),m=a("1e"),n="asset:";b.createUrlResolverWithoutPackagePrefix=d,b.createOfflineCompileUrlResolver=e,b.DEFAULT_PACKAGE_URL_PROVIDER={provide:l.PACKAGE_ROOT_URL,useValue:"/"};var o=function(){function a(a){void 0===a&&(a=null),this._packagePrefix=a}return a.prototype.resolve=function(a,b){var c=b;m.isPresent(a)&&a.length>0&&(c=k(a,c));var d=h(c),e=this._packagePrefix;if(m.isPresent(e)&&m.isPresent(d)&&"package"==d[p.Scheme]){var f=d[p.Path];if(this._packagePrefix!==n)return e=m.StringWrapper.stripRight(e,"/"),f=m.StringWrapper.stripLeft(f,"/"),e+"/"+f;var g=f.split(/\//);c="asset:"+g[0]+"/lib/"+g.slice(1).join("/")}return c},a.decorators=[{type:l.Injectable}],a.ctorParameters=[{type:void 0,decorators:[{type:l.Inject,args:[l.PACKAGE_ROOT_URL]}]}],a}();b.UrlResolver=o,b.getUrlScheme=f;var p,q=m.RegExpWrapper.create("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");return function(a){a[a.Scheme=1]="Scheme",a[a.UserInfo=2]="UserInfo",a[a.Domain=3]="Domain",a[a.Port=4]="Port",a[a.Path=5]="Path",a[a.QueryData=6]="QueryData",a[a.Fragment=7]="Fragment"}(p||(p={})),c.exports}),a.registerDynamic("1c",["19","1e"],!0,function(a,b,c){"use strict";function d(a){return j.StringWrapper.replaceAllMapped(a,k,function(a){return"-"+a[1].toLowerCase()})}function e(a,b){var c=j.StringWrapper.split(a.trim(),/\s*:\s*/g);return c.length>1?c:b}function f(a){return j.StringWrapper.replaceAll(a,/\W/g,"_")}function g(a,b,c){return j.isArray(a)?b.visitArray(a,c):j.isStrictStringMap(a)?b.visitStringMap(a,c):j.isBlank(a)||j.isPrimitive(a)?b.visitPrimitive(a,c):b.visitOther(a,c)}function h(a,b,c){return void 0===b&&(b=null),void 0===c&&(c="src"),j.IS_DART?null==b?"asset:angular2/"+a+"/"+a+".dart":"asset:angular2/lib/"+a+"/src/"+b+".dart":null==b?"asset:@angular/lib/"+a+"/index":"asset:@angular/lib/"+a+"/src/"+b}var i=a("19"),j=a("1e");b.MODULE_SUFFIX=j.IS_DART?".dart":"";var k=/([A-Z])/g;b.camelCaseToDashCase=d,b.splitAtColon=e,b.sanitizeIdentifier=f,b.visitValue=g;var l=function(){function a(){}return a.prototype.visitArray=function(a,b){var c=this;return a.map(function(a){return g(a,c,b)})},a.prototype.visitStringMap=function(a,b){var c=this,d={};return i.StringMapWrapper.forEach(a,function(a,e){d[e]=g(a,c,b)}),d},a.prototype.visitPrimitive=function(a,b){return a},a.prototype.visitOther=function(a,b){return a},a}();return b.ValueTransformer=l,b.assetUrl=h,c.exports}),a.registerDynamic("18",["9","23","19","1a","1e","52","31","1c"],!0,function(a,b,c){"use strict";function d(a){return T[a["class"]](a)}function e(a,b){var c=q.CssSelector.parse(b)[0].getMatchingElementTemplate();return R.create({type:new O({runtime:Object,name:a.name+"_Host",moduleUrl:a.moduleUrl,isHost:!0}),template:new Q({template:c,templateUrl:"",styles:[],styleUrls:[],ngContentSelectors:[],animations:[]}),changeDetection:l.ChangeDetectionStrategy.Default,inputs:[],outputs:[],host:{},lifecycleHooks:[],isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],viewQueries:[]})}function f(a,b){return p.isBlank(a)?null:a.map(function(a){return h(a,b)})}function g(a){return p.isBlank(a)?null:a.map(i)}function h(a,b){return p.isArray(a)?f(a,b):p.isString(a)||p.isBlank(a)||p.isBoolean(a)||p.isNumber(a)?a:b(a)}function i(a){return p.isArray(a)?g(a):p.isString(a)||p.isBlank(a)||p.isBoolean(a)||p.isNumber(a)?a:a.toJson()}function j(a){return p.isPresent(a)?a:[]}var k=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},l=a("9"),m=a("23"),n=a("19"),o=a("1a"),p=a("1e"),q=a("52"),r=a("31"),s=a("1c"),t=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))$/g,u=function(){function a(){}return Object.defineProperty(a.prototype,"identifier",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),a}();b.CompileMetadataWithIdentifier=u;var v=function(a){function b(){a.apply(this,arguments)}return k(b,a),Object.defineProperty(b.prototype,"type",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"identifier",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),b}(u);b.CompileMetadataWithType=v,b.metadataFromJson=d;var w=function(){function a(a,b){void 0===a&&(a=null),void 0===b&&(b=null),this.name=a,this.definitions=b}return a.fromJson=function(b){var c=b.value,e=f(c.definitions,d);return new a(c.name,e)},a.prototype.toJson=function(){return{"class":"AnimationEntryMetadata",value:{name:this.name,definitions:g(this.definitions)}}},a}();b.CompileAnimationEntryMetadata=w;var x=function(){function a(){}return a}();b.CompileAnimationStateMetadata=x;var y=function(a){function b(b,c){a.call(this),this.stateNameExpr=b,this.styles=c}return k(b,a),b.fromJson=function(a){var c=a.value,e=h(c.styles,d);return new b(c.stateNameExpr,e)},b.prototype.toJson=function(){return{"class":"AnimationStateDeclarationMetadata",value:{stateNameExpr:this.stateNameExpr,styles:this.styles.toJson()}}},b}(x);b.CompileAnimationStateDeclarationMetadata=y;var z=function(a){function b(b,c){a.call(this),this.stateChangeExpr=b,this.steps=c}return k(b,a),b.fromJson=function(a){var c=a.value,e=h(c.steps,d);return new b(c.stateChangeExpr,e)},b.prototype.toJson=function(){return{"class":"AnimationStateTransitionMetadata",value:{stateChangeExpr:this.stateChangeExpr,steps:this.steps.toJson()}}},b}(x);b.CompileAnimationStateTransitionMetadata=z;var A=function(){function a(){}return a}();b.CompileAnimationMetadata=A;var B=function(a){function b(b){void 0===b&&(b=[]),a.call(this),this.steps=b}return k(b,a),b.fromJson=function(a){var c=f(a.value,d);return new b(c)},b.prototype.toJson=function(){return{"class":"AnimationKeyframesSequenceMetadata",value:g(this.steps)}},b}(A);b.CompileAnimationKeyframesSequenceMetadata=B;var C=function(a){function b(b,c){void 0===c&&(c=null),a.call(this),this.offset=b,this.styles=c}return k(b,a),b.fromJson=function(a){var c=a.value,d=c.offset,e=p.isPresent(d)?p.NumberWrapper.parseFloat(d):null,f=c.styles;return new b(e,f)},b.prototype.toJson=function(){return{"class":"AnimationStyleMetadata",value:{offset:this.offset,styles:this.styles}}},b}(A);b.CompileAnimationStyleMetadata=C;var D=function(a){function b(b,c){void 0===b&&(b=0),void 0===c&&(c=null),a.call(this),this.timings=b,this.styles=c}return k(b,a),b.fromJson=function(a){var c=a.value,e=c.timings,f=h(c.styles,d);return new b(e,f)},b.prototype.toJson=function(){return{"class":"AnimationAnimateMetadata",value:{timings:this.timings,styles:i(this.styles)}}},b}(A);b.CompileAnimationAnimateMetadata=D;var E=function(a){function b(b){void 0===b&&(b=null),a.call(this),this.steps=b}return k(b,a),b}(A);b.CompileAnimationWithStepsMetadata=E;var F=function(a){function b(b){void 0===b&&(b=null),a.call(this,b)}return k(b,a),b.fromJson=function(a){var c=f(a.value,d);return new b(c)},b.prototype.toJson=function(){return{"class":"AnimationSequenceMetadata",value:g(this.steps)}},b}(E);b.CompileAnimationSequenceMetadata=F;var G=function(a){function b(b){void 0===b&&(b=null),a.call(this,b)}return k(b,a),b.fromJson=function(a){var c=f(a.value,d);return new b(c)},b.prototype.toJson=function(){return{"class":"AnimationGroupMetadata",value:g(this.steps)}},b}(E);b.CompileAnimationGroupMetadata=G;var H=function(){function a(a){var b=void 0===a?{}:a,c=b.runtime,d=b.name,e=b.moduleUrl,f=b.prefix,g=b.value;this.runtime=c,this.name=d,this.prefix=f,this.moduleUrl=e,this.value=g}return a.fromJson=function(b){var c=p.isArray(b.value)?f(b.value,d):h(b.value,d);return new a({name:b.name,prefix:b.prefix,moduleUrl:b.moduleUrl,value:c})},a.prototype.toJson=function(){var a=p.isArray(this.value)?g(this.value):i(this.value);return{"class":"Identifier",name:this.name,moduleUrl:this.moduleUrl,prefix:this.prefix,value:a}},Object.defineProperty(a.prototype,"identifier",{get:function(){return this},enumerable:!0,configurable:!0}),a}();b.CompileIdentifierMetadata=H;var I=function(){function a(a){var b=void 0===a?{}:a,c=b.isAttribute,d=b.isSelf,e=b.isHost,f=b.isSkipSelf,g=b.isOptional,h=b.isValue,i=b.query,j=b.viewQuery,k=b.token,l=b.value;this.isAttribute=p.normalizeBool(c),this.isSelf=p.normalizeBool(d),this.isHost=p.normalizeBool(e),this.isSkipSelf=p.normalizeBool(f),this.isOptional=p.normalizeBool(g),this.isValue=p.normalizeBool(h),this.query=i,this.viewQuery=j,this.token=k,this.value=l}return a.fromJson=function(b){return new a({token:h(b.token,M.fromJson),query:h(b.query,P.fromJson),viewQuery:h(b.viewQuery,P.fromJson),value:b.value,isAttribute:b.isAttribute,isSelf:b.isSelf,isHost:b.isHost,isSkipSelf:b.isSkipSelf,isOptional:b.isOptional,isValue:b.isValue})},a.prototype.toJson=function(){return{token:i(this.token),query:i(this.query),viewQuery:i(this.viewQuery),value:this.value,isAttribute:this.isAttribute,isSelf:this.isSelf,isHost:this.isHost,isSkipSelf:this.isSkipSelf,isOptional:this.isOptional,isValue:this.isValue}},a}();b.CompileDiDependencyMetadata=I;var J=function(){function a(a){var b=a.token,c=a.useClass,d=a.useValue,e=a.useExisting,f=a.useFactory,g=a.deps,h=a.multi;this.token=b,this.useClass=c,this.useValue=d,this.useExisting=e,this.useFactory=f,this.deps=p.normalizeBlank(g),this.multi=p.normalizeBool(h)}return a.fromJson=function(b){return new a({token:h(b.token,M.fromJson),useClass:h(b.useClass,O.fromJson),useExisting:h(b.useExisting,M.fromJson),useValue:h(b.useValue,H.fromJson),useFactory:h(b.useFactory,K.fromJson),multi:b.multi,deps:f(b.deps,I.fromJson)})},a.prototype.toJson=function(){return{"class":"Provider",token:i(this.token),useClass:i(this.useClass),useExisting:i(this.useExisting),useValue:i(this.useValue),useFactory:i(this.useFactory),multi:this.multi,deps:g(this.deps)}},a}();b.CompileProviderMetadata=J;var K=function(){function a(a){var b=a.runtime,c=a.name,d=a.moduleUrl,e=a.prefix,f=a.diDeps,g=a.value;this.runtime=b,this.name=c,this.prefix=e,this.moduleUrl=d,this.diDeps=j(f),this.value=g}return Object.defineProperty(a.prototype,"identifier",{get:function(){return this},enumerable:!0,configurable:!0}),a.fromJson=function(b){return new a({name:b.name,prefix:b.prefix,moduleUrl:b.moduleUrl,value:b.value,diDeps:f(b.diDeps,I.fromJson)})},a.prototype.toJson=function(){return{"class":"Factory",name:this.name,prefix:this.prefix,moduleUrl:this.moduleUrl,value:this.value,diDeps:g(this.diDeps)}},a}();b.CompileFactoryMetadata=K;var L=new Object,M=function(){function a(a){var b=a.value,c=a.identifier,d=a.identifierIsInstance;this._assetCacheKey=L,this.value=b,this.identifier=c,this.identifierIsInstance=p.normalizeBool(d)}return a.fromJson=function(b){return new a({value:b.value,identifier:h(b.identifier,H.fromJson),identifierIsInstance:b.identifierIsInstance})},a.prototype.toJson=function(){return{value:this.value,identifier:i(this.identifier),identifierIsInstance:this.identifierIsInstance}},Object.defineProperty(a.prototype,"runtimeCacheKey",{get:function(){return p.isPresent(this.identifier)?this.identifier.runtime:this.value},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"assetCacheKey",{get:function(){if(this._assetCacheKey===L)if(p.isPresent(this.identifier))if(p.isPresent(this.identifier.moduleUrl)&&p.isPresent(r.getUrlScheme(this.identifier.moduleUrl))){var a=m.reflector.importUri({filePath:this.identifier.moduleUrl,name:this.identifier.name});this._assetCacheKey=this.identifier.name+"|"+a+"|"+this.identifierIsInstance}else this._assetCacheKey=null;else this._assetCacheKey=this.value;return this._assetCacheKey},enumerable:!0,configurable:!0}),a.prototype.equalsTo=function(a){var b=this.runtimeCacheKey,c=this.assetCacheKey;return p.isPresent(b)&&b==a.runtimeCacheKey||p.isPresent(c)&&c==a.assetCacheKey},Object.defineProperty(a.prototype,"name",{get:function(){return p.isPresent(this.value)?s.sanitizeIdentifier(this.value):this.identifier.name},enumerable:!0,configurable:!0}),a}();b.CompileTokenMetadata=M;var N=function(){function a(){this._valueMap=new Map,this._values=[]}return a.prototype.add=function(a,b){var c=this.get(a);if(p.isPresent(c))throw new o.BaseException("Can only add to a TokenMap! Token: "+a.name);this._values.push(b);var d=a.runtimeCacheKey;p.isPresent(d)&&this._valueMap.set(d,b);var e=a.assetCacheKey;p.isPresent(e)&&this._valueMap.set(e,b)},a.prototype.get=function(a){var b,c=a.runtimeCacheKey,d=a.assetCacheKey;return p.isPresent(c)&&(b=this._valueMap.get(c)),p.isBlank(b)&&p.isPresent(d)&&(b=this._valueMap.get(d)),b},a.prototype.values=function(){return this._values},Object.defineProperty(a.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),a}();b.CompileTokenMap=N;var O=function(){function a(a){var b=void 0===a?{}:a,c=b.runtime,d=b.name,e=b.moduleUrl,f=b.prefix,g=b.isHost,h=b.value,i=b.diDeps;this.runtime=c,this.name=d,this.moduleUrl=e,this.prefix=f,this.isHost=p.normalizeBool(g),this.value=h,this.diDeps=j(i)}return a.fromJson=function(b){return new a({name:b.name,moduleUrl:b.moduleUrl,prefix:b.prefix,isHost:b.isHost,value:b.value,diDeps:f(b.diDeps,I.fromJson)})},Object.defineProperty(a.prototype,"identifier",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"type",{get:function(){return this},enumerable:!0,configurable:!0}),a.prototype.toJson=function(){return{"class":"Type",name:this.name,moduleUrl:this.moduleUrl,prefix:this.prefix,isHost:this.isHost,value:this.value,diDeps:g(this.diDeps)}},a}();b.CompileTypeMetadata=O;var P=function(){function a(a){var b=void 0===a?{}:a,c=b.selectors,d=b.descendants,e=b.first,f=b.propertyName,g=b.read;this.selectors=c,this.descendants=p.normalizeBool(d),this.first=p.normalizeBool(e),this.propertyName=f,this.read=g}return a.fromJson=function(b){return new a({selectors:f(b.selectors,M.fromJson),descendants:b.descendants,first:b.first,propertyName:b.propertyName,read:h(b.read,M.fromJson)})},a.prototype.toJson=function(){return{selectors:g(this.selectors),descendants:this.descendants,first:this.first,propertyName:this.propertyName,read:i(this.read)}},a}();b.CompileQueryMetadata=P;var Q=function(){function a(a){var b=void 0===a?{}:a,c=b.encapsulation,d=b.template,e=b.templateUrl,f=b.styles,g=b.styleUrls,h=b.animations,i=b.ngContentSelectors,j=b.interpolation;if(this.encapsulation=c,this.template=d,this.templateUrl=e,this.styles=p.isPresent(f)?f:[],this.styleUrls=p.isPresent(g)?g:[],this.animations=p.isPresent(h)?n.ListWrapper.flatten(h):[],this.ngContentSelectors=p.isPresent(i)?i:[],p.isPresent(j)&&2!=j.length)throw new o.BaseException("'interpolation' should have a start and an end symbol.");this.interpolation=j}return a.fromJson=function(b){var c=f(b.animations,d);return new a({encapsulation:p.isPresent(b.encapsulation)?m.VIEW_ENCAPSULATION_VALUES[b.encapsulation]:b.encapsulation,template:b.template,templateUrl:b.templateUrl,styles:b.styles,styleUrls:b.styleUrls,animations:c,ngContentSelectors:b.ngContentSelectors,interpolation:b.interpolation})},a.prototype.toJson=function(){return{encapsulation:p.isPresent(this.encapsulation)?p.serializeEnum(this.encapsulation):this.encapsulation,template:this.template,templateUrl:this.templateUrl,styles:this.styles,styleUrls:this.styleUrls,animations:i(this.animations),ngContentSelectors:this.ngContentSelectors,interpolation:this.interpolation}},a}();b.CompileTemplateMetadata=Q;var R=function(){function a(a){var b=void 0===a?{}:a,c=b.type,d=b.isComponent,e=b.selector,f=b.exportAs,g=b.changeDetection,h=b.inputs,i=b.outputs,k=b.hostListeners,l=b.hostProperties,m=b.hostAttributes,n=b.lifecycleHooks,o=b.providers,p=b.viewProviders,q=b.queries,r=b.viewQueries,s=b.template;this.type=c,this.isComponent=d,this.selector=e,this.exportAs=f,this.changeDetection=g,this.inputs=h,this.outputs=i,this.hostListeners=k,this.hostProperties=l,this.hostAttributes=m,this.lifecycleHooks=j(n),this.providers=j(o),this.viewProviders=j(p),this.queries=j(q),this.viewQueries=j(r),this.template=s}return a.create=function(b){var c=void 0===b?{}:b,d=c.type,e=c.isComponent,f=c.selector,g=c.exportAs,h=c.changeDetection,i=c.inputs,j=c.outputs,k=c.host,l=c.lifecycleHooks,m=c.providers,o=c.viewProviders,q=c.queries,r=c.viewQueries,u=c.template,v={},w={},x={};p.isPresent(k)&&n.StringMapWrapper.forEach(k,function(a,b){var c=p.RegExpWrapper.firstMatch(t,b);p.isBlank(c)?x[b]=a:p.isPresent(c[1])?w[c[1]]=a:p.isPresent(c[2])&&(v[c[2]]=a)});var y={};p.isPresent(i)&&i.forEach(function(a){var b=s.splitAtColon(a,[a,a]);y[b[0]]=b[1]});var z={};return p.isPresent(j)&&j.forEach(function(a){var b=s.splitAtColon(a,[a,a]);z[b[0]]=b[1]}),new a({type:d,isComponent:p.normalizeBool(e),selector:f,exportAs:g,changeDetection:h,inputs:y,outputs:z,hostListeners:v,hostProperties:w,hostAttributes:x,lifecycleHooks:p.isPresent(l)?l:[],providers:m,viewProviders:o,queries:q,viewQueries:r,template:u})},Object.defineProperty(a.prototype,"identifier",{get:function(){return this.type},enumerable:!0,configurable:!0}),a.fromJson=function(b){return new a({isComponent:b.isComponent,selector:b.selector,exportAs:b.exportAs,type:p.isPresent(b.type)?O.fromJson(b.type):b.type,changeDetection:p.isPresent(b.changeDetection)?m.CHANGE_DETECTION_STRATEGY_VALUES[b.changeDetection]:b.changeDetection,inputs:b.inputs,outputs:b.outputs,hostListeners:b.hostListeners,hostProperties:b.hostProperties,hostAttributes:b.hostAttributes,lifecycleHooks:b.lifecycleHooks.map(function(a){return m.LIFECYCLE_HOOKS_VALUES[a]}),template:p.isPresent(b.template)?Q.fromJson(b.template):b.template,providers:f(b.providers,d),viewProviders:f(b.viewProviders,d),queries:f(b.queries,P.fromJson),viewQueries:f(b.viewQueries,P.fromJson)})},a.prototype.toJson=function(){return{"class":"Directive",isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,type:p.isPresent(this.type)?this.type.toJson():this.type,changeDetection:p.isPresent(this.changeDetection)?p.serializeEnum(this.changeDetection):this.changeDetection,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,lifecycleHooks:this.lifecycleHooks.map(function(a){return p.serializeEnum(a)}),template:p.isPresent(this.template)?this.template.toJson():this.template,providers:g(this.providers),viewProviders:g(this.viewProviders),queries:g(this.queries),viewQueries:g(this.viewQueries)}},a}();b.CompileDirectiveMetadata=R,b.createHostComponentMeta=e;var S=function(){function a(a){var b=void 0===a?{}:a,c=b.type,d=b.name,e=b.pure,f=b.lifecycleHooks;this.type=c,this.name=d,this.pure=p.normalizeBool(e),this.lifecycleHooks=j(f)}return Object.defineProperty(a.prototype,"identifier",{get:function(){return this.type},enumerable:!0,configurable:!0}),a.fromJson=function(b){return new a({type:p.isPresent(b.type)?O.fromJson(b.type):b.type, name:b.name,pure:b.pure})},a.prototype.toJson=function(){return{"class":"Pipe",type:p.isPresent(this.type)?this.type.toJson():null,name:this.name,pure:this.pure}},a}();b.CompilePipeMetadata=S;var T={Directive:R.fromJson,Pipe:S.fromJson,Type:O.fromJson,Provider:J.fromJson,Identifier:H.fromJson,Factory:K.fromJson,AnimationEntryMetadata:w.fromJson,AnimationStateDeclarationMetadata:y.fromJson,AnimationStateTransitionMetadata:z.fromJson,AnimationSequenceMetadata:F.fromJson,AnimationGroupMetadata:G.fromJson,AnimationAnimateMetadata:D.fromJson,AnimationStyleMetadata:C.fromJson,AnimationKeyframesSequenceMetadata:B.fromJson};return c.exports}),a.registerDynamic("62",["1e"],!0,function(a,b,c){"use strict";var d=a("1e");return b.Math=d.global.Math,b.NaN=typeof b.NaN,c.exports}),a.registerDynamic("43",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b,c,d){this.file=a,this.offset=b,this.line=c,this.col=d}return a.prototype.toString=function(){return this.file.url+"@"+this.line+":"+this.col},a}();b.ParseLocation=d;var e=function(){function a(a,b){this.content=a,this.url=b}return a}();b.ParseSourceFile=e;var f=function(){function a(a,b){this.start=a,this.end=b}return a.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},a}();b.ParseSourceSpan=f,function(a){a[a.WARNING=0]="WARNING",a[a.FATAL=1]="FATAL"}(b.ParseErrorLevel||(b.ParseErrorLevel={}));var g=b.ParseErrorLevel,h=function(){function a(a,b,c){void 0===c&&(c=g.FATAL),this.span=a,this.msg=b,this.level=c}return a.prototype.toString=function(){var a=this.span.start.file.content,b=this.span.start.offset;b>a.length-1&&(b=a.length-1);for(var c=b,d=0,e=0;100>d&&b>0&&(b--,d++,"\n"!=a[b]||3!=++e););for(d=0,e=0;100>d&&c]"+a.substring(this.span.start.offset,c+1);return this.msg+' ("'+f+'"): '+this.span.start},a}();return b.ParseError=h,c.exports}),a.registerDynamic("63",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(){function a(){this.startTime=0,this.playTime=0}return a}();b.AnimationAst=e;var f=function(a){function b(){a.apply(this,arguments)}return d(b,a),b}(e);b.AnimationStateAst=f;var g=function(a){function b(b,c,d){a.call(this),this.name=b,this.stateDeclarations=c,this.stateTransitions=d}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationEntry(this,b)},b}(e);b.AnimationEntryAst=g;var h=function(a){function b(b,c){a.call(this),this.stateName=b,this.styles=c}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationStateDeclaration(this,b)},b}(f);b.AnimationStateDeclarationAst=h;var i=function(){function a(a,b){this.fromState=a,this.toState=b}return a}();b.AnimationStateTransitionExpression=i;var j=function(a){function b(b,c){a.call(this),this.stateChanges=b,this.animation=c}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationStateTransition(this,b)},b}(f);b.AnimationStateTransitionAst=j;var k=function(a){function b(b,c,d,e,f){a.call(this),this.startingStyles=b,this.keyframes=c,this.duration=d,this.delay=e,this.easing=f}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationStep(this,b)},b}(e);b.AnimationStepAst=k;var l=function(a){function b(b){a.call(this),this.styles=b}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationStyles(this,b)},b}(e);b.AnimationStylesAst=l;var m=function(a){function b(b,c){a.call(this),this.offset=b,this.styles=c}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationKeyframe(this,b)},b}(e);b.AnimationKeyframeAst=m;var n=function(a){function b(b){a.call(this),this.steps=b}return d(b,a),b}(e);b.AnimationWithStepsAst=n;var o=function(a){function b(b){a.call(this,b)}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationGroup(this,b)},b}(n);b.AnimationGroupAst=o;var p=function(a){function b(b){a.call(this,b)}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationSequence(this,b)},b}(n);return b.AnimationSequenceAst=p,c.exports}),a.registerDynamic("19",["1e"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;cd&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;ba?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("64",["19","1e"],!0,function(a,b,c){"use strict";var d=a("19"),e=a("1e"),f=function(){function a(a,b){this.time=a,this.value=b}return a.prototype.matches=function(a,b){return a==this.time&&b==this.value},a}();b.StylesCollectionEntry=f;var g=function(){function a(){this.styles={}}return a.prototype.insertAtTime=function(a,b,c){var g=new f(b,c),h=this.styles[a];e.isPresent(h)||(h=this.styles[a]=[]);for(var i=0,j=h.length-1;j>=0;j--)if(h[j].time<=b){i=j+1;break}d.ListWrapper.insert(h,i,g)},a.prototype.getByIndex=function(a,b){var c=this.styles[a];return e.isPresent(c)?b>=c.length?null:c[b]:null},a.prototype.indexOfAtOrBeforeTime=function(a,b){var c=this.styles[a];if(e.isPresent(c))for(var d=c.length-1;d>=0;d--)if(c[d].time<=b)return d;return null},a}();return b.StylesCollection=g,c.exports}),a.registerDynamic("65",["23","18","19","1e","62","43","63","64","45"],!0,function(a,b,c){return function(c){"use strict";function d(a){var b=[],c={},d=[],g=[];a.definitions.forEach(function(a){a instanceof u.CompileAnimationStateDeclarationMetadata?e(a,b).forEach(function(a){g.push(a),c[a.stateName]=a.styles}):d.push(a)});var h=d.map(function(a){return f(a,c,b)}),i=new z.AnimationEntryAst(a.name,g,h);return new F(i,b)}function e(a,b){var c=[];a.styles.styles.forEach(function(a){w.isStringMap(a)?c.push(a):b.push(new E("State based animations cannot contain references to other states"))});var d=new z.AnimationStylesAst(c),e=a.stateNameExpr.split(/\s*,\s*/);return e.map(function(a){return new z.AnimationStateDeclarationAst(a,d)})}function f(a,b,c){var d=new A.StylesCollection,e=[],f=a.stateChangeExpr.split(/\s*,\s*/);f.forEach(function(a){g(a,c).forEach(function(a){e.push(a)})});var i=h(a.steps),k=j(i,b,c),l=o(k,0,d,b,c);0==c.length&&p(l,d,c);var m=l instanceof z.AnimationSequenceAst?l:new z.AnimationSequenceAst([l]);return new z.AnimationStateTransitionAst(e,m)}function g(a,b){var c=[],d=a.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(!w.isPresent(d)||d.length<4)return b.push(new E("the provided "+a+" is not of a supported format")),c;var e=d[1],f=d[2],g=d[3];c.push(new z.AnimationStateTransitionExpression(e,g));var h=e==t.ANY_STATE&&g==t.ANY_STATE;return"<"!=f[0]||h||c.push(new z.AnimationStateTransitionExpression(g,e)),c}function h(a){return w.isArray(a)?new u.CompileAnimationSequenceMetadata(a):a}function i(a,b,c){var d=[];return a.styles.forEach(function(a){w.isString(a)?v.ListWrapper.addAll(d,m(a,b,c)):d.push(a)}),d}function j(a,b,c){var d=l(a,b,c);return new u.CompileAnimationSequenceMetadata(d)}function k(a,b){if(w.isStringMap(b)&&a.length>0){var c=a.length-1,d=a[c];if(w.isStringMap(d))return void(a[c]=v.StringMapWrapper.merge(d,b))}a.push(b)}function l(a,b,c){var d;if(!(a instanceof u.CompileAnimationWithStepsMetadata))return[a];d=a.steps;var e,f=[];return d.forEach(function(a){if(a instanceof u.CompileAnimationStyleMetadata)w.isPresent(e)||(e=[]),i(a,b,c).forEach(function(a){k(e,a)});else{if(w.isPresent(e)&&(f.push(new u.CompileAnimationStyleMetadata(0,e)),e=null),a instanceof u.CompileAnimationAnimateMetadata){var d=a.styles;d instanceof u.CompileAnimationStyleMetadata?d.styles=i(d,b,c):d instanceof u.CompileAnimationKeyframesSequenceMetadata&&d.steps.forEach(function(a){a.styles=i(a,b,c)})}else if(a instanceof u.CompileAnimationWithStepsMetadata){var g=l(a,b,c);a=a instanceof u.CompileAnimationGroupMetadata?new u.CompileAnimationGroupMetadata(g):new u.CompileAnimationSequenceMetadata(g)}f.push(a)}}),w.isPresent(e)&&f.push(new u.CompileAnimationStyleMetadata(0,e)),f}function m(a,b,c){var d=[];if(":"!=a[0])c.push(new E('Animation states via styles must be prefixed with a ":"'));else{var e=a.substring(1),f=b[e];w.isPresent(f)?f.styles.forEach(function(a){w.isStringMap(a)&&d.push(a)}):c.push(new E('Unable to apply styles due to missing a state: "'+e+'"'))}return d}function n(a,b,c,d,e){var f=a.steps.length,g=0;a.steps.forEach(function(a){return g+=w.isPresent(a.offset)?1:0}),g>0&&f>g&&(e.push(new E("Not all style() entries contain an offset for the provided keyframe()")),g=f);var h=f-1,i=0==g?1/h:0,j=[],k=0,l=!1,m=0;a.steps.forEach(function(a){var b=a.offset,c={};a.styles.forEach(function(a){v.StringMapWrapper.forEach(a,function(a,b){"offset"!=b&&(c[b]=a)})}),w.isPresent(b)?l=l||m>b:b=k==h?C:i*k,j.push([b,c]),m=b,k++}),l&&v.ListWrapper.sort(j,function(a,b){return a[0]<=b[0]?-1:1});var n,o=j[0];o[0]!=B&&v.ListWrapper.insert(j,0,o=[B,{}]);var p=o[1],h=j.length-1,q=j[h];q[0]!=C&&(j.push(q=[C,{}]),h++);var r=q[1];for(n=1;h>=n;n++){var s=j[n],u=s[1];v.StringMapWrapper.forEach(u,function(a,b){w.isPresent(p[b])||(p[b]=t.FILL_STYLE_FLAG)})}for(n=h-1;n>=0;n--){var s=j[n],u=s[1];v.StringMapWrapper.forEach(u,function(a,b){w.isPresent(r[b])||(r[b]=a)})}return j.map(function(a){return new z.AnimationKeyframeAst(a[0],new z.AnimationStylesAst([a[1]]))})}function o(a,b,c,d,e){var f,g=0,h=b;if(a instanceof u.CompileAnimationWithStepsMetadata){var i,j=0,k=[],l=a instanceof u.CompileAnimationGroupMetadata;if(a.steps.forEach(function(a){var f=l?h:b;if(a instanceof u.CompileAnimationStyleMetadata)return a.styles.forEach(function(a){var b=a;v.StringMapWrapper.forEach(b,function(a,b){c.insertAtTime(b,f,a)})}),void(i=a.styles);var m=o(a,f,c,d,e);if(w.isPresent(i)){if(a instanceof u.CompileAnimationWithStepsMetadata){var n=new z.AnimationStylesAst(i);k.push(new z.AnimationStepAst(n,[],0,0,""))}else{var p=m;v.ListWrapper.addAll(p.startingStyles.styles,i)}i=null}var q=m.playTime;b+=q,g+=q,j=x.Math.max(q,j),k.push(m)}),w.isPresent(i)){var m=new z.AnimationStylesAst(i);k.push(new z.AnimationStepAst(m,[],0,0,""))}l?(f=new z.AnimationGroupAst(k),g=j,b=h+g):f=new z.AnimationSequenceAst(k)}else if(a instanceof u.CompileAnimationAnimateMetadata){var p,r=q(a.timings,e),s=a.styles;if(s instanceof u.CompileAnimationKeyframesSequenceMetadata)p=n(s,b,c,d,e);else{var t=s,y=C,A=new z.AnimationStylesAst(t.styles),B=new z.AnimationKeyframeAst(y,A);p=[B]}f=new z.AnimationStepAst(new z.AnimationStylesAst([]),p,r.duration,r.delay,r.easing),g=r.duration+r.delay,b+=g,p.forEach(function(a){return a.styles.styles.forEach(function(a){return v.StringMapWrapper.forEach(a,function(a,d){return c.insertAtTime(d,b,a)})})})}else f=new z.AnimationStepAst(null,[],0,0,"");return f.playTime=g,f.startTime=h,f}function p(a,b,c){if(a instanceof z.AnimationStepAst&&a.keyframes.length>0){var d=a.keyframes;if(1==d.length){var e=d[0],f=r(e,a.startTime,a.playTime,b,c);a.keyframes=[f,e]}}else a instanceof z.AnimationWithStepsAst&&a.steps.forEach(function(a){return p(a,b,c)})}function q(a,b){var c,d=/^([\.\d]+)(m?s)(?:\s+([\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?/gi,e=0,f=null;if(w.isString(a)){var g=w.RegExpWrapper.firstMatch(d,a);if(!w.isPresent(g))return b.push(new E('The provided timing value "'+a+'" is invalid.')),new G(0,0,null);var h=w.NumberWrapper.parseFloat(g[1]),i=g[2];"s"==i&&(h*=D),c=x.Math.floor(h);var j=g[3],k=g[4];if(w.isPresent(j)){var l=w.NumberWrapper.parseFloat(j);w.isPresent(k)&&"s"==k&&(l*=D),e=x.Math.floor(l)}var m=g[5];w.isBlank(m)||(f=m)}else c=a;return new G(c,e,f)}function r(a,b,c,d,e){var f={},g=b+c;return a.styles.styles.forEach(function(a){v.StringMapWrapper.forEach(a,function(a,c){if("offset"!=c){var h,i,j,k=d.indexOfAtOrBeforeTime(c,b);w.isPresent(k)?(h=d.getByIndex(c,k),j=h.value,i=d.getByIndex(c,k+1)):j=t.FILL_STYLE_FLAG,w.isPresent(i)&&!i.matches(g,a)&&e.push(new E('The animated CSS property "'+c+'" unexpectedly changes between steps "'+h.time+'ms" and "'+g+'ms" at "'+i.time+'ms"')),f[c]=j}})}),new z.AnimationKeyframeAst(B,new z.AnimationStylesAst([f]))}var s=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},t=a("23"),u=a("18"),v=a("19"),w=a("1e"),x=a("62"),y=a("43"),z=a("63"),A=a("64"),B=0,C=1,D=1e3,E=function(a){function b(b){a.call(this,null,b)}return s(b,a),b.prototype.toString=function(){return""+this.msg},b}(y.ParseError);b.AnimationParseError=E;var F=function(){function a(a,b){this.ast=a,this.errors=b}return a}();b.ParsedAnimationResult=F,b.parseAnimationEntry=d;var G=function(){function a(a,b,c){this.duration=a,this.delay=b,this.easing=c}return a}()}(a("45")),c.exports}),a.registerDynamic("66",["23","19","1a","1e","51","1b","63","65"],!0,function(a,b,c){"use strict";function d(a,b){var c=l.literal(g.EMPTY_STATE);switch(b){case g.EMPTY_STATE:return a.equals(c);case g.ANY_STATE:return l.literal(!0);default:return a.equals(l.literal(b))}}function e(a){if(a instanceof m.AnimationStepAst&&a.duration>0&&2==a.keyframes.length){var b=f(a.keyframes[0])[0],c=f(a.keyframes[1])[0];return h.StringMapWrapper.isEmpty(b)&&h.StringMapWrapper.isEmpty(c)}return!1}function f(a){return a.styles.styles}var g=a("23"),h=a("19"),i=a("1a"),j=a("1e"),k=a("51"),l=a("1b"),m=a("63"),n=a("65"),o=function(){function a(a,b,c,d,e){this.name=a,this.statesMapStatement=b,this.statesVariableName=c,this.fnStatement=d,this.fnVariable=e}return a}();b.CompiledAnimation=o;var p=function(){function a(){}return a.prototype.compileComponent=function(a){var b=[],c=0;return a.template.animations.forEach(function(d){var e=n.parseAnimationEntry(d);if(e.errors.length>0){var f="";throw e.errors.forEach(function(a){f+="\n- "+a.msg}),new i.BaseException('Unable to parse the animation sequence for "'+d.name+'" due to the following errors: '+f)}var g=a.type.name+"_"+d.name+"_"+c;c++;var h=new B(d.name,g);b.push(h.build(e.ast))}),b},a}();b.AnimationCompiler=p;var q=l.variable("element"),r=l.variable("defaultStateStyles"),s=l.variable("view"),t=s.prop("renderer"),u=l.variable("currentState"),v=l.variable("nextState"),w=l.variable("player"),x=l.variable("startStateStyles"),y=l.variable("endStateStyles"),z=l.variable("collectedStyles"),A=l.literalMap([]),B=function(){function a(a,b){this.animationName=a,this._fnVarName=b+"_factory",this._statesMapVarName=b+"_states",this._statesMapVar=l.variable(this._statesMapVarName)}return a.prototype.visitAnimationStyles=function(a,b){var c=[];return b.isExpectingFirstStyleStep&&(c.push(x),b.isExpectingFirstStyleStep=!1),a.styles.forEach(function(a){c.push(l.literalMap(h.StringMapWrapper.keys(a).map(function(b){return[b,l.literal(a[b])]})))}),l.importExpr(k.Identifiers.AnimationStyles).instantiate([l.importExpr(k.Identifiers.collectAndResolveStyles).callFn([z,l.literalArr(c)])])},a.prototype.visitAnimationKeyframe=function(a,b){return l.importExpr(k.Identifiers.AnimationKeyframe).instantiate([l.literal(a.offset),a.styles.visit(this,b)])},a.prototype.visitAnimationStep=function(a,b){var c=this;if(b.endStateAnimateStep===a)return this._visitEndStateAnimation(a,b);var d=a.startingStyles.visit(this,b),e=a.keyframes.map(function(a){return a.visit(c,b)});return this._callAnimateMethod(a,d,l.literalArr(e))},a.prototype._visitEndStateAnimation=function(a,b){var c=this,d=a.startingStyles.visit(this,b),e=a.keyframes.map(function(a){return a.visit(c,b)}),f=l.importExpr(k.Identifiers.balanceAnimationKeyframes).callFn([z,y,l.literalArr(e)]);return this._callAnimateMethod(a,d,f)},a.prototype._callAnimateMethod=function(a,b,c){return t.callMethod("animate",[q,b,c,l.literal(a.duration),l.literal(a.delay),l.literal(a.easing)])},a.prototype.visitAnimationSequence=function(a,b){var c=this,d=a.steps.map(function(a){return a.visit(c,b)});return l.importExpr(k.Identifiers.AnimationSequencePlayer).instantiate([l.literalArr(d)])},a.prototype.visitAnimationGroup=function(a,b){var c=this,d=a.steps.map(function(a){return a.visit(c,b)});return l.importExpr(k.Identifiers.AnimationGroupPlayer).instantiate([l.literalArr(d)])},a.prototype.visitAnimationStateDeclaration=function(a,b){var c={};f(a).forEach(function(a){h.StringMapWrapper.forEach(a,function(a,b){c[b]=a})}),b.stateMap.registerState(a.stateName,c)},a.prototype.visitAnimationStateTransition=function(a,b){var c=a.animation.steps,f=c[c.length-1];e(f)&&(b.endStateAnimateStep=f),b.isExpectingFirstStyleStep=!0;var h=[];a.stateChanges.forEach(function(a){h.push(d(u,a.fromState).and(d(v,a.toState))),a.fromState!=g.ANY_STATE&&b.stateMap.registerState(a.fromState),a.toState!=g.ANY_STATE&&b.stateMap.registerState(a.toState)});var i=a.animation.visit(this,b),j=h.reduce(function(a,b){return a.or(b)}),k=w.equals(l.NULL_EXPR).and(j);return new l.IfStmt(k,[w.set(i).toStmt()])},a.prototype.visitAnimationEntry=function(a,b){var c=this;a.stateDeclarations.forEach(function(a){return a.visit(c,b)}),b.stateMap.registerState(g.DEFAULT_STATE,{});var d=[];d.push(s.callMethod("cancelActiveAnimation",[q,l.literal(this.animationName),v.equals(l.literal(g.EMPTY_STATE))]).toStmt()),d.push(z.set(A).toDeclStmt()),d.push(w.set(l.NULL_EXPR).toDeclStmt()),d.push(r.set(this._statesMapVar.key(l.literal(g.DEFAULT_STATE))).toDeclStmt()),d.push(x.set(this._statesMapVar.key(u)).toDeclStmt()),d.push(new l.IfStmt(x.equals(l.NULL_EXPR),[x.set(r).toStmt()])),d.push(y.set(this._statesMapVar.key(v)).toDeclStmt()),d.push(new l.IfStmt(y.equals(l.NULL_EXPR),[y.set(r).toStmt()]));var e=l.importExpr(k.Identifiers.renderStyles);return d.push(e.callFn([q,t,l.importExpr(k.Identifiers.clearStyles).callFn([x])]).toStmt()),a.stateTransitions.forEach(function(a){return d.push(a.visit(c,b))}),d.push(new l.IfStmt(w.equals(l.NULL_EXPR),[w.set(l.importExpr(k.Identifiers.NoOpAnimationPlayer).instantiate([])).toStmt()])),d.push(w.callMethod("onDone",[l.fn([],[e.callFn([q,t,l.importExpr(k.Identifiers.prepareFinalAnimationStyles).callFn([x,y])]).toStmt()])]).toStmt()),d.push(s.callMethod("registerAndStartAnimation",[q,l.literal(this.animationName),w]).toStmt()),l.fn([new l.FnParam(s.name,l.importType(k.Identifiers.AppView,[l.DYNAMIC_TYPE])),new l.FnParam(q.name,l.DYNAMIC_TYPE),new l.FnParam(u.name,l.DYNAMIC_TYPE),new l.FnParam(v.name,l.DYNAMIC_TYPE)],d)},a.prototype.build=function(a){var b=new C,c=a.visit(this,b).toDeclStmt(this._fnVarName),d=l.variable(this._fnVarName),e=[];h.StringMapWrapper.forEach(b.stateMap.states,function(a,b){var c=A;if(j.isPresent(a)){var d=[];h.StringMapWrapper.forEach(a,function(a,b){d.push([b,l.literal(a)])}),c=l.literalMap(d)}e.push([b,c])});var f=this._statesMapVar.set(l.literalMap(e)).toDeclStmt();return new o(this.animationName,f,this._statesMapVarName,c,d)},a}(),C=function(){function a(){this.stateMap=new D,this.endStateAnimateStep=null,this.isExpectingFirstStyleStep=!1}return a}(),D=function(){function a(){this._states={}}return Object.defineProperty(a.prototype,"states",{get:function(){return this._states},enumerable:!0,configurable:!0}),a.prototype.registerState=function(a,b){void 0===b&&(b=null);var c=this._states[a];j.isBlank(c)&&(this._states[a]=b)},a}();return c.exports}),a.registerDynamic("67",["9","23","19","1e","51","1b","5b","5f","54","30","5c","18","66"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=new P(a,c);return E.templateVisitAll(d,b,a.declarationElement.isNull()?a.declarationElement:a.declarationElement.parent),d.nestedViewCount}function e(a,b){a.afterNodes(),m(a,b),a.nodes.forEach(function(a){a instanceof B.CompileElement&&a.hasEmbeddedView&&e(a.embeddedView,b)})}function f(a){for(var b=a.view;h(a.parent,b);)a=a.parent;return a}function g(a){for(var b=a.view;h(a,b);)a=a.parent;return a}function h(a,b){return!a.isNull()&&a.sourceAst.name===L&&a.view===b}function i(a,b){var c={};return x.StringMapWrapper.forEach(a,function(a,b){c[b]=a}),b.forEach(function(a){x.StringMapWrapper.forEach(a.hostAttributes,function(a,b){var d=c[b];c[b]=y.isPresent(d)?k(b,d,a):a})}),l(c)}function j(a){var b={};return a.forEach(function(a){b[a.name]=a.value}),b}function k(a,b,c){return a==J||a==K?b+" "+c:c}function l(a){var b=[];return x.StringMapWrapper.forEach(a,function(a,c){b.push([c,a])}),x.ListWrapper.sort(b,function(a,b){return y.StringWrapper.compare(a[0],b[0])}),b}function m(a,b){var c=A.NULL_EXPR;a.genConfig.genDebugInfo&&(c=A.variable("nodeDebugInfos_"+a.component.type.name+a.viewIndex),b.push(c.set(A.literalArr(a.nodes.map(n),new A.ArrayType(new A.ExternalType(z.Identifiers.StaticNodeDebugInfo),[A.TypeModifier.Const]))).toDeclStmt(null,[A.StmtModifier.Final])));var d=A.variable("renderType_"+a.component.type.name);0===a.viewIndex&&b.push(d.set(A.NULL_EXPR).toDeclStmt(A.importType(z.Identifiers.RenderComponentType))); var e=o(a,d,c);b.push(e),b.push(p(a,e,d))}function n(a){var b=a instanceof B.CompileElement?a:null,c=[],d=A.NULL_EXPR,e=[];return y.isPresent(b)&&(c=b.getProviderTokens(),y.isPresent(b.component)&&(d=F.createDiTokenExpression(z.identifierToken(b.component.type))),x.StringMapWrapper.forEach(b.referenceTokens,function(a,b){e.push([b,y.isPresent(a)?F.createDiTokenExpression(a):A.NULL_EXPR])})),A.importExpr(z.Identifiers.StaticNodeDebugInfo).instantiate([A.literalArr(c,new A.ArrayType(A.DYNAMIC_TYPE,[A.TypeModifier.Const])),d,A.literalMap(e,new A.MapType(A.DYNAMIC_TYPE,[A.TypeModifier.Const]))],A.importType(z.Identifiers.StaticNodeDebugInfo,null,[A.TypeModifier.Const]))}function o(a,b,c){var d=[new A.FnParam(D.ViewConstructorVars.viewUtils.name,A.importType(z.Identifiers.ViewUtils)),new A.FnParam(D.ViewConstructorVars.parentInjector.name,A.importType(z.Identifiers.Injector)),new A.FnParam(D.ViewConstructorVars.declarationEl.name,A.importType(z.Identifiers.AppElement))],e=[A.variable(a.className),b,D.ViewTypeEnum.fromValue(a.viewType),D.ViewConstructorVars.viewUtils,D.ViewConstructorVars.parentInjector,D.ViewConstructorVars.declarationEl,D.ChangeDetectionStrategyEnum.fromValue(u(a))];a.genConfig.genDebugInfo&&e.push(c);var f=new A.ClassMethod(null,d,[A.SUPER_EXPR.callFn(e).toStmt()]),g=[new A.ClassMethod("createInternal",[new A.FnParam(N.name,A.STRING_TYPE)],q(a),A.importType(z.Identifiers.AppElement)),new A.ClassMethod("injectorGetInternal",[new A.FnParam(D.InjectMethodVars.token.name,A.DYNAMIC_TYPE),new A.FnParam(D.InjectMethodVars.requestNodeIndex.name,A.NUMBER_TYPE),new A.FnParam(D.InjectMethodVars.notFoundResult.name,A.DYNAMIC_TYPE)],s(a.injectorGetMethod.finish(),D.InjectMethodVars.notFoundResult),A.DYNAMIC_TYPE),new A.ClassMethod("detectChangesInternal",[new A.FnParam(D.DetectChangesVars.throwOnChange.name,A.BOOL_TYPE)],r(a)),new A.ClassMethod("dirtyParentQueriesInternal",[],a.dirtyParentQueriesMethod.finish()),new A.ClassMethod("destroyInternal",[],a.destroyMethod.finish()),new A.ClassMethod("detachInternal",[],a.detachMethod.finish())].concat(a.eventHandlerMethods),h=a.genConfig.genDebugInfo?z.Identifiers.DebugAppView:z.Identifiers.AppView,i=new A.ClassStmt(a.className,A.importExpr(h,[t(a)]),a.fields,a.getters,f,g.filter(function(a){return a.body.length>0}));return i}function p(a,b,c){var d,e=[new A.FnParam(D.ViewConstructorVars.viewUtils.name,A.importType(z.Identifiers.ViewUtils)),new A.FnParam(D.ViewConstructorVars.parentInjector.name,A.importType(z.Identifiers.Injector)),new A.FnParam(D.ViewConstructorVars.declarationEl.name,A.importType(z.Identifiers.AppElement))],f=[];return d=a.component.template.templateUrl==a.component.type.moduleUrl?a.component.type.moduleUrl+" class "+a.component.type.name+" - inline template":a.component.template.templateUrl,0===a.viewIndex&&(f=[new A.IfStmt(c.identical(A.NULL_EXPR),[c.set(D.ViewConstructorVars.viewUtils.callMethod("createRenderComponentType",[A.literal(d),A.literal(a.component.template.ngContentSelectors.length),D.ViewEncapsulationEnum.fromValue(a.component.template.encapsulation),a.styles])).toStmt()])]),A.fn(e,f.concat([new A.ReturnStatement(A.variable(b.name).instantiate(b.constructorMethod.params.map(function(a){return A.variable(a.name)})))]),A.importType(z.Identifiers.AppView,[t(a)])).toDeclStmt(a.viewFactory.name,[A.StmtModifier.Final])}function q(a){var b=A.NULL_EXPR,c=[];a.viewType===w.ViewType.COMPONENT&&(b=D.ViewProperties.renderer.callMethod("createViewRoot",[A.THIS_EXPR.prop("declarationAppElement").prop("nativeElement")]),c=[M.set(b).toDeclStmt(A.importType(a.genConfig.renderTypes.renderNode),[A.StmtModifier.Final])]);var d;return d=a.viewType===w.ViewType.HOST?a.nodes[0].appElement:A.NULL_EXPR,c.concat(a.createMethod.finish(),[A.THIS_EXPR.callMethod("init",[F.createFlatArray(a.rootNodesOrAppElements),A.literalArr(a.nodes.map(function(a){return a.renderNode})),A.literalArr(a.disposables),A.literalArr(a.subscriptions)]).toStmt(),new A.ReturnStatement(d)])}function r(a){var b=[];if(a.detectChangesInInputsMethod.isEmpty()&&a.updateContentQueriesMethod.isEmpty()&&a.afterContentLifecycleCallbacksMethod.isEmpty()&&a.detectChangesRenderPropertiesMethod.isEmpty()&&a.updateViewQueriesMethod.isEmpty()&&a.afterViewLifecycleCallbacksMethod.isEmpty())return b;x.ListWrapper.addAll(b,a.detectChangesInInputsMethod.finish()),b.push(A.THIS_EXPR.callMethod("detectContentChildrenChanges",[D.DetectChangesVars.throwOnChange]).toStmt());var c=a.updateContentQueriesMethod.finish().concat(a.afterContentLifecycleCallbacksMethod.finish());c.length>0&&b.push(new A.IfStmt(A.not(D.DetectChangesVars.throwOnChange),c)),x.ListWrapper.addAll(b,a.detectChangesRenderPropertiesMethod.finish()),b.push(A.THIS_EXPR.callMethod("detectViewChildrenChanges",[D.DetectChangesVars.throwOnChange]).toStmt());var d=a.updateViewQueriesMethod.finish().concat(a.afterViewLifecycleCallbacksMethod.finish());d.length>0&&b.push(new A.IfStmt(A.not(D.DetectChangesVars.throwOnChange),d));var e=[],f=A.findReadVarNames(b);return x.SetWrapper.has(f,D.DetectChangesVars.changed.name)&&e.push(D.DetectChangesVars.changed.set(A.literal(!0)).toDeclStmt(A.BOOL_TYPE)),x.SetWrapper.has(f,D.DetectChangesVars.changes.name)&&e.push(D.DetectChangesVars.changes.set(A.NULL_EXPR).toDeclStmt(new A.MapType(A.importType(z.Identifiers.SimpleChange)))),x.SetWrapper.has(f,D.DetectChangesVars.valUnwrapper.name)&&e.push(D.DetectChangesVars.valUnwrapper.set(A.importExpr(z.Identifiers.ValueUnwrapper).instantiate([])).toDeclStmt(null,[A.StmtModifier.Final])),e.concat(b)}function s(a,b){return a.length>0?a.concat([new A.ReturnStatement(b)]):a}function t(a){return a.viewType===w.ViewType.COMPONENT?A.importType(a.component.type):A.DYNAMIC_TYPE}function u(a){var b;return b=a.viewType===w.ViewType.COMPONENT?w.isDefaultChangeDetectionStrategy(a.component.changeDetection)?v.ChangeDetectionStrategy.CheckAlways:v.ChangeDetectionStrategy.CheckOnce:v.ChangeDetectionStrategy.CheckAlways}var v=a("9"),w=a("23"),x=a("19"),y=a("1e"),z=a("51"),A=a("1b"),B=a("5b"),C=a("5f"),D=a("54"),E=a("30"),F=a("5c"),G=a("18"),H=a("66"),I="$implicit",J="class",K="style",L="ng-container",M=A.variable("parentRenderNode"),N=A.variable("rootSelector"),O=function(){function a(a,b){this.comp=a,this.factoryPlaceholder=b}return a}();b.ViewCompileDependency=O,b.buildView=d,b.finishView=e;var P=function(){function a(a,b){this.view=a,this.targetDependencies=b,this.nestedViewCount=0,this._animationCompiler=new H.AnimationCompiler}return a.prototype._isRootNode=function(a){return a.view!==this.view},a.prototype._addRootNodeAndProject=function(a){var b=f(a),c=b.parent,d=b.sourceAst.ngContentIndex,e=a instanceof B.CompileElement&&a.hasViewContainer?a.appElement:null;this._isRootNode(c)?this.view.viewType!==w.ViewType.COMPONENT&&this.view.rootNodesOrAppElements.push(y.isPresent(e)?e:a.renderNode):y.isPresent(c.component)&&y.isPresent(d)&&c.addContentNode(d,y.isPresent(e)?e:a.renderNode)},a.prototype._getParentRenderNode=function(a){return a=g(a),this._isRootNode(a)?this.view.viewType===w.ViewType.COMPONENT?M:A.NULL_EXPR:y.isPresent(a.component)&&a.component.template.encapsulation!==v.ViewEncapsulation.Native?A.NULL_EXPR:a.renderNode},a.prototype.visitBoundText=function(a,b){return this._visitText(a,"",b)},a.prototype.visitText=function(a,b){return this._visitText(a,a.value,b)},a.prototype._visitText=function(a,b,c){var d="_text_"+this.view.nodes.length;this.view.fields.push(new A.ClassField(d,A.importType(this.view.genConfig.renderTypes.renderText)));var e=A.THIS_EXPR.prop(d),f=new B.CompileNode(c,this.view,this.view.nodes.length,e,a),g=A.THIS_EXPR.prop(d).set(D.ViewProperties.renderer.callMethod("createText",[this._getParentRenderNode(c),A.literal(b),this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length,a)])).toStmt();return this.view.nodes.push(f),this.view.createMethod.addStmt(g),this._addRootNodeAndProject(f),e},a.prototype.visitNgContent=function(a,b){this.view.createMethod.resetDebugInfo(null,a);var c=this._getParentRenderNode(b),d=D.ViewProperties.projectableNodes.key(A.literal(a.index),new A.ArrayType(A.importType(this.view.genConfig.renderTypes.renderNode)));return c!==A.NULL_EXPR?this.view.createMethod.addStmt(D.ViewProperties.renderer.callMethod("projectNodes",[c,A.importExpr(z.Identifiers.flattenNestedViewRenderNodes).callFn([d])]).toStmt()):this._isRootNode(b)?this.view.viewType!==w.ViewType.COMPONENT&&this.view.rootNodesOrAppElements.push(d):y.isPresent(b.component)&&y.isPresent(a.ngContentIndex)&&b.addContentNode(a.ngContentIndex,d),null},a.prototype.visitElement=function(a,b){var c,d=this.view.nodes.length,e=this.view.createMethod.resetDebugInfoExpr(d,a);c=0===d&&this.view.viewType===w.ViewType.HOST?A.THIS_EXPR.callMethod("selectOrCreateHostElement",[A.literal(a.name),N,e]):a.name===L?D.ViewProperties.renderer.callMethod("createTemplateAnchor",[this._getParentRenderNode(b),e]):D.ViewProperties.renderer.callMethod("createElement",[this._getParentRenderNode(b),A.literal(a.name),e]);var f="_el_"+d;this.view.fields.push(new A.ClassField(f,A.importType(this.view.genConfig.renderTypes.renderElement))),this.view.createMethod.addStmt(A.THIS_EXPR.prop(f).set(c).toStmt());for(var g=A.THIS_EXPR.prop(f),h=a.directives.map(function(a){return a.directive}),k=h.find(function(a){return a.isComponent}),l=j(a.attrs),m=i(l,h),n=0;n0?a.value:I,a.name]}),h=a.directives.map(function(a){return a.directive}),i=new B.CompileElement(b,this.view,c,f,a,null,h,a.providers,a.hasViewContainer,!0,a.references);this.view.nodes.push(i);var j=this._animationCompiler.compileComponent(this.view.component);this.nestedViewCount++;var k=new C.CompileView(this.view.component,this.view.genConfig,this.view.pipeMetas,A.NULL_EXPR,j,this.view.viewIndex+this.nestedViewCount,i,g);return this.nestedViewCount+=d(k,a.children,this.targetDependencies),i.beforeChildren(),this._addRootNodeAndProject(i),i.afterChildren(0),null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitDirective=function(a,b){return null},a.prototype.visitEvent=function(a,b){return null},a.prototype.visitReference=function(a,b){return null},a.prototype.visitVariable=function(a,b){return null},a.prototype.visitDirectiveProperty=function(a,b){return null},a.prototype.visitElementProperty=function(a,b){return null},a}();return c.exports}),a.registerDynamic("29",["9","66","2d","5b","5f","5a","67"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("66"),f=a("2d"),g=a("5b"),h=a("5f"),i=a("5a"),j=a("67"),k=function(){function a(a,b,c){this.statements=a,this.viewFactoryVar=b,this.dependencies=c}return a}();b.ViewCompileResult=k;var l=function(){function a(a){this._genConfig=a,this._animationCompiler=new e.AnimationCompiler}return a.prototype.compileComponent=function(a,b,c,d){var e=[],f=this._animationCompiler.compileComponent(a),l=[];f.map(function(a){l.push(a.statesMapStatement),l.push(a.fnStatement)});var m=new h.CompileView(a,this._genConfig,d,c,f,0,g.CompileElement.createNull(),[]);return j.buildView(m,b,e),i.bindView(m,b),j.finishView(m,l),new k(l,m.viewFactory.name,e)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:f.CompilerConfig}],a}();return b.ViewCompiler=l,c.exports}),a.registerDynamic("68",["2b","39","38","35","40","42","44","46","2c","49","25","43","37","52","28","2a","29"],!0,function(a,b,c){"use strict";var d,e=a("2b"),f=a("39"),g=a("38"),h=a("35"),i=a("40"),j=a("42"),k=a("44"),l=a("46"),m=a("2c"),n=a("49"),o=a("25"),p=a("43"),q=a("37"),r=a("52"),s=a("28"),t=a("2a"),u=a("29");return function(a){a.SelectorMatcher=r.SelectorMatcher,a.CssSelector=r.CssSelector,a.AssetUrl=n.AssetUrl,a.ImportGenerator=n.ImportGenerator,a.CompileMetadataResolver=m.CompileMetadataResolver,a.HtmlParser=h.HtmlParser,a.I18nHtmlParser=i.I18nHtmlParser,a.ExtractionResult=k.ExtractionResult,a.Message=j.Message,a.MessageExtractor=k.MessageExtractor,a.removeDuplicates=k.removeDuplicates,a.serializeXmb=l.serializeXmb,a.deserializeXmb=l.deserializeXmb,a.DirectiveNormalizer=e.DirectiveNormalizer,a.Lexer=f.Lexer,a.Parser=g.Parser,a.ParseLocation=p.ParseLocation,a.ParseError=p.ParseError,a.ParseErrorLevel=p.ParseErrorLevel,a.ParseSourceFile=p.ParseSourceFile,a.ParseSourceSpan=p.ParseSourceSpan,a.TemplateParser=t.TemplateParser,a.DomElementSchemaRegistry=q.DomElementSchemaRegistry,a.StyleCompiler=s.StyleCompiler,a.ViewCompiler=u.ViewCompiler,a.TypeScriptEmitter=o.TypeScriptEmitter}(d=b.__compiler_private__||(b.__compiler_private__={})),c.exports}),a.registerDynamic("69",["2f","36","30","68"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}var e=a("2f");b.COMPILER_PROVIDERS=e.COMPILER_PROVIDERS,b.CompileDiDependencyMetadata=e.CompileDiDependencyMetadata,b.CompileDirectiveMetadata=e.CompileDirectiveMetadata,b.CompileFactoryMetadata=e.CompileFactoryMetadata,b.CompileIdentifierMetadata=e.CompileIdentifierMetadata,b.CompileMetadataWithIdentifier=e.CompileMetadataWithIdentifier,b.CompileMetadataWithType=e.CompileMetadataWithType,b.CompilePipeMetadata=e.CompilePipeMetadata,b.CompileProviderMetadata=e.CompileProviderMetadata,b.CompileQueryMetadata=e.CompileQueryMetadata,b.CompileTemplateMetadata=e.CompileTemplateMetadata,b.CompileTokenMetadata=e.CompileTokenMetadata,b.CompileTypeMetadata=e.CompileTypeMetadata,b.CompilerConfig=e.CompilerConfig,b.DEFAULT_PACKAGE_URL_PROVIDER=e.DEFAULT_PACKAGE_URL_PROVIDER,b.DirectiveResolver=e.DirectiveResolver,b.NormalizedComponentWithViewDirectives=e.NormalizedComponentWithViewDirectives,b.OfflineCompiler=e.OfflineCompiler,b.PipeResolver=e.PipeResolver,b.RenderTypes=e.RenderTypes,b.RuntimeCompiler=e.RuntimeCompiler,b.SourceModule=e.SourceModule,b.TEMPLATE_TRANSFORMS=e.TEMPLATE_TRANSFORMS,b.UrlResolver=e.UrlResolver,b.ViewResolver=e.ViewResolver,b.XHR=e.XHR,b.createOfflineCompileUrlResolver=e.createOfflineCompileUrlResolver;var f=a("36");return b.ElementSchemaRegistry=f.ElementSchemaRegistry,d(a("30")),d(a("68")),c.exports}),a.registerDynamic("6a",["69"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}return d(a("69")),c.exports}),a.registerDynamic("16",["6a"],!0,function(a,b,c){return c.exports=a("6a"),c.exports}),a.registerDynamic("e",[],!0,function(a,b,c){"use strict";function d(a){Zone.current.scheduleMicroTask("scheduleMicrotask",a)}function e(a){return a.name?a.name:typeof a}function f(a){return void 0!==a&&null!==a}function g(a){return void 0===a||null===a}function h(a){return"boolean"==typeof a}function i(a){return"number"==typeof a}function j(a){return"string"==typeof a}function k(a){return"function"==typeof a}function l(a){return k(a)}function m(a){return"object"==typeof a&&null!==a}function n(a){return m(a)&&Object.getPrototypeOf(a)===O}function o(a){return a instanceof N.Promise}function p(a){return Array.isArray(a)}function q(a){return a instanceof b.Date&&!isNaN(a.valueOf())}function r(){}function s(a){if("string"==typeof a)return a;if(void 0===a||null===a)return""+a;if(a.name)return a.name;if(a.overriddenName)return a.overriddenName;var b=a.toString(),c=b.indexOf("\n");return-1===c?b:b.substring(0,c)}function t(a){return a}function u(a,b){return a}function v(a,b){return a[b]}function w(a,b){return a===b||"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b)}function x(a){return a}function y(a){return g(a)?null:a}function z(a){return g(a)?!1:a}function A(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function B(a){console.log(a)}function C(a){console.warn(a)}function D(a,b,c){for(var d=b.split("."),e=a;d.length>1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;ba?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("10",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("6b",["16","e","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("16"),f=a("e"),g=a("10"),h=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.get=function(a){var b=g.PromiseWrapper.completer(),c=new XMLHttpRequest;return c.open("GET",a,!0),c.responseType="text",c.onload=function(){var d=f.isPresent(c.response)?c.response:c.responseText,e=1223===c.status?204:c.status;0===e&&(e=d?200:0),e>=200&&300>=e?b.resolve(d):b.reject("Failed to load "+a,null)},c.onerror=function(){b.reject("Failed to load "+a,null)},c.send(),b.promise},b}(e.XHR);return b.XHRImpl=h,c.exports}),a.registerDynamic("6c",["6d","16","9","6e","8","a","e","15","6b","45"],!0,function(a,b,c){return function(c){"use strict";function d(a,c){k.reflector.reflectionCapabilities=new k.ReflectionCapabilities;var d=[j.BROWSER_APP_PROVIDERS,b.BROWSER_APP_COMPILER_PROVIDERS,m.isPresent(c)?c:[]],e=i.ReflectiveInjector.resolveAndCreate(d,j.browserPlatform().injector);return i.coreLoadAndBootstrap(a,e)}function e(a,c){var d=i.ReflectiveInjector.resolveAndCreate([j.WORKER_UI_APPLICATION_PROVIDERS,b.BROWSER_APP_COMPILER_PROVIDERS,{provide:j.WORKER_SCRIPT,useValue:a},m.isPresent(c)?c:[]],j.workerUiPlatform().injector);return l.PromiseWrapper.resolve(d.get(i.ApplicationRef))}function f(a,b){var c=i.ReflectiveInjector.resolveAndCreate([j.WORKER_APP_APPLICATION_PROVIDERS,p,m.isPresent(b)?b:[]],j.workerAppPlatform().injector);return i.coreLoadAndBootstrap(a,c)}var g=a("6d"),h=a("16"),i=a("9"),j=a("6e"),k=a("8"),l=a("a"),m=a("e"),n=a("15"),o=a("6b");b.BROWSER_APP_COMPILER_PROVIDERS=[h.COMPILER_PROVIDERS,{provide:h.CompilerConfig,useFactory:function(a,b){return new h.CompilerConfig({platformDirectives:a,platformPipes:b})},deps:[i.PLATFORM_DIRECTIVES,i.PLATFORM_PIPES]},{provide:h.XHR,useClass:o.XHRImpl},{provide:i.PLATFORM_DIRECTIVES,useValue:g.COMMON_DIRECTIVES,multi:!0},{provide:i.PLATFORM_PIPES,useValue:g.COMMON_PIPES,multi:!0}],b.CACHED_TEMPLATE_PROVIDER=[{provide:h.XHR,useClass:n.CachedXHR}],b.bootstrap=d,b.bootstrapWorkerUi=e;var p=[h.COMPILER_PROVIDERS,{provide:h.CompilerConfig,useFactory:function(a,b){return new h.CompilerConfig({platformDirectives:a,platformPipes:b})},deps:[i.PLATFORM_DIRECTIVES,i.PLATFORM_PIPES]},{provide:h.XHR,useClass:o.XHRImpl},{provide:i.PLATFORM_DIRECTIVES,useValue:g.COMMON_DIRECTIVES,multi:!0},{provide:i.PLATFORM_PIPES,useValue:g.COMMON_PIPES,multi:!0}];b.bootstrapWorkerApp=f}(a("45")),c.exports}),a.registerDynamic("6f",["6c"],!0,function(a,b,c){return c.exports=a("6c"),c.exports}),a.registerDynamic("70",[],!0,function(a,b,c){return function(){var a=function(b,c){return null===b.parentNode?c:a(b.parentNode,c.concat([b]))},b=function(a,b){return getComputedStyle(a,null).getPropertyValue(b)},d=function(a){return b(a,"overflow")+b(a,"overflow-y")+b(a,"overflow-x")},e=function(a){return/(auto|scroll)/.test(d(a))},f=function(b){if(b instanceof HTMLElement){for(var c=a(b.parentNode,[]),d=0;df?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&k(b,c,g),g},m=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},n=function(a){function b(a,c){i(this,b),f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.optionsService=c}return g(b,a),h(b,[{key:"prepareModel",value:function(){this.data=this.componentSchema.info,this.specUrl=this.optionsService.options.specUrl}}]),b}(d),a("ApiInfo",n),a("ApiInfo",n=l([c({selector:"api-info",styles:["\n .api-info-header {\n font-weight: normal; }\n\n :host > div {\n width: 60%; }\n\n a.openapi-button {\n padding: 3px 8px 4px 8px;\n color: #0033a0;\n border: 1px solid #0033a0;\n margin-left: 0.5em;\n font-weight: normal; }\n "],template:'\n
\n

{{data.title}} ({{data.version}})

\n

\n

\n \n Contact:\n \n {{data.contact.name || data.contact.url}}\n \n {{data.contact.email}}\n \n License:\n {{data.license.name}} \n {{data.license.name}} \n \n

\n

\n Download OpenAPI (fka Swagger) specification:\n Download \n

\n
\n '}),m("design:paramtypes",[b,e])],n))}}}),a.register("7b",["73","75","76","77","78","79","7a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m;return{setters:[function(a){b=a.RedocComponent,c=a.BaseComponent,d=a.SpecManager},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]}],execute:function(){"use strict";k=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=i(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&j(b,c,g),g},l=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},m=function(a){function b(a){h(this,b),e(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.data={}}return f(b,a),g(b,[{key:"prepareModel",value:function(){var a=this.componentSchema.info["x-logo"];a&&(this.data.imgUrl=a.url,this.data.bgColor=a.backgroundColor||"transparent")}}]),b}(c),a("ApiLogo",m),a("ApiLogo",m=k([b({selector:"api-logo",styles:["\n img {\n max-height: 150px;\n width: auto;\n display: inline-block;\n max-width: 100%;\n box-sizing: border-box; }\n "],template:'\n \n '}),l("design:paramtypes",[d])],m))}}}),a.register("7c",["73","75","76","77","78","79","80","7a","7d","7e","7f"],function(a){function b(a,b,c){a[b]||(a[b]=[]),a[b].push(c)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a.JsonSchema},function(a){n=a.JsonSchemaLazy},function(a){o=a.SchemaHelper}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&l(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=function(a){function c(a){i(this,c),f(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,a)}return g(c,a),h(c,[{key:"prepareModel",value:function(){var a=this;this.data={};var b=this.specMgr.getMethodParams(this.pointer,!0);b=b.map(function(b){var c=b._pointer;return"body"===b["in"]?b:(b._name=b.name,o.preprocess(b,c,a.pointer))});var c=this.orderParams(b);if(c.body&&c.body.length){var d=c.body[0];d.pointer=d._pointer,this.data.bodyParam=d,c.body=void 0}this.data.noParams=!(k(c).length||this.data.bodyParam); -var e=["path","query","formData","header","body"],f={path:"Used together with Path Templating, where the parameter value is actually part\n of the operation's URL. This does not include the host or base path of the API.\n For example, in /items/{itemId}, the path parameter is itemId",query:"Parameters that are appended to the URL.\n For example, in /items?id=###, the query parameter is id",formData:"Parameters that are submitted through a form.\n application/x-www-form-urlencoded, multipart/form-data or both are usually\n used as the content type of the request",header:"Custom headers that are expected as part of the request"},g=[];e.forEach(function(a){c[a]&&c[a].length&&g.push({place:a,placeHint:f[a],params:c[a]})}),this.data.params=g}},{key:"orderParams",value:function(a){var c={};return a.forEach(function(a){return b(c,a["in"],a)}),c}}]),c}(d),a("ParamsList",r),a("ParamsList",r=p([c({selector:"params-list",template:'\n
Parameters
\n \n\n
\n
Request Body
\n\n
\n
\n
\n \n \n
\n
\n ',styles:['\n .param-list-header {\n border-bottom: 1px solid rgba(38, 50, 56, 0.3);\n padding: 0.2em 0;\n margin: 3.5em 0 .8em 0;\n color: rgba(38, 50, 56, 0.5);\n font-weight: normal;\n text-transform: uppercase; }\n\n .param-name {\n font-size: 0.929em;\n padding: 10px 0 10px 0;\n font-weight: 400;\n box-sizing: border-box;\n line-height: 20px;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n white-space: nowrap;\n position: relative;\n vertical-align: top; }\n\n .param-name-wrap {\n padding-right: 25px;\n display: inline-block;\n font-family: Montserrat, sans-serif; }\n\n .param-info {\n padding: 10px 0;\n box-sizing: border-box;\n border-bottom: 1px solid #ccc;\n width: 75%;\n line-height: 1em; }\n\n .param-range {\n color: rgba(0, 51, 160, 0.7);\n position: relative;\n top: 1px;\n padding: 0 4px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n margin-left: 6px; }\n\n .param-description {\n font-size: 13px; }\n\n .param-required {\n color: red;\n font-weight: bold;\n font-size: 12px;\n line-height: 20px;\n vertical-align: middle; }\n\n .param-type {\n color: rgba(38, 50, 56, 0.4);\n font-size: 0.929em;\n line-height: 20px;\n vertical-align: middle;\n font-weight: normal; }\n\n .param-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n\n .param-type.with-hint {\n display: inline-block;\n margin-bottom: 0.4em;\n border-bottom: 1px dotted rgba(38, 50, 56, 0.4);\n padding: 0;\n cursor: help; }\n\n .param-type-trivial {\n margin: 10px 10px 0;\n display: inline-block; }\n\n /* tree */\n .param-name > span:before {\n content: "";\n display: inline-block;\n width: 1px;\n height: 7px;\n background-color: #0033a0;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid rgba(0, 51, 160, 0.5);\n width: 10px;\n left: 0;\n top: 21px; }\n\n .param:first-of-type > .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid white;\n height: 21px; }\n\n .param:last-of-type > .param-name, .param.last > .param-name {\n position: relative; }\n .param:last-of-type > .param-name:after, .param.last > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -2px;\n border-left: 2px solid white;\n top: 22px;\n background-color: white;\n bottom: 0; }\n\n .param-wrap:last-of-type > .param-schema {\n border-left-color: transparent; }\n\n .param-schema .param-wrap:first-of-type .param-name:before {\n display: none !important; }\n\n .param-schema.last > td {\n border-left: 0; }\n\n .param-enum {\n color: #263238;\n font-size: 13px; }\n .param-enum:before {\n content: "Values: {"; }\n .param-enum:after {\n content: "}"; }\n .param-enum > .enum-value:after {\n content: ", "; }\n .param-enum > .enum-value:last-of-type:after {\n content: none; }\n\n header.paramType {\n margin: 10px 0;\n text-transform: capitalize; }\n\n .params-wrap {\n display: table;\n width: 100%; }\n\n .param-name {\n display: table-cell;\n vertical-align: top; }\n\n .param-info {\n display: table-cell;\n width: 100%; }\n\n .param {\n display: table-row; }\n\n .param:last-of-type > .param-name {\n border-left: 0; }\n .param:last-of-type > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n height: 21px;\n background-color: white;\n top: 0; }\n\n .param:first-of-type .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n border-left: 2px solid white;\n height: 20px;\n background-color: white;\n top: 0; }\n\n [data-hint] {\n width: 1.2em;\n text-align: center;\n border-radius: 50%;\n vertical-align: middle;\n color: #999999;\n line-height: 1.2;\n text-transform: none;\n cursor: help;\n border: 1px solid #999999;\n margin-left: 0.5em; }\n\n @media (max-width: 520px) {\n [data-hint] {\n float: right; }\n [data-hint]:after {\n margin-left: 12px;\n transform: translateX(-100%) translateY(-8px);\n -moz-transform: translateX(-100%) translateY(-8px);\n -webkit-transform: translateX(-100%) translateY(-8px); } }\n '],directives:[m,n]}),q("design:paramtypes",[e])],r))}}}),a.register("7d",["9","73","74","75","76","77","78","79","81","82","7a","7e"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;return{setters:[function(a){b=a.Input,c=a.Renderer,d=a.ElementRef,e=a.forwardRef},function(a){f=a.RedocComponent,g=a.BaseComponent,h=a.SpecManager},function(a){i=a.SchemaNormalizer,j=a.SchemaHelper},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.DropDown},function(a){q=a.Zippy},function(a){r=a["default"]},function(a){s=a.JsonSchemaLazy}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=o(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&r(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=void 0,w=v=function(a){function b(a,c,d){n(this,b),k(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this._renderer=c,this._elementRef=d,this.activeDescendant={},this.hasDescendants=!1,this._hasSubSchemas=!1,this["final"]=!1,this.normalizer=new i(a)}return l(b,a),m(b,[{key:"selectDescendant",value:function(a){var b=this.schema._descendants[a];b&&!b.active&&(this.schema._descendants.forEach(function(a){a.active=!1}),b.active=!0,this.activeDescendant=b)}},{key:"initDescendants",value:function(){var a=this;if(this.schema._descendants&&this.schema._descendants.length){this.hasDescendants=!0;var b=this.schema._properties[this.schema._properties.length-1]["enum"];b&&!function(){var c={};b.forEach(function(a,b){c[a.val]=b}),a.schema._descendants.sort(function(a,b){return c[a.name]>c[b.name]?1:-1})}(),this.selectDescendant(0)}}},{key:"prepareModel",value:function(){if(this.nestOdd&&this._renderer.setElementAttribute(this._elementRef.nativeElement,"nestodd","true"),this.schema=this.componentSchema,!this.schema)throw new Error("Can't load component schema at "+this.pointer);this.schema=this.normalizer.normalize(this.schema,this.normPointer),this.schema=j.unwrapArray(this.schema,this.normPointer),j.preprocess(this.schema,this.normPointer,this.pointer),this.schema.isTrivial||j.preprocessProperties(this.schema,this.normPointer,{childFor:this.childFor,skipReadOnly:this.isRequestSchema}),this.initDescendants(),this._hasSubSchemas=this.schema._properties&&this.schema._properties.some(function(a){return"object"===a.type&&a._pointer})}},{key:"trackByName",value:function(a,b){return b.name}},{key:"normPointer",get:function(){return this.schema._pointer||this.pointer}}]),b}(g),a("JsonSchema",w),t([b(),u("design:type",Boolean)],w.prototype,"isArray",void 0),t([b(),u("design:type",Boolean)],w.prototype,"final",void 0),t([b(),u("design:type",Boolean)],w.prototype,"nestOdd",void 0),t([b(),u("design:type",String)],w.prototype,"childFor",void 0),t([b(),u("design:type",Boolean)],w.prototype,"isRequestSchema",void 0),a("JsonSchema",w=v=t([f({selector:"json-schema",template:'\n \n file\n
\n Produces: {{ schema._produces | json }}\n
\n
\n Consumes: {{ schema._consumes | json }}\n
\n
\n \n {{schema._displayType}} {{schema._displayFormat}}\n {{schema._range}} \n \n
\n {{enumItem.val | json}} \n
\n
\n \n \n \n \n \n \n
\n
\n \n \n
\n
\n ',styles:['\n .param-name {\n font-size: 0.929em;\n padding: 10px 0 10px 0;\n font-weight: 400;\n box-sizing: border-box;\n line-height: 20px;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n white-space: nowrap;\n position: relative;\n vertical-align: top; }\n\n .param-name-wrap {\n padding-right: 25px;\n display: inline-block;\n font-family: Montserrat, sans-serif; }\n\n .param-info {\n padding: 10px 0;\n box-sizing: border-box;\n border-bottom: 1px solid #ccc;\n width: 75%;\n line-height: 1em; }\n\n .param-range {\n color: rgba(0, 51, 160, 0.7);\n position: relative;\n top: 1px;\n padding: 0 4px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n margin-left: 6px; }\n\n .param-description {\n font-size: 13px; }\n\n .param-required {\n color: red;\n font-weight: bold;\n font-size: 12px;\n line-height: 20px;\n vertical-align: middle; }\n\n .param-type {\n color: rgba(38, 50, 56, 0.4);\n font-size: 0.929em;\n line-height: 20px;\n vertical-align: middle;\n font-weight: normal; }\n\n .param-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n\n .param-type.with-hint {\n display: inline-block;\n margin-bottom: 0.4em;\n border-bottom: 1px dotted rgba(38, 50, 56, 0.4);\n padding: 0;\n cursor: help; }\n\n .param-type-trivial {\n margin: 10px 10px 0;\n display: inline-block; }\n\n /* tree */\n .param-name > span:before {\n content: "";\n display: inline-block;\n width: 1px;\n height: 7px;\n background-color: #0033a0;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid rgba(0, 51, 160, 0.5);\n width: 10px;\n left: 0;\n top: 21px; }\n\n .param:first-of-type > .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid white;\n height: 21px; }\n\n .param:last-of-type > .param-name, .param.last > .param-name {\n position: relative; }\n .param:last-of-type > .param-name:after, .param.last > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -2px;\n border-left: 2px solid white;\n top: 22px;\n background-color: white;\n bottom: 0; }\n\n .param-wrap:last-of-type > .param-schema {\n border-left-color: transparent; }\n\n .param-schema .param-wrap:first-of-type .param-name:before {\n display: none !important; }\n\n .param-schema.last > td {\n border-left: 0; }\n\n .param-enum {\n color: #263238;\n font-size: 13px; }\n .param-enum:before {\n content: "Values: {"; }\n .param-enum:after {\n content: "}"; }\n .param-enum > .enum-value:after {\n content: ", "; }\n .param-enum > .enum-value:last-of-type:after {\n content: none; }\n\n /* styles for array-schema for array */\n :host {\n display: block; }\n\n .param-schema > td {\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n padding: 0 10px; }\n\n .derived-schema {\n display: none; }\n\n .derived-schema.active {\n display: block; }\n\n :host.nested-schema {\n background-color: white;\n padding: 10px 20px;\n position: relative;\n border-radius: 2px; }\n :host.nested-schema:before, :host.nested-schema:after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: transparent;\n border-width: 10px 15px 0;\n margin-left: -7.5px;\n border-top-color: #f0f0f0; }\n :host.nested-schema:before {\n left: 10%; }\n :host.nested-schema:after {\n right: 10%; }\n :host.nested-schema .param:first-of-type > .param-name:before, :host.nested-schema .param:last-of-type > .param-name:after {\n border-color: white; }\n\n :host[nestodd="true"] {\n background-color: #f0f0f0;\n border-radius: 2px; }\n :host[nestodd="true"]:before, :host[nestodd="true"]:after {\n border-top-color: white; }\n :host[nestodd="true"] > .params-wrap > .param:first-of-type > .param-name:before, :host[nestodd="true"] > .params-wrap > .param:last-of-type > .param-name:after {\n border-color: #f0f0f0; }\n :host[nestodd="true"] > .params-wrap > .param:last-of-type > .param-name:after, :host[nestodd="true"] > .params-wrap > .param.last > .param-name:after {\n border-color: #f0f0f0; }\n\n .zippy-content-wrap {\n padding: 0; }\n\n .param.complex.expanded > .param-info {\n border-bottom: 0; }\n\n .param.complex > .param-name .param-name-content {\n font-weight: bold;\n cursor: pointer; }\n\n .param.complex > .param-name svg {\n height: 1.2em;\n vertical-align: middle;\n transition: all 0.3s ease; }\n\n .param.complex.expanded > .param-name svg {\n transform: rotateZ(-180deg); }\n\n .param.additional > .param-name {\n color: rgba(38, 50, 56, 0.4); }\n\n .params-wrap {\n border-collapse: collapse;\n width: 100%; }\n\n .params-wrap.params-array:before, .params-wrap.params-array:after {\n display: block;\n font-weight: 300;\n color: #263238;\n font-size: 13px;\n line-height: 1.5; }\n\n .params-wrap.params-array:after {\n content: "]"; }\n\n .params-wrap.params-array:before {\n content: "Array [";\n padding-top: 1em; }\n\n .params-wrap.params-array {\n padding-left: 10px; }\n\n .param-schema.param-array:before {\n bottom: 9.75px;\n width: 10px;\n border-left-style: dashed;\n border-bottom: 1px dashed rgba(0, 51, 160, 0.5); }\n\n .params-wrap.params-array > .param-wrap:first-of-type > .param > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid white;\n height: 20px; }\n\n .params-wrap > .param > .param-schema.param-array {\n border-left-color: transparent; }\n\n .param.discriminator > .param-info {\n padding-bottom: 0; }\n\n .param.discriminator > .param-name:after {\n display: none; }\n\n .discriminator-info {\n font-weight: 400;\n margin-bottom: 10px; }\n .discriminator-info > span {\n font-size: 0.9em;\n font-weight: 300; }\n\n .discriminator-wrap:not(.empty) > td {\n padding: 0;\n position: relative; }\n .discriminator-wrap:not(.empty) > td:before {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n height: 21px;\n z-index: 1; }\n\n ul {\n text-align: left;\n margin: 0;\n padding: 0;\n display: block; }\n\n li {\n margin: 0.5em 0.3em 0.2em 0;\n font-family: Montserrat, sans-serif;\n font-size: .929em;\n line-height: .929em;\n border: 0;\n color: white;\n padding: 2px 8px 4px 8px;\n border-radius: 2px;\n background-color: rgba(38, 50, 56, 0.3);\n display: inline-block;\n cursor: pointer; }\n li:last-of-type {\n margin-right: 0; }\n li.active {\n background-color: #0033a0; }\n '],directives:[w,p,e(function(){return s}),q],detect:!0}),u("design:paramtypes",[h,c,d])],w))}}}),a.register("7e",["9","77","78","79","83","84","85","7a","6d","7d"],function(a){function b(a,b){b.parentNode.insertBefore(a,b.nextSibling)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.Component,d=a.ElementRef,e=a.ViewContainerRef,f=a.Input,g=a.ComponentResolver,h=a.Renderer},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.OptionsService},function(a){m=a.SpecManager},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.CORE_DIRECTIVES},function(a){q=a.JsonSchema}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&o(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t={},u=function(){function a(b,c,d,e,f,g){j(this,a),this.specMgr=b,this.location=c,this.elementRef=d,this.resolver=e,this.optionsService=f,this._renderer=g,this["final"]=!1,this.loaded=!1}return i(a,[{key:"normalizePointer",value:function(){var a=this.specMgr.byPointer(this.pointer);return a&&a.$ref||this.pointer}},{key:"_loadAfterSelf",value:function(){var a=this;return this.resolver.resolveComponent(q).then(function(b){var c=a.location.parentInjector,d=a.location.createComponent(b,null,c,null);return a.initComponent(d.instance),a._renderer.setElementAttribute(d.location.nativeElement,"class",a.location.element.nativeElement.className),d.changeDetectorRef.detectChanges(),d})["catch"](function(a){throw console.log(a),a})}},{key:"load",value:function(){this.optionsService.options.disableLazySchemas||this.loaded||(this.pointer&&this._loadAfterSelf(),this.loaded=!0)}},{key:"loadCached",value:function(){var a=this;this.pointer=this.normalizePointer(),t[this.pointer]?t[this.pointer].then(function(c){setTimeout(function(){var d=c.location.nativeElement;return c.instance.hasDescendants||c.instance._hasSubSchemas?void a._loadAfterSelf():void b(d.cloneNode(!0),a.elementRef.nativeElement)})}):t[this.pointer]=this._loadAfterSelf()}},{key:"initComponent",value:function(a){n(a,this)}},{key:"ngAfterViewInit",value:function(){return this.optionsService.options.disableLazySchemas?void this._loadAfterSelf():void(this.auto&&this.loadCached())}},{key:"ngOnDestroy",value:function(){t={}}}]),a}(),a("JsonSchemaLazy",u),r([f(),s("design:type",String)],u.prototype,"pointer",void 0),r([f(),s("design:type",Boolean)],u.prototype,"auto",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isRequestSchema",void 0),r([f(),s("design:type",Boolean)],u.prototype,"final",void 0),r([f(),s("design:type",Boolean)],u.prototype,"nestOdd",void 0),r([f(),s("design:type",String)],u.prototype,"childFor",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isArray",void 0),a("JsonSchemaLazy",u=r([c({selector:"json-schema-lazy",template:"",directives:[p]}),s("design:paramtypes",[m,e,d,g,l,h])],u))}}}),a.register("86",["73","74","75","76","77","78","79","80","81","87","88","7a","7d","7e"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a.OptionsService},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a.Zippy},function(a){n=a["default"]},function(a){o=a.statusCodeType},function(a){p=a["default"]},function(a){q=a.JsonSchema},function(a){r=a.JsonSchemaLazy}],execute:function(){"use strict";s=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&p(b,c,g),g},t=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},u=function(a){function c(a,b){j(this,c),g(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,a),this.options=b.options}return h(c,a),i(c,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var c=this.componentSchema;c&&(c=l(c).filter(function(a){return b(a)||"default"===a}).map(function(b){var d=c[b];if(d.pointer=n.join(a.pointer,b),d.$ref){var e=d.$ref;d=a.specMgr.byPointer(d.$ref),d.pointer=e}return d.empty=!d.schema,d.code=b,d.type=o(d.code),d.headers&&(d.headers=l(d.headers).map(function(a){var b=d.headers[a];return b.name=a,b}),d.empty=!1),d.extendable=d.headers||d.length,d}),this.data.responses=c)}}]),c}(d),a("ResponsesList",u),a("ResponsesList",u=s([c({selector:"responses-list",template:'\n

Responses

\n \n
\n
\n Headers\n
\n
\n
{{header.name}}
\n
{{header.type}}
\n
Default: {{header.default}}
\n
\n
\n
\n
\n Response Schema\n
\n \n \n
\n ', -styles:["\n .responses-list-header {\n font-size: 18px;\n padding: 0.2em 0;\n margin: 3em 0 1.1em 0;\n color: #253137;\n font-weight: normal; }\n\n :host .zippy-title {\n font-family: Montserrat, sans-serif; }\n\n .header-name {\n font-weight: bold;\n display: inline-block; }\n\n .header-type {\n display: inline-block;\n font-weight: bold;\n color: #999; }\n\n header {\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n margin-bottom: 15px; }\n header:not(:first-child) {\n margin-top: 15px;\n margin-bottom: 0; }\n\n .header {\n margin-bottom: 10px; }\n "],directives:[q,m,r],detect:!0}),t("design:paramtypes",[e,f])],u))}}}),a.register("89",["9","73","75","76","77","78","79","80","81","87","88","7a","8a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}function c(a){return a.examples&&a.examples["application/json"]||a.schema}var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){d=a.forwardRef},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a.statusCodeType},function(a){r=a["default"]},function(a){s=a.SchemaSample}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=l(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&r(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function d(a){k(this,d),h(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,a)}return i(d,a),j(d,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var d=this.componentSchema;d&&(d=m(d).filter(function(a){return b(a)||"default"===a}).map(function(b){var c=d[b];if(c.pointer=p.join(a.pointer,b),c.$ref){var e=c.$ref;c=a.specMgr.byPointer(c.$ref),c.pointer=e}return c.code=b,c.type=q(c.code),c}).filter(function(a){return c(a)}),this.data.responses=d)}}]),d}(f),a("ResponsesSamples",v),a("ResponsesSamples",v=t([e({selector:"responses-samples",template:'\n
Response samples
\n \n \n \n \n \n ',styles:["\n tab, tabs {\n display: block; }\n\n schema-sample {\n display: block; }\n\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: 0.929em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 2px 8px 3px 8px;\n color: #9fb4be;\n line-height: 1.25; }\n :host > tabs > ul li:hover {\n color: #ffffff;\n background-color: rgba(255, 255, 255, 0.1); }\n :host > tabs > ul li.active {\n background-color: white;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n "],directives:[d(function(){return s}),n,o]}),u("design:paramtypes",[g])],v))}}}),a.register("8b",["8c"],function(a){"use strict";function b(a){var b=a.minItems||1;Array.isArray(a.items)&&(b=Math.max(b,a.items.length));var d=function(b){return Array.isArray(a.items)?a.items[b]||{}:a.items||{}},e=[];if(!a.items)return e;for(var f=0;b>f;f++){var g=d(f),h=c(g);e.push(h)}return e}var c;return a("sampleArray",b),{setters:[function(a){c=a.traverse}],execute:function(){}}}),a.register("8d",[],function(a){"use strict";function b(a){return!0}return a("sampleBoolean",b),{setters:[],execute:function(){}}}),a.register("8e",[],function(a){"use strict";function b(a){var b=void 0;return a.maximum&&a.minimum?(b=a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum,(a.exclusiveMaximum&&b>=a.maximum||!a.exclusiveMaximum&&b>a.maximum)&&(b=(a.maximum+a.minimum)/2),b):a.minimum?a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum:a.maximum?a.exclusiveMaximum?a.maximum>0?0:Math.floor(a.maximum)-1:a.maximum>0?0:a.maximum:0}return a("sampleNumber",b),{setters:[],execute:function(){}}}),a.register("8c",["90","8f"],function(a){"use strict";function b(a,b){if(a.allOf&&c(a),a.example)return a.example;if(a["default"])return a["default"];if(a["enum"]&&a["enum"].length)return a["enum"][0];var e=a.type,f=d[e];return f?f(a,b):{}}var c,d;return a("traverse",b),{setters:[function(a){c=a.mergeAllOf},function(a){d=a._samplers}],execute:function(){}}}),a.register("91",["80","8c"],function(a){function b(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],e={};return a&&"object"==typeof a.properties&&c(a.properties).forEach(function(c){b.skipReadOnly&&a.properties[c].readOnly||(e[c]=d(a.properties[c]))}),e}var c,d;return{setters:[function(a){c=a["default"]},function(a){d=a.traverse}],execute:function(){"use strict";a("sampleObject",b)}}}),a.register("92",["93"],function(a){"use strict";function b(){return"user@example.com"}function c(a,b){var c="pa$$word";return a>c.length&&(c+="_",c+=j(l,a-c.length).substring(0,a-c.length)),c}function d(a,b,c){var d=k(new Date,c);if(d.lengthb)throw Erorr("Using maxLength = "+b+' is incorrect with format "date-time"');return d}function e(a,b){return d(a,b)}function f(a,b){return d(a,b,!0)}function g(a,b){var c=j("string",a);return b&&c.length>b&&(c=c.substring(b)),c}function h(){return"192.168.0.1"}function i(a){var b=a.format||"default",c=m[b]||g;return c(0|a.minLength,a.maxLength)}var j,k,l,m;return a("sampleString",i),{setters:[function(a){j=a.ensureMinLength,k=a.toRFCDateTime}],execute:function(){l="qwerty!@#$%^123456",m={email:b,password:c,"date-time":e,date:f,ipv4:h,"default":g}}}}),a.register("94",["91","92","8b","8d","8e"],function(a){"use strict";return{setters:[function(b){var c={};c.sampleObject=b.sampleObject,a(c)},function(b){var c={};c.sampleString=b.sampleString,a(c)},function(b){var c={};c.sampleArray=b.sampleArray,a(c)},function(b){var c={};c.sampleBoolean=b.sampleBoolean,a(c)},function(b){var c={};c.sampleNumber=b.sampleNumber,a(c)}],execute:function(){}}}),a.registerDynamic("95",["96"],!0,function(a,b,c){var d=a("96");return d(d.S,"Math",{trunc:function(a){return(a>0?Math.floor:Math.ceil)(a)}}),c.exports}),a.registerDynamic("97",["95","98"],!0,function(a,b,c){return a("95"),c.exports=a("98").Math.trunc,c.exports}),a.registerDynamic("99",["97"],!0,function(a,b,c){return c.exports={"default":a("97"),__esModule:!0},c.exports}),a.register("93",["80","99"],function(a){function b(a){return 10>a?"0"+a:a}function c(a,c){var d=a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate());return c||(d+="T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())+"."+(a.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"),d}function d(a,b){return b>a.length?a.repeat(g(b/a.length)+1).substring(0,b):a}function e(a,b){for(var c=f(b),d=-1,e=c.length;++d/g,">"):""}function c(a,c){return''+b(a)+""}function d(a){var d=typeof a,g="";return void 0==a?g+=c("null","type-null"):a&&a.constructor===Array?(r++,g+=e(a),r--):"object"===d?(r++,g+=f(a),r--):"number"===d?g+=c(a,"type-number"):"string"===d?g+=/^(http|https):\/\/[^\\s]+$/.test(a)?c('"',"type-string")+''+b(a)+""+c('"',"type-string"):c('"'+a+'"',"type-string"):"boolean"===d&&(g+=c(a,"type-boolean")),g}function e(a){var b,c,e=r>s?"collapsed":"",f='
[
    ',g=!1;for(b=0,c=a.length;c>b;b++)g=!0,f+='
  • ',f+=d(a[b]),c-1>b&&(f+=","),f+="
  • ";return f+="
]",g||(f="[ ]"),f}function f(a){var c,e,f,g=r>s?"collapsed":"",h=l(a),i='
{
    ',j=!1;for(c=0,f=h.length;f>c;c++)e=h[c],j=!0,i+='
  • ',i+=''+b(e)+": ",i+=d(a[e]),f-1>c&&(i+=","),i+="
  • ";return i+="
}",j||(i="{ }"),i}function g(a){r=1;var b="";return b+='
',b+=d(a),b+="
"}var h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){h=a.Pipe},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.isBlank},function(a){o=a.DomSanitizationService}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=1,s=2,t=function(){function a(b){j(this,a),this.sanitizer=b}return i(a,[{key:"transform",value:function(a){return n(a)?a:this.sanitizer.bypassSecurityTrustHtml(g(a))}}]),a}(),a("JsonFormatter",t),a("JsonFormatter",t=p([h({name:"jsonFormatter"}),q("design:paramtypes",[o])],t))}}}),a.register("9e",["9","73","75","76","77","78","79","7a","9b","9c","9f"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return{setters:[function(a){b=a.ElementRef,c=a.Input},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a},function(a){n=a.JsonFormatter},function(a){o=a.SchemaNormalizer}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&l(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=function(a){function b(a,c){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.element=c.nativeElement,this._normalizer=new o(a)}return h(b,a),i(b,[{key:"init",value:function(){this.bindEvents(),this.data={};var a={},b=void 0;if(this.componentSchema.schema&&(a=this.componentSchema,this.componentSchema=this.componentSchema.schema),a.examples&&a.examples["application/json"])b=a.examples["application/json"];else{if(this.componentSchema=this._normalizer.normalize(this.componentSchema,this.pointer),this.fromCache())return;try{b=m.sample(this.componentSchema,{skipReadOnly:this.skipReadOnly})}catch(c){}}this.cache(b),this.data.sample=b}},{key:"cache",value:function(a){this.skipReadOnly?this.componentSchema["x-redoc-ro-sample"]=a:this.componentSchema["x-redoc-rw-sample"]=a}},{key:"fromCache",value:function(){return this.skipReadOnly&&this.componentSchema["x-redoc-ro-sample"]?(this.data.sample=this.componentSchema["x-redoc-ro-sample"],!0):this.componentSchema["x-redoc-rw-sample"]?(this.data.sample=this.componentSchema["x-redoc-rw-sample"],!0):!1}},{key:"bindEvents",value:function(){this.element.addEventListener("click",function(a){var b,c=a.target;"collapser"===a.target.className&&(b=c.parentNode.getElementsByClassName("collapsible")[0],b.parentNode.classList.contains("collapsed")?b.parentNode.classList.remove("collapsed"):b.parentNode.classList.add("collapsed"))})}}]),b}(e),a("SchemaSample",r),p([c(),q("design:type",Boolean)],r.prototype,"skipReadOnly",void 0),a("SchemaSample",r=p([d({selector:"schema-sample",template:'\n
\n \n
 Sample unavailable 
\n
\n          
\n ',pipes:[n],styles:['\n @charset "UTF-8";\n pre {\n background-color: transparent;\n padding: 0; }\n\n :host .type-null {\n color: gray; }\n\n :host .type-boolean {\n color: firebrick; }\n\n :host .type-number {\n color: #4A8BB3; }\n\n :host .type-string {\n color: #66B16E; }\n\n :host .callback-function {\n color: gray; }\n\n :host .collapser:after {\n content: "-";\n cursor: pointer; }\n\n :host .collapsed > .collapser:after {\n content: "+";\n cursor: pointer; }\n\n :host .ellipsis:after {\n content: " … "; }\n\n :host .collapsible {\n margin-left: 2em; }\n\n :host .hoverable {\n padding-top: 1px;\n padding-bottom: 1px;\n padding-left: 2px;\n padding-right: 2px;\n border-radius: 2px; }\n\n :host .hovered {\n background-color: #ebeef9; }\n\n :host .collapser {\n padding-right: 6px;\n padding-left: 6px; }\n\n :host .redoc-json {\n overflow-x: auto;\n padding: 20px;\n border-radius: 4px;\n background-color: #222d32;\n margin-bottom: 36px; }\n\n :host ul, :host .redoc-json ul {\n list-style-type: none;\n padding: 0px;\n margin: 0px 0px 0px 26px; }\n\n :host li {\n position: relative; }\n\n :host .hoverable {\n transition: background-color .2s ease-out 0s;\n -webkit-transition: background-color .2s ease-out 0s;\n display: inline-block; }\n\n :host .hovered {\n transition-delay: .2s;\n -webkit-transition-delay: .2s; }\n\n :host .selected {\n outline-style: solid;\n outline-width: 1px;\n outline-style: dotted; }\n\n :host .collapsed > .collapsible {\n display: none; }\n\n :host .ellipsis {\n display: none; }\n\n :host .collapsed > .ellipsis {\n display: inherit; }\n\n :host .collapser {\n position: absolute;\n top: 1px;\n left: -1.5em;\n cursor: default;\n user-select: none;\n -webkit-user-select: none; }\n ']}),q("design:paramtypes",[f,b])],r))}}}),a.register("a0",["9","73","74","75","76","77","78","79","81","87","7a","9e","a1"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){b=a.ViewChildren,c=a.QueryList,d=a.Input},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a.RedocEventsService},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.SchemaSample},function(a){s=a.PrismPipe}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=m(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function b(a,c){l(this,b),i(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.events=c,this.selectedLang=this.events.samplesLanguageChanged}return j(b,a),k(b,[{key:"changeLangNotify",value:function(a){this.events.samplesLanguageChanged.next(a)}},{key:"prepareModel",value:function(){this.data={},this.data.schemaPointer=p.join(this.schemaPointer,"schema"),this.data.samples=this.componentSchema["x-code-samples"]||[]}}]),b}(f),a("RequestSamples",v),t([d(),u("design:type",String)],v.prototype,"schemaPointer",void 0),t([b(n),u("design:type",c)],v.prototype,"childQuery",void 0),a("RequestSamples",v=t([e({selector:"request-samples",template:'\n
Request samples
\n \n \n \n \n \n \n
\n            
\n
\n ',styles:["\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: .9em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 3px 10px 2px 10px;\n line-height: 1.25;\n color: #9fb4be; }\n :host > tabs > ul li:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #ffffff; }\n :host > tabs > ul li.active {\n background-color: #ffffff;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n\n pre {\n overflow-x: auto;\n word-break: break-all;\n word-wrap: break-word;\n white-space: pre-wrap; }\n "],directives:[r,n,o],inputs:["schemaPointer"],pipes:[s],detect:!0,onPushOnly:!1}),u("design:paramtypes",[g,h])],v))}}}),a.register("2",["9","73","75","76","77","78","79","86","87","89","7a","7c","9e","a0"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){b=a.Input},function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.ResponsesList},function(a){l=a["default"]},function(a){m=a.ResponsesSamples},function(a){n=a["default"]},function(a){o=a.ParamsList},function(a){p=a.SchemaSample},function(a){q=a.RequestSamples}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&n(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t=function(a){function b(a){i(this,b),f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return g(b,a),h(b,[{key:"prepareModel",value:function(){this.data={},this.data.apiUrl=this.specMgr.apiUrl,this.data.httpMethod=l.baseName(this.pointer),this.data.path=l.baseName(this.pointer,2),this.data.methodInfo=this.componentSchema,this.data.methodInfo.tags=this.filterMainTags(this.data.methodInfo.tags),this.data.bodyParam=this.findBodyParam(),this.componentSchema.operationId?this.data.methodAnchor="operation/"+encodeURIComponent(this.componentSchema.operationId):this.data.methodAnchor="tag/"+encodeURIComponent(this.tag+this.pointer)}},{key:"filterMainTags",value:function(a){var b=this.specMgr.getTagsMap();return a?a.filter(function(a){return b[a]&&b[a]["x-traitTag"]}):[]}},{key:"findBodyParam",value:function(){var a=this.specMgr.getMethodParams(this.pointer,!0),b=a.find(function(a){return"body"===a["in"]});return b}}]),b}(d),a("Method",t),r([b(),s("design:type",String)],t.prototype,"tag",void 0),a("Method",t=r([c({selector:"method",template:'\n
\n
\n

\n {{data.methodInfo.summary}}\n

\n \n

\n

\n \n \n
\n
\n
Definition
\n \n
{{data.httpMethod}}
\n {{data.apiUrl}}{{data.path}}\n
\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n ',styles:['\n .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n .sharable-header {\n color: #263238; }\n\n .sharable-header:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n :host {\n padding-bottom: 100px;\n display: block;\n border-bottom: 1px solid rgba(127, 127, 127, 0.25); }\n\n responses-list, params-list {\n display: block; }\n\n .method-header {\n margin-bottom: .9em; }\n\n .method-endpoint {\n margin: 0 0 2em 0;\n padding: 10px 20px;\n border-radius: 4px;\n background-color: #222d32;\n display: block;\n font-weight: 300;\n white-space: nowrap;\n overflow-x: auto; }\n\n .method-endpoint > h5 {\n padding-top: 1px;\n padding-bottom: 0;\n margin: 0;\n font-size: .8em;\n color: #263238;\n vertical-align: middle;\n display: inline-block;\n border-radius: 2px; }\n\n .api-url {\n color: rgba(255, 255, 255, 0.8);\n margin-left: 10px;\n margin-top: 2px;\n position: relative;\n top: 1px;\n font-family: Montserrat, sans-serif;\n font-size: 0.929em !important; }\n\n .path {\n font-family: Montserrat, sans-serif;\n position: relative;\n top: 1px;\n color: #ffffff;\n font-size: 0.929em !important; }\n\n .method-tags {\n margin-top: 20px; }\n\n .method-tags a {\n font-size: 16px;\n color: #999;\n display: inline-block;\n padding: 0 0.5em;\n text-decoration: none; }\n\n .method-tags a:before {\n content: \'#\';\n margin-right: -0.4em; }\n\n .method-tags a:first-of-type {\n padding: 0; }\n\n .method-content, .method-samples {\n display: block;\n box-sizing: border-box;\n float: left; }\n\n .method-content {\n width: 60%;\n padding: 40px; }\n\n .method-samples {\n color: #fafbfc;\n width: 40%;\n padding: 40px;\n background: #263238; }\n\n responses-samples {\n display: block; }\n\n .method-samples header,\n .method-samples > h5 {\n color: #9fb4be;\n text-transform: uppercase; }\n\n .method-samples > h5 {\n margin-bottom: 8px; }\n\n .method-samples schema-sample {\n display: block; }\n\n .method:after {\n content: "";\n display: table;\n clear: both; }\n\n .method-description {\n padding: 6px 0 10px 0;\n margin: 0; }\n\n .http-method {\n color: #263238;\n background: #ffffff;\n padding: 3px 10px;\n text-transform: uppercase; }\n\n @media (max-width: 1100px) {\n .methods:before {\n display: none; }\n .method-samples, .method-content {\n width: 100%; }\n .method-samples {\n margin-top: 2em; }\n :host {\n padding-bottom: 0; } }\n '],directives:[o,k,m,p,q],detect:!0}),s("design:paramtypes",[e])],t))}}}),a.register("a2",["2","9","73","75","76","77","78","79","a3","7a","a4","a1"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return{setters:[function(a){b=a.Method},function(a){c=a.forwardRef},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a.EncodeURIComponentPipe}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=function(a){function b(a){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return h(b,a),i(b,[{key:"prepareModel",value:function(){this.data={};var a=this.specMgr.buildMenuTree(),b=n(a.entries()).map(function(a){var b=l(a,2),c=b[0],d=b[1],e=d.description,f=d.methods;return f=f||[],f.forEach(function(a){a.tag=c}),{name:c,description:e,methods:f}});this.data.tags=b}}]),b}(e),a("MethodsList",r),a("MethodsList",r=p([d({selector:"methods-list",template:'\n
\n
\n
\n

{{tag.name}}

\n

\n
\n \n
\n
\n ',styles:['\n .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n .sharable-header {\n color: #263238; }\n\n .sharable-header:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n .tag-info {\n padding: 40px;\n box-sizing: border-box;\n background-color: white;\n width: 60%; }\n @media (max-width: 1100px) {\n .tag-info {\n width: 100%; } }\n\n .tag-info:after, .tag-info:before {\n content: "";\n display: table; }\n\n .tag-info h1 {\n color: #0033a0;\n text-transform: capitalize;\n font-weight: normal; }\n\n .methods {\n display: block;\n position: relative; }\n '], +var e=["path","query","formData","header","body"],f={path:"Used together with Path Templating, where the parameter value is actually part\n of the operation's URL. This does not include the host or base path of the API.\n For example, in /items/{itemId}, the path parameter is itemId",query:"Parameters that are appended to the URL.\n For example, in /items?id=###, the query parameter is id",formData:"Parameters that are submitted through a form.\n application/x-www-form-urlencoded, multipart/form-data or both are usually\n used as the content type of the request",header:"Custom headers that are expected as part of the request"},g=[];e.forEach(function(a){c[a]&&c[a].length&&g.push({place:a,placeHint:f[a],params:c[a]})}),this.data.params=g}},{key:"orderParams",value:function(a){var c={};return a.forEach(function(a){return b(c,a["in"],a)}),c}}]),c}(d),a("ParamsList",r),a("ParamsList",r=p([c({selector:"params-list",template:'\n
Parameters
\n \n\n
\n
Request Body
\n\n
\n
\n
\n \n \n
\n
\n ',styles:['\n .param-list-header {\n border-bottom: 1px solid rgba(38, 50, 56, 0.3);\n padding: 0.2em 0;\n margin: 3.5em 0 .8em 0;\n color: rgba(38, 50, 56, 0.5);\n font-weight: normal;\n text-transform: uppercase; }\n\n .param-name {\n font-size: 0.929em;\n padding: 10px 0 10px 0;\n font-weight: 400;\n box-sizing: border-box;\n line-height: 20px;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n white-space: nowrap;\n position: relative;\n vertical-align: top; }\n\n .param-name-wrap {\n padding-right: 25px;\n display: inline-block;\n font-family: Montserrat, sans-serif; }\n\n .param-info {\n padding: 10px 0;\n box-sizing: border-box;\n border-bottom: 1px solid #ccc;\n width: 75%;\n line-height: 1em; }\n\n .param-range {\n color: rgba(0, 51, 160, 0.7);\n position: relative;\n top: 1px;\n padding: 0 4px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n margin-left: 6px; }\n\n .param-description {\n font-size: 13px; }\n\n .param-required {\n color: red;\n font-weight: bold;\n font-size: 12px;\n line-height: 20px;\n vertical-align: middle; }\n\n .param-type {\n color: rgba(38, 50, 56, 0.4);\n font-size: 0.929em;\n line-height: 20px;\n vertical-align: middle;\n font-weight: normal; }\n\n .param-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n\n .param-type.with-hint {\n display: inline-block;\n margin-bottom: 0.4em;\n border-bottom: 1px dotted rgba(38, 50, 56, 0.4);\n padding: 0;\n cursor: help; }\n\n .param-type-trivial {\n margin: 10px 10px 0;\n display: inline-block; }\n\n /* tree */\n .param-name > span:before {\n content: "";\n display: inline-block;\n width: 1px;\n height: 7px;\n background-color: #0033a0;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid rgba(0, 51, 160, 0.5);\n width: 10px;\n left: 0;\n top: 21px; }\n\n .param:first-of-type > .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid white;\n height: 21px; }\n\n .param:last-of-type > .param-name, .param.last > .param-name {\n position: relative; }\n .param:last-of-type > .param-name:after, .param.last > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -2px;\n border-left: 2px solid white;\n top: 22px;\n background-color: white;\n bottom: 0; }\n\n .param-wrap:last-of-type > .param-schema {\n border-left-color: transparent; }\n\n .param-schema .param-wrap:first-of-type .param-name:before {\n display: none !important; }\n\n .param-schema.last > td {\n border-left: 0; }\n\n .param-enum {\n color: #263238;\n font-size: 13px; }\n .param-enum:before {\n content: "Values: {"; }\n .param-enum:after {\n content: "}"; }\n .param-enum > .enum-value:after {\n content: ", "; }\n .param-enum > .enum-value:last-of-type:after {\n content: none; }\n\n header.paramType {\n margin: 10px 0;\n text-transform: capitalize; }\n\n .params-wrap {\n display: table;\n width: 100%; }\n\n .param-name {\n display: table-cell;\n vertical-align: top; }\n\n .param-info {\n display: table-cell;\n width: 100%; }\n\n .param {\n display: table-row; }\n\n .param:last-of-type > .param-name {\n border-left: 0; }\n .param:last-of-type > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n height: 21px;\n background-color: white;\n top: 0; }\n\n .param:first-of-type .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n border-left: 2px solid white;\n height: 20px;\n background-color: white;\n top: 0; }\n\n [data-hint] {\n width: 1.2em;\n text-align: center;\n border-radius: 50%;\n vertical-align: middle;\n color: #999999;\n line-height: 1.2;\n text-transform: none;\n cursor: help;\n border: 1px solid #999999;\n margin-left: 0.5em; }\n\n @media (max-width: 520px) {\n [data-hint] {\n float: right; }\n [data-hint]:after {\n margin-left: 12px;\n transform: translateX(-100%) translateY(-8px);\n -moz-transform: translateX(-100%) translateY(-8px);\n -webkit-transform: translateX(-100%) translateY(-8px); } }\n '],directives:[m,n]}),q("design:paramtypes",[e])],r))}}}),a.register("7d",["9","73","74","75","76","77","78","79","81","82","7a","7e"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;return{setters:[function(a){b=a.Input,c=a.Renderer,d=a.ElementRef,e=a.forwardRef},function(a){f=a.RedocComponent,g=a.BaseComponent,h=a.SpecManager},function(a){i=a.SchemaNormalizer,j=a.SchemaHelper},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.DropDown},function(a){q=a.Zippy},function(a){r=a["default"]},function(a){s=a.JsonSchemaLazy}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=o(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&r(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=void 0,w=v=function(a){function b(a,c,d){n(this,b),k(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this._renderer=c,this._elementRef=d,this.activeDescendant={},this.hasDescendants=!1,this._hasSubSchemas=!1,this["final"]=!1,this.normalizer=new i(a)}return l(b,a),m(b,[{key:"selectDescendant",value:function(a){var b=this.schema._descendants[a];b&&!b.active&&(this.schema._descendants.forEach(function(a){a.active=!1}),b.active=!0,this.activeDescendant=b)}},{key:"initDescendants",value:function(){var a=this;if(this.schema._descendants&&this.schema._descendants.length){this.hasDescendants=!0;var b=this.schema._properties[this.schema._properties.length-1]["enum"];b&&!function(){var c={};b.forEach(function(a,b){c[a.val]=b}),a.schema._descendants.sort(function(a,b){return c[a.name]>c[b.name]?1:-1})}(),this.selectDescendant(0)}}},{key:"prepareModel",value:function(){if(this.nestOdd&&this._renderer.setElementAttribute(this._elementRef.nativeElement,"nestodd","true"),this.schema=this.componentSchema,!this.schema)throw new Error("Can't load component schema at "+this.pointer);this.schema=this.normalizer.normalize(this.schema,this.normPointer),this.schema=j.unwrapArray(this.schema,this.normPointer),j.preprocess(this.schema,this.normPointer,this.pointer),this.schema.isTrivial||j.preprocessProperties(this.schema,this.normPointer,{childFor:this.childFor}),this.properties=this.schema._properties,this._isArray=this.isArray||this.schema._isArray,this.isRequestSchema&&(this.properties=this.properties&&this.properties.filter(function(a){return!a.readOnly})),this.initDescendants(),this._hasSubSchemas=this.properties&&this.properties.some(function(a){return"array"===a.type&&(a=a.items),a&&"object"===a.type&&a._pointer})}},{key:"trackByIdx",value:function(a,b){return a}},{key:"normPointer",get:function(){return this.schema._pointer||this.pointer}}]),b}(g),a("JsonSchema",w),t([b(),u("design:type",Boolean)],w.prototype,"isArray",void 0),t([b(),u("design:type",Boolean)],w.prototype,"final",void 0),t([b(),u("design:type",Boolean)],w.prototype,"nestOdd",void 0),t([b(),u("design:type",String)],w.prototype,"childFor",void 0),t([b(),u("design:type",Boolean)],w.prototype,"isRequestSchema",void 0),a("JsonSchema",w=v=t([f({selector:"json-schema",template:'\n \n file\n
\n Produces: {{ schema._produces | json }}\n
\n
\n Consumes: {{ schema._consumes | json }}\n
\n
\n \n {{schema._displayType}} {{schema._displayFormat}}\n {{schema._range}} \n \n
\n {{enumItem.val | json}} \n
\n
\n \n \n \n \n \n \n
\n
\n \n \n
\n
\n ',styles:['\n .param-name {\n font-size: 0.929em;\n padding: 10px 0 10px 0;\n font-weight: 400;\n box-sizing: border-box;\n line-height: 20px;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n white-space: nowrap;\n position: relative;\n vertical-align: top; }\n\n .param-name-wrap {\n padding-right: 25px;\n display: inline-block;\n font-family: Montserrat, sans-serif; }\n\n .param-info {\n padding: 10px 0;\n box-sizing: border-box;\n border-bottom: 1px solid #ccc;\n width: 75%;\n line-height: 1em; }\n\n .param-range {\n color: rgba(0, 51, 160, 0.7);\n position: relative;\n top: 1px;\n padding: 0 4px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n margin-left: 6px; }\n\n .param-description {\n font-size: 13px; }\n\n .param-required {\n color: red;\n font-weight: bold;\n font-size: 12px;\n line-height: 20px;\n vertical-align: middle; }\n\n .param-type {\n color: rgba(38, 50, 56, 0.4);\n font-size: 0.929em;\n line-height: 20px;\n vertical-align: middle;\n font-weight: normal; }\n\n .param-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n\n .param-type.with-hint {\n display: inline-block;\n margin-bottom: 0.4em;\n border-bottom: 1px dotted rgba(38, 50, 56, 0.4);\n padding: 0;\n cursor: help; }\n\n .param-type-trivial {\n margin: 10px 10px 0;\n display: inline-block; }\n\n /* tree */\n .param-name > span:before {\n content: "";\n display: inline-block;\n width: 1px;\n height: 7px;\n background-color: #0033a0;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid rgba(0, 51, 160, 0.5);\n width: 10px;\n left: 0;\n top: 21px; }\n\n .param:first-of-type > .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid white;\n height: 21px; }\n\n .param:last-of-type > .param-name, .param.last > .param-name {\n position: relative; }\n .param:last-of-type > .param-name:after, .param.last > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -2px;\n border-left: 2px solid white;\n top: 22px;\n background-color: white;\n bottom: 0; }\n\n .param-wrap:last-of-type > .param-schema {\n border-left-color: transparent; }\n\n .param-schema .param-wrap:first-of-type .param-name:before {\n display: none !important; }\n\n .param-schema.last > td {\n border-left: 0; }\n\n .param-enum {\n color: #263238;\n font-size: 13px; }\n .param-enum:before {\n content: "Values: {"; }\n .param-enum:after {\n content: "}"; }\n .param-enum > .enum-value:after {\n content: ", "; }\n .param-enum > .enum-value:last-of-type:after {\n content: none; }\n\n /* styles for array-schema for array */\n :host {\n display: block; }\n\n .param-schema > td {\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n padding: 0 10px; }\n\n .derived-schema {\n display: none; }\n\n .derived-schema.active {\n display: block; }\n\n :host.nested-schema {\n background-color: white;\n padding: 10px 20px;\n position: relative;\n border-radius: 2px; }\n :host.nested-schema:before, :host.nested-schema:after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: transparent;\n border-width: 10px 15px 0;\n margin-left: -7.5px;\n border-top-color: #f0f0f0; }\n :host.nested-schema:before {\n left: 10%; }\n :host.nested-schema:after {\n right: 10%; }\n :host.nested-schema .param:first-of-type > .param-name:before, :host.nested-schema .param:last-of-type > .param-name:after {\n border-color: white; }\n\n :host[nestodd="true"] {\n background-color: #f0f0f0;\n border-radius: 2px; }\n :host[nestodd="true"]:before, :host[nestodd="true"]:after {\n border-top-color: white; }\n :host[nestodd="true"] > .params-wrap > .param:first-of-type > .param-name:before, :host[nestodd="true"] > .params-wrap > .param:last-of-type > .param-name:after {\n border-color: #f0f0f0; }\n :host[nestodd="true"] > .params-wrap > .param:last-of-type > .param-name:after, :host[nestodd="true"] > .params-wrap > .param.last > .param-name:after {\n border-color: #f0f0f0; }\n\n .zippy-content-wrap {\n padding: 0; }\n\n .param.complex.expanded > .param-info {\n border-bottom: 0; }\n\n .param.complex > .param-name .param-name-content {\n font-weight: bold;\n cursor: pointer; }\n\n .param.complex > .param-name svg {\n height: 1.2em;\n vertical-align: middle;\n transition: all 0.3s ease; }\n\n .param.complex.expanded > .param-name svg {\n transform: rotateZ(-180deg); }\n\n .param.additional > .param-name {\n color: rgba(38, 50, 56, 0.4); }\n\n .params-wrap {\n border-collapse: collapse;\n width: 100%; }\n\n .params-wrap.params-array:before, .params-wrap.params-array:after {\n display: block;\n font-weight: 300;\n color: #263238;\n font-size: 13px;\n line-height: 1.5; }\n\n .params-wrap.params-array:after {\n content: "]"; }\n\n .params-wrap.params-array:before {\n content: "Array [";\n padding-top: 1em; }\n\n .params-wrap.params-array {\n padding-left: 10px; }\n\n .param-schema.param-array:before {\n bottom: 9.75px;\n width: 10px;\n border-left-style: dashed;\n border-bottom: 1px dashed rgba(0, 51, 160, 0.5); }\n\n .params-wrap.params-array > .param-wrap:first-of-type > .param > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid white;\n height: 20px; }\n\n .params-wrap > .param > .param-schema.param-array {\n border-left-color: transparent; }\n\n .param.discriminator > .param-info {\n padding-bottom: 0; }\n\n .param.discriminator > .param-name:after {\n display: none; }\n\n .discriminator-info {\n font-weight: 400;\n margin-bottom: 10px; }\n .discriminator-info > span {\n font-size: 0.9em;\n font-weight: 300; }\n\n .discriminator-wrap:not(.empty) > td {\n padding: 0;\n position: relative; }\n .discriminator-wrap:not(.empty) > td:before {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n height: 21px;\n z-index: 1; }\n\n ul {\n text-align: left;\n margin: 0;\n padding: 0;\n display: block; }\n\n li {\n margin: 0.5em 0.3em 0.2em 0;\n font-family: Montserrat, sans-serif;\n font-size: .929em;\n line-height: .929em;\n border: 0;\n color: white;\n padding: 2px 8px 4px 8px;\n border-radius: 2px;\n background-color: rgba(38, 50, 56, 0.3);\n display: inline-block;\n cursor: pointer; }\n li:last-of-type {\n margin-right: 0; }\n li.active {\n background-color: #0033a0; }\n '],directives:[w,p,e(function(){return s}),q],detect:!0}),u("design:paramtypes",[h,c,d])],w))}}}),a.register("7e",["9","77","78","79","83","84","85","7a","6d","7d"],function(a){function b(a,b){b.parentNode.insertBefore(a,b.nextSibling)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.Component,d=a.ElementRef,e=a.ViewContainerRef,f=a.Input,g=a.ComponentResolver,h=a.Renderer},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.OptionsService},function(a){m=a.SpecManager},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.CORE_DIRECTIVES},function(a){q=a.JsonSchema}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&o(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t={},u=function(){function a(b,c,d,e,f,g){j(this,a),this.specMgr=b,this.location=c,this.elementRef=d,this.resolver=e,this.optionsService=f,this._renderer=g,this["final"]=!1,this.loaded=!1}return i(a,[{key:"normalizePointer",value:function(){var a=this.specMgr.byPointer(this.pointer);return a&&a.$ref||this.pointer}},{key:"_loadAfterSelf",value:function(){var a=this;return this.resolver.resolveComponent(q).then(function(b){var c=a.location.parentInjector,d=a.location.createComponent(b,null,c,null);return a.initComponent(d.instance),a._renderer.setElementAttribute(d.location.nativeElement,"class",a.location.element.nativeElement.className),d.changeDetectorRef.detectChanges(),d})["catch"](function(a){throw console.log(a),a})}},{key:"load",value:function(){this.optionsService.options.disableLazySchemas||this.loaded||(this.pointer&&this._loadAfterSelf(),this.loaded=!0)}},{key:"loadCached",value:function(){var a=this;this.pointer=this.normalizePointer(),t[this.pointer]?t[this.pointer].then(function(c){setTimeout(function(){var d=c.location.nativeElement;return c.instance.hasDescendants||c.instance._hasSubSchemas?void a._loadAfterSelf():void b(d.cloneNode(!0),a.elementRef.nativeElement)})}):t[this.pointer]=this._loadAfterSelf()}},{key:"initComponent",value:function(a){n(a,this)}},{key:"ngAfterViewInit",value:function(){return this.optionsService.options.disableLazySchemas?void this._loadAfterSelf():void(this.auto&&this.loadCached())}},{key:"ngOnDestroy",value:function(){t={}}}]),a}(),a("JsonSchemaLazy",u),r([f(),s("design:type",String)],u.prototype,"pointer",void 0),r([f(),s("design:type",Boolean)],u.prototype,"auto",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isRequestSchema",void 0),r([f(),s("design:type",Boolean)],u.prototype,"final",void 0),r([f(),s("design:type",Boolean)],u.prototype,"nestOdd",void 0),r([f(),s("design:type",String)],u.prototype,"childFor",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isArray",void 0),a("JsonSchemaLazy",u=r([c({selector:"json-schema-lazy",template:"",directives:[p]}),s("design:paramtypes",[m,e,d,g,l,h])],u))}}}),a.register("86",["73","74","75","76","77","78","79","80","81","87","88","7a","7d","7e"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a.OptionsService},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a.Zippy},function(a){n=a["default"]},function(a){o=a.statusCodeType},function(a){p=a["default"]},function(a){q=a.JsonSchema},function(a){r=a.JsonSchemaLazy}],execute:function(){"use strict";s=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&p(b,c,g),g},t=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},u=function(a){function c(a,b){j(this,c),g(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,a),this.options=b.options}return h(c,a),i(c,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var c=this.componentSchema;c&&(c=l(c).filter(function(a){return b(a)||"default"===a}).map(function(b){var d=c[b];if(d.pointer=n.join(a.pointer,b),d.$ref){var e=d.$ref;d=a.specMgr.byPointer(d.$ref),d.pointer=e}return d.empty=!d.schema,d.code=b,d.type=o(d.code),!d.headers||d.headers instanceof Array||(d.headers=l(d.headers).map(function(a){var b=d.headers[a];return b.name=a,b}),d.empty=!1),d.extendable=d.headers||d.length,d}),this.data.responses=c)}},{key:"trackByCode",value:function(a,b){return b.code}}]),c}(d),a("ResponsesList",u),a("ResponsesList",u=s([c({selector:"responses-list",template:'\n

Responses

\n \n
\n
\n Headers\n
\n
\n
{{header.name}}
\n
{{header.type}}
\n
Default: {{header.default}}
\n
\n
\n
\n
\n Response Schema\n
\n \n \n
\n ', +styles:["\n .responses-list-header {\n font-size: 18px;\n padding: 0.2em 0;\n margin: 3em 0 1.1em 0;\n color: #253137;\n font-weight: normal; }\n\n :host .zippy-title {\n font-family: Montserrat, sans-serif; }\n\n .header-name {\n font-weight: bold;\n display: inline-block; }\n\n .header-type {\n display: inline-block;\n font-weight: bold;\n color: #999; }\n\n header {\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n margin-bottom: 15px; }\n header:not(:first-child) {\n margin-top: 15px;\n margin-bottom: 0; }\n\n .header {\n margin-bottom: 10px; }\n "],directives:[q,m,r],detect:!0}),t("design:paramtypes",[e,f])],u))}}}),a.register("89",["9","73","75","76","77","78","79","80","81","87","88","7a","8a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}function c(a){return a.examples&&a.examples["application/json"]||a.schema}var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){d=a.forwardRef},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a.statusCodeType},function(a){r=a["default"]},function(a){s=a.SchemaSample}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=l(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&r(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function d(a){k(this,d),h(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,a)}return i(d,a),j(d,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var d=this.componentSchema;d&&(d=m(d).filter(function(a){return b(a)||"default"===a}).map(function(b){var c=d[b];if(c.pointer=p.join(a.pointer,b),c.$ref){var e=c.$ref;c=a.specMgr.byPointer(c.$ref),c.pointer=e}return c.code=b,c.type=q(c.code),c}).filter(function(a){return c(a)}),this.data.responses=d)}}]),d}(f),a("ResponsesSamples",v),a("ResponsesSamples",v=t([e({selector:"responses-samples",template:'\n
Response samples
\n \n \n \n \n \n ',styles:["\n tab, tabs {\n display: block; }\n\n schema-sample {\n display: block; }\n\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: 0.929em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 2px 8px 3px 8px;\n color: #9fb4be;\n line-height: 1.25; }\n :host > tabs > ul li:hover {\n color: #ffffff;\n background-color: rgba(255, 255, 255, 0.1); }\n :host > tabs > ul li.active {\n background-color: white;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n "],directives:[d(function(){return s}),n,o]}),u("design:paramtypes",[g])],v))}}}),a.register("8b",["8c"],function(a){"use strict";function b(a){var b=a.minItems||1;Array.isArray(a.items)&&(b=Math.max(b,a.items.length));var d=function(b){return Array.isArray(a.items)?a.items[b]||{}:a.items||{}},e=[];if(!a.items)return e;for(var f=0;b>f;f++){var g=d(f),h=c(g);e.push(h)}return e}var c;return a("sampleArray",b),{setters:[function(a){c=a.traverse}],execute:function(){}}}),a.register("8d",[],function(a){"use strict";function b(a){return!0}return a("sampleBoolean",b),{setters:[],execute:function(){}}}),a.register("8e",[],function(a){"use strict";function b(a){var b=void 0;return a.maximum&&a.minimum?(b=a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum,(a.exclusiveMaximum&&b>=a.maximum||!a.exclusiveMaximum&&b>a.maximum)&&(b=(a.maximum+a.minimum)/2),b):a.minimum?a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum:a.maximum?a.exclusiveMaximum?a.maximum>0?0:Math.floor(a.maximum)-1:a.maximum>0?0:a.maximum:0}return a("sampleNumber",b),{setters:[],execute:function(){}}}),a.register("8c",["90","8f"],function(a){"use strict";function b(a,b){if(a.allOf&&c(a),a.example)return a.example;if(a["default"])return a["default"];if(a["enum"]&&a["enum"].length)return a["enum"][0];var e=a.type,f=d[e];return f?f(a,b):{}}var c,d;return a("traverse",b),{setters:[function(a){c=a.mergeAllOf},function(a){d=a._samplers}],execute:function(){}}}),a.register("91",["80","8c"],function(a){function b(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],e={};return a&&"object"==typeof a.properties&&c(a.properties).forEach(function(c){b.skipReadOnly&&a.properties[c].readOnly||(e[c]=d(a.properties[c]))}),e}var c,d;return{setters:[function(a){c=a["default"]},function(a){d=a.traverse}],execute:function(){"use strict";a("sampleObject",b)}}}),a.register("92",["93"],function(a){"use strict";function b(){return"user@example.com"}function c(a,b){var c="pa$$word";return a>c.length&&(c+="_",c+=j(l,a-c.length).substring(0,a-c.length)),c}function d(a,b,c){var d=k(new Date,c);if(d.lengthb)throw Erorr("Using maxLength = "+b+' is incorrect with format "date-time"');return d}function e(a,b){return d(a,b)}function f(a,b){return d(a,b,!0)}function g(a,b){var c=j("string",a);return b&&c.length>b&&(c=c.substring(b)),c}function h(){return"192.168.0.1"}function i(a){var b=a.format||"default",c=m[b]||g;return c(0|a.minLength,a.maxLength)}var j,k,l,m;return a("sampleString",i),{setters:[function(a){j=a.ensureMinLength,k=a.toRFCDateTime}],execute:function(){l="qwerty!@#$%^123456",m={email:b,password:c,"date-time":e,date:f,ipv4:h,"default":g}}}}),a.register("94",["91","92","8b","8d","8e"],function(a){"use strict";return{setters:[function(b){var c={};c.sampleObject=b.sampleObject,a(c)},function(b){var c={};c.sampleString=b.sampleString,a(c)},function(b){var c={};c.sampleArray=b.sampleArray,a(c)},function(b){var c={};c.sampleBoolean=b.sampleBoolean,a(c)},function(b){var c={};c.sampleNumber=b.sampleNumber,a(c)}],execute:function(){}}}),a.registerDynamic("95",["96"],!0,function(a,b,c){var d=a("96");return d(d.S,"Math",{trunc:function(a){return(a>0?Math.floor:Math.ceil)(a)}}),c.exports}),a.registerDynamic("97",["95","98"],!0,function(a,b,c){return a("95"),c.exports=a("98").Math.trunc,c.exports}),a.registerDynamic("99",["97"],!0,function(a,b,c){return c.exports={"default":a("97"),__esModule:!0},c.exports}),a.register("93",["80","99"],function(a){function b(a){return 10>a?"0"+a:a}function c(a,c){var d=a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate());return c||(d+="T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())+"."+(a.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"),d}function d(a,b){return b>a.length?a.repeat(g(b/a.length)+1).substring(0,b):a}function e(a,b){for(var c=f(b),d=-1,e=c.length;++d/g,">"):""}function c(a,c){return''+b(a)+""}function d(a){var d=typeof a,g="";return void 0==a?g+=c("null","type-null"):a&&a.constructor===Array?(r++,g+=e(a),r--):"object"===d?(r++,g+=f(a),r--):"number"===d?g+=c(a,"type-number"):"string"===d?g+=/^(http|https):\/\/[^\\s]+$/.test(a)?c('"',"type-string")+''+b(a)+""+c('"',"type-string"):c('"'+a+'"',"type-string"):"boolean"===d&&(g+=c(a,"type-boolean")),g}function e(a){var b,c,e=r>s?"collapsed":"",f='
[
    ',g=!1;for(b=0,c=a.length;c>b;b++)g=!0,f+='
  • ',f+=d(a[b]),c-1>b&&(f+=","),f+="
  • ";return f+="
]",g||(f="[ ]"),f}function f(a){var c,e,f,g=r>s?"collapsed":"",h=l(a),i='
{
    ',j=!1;for(c=0,f=h.length;f>c;c++)e=h[c],j=!0,i+='
  • ',i+=''+b(e)+": ",i+=d(a[e]),f-1>c&&(i+=","),i+="
  • ";return i+="
}",j||(i="{ }"),i}function g(a){r=1;var b="";return b+='
',b+=d(a),b+="
"}var h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){h=a.Pipe},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.isBlank},function(a){o=a.DomSanitizationService}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=1,s=2,t=function(){function a(b){j(this,a),this.sanitizer=b}return i(a,[{key:"transform",value:function(a){return n(a)?a:this.sanitizer.bypassSecurityTrustHtml(g(a))}}]),a}(),a("JsonFormatter",t),a("JsonFormatter",t=p([h({name:"jsonFormatter"}),q("design:paramtypes",[o])],t))}}}),a.register("9e",["9","73","75","76","77","78","79","7a","9b","9c","9f"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return{setters:[function(a){b=a.ElementRef,c=a.Input},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a},function(a){n=a.JsonFormatter},function(a){o=a.SchemaNormalizer}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&l(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=function(a){function b(a,c){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.element=c.nativeElement,this._normalizer=new o(a)}return h(b,a),i(b,[{key:"init",value:function(){this.bindEvents(),this.data={};var a={},b=void 0;if(this.componentSchema.schema&&(a=this.componentSchema,this.componentSchema=this.componentSchema.schema),a.examples&&a.examples["application/json"])b=a.examples["application/json"];else{if(this.componentSchema=this._normalizer.normalize(this.componentSchema,this.pointer),this.fromCache())return;try{b=m.sample(this.componentSchema,{skipReadOnly:this.skipReadOnly})}catch(c){}}this.cache(b),this.data.sample=b}},{key:"cache",value:function(a){this.skipReadOnly?this.componentSchema["x-redoc-ro-sample"]=a:this.componentSchema["x-redoc-rw-sample"]=a}},{key:"fromCache",value:function(){return this.skipReadOnly&&this.componentSchema["x-redoc-ro-sample"]?(this.data.sample=this.componentSchema["x-redoc-ro-sample"],!0):this.componentSchema["x-redoc-rw-sample"]?(this.data.sample=this.componentSchema["x-redoc-rw-sample"],!0):!1}},{key:"bindEvents",value:function(){this.element.addEventListener("click",function(a){var b,c=a.target;"collapser"===a.target.className&&(b=c.parentNode.getElementsByClassName("collapsible")[0],b.parentNode.classList.contains("collapsed")?b.parentNode.classList.remove("collapsed"):b.parentNode.classList.add("collapsed"))})}}]),b}(e),a("SchemaSample",r),p([c(),q("design:type",Boolean)],r.prototype,"skipReadOnly",void 0),a("SchemaSample",r=p([d({selector:"schema-sample",template:'\n
\n \n
 Sample unavailable 
\n
\n          
\n ',pipes:[n],styles:['\n @charset "UTF-8";\n pre {\n background-color: transparent;\n padding: 0; }\n\n :host .type-null {\n color: gray; }\n\n :host .type-boolean {\n color: firebrick; }\n\n :host .type-number {\n color: #4A8BB3; }\n\n :host .type-string {\n color: #66B16E; }\n\n :host .callback-function {\n color: gray; }\n\n :host .collapser:after {\n content: "-";\n cursor: pointer; }\n\n :host .collapsed > .collapser:after {\n content: "+";\n cursor: pointer; }\n\n :host .ellipsis:after {\n content: " … "; }\n\n :host .collapsible {\n margin-left: 2em; }\n\n :host .hoverable {\n padding-top: 1px;\n padding-bottom: 1px;\n padding-left: 2px;\n padding-right: 2px;\n border-radius: 2px; }\n\n :host .hovered {\n background-color: #ebeef9; }\n\n :host .collapser {\n padding-right: 6px;\n padding-left: 6px; }\n\n :host .redoc-json {\n overflow-x: auto;\n padding: 20px;\n border-radius: 4px;\n background-color: #222d32;\n margin-bottom: 36px; }\n\n :host ul, :host .redoc-json ul {\n list-style-type: none;\n padding: 0px;\n margin: 0px 0px 0px 26px; }\n\n :host li {\n position: relative; }\n\n :host .hoverable {\n transition: background-color .2s ease-out 0s;\n -webkit-transition: background-color .2s ease-out 0s;\n display: inline-block; }\n\n :host .hovered {\n transition-delay: .2s;\n -webkit-transition-delay: .2s; }\n\n :host .selected {\n outline-style: solid;\n outline-width: 1px;\n outline-style: dotted; }\n\n :host .collapsed > .collapsible {\n display: none; }\n\n :host .ellipsis {\n display: none; }\n\n :host .collapsed > .ellipsis {\n display: inherit; }\n\n :host .collapser {\n position: absolute;\n top: 1px;\n left: -1.5em;\n cursor: default;\n user-select: none;\n -webkit-user-select: none; }\n ']}),q("design:paramtypes",[f,b])],r))}}}),a.register("a0",["9","73","74","75","76","77","78","79","81","87","7a","9e","a1"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){b=a.ViewChildren,c=a.QueryList,d=a.Input},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a.RedocEventsService},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.SchemaSample},function(a){s=a.PrismPipe}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=m(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function b(a,c){l(this,b),i(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.events=c,this.selectedLang=this.events.samplesLanguageChanged}return j(b,a),k(b,[{key:"changeLangNotify",value:function(a){this.events.samplesLanguageChanged.next(a)}},{key:"prepareModel",value:function(){this.data={},this.data.schemaPointer=p.join(this.schemaPointer,"schema"),this.data.samples=this.componentSchema["x-code-samples"]||[]}}]),b}(f),a("RequestSamples",v),t([d(),u("design:type",String)],v.prototype,"schemaPointer",void 0),t([b(n),u("design:type",c)],v.prototype,"childQuery",void 0),a("RequestSamples",v=t([e({selector:"request-samples",template:'\n
Request samples
\n \n \n \n \n \n \n
\n            
\n
\n ',styles:["\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: .9em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 3px 10px 2px 10px;\n line-height: 1.25;\n color: #9fb4be; }\n :host > tabs > ul li:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #ffffff; }\n :host > tabs > ul li.active {\n background-color: #ffffff;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n\n pre {\n overflow-x: auto;\n word-break: break-all;\n word-wrap: break-word;\n white-space: pre-wrap; }\n "],directives:[r,n,o],inputs:["schemaPointer"],pipes:[s],detect:!0,onPushOnly:!1}),u("design:paramtypes",[g,h])],v))}}}),a.register("2",["9","73","75","76","77","78","79","86","87","89","7a","7c","9e","a0"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){b=a.Input},function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.ResponsesList},function(a){l=a["default"]},function(a){m=a.ResponsesSamples},function(a){n=a["default"]},function(a){o=a.ParamsList},function(a){p=a.SchemaSample},function(a){q=a.RequestSamples}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&n(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t=function(a){function b(a){i(this,b),f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return g(b,a),h(b,[{key:"prepareModel",value:function(){this.data={},this.data.apiUrl=this.specMgr.apiUrl,this.data.httpMethod=l.baseName(this.pointer),this.data.path=l.baseName(this.pointer,2),this.data.methodInfo=this.componentSchema,this.data.methodInfo.tags=this.filterMainTags(this.data.methodInfo.tags),this.data.bodyParam=this.findBodyParam(),this.componentSchema.operationId?this.data.methodAnchor="operation/"+encodeURIComponent(this.componentSchema.operationId):this.data.methodAnchor="tag/"+encodeURIComponent(this.tag+this.pointer)}},{key:"filterMainTags",value:function(a){var b=this.specMgr.getTagsMap();return a?a.filter(function(a){return b[a]&&b[a]["x-traitTag"]}):[]}},{key:"findBodyParam",value:function(){var a=this.specMgr.getMethodParams(this.pointer,!0),b=a.find(function(a){return"body"===a["in"]});return b}}]),b}(d),a("Method",t),r([b(),s("design:type",String)],t.prototype,"tag",void 0),a("Method",t=r([c({selector:"method",template:'\n
\n
\n

\n {{data.methodInfo.summary}}\n

\n \n

\n

\n \n \n
\n
\n
Definition
\n \n
{{data.httpMethod}}
\n {{data.apiUrl}}{{data.path}}\n
\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n ',styles:['\n .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n .sharable-header {\n color: #263238; }\n\n .sharable-header:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n :host {\n padding-bottom: 100px;\n display: block;\n border-bottom: 1px solid rgba(127, 127, 127, 0.25); }\n\n responses-list, params-list {\n display: block; }\n\n .method-header {\n margin-bottom: .9em; }\n\n .method-endpoint {\n margin: 0 0 2em 0;\n padding: 10px 20px;\n border-radius: 4px;\n background-color: #222d32;\n display: block;\n font-weight: 300;\n white-space: nowrap;\n overflow-x: auto; }\n\n .method-endpoint > h5 {\n padding-top: 1px;\n padding-bottom: 0;\n margin: 0;\n font-size: .8em;\n color: #263238;\n vertical-align: middle;\n display: inline-block;\n border-radius: 2px; }\n\n .api-url {\n color: rgba(255, 255, 255, 0.8);\n margin-left: 10px;\n margin-top: 2px;\n position: relative;\n top: 1px;\n font-family: Montserrat, sans-serif;\n font-size: 0.929em !important; }\n\n .path {\n font-family: Montserrat, sans-serif;\n position: relative;\n top: 1px;\n color: #ffffff;\n font-size: 0.929em !important; }\n\n .method-tags {\n margin-top: 20px; }\n\n .method-tags a {\n font-size: 16px;\n color: #999;\n display: inline-block;\n padding: 0 0.5em;\n text-decoration: none; }\n\n .method-tags a:before {\n content: \'#\';\n margin-right: -0.4em; }\n\n .method-tags a:first-of-type {\n padding: 0; }\n\n .method-content, .method-samples {\n display: block;\n box-sizing: border-box;\n float: left; }\n\n .method-content {\n width: 60%;\n padding: 40px; }\n\n .method-samples {\n color: #fafbfc;\n width: 40%;\n padding: 40px;\n background: #263238; }\n\n responses-samples {\n display: block; }\n\n .method-samples header,\n .method-samples > h5 {\n color: #9fb4be;\n text-transform: uppercase; }\n\n .method-samples > h5 {\n margin-bottom: 8px; }\n\n .method-samples schema-sample {\n display: block; }\n\n .method:after {\n content: "";\n display: table;\n clear: both; }\n\n .method-description {\n padding: 6px 0 10px 0;\n margin: 0; }\n\n .http-method {\n color: #263238;\n background: #ffffff;\n padding: 3px 10px;\n text-transform: uppercase; }\n\n @media (max-width: 1100px) {\n .methods:before {\n display: none; }\n .method-samples, .method-content {\n width: 100%; }\n .method-samples {\n margin-top: 2em; }\n :host {\n padding-bottom: 0; } }\n '],directives:[o,k,m,p,q],detect:!0}),s("design:paramtypes",[e])],t))}}}),a.register("a2",["2","9","73","75","76","77","78","79","a3","7a","a4","a1"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return{setters:[function(a){b=a.Method},function(a){c=a.forwardRef},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a.EncodeURIComponentPipe}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=function(a){function b(a){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return h(b,a),i(b,[{key:"prepareModel",value:function(){this.data={};var a=this.specMgr.buildMenuTree(),b=n(a.entries()).map(function(a){var b=l(a,2),c=b[0],d=b[1],e=d.description,f=d.methods;return f=f||[],f.forEach(function(a){a.tag=c}),{name:c,description:e,methods:f}});this.data.tags=b}},{key:"trackByPointer",value:function(a,b){return b.pointer}}]),b}(e),a("MethodsList",r),a("MethodsList",r=p([d({selector:"methods-list",template:'\n
\n
\n
\n

{{tag.name}}

\n

\n
\n \n
\n
\n ',styles:['\n .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n .sharable-header {\n color: #263238; }\n\n .sharable-header:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n .tag-info {\n padding: 40px;\n box-sizing: border-box;\n background-color: white;\n width: 60%; }\n @media (max-width: 1100px) {\n .tag-info {\n width: 100%; } }\n\n .tag-info:after, .tag-info:before {\n content: "";\n display: table; }\n\n .tag-info h1 {\n color: #0033a0;\n text-transform: capitalize;\n font-weight: normal; }\n\n .methods {\n display: block;\n position: relative; }\n '], directives:[c(function(){return b})],pipes:[o],detect:!0}),q("design:paramtypes",[f])],r))}}}),a.registerDynamic("75",["79"],!0,function(a,b,c){"use strict";var d=a("79")["default"];return b["default"]=function(a,b,c){for(var e=!0;e;){var f=a,g=b,h=c;e=!1,null===f&&(f=Function.prototype);var i=d(f,g);if(void 0!==i){if("value"in i)return i.value;var j=i.get;if(void 0===j)return;return j.call(h)}var k=Object.getPrototypeOf(f);if(null===k)return;a=k,b=g,c=h,e=!0,i=k=void 0}},b.__esModule=!0,c.exports}),a.registerDynamic("a5",["a6"],!0,function(a,b,c){var d=a("a6");return c.exports=function(a,b){return d.create(a,b)},c.exports}),a.registerDynamic("a7",["a5"],!0,function(a,b,c){return c.exports={"default":a("a5"),__esModule:!0},c.exports}),a.registerDynamic("a8",["96","a9"],!0,function(a,b,c){var d=a("96");return d(d.S,"Object",{setPrototypeOf:a("a9").set}),c.exports}),a.registerDynamic("aa",["a8","98"],!0,function(a,b,c){return a("a8"),c.exports=a("98").Object.setPrototypeOf,c.exports}),a.registerDynamic("ab",["aa"],!0,function(a,b,c){return c.exports={"default":a("aa"),__esModule:!0},c.exports}),a.registerDynamic("76",["a7","ab"],!0,function(a,b,c){"use strict";var d=a("a7")["default"],e=a("ab")["default"];return b["default"]=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=d(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(e?e(a,b):a.__proto__=b)},b.__esModule=!0,c.exports}),a.registerDynamic("ac",["ad"],!0,function(a,b,c){"use strict";var d=a("ad"),e=function(){function a(){}return a.prototype.getTitle=function(){return d.getDOM().getTitle()},a.prototype.setTitle=function(a){d.getDOM().setTitle(a)},a}();return b.Title=e,c.exports}),a.registerDynamic("ae",[],!0,function(a,b,c){"use strict";var d="undefined"!=typeof window&&window||{};return b.window=d,b.document=d.document,b.location=d.location,b.gc=d.gc?function(){return d.gc()}:function(){return null},b.performance=d.performance?d.performance:null,b.Event=d.Event,b.MouseEvent=d.MouseEvent,b.KeyboardEvent=d.KeyboardEvent,b.EventTarget=d.EventTarget,b.History=d.History,b.Location=d.Location,b.EventListener=d.EventListener,c.exports}),a.registerDynamic("af",["9","ad","ae","b0"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("ad"),f=a("ae"),g=a("b0"),h=function(){function a(a,b){this.msPerTick=a,this.numTicks=b}return a}();b.ChangeDetectionPerfRecord=h;var i=function(){function a(a){this.profiler=new j(a)}return a}();b.AngularTools=i;var j=function(){function a(a){this.appRef=a.injector.get(d.ApplicationRef)}return a.prototype.timeChangeDetection=function(a){var b=g.isPresent(a)&&a.record,c="Change Detection",d=g.isPresent(f.window.console.profile);b&&d&&f.window.console.profile(c);for(var i=e.getDOM().performanceNow(),j=0;5>j||e.getDOM().performanceNow()-i<500;)this.appRef.tick(),j++;var k=e.getDOM().performanceNow();b&&d&&f.window.console.profileEnd(c);var l=(k-i)/j;return f.window.console.log("ran "+j+" change detection cycles"),f.window.console.log(g.NumberWrapper.toFixed(l,2)+" ms per check"),new h(l,j)},a}();return b.AngularProfiler=j,c.exports}),a.registerDynamic("b1",["b0","af"],!0,function(a,b,c){"use strict";function d(a){return h.ng=new g.AngularTools(a),a}function e(){delete h.ng}var f=a("b0"),g=a("af"),h=f.global;return b.enableDebugTools=d,b.disableDebugTools=e,c.exports}),a.registerDynamic("b2",["ad","b0"],!0,function(a,b,c){"use strict";var d=a("ad"),e=a("b0"),f=function(){function a(){}return a.all=function(){return function(a){return!0}},a.css=function(a){return function(b){return e.isPresent(b.nativeElement)?d.getDOM().elementMatches(b.nativeElement,a):!1}},a.directive=function(a){return function(b){return-1!==b.providerTokens.indexOf(a)}},a}();return b.By=f,c.exports}),a.registerDynamic("b3",["6d","9","b4","b5","b6","b0","b7","b8","b9","ba","bb","bc"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("6d"),f=a("9"),g=a("b4"),h=a("b5"),i=a("b6"),j=a("b0"),k=a("b7"),l=a("b8"),m=a("b9"),n=a("ba"),o=a("bb"),p=a("bc"),q=function(a){function b(b,c,d){var e=this;a.call(this),this._serializer=d,this._popStateListeners=[],this._hashChangeListeners=[],this._location=null,this._broker=b.createMessageBroker(m.ROUTER_CHANNEL),this._channelSource=c.from(m.ROUTER_CHANNEL),g.ObservableWrapper.subscribe(this._channelSource,function(a){var b=null;if(h.StringMapWrapper.contains(a,"event")){var c=a.event.type;if(j.StringWrapper.equals(c,"popstate")?b=e._popStateListeners:j.StringWrapper.equals(c,"hashchange")&&(b=e._hashChangeListeners),null!==b){var d=p.deserializeGenericEvent(a.event);e._location=e._serializer.deserialize(a.location,n.LocationType),b.forEach(function(a){return a(d)})}}})}return d(b,a),b.prototype.init=function(){var a=this,b=new k.UiArguments("getLocation"),c=this._broker.runOnService(b,n.LocationType);return g.PromiseWrapper.then(c,function(b){return a._location=b,!0},function(a){throw new i.BaseException(a)})},b.prototype.getBaseHrefFromDOM=function(){throw new i.BaseException("Attempt to get base href from DOM from WebWorker. You must either provide a value for the APP_BASE_HREF token through DI or use the hash location strategy.")},b.prototype.onPopState=function(a){this._popStateListeners.push(a)},b.prototype.onHashChange=function(a){this._hashChangeListeners.push(a)},Object.defineProperty(b.prototype,"pathname",{get:function(){return null===this._location?null:this._location.pathname},set:function(a){if(null===this._location)throw new i.BaseException("Attempt to set pathname before value is obtained from UI");this._location.pathname=a;var b=[new k.FnArg(a,o.PRIMITIVE)],c=new k.UiArguments("setPathname",b);this._broker.runOnService(c,null)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"search",{get:function(){return null===this._location?null:this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hash",{get:function(){return null===this._location?null:this._location.hash},enumerable:!0,configurable:!0}),b.prototype.pushState=function(a,b,c){var d=[new k.FnArg(a,o.PRIMITIVE),new k.FnArg(b,o.PRIMITIVE),new k.FnArg(c,o.PRIMITIVE)],e=new k.UiArguments("pushState",d);this._broker.runOnService(e,null)},b.prototype.replaceState=function(a,b,c){var d=[new k.FnArg(a,o.PRIMITIVE),new k.FnArg(b,o.PRIMITIVE),new k.FnArg(c,o.PRIMITIVE)],e=new k.UiArguments("replaceState",d);this._broker.runOnService(e,null)},b.prototype.forward=function(){var a=new k.UiArguments("forward");this._broker.runOnService(a,null)},b.prototype.back=function(){var a=new k.UiArguments("back");this._broker.runOnService(a,null)},b.decorators=[{type:f.Injectable}],b.ctorParameters=[{type:k.ClientMessageBrokerFactory},{type:l.MessageBus},{type:o.Serializer}],b}(e.PlatformLocation);return b.WebWorkerPlatformLocation=q,c.exports}),a.registerDynamic("bd",["6d","9","b3"],!0,function(a,b,c){"use strict";function d(a,b){return function(){return b.runGuarded(function(){return a.init()})}}var e=a("6d"),f=a("9"),g=a("b3");return b.WORKER_APP_LOCATION_PROVIDERS=[{provide:e.PlatformLocation,useClass:g.WebWorkerPlatformLocation},{provide:f.APP_INITIALIZER,useFactory:d,multi:!0,deps:[e.PlatformLocation,f.NgZone]}],c.exports}),a.registerDynamic("be",["9","bf","b4","b0","b8","b9","ba","bb","c0"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("bf"),f=a("b4"),g=a("b0"),h=a("b8"),i=a("b9"),j=a("ba"),k=a("bb"),l=a("c0"),m=function(){function a(a,b,c,d){this._brokerFactory=a,this._platformLocation=b,this._serializer=d,this._platformLocation.onPopState(g.FunctionWrapper.bind(this._sendUrlChangeEvent,this)),this._platformLocation.onHashChange(g.FunctionWrapper.bind(this._sendUrlChangeEvent,this)),this._broker=this._brokerFactory.createMessageBroker(i.ROUTER_CHANNEL),this._channelSink=c.to(i.ROUTER_CHANNEL)}return a.prototype.start=function(){this._broker.registerMethod("getLocation",null,g.FunctionWrapper.bind(this._getLocation,this),j.LocationType),this._broker.registerMethod("setPathname",[k.PRIMITIVE],g.FunctionWrapper.bind(this._setPathname,this)),this._broker.registerMethod("pushState",[k.PRIMITIVE,k.PRIMITIVE,k.PRIMITIVE],g.FunctionWrapper.bind(this._platformLocation.pushState,this._platformLocation)),this._broker.registerMethod("replaceState",[k.PRIMITIVE,k.PRIMITIVE,k.PRIMITIVE],g.FunctionWrapper.bind(this._platformLocation.replaceState,this._platformLocation)),this._broker.registerMethod("forward",null,g.FunctionWrapper.bind(this._platformLocation.forward,this._platformLocation)),this._broker.registerMethod("back",null,g.FunctionWrapper.bind(this._platformLocation.back,this._platformLocation))},a.prototype._getLocation=function(){return f.PromiseWrapper.resolve(this._platformLocation.location)},a.prototype._sendUrlChangeEvent=function(a){var b=this._serializer.serialize(this._platformLocation.location,j.LocationType),c={type:a.type};f.ObservableWrapper.callEmit(this._channelSink,{event:c,location:b})},a.prototype._setPathname=function(a){this._platformLocation.pathname=a},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:l.ServiceMessageBrokerFactory},{type:e.BrowserPlatformLocation},{type:h.MessageBus},{type:k.Serializer}],a}();return b.MessageBasedPlatformLocation=m,c.exports}),a.registerDynamic("c1",["9","bf","be"],!0,function(a,b,c){"use strict";function d(a){return function(){var b=a.get(e.NgZone);b.runGuarded(function(){return a.get(g.MessageBasedPlatformLocation).start()})}}var e=a("9"),f=a("bf"),g=a("be");return b.WORKER_UI_LOCATION_PROVIDERS=[g.MessageBasedPlatformLocation,f.BrowserPlatformLocation,{provide:e.APP_INITIALIZER,useFactory:d,multi:!0,deps:[e.Injector]}],c.exports}),a.registerDynamic("c2",["b5","b0"],!0,function(a,b,c){"use strict";function d(a){return j(a,p)}function e(a){var b=j(a,p);return i(a,b)}function f(a){return j(a,m)}function g(a){var b=j(a,n);return i(a,b)}function h(a){var b=j(a,o);return i(a,b)}function i(a,b){if(q.has(a.target.tagName.toLowerCase())){var c=a.target;b.target={value:c.value},l.isPresent(c.files)&&(b.target.files=c.files)}return b}function j(a,b){for(var c={},d=0;d=p&&q>=c||c==r))return a.substring(b,a.length)}return""}function g(a){switch(a){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}function h(a,b){return l.getDOM().getComputedStyle(a)[b]}var i=a("9"),j=a("b5"),k=a("b0"),l=a("ad"),m=a("d6"),n=a("d4"),o=function(){function a(){}return a.prototype.animate=function(a,b,c,e,f,g){var h=a,i=[],j={};if(k.isPresent(b)&&b.styles.length>0&&(j=d(h,b,{}),j.offset=0,i.push(j)),c.forEach(function(a){var b=d(h,a.styles,j);b.offset=a.offset,i.push(b)}),1==i.length){var l=i[0];l.offset=null,i=[l,l]}var m={duration:e,delay:f,fill:"both"},o=this._triggerWebAnimation(h,i,m);return new n.WebAnimationsPlayer(o,e)},a.prototype._triggerWebAnimation=function(a,b,c){return a.animate(b,c)},a}();b.WebAnimationsDriver=o;var p=48,q=57,r=46;return c.exports}),a.registerDynamic("d7",[],!0,function(a,b,c){"use strict";function d(){return!!window.history.pushState}return b.supportsState=d,c.exports}),a.registerDynamic("bf",["6d","9","ad","d7"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("6d"),f=a("9"),g=a("ad"),h=a("d7"),i=function(a){function b(){a.call(this),this._init()}return d(b,a),b.prototype._init=function(){this._location=g.getDOM().getLocation(),this._history=g.getDOM().getHistory()},Object.defineProperty(b.prototype,"location",{get:function(){return this._location},enumerable:!0,configurable:!0}),b.prototype.getBaseHrefFromDOM=function(){return g.getDOM().getBaseHref()},b.prototype.onPopState=function(a){g.getDOM().getGlobalEventTarget("window").addEventListener("popstate",a,!1)},b.prototype.onHashChange=function(a){g.getDOM().getGlobalEventTarget("window").addEventListener("hashchange",a,!1)},Object.defineProperty(b.prototype,"pathname",{get:function(){return this._location.pathname},set:function(a){this._location.pathname=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"search",{get:function(){return this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hash",{get:function(){return this._location.hash},enumerable:!0,configurable:!0}),b.prototype.pushState=function(a,b,c){h.supportsState()?this._history.pushState(a,b,c):this._location.hash=c},b.prototype.replaceState=function(a,b,c){h.supportsState()?this._history.replaceState(a,b,c):this._location.hash=c},b.prototype.forward=function(){this._history.forward()},b.prototype.back=function(){this._history.back()},b.decorators=[{type:f.Injectable}],b.ctorParameters=[],b}(e.PlatformLocation);return b.BrowserPlatformLocation=i,c.exports}),a.registerDynamic("ca",["9","ad","b5","b0"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("ad"),f=a("b5"),g=a("b0"),h=function(){function a(a){this._testability=a}return a.prototype.isStable=function(){return this._testability.isStable()},a.prototype.whenStable=function(a){this._testability.whenStable(a)},a.prototype.findBindings=function(a,b,c){return this.findProviders(a,b,c)},a.prototype.findProviders=function(a,b,c){return this._testability.findBindings(a,b,c)},a}(),i=function(){function a(){}return a.init=function(){d.setTestabilityGetter(new a)},a.prototype.addToWindow=function(a){g.global.getAngularTestability=function(b,c){void 0===c&&(c=!0);var d=a.findTestabilityInTree(b,c);if(null==d)throw new Error("Could not find testability for element.");return new h(d)},g.global.getAllAngularTestabilities=function(){var b=a.getAllTestabilities();return b.map(function(a){return new h(a)})},g.global.getAllAngularRootElements=function(){return a.getAllRootElements()};var b=function(a){var b=g.global.getAllAngularTestabilities(),c=b.length,d=!1,e=function(b){d=d||b,c--,0==c&&a(d)};b.forEach(function(a){a.whenStable(e)})};g.global.frameworkStabilizers||(g.global.frameworkStabilizers=f.ListWrapper.createGrowableSize(0)),g.global.frameworkStabilizers.push(b)},a.prototype.findTestabilityInTree=function(a,b,c){if(null==b)return null;var d=a.getTestability(b);return g.isPresent(d)?d:c?e.getDOM().isShadowRoot(b)?this.findTestabilityInTree(a,e.getDOM().getHost(b),!0):this.findTestabilityInTree(a,e.getDOM().parentElement(b),!0):null},a}();return b.BrowserGetTestability=i,c.exports}),a.registerDynamic("d8",["9","c7","ad","cb"],!0,function(a,b,c){"use strict";function d(a){return g.getDebugNode(a)}function e(a){return g.isDevMode()?f(a):a}function f(a){return i.getDOM().setGlobalVar(l,d),i.getDOM().setGlobalVar(m,k),new h.DebugDomRootRenderer(a)}var g=a("9"),h=a("c7"),i=a("ad"),j=a("cb"),k={ApplicationRef:g.ApplicationRef,NgZone:g.NgZone},l="ng.probe",m="ng.coreTokens";return b.inspectNativeElement=d,b.ELEMENT_PROBE_PROVIDERS=[{provide:g.RootRenderer,useFactory:e,deps:[j.DomRootRenderer]}],b.ELEMENT_PROBE_PROVIDERS_PROD_MODE=[{provide:g.RootRenderer,useFactory:f,deps:[j.DomRootRenderer]}],c.exports}),a.registerDynamic("cd",["9","ad","ce"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("ad"),g=a("ce"),h=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.supports=function(a){return!0},b.prototype.addEventListener=function(a,b,c){var d=this.manager.getZone(),e=function(a){return d.runGuarded(function(){return c(a)})};return this.manager.getZone().runOutsideAngular(function(){return f.getDOM().onAndCancel(a,b,e)})},b.prototype.addGlobalEventListener=function(a,b,c){var d=f.getDOM().getGlobalEventTarget(a),e=this.manager.getZone(),g=function(a){return e.runGuarded(function(){return c(a)})};return this.manager.getZone().runOutsideAngular(function(){return f.getDOM().onAndCancel(d,b,g)})},b.decorators=[{type:e.Injectable}],b}(g.EventManagerPlugin);return b.DomEventsPlugin=h,c.exports}),a.registerDynamic("d9",["b5","ce"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b5"),f=a("ce"),g={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},h=function(a){function b(){a.call(this)}return d(b,a),b.prototype.supports=function(a){return a=a.toLowerCase(),e.StringMapWrapper.contains(g,a)},b}(f.EventManagerPlugin);return b.HammerGesturesPluginCommon=h,c.exports}),a.registerDynamic("cf",["9","b6","b0","d9"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b6"),g=a("b0"),h=a("d9");b.HAMMER_GESTURE_CONFIG=new e.OpaqueToken("HammerGestureConfig");var i=function(){function a(){this.events=[],this.overrides={}}return a.prototype.buildHammer=function(a){var b=new Hammer(a);b.get("pinch").set({enable:!0}),b.get("rotate").set({enable:!0});for(var c in this.overrides)b.get(c).set(this.overrides[c]);return b},a.decorators=[{type:e.Injectable}],a}();b.HammerGestureConfig=i;var j=function(a){function c(b){a.call(this),this._config=b}return d(c,a),c.prototype.supports=function(b){if(!a.prototype.supports.call(this,b)&&!this.isCustomEvent(b))return!1;if(!g.isPresent(window.Hammer))throw new f.BaseException("Hammer.js is not loaded, can not bind "+b+" event");return!0},c.prototype.addEventListener=function(a,b,c){var d=this,e=this.manager.getZone();return b=b.toLowerCase(),e.runOutsideAngular(function(){var f=d._config.buildHammer(a),g=function(a){e.runGuarded(function(){c(a)})};return f.on(b,g),function(){f.off(b,g)}})},c.prototype.isCustomEvent=function(a){return this._config.events.indexOf(a)>-1},c.decorators=[{type:e.Injectable}],c.ctorParameters=[{type:i,decorators:[{type:e.Inject,args:[b.HAMMER_GESTURE_CONFIG]}]}],c}(h.HammerGesturesPluginCommon);return b.HammerGesturesPlugin=j,c.exports}),a.registerDynamic("d0",["9","b0","b5","ad","ce","45"],!0,function(a,b,c){return function(c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]); a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b0"),g=a("b5"),h=a("ad"),i=a("ce"),j=["alt","control","meta","shift"],k={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},l=function(a){function b(){a.call(this)}return d(b,a),b.prototype.supports=function(a){return f.isPresent(b.parseEventName(a))},b.prototype.addEventListener=function(a,c,d){var e=b.parseEventName(c),f=b.eventCallback(a,g.StringMapWrapper.get(e,"fullKey"),d,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return h.getDOM().onAndCancel(a,g.StringMapWrapper.get(e,"domEventName"),f)})},b.parseEventName=function(a){var c=a.toLowerCase().split("."),d=c.shift();if(0===c.length||!f.StringWrapper.equals(d,"keydown")&&!f.StringWrapper.equals(d,"keyup"))return null;var e=b._normalizeKey(c.pop()),h="";if(j.forEach(function(a){g.ListWrapper.contains(c,a)&&(g.ListWrapper.remove(c,a),h+=a+".")}),h+=e,0!=c.length||0===e.length)return null;var i=g.StringMapWrapper.create();return g.StringMapWrapper.set(i,"domEventName",d),g.StringMapWrapper.set(i,"fullKey",h),i},b.getEventFullKey=function(a){var b="",c=h.getDOM().getEventKey(a);return c=c.toLowerCase(),f.StringWrapper.equals(c," ")?c="space":f.StringWrapper.equals(c,".")&&(c="dot"),j.forEach(function(d){if(d!=c){var e=g.StringMapWrapper.get(k,d);e(a)&&(b+=d+".")}}),b+=c},b.eventCallback=function(a,c,d,e){return function(a){f.StringWrapper.equals(b.getEventFullKey(a),c)&&e.runGuarded(function(){return d(a)})}},b._normalizeKey=function(a){switch(a){case"esc":return"escape";default:return a}},b.decorators=[{type:e.Injectable}],b.ctorParameters=[],b}(i.EventManagerPlugin);b.KeyEventsPlugin=l}(a("45")),c.exports}),a.registerDynamic("da",["9","ad","db"],!0,function(a,b,c){"use strict";function d(){if(m)return m;n=k.getDOM();var a=n.createElement("template");if("content"in a)return a;var b=n.createHtmlDocument();if(m=n.querySelector(b,"body"),null==m){var c=n.createElement("html",b);m=n.createElement("body",b),n.appendChild(c,m),n.appendChild(b,c)}return m}function e(a){for(var b={},c=0,d=a.split(",");c/g,">")}function h(a){n.attributeMap(a).forEach(function(b,c){"xmlns:ns1"!==c&&0!==c.indexOf("ns1:")||n.removeAttribute(a,c)});for(var b=0,c=n.childNodesAsList(a);b"))},a.prototype.endElement=function(a){a=a.toLowerCase(),u.hasOwnProperty(a)&&!o.hasOwnProperty(a)&&(this.buf.push(""))},a.prototype.chars=function(a){this.buf.push(g(a))},a}(),z=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,A=/([^\#-~ |!])/g;return b.sanitizeHtml=i,c.exports}),a.registerDynamic("dc",["9","ad","db"],!0,function(a,b,c){"use strict";function d(a){for(var b=!0,c=!0,d=0;d0&&(this._sendMessages(this._messageBuffer),this._messageBuffer=[])},a.prototype._sendMessages=function(a){this._postMessageTarget.postMessage(a)},a}();b.PostMessageBusSink=h;var i=function(){function a(a){var b=this;if(this._channels=f.StringMapWrapper.create(),a)a.addEventListener("message",function(a){return b._handleMessages(a)});else{var c=self;c.addEventListener("message",function(a){return b._handleMessages(a)})}}return a.prototype.attachToZone=function(a){this._zone=a},a.prototype.initChannel=function(a,b){if(void 0===b&&(b=!0),f.StringMapWrapper.contains(this._channels,a))throw new g.BaseException(a+" has already been initialized");var c=new e.EventEmitter(!1),d=new k(c,b);this._channels[a]=d},a.prototype.from=function(a){if(f.StringMapWrapper.contains(this._channels,a))return this._channels[a].emitter;throw new g.BaseException(a+" is not set up. Did you forget to call initChannel?")},a.prototype._handleMessages=function(a){for(var b=a.data,c=0;ck;k++){var l=f[k];j[k]=e._serializer.deserialize(l,b[k])}var m=h.FunctionWrapper.apply(c,j);h.isPresent(d)&&h.isPresent(m)&&e._wrapWebWorkerPromise(a.id,m,d)})},b.prototype._handleMessage=function(a){var b=new o(a);this._methods.has(b.method)&&this._methods.get(b.method)(b)},b.prototype._wrapWebWorkerPromise=function(a,b,c){var d=this;f.PromiseWrapper.then(b,function(b){f.ObservableWrapper.callEmit(d._sink,{type:"result",value:d._serializer.serialize(b,c),id:a})})},b}(m);b.ServiceMessageBroker_=n;var o=function(){function a(a){this.method=a.method,this.args=a.args,this.id=a.id,this.type=a.type}return a}();return b.ReceivedMessage=o,c.exports}),a.registerDynamic("de",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("b4",["b","c","d","b0","f","de"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("b0"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("de");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("b7",["9","b4","b5","b0","b8","bb"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b4"),g=a("b5"),h=a("b0"),i=a("b8"),j=a("bb"),k=function(){function a(){}return a}();b.ClientMessageBrokerFactory=k;var l=function(a){function b(b,c){a.call(this),this._messageBus=b,this._serializer=c}return d(b,a),b.prototype.createMessageBroker=function(a,b){return void 0===b&&(b=!0),this._messageBus.initChannel(a,b),new n(this._messageBus,this._serializer,a)},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:i.MessageBus},{type:j.Serializer}],b}(k);b.ClientMessageBrokerFactory_=l;var m=function(){function a(){}return a}();b.ClientMessageBroker=m;var n=function(a){function b(b,c,d){var e=this;a.call(this),this.channel=d,this._pending=new Map,this._sink=b.to(d),this._serializer=c;var g=b.from(d);f.ObservableWrapper.subscribe(g,function(a){return e._handleMessage(a)})}return d(b,a),b.prototype._generateMessageId=function(a){for(var b=h.stringify(h.DateWrapper.toMillis(h.DateWrapper.now())),c=0,d=a+b+h.stringify(c);h.isPresent(this._pending[d]);)d=""+a+b+c,c++;return d},b.prototype.runOnService=function(a,b){var c=this,d=[];h.isPresent(a.args)&&a.args.forEach(function(a){null!=a.type?d.push(c._serializer.serialize(a.value,a.type)):d.push(a.value)});var e,g=null;if(null!=b){var i=f.PromiseWrapper.completer();g=this._generateMessageId(a.method),this._pending.set(g,i),f.PromiseWrapper.catchError(i.promise,function(a,b){h.print(a),i.reject(a,b)}),e=f.PromiseWrapper.then(i.promise,function(a){return null==c._serializer?a:c._serializer.deserialize(a,b)})}else e=null;var j={method:a.method,args:d};return null!=g&&(j.id=g),f.ObservableWrapper.callEmit(this._sink,j),e},b.prototype._handleMessage=function(a){var b=new o(a);if(h.StringWrapper.equals(b.type,"result")||h.StringWrapper.equals(b.type,"error")){var c=b.id;this._pending.has(c)&&(h.StringWrapper.equals(b.type,"result")?this._pending.get(c).resolve(b.value):this._pending.get(c).reject(b.value,null),this._pending["delete"](c))}},b}(m);b.ClientMessageBroker_=n;var o=function(){function a(a){this.type=g.StringMapWrapper.get(a,"type"),this.id=this._getValueIfPresent(a,"id"),this.value=this._getValueIfPresent(a,"value")}return a.prototype._getValueIfPresent=function(a,b){return g.StringMapWrapper.contains(a,b)?g.StringMapWrapper.get(a,b):null},a}(),p=function(){function a(a,b){this.value=a,this.type=b}return a}();b.FnArg=p;var q=function(){function a(a,b){this.method=a,this.args=b}return a}();return b.UiArguments=q,c.exports}),a.registerDynamic("b8",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a}();return b.MessageBus=d,c.exports}),a.registerDynamic("b9",[],!0,function(a,b,c){"use strict";return b.RENDERER_CHANNEL="ng-Renderer",b.EVENT_CHANNEL="ng-Events",b.ROUTER_CHANNEL="ng-Router",c.exports}),a.registerDynamic("c5",["9"],!0,function(a,b,c){"use strict";var d=a("9"),e=function(){function a(){this._nextIndex=0,this._lookupById=new Map,this._lookupByObject=new Map}return a.prototype.allocateId=function(){return this._nextIndex++},a.prototype.store=function(a,b){this._lookupById.set(b,a),this._lookupByObject.set(a,b)},a.prototype.remove=function(a){var b=this._lookupByObject.get(a);this._lookupByObject["delete"](a),this._lookupById["delete"](b)},a.prototype.deserialize=function(a){return null==a?null:this._lookupById.has(a)?this._lookupById.get(a):null},a.prototype.serialize=function(a){return null==a?null:this._lookupByObject.get(a)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[],a}();return b.RenderStore=e,c.exports}),a.registerDynamic("ba",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b,c,d,e,f,g,h,i){this.href=a,this.protocol=b,this.host=c,this.hostname=d,this.port=e,this.pathname=f,this.search=g,this.hash=h,this.origin=i}return a}();return b.LocationType=d,c.exports}),a.registerDynamic("bb",["9","c7","b6","b0","c5","ba"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("c7"),f=a("b6"),g=a("b0"),h=a("c5"),i=a("ba");b.PRIMITIVE=String;var j=function(){function a(a){this._renderStore=a}return a.prototype.serialize=function(a,c){var e=this;if(!g.isPresent(a))return null;if(g.isArray(a))return a.map(function(a){return e.serialize(a,c)});if(c==b.PRIMITIVE)return a;if(c==k)return this._renderStore.serialize(a);if(c===d.RenderComponentType)return this._serializeRenderComponentType(a);if(c===d.ViewEncapsulation)return g.serializeEnum(a);if(c===i.LocationType)return this._serializeLocation(a);throw new f.BaseException("No serializer for "+c.toString())},a.prototype.deserialize=function(a,c,h){var j=this;if(!g.isPresent(a))return null;if(g.isArray(a)){var l=[];return a.forEach(function(a){return l.push(j.deserialize(a,c,h))}),l}if(c==b.PRIMITIVE)return a;if(c==k)return this._renderStore.deserialize(a);if(c===d.RenderComponentType)return this._deserializeRenderComponentType(a);if(c===d.ViewEncapsulation)return e.VIEW_ENCAPSULATION_VALUES[a];if(c===i.LocationType)return this._deserializeLocation(a);throw new f.BaseException("No deserializer for "+c.toString())},a.prototype._serializeLocation=function(a){return{href:a.href,protocol:a.protocol,host:a.host,hostname:a.hostname,port:a.port,pathname:a.pathname,search:a.search,hash:a.hash,origin:a.origin}},a.prototype._deserializeLocation=function(a){return new i.LocationType(a.href,a.protocol,a.host,a.hostname,a.port,a.pathname,a.search,a.hash,a.origin)},a.prototype._serializeRenderComponentType=function(a){return{id:a.id,templateUrl:a.templateUrl,slotCount:a.slotCount,encapsulation:this.serialize(a.encapsulation,d.ViewEncapsulation),styles:this.serialize(a.styles,b.PRIMITIVE)}},a.prototype._deserializeRenderComponentType=function(a){return new d.RenderComponentType(a.id,a.templateUrl,a.slotCount,this.deserialize(a.encapsulation,d.ViewEncapsulation),this.deserialize(a.styles,b.PRIMITIVE))},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:h.RenderStore}],a}();b.Serializer=j;var k=function(){function a(){}return a}();return b.RenderStoreObject=k,c.exports}),a.registerDynamic("bc",[],!0,function(a,b,c){"use strict";function d(a){return a}return b.deserializeGenericEvent=d,c.exports}),a.registerDynamic("df",["9","b4","b5","b0","b7","b8","b9","c5","bb","bc"],!0,function(a,b,c){"use strict";function d(a,b){return a+":"+b}var e=a("9"),f=a("b4"),g=a("b5"),h=a("b0"),i=a("b7"),j=a("b8"),k=a("b9"),l=a("c5"),m=a("bb"),n=a("bc"),o=function(){function a(a,b,c,d){var e=this;this._serializer=c,this._renderStore=d,this.globalEvents=new q,this._componentRenderers=new Map,this._messageBroker=a.createMessageBroker(k.RENDERER_CHANNEL),b.initChannel(k.EVENT_CHANNEL);var g=b.from(k.EVENT_CHANNEL);f.ObservableWrapper.subscribe(g,function(a){return e._dispatchEvent(a)})}return a.prototype._dispatchEvent=function(a){var b=a.eventName,c=a.eventTarget,e=n.deserializeGenericEvent(a.event);if(h.isPresent(c))this.globalEvents.dispatchEvent(d(c,b),e);else{var f=this._serializer.deserialize(a.element,m.RenderStoreObject);f.events.dispatchEvent(b,e)}},a.prototype.renderComponent=function(a){var b=this._componentRenderers.get(a.id);if(h.isBlank(b)){b=new p(this,a),this._componentRenderers.set(a.id,b);var c=this._renderStore.allocateId();this._renderStore.store(b,c),this.runOnService("renderComponent",[new i.FnArg(a,e.RenderComponentType),new i.FnArg(b,m.RenderStoreObject)])}return b},a.prototype.runOnService=function(a,b){var c=new i.UiArguments(a,b);this._messageBroker.runOnService(c,null)},a.prototype.allocateNode=function(){var a=new r,b=this._renderStore.allocateId();return this._renderStore.store(a,b),a},a.prototype.allocateId=function(){return this._renderStore.allocateId()},a.prototype.destroyNodes=function(a){for(var b=0;b0&&n.isPresent(c)){var d=s.getDOM().nextSibling(a);if(n.isPresent(d))for(var e=0;e=a.length-2?b:"paragraph_open"===a[b].type&&a[b].tight&&"inline"===a[b+1].type&&0===a[b+1].content.length&&"paragraph_close"===a[b+2].type&&a[b+2].tight?d(a,b+2):b}var e=a("e7").has,f=a("e7").unescapeMd,g=a("e7").replaceEntities,h=a("e7").escapeHtml,i={};i.blockquote_open=function(){return"
\n"},i.blockquote_close=function(a,b){return"
"+j(a,b)},i.code=function(a,b){return a[b].block?"
"+h(a[b].content)+"
"+j(a,b):""+h(a[b].content)+""},i.fence=function(a,b,c,d,i){var k,l,m=a[b],n="",o=c.langPrefix,p="";if(m.params){if(k=m.params.split(/\s+/g)[0],e(i.rules.fence_custom,k))return i.rules.fence_custom[k](a,b,c,d,i);p=h(g(f(k))),n=' class="'+o+p+'"'}return l=c.highlight?c.highlight(m.content,p)||h(m.content):h(m.content),"
"+l+"
"+j(a,b)},i.fence_custom={},i.heading_open=function(a,b){return""},i.heading_close=function(a,b){return"\n"},i.hr=function(a,b,c){return(c.xhtmlOut?"
":"
")+j(a,b)},i.bullet_list_open=function(){return"
    \n"},i.bullet_list_close=function(a,b){return"
"+j(a,b)},i.list_item_open=function(){return"
  • "},i.list_item_close=function(){return"
  • \n"},i.ordered_list_open=function(a,b){var c=a[b],d=c.order>1?' start="'+c.order+'"':"";return"\n"},i.ordered_list_close=function(a,b){return""+j(a,b)},i.paragraph_open=function(a,b){return a[b].tight?"":"

    "},i.paragraph_close=function(a,b){var c=!(a[b].tight&&b&&"inline"===a[b-1].type&&!a[b-1].content);return(a[b].tight?"":"

    ")+(c?j(a,b):"")},i.link_open=function(a,b,c){var d=a[b].title?' title="'+h(g(a[b].title))+'"':"",e=c.linkTarget?' target="'+c.linkTarget+'"':"";return'"},i.link_close=function(){return""},i.image=function(a,b,c){var d=' src="'+h(a[b].src)+'"',e=a[b].title?' title="'+h(g(a[b].title))+'"':"",f=' alt="'+(a[b].alt?h(g(a[b].alt)):"")+'"',i=c.xhtmlOut?" /":"";return""},i.table_open=function(){return"\n"},i.table_close=function(){return"
    \n"},i.thead_open=function(){return"\n"},i.thead_close=function(){return"\n"},i.tbody_open=function(){return"\n"},i.tbody_close=function(){return"\n"},i.tr_open=function(){return""},i.tr_close=function(){return"\n"},i.th_open=function(a,b){var c=a[b];return""},i.th_close=function(){return""},i.td_open=function(a,b){var c=a[b];return""},i.td_close=function(){return""},i.strong_open=function(){return""},i.strong_close=function(){return""},i.em_open=function(){return""},i.em_close=function(){return""},i.del_open=function(){return""},i.del_close=function(){return""},i.ins_open=function(){return""},i.ins_close=function(){return""},i.mark_open=function(){return""},i.mark_close=function(){return""},i.sub=function(a,b){return""+h(a[b].content)+""},i.sup=function(a,b){return""+h(a[b].content)+""},i.hardbreak=function(a,b,c){return c.xhtmlOut?"
    \n":"
    \n"},i.softbreak=function(a,b,c){return c.breaks?c.xhtmlOut?"
    \n":"
    \n":"\n"},i.text=function(a,b){return h(a[b].content)},i.htmlblock=function(a,b){return a[b].content},i.htmltag=function(a,b){return a[b].content},i.abbr_open=function(a,b){return''},i.abbr_close=function(){return""},i.footnote_ref=function(a,b){var c=Number(a[b].id+1).toString(),d="fnref"+c;return a[b].subId>0&&(d+=":"+a[b].subId),'['+c+"]"},i.footnote_block_open=function(a,b,c){var d=c.xhtmlOut?'
    \n':'
    \n';return d+'
    \n
      \n'},i.footnote_block_close=function(){return"
    \n
    \n"},i.footnote_open=function(a,b){var c=Number(a[b].id+1).toString();return'
  • '},i.footnote_close=function(){return"
  • \n"},i.footnote_anchor=function(a,b){var c=Number(a[b].id+1).toString(),d="fnref"+c;return a[b].subId>0&&(d+=":"+a[b].subId),' '},i.dl_open=function(){return"
    \n"},i.dt_open=function(){return"
    "},i.dd_open=function(){return"
    "},i.dl_close=function(){return"
    \n"},i.dt_close=function(){return"\n"},i.dd_close=function(){return"\n"};var j=i.getBreak=function(a,b){return b=d(a,b),b