mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-28 03:23:44 +03:00
32 lines
934 KiB
JavaScript
32 lines
934 KiB
JavaScript
"format amd";!function(e){function t(e,t,i){return 4===arguments.length?n.apply(this,arguments):void r(e,{declarative:!0,deps:t,declare:i})}function n(e,t,n,i){r(e,{declarative:!1,deps:t,executingRequire:n,execute:i})}function r(e,t){t.name=e,e in f||(f[e]=t),t.normalizedDeps=t.deps}function i(e,t){if(t[e.groupIndex]=t[e.groupIndex]||[],-1==d.call(t[e.groupIndex],e)){t[e.groupIndex].push(e);for(var n=0,r=e.normalizedDeps.length;r>n;n++){var o=e.normalizedDeps[n],s=f[o];if(s&&!s.evaluated){var a=e.groupIndex+(s.declarative!=e.declarative);if(void 0===s.groupIndex||s.groupIndex<a){if(void 0!==s.groupIndex&&(t[s.groupIndex].splice(d.call(t[s.groupIndex],s),1),0==t[s.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");s.groupIndex=a}i(s,t)}}}}function o(e){var t=f[e];t.groupIndex=0;var n=[];i(t,n);for(var r=!!t.declarative==n.length%2,o=n.length-1;o>=0;o--){for(var s=n[o],u=0;u<s.length;u++){var l=s[u];r?a(l):c(l)}r=!r}}function s(e){return y[e]||(y[e]={name:e,dependencies:[],exports:{},importers:[]})}function a(t){if(!t.module){var n=t.module=s(t.name),r=t.module.exports,i=t.declare.call(e,function(e,t){if(n.locked=!0,"object"==typeof e)for(var i in e)r[i]=e[i];else r[e]=t;for(var o=0,s=n.importers.length;s>o;o++){var a=n.importers[o];if(!a.locked)for(var u=0;u<a.dependencies.length;++u)a.dependencies[u]===n&&a.setters[u](r)}return n.locked=!1,t},t.name);n.setters=i.setters,n.execute=i.execute;for(var o=0,u=t.normalizedDeps.length;u>o;o++){var c,l=t.normalizedDeps[o],d=f[l],h=y[l];h?c=h.exports:d&&!d.declarative?c=d.esModule:d?(a(d),h=d.module,c=h.exports):c=p(l),h&&h.importers?(h.importers.push(n),n.dependencies.push(h)):n.dependencies.push(null),n.setters[o]&&n.setters[o](c)}}}function u(e){var t,n=f[e];if(n)n.declarative?l(e,[]):n.evaluated||c(n),t=n.module.exports;else if(t=p(e),!t)throw new Error("Unable to load dependency "+e+".");return(!n||n.declarative)&&t&&t.__useDefault?t["default"]:t}function c(t){if(!t.module){var n={},r=t.module={exports:n,id:t.name};if(!t.executingRequire)for(var i=0,o=t.normalizedDeps.length;o>i;i++){var s=t.normalizedDeps[i],a=f[s];a&&c(a)}t.evaluated=!0;var l=t.execute.call(e,function(e){for(var n=0,r=t.deps.length;r>n;n++)if(t.deps[n]==e)return u(t.normalizedDeps[n]);throw new TypeError("Module "+e+" not declared as a dependency.")},n,r);if(l&&(r.exports=l),n=r.exports,n&&n.__esModule)t.esModule=n;else{if(t.esModule={},("object"==typeof n||"function"==typeof n)&&n!==e)if(h){var p;for(var d in n)(p=Object.getOwnPropertyDescriptor(n,d))&&v(t.esModule,d,p)}else{var m=n&&n.hasOwnProperty;for(var d in n)(!m||n.hasOwnProperty(d))&&(t.esModule[d]=n[d])}t.esModule["default"]=n,v(t.esModule,"__useDefault",{value:!0})}}}function l(t,n){var r=f[t];if(r&&!r.evaluated&&r.declarative){n.push(t);for(var i=0,o=r.normalizedDeps.length;o>i;i++){var s=r.normalizedDeps[i];-1==d.call(n,s)&&(f[s]?l(s,n):p(s))}r.evaluated||(r.evaluated=!0,r.module.execute.call(e))}}function p(e){if(g[e])return g[e];if("@node/"==e.substr(0,6))return require(e.substr(6));var t=f[e];if(!t)throw"Module "+e+" not present.";return o(e),l(e,[]),f[e]=void 0,t.declarative&&v(t.module.exports,"__esModule",{value:!0}),g[e]=t.declarative?t.module.exports:t.esModule}var f={},d=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},h=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(m){h=!1}var v;!function(){try{Object.defineProperty({},"a",{})&&(v=Object.defineProperty)}catch(e){v=function(e,t,n){try{e[t]=n.value||n.get.call(e)}catch(r){}}}}();var y={},g={};return function(e,r,i){return function(o){o(function(o){var s={_nodeRequire:"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,register:t,registerDynamic:n,get:p,set:function(e,t){g[e]=t},newModule:function(e){return e}};s.set("@empty",{});for(var a=0;a<r.length;a++)(function(e,t){t&&t.__esModule?s.register(e,[],function(e){return{setters:[],execute:function(){for(var n in t)"__esModule"==n||"object"==typeof n&&n+""=="Module"||e(n,t[n])}}}):s.registerDynamic(e,[],!1,function(){return t})})(r[a],arguments[a]);i(s);var u=p(e[0]);if(e.length>1)for(var a=1;a<e.length;a++)p(e[a]);return u.__useDefault?u["default"]:u})}}}("undefined"!=typeof self?self:global)(["1"],[],function(e){!function(){var t=e;if("undefined"!=typeof window&&"undefined"!=typeof document&&window.location)var n=location.protocol+"//"+location.hostname+(location.port?":"+location.port:"");t.set("@@cjs-helpers",t.newModule({getPathVars:function(e){var t,r=e.lastIndexOf("!");t=-1!=r?e.substr(0,r):e;var i=t.split("/");return i.pop(),i=i.join("/"),"file:///"==t.substr(0,8)?(t=t.substr(7),i=i.substr(7),isWindows&&(t=t.substr(1),i=i.substr(1))):n&&t.substr(0,n.length)===n&&(t=t.substr(n.length),i=i.substr(n.length)),{filename:t,dirname:i}}}))}(),e.register("2",["3","4","5","6","7"],function(e){var t,n,r,i,o,s,a;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]}],execute:function(){"use strict";a=function(e){function n(e){s(this,a),r(Object.getPrototypeOf(a.prototype),"constructor",this).call(this,e)}i(n,e),o(n,[{key:"prepareModel",value:function(){this.data=this.componentSchema.info}}]);var a=n;return n=t({selector:"api-info",styles:["\n .api-info-header {\n color: #00329F; }\n "],template:'\n <h1 class="api-info-header">{{data.title}} ({{data.version}})</h1>\n <p *ngIf="data.description" innerHtml="{{data.description | marked}}"> </p>\n <p>\n <!-- TODO: create separate components for contact and license ? -->\n <span *ngIf="data.contact"> Contact:\n <a *ngIf="data.contact.url" href="{{data.contact.url}}">\n {{data.contact.name || data.contact.url}}</a>\n <a *ngIf="data.contact.email" href="mailto:{{data.contact.email}}">\n {{data.contact.email}}</a>\n </span>\n <span *ngIf="data.license"> License:\n <a *ngIf="data.license.url" href="{{data.license.url}}"> {{data.license.name}} </a>\n <span *ngIf="!data.license.url"> {{data.license.name}} </span>\n </span>\n </p>\n '})(n)||n}(n),e("default",a)}}}),e.register("8",["3","4","5","6","7"],function(e){var t,n,r,i,o,s,a;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]}],execute:function(){"use strict";a=function(e){function n(e){s(this,a),r(Object.getPrototypeOf(a.prototype),"constructor",this).call(this,e)}i(n,e),o(n,[{key:"prepareModel",value:function(){this.data={};var e=this.componentSchema.info["x-logo"];e&&(this.data.imgUrl=e.url,this.data.bgColor=e.backgroundColor||"transparent")}}]);var a=n;return n=t({selector:"api-logo",styles:["\n img {\n max-height: 150px;\n width: auto;\n display: inline-block;\n max-width: 100%;\n padding: 0 5px;\n box-sizing: border-box; }\n "],template:'\n <img *ngIf="data.imgUrl" [attr.src]="data.imgUrl" [ngStyle]="{\'background-color\': data.bgColor}">\n '})(n)||n}(n),e("default",a)}}}),e.register("9",["3","4","5","6","7","a"],function(e){var t,n,r,i,o,s,a,u;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]}],execute:function(){"use strict";u=function(e){function n(e){s(this,u),r(Object.getPrototypeOf(u.prototype),"constructor",this).call(this,e)}i(n,e),o(n,[{key:"prepareModel",value:function(){this.data={};var e=this.schemaMgr.getMethodParams(this.pointer,!0);if(this.sortParams(e),e.length&&"body"===e[e.length-1]["in"]){var t=e.pop();t.pointer=t._pointer,this.data.bodyParam=t}this.data.noParams=!(e.length||this.data.bodyParam),this.data.params=e}},{key:"sortParams",value:function(e){var t={path:0,query:10,formData:20,header:40,body:50};e.sort(function(e,n){return t[e["in"]]-t[n["in"]]})}}]);var u=n;return n=t({selector:"params-list",template:'\n <h2 class="param-list-header" *ngIf="data.params.length"> Parameters </h2>\n <div class="params-wrap">\n <div *ngFor="#param of data.params" class="param">\n <div class="param-name">\n <span> {{param.name}} </span>\n </div>\n <div class="param-info">\n <div>\n <span class="param-type" [ngClass]="param.type">{{param.type}}</span>\n <span *ngIf="param.required" class="param-required">Required</span>\n </div>\n <div class="param-description" innerHtml="{{param.description | marked}}"></div>\n </div>\n </div>\n </div>\n\n <div *ngIf="data.bodyParam">\n <h2 class="param-list-header" *ngIf="data.bodyParam"> Request Body </h2>\n\n <div class="body-param-description" innerHtml="{{data.bodyParam.description | marked}}"></div>\n <div>\n <json-schema pointer="{{data.bodyParam.pointer}}/schema">\n </json-schema>\n </div>\n </div>\n ',styles:['\n .param-list-header {\n border-bottom: 1px solid #999;\n font-size: 18px;\n padding: 0.2em 0;\n margin: 0.5em 0;\n color: #253137; }\n\n .param-schema {\n padding-left: 12.5px;\n border-left: 1px solid #7D97CE; }\n\n .param-wrap {\n position: relative; }\n\n .param-schema:before {\n content: "";\n position: absolute;\n left: 13.5px;\n top: 20px;\n bottom: 0;\n border-left: 1px solid #7D97CE; }\n\n .param-name {\n font-size: 14px;\n padding: 10px 25px 10px 0;\n font-weight: bold;\n box-sizing: border-box;\n line-height: 20px;\n border-left: 1px solid #7D97CE;\n white-space: nowrap;\n position: relative; }\n .param-name > span {\n vertical-align: middle; }\n\n .param-info {\n width: 100%;\n padding: 10px 0;\n box-sizing: border-box;\n border-bottom: 1px solid #ccc; }\n\n .param {\n display: flex; }\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 text-transform: capitalize;\n color: #999;\n font-size: 12px;\n line-height: 20px;\n vertical-align: middle;\n font-weight: bold; }\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: 7px;\n height: 7px;\n background-color: #7D97CE;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid #7D97CE;\n width: 10px;\n left: 0;\n top: 20px; }\n\n .param-wrap:first-of-type .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 1px solid white;\n height: 20px; }\n\n .param-wrap:last-of-type > .param > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n border-left: 1px solid white;\n top: 21px;\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 /* styles for array-schema for array */\n .params-wrap.params-array:before, .params-wrap.params-array:after {\n display: block;\n font-weight: bold;\n color: #999;\n font-size: 12px;\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\n .params-wrap.params-array {\n padding-left: 10px; }\n\n .param-schema.param-array:before {\n bottom: 9px;\n width: 10px;\n border-left-style: dashed;\n border-bottom: 1px dashed #7D97CE; }\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: 1px solid white;\n height: 20px; }\n\n .params-wrap {\n display: table; }\n\n .param-name {\n display: table-cell;\n vertical-align: top; }\n\n .param-info {\n display: table-cell; }\n\n .param {\n display: table-row; }\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: 1px solid white;\n height: 20px; }\n\n .param:last-of-type .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n border-left: 1px solid white;\n top: 21px;\n background-color: white;\n bottom: 0; }\n '],directives:[a]})(n)||n}(n),e("default",u)}}}),e.register("b",["3","4","5","6","7","9","c","d","e","f"],function(e){var t,n,r,i,o,s,a,u,c,l,p,f;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]},function(e){u=e.JsonPointer},function(e){c=e["default"]},function(e){l=e["default"]},function(e){p=e["default"]}],execute:function(){"use strict";f=function(e){function n(e){s(this,f),r(Object.getPrototypeOf(f.prototype),"constructor",this).call(this,e)}i(n,e),o(n,[{key:"prepareModel",value:function(){this.data={},this.data.apiUrl=this.schemaMgr.apiUrl,this.data.httpMethod=u.baseName(this.pointer),this.data.path=u.baseName(this.pointer,2),this.data.methodInfo=this.componentSchema,this.data.methodInfo.tags=this.filterMainTags(this.data.methodInfo.tags),this.data.bodyParam=this.findBodyParam()}},{key:"filterMainTags",value:function(e){var t=this.schemaMgr.getTagsMap();return e.filter(function(e){return t[e]&&t[e]["x-traitTag"]})}},{key:"findBodyParam",value:function(){var e=this.schemaMgr.getMethodParams(this.pointer,!0),t=e.find(function(e){return"body"===e["in"]});return t}}]);var f=n;return n=t({selector:"method",template:'\n <div class="method">\n <div class="method-content">\n <h2 class="method-header sharable-header">\n <a class="share-link" href="#{{tag}}{{pointer}}"></a>{{data.methodInfo.summary}}\n </h2>\n <h3 class="method-endpoint">\n <span class="http-method" [ngClass]="data.httpMethod">{{data.httpMethod}}</span>\n <span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>\n </h3>\n <div class="method-tags" *ngIf="data.methodInfo.tags.length">\n <a *ngFor="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>\n </div>\n <p *ngIf="data.methodInfo.description" class="method-description"\n innerHtml="{{data.methodInfo.description | marked}}">\n </p>\n <params-list pointer="{{pointer}}/parameters"> </params-list>\n <responses-list pointer="{{pointer}}/responses"> </responses-list>\n </div>\n <div class="method-samples">\n <div *ngIf="data.bodyParam">\n <header> Body sample </header>\n <schema-sample pointer="{{data.bodyParam._pointer}}/schema"> </schema-sample>\n </div>\n <div>\n <responses-samples pointer="{{pointer}}/responses"> </responses-samples>\n </div>\n </div>\n <div>\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:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n responses-list, params-list {\n display: block; }\n\n .method-header {\n font-size: 25px;\n font-weight: 200;\n color: #253137; }\n\n .method-endpoint {\n margin: 0;\n font-weight: 200;\n font-size: 0; }\n\n .method-endpoint > span {\n padding-top: 3px;\n padding-bottom: 3px;\n vertical-align: middle;\n font-size: 14px; }\n\n .api-url {\n color: #999;\n margin-left: 10px; }\n\n .path {\n font-family: monospace;\n font-weight: bold;\n color: #00329F; }\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: 0 20px; }\n\n .method-samples {\n color: #CFD2D3;\n width: 40%;\n padding: 10px 20px; }\n\n responses-samples {\n display: block; }\n\n .method-samples header {\n font-size: 16px;\n margin: 5px 0;\n color: #8A9094;\n text-transform: uppercase; }\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: 30px 0; }\n\n .http-method {\n color: white;\n background-color: #1976D3;\n padding: 3px 10px;\n text-transform: uppercase; }\n\n .http-method.delete {\n background-color: red; }\n\n .http-method.post {\n background-color: #00329F; }\n\n .http-method.patch {\n background-color: orange; }\n\n .http-method.put {\n background-color: crimson; }\n\n .http-method.options {\n background-color: black; }\n\n .http-method.head {\n background-color: darkkhaki; }\n '],directives:[a,c,l,p],inputs:["tag"]})(n)||n}(n),e("default",f)}}}),e.register("10",["3","4","5","6","7","11","12","b"],function(e){var t,n,r,i,o,s,a,u,c,l;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]},function(e){u=e["default"]},function(e){c=e["default"]}],execute:function(){"use strict";l=function(e){function n(e){s(this,l),r(Object.getPrototypeOf(l.prototype),"constructor",this).call(this,e)}i(n,e),o(n,[{key:"prepareModel",value:function(){this.data={};var e=this.schemaMgr.buildMenuTree(),t=u(e.entries()).map(function(e){var t=a(e,2),n=t[0],r=t[1],i=r.description,o=r.methods;return o=o||[],o.forEach(function(e){e.tag=n}),{name:n,description:i,methods:o}});this.data.tags=t}}]);var l=n;return n=t({selector:"methods-list",template:'\n <div class="methods">\n <div class="tag" *ngFor="#tag of data.tags">\n <div class="tag-info" [attr.tag]="tag.name">\n <h1 class="sharable-header"> <a class="share-link" href="#{{tag.name}}"></a>{{tag.name}} </h1>\n <p *ngIf="tag.description" innerHtml="{{ tag.description | marked }}"> </p>\n </div>\n <method *ngFor="#method of tag.methods" [pointer]="method.pointer" [attr.pointer]="method.pointer"\n [attr.tag]="method.tag" [tag]="method.tag"></method>\n </div>\n </div>\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:hover .share-link:before, .share-link:hover:before {\n visibility: visible; }\n\n method {\n padding-bottom: 100px;\n display: block;\n border-bottom: 2px solid rgba(127, 127, 127, 0.25); }\n\n .tag-info {\n padding: 0 20px;\n box-sizing: border-box;\n background-color: white; }\n\n .tag-info:after, .tag-info:before {\n content: "";\n display: table; }\n\n .tag-info h1 {\n color: #00329F;\n text-transform: capitalize;\n font-weight: bold; }\n\n .methods {\n display: block;\n position: relative; }\n\n .methods:before {\n content: "";\n background: #263238;\n height: 100%;\n width: 40%;\n top: 0;\n right: 0;\n position: absolute;\n z-index: -1; }\n '],directives:[c]})(n)||n}(n),e("default",l)}}}),e.register("13",["6","7","14","15"],function(e){var t,n,r,i,o,s,a,u,c;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e.Component,i=e.View,o=e.OnInit,s=e.OnDestroy,a=e.ElementRef},function(e){u=e.BrowserDomAdapter}],execute:function(){"use strict";c=function(){function e(e,t){n(this,a),this.element=e.nativeElement,this.adapter=t,this.adapter.setStyle(this.element,"position","absolute"),this.adapter.setStyle(this.element,"top","0"),this.adapter.setStyle(this.element,"bottom","0"),this.adapter.setStyle(this.element,"max-height","100%")}t(e,[{key:"bind",value:function(){var e=this;this.cancelScrollBinding=this.adapter.onAndCancel(this.scrollParent,"scroll",function(){e.updatePosition()}),this.updatePosition()}},{key:"unbind",value:function(){this.cancelScrollBinding&&this.cancelScrollBinding()}},{key:"updatePosition",value:function(){this.scrollY+this.scrollYOffset()>=this.redocEl.offsetTop?this.stick():this.unstick()}},{key:"stick",value:function(){this.adapter.setStyle(this.element,"position","fixed"),this.adapter.setStyle(this.element,"top",this.scrollYOffset())}},{key:"unstick",value:function(){this.adapter.setStyle(this.element,"position","absolute"),this.adapter.setStyle(this.element,"top",0)}},{key:"ngOnInit",value:function(){this.redocEl=this.element.offsetParent,this.bind()}},{key:"ngOnDestroy",value:function(){this.unbind()}},{key:"scrollY",get:function(){return this.scrollParent.scrollY||this.scrollParent.scrollTop||0}}]);var a=e;return e=i({template:'\n <div class="sticky-sidebar">\n <ng-content></ng-content>\n </div>\n ',lifecycle:[o,s]})(e)||e,e=r({selector:"sticky-sidebar",inputs:["scrollParent","scrollYOffset"]})(e)||e}(),e("default",c),c.parameters=[[a],[u]]}}}),e.register("16",["6","7","17"],function(e){var t,n,r,i,o;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e["default"]}],execute:function(){"use strict";i={scrollYOffset:0},e("options",i),o=function(){function e(){return n(this,e),e.prototype._instance?e.prototype._instance:(e.prototype._instance=this,this._defaults={scrollYOffset:0},void(this._options={}))}return t(e,[{key:"options",get:function(){return this._options},set:function(e){this._options=r({},this._defaults,e)}}]),e}(),e("default",o)}}}),e.registerDynamic("18",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(){var e=function(t,n){return null===t.parentNode?n:e(t.parentNode,n.concat([t]))},t=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},r=function(e){return t(e,"overflow")+t(e,"overflow-y")+t(e,"overflow-x")},i=function(e){return/(auto|scroll)/.test(r(e))},o=function(t){if(t instanceof HTMLElement){for(var n=e(t.parentNode,[]),r=0;r<n.length;r+=1)if(i(n[r]))return n[r];return window}};"object"==typeof n&&null!==n?n.exports=o:window.Scrollparent=o}(),r.define=i,n.exports}),e.registerDynamic("19",["18"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("18"),r.define=i,n.exports}),e.register("1a",["2","3","4","5","6","7","8","10","12","13","14","15","16","17","19","20","1e","1f","1b","1c","1d"],function(e){var t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y,g,b,_,E,D,w,C,x,A;return{setters:[function(e){t=e["default"]},function(e){n=e.RedocComponent,r=e.BaseComponent},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]},function(e){u=e["default"]},function(e){c=e["default"]},function(e){l=e["default"]},function(e){p=e["default"]},function(e){f=e.ChangeDetectionStrategy,d=e.ElementRef},function(e){h=e.BrowserDomAdapter,m=e.bootstrap},function(e){v=e["default"]},function(e){y=e["default"]},function(e){g=e["default"]},function(e){b=e.isFunction},function(e){_=e["default"]},function(e){E=e["default"]},function(e){D=e["default"]},function(e){w=e["default"]},function(e){C=e.redocEvents}],execute:function(){"use strict";x=new _(["scrollYOffset"]),A=function(e){function r(e,t,n,r){a(this,d),i(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,e),this.element=n.nativeElement,this.dom=r;var o=this.element;this.scrollParent=g(o),this.parseOptions(),this.options=y({},t.options,this.options),this.normalizeOptions()}o(r,e),s(r,[{key:"parseOptions",value:function(){var e=this,t=this.dom.attributeMap(this.element);this.options={},l(t.keys()).map(function(e){return{attrName:e,name:e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}}).filter(function(e){return x.has(e.name)}).forEach(function(n){e.options[n.name]=t.get(n.attrName)})}},{key:"normalizeOptions",value:function(){var e=this;b(this.options.scrollYOffset)||(isFinite(this.options.scrollYOffset)?!function(){var t=parseFloat(e.options.scrollYOffset);e.options.scrollYOffset=function(){return t}}():!function(){var t=e.options.scrollYOffset;t instanceof Node||(t=e.dom.query(t)),t?e.options.scrollYOffset=function(){return t.offsetTop+t.offsetHeight}:e.options.scrollYOffset=function(){return 0}}())}}],[{key:"init",value:function(e,t){var n=new E(function(n,i){D.instance().load(e).then(function(){return(new v).options=t,m(r)}).then(function(){C.bootstrapped.next(),console.log("ReDoc bootstrapped!"),n()},function(e){console.log(e),i()})});return n}}]);var d=r;return r=n({selector:"redoc",providers:[D,h,v],template:'\n <div class="redoc-wrap">\n <sticky-sidebar [scrollParent]="scrollParent" [scrollYOffset]="options.scrollYOffset">\n <api-logo> </api-logo>\n <side-menu> </side-menu>\n </sticky-sidebar>\n <div id="api-content">\n <api-info> </api-info>\n <methods-list> </methods-list>\n <footer>\n <div class="powered-by-badge">\n <a href="https://github.com/Rebilly/ReDoc" title="Swagger-generated API Reference Documentation" target="_blank">\n Powered by <strong>ReDoc</strong>\n </a>\n </div>\n </footer>\n </div>\n </div>\n ',styles:["\n .redoc-wrap {\n position: relative; }\n\n side-menu {\n display: block;\n box-sizing: border-box; }\n\n methods-list {\n display: block;\n overflow: hidden; }\n\n api-info, .side-bar {\n display: block;\n padding: 10px 0; }\n\n api-info {\n padding: 10px 20px; }\n\n api-logo {\n display: block;\n text-align: center; }\n\n sticky-sidebar {\n width: 260px;\n overflow-y: auto;\n overflow-x: hidden;\n background-color: #FAFAFA; }\n\n #api-content {\n margin-left: 260px; }\n\n footer {\n text-align: right;\n padding: 10px;\n font-size: 15px; }\n footer a {\n color: #999;\n text-decoration: none; }\n footer strong {\n font-size: 18px;\n color: #00329F; }\n "],directives:[t,u,c,w,p],changeDetection:f.Default})(r)||r}(r),e("default",A),A.parameters=A.parameters.concat([[v],[d],[h]]),w.parameters=w.parameters.concat([[A]])}}}),e.register("21",["6","7","14","22"],function(e){var t,n,r,i,o,s,a;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e.Component,i=e.View,o=e.EventEmitter},function(e){s=e.CORE_DIRECTIVES}],execute:function(){"use strict";a=function(){function e(){n(this,a),this.type="general",this.visible=!1,this.empty=!1,this.open=new o,this.close=new o}t(e,[{key:"toggle",value:function(){this.visible=!this.visible,this.empty||(this.visible?this.open.next():this.close.next())}}]);var a=e;return e=i({template:'\n <div class="zippy zippy-{{type}}" [ngClass]="{\'zippy-empty\': empty}">\n <div class="zippy-title" (click)="toggle()">\n <span class="zippy-indicator">{{ visible ? \'▾\' : \'▸\' }}</span>\n {{title}}\n </div>\n <div class="zippy-content" [ngClass]="{\'zippy-hidden\': !visible}">\n <ng-content></ng-content>\n </div>\n </div>\n ',styles:["\n .zippy-title {\n padding: 10px;\n margin: 2px 0;\n line-height: 1.5em;\n background-color: #f2f2f2;\n cursor: pointer; }\n .zippy-success > .zippy-title {\n color: #09AC1C;\n background-color: #E1F5E3; }\n .zippy-error > .zippy-title {\n color: #E54541;\n background-color: #FBE7E7; }\n .zippy-redirect > .zippy-title {\n color: #AC7C09;\n background-color: #F5F0E1; }\n .zippy-info > .zippy-title {\n color: #096DAC;\n background-color: #E1EFF5; }\n\n span.zippy-indicator {\n font-size: 1.5em;\n line-height: 1;\n margin-right: 0.2em;\n vertical-align: text-bottom; }\n\n .zippy-content {\n padding: 15px 0; }\n\n .zippy-empty .zippy-title {\n cursor: default; }\n\n .zippy-empty .zippy-indicator {\n display: none; }\n\n .zippy-empty .zippy-content {\n display: none; }\n\n .zippy-hidden {\n visibility: hidden;\n height: 0;\n padding: 0; }\n "],
|
||
directives:[s]})(e)||e,e=r({selector:"zippy",events:["open","close"],inputs:["title","visible","type","empty"]})(e)||e}(),e("default",a)}}}),e.register("d",["3","4","5","6","7","21","23","24","c","a"],function(e){function t(e){return!isNaN(parseFloat(e))&&isFinite(e)}var n,r,i,o,s,a,u,c,l,p,f,d;return{setters:[function(e){n=e.RedocComponent,r=e.BaseComponent},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]},function(e){u=e["default"]},function(e){c=e.statusCodeType},function(e){l=e["default"]},function(e){p=e["default"]},function(e){f=e["default"]}],execute:function(){"use strict";d=function(e){function r(e){a(this,d),i(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,e)}o(r,e),s(r,[{key:"prepareModel",value:function(){var e=this;this.data={},this.data.responses=[];var n=this.componentSchema;n&&(n=l(n).filter(function(e){return t(e)||"default"===e}).map(function(t){var r=n[t];if(r.pointer=p.join(e.pointer,t),r.$ref){var i=r.$ref;r=e.schemaMgr.byPointer(r.$ref),r.pointer=i}return r.code=t,r.type=c(r.code),r.headers&&(r.headers=l(r.headers).map(function(e){var t=r.headers[e];return t.name=e,t})),r.extendable=r.headers||r.length,r}),this.data.responses=n)}}]);var d=r;return r=n({selector:"responses-list",template:'\n <h2 class="responses-list-header" *ngIf="data.responses.length"> Responses </h2>\n <zippy *ngFor="#response of data.responses" title="{{response.code}} {{response.description}}"\n [type]="response.type" [empty]="!response.schema">\n <div *ngIf="response.headers" class="response-headers">\n <header>\n Headers\n </header>\n <div class="header" *ngFor="#header of response.headers">\n <div class="header-name"> {{header.name}} </div>\n <div class="header-type"> {{header.type}} </div>\n <div class="header-description" innerHtml="{{header.description | marked}}"> </div>\n </div>\n </div>\n <header>\n Response schema\n </header>\n <json-schema *ngIf="response.schema" class="schema type" pointer="{{response.pointer}}/schema">\n </json-schema>\n </zippy>\n ',styles:["\n .responses-list-header {\n font-size: 18px;\n padding: 0.2em 0;\n margin: 0.5em 0;\n color: #253137; }\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\n .header {\n margin-bottom: 10px; }\n "],directives:[f,u]})(r)||r}(r),e("default",d)}}}),e.register("25",["6","7","14","22"],function(e){var t,n,r,i,o,s,a;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e.Component,i=e.View},function(e){o=e.CORE_DIRECTIVES}],execute:function(){"use strict";s=function(){function e(){n(this,s),this.tabs=[]}t(e,[{key:"selectTab",value:function(e){this.tabs.forEach(function(e){e.active=!1}),e.active=!0}},{key:"addTab",value:function(e){0===this.tabs.length&&(e.active=!0),this.tabs.push(e)}}]);var s=e;return e=i({template:'\n <ul>\n <li *ngFor="#tab of tabs" [ngClass]="{active: tab.active}" (click)="selectTab(tab)"\n class="tab-{{tab.tabStatus}}"> {{tab.tabTitle}}\n </li>\n </ul>\n <ng-content></ng-content>\n ',directives:[o],styles:['\n ul {\n display: block;\n margin: 0;\n padding: 10px 0px 0 0; }\n\n li {\n font-size: 13px;\n list-style: none;\n margin: 2px 0;\n padding: 2px 5px;\n display: inline-block;\n cursor: pointer;\n color: #8A9094;\n line-height: 1.25;\n color: #8A9094; }\n\n li.active {\n background-color: white;\n color: #666; }\n\n .tab-success:before, .tab-error:before, .tab-redirect:before, .tab-info:before {\n content: "";\n display: inline-block;\n vertical-align: middle;\n height: 6px;\n width: 6px;\n border-radius: 50%; }\n\n .tab-success:before {\n box-shadow: 0 0 3px 0 #00aa11;\n background-color: #00aa11; }\n\n .tab-error:before {\n box-shadow: 0 0 3px 0 #E53935;\n background-color: #E53935; }\n\n .tab-redirect:before {\n box-shadow: 0 0 3px 0 #F88F00;\n background-color: #F88F00; }\n\n .tab-info:before {\n box-shadow: 0 0 3px 0 #66C2FF;\n background-color: #66C2FF; }\n ']})(e)||e,e=r({selector:"tabs"})(e)||e}(),e("Tabs",s),a=function(){function e(e){n(this,t),this.active=!1,e.addTab(this)}var t=e;return e=i({template:'\n <div class="tab-wrap" [hidden]="!active">\n <ng-content></ng-content>\n </div>\n '})(e)||e,e=r({selector:"tab",inputs:["tabTitle","tabStatus"]})(e)||e}(),e("Tab",a),a.parameters=[[s]]}}}),e.register("23",[],function(e){"use strict";function t(e){if(100>e||e>599)throw new Error("invalid HTTP code");var t="success";return e>=300&&400>e?t="redirect":e>=400?t="error":200>e&&(t="info"),t}return e("statusCodeType",t),{setters:[],execute:function(){}}}),e.register("e",["3","4","5","6","7","23","24","25","c","f"],function(e){function t(e){return!isNaN(parseFloat(e))&&isFinite(e)}function n(e){return e.examples&&e.examples["application/json"]||e.schema}var r,i,o,s,a,u,c,l,p,f,d,h,m;return{setters:[function(e){r=e.RedocComponent,i=e.BaseComponent},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]},function(e){u=e["default"]},function(e){c=e.statusCodeType},function(e){l=e["default"]},function(e){p=e.Tabs,f=e.Tab},function(e){d=e["default"]},function(e){h=e["default"]}],execute:function(){"use strict";m=function(e){function i(e){u(this,m),o(Object.getPrototypeOf(m.prototype),"constructor",this).call(this,e)}s(i,e),a(i,[{key:"prepareModel",value:function(){var e=this;this.data={},this.data.responses=[];var r=this.componentSchema;r&&(r=l(r).filter(function(e){return t(e)||"default"===e}).map(function(t){var n=r[t];if(n.pointer=d.join(e.pointer,t),n.$ref){var i=n.$ref;n=e.schemaMgr.byPointer(n.$ref),n.pointer=i}return n.code=t,n.type=c(n.code),n}).filter(function(e){return n(e)}),this.data.responses=r)}}]);var m=i;return i=r({selector:"responses-samples",template:'\n <header *ngIf="data.responses.length"> Responses samples </header>\n <tabs *ngIf="data.responses.length">\n <tab *ngFor="#response of data.responses" tabTitle="{{response.code}} {{response.description}}"\n [tabStatus]="response.type">\n <schema-sample [pointer]="response.pointer"></schema-sample>\n </tab>\n </tabs>\n ',styles:["\n tab, tabs {\n display: block; }\n\n schema-sample {\n display: block; }\n\n header {\n font-size: 16px;\n margin: 5px 0;\n color: #8A9094;\n text-transform: uppercase; }\n "],directives:[h,p,f]})(i)||i}(i),e("default",m)}}}),e.registerDynamic("26",[],!0,function(e,t,n){"use strict";function r(e){var t=e.type;return void 0!==u[t]}function i(e){var t=e.type;return e["default"]?e["default"]:u[t]}function o(e){function t(e,n,o){if(e){var s,a=e.type;if("object"===a&&e.properties){o[n]=o[n]||{};for(var u in e.properties)e.properties.hasOwnProperty(u)&&t(e.properties[u],u,o[n])}else if(e.allOf)for(s=0;s<e.allOf.length;s++)t(e.allOf[s],n,o);else if("array"===a){o[n]=[];var c=1;for((e.minItems||0===e.minItems)&&(c=e.minItems),s=0;c>s;s++)t(e.items,s,o[n])}else r(e)&&(o[n]=i(e))}}var n={};return t(e,"kek",n),n.kek}var s=this,a=s.define;s.define=void 0;var u={string:"",number:0,integer:0,"null":null,"boolean":!1,object:{}};return"undefined"!=typeof n&&(n.exports={instantiate:o}),s.define=a,n.exports}),e.registerDynamic("27",["26"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("26"),r.define=i,n.exports}),e.registerDynamic("28",["27"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("27"),r.define=i,n.exports}),e.register("f",["3","4","5","6","7","28"],function(e){var t,n,r,i,o,s,a,u;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]}],execute:function(){"use strict";u=function(e){function n(e){s(this,u),r(Object.getPrototypeOf(u.prototype),"constructor",this).call(this,e)}i(n,e),o(n,[{key:"init",value:function(){if(this.data={},this.componentSchema&&this.pointer){var e={},t=void 0;this.componentSchema.schema&&(e=this.componentSchema,this.componentSchema=this.componentSchema.schema),e.examples&&e.examples["application/json"]?t=e.examples["application/json"]:(this.dereference(this.componentSchema),t=a.instantiate(this.componentSchema)),this.data.sample=t}}}]);var u=n;return n=t({selector:"schema-sample",template:'\n <div class="snippet">\n <!-- in case sample is not available for some reason -->\n <pre *ngIf="data.sample == null"> Sample unavailable </pre>\n <pre>{{data.sample | json}}</pre>\n </div>\n ',styles:["\n pre {\n background-color: transparent;\n padding: 0;\n }\n "]})(n)||n}(n),e("default",u)}}}),e.registerDynamic("29",["2a","2b","2c","2d"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("2a"),s=e("2b")("iterator"),a=e("2c");return n.exports=e("2d").isIterable=function(e){var t=Object(e);return void 0!==t[s]||"@@iterator"in t||a.hasOwnProperty(o(t))},r.define=i,n.exports}),e.registerDynamic("2e",["2f","30","29"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("2f"),e("30"),n.exports=e("29"),r.define=i,n.exports}),e.registerDynamic("31",["2e"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("2e"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("11",["32","31"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("32")["default"],s=e("31")["default"];return t["default"]=function(){function e(e,t){var n=[],r=!0,i=!1,s=void 0;try{for(var a,u=o(e);!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,s=c}finally{try{!r&&u["return"]&&u["return"]()}finally{if(i)throw s}}return n}return function(t,n){if(Array.isArray(t))return t;if(s(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),t.__esModule=!0,r.define=i,n.exports}),e.register("1d",["14"],function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.EventEmitter}],execute:function(){n=new t,r={bootstrapped:n},e("redocEvents",r)}}}),e.registerDynamic("33",["20","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},i=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},o=e("20"),s=function(){function e(e){this.name=e}return e=r([o.CONST(),i("design:paramtypes",[String])],e)}();t.AngularEntrypoint=s}(e("34")),r.define=i,n.exports}),e.registerDynamic("35",["36","20","37","38","39","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},s=e("36"),a=e("20"),u=e("37"),c=e("38"),l=e("39"),p=["alt","control","meta","shift"],f={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},d=function(e){function t(){e.call(this)}return r(t,e),t.prototype.supports=function(e){return a.isPresent(t.parseEventName(e))},t.prototype.addEventListener=function(e,n,r){var i=t.parseEventName(n),o=t.eventCallback(e,u.StringMapWrapper.get(i,"fullKey"),r,this.manager.getZone());this.manager.getZone().runOutsideAngular(function(){s.DOM.on(e,u.StringMapWrapper.get(i,"domEventName"),o)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||!a.StringWrapper.equals(r,"keydown")&&!a.StringWrapper.equals(r,"keyup"))return null;var i=t._normalizeKey(n.pop()),o="";if(p.forEach(function(e){u.ListWrapper.contains(n,e)&&(u.ListWrapper.remove(n,e),o+=e+".")}),o+=i,0!=n.length||0===i.length)return null;var s=u.StringMapWrapper.create();return u.StringMapWrapper.set(s,"domEventName",r),u.StringMapWrapper.set(s,"fullKey",o),s},t.getEventFullKey=function(e){var t="",n=s.DOM.getEventKey(e);return n=n.toLowerCase(),a.StringWrapper.equals(n," ")?n="space":a.StringWrapper.equals(n,".")&&(n="dot"),p.forEach(function(r){if(r!=n){var i=u.StringMapWrapper.get(f,r);i(e)&&(t+=r+".")}}),t+=n},t.eventCallback=function(e,n,r,i){return function(e){a.StringWrapper.equals(t.getEventFullKey(e),n)&&i.run(function(){return r(e)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t=i([l.Injectable(),o("design:paramtypes",[])],t)}(c.EventManagerPlugin);t.KeyEventsPlugin=d}(e("34")),r.define=i,n.exports}),e.registerDynamic("3a",["38","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("38"),a=e("37"),u={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},c=function(e){function t(){e.call(this)}return o(t,e),t.prototype.supports=function(e){return e=e.toLowerCase(),a.StringMapWrapper.contains(u,e)},t}(s.EventManagerPlugin);return t.HammerGesturesPluginCommon=c,r.define=i,n.exports}),e.registerDynamic("3b",["3a","20","3c","39"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("3a"),c=e("20"),l=e("3c"),p=e("39"),f=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.supports=function(t){if(!e.prototype.supports.call(this,t))return!1;if(!c.isPresent(window.Hammer))throw new l.BaseException("Hammer.js is not loaded, can not bind "+t+" event");return!0},t.prototype.addEventListener=function(e,t,n){var r=this.manager.getZone();t=t.toLowerCase(),r.runOutsideAngular(function(){var i=new Hammer(e);i.get("pinch").set({enable:!0}),i.get("rotate").set({enable:!0}),i.on(t,function(e){r.run(function(){n(e)})})})},t=s([p.Injectable(),a("design:paramtypes",[])],t)}(u.HammerGesturesPluginCommon);return t.HammerGesturesPlugin=f,r.define=i,n.exports}),e.registerDynamic("3d",["37","20","36","3e"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("37"),a=e("20"),u=e("36"),c=e("3e"),l=function(e){function t(){var t=this;e.call(this),this._animationPrefix=null,this._transitionEnd=null;try{var n=this.createElement("div",this.defaultDoc());if(a.isPresent(this.getStyle(n,"animationName")))this._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i<r.length;i++)if(a.isPresent(this.getStyle(n,r[i]+"AnimationName"))){this._animationPrefix="-"+r[i].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};s.StringMapWrapper.forEach(o,function(e,r){a.isPresent(t.getStyle(n,r))&&(t._transitionEnd=e)})}catch(u){this._animationPrefix=null,this._transitionEnd=null}}return o(t,e),t.prototype.getXHR=function(){return c.XHRImpl},t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return a.isFunction(this.defaultDoc().body.createShadowRoot)},t.prototype.getAnimationPrefix=function(){return a.isPresent(this._animationPrefix)?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return a.isPresent(this._transitionEnd)?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return a.isPresent(this._animationPrefix)&&a.isPresent(this._transitionEnd)},t}(u.DomAdapter);return t.GenericBrowserDomAdapter=l,r.define=i,n.exports}),e.registerDynamic("3f",["37","20","36","3d"],!0,function(e,t,n){"use strict";function r(){return c.isBlank(y)&&(y=document.querySelector("base"),c.isBlank(y))?null:y.getAttribute("href")}function i(e){return c.isBlank(g)&&(g=document.createElement("a")),g.setAttribute("href",e),"/"===g.pathname.charAt(0)?g.pathname:"/"+g.pathname}var o=this,s=o.define;o.define=void 0;var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=e("37"),c=e("20"),l=e("36"),p=e("3d"),f={"class":"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},d=3,h={"\b":"Backspace"," ":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},m={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},v=function(e){function t(){e.apply(this,arguments)}return a(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){l.setRootDomAdapter(new t)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){e[t].apply(e,n)},t.prototype.logError=function(e){window.console.error?window.console.error(e):window.console.log(e)},t.prototype.log=function(e){window.console.log(e)},t.prototype.logGroup=function(e){window.console.group?(window.console.group(e),this.logError(e)):window.console.log(e)},t.prototype.logGroupEnd=function(){window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return f},enumerable:!0,configurable:!0}),t.prototype.query=function(e){return document.querySelector(e)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=document.createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||c.isPresent(e.returnValue)&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=u.ListWrapper.createFixedSize(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t){e.parentNode.insertBefore(t,e)},t.prototype.insertAllBefore=function(e,t){t.forEach(function(t){return e.parentNode.insertBefore(t,e)})},t.prototype.insertAfter=function(e,t){e.parentNode.insertBefore(t,e.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return document.createComment(e)},t.prototype.createTemplate=function(e){var t=document.createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return void 0===t&&(t=document),t.createElement(e)},t.prototype.createElementNS=function(e,t,n){return void 0===n&&(n=document),n.createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return void 0===t&&(t=document),t.createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){void 0===n&&(n=document);var r=n.createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){void 0===t&&(t=document);var n=t.createElement("style");return this.appendChild(n,this.createTextNode(e)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=null},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){void 0===n&&(n=null);var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var i=n[r];t.set(i.name,i.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.defaultDoc=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(){return document.title},t.prototype.setTitle=function(e){document.title=e||""},t.prototype.elementMatches=function(e,t){var n=!1;return e instanceof HTMLElement&&(e.matches?n=e.matches(t):e.msMatchesSelector?n=e.msMatchesSelector(t):e.webkitMatchesSelector&&(n=e.webkitMatchesSelector(t))),n},t.prototype.isTemplateElement=function(e){return e instanceof HTMLElement&&"TEMPLATE"==e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return e instanceof HTMLElement&&c.isPresent(e.shadowRoot)},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){var t=e;return this.isTemplateElement(e)&&(t=this.content(e)),document.importNode(t,!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.href},t.prototype.getEventKey=function(e){var t=e.key;if(c.isBlank(t)){if(t=e.keyIdentifier,c.isBlank(t))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===d&&m.hasOwnProperty(t)&&(t=m[t]))}return h.hasOwnProperty(t)&&(t=h[t]),t},t.prototype.getGlobalEventTarget=function(e){return"window"==e?window:"document"==e?document:"body"==e?document.body:void 0},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(){var e=r();return c.isBlank(e)?null:i(e)},t.prototype.resetBaseElement=function(){y=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.setGlobalVar=function(e,t){c.setValueOnPath(c.global,e,t)},t.prototype.requestAnimationFrame=function(e){return window.requestAnimationFrame(e)},t.prototype.cancelAnimationFrame=function(e){window.cancelAnimationFrame(e)},t.prototype.performanceNow=function(){return c.isPresent(window.performance)&&c.isPresent(window.performance.now)?window.performance.now():c.DateWrapper.toMillis(c.DateWrapper.now())},t}(p.GenericBrowserDomAdapter);t.BrowserDomAdapter=v;var y=null,g=null;return o.define=s,n.exports}),e.registerDynamic("40",["20","36","14"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("36"),a=e("14"),u=function(){function e(e){this._testability=e}return e.prototype.isStable=function(){return this._testability.isStable()},e.prototype.whenStable=function(e){this._testability.whenStable(e)},e.prototype.findBindings=function(e,t,n){return this.findProviders(e,t,n)},e.prototype.findProviders=function(e,t,n){return this._testability.findBindings(e,t,n)},e}(),c=function(){function e(){}return e.init=function(){a.setTestabilityGetter(new e)},e.prototype.addToWindow=function(e){o.global.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return new u(r)},o.global.getAllAngularTestabilities=function(){var t=e.getAllTestabilities();return t.map(function(e){return new u(e)})}},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return o.isPresent(r)?r:n?s.DOM.isShadowRoot(t)?this.findTestabilityInTree(e,s.DOM.getHost(t),!0):this.findTestabilityInTree(e,s.DOM.parentElement(t),!0):null},e}();return t.BrowserGetTestability=c,r.define=i,n.exports}),e.registerDynamic("41",[],!0,function(e,t,n){"use strict";function r(){}var i=this,o=i.define;return i.define=void 0,t.wtfInit=r,i.define=o,n.exports}),e.registerDynamic("42",["36"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("36"),s=function(){function e(){}return e.prototype.getTitle=function(){return o.DOM.getTitle()},e.prototype.setTitle=function(e){o.DOM.setTitle(e)},e}();return t.Title=s,r.define=i,n.exports}),e.registerDynamic("43",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(){this.classesToAdd=[],this.classesToRemove=[],this.animationClasses=[]}return e}();return t.CssAnimationOptions=o,r.define=i,n.exports}),e.registerDynamic("44",["20","45","46","37","36"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("45"),a=e("46"),u=e("37"),c=e("36"),l=function(){function e(e,t,n){var r=this;this.element=e,this.data=t,this.browserDetails=n,this.callbacks=[],this.eventClearFunctions=[],this.completed=!1,this._stringPrefix="",this.startTime=o.DateWrapper.toMillis(o.DateWrapper.now()),this._stringPrefix=c.DOM.getAnimationPrefix(),this.setup(),this.wait(function(e){return r.start()})}return Object.defineProperty(e.prototype,"totalTime",{get:function(){var e=null!=this.computedDelay?this.computedDelay:0,t=null!=this.computedDuration?this.computedDuration:0;return e+t},enumerable:!0,configurable:!0}),e.prototype.wait=function(e){this.browserDetails.raf(e,2)},e.prototype.setup=function(){null!=this.data.fromStyles&&this.applyStyles(this.data.fromStyles),null!=this.data.duration&&this.applyStyles({transitionDuration:this.data.duration.toString()+"ms"}),null!=this.data.delay&&this.applyStyles({transitionDelay:this.data.delay.toString()+"ms"})},e.prototype.start=function(){this.addClasses(this.data.classesToAdd),this.addClasses(this.data.animationClasses),this.removeClasses(this.data.classesToRemove),null!=this.data.toStyles&&this.applyStyles(this.data.toStyles);var e=c.DOM.getComputedStyle(this.element);this.computedDelay=s.Math.max(this.parseDurationString(e.getPropertyValue(this._stringPrefix+"transition-delay")),this.parseDurationString(this.element.style.getPropertyValue(this._stringPrefix+"transition-delay"))),this.computedDuration=s.Math.max(this.parseDurationString(e.getPropertyValue(this._stringPrefix+"transition-duration")),this.parseDurationString(this.element.style.getPropertyValue(this._stringPrefix+"transition-duration"))),this.addEvents()},e.prototype.applyStyles=function(e){var t=this;u.StringMapWrapper.forEach(e,function(e,n){var r=a.camelCaseToDashCase(n);o.isPresent(c.DOM.getStyle(t.element,r))?c.DOM.setStyle(t.element,r,e.toString()):c.DOM.setStyle(t.element,t._stringPrefix+r,e.toString())})},e.prototype.addClasses=function(e){for(var t=0,n=e.length;n>t;t++)c.DOM.addClass(this.element,e[t])},e.prototype.removeClasses=function(e){for(var t=0,n=e.length;n>t;t++)c.DOM.removeClass(this.element,e[t])},e.prototype.addEvents=function(){var e=this;this.totalTime>0?this.eventClearFunctions.push(c.DOM.onAndCancel(this.element,c.DOM.getTransitionEnd(),function(t){return e.handleAnimationEvent(t);
|
||
})):this.handleAnimationCompleted()},e.prototype.handleAnimationEvent=function(e){var t=s.Math.round(1e3*e.elapsedTime);this.browserDetails.elapsedTimeIncludesDelay||(t+=this.computedDelay),e.stopPropagation(),t>=this.totalTime&&this.handleAnimationCompleted()},e.prototype.handleAnimationCompleted=function(){this.removeClasses(this.data.animationClasses),this.callbacks.forEach(function(e){return e()}),this.callbacks=[],this.eventClearFunctions.forEach(function(e){return e()}),this.eventClearFunctions=[],this.completed=!0},e.prototype.onComplete=function(e){return this.completed?e():this.callbacks.push(e),this},e.prototype.parseDurationString=function(e){var t=0;if(null==e||e.length<2)return t;if("ms"==e.substring(e.length-2)){var n=o.NumberWrapper.parseInt(this.stripLetters(e),10);n>t&&(t=n)}else if("s"==e.substring(e.length-1)){var r=1e3*o.NumberWrapper.parseFloat(this.stripLetters(e)),n=s.Math.floor(r);n>t&&(t=n)}return t},e.prototype.stripLetters=function(e){return o.StringWrapper.replaceAll(e,o.RegExpWrapper.create("[^0-9]+$",""),"")},e}();return t.Animation=l,r.define=i,n.exports}),e.registerDynamic("47",["43","44"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("43"),s=e("44"),a=function(){function e(e){this.browserDetails=e,this.data=new o.CssAnimationOptions}return e.prototype.addAnimationClass=function(e){return this.data.animationClasses.push(e),this},e.prototype.addClass=function(e){return this.data.classesToAdd.push(e),this},e.prototype.removeClass=function(e){return this.data.classesToRemove.push(e),this},e.prototype.setDuration=function(e){return this.data.duration=e,this},e.prototype.setDelay=function(e){return this.data.delay=e,this},e.prototype.setStyles=function(e,t){return this.setFromStyles(e).setToStyles(t)},e.prototype.setFromStyles=function(e){return this.data.fromStyles=e,this},e.prototype.setToStyles=function(e){return this.data.toStyles=e,this},e.prototype.start=function(e){return new s.Animation(e,this.data,this.browserDetails)},e}();return t.CssAnimationBuilder=a,r.define=i,n.exports}),e.registerDynamic("45",["20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20");return t.Math=o.global.Math,t.NaN=typeof t.NaN,r.define=i,n.exports}),e.registerDynamic("48",["39","45","36"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("39"),u=e("45"),c=e("36"),l=function(){function e(){this.elapsedTimeIncludesDelay=!1,this.doesElapsedTimeIncludesDelay()}return e.prototype.doesElapsedTimeIncludesDelay=function(){var e=this,t=c.DOM.createElement("div");c.DOM.setAttribute(t,"style","position: absolute; top: -9999px; left: -9999px; width: 1px;\n height: 1px; transition: all 1ms linear 1ms;"),this.raf(function(n){c.DOM.on(t,"transitionend",function(n){var r=u.Math.round(1e3*n.elapsedTime);e.elapsedTimeIncludesDelay=2==r,c.DOM.remove(t)}),c.DOM.setStyle(t,"width","2px")},2)},e.prototype.raf=function(e,t){void 0===t&&(t=1);var n=new p(e,t);return function(){return n.cancel()}},e=o([a.Injectable(),s("design:paramtypes",[])],e)}();t.BrowserDetails=l;var p=function(){function e(e,t){this.callback=e,this.frames=t,this._raf()}return e.prototype._raf=function(){var e=this;this.currentFrameId=c.DOM.requestAnimationFrame(function(t){return e._nextFrame(t)})},e.prototype._nextFrame=function(e){this.frames--,this.frames>0?this._raf():this.callback(e)},e.prototype.cancel=function(){c.DOM.cancelAnimationFrame(this.currentFrameId),this.currentFrameId=null},e}();return r.define=i,n.exports}),e.registerDynamic("49",["39","47","48"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("39"),u=e("47"),c=e("48"),l=function(){function e(e){this.browserDetails=e}return e.prototype.css=function(){return new u.CssAnimationBuilder(this.browserDetails)},e=o([a.Injectable(),s("design:paramtypes",[c.BrowserDetails])],e)}();return t.AnimationBuilder=l,r.define=i,n.exports}),e.registerDynamic("46",["20"],!0,function(e,t,n){"use strict";function r(e){return a.StringWrapper.replaceAllMapped(e,u,function(e){return"-"+e[1].toLowerCase()})}function i(e){return a.StringWrapper.replaceAllMapped(e,c,function(e){return e[1].toUpperCase()})}var o=this,s=o.define;o.define=void 0;var a=e("20"),u=/([A-Z])/g,c=/-([a-z])/g;return t.camelCaseToDashCase=r,t.dashCaseToCamelCase=i,o.define=s,n.exports}),e.registerDynamic("4a",["39","49","20","3c","4b","4c","14","38","4d","4e","4f","50","36","46"],!0,function(e,t,n){"use strict";function r(e){return e}function i(e){return e.nodes}function o(e,t){var n=A.DOM.parentElement(e);if(t.length>0&&v.isPresent(n)){var r=A.DOM.nextSibling(e);if(v.isPresent(r))for(var i=0;i<t.length;i++)A.DOM.insertBefore(r,t[i]);else for(var i=0;i<t.length;i++)A.DOM.appendChild(n,t[i])}}function s(e){return function(t){var n=e(t);n||A.DOM.preventDefault(t)}}function a(e){if("@"!=e[0])return[null,e];var t=v.RegExpWrapper.firstMatch(k,e);return[t[1],t[2]]}var u=this,c=u.define;u.define=void 0;var l=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},p=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},f=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},d=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},h=e("39"),m=e("49"),v=e("20"),y=e("3c"),g=e("4b"),b=e("4c"),_=e("14"),E=e("38"),D=e("4d"),w=e("4e"),C=e("4f"),x=e("50"),A=e("36"),P=e("46"),S=v.CONST_EXPR({xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"}),O="template bindings={}",R=/^template bindings=(.*)$/g,I=function(e){function t(){e.apply(this,arguments)}return l(t,e),t.prototype.getNativeElementSync=function(e){return r(e.renderView).boundElements[e.boundElementIndex]},t.prototype.getRootNodes=function(e){return i(e)},t.prototype.attachFragmentAfterFragment=function(e,t){var n=i(e);if(n.length>0){var r=n[n.length-1],s=i(t);o(r,s),this.animateNodesEnter(s)}},t.prototype.animateNodesEnter=function(e){for(var t=0;t<e.length;t++)this.animateNodeEnter(e[t])},t.prototype.attachFragmentAfterElement=function(e,t){var n=r(e.renderView),s=n.boundElements[e.boundElementIndex],a=i(t);o(s,a),this.animateNodesEnter(a)},t.prototype.hydrateView=function(e){r(e).hydrate()},t.prototype.dehydrateView=function(e){r(e).dehydrate()},t.prototype.createTemplateAnchor=function(e){return A.DOM.createComment(O)},t.prototype.createText=function(e){return A.DOM.createTextNode(v.isPresent(e)?e:"")},t.prototype.appendChild=function(e,t){A.DOM.appendChild(e,t)},t.prototype.setElementProperty=function(e,t,n){var i=r(e.renderView);A.DOM.setProperty(i.boundElements[e.boundElementIndex],t,n)},t.prototype.setElementAttribute=function(e,t,n){var i=r(e.renderView),o=i.boundElements[e.boundElementIndex];v.isPresent(n)?A.DOM.setAttribute(o,t,v.stringify(n)):A.DOM.removeAttribute(o,t)},t.prototype.setBindingDebugInfo=function(e,t,n){var i=r(e.renderView),o=i.boundElements[e.boundElementIndex],s=P.camelCaseToDashCase(t);if(A.DOM.isCommentNode(o)){var a=v.RegExpWrapper.firstMatch(R,v.StringWrapper.replaceAll(A.DOM.getText(o),/\n/g,"")),u=v.Json.parse(a[1]);u[s]=n,A.DOM.setText(o,v.StringWrapper.replace(O,"{}",v.Json.stringify(u)))}else this.setElementAttribute(e,t,n)},t.prototype.setElementClass=function(e,t,n){var i=r(e.renderView),o=i.boundElements[e.boundElementIndex];n?A.DOM.addClass(o,t):A.DOM.removeClass(o,t)},t.prototype.setElementStyle=function(e,t,n){var i=r(e.renderView),o=i.boundElements[e.boundElementIndex];v.isPresent(n)?A.DOM.setStyle(o,t,v.stringify(n)):A.DOM.removeStyle(o,t)},t.prototype.invokeElementMethod=function(e,t,n){var i=r(e.renderView),o=i.boundElements[e.boundElementIndex];A.DOM.invoke(o,t,n)},t.prototype.setText=function(e,t,n){var i=r(e);A.DOM.setText(i.boundTextNodes[t],n)},t.prototype.setEventDispatcher=function(e,t){r(e).setEventDispatcher(t)},t}(_.Renderer);t.DomRenderer=I;var T=function(e){function t(t,n,r,i){e.call(this),this._eventManager=t,this._domSharedStylesHost=n,this._animate=r,this._componentTpls=new Map,this._createRootHostViewScope=b.wtfCreateScope("DomRenderer#createRootHostView()"),this._createViewScope=b.wtfCreateScope("DomRenderer#createView()"),this._detachFragmentScope=b.wtfCreateScope("DomRenderer#detachFragment()"),this._document=i}return l(t,e),t.prototype.registerComponentTemplate=function(e){if(this._componentTpls.set(e.id,e),e.encapsulation!==x.ViewEncapsulation.Native){var t=w.encapsulateStyles(e);this._domSharedStylesHost.addStyles(t)}},t.prototype.createProtoView=function(e,t){return new C.DefaultProtoViewRef(this._componentTpls.get(e),t)},t.prototype.resolveComponentTemplate=function(e){return this._componentTpls.get(e)},t.prototype.createRootHostView=function(e,t,n){var r=this._createRootHostViewScope(),i=A.DOM.querySelector(this._document,n);if(v.isBlank(i))throw b.wtfLeave(r),new y.BaseException('The selector "'+n+'" did not match any elements');return b.wtfLeave(r,this._createView(e,i))},t.prototype.createView=function(e,t){var n=this._createViewScope();return b.wtfLeave(n,this._createView(e,null))},t.prototype._createView=function(e,t){for(var n=e,r=w.createRenderView(n.template,n.cmds,t,this),i=r.nativeShadowRoots,o=0;o<i.length;o++)this._domSharedStylesHost.addHost(i[o]);return new _.RenderViewWithFragments(r,r.fragments)},t.prototype.destroyView=function(e){for(var t=e,n=t.nativeShadowRoots,r=0;r<n.length;r++)this._domSharedStylesHost.removeHost(n[r])},t.prototype.animateNodeEnter=function(e){A.DOM.isElementNode(e)&&A.DOM.hasClass(e,"ng-animate")&&(A.DOM.addClass(e,"ng-enter"),this._animate.css().addAnimationClass("ng-enter-active").start(e).onComplete(function(){A.DOM.removeClass(e,"ng-enter")}))},t.prototype.animateNodeLeave=function(e){A.DOM.isElementNode(e)&&A.DOM.hasClass(e,"ng-animate")?(A.DOM.addClass(e,"ng-leave"),this._animate.css().addAnimationClass("ng-leave-active").start(e).onComplete(function(){A.DOM.removeClass(e,"ng-leave"),A.DOM.remove(e)})):A.DOM.remove(e)},t.prototype.detachFragment=function(e){for(var t=this._detachFragmentScope(),n=i(e),r=0;r<n.length;r++)this.animateNodeLeave(n[r]);b.wtfLeave(t)},t.prototype.createElement=function(e,t){var n=a(e),r=v.isPresent(n[0])?A.DOM.createElementNS(S[n[0]],n[1]):A.DOM.createElement(n[1]);return this._setAttributes(r,t),r},t.prototype.mergeElement=function(e,t){A.DOM.clearNodes(e),this._setAttributes(e,t)},t.prototype._setAttributes=function(e,t){for(var n=0;n<t.length;n+=2){var r,i=t[n],o=a(i);v.isPresent(o[0])&&(i=o[0]+":"+o[1],r=S[o[0]]);var s=t[n+1];v.isPresent(r)?A.DOM.setAttributeNS(e,r,i,s):A.DOM.setAttribute(e,o[1],s)}},t.prototype.createRootContentInsertionPoint=function(){return A.DOM.createComment("root-content-insertion-point")},t.prototype.createShadowRoot=function(e,t){for(var n=A.DOM.createShadowRoot(e),r=this._componentTpls.get(t),i=0;i<r.styles.length;i++)A.DOM.appendChild(n,A.DOM.createStyleElement(r.styles[i]));return n},t.prototype.on=function(e,t,n){this._eventManager.addEventListener(e,t,s(n))},t.prototype.globalOn=function(e,t,n){return this._eventManager.addGlobalEventListener(e,t,s(n))},t=p([h.Injectable(),d(3,h.Inject(D.DOCUMENT)),f("design:paramtypes",[E.EventManager,g.DomSharedStylesHost,m.AnimationBuilder,Object])],t)}(I);t.DomRenderer_=T;var k=/^@([^:]+):(.+)/g;return u.define=c,n.exports}),e.registerDynamic("4d",["39","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("39"),s=e("20");return t.DOCUMENT=s.CONST_EXPR(new o.OpaqueToken("DocumentToken")),r.define=i,n.exports}),e.registerDynamic("4b",["36","39","37","4d"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("36"),l=e("39"),p=e("37"),f=e("4d"),d=function(){function e(){this._styles=[],this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=[];e.forEach(function(e){p.SetWrapper.has(t._stylesSet,e)||(t._stylesSet.add(e),t._styles.push(e),n.push(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return this._styles},e=s([l.Injectable(),a("design:paramtypes",[])],e)}();t.SharedStylesHost=d;var h=function(e){function t(t){e.call(this),this._hostNodes=new Set,this._hostNodes.add(t.head)}return o(t,e),t.prototype._addStylesToHost=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];c.DOM.appendChild(t,c.DOM.createStyleElement(r))}},t.prototype.addHost=function(e){this._addStylesToHost(this._styles,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){p.SetWrapper["delete"](this._hostNodes,e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){t._addStylesToHost(e,n)})},t=s([l.Injectable(),u(0,l.Inject(f.DOCUMENT)),a("design:paramtypes",[Object])],t)}(d);return t.DomSharedStylesHost=h,r.define=i,n.exports}),e.registerDynamic("51",["36","14","38"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("36"),c=e("14"),l=e("38"),p=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this.manager.getZone(),i=function(e){return r.run(function(){return n(e)})};this.manager.getZone().runOutsideAngular(function(){u.DOM.on(e,t,i)})},t.prototype.addGlobalEventListener=function(e,t,n){var r=u.DOM.getGlobalEventTarget(e),i=this.manager.getZone(),o=function(e){return i.run(function(){return n(e)})};return this.manager.getZone().runOutsideAngular(function(){return u.DOM.onAndCancel(r,t,o)})},t=s([c.Injectable(),a("design:paramtypes",[])],t)}(l.EventManagerPlugin);return t.DomEventsPlugin=p,r.define=i,n.exports}),e.registerDynamic("38",["20","3c","39","52","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},u=e("20"),c=e("3c"),l=e("39"),p=e("52"),f=e("37");t.EVENT_MANAGER_PLUGINS=u.CONST_EXPR(new l.OpaqueToken("EventManagerPlugins"));var d=function(){function e(e,t){var n=this;this._zone=t,e.forEach(function(e){return e.manager=n}),this._plugins=f.ListWrapper.reversed(e)}return e.prototype.addEventListener=function(e,t,n){var r=this._findPluginFor(t);r.addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){var r=this._findPluginFor(t);return r.addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){for(var t=this._plugins,n=0;n<t.length;n++){var r=t[n];if(r.supports(e))return r}throw new c.BaseException("No event manager plugin found for event "+e)},e=o([l.Injectable(),a(0,l.Inject(t.EVENT_MANAGER_PLUGINS)),s("design:paramtypes",[Array,p.NgZone])],e)}();t.EventManager=d;var h=function(){function e(){}return e.prototype.supports=function(e){return!1},e.prototype.addEventListener=function(e,t,n){throw"not implemented"},e.prototype.addGlobalEventListener=function(e,t,n){throw"not implemented"},e}();return t.EventManagerPlugin=h,r.define=i,n.exports}),e.registerDynamic("53",["20","36"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("36"),a=function(){function e(){}return e.all=function(){return function(e){return!0}},e.css=function(e){return function(t){return o.isPresent(t.nativeElement)?s.DOM.elementMatches(t.nativeElement,e):!1}},e.directive=function(e){return function(t){return t.hasDirective(e)}},e}();return t.By=a,r.define=i,n.exports}),e.registerDynamic("54",["20","37","39","55","36","56","57"],!0,function(e,t,n){"use strict";function r(e,t){l.isPresent(e)&&h.DOM.isElementNode(e)&&h.DOM.setData(e,y,t.join(b))}function i(e){var t=h.DOM.getData(e,y);return l.isPresent(t)?t.split(b).map(function(e){return l.NumberWrapper.parseInt(e,10)}):null}function o(e){var t=i(e);if(l.isPresent(t)){var n=E.get(t[0]);if(l.isPresent(n))return new v.DebugElement_(n,t[1])}return null}var s=this,a=s.define;s.define=void 0;var u=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},c=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},l=e("20"),p=e("37"),f=e("39"),d=e("55"),h=e("36"),m=e("56"),v=e("57"),y="ngid",g="ng.probe",b="#",_=new p.Map,E=new p.Map,D=0;t.inspectNativeElement=o;var w=function(){function e(e){this._renderer=e,h.DOM.setGlobalVar(g,o)}return e.prototype.onViewCreated=function(e){var t=D++;E.set(t,e),_.set(e,t);for(var n=0;n<e.elementRefs.length;n++){var i=e.elementRefs[n];r(this._renderer.getNativeElementSync(i),[t,n])}},e.prototype.onViewDestroyed=function(e){var t=_.get(e);_["delete"](e),E["delete"](t)},e=u([f.Injectable(),c("design:paramtypes",[m.Renderer])],e)}();return t.DebugElementViewListener=w,t.ELEMENT_PROBE_PROVIDERS=l.CONST_EXPR([w,l.CONST_EXPR(new f.Provider(d.AppViewListener,{useExisting:w}))]),t.ELEMENT_PROBE_BINDINGS=t.ELEMENT_PROBE_PROVIDERS,s.define=a,n.exports}),e.registerDynamic("58",["36","4a","4d","4b","51","38","53","54"],!0,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=this,o=i.define;i.define=void 0;var s=e("36");t.DOM=s.DOM,t.setRootDomAdapter=s.setRootDomAdapter,t.DomAdapter=s.DomAdapter;var a=e("4a");t.DomRenderer=a.DomRenderer;var u=e("4d");t.DOCUMENT=u.DOCUMENT;var c=e("4b");t.SharedStylesHost=c.SharedStylesHost,t.DomSharedStylesHost=c.DomSharedStylesHost;var l=e("51");t.DomEventsPlugin=l.DomEventsPlugin;var p=e("38");return t.EVENT_MANAGER_PLUGINS=p.EVENT_MANAGER_PLUGINS,t.EventManager=p.EventManager,t.EventManagerPlugin=p.EventManagerPlugin,r(e("53")),r(e("54")),i.define=o,n.exports}),e.registerDynamic("59",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=window;return t.window=o,t.document=window.document,t.location=window.location,t.gc=window.gc?function(){return window.gc()}:function(){return null},t.performance=window.performance?window.performance:null,t.Event=window.Event,t.MouseEvent=window.MouseEvent,t.KeyboardEvent=window.KeyboardEvent,t.EventTarget=window.EventTarget,t.History=window.History,t.Location=window.Location,t.EventListener=window.EventListener,r.define=i,n.exports}),e.registerDynamic("5a",["5b","20","59","36"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("5b"),s=e("20"),a=e("59"),u=e("36"),c=function(){function e(e){this.profiler=new l(e)}return e}();t.AngularTools=c;var l=function(){function e(e){this.appRef=e.injector.get(o.ApplicationRef)}return e.prototype.timeChangeDetection=function(e){var t=s.isPresent(e)&&e.record,n="Change Detection",r=s.isPresent(a.window.console.profile);t&&r&&a.window.console.profile(n);for(var i=u.DOM.performanceNow(),o=0;5>o||u.DOM.performanceNow()-i<500;)this.appRef.tick(),o++;var c=u.DOM.performanceNow();t&&r&&a.window.console.profileEnd(n);var l=(c-i)/o;a.window.console.log("ran "+o+" change detection cycles"),a.window.console.log(s.NumberWrapper.toFixed(l,2)+" ms per check")},e}();return t.AngularProfiler=l,r.define=i,n.exports}),e.registerDynamic("5c",["20","5a"],!0,function(e,t,n){"use strict";function r(e){c.ng=new u.AngularTools(e)}function i(){delete c.ng}var o=this,s=o.define;o.define=void 0;var a=e("20"),u=e("5a"),c=a.global;return t.enableDebugTools=r,t.disableDebugTools=i,o.define=s,n.exports}),e.registerDynamic("5d",["20","39","14","22","5e","36","51","35","3b","4d","4a","4b","48","49","3f","40","41","38","42","58","5c"],!0,function(e,t,n){"use strict";function r(){return new l.ExceptionHandler(d.DOM,!u.IS_DART)}function i(){return d.DOM.defaultDoc()}function o(){w.BrowserDomAdapter.makeCurrent(),x.wtfInit(),C.BrowserGetTestability.init()}var s=this,a=s.define;s.define=void 0;var u=e("20"),c=e("39"),l=e("14"),p=e("22"),f=e("5e"),d=e("36"),h=e("51"),m=e("35"),v=e("3b"),y=e("4d"),g=e("4a"),b=e("4b"),_=e("4b"),E=e("48"),D=e("49"),w=e("3f"),C=e("40"),x=e("41"),A=e("38"),P=e("4d");t.DOCUMENT=P.DOCUMENT;var S=e("42");t.Title=S.Title;var O=e("58");t.DebugElementViewListener=O.DebugElementViewListener,t.ELEMENT_PROBE_PROVIDERS=O.ELEMENT_PROBE_PROVIDERS,t.ELEMENT_PROBE_BINDINGS=O.ELEMENT_PROBE_BINDINGS,t.inspectNativeElement=O.inspectNativeElement,t.By=O.By;var R=e("3f");t.BrowserDomAdapter=R.BrowserDomAdapter;var I=e("5c");return t.enableDebugTools=I.enableDebugTools,t.disableDebugTools=I.disableDebugTools,t.BROWSER_PROVIDERS=u.CONST_EXPR([l.PLATFORM_COMMON_PROVIDERS,new c.Provider(l.PLATFORM_INITIALIZER,{useValue:o,multi:!0})]),t.BROWSER_APP_COMMON_PROVIDERS=u.CONST_EXPR([l.APPLICATION_COMMON_PROVIDERS,p.FORM_PROVIDERS,new c.Provider(l.PLATFORM_PIPES,{useValue:p.COMMON_PIPES,multi:!0}),new c.Provider(l.PLATFORM_DIRECTIVES,{useValue:p.COMMON_DIRECTIVES,multi:!0}),new c.Provider(l.ExceptionHandler,{useFactory:r,deps:[]}),new c.Provider(y.DOCUMENT,{useFactory:i,deps:[]}),new c.Provider(A.EVENT_MANAGER_PLUGINS,{useClass:h.DomEventsPlugin,multi:!0}),new c.Provider(A.EVENT_MANAGER_PLUGINS,{useClass:m.KeyEventsPlugin,multi:!0}),new c.Provider(A.EVENT_MANAGER_PLUGINS,{useClass:v.HammerGesturesPlugin,multi:!0}),new c.Provider(g.DomRenderer,{useClass:g.DomRenderer_}),new c.Provider(l.Renderer,{useExisting:g.DomRenderer}),new c.Provider(_.SharedStylesHost,{useExisting:b.DomSharedStylesHost}),b.DomSharedStylesHost,f.Testability,E.BrowserDetails,D.AnimationBuilder,A.EventManager]),t.initDomAdapter=o,s.define=a,n.exports}),e.registerDynamic("5f",["60","61","62","39"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("60"),c=e("61"),l=e("62"),p=e("39"),f=function(e){function t(){e.apply(this,arguments)}return o(t,e),t}(u.Compiler);t.RuntimeCompiler=f;var d=function(e){function t(t,n){e.call(this,t),this._templateCompiler=n}return o(t,e),t.prototype.compileInHost=function(e){var t=this;return this._templateCompiler.compileHostComponentRuntime(e).then(function(e){return u.internalCreateProtoView(t,e)})},t.prototype.clearCache=function(){e.prototype.clearCache.call(this),this._templateCompiler.clearCache()},t=s([p.Injectable(),a("design:paramtypes",[c.ProtoViewFactory,l.TemplateCompiler])],t)}(u.Compiler_);return t.RuntimeCompiler_=d,r.define=i,n.exports}),e.registerDynamic("62",["20","3c","37","63","64","65","39","66","67","68","69","6a","6b","6c","6d"],!0,function(e,t,n){"use strict";function r(e){if(!e.isComponent)throw new m.BaseException("Could not compile '"+e.type.name+"' because it is not a component.")}function i(e){return e.name+"Template"}function o(e){return i(e)+"Getter"}function s(e){var t=e.substring(0,e.length-O.MODULE_SUFFIX.length);return t+".template"+O.MODULE_SUFFIX}function a(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function u(e){return""+E.moduleRef(s(e.type.moduleUrl))+o(e.type)}function c(e){var t=[];return e.forEach(function(e){var n=t.filter(function(t){return t.type.name==e.type.name&&t.type.moduleUrl==e.type.moduleUrl&&t.type.runtime==e.type.runtime}).length>0;n||t.push(e)}),t}var l=this,p=l.define;l.define=void 0;var f=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},d=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},h=e("20"),m=e("3c"),v=e("37"),y=e("63"),g=e("64"),b=e("65"),_=e("39"),E=e("66"),D=e("67"),w=e("68"),C=e("69"),x=e("6a"),A=e("6b"),P=e("6c"),S=e("69"),O=e("6d"),R=function(){function e(e,t,n,r,i,o){this._runtimeMetadataResolver=e,this._templateNormalizer=t,this._templateParser=n,this._styleCompiler=r,this._commandCompiler=i,this._cdCompiler=o,this._hostCacheKeys=new Map,this._compiledTemplateCache=new Map,this._compiledTemplateDone=new Map,this._nextTemplateId=0}return e.prototype.normalizeDirectiveMetadata=function(e){return e.isComponent?this._templateNormalizer.normalizeTemplate(e.type,e.template).then(function(t){return new b.CompileDirectiveMetadata({type:e.type,isComponent:e.isComponent,dynamicLoadable:e.dynamicLoadable,selector:e.selector,exportAs:e.exportAs,changeDetection:e.changeDetection,inputs:e.inputs,outputs:e.outputs,hostListeners:e.hostListeners,hostProperties:e.hostProperties,hostAttributes:e.hostAttributes,lifecycleHooks:e.lifecycleHooks,template:t})}):y.PromiseWrapper.resolve(e)},e.prototype.compileHostComponentRuntime=function(e){var t=this._hostCacheKeys.get(e);if(h.isBlank(t)){t=new Object,this._hostCacheKeys.set(e,t);var n=this._runtimeMetadataResolver.getMetadata(e);r(n);var i=b.createHostComponentMeta(n.type,n.selector);this._compileComponentRuntime(t,i,[n],new Set)}return this._compiledTemplateDone.get(t).then(function(e){return new g.CompiledHostTemplate(e)})},e.prototype.clearCache=function(){this._hostCacheKeys.clear(),this._styleCompiler.clearCache(),this._compiledTemplateCache.clear(),this._compiledTemplateDone.clear()},e.prototype._compileComponentRuntime=function(e,t,n,r){var i=this,o=c(n),s=this._compiledTemplateCache.get(e),a=this._compiledTemplateDone.get(e);if(h.isBlank(s)){var u,l=[],p=[],f=h.stringify(t.type.runtime)+"Template"+this._nextTemplateId++;s=new g.CompiledComponentTemplate(f,function(e){return u(e)},p,l),this._compiledTemplateCache.set(e,s),r.add(e),a=y.PromiseWrapper.all([this._styleCompiler.compileComponentRuntime(t.template)].concat(o.map(function(e){return i.normalizeDirectiveMetadata(e)}))).then(function(e){var n=[],o=e.slice(1),s=i._templateParser.parse(t.template.template,o,t.type.name),a=i._cdCompiler.compileComponentRuntime(t.type,t.changeDetection,s);u=a[0];var c=e[0];c.forEach(function(e){return l.push(e)});var f=i._compileCommandsRuntime(t,s,a,r,n);return f.forEach(function(e){return p.push(e)}),y.PromiseWrapper.all(n)}).then(function(t){return v.SetWrapper["delete"](r,e),s}),this._compiledTemplateDone.set(e,a)}return s},e.prototype._compileCommandsRuntime=function(e,t,n,r,i){var o=this,s=this._commandCompiler.compileComponentRuntime(e,t,n,function(e){var t=e.type.runtime,n=o._runtimeMetadataResolver.getViewDirectivesMetadata(e.type.runtime),s=v.SetWrapper.has(r,t),a=o._compileComponentRuntime(t,e,n,r);return s||i.push(o._compiledTemplateDone.get(t)),function(){return a}});return s.forEach(function(e){e instanceof g.BeginComponentCmd&&e.templateGetter()}),s},e.prototype.compileTemplatesCodeGen=function(e){var t=this;if(0===e.length)throw new m.BaseException("No components given");var n=[],a=[],u=[];e.forEach(function(e){var i=e.component;if(r(i),u.push(i),t._processTemplateCodeGen(i,e.directives,n,a),i.dynamicLoadable){var o=b.createHostComponentMeta(i.type,i.selector);u.push(o),t._processTemplateCodeGen(o,[i],n,a)}}),v.ListWrapper.forEachWithIndex(u,function(e,t){var r,s=e.type.moduleUrl+"|"+e.type.name,u=h.IS_DART?"const":"new",c=u+" "+S.TEMPLATE_COMMANDS_MODULE_REF+"CompiledComponentTemplate('"+s+"',"+a[t].join(",")+")";r=e.type.isHost?u+" "+S.TEMPLATE_COMMANDS_MODULE_REF+"CompiledHostTemplate("+c+")":c;var l=i(e.type);n.push(""+O.codeGenExportVariable(l)+r+";"),n.push(O.codeGenValueFn([],l,o(e.type))+";")});var c=e[0].component.type.moduleUrl;return new E.SourceModule(""+s(c),n.join("\n"))},e.prototype.compileStylesheetCodeGen=function(e,t){return this._styleCompiler.compileStylesheetCodeGen(e,t)},e.prototype._processTemplateCodeGen=function(e,t,n,r){var i=c(t),o=this._styleCompiler.compileComponentCodeGen(e.template),s=this._templateParser.parse(e.template.template,i,e.type.name),l=this._cdCompiler.compileComponentCodeGen(e.type,e.changeDetection,s),p=this._commandCompiler.compileComponentCodeGen(e,s,l.expressions,u);a(o.declarations,n),a(l.declarations,n),a(p.declarations,n),r.push([l.expressions[0],p.expression,o.expression])},e=f([_.Injectable(),d("design:paramtypes",[P.RuntimeMetadataResolver,A.TemplateNormalizer,x.TemplateParser,w.StyleCompiler,C.CommandCompiler,D.ChangeDetectionCompiler])],e);
|
||
}();t.TemplateCompiler=R;var I=function(){function e(e,t){this.component=e,this.directives=t}return e}();return t.NormalizedComponentWithViewDirectives=I,l.define=p,n.exports}),e.registerDynamic("6a",["37","20","14","3c","6e","6f","70","71","72","73","74","75","76","77","6d","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e){return l.StringWrapper.split(e.trim(),/\s+/g)}function i(e,t){var n=new b.CssSelector,i=v.splitNsName(e)[1];n.setElement(i);for(var o=0;o<t.length;o++){var s=t[o][0],a=v.splitNsName(s)[1],u=t[o][1];if(n.addAttribute(a,u),s.toLowerCase()==O){var c=r(u);c.forEach(function(e){return n.addClassName(e)})}}return n}var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("37"),l=e("20"),p=e("14"),f=e("20"),d=e("3c"),h=e("6e"),m=e("6f"),v=e("70"),y=e("71"),g=e("72"),b=e("73"),_=e("74"),E=e("75"),D=e("76"),w=e("77"),C=e("6d"),x=/^(?:(?:(?:(bind-)|(var-|#)|(on-)|(bindon-))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/g,A="template",P="template",S="*",O="class",R=".",I="attr",T="class",k="style",N=b.CssSelector.parse("*")[0];t.TEMPLATE_TRANSFORMS=f.CONST_EXPR(new p.OpaqueToken("TemplateTransforms"));var F=function(e){function t(t,n){e.call(this,n,t)}return o(t,e),t}(y.ParseError);t.TemplateParseError=F;var j=function(){function e(e,t,n,r){this._exprParser=e,this._schemaRegistry=t,this._htmlParser=n,this.transforms=r}return e.prototype.parse=function(e,t,n){var r=new M(t,this._exprParser,this._schemaRegistry),i=this._htmlParser.parse(e,n),o=w.htmlVisitAll(r,i.rootNodes,U),s=i.errors.concat(r.errors);if(s.length>0){var a=s.join("\n");throw new d.BaseException("Template parse errors:\n"+a)}return l.isPresent(this.transforms)&&this.transforms.forEach(function(e){o=g.templateVisitAll(e,o)}),o},e=s([p.Injectable(),u(3,p.Optional()),u(3,p.Inject(t.TEMPLATE_TRANSFORMS)),a("design:paramtypes",[h.Parser,_.ElementSchemaRegistry,m.HtmlParser,Array])],e)}();t.TemplateParser=j;var M=function(){function e(e,t,n){var r=this;this._exprParser=t,this._schemaRegistry=n,this.errors=[],this.directivesIndex=new Map,this.ngContentCount=0,this.selectorMatcher=new b.SelectorMatcher,c.ListWrapper.forEachWithIndex(e,function(e,t){var n=b.CssSelector.parse(e.selector);r.selectorMatcher.addSelectables(n,e),r.directivesIndex.set(e,t)})}return e.prototype._reportError=function(e,t){this.errors.push(new F(e,t.start))},e.prototype._parseInterpolation=function(e,t){var n=t.start.toString();try{return this._exprParser.parseInterpolation(e,n)}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseAction=function(e,t){var n=t.start.toString();try{return this._exprParser.parseAction(e,n)}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseBinding=function(e,t){var n=t.start.toString();try{return this._exprParser.parseBinding(e,n)}catch(r){return this._reportError(""+r,t),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype._parseTemplateBindings=function(e,t){var n=t.start.toString();try{return this._exprParser.parseTemplateBindings(e,n)}catch(r){return this._reportError(""+r,t),[]}},e.prototype.visitText=function(e,t){var n=t.findNgContentIndex(N),r=this._parseInterpolation(e.value,e.sourceSpan);return l.isPresent(r)?new g.BoundTextAst(r,n,e.sourceSpan):new g.TextAst(e.value,n,e.sourceSpan)},e.prototype.visitAttr=function(e,t){return new g.AttrAst(e.name,e.value,e.sourceSpan)},e.prototype.visitElement=function(e,t){var n=this,r=e.name,o=E.preparseElement(e);if(o.type===E.PreparsedElementType.SCRIPT||o.type===E.PreparsedElementType.STYLE)return null;if(o.type===E.PreparsedElementType.STYLESHEET&&D.isStyleUrlResolvable(o.hrefAttr))return null;var s=[],a=[],u=[],c=[],p=[],f=[],d=[],h=!1,m=[];e.attrs.forEach(function(e){s.push([e.name,e.value]);var t=n._parseAttr(e,s,a,c,u),r=n._parseInlineTemplateBinding(e,d,p,f);t||r||m.push(n.visitAttr(e,null)),r&&(h=!0)});var y,b=v.splitNsName(r.toLowerCase())[1],_=b==A,C=i(r,s),x=this._createDirectiveAsts(e.name,this._parseDirectives(this.selectorMatcher,C),a,_?[]:u,e.sourceSpan),P=this._createElementPropertyAsts(e.name,a,x),S=w.htmlVisitAll(o.nonBindable?$:this,e.children,V.create(x)),O=h?null:t.findNgContentIndex(C);if(o.type===E.PreparsedElementType.NG_CONTENT)l.isPresent(e.children)&&e.children.length>0&&this._reportError("<ng-content> element cannot have content. <ng-content> must be immediately followed by </ng-content>",e.sourceSpan),y=new g.NgContentAst(this.ngContentCount++,O,e.sourceSpan);else if(_)this._assertAllEventsPublishedByDirectives(x,c),this._assertNoComponentsNorElementBindingsOnTemplate(x,P,e.sourceSpan),y=new g.EmbeddedTemplateAst(m,c,u,x,S,O,e.sourceSpan);else{this._assertOnlyOneComponent(x,e.sourceSpan);var R=u.filter(function(e){return 0===e.value.length});y=new g.ElementAst(r,m,P,c,R,x,S,O,e.sourceSpan)}if(h){var I=i(A,d),T=this._createDirectiveAsts(e.name,this._parseDirectives(this.selectorMatcher,I),p,[],e.sourceSpan),k=this._createElementPropertyAsts(e.name,p,T);this._assertNoComponentsNorElementBindingsOnTemplate(T,k,e.sourceSpan),y=new g.EmbeddedTemplateAst([],[],f,T,[y],t.findNgContentIndex(I),e.sourceSpan)}return y},e.prototype._parseInlineTemplateBinding=function(e,t,n,r){var i=null;if(e.name==P)i=e.value;else if(e.name.startsWith(S)){var o=e.name.substring(S.length);i=0==e.value.length?o:o+" "+e.value}if(l.isPresent(i)){for(var s=this._parseTemplateBindings(i,e.sourceSpan),a=0;a<s.length;a++){var u=s[a];u.keyIsVar?(r.push(new g.VariableAst(u.key,u.name,e.sourceSpan)),t.push([u.key,u.name])):l.isPresent(u.expression)?this._parsePropertyAst(u.key,u.expression,e.sourceSpan,t,n):(t.push([u.key,""]),this._parseLiteralAttr(u.key,null,e.sourceSpan,n))}return!0}return!1},e.prototype._parseAttr=function(e,t,n,r,i){var o=this._normalizeAttributeName(e.name),s=e.value,a=l.RegExpWrapper.firstMatch(x,o),u=!1;if(l.isPresent(a))if(u=!0,l.isPresent(a[1]))this._parseProperty(a[5],s,e.sourceSpan,t,n);else if(l.isPresent(a[2])){var c=a[5];this._parseVariable(c,s,e.sourceSpan,i)}else l.isPresent(a[3])?this._parseEvent(a[5],s,e.sourceSpan,t,r):l.isPresent(a[4])?(this._parseProperty(a[5],s,e.sourceSpan,t,n),this._parseAssignmentEvent(a[5],s,e.sourceSpan,t,r)):l.isPresent(a[6])?(this._parseProperty(a[6],s,e.sourceSpan,t,n),this._parseAssignmentEvent(a[6],s,e.sourceSpan,t,r)):l.isPresent(a[7])?this._parseProperty(a[7],s,e.sourceSpan,t,n):l.isPresent(a[8])&&this._parseEvent(a[8],s,e.sourceSpan,t,r);else u=this._parsePropertyInterpolation(o,s,e.sourceSpan,t,n);return u||this._parseLiteralAttr(o,s,e.sourceSpan,n),u},e.prototype._normalizeAttributeName=function(e){return e.toLowerCase().startsWith("data-")?e.substring(5):e},e.prototype._parseVariable=function(e,t,n,r){e.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',n),r.push(new g.VariableAst(e,t,n))},e.prototype._parseProperty=function(e,t,n,r,i){this._parsePropertyAst(e,this._parseBinding(t,n),n,r,i)},e.prototype._parsePropertyInterpolation=function(e,t,n,r,i){var o=this._parseInterpolation(t,n);return l.isPresent(o)?(this._parsePropertyAst(e,o,n,r,i),!0):!1},e.prototype._parsePropertyAst=function(e,t,n,r,i){r.push([e,t.source]),i.push(new L(e,t,!1,n))},e.prototype._parseAssignmentEvent=function(e,t,n,r,i){this._parseEvent(e+"Change",t+"=$event",n,r,i)},e.prototype._parseEvent=function(e,t,n,r,i){var o=C.splitAtColon(e,[null,e]),s=o[0],a=o[1];i.push(new g.BoundEventAst(a,s,this._parseAction(t,n),n))},e.prototype._parseLiteralAttr=function(e,t,n,r){r.push(new L(e,this._exprParser.wrapLiteralPrimitive(t,""),!0,n))},e.prototype._parseDirectives=function(e,t){var n=this,r=[];return e.match(t,function(e,t){r.push(t)}),c.ListWrapper.sort(r,function(e,t){var r=e.isComponent,i=t.isComponent;return r&&!i?-1:!r&&i?1:n.directivesIndex.get(e)-n.directivesIndex.get(t)}),r},e.prototype._createDirectiveAsts=function(e,t,n,r,i){var o=this,s=new Set,a=t.map(function(t){var a=[],u=[],c=[];o._createDirectiveHostPropertyAsts(e,t.hostProperties,i,a),o._createDirectiveHostEventAsts(t.hostListeners,i,u),o._createDirectivePropertyAsts(t.inputs,n,c);var l=[];return r.forEach(function(e){(0===e.value.length&&t.isComponent||t.exportAs==e.value)&&(l.push(e),s.add(e.name))}),new g.DirectiveAst(t,c,a,u,l,i)});return r.forEach(function(e){e.value.length>0&&!c.SetWrapper.has(s,e.name)&&o._reportError('There is no directive with "exportAs" set to "'+e.value+'"',e.sourceSpan)}),a},e.prototype._createDirectiveHostPropertyAsts=function(e,t,n,r){var i=this;l.isPresent(t)&&c.StringMapWrapper.forEach(t,function(t,o){var s=i._parseBinding(t,n);r.push(i._createElementPropertyAst(e,o,s,n))})},e.prototype._createDirectiveHostEventAsts=function(e,t,n){var r=this;l.isPresent(e)&&c.StringMapWrapper.forEach(e,function(e,i){r._parseEvent(i,e,t,[],n)})},e.prototype._createDirectivePropertyAsts=function(e,t,n){if(l.isPresent(e)){var r=new Map;t.forEach(function(e){var t=r.get(e.name);(l.isBlank(t)||t.isLiteral)&&r.set(e.name,e)}),c.StringMapWrapper.forEach(e,function(e,t){var i=r.get(e);l.isPresent(i)&&n.push(new g.BoundDirectivePropertyAst(t,i.name,i.expression,i.sourceSpan))})}},e.prototype._createElementPropertyAsts=function(e,t,n){var r=this,i=[],o=new Map;return n.forEach(function(e){e.inputs.forEach(function(e){o.set(e.templateName,e)})}),t.forEach(function(t){!t.isLiteral&&l.isBlank(o.get(t.name))&&i.push(r._createElementPropertyAst(e,t.name,t.expression,t.sourceSpan))}),i},e.prototype._createElementPropertyAst=function(e,t,n,r){var i,o,s=null,a=t.split(R);return 1===a.length?(o=this._schemaRegistry.getMappedPropName(a[0]),i=g.PropertyBindingType.Property,this._schemaRegistry.hasProperty(e,o)||this._reportError("Can't bind to '"+o+"' since it isn't a known native property",r)):a[0]==I?(o=a[1],i=g.PropertyBindingType.Attribute):a[0]==T?(o=a[1],i=g.PropertyBindingType.Class):a[0]==k?(s=a.length>2?a[2]:null,o=a[1],i=g.PropertyBindingType.Style):(this._reportError("Invalid property name '"+t+"'",r),i=null),new g.BoundElementPropertyAst(o,i,n,s,r)},e.prototype._findComponentDirectiveNames=function(e){var t=[];return e.forEach(function(e){var n=e.directive.type.name;e.directive.isComponent&&t.push(n)}),t},e.prototype._assertOnlyOneComponent=function(e,t){var n=this._findComponentDirectiveNames(e);n.length>1&&this._reportError("More than one component: "+n.join(","),t)},e.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(e,t,n){var r=this,i=this._findComponentDirectiveNames(e);i.length>0&&this._reportError("Components on an embedded template: "+i.join(","),n),t.forEach(function(e){r._reportError("Property binding "+e.name+" not used by any directive on an embedded template",n)})},e.prototype._assertAllEventsPublishedByDirectives=function(e,t){var n=this,r=new Set;e.forEach(function(e){c.StringMapWrapper.forEach(e.directive.outputs,function(e,t){r.add(e)})}),t.forEach(function(e){(l.isPresent(e.target)||!c.SetWrapper.has(r,e.name))&&n._reportError("Event binding "+e.fullName+" not emitted by any directive on an embedded template",e.sourceSpan)})},e}(),B=function(){function e(){}return e.prototype.visitElement=function(e,t){var n=E.preparseElement(e);if(n.type===E.PreparsedElementType.SCRIPT||n.type===E.PreparsedElementType.STYLE||n.type===E.PreparsedElementType.STYLESHEET)return null;var r=e.attrs.map(function(e){return[e.name,e.value]}),o=i(e.name,r),s=t.findNgContentIndex(o),a=w.htmlVisitAll(this,e.children,U);return new g.ElementAst(e.name,w.htmlVisitAll(this,e.attrs),[],[],[],[],a,s,e.sourceSpan)},e.prototype.visitAttr=function(e,t){return new g.AttrAst(e.name,e.value,e.sourceSpan)},e.prototype.visitText=function(e,t){var n=t.findNgContentIndex(N);return new g.TextAst(e.value,n,e.sourceSpan)},e}(),L=function(){function e(e,t,n,r){this.name=e,this.expression=t,this.isLiteral=n,this.sourceSpan=r}return e}();t.splitClasses=r;var V=function(){function e(e,t){this.ngContentIndexMatcher=e,this.wildcardNgContentIndex=t}return e.create=function(t){if(0===t.length||!t[0].directive.isComponent)return U;for(var n=new b.SelectorMatcher,r=t[0].directive.template.ngContentSelectors,i=null,o=0;o<r.length;o++){var s=r[o];l.StringWrapper.equals(s,"*")?i=o:n.addSelectables(b.CssSelector.parse(r[o]),o)}return new e(n,i)},e.prototype.findNgContentIndex=function(e){var t=[];return this.ngContentIndexMatcher.match(e,function(e,n){t.push(n)}),c.ListWrapper.sort(t),l.isPresent(this.wildcardNgContentIndex)&&t.push(this.wildcardNgContentIndex),t.length>0?t[0]:null},e}(),U=new V(new b.SelectorMatcher,null),$=new B}(e("34")),r.define=i,n.exports}),e.registerDynamic("77",["20"],!0,function(e,t,n){"use strict";function r(e,t,n){void 0===n&&(n=null);var r=[];return t.forEach(function(t){var i=t.visit(e,n);s.isPresent(i)&&r.push(i)}),r}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=function(){function e(e,t){this.value=e,this.sourceSpan=t}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e}();t.HtmlTextAst=a;var u=function(){function e(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitAttr(this,t)},e}();t.HtmlAttrAst=u;var c=function(){function e(e,t,n,r){this.name=e,this.attrs=t,this.children=n,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitElement(this,t)},e}();return t.HtmlElementAst=c,t.htmlVisitAll=r,i.define=o,n.exports}),e.registerDynamic("78",["20","37","71","70","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e,t){return new te(new b.ParseSourceFile(e,t)).tokenize()}function i(e){var t=e===x?"EOF":y.StringWrapper.fromCharCode(e);return'Unexpected character "'+t+'"'}function o(e){return'Unknown entity "'+e+'" - use the "&#<decimal>;" or "&#x<hex>;" syntax'}function s(e){return!a(e)||e===x}function a(e){return e>=A&&O>=e||e===Z}function u(e){return a(e)||e===W||e===j||e===N||e===I||e===$}function c(e){return(K>e||e>X)&&(H>e||e>q)&&(M>e||e>L)}function l(e){return e==B||e==x||!h(e)}function p(e){return e==B||e==x||!d(e)}function f(e){return e===U||e===x}function d(e){return e>=K&&X>=e}function h(e){return e>=K&&G>=e||e>=M&&L>=e}function m(e){for(var t,n=[],r=0;r<e.length;r++){var i=e[r];y.isPresent(t)&&t.type==E.TEXT&&i.type==E.TEXT?(t.parts[0]+=i.parts[0],t.sourceSpan.end=i.sourceSpan.end):(t=i,n.push(t))}return n}var v=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},y=e("20"),g=e("37"),b=e("71"),_=e("70");!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_VALUE=12]="ATTR_VALUE",e[e.DOC_TYPE=13]="DOC_TYPE",e[e.EOF=14]="EOF"}(t.HtmlTokenType||(t.HtmlTokenType={}));var E=t.HtmlTokenType,D=function(){function e(e,t,n){this.type=e,this.parts=t,this.sourceSpan=n}return e}();t.HtmlToken=D;var w=function(e){function t(t,n,r){e.call(this,r,t),this.tokenType=n}return v(t,e),t}(b.ParseError);t.HtmlTokenError=w;var C=function(){function e(e,t){this.tokens=e,this.errors=t}return e}();t.HtmlTokenizeResult=C,t.tokenizeHtml=r;var x=0,A=9,P=10,S=13,O=32,R=33,I=34,T=35,k=38,N=39,F=45,j=47,M=48,B=59,L=57,V=58,U=60,$=61,W=62,H=65,q=90,z=91,Y=93,K=97,G=102,X=122,Q=120,Z=160,J=/\r\n?/g,ee=function(){function e(e){this.error=e}return e}(),te=function(){function e(e){this.file=e,this.peek=-1,this.index=-1,this.line=0,this.column=-1,this.tokens=[],this.errors=[],this.input=e.content,this.inputLowercase=e.content.toLowerCase(),this.length=e.content.length,this._advance()}return e.prototype._processCarriageReturns=function(e){return y.StringWrapper.replaceAll(e,J,"\n")},e.prototype.tokenize=function(){for(;this.peek!==x;){var e=this._getLocation();try{this._attemptChar(U)?this._attemptChar(R)?this._attemptChar(z)?this._consumeCdata(e):this._attemptChar(F)?this._consumeComment(e):this._consumeDocType(e):this._attemptChar(j)?this._consumeTagClose(e):this._consumeTagOpen(e):this._consumeText()}catch(t){if(!(t instanceof ee))throw t;this.errors.push(t.error)}}return this._beginToken(E.EOF),this._endToken([]),new C(m(this.tokens),this.errors)},e.prototype._getLocation=function(){return new b.ParseLocation(this.file,this.index,this.line,this.column)},e.prototype._beginToken=function(e,t){void 0===t&&(t=null),y.isBlank(t)&&(t=this._getLocation()),this.currentTokenStart=t,this.currentTokenType=e},e.prototype._endToken=function(e,t){void 0===t&&(t=null),y.isBlank(t)&&(t=this._getLocation());var n=new D(this.currentTokenType,e,new b.ParseSourceSpan(this.currentTokenStart,t));return this.tokens.push(n),this.currentTokenStart=null,this.currentTokenType=null,n},e.prototype._createError=function(e,t){var n=new w(e,this.currentTokenType,t);return this.currentTokenStart=null,this.currentTokenType=null,new ee(n)},e.prototype._advance=function(){if(this.index>=this.length)throw this._createError(i(x),this._getLocation());this.peek===P?(this.line++,this.column=0):this.peek!==P&&this.peek!==S&&this.column++,this.index++,this.peek=this.index>=this.length?x:y.StringWrapper.charCodeAt(this.inputLowercase,this.index)},e.prototype._attemptChar=function(e){return this.peek===e?(this._advance(),!0):!1},e.prototype._requireChar=function(e){var t=this._getLocation();if(!this._attemptChar(e))throw this._createError(i(this.peek),t)},e.prototype._attemptChars=function(e){for(var t=0;t<e.length;t++)if(!this._attemptChar(y.StringWrapper.charCodeAt(e,t)))return!1;return!0},e.prototype._requireChars=function(e){var t=this._getLocation();if(!this._attemptChars(e))throw this._createError(i(this.peek),t)},e.prototype._attemptUntilFn=function(e){for(;!e(this.peek);)this._advance()},e.prototype._requireUntilFn=function(e,t){var n=this._getLocation();if(this._attemptUntilFn(e),this.index-n.offset<t)throw this._createError(i(this.peek),n)},e.prototype._attemptUntilChar=function(e){for(;this.peek!==e;)this._advance()},e.prototype._readChar=function(e){if(e&&this.peek===k)return this._decodeEntity();var t=this.index;return this._advance(),this.input[t]},e.prototype._decodeEntity=function(){var e=this._getLocation();if(this._advance(),!this._attemptChar(T)){var t=this._savePosition();if(this._attemptUntilFn(p),this.peek!=B)return this._restorePosition(t),"&";this._advance();var n=this.input.substring(e.offset+1,this.index-1),r=_.NAMED_ENTITIES[n];if(y.isBlank(r))throw this._createError(o(n),e);return r}var s=this._attemptChar(Q),a=this._getLocation().offset;if(this._attemptUntilFn(l),this.peek!=B)throw this._createError(i(this.peek),this._getLocation());this._advance();var u=this.input.substring(a,this.index-1);try{var c=y.NumberWrapper.parseInt(u,s?16:10);return y.StringWrapper.fromCharCode(c)}catch(f){var d=this.input.substring(e.offset+1,this.index-1);throw this._createError(o(d),e)}},e.prototype._consumeRawText=function(e,t,n){var r,i=this._getLocation();this._beginToken(e?E.ESCAPABLE_RAW_TEXT:E.RAW_TEXT,i);for(var o=[];;){if(r=this._getLocation(),this._attemptChar(t)&&n())break;for(this.index>r.offset&&o.push(this.input.substring(r.offset,this.index));this.peek!==t;)o.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(o.join(""))],r)},e.prototype._consumeComment=function(e){var t=this;this._beginToken(E.COMMENT_START,e),this._requireChar(F),this._endToken([]);var n=this._consumeRawText(!1,F,function(){return t._attemptChars("->")});this._beginToken(E.COMMENT_END,n.sourceSpan.end),this._endToken([])},e.prototype._consumeCdata=function(e){var t=this;this._beginToken(E.CDATA_START,e),this._requireChars("cdata["),this._endToken([]);var n=this._consumeRawText(!1,Y,function(){return t._attemptChars("]>")});this._beginToken(E.CDATA_END,n.sourceSpan.end),this._endToken([])},e.prototype._consumeDocType=function(e){this._beginToken(E.DOC_TYPE,e),this._attemptUntilChar(W),this._advance(),this._endToken([this.input.substring(e.offset+2,this.index-1)])},e.prototype._consumePrefixAndName=function(){for(var e=this.index,t=null;this.peek!==V&&!c(this.peek);)this._advance();var n;this.peek===V?(this._advance(),t=this.input.substring(e,this.index-1),n=this.index):n=e,this._requireUntilFn(u,this.index===n?1:0);var r=this.input.substring(n,this.index);return[t,r]},e.prototype._consumeTagOpen=function(e){var t,n=this._savePosition();try{if(!d(this.peek))throw this._createError(i(this.peek),this._getLocation());var r=this.index;for(this._consumeTagOpenStart(e),t=this.inputLowercase.substring(r,this.index),this._attemptUntilFn(s);this.peek!==j&&this.peek!==W;)this._consumeAttributeName(),this._attemptUntilFn(s),this._attemptChar($)&&(this._attemptUntilFn(s),this._consumeAttributeValue()),this._attemptUntilFn(s);this._consumeTagOpenEnd()}catch(o){if(o instanceof ee)return this._restorePosition(n),this._beginToken(E.TEXT,e),void this._endToken(["<"]);throw o}var a=_.getHtmlTagDefinition(t).contentType;a===_.HtmlTagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(t,!1):a===_.HtmlTagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(t,!0)},e.prototype._consumeRawTextWithTagClose=function(e,t){var n=this,r=this._consumeRawText(t,U,function(){return n._attemptChar(j)?(n._attemptUntilFn(s),n._attemptChars(e)?(n._attemptUntilFn(s),n._attemptChar(W)?!0:!1):!1):!1});this._beginToken(E.TAG_CLOSE,r.sourceSpan.end),this._endToken([null,e])},e.prototype._consumeTagOpenStart=function(e){this._beginToken(E.TAG_OPEN_START,e);var t=this._consumePrefixAndName();this._endToken(t)},e.prototype._consumeAttributeName=function(){this._beginToken(E.ATTR_NAME);var e=this._consumePrefixAndName();this._endToken(e)},e.prototype._consumeAttributeValue=function(){this._beginToken(E.ATTR_VALUE);var e;if(this.peek===N||this.peek===I){var t=this.peek;this._advance();for(var n=[];this.peek!==t;)n.push(this._readChar(!0));e=n.join(""),this._advance()}else{var r=this.index;this._requireUntilFn(u,1),e=this.input.substring(r,this.index)}this._endToken([this._processCarriageReturns(e)])},e.prototype._consumeTagOpenEnd=function(){var e=this._attemptChar(j)?E.TAG_OPEN_END_VOID:E.TAG_OPEN_END;this._beginToken(e),this._requireChar(W),this._endToken([])},e.prototype._consumeTagClose=function(e){this._beginToken(E.TAG_CLOSE,e),this._attemptUntilFn(s);var t;t=this._consumePrefixAndName(),this._attemptUntilFn(s),this._requireChar(W),this._endToken(t)},e.prototype._consumeText=function(){var e=this._getLocation();this._beginToken(E.TEXT,e);for(var t=[this._readChar(!0)];!f(this.peek);)t.push(this._readChar(!0));this._endToken([this._processCarriageReturns(t.join(""))])},e.prototype._savePosition=function(){return[this.peek,this.index,this.column,this.line,this.tokens.length]},e.prototype._restorePosition=function(e){this.peek=e[0],this.index=e[1],this.column=e[2],this.line=e[3];var t=e[4];t<this.tokens.length&&(this.tokens=g.ListWrapper.slice(this.tokens,0,t))},e}()}(e("34")),r.define=i,n.exports}),e.registerDynamic("71",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}return e.prototype.toString=function(){return this.file.url+"@"+this.line+":"+this.col},e}();t.ParseLocation=o;var s=function(){function e(e,t){this.content=e,this.url=t}return e}();t.ParseSourceFile=s;var a=function(){function e(e,t){this.location=e,this.msg=t}return e.prototype.toString=function(){var e=this.location.file.content,t=this.location.offset;t>e.length-1&&(t=e.length-1);for(var n=t,r=0,i=0;100>r&&t>0&&(t--,r++,"\n"!=e[t]||3!=++i););for(r=0,i=0;100>r&&n<e.length-1&&(n++,r++,"\n"!=e[n]||3!=++i););var o=e.substring(t,this.location.offset)+"[ERROR ->]"+e.substring(this.location.offset,n+1);return this.msg+' ("'+o+'"): '+this.location},e}();t.ParseError=a;var u=function(){function e(e,t){this.start=e,this.end=t}return e.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},e}();return t.ParseSourceSpan=u,r.define=i,n.exports}),e.registerDynamic("6f",["20","37","77","39","78","71","70"],!0,function(e,t,n){"use strict";function r(e,t){return l.isPresent(e)?"@"+e+":"+t:t}function i(e,t,n){return l.isBlank(e)&&(e=v.getHtmlTagDefinition(t).implicitNamespacePrefix,l.isBlank(e)&&l.isPresent(n)&&(e=v.getNsPrefix(n.name))),r(e,t)}var o=this,s=o.define;o.define=void 0;var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},c=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},l=e("20"),p=e("37"),f=e("77"),d=e("39"),h=e("78"),m=e("71"),v=e("70"),y=function(e){function t(t,n,r){e.call(this,n,r),this.elementName=t}return a(t,e),t.create=function(e,n,r){return new t(e,n,r)},t}(m.ParseError);t.HtmlTreeError=y;var g=function(){function e(e,t){this.rootNodes=e,this.errors=t}return e}();t.HtmlParseTreeResult=g;var b=function(){function e(){}return e.prototype.parse=function(e,t){var n=h.tokenizeHtml(e,t),r=new _(n.tokens).build();return new g(r.rootNodes,n.errors.concat(r.errors))},e=u([d.Injectable(),c("design:paramtypes",[])],e)}();t.HtmlParser=b;var _=function(){function e(e){this.tokens=e,this.index=-1,this.rootNodes=[],this.errors=[],this.elementStack=[],this._advance()}return e.prototype.build=function(){for(;this.peek.type!==h.HtmlTokenType.EOF;)this.peek.type===h.HtmlTokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this.peek.type===h.HtmlTokenType.TAG_CLOSE?this._consumeEndTag(this._advance()):this.peek.type===h.HtmlTokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this.peek.type===h.HtmlTokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this.peek.type===h.HtmlTokenType.TEXT||this.peek.type===h.HtmlTokenType.RAW_TEXT||this.peek.type===h.HtmlTokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._advance();return new g(this.rootNodes,this.errors)},e.prototype._advance=function(){var e=this.peek;return this.index<this.tokens.length-1&&this.index++,this.peek=this.tokens[this.index],e},e.prototype._advanceIf=function(e){return this.peek.type===e?this._advance():null},e.prototype._consumeCdata=function(e){this._consumeText(this._advance()),this._advanceIf(h.HtmlTokenType.CDATA_END)},e.prototype._consumeComment=function(e){this._advanceIf(h.HtmlTokenType.RAW_TEXT),this._advanceIf(h.HtmlTokenType.COMMENT_END)},e.prototype._consumeText=function(e){var t=e.parts[0];if(t.length>0&&"\n"==t[0]){var n=this._getParentElement();l.isPresent(n)&&0==n.children.length&&v.getHtmlTagDefinition(n.name).ignoreFirstLf&&(t=t.substring(1))}t.length>0&&this._addToParent(new f.HtmlTextAst(t,e.sourceSpan))},e.prototype._closeVoidElement=function(){if(this.elementStack.length>0){var e=p.ListWrapper.last(this.elementStack);v.getHtmlTagDefinition(e.name).isVoid&&this.elementStack.pop()}},e.prototype._consumeStartTag=function(e){for(var t=e.parts[0],n=e.parts[1],r=[];this.peek.type===h.HtmlTokenType.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var o=i(t,n,this._getParentElement()),s=!1;this.peek.type===h.HtmlTokenType.TAG_OPEN_END_VOID?(this._advance(),s=!0,null!=v.getNsPrefix(o)||v.getHtmlTagDefinition(o).isVoid||this.errors.push(y.create(o,e.sourceSpan.start,'Only void and foreign elements can be self closed "'+e.parts[1]+'"'))):this.peek.type===h.HtmlTokenType.TAG_OPEN_END&&(this._advance(),s=!1);var a=this.peek.sourceSpan.start,u=new f.HtmlElementAst(o,r,[],new m.ParseSourceSpan(e.sourceSpan.start,a));this._pushElement(u),s&&this._popElement(o)},e.prototype._pushElement=function(e){if(this.elementStack.length>0){var t=p.ListWrapper.last(this.elementStack);v.getHtmlTagDefinition(t.name).isClosedByChild(e.name)&&this.elementStack.pop()}var n=v.getHtmlTagDefinition(e.name),t=this._getParentElement();if(n.requireExtraParent(l.isPresent(t)?t.name:null)){var r=new f.HtmlElementAst(n.parentToAdd,[],[e],e.sourceSpan);this._addToParent(r),this.elementStack.push(r),this.elementStack.push(e)}else this._addToParent(e),this.elementStack.push(e)},e.prototype._consumeEndTag=function(e){var t=i(e.parts[0],e.parts[1],this._getParentElement());v.getHtmlTagDefinition(t).isVoid?this.errors.push(y.create(t,e.sourceSpan.start,'Void elements do not have end tags "'+e.parts[1]+'"')):this._popElement(t)||this.errors.push(y.create(t,e.sourceSpan.start,'Unexpected closing tag "'+e.parts[1]+'"'))},e.prototype._popElement=function(e){for(var t=this.elementStack.length-1;t>=0;t--){var n=this.elementStack[t];if(n.name==e)return p.ListWrapper.splice(this.elementStack,t,this.elementStack.length-t),!0;if(!v.getHtmlTagDefinition(n.name).closedByParent)return!1}return!1},e.prototype._consumeAttr=function(e){var t=r(e.parts[0],e.parts[1]),n=e.sourceSpan.end,i="";if(this.peek.type===h.HtmlTokenType.ATTR_VALUE){var o=this._advance();i=o.parts[0],n=o.sourceSpan.end}return new f.HtmlAttrAst(t,i,new m.ParseSourceSpan(e.sourceSpan.start,n))},e.prototype._getParentElement=function(){return this.elementStack.length>0?p.ListWrapper.last(this.elementStack):null},e.prototype._addToParent=function(e){var t=this._getParentElement();l.isPresent(t)?t.children.push(e):this.rootNodes.push(e)},e}();return o.define=s,n.exports}),e.registerDynamic("75",["20","70"],!0,function(e,t,n){"use strict";function r(e){var t=null,n=null,r=null,o=!1;e.attrs.forEach(function(e){var i=e.name.toLowerCase();i==c?t=e.value:i==d?n=e.value:i==f?r=e.value:e.name==y&&(o=!0)}),t=i(t);var s=e.name.toLowerCase(),a=g.OTHER;return u.splitNsName(s)[1]==l?a=g.NG_CONTENT:s==m?a=g.STYLE:s==v?a=g.SCRIPT:s==p&&r==h&&(a=g.STYLESHEET),new b(a,t,n,o)}function i(e){return a.isBlank(e)||0===e.length?"*":e}var o=this,s=o.define;o.define=void 0;var a=e("20"),u=e("70"),c="select",l="ng-content",p="link",f="rel",d="href",h="stylesheet",m="style",v="script",y="ngNonBindable";t.preparseElement=r,function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"}(t.PreparsedElementType||(t.PreparsedElementType={}));var g=t.PreparsedElementType,b=function(){function e(e,t,n,r){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=r}return e}();return t.PreparsedElement=b,o.define=s,n.exports}),e.registerDynamic("6b",["65","20","3c","63","79","7a","76","39","7b","77","6f","75"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;
|
||
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("65"),u=e("20"),c=e("3c"),l=e("63"),p=e("79"),f=e("7a"),d=e("76"),h=e("39"),m=e("7b"),v=e("77"),y=e("6f"),g=e("75"),b=function(){function e(e,t,n){this._xhr=e,this._urlResolver=t,this._htmlParser=n}return e.prototype.normalizeTemplate=function(e,t){var n=this;if(u.isPresent(t.template))return l.PromiseWrapper.resolve(this.normalizeLoadedTemplate(e,t,t.template,e.moduleUrl));if(u.isPresent(t.templateUrl)){var r=this._urlResolver.resolve(e.moduleUrl,t.templateUrl);return this._xhr.get(r).then(function(i){return n.normalizeLoadedTemplate(e,t,i,r)})}throw new c.BaseException("No template specified for component "+e.name)},e.prototype.normalizeLoadedTemplate=function(e,t,n,r){var i=this,o=this._htmlParser.parse(n,e.name);if(o.errors.length>0){var s=o.errors.join("\n");throw new c.BaseException("Template parse errors:\n"+s)}var u=new _;v.htmlVisitAll(u,o.rootNodes);var l=t.styles.concat(u.styles),p=u.styleUrls.filter(d.isStyleUrlResolvable).map(function(e){return i._urlResolver.resolve(r,e)}).concat(t.styleUrls.filter(d.isStyleUrlResolvable).map(function(t){return i._urlResolver.resolve(e.moduleUrl,t)})),f=l.map(function(e){var t=d.extractStyleUrls(i._urlResolver,r,e);return t.styleUrls.forEach(function(e){return p.push(e)}),t.style}),h=t.encapsulation;return h===m.ViewEncapsulation.Emulated&&0===f.length&&0===p.length&&(h=m.ViewEncapsulation.None),new a.CompileTemplateMetadata({encapsulation:h,template:n,templateUrl:r,styles:f,styleUrls:p,ngContentSelectors:u.ngContentSelectors})},e=o([h.Injectable(),s("design:paramtypes",[p.XHR,f.UrlResolver,y.HtmlParser])],e)}();t.TemplateNormalizer=b;var _=function(){function e(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return e.prototype.visitElement=function(e,t){var n=g.preparseElement(e);switch(n.type){case g.PreparsedElementType.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case g.PreparsedElementType.STYLE:var r="";e.children.forEach(function(e){e instanceof v.HtmlTextAst&&(r+=e.value)}),this.styles.push(r);break;case g.PreparsedElementType.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,v.htmlVisitAll(this,e.children),n.nonBindable&&this.ngNonBindableStackCount--,null},e.prototype.visitAttr=function(e,t){return null},e.prototype.visitText=function(e,t){return null},e}();return r.define=i,n.exports}),e.registerDynamic("73",["37","20","3c","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=e("37"),i=e("20"),o=e("3c"),s="",a=i.RegExpWrapper.create("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-\\w*]+)(?:=([^\\]]*))?\\])|(\\))|(\\s*,\\s*)"),u=function(){function e(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return e.parse=function(t){for(var n,s=[],u=function(e,t){t.notSelectors.length>0&&i.isBlank(t.element)&&r.ListWrapper.isEmpty(t.classNames)&&r.ListWrapper.isEmpty(t.attrs)&&(t.element="*"),e.push(t)},c=new e,l=i.RegExpWrapper.matcher(a,t),p=c,f=!1;i.isPresent(n=i.RegExpMatcherWrapper.next(l));){if(i.isPresent(n[1])){if(f)throw new o.BaseException("Nesting :not is not allowed in a selector");f=!0,p=new e,c.notSelectors.push(p)}if(i.isPresent(n[2])&&p.setElement(n[2]),i.isPresent(n[3])&&p.addClassName(n[3]),i.isPresent(n[4])&&p.addAttribute(n[4],n[5]),i.isPresent(n[6])&&(f=!1,p=c),i.isPresent(n[7])){if(f)throw new o.BaseException("Multiple selectors in :not are not supported");u(s,c),c=p=new e}}return u(s,c),s},e.prototype.isElementSelector=function(){return i.isPresent(this.element)&&r.ListWrapper.isEmpty(this.classNames)&&r.ListWrapper.isEmpty(this.attrs)&&0===this.notSelectors.length},e.prototype.setElement=function(e){void 0===e&&(e=null),this.element=e},e.prototype.getMatchingElementTemplate=function(){for(var e=i.isPresent(this.element)?this.element:"div",t=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",n="",r=0;r<this.attrs.length;r+=2){var o=this.attrs[r],s=""!==this.attrs[r+1]?'="'+this.attrs[r+1]+'"':"";n+=" "+o+s}return"<"+e+t+n+"></"+e+">"},e.prototype.addAttribute=function(e,t){void 0===t&&(t=s),this.attrs.push(e),t=i.isPresent(t)?t.toLowerCase():s,this.attrs.push(t)},e.prototype.addClassName=function(e){this.classNames.push(e.toLowerCase())},e.prototype.toString=function(){var e="";if(i.isPresent(this.element)&&(e+=this.element),i.isPresent(this.classNames))for(var t=0;t<this.classNames.length;t++)e+="."+this.classNames[t];if(i.isPresent(this.attrs))for(var t=0;t<this.attrs.length;){var n=this.attrs[t++],r=this.attrs[t++];e+="["+n,r.length>0&&(e+="="+r),e+="]"}return this.notSelectors.forEach(function(t){return e+=":not("+t+")"}),e},e}();t.CssSelector=u;var c=function(){function e(){this._elementMap=new r.Map,this._elementPartialMap=new r.Map,this._classMap=new r.Map,this._classPartialMap=new r.Map,this._attrValueMap=new r.Map,this._attrValuePartialMap=new r.Map,this._listContexts=[]}return e.createNotMatcher=function(t){var n=new e;return n.addSelectables(t,null),n},e.prototype.addSelectables=function(e,t){var n=null;e.length>1&&(n=new l(e),this._listContexts.push(n));for(var r=0;r<e.length;r++)this._addSelectable(e[r],t,n)},e.prototype._addSelectable=function(e,t,n){var o=this,s=e.element,a=e.classNames,u=e.attrs,c=new p(e,t,n);if(i.isPresent(s)){var l=0===u.length&&0===a.length;l?this._addTerminal(o._elementMap,s,c):o=this._addPartial(o._elementPartialMap,s)}if(i.isPresent(a))for(var f=0;f<a.length;f++){var l=0===u.length&&f===a.length-1,d=a[f];l?this._addTerminal(o._classMap,d,c):o=this._addPartial(o._classPartialMap,d)}if(i.isPresent(u))for(var f=0;f<u.length;){var l=f===u.length-2,h=u[f++],m=u[f++];if(l){var v=o._attrValueMap,y=v.get(h);i.isBlank(y)&&(y=new r.Map,v.set(h,y)),this._addTerminal(y,m,c)}else{var g=o._attrValuePartialMap,b=g.get(h);i.isBlank(b)&&(b=new r.Map,g.set(h,b)),o=this._addPartial(b,m)}}},e.prototype._addTerminal=function(e,t,n){var r=e.get(t);i.isBlank(r)&&(r=[],e.set(t,r)),r.push(n)},e.prototype._addPartial=function(t,n){var r=t.get(n);return i.isBlank(r)&&(r=new e,t.set(n,r)),r},e.prototype.match=function(e,t){for(var n=!1,r=e.element,o=e.classNames,a=e.attrs,u=0;u<this._listContexts.length;u++)this._listContexts[u].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,e,t)||n,n=this._matchPartial(this._elementPartialMap,r,e,t)||n,i.isPresent(o))for(var c=0;c<o.length;c++){var l=o[c];n=this._matchTerminal(this._classMap,l,e,t)||n,n=this._matchPartial(this._classPartialMap,l,e,t)||n}if(i.isPresent(a))for(var c=0;c<a.length;){var p=a[c++],f=a[c++],d=this._attrValueMap.get(p);i.StringWrapper.equals(f,s)||(n=this._matchTerminal(d,s,e,t)||n),n=this._matchTerminal(d,f,e,t)||n;var h=this._attrValuePartialMap.get(p);i.StringWrapper.equals(f,s)||(n=this._matchPartial(h,s,e,t)||n),n=this._matchPartial(h,f,e,t)||n}return n},e.prototype._matchTerminal=function(e,t,n,r){if(i.isBlank(e)||i.isBlank(t))return!1;var o=e.get(t),s=e.get("*");if(i.isPresent(s)&&(o=o.concat(s)),i.isBlank(o))return!1;for(var a,u=!1,c=0;c<o.length;c++)a=o[c],u=a.finalize(n,r)||u;return u},e.prototype._matchPartial=function(e,t,n,r){if(i.isBlank(e)||i.isBlank(t))return!1;var o=e.get(t);return i.isBlank(o)?!1:o.match(n,r)},e}();t.SelectorMatcher=c;var l=function(){function e(e){this.selectors=e,this.alreadyMatched=!1}return e}();t.SelectorListContext=l;var p=function(){function e(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}return e.prototype.finalize=function(e,t){var n=!0;if(this.notSelectors.length>0&&(i.isBlank(this.listContext)||!this.listContext.alreadyMatched)){var r=c.createNotMatcher(this.notSelectors);n=!r.match(e,null)}return n&&i.isPresent(t)&&(i.isBlank(this.listContext)||!this.listContext.alreadyMatched)&&(i.isPresent(this.listContext)&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n},e}();t.SelectorContext=p}(e("34")),r.define=i,n.exports}),e.registerDynamic("65",["20","37","6e","7b","73","6d","7c"],!0,function(e,t,n){"use strict";function r(e,t){var n=l.CssSelector.parse(t)[0].getMatchingElementTemplate();return v.create({type:new h({runtime:Object,name:"Host"+e.name,moduleUrl:e.moduleUrl,isHost:!0}),template:new m({template:n,templateUrl:"",styles:[],styleUrls:[],ngContentSelectors:[]}),changeDetection:u.ChangeDetectionStrategy.Default,inputs:[],outputs:[],host:{},lifecycleHooks:[],isComponent:!0,dynamicLoadable:!1,selector:"*"})}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=e("37"),u=e("6e"),c=e("7b"),l=e("73"),p=e("6d"),f=e("7c"),d=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))$/g,h=function(){function e(e){var t=void 0===e?{}:e,n=t.runtime,r=t.name,i=t.moduleUrl,o=t.isHost;this.runtime=n,this.name=r,this.moduleUrl=i,this.isHost=s.normalizeBool(o)}return e.fromJson=function(t){return new e({name:t.name,moduleUrl:t.moduleUrl,isHost:t.isHost})},e.prototype.toJson=function(){return{name:this.name,moduleUrl:this.moduleUrl,isHost:this.isHost}},e}();t.CompileTypeMetadata=h;var m=function(){function e(e){var t=void 0===e?{}:e,n=t.encapsulation,r=t.template,i=t.templateUrl,o=t.styles,a=t.styleUrls,u=t.ngContentSelectors;this.encapsulation=s.isPresent(n)?n:c.ViewEncapsulation.Emulated,this.template=r,this.templateUrl=i,this.styles=s.isPresent(o)?o:[],this.styleUrls=s.isPresent(a)?a:[],this.ngContentSelectors=s.isPresent(u)?u:[]}return e.fromJson=function(t){return new e({encapsulation:s.isPresent(t.encapsulation)?c.VIEW_ENCAPSULATION_VALUES[t.encapsulation]:t.encapsulation,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,ngContentSelectors:t.ngContentSelectors})},e.prototype.toJson=function(){return{encapsulation:s.isPresent(this.encapsulation)?s.serializeEnum(this.encapsulation):this.encapsulation,template:this.template,templateUrl:this.templateUrl,styles:this.styles,styleUrls:this.styleUrls,ngContentSelectors:this.ngContentSelectors}},e}();t.CompileTemplateMetadata=m;var v=function(){function e(e){var t=void 0===e?{}:e,n=t.type,r=t.isComponent,i=t.dynamicLoadable,o=t.selector,s=t.exportAs,a=t.changeDetection,u=t.inputs,c=t.outputs,l=t.hostListeners,p=t.hostProperties,f=t.hostAttributes,d=t.lifecycleHooks,h=t.template;this.type=n,this.isComponent=r,this.dynamicLoadable=i,this.selector=o,this.exportAs=s,this.changeDetection=a,this.inputs=u,this.outputs=c,this.hostListeners=l,this.hostProperties=p,this.hostAttributes=f,this.lifecycleHooks=d,this.template=h}return e.create=function(t){var n=void 0===t?{}:t,r=n.type,i=n.isComponent,o=n.dynamicLoadable,u=n.selector,c=n.exportAs,l=n.changeDetection,f=n.inputs,h=n.outputs,m=n.host,v=n.lifecycleHooks,y=n.template,g={},b={},_={};s.isPresent(m)&&a.StringMapWrapper.forEach(m,function(e,t){var n=s.RegExpWrapper.firstMatch(d,t);s.isBlank(n)?_[t]=e:s.isPresent(n[1])?b[n[1]]=e:s.isPresent(n[2])&&(g[n[2]]=e)});var E={};s.isPresent(f)&&f.forEach(function(e){var t=p.splitAtColon(e,[e,e]);E[t[0]]=t[1]});var D={};return s.isPresent(h)&&h.forEach(function(e){var t=p.splitAtColon(e,[e,e]);D[t[0]]=t[1]}),new e({type:r,isComponent:s.normalizeBool(i),dynamicLoadable:s.normalizeBool(o),selector:u,exportAs:c,changeDetection:l,inputs:E,outputs:D,hostListeners:g,hostProperties:b,hostAttributes:_,lifecycleHooks:s.isPresent(v)?v:[],template:y})},e.fromJson=function(t){return new e({isComponent:t.isComponent,dynamicLoadable:t.dynamicLoadable,selector:t.selector,exportAs:t.exportAs,type:s.isPresent(t.type)?h.fromJson(t.type):t.type,changeDetection:s.isPresent(t.changeDetection)?u.CHANGE_DETECTION_STRATEGY_VALUES[t.changeDetection]:t.changeDetection,inputs:t.inputs,outputs:t.outputs,hostListeners:t.hostListeners,hostProperties:t.hostProperties,hostAttributes:t.hostAttributes,lifecycleHooks:t.lifecycleHooks.map(function(e){return f.LIFECYCLE_HOOKS_VALUES[e]}),template:s.isPresent(t.template)?m.fromJson(t.template):t.template})},e.prototype.toJson=function(){return{isComponent:this.isComponent,dynamicLoadable:this.dynamicLoadable,selector:this.selector,exportAs:this.exportAs,type:s.isPresent(this.type)?this.type.toJson():this.type,changeDetection:s.isPresent(this.changeDetection)?s.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(e){return s.serializeEnum(e)}),template:s.isPresent(this.template)?this.template.toJson():this.template}},e}();return t.CompileDirectiveMetadata=v,t.createHostComponentMeta=r,i.define=o,n.exports}),e.registerDynamic("6c",["39","20","3c","65","7d","7e","7f","80","7c","81","82","6d","7a"],!0,function(e,t,n){"use strict";function r(e,t){var n=[];return d.isPresent(t)&&i(t,n),d.isPresent(e.directives)&&i(e.directives,n),n}function i(e,t){for(var n=0;n<e.length;n++){var r=f.resolveForwardRef(e[n]);d.isArray(r)?i(r,t):t.push(r)}}function o(e){return d.isPresent(e)&&e instanceof d.Type}function s(e,t){var n=t.moduleId;if(d.isPresent(n)){var r=x.getUrlScheme(n);return d.isPresent(r)&&r.length>0?n:"package:"+n+C.MODULE_SUFFIX}return E.reflector.importUri(e)}var a=this,u=a.define;a.define=void 0;var c=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},l=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},p=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},f=e("39"),d=e("20"),h=e("3c"),m=e("65"),v=e("7d"),y=e("7e"),g=e("7f"),b=e("80"),_=e("7c"),E=e("81"),D=e("39"),w=e("82"),C=e("6d"),x=e("7a"),A=function(){function e(e,t,n){this._directiveResolver=e,this._viewResolver=t,this._platformDirectives=n,this._cache=new Map}return e.prototype.getMetadata=function(e){var t=this._cache.get(e);if(d.isBlank(t)){var n=this._directiveResolver.resolve(e),r=null,i=null,o=null;if(n instanceof v.ComponentMetadata){var a=n;r=s(e,a);var u=this._viewResolver.resolve(e);i=new m.CompileTemplateMetadata({encapsulation:u.encapsulation,template:u.template,templateUrl:u.templateUrl,styles:u.styles,styleUrls:u.styleUrls}),o=a.changeDetection}t=m.CompileDirectiveMetadata.create({selector:n.selector,exportAs:n.exportAs,isComponent:d.isPresent(i),dynamicLoadable:!0,type:new m.CompileTypeMetadata({name:d.stringify(e),moduleUrl:r,runtime:e}),template:i,changeDetection:o,inputs:n.inputs,outputs:n.outputs,host:n.host,lifecycleHooks:_.LIFECYCLE_HOOKS_VALUES.filter(function(t){return b.hasLifecycleHook(t,e)})}),this._cache.set(e,t)}return t},e.prototype.getViewDirectivesMetadata=function(e){for(var t=this,n=this._viewResolver.resolve(e),i=r(n,this._platformDirectives),s=0;s<i.length;s++)if(!o(i[s]))throw new h.BaseException("Unexpected directive value '"+d.stringify(i[s])+"' on the View of component '"+d.stringify(e)+"'");return i.map(function(e){return t.getMetadata(e)})},e=c([D.Injectable(),p(2,D.Optional()),p(2,D.Inject(w.PLATFORM_DIRECTIVES)),l("design:paramtypes",[y.DirectiveResolver,g.ViewResolver,Array])],e)}();return t.RuntimeMetadataResolver=A,a.define=u,n.exports}),e.registerDynamic("83",["37","20","81","6e","72","7c"],!0,function(e,t,n){"use strict";function r(e,t,n,r){var o=[],s=new h(null,o,t);return f.templateVisitAll(s,r),i(o,e,n)}function i(e,t,n){var r=o(e);return e.map(function(e){var i=t.name+"_"+e.viewIndex;return new p.ChangeDetectorDefinition(i,e.strategy,r[e.viewIndex],e.bindingRecords,e.eventRecords,e.directiveRecords,n)})}function o(e){var t=u.ListWrapper.createFixedSize(e.length);return e.forEach(function(e){var n=c.isPresent(e.parent)?t[e.parent.viewIndex]:[];t[e.viewIndex]=n.concat(e.variableNames)}),t}var s=this,a=s.define;s.define=void 0;var u=e("37"),c=e("20"),l=e("81"),p=e("6e"),f=e("72"),d=e("7c");t.createChangeDetectorDefinitions=r;var h=function(){function e(e,t,n){this.parent=e,this.allVisitors=t,this.strategy=n,this.boundTextCount=0,this.boundElementCount=0,this.variableNames=[],this.bindingRecords=[],this.eventRecords=[],this.directiveRecords=[],this.viewIndex=t.length,t.push(this)}return e.prototype.visitEmbeddedTemplate=function(t,n){this.boundElementCount++,f.templateVisitAll(this,t.outputs);for(var r=0;r<t.directives.length;r++)t.directives[r].visit(this,r);var i=new e(this,this.allVisitors,p.ChangeDetectionStrategy.Default);return f.templateVisitAll(i,t.vars),f.templateVisitAll(i,t.children),null},e.prototype.visitElement=function(e,t){e.isBound()&&this.boundElementCount++,f.templateVisitAll(this,e.inputs,null),f.templateVisitAll(this,e.outputs),f.templateVisitAll(this,e.exportAsVars);for(var n=0;n<e.directives.length;n++)e.directives[n].visit(this,n);return f.templateVisitAll(this,e.children),null},e.prototype.visitNgContent=function(e,t){return null},e.prototype.visitVariable=function(e,t){return this.variableNames.push(e.name),null},e.prototype.visitEvent=function(e,t){var n=c.isPresent(t)?p.BindingRecord.createForHostEvent(e.handler,e.fullName,t):p.BindingRecord.createForEvent(e.handler,e.fullName,this.boundElementCount-1);return this.eventRecords.push(n),null},e.prototype.visitElementProperty=function(e,t){var n,r=this.boundElementCount-1,i=c.isPresent(t)?t.directiveIndex:null;return e.type===f.PropertyBindingType.Property?n=c.isPresent(i)?p.BindingRecord.createForHostProperty(i,e.value,e.name):p.BindingRecord.createForElementProperty(e.value,r,e.name):e.type===f.PropertyBindingType.Attribute?n=c.isPresent(i)?p.BindingRecord.createForHostAttribute(i,e.value,e.name):p.BindingRecord.createForElementAttribute(e.value,r,e.name):e.type===f.PropertyBindingType.Class?n=c.isPresent(i)?p.BindingRecord.createForHostClass(i,e.value,e.name):p.BindingRecord.createForElementClass(e.value,r,e.name):e.type===f.PropertyBindingType.Style&&(n=c.isPresent(i)?p.BindingRecord.createForHostStyle(i,e.value,e.name,e.unit):p.BindingRecord.createForElementStyle(e.value,r,e.name,e.unit)),this.bindingRecords.push(n),null},e.prototype.visitAttr=function(e,t){return null},e.prototype.visitBoundText=function(e,t){var n=this.boundTextCount++;return this.bindingRecords.push(p.BindingRecord.createForTextNode(e.value,n)),null},e.prototype.visitText=function(e,t){return null},e.prototype.visitDirective=function(e,t){var n=new p.DirectiveIndex(this.boundElementCount-1,t),r=e.directive,i=new p.DirectiveRecord({directiveIndex:n,callAfterContentInit:-1!==r.lifecycleHooks.indexOf(d.LifecycleHooks.AfterContentInit),callAfterContentChecked:-1!==r.lifecycleHooks.indexOf(d.LifecycleHooks.AfterContentChecked),callAfterViewInit:-1!==r.lifecycleHooks.indexOf(d.LifecycleHooks.AfterViewInit),callAfterViewChecked:-1!==r.lifecycleHooks.indexOf(d.LifecycleHooks.AfterViewChecked),callOnChanges:-1!==r.lifecycleHooks.indexOf(d.LifecycleHooks.OnChanges),callDoCheck:-1!==r.lifecycleHooks.indexOf(d.LifecycleHooks.DoCheck),callOnInit:-1!==r.lifecycleHooks.indexOf(d.LifecycleHooks.OnInit),changeDetection:r.changeDetection});this.directiveRecords.push(i),f.templateVisitAll(this,e.inputs,i);var o=this.bindingRecords;return i.callOnChanges&&o.push(p.BindingRecord.createDirectiveOnChanges(i)),i.callOnInit&&o.push(p.BindingRecord.createDirectiveOnInit(i)),i.callDoCheck&&o.push(p.BindingRecord.createDirectiveDoCheck(i)),f.templateVisitAll(this,e.hostProperties,i),f.templateVisitAll(this,e.hostEvents,i),f.templateVisitAll(this,e.exportAsVars),null},e.prototype.visitDirectiveProperty=function(e,t){var n=l.reflector.setter(e.directiveName);return this.bindingRecords.push(p.BindingRecord.createForDirective(e.value,e.directiveName,n,t)),null},e}();return s.define=a,n.exports}),e.registerDynamic("84",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(e){}return e.prototype.generate=function(e,t,n){throw"Not implemented in JS"},e.prototype.toString=function(){throw"Not implemented in JS"},e}();return t.Codegen=o,r.define=i,n.exports}),e.registerDynamic("67",["66","85","83","20","6e","84","6d","39"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("66"),u=e("85"),c=e("83"),l=e("20"),p=e("6e"),f=e("84"),d=e("6d"),h=e("39"),m="AbstractChangeDetector",v="ChangeDetectionUtil",y="ChangeDetectorState",g=a.moduleRef("package:angular2/src/core/change_detection/abstract_change_detector"+d.MODULE_SUFFIX),b=a.moduleRef("package:angular2/src/core/change_detection/change_detection_util"+d.MODULE_SUFFIX),_=a.moduleRef("package:angular2/src/core/change_detection/pregen_proto_change_detector"+d.MODULE_SUFFIX),E=a.moduleRef("package:angular2/src/core/change_detection/constants"+d.MODULE_SUFFIX),D=function(){function e(e){this._genConfig=e}return e.prototype.compileComponentRuntime=function(e,t,n){var r=this,i=c.createChangeDetectorDefinitions(e,t,this._genConfig,n);return i.map(function(e){return r._createChangeDetectorFactory(e)})},e.prototype._createChangeDetectorFactory=function(e){if(l.IS_DART||!this._genConfig.useJit){var t=new p.DynamicProtoChangeDetector(e);return function(e){return t.instantiate(e)}}return new u.ChangeDetectorJITGenerator(e,v,m,y).generate()},e.prototype.compileComponentCodeGen=function(e,t,n){var r=c.createChangeDetectorDefinitions(e,t,this._genConfig,n),i=[],o=0,s=r.map(function(t){var n,r;if(l.IS_DART){n=new f.Codegen(_);var s="_"+t.id,c=0===o&&e.isHost?"dynamic":""+a.moduleRef(e.moduleUrl)+e.name;n.generate(c,s,t),i.push(s+".newChangeDetector"),r=n.toString()}else n=new u.ChangeDetectorJITGenerator(t,""+b+v,""+g+m,""+E+y),i.push("function(dispatcher) { return new "+n.typeName+"(dispatcher); }"),r=n.generateSource();return o++,r});return new a.SourceExpressions(s,i)},e=o([h.Injectable(),s("design:paramtypes",[p.ChangeDetectorGenConfig])],e)}();return t.ChangeDetectionCompiler=D,r.define=i,n.exports}),e.registerDynamic("86",["37","20","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e){return a.StringWrapper.replaceAllMapped(e,w,function(e){return""})}function i(e,t){var n=o(e),r=0;return a.StringWrapper.replaceAllMapped(n.escapedString,C,function(e){var i=e[2],o="",s=e[4],u="";a.isPresent(e[4])&&e[4].startsWith("{"+S)&&(o=n.blocks[r++],s=e[4].substring(S.length+1),u="{");var c=t(new O(i,o));return""+e[1]+c.selector+e[3]+u+c.content+s})}function o(e){for(var t=a.StringWrapper.split(e,x),n=[],r=[],i=0,o=[],s=0;s<t.length;s++){var u=t[s];u==P&&i--,i>0?o.push(u):(o.length>0&&(r.push(o.join("")),n.push(S),o=[]),n.push(u)),u==A&&i++}return o.length>0&&(r.push(o.join("")),n.push(S)),new R(n.join(""),r)}var s=e("37"),a=e("20"),u=function(){function e(){this.strictStyling=!0}return e.prototype.shimCssText=function(e,t,n){return void 0===n&&(n=""),e=r(e),e=this._insertDirectives(e),this._scopeCssText(e,t,n)},e.prototype._insertDirectives=function(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)},e.prototype._insertPolyfillDirectivesInCssText=function(e){return a.StringWrapper.replaceAllMapped(e,c,function(e){return e[1]+"{"})},e.prototype._insertPolyfillRulesInCssText=function(e){return a.StringWrapper.replaceAllMapped(e,l,function(e){var t=e[0];return t=a.StringWrapper.replace(t,e[1],""),t=a.StringWrapper.replace(t,e[2],""),e[3]+t})},e.prototype._scopeCssText=function(e,t,n){var r=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),a.isPresent(t)&&(e=this._scopeSelectors(e,t,n)),e=e+"\n"+r,e.trim()},e.prototype._extractUnscopedRulesFromCssText=function(e){for(var t,n="",r=a.RegExpWrapper.matcher(p,e);a.isPresent(t=a.RegExpMatcherWrapper.next(r));){var i=t[0];i=a.StringWrapper.replace(i,t[2],""),i=a.StringWrapper.replace(i,t[1],t[3]),n+=i+"\n\n"}return n},e.prototype._convertColonHost=function(e){return this._convertColonRule(e,m,this._colonHostPartReplacer)},e.prototype._convertColonHostContext=function(e){return this._convertColonRule(e,v,this._colonHostContextPartReplacer)},e.prototype._convertColonRule=function(e,t,n){return a.StringWrapper.replaceAllMapped(e,t,function(e){if(a.isPresent(e[2])){for(var t=e[2].split(","),r=[],i=0;i<t.length;i++){var o=t[i];if(a.isBlank(o))break;o=o.trim(),r.push(n(y,o,e[3]))}return r.join(",")}return y+e[3]})},e.prototype._colonHostContextPartReplacer=function(e,t,n){return a.StringWrapper.contains(t,f)?this._colonHostPartReplacer(e,t,n):e+t+n+", "+t+" "+e+n},e.prototype._colonHostPartReplacer=function(e,t,n){return e+a.StringWrapper.replace(t,f,"")+n},e.prototype._convertShadowDOMSelectors=function(e){for(var t=0;t<g.length;t++)e=a.StringWrapper.replaceAll(e,g[t]," ");return e},e.prototype._scopeSelectors=function(e,t,n){var r=this;return i(e,function(e){var i=e.selector,o=e.content;return"@"!=e.selector[0]||e.selector.startsWith("@page")?i=r._scopeSelector(e.selector,t,n,r.strictStyling):e.selector.startsWith("@media")&&(o=r._scopeSelectors(e.content,t,n)),new O(i,o)})},e.prototype._scopeSelector=function(e,t,n,r){for(var i=[],o=e.split(","),s=0;s<o.length;s++){var u=o[s];u=u.trim(),this._selectorNeedsScoping(u,t)&&(u=r&&!a.StringWrapper.contains(u,y)?this._applyStrictSelectorScope(u,t):this._applySelectorScope(u,t,n)),i.push(u)}return i.join(", ")},e.prototype._selectorNeedsScoping=function(e,t){var n=this._makeScopeMatcher(t);return!a.isPresent(a.RegExpWrapper.firstMatch(n,e))},e.prototype._makeScopeMatcher=function(e){var t=/\[/g,n=/\]/g;return e=a.StringWrapper.replaceAll(e,t,"\\["),e=a.StringWrapper.replaceAll(e,n,"\\]"),a.RegExpWrapper.create("^("+e+")"+b,"m")},e.prototype._applySelectorScope=function(e,t,n){return this._applySimpleSelectorScope(e,t,n)},e.prototype._applySimpleSelectorScope=function(e,t,n){if(a.isPresent(a.RegExpWrapper.firstMatch(_,e))){var r=this.strictStyling?"["+n+"]":t;return e=a.StringWrapper.replace(e,y,r),a.StringWrapper.replaceAll(e,_,r+" ")}return t+" "+e},e.prototype._applyStrictSelectorScope=function(e,t){var n=/\[is=([^\]]*)\]/g;t=a.StringWrapper.replaceAllMapped(t,n,function(e){return e[1]});for(var r=[" ",">","+","~"],i=e,o="["+t+"]",u=0;u<r.length;u++){var c=r[u],l=i.split(c);i=l.map(function(e){var t=a.StringWrapper.replaceAll(e.trim(),_,"");if(t.length>0&&!s.ListWrapper.contains(r,t)&&!a.StringWrapper.contains(t,o)){var n=/([^:]*)(:*)(.*)/g,i=a.RegExpWrapper.firstMatch(n,t);a.isPresent(i)&&(e=i[1]+o+i[2]+i[3])}return e}).join(c)}return i},e.prototype._insertPolyfillHostInCssText=function(e){return e=a.StringWrapper.replaceAll(e,D,d),e=a.StringWrapper.replaceAll(e,E,f)},e}();t.ShadowCss=u;var c=/polyfill-next-selector[^}]*content:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim,l=/(polyfill-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,p=/(polyfill-unscoped-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,f="-shadowcsshost",d="-shadowcsscontext",h=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",m=a.RegExpWrapper.create("("+f+h,"im"),v=a.RegExpWrapper.create("("+d+h,"im"),y=f+"-no-combinator",g=[/>>>/g,/::shadow/g,/::content/g,/\/deep\//g,/\/shadow-deep\//g,/\/shadow\//g],b="([>\\s~+[.,{:][\\s\\S]*)?$",_=a.RegExpWrapper.create(f,"im"),E=/:host/gim,D=/:host-context/gim,w=/\/\*[\s\S]*?\*\//g,C=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,x=/([{}])/g,A="{",P="}",S="%BLOCK%",O=function(){function e(e,t){this.selector=e,this.content=t}return e}();t.CssRule=O,t.processRules=i;var R=function(){function e(e,t){this.escapedString=e,this.blocks=t}return e}()}(e("34")),r.define=i,n.exports}),e.registerDynamic("76",["20"],!0,function(e,t,n){"use strict";function r(e){if(a.isBlank(e)||0===e.length||"/"==e[0])return!1;var t=a.RegExpWrapper.firstMatch(l,e);return a.isBlank(t)||"package"==t[1]||"asset"==t[1]}function i(e,t,n){var i=[],o=a.StringWrapper.replaceAllMapped(n,c,function(n){var o=a.isPresent(n[1])?n[1]:n[2];return r(o)?(i.push(e.resolve(t,o)),""):n[0]});return new u(o,i)}var o=this,s=o.define;o.define=void 0;var a=e("20"),u=function(){function e(e,t){this.style=e,this.styleUrls=t}return e}();t.StyleWithImports=u,t.isStyleUrlResolvable=r,t.extractStyleUrls=i;var c=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,l=/^([a-zA-Z\-\+\.]+):/g;return o.define=s,n.exports}),e.registerDynamic("4f",["3c","37","20","56"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("3c"),a=e("37"),u=e("20"),c=e("56"),l=function(e){function t(t,n){e.call(this),this.template=t,this.cmds=n}return o(t,e),t}(c.RenderProtoViewRef);t.DefaultProtoViewRef=l;var p=function(e){function t(t){e.call(this),this.nodes=t}return o(t,e),t}(c.RenderFragmentRef);t.DefaultRenderFragmentRef=p;var f=function(e){function t(t,n,r,i,o,s){e.call(this),this.fragments=t,this.boundTextNodes=n,this.boundElements=r,this.nativeShadowRoots=i,this.globalEventAdders=o,this.rootContentInsertionPoints=s,this.hydrated=!1,this.eventDispatcher=null,this.globalEventRemovers=null}return o(t,e),t.prototype.hydrate=function(){if(this.hydrated)throw new s.BaseException("The view is already hydrated.");this.hydrated=!0,this.globalEventRemovers=a.ListWrapper.createFixedSize(this.globalEventAdders.length);for(var e=0;e<this.globalEventAdders.length;e++)this.globalEventRemovers[e]=this.globalEventAdders[e]()},t.prototype.dehydrate=function(){if(!this.hydrated)throw new s.BaseException("The view is already dehydrated.");for(var e=0;e<this.globalEventRemovers.length;e++)this.globalEventRemovers[e]();this.globalEventRemovers=null,this.hydrated=!1},t.prototype.setEventDispatcher=function(e){this.eventDispatcher=e},t.prototype.dispatchRenderEvent=function(e,t,n){var r=!0;if(u.isPresent(this.eventDispatcher)){var i=new a.Map;i.set("$event",n),r=this.eventDispatcher.dispatchRenderEvent(e,t,i)}return r},t}(c.RenderViewRef);return t.DefaultRenderView=f,r.define=i,n.exports}),e.registerDynamic("4e",["20","4f","50","37","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e){var t=e.styles;if(e.encapsulation===p.ViewEncapsulation.Emulated){t=f.ListWrapper.createFixedSize(e.styles.length);for(var n=0;n<e.styles.length;n++)t[n]=c.StringWrapper.replaceAll(e.styles[n],v,e.shortId)}return t}function i(e,t,n,r){var i,o=function(e,t,n){return i.dispatchRenderEvent(e,t,n)},s=new d(o,r,n);s.build(e,t);for(var a=[],u=0;u<s.fragments.length;u++)a.push(new l.DefaultRenderFragmentRef(s.fragments[u]));return i=new l.DefaultRenderView(a,s.boundTextNodes,s.boundElements,s.nativeShadowRoots,s.globalEventAdders,s.rootContentInsertionPoints)}function o(e,t,n){return function(r){return n(e,t,r)}}function s(e,t,n,r){return function(){return r.globalOn(e,t,n)}}function a(e){return c.StringWrapper.replaceAll(t.CONTENT_ATTR,v,e)}function u(e){return c.StringWrapper.replaceAll(t.HOST_ATTR,v,e)}var c=e("20"),l=e("4f"),p=e("50"),f=e("37");
|
||
t.encapsulateStyles=r,t.createRenderView=i;var d=function(){function e(e,t,n){this._eventDispatcher=e,this.factory=t,this._inplaceElement=n,this._builders=[],this.globalEventAdders=[],this.boundElements=[],this.boundTextNodes=[],this.nativeShadowRoots=[],this.fragments=[],this.rootContentInsertionPoints=[],this.componentCount=0,this.isHost=c.isPresent(n)}return e.prototype.build=function(e,t){this.enqueueRootBuilder(e,t),this._build(this._builders[0])},e.prototype._build=function(e){this._builders=[],e.build(this);for(var t=this._builders,n=0;n<t.length;n++)this._build(t[n])},e.prototype.enqueueComponentBuilder=function(e){this.componentCount++,this._builders.push(new h(e,null,e.template,e.template.commands))},e.prototype.enqueueFragmentBuilder=function(e,t,n){var r=[];this.fragments.push(r),this._builders.push(new h(e,r,t,n))},e.prototype.enqueueRootBuilder=function(e,t){var n=[];this.fragments.push(n),this._builders.push(new h(null,n,e,t))},e.prototype.consumeInplaceElement=function(){var e=this._inplaceElement;return this._inplaceElement=null,e},e.prototype.addEventListener=function(e,t,n){if(c.isPresent(t)){var r=o(e,t+":"+n,this._eventDispatcher);this.globalEventAdders.push(s(t,n,r,this.factory))}else{var r=o(e,n,this._eventDispatcher);this.factory.on(this.boundElements[e],n,r)}},e}(),h=function(){function e(e,t,n,r){this.parentComponent=e,this.fragmentRootNodes=t,this.template=n,this.cmds=r;var i=c.isPresent(t)?null:e.shadowRoot;this.parentStack=[i]}return e.prototype.build=function(e){for(var t=this.cmds,n=0;n<t.length;n++)t[n].visit(this,e)},Object.defineProperty(e.prototype,"parent",{get:function(){return this.parentStack[this.parentStack.length-1]},enumerable:!0,configurable:!0}),e.prototype.visitText=function(e,t){var n=t.factory.createText(e.value);return this._addChild(n,e.ngContentIndex,t),e.isBound&&t.boundTextNodes.push(n),null},e.prototype.visitNgContent=function(e,t){if(c.isPresent(this.parentComponent))if(this.parentComponent.isRoot){var n=t.factory.createRootContentInsertionPoint();this.parent instanceof m?t.factory.appendChild(this.parent.shadowRoot,n):t.factory.appendChild(this.parent,n),t.rootContentInsertionPoints.push(n)}else for(var r=this.parentComponent.project(e.index),i=0;i<r.length;i++){var o=r[i];this._addChild(o,e.ngContentIndex,t)}return null},e.prototype.visitBeginElement=function(e,t){return this.parentStack.push(this._beginElement(e,t,null)),null},e.prototype.visitEndElement=function(e){return this._endElement(),null},e.prototype.visitBeginComponent=function(e,t){var n=e.templateId,r=t.factory.resolveComponentTemplate(n),i=this._beginElement(e,t,r),o=i;r.encapsulation===p.ViewEncapsulation.Native&&(o=t.factory.createShadowRoot(i,n),t.nativeShadowRoots.push(o));var s=0===t.componentCount&&t.isHost,a=new m(i,o,s,r);return t.enqueueComponentBuilder(a),this.parentStack.push(a),null},e.prototype.visitEndComponent=function(e){return this._endElement(),null},e.prototype.visitEmbeddedTemplate=function(e,t){var n=t.factory.createTemplateAnchor(e.attrNameAndValues);return this._addChild(n,e.ngContentIndex,t),t.boundElements.push(n),e.isMerged&&t.enqueueFragmentBuilder(this.parentComponent,this.template,e.children),null},e.prototype._beginElement=function(e,t,n){var r=t.consumeInplaceElement(),i=e.attrNameAndValues,o=this.template.encapsulation===p.ViewEncapsulation.Emulated,s=c.isPresent(n)&&n.encapsulation===p.ViewEncapsulation.Emulated,l=i.length+(o?2:0)+(s?2:0);if(l>i.length){var d,h=f.ListWrapper.createFixedSize(l);for(d=0;d<i.length;d++)h[d]=i[d];o&&(h[d++]=a(this.template.shortId),h[d++]=""),s&&(h[d++]=u(n.shortId),h[d++]=""),i=h}if(c.isPresent(r)?(t.factory.mergeElement(r,i),this.fragmentRootNodes.push(r)):(r=t.factory.createElement(e.name,i),this._addChild(r,e.ngContentIndex,t)),e.isBound){var m=t.boundElements.length;t.boundElements.push(r);for(var v=0;v<e.eventTargetAndNames.length;v+=2){var y=e.eventTargetAndNames[v],g=e.eventTargetAndNames[v+1];t.addEventListener(m,y,g)}}return r},e.prototype._endElement=function(){this.parentStack.pop()},e.prototype._addChild=function(e,t,n){var r=this.parent;c.isPresent(r)?r instanceof m?r.addContentNode(t,e,n):n.factory.appendChild(r,e):this.fragmentRootNodes.push(e)},e}(),m=function(){function e(e,t,n,r){this.hostElement=e,this.shadowRoot=t,this.isRoot=n,this.template=r,this.contentNodesByNgContentIndex=[]}return e.prototype.addContentNode=function(e,t,n){if(c.isBlank(e))this.template.encapsulation===p.ViewEncapsulation.Native&&n.factory.appendChild(this.hostElement,t);else{for(;this.contentNodesByNgContentIndex.length<=e;)this.contentNodesByNgContentIndex.push([]);this.contentNodesByNgContentIndex[e].push(t)}},e.prototype.project=function(e){return e<this.contentNodesByNgContentIndex.length?this.contentNodesByNgContentIndex[e]:[]},e}(),v=/%COMP%/g;t.COMPONENT_VARIABLE="%COMP%",t.HOST_ATTR="_nghost-"+t.COMPONENT_VARIABLE,t.CONTENT_ATTR="_ngcontent-"+t.COMPONENT_VARIABLE}(e("34")),r.define=i,n.exports}),e.registerDynamic("68",["66","7b","79","20","63","86","7a","76","6d","39","4e"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("66"),u=e("7b"),c=e("79"),l=e("20"),p=e("63"),f=e("86"),d=e("7a"),h=e("76"),m=e("6d"),v=e("39"),y=e("4e"),g=function(){function e(e,t){this._xhr=e,this._urlResolver=t,this._styleCache=new Map,this._shadowCss=new f.ShadowCss}return e.prototype.compileComponentRuntime=function(e){var t=e.styles,n=e.styleUrls;return this._loadStyles(t,n,e.encapsulation===u.ViewEncapsulation.Emulated)},e.prototype.compileComponentCodeGen=function(e){var t=e.encapsulation===u.ViewEncapsulation.Emulated;return this._styleCodeGen(e.styles,e.styleUrls,t)},e.prototype.compileStylesheetCodeGen=function(e,t){var n=h.extractStyleUrls(this._urlResolver,e,t);return[this._styleModule(e,!1,this._styleCodeGen([n.style],n.styleUrls,!1)),this._styleModule(e,!0,this._styleCodeGen([n.style],n.styleUrls,!0))]},e.prototype.clearCache=function(){this._styleCache.clear()},e.prototype._loadStyles=function(e,t,n){var r=this,i=t.map(function(e){var t=""+e+(n?".shim":""),i=r._styleCache.get(t);return l.isBlank(i)&&(i=r._xhr.get(e).then(function(t){var i=h.extractStyleUrls(r._urlResolver,e,t);return r._loadStyles([i.style],i.styleUrls,n)}),r._styleCache.set(t,i)),i});return p.PromiseWrapper.all(i).then(function(t){var i=e.map(function(e){return r._shimIfNeeded(e,n)});return t.forEach(function(e){return i.push(e)}),i})},e.prototype._styleCodeGen=function(e,t,n){for(var r=this,i=l.IS_DART?"const":"",o=e.map(function(e){return m.escapeSingleQuoteString(r._shimIfNeeded(e,n))}),s=0;s<t.length;s++){var u=this._createModuleUrl(t[s],n);o.push(a.moduleRef(u)+"STYLES")}var c=i+" ["+o.join(",")+"]";return new a.SourceExpression([],c)},e.prototype._styleModule=function(e,t,n){var r="\n "+n.declarations.join("\n")+"\n "+m.codeGenExportVariable("STYLES")+n.expression+";\n ";return new a.SourceModule(this._createModuleUrl(e,t),r)},e.prototype._shimIfNeeded=function(e,t){return t?this._shadowCss.shimCssText(e,y.CONTENT_ATTR,y.HOST_ATTR):e},e.prototype._createModuleUrl=function(e,t){return t?e+".shim"+m.MODULE_SUFFIX:""+e+m.MODULE_SUFFIX},e=o([v.Injectable(),s("design:paramtypes",[c.XHR,d.UrlResolver])],e)}();return t.StyleCompiler=g,r.define=i,n.exports}),e.registerDynamic("72",["20"],!0,function(e,t,n){"use strict";function r(e,t,n){void 0===n&&(n=null);var r=[];return t.forEach(function(t){var i=t.visit(e,n);s.isPresent(i)&&r.push(i)}),r}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=function(){function e(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e}();t.TextAst=a;var u=function(){function e(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitBoundText(this,t)},e}();t.BoundTextAst=u;var c=function(){function e(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitAttr(this,t)},e}();t.AttrAst=c;var l=function(){function e(e,t,n,r,i){this.name=e,this.type=t,this.value=n,this.unit=r,this.sourceSpan=i}return e.prototype.visit=function(e,t){return e.visitElementProperty(this,t)},e}();t.BoundElementPropertyAst=l;var p=function(){function e(e,t,n,r){this.name=e,this.target=t,this.handler=n,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitEvent(this,t)},Object.defineProperty(e.prototype,"fullName",{get:function(){return s.isPresent(this.target)?this.target+":"+this.name:this.name},enumerable:!0,configurable:!0}),e}();t.BoundEventAst=p;var f=function(){function e(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitVariable(this,t)},e}();t.VariableAst=f;var d=function(){function e(e,t,n,r,i,o,s,a,u){this.name=e,this.attrs=t,this.inputs=n,this.outputs=r,this.exportAsVars=i,this.directives=o,this.children=s,this.ngContentIndex=a,this.sourceSpan=u}return e.prototype.visit=function(e,t){return e.visitElement(this,t)},e.prototype.isBound=function(){return this.inputs.length>0||this.outputs.length>0||this.exportAsVars.length>0||this.directives.length>0},e.prototype.getComponent=function(){return this.directives.length>0&&this.directives[0].directive.isComponent?this.directives[0].directive:null},e}();t.ElementAst=d;var h=function(){function e(e,t,n,r,i,o,s){this.attrs=e,this.outputs=t,this.vars=n,this.directives=r,this.children=i,this.ngContentIndex=o,this.sourceSpan=s}return e.prototype.visit=function(e,t){return e.visitEmbeddedTemplate(this,t)},e}();t.EmbeddedTemplateAst=h;var m=function(){function e(e,t,n,r){this.directiveName=e,this.templateName=t,this.value=n,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitDirectiveProperty(this,t)},e}();t.BoundDirectivePropertyAst=m;var v=function(){function e(e,t,n,r,i,o){this.directive=e,this.inputs=t,this.hostProperties=n,this.hostEvents=r,this.exportAsVars=i,this.sourceSpan=o}return e.prototype.visit=function(e,t){return e.visitDirective(this,t)},e}();t.DirectiveAst=v;var y=function(){function e(e,t,n){this.index=e,this.ngContentIndex=t,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitNgContent(this,t)},e}();t.NgContentAst=y,function(e){e[e.Property=0]="Property",e[e.Attribute=1]="Attribute",e[e.Class=2]="Class",e[e.Style=3]="Style"}(t.PropertyBindingType||(t.PropertyBindingType={}));t.PropertyBindingType;return t.templateVisitAll=r,i.define=o,n.exports}),e.registerDynamic("66",["20"],!0,function(e,t,n){"use strict";function r(e){return"#MODULE["+e+"]"}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=/#MODULE\[([^\]]*)\]/g;t.moduleRef=r;var u=function(){function e(e,t){this.moduleUrl=e,this.sourceWithModuleRefs=t}return e.prototype.getSourceWithImports=function(){var e=this,t={},n=[],r=s.StringWrapper.replaceAllMapped(this.sourceWithModuleRefs,a,function(r){var i=r[1],o=t[i];return s.isBlank(o)&&(i==e.moduleUrl?o="":(o="import"+n.length,n.push([i,o])),t[i]=o),o.length>0?o+".":""});return new p(r,n)},e}();t.SourceModule=u;var c=function(){function e(e,t){this.declarations=e,this.expression=t}return e}();t.SourceExpression=c;var l=function(){function e(e,t){this.declarations=e,this.expressions=t}return e}();t.SourceExpressions=l;var p=function(){function e(e,t){this.source=e,this.imports=t}return e}();return t.SourceWithImports=p,i.define=o,n.exports}),e.registerDynamic("6d",["20"],!0,function(e,t,n){"use strict";function r(e){return m.StringWrapper.replaceAllMapped(e,v,function(e){return"-"+e[1].toLowerCase()})}function i(e){return m.StringWrapper.replaceAllMapped(e,y,function(e){return e[1].toUpperCase()})}function o(e){return m.isBlank(e)?null:"'"+a(e,g)+"'"}function s(e){return m.isBlank(e)?null:'"'+a(e,b)+'"'}function a(e,t){return m.StringWrapper.replaceAllMapped(e,t,function(e){return"$"==e[0]?m.IS_DART?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":"\\"+e[0]})}function u(e){return m.IS_DART?"const "+e+" = ":"var "+e+" = exports['"+e+"'] = "}function c(e){return m.IS_DART?"const "+e:"new "+e}function l(e,t,n){return void 0===n&&(n=""),m.IS_DART?n+"("+e.join(",")+") => "+t:"function "+n+"("+e.join(",")+") { return "+t+"; }"}function p(e){return m.IS_DART?"'${"+e+"}'":e}function f(e,t){var n=m.StringWrapper.split(e.trim(),/\s*:\s*/g);return n.length>1?n:t}var d=this,h=d.define;d.define=void 0;var m=e("20"),v=/([A-Z])/g,y=/-([a-z])/g,g=/'|\\|\n|\r|\$/g,b=/"|\\|\n|\r|\$/g;return t.MODULE_SUFFIX=m.IS_DART?".dart":".js",t.camelCaseToDashCase=r,t.dashCaseToCamelCase=i,t.escapeSingleQuoteString=o,t.escapeDoubleQuoteString=s,t.codeGenExportVariable=u,t.codeGenConstConstructorCall=c,t.codeGenValueFn=l,t.codeGenToString=p,t.splitAtColon=f,d.define=h,n.exports}),e.registerDynamic("69",["20","37","64","72","66","6d","39"],!0,function(e,t,n){"use strict";function r(e,t,n){return b.templateVisitAll(e,t,n),n}function i(e){for(var t=new Set,n=[],r=0;r<e.length;r+=2){var i=e[r],o=e[r+1],s=i+":"+o;y.SetWrapper.has(t,s)||(n.push(i),n.push(o),t.add(s))}return n}function o(e){for(var t={},n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function s(e){var t=[];y.StringMapWrapper.forEach(e,function(e,n){t.push([n,e])}),y.ListWrapper.sort(t,function(e,t){return v.StringWrapper.compare(e[0],t[0])});var n=[];return t.forEach(function(e){n.push(e[0]),n.push(e[1])}),n}function a(e,t,n){return e==C||e==x?t+" "+n:n}function u(e){return e instanceof I?e.value:v.isString(e)?E.escapeSingleQuoteString(e):v.isBlank(e)?"null":""+e}function c(e){var t="["+e.map(u).join(",")+"]";return v.IS_DART?"const "+t:t}function l(e){var t=e.map(function(e){return""+_.moduleRef(e.type.moduleUrl)+e.type.name}),n="["+t.join(",")+"]";return v.IS_DART?"const "+n:n}function p(e){return v.IS_DART?""+t.TEMPLATE_COMMANDS_MODULE_REF+e:""+e}var f=this,d=f.define;f.define=void 0;var h=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},m=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},v=e("20"),y=e("37"),g=e("64"),b=e("72"),_=e("66"),E=e("6d"),D=e("39");t.TEMPLATE_COMMANDS_MODULE_REF=_.moduleRef("package:angular2/src/core/linker/template_commands"+E.MODULE_SUFFIX);var w="$implicit",C="class",x="style",A=function(){function e(){}return e.prototype.compileComponentRuntime=function(e,t,n,r){var i=new O(new P(e,r,n),0);return b.templateVisitAll(i,t),i.result},e.prototype.compileComponentCodeGen=function(e,t,n,r){var i=new O(new S(e,r,n),0);return b.templateVisitAll(i,t),new _.SourceExpression([],c(i.result))},e=h([D.Injectable(),m("design:paramtypes",[])],e)}();t.CommandCompiler=A;var P=function(){function e(e,t,n){this.component=e,this.componentTemplateFactory=t,this.changeDetectorFactories=n}return e.prototype._mapDirectives=function(e){return e.map(function(e){return e.type.runtime})},e.prototype.createText=function(e,t,n){return new g.TextCmd(e,t,n)},e.prototype.createNgContent=function(e,t){return new g.NgContentCmd(e,t)},e.prototype.createBeginElement=function(e,t,n,r,i,o,s){return new g.BeginElementCmd(e,t,n,r,this._mapDirectives(i),o,s)},e.prototype.createEndElement=function(){return new g.EndElementCmd},e.prototype.createBeginComponent=function(e,t,n,r,i,o,s){var a=this.componentTemplateFactory(i[0]);return new g.BeginComponentCmd(e,t,n,r,this._mapDirectives(i),o,s,a)},e.prototype.createEndComponent=function(){return new g.EndComponentCmd},e.prototype.createEmbeddedTemplate=function(e,t,n,r,i,o,s){return new g.EmbeddedTemplateCmd(t,n,this._mapDirectives(r),i,o,this.changeDetectorFactories[e],s)},e}(),S=function(){function e(e,t,n){this.component=e,this.componentTemplateFactory=t,this.changeDetectorFactoryExpressions=n}return e.prototype.createText=function(e,n,r){return new I(E.codeGenConstConstructorCall(t.TEMPLATE_COMMANDS_MODULE_REF+"TextCmd")+"("+E.escapeSingleQuoteString(e)+", "+n+", "+r+")")},e.prototype.createNgContent=function(e,n){return new I(E.codeGenConstConstructorCall(t.TEMPLATE_COMMANDS_MODULE_REF+"NgContentCmd")+"("+e+", "+n+")")},e.prototype.createBeginElement=function(e,n,r,i,o,s,a){var u=c(n);return new I(E.codeGenConstConstructorCall(t.TEMPLATE_COMMANDS_MODULE_REF+"BeginElementCmd")+"("+E.escapeSingleQuoteString(e)+", "+u+", "+(c(r)+", "+c(i)+", "+l(o)+", "+s+", "+a+")"))},e.prototype.createEndElement=function(){return new I(E.codeGenConstConstructorCall(t.TEMPLATE_COMMANDS_MODULE_REF+"EndElementCmd")+"()")},e.prototype.createBeginComponent=function(e,n,r,i,o,s,a){var u=c(n);return new I(E.codeGenConstConstructorCall(t.TEMPLATE_COMMANDS_MODULE_REF+"BeginComponentCmd")+"("+E.escapeSingleQuoteString(e)+", "+u+", "+(c(r)+", "+c(i)+", "+l(o)+", "+p(s)+", "+a+", "+this.componentTemplateFactory(o[0])+")"))},e.prototype.createEndComponent=function(){return new I(E.codeGenConstConstructorCall(t.TEMPLATE_COMMANDS_MODULE_REF+"EndComponentCmd")+"()")},e.prototype.createEmbeddedTemplate=function(e,n,r,i,o,s,a){return new I(E.codeGenConstConstructorCall(t.TEMPLATE_COMMANDS_MODULE_REF+"EmbeddedTemplateCmd")+"("+c(n)+", "+c(r)+", "+(l(i)+", "+o+", "+s+", "+this.changeDetectorFactoryExpressions[e]+", "+c(a)+")"))},e}(),O=function(){function e(e,t){this.commandFactory=e,this.embeddedTemplateIndex=t,this.result=[],this.transitiveNgContentCount=0}return e.prototype._readAttrNameAndValues=function(e,t){var n=o(r(this,t,[]));return e.forEach(function(e){y.StringMapWrapper.forEach(e.hostAttributes,function(e,t){var r=n[t];n[t]=v.isPresent(r)?a(t,r,e):e})}),s(n)},e.prototype.visitNgContent=function(e,t){return this.transitiveNgContentCount++,this.result.push(this.commandFactory.createNgContent(e.index,e.ngContentIndex)),null},e.prototype.visitEmbeddedTemplate=function(t,n){var r=this;this.embeddedTemplateIndex++;var i=new e(this.commandFactory,this.embeddedTemplateIndex);b.templateVisitAll(i,t.children);var o=i.transitiveNgContentCount>0,s=[];t.vars.forEach(function(e){s.push(e.name),s.push(e.value.length>0?e.value:w)});var a=[];return y.ListWrapper.forEachWithIndex(t.directives,function(e,t){e.visit(r,new R(t,[],[],a))}),this.result.push(this.commandFactory.createEmbeddedTemplate(this.embeddedTemplateIndex,this._readAttrNameAndValues(a,t.attrs),s,a,o,t.ngContentIndex,i.result)),this.transitiveNgContentCount+=i.transitiveNgContentCount,this.embeddedTemplateIndex=i.embeddedTemplateIndex,null},e.prototype.visitElement=function(e,t){var n=this,o=e.getComponent(),s=r(this,e.outputs,[]),a=[];v.isBlank(o)&&e.exportAsVars.forEach(function(e){a.push(e.name),a.push(null)});var u=[];y.ListWrapper.forEachWithIndex(e.directives,function(e,t){e.visit(n,new R(t,s,a,u))}),s=i(s);var c=this._readAttrNameAndValues(u,e.attrs);return v.isPresent(o)?(this.result.push(this.commandFactory.createBeginComponent(e.name,c,s,a,u,o.template.encapsulation,e.ngContentIndex)),b.templateVisitAll(this,e.children),this.result.push(this.commandFactory.createEndComponent())):(this.result.push(this.commandFactory.createBeginElement(e.name,c,s,a,u,e.isBound(),e.ngContentIndex)),b.templateVisitAll(this,e.children),this.result.push(this.commandFactory.createEndElement())),null},e.prototype.visitVariable=function(e,t){return null},e.prototype.visitAttr=function(e,t){return t.push(e.name),t.push(e.value),null},e.prototype.visitBoundText=function(e,t){return this.result.push(this.commandFactory.createText(null,!0,e.ngContentIndex)),null},e.prototype.visitText=function(e,t){return this.result.push(this.commandFactory.createText(e.value,!1,e.ngContentIndex)),null},e.prototype.visitDirective=function(e,t){return t.targetDirectives.push(e.directive),b.templateVisitAll(this,e.hostEvents,t.eventTargetAndNames),e.exportAsVars.forEach(function(e){t.targetVariableNameAndValues.push(e.name),t.targetVariableNameAndValues.push(t.index)}),null},e.prototype.visitEvent=function(e,t){return t.push(e.target),t.push(e.name),null},e.prototype.visitDirectiveProperty=function(e,t){return null},e.prototype.visitElementProperty=function(e,t){return null},e}(),R=function(){function e(e,t,n,r){this.index=e,this.eventTargetAndNames=t,this.targetVariableNameAndValues=n,this.targetDirectives=r}return e}(),I=function(){function e(e){this.value=e}return e}();return f.define=d,n.exports}),e.registerDynamic("36",["20"],!0,function(e,t,n){"use strict";function r(e){s.isBlank(t.DOM)&&(t.DOM=e)}var i=this,o=i.define;i.define=void 0;var s=e("20");t.DOM=null,t.setRootDomAdapter=r;var a=function(){function e(){}return e}();return t.DomAdapter=a,i.define=o,n.exports}),e.registerDynamic("70",["20"],!0,function(e,t,n){"use strict";function r(e){var t=p[e.toLowerCase()];return u.isPresent(t)?t:f}function i(e){if("@"!=e[0])return[null,e];var t=u.RegExpWrapper.firstMatch(d,e);return[t[1],t[2]]}function o(e){return i(e)[0]}var s=this,a=s.define;s.define=void 0;var u=e("20");t.NAMED_ENTITIES=u.CONST_EXPR({Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞","int":"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"",zwnj:""}),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(t.HtmlTagContentType||(t.HtmlTagContentType={}));var c=t.HtmlTagContentType,l=function(){function e(e){var t=this,n=void 0===e?{}:e,r=n.closedByChildren,i=n.requiredParents,o=n.implicitNamespacePrefix,s=n.contentType,a=n.closedByParent,l=n.isVoid,p=n.ignoreFirstLf;this.closedByChildren={},this.closedByParent=!1,u.isPresent(r)&&r.length>0&&r.forEach(function(e){return t.closedByChildren[e]=!0}),this.isVoid=u.normalizeBool(l),this.closedByParent=u.normalizeBool(a)||this.isVoid,u.isPresent(i)&&i.length>0&&(this.requiredParents={},this.parentToAdd=i[0],i.forEach(function(e){return t.requiredParents[e]=!0})),this.implicitNamespacePrefix=o,this.contentType=u.isPresent(s)?s:c.PARSABLE_DATA,this.ignoreFirstLf=u.normalizeBool(p)}return e.prototype.requireExtraParent=function(e){if(u.isBlank(this.requiredParents))return!1;if(u.isBlank(e))return!0;var t=e.toLowerCase();return 1!=this.requiredParents[t]&&"template"!=t},e.prototype.isClosedByChild=function(e){return this.isVoid||u.normalizeBool(this.closedByChildren[e.toLowerCase()])},e}();t.HtmlTagDefinition=l;var p={area:new l({isVoid:!0}),embed:new l({isVoid:!0}),link:new l({isVoid:!0}),img:new l({isVoid:!0}),input:new l({isVoid:!0}),param:new l({isVoid:!0}),hr:new l({isVoid:!0}),br:new l({isVoid:!0}),source:new l({isVoid:!0}),track:new l({isVoid:!0}),wbr:new l({isVoid:!0}),p:new l({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new l({closedByChildren:["tbody","tfoot"]}),tbody:new l({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new l({closedByChildren:["tbody"],closedByParent:!0}),tr:new l({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new l({closedByChildren:["td","th"],closedByParent:!0}),th:new l({closedByChildren:["td","th"],closedByParent:!0}),col:new l({requiredParents:["colgroup"],isVoid:!0}),svg:new l({implicitNamespacePrefix:"svg"}),math:new l({implicitNamespacePrefix:"math"}),li:new l({closedByChildren:["li"],closedByParent:!0}),dt:new l({closedByChildren:["dt","dd"]}),dd:new l({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new l({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new l({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new l({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new l({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new l({closedByChildren:["optgroup"],closedByParent:!0}),option:new l({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new l({ignoreFirstLf:!0}),listing:new l({ignoreFirstLf:!0}),style:new l({contentType:c.RAW_TEXT}),script:new l({contentType:c.RAW_TEXT}),title:new l({contentType:c.ESCAPABLE_RAW_TEXT}),textarea:new l({contentType:c.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},f=new l;t.getHtmlTagDefinition=r;var d=/^@([^:]+):(.+)/g;return t.splitNsName=i,t.getNsPrefix=o,s.define=a,n.exports}),e.registerDynamic("74",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(){}return e.prototype.hasProperty=function(e,t){return!0},e.prototype.getMappedPropName=function(e){return e},e}();return t.ElementSchemaRegistry=o,r.define=i,n.exports}),e.registerDynamic("87",["39","20","37","36","70","74"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("39"),c=e("20"),l=e("37"),p=e("36"),f=e("70"),d=e("74"),h=c.CONST_EXPR({xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"}),m=function(e){function t(){e.apply(this,arguments),this._protoElements=new Map}return o(t,e),t.prototype._getProtoElement=function(e){var t=this._protoElements.get(e);if(c.isBlank(t)){var n=f.splitNsName(e);t=c.isPresent(n[0])?p.DOM.createElementNS(h[n[0]],n[1]):p.DOM.createElement(n[1]),this._protoElements.set(e,t)}return t},t.prototype.hasProperty=function(e,t){if(-1!==e.indexOf("-"))return!0;var n=this._getProtoElement(e);return p.DOM.hasProperty(n,t)},t.prototype.getMappedPropName=function(e){var t=l.StringMapWrapper.get(p.DOM.attrToPropMap,e);return c.isPresent(t)?t:e},t=s([u.Injectable(),a("design:paramtypes",[])],t)}(d.ElementSchemaRegistry);return t.DomElementSchemaRegistry=m,r.define=i,n.exports}),e.registerDynamic("7a",["39","20","88"],!0,function(e,t,n){"use strict";function r(){return new b}function i(e){var t=s(e);return t&&t[_.Scheme]||""}function o(e,t,n,r,i,o,s){var a=[];return v.isPresent(e)&&a.push(e+":"),v.isPresent(n)&&(a.push("//"),v.isPresent(t)&&a.push(t+"@"),a.push(n),v.isPresent(r)&&a.push(":"+r)),v.isPresent(i)&&a.push(i),v.isPresent(o)&&a.push("?"+o),v.isPresent(s)&&a.push("#"+s),a.join("")}function s(e){return v.RegExpWrapper.firstMatch(E,e)}function a(e){if("/"==e)return"/";for(var t="/"==e[0]?"/":"",n="/"===e[e.length-1]?"/":"",r=e.split("/"),i=[],o=0,s=0;s<r.length;s++){var a=r[s];switch(a){case"":case".":break;case"..":i.length>0?i.pop():o++;break;default:i.push(a)}}if(""==t){for(;o-- >0;)i.unshift("..");0===i.length&&i.push(".")}return t+i.join("/")+n}function u(e){var t=e[_.Path];return t=v.isBlank(t)?"":a(t),e[_.Path]=t,o(e[_.Scheme],e[_.UserInfo],e[_.Domain],e[_.Port],t,e[_.QueryData],e[_.Fragment])}function c(e,t){var n=s(encodeURI(t)),r=s(e);if(v.isPresent(n[_.Scheme]))return u(n);n[_.Scheme]=r[_.Scheme];for(var i=_.Scheme;i<=_.Port;i++)v.isBlank(n[i])&&(n[i]=r[i]);if("/"==n[_.Path][0])return u(n);var o=r[_.Path];v.isBlank(o)&&(o="/");var a=o.lastIndexOf("/");return o=o.substring(0,a+1)+n[_.Path],n[_.Path]=o,u(n)}var l=this,p=l.define;l.define=void 0;var f=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},d=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},h=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},m=e("39"),v=e("20"),y=e("88"),g=e("39");t.createWithoutPackagePrefix=r,t.DEFAULT_PACKAGE_URL_PROVIDER=new g.Provider(y.PACKAGE_ROOT_URL,{useValue:"/"});var b=function(){function e(e){void 0===e&&(e=null),v.isPresent(e)&&(this._packagePrefix=v.StringWrapper.stripRight(e,"/")+"/")}return e.prototype.resolve=function(e,t){var n=t;return v.isPresent(e)&&e.length>0&&(n=c(e,n)),v.isPresent(this._packagePrefix)&&"package"==i(n)&&(n=n.replace("package:",this._packagePrefix)),n},e=f([m.Injectable(),h(0,m.Inject(y.PACKAGE_ROOT_URL)),d("design:paramtypes",[String])],e)}();t.UrlResolver=b,t.getUrlScheme=i;var _,E=v.RegExpWrapper.create("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");return function(e){e[e.Scheme=1]="Scheme",e[e.UserInfo=2]="UserInfo",e[e.Domain=3]="Domain",e[e.Port=4]="Port",e[e.Path=5]="Path",e[e.QueryData=6]="QueryData",e[e.Fragment=7]="Fragment"}(_||(_={})),l.define=p,n.exports}),e.registerDynamic("89",["5f","62","65","66","82","72","6a","20","39","6f","6b","6c","67","68","69","6e","60","74","87","7a"],!0,function(e,t,n){
|
||
"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function i(){return new w.ChangeDetectorGenConfig(d.assertionsEnabled(),!1,!0)}var o=this,s=o.define;o.define=void 0;var a=e("5f"),u=e("62");t.TemplateCompiler=u.TemplateCompiler;var c=e("65");t.CompileDirectiveMetadata=c.CompileDirectiveMetadata,t.CompileTypeMetadata=c.CompileTypeMetadata,t.CompileTemplateMetadata=c.CompileTemplateMetadata;var l=e("66");t.SourceModule=l.SourceModule,t.SourceWithImports=l.SourceWithImports;var p=e("82");t.PLATFORM_DIRECTIVES=p.PLATFORM_DIRECTIVES,t.PLATFORM_PIPES=p.PLATFORM_PIPES,r(e("72"));var f=e("6a");t.TEMPLATE_TRANSFORMS=f.TEMPLATE_TRANSFORMS;var d=e("20"),h=e("39"),m=e("6a"),v=e("6f"),y=e("6b"),g=e("6c"),b=e("67"),_=e("68"),E=e("69"),D=e("62"),w=e("6e"),C=e("60"),x=e("5f"),A=e("74"),P=e("87"),S=e("7a"),O=e("6e");return t.COMPILER_PROVIDERS=d.CONST_EXPR([O.Lexer,O.Parser,v.HtmlParser,m.TemplateParser,y.TemplateNormalizer,g.RuntimeMetadataResolver,S.DEFAULT_PACKAGE_URL_PROVIDER,_.StyleCompiler,E.CommandCompiler,b.ChangeDetectionCompiler,new h.Provider(w.ChangeDetectorGenConfig,{useFactory:i,deps:[]}),D.TemplateCompiler,new h.Provider(x.RuntimeCompiler,{useClass:a.RuntimeCompiler_}),new h.Provider(C.Compiler,{useExisting:x.RuntimeCompiler}),P.DomElementSchemaRegistry,new h.Provider(A.ElementSchemaRegistry,{useExisting:P.DomElementSchemaRegistry}),S.UrlResolver]),o.define=s,n.exports}),e.registerDynamic("8a",["7a","79","89"],!0,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=this,o=i.define;return i.define=void 0,r(e("7a")),r(e("79")),r(e("89")),i.define=o,n.exports}),e.registerDynamic("79",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(){}return e.prototype.get=function(e){return null},e}();return t.XHR=o,r.define=i,n.exports}),e.registerDynamic("3e",["8b","20","79"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("8b"),a=e("20"),u=e("79"),c=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.get=function(e){var t=s.PromiseWrapper.completer(),n=new XMLHttpRequest;return n.open("GET",e,!0),n.responseType="text",n.onload=function(){var r=a.isPresent(n.response)?n.response:n.responseText,i=1223===n.status?204:n.status;0===i&&(i=r?200:0),i>=200&&300>=i?t.resolve(r):t.reject("Failed to load "+e,null)},n.onerror=function(){t.reject("Failed to load "+e,null)},n.send(),t.promise},t}(u.XHR);return t.XHRImpl=c,r.define=i,n.exports}),e.registerDynamic("15",["33","5d","20","8a","14","8c","3e","39","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e,n){c.reflector.reflectionCapabilities=new l.ReflectionCapabilities;var r=s.isPresent(n)?[t.BROWSER_APP_PROVIDERS,n]:t.BROWSER_APP_PROVIDERS;return c.platform(a.BROWSER_PROVIDERS).application(r).bootstrap(e)}var i=e("33");t.AngularEntrypoint=i.AngularEntrypoint;var o=e("5d");t.BROWSER_PROVIDERS=o.BROWSER_PROVIDERS,t.ELEMENT_PROBE_BINDINGS=o.ELEMENT_PROBE_BINDINGS,t.ELEMENT_PROBE_PROVIDERS=o.ELEMENT_PROBE_PROVIDERS,t.inspectNativeElement=o.inspectNativeElement,t.BrowserDomAdapter=o.BrowserDomAdapter,t.By=o.By,t.Title=o.Title,t.DOCUMENT=o.DOCUMENT,t.enableDebugTools=o.enableDebugTools,t.disableDebugTools=o.disableDebugTools;var s=e("20"),a=e("5d"),u=e("8a"),c=e("14"),l=e("8c"),p=e("3e"),f=e("8a"),d=e("39");t.BROWSER_APP_PROVIDERS=s.CONST_EXPR([a.BROWSER_APP_COMMON_PROVIDERS,u.COMPILER_PROVIDERS,new d.Provider(f.XHR,{useClass:p.XHRImpl})]),t.bootstrap=r}(e("34")),r.define=i,n.exports}),e.register("1c",["3","4","5","6","7","11","12","14","15","20","59","1d"],function(e){var t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]},function(e){u=e["default"]},function(e){c=e.NgZone,l=e.ChangeDetectionStrategy},function(e){p=e.BrowserDomAdapter},function(e){f=e.global},function(e){d=e.document},function(e){h=e.redocEvents}],execute:function(){"use strict";m={NEXT:1,BACK:-1,INITIAL:0},v={ABOVE:1,BELLOW:-1,INVIEW:0},y=function(e){function n(e,t,n,i){var o=this;s(this,c),r(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,e),this.zone=n,this.adapter=t,this.redoc=i,this.scrollParent=this.redoc.scrollParent,this.zone.run(function(){o.bindEvents()}),this.activeCatIdx=0,this.activeMethodIdx=-1,this.prevOffsetY=null,h.bootstrapped.subscribe(function(){return o.hashScroll()})}i(n,e),o(n,[{key:"scrollY",value:function(){return null!=this.scrollParent.scrollY?this.scrollParent.scrollY:this.scrollParent.scrollTop}},{key:"hashScroll",value:function(e){var t=this.adapter.getLocation().hash;if(t){t=t.substr(1);var n=t.split("/")[0],r=t.substr(n.length),i=this.getMethodEl(r,n);i&&this.scrollTo(i),e&&e.preventDefault()}}},{key:"bindEvents",value:function(){var e=this;this.prevOffsetY=this.scrollY(),this.scrollYOffset=this.redoc.options.scrollYOffset,this._cancel={},this._cancel.scroll=this.adapter.onAndCancel(this.scrollParent,"scroll",function(){e.scrollHandler()}),this._cancel.hash=this.adapter.onAndCancel(f,"hashchange",function(t){return e.hashScroll(t)})}},{key:"destroy",value:function(){this._cancel.scroll(),this._cancel.hash()}},{key:"activateAndScroll",value:function(e,t){this.activate(e,t),this.scrollToActive()}},{key:"scrollTo",value:function(e){var t=e.getBoundingClientRect(),n=this.scrollY()+t.top-this.scrollYOffset()+1;this.scrollParent.scrollTo?this.scrollParent.scrollTo(0,n):this.scrollParent.scrollTop=n}},{key:"scrollToActive",value:function(){this.scrollTo(this.getCurrentMethodEl())}},{key:"activate",value:function(e,t){var n=this.data.menu;if(n[this.activeCatIdx].active=!1,n[this.activeCatIdx].methods.length&&this.activeMethodIdx>=0&&(n[this.activeCatIdx].methods[this.activeMethodIdx].active=!1),this.activeCatIdx=e,this.activeMethodIdx=t,n[e].active=!0,this.activeMethodPtr=null,n[e].methods.length&&t>-1){var r=n[e].methods[t];r.active=!0,this.activeMethodPtr=r.pointer}}},{key:"_calcActiveIndexes",value:function(e){var t=this.data.menu,n=t.length,r=t[this.activeCatIdx].methods.length,i=this.activeMethodIdx+e,o=this.activeCatIdx;if(i>r-1&&(o++,i=-1),-1>i){var s=--o;r=t[Math.max(s,0)].methods.length,i=r-1}return o>n-1&&(o=n-1,i=r-1),0>o&&(o=0,i=0),[o,i]}},{key:"changeActive",value:function(){var e=arguments.length<=0||void 0===arguments[0]?1:arguments[0],t=this._calcActiveIndexes(e),n=a(t,2),r=n[0],i=n[1];return this.activate(r,i),0===i&&0===r}},{key:"getMethodEl",value:function(e,t){var n=e?'[pointer="'+e+'"][tag="'+t+'"]':'[tag="'+t+'"]';return d.querySelector(n)}},{key:"getCurrentMethodEl",value:function(){return this.getMethodEl(this.activeMethodPtr,this.data.menu[this.activeCatIdx].name)}},{key:"getElementInViewPos",value:function(e){return Math.floor(e.getBoundingClientRect().top)>this.scrollYOffset()?v.ABOVE:e.getBoundingClientRect().bottom<=this.scrollYOffset()?v.BELLOW:v.INVIEW}},{key:"scrollHandler",value:function(){var e=this.scrollY()-this.prevOffsetY>0;this.prevOffsetY=this.scrollY();for(var t=!1;!t;){var n=this.getCurrentMethodEl();if(!n)return;var r=this.getElementInViewPos(n);t=e&&r===v.BELLOW?this.changeActive(m.NEXT):e||r!==v.ABOVE?!0:this.changeActive(m.BACK)}}},{key:"prepareModel",value:function(){this.data={},this.data.menu=u(this.schemaMgr.buildMenuTree().entries()).map(function(e){return{name:e[0],description:e[1].description,methods:e[1].methods}})}},{key:"init",value:function(){this.changeActive(m.INITIAL)}}]);var c=n;return n=t({selector:"side-menu",template:'\n <h2 class="menu-header"> Api reference </h2>\n <div *ngFor="var cat of data.menu; #idx = index" class="menu-cat">\n\n <label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [ngClass]="{active: cat.active}"> {{cat.name}}</label>\n <ul class="menu-subitems" [ngClass]="{active: cat.active}">\n <li *ngFor="var method of cat.methods; var methIdx = index"\n [ngClass]="{active: method.active}"\n (click)="activateAndScroll(idx, methIdx)">\n {{method.summary}}\n </li>\n </ul>\n\n </div>\n ',styles:["\n .menu-header {\n text-transform: uppercase;\n color: #00329F;\n padding: 0 20px;\n margin: 10px 0;\n font-size: 16px; }\n\n .menu-cat-header {\n font-size: 15px;\n cursor: pointer;\n color: #384248;\n text-transform: uppercase;\n background-color: #FAFAFA;\n display: block;\n padding: 5px 20px; }\n\n .menu-cat:nth-of-type(even) .menu-cat-header {\n background-color: #F0F0F0; }\n\n .menu-subitems {\n margin: 0;\n padding: 0;\n height: 0;\n overflow: hidden; }\n\n .menu-subitems.active {\n height: auto; }\n\n .menu-subitems li {\n list-style: none inside none;\n cursor: pointer;\n padding: 5px 20px;\n padding-left: 40px;\n background-color: #FAFAFA;\n overflow: hidden;\n text-overflow: ellipsis; }\n\n .menu-subitems li:nth-of-type(even) {\n background-color: #F0F0F0; }\n\n .menu-cat:nth-of-type(odd) .menu-subitems li {\n background-color: #F0F0F0; }\n\n .menu-cat:nth-of-type(odd) .menu-subitems li:nth-of-type(even) {\n background-color: #FAFAFA; }\n\n .menu-cat-header.active, .menu-subitems li.active {\n background-color: #E6E6E6 !important;\n font-weight: bold; }\n "],changeDetection:l.Default})(n)||n}(n),e("default",y),y.parameters=y.parameters.concat([[p],[c]])}}}),e.registerDynamic("8d",["8e","8f","90","91","92","93","94","95"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("8e"),s=e("8f"),a=e("90"),u=e("91"),c=e("92"),l=e("93"),p=e("94");return s(s.S+s.F*!e("95")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,i,s=a(e),f="function"==typeof this?this:Array,d=arguments,h=d.length,m=h>1?d[1]:void 0,v=void 0!==m,y=0,g=p(s);if(v&&(m=o(m,h>2?d[2]:void 0,2)),void 0==g||f==Array&&c(g))for(t=l(s.length),n=new f(t);t>y;y++)n[y]=v?m(s[y],y):s[y];else for(i=g.call(s),n=new f;!(r=i.next()).done;y++)n[y]=v?u(i,m,[r.value,y],!0):r.value;return n.length=y,n}}),r.define=i,n.exports}),e.registerDynamic("96",["30","8d","2d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("30"),e("8d"),n.exports=e("2d").Array.from,r.define=i,n.exports}),e.registerDynamic("12",["96"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("96"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("97",["12"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("12")["default"];return t["default"]=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return o(e)},t.__esModule=!0,r.define=i,n.exports}),e.registerDynamic("98",["99","90","9a","9b"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("99"),s=e("90"),a=e("9a");return n.exports=e("9b")(function(){var e=Object.assign,t={},n={},r=Symbol(),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach(function(e){n[e]=e}),7!=e({},t)[r]||Object.keys(e({},n)).join("")!=i})?function(e,t){for(var n=s(e),r=arguments,i=r.length,u=1,c=o.getKeys,l=o.getSymbols,p=o.isEnum;i>u;)for(var f,d=a(r[u++]),h=l?c(d).concat(l(d)):c(d),m=h.length,v=0;m>v;)p.call(d,f=h[v++])&&(n[f]=d[f]);return n}:Object.assign,r.define=i,n.exports}),e.registerDynamic("9c",["8f","98"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("8f");return o(o.S+o.F,"Object",{assign:e("98")}),r.define=i,n.exports}),e.registerDynamic("9d",["9c","2d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("9c"),n.exports=e("2d").Object.assign,r.define=i,n.exports}),e.registerDynamic("17",["9d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("9d"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("9e",["20","63","14","9f"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("63"),c=e("14"),l=e("9f"),p=function(){function e(){}return e.prototype.createSubscription=function(e,t){return u.ObservableWrapper.subscribe(e,t,function(e){throw e})},e.prototype.dispose=function(e){u.ObservableWrapper.dispose(e)},e.prototype.onDestroy=function(e){u.ObservableWrapper.dispose(e)},e}(),f=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t)},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}(),d=new f,h=new p,m=function(){function e(e){this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}return e.prototype.ngOnDestroy=function(){a.isPresent(this._subscription)&&this._dispose()},e.prototype.transform=function(e,t){return a.isBlank(this._obj)?(a.isPresent(e)&&this._subscribe(e),this._latestValue):e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,c.WrappedValue.wrap(this._latestValue))},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(n){return t._updateLatestValue(e,n)})},e.prototype._selectStrategy=function(t){if(a.isPromise(t))return d;if(u.ObservableWrapper.isObservable(t))return h;throw new l.InvalidPipeArgumentException(e,t)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},e=o([c.Pipe({name:"async",pure:!1}),c.Injectable(),s("design:paramtypes",[c.ChangeDetectorRef])],e)}();return t.AsyncPipe=m,r.define=i,n.exports}),e.registerDynamic("a0",["20","14","9f"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("14"),c=e("9f"),l=function(){function e(){}return e.prototype.transform=function(t,n){if(void 0===n&&(n=null),a.isBlank(t))return t;if(!a.isString(t))throw new c.InvalidPipeArgumentException(e,t);return t.toUpperCase()},e=o([a.CONST(),u.Pipe({name:"uppercase"}),u.Injectable(),s("design:paramtypes",[])],e)}();return t.UpperCasePipe=l,r.define=i,n.exports}),e.registerDynamic("a1",["20","14","9f"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("14"),c=e("9f"),l=function(){function e(){}return e.prototype.transform=function(t,n){if(void 0===n&&(n=null),a.isBlank(t))return t;if(!a.isString(t))throw new c.InvalidPipeArgumentException(e,t);return t.toLowerCase()},e=o([a.CONST(),u.Pipe({name:"lowercase"}),u.Injectable(),s("design:paramtypes",[])],e)}();return t.LowerCasePipe=l,r.define=i,n.exports}),e.registerDynamic("a2",["20","14"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("14"),c=function(){function e(){}return e.prototype.transform=function(e,t){return void 0===t&&(t=null),a.Json.stringify(e)},e=o([a.CONST(),u.Pipe({name:"json",pure:!1}),u.Injectable(),s("design:paramtypes",[])],e)}();return t.JsonPipe=c,r.define=i,n.exports}),e.registerDynamic("a3",["20","3c","37","14","9f"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("3c"),c=e("37"),l=e("14"),p=e("9f"),f=function(){function e(){}return e.prototype.transform=function(t,n){if(void 0===n&&(n=null),a.isBlank(n)||0==n.length)throw new u.BaseException("Slice pipe requires one argument");if(!this.supports(t))throw new p.InvalidPipeArgumentException(e,t);if(a.isBlank(t))return t;var r=n[0],i=n.length>1?n[1]:null;return a.isString(t)?a.StringWrapper.slice(t,r,i):c.ListWrapper.slice(t,r,i)},e.prototype.supports=function(e){return a.isString(e)||a.isArray(e)},e=o([l.Pipe({name:"slice",pure:!1}),l.Injectable(),s("design:paramtypes",[])],e)}();return t.SlicePipe=f,r.define=i,n.exports}),e.registerDynamic("a4",["20","a5","14","37","9f"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("a5"),c=e("14"),l=e("37"),p=e("9f"),f="en-US",d=function(){function e(){}return e.prototype.transform=function(t,n){if(a.isBlank(t))return null;if(!this.supports(t))throw new p.InvalidPipeArgumentException(e,t);var r=a.isPresent(n)&&n.length>0?n[0]:"mediumDate";return a.isNumber(t)&&(t=a.DateWrapper.fromMillis(t)),l.StringMapWrapper.contains(e._ALIASES,r)&&(r=l.StringMapWrapper.get(e._ALIASES,r)),u.DateFormatter.format(t,f,r)},e.prototype.supports=function(e){return a.isDate(e)||a.isNumber(e)},e._ALIASES={medium:"yMMMdjms","short":"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},e=o([a.CONST(),c.Pipe({name:"date",pure:!0}),c.Injectable(),s("design:paramtypes",[])],e)}();return t.DatePipe=d,r.define=i,n.exports}),e.registerDynamic("a5",[],!0,function(e,t,n){"use strict";function r(e){return 2==e?"2-digit":"numeric"}function i(e){return 4>e?"short":"long"}function o(e){for(var t,n={},o=0;o<e.length;){for(t=o;t<e.length&&e[t]==e[o];)t++;var s=t-o;switch(e[o]){case"G":n.era=i(s);break;case"y":n.year=r(s);break;case"M":s>=3?n.month=i(s):n.month=r(s);break;case"d":n.day=r(s);break;case"E":n.weekday=i(s);break;case"j":n.hour=r(s);break;case"h":n.hour=r(s),n.hour12=!0;break;case"H":n.hour=r(s),n.hour12=!1;break;case"m":n.minute=r(s);break;case"s":n.second=r(s);break;case"z":n.timeZoneName="long";break;case"Z":n.timeZoneName="short"}o=t}return n}var s=this,a=s.define;s.define=void 0,function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency"}(t.NumberFormatStyle||(t.NumberFormatStyle={}));var u=t.NumberFormatStyle,c=function(){function e(){}return e.format=function(e,t,n,r){var i=void 0===r?{}:r,o=i.minimumIntegerDigits,s=void 0===o?1:o,a=i.minimumFractionDigits,c=void 0===a?0:a,l=i.maximumFractionDigits,p=void 0===l?3:l,f=i.currency,d=i.currencyAsSymbol,h=void 0===d?!1:d,m={minimumIntegerDigits:s,minimumFractionDigits:c,maximumFractionDigits:p};return m.style=u[n].toLowerCase(),n==u.Currency&&(m.currency=f,m.currencyDisplay=h?"symbol":"code"),new Intl.NumberFormat(t,m).format(e)},e}();t.NumberFormatter=c;var l=new Map,p=function(){function e(){}return e.format=function(e,t,n){var r=t+n;if(l.has(r))return l.get(r).format(e);var i=new Intl.DateTimeFormat(t,o(n));return l.set(r,i),i.format(e)},e}();return t.DateFormatter=p,s.define=a,n.exports}),e.registerDynamic("9f",["20","3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("20"),a=e("3c"),u=function(e){function t(t,n){e.call(this,"Invalid argument '"+n+"' for pipe '"+s.stringify(t)+"'")}return o(t,e),t}(a.BaseException);return t.InvalidPipeArgumentException=u,r.define=i,n.exports}),e.registerDynamic("a6",["20","3c","a5","14","37","9f"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("20"),c=e("3c"),l=e("a5"),p=e("14"),f=e("37"),d=e("9f"),h="en-US",m=u.RegExpWrapper.create("^(\\d+)?\\.((\\d+)(\\-(\\d+))?)?$"),v=function(){function e(){}return e._format=function(t,n,r,i,o){if(void 0===i&&(i=null),void 0===o&&(o=!1),u.isBlank(t))return null;if(!u.isNumber(t))throw new d.InvalidPipeArgumentException(e,t);var s=1,a=0,p=3;if(u.isPresent(r)){var f=u.RegExpWrapper.firstMatch(m,r);if(u.isBlank(f))throw new c.BaseException(r+" is not a valid digit info for number pipes");u.isPresent(f[1])&&(s=u.NumberWrapper.parseIntAutoRadix(f[1])),u.isPresent(f[3])&&(a=u.NumberWrapper.parseIntAutoRadix(f[3])),u.isPresent(f[5])&&(p=u.NumberWrapper.parseIntAutoRadix(f[5]))}return l.NumberFormatter.format(t,h,n,{minimumIntegerDigits:s,minimumFractionDigits:a,maximumFractionDigits:p,currency:i,currencyAsSymbol:o})},e=s([u.CONST(),p.Injectable(),a("design:paramtypes",[])],e)}();t.NumberPipe=v;var y=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.transform=function(e,t){var n=f.ListWrapper.first(t);return v._format(e,l.NumberFormatStyle.Decimal,n)},t=s([u.CONST(),p.Pipe({name:"number"}),p.Injectable(),a("design:paramtypes",[])],t)}(v);t.DecimalPipe=y;var g=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.transform=function(e,t){var n=f.ListWrapper.first(t);return v._format(e,l.NumberFormatStyle.Percent,n)},t=s([u.CONST(),p.Pipe({name:"percent"}),p.Injectable(),a("design:paramtypes",[])],t)}(v);t.PercentPipe=g;var b=function(e){function t(){e.apply(this,arguments)}return o(t,e),t.prototype.transform=function(e,t){var n=u.isPresent(t)&&t.length>0?t[0]:"USD",r=u.isPresent(t)&&t.length>1?t[1]:!1,i=u.isPresent(t)&&t.length>2?t[2]:null;return v._format(e,l.NumberFormatStyle.Currency,i,n,r)},t=s([u.CONST(),p.Pipe({name:"currency"}),p.Injectable(),a("design:paramtypes",[])],t)}(v);return t.CurrencyPipe=b,r.define=i,n.exports}),e.registerDynamic("a7",["9e","a0","a1","a2","a3","a4","a6","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("9e"),s=e("a0"),a=e("a1"),u=e("a2"),c=e("a3"),l=e("a4"),p=e("a6"),f=e("20"),d=e("9e");t.AsyncPipe=d.AsyncPipe;var h=e("a4");t.DatePipe=h.DatePipe;var m=e("a2");t.JsonPipe=m.JsonPipe;var v=e("a3");t.SlicePipe=v.SlicePipe;var y=e("a1");t.LowerCasePipe=y.LowerCasePipe;var g=e("a6");t.NumberPipe=g.NumberPipe,t.DecimalPipe=g.DecimalPipe,t.PercentPipe=g.PercentPipe,t.CurrencyPipe=g.CurrencyPipe;var b=e("a0");return t.UpperCasePipe=b.UpperCasePipe,t.COMMON_PIPES=f.CONST_EXPR([o.AsyncPipe,s.UpperCasePipe,a.LowerCasePipe,u.JsonPipe,c.SlicePipe,p.DecimalPipe,p.PercentPipe,p.CurrencyPipe,l.DatePipe]),r.define=i,n.exports}),e.registerDynamic("a8",["20","63","14","a9","aa","ab","ac","ad"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("20"),l=e("63"),p=e("14"),f=e("a9"),d=e("aa"),h=e("ab"),m=e("ac"),v=e("ad"),y=c.CONST_EXPR(new p.Provider(d.NgControl,{useExisting:p.forwardRef(function(){return g})})),g=function(e){function t(t,n,r,i){e.call(this),this._parent=t,this._validators=n,this._asyncValidators=r,this.update=new l.EventEmitter,this._added=!1,this.valueAccessor=m.selectValueAccessor(this,i)}return o(t,e),t.prototype.ngOnChanges=function(e){this._added||(this.formDirective.addControl(this),this._added=!0),m.isPropertyUpdated(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(e){this.viewModel=e,l.ObservableWrapper.callEmit(this.update,e)},Object.defineProperty(t.prototype,"path",{get:function(){return m.controlPath(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent.formDirective},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return m.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return m.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getControl(this)},enumerable:!0,configurable:!0}),t=s([p.Directive({selector:"[ngControl]",bindings:[y],inputs:["name: ngControl","model: ngModel"],outputs:["update: ngModelChange"],exportAs:"ngForm"}),u(0,p.Host()),u(0,p.SkipSelf()),u(1,p.Optional()),u(1,p.Self()),u(1,p.Inject(v.NG_VALIDATORS)),u(2,p.Optional()),u(2,p.Self()),u(2,p.Inject(v.NG_ASYNC_VALIDATORS)),u(3,p.Optional()),u(3,p.Self()),u(3,p.Inject(h.NG_VALUE_ACCESSOR)),a("design:paramtypes",[f.ControlContainer,Array,Array,Array])],t)}(d.NgControl);return t.NgControlName=g,r.define=i,n.exports}),e.registerDynamic("ae",["20","37","63","14","aa","ad","ab","ac"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("20"),l=e("37"),p=e("63"),f=e("14"),d=e("aa"),h=e("ad"),m=e("ab"),v=e("ac"),y=c.CONST_EXPR(new f.Provider(d.NgControl,{useExisting:f.forwardRef(function(){return g})})),g=function(e){function t(t,n,r){e.call(this),this._validators=t,this._asyncValidators=n,this.update=new p.EventEmitter,this.valueAccessor=v.selectValueAccessor(this,r)}return o(t,e),t.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(v.setUpControl(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})),v.isPropertyUpdated(e,this.viewModel)&&(this.form.updateValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return v.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return v.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,p.ObservableWrapper.callEmit(this.update,e)},t.prototype._isControlChanged=function(e){return l.StringMapWrapper.contains(e,"form")},t=s([f.Directive({selector:"[ngFormControl]",bindings:[y],inputs:["form: ngFormControl","model: ngModel"],outputs:["update: ngModelChange"],exportAs:"ngForm"}),u(0,f.Optional()),u(0,f.Self()),u(0,f.Inject(h.NG_VALIDATORS)),u(1,f.Optional()),u(1,f.Self()),u(1,f.Inject(h.NG_ASYNC_VALIDATORS)),u(2,f.Optional()),u(2,f.Self()),u(2,f.Inject(m.NG_VALUE_ACCESSOR)),a("design:paramtypes",[Array,Array,Array])],t)}(d.NgControl);return t.NgFormControl=g,r.define=i,n.exports}),e.registerDynamic("af",["20","63","14","ab","aa","b0","ad","ac"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0;
|
||
},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("20"),l=e("63"),p=e("14"),f=e("ab"),d=e("aa"),h=e("b0"),m=e("ad"),v=e("ac"),y=c.CONST_EXPR(new p.Provider(d.NgControl,{useExisting:p.forwardRef(function(){return g})})),g=function(e){function t(t,n,r){e.call(this),this._validators=t,this._asyncValidators=n,this._control=new h.Control,this._added=!1,this.update=new l.EventEmitter,this.valueAccessor=v.selectValueAccessor(this,r)}return o(t,e),t.prototype.ngOnChanges=function(e){this._added||(v.setUpControl(this._control,this),this._control.updateValueAndValidity({emitEvent:!1}),this._added=!0),v.isPropertyUpdated(e,this.viewModel)&&(this._control.updateValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return v.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return v.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,l.ObservableWrapper.callEmit(this.update,e)},t=s([p.Directive({selector:"[ngModel]:not([ngControl]):not([ngFormControl])",bindings:[y],inputs:["model: ngModel"],outputs:["update: ngModelChange"],exportAs:"ngForm"}),u(0,p.Optional()),u(0,p.Self()),u(0,p.Inject(m.NG_VALIDATORS)),u(1,p.Optional()),u(1,p.Self()),u(1,p.Inject(m.NG_ASYNC_VALIDATORS)),u(2,p.Optional()),u(2,p.Self()),u(2,p.Inject(f.NG_VALUE_ACCESSOR)),a("design:paramtypes",[Array,Array,Array])],t)}(d.NgControl);return t.NgModel=g,r.define=i,n.exports}),e.registerDynamic("b1",["14","20","a9","ac","ad"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("14"),l=e("20"),p=e("a9"),f=e("ac"),d=e("ad"),h=l.CONST_EXPR(new c.Provider(p.ControlContainer,{useExisting:c.forwardRef(function(){return m})})),m=function(e){function t(t,n,r){e.call(this),this._validators=n,this._asyncValidators=r,this._parent=t}return o(t,e),t.prototype.ngOnInit=function(){this.formDirective.addControlGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective.removeControlGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getControlGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return f.controlPath(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent.formDirective},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return f.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return f.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),t=s([c.Directive({selector:"[ngControlGroup]",providers:[h],inputs:["name: ngControlGroup"],exportAs:"ngForm"}),u(0,c.Host()),u(0,c.SkipSelf()),u(1,c.Optional()),u(1,c.Self()),u(1,c.Inject(d.NG_VALIDATORS)),u(2,c.Optional()),u(2,c.Self()),u(2,c.Inject(d.NG_ASYNC_VALIDATORS)),a("design:paramtypes",[p.ControlContainer,Array,Array])],t)}(p.ControlContainer);return t.NgControlGroup=m,r.define=i,n.exports}),e.registerDynamic("b2",["20","37","63","14","a9","ac","ad"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("20"),l=e("37"),p=e("63"),f=e("14"),d=e("a9"),h=e("ac"),m=e("ad"),v=c.CONST_EXPR(new f.Provider(d.ControlContainer,{useExisting:f.forwardRef(function(){return y})})),y=function(e){function t(t,n){e.call(this),this._validators=t,this._asyncValidators=n,this.form=null,this.directives=[],this.ngSubmit=new p.EventEmitter}return o(t,e),t.prototype.ngOnChanges=function(e){if(l.StringMapWrapper.contains(e,"form")){var t=h.composeValidators(this._validators);this.form.validator=m.Validators.compose([this.form.validator,t]);var n=h.composeAsyncValidators(this._asyncValidators);this.form.asyncValidator=m.Validators.composeAsync([this.form.asyncValidator,n]),this.form.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}this._updateDomValue()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.find(e.path);h.setUpControl(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e)},t.prototype.getControl=function(e){return this.form.find(e.path)},t.prototype.removeControl=function(e){l.ListWrapper.remove(this.directives,e)},t.prototype.addControlGroup=function(e){var t=this.form.find(e.path);h.setUpControlGroup(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeControlGroup=function(e){},t.prototype.getControlGroup=function(e){return this.form.find(e.path)},t.prototype.updateModel=function(e,t){var n=this.form.find(e.path);n.updateValue(t)},t.prototype.onSubmit=function(){return p.ObservableWrapper.callEmit(this.ngSubmit,null),!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach(function(t){var n=e.form.find(t.path);t.valueAccessor.writeValue(n.value)})},t=s([f.Directive({selector:"[ngFormModel]",bindings:[v],inputs:["form: ngFormModel"],host:{"(submit)":"onSubmit()"},outputs:["ngSubmit"],exportAs:"ngForm"}),u(0,f.Optional()),u(0,f.Self()),u(0,f.Inject(m.NG_VALIDATORS)),u(1,f.Optional()),u(1,f.Self()),u(1,f.Inject(m.NG_ASYNC_VALIDATORS)),a("design:paramtypes",[Array,Array])],t)}(d.ControlContainer);return t.NgFormModel=y,r.define=i,n.exports}),e.registerDynamic("a9",["b3"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("b3"),a=function(e){function t(){e.apply(this,arguments)}return o(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(s.AbstractControlDirective);return t.ControlContainer=a,r.define=i,n.exports}),e.registerDynamic("b4",[],!0,function(e,t,n){"use strict";function r(e){return void 0!==e.validate?function(t){return e.validate(t)}:e}var i=this,o=i.define;return i.define=void 0,t.normalizeValidator=r,i.define=o,n.exports}),e.registerDynamic("ac",["37","20","3c","ad","b5","b6","b7","b8","b4"],!0,function(e,t,n){"use strict";function r(e,t){var n=d.ListWrapper.clone(t.path);return n.push(e),n}function i(e,t){h.isBlank(e)&&s(t,"Cannot find control"),h.isBlank(t.valueAccessor)&&s(t,"No value accessor for"),e.validator=v.Validators.compose([e.validator,t.validator]),e.asyncValidator=v.Validators.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),t.valueAccessor.registerOnChange(function(n){t.viewToModelUpdate(n),e.updateValue(n,{emitModelToViewChange:!1}),e.markAsDirty()}),e.registerOnChange(function(e){return t.valueAccessor.writeValue(e)}),t.valueAccessor.registerOnTouched(function(){return e.markAsTouched()})}function o(e,t){h.isBlank(e)&&s(t,"Cannot find control"),e.validator=v.Validators.compose([e.validator,t.validator]),e.asyncValidator=v.Validators.composeAsync([e.asyncValidator,t.asyncValidator])}function s(e,t){var n=e.path.join(" -> ");throw new m.BaseException(t+" '"+n+"'")}function a(e){return h.isPresent(e)?v.Validators.compose(e.map(E.normalizeValidator)):null}function u(e){return h.isPresent(e)?v.Validators.composeAsync(e.map(E.normalizeValidator)):null}function c(e,t){if(!d.StringMapWrapper.contains(e,"model"))return!1;var n=e.model;return n.isFirstChange()?!0:!h.looseIdentical(t,n.currentValue)}function l(e,t){if(h.isBlank(t))return null;var n,r,i;return t.forEach(function(t){t instanceof y.DefaultValueAccessor?n=t:t instanceof b.CheckboxControlValueAccessor||t instanceof g.NumberValueAccessor||t instanceof _.SelectControlValueAccessor?(h.isPresent(r)&&s(e,"More than one built-in value accessor matches"),r=t):(h.isPresent(i)&&s(e,"More than one custom value accessor matches"),i=t)}),h.isPresent(i)?i:h.isPresent(r)?r:h.isPresent(n)?n:(s(e,"No valid value accessor for"),null)}var p=this,f=p.define;p.define=void 0;var d=e("37"),h=e("20"),m=e("3c"),v=e("ad"),y=e("b5"),g=e("b6"),b=e("b7"),_=e("b8"),E=e("b4");return t.controlPath=r,t.setUpControl=i,t.setUpControlGroup=o,t.composeValidators=a,t.composeAsyncValidators=u,t.isPropertyUpdated=c,t.selectValueAccessor=l,p.define=f,n.exports}),e.registerDynamic("b9",["63","37","20","14","a9","b0","ac","ad"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("63"),l=e("37"),p=e("20"),f=e("14"),d=e("a9"),h=e("b0"),m=e("ac"),v=e("ad"),y=p.CONST_EXPR(new f.Provider(d.ControlContainer,{useExisting:f.forwardRef(function(){return g})})),g=function(e){function t(t,n){e.call(this),this.ngSubmit=new c.EventEmitter,this.form=new h.ControlGroup({},null,m.composeValidators(t),m.composeAsyncValidators(n))}return o(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;c.PromiseWrapper.scheduleMicrotask(function(){var n=t._findContainer(e.path),r=new h.Control;m.setUpControl(r,e),n.addControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.getControl=function(e){return this.form.find(e.path)},t.prototype.removeControl=function(e){var t=this;c.PromiseWrapper.scheduleMicrotask(function(){var n=t._findContainer(e.path);p.isPresent(n)&&(n.removeControl(e.name),n.updateValueAndValidity({emitEvent:!1}))})},t.prototype.addControlGroup=function(e){var t=this;c.PromiseWrapper.scheduleMicrotask(function(){var n=t._findContainer(e.path),r=new h.ControlGroup({});m.setUpControlGroup(r,e),n.addControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeControlGroup=function(e){var t=this;c.PromiseWrapper.scheduleMicrotask(function(){var n=t._findContainer(e.path);p.isPresent(n)&&(n.removeControl(e.name),n.updateValueAndValidity({emitEvent:!1}))})},t.prototype.getControlGroup=function(e){return this.form.find(e.path)},t.prototype.updateModel=function(e,t){var n=this;c.PromiseWrapper.scheduleMicrotask(function(){var r=n.form.find(e.path);r.updateValue(t)})},t.prototype.onSubmit=function(){return c.ObservableWrapper.callEmit(this.ngSubmit,null),!1},t.prototype._findContainer=function(e){return e.pop(),l.ListWrapper.isEmpty(e)?this.form:this.form.find(e)},t=s([f.Directive({selector:"form:not([ngNoForm]):not([ngFormModel]),ngForm,[ngForm]",bindings:[y],host:{"(submit)":"onSubmit()"},outputs:["ngSubmit"],exportAs:"ngForm"}),u(0,f.Optional()),u(0,f.Self()),u(0,f.Inject(v.NG_VALIDATORS)),u(1,f.Optional()),u(1,f.Self()),u(1,f.Inject(v.NG_ASYNC_VALIDATORS)),a("design:paramtypes",[Array,Array])],t)}(d.ControlContainer);return t.NgForm=g,r.define=i,n.exports}),e.registerDynamic("b5",["14","ab","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("14"),u=e("ab"),c=e("20"),l=c.CONST_EXPR(new a.Provider(u.NG_VALUE_ACCESSOR,{useExisting:a.forwardRef(function(){return p}),multi:!0})),p=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){var t=c.isBlank(e)?"":e;this._renderer.setElementProperty(this._elementRef,"value",t)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e=o([a.Directive({selector:"input:not([type=checkbox])[ngControl],textarea[ngControl],input:not([type=checkbox])[ngFormControl],textarea[ngFormControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"onChange($event.target.value)","(blur)":"onTouched()"},bindings:[l]}),s("design:paramtypes",[a.Renderer,a.ElementRef])],e)}();return t.DefaultValueAccessor=p,r.define=i,n.exports}),e.registerDynamic("b7",["14","ab","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("14"),u=e("ab"),c=e("20"),l=c.CONST_EXPR(new a.Provider(u.NG_VALUE_ACCESSOR,{useExisting:a.forwardRef(function(){return p}),multi:!0})),p=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setElementProperty(this._elementRef,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e=o([a.Directive({selector:"input[type=checkbox][ngControl],input[type=checkbox][ngFormControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},bindings:[l]}),s("design:paramtypes",[a.Renderer,a.ElementRef])],e)}();return t.CheckboxControlValueAccessor=p,r.define=i,n.exports}),e.registerDynamic("b6",["14","ab","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("14"),u=e("ab"),c=e("20"),l=c.CONST_EXPR(new a.Provider(u.NG_VALUE_ACCESSOR,{useExisting:a.forwardRef(function(){return p}),multi:!0})),p=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setElementProperty(this._elementRef,"value",e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(c.NumberWrapper.parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e=o([a.Directive({selector:"input[type=number][ngControl],input[type=number][ngFormControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},bindings:[l]}),s("design:paramtypes",[a.Renderer,a.ElementRef])],e)}();return t.NumberValueAccessor=p,r.define=i,n.exports}),e.registerDynamic("ba",["14","aa","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},u=e("14"),c=e("aa"),l=e("20"),p=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return l.isPresent(this._cd.control)?this._cd.control.untouched:!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return l.isPresent(this._cd.control)?this._cd.control.touched:!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return l.isPresent(this._cd.control)?this._cd.control.pristine:!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return l.isPresent(this._cd.control)?this._cd.control.dirty:!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return l.isPresent(this._cd.control)?this._cd.control.valid:!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return l.isPresent(this._cd.control)?!this._cd.control.valid:!1},enumerable:!0,configurable:!0}),e=o([u.Directive({selector:"[ngControl],[ngModel],[ngFormControl]",host:{"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid"}}),a(0,u.Self()),s("design:paramtypes",[c.NgControl])],e)}();return t.NgControlStatus=p,r.define=i,n.exports}),e.registerDynamic("ab",["14","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("14"),s=e("20");return t.NG_VALUE_ACCESSOR=s.CONST_EXPR(new o.OpaqueToken("NgValueAccessor")),r.define=i,n.exports}),e.registerDynamic("b8",["14","63","ab","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},u=e("14"),c=e("63"),l=e("ab"),p=e("20"),f=p.CONST_EXPR(new u.Provider(l.NG_VALUE_ACCESSOR,{useExisting:u.forwardRef(function(){return h}),multi:!0})),d=function(){function e(){}return e=o([u.Directive({selector:"option"}),s("design:paramtypes",[])],e)}();t.NgSelectOption=d;var h=function(){function e(e,t,n){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){},this._updateValueWhenListOfOptionsChanges(n)}return e.prototype.writeValue=function(e){this.value=e,this._renderer.setElementProperty(this._elementRef,"value",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype._updateValueWhenListOfOptionsChanges=function(e){var t=this;c.ObservableWrapper.subscribe(e.changes,function(e){return t.writeValue(t.value)})},e=o([u.Directive({selector:"select[ngControl],select[ngFormControl],select[ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},bindings:[f]}),a(2,u.Query(d,{descendants:!0})),s("design:paramtypes",[u.Renderer,u.ElementRef,u.QueryList])],e)}();return t.SelectControlValueAccessor=h,r.define=i,n.exports}),e.registerDynamic("b3",["20","3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=function(){function e(){}return Object.defineProperty(e.prototype,"control",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return o.isPresent(this.control)?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return o.isPresent(this.control)?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return o.isPresent(this.control)?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return o.isPresent(this.control)?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return o.isPresent(this.control)?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return o.isPresent(this.control)?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return o.isPresent(this.control)?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}();return t.AbstractControlDirective=a,r.define=i,n.exports}),e.registerDynamic("aa",["b3","3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("b3"),a=e("3c"),u=function(e){function t(){e.apply(this,arguments),this.name=null,this.valueAccessor=null}return o(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return a.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return a.unimplemented()},enumerable:!0,configurable:!0}),t}(s.AbstractControlDirective);return t.NgControl=u,r.define=i,n.exports}),e.registerDynamic("bb",["20","a8","ae","af","b1","b2","b9","b5","b7","b6","ba","b8","bc","aa"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("a8"),a=e("ae"),u=e("af"),c=e("b1"),l=e("b2"),p=e("b9"),f=e("b5"),d=e("b7"),h=e("b6"),m=e("ba"),v=e("b8"),y=e("bc"),g=e("a8");t.NgControlName=g.NgControlName;var b=e("ae");t.NgFormControl=b.NgFormControl;var _=e("af");t.NgModel=_.NgModel;var E=e("b1");t.NgControlGroup=E.NgControlGroup;var D=e("b2");t.NgFormModel=D.NgFormModel;var w=e("b9");t.NgForm=w.NgForm;var C=e("b5");t.DefaultValueAccessor=C.DefaultValueAccessor;var x=e("b7");t.CheckboxControlValueAccessor=x.CheckboxControlValueAccessor;var A=e("b6");t.NumberValueAccessor=A.NumberValueAccessor;var P=e("ba");t.NgControlStatus=P.NgControlStatus;var S=e("b8");t.SelectControlValueAccessor=S.SelectControlValueAccessor,t.NgSelectOption=S.NgSelectOption;var O=e("bc");t.RequiredValidator=O.RequiredValidator,t.MinLengthValidator=O.MinLengthValidator,t.MaxLengthValidator=O.MaxLengthValidator;var R=e("aa");return t.NgControl=R.NgControl,t.FORM_DIRECTIVES=o.CONST_EXPR([s.NgControlName,c.NgControlGroup,a.NgFormControl,u.NgModel,l.NgFormModel,p.NgForm,v.NgSelectOption,f.DefaultValueAccessor,h.NumberValueAccessor,d.CheckboxControlValueAccessor,v.SelectControlValueAccessor,m.NgControlStatus,y.RequiredValidator,y.MinLengthValidator,y.MaxLengthValidator]),r.define=i,n.exports}),e.registerDynamic("ad",["20","8b","63","37","14","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e){return a.PromiseWrapper.isPromise(e)?e:u.ObservableWrapper.toPromise(e)}function i(e,t){return t.map(function(t){return t(e)})}function o(e){var t=e.reduce(function(e,t){return s.isPresent(t)?c.StringMapWrapper.merge(e,t):e},{});return c.StringMapWrapper.isEmpty(t)?null:t}var s=e("20"),a=e("8b"),u=e("63"),c=e("37"),l=e("14");t.NG_VALIDATORS=s.CONST_EXPR(new l.OpaqueToken("NgValidators")),t.NG_ASYNC_VALIDATORS=s.CONST_EXPR(new l.OpaqueToken("NgAsyncValidators"));var p=function(){function e(){}return e.required=function(e){return s.isBlank(e.value)||""==e.value?{required:!0}:null},e.minLength=function(t){return function(n){if(s.isPresent(e.required(n)))return null;var r=n.value;return r.length<t?{minlength:{requiredLength:t,actualLength:r.length}}:null}},e.maxLength=function(t){return function(n){if(s.isPresent(e.required(n)))return null;var r=n.value;return r.length>t?{maxlength:{requiredLength:t,actualLength:r.length}}:null}},e.nullValidator=function(e){return null},e.compose=function(e){if(s.isBlank(e))return null;var t=e.filter(s.isPresent);return 0==t.length?null:function(e){return o(i(e,t))}},e.composeAsync=function(e){if(s.isBlank(e))return null;var t=e.filter(s.isPresent);return 0==t.length?null:function(e){var n=i(e,t).map(r);return a.PromiseWrapper.all(n).then(o)}},e}();t.Validators=p}(e("34")),r.define=i,n.exports}),e.registerDynamic("bc",["14","20","ad"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},u=e("14"),c=e("20"),l=e("ad"),p=e("20"),f=c.CONST_EXPR(new u.Provider(l.NG_VALIDATORS,{useValue:l.Validators.required,multi:!0})),d=function(){function e(){}return e=o([u.Directive({selector:"[required][ngControl],[required][ngFormControl],[required][ngModel]",providers:[f]}),s("design:paramtypes",[])],e)}();t.RequiredValidator=d;var h=c.CONST_EXPR(new u.Provider(l.NG_VALIDATORS,{useExisting:u.forwardRef(function(){return m}),multi:!0})),m=function(){function e(e){this._validator=l.Validators.minLength(p.NumberWrapper.parseInt(e,10))}return e.prototype.validate=function(e){return this._validator(e)},e=o([u.Directive({selector:"[minlength][ngControl],[minlength][ngFormControl],[minlength][ngModel]",providers:[h]}),a(0,u.Attribute("minlength")),s("design:paramtypes",[String])],e)}();t.MinLengthValidator=m;var v=c.CONST_EXPR(new u.Provider(l.NG_VALIDATORS,{useExisting:u.forwardRef(function(){return y}),multi:!0})),y=function(){function e(e){this._validator=l.Validators.maxLength(p.NumberWrapper.parseInt(e,10))}return e.prototype.validate=function(e){return this._validator(e)},e=o([u.Directive({selector:"[maxlength][ngControl],[maxlength][ngFormControl],[maxlength][ngModel]",providers:[v]}),a(0,u.Attribute("maxlength")),s("design:paramtypes",[String])],e)}();return t.MaxLengthValidator=y,r.define=i,n.exports}),e.registerDynamic("b0",["20","63","8b","37"],!0,function(e,t,n){"use strict";function r(e){return e instanceof d}function i(e,t){return c.isBlank(t)?null:(t instanceof Array||(t=t.split("/")),t instanceof Array&&f.ListWrapper.isEmpty(t)?null:t.reduce(function(e,t){if(e instanceof m)return c.isPresent(e.controls[t])?e.controls[t]:null;if(e instanceof v){var n=t;return c.isPresent(e.at(n))?e.at(n):null}return null},e))}function o(e){return p.PromiseWrapper.isPromise(e)?l.ObservableWrapper.fromPromise(e):e}var s=this,a=s.define;s.define=void 0;var u=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},c=e("20"),l=e("63"),p=e("8b"),f=e("37");t.VALID="VALID",t.INVALID="INVALID",t.PENDING="PENDING",t.isControl=r;var d=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._pristine=!0,this._touched=!1}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this._status===t.VALID},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this._errors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this._pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this._valueChanges},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this._statusChanges},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this._status==t.PENDING;
|
||
},enumerable:!0,configurable:!0}),e.prototype.markAsTouched=function(){this._touched=!0},e.prototype.markAsDirty=function(e){var t=(void 0===e?{}:e).onlySelf;t=c.normalizeBool(t),this._pristine=!1,c.isPresent(this._parent)&&!t&&this._parent.markAsDirty({onlySelf:t})},e.prototype.markAsPending=function(e){var n=(void 0===e?{}:e).onlySelf;n=c.normalizeBool(n),this._status=t.PENDING,c.isPresent(this._parent)&&!n&&this._parent.markAsPending({onlySelf:n})},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){var n=void 0===e?{}:e,r=n.onlySelf,i=n.emitEvent;r=c.normalizeBool(r),i=c.isPresent(i)?i:!0,this._updateValue(),this._errors=this._runValidator(),this._status=this._calculateStatus(),(this._status==t.VALID||this._status==t.PENDING)&&this._runAsyncValidator(i),i&&(l.ObservableWrapper.callEmit(this._valueChanges,this._value),l.ObservableWrapper.callEmit(this._statusChanges,this._status)),c.isPresent(this._parent)&&!r&&this._parent.updateValueAndValidity({onlySelf:r,emitEvent:i})},e.prototype._runValidator=function(){return c.isPresent(this.validator)?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var n=this;if(c.isPresent(this.asyncValidator)){this._status=t.PENDING,this._cancelExistingSubscription();var r=o(this.asyncValidator(this));this._asyncValidationSubscription=l.ObservableWrapper.subscribe(r,function(t){return n.setErrors(t,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){c.isPresent(this._asyncValidationSubscription)&&l.ObservableWrapper.dispose(this._asyncValidationSubscription)},e.prototype.setErrors=function(e,t){var n=(void 0===t?{}:t).emitEvent;n=c.isPresent(n)?n:!0,this._errors=e,this._status=this._calculateStatus(),n&&l.ObservableWrapper.callEmit(this._statusChanges,this._status),c.isPresent(this._parent)&&this._parent._updateControlsErrors()},e.prototype.find=function(e){return i(this,e)},e.prototype.getError=function(e,t){void 0===t&&(t=null);var n=c.isPresent(t)&&!f.ListWrapper.isEmpty(t)?this.find(t):this;return c.isPresent(n)&&c.isPresent(n._errors)?f.StringMapWrapper.get(n._errors,e):null},e.prototype.hasError=function(e,t){return void 0===t&&(t=null),c.isPresent(this.getError(e,t))},e.prototype._updateControlsErrors=function(){this._status=this._calculateStatus(),c.isPresent(this._parent)&&this._parent._updateControlsErrors()},e.prototype._initObservables=function(){this._valueChanges=new l.EventEmitter,this._statusChanges=new l.EventEmitter},e.prototype._calculateStatus=function(){return c.isPresent(this._errors)?t.INVALID:this._anyControlsHaveStatus(t.PENDING)?t.PENDING:this._anyControlsHaveStatus(t.INVALID)?t.INVALID:t.VALID},e}();t.AbstractControl=d;var h=function(e){function t(t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),e.call(this,n,r),this._value=t,this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return u(t,e),t.prototype.updateValue=function(e,t){var n=void 0===t?{}:t,r=n.onlySelf,i=n.emitEvent,o=n.emitModelToViewChange;o=c.isPresent(o)?o:!0,this._value=e,c.isPresent(this._onChange)&&o&&this._onChange(this._value),this.updateValueAndValidity({onlySelf:r,emitEvent:i})},t.prototype._updateValue=function(){},t.prototype._anyControlsHaveStatus=function(e){return!1},t.prototype.registerOnChange=function(e){this._onChange=e},t}(d);t.Control=h;var m=function(e){function t(t,n,r,i){void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i=null),e.call(this,r,i),this.controls=t,this._optionals=c.isPresent(n)?n:{},this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return u(t,e),t.prototype.addControl=function(e,t){this.controls[e]=t,t.setParent(this)},t.prototype.removeControl=function(e){f.StringMapWrapper["delete"](this.controls,e)},t.prototype.include=function(e){f.StringMapWrapper.set(this._optionals,e,!0),this.updateValueAndValidity()},t.prototype.exclude=function(e){f.StringMapWrapper.set(this._optionals,e,!1),this.updateValueAndValidity()},t.prototype.contains=function(e){var t=f.StringMapWrapper.contains(this.controls,e);return t&&this._included(e)},t.prototype._setParentForControls=function(){var e=this;f.StringMapWrapper.forEach(this.controls,function(t,n){t.setParent(e)})},t.prototype._updateValue=function(){this._value=this._reduceValue()},t.prototype._anyControlsHaveStatus=function(e){var t=this,n=!1;return f.StringMapWrapper.forEach(this.controls,function(r,i){n=n||t.contains(i)&&r.status==e}),n},t.prototype._reduceValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t.value,e})},t.prototype._reduceChildren=function(e,t){var n=this,r=e;return f.StringMapWrapper.forEach(this.controls,function(e,i){n._included(i)&&(r=t(r,e,i))}),r},t.prototype._included=function(e){var t=f.StringMapWrapper.contains(this._optionals,e);return!t||f.StringMapWrapper.get(this._optionals,e)},t}(d);t.ControlGroup=m;var v=function(e){function t(t,n,r){void 0===n&&(n=null),void 0===r&&(r=null),e.call(this,n,r),this.controls=t,this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return u(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),e.setParent(this),this.updateValueAndValidity()},t.prototype.insert=function(e,t){f.ListWrapper.insert(this.controls,e,t),t.setParent(this),this.updateValueAndValidity()},t.prototype.removeAt=function(e){f.ListWrapper.removeAt(this.controls,e),this.updateValueAndValidity()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype._updateValue=function(){this._value=this.controls.map(function(e){return e.value})},t.prototype._anyControlsHaveStatus=function(e){return this.controls.some(function(t){return t.status==e})},t.prototype._setParentForControls=function(){var e=this;this.controls.forEach(function(t){t.setParent(e)})},t}(d);return t.ControlArray=v,s.define=a,n.exports}),e.registerDynamic("bd",["14","37","20","b0"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("14"),u=e("37"),c=e("20"),l=e("b0"),p=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=c.isPresent(t)?u.StringMapWrapper.get(t,"optionals"):null,i=c.isPresent(t)?u.StringMapWrapper.get(t,"validator"):null,o=c.isPresent(t)?u.StringMapWrapper.get(t,"asyncValidator"):null;return new l.ControlGroup(n,r,i,o)},e.prototype.control=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),new l.Control(e,t,n)},e.prototype.array=function(e,t,n){var r=this;void 0===t&&(t=null),void 0===n&&(n=null);var i=e.map(function(e){return r._createControl(e)});return new l.ControlArray(i,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return u.StringMapWrapper.forEach(e,function(e,r){n[r]=t._createControl(e)}),n},e.prototype._createControl=function(e){if(e instanceof l.Control||e instanceof l.ControlGroup||e instanceof l.ControlArray)return e;if(c.isArray(e)){var t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)},e=o([a.Injectable(),s("design:paramtypes",[])],e)}();return t.FormBuilder=p,t.FORM_PROVIDERS=c.CONST_EXPR([p]),t.FORM_BINDINGS=t.FORM_PROVIDERS,r.define=i,n.exports}),e.registerDynamic("be",["b0","b3","a9","a8","ae","af","aa","b1","b2","b9","ab","b5","ba","b7","b8","bb","ad","bc","bd"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("b0");t.AbstractControl=o.AbstractControl,t.Control=o.Control,t.ControlGroup=o.ControlGroup,t.ControlArray=o.ControlArray;var s=e("b3");t.AbstractControlDirective=s.AbstractControlDirective;var a=e("a9");t.ControlContainer=a.ControlContainer;var u=e("a8");t.NgControlName=u.NgControlName;var c=e("ae");t.NgFormControl=c.NgFormControl;var l=e("af");t.NgModel=l.NgModel;var p=e("aa");t.NgControl=p.NgControl;var f=e("b1");t.NgControlGroup=f.NgControlGroup;var d=e("b2");t.NgFormModel=d.NgFormModel;var h=e("b9");t.NgForm=h.NgForm;var m=e("ab");t.NG_VALUE_ACCESSOR=m.NG_VALUE_ACCESSOR;var v=e("b5");t.DefaultValueAccessor=v.DefaultValueAccessor;var y=e("ba");t.NgControlStatus=y.NgControlStatus;var g=e("b7");t.CheckboxControlValueAccessor=g.CheckboxControlValueAccessor;var b=e("b8");t.NgSelectOption=b.NgSelectOption,t.SelectControlValueAccessor=b.SelectControlValueAccessor;var _=e("bb");t.FORM_DIRECTIVES=_.FORM_DIRECTIVES;var E=e("ad");t.NG_VALIDATORS=E.NG_VALIDATORS,t.NG_ASYNC_VALIDATORS=E.NG_ASYNC_VALIDATORS,t.Validators=E.Validators;var D=e("bc");t.RequiredValidator=D.RequiredValidator,t.MinLengthValidator=D.MinLengthValidator,t.MaxLengthValidator=D.MaxLengthValidator;var w=e("bd");return t.FormBuilder=w.FormBuilder,t.FORM_PROVIDERS=w.FORM_PROVIDERS,t.FORM_BINDINGS=w.FORM_BINDINGS,r.define=i,n.exports}),e.registerDynamic("bf",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;return r.define=void 0,r.define=i,n.exports}),e.registerDynamic("c0",["20","14","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("14"),c=e("37"),l=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"initialClasses",{set:function(e){this._applyInitialClasses(!0),this._initialClasses=a.isPresent(e)&&a.isString(e)?e.split(" "):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rawClass",{set:function(e){this._cleanupClasses(this._rawClass),a.isString(e)&&(e=e.split(" ")),this._rawClass=e,a.isPresent(e)?c.isListLikeIterable(e)?(this._differ=this._iterableDiffers.find(e).create(null),this._mode="iterable"):(this._differ=this._keyValueDiffers.find(e).create(null),this._mode="keyValue"):this._differ=null},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(a.isPresent(this._differ)){var e=this._differ.diff(this._rawClass);a.isPresent(e)&&("iterable"==this._mode?this._applyIterableChanges(e):this._applyKeyValueChanges(e))}},e.prototype.ngOnDestroy=function(){this._cleanupClasses(this._rawClass)},e.prototype._cleanupClasses=function(e){this._applyClasses(e,!0),this._applyInitialClasses(!1)},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){t._toggleClass(e.item,!1)})},e.prototype._applyInitialClasses=function(e){var t=this;this._initialClasses.forEach(function(n){return t._toggleClass(n,!e)})},e.prototype._applyClasses=function(e,t){var n=this;a.isPresent(e)&&(a.isArray(e)?e.forEach(function(e){return n._toggleClass(e,!t)}):e instanceof Set?e.forEach(function(e){return n._toggleClass(e,!t)}):c.StringMapWrapper.forEach(e,function(e,r){e&&n._toggleClass(r,!t)}))},e.prototype._toggleClass=function(e,t){if(e=e.trim(),e.length>0)if(e.indexOf(" ")>-1)for(var n=e.split(/\s+/g),r=0,i=n.length;i>r;r++)this._renderer.setElementClass(this._ngEl,n[r],t);else this._renderer.setElementClass(this._ngEl,e,t)},e=o([u.Directive({selector:"[ngClass]",inputs:["rawClass: ngClass","initialClasses: class"]}),s("design:paramtypes",[u.IterableDiffers,u.KeyValueDiffers,u.ElementRef,u.Renderer])],e)}();return t.NgClass=l,r.define=i,n.exports}),e.registerDynamic("c1",["14","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("14"),u=e("20"),c=function(){function e(e,t,n,r){this._viewContainer=e,this._templateRef=t,this._iterableDiffers=n,this._cdr=r}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,u.isBlank(this._differ)&&u.isPresent(e)&&(this._differ=this._iterableDiffers.find(e).create(this._cdr))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){u.isPresent(e)&&(this._templateRef=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(u.isPresent(this._differ)){var e=this._differ.diff(this._ngForOf);u.isPresent(e)&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=[];e.forEachRemovedItem(function(e){return t.push(new l(e,null))}),e.forEachMovedItem(function(e){return t.push(new l(e,null))});var n=this._bulkRemove(t);e.forEachAddedItem(function(e){return n.push(new l(e,null))}),this._bulkInsert(n);for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var r=0,i=this._viewContainer.length;i>r;r++)this._viewContainer.get(r).setLocal("last",r===i-1)},e.prototype._perViewChange=function(e,t){e.setLocal("$implicit",t.item),e.setLocal("index",t.currentIndex),e.setLocal("even",t.currentIndex%2==0),e.setLocal("odd",t.currentIndex%2==1)},e.prototype._bulkRemove=function(e){e.sort(function(e,t){return e.record.previousIndex-t.record.previousIndex});for(var t=[],n=e.length-1;n>=0;n--){var r=e[n];u.isPresent(r.record.currentIndex)?(r.view=this._viewContainer.detach(r.record.previousIndex),t.push(r)):this._viewContainer.remove(r.record.previousIndex)}return t},e.prototype._bulkInsert=function(e){e.sort(function(e,t){return e.record.currentIndex-t.record.currentIndex});for(var t=0;t<e.length;t++){var n=e[t];u.isPresent(n.view)?this._viewContainer.insert(n.view,n.record.currentIndex):n.view=this._viewContainer.createEmbeddedView(this._templateRef,n.record.currentIndex)}return e},e=o([a.Directive({selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTemplate"]}),s("design:paramtypes",[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers,a.ChangeDetectorRef])],e)}();t.NgFor=c;var l=function(){function e(e,t){this.record=e,this.view=t}return e}();return r.define=i,n.exports}),e.registerDynamic("c2",["14","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("14"),u=e("20"),c=function(){function e(e,t){this._viewContainer=e,this._templateRef=t,this._prevCondition=null}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){!e||!u.isBlank(this._prevCondition)&&this._prevCondition?e||!u.isBlank(this._prevCondition)&&!this._prevCondition||(this._prevCondition=!1,this._viewContainer.clear()):(this._prevCondition=!0,this._viewContainer.createEmbeddedView(this._templateRef))},enumerable:!0,configurable:!0}),e=o([a.Directive({selector:"[ngIf]",inputs:["ngIf"]}),s("design:paramtypes",[a.ViewContainerRef,a.TemplateRef])],e)}();return t.NgIf=c,r.define=i,n.exports}),e.registerDynamic("c3",["14","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("14"),u=e("20"),c=function(){function e(e,t,n){this._differs=e,this._ngEl=t,this._renderer=n}return Object.defineProperty(e.prototype,"rawStyle",{set:function(e){this._rawStyle=e,u.isBlank(this._differ)&&u.isPresent(e)&&(this._differ=this._differs.find(this._rawStyle).create(null))},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(u.isPresent(this._differ)){var e=this._differ.diff(this._rawStyle);u.isPresent(e)&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this;e.forEachAddedItem(function(e){t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){t._setStyle(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){t._setStyle(e.key,null)})},e.prototype._setStyle=function(e,t){this._renderer.setElementStyle(this._ngEl,e,t)},e=o([a.Directive({selector:"[ngStyle]",inputs:["rawStyle: ngStyle"]}),s("design:paramtypes",[a.KeyValueDiffers,a.ElementRef,a.Renderer])],e)}();return t.NgStyle=c,r.define=i,n.exports}),e.registerDynamic("c4",["14","20","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},u=e("14"),c=e("20"),l=e("37"),p=c.CONST_EXPR(new Object),f=function(){function e(e,t){this._viewContainerRef=e,this._templateRef=t}return e.prototype.create=function(){this._viewContainerRef.createEmbeddedView(this._templateRef)},e.prototype.destroy=function(){this._viewContainerRef.clear()},e}(),d=function(){function e(){this._useDefault=!1,this._valueViews=new l.Map,this._activeViews=[]}return Object.defineProperty(e.prototype,"ngSwitch",{set:function(e){this._emptyAllActiveViews(),this._useDefault=!1;var t=this._valueViews.get(e);c.isBlank(t)&&(this._useDefault=!0,t=c.normalizeBlank(this._valueViews.get(p))),this._activateViews(t),this._switchValue=e},enumerable:!0,configurable:!0}),e.prototype._onWhenValueChanged=function(e,t,n){this._deregisterView(e,n),this._registerView(t,n),e===this._switchValue?(n.destroy(),l.ListWrapper.remove(this._activeViews,n)):t===this._switchValue&&(this._useDefault&&(this._useDefault=!1,this._emptyAllActiveViews()),n.create(),this._activeViews.push(n)),0!==this._activeViews.length||this._useDefault||(this._useDefault=!0,this._activateViews(this._valueViews.get(p)))},e.prototype._emptyAllActiveViews=function(){for(var e=this._activeViews,t=0;t<e.length;t++)e[t].destroy();this._activeViews=[]},e.prototype._activateViews=function(e){if(c.isPresent(e)){for(var t=0;t<e.length;t++)e[t].create();this._activeViews=e}},e.prototype._registerView=function(e,t){var n=this._valueViews.get(e);c.isBlank(n)&&(n=[],this._valueViews.set(e,n)),n.push(t)},e.prototype._deregisterView=function(e,t){if(e!==p){var n=this._valueViews.get(e);1==n.length?this._valueViews["delete"](e):l.ListWrapper.remove(n,t)}},e=o([u.Directive({selector:"[ngSwitch]",inputs:["ngSwitch"]}),s("design:paramtypes",[])],e)}();t.NgSwitch=d;var h=function(){function e(e,t,n){this._value=p,this._switch=n,this._view=new f(e,t)}return Object.defineProperty(e.prototype,"ngSwitchWhen",{set:function(e){this._switch._onWhenValueChanged(this._value,e,this._view),this._value=e},enumerable:!0,configurable:!0}),e=o([u.Directive({selector:"[ngSwitchWhen]",inputs:["ngSwitchWhen"]}),a(2,u.Host()),s("design:paramtypes",[u.ViewContainerRef,u.TemplateRef,d])],e)}();t.NgSwitchWhen=h;var m=function(){function e(e,t,n){n._registerView(p,new f(e,t))}return e=o([u.Directive({selector:"[ngSwitchDefault]"}),a(2,u.Host()),s("design:paramtypes",[u.ViewContainerRef,u.TemplateRef,d])],e)}();return t.NgSwitchDefault=m,r.define=i,n.exports}),e.registerDynamic("c5",["20","c0","c1","c2","c3","c4"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("c0"),a=e("c1"),u=e("c2"),c=e("c3"),l=e("c4");return t.CORE_DIRECTIVES=o.CONST_EXPR([s.NgClass,a.NgFor,u.NgIf,c.NgStyle,l.NgSwitch,l.NgSwitchWhen,l.NgSwitchDefault]),r.define=i,n.exports}),e.registerDynamic("c6",["c0","c1","c2","c3","c4","bf","c5"],!0,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=this,o=i.define;i.define=void 0;var s=e("c0");t.NgClass=s.NgClass;var a=e("c1");t.NgFor=a.NgFor;var u=e("c2");t.NgIf=u.NgIf;var c=e("c3");t.NgStyle=c.NgStyle;var l=e("c4");t.NgSwitch=l.NgSwitch,t.NgSwitchWhen=l.NgSwitchWhen,t.NgSwitchDefault=l.NgSwitchDefault,r(e("bf"));var p=e("c5");return t.CORE_DIRECTIVES=p.CORE_DIRECTIVES,i.define=o,n.exports}),e.registerDynamic("c7",["20","be","c6"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("be"),a=e("c6");return t.COMMON_DIRECTIVES=o.CONST_EXPR([a.CORE_DIRECTIVES,s.FORM_DIRECTIVES]),r.define=i,n.exports}),e.registerDynamic("22",["a7","c6","be","c7"],!0,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=this,o=i.define;return i.define=void 0,r(e("a7")),r(e("c6")),r(e("be")),r(e("c7")),i.define=o,n.exports}),e.registerDynamic("c8",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t},r.define=i,n.exports}),e.registerDynamic("c9",["ca","cb","2b"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("ca"),s=e("cb"),a=e("2b")("species");return n.exports=function(e,t){var n,r=o(e).constructor;return void 0===r||void 0==(n=o(r)[a])?t:s(n)},r.define=i,n.exports}),e.registerDynamic("cc",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},r.define=i,n.exports}),e.registerDynamic("cd",["ce"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("ce").document&&document.documentElement,r.define=i,n.exports}),e.registerDynamic("cf",["d0","ce"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("d0"),s=e("ce").document,a=o(s)&&o(s.createElement);return n.exports=function(e){return a?s.createElement(e):{}},r.define=i,n.exports}),e.registerDynamic("d1",["8e","cc","cd","cf","ce","d2","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){var r,i,o,s=e("8e"),a=e("cc"),u=e("cd"),c=e("cf"),l=e("ce"),t=l.process,p=l.setImmediate,f=l.clearImmediate,d=l.MessageChannel,h=0,m={},v="onreadystatechange",y=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},g=function(e){y.call(e.data)};p&&f||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++h]=function(){a("function"==typeof e?e:Function(e),t)},r(h),h},f=function(e){delete m[e]},"process"==e("d2")(t)?r=function(e){t.nextTick(s(y,e,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=g,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",g,!1)):r=v in c("script")?function(e){u.appendChild(c("script"))[v]=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(s(y,e,1),0)}),n.exports={set:p,clear:f}}(e("34")),r.define=i,n.exports}),e.registerDynamic("d3",["ce","d1","d2","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){var r,i,o,s=e("ce"),a=e("d1").set,u=s.MutationObserver||s.WebKitMutationObserver,t=s.process,c=s.Promise,l="process"==e("d2")(t),p=function(){var e,n,o;for(l&&(e=t.domain)&&(t.domain=null,e.exit());r;)n=r.domain,o=r.fn,n&&n.enter(),o(),n&&n.exit(),r=r.next;i=void 0,e&&e.enter()};if(l)o=function(){t.nextTick(p)};else if(u){var f=1,d=document.createTextNode("");new u(p).observe(d,{characterData:!0}),o=function(){d.data=f=-f}}else o=c&&c.resolve?function(){c.resolve().then(p)}:function(){a.call(s,p)};n.exports=function(e){var n={fn:e,next:void 0,domain:l&&t.domain};i&&(i.next=n),r||(r=n,o()),i=n}}(e("34")),r.define=i,n.exports}),e.registerDynamic("95",["2b"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("2b")("iterator"),s=!1;try{var a=[7][o]();a["return"]=function(){s=!0},Array.from(a,function(){throw 2})}catch(u){}return n.exports=function(e,t){if(!t&&!s)return!1;var n=!1;try{var r=[7],i=r[o]();i.next=function(){n=!0},r[o]=function(){return i},e(r)}catch(a){}return n},r.define=i,n.exports}),e.registerDynamic("d4",["99","d5","ce","8e","2a","8f","d0","ca","cb","d6","d7","d8","c8","2b","c9","d3","d9","da","db","dc","2d","95","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){"use strict";var n,r=e("99"),i=e("d5"),o=e("ce"),s=e("8e"),a=e("2a"),u=e("8f"),c=e("d0"),l=e("ca"),p=e("cb"),f=e("d6"),d=e("d7"),h=e("d8").set,m=e("c8"),v=e("2b")("species"),y=e("c9"),g=e("d3"),b="Promise",t=o.process,_="process"==a(t),E=o[b],D=function(e){var t=new E(function(){});return e&&(t.constructor=Object),E.resolve(t)===t},w=function(){function t(e){var n=new E(e);return h(n,t.prototype),n}var n=!1;try{if(n=E&&E.resolve&&D(),h(t,E),t.prototype=r.create(E.prototype,{constructor:{value:t}}),t.resolve(5).then(function(){})instanceof t||(n=!1),n&&e("d9")){var i=!1;E.resolve(r.setDesc({},"then",{get:function(){i=!0}})),n=i}}catch(o){n=!1}return n}(),C=function(e,t){return i&&e===E&&t===n?!0:m(e,t)},x=function(e){var t=l(e)[v];return void 0!=t?t:e},A=function(e){var t;return c(e)&&"function"==typeof(t=e.then)?t:!1},P=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=p(t),this.reject=p(n)},S=function(e){try{e()}catch(t){return{error:t}}},O=function(e,n){if(!e.n){e.n=!0;var r=e.c;g(function(){for(var i=e.v,s=1==e.s,a=0,u=function(t){var n,r,o=s?t.ok:t.fail,a=t.resolve,u=t.reject;try{o?(s||(e.h=!0),n=o===!0?i:o(i),n===t.promise?u(TypeError("Promise-chain cycle")):(r=A(n))?r.call(n,a,u):a(n)):u(i)}catch(c){u(c)}};r.length>a;)u(r[a++]);r.length=0,e.n=!1,n&&setTimeout(function(){var n,r,s=e.p;R(s)&&(_?t.emit("unhandledRejection",i,s):(n=o.onunhandledrejection)?n({promise:s,reason:i}):(r=o.console)&&r.error&&r.error("Unhandled promise rejection",i)),e.a=void 0},1)})}},R=function(e){var t,n=e._d,r=n.a||n.c,i=0;if(n.h)return!1;for(;r.length>i;)if(t=r[i++],t.fail||!R(t.promise))return!1;return!0},I=function(e){var t=this;t.d||(t.d=!0,t=t.r||t,t.v=e,t.s=2,t.a=t.c.slice(),O(t,!0))},T=function(e){var t,n=this;if(!n.d){n.d=!0,n=n.r||n;try{if(n.p===e)throw TypeError("Promise can't be resolved itself");(t=A(e))?g(function(){var r={r:n,d:!1};try{t.call(e,s(T,r,1),s(I,r,1))}catch(i){I.call(r,i)}}):(n.v=e,n.s=1,O(n,!1))}catch(r){I.call({r:n,d:!1},r)}}};w||(E=function(e){p(e);var t=this._d={p:f(this,E,b),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};try{e(s(T,t,1),s(I,t,1))}catch(n){I.call(t,n)}},e("da")(E.prototype,{then:function(e,t){var n=new P(y(this,E)),r=n.promise,i=this._d;return n.ok="function"==typeof e?e:!0,n.fail="function"==typeof t&&t,i.c.push(n),i.a&&i.a.push(n),i.s&&O(i,!1),r},"catch":function(e){return this.then(void 0,e)}})),u(u.G+u.W+u.F*!w,{Promise:E}),e("db")(E,b),e("dc")(b),n=e("2d")[b],u(u.S+u.F*!w,b,{reject:function(e){var t=new P(this),n=t.reject;return n(e),t.promise}}),u(u.S+u.F*(!w||D(!0)),b,{resolve:function(e){if(e instanceof E&&C(e.constructor,this))return e;var t=new P(this),n=t.resolve;return n(e),t.promise}}),u(u.S+u.F*!(w&&e("95")(function(e){E.all(e)["catch"](function(){})})),b,{all:function(e){var t=x(this),n=new P(t),i=n.resolve,o=n.reject,s=[],a=S(function(){d(e,!1,s.push,s);var n=s.length,a=Array(n);n?r.each.call(s,function(e,r){var s=!1;t.resolve(e).then(function(e){s||(s=!0,a[r]=e,--n||i(a))},o)}):i(a)});return a&&o(a.error),n.promise},race:function(e){var t=x(this),n=new P(t),r=n.reject,i=S(function(){d(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i&&r(i.error),n.promise}})}(e("34")),r.define=i,n.exports}),e.registerDynamic("dd",["de","30","2f","d4","2d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("de"),e("30"),e("2f"),e("d4"),n.exports=e("2d").Promise,r.define=i,n.exports}),e.registerDynamic("1f",["dd"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("dd"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("df",["ca","94","2d"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("ca"),s=e("94");return n.exports=e("2d").getIterator=function(e){var t=s(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return o(t.call(e))},r.define=i,n.exports}),e.registerDynamic("e0",["2f","30","df"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("2f"),e("30"),n.exports=e("df"),r.define=i,n.exports}),e.registerDynamic("32",["e0"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("e0"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("e1",["e2","e3"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("e2");return e("e3")("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=o.getEntry(this,e);return t&&t.v},set:function(e,t){return o.def(this,0===e?0:e,t)}},o,!0),r.define=i,n.exports}),e.registerDynamic("e4",["8f","e5"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("8f");return o(o.P,"Map",{toJSON:e("e5")("Map")}),r.define=i,n.exports}),e.registerDynamic("e6",["de","30","2f","e1","e4","2d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("de"),e("30"),e("2f"),e("e1"),e("e4"),n.exports=e("2d").Map,r.define=i,n.exports}),e.registerDynamic("e7",["e6"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("e6"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("e8",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,"function"!=typeof Number.isFinite&&(Number.isFinite=function(e){return"number"!=typeof e?!1:e!==e||e===1/0||e===-(1/0)?!1:!0}),r.define=i,n.exports}),e.registerDynamic("e9",["34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(e){function t(e,t,n){if(null!=e){void 0!==n&&n in r(e)&&(t=[n]);for(var i=0,o=t.length;null!=e&&o>i;)e=e[t[i++]];
|
||
return i&&i==o?e:void 0}}function r(e){return i(e)?e:Object(e)}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}n.exports=t}(e("34")),r.define=i,n.exports}),e.registerDynamic("ea",["e9"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("e9"),r.define=i,n.exports}),e.registerDynamic("eb",[],!0,function(e,t,n){function r(e){return!!e&&"object"==typeof e}function i(e,t){var n=null==e?void 0:e[t];return u(n)?n:void 0}function o(e){return"number"==typeof e&&e>-1&&e%1==0&&_>=e}function s(e){return a(e)&&y.call(e)==f}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function u(e){return null==e?!1:s(e)?g.test(m.call(e)):r(e)&&d.test(e)}var c=this,l=c.define;c.define=void 0;var p="[object Array]",f="[object Function]",d=/^\[object .+?Constructor\]$/,h=Object.prototype,m=Function.prototype.toString,v=h.hasOwnProperty,y=h.toString,g=RegExp("^"+m.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b=i(Array,"isArray"),_=9007199254740991,E=b||function(e){return r(e)&&o(e.length)&&y.call(e)==p};return n.exports=E,c.define=l,n.exports}),e.registerDynamic("ec",["eb"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("eb"),r.define=i,n.exports}),e.registerDynamic("ed",["ec","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){function r(e){return null==e?"":e+""}function i(e){if(o(e))return e;var t=[];return r(e).replace(s,function(e,n,r,i){t.push(r?i.replace(a,"$1"):n||e)}),t}var o=e("ec"),s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,a=/\\(\\)?/g;n.exports=i}(e("34")),r.define=i,n.exports}),e.registerDynamic("ee",["ed"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("ed"),r.define=i,n.exports}),e.registerDynamic("ef",["ea","ee"],!0,function(e,t,n){function r(e,t,n){var r=null==e?void 0:s(e,a(t),t+"");return void 0===r?n:r}var i=this,o=i.define;i.define=void 0;var s=e("ea"),a=e("ee");return n.exports=r,i.define=o,n.exports}),e.registerDynamic("f0",["ef"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("ef"),r.define=i,n.exports}),e.registerDynamic("f1",["f2","f3","f4","f5","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e){return decodeURIComponent(e).replace(/~[0-1]/g,function(e){return"~1"===e?"/":"~"})}function i(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function o(e){var t=e.indexOf("#"),n=-1===t?void 0:e.slice(t+1);return n}function s(e,t){if("object"==typeof e&&null!==e){if(!t)return e;if(e.id&&(e.id===t||"#"===e.id[0]&&e.id.substring(1)===t))return e;var n,r;if(Array.isArray(e)){for(n=e.length;n--;)if(r=s(e[n],t))return r}else{var i=Object.keys(e);for(n=i.length;n--;){var o=i[n];if(0!==o.indexOf("__$")&&(r=s(e[o],t)))return r}}}}var a=e("f2"),u=e("f3"),c=e("f4"),l=e("f5");t.cacheSchemaByUri=function(e,t){var n=i(e);n&&(this.cache[n]=t)},t.removeFromCacheByUri=function(e){var t=i(e);t&&delete this.cache[t]},t.checkCacheForUri=function(e){var t=i(e);return t?null!=this.cache[t]:!1},t.getSchema=function(e,n){return"object"==typeof n&&(n=t.getSchemaByReference.call(this,e,n)),"string"==typeof n&&(n=t.getSchemaByUri.call(this,e,n)),n},t.getSchemaByReference=function(e,t){for(var n=this.referenceCache.length;n--;)if(this.referenceCache[n][0]===t)return this.referenceCache[n][1];var r=l.cloneDeep(t);return this.referenceCache.push([t,r]),r},t.getSchemaByUri=function(e,t,n){var l=i(t),p=o(t),f=l?this.cache[l]:n;if(f&&l){var d=f!==n;if(d){e.path.push(l);var h=new a(e);u.compileSchema.call(this,h,f)&&c.validateSchema.call(this,h,f);var m=h.isValid();if(m||e.addError("REMOTE_NOT_VALID",[t],h),e.path.pop(),!m)return}}if(f&&p)for(var v=p.split("/"),y=0,g=v.length;f&&g>y;y++){var b=r(v[y]);f=0===y?s(f,b):f[b]}return f},t.getRemotePath=i}(e("34")),r.define=i,n.exports}),e.registerDynamic("f3",["f2","f1","f5"],!0,function(e,t,n){"use strict";function r(e,t){if(l.isAbsoluteUri(t))return t;var n,r=e.join(""),i=l.isAbsoluteUri(r),o=l.isRelativeUri(r),s=l.isRelativeUri(t);i&&s?(n=r.match(/\/[^\/]*$/),n&&(r=r.slice(0,n.index+1))):o&&s?r="":(n=r.match(/[^#\/]+$/),n&&(r=r.slice(0,n.index)));var a=r+t;return a=a.replace(/##/,"#")}function i(e,t,n,o){if(t=t||[],n=n||[],o=o||[],"object"!=typeof e||null===e)return t;"string"==typeof e.id&&n.push(e.id),"string"==typeof e.$ref&&"undefined"==typeof e.__$refResolved&&t.push({ref:r(n,e.$ref),key:"$ref",obj:e,path:o.slice(0)}),"string"==typeof e.$schema&&"undefined"==typeof e.__$schemaResolved&&t.push({ref:r(n,e.$schema),key:"$schema",obj:e,path:o.slice(0)});var s;if(Array.isArray(e))for(s=e.length;s--;)o.push(s.toString()),i(e[s],t,n,o),o.pop();else{var a=Object.keys(e);for(s=a.length;s--;)0!==a[s].indexOf("__$")&&(o.push(a[s]),i(e[a[s]],t,n,o),o.pop())}return"string"==typeof e.id&&n.pop(),t}function o(e,t){for(var n=e.length;n--;)if(e[n].id===t)return e[n];return null}var s=this,a=s.define;s.define=void 0;var u=e("f2"),c=e("f1"),l=e("f5"),p=function(e,n){for(var r=n.length,i=0;r--;){var o=new u(e),s=t.compileSchema.call(this,o,n[r]);s&&i++,e.errors=e.errors.concat(o.errors)}return i},f=function(e,t){var n,r=0;do{for(var i=e.errors.length;i--;)"UNRESOLVABLE_REFERENCE"===e.errors[i].code&&e.errors.splice(i,1);for(n=r,r=p.call(this,e,t),i=t.length;i--;){var s=t[i];if(s.__$missingReferences){for(var a=s.__$missingReferences.length;a--;){var u=s.__$missingReferences[a],c=o(t,u.ref);c&&(u.obj["__"+u.key+"Resolved"]=c,s.__$missingReferences.splice(a,1))}0===s.__$missingReferences.length&&delete s.__$missingReferences}}}while(r!==t.length&&r!==n);return e.isValid()};return t.compileSchema=function(e,n){if(e.commonErrorMessage="SCHEMA_COMPILATION_FAILED","string"==typeof n){var r=c.getSchemaByUri.call(this,e,n);if(!r)return e.addError("SCHEMA_NOT_REACHABLE",[n]),!1;n=r}if(Array.isArray(n))return f.call(this,e,n);if(n.__$compiled&&n.id&&c.checkCacheForUri.call(this,n.id)===!1&&(n.__$compiled=void 0),n.__$compiled)return!0;n.id&&"string"==typeof n.id&&c.cacheSchemaByUri.call(this,n.id,n);var o=e.isValid();delete n.__$missingReferences;for(var s=i.call(this,n),a=s.length;a--;){var p=s[a],d=c.getSchemaByUri.call(this,e,p.ref,n);if(!d){var h=this.getSchemaReader();if(h){var m=h(p.ref);if(m){m.id=p.ref;var v=new u(e);t.compileSchema.call(this,v,m)?d=c.getSchemaByUri.call(this,e,p.ref,n):e.errors=e.errors.concat(v.errors)}}}if(!d){var y=e.hasError("REMOTE_NOT_VALID",[p.ref]),g=l.isAbsoluteUri(p.ref),b=!1,_=this.options.ignoreUnresolvableReferences===!0;g&&(b=c.checkCacheForUri.call(this,p.ref)),y||_&&g||b||(Array.prototype.push.apply(e.path,p.path),e.addError("UNRESOLVABLE_REFERENCE",[p.ref]),e.path.slice(0,-p.path.length),o&&(n.__$missingReferences=n.__$missingReferences||[],n.__$missingReferences.push(p)))}p.obj["__"+p.key+"Resolved"]=d}var E=e.isValid();return E?n.__$compiled=!0:n.id&&"string"==typeof n.id&&c.removeFromCacheByUri.call(this,n.id),E},s.define=a,n.exports}),e.registerDynamic("f6",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(e,r){"undefined"!=typeof t&&"undefined"!=typeof n?n.exports=r():"function"==typeof define&&"object"==typeof define.amd?define(r):this[e]=r()}("validator",function(e){"use strict";function t(e,t){e=e||{};for(var n in t)"undefined"==typeof e[n]&&(e[n]=t[n]);return e}function n(e){var t="(\\"+e.symbol.replace(/\./g,"\\.")+")"+(e.require_symbol?"":"?"),n="-?",r="[1-9]\\d*",i="[1-9]\\d{0,2}(\\"+e.thousands_separator+"\\d{3})*",o=["0",r,i],s="("+o.join("|")+")?",a="(\\"+e.decimal_separator+"\\d{2})?",u=s+a;return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?u+=n:e.negative_sign_before_digits&&(u=n+u)),e.allow_negative_sign_placeholder?u="( (?!\\-))?"+u:e.allow_space_after_symbol?u=" ?"+u:e.allow_space_after_digits&&(u+="( (?!$))?"),e.symbol_after_digits?u+=t:u=t+u,e.allow_negatives&&(e.parens_for_negatives?u="(\\("+u+"\\)|"+u+")":e.negative_sign_before_digits||e.negative_sign_after_digits||(u=n+u)),new RegExp("^(?!-? )(?=.*\\d)"+u+"$")}e={version:"4.1.0"};var r=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,i=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,o=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,s=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,a=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,u=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,c=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/,l=/^(?:[0-9]{9}X|[0-9]{10})$/,p=/^(?:[0-9]{13})$/,f=/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/,d=/^[0-9A-F]{1,4}$/i,h={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},m=/^[A-Z]+$/i,v=/^[0-9A-Z]+$/i,y=/^[-+]?[0-9]+$/,g=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,b=/^(?:[-+]?(?:[0-9]+))?(?:\.[0-9]*)?(?:[eE][\+\-]?(?:[0-9]+))?$/,_=/^[0-9A-F]+$/i,E=/^[-+]?([0-9]+|\.[0-9]+|[0-9]+\.[0-9]+)$/,D=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i,w=/^[\x00-\x7F]+$/,C=/[^\x00-\x7F]/,x=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,A=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,P=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,S=/^(?:[A-Z0-9+\/]{4})*(?:[A-Z0-9+\/]{2}==|[A-Z0-9+\/]{3}=|[A-Z0-9+\/]{4})$/i,O={"zh-CN":/^(\+?0?86\-?)?1[345789]\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-HK":/^(\+?852\-?)?[569]\d{3}\-?\d{4}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"pt-PT":/^(\+351)?9[1236]\d{7}$/,"el-GR":/^(\+30)?((2\d{9})|(69\d{8}))$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-US":/^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/,"en-ZM":/^(\+26)?09[567]\d{7}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/},R=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;e.extend=function(t,n){e[t]=function(){var t=Array.prototype.slice.call(arguments);return t[0]=e.toString(t[0]),n.apply(e,t)}},e.init=function(){for(var t in e)"function"==typeof e[t]&&"toString"!==t&&"toDate"!==t&&"extend"!==t&&"init"!==t&&e.extend(t,e[t])},e.toString=function(e){return"object"==typeof e&&null!==e&&e.toString?e=e.toString():null===e||"undefined"==typeof e||isNaN(e)&&!e.length?e="":"string"!=typeof e&&(e+=""),e},e.toDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)?e:(e=Date.parse(e),isNaN(e)?null:new Date(e))},e.toFloat=function(e){return parseFloat(e)},e.toInt=function(e,t){return parseInt(e,t||10)},e.toBoolean=function(e,t){return t?"1"===e||"true"===e:"0"!==e&&"false"!==e&&""!==e},e.equals=function(t,n){return t===e.toString(n)},e.contains=function(t,n){return t.indexOf(e.toString(n))>=0},e.matches=function(e,t,n){return"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,n)),t.test(e)};var I={allow_display_name:!1,allow_utf8_local_part:!0,require_tld:!0};e.isEmail=function(n,u){if(u=t(u,I),u.allow_display_name){var c=n.match(a);c&&(n=c[1])}var l=n.split("@"),p=l.pop(),f=l.join("@"),d=p.toLowerCase();if(("gmail.com"===d||"googlemail.com"===d)&&(f=f.replace(/\./g,"").toLowerCase()),!e.isByteLength(f,0,64)||!e.isByteLength(p,0,256))return!1;if(!e.isFQDN(p,{require_tld:u.require_tld}))return!1;if('"'===f[0])return f=f.slice(1,f.length-1),u.allow_utf8_local_part?s.test(f):i.test(f);for(var h=u.allow_utf8_local_part?o:r,m=f.split("."),v=0;v<m.length;v++)if(!h.test(m[v]))return!1;return!0};var T={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1};e.isURL=function(n,r){if(!n||n.length>=2083||/\s/.test(n))return!1;if(0===n.indexOf("mailto:"))return!1;r=t(r,T);var i,o,s,a,u,c,l;if(l=n.split("://"),l.length>1){if(i=l.shift(),r.require_valid_protocol&&-1===r.protocols.indexOf(i))return!1}else{if(r.require_protocol)return!1;r.allow_protocol_relative_urls&&"//"===n.substr(0,2)&&(l[0]=n.substr(2))}return n=l.join("://"),l=n.split("#"),n=l.shift(),l=n.split("?"),n=l.shift(),l=n.split("/"),n=l.shift(),l=n.split("@"),l.length>1&&(o=l.shift(),o.indexOf(":")>=0&&o.split(":").length>2)?!1:(a=l.join("@"),l=a.split(":"),s=l.shift(),l.length&&(c=l.join(":"),u=parseInt(c,10),!/^[0-9]+$/.test(c)||0>=u||u>65535)?!1:e.isIP(s)||e.isFQDN(s,r)||"localhost"===s?r.host_whitelist&&-1===r.host_whitelist.indexOf(s)?!1:r.host_blacklist&&-1!==r.host_blacklist.indexOf(s)?!1:!0:!1)},e.isIP=function(t,n){if(n=e.toString(n),!n)return e.isIP(t,4)||e.isIP(t,6);if("4"===n){if(!f.test(t))return!1;var r=t.split(".").sort(function(e,t){return e-t});return r[3]<=255}if("6"===n){var i=t.split(":"),o=!1,s=e.isIP(i[i.length-1],4),a=s?7:8;if(i.length>a)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(i.shift(),i.shift(),o=!0):"::"===t.substr(t.length-2)&&(i.pop(),i.pop(),o=!0);for(var u=0;u<i.length;++u)if(""===i[u]&&u>0&&u<i.length-1){if(o)return!1;o=!0}else if(s&&u==i.length-1);else if(!d.test(i[u]))return!1;return o?i.length>=1:i.length===a}return!1};var k={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1};e.isFQDN=function(e,n){n=t(n,k),n.allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var r=e.split(".");if(n.require_tld){var i=r.pop();if(!r.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1}for(var o,s=0;s<r.length;s++){if(o=r[s],n.allow_underscores){if(o.indexOf("__")>=0)return!1;o=o.replace(/_/g,"")}if(!/^[a-z\u00a1-\uffff0-9-]+$/i.test(o))return!1;if(/[\uff01-\uff5e]/.test(o))return!1;if("-"===o[0]||"-"===o[o.length-1]||o.indexOf("---")>=0)return!1}return!0},e.isBoolean=function(e){return["true","false","1","0"].indexOf(e)>=0},e.isAlpha=function(e){return m.test(e)},e.isAlphanumeric=function(e){return v.test(e)},e.isNumeric=function(e){return y.test(e)},e.isDecimal=function(e){return""!==e&&E.test(e)},e.isHexadecimal=function(e){return _.test(e)},e.isHexColor=function(e){return D.test(e)},e.isLowercase=function(e){return e===e.toLowerCase()},e.isUppercase=function(e){return e===e.toUpperCase()},e.isInt=function(e,t){return t=t||{},g.test(e)&&(!t.hasOwnProperty("min")||e>=t.min)&&(!t.hasOwnProperty("max")||e<=t.max)},e.isFloat=function(e,t){return t=t||{},""!==e&&b.test(e)&&(!t.hasOwnProperty("min")||e>=t.min)&&(!t.hasOwnProperty("max")||e<=t.max)},e.isDivisibleBy=function(t,n){return e.toFloat(t)%e.toInt(n)===0},e.isNull=function(e){return 0===e.length},e.isLength=function(e,t,n){var r=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],i=e.length-r.length;return i>=t&&("undefined"==typeof n||n>=i)},e.isByteLength=function(e,t,n){var r=encodeURI(e).split(/%..|./).length-1;return r>=t&&("undefined"==typeof n||n>=r)},e.isUUID=function(e,t){var n=h[t?t:"all"];return n&&n.test(e)},e.isDate=function(e){var t,n,r,i=new Date(new Date(e).toUTCString()),o=String(i.getDate()),s=String(i.getUTCDate());return isNaN(Date.parse(i))?!1:(n=e.match(/(^|[^:\d])[23]\d([^:\d]|$)/g))?(t=n.map(function(e){return e.match(/\d+/g)[0]}).join("/"),r=String(i.getFullYear()).slice(-2),t===o||t===s||t===r?!0:t===o+"/"+r||t===r+"/"+o?!0:t===s+"/"+r||t===r+"/"+s?!0:!1):!0},e.isAfter=function(t,n){var r=e.toDate(n||new Date),i=e.toDate(t);return!!(i&&r&&i>r)},e.isBefore=function(t,n){var r=e.toDate(n||new Date),i=e.toDate(t);return!!(i&&r&&r>i)},e.isIn=function(t,n){var r;if("[object Array]"===Object.prototype.toString.call(n)){var i=[];for(r in n)i[r]=e.toString(n[r]);return i.indexOf(t)>=0}return"object"==typeof n?n.hasOwnProperty(t):n&&"function"==typeof n.indexOf?n.indexOf(t)>=0:!1},e.isCreditCard=function(e){var t=e.replace(/[^0-9]+/g,"");if(!u.test(t))return!1;for(var n,r,i,o=0,s=t.length-1;s>=0;s--)n=t.substring(s,s+1),r=parseInt(n,10),i?(r*=2,o+=r>=10?r%10+1:r):o+=r,i=!i;return!!(o%10===0?t:!1)},e.isISIN=function(e){if(!c.test(e))return!1;for(var t,n,r=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),i=0,o=!0,s=r.length-2;s>=0;s--)t=r.substring(s,s+1),n=parseInt(t,10),o?(n*=2,i+=n>=10?n+1:n):i+=n,o=!o;return parseInt(e.substr(e.length-1),10)===(1e4-i)%10},e.isISBN=function(t,n){if(n=e.toString(n),!n)return e.isISBN(t,10)||e.isISBN(t,13);var r,i=t.replace(/[\s-]+/g,""),o=0;if("10"===n){if(!l.test(i))return!1;for(r=0;9>r;r++)o+=(r+1)*i.charAt(r);if(o+="X"===i.charAt(9)?100:10*i.charAt(9),o%11===0)return!!i}else if("13"===n){if(!p.test(i))return!1;var s=[1,3];for(r=0;12>r;r++)o+=s[r%2]*i.charAt(r);if(i.charAt(12)-(10-o%10)%10===0)return!!i}return!1},e.isMobilePhone=function(e,t){return t in O?O[t].test(e):!1};var N={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_space_after_digits:!1};e.isCurrency=function(e,r){return r=t(r,N),n(r).test(e)},e.isJSON=function(e){try{var t=JSON.parse(e);return!!t&&"object"==typeof t}catch(n){}return!1},e.isMultibyte=function(e){return C.test(e)},e.isAscii=function(e){return w.test(e)},e.isFullWidth=function(e){return x.test(e)},e.isHalfWidth=function(e){return A.test(e)},e.isVariableWidth=function(e){return x.test(e)&&A.test(e)},e.isSurrogatePair=function(e){return P.test(e)},e.isBase64=function(e){return S.test(e)},e.isMongoId=function(t){return e.isHexadecimal(t)&&24===t.length},e.isISO8601=function(e){return R.test(e)},e.ltrim=function(e,t){var n=t?new RegExp("^["+t+"]+","g"):/^\s+/g;return e.replace(n,"")},e.rtrim=function(e,t){var n=t?new RegExp("["+t+"]+$","g"):/\s+$/g;return e.replace(n,"")},e.trim=function(e,t){var n=t?new RegExp("^["+t+"]+|["+t+"]+$","g"):/^\s+|\s+$/g;return e.replace(n,"")},e.escape=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/\`/g,"`")},e.stripLow=function(t,n){var r=n?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return e.blacklist(t,r)},e.whitelist=function(e,t){return e.replace(new RegExp("[^"+t+"]+","g"),"")},e.blacklist=function(e,t){return e.replace(new RegExp("["+t+"]+","g"),"")};var F={lowercase:!0};return e.normalizeEmail=function(n,r){if(r=t(r,F),!e.isEmail(n))return!1;var i=n.split("@",2);if(i[1]=i[1].toLowerCase(),"gmail.com"===i[1]||"googlemail.com"===i[1]){if(i[0]=i[0].toLowerCase().replace(/\./g,""),"+"===i[0][0])return!1;i[0]=i[0].split("+")[0],i[1]="gmail.com"}else r.lowercase&&(i[0]=i[0].toLowerCase());return i.join("@")},e.init(),e}),r.define=i,n.exports}),e.registerDynamic("f7",["f6"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("f6"),r.define=i,n.exports}),e.registerDynamic("f8",["f7"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("f7"),s={date:function(e){if("string"!=typeof e)return!0;var t=/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/.exec(e);return null===t?!1:t[2]<"01"||t[2]>"12"||t[3]<"01"||t[3]>"31"?!1:!0},"date-time":function(e){if("string"!=typeof e)return!0;var t=e.toLowerCase().split("t");if(!s.date(t[0]))return!1;var n=/^([0-9]{2}):([0-9]{2}):([0-9]{2})(.[0-9]+)?(z|([+-][0-9]{2}:[0-9]{2}))$/.exec(t[1]);return null===n?!1:n[1]>"23"||n[2]>"59"||n[3]>"59"?!1:!0},email:function(e){return"string"!=typeof e?!0:o.isEmail(e,{require_tld:!0})},hostname:function(e){if("string"!=typeof e)return!0;var t=/^[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?(\.[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?)*$/.test(e);if(t){if(e.length>255)return!1;for(var n=e.split("."),r=0;r<n.length;r++)if(n[r].length>63)return!1}return t},"host-name":function(e){return s.hostname.call(this,e)},ipv4:function(e){return"string"!=typeof e?!0:o.isIP(e,4)},ipv6:function(e){return"string"!=typeof e?!0:o.isIP(e,6)},regex:function(e){try{return RegExp(e),!0}catch(t){return!1}},uri:function(e){return this.options.strictUris?s["strict-uri"].apply(this,arguments):"string"!=typeof e||RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?").test(e)},"strict-uri":function(e){return"string"!=typeof e||o.isURL(e)}};return n.exports=s,r.define=i,n.exports}),e.registerDynamic("f9",["f8","f2","f5"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("f8"),s=e("f2"),a=e("f5"),u={multipleOf:function(e,t,n){"number"==typeof n&&"integer"!==a.whatIs(n/t.multipleOf)&&e.addError("MULTIPLE_OF",[n,t.multipleOf],null,t.description)},maximum:function(e,t,n){"number"==typeof n&&(t.exclusiveMaximum!==!0?n>t.maximum&&e.addError("MAXIMUM",[n,t.maximum],null,t.description):n>=t.maximum&&e.addError("MAXIMUM_EXCLUSIVE",[n,t.maximum],null,t.description))},exclusiveMaximum:function(){},minimum:function(e,t,n){"number"==typeof n&&(t.exclusiveMinimum!==!0?n<t.minimum&&e.addError("MINIMUM",[n,t.minimum],null,t.description):n<=t.minimum&&e.addError("MINIMUM_EXCLUSIVE",[n,t.minimum],null,t.description))},exclusiveMinimum:function(){},maxLength:function(e,t,n){"string"==typeof n&&a.ucs2decode(n).length>t.maxLength&&e.addError("MAX_LENGTH",[n.length,t.maxLength],null,t.description)},minLength:function(e,t,n){"string"==typeof n&&a.ucs2decode(n).length<t.minLength&&e.addError("MIN_LENGTH",[n.length,t.minLength],null,t.description)},pattern:function(e,t,n){"string"==typeof n&&RegExp(t.pattern).test(n)===!1&&e.addError("PATTERN",[t.pattern,n],null,t.description)},additionalItems:function(e,t,n){Array.isArray(n)&&t.additionalItems===!1&&Array.isArray(t.items)&&n.length>t.items.length&&e.addError("ARRAY_ADDITIONAL_ITEMS",null,null,t.description)},items:function(){},maxItems:function(e,t,n){Array.isArray(n)&&n.length>t.maxItems&&e.addError("ARRAY_LENGTH_LONG",[n.length,t.maxItems],null,t.description)},minItems:function(e,t,n){Array.isArray(n)&&n.length<t.minItems&&e.addError("ARRAY_LENGTH_SHORT",[n.length,t.minItems],null,t.description)},uniqueItems:function(e,t,n){if(Array.isArray(n)&&t.uniqueItems===!0){var r=[];a.isUniqueArray(n,r)===!1&&e.addError("ARRAY_UNIQUE",r,null,t.description)}},maxProperties:function(e,t,n){if("object"===a.whatIs(n)){var r=Object.keys(n).length;r>t.maxProperties&&e.addError("OBJECT_PROPERTIES_MAXIMUM",[r,t.maxProperties],null,t.description)}},minProperties:function(e,t,n){if("object"===a.whatIs(n)){var r=Object.keys(n).length;r<t.minProperties&&e.addError("OBJECT_PROPERTIES_MINIMUM",[r,t.minProperties],null,t.description)}},required:function(e,t,n){if("object"===a.whatIs(n))for(var r=t.required.length;r--;){var i=t.required[r];void 0===n[i]&&e.addError("OBJECT_MISSING_REQUIRED_PROPERTY",[i],null,t.description)}},additionalProperties:function(e,t,n){return void 0===t.properties&&void 0===t.patternProperties?u.properties.call(this,e,t,n):void 0},patternProperties:function(e,t,n){return void 0===t.properties?u.properties.call(this,e,t,n):void 0},properties:function(e,t,n){if("object"===a.whatIs(n)){var r=void 0!==t.properties?t.properties:{},i=void 0!==t.patternProperties?t.patternProperties:{};if(t.additionalProperties===!1){var o=Object.keys(n),s=Object.keys(r),u=Object.keys(i);o=a.difference(o,s);for(var c=u.length;c--;)for(var l=RegExp(u[c]),p=o.length;p--;)l.test(o[p])===!0&&o.splice(p,1);o.length>0&&e.addError("OBJECT_ADDITIONAL_PROPERTIES",[o],null,t.description)}}},dependencies:function(e,n,r){if("object"===a.whatIs(r))for(var i=Object.keys(n.dependencies),o=i.length;o--;){var s=i[o];if(r[s]){var u=n.dependencies[s];if("object"===a.whatIs(u))t.validate.call(this,e,u,r);else for(var c=u.length;c--;){var l=u[c];void 0===r[l]&&e.addError("OBJECT_DEPENDENCY_KEY",[l,s],null,n.description)}}}},"enum":function(e,t,n){for(var r=!1,i=t["enum"].length;i--;)if(a.areEqual(n,t["enum"][i])){r=!0;break}r===!1&&e.addError("ENUM_MISMATCH",[n],null,t.description)},allOf:function(e,n,r){for(var i=n.allOf.length;i--&&t.validate.call(this,e,n.allOf[i],r)!==!1;);},anyOf:function(e,n,r){for(var i=[],o=!1,a=n.anyOf.length;a--&&o===!1;){var u=new s(e);i.push(u),o=t.validate.call(this,u,n.anyOf[a],r)}o===!1&&e.addError("ANY_OF_MISSING",void 0,i,n.description)},oneOf:function(e,n,r){for(var i=0,o=[],a=n.oneOf.length;a--;){var u=new s(e,{maxErrors:1});o.push(u),t.validate.call(this,u,n.oneOf[a],r)===!0&&i++}0===i?e.addError("ONE_OF_MISSING",void 0,o,n.description):i>1&&e.addError("ONE_OF_MULTIPLE",null,null,n.description)},not:function(e,n,r){var i=new s(e);t.validate.call(this,i,n.not,r)===!0&&e.addError("NOT_PASSED",null,null,n.description)},definitions:function(){},format:function(e,t,n){var r=o[t.format];"function"==typeof r?2===r.length?e.addAsyncTask(r,[n],function(r){r!==!0&&e.addError("INVALID_FORMAT",[t.format,n],null,t.description)}):r.call(this,n)!==!0&&e.addError("INVALID_FORMAT",[t.format,n],null,t.description):this.options.ignoreUnknownFormats!==!0&&e.addError("UNKNOWN_FORMAT",[t.format],null,t.description)}},c=function(e,n,r){var i=r.length;if(Array.isArray(n.items))for(;i--;)i<n.items.length?(e.path.push(i.toString()),t.validate.call(this,e,n.items[i],r[i]),e.path.pop()):"object"==typeof n.additionalItems&&(e.path.push(i.toString()),t.validate.call(this,e,n.additionalItems,r[i]),e.path.pop());else if("object"==typeof n.items)for(;i--;)e.path.push(i.toString()),t.validate.call(this,e,n.items,r[i]),e.path.pop()},l=function(e,n,r){var i=n.additionalProperties;(i===!0||void 0===i)&&(i={});for(var o=n.properties?Object.keys(n.properties):[],s=n.patternProperties?Object.keys(n.patternProperties):[],a=Object.keys(r),u=a.length;u--;){var c=a[u],l=r[c],p=[];-1!==o.indexOf(c)&&p.push(n.properties[c]);for(var f=s.length;f--;){var d=s[f];RegExp(d).test(c)===!0&&p.push(n.patternProperties[d])}for(0===p.length&&i!==!1&&p.push(i),f=p.length;f--;)e.path.push(c),t.validate.call(this,e,p[f],l),e.path.pop()}};return t.validate=function(e,t,n){e.commonErrorMessage="JSON_OBJECT_VALIDATION_FAILED";var r=a.whatIs(t);if("object"!==r)return e.addError("SCHEMA_NOT_AN_OBJECT",[r],null,t.description),!1;var i=Object.keys(t);if(0===i.length)return!0;var o=!1;if(e.rootSchema||(e.rootSchema=t,o=!0),void 0!==t.$ref){for(var s=99;t.$ref&&s>0;){if(!t.__$refResolved){e.addError("REF_UNRESOLVED",[t.$ref],null,t.description);break}if(t.__$refResolved===t)break;t=t.__$refResolved,i=Object.keys(t),s--}if(0===s)throw new Error("Circular dependency by $ref references!")}var p=a.whatIs(n);if(t.type)if("string"==typeof t.type){if(p!==t.type&&("integer"!==p||"number"!==t.type)&&(e.addError("INVALID_TYPE",[t.type,p],null,t.description),this.options.breakOnFirstError))return!1}else if(-1===t.type.indexOf(p)&&("integer"!==p||-1===t.type.indexOf("number"))&&(e.addError("INVALID_TYPE",[t.type,p],null,t.description),this.options.breakOnFirstError))return!1;for(var f=i.length;f--&&!(u[i[f]]&&(u[i[f]].call(this,e,t,n),e.errors.length&&this.options.breakOnFirstError)););return(0===e.errors.length||this.options.breakOnFirstError===!1)&&("array"===p?c.call(this,e,t,n):"object"===p&&l.call(this,e,t,n)),o&&(e.rootSchema=void 0),0===e.errors.length},r.define=i,n.exports}),e.registerDynamic("fa",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;return r.define=void 0,n.exports={INVALID_TYPE:"Expected type {0} but found type {1}",INVALID_FORMAT:"Object didn't pass validation for format {0}: {1}",ENUM_MISMATCH:"No enum match for: {0}",ANY_OF_MISSING:"Data does not match any schemas from 'anyOf'",ONE_OF_MISSING:"Data does not match any schemas from 'oneOf'",ONE_OF_MULTIPLE:"Data is valid against more than one schema from 'oneOf'",NOT_PASSED:"Data matches schema from 'not'",ARRAY_LENGTH_SHORT:"Array is too short ({0}), minimum {1}",ARRAY_LENGTH_LONG:"Array is too long ({0}), maximum {1}",ARRAY_UNIQUE:"Array items are not unique (indexes {0} and {1})",ARRAY_ADDITIONAL_ITEMS:"Additional items not allowed",MULTIPLE_OF:"Value {0} is not a multiple of {1}",MINIMUM:"Value {0} is less than minimum {1}",MINIMUM_EXCLUSIVE:"Value {0} is equal or less than exclusive minimum {1}",MAXIMUM:"Value {0} is greater than maximum {1}",MAXIMUM_EXCLUSIVE:"Value {0} is equal or greater than exclusive maximum {1}",OBJECT_PROPERTIES_MINIMUM:"Too few properties defined ({0}), minimum {1}",OBJECT_PROPERTIES_MAXIMUM:"Too many properties defined ({0}), maximum {1}",OBJECT_MISSING_REQUIRED_PROPERTY:"Missing required property: {0}",OBJECT_ADDITIONAL_PROPERTIES:"Additional properties not allowed: {0}",OBJECT_DEPENDENCY_KEY:"Dependency failed - key must exist: {0} (due to key: {1})",MIN_LENGTH:"String is too short ({0} chars), minimum {1}",MAX_LENGTH:"String is too long ({0} chars), maximum {1}",PATTERN:"String does not match pattern {0}: {1}",KEYWORD_TYPE_EXPECTED:"Keyword '{0}' is expected to be of type '{1}'",KEYWORD_UNDEFINED_STRICT:"Keyword '{0}' must be defined in strict mode",KEYWORD_UNEXPECTED:"Keyword '{0}' is not expected to appear in the schema",KEYWORD_MUST_BE:"Keyword '{0}' must be {1}",KEYWORD_DEPENDENCY:"Keyword '{0}' requires keyword '{1}'",KEYWORD_PATTERN:"Keyword '{0}' is not a valid RegExp pattern: {1}",KEYWORD_VALUE_TYPE:"Each element of keyword '{0}' array must be a '{1}'",UNKNOWN_FORMAT:"There is no validation function for format '{0}'",CUSTOM_MODE_FORCE_PROPERTIES:"{0} must define at least one property if present",REF_UNRESOLVED:"Reference has not been resolved during compilation: {0}",UNRESOLVABLE_REFERENCE:"Reference could not be resolved: {0}",SCHEMA_NOT_REACHABLE:"Validator was not able to read schema with uri: {0}",SCHEMA_TYPE_EXPECTED:"Schema is expected to be of type 'object'",SCHEMA_NOT_AN_OBJECT:"Schema is not an object: {0}",ASYNC_TIMEOUT:"{0} asynchronous task(s) have timed out after {1} ms",PARENT_SCHEMA_VALIDATION_FAILED:"Schema failed to validate against its parent schema, see inner errors for details.",REMOTE_NOT_VALID:"Remote reference didn't compile successfully: {0}"},r.define=i,n.exports}),e.registerDynamic("f2",["fa","f5","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){"use strict";function r(e,t){this.parentReport=e instanceof r?e:void 0,this.options=e instanceof r?e.options:e||{},this.reportOptions=t||{},this.errors=[],this.path=[],this.asyncTasks=[]}var i=e("fa"),o=e("f5");r.prototype.isValid=function(){if(this.asyncTasks.length>0)throw new Error("Async tasks pending, can't answer isValid");return 0===this.errors.length},r.prototype.addAsyncTask=function(e,t,n){this.asyncTasks.push([e,t,n])},r.prototype.processAsyncTasks=function(e,n){function r(){t.nextTick(function(){var e=0===c.errors.length,t=e?void 0:c.errors;n(t,e)})}function i(e){return function(t){u||(e(t),0===--s&&r())}}var o=e||2e3,s=this.asyncTasks.length,a=s,u=!1,c=this;if(0===s||this.errors.length>0)return void r();for(;a--;){var l=this.asyncTasks[a];l[0].apply(null,l[1].concat(i(l[2])))}setTimeout(function(){s>0&&(u=!0,c.addError("ASYNC_TIMEOUT",[s,o]),n(c.errors,!1))},o)},r.prototype.getPath=function(){var e=[];return this.parentReport&&(e=e.concat(this.parentReport.path)),e=e.concat(this.path),this.options.reportPathAsArray!==!0&&(e="#/"+e.map(function(e){return o.isAbsoluteUri(e)?"uri("+e+")":e.replace(/\~/g,"~0").replace(/\//g,"~1")}).join("/")),e},r.prototype.hasError=function(e,t){for(var n=this.errors.length;n--;)if(this.errors[n].code===e){for(var r=!0,i=this.errors[n].params.length;i--;)this.errors[n].params[i]!==t[i]&&(r=!1);if(r)return r}return!1},r.prototype.addError=function(e,t,n,r){if(!(this.errors.length>=this.reportOptions.maxErrors)){if(!e)throw new Error("No errorCode passed into addError()");if(!i[e])throw new Error("No errorMessage known for code "+e);t=t||[];for(var s=t.length,a=i[e];s--;){
|
||
var u=o.whatIs(t[s]),c="object"===u||"null"===u?JSON.stringify(t[s]):t[s];a=a.replace("{"+s+"}",c)}var l={code:e,params:t,message:a,path:this.getPath()};if(r&&(l.description=r),null!=n){for(Array.isArray(n)||(n=[n]),l.inner=[],s=n.length;s--;)for(var p=n[s],f=p.errors.length;f--;)l.inner.push(p.errors[f]);0===l.inner.length&&(l.inner=void 0)}this.errors.push(l)}},n.exports=r}(e("34")),r.define=i,n.exports}),e.registerDynamic("f4",["f8","f9","f2","f5"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("f8"),s=e("f9"),a=e("f2"),u=e("f5"),c={$ref:function(e,t){"string"!=typeof t.$ref&&e.addError("KEYWORD_TYPE_EXPECTED",["$ref","string"])},$schema:function(e,t){"string"!=typeof t.$schema&&e.addError("KEYWORD_TYPE_EXPECTED",["$schema","string"])},multipleOf:function(e,t){"number"!=typeof t.multipleOf?e.addError("KEYWORD_TYPE_EXPECTED",["multipleOf","number"]):t.multipleOf<=0&&e.addError("KEYWORD_MUST_BE",["multipleOf","strictly greater than 0"])},maximum:function(e,t){"number"!=typeof t.maximum&&e.addError("KEYWORD_TYPE_EXPECTED",["maximum","number"])},exclusiveMaximum:function(e,t){"boolean"!=typeof t.exclusiveMaximum?e.addError("KEYWORD_TYPE_EXPECTED",["exclusiveMaximum","boolean"]):void 0===t.maximum&&e.addError("KEYWORD_DEPENDENCY",["exclusiveMaximum","maximum"])},minimum:function(e,t){"number"!=typeof t.minimum&&e.addError("KEYWORD_TYPE_EXPECTED",["minimum","number"])},exclusiveMinimum:function(e,t){"boolean"!=typeof t.exclusiveMinimum?e.addError("KEYWORD_TYPE_EXPECTED",["exclusiveMinimum","boolean"]):void 0===t.minimum&&e.addError("KEYWORD_DEPENDENCY",["exclusiveMinimum","minimum"])},maxLength:function(e,t){"integer"!==u.whatIs(t.maxLength)?e.addError("KEYWORD_TYPE_EXPECTED",["maxLength","integer"]):t.maxLength<0&&e.addError("KEYWORD_MUST_BE",["maxLength","greater than, or equal to 0"])},minLength:function(e,t){"integer"!==u.whatIs(t.minLength)?e.addError("KEYWORD_TYPE_EXPECTED",["minLength","integer"]):t.minLength<0&&e.addError("KEYWORD_MUST_BE",["minLength","greater than, or equal to 0"])},pattern:function(e,t){if("string"!=typeof t.pattern)e.addError("KEYWORD_TYPE_EXPECTED",["pattern","string"]);else try{RegExp(t.pattern)}catch(n){e.addError("KEYWORD_PATTERN",["pattern",t.pattern])}},additionalItems:function(e,n){var r=u.whatIs(n.additionalItems);"boolean"!==r&&"object"!==r?e.addError("KEYWORD_TYPE_EXPECTED",["additionalItems",["boolean","object"]]):"object"===r&&(e.path.push("additionalItems"),t.validateSchema.call(this,e,n.additionalItems),e.path.pop())},items:function(e,n){var r=u.whatIs(n.items);if("object"===r)e.path.push("items"),t.validateSchema.call(this,e,n.items),e.path.pop();else if("array"===r)for(var i=n.items.length;i--;)e.path.push("items"),e.path.push(i.toString()),t.validateSchema.call(this,e,n.items[i]),e.path.pop(),e.path.pop();else e.addError("KEYWORD_TYPE_EXPECTED",["items",["array","object"]]);this.options.forceAdditional===!0&&void 0===n.additionalItems&&Array.isArray(n.items)&&e.addError("KEYWORD_UNDEFINED_STRICT",["additionalItems"]),this.options.assumeAdditional===!0&&void 0===n.additionalItems&&Array.isArray(n.items)&&(n.additionalItems=!1)},maxItems:function(e,t){"number"!=typeof t.maxItems?e.addError("KEYWORD_TYPE_EXPECTED",["maxItems","integer"]):t.maxItems<0&&e.addError("KEYWORD_MUST_BE",["maxItems","greater than, or equal to 0"])},minItems:function(e,t){"integer"!==u.whatIs(t.minItems)?e.addError("KEYWORD_TYPE_EXPECTED",["minItems","integer"]):t.minItems<0&&e.addError("KEYWORD_MUST_BE",["minItems","greater than, or equal to 0"])},uniqueItems:function(e,t){"boolean"!=typeof t.uniqueItems&&e.addError("KEYWORD_TYPE_EXPECTED",["uniqueItems","boolean"])},maxProperties:function(e,t){"integer"!==u.whatIs(t.maxProperties)?e.addError("KEYWORD_TYPE_EXPECTED",["maxProperties","integer"]):t.maxProperties<0&&e.addError("KEYWORD_MUST_BE",["maxProperties","greater than, or equal to 0"])},minProperties:function(e,t){"integer"!==u.whatIs(t.minProperties)?e.addError("KEYWORD_TYPE_EXPECTED",["minProperties","integer"]):t.minProperties<0&&e.addError("KEYWORD_MUST_BE",["minProperties","greater than, or equal to 0"])},required:function(e,t){if("array"!==u.whatIs(t.required))e.addError("KEYWORD_TYPE_EXPECTED",["required","array"]);else if(0===t.required.length)e.addError("KEYWORD_MUST_BE",["required","an array with at least one element"]);else{for(var n=t.required.length;n--;)"string"!=typeof t.required[n]&&e.addError("KEYWORD_VALUE_TYPE",["required","string"]);u.isUniqueArray(t.required)===!1&&e.addError("KEYWORD_MUST_BE",["required","an array with unique items"])}},additionalProperties:function(e,n){var r=u.whatIs(n.additionalProperties);"boolean"!==r&&"object"!==r?e.addError("KEYWORD_TYPE_EXPECTED",["additionalProperties",["boolean","object"]]):"object"===r&&(e.path.push("additionalProperties"),t.validateSchema.call(this,e,n.additionalProperties),e.path.pop())},properties:function(e,n){if("object"!==u.whatIs(n.properties))return void e.addError("KEYWORD_TYPE_EXPECTED",["properties","object"]);for(var r=Object.keys(n.properties),i=r.length;i--;){var o=r[i],s=n.properties[o];e.path.push("properties"),e.path.push(o),t.validateSchema.call(this,e,s),e.path.pop(),e.path.pop()}this.options.forceAdditional===!0&&void 0===n.additionalProperties&&e.addError("KEYWORD_UNDEFINED_STRICT",["additionalProperties"]),this.options.assumeAdditional===!0&&void 0===n.additionalProperties&&(n.additionalProperties=!1),this.options.forceProperties===!0&&0===r.length&&e.addError("CUSTOM_MODE_FORCE_PROPERTIES",["properties"])},patternProperties:function(e,n){if("object"!==u.whatIs(n.patternProperties))return void e.addError("KEYWORD_TYPE_EXPECTED",["patternProperties","object"]);for(var r=Object.keys(n.patternProperties),i=r.length;i--;){var o=r[i],s=n.patternProperties[o];try{RegExp(o)}catch(a){e.addError("KEYWORD_PATTERN",["patternProperties",o])}e.path.push("patternProperties"),e.path.push(o.toString()),t.validateSchema.call(this,e,s),e.path.pop(),e.path.pop()}this.options.forceProperties===!0&&0===r.length&&e.addError("CUSTOM_MODE_FORCE_PROPERTIES",["patternProperties"])},dependencies:function(e,n){if("object"!==u.whatIs(n.dependencies))e.addError("KEYWORD_TYPE_EXPECTED",["dependencies","object"]);else for(var r=Object.keys(n.dependencies),i=r.length;i--;){var o=r[i],s=n.dependencies[o],a=u.whatIs(s);if("object"===a)e.path.push("dependencies"),e.path.push(o),t.validateSchema.call(this,e,s),e.path.pop(),e.path.pop();else if("array"===a){var c=s.length;for(0===c&&e.addError("KEYWORD_MUST_BE",["dependencies","not empty array"]);c--;)"string"!=typeof s[c]&&e.addError("KEYWORD_VALUE_TYPE",["dependensices","string"]);u.isUniqueArray(s)===!1&&e.addError("KEYWORD_MUST_BE",["dependencies","an array with unique items"])}else e.addError("KEYWORD_VALUE_TYPE",["dependencies","object or array"])}},"enum":function(e,t){Array.isArray(t["enum"])===!1?e.addError("KEYWORD_TYPE_EXPECTED",["enum","array"]):0===t["enum"].length?e.addError("KEYWORD_MUST_BE",["enum","an array with at least one element"]):u.isUniqueArray(t["enum"])===!1&&e.addError("KEYWORD_MUST_BE",["enum","an array with unique elements"])},type:function(e,t){var n=["array","boolean","integer","number","null","object","string"],r=n.join(","),i=Array.isArray(t.type);if(i){for(var o=t.type.length;o--;)-1===n.indexOf(t.type[o])&&e.addError("KEYWORD_TYPE_EXPECTED",["type",r]);u.isUniqueArray(t.type)===!1&&e.addError("KEYWORD_MUST_BE",["type","an object with unique properties"])}else"string"==typeof t.type?-1===n.indexOf(t.type)&&e.addError("KEYWORD_TYPE_EXPECTED",["type",r]):e.addError("KEYWORD_TYPE_EXPECTED",["type",["string","array"]]);this.options.noEmptyStrings===!0&&("string"===t.type||i&&-1!==t.type.indexOf("string"))&&void 0===t.minLength&&void 0===t["enum"]&&void 0===t.format&&(t.minLength=1),this.options.noEmptyArrays===!0&&("array"===t.type||i&&-1!==t.type.indexOf("array"))&&void 0===t.minItems&&(t.minItems=1),this.options.forceProperties===!0&&("object"===t.type||i&&-1!==t.type.indexOf("object"))&&void 0===t.properties&&void 0===t.patternProperties&&e.addError("KEYWORD_UNDEFINED_STRICT",["properties"]),this.options.forceItems===!0&&("array"===t.type||i&&-1!==t.type.indexOf("array"))&&void 0===t.items&&e.addError("KEYWORD_UNDEFINED_STRICT",["items"]),this.options.forceMinItems===!0&&("array"===t.type||i&&-1!==t.type.indexOf("array"))&&void 0===t.minItems&&e.addError("KEYWORD_UNDEFINED_STRICT",["minItems"]),this.options.forceMaxItems===!0&&("array"===t.type||i&&-1!==t.type.indexOf("array"))&&void 0===t.maxItems&&e.addError("KEYWORD_UNDEFINED_STRICT",["maxItems"]),this.options.forceMinLength===!0&&("string"===t.type||i&&-1!==t.type.indexOf("string"))&&void 0===t.minLength&&void 0===t.format&&void 0===t["enum"]&&void 0===t.pattern&&e.addError("KEYWORD_UNDEFINED_STRICT",["minLength"]),this.options.forceMaxLength===!0&&("string"===t.type||i&&-1!==t.type.indexOf("string"))&&void 0===t.maxLength&&void 0===t.format&&void 0===t["enum"]&&void 0===t.pattern&&e.addError("KEYWORD_UNDEFINED_STRICT",["maxLength"])},allOf:function(e,n){if(Array.isArray(n.allOf)===!1)e.addError("KEYWORD_TYPE_EXPECTED",["allOf","array"]);else if(0===n.allOf.length)e.addError("KEYWORD_MUST_BE",["allOf","an array with at least one element"]);else for(var r=n.allOf.length;r--;)e.path.push("allOf"),e.path.push(r.toString()),t.validateSchema.call(this,e,n.allOf[r]),e.path.pop(),e.path.pop()},anyOf:function(e,n){if(Array.isArray(n.anyOf)===!1)e.addError("KEYWORD_TYPE_EXPECTED",["anyOf","array"]);else if(0===n.anyOf.length)e.addError("KEYWORD_MUST_BE",["anyOf","an array with at least one element"]);else for(var r=n.anyOf.length;r--;)e.path.push("anyOf"),e.path.push(r.toString()),t.validateSchema.call(this,e,n.anyOf[r]),e.path.pop(),e.path.pop()},oneOf:function(e,n){if(Array.isArray(n.oneOf)===!1)e.addError("KEYWORD_TYPE_EXPECTED",["oneOf","array"]);else if(0===n.oneOf.length)e.addError("KEYWORD_MUST_BE",["oneOf","an array with at least one element"]);else for(var r=n.oneOf.length;r--;)e.path.push("oneOf"),e.path.push(r.toString()),t.validateSchema.call(this,e,n.oneOf[r]),e.path.pop(),e.path.pop()},not:function(e,n){"object"!==u.whatIs(n.not)?e.addError("KEYWORD_TYPE_EXPECTED",["not","object"]):(e.path.push("not"),t.validateSchema.call(this,e,n.not),e.path.pop())},definitions:function(e,n){if("object"!==u.whatIs(n.definitions))e.addError("KEYWORD_TYPE_EXPECTED",["definitions","object"]);else for(var r=Object.keys(n.definitions),i=r.length;i--;){var o=r[i],s=n.definitions[o];e.path.push("definitions"),e.path.push(o),t.validateSchema.call(this,e,s),e.path.pop(),e.path.pop()}},format:function(e,t){"string"!=typeof t.format?e.addError("KEYWORD_TYPE_EXPECTED",["format","string"]):void 0===o[t.format]&&this.options.ignoreUnknownFormats!==!0&&e.addError("UNKNOWN_FORMAT",[t.format])},id:function(e,t){"string"!=typeof t.id&&e.addError("KEYWORD_TYPE_EXPECTED",["id","string"])},title:function(e,t){"string"!=typeof t.title&&e.addError("KEYWORD_TYPE_EXPECTED",["title","string"])},description:function(e,t){"string"!=typeof t.description&&e.addError("KEYWORD_TYPE_EXPECTED",["description","string"])},"default":function(){}},l=function(e,n){for(var r=n.length;r--;)t.validateSchema.call(this,e,n[r]);return e.isValid()};return t.validateSchema=function(e,t){if(e.commonErrorMessage="SCHEMA_VALIDATION_FAILED",Array.isArray(t))return l.call(this,e,t);if(t.__$validated)return!0;var n=t.$schema&&t.id!==t.$schema;if(n)if(t.__$schemaResolved&&t.__$schemaResolved!==t){var r=new a(e),i=s.validate.call(this,r,t.__$schemaResolved,t);i===!1&&e.addError("PARENT_SCHEMA_VALIDATION_FAILED",null,r)}else this.options.ignoreUnresolvableReferences!==!0&&e.addError("REF_UNRESOLVED",[t.$schema]);if(this.options.noTypeless===!0){if(void 0!==t.type){var o=[];Array.isArray(t.anyOf)&&(o=o.concat(t.anyOf)),Array.isArray(t.oneOf)&&(o=o.concat(t.oneOf)),Array.isArray(t.allOf)&&(o=o.concat(t.allOf)),o.forEach(function(e){e.type||(e.type=t.type)})}void 0===t["enum"]&&void 0===t.type&&void 0===t.anyOf&&void 0===t.oneOf&&void 0===t.not&&void 0===t.$ref&&e.addError("KEYWORD_UNDEFINED_STRICT",["type"])}for(var p=Object.keys(t),f=p.length;f--;){var d=p[f];0!==d.indexOf("__")&&(void 0!==c[d]?c[d].call(this,e,t):n||this.options.noExtraKeywords===!0&&e.addError("KEYWORD_UNEXPECTED",[d]))}if(this.options.pedanticCheck===!0){if(t["enum"]){var h=u.clone(t);for(delete h["enum"],delete h["default"],e.path.push("enum"),f=t["enum"].length;f--;)e.path.push(f.toString()),s.validate.call(this,e,h,t["enum"][f]),e.path.pop();e.path.pop()}t["default"]&&(e.path.push("default"),s.validate.call(this,e,t,t["default"]),e.path.pop())}var m=e.isValid();return m&&(t.__$validated=!0),m},r.define=i,n.exports}),e.registerDynamic("f5",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;return r.define=void 0,t.isAbsoluteUri=function(e){return/^https?:\/\//.test(e)},t.isRelativeUri=function(e){return/.+#/.test(e)},t.whatIs=function(e){var t=typeof e;return"object"===t?null===e?"null":Array.isArray(e)?"array":"object":"number"===t?Number.isFinite(e)?e%1===0?"integer":"number":Number.isNaN(e)?"not-a-number":"unknown-number":t},t.areEqual=function o(e,n){if(e===n)return!0;var r,i;if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;for(i=e.length,r=0;i>r;r++)if(!o(e[r],n[r]))return!1;return!0}if("object"===t.whatIs(e)&&"object"===t.whatIs(n)){var s=Object.keys(e),a=Object.keys(n);if(!o(s,a))return!1;for(i=s.length,r=0;i>r;r++)if(!o(e[s[r]],n[s[r]]))return!1;return!0}return!1},t.isUniqueArray=function(e,n){var r,i,o=e.length;for(r=0;o>r;r++)for(i=r+1;o>i;i++)if(t.areEqual(e[r],e[i]))return n&&n.push(r,i),!1;return!0},t.difference=function(e,t){for(var n=[],r=e.length;r--;)-1===t.indexOf(e[r])&&n.push(e[r]);return n},t.clone=function(e){if("undefined"!=typeof e){if("object"!=typeof e||null===e)return e;var t,n;if(Array.isArray(e))for(t=[],n=e.length;n--;)t[n]=e[n];else{t={};var r=Object.keys(e);for(n=r.length;n--;){var i=r[n];t[i]=e[i]}}return t}},t.cloneDeep=function(e){function t(e){if("object"!=typeof e||null===e)return e;var i,o,s;if(s=n.indexOf(e),-1!==s)return r[s];if(n.push(e),Array.isArray(e))for(i=[],r.push(i),o=e.length;o--;)i[o]=t(e[o]);else{i={},r.push(i);var a=Object.keys(e);for(o=a.length;o--;){var u=a[o];i[u]=t(e[u])}}return i}var n=[],r=[];return t(e)},t.ucs2decode=function(e){for(var t,n,r=[],i=0,o=e.length;o>i;)t=e.charCodeAt(i++),t>=55296&&56319>=t&&o>i?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r},r.define=i,n.exports}),e.registerDynamic("fb",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{"default":0}]},simpleTypes:{"enum":["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},"default":{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean","default":!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean","default":!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],"default":{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],"default":{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean","default":!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],"default":{}},definitions:{type:"object",additionalProperties:{$ref:"#"},"default":{}},properties:{type:"object",additionalProperties:{$ref:"#"},"default":{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},"default":{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},"enum":{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},"default":{}},r.define=i,n.exports}),e.registerDynamic("fc",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={$schema:"http://json-schema.org/draft-04/hyper-schema#",id:"http://json-schema.org/draft-04/hyper-schema#",title:"JSON Hyper-Schema",allOf:[{$ref:"http://json-schema.org/draft-04/schema#"}],properties:{additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}]},dependencies:{additionalProperties:{anyOf:[{$ref:"#"},{type:"array"}]}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}]},definitions:{additionalProperties:{$ref:"#"}},patternProperties:{additionalProperties:{$ref:"#"}},properties:{additionalProperties:{$ref:"#"}},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"},links:{type:"array",items:{$ref:"#/definitions/linkDescription"}},fragmentResolution:{type:"string"},media:{type:"object",properties:{type:{description:"A media type, as described in RFC 2046",type:"string"},binaryEncoding:{description:"A content encoding scheme, as described in RFC 2045",type:"string"}}},pathStart:{description:"Instances' URIs must start with this value for this schema to apply to them",type:"string",format:"uri"}},definitions:{schemaArray:{type:"array",items:{$ref:"#"}},linkDescription:{title:"Link Description Object",type:"object",required:["href","rel"],properties:{href:{description:"a URI template, as defined by RFC 6570, with the addition of the $, ( and ) characters for pre-processing",type:"string"},rel:{description:"relation to the target resource of the link",type:"string"},title:{description:"a title for the link",type:"string"},targetSchema:{description:"JSON Schema describing the link target",$ref:"#"},mediaType:{description:"media type (as defined by RFC 2046) describing the link target",type:"string"},method:{description:'method for requesting the target of the link (e.g. for HTTP this might be "GET" or "DELETE")',type:"string"},encType:{description:"The media type in which to submit data along with the request",type:"string","default":"application/json"},schema:{description:"Schema describing the data to submit along with the request",$ref:"#"}}}}},r.define=i,n.exports}),e.registerDynamic("fd",["e8","f0","f2","f8","f9","f1","f3","f4","f5","fb","fc","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){"use strict";function r(e){if(this.cache={},this.referenceCache=[],this.setRemoteReference("http://json-schema.org/draft-04/schema",f),this.setRemoteReference("http://json-schema.org/draft-04/hyper-schema",d),"object"==typeof e){for(var t,n=Object.keys(e),r=n.length;r--;)if(t=n[r],void 0===h[t])throw new Error("Unexpected option passed to constructor: "+t);for(n=Object.keys(h),r=n.length;r--;)t=n[r],void 0===e[t]&&(e[t]=p.clone(h[t]));this.options=e}else this.options=p.clone(h);this.options.strictMode===!0&&(this.options.forceAdditional=!0,this.options.forceItems=!0,this.options.forceMaxLength=!0,this.options.forceProperties=!0,this.options.noExtraKeywords=!0,this.options.noTypeless=!0,this.options.noEmptyStrings=!0,this.options.noEmptyArrays=!0)}e("e8");var i=e("f0"),o=e("f2"),s=e("f8"),a=e("f9"),u=e("f1"),c=e("f3"),l=e("f4"),p=e("f5"),f=e("fb"),d=e("fc"),h={asyncTimeout:2e3,forceAdditional:!1,assumeAdditional:!1,forceItems:!1,forceMinItems:!1,forceMaxItems:!1,forceMinLength:!1,forceMaxLength:!1,forceProperties:!1,ignoreUnresolvableReferences:!1,noExtraKeywords:!1,noTypeless:!1,noEmptyStrings:!1,noEmptyArrays:!1,strictUris:!1,strictMode:!1,reportPathAsArray:!1,breakOnFirstError:!0,pedanticCheck:!1,ignoreUnknownFormats:!1};r.prototype.compileSchema=function(e){var t=new o(this.options);return e=u.getSchema.call(this,t,e),c.compileSchema.call(this,t,e),this.lastReport=t,t.isValid()},r.prototype.validateSchema=function(e){if(Array.isArray(e)&&0===e.length)throw new Error(".validateSchema was called with an empty array");var t=new o(this.options);e=u.getSchema.call(this,t,e);var n=c.compileSchema.call(this,t,e);return n&&l.validateSchema.call(this,t,e),this.lastReport=t,t.isValid()},r.prototype.validate=function(e,n,r,s){"function"===p.whatIs(r)&&(s=r,r={}),r||(r={});var f=p.whatIs(n);if("string"!==f&&"object"!==f){var d=new Error("Invalid .validate call - schema must be an string or object but "+f+" was passed!");if(s)return void t.nextTick(function(){s(d,!1)});throw d}var h=!1,m=new o(this.options);if("string"==typeof n){var v=n;if(n=u.getSchema.call(this,m,v),!n)throw new Error("Schema with id '"+v+"' wasn't found in the validator cache!")}else n=u.getSchema.call(this,m,n);var y=!1;h||(y=c.compileSchema.call(this,m,n)),y||(this.lastReport=m,h=!0);var g=!1;if(h||(g=l.validateSchema.call(this,m,n)),g||(this.lastReport=m,h=!0),r.schemaPath&&(m.rootSchema=n,n=i(n,r.schemaPath),!n))throw new Error("Schema path '"+r.schemaPath+"' wasn't found in the schema!");if(h||a.validate.call(this,m,n,e),s)return void m.processAsyncTasks(this.options.asyncTimeout,s);if(m.asyncTasks.length>0)throw new Error("This validation has async tasks and cannot be done in sync mode, please provide callback argument.");return this.lastReport=m,m.isValid()},r.prototype.getLastError=function(){if(0===this.lastReport.errors.length)return null;var e=new Error;return e.name="z-schema validation error",e.message=this.lastReport.commonErrorMessage,e.details=this.lastReport.errors,e},r.prototype.getLastErrors=function(){return this.lastReport&&this.lastReport.errors.length>0?this.lastReport.errors:void 0},r.prototype.getMissingReferences=function(e){e=e||this.lastReport.errors;for(var t=[],n=e.length;n--;){var r=e[n];if("UNRESOLVABLE_REFERENCE"===r.code){var i=r.params[0];-1===t.indexOf(i)&&t.push(i)}r.inner&&(t=t.concat(this.getMissingReferences(r.inner)))}return t},r.prototype.getMissingRemoteReferences=function(){for(var e=this.getMissingReferences(),t=[],n=e.length;n--;){var r=u.getRemotePath(e[n]);r&&-1===t.indexOf(r)&&t.push(r)}return t},r.prototype.setRemoteReference=function(e,t){t="string"==typeof t?JSON.parse(t):p.cloneDeep(t),u.cacheSchemaByUri.call(this,e,t)},r.prototype.getResolvedSchema=function(e){var t=new o(this.options);e=u.getSchema.call(this,t,e),e=p.cloneDeep(e);var n=[],r=function(e){var t,i=p.whatIs(e);if(("object"===i||"array"===i)&&!e.___$visited){if(e.___$visited=!0,n.push(e),e.$ref&&e.__$refResolved){var o=e.__$refResolved,s=e;delete e.$ref,delete e.__$refResolved;for(t in o)o.hasOwnProperty(t)&&(s[t]=o[t])}for(t in e)e.hasOwnProperty(t)&&(0===t.indexOf("__$")?delete e[t]:r(e[t]))}};if(r(e),n.forEach(function(e){delete e.___$visited}),this.lastReport=t,t.isValid())return e;throw this.getLastError()},r.prototype.setSchemaReader=function(e){return r.setSchemaReader(e)},r.prototype.getSchemaReader=function(){return r.schemaReader},r.setSchemaReader=function(e){r.schemaReader=e},r.registerFormat=function(e,t){s[e]=t},r.unregisterFormat=function(e){delete s[e]},r.getRegisteredFormats=function(){return Object.keys(s)},r.getDefaultOptions=function(){return p.cloneDeep(h)},n.exports=r}(e("34")),r.define=i,n.exports}),e.registerDynamic("fe",["fd"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("fd"),r.define=i,n.exports}),e.registerDynamic("ff",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string","enum":["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",$ref:"#/definitions/mediaTypeList"},produces:{description:"A list of MIME types the API can produce.",$ref:"#/definitions/mediaTypeList"},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for parameters"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",$ref:"#/definitions/mediaTypeList"},consumes:{description:"A list of MIME types the API can consume.",$ref:"#/definitions/mediaTypeList"},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean","default":!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},"delete":{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string","enum":["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},"in":{type:"string",description:"Determines the location of the parameter.","enum":["body"]},required:{
|
||
type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean","default":!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean","default":!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string","enum":["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean","enum":[!0],description:"Determines whether or not this parameter is required or optional."},"in":{type:"string",description:"Determines the location of the parameter.","enum":["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},"default":{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},"enum":{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],"default":{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],"default":{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},"default":{}},discriminator:{type:"string"},readOnly:{type:"boolean","default":!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},"default":{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string","enum":["file"]},readOnly:{type:"boolean","default":!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string","enum":["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean","default":!1},wrapped:{type:"boolean","default":!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string","enum":["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string","enum":["apiKey"]},name:{type:"string"},"in":{type:"string","enum":["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string","enum":["oauth2"]},flow:{type:"string","enum":["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string","enum":["oauth2"]},flow:{type:"string","enum":["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string","enum":["oauth2"]},flow:{type:"string","enum":["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string","enum":["oauth2"]},flow:{type:"string","enum":["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string","enum":["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string","enum":["csv","ssv","tsv","pipes"],"default":"csv"},collectionFormatWithMulti:{type:"string","enum":["csv","ssv","tsv","pipes","multi"],"default":"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},"default":{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},"enum":{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},r.define=i,n.exports}),e.registerDynamic("100",["102","101","fe","ff"],!0,function(e,t,n){"use strict";function r(e){u.debug("Validating against the Swagger 2.0 schema");var t=l.validate(e,p);if(!t){var n=l.getLastError(),r="Swagger schema validation failed. "+o(n.details);throw c.syntax(n,{details:n.details},r)}u.debug(" Validated successfully")}function i(){l=new l({breakOnFirstError:!0,noExtraKeywords:!0,ignoreUnknownFormats:!1,reportPathAsArray:!0})}function o(e,t){t=t||" ";var n="";return e.forEach(function(e,r){n+=u.format("\n%s%s at %s",t,e.message,e.path.join("/")),e.inner&&(n+=o(e.inner,t+" "))}),n}var s=this,a=s.define;s.define=void 0;var u=e("102"),c=e("101"),l=e("fe"),p=e("ff");return n.exports=r,i(),s.define=a,n.exports}),e.registerDynamic("103",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=["get","put","post","delete","options","head","patch"],r.define=i,n.exports}),e.registerDynamic("104",["103"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("103"),r.define=i,n.exports}),e.registerDynamic("105",["102","101","104"],!0,function(e,t,n){"use strict";function r(e){h.debug("Validating against the Swagger 2.0 spec");var t=Object.keys(e.paths||{});t.forEach(function(t){var n=e.paths[t],r="/paths"+t;n&&0===t.indexOf("/")&&i(e,n,r)}),h.debug(" Validated successfully")}function i(e,t,n){v.forEach(function(r){var i=t[r],s=n+"/"+r;if(i){o(e,t,n,i,s);var a=Object.keys(i.responses||{});a.forEach(function(e){var t=i.responses[e],n=s+"/responses/"+e;l(e,t,n)})}})}function o(e,t,n,r,i){var o=t.parameters||[],l=r.parameters||[];try{c(o)}catch(p){throw m.syntax(p,"Validation failed. %s has duplicate parameters",n)}try{c(l)}catch(p){throw m.syntax(p,"Validation failed. %s has duplicate parameters",i)}var f=o.reduce(function(e,t){var n=e.some(function(e){return e["in"]===t["in"]&&e.name===t.name});return n||e.push(t),e},l);s(f,i),a(f,n,i),u(f,e,r,i)}function s(e,t){var n=e.filter(function(e){return"body"===e["in"]}),r=e.filter(function(e){return"formData"===e["in"]});if(n.length>1)throw m.syntax("Validation failed. %s has %d body parameters. Only one is allowed.",t,n.length);if(n.length>0&&r.length>0)throw m.syntax("Validation failed. %s has body parameters and formData parameters. Only one or the other is allowed.",t)}function a(e,t,n){for(var r=t.match(h.swaggerParamRegExp)||[],i=0;i<r.length;i++)for(var o=i+1;o<r.length;o++)if(r[i]===r[o])throw m.syntax("Validation failed. %s has multiple path placeholders named %s",n,r[i]);if(e.filter(function(e){return"path"===e["in"]}).forEach(function(e){if(e.required!==!0)throw m.syntax('Validation failed. Path parameters cannot be optional. Set required=true for the "%s" parameter at %s',e.name,n);var t=r.indexOf("{"+e.name+"}");if(-1===t)throw m.syntax('Validation failed. %s has a path parameter named "%s", but there is no corresponding {%s} in the path string',n,e.name,e.name);r.splice(t,1)}),r.length>0)throw m.syntax("Validation failed. %s is missing path parameter(s) for %s",n,r)}function u(e,t,n,r){e.forEach(function(e){var i,o,s=r+"/parameters/"+e.name;switch(e["in"]){case"body":i=e.schema,o=g;break;case"formData":i=e,o=y.concat("file");break;default:i=e,o=y}if(p(i,s,o),"file"===i.type){var a=n.consumes||t.consumes||[];if(-1===a.indexOf("multipart/form-data")&&-1===a.indexOf("application/x-www-form-urlencoded"))throw m.syntax("Validation failed. %s has a file parameter, so it must consume multipart/form-data or application/x-www-form-urlencoded",r)}})}function c(e){for(var t=0;t<e.length-1;t++)for(var n=e[t],r=t+1;r<e.length;r++){var i=e[r];if(n.name===i.name&&n["in"]===i["in"])throw m.syntax('Validation failed. Found multiple %s parameters named "%s"',n["in"],n.name)}}function l(e,t,n){if("default"!==e&&(100>e||e>599))throw m.syntax("Validation failed. %s has an invalid response code (%s)",n,e);var r=Object.keys(t.headers||{});if(r.forEach(function(e){var r=t.headers[e],i=n+"/headers/"+e;p(r,i,y)}),t.schema){var i=g.concat("file");if(-1===i.indexOf(t.schema.type))throw m.syntax("Validation failed. %s has an invalid response schema type (%s)",n,t.schema.type)}}function p(e,t,n){if(-1===n.indexOf(e.type))throw m.syntax("Validation failed. %s has an invalid type (%s)",t,e.type);if("array"===e.type&&!e.items)throw m.syntax('Validation failed. %s is an array, so it must include an "items" schema',t)}var f=this,d=f.define;f.define=void 0;var h=e("102"),m=e("101"),v=e("104"),y=["array","boolean","integer","number","string"],g=["array","boolean","integer","number","string","object","null",void 0];return n.exports=r,f.define=d,n.exports}),e.registerDynamic("102",["106","107"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("106"),s=e("107");return t.format=s.format,t.inherits=s.inherits,t.debug=o("swagger:parser"),t.swaggerParamRegExp=/\{([^\/}]+)}/g,r.define=i,n.exports}),e.registerDynamic("108",["109","107"],!0,function(e,t,n){"use strict";function r(e){this.validate={schema:!0,spec:!0},s.apply(this,arguments)}var i=this,o=i.define;i.define=void 0;var s=e("109"),a=e("107");return n.exports=r,a.inherits(r,s),i.define=o,n.exports}),e.registerDynamic("10a",["10b"],!0,function(e,t,n){"use strict";var r=this,i=r.define;return r.define=void 0,n.exports="function"==typeof Promise?Promise:e("10b").Promise,r.define=i,n.exports}),e.registerDynamic("109",["10c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(e){"use strict";function t(e){this.allow={json:!0,yaml:!0,empty:!0,unknown:!0},this.$refs={internal:!0,external:!0,circular:!0},this.cache={fs:60,http:300,https:300},this.http={withCredentials:!0},r(e,this)}function r(e,t){if(e)for(var n=Object.keys(e),r=0;r<n.length;r++){var i=n[r],o=e[i];if(void 0===t[i])t[i]=o;else for(var s=Object.keys(o),a=0;a<s.length;a++){var u=s[a],c=o[u];void 0!==c&&(t[i][u]=c)}}}n.exports=t}(e("10c").Buffer),r.define=i,n.exports}),e.registerDynamic("10d",["109","10e","101"],!0,function(e,t,n){"use strict";function r(){this.circular=!1,this._$refs={}}function i(e,t){var n=Object.keys(e);return t=Array.isArray(t[0])?t[0]:Array.prototype.slice.call(t),t.length>0&&t[0]&&(n=n.filter(function(n){return-1!==t.indexOf(e[n].pathType)})),n.map(function(t){return{encoded:t,decoded:"fs"===e[t].pathType?u.path.urlToLocalPath(t):t}})}var o=this,s=o.define;o.define=void 0;var a=e("109"),u=e("10e"),c=e("101");return n.exports=r,r.prototype.paths=function(e){var t=i(this._$refs,arguments);return t.map(function(e){return e.decoded})},r.prototype.values=function(e){var t=this._$refs,n=i(t,arguments);return n.reduce(function(e,n){return e[n.decoded]=t[n.encoded].value,e},{})},r.prototype.toJSON=r.prototype.values,r.prototype.isExpired=function(e){var t=this._get$Ref(e);return void 0===t||t.isExpired()},r.prototype.expire=function(e){var t=this._get$Ref(e);t&&t.expire()},r.prototype.exists=function(e){try{return this._resolve(e),!0}catch(t){return!1}},r.prototype.get=function(e,t){return this._resolve(e,t).value},r.prototype.set=function(e,t,n){var r=u.path.stripHash(e),i=this._$refs[r];if(!i)throw c('Error resolving $ref pointer "%s". \n"%s" not found.',e,r);n=new a(n),i.set(e,t,n)},r.prototype._resolve=function(e,t){var n=u.path.stripHash(e),r=this._$refs[n];if(!r)throw c('Error resolving $ref pointer "%s". \n"%s" not found.',e,n);return t=new a(t),r.resolve(e,t)},r.prototype._get$Ref=function(e){var t=u.path.stripHash(e);return this._$refs[t]},o.define=s,n.exports}),e.registerDynamic("10f",[],!0,function(t,n,r){var i=this,o=i.define;return i.define=void 0,e._nodeRequire?r.exports=e._nodeRequire("fs"):n.readFileSync=function(e){var t,n=new XMLHttpRequest;return n.open("GET",e,!1),n.onreadystatechange=function(r){if(4==n.readyState){var i=n.status;if(i>399&&600>i||400==i)throw"File read error on "+e;t=n.responseText}},n.send(null),t},i.define=o,r.exports}),e.registerDynamic("110",["10f"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("10f"),r.define=i,n.exports}),e.registerDynamic("111",["112","113","114","115","116","117"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,t=n.exports=e("112"),t.Stream=e("113"),t.Readable=t,t.Writable=e("114"),t.Duplex=e("115"),t.Transform=e("116"),t.PassThrough=e("117"),r.define=i,n.exports}),e.registerDynamic("118",["114"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("114"),r.define=i,n.exports}),e.registerDynamic("119",["115"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("115"),r.define=i,n.exports}),e.registerDynamic("11a",["116"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("116"),r.define=i,n.exports}),e.registerDynamic("11b",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},r.define=i,n.exports}),e.registerDynamic("11c",["11b"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("11b"),r.define=i,n.exports}),e.registerDynamic("11d",[],!0,function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function o(e){return"number"==typeof e}function s(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}var u=this,c=u.define;return u.define=void 0,n.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!o(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,o,u,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(n=this._events[e],a(n))return!1;if(i(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),u=1;r>u;u++)o[u-1]=arguments[u];n.apply(this,o)}else if(s(n)){for(r=arguments.length,o=new Array(r-1),u=1;r>u;u++)o[u-1]=arguments[u];for(c=n.slice(),r=c.length,u=0;r>u;u++)c[u].apply(this,o)}return!0},r.prototype.addListener=function(e,t){var n;if(!i(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?s(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,s(this._events[e])&&!this._events[e].warned){var n;n=a(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,n&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,o,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,r=-1,n===t||i(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(n)){for(a=o;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(0>r)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],i(n))this.removeListener(e,n);else for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.listenerCount=function(e,t){var n;return n=e._events&&e._events[t]?i(e._events[t])?1:e._events[t].length:0},u.define=c,n.exports}),e.registerDynamic("11e",["11d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("11d"),r.define=i,n.exports}),e.registerDynamic("11f",["11e"],!0,function(t,n,r){var i=this,o=i.define;return i.define=void 0,r.exports=e._nodeRequire?e._nodeRequire("events"):t("11e"),i.define=o,r.exports}),e.registerDynamic("120",["11f"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("11f"),r.define=i,n.exports}),e.registerDynamic("121",["10c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){function r(e){if(e&&!a(e))throw new Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function o(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function s(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var n=e("10c").Buffer,a=n.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},u=t.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),r(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=s;break;default:return void(this.write=i)}this.charBuffer=new n(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(!(r>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&56319>=r){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(2>=t&&n>>4==14){this.charLength=3;break}if(3>=t&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}}(e("10c").Buffer),r.define=i,n.exports}),e.registerDynamic("122",["121"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("121"),r.define=i,n.exports}),e.registerDynamic("112",["11c","10c","120","113","123","124","@empty","115","122","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t,r){function i(t,n){var r=e("115");t=t||{};var i=t.highWaterMark,o=t.objectMode?16:16384;this.highWaterMark=i||0===i?i:o,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,n instanceof r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(S||(S=e("122").StringDecoder),this.decoder=new S(t.encoding),this.encoding=t.encoding)}function o(t){e("115");return this instanceof o?(this._readableState=new i(t,this),this.readable=!0,void A.call(this)):new o(t)}function s(e,t,n,r,i){var o=l(t,n);if(o)e.emit("error",o);else if(P.isNullOrUndefined(n))t.reading=!1,
|
||
t.ended||p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),i||(t.reading=!1),t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&f(e)),h(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function u(e){if(e>=R)e=R;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||P.isNull(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=u(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function l(e,t){var n=null;return P.isBuffer(t)||P.isString(t)||P.isNullOrUndefined(t)||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function p(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,f(e)}function f(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(O("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r.nextTick(function(){d(e)}):d(e))}function d(e){O("emit readable"),e.emit("readable"),b(e)}function h(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(function(){m(e,t)}))}function m(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(O("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function v(e){return function(){var t=e._readableState;O("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&x.listenerCount(e,"data")&&(t.flowing=!0,b(e))}}function y(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(function(){g(e,t)}))}function g(e,t){t.resumeScheduled=!1,e.emit("resume"),b(e),t.flowing&&!t.reading&&e.read(0)}function b(e){var t=e._readableState;if(O("flow",t.flowing),t.flowing)do var n=e.read();while(null!==n&&t.flowing)}function _(e,n){var r,i=n.buffer,o=n.length,s=!!n.decoder,a=!!n.objectMode;if(0===i.length)return null;if(0===o)r=null;else if(a)r=i.shift();else if(!e||e>=o)r=s?i.join(""):t.concat(i,o),i.length=0;else if(e<i[0].length){var u=i[0];r=u.slice(0,e),i[0]=u.slice(e)}else if(e===i[0].length)r=i.shift();else{r=s?"":new t(e);for(var c=0,l=0,p=i.length;p>l&&e>c;l++){var u=i[0],f=Math.min(e-c,u.length);s?r+=u.slice(0,f):u.copy(r,c,0,f),f<u.length?i[0]=u.slice(f):i.shift(),c+=f}}return r}function E(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,r.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function D(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function w(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}n.exports=o;var C=e("11c"),t=e("10c").Buffer;o.ReadableState=i;var x=e("120").EventEmitter;x.listenerCount||(x.listenerCount=function(e,t){return e.listeners(t).length});var A=e("113"),P=e("123");P.inherits=e("124");var S,O=e("@empty");O=O&&O.debuglog?O.debuglog("stream"):function(){},P.inherits(o,A),o.prototype.push=function(e,n){var r=this._readableState;return P.isString(e)&&!r.objectMode&&(n=n||r.defaultEncoding,n!==r.encoding&&(e=new t(e,n),n="")),s(this,r,e,n,!1)},o.prototype.unshift=function(e){var t=this._readableState;return s(this,t,e,"",!0)},o.prototype.setEncoding=function(t){return S||(S=e("122").StringDecoder),this._readableState.decoder=new S(t),this._readableState.encoding=t,this};var R=8388608;o.prototype.read=function(e){O("read",e);var t=this._readableState,n=e;if((!P.isNumber(e)||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return O("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?E(this):f(this),null;if(e=c(e,t),0===e&&t.ended)return 0===t.length&&E(this),null;var r=t.needReadable;O("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,O("length less than watermark",r)),(t.ended||t.reading)&&(r=!1,O("reading or ended",r)),r&&(O("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=c(n,t));var i;return i=e>0?_(e,t):null,P.isNull(i)&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&E(this),P.isNull(i)||this.emit("data",i),i},o.prototype._read=function(e){this.emit("error",new Error("not implemented"))},o.prototype.pipe=function(e,t){function n(e){O("onunpipe"),e===p&&o()}function i(){O("onend"),e.end()}function o(){O("cleanup"),e.removeListener("close",u),e.removeListener("finish",c),e.removeListener("drain",m),e.removeListener("error",a),e.removeListener("unpipe",n),p.removeListener("end",i),p.removeListener("end",o),p.removeListener("data",s),!f.awaitDrain||e._writableState&&!e._writableState.needDrain||m()}function s(t){O("ondata");var n=e.write(t);!1===n&&(O("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,p.pause())}function a(t){O("onerror",t),l(),e.removeListener("error",a),0===x.listenerCount(e,"error")&&e.emit("error",t)}function u(){e.removeListener("finish",c),l()}function c(){O("onfinish"),e.removeListener("close",u),l()}function l(){O("unpipe"),p.unpipe(e)}var p=this,f=this._readableState;switch(f.pipesCount){case 0:f.pipes=e;break;case 1:f.pipes=[f.pipes,e];break;default:f.pipes.push(e)}f.pipesCount+=1,O("pipe count=%d opts=%j",f.pipesCount,t);var d=(!t||t.end!==!1)&&e!==r.stdout&&e!==r.stderr,h=d?i:o;f.endEmitted?r.nextTick(h):p.once("end",h),e.on("unpipe",n);var m=v(p);return e.on("drain",m),p.on("data",s),e._events&&e._events.error?C(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on("error",a),e.once("close",u),e.once("finish",c),e.emit("pipe",p),f.flowing||(O("pipe resume"),p.resume()),e},o.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit("unpipe",this);return this}var i=w(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},o.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&this.readable){var i=this._readableState;if(!i.readableListening)if(i.readableListening=!0,i.emittedReadable=!1,i.needReadable=!0,i.reading)i.length&&f(this,i);else{var o=this;r.nextTick(function(){O("readable nexttick read 0"),o.read(0)})}}return n},o.prototype.addListener=o.prototype.on,o.prototype.resume=function(){var e=this._readableState;return e.flowing||(O("resume"),e.flowing=!0,e.reading||(O("resume read 0"),this.read(0)),y(this,e)),this},o.prototype.pause=function(){return O("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(O("pause"),this._readableState.flowing=!1,this.emit("pause")),this},o.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(O("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){if(O("wrapped data"),t.decoder&&(i=t.decoder.write(i)),i&&(t.objectMode||i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)P.isFunction(e[i])&&P.isUndefined(this[i])&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=["error","close","destroy","pause","resume"];return D(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){O("wrapped _read",t),n&&(n=!1,e.resume())},r},o._fromList=_}(e("10c").Buffer,e("34")),r.define=i,n.exports}),e.registerDynamic("114",["10c","123","124","113","115","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t,r){function i(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function o(t,n){var r=e("115");t=t||{};var i=t.highWaterMark,o=t.objectMode?16:16384;this.highWaterMark=i||0===i?i:o,this.objectMode=!!t.objectMode,n instanceof r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var s=t.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){h(n,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1}function s(t){var n=e("115");return this instanceof s||this instanceof n?(this._writableState=new o(t,this),this.writable=!0,void w.call(this)):new s(t)}function a(e,t,n){var i=new Error("write after end");e.emit("error",i),r.nextTick(function(){n(i)})}function u(e,t,n,i){var o=!0;if(!(D.isBuffer(n)||D.isString(n)||D.isNullOrUndefined(n)||t.objectMode)){var s=new TypeError("Invalid non-string/buffer chunk");e.emit("error",s),r.nextTick(function(){i(s)}),o=!1}return o}function c(e,n,r){return!e.objectMode&&e.decodeStrings!==!1&&D.isString(n)&&(n=new t(n,r)),n}function l(e,t,n,r,o){n=c(t,n,r),D.isBuffer(n)&&(r="buffer");var s=t.objectMode?1:n.length;t.length+=s;var a=t.length<t.highWaterMark;return a||(t.needDrain=!0),t.writing||t.corked?t.buffer.push(new i(n,r,o)):p(e,t,!1,s,n,r,o),a}function p(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function f(e,t,n,i,o){n?r.nextTick(function(){t.pendingcb--,o(i)}):(t.pendingcb--,o(i)),e._writableState.errorEmitted=!0,e.emit("error",i)}function d(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function h(e,t){var n=e._writableState,i=n.sync,o=n.writecb;if(d(n),t)f(e,n,i,t,o);else{var s=g(e,n);s||n.corked||n.bufferProcessing||!n.buffer.length||y(e,n),i?r.nextTick(function(){m(e,n,s,o)}):m(e,n,s,o)}}function m(e,t,n,r){n||v(e,t),t.pendingcb--,r(),_(e,t)}function v(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function y(e,t){if(t.bufferProcessing=!0,e._writev&&t.buffer.length>1){for(var n=[],r=0;r<t.buffer.length;r++)n.push(t.buffer[r].callback);t.pendingcb++,p(e,t,!0,t.length,t.buffer,"",function(e){for(var r=0;r<n.length;r++)t.pendingcb--,n[r](e)}),t.buffer=[]}else{for(var r=0;r<t.buffer.length;r++){var i=t.buffer[r],o=i.chunk,s=i.encoding,a=i.callback,u=t.objectMode?1:o.length;if(p(e,t,!1,u,o,s,a),t.writing){r++;break}}r<t.buffer.length?t.buffer=t.buffer.slice(r):t.buffer.length=0}t.bufferProcessing=!1}function g(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function b(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function _(e,t){var n=g(e,t);return n&&(0===t.pendingcb?(b(e,t),t.finished=!0,e.emit("finish")):b(e,t)),n}function E(e,t,n){t.ending=!0,_(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n)),t.ended=!0}n.exports=s;var t=e("10c").Buffer;s.WritableState=o;var D=e("123");D.inherits=e("124");var w=e("113");D.inherits(s,w),s.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},s.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return D.isFunction(t)&&(n=t,t=null),D.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),D.isFunction(n)||(n=function(){}),r.ended?a(this,r,n):u(this,r,e,n)&&(r.pendingcb++,i=l(this,r,e,t,n)),i},s.prototype.cork=function(){var e=this._writableState;e.corked++},s.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.buffer.length||y(this,e))},s.prototype._write=function(e,t,n){n(new Error("not implemented"))},s.prototype._writev=null,s.prototype.end=function(e,t,n){var r=this._writableState;D.isFunction(e)?(n=e,e=null,t=null):D.isFunction(t)&&(n=t,t=null),D.isNullOrUndefined(e)||this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||E(this,r,n)}}(e("10c").Buffer,e("34")),r.define=i,n.exports}),e.registerDynamic("115",["123","124","112","114","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){function r(e){return this instanceof r?(u.call(this,e),c.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||t.nextTick(this.end.bind(this))}function o(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}n.exports=r;var s=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t},a=e("123");a.inherits=e("124");var u=e("112"),c=e("114");a.inherits(r,u),o(s(c.prototype),function(e){r.prototype[e]||(r.prototype[e]=c.prototype[e])})}(e("34")),r.define=i,n.exports}),e.registerDynamic("116",["115","123","124","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){function r(e,t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function i(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,u.isNullOrUndefined(n)||e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);a.call(this,e),this._transformState=new r(e,this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("prefinish",function(){u.isFunction(this._flush)?this._flush(function(e){s(t,e)}):s(t)})}function s(e,t){if(t)return e.emit("error",t);var n=e._writableState,r=e._transformState;if(n.length)throw new Error("calling transform done when ws.length != 0");if(r.transforming)throw new Error("calling transform done when still transforming");return e.push(null)}n.exports=o;var a=e("115"),u=e("123");u.inherits=e("124"),u.inherits(o,a),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error("not implemented")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;u.isNull(t.writechunk)||!t.writecb||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))}}(e("34")),r.define=i,n.exports}),e.registerDynamic("125",["10c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===v(e)}function r(e){return"boolean"==typeof e}function i(e){return null===e}function o(e){return null==e}function s(e){return"number"==typeof e}function a(e){return"string"==typeof e}function u(e){return"symbol"==typeof e}function c(e){return void 0===e}function l(e){return"[object RegExp]"===v(e)}function p(e){return"object"==typeof e&&null!==e}function f(e){return"[object Date]"===v(e)}function d(e){return"[object Error]"===v(e)||e instanceof Error}function h(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function v(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=s,t.isString=a,t.isSymbol=u,t.isUndefined=c,t.isRegExp=l,t.isObject=p,t.isDate=f,t.isError=d,t.isFunction=h,t.isPrimitive=m,t.isBuffer=e.isBuffer}(e("10c").Buffer),r.define=i,n.exports}),e.registerDynamic("123",["125"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("125"),r.define=i,n.exports}),e.registerDynamic("117",["116","123","124"],!0,function(e,t,n){function r(e){return this instanceof r?void s.call(this,e):new r(e)}var i=this,o=i.define;i.define=void 0,n.exports=r;var s=e("116"),a=e("123");return a.inherits=e("124"),a.inherits(r,s),r.prototype._transform=function(e,t,n){n(null,e)},i.define=o,n.exports}),e.registerDynamic("126",["117"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("117"),r.define=i,n.exports}),e.registerDynamic("113",["120","124","111","118","119","11a","126"],!0,function(e,t,n){function r(){s.call(this)}var i=this,o=i.define;i.define=void 0,n.exports=r;var s=e("120").EventEmitter,a=e("124");return a(r,s),r.Readable=e("111"),r.Writable=e("118"),r.Duplex=e("119"),r.Transform=e("11a"),r.PassThrough=e("126"),r.Stream=r,r.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&c.pause&&c.pause()}function r(){c.readable&&c.resume&&c.resume()}function i(){l||(l=!0,e.end())}function o(){l||(l=!0,"function"==typeof e.destroy&&e.destroy())}function a(e){if(u(),0===s.listenerCount(this,"error"))throw e}function u(){c.removeListener("data",n),e.removeListener("drain",r),c.removeListener("end",i),c.removeListener("close",o),c.removeListener("error",a),e.removeListener("error",a),c.removeListener("end",u),c.removeListener("close",u),e.removeListener("close",u)}var c=this;c.on("data",n),e.on("drain",r),e._isStdio||t&&t.end===!1||(c.on("end",i),c.on("close",o));var l=!1;return c.on("error",a),e.on("error",a),c.on("end",u),c.on("close",u),e.on("close",u),e.emit("pipe",c),e},i.define=o,n.exports}),e.registerDynamic("127",["113"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("113"),r.define=i,n.exports}),e.registerDynamic("128",["127"],!0,function(t,n,r){var i=this,o=i.define;return i.define=void 0,r.exports=e._nodeRequire?e._nodeRequire("stream"):t("127"),i.define=o,r.exports}),e.registerDynamic("129",["128"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("128"),r.define=i,n.exports}),e.registerDynamic("12a",["129","107"],!0,function(e,t,n){function r(e){for(var t=e.getAllResponseHeaders().split(/\r?\n/),n={},r=0;r<t.length;r++){var i=t[r];if(""!==i){var o=i.match(/^([^:]+):\s*(.*)/);if(o){var s=o[1].toLowerCase(),a=o[2];void 0!==n[s]?l(n[s])?n[s].push(a):n[s]=[n[s],a]:n[s]=a}else n[i]=!0}}return n}var i=this,o=i.define;i.define=void 0;var s=e("129"),a=e("107"),u=n.exports=function(e){this.offset=0,this.readable=!0};a.inherits(u,s);var c={streaming:!0,status2:!0};u.prototype.getResponse=function(e){var t=String(e.responseType).toLowerCase();return"blob"===t?e.responseBlob||e.response:"arraybuffer"===t?e.response:e.responseText},u.prototype.getHeader=function(e){return this.headers[e.toLowerCase()]},u.prototype.handle=function(e){if(2===e.readyState&&c.status2){try{this.statusCode=e.status,this.headers=r(e)}catch(t){c.status2=!1}c.status2&&this.emit("ready")}else if(c.streaming&&3===e.readyState){try{this.statusCode||(this.statusCode=e.status,this.headers=r(e),this.emit("ready"))}catch(t){}try{this._emitData(e)}catch(t){c.streaming=!1}}else 4===e.readyState&&(this.statusCode||(this.statusCode=e.status,this.emit("ready")),this._emitData(e),e.error?this.emit("error",this.getResponse(e)):this.emit("end"),this.emit("close"))},u.prototype._emitData=function(e){var t=this.getResponse(e);return t.toString().match(/ArrayBuffer/)?(this.emit("data",new Uint8Array(t,this.offset)),void(this.offset=t.byteLength)):void(t.length>this.offset&&(this.emit("data",t.slice(this.offset)),this.offset=t.length))};var l=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return i.define=o,n.exports}),e.registerDynamic("12b",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(){function e(e){this.message=e}var n="undefined"!=typeof t?t:this,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.prototype=new Error,e.prototype.name="InvalidCharacterError",n.btoa||(n.btoa=function(t){for(var n,i,o=0,s=r,a="";t.charAt(0|o)||(s="=",o%1);a+=s.charAt(63&n>>8-o%1*8)){if(i=t.charCodeAt(o+=.75),i>255)throw new e("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");n=n<<8|i}return a}),n.atob||(n.atob=function(t){if(t=t.replace(/=+$/,""),t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,i,o=0,s=0,a="";i=t.charAt(s++);~i&&(n=o%4?64*n+i:i,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)i=r.indexOf(i);return a})}(),r.define=i,n.exports}),e.registerDynamic("12c",["12b"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("12b"),r.define=i,n.exports}),e.registerDynamic("12d",["129","12a","12c","124"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("129"),s=e("12a"),a=e("12c"),u=e("124"),c=n.exports=function(e,t){var n=this;n.writable=!0,n.xhr=e,n.body=[],n.uri=(t.protocol||"http:")+"//"+t.host+(t.port?":"+t.port:"")+(t.path||"/"),"undefined"==typeof t.withCredentials&&(t.withCredentials=!0);try{e.withCredentials=t.withCredentials}catch(r){}if(t.responseType)try{e.responseType=t.responseType}catch(r){}if(e.open(t.method||"GET",n.uri,!0),e.onerror=function(e){n.emit("error",new Error("Network error"))},n._headers={},t.headers)for(var i=l(t.headers),o=0;o<i.length;o++){var u=i[o];if(n.isSafeRequestHeader(u)){var c=t.headers[u];n.setHeader(u,c)}}t.auth&&this.setHeader("Authorization","Basic "+a.btoa(t.auth));var p=new s;p.on("close",function(){n.emit("close")}),p.on("ready",function(){n.emit("response",p)}),p.on("error",function(e){n.emit("error",e)}),e.onreadystatechange=function(){e.__aborted||p.handle(e)}};u(c,o),c.prototype.setHeader=function(e,t){this._headers[e.toLowerCase()]=t},c.prototype.getHeader=function(e){return this._headers[e.toLowerCase()]},c.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},c.prototype.write=function(e){this.body.push(e)},c.prototype.destroy=function(e){this.xhr.__aborted=!0,this.xhr.abort(),this.emit("close")},c.prototype.end=function(e){void 0!==e&&this.body.push(e);for(var t=l(this._headers),n=0;n<t.length;n++){var r=t[n],i=this._headers[r];if(p(i))for(var o=0;o<i.length;o++)this.xhr.setRequestHeader(r,i[o]);else this.xhr.setRequestHeader(r,i)}if(0===this.body.length)this.xhr.send("");else if("string"==typeof this.body[0])this.xhr.send(this.body.join(""));else if(p(this.body[0])){for(var s=[],n=0;n<this.body.length;n++)s.push.apply(s,this.body[n]);this.xhr.send(s)}else if(/Array/.test(Object.prototype.toString.call(this.body[0]))){for(var a=0,n=0;n<this.body.length;n++)a+=this.body[n].length;for(var s=new this.body[0].constructor(a),u=0,n=0;n<this.body.length;n++)for(var c=this.body[n],o=0;o<c.length;o++)s[u++]=c[o];this.xhr.send(s)}else if(d(this.body[0]))this.xhr.send(this.body[0]);else{for(var s="",n=0;n<this.body.length;n++)s+=this.body[n].toString();this.xhr.send(s)}},c.unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","content-transfer-encoding","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"],c.prototype.isSafeRequestHeader=function(e){return e?-1===f(c.unsafeHeaders,e.toLowerCase()):!1};var l=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t},p=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},f=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1},d=function(e){return"undefined"!=typeof Blob&&e instanceof Blob?!0:"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?!0:"undefined"!=typeof FormData&&e instanceof FormData?!0:void 0};return r.define=i,n.exports}),e.registerDynamic("12e",["120","12d","12f"],!0,function(t,n,r){var i=this,o=i.define;if(i.define=void 0,e._nodeRequire)r.exports=e._nodeRequire("http");else{var s=r.exports,a=(t("120").EventEmitter,t("12d")),u=t("12f");s.request=function(e,t){"string"==typeof e&&(e=u.parse(e)),e||(e={}),e.host||e.port||(e.port=parseInt(window.location.port,10)),!e.host&&e.hostname&&(e.host=e.hostname),e.protocol||(e.scheme?e.protocol=e.scheme+":":e.protocol=window.location.protocol),e.host||(e.host=window.location.hostname||window.location.host),/:/.test(e.host)&&(e.port||(e.port=e.host.split(":")[1]),e.host=e.host.split(":")[0]),e.port||(e.port="https:"==e.protocol?443:80);var n=new a(new c,e);return t&&n.on("response",t),n},s.get=function(e,t){e.method="GET";var n=s.request(e,t);return n.end(),n},s.Agent=function(){},s.Agent.defaultMaxSockets=4;var c=function(){if("undefined"==typeof window)throw new Error("no window object present");if(window.XMLHttpRequest)return window.XMLHttpRequest;if(window.ActiveXObject){for(var e=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Microsoft.XMLHTTP"],t=0;t<e.length;t++)try{var n=new window.ActiveXObject(e[t]);return function(){if(n){var r=n;return n=null,r}return new window.ActiveXObject(e[t])}}catch(r){}throw new Error("ajax not supported in this browser")}throw new Error("ajax not supported in this browser")}();s.STATUS_CODES={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}}return i.define=o,r.exports}),e.registerDynamic("130",["12e"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("12e"),r.define=i,n.exports}),e.registerDynamic("131",["130"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("130"),s=n.exports;for(var a in o)o.hasOwnProperty(a)&&(s[a]=o[a]);return s.request=function(e,t){return e||(e={}),e.scheme="https",o.request.call(this,e,t)},r.define=i,n.exports}),e.registerDynamic("132",["131"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("131"),r.define=i,n.exports}),e.registerDynamic("133",["132"],!0,function(t,n,r){var i=this,o=i.define;return i.define=void 0,r.exports=e._nodeRequire?e._nodeRequire("https"):t("132"),i.define=o,r.exports}),e.registerDynamic("134",["133"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("133"),r.define=i,n.exports}),e.registerDynamic("135",["136","10e","101","10c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){"use strict";function r(e,t,n){var r;try{n.allow.yaml?(s.debug("Parsing YAML file: %s",t),r=o.parse(e.toString()),s.debug(" Parsed successfully")):n.allow.json?(s.debug("Parsing JSON file: %s",t),r=JSON.parse(e.toString()),s.debug(" Parsed successfully")):r=e}catch(u){var c=s.path.extname(t);if(!n.allow.unknown||-1!==[".json",".yaml",".yml"].indexOf(c))throw a.syntax(u,'Error parsing "%s"',t);s.debug(" Unknown file format. Not parsed."),r=e}if(i(r)&&!n.allow.empty)throw a.syntax('Error parsing "%s". \nParsed value is empty',t);return r}function i(e){return!e||"object"==typeof e&&0===Object.keys(e).length||"string"==typeof e&&0===e.trim().length||e instanceof t&&0===e.length}var o=e("136"),s=e("10e"),a=e("101");n.exports=r}(e("10c").Buffer),r.define=i,n.exports}),e.registerDynamic("137",["34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){(function(){"use strict";function i(e){return"function"==typeof e||"object"==typeof e&&null!==e}function o(e){return"function"==typeof e}function s(e){return"object"==typeof e&&null!==e}function a(e){q=e}function u(e){G=e}function c(){return function(){t.nextTick(h)}}function l(){return function(){H(h)}}function p(){var e=0,t=new Z(h),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function f(){var e=new MessageChannel;return e.port1.onmessage=h,function(){e.port2.postMessage(0)}}function d(){return function(){setTimeout(h,1)}}function h(){for(var e=0;K>e;e+=2){var t=te[e],n=te[e+1];t(n),te[e]=void 0,te[e+1]=void 0}K=0}function m(){try{var t=e,n=t("vertx");return H=n.runOnLoop||n.runOnContext,l()}catch(r){return d()}}function v(){}function y(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function b(e){try{return e.then}catch(t){return oe.error=t,oe}}function _(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function E(e,t,n){G(function(e){var r=!1,i=_(n,t,function(n){r||(r=!0,t!==n?C(e,n):A(e,n))},function(t){r||(r=!0,P(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&i&&(r=!0,P(e,i))},e)}function D(e,t){t._state===re?A(e,t._result):t._state===ie?P(e,t._result):S(t,void 0,function(t){C(e,t)},function(t){P(e,t)})}function w(e,t){if(t.constructor===e.constructor)D(e,t);else{var n=b(t);n===oe?P(e,oe.error):void 0===n?A(e,t):o(n)?E(e,t,n):A(e,t)}}function C(e,t){e===t?P(e,y()):i(t)?w(e,t):A(e,t)}function x(e){e._onerror&&e._onerror(e._result),O(e)}function A(e,t){e._state===ne&&(e._result=t,e._state=re,0!==e._subscribers.length&&G(O,e))}function P(e,t){e._state===ne&&(e._state=ie,e._result=t,G(x,e))}function S(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+re]=n,i[o+ie]=r,0===o&&e._state&&G(O,e)}function O(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,s=0;s<t.length;s+=3)r=t[s],i=t[s+n],r?T(n,r,i,o):i(o);e._subscribers.length=0}}function R(){this.error=null}function I(e,t){try{return e(t)}catch(n){return se.error=n,se}}function T(e,t,n,r){var i,s,a,u,c=o(n);if(c){if(i=I(n,r),i===se?(u=!0,s=i.error,i=null):a=!0,t===i)return void P(t,g())}else i=r,a=!0;t._state!==ne||(c&&a?C(t,i):u?P(t,s):e===re?A(t,i):e===ie&&P(t,i))}function k(e,t){try{t(function(t){C(e,t)},function(t){P(e,t)})}catch(n){P(e,n)}}function N(e,t){var n=this;n._instanceConstructor=e,n.promise=new e(v),n._validateInput(t)?(n._input=t,n.length=t.length,n._remaining=t.length,n._init(),0===n.length?A(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&A(n.promise,n._result))):P(n.promise,n._validationError())}function F(e){return new ae(this,e).promise}function j(e){function t(e){C(i,e)}function n(e){P(i,e)}var r=this,i=new r(v);if(!Y(e))return P(i,new TypeError("You must pass an array to race.")),i;for(var o=e.length,s=0;i._state===ne&&o>s;s++)S(r.resolve(e[s]),void 0,t,n);return i}function M(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(v);return C(n,e),n}function B(e){var t=this,n=new t(v);return P(n,e),n}function L(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function V(){
|
||
throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function U(e){this._id=fe++,this._state=void 0,this._result=void 0,this._subscribers=[],v!==e&&(o(e)||L(),this instanceof U||V(),k(this,e))}function $(){var e;if("undefined"!=typeof r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=e.Promise;(!n||"[object Promise]"!==Object.prototype.toString.call(n.resolve())||n.cast)&&(e.Promise=de)}var W;W=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var H,q,z,Y=W,K=0,G=({}.toString,function(e,t){te[K]=e,te[K+1]=t,K+=2,2===K&&(q?q(h):z())}),X="undefined"!=typeof window?window:void 0,Q=X||{},Z=Q.MutationObserver||Q.WebKitMutationObserver,J="undefined"!=typeof t&&"[object process]"==={}.toString.call(t),ee="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,te=new Array(1e3);z=J?c():Z?p():ee?f():void 0===X&&"function"==typeof e?m():d();var ne=void 0,re=1,ie=2,oe=new R,se=new R;N.prototype._validateInput=function(e){return Y(e)},N.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},N.prototype._init=function(){this._result=new Array(this.length)};var ae=N;N.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===ne&&t>i;i++)e._eachEntry(r[i],i)},N.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;s(e)?e.constructor===r&&e._state!==ne?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},N.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===ne&&(r._remaining--,e===ie?P(i,n):r._result[t]=n),0===r._remaining&&A(i,r._result)},N.prototype._willSettleAt=function(e,t){var n=this;S(e,void 0,function(e){n._settledAt(re,t,e)},function(e){n._settledAt(ie,t,e)})};var ue=F,ce=j,le=M,pe=B,fe=0,de=U;U.all=ue,U.race=ce,U.resolve=le,U.reject=pe,U._setScheduler=a,U._setAsap=u,U._asap=G,U.prototype={constructor:U,then:function(e,t){var n=this,r=n._state;if(r===re&&!e||r===ie&&!t)return this;var i=new this.constructor(v),o=n._result;if(r){var s=arguments[r-1];G(function(){T(r,i,s,o)})}else S(n,i,e,t);return i},"catch":function(e){return this.then(null,e)}};var he=$,me={Promise:de,polyfill:he};"function"==typeof define&&define.amd?define(function(){return me}):"undefined"!=typeof n&&n.exports?n.exports=me:"undefined"!=typeof this&&(this.ES6Promise=me),he()}).call(this)}(e("34")),r.define=i,n.exports}),e.registerDynamic("10b",["137"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("137"),r.define=i,n.exports}),e.registerDynamic("138",["10b"],!0,function(e,t,n){"use strict";var r=this,i=r.define;return r.define=void 0,n.exports="function"==typeof Promise?Promise:e("10b").Promise,r.define=i,n.exports}),e.registerDynamic("139",["110","130","134","135","10e","13a","138","12f","101","10c","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t,r){"use strict";function i(e,t,n){try{e=d.path.stripHash(e),d.debug("Reading %s",e);var r=t._get$Ref(e);return r&&!r.isExpired()?(d.debug(" cached from %s",r.pathType),m.resolve({$ref:r,cached:!0})):(r=new h(t,e),o(r,n))}catch(i){return m.reject(i)}}function o(e,t){try{var n=t.$refs.external&&(s(e,t)||a(e,t));return n?n.then(function(n){var r=f(n,e.path,t);return e.setValue(r,t),{$ref:e,cached:!1}}):m.reject(y.syntax('Unable to resolve $ref pointer "%s"',e.path))}catch(r){return m.reject(r)}}function s(e,t){return r.browser||d.path.isUrl(e.path)?void 0:(e.pathType="fs",new m(function(t,n){var r;try{r=d.path.urlToLocalPath(e.path)}catch(i){n(y.uri(i,"Malformed URI: %s",e.path))}d.debug("Opening file: %s",r);try{c.readFile(r,function(r,i){r?n(y(r,'Error opening file "%s"',e.path)):t(i)})}catch(i){n(y(i,'Error opening file "%s"',r))}}))}function a(e,t){var n=v.parse(e.path);return r.browser&&!n.protocol&&(n.protocol=v.parse(location.href).protocol),"http:"===n.protocol?(e.pathType="http",u(l,n,t)):"https:"===n.protocol?(e.pathType="https",u(p,n,t)):void 0}function u(e,n,r){return new m(function(i,o){function s(e){var s;e.on("data",function(e){s=s?t.concat([new t(s),new t(e)]):e}),e.on("end",function(){e.statusCode>=400?o(y("GET %s \nHTTP ERROR %d \n%s",n.href,e.statusCode,s)):204!==e.statusCode&&s&&s.length||r.allow.empty?i(s||""):o(y("GET %s \nHTTP 204: No Content",n.href))}),e.on("error",function(e){o(y(e,'Error downloading file "%s"',n.href))})}try{d.debug("Downloading file: %s",n);var a=e.get({hostname:n.hostname,port:n.port,path:n.path,auth:n.auth,withCredentials:r.http.withCredentials},s);"function"==typeof a.setTimeout&&a.setTimeout(5e3),a.on("timeout",function(){a.abort()}),a.on("error",function(e){o(y(e,'Error downloading file "%s"',n.href))})}catch(u){o(y(u,'Error downloading file "%s"',n.href))}})}var c=e("110"),l=e("130"),p=e("134"),f=e("135"),d=e("10e"),h=e("13a"),m=e("138"),v=e("12f"),y=e("101");n.exports=i}(e("10c").Buffer,e("34")),r.define=i,n.exports}),e.registerDynamic("13b",["138","13a","13c","139","10e","12f","101"],!0,function(e,t,n){"use strict";function r(e,t){try{if(!t.$refs.external)return u.resolve();f.debug("Resolving $ref pointers in %s",e._basePath);var n=i(e.schema,e._basePath+"#","#",e.$refs,t);return u.all(n)}catch(r){return u.reject(r)}}function i(e,t,n,r,s){var a=[];if(e&&"object"==typeof e){var u=Object.keys(e),p=u.indexOf("definitions");p>0&&u.splice(0,0,u.splice(p,1)[0]),u.forEach(function(u){var p=l.join(t,u),m=l.join(n,u),v=e[u];if(c.isExternal$Ref(v)){f.debug('Resolving $ref pointer "%s" at %s',v.$ref,p);var y=d.resolve(t,v.$ref),g=o(y,m,r,s)["catch"](function(e){throw h.syntax(e,"Error at %s",p)});a.push(g)}else a=a.concat(i(v,p,m,r,s))})}return a}function o(e,t,n,r){return p(e,n,r).then(function(e){if(!e.cached){var o=e.$ref;o.pathFromRoot=t,f.debug("Resolving $ref pointers in %s",o.path);var s=i(o.value,o.path+"#",t,n,r);return u.all(s)}})}var s=this,a=s.define;s.define=void 0;var u=e("138"),c=e("13a"),l=e("13c"),p=e("139"),f=e("10e"),d=e("12f"),h=e("101");return n.exports=r,s.define=a,n.exports}),e.registerDynamic("13d",["13a","13c","10e","12f"],!0,function(e,t,n){"use strict";function r(e,t){p.debug("Bundling $ref pointers in %s",e._basePath),i(e.$refs,t),s(e._basePath,e.$refs,t)}function i(e,t){var n=[];Object.keys(e._$refs).forEach(function(r){var i=e._$refs[r];o(i.value,i.path+"#",e,n,t)});for(var r=0;r<n.length;r++){var i=n[r];i.old.$ref=i["new"].$ref}}function o(e,t,n,r,i){e&&"object"==typeof e&&Object.keys(e).forEach(function(s){var a=l.join(t,s),u=e[s];if(c.is$Ref(u)){p.debug('Re-mapping $ref pointer "%s" at %s',u.$ref,a);var d=f.resolve(t,u.$ref),h=n._resolve(d,i),m=h.$ref.pathFromRoot+p.path.getHash(h.path).substr(1);p.debug(" new value: %s",m),r.push({old:u,"new":{$ref:m}})}else o(u,a,n,r,i)})}function s(e,t,n){e=p.path.stripHash(e),Object.keys(t._$refs).forEach(function(r){var i=t._$refs[r];"#"!==i.pathFromRoot&&t.set(e+i.pathFromRoot,i.value,n)})}var a=this,u=a.define;a.define=void 0;var c=e("13a"),l=e("13c"),p=e("10e"),f=e("12f");return n.exports=r,a.define=u,n.exports}),e.registerDynamic("13e",["34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(e){"use strict";var t=r.process&&e.nextTick||r.setImmediate||function(e){setTimeout(e,0)};n.exports=function(e,n){return e?void n.then(function(n){t(function(){e(null,n)})},function(n){t(function(){e(n)})}):n}}(e("34")),r.define=i,n.exports}),e.registerDynamic("13f",["13e"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("13e"),r.define=i,n.exports}),e.registerDynamic("140",["141"],!0,function(e,t,n){"use strict";function r(e,t,n,r,i){this.name=e,this.buffer=t,this.position=n,this.line=r,this.column=i}var i=this,o=i.define;i.define=void 0;var s=e("141");return r.prototype.getSnippet=function(e,t){var n,r,i,o,a;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",r=this.position;r>0&&-1==="\x00\r\n
\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(i="",o=this.position;o<this.buffer.length&&-1==="\x00\r\n
\u2028\u2029".indexOf(this.buffer.charAt(o));)if(o+=1,o-this.position>t/2-1){i=" ... ",o-=5;break}return a=this.buffer.slice(r,o),s.repeat(" ",e)+n+a+i+"\n"+s.repeat(" ",e+this.position-r+n.length)+"^"},r.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet(),t&&(n+=":\n"+t)),n},n.exports=r,i.define=o,n.exports}),e.registerDynamic("142",["141","143","140","144","145"],!0,function(e,t,n){"use strict";function r(e){return 10===e||13===e}function i(e){return 9===e||32===e}function o(e){return 9===e||32===e||10===e||13===e}function s(e){return 44===e||91===e||93===e||123===e||125===e}function a(e){var t;return e>=48&&57>=e?e-48:(t=32|e,t>=97&&102>=t?t-97+10:-1)}function u(e){return 120===e?2:117===e?4:85===e?8:0}function c(e){return e>=48&&57>=e?e-48:-1}function l(e){return 48===e?"\x00":97===e?"":98===e?"\b":116===e?" ":9===e?" ":110===e?"\n":118===e?"\x0B":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function p(e){return 65535>=e?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function f(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||z,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function d(e,t){return new W(t,new H(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function h(e,t){throw d(e,t)}function m(e,t){e.onWarning&&e.onWarning.call(null,d(e,t))}function v(e,t,n,r){var i,o,s,a;if(n>t){if(a=e.input.slice(t,n),r)for(i=0,o=a.length;o>i;i+=1)s=a.charCodeAt(i),9===s||s>=32&&1114111>=s||h(e,"expected valid JSON character");e.result+=a}}function y(e,t,n){var r,i,o,s;for($.isObject(n)||h(e,"cannot merge mappings; the provided source object is unacceptable"),r=Object.keys(n),o=0,s=r.length;s>o;o+=1)i=r[o],Y.call(t,i)||(t[i]=n[i])}function g(e,t,n,r,i){var o,s;if(r=String(r),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(o=0,s=i.length;s>o;o+=1)y(e,t,i[o]);else y(e,t,i);else t[r]=i;return t}function b(e){var t;t=e.input.charCodeAt(e.position),10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):h(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function _(e,t,n){for(var o=0,s=e.input.charCodeAt(e.position);0!==s;){for(;i(s);)s=e.input.charCodeAt(++e.position);if(t&&35===s)do s=e.input.charCodeAt(++e.position);while(10!==s&&13!==s&&0!==s);if(!r(s))break;for(b(e),s=e.input.charCodeAt(e.position),o++,e.lineIndent=0;32===s;)e.lineIndent++,s=e.input.charCodeAt(++e.position)}return-1!==n&&0!==o&&e.lineIndent<n&&m(e,"deficient indentation"),o}function E(e){var t,n=e.position;return t=e.input.charCodeAt(n),45!==t&&46!==t||e.input.charCodeAt(n+1)!==t||e.input.charCodeAt(n+2)!==t||(n+=3,t=e.input.charCodeAt(n),0!==t&&!o(t))?!1:!0}function D(e,t){1===t?e.result+=" ":t>1&&(e.result+=$.repeat("\n",t-1))}function w(e,t,n){var a,u,c,l,p,f,d,h,m,y=e.kind,g=e.result;if(m=e.input.charCodeAt(e.position),o(m)||s(m)||35===m||38===m||42===m||33===m||124===m||62===m||39===m||34===m||37===m||64===m||96===m)return!1;if((63===m||45===m)&&(u=e.input.charCodeAt(e.position+1),o(u)||n&&s(u)))return!1;for(e.kind="scalar",e.result="",c=l=e.position,p=!1;0!==m;){if(58===m){if(u=e.input.charCodeAt(e.position+1),o(u)||n&&s(u))break}else if(35===m){if(a=e.input.charCodeAt(e.position-1),o(a))break}else{if(e.position===e.lineStart&&E(e)||n&&s(m))break;if(r(m)){if(f=e.line,d=e.lineStart,h=e.lineIndent,_(e,!1,-1),e.lineIndent>=t){p=!0,m=e.input.charCodeAt(e.position);continue}e.position=l,e.line=f,e.lineStart=d,e.lineIndent=h;break}}p&&(v(e,c,l,!1),D(e,e.line-f),c=l=e.position,p=!1),i(m)||(l=e.position+1),m=e.input.charCodeAt(++e.position)}return v(e,c,l,!1),e.result?!0:(e.kind=y,e.result=g,!1)}function C(e,t){var n,i,o;if(n=e.input.charCodeAt(e.position),39!==n)return!1;for(e.kind="scalar",e.result="",e.position++,i=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(v(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=o=e.position,e.position++}else r(n)?(v(e,i,o,!0),D(e,_(e,!1,t)),i=o=e.position):e.position===e.lineStart&&E(e)?h(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);h(e,"unexpected end of the stream within a single quoted scalar")}function x(e,t){var n,i,o,s,c,l;if(l=e.input.charCodeAt(e.position),34!==l)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(l=e.input.charCodeAt(e.position));){if(34===l)return v(e,n,e.position,!0),e.position++,!0;if(92===l){if(v(e,n,e.position,!0),l=e.input.charCodeAt(++e.position),r(l))_(e,!1,t);else if(256>l&&se[l])e.result+=ae[l],e.position++;else if((c=u(l))>0){for(o=c,s=0;o>0;o--)l=e.input.charCodeAt(++e.position),(c=a(l))>=0?s=(s<<4)+c:h(e,"expected hexadecimal character");e.result+=p(s),e.position++}else h(e,"unknown escape sequence");n=i=e.position}else r(l)?(v(e,n,i,!0),D(e,_(e,!1,t)),n=i=e.position):e.position===e.lineStart&&E(e)?h(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}h(e,"unexpected end of the stream within a double quoted scalar")}function A(e,t){var n,r,i,s,a,u,c,l,p,f,d,m=!0,v=e.tag,y=e.anchor;if(d=e.input.charCodeAt(e.position),91===d)s=93,c=!1,r=[];else{if(123!==d)return!1;s=125,c=!0,r={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=r),d=e.input.charCodeAt(++e.position);0!==d;){if(_(e,!0,t),d=e.input.charCodeAt(e.position),d===s)return e.position++,e.tag=v,e.anchor=y,e.kind=c?"mapping":"sequence",e.result=r,!0;m||h(e,"missed comma between flow collection entries"),p=l=f=null,a=u=!1,63===d&&(i=e.input.charCodeAt(e.position+1),o(i)&&(a=u=!0,e.position++,_(e,!0,t))),n=e.line,k(e,t,K,!1,!0),p=e.tag,l=e.result,_(e,!0,t),d=e.input.charCodeAt(e.position),!u&&e.line!==n||58!==d||(a=!0,d=e.input.charCodeAt(++e.position),_(e,!0,t),k(e,t,K,!1,!0),f=e.result),c?g(e,r,p,l,f):a?r.push(g(e,null,p,l,f)):r.push(l),_(e,!0,t),d=e.input.charCodeAt(e.position),44===d?(m=!0,d=e.input.charCodeAt(++e.position)):m=!1}h(e,"unexpected end of the stream within a flow collection")}function P(e,t){var n,o,s,a,u=Z,l=!1,p=t,f=0,d=!1;if(a=e.input.charCodeAt(e.position),124===a)o=!1;else{if(62!==a)return!1;o=!0}for(e.kind="scalar",e.result="";0!==a;)if(a=e.input.charCodeAt(++e.position),43===a||45===a)Z===u?u=43===a?ee:J:h(e,"repeat of a chomping mode identifier");else{if(!((s=c(a))>=0))break;0===s?h(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?h(e,"repeat of an indentation width identifier"):(p=t+s-1,l=!0)}if(i(a)){do a=e.input.charCodeAt(++e.position);while(i(a));if(35===a)do a=e.input.charCodeAt(++e.position);while(!r(a)&&0!==a)}for(;0!==a;){for(b(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!l||e.lineIndent<p)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>p&&(p=e.lineIndent),r(a))f++;else{if(e.lineIndent<p){u===ee?e.result+=$.repeat("\n",f):u===Z&&l&&(e.result+="\n");break}for(o?i(a)?(d=!0,e.result+=$.repeat("\n",f+1)):d?(d=!1,e.result+=$.repeat("\n",f+1)):0===f?l&&(e.result+=" "):e.result+=$.repeat("\n",f):l?e.result+=$.repeat("\n",f+1):e.result+=$.repeat("\n",f),l=!0,f=0,n=e.position;!r(a)&&0!==a;)a=e.input.charCodeAt(++e.position);v(e,n,e.position,!1)}}return!0}function S(e,t){var n,r,i,s=e.tag,a=e.anchor,u=[],c=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=u),i=e.input.charCodeAt(e.position);0!==i&&45===i&&(r=e.input.charCodeAt(e.position+1),o(r));)if(c=!0,e.position++,_(e,!0,-1)&&e.lineIndent<=t)u.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,k(e,t,X,!1,!0),u.push(e.result),_(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)h(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return c?(e.tag=s,e.anchor=a,e.kind="sequence",e.result=u,!0):!1}function O(e,t,n){var r,s,a,u,c=e.tag,l=e.anchor,p={},f=null,d=null,m=null,v=!1,y=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=p),u=e.input.charCodeAt(e.position);0!==u;){if(r=e.input.charCodeAt(e.position+1),a=e.line,63!==u&&58!==u||!o(r)){if(!k(e,n,G,!1,!0))break;if(e.line===a){for(u=e.input.charCodeAt(e.position);i(u);)u=e.input.charCodeAt(++e.position);if(58===u)u=e.input.charCodeAt(++e.position),o(u)||h(e,"a whitespace character is expected after the key-value separator within a block mapping"),v&&(g(e,p,f,d,null),f=d=m=null),y=!0,v=!1,s=!1,f=e.tag,d=e.result;else{if(!y)return e.tag=c,e.anchor=l,!0;h(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=c,e.anchor=l,!0;h(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===u?(v&&(g(e,p,f,d,null),f=d=m=null),y=!0,v=!0,s=!0):v?(v=!1,s=!0):h(e,"incomplete explicit mapping pair; a key node is missed"),e.position+=1,u=r;if((e.line===a||e.lineIndent>t)&&(k(e,t,Q,!0,s)&&(v?d=e.result:m=e.result),v||(g(e,p,f,d,m),f=d=m=null),_(e,!0,-1),u=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==u)h(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return v&&g(e,p,f,d,null),y&&(e.tag=c,e.anchor=l,e.kind="mapping",e.result=p),y}function R(e){var t,n,r,i,s=!1,a=!1;if(i=e.input.charCodeAt(e.position),33!==i)return!1;if(null!==e.tag&&h(e,"duplication of a tag property"),i=e.input.charCodeAt(++e.position),60===i?(s=!0,i=e.input.charCodeAt(++e.position)):33===i?(a=!0,n="!!",i=e.input.charCodeAt(++e.position)):n="!",t=e.position,s){do i=e.input.charCodeAt(++e.position);while(0!==i&&62!==i);e.position<e.length?(r=e.input.slice(t,e.position),i=e.input.charCodeAt(++e.position)):h(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!o(i);)33===i&&(a?h(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),ie.test(n)||h(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),i=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),re.test(r)&&h(e,"tag suffix cannot contain flow indicator characters")}return r&&!oe.test(r)&&h(e,"tag name cannot contain such characters: "+r),s?e.tag=r:Y.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:h(e,'undeclared tag handle "'+n+'"'),!0}function I(e){var t,n;if(n=e.input.charCodeAt(e.position),38!==n)return!1;for(null!==e.anchor&&h(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!o(n)&&!s(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&h(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function T(e){var t,n,r;if(r=e.input.charCodeAt(e.position),42!==r)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!o(r)&&!s(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&h(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(n)||h(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],_(e,!0,-1),!0}function k(e,t,n,r,i){var o,s,a,u,c,l,p,f,d=1,m=!1,v=!1;if(e.tag=null,e.anchor=null,e.kind=null,e.result=null,o=s=a=Q===n||X===n,r&&_(e,!0,-1)&&(m=!0,e.lineIndent>t?d=1:e.lineIndent===t?d=0:e.lineIndent<t&&(d=-1)),1===d)for(;R(e)||I(e);)_(e,!0,-1)?(m=!0,a=o,e.lineIndent>t?d=1:e.lineIndent===t?d=0:e.lineIndent<t&&(d=-1)):a=!1;if(a&&(a=m||i),(1===d||Q===n)&&(p=K===n||G===n?t:t+1,f=e.position-e.lineStart,1===d?a&&(S(e,f)||O(e,f,p))||A(e,p)?v=!0:(s&&P(e,p)||C(e,p)||x(e,p)?v=!0:T(e)?(v=!0,(null!==e.tag||null!==e.anchor)&&h(e,"alias node should not have any properties")):w(e,p,K===n)&&(v=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===d&&(v=a&&S(e,f))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(u=0,c=e.implicitTypes.length;c>u;u+=1)if(l=e.implicitTypes[u],l.resolve(e.result)){e.result=l.construct(e.result),e.tag=l.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else Y.call(e.typeMap,e.tag)?(l=e.typeMap[e.tag],null!==e.result&&l.kind!==e.kind&&h(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+l.kind+'", not "'+e.kind+'"'),l.resolve(e.result)?(e.result=l.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):h(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):h(e,"unknown tag !<"+e.tag+">");return null!==e.tag||null!==e.anchor||v}function N(e){var t,n,s,a,u=e.position,c=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(a=e.input.charCodeAt(e.position))&&(_(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==a));){for(c=!0,a=e.input.charCodeAt(++e.position),t=e.position;0!==a&&!o(a);)a=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),s=[],n.length<1&&h(e,"directive name must not be less than one character in length");0!==a;){for(;i(a);)a=e.input.charCodeAt(++e.position);if(35===a){do a=e.input.charCodeAt(++e.position);while(0!==a&&!r(a));break}if(r(a))break;for(t=e.position;0!==a&&!o(a);)a=e.input.charCodeAt(++e.position);s.push(e.input.slice(t,e.position))}0!==a&&b(e),Y.call(ce,n)?ce[n](e,n,s):m(e,'unknown document directive "'+n+'"')}return _(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,_(e,!0,-1)):c&&h(e,"directives end mark is expected"),k(e,e.lineIndent-1,Q,!1,!0),_(e,!0,-1),e.checkLineBreaks&&ne.test(e.input.slice(u,e.position))&&m(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&E(e)?void(46===e.input.charCodeAt(e.position)&&(e.position+=3,_(e,!0,-1))):void(e.position<e.length-1&&h(e,"end of the stream or a document separator is expected"))}function F(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new f(e,t);for(te.test(n.input)&&h(n,"the stream contains non-printable characters"),n.input+="\x00";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)N(n);return n.documents}function j(e,t,n){var r,i,o=F(e,n);for(r=0,i=o.length;i>r;r+=1)t(o[r])}function M(e,t){var n=F(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new W("expected a single document in the stream, but found more")}}function B(e,t,n){j(e,t,$.extend({schema:q},n))}function L(e,t){return M(e,$.extend({schema:q},t))}var V=this,U=V.define;V.define=void 0;for(var $=e("141"),W=e("143"),H=e("140"),q=e("144"),z=e("145"),Y=Object.prototype.hasOwnProperty,K=1,G=2,X=3,Q=4,Z=1,J=2,ee=3,te=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ne=/[\x85\u2028\u2029]/,re=/[,\[\]\{\}]/,ie=/^(?:!|!!|![a-z\-]+!)$/i,oe=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,se=new Array(256),ae=new Array(256),ue=0;256>ue;ue++)se[ue]=l(ue)?1:0,ae[ue]=l(ue);var ce={YAML:function(e,t,n){var r,i,o;null!==e.version&&h(e,"duplication of %YAML directive"),1!==n.length&&h(e,"YAML directive accepts exactly one argument"),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===r&&h(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&h(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=2>o,1!==o&&2!==o&&m(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&h(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],ie.test(r)||h(e,"ill-formed tag handle (first argument) of the TAG directive"),Y.call(e.tagMap,r)&&h(e,'there is a previously declared suffix for "'+r+'" tag handle'),oe.test(i)||h(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=i}};return n.exports.loadAll=j,n.exports.load=M,n.exports.safeLoadAll=B,n.exports.safeLoad=L,V.define=U,n.exports}),e.registerDynamic("146",["141","143","145","144"],!0,function(e,t,n){"use strict";function r(e,t){var n,r,i,o,s,a,u;if(null===t)return{};for(n={},r=Object.keys(t),i=0,o=r.length;o>i;i+=1)s=r[i],a=String(t[s]),"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2)),u=e.compiledTypeMap[s],u&&T.call(u.styleAliases,a)&&(a=u.styleAliases[a]),n[s]=a;return n}function i(e){var t,n,r;if(t=e.toString(16).toUpperCase(),255>=e)n="x",r=2;else if(65535>=e)n="u",r=4;else{if(!(4294967295>=e))throw new S("code point within a string may not be greater than 0xFFFFFFFF");n="U",r=8}return"\\"+n+P.repeat("0",r-t.length)+t}function o(e){this.schema=e.schema||O,this.indent=Math.max(1,e.indent||2),this.skipInvalid=e.skipInvalid||!1,this.flowLevel=P.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=r(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function s(e,t){for(var n,r=P.repeat(" ",t),i=0,o=-1,s="",a=e.length;a>i;)o=e.indexOf("\n",i),-1===o?(n=e.slice(i),i=a):(n=e.slice(i,o+1),i=o+1),n.length&&"\n"!==n&&(s+=r),s+=n;return s}function a(e,t){return"\n"+P.repeat(" ",e.indent*t)}function u(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;r>n;n+=1)if(i=e.implicitTypes[n],i.resolve(t))return!0;return!1}function c(e){this.source=e,this.result="",this.checkpoint=0}function l(e,t,n,r){var i,o,a,l,f,m,v,y,g,b,_,E,D,w,C,x,A,P,S,O,R;if(0===t.length)return void(e.dump="''");if(-1!==re.indexOf(t))return void(e.dump="'"+t+"'");for(i=!0,o=t.length?t.charCodeAt(0):0,a=j===o||j===t.charCodeAt(t.length-1),(q===o||K===o||G===o||Z===o)&&(i=!1),a?(i=!1,l=!1,f=!1):(l=!r,f=!r),m=!0,v=new c(t),y=!1,g=0,b=0,_=e.indent*n,E=80,40>_?E-=_:E=40,w=0;w<t.length;w++){if(D=t.charCodeAt(w),i){if(d(D))continue;i=!1}m&&D===$&&(m=!1),C=ne[D],x=h(D),(C||x)&&(D!==N&&D!==B&&D!==$?(l=!1,f=!1):D===N&&(y=!0,m=!1,w>0&&(A=t.charCodeAt(w-1),A===j&&(f=!1,l=!1)),l&&(P=w-g,g=w,P>b&&(b=P))),D!==B&&(m=!1),v.takeUpTo(w),v.escapeChar())}if(i&&u(e,t)&&(i=!1),S="",(l||f)&&(O=0,t.charCodeAt(t.length-1)===N&&(O+=1,t.charCodeAt(t.length-2)===N&&(O+=1)),0===O?S="-":2===O&&(S="+")),f&&E>b&&(l=!1),y||(f=!1),i)e.dump=t;else if(m)e.dump="'"+t+"'";else if(l)R=p(t,E),e.dump=">"+S+"\n"+s(R,_);else if(f)S||(t=t.replace(/\n$/,"")),e.dump="|"+S+"\n"+s(t,_);else{if(!v)throw new Error("Failed to dump scalar value");v.finish(),e.dump='"'+v.result+'"'}}function p(e,t){var n,r="",i=0,o=e.length,s=/\n+$/.exec(e);for(s&&(o=s.index+1);o>i;)n=e.indexOf("\n",i),n>o||-1===n?(r&&(r+="\n\n"),r+=f(e.slice(i,o),t),i=o):(r&&(r+="\n\n"),r+=f(e.slice(i,n),t),i=n+1);return s&&"\n"!==s[0]&&(r+=s[0]),r}function f(e,t){if(""===e)return e;for(var n,r,i,o=/[^\s] [^\s]/g,s="",a=0,u=0,c=o.exec(e);c;)n=c.index,n-u>t&&(r=a!==u?a:n,s&&(s+="\n"),i=e.slice(u,r),s+=i,u=r+1),a=n+1,c=o.exec(e);return s&&(s+="\n"),s+=u!==a&&e.length-u>t?e.slice(u,a)+"\n"+e.slice(a+1):e.slice(u)}function d(e){return k!==e&&N!==e&&F!==e&&H!==e&&X!==e&&Q!==e&&J!==e&&te!==e&&L!==e&&U!==e&&W!==e&&M!==e&&ee!==e&&Y!==e&&$!==e&&B!==e&&V!==e&&z!==e&&!ne[e]&&!h(e)}function h(e){return!(e>=32&&126>=e||133===e||e>=160&&55295>=e||e>=57344&&65533>=e||e>=65536&&1114111>=e)}function m(e,t,n){var r,i,o="",s=e.tag;for(r=0,i=n.length;i>r;r+=1)_(e,t,n[r],!1,!1)&&(0!==r&&(o+=", "),o+=e.dump);e.tag=s,e.dump="["+o+"]"}function v(e,t,n,r){var i,o,s="",u=e.tag;for(i=0,o=n.length;o>i;i+=1)_(e,t+1,n[i],!0,!0)&&(r&&0===i||(s+=a(e,t)),s+="- "+e.dump);e.tag=u,e.dump=s||"[]"}function y(e,t,n){var r,i,o,s,a,u="",c=e.tag,l=Object.keys(n);for(r=0,i=l.length;i>r;r+=1)a="",0!==r&&(a+=", "),o=l[r],s=n[o],_(e,t,o,!1,!1)&&(e.dump.length>1024&&(a+="? "),a+=e.dump+": ",_(e,t,s,!1,!1)&&(a+=e.dump,u+=a));e.tag=c,e.dump="{"+u+"}"}function g(e,t,n,r){var i,o,s,u,c,l,p="",f=e.tag,d=Object.keys(n);if(e.sortKeys===!0)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new S("sortKeys must be a boolean or a function");for(i=0,o=d.length;o>i;i+=1)l="",r&&0===i||(l+=a(e,t)),s=d[i],u=n[s],_(e,t+1,s,!0,!0,!0)&&(c=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024,c&&(l+=e.dump&&N===e.dump.charCodeAt(0)?"?":"? "),l+=e.dump,c&&(l+=a(e,t)),_(e,t+1,u,!0,c)&&(l+=e.dump&&N===e.dump.charCodeAt(0)?":":": ",l+=e.dump,p+=l));e.tag=f,e.dump=p||"{}"}function b(e,t,n){var r,i,o,s,a,u;for(i=n?e.explicitTypes:e.implicitTypes,o=0,s=i.length;s>o;o+=1)if(a=i[o],(a.instanceOf||a.predicate)&&(!a.instanceOf||"object"==typeof t&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(e.tag=n?a.tag:"?",a.represent){if(u=e.styleMap[a.tag]||a.defaultStyle,"[object Function]"===I.call(a.represent))r=a.represent(t,u);else{if(!T.call(a.represent,u))throw new S("!<"+a.tag+'> tag resolver accepts not "'+u+'" style');r=a.represent[u](t,u)}e.dump=r}return!0}return!1}function _(e,t,n,r,i,o){e.tag=null,e.dump=n,b(e,n,!1)||b(e,n,!0);var s=I.call(e.dump);r&&(r=0>e.flowLevel||e.flowLevel>t);var a,u,c="[object Object]"===s||"[object Array]"===s;if(c&&(a=e.duplicates.indexOf(n),u=-1!==a),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(i=!1),u&&e.usedDuplicates[a])e.dump="*ref_"+a;else{if(c&&u&&!e.usedDuplicates[a]&&(e.usedDuplicates[a]=!0),"[object Object]"===s)r&&0!==Object.keys(e.dump).length?(g(e,t,e.dump,i),u&&(e.dump="&ref_"+a+e.dump)):(y(e,t,e.dump),u&&(e.dump="&ref_"+a+" "+e.dump));else if("[object Array]"===s)r&&0!==e.dump.length?(v(e,t,e.dump,i),u&&(e.dump="&ref_"+a+e.dump)):(m(e,t,e.dump),u&&(e.dump="&ref_"+a+" "+e.dump));else{if("[object String]"!==s){if(e.skipInvalid)return!1;throw new S("unacceptable kind of an object to dump "+s)}"?"!==e.tag&&l(e,e.dump,t,o)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function E(e,t){var n,r,i=[],o=[];for(D(e,i,o),n=0,r=o.length;r>n;n+=1)t.duplicates.push(i[o[n]]);t.usedDuplicates=new Array(r)}function D(e,t,n){var r,i,o;if(null!==e&&"object"==typeof e)if(i=t.indexOf(e),-1!==i)-1===n.indexOf(i)&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,o=e.length;o>i;i+=1)D(e[i],t,n);else for(r=Object.keys(e),i=0,o=r.length;o>i;i+=1)D(e[r[i]],t,n)}function w(e,t){t=t||{};var n=new o(t);return E(e,n),_(n,0,e,!0,!0)?n.dump+"\n":""}function C(e,t){return w(e,P.extend({schema:R},t))}var x=this,A=x.define;x.define=void 0;var P=e("141"),S=e("143"),O=e("145"),R=e("144"),I=Object.prototype.toString,T=Object.prototype.hasOwnProperty,k=9,N=10,F=13,j=32,M=33,B=34,L=35,V=37,U=38,$=39,W=42,H=44,q=45,z=58,Y=62,K=63,G=64,X=91,Q=93,Z=96,J=123,ee=124,te=125,ne={};ne[0]="\\0",ne[7]="\\a",ne[8]="\\b",ne[9]="\\t",ne[10]="\\n",ne[11]="\\v",ne[12]="\\f",ne[13]="\\r",ne[27]="\\e",ne[34]='\\"',ne[92]="\\\\",ne[133]="\\N",ne[160]="\\_",ne[8232]="\\L",ne[8233]="\\P";var re=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];return c.prototype.takeUpTo=function(e){var t;if(e<this.checkpoint)throw t=new Error("position should be > checkpoint"),t.position=e,t.checkpoint=this.checkpoint,t;return this.result+=this.source.slice(this.checkpoint,e),this.checkpoint=e,this},c.prototype.escapeChar=function(){var e,t;return e=this.source.charCodeAt(this.checkpoint),t=ne[e]||i(e),this.result+=t,this.checkpoint+=1,this},c.prototype.finish=function(){this.source.length>this.checkpoint&&this.takeUpTo(this.source.length)},n.exports.dump=w,n.exports.safeDump=C,x.define=A,n.exports}),e.registerDynamic("147",["141","143","148"],!0,function(e,t,n){"use strict";function r(e,t,n){var i=[];return e.include.forEach(function(e){
|
||
n=r(e,t,n)}),e[t].forEach(function(e){n.forEach(function(t,n){t.tag===e.tag&&i.push(n)}),n.push(e)}),n.filter(function(e,t){return-1===i.indexOf(t)})}function i(){function e(e){r[e.tag]=e}var t,n,r={};for(t=0,n=arguments.length;n>t;t+=1)arguments[t].forEach(e);return r}function o(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new c("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=r(this,"implicit",[]),this.compiledExplicit=r(this,"explicit",[]),this.compiledTypeMap=i(this.compiledImplicit,this.compiledExplicit)}var s=this,a=s.define;s.define=void 0;var u=e("141"),c=e("143"),l=e("148");return o.DEFAULT=null,o.create=function(){var e,t;switch(arguments.length){case 1:e=o.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new c("Wrong number of arguments for Schema.create function")}if(e=u.toArray(e),t=u.toArray(t),!e.every(function(e){return e instanceof o}))throw new c("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every(function(e){return e instanceof l}))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new o({include:e,explicit:t})},n.exports=o,s.define=a,n.exports}),e.registerDynamic("149",["148"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("148");return n.exports=new o("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),r.define=i,n.exports}),e.registerDynamic("14a",["148"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("148");return n.exports=new o("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),r.define=i,n.exports}),e.registerDynamic("14b",["148"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("148");return n.exports=new o("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}}),r.define=i,n.exports}),e.registerDynamic("14c",["147","149","14a","14b"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("147");return n.exports=new o({explicit:[e("149"),e("14a"),e("14b")]}),r.define=i,n.exports}),e.registerDynamic("14d",["148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)}function i(){return null}function o(e){return null===e}var s=this,a=s.define;s.define=void 0;var u=e("148");return n.exports=new u("tag:yaml.org,2002:null",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"}),s.define=a,n.exports}),e.registerDynamic("14e",["148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)}function i(e){return"true"===e||"True"===e||"TRUE"===e}function o(e){return"[object Boolean]"===Object.prototype.toString.call(e)}var s=this,a=s.define;s.define=void 0;var u=e("148");return n.exports=new u("tag:yaml.org,2002:bool",{kind:"scalar",resolve:r,construct:i,predicate:o,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),s.define=a,n.exports}),e.registerDynamic("14f",["141","148"],!0,function(e,t,n){"use strict";function r(e){return e>=48&&57>=e||e>=65&&70>=e||e>=97&&102>=e}function i(e){return e>=48&&55>=e}function o(e){return e>=48&&57>=e}function s(e){if(null===e)return!1;var t,n=e.length,s=0,a=!1;if(!n)return!1;if(t=e[s],("-"===t||"+"===t)&&(t=e[++s]),"0"===t){if(s+1===n)return!0;if(t=e[++s],"b"===t){for(s++;n>s;s++)if(t=e[s],"_"!==t){if("0"!==t&&"1"!==t)return!1;a=!0}return a}if("x"===t){for(s++;n>s;s++)if(t=e[s],"_"!==t){if(!r(e.charCodeAt(s)))return!1;a=!0}return a}for(;n>s;s++)if(t=e[s],"_"!==t){if(!i(e.charCodeAt(s)))return!1;a=!0}return a}for(;n>s;s++)if(t=e[s],"_"!==t){if(":"===t)break;if(!o(e.charCodeAt(s)))return!1;a=!0}return a?":"!==t?!0:/^(:[0-5]?[0-9])+$/.test(e.slice(s)):!1}function a(e){var t,n,r=e,i=1,o=[];return-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),t=r[0],("-"===t||"+"===t)&&("-"===t&&(i=-1),r=r.slice(1),t=r[0]),"0"===r?0:"0"===t?"b"===r[1]?i*parseInt(r.slice(2),2):"x"===r[1]?i*parseInt(r,16):i*parseInt(r,8):-1!==r.indexOf(":")?(r.split(":").forEach(function(e){o.unshift(parseInt(e,10))}),r=0,n=1,o.forEach(function(e){r+=e*n,n*=60}),i*r):i*parseInt(r,10)}function u(e){return"[object Number]"===Object.prototype.toString.call(e)&&0===e%1&&!p.isNegativeZero(e)}var c=this,l=c.define;c.define=void 0;var p=e("141"),f=e("148");return n.exports=new f("tag:yaml.org,2002:int",{kind:"scalar",resolve:s,construct:a,predicate:u,represent:{binary:function(e){return"0b"+e.toString(2)},octal:function(e){return"0"+e.toString(8)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return"0x"+e.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),c.define=l,n.exports}),e.registerDynamic("141",[],!0,function(e,t,n){"use strict";function r(e){return"undefined"==typeof e||null===e}function i(e){return"object"==typeof e&&null!==e}function o(e){return Array.isArray(e)?e:r(e)?[]:[e]}function s(e,t){var n,r,i,o;if(t)for(o=Object.keys(t),n=0,r=o.length;r>n;n+=1)i=o[n],e[i]=t[i];return e}function a(e,t){var n,r="";for(n=0;t>n;n+=1)r+=e;return r}function u(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e}var c=this,l=c.define;return c.define=void 0,n.exports.isNothing=r,n.exports.isObject=i,n.exports.toArray=o,n.exports.repeat=a,n.exports.isNegativeZero=u,n.exports.extend=s,c.define=l,n.exports}),e.registerDynamic("150",["141","148"],!0,function(e,t,n){"use strict";function r(e){return null===e?!1:p.test(e)?!0:!1}function i(e){var t,n,r,i;return t=e.replace(/_/g,"").toLowerCase(),n="-"===t[0]?-1:1,i=[],0<="+-".indexOf(t[0])&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:0<=t.indexOf(":")?(t.split(":").forEach(function(e){i.unshift(parseFloat(e,10))}),t=0,r=1,i.forEach(function(e){t+=e*r,r*=60}),n*t):n*parseFloat(t,10)}function o(e,t){if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(c.isNegativeZero(e))return"-0.0";return e.toString(10)}function s(e){return"[object Number]"===Object.prototype.toString.call(e)&&(0!==e%1||c.isNegativeZero(e))}var a=this,u=a.define;a.define=void 0;var c=e("141"),l=e("148"),p=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");return n.exports=new l("tag:yaml.org,2002:float",{kind:"scalar",resolve:r,construct:i,predicate:s,represent:o,defaultStyle:"lowercase"}),a.define=u,n.exports}),e.registerDynamic("151",["147","14c","14d","14e","14f","150"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("147");return n.exports=new o({include:[e("14c")],implicit:[e("14d"),e("14e"),e("14f"),e("150")]}),r.define=i,n.exports}),e.registerDynamic("152",["147","151"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("147");return n.exports=new o({include:[e("151")]}),r.define=i,n.exports}),e.registerDynamic("153",["148"],!0,function(e,t,n){"use strict";function r(e){return null===e?!1:null===c.exec(e)?!1:!0}function i(e){var t,n,r,i,o,s,a,u,l,p,f=0,d=null;if(t=c.exec(e),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(o=+t[4],s=+t[5],a=+t[6],t[7]){for(f=t[7].slice(0,3);f.length<3;)f+="0";f=+f}return t[9]&&(u=+t[10],l=+(t[11]||0),d=6e4*(60*u+l),"-"===t[9]&&(d=-d)),p=new Date(Date.UTC(n,r,i,o,s,a,f)),d&&p.setTime(p.getTime()-d),p}function o(e){return e.toISOString()}var s=this,a=s.define;s.define=void 0;var u=e("148"),c=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");return n.exports=new u("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:r,construct:i,instanceOf:Date,represent:o}),s.define=a,n.exports}),e.registerDynamic("154",["148"],!0,function(e,t,n){"use strict";function r(e){return"<<"===e||null===e}var i=this,o=i.define;i.define=void 0;var s=e("148");return n.exports=new s("tag:yaml.org,2002:merge",{kind:"scalar",resolve:r}),i.define=o,n.exports}),e.registerDynamic("155",["@empty","148"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){"use strict";function r(e){if(null===e)return!1;var t,n,r=0,i=e.length,o=c;for(n=0;i>n;n++)if(t=o.indexOf(e.charAt(n)),!(t>64)){if(0>t)return!1;r+=6}return r%8===0}function i(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,o=c,s=0,u=[];for(t=0;i>t;t++)t%4===0&&t&&(u.push(s>>16&255),u.push(s>>8&255),u.push(255&s)),s=s<<6|o.indexOf(r.charAt(t));return n=i%4*6,0===n?(u.push(s>>16&255),u.push(s>>8&255),u.push(255&s)):18===n?(u.push(s>>10&255),u.push(s>>2&255)):12===n&&u.push(s>>4&255),a?new a(u):u}function o(e){var t,n,r="",i=0,o=e.length,s=c;for(t=0;o>t;t++)t%3===0&&t&&(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+e[t];return n=o%3,0===n?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}function s(e){return a&&a.isBuffer(e)}var a=e("@empty").Buffer,u=e("148"),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";n.exports=new u("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:i,predicate:s,represent:o})}(e("@empty").Buffer),r.define=i,n.exports}),e.registerDynamic("156",["148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n,r,i,o,s=[],a=e;for(t=0,n=a.length;n>t;t+=1){if(r=a[t],o=!1,"[object Object]"!==c.call(r))return!1;for(i in r)if(u.call(r,i)){if(o)return!1;o=!0}if(!o)return!1;if(-1!==s.indexOf(i))return!1;s.push(i)}return!0}function i(e){return null!==e?e:[]}var o=this,s=o.define;o.define=void 0;var a=e("148"),u=Object.prototype.hasOwnProperty,c=Object.prototype.toString;return n.exports=new a("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:i}),o.define=s,n.exports}),e.registerDynamic("157",["148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n,r,i,o,s=e;for(o=new Array(s.length),t=0,n=s.length;n>t;t+=1){if(r=s[t],"[object Object]"!==u.call(r))return!1;if(i=Object.keys(r),1!==i.length)return!1;o[t]=[i[0],r[i[0]]]}return!0}function i(e){if(null===e)return[];var t,n,r,i,o,s=e;for(o=new Array(s.length),t=0,n=s.length;n>t;t+=1)r=s[t],i=Object.keys(r),o[t]=[i[0],r[i[0]]];return o}var o=this,s=o.define;o.define=void 0;var a=e("148"),u=Object.prototype.toString;return n.exports=new a("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:r,construct:i}),o.define=s,n.exports}),e.registerDynamic("158",["148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!0;var t,n=e;for(t in n)if(u.call(n,t)&&null!==n[t])return!1;return!0}function i(e){return null!==e?e:{}}var o=this,s=o.define;o.define=void 0;var a=e("148"),u=Object.prototype.hasOwnProperty;return n.exports=new a("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:i}),o.define=s,n.exports}),e.registerDynamic("144",["147","152","153","154","155","156","157","158"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("147");return n.exports=new o({include:[e("152")],implicit:[e("153"),e("154")],explicit:[e("155"),e("156"),e("157"),e("158")]}),r.define=i,n.exports}),e.registerDynamic("159",["148"],!0,function(e,t,n){"use strict";function r(){return!0}function i(){}function o(){return""}function s(e){return"undefined"==typeof e}var a=this,u=a.define;a.define=void 0;var c=e("148");return n.exports=new c("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:r,construct:i,predicate:s,represent:o}),a.define=u,n.exports}),e.registerDynamic("15a",["148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,n=/\/([gim]*)$/.exec(e),r="";if("/"===t[0]){if(n&&(r=n[1]),r.length>3)return!1;if("/"!==t[t.length-r.length-1])return!1;t=t.slice(1,t.length-r.length-1)}try{return!0}catch(i){return!1}}function i(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)}function o(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}function s(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var a=this,u=a.define;a.define=void 0;var c=e("148");return n.exports=new c("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:r,construct:i,predicate:s,represent:o}),a.define=u,n.exports}),e.registerDynamic("15b",["34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(e){!function(e,n){"use strict";"function"==typeof define&&define.amd?define(["exports"],n):n("undefined"!=typeof t?t:e.esprima={})}(this,function(e){"use strict";function t(e,t){if(!e)throw new Error("ASSERT: "+t)}function n(e){return e>=48&&57>=e}function r(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function i(e){return"01234567".indexOf(e)>=0}function o(e){var t="0"!==e,n="01234567".indexOf(e);return bn>un&&i(sn[un])&&(t=!0,n=8*n+"01234567".indexOf(sn[un++]),"0123".indexOf(e)>=0&&bn>un&&i(sn[un])&&(n=8*n+"01234567".indexOf(sn[un++]))),{code:n,octal:t}}function s(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function a(e){return 10===e||13===e||8232===e||8233===e}function u(e){return 65536>e?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))}function c(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&on.NonAsciiIdentifierStart.test(u(e))}function l(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&on.NonAsciiIdentifierPart.test(u(e))}function p(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}}function f(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function d(e){return"eval"===e||"arguments"===e}function h(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function m(e,n,r,i,o){var s;t("number"==typeof r,"Comment must have valid position"),En.lastCommentStart=r,s={type:e,value:n},Dn.range&&(s.range=[r,i]),Dn.loc&&(s.loc=o),Dn.comments.push(s),Dn.attachComment&&(Dn.leadingComments.push(s),Dn.trailingComments.push(s)),Dn.tokenize&&(s.type=s.type+"Comment",Dn.delegate&&(s=Dn.delegate(s)),Dn.tokens.push(s))}function v(e){var t,n,r,i;for(t=un-e,n={start:{line:cn,column:un-ln-e}};bn>un;)if(r=sn.charCodeAt(un),++un,a(r))return pn=!0,Dn.comments&&(i=sn.slice(t+e,un-1),n.end={line:cn,column:un-ln-1},m("Line",i,t,un-1,n)),13===r&&10===sn.charCodeAt(un)&&++un,++cn,void(ln=un);Dn.comments&&(i=sn.slice(t+e,un),n.end={line:cn,column:un-ln},m("Line",i,t,un,n))}function y(){var e,t,n,r;for(Dn.comments&&(e=un-2,t={start:{line:cn,column:un-ln-2}});bn>un;)if(n=sn.charCodeAt(un),a(n))13===n&&10===sn.charCodeAt(un+1)&&++un,pn=!0,++cn,++un,ln=un;else if(42===n){if(47===sn.charCodeAt(un+1))return++un,++un,void(Dn.comments&&(r=sn.slice(e+2,un-2),t.end={line:cn,column:un-ln},m("Block",r,e,un,t)));++un}else++un;Dn.comments&&(t.end={line:cn,column:un-ln},r=sn.slice(e+2,un),m("Block",r,e,un,t)),ne()}function g(){var e,t;for(pn=!1,t=0===un;bn>un;)if(e=sn.charCodeAt(un),s(e))++un;else if(a(e))pn=!0,++un,13===e&&10===sn.charCodeAt(un)&&++un,++cn,ln=un,t=!0;else if(47===e)if(e=sn.charCodeAt(un+1),47===e)++un,++un,v(2),t=!0;else{if(42!==e)break;++un,++un,y()}else if(t&&45===e){if(45!==sn.charCodeAt(un+1)||62!==sn.charCodeAt(un+2))break;un+=3,v(3)}else{if(60!==e)break;if("!--"!==sn.slice(un+1,un+4))break;++un,++un,++un,++un,v(4)}}function b(e){var t,n,i,o=0;for(n="u"===e?4:2,t=0;n>t;++t){if(!(bn>un&&r(sn[un])))return"";i=sn[un++],o=16*o+"0123456789abcdef".indexOf(i.toLowerCase())}return String.fromCharCode(o)}function _(){var e,t;for(e=sn[un],t=0,"}"===e&&te();bn>un&&(e=sn[un++],r(e));)t=16*t+"0123456789abcdef".indexOf(e.toLowerCase());return(t>1114111||"}"!==e)&&te(),u(t)}function E(e){var t,n,r;return t=sn.charCodeAt(e),t>=55296&&56319>=t&&(r=sn.charCodeAt(e+1),r>=56320&&57343>=r&&(n=t,t=1024*(n-55296)+r-56320+65536)),t}function D(){var e,t,n;for(e=E(un),n=u(e),un+=n.length,92===e&&(117!==sn.charCodeAt(un)&&te(),++un,"{"===sn[un]?(++un,t=_()):(t=b("u"),e=t.charCodeAt(0),t&&"\\"!==t&&c(e)||te()),n=t);bn>un&&(e=E(un),l(e));)t=u(e),n+=t,un+=t.length,92===e&&(n=n.substr(0,n.length-1),117!==sn.charCodeAt(un)&&te(),++un,"{"===sn[un]?(++un,t=_()):(t=b("u"),e=t.charCodeAt(0),t&&"\\"!==t&&l(e)||te()),n+=t);return n}function w(){var e,t;for(e=un++;bn>un;){if(t=sn.charCodeAt(un),92===t)return un=e,D();if(t>=55296&&57343>t)return un=e,D();if(!l(t))break;++un}return sn.slice(e,un)}function C(){var e,t,n;return e=un,t=92===sn.charCodeAt(un)?D():w(),n=1===t.length?Zt.Identifier:h(t)?Zt.Keyword:"null"===t?Zt.NullLiteral:"true"===t||"false"===t?Zt.BooleanLiteral:Zt.Identifier,{type:n,value:t,lineNumber:cn,lineStart:ln,start:e,end:un}}function x(){var e,t;switch(e={type:Zt.Punctuator,value:"",lineNumber:cn,lineStart:ln,start:un,end:un},t=sn[un]){case"(":Dn.tokenize&&(Dn.openParenToken=Dn.tokenValues.length),++un;break;case"{":Dn.tokenize&&(Dn.openCurlyToken=Dn.tokenValues.length),En.curlyStack.push("{"),++un;break;case".":++un,"."===sn[un]&&"."===sn[un+1]&&(un+=2,t="...");break;case"}":++un,En.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++un;break;default:t=sn.substr(un,4),">>>="===t?un+=4:(t=t.substr(0,3),"==="===t||"!=="===t||">>>"===t||"<<="===t||">>="===t?un+=3:(t=t.substr(0,2),"&&"===t||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t?un+=2:(t=sn[un],"<>=!+-*%&|^/".indexOf(t)>=0&&++un)))}return un===e.start&&te(),e.end=un,e.value=t,e}function A(e){for(var t="";bn>un&&r(sn[un]);)t+=sn[un++];return 0===t.length&&te(),c(sn.charCodeAt(un))&&te(),{type:Zt.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:cn,lineStart:ln,start:e,end:un}}function P(e){var t,r;for(r="";bn>un&&(t=sn[un],"0"===t||"1"===t);)r+=sn[un++];return 0===r.length&&te(),bn>un&&(t=sn.charCodeAt(un),(c(t)||n(t))&&te()),{type:Zt.NumericLiteral,value:parseInt(r,2),lineNumber:cn,lineStart:ln,start:e,end:un}}function S(e,t){var r,o;for(i(e)?(o=!0,r="0"+sn[un++]):(o=!1,++un,r="");bn>un&&i(sn[un]);)r+=sn[un++];return o||0!==r.length||te(),(c(sn.charCodeAt(un))||n(sn.charCodeAt(un)))&&te(),{type:Zt.NumericLiteral,value:parseInt(r,8),octal:o,lineNumber:cn,lineStart:ln,start:t,end:un}}function O(){var e,t;for(e=un+1;bn>e;++e){if(t=sn[e],"8"===t||"9"===t)return!1;if(!i(t))return!0}return!0}function R(){var e,r,o;if(o=sn[un],t(n(o.charCodeAt(0))||"."===o,"Numeric literal must start with a decimal digit or a decimal point"),r=un,e="","."!==o){if(e=sn[un++],o=sn[un],"0"===e){if("x"===o||"X"===o)return++un,A(r);if("b"===o||"B"===o)return++un,P(r);if("o"===o||"O"===o)return S(o,r);if(i(o)&&O())return S(o,r)}for(;n(sn.charCodeAt(un));)e+=sn[un++];o=sn[un]}if("."===o){for(e+=sn[un++];n(sn.charCodeAt(un));)e+=sn[un++];o=sn[un]}if("e"===o||"E"===o)if(e+=sn[un++],o=sn[un],("+"===o||"-"===o)&&(e+=sn[un++]),n(sn.charCodeAt(un)))for(;n(sn.charCodeAt(un));)e+=sn[un++];else te();return c(sn.charCodeAt(un))&&te(),{type:Zt.NumericLiteral,value:parseFloat(e),lineNumber:cn,lineStart:ln,start:r,end:un}}function I(){var e,n,r,s,u,c="",l=!1;for(e=sn[un],t("'"===e||'"'===e,"String literal must starts with a quote"),n=un,++un;bn>un;){if(r=sn[un++],r===e){e="";break}if("\\"===r)if(r=sn[un++],r&&a(r.charCodeAt(0)))++cn,"\r"===r&&"\n"===sn[un]&&++un,ln=un;else switch(r){case"u":case"x":if("{"===sn[un])++un,c+=_();else{if(s=b(r),!s)throw te();c+=s}break;case"n":c+="\n";break;case"r":c+="\r";break;case"t":c+=" ";break;case"b":c+="\b";break;case"f":c+="\f";break;case"v":c+="\x0B";break;case"8":case"9":c+=r,ne();break;default:i(r)?(u=o(r),l=u.octal||l,c+=String.fromCharCode(u.code)):c+=r}else{if(a(r.charCodeAt(0)))break;c+=r}}return""!==e&&te(),{type:Zt.StringLiteral,value:c,octal:l,lineNumber:vn,lineStart:yn,start:n,end:un}}function T(){var e,t,r,o,s,u,c,l,p="";for(o=!1,u=!1,t=un,s="`"===sn[un],r=2,++un;bn>un;){if(e=sn[un++],"`"===e){r=1,u=!0,o=!0;break}if("$"===e){if("{"===sn[un]){En.curlyStack.push("${"),++un,o=!0;break}p+=e}else if("\\"===e)if(e=sn[un++],a(e.charCodeAt(0)))++cn,"\r"===e&&"\n"===sn[un]&&++un,ln=un;else switch(e){case"n":p+="\n";break;case"r":p+="\r";break;case"t":p+=" ";break;case"u":case"x":"{"===sn[un]?(++un,p+=_()):(c=un,l=b(e),l?p+=l:(un=c,p+=e));break;case"b":p+="\b";break;case"f":p+="\f";break;case"v":p+="\x0B";break;default:"0"===e?(n(sn.charCodeAt(un))&&Z(rn.TemplateOctalLiteral),p+="\x00"):i(e)?Z(rn.TemplateOctalLiteral):p+=e}else a(e.charCodeAt(0))?(++cn,"\r"===e&&"\n"===sn[un]&&++un,ln=un,p+="\n"):p+=e}return o||te(),s||En.curlyStack.pop(),{type:Zt.Template,value:{cooked:p,raw:sn.slice(t+1,un-r)},head:s,tail:u,lineNumber:cn,lineStart:ln,start:t,end:un}}function k(e,t){var n="",r=e;t.indexOf("u")>=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,r){var i=parseInt(t||r,16);return i>1114111&&te(null,rn.InvalidRegExp),65535>=i?String.fromCharCode(i):n}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n));try{RegExp(r)}catch(i){te(null,rn.InvalidRegExp)}try{return new RegExp(e,t)}catch(o){return null}}function N(){var e,n,r,i,o;for(e=sn[un],t("/"===e,"Regular expression literal must start with a slash"),n=sn[un++],r=!1,i=!1;bn>un;)if(e=sn[un++],n+=e,"\\"===e)e=sn[un++],a(e.charCodeAt(0))&&te(null,rn.UnterminatedRegExp),n+=e;else if(a(e.charCodeAt(0)))te(null,rn.UnterminatedRegExp);else if(r)"]"===e&&(r=!1);else{if("/"===e){i=!0;break}"["===e&&(r=!0)}return i||te(null,rn.UnterminatedRegExp),o=n.substr(1,n.length-2),{value:o,literal:n}}function F(){var e,t,n,r;for(t="",n="";bn>un&&(e=sn[un],l(e.charCodeAt(0)));)if(++un,"\\"===e&&bn>un)if(e=sn[un],"u"===e){if(++un,r=un,e=b("u"))for(n+=e,t+="\\u";un>r;++r)t+=sn[r];else un=r,n+="u",t+="\\u";ne()}else t+="\\",ne();else n+=e,t+=e;return{value:n,literal:t}}function j(){var e,t,n,r;return gn=!0,_n=null,g(),e=un,t=N(),n=F(),r=k(t.value,n.value),gn=!1,Dn.tokenize?{type:Zt.RegularExpression,value:r,regex:{pattern:t.value,flags:n.value},lineNumber:cn,lineStart:ln,start:e,end:un}:{literal:t.literal+n.literal,value:r,regex:{pattern:t.value,flags:n.value},start:e,end:un}}function M(){var e,t,n,r;return g(),e=un,t={start:{line:cn,column:un-ln}},n=j(),t.end={line:cn,column:un-ln},Dn.tokenize||(Dn.tokens.length>0&&(r=Dn.tokens[Dn.tokens.length-1],r.range[0]===e&&"Punctuator"===r.type&&("/"===r.value||"/="===r.value)&&Dn.tokens.pop()),Dn.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,un],loc:t})),n}function B(e){return e.type===Zt.Identifier||e.type===Zt.Keyword||e.type===Zt.BooleanLiteral||e.type===Zt.NullLiteral}function L(){function e(e){return e&&e.length>1&&e[0]>="a"&&e[0]<="z"}var t,n,r;switch(n=Dn.tokenValues[Dn.tokens.length-1],t=null!==n,n){case"this":case"]":t=!1;break;case")":r=Dn.tokenValues[Dn.openParenToken-1],t="if"===r||"while"===r||"for"===r||"with"===r;break;case"}":t=!1,e(Dn.tokenValues[Dn.openCurlyToken-3])?(r=Dn.tokenValues[Dn.openCurlyToken-4],t=r?en.indexOf(r)<0:!1):e(Dn.tokenValues[Dn.openCurlyToken-4])&&(r=Dn.tokenValues[Dn.openCurlyToken-5],t=r?en.indexOf(r)<0:!0)}return t?M():x()}function V(){var e,t;return un>=bn?{type:Zt.EOF,lineNumber:cn,lineStart:ln,start:un,end:un}:(e=sn.charCodeAt(un),c(e)?(t=C(),an&&f(t.value)&&(t.type=Zt.Keyword),t):40===e||41===e||59===e?x():39===e||34===e?I():46===e?n(sn.charCodeAt(un+1))?R():x():n(e)?R():Dn.tokenize&&47===e?L():96===e||125===e&&"${"===En.curlyStack[En.curlyStack.length-1]?T():e>=55296&&57343>e&&(e=E(un),c(e))?C():x())}function U(){var e,t,n,r;return e={start:{line:cn,column:un-ln}},t=V(),e.end={line:cn,column:un-ln},t.type!==Zt.EOF&&(n=sn.slice(t.start,t.end),r={type:Jt[t.type],value:n,range:[t.start,t.end],loc:e},t.regex&&(r.regex={pattern:t.regex.pattern,flags:t.regex.flags}),Dn.tokenValues&&Dn.tokenValues.push("Punctuator"===r.type||"Keyword"===r.type?r.value:null),Dn.tokenize&&(Dn.range||delete r.range,Dn.loc||delete r.loc,Dn.delegate&&(r=Dn.delegate(r))),Dn.tokens.push(r)),t}function $(){var e;return gn=!0,fn=un,dn=cn,hn=ln,g(),e=_n,mn=un,vn=cn,yn=ln,_n="undefined"!=typeof Dn.tokens?U():V(),gn=!1,e}function W(){gn=!0,g(),fn=un,dn=cn,hn=ln,mn=un,vn=cn,yn=ln,_n="undefined"!=typeof Dn.tokens?U():V(),gn=!1}function H(){this.line=vn,this.column=mn-yn}function q(){this.start=new H,this.end=null}function z(e){this.start={line:e.lineNumber,column:e.start-e.lineStart},this.end=null}function Y(){Dn.range&&(this.range=[mn,0]),Dn.loc&&(this.loc=new q)}function K(e){Dn.range&&(this.range=[e.start,0]),Dn.loc&&(this.loc=new z(e))}function G(e){var t,n;for(t=0;t<Dn.errors.length;t++)if(n=Dn.errors[t],n.index===e.index&&n.message===e.message)return;Dn.errors.push(e)}function X(e,t){var n=new Error(e);try{throw n}catch(r){Object.create&&Object.defineProperty&&(n=Object.create(r),Object.defineProperty(n,"column",{value:t}))}finally{return n}}function Q(e,t,n){var r,i,o;return r="Line "+e+": "+n,i=t-(gn?ln:hn)+1,o=X(r,i),o.lineNumber=e,o.description=n,o.index=t,o}function Z(e){var n,r;throw n=Array.prototype.slice.call(arguments,1),r=e.replace(/%(\d)/g,function(e,r){return t(r<n.length,"Message reference must be in range"),n[r]}),Q(dn,fn,r)}function J(e){var n,r,i;if(n=Array.prototype.slice.call(arguments,1),r=e.replace(/%(\d)/g,function(e,r){return t(r<n.length,"Message reference must be in range"),n[r]}),i=Q(cn,fn,r),!Dn.errors)throw i;G(i)}function ee(e,t){var n,r=t||rn.UnexpectedToken;return e?(t||(r=e.type===Zt.EOF?rn.UnexpectedEOS:e.type===Zt.Identifier?rn.UnexpectedIdentifier:e.type===Zt.NumericLiteral?rn.UnexpectedNumber:e.type===Zt.StringLiteral?rn.UnexpectedString:e.type===Zt.Template?rn.UnexpectedTemplate:rn.UnexpectedToken,e.type===Zt.Keyword&&(p(e.value)?r=rn.UnexpectedReserved:an&&f(e.value)&&(r=rn.StrictReservedWord))),n=e.type===Zt.Template?e.value.raw:e.value):n="ILLEGAL",r=r.replace("%0",n),e&&"number"==typeof e.lineNumber?Q(e.lineNumber,e.start,r):Q(gn?cn:dn,gn?un:fn,r)}function te(e,t){throw ee(e,t)}function ne(e,t){var n=ee(e,t);if(!Dn.errors)throw n;G(n)}function re(e){var t=$();(t.type!==Zt.Punctuator||t.value!==e)&&te(t)}function ie(){var e;Dn.errors?(e=_n,e.type===Zt.Punctuator&&","===e.value?$():e.type===Zt.Punctuator&&";"===e.value?($(),ne(e)):ne(e,rn.UnexpectedToken)):re(",")}function oe(e){var t=$();(t.type!==Zt.Keyword||t.value!==e)&&te(t)}function se(e){return _n.type===Zt.Punctuator&&_n.value===e}function ae(e){return _n.type===Zt.Keyword&&_n.value===e}function ue(e){return _n.type===Zt.Identifier&&_n.value===e}function ce(){var e;return _n.type!==Zt.Punctuator?!1:(e=_n.value,"="===e||"*="===e||"/="===e||"%="===e||"+="===e||"-="===e||"<<="===e||">>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function le(){return 59===sn.charCodeAt(mn)||se(";")?void $():void(pn||(fn=mn,dn=vn,hn=yn,_n.type===Zt.EOF||se("}")||te(_n)))}function pe(e){var t,n=wn,r=Cn,i=xn;return wn=!0,Cn=!0,xn=null,t=e(),null!==xn&&te(xn),wn=n,Cn=r,xn=i,t}function fe(e){var t,n=wn,r=Cn,i=xn;return wn=!0,Cn=!0,xn=null,t=e(),wn=wn&&n,Cn=Cn&&r,xn=i||xn,t}function de(e,t){var n,r,i=new Y,o=[];for(re("[");!se("]");)if(se(","))$(),o.push(null);else{if(se("...")){r=new Y,$(),e.push(_n),n=Je(t),o.push(r.finishRestElement(n));break}o.push(ye(e,t)),se("]")||re(",")}return re("]"),i.finishArrayPattern(o)}function he(e,t){var n,r,i,o=new Y,s=se("[");if(_n.type===Zt.Identifier){if(r=_n,n=Je(),se("="))return e.push(r),$(),i=Ke(),o.finishProperty("init",n,!1,new K(r).finishAssignmentPattern(n,i),!1,!1);if(!se(":"))return e.push(r),o.finishProperty("init",n,!1,n,!1,!0)}else n=Ee();return re(":"),i=ye(e,t),o.finishProperty("init",n,s,i,!1,!1)}function me(e,t){var n=new Y,r=[];for(re("{");!se("}");)r.push(he(e,t)),se("}")||re(",");return $(),n.finishObjectPattern(r)}function ve(e,t){return se("[")?de(e,t):se("{")?me(e,t):(ae("let")&&("const"===t||"let"===t)&&ne(_n,rn.UnexpectedToken),e.push(_n),Je(t))}function ye(e,t){var n,r,i,o=_n;return n=ve(e,t),se("=")&&($(),r=En.allowYield,En.allowYield=!0,i=pe(Ke),En.allowYield=r,n=new K(o).finishAssignmentPattern(n,i)),n}function ge(){var e,t=[],n=new Y;for(re("[");!se("]");)se(",")?($(),t.push(null)):se("...")?(e=new Y,$(),e.finishSpreadElement(fe(Ke)),se("]")||(Cn=wn=!1,re(",")),t.push(e)):(t.push(fe(Ke)),se("]")||re(","));return $(),n.finishArrayExpression(t)}function be(e,t,n){var r,i;return Cn=wn=!1,r=an,i=pe(Pt),an&&t.firstRestricted&&ne(t.firstRestricted,t.message),an&&t.stricted&&ne(t.stricted,t.message),an=r,e.finishFunctionExpression(null,t.params,t.defaults,i,n)}function _e(){var e,t,n=new Y,r=En.allowYield;return En.allowYield=!1,e=Rt(),En.allowYield=r,En.allowYield=!1,t=be(n,e,!1),En.allowYield=r,t}function Ee(){var e,t,n=new Y;switch(e=$(),e.type){case Zt.StringLiteral:case Zt.NumericLiteral:return an&&e.octal&&ne(e,rn.StrictOctalLiteral),n.finishLiteral(e);case Zt.Identifier:case Zt.BooleanLiteral:case Zt.NullLiteral:case Zt.Keyword:return n.finishIdentifier(e.value);case Zt.Punctuator:if("["===e.value)return t=pe(Ke),re("]"),t}te(e)}function De(){switch(_n.type){case Zt.Identifier:case Zt.StringLiteral:case Zt.BooleanLiteral:case Zt.NullLiteral:case Zt.NumericLiteral:case Zt.Keyword:return!0;case Zt.Punctuator:return"["===_n.value}return!1}function we(e,t,n,r){var i,o,s,a,u=En.allowYield;if(e.type===Zt.Identifier){if("get"===e.value&&De())return n=se("["),t=Ee(),s=new Y,re("("),re(")"),En.allowYield=!1,i=be(s,{params:[],defaults:[],stricted:null,firstRestricted:null,message:null},!1),En.allowYield=u,r.finishProperty("get",t,n,i,!1,!1);if("set"===e.value&&De())return n=se("["),t=Ee(),s=new Y,re("("),o={params:[],defaultCount:0,defaults:[],firstRestricted:null,paramSet:{}},se(")")?ne(_n):(En.allowYield=!1,Ot(o),En.allowYield=u,0===o.defaultCount&&(o.defaults=[])),re(")"),En.allowYield=!1,i=be(s,o,!1),En.allowYield=u,r.finishProperty("set",t,n,i,!1,!1)}else if(e.type===Zt.Punctuator&&"*"===e.value&&De())return n=se("["),t=Ee(),s=new Y,En.allowYield=!0,a=Rt(),En.allowYield=u,En.allowYield=!1,i=be(s,a,!0),En.allowYield=u,r.finishProperty("init",t,n,i,!0,!1);return t&&se("(")?(i=_e(),r.finishProperty("init",t,n,i,!0,!1)):null}function Ce(e){
|
||
var t,n,r,i,o,s=_n,a=new Y;return t=se("["),se("*")?$():n=Ee(),(r=we(s,n,t,a))?r:(n||te(_n),t||(i=n.type===tn.Identifier&&"__proto__"===n.name||n.type===tn.Literal&&"__proto__"===n.value,e.value&&i&&J(rn.DuplicateProtoProperty),e.value|=i),se(":")?($(),o=fe(Ke),a.finishProperty("init",n,t,o,!1,!1)):s.type===Zt.Identifier?se("=")?(xn=_n,$(),o=pe(Ke),a.finishProperty("init",n,t,new K(s).finishAssignmentPattern(n,o),!1,!0)):a.finishProperty("init",n,t,n,!1,!0):void te(_n))}function xe(){var e=[],t={value:!1},n=new Y;for(re("{");!se("}");)e.push(Ce(t)),se("}")||ie();return re("}"),n.finishObjectExpression(e)}function Ae(e){var t;switch(e.type){case tn.Identifier:case tn.MemberExpression:case tn.RestElement:case tn.AssignmentPattern:break;case tn.SpreadElement:e.type=tn.RestElement,Ae(e.argument);break;case tn.ArrayExpression:for(e.type=tn.ArrayPattern,t=0;t<e.elements.length;t++)null!==e.elements[t]&&Ae(e.elements[t]);break;case tn.ObjectExpression:for(e.type=tn.ObjectPattern,t=0;t<e.properties.length;t++)Ae(e.properties[t].value);break;case tn.AssignmentExpression:e.type=tn.AssignmentPattern,Ae(e.left)}}function Pe(e){var t,n;return(_n.type!==Zt.Template||e.head&&!_n.head)&&te(),t=new Y,n=$(),t.finishTemplateElement({raw:n.value.raw,cooked:n.value.cooked},n.tail)}function Se(){var e,t,n,r=new Y;for(e=Pe({head:!0}),t=[e],n=[];!e.tail;)n.push(Ge()),e=Pe({head:!1}),t.push(e);return r.finishTemplateLiteral(t,n)}function Oe(){var e,t,n,r,i=[];if(re("("),se(")"))return $(),se("=>")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[],rawParams:[]};if(n=_n,se("..."))return e=ct(i),re(")"),se("=>")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[e]};if(wn=!0,e=fe(Ke),se(",")){for(Cn=!1,t=[e];bn>mn&&se(",");){if($(),se("...")){for(wn||te(_n),t.push(ct(i)),re(")"),se("=>")||re("=>"),wn=!1,r=0;r<t.length;r++)Ae(t[r]);return{type:nn.ArrowParameterPlaceHolder,params:t}}t.push(fe(Ke))}e=new K(n).finishSequenceExpression(t)}if(re(")"),se("=>")){if(e.type===tn.Identifier&&"yield"===e.name)return{type:nn.ArrowParameterPlaceHolder,params:[e]};if(wn||te(_n),e.type===tn.SequenceExpression)for(r=0;r<e.expressions.length;r++)Ae(e.expressions[r]);else Ae(e);e={type:nn.ArrowParameterPlaceHolder,params:e.type===tn.SequenceExpression?e.expressions:[e]}}return wn=!1,e}function Re(){var e,t,n,r;if(se("("))return wn=!1,fe(Oe);if(se("["))return fe(ge);if(se("{"))return fe(xe);if(e=_n.type,r=new Y,e===Zt.Identifier)"module"===En.sourceType&&"await"===_n.value&&ne(_n),n=r.finishIdentifier($().value);else if(e===Zt.StringLiteral||e===Zt.NumericLiteral)Cn=wn=!1,an&&_n.octal&&ne(_n,rn.StrictOctalLiteral),n=r.finishLiteral($());else if(e===Zt.Keyword){if(!an&&En.allowYield&&ae("yield"))return Te();if(Cn=wn=!1,ae("function"))return Tt();if(ae("this"))return $(),r.finishThisExpression();if(ae("class"))return Ft();if(!an&&ae("let"))return r.finishIdentifier($().value);te($())}else e===Zt.BooleanLiteral?(Cn=wn=!1,t=$(),t.value="true"===t.value,n=r.finishLiteral(t)):e===Zt.NullLiteral?(Cn=wn=!1,t=$(),t.value=null,n=r.finishLiteral(t)):se("/")||se("/=")?(Cn=wn=!1,un=mn,t="undefined"!=typeof Dn.tokens?M():j(),$(),n=r.finishLiteral(t)):e===Zt.Template?n=Se():te($());return n}function Ie(){var e,t=[];if(re("("),!se(")"))for(;bn>mn&&(se("...")?(e=new Y,$(),e.finishSpreadElement(pe(Ke))):e=pe(Ke),t.push(e),!se(")"));)ie();return re(")"),t}function Te(){var e,t=new Y;return e=$(),B(e)||te(e),t.finishIdentifier(e.value)}function ke(){return re("."),Te()}function Ne(){var e;return re("["),e=pe(Ge),re("]"),e}function Fe(){var e,t,n=new Y;if(oe("new"),se(".")){if($(),_n.type===Zt.Identifier&&"target"===_n.value&&En.inFunctionBody)return $(),n.finishMetaProperty("new","target");te(_n)}return e=pe(Me),t=se("(")?Ie():[],Cn=wn=!1,n.finishNewExpression(e,t)}function je(){var e,t,n,r,i,o=En.allowIn;for(i=_n,En.allowIn=!0,ae("super")&&En.inFunctionBody?(t=new Y,$(),t=t.finishSuper(),se("(")||se(".")||se("[")||te(_n)):t=fe(ae("new")?Fe:Re);;)if(se("."))wn=!1,Cn=!0,r=ke(),t=new K(i).finishMemberExpression(".",t,r);else if(se("("))wn=!1,Cn=!1,n=Ie(),t=new K(i).finishCallExpression(t,n);else if(se("["))wn=!1,Cn=!0,r=Ne(),t=new K(i).finishMemberExpression("[",t,r);else{if(_n.type!==Zt.Template||!_n.head)break;e=Se(),t=new K(i).finishTaggedTemplateExpression(t,e)}return En.allowIn=o,t}function Me(){var e,n,r,i;for(t(En.allowIn,"callee of new expression always allow in keyword."),i=_n,ae("super")&&En.inFunctionBody?(n=new Y,$(),n=n.finishSuper(),se("[")||se(".")||te(_n)):n=fe(ae("new")?Fe:Re);;)if(se("["))wn=!1,Cn=!0,r=Ne(),n=new K(i).finishMemberExpression("[",n,r);else if(se("."))wn=!1,Cn=!0,r=ke(),n=new K(i).finishMemberExpression(".",n,r);else{if(_n.type!==Zt.Template||!_n.head)break;e=Se(),n=new K(i).finishTaggedTemplateExpression(n,e)}return n}function Be(){var e,t,n=_n;return e=fe(je),pn||_n.type!==Zt.Punctuator||(se("++")||se("--"))&&(an&&e.type===tn.Identifier&&d(e.name)&&J(rn.StrictLHSPostfix),Cn||J(rn.InvalidLHSInAssignment),Cn=wn=!1,t=$(),e=new K(n).finishPostfixExpression(t.value,e)),e}function Le(){var e,t,n;return _n.type!==Zt.Punctuator&&_n.type!==Zt.Keyword?t=Be():se("++")||se("--")?(n=_n,e=$(),t=fe(Le),an&&t.type===tn.Identifier&&d(t.name)&&J(rn.StrictLHSPrefix),Cn||J(rn.InvalidLHSInAssignment),t=new K(n).finishUnaryExpression(e.value,t),Cn=wn=!1):se("+")||se("-")||se("~")||se("!")?(n=_n,e=$(),t=fe(Le),t=new K(n).finishUnaryExpression(e.value,t),Cn=wn=!1):ae("delete")||ae("void")||ae("typeof")?(n=_n,e=$(),t=fe(Le),t=new K(n).finishUnaryExpression(e.value,t),an&&"delete"===t.operator&&t.argument.type===tn.Identifier&&J(rn.StrictDelete),Cn=wn=!1):t=Be(),t}function Ve(e,t){var n=0;if(e.type!==Zt.Punctuator&&e.type!==Zt.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function Ue(){var e,t,n,r,i,o,s,a,u,c;if(e=_n,u=fe(Le),r=_n,i=Ve(r,En.allowIn),0===i)return u;for(Cn=wn=!1,r.prec=i,$(),t=[e,_n],s=pe(Le),o=[u,r,s];(i=Ve(_n,En.allowIn))>0;){for(;o.length>2&&i<=o[o.length-2].prec;)s=o.pop(),a=o.pop().value,u=o.pop(),t.pop(),n=new K(t[t.length-1]).finishBinaryExpression(a,u,s),o.push(n);r=$(),r.prec=i,o.push(r),t.push(_n),n=pe(Le),o.push(n)}for(c=o.length-1,n=o[c],t.pop();c>1;)n=new K(t.pop()).finishBinaryExpression(o[c-1].value,o[c-2],n),c-=2;return n}function $e(){var e,t,n,r,i;return i=_n,e=fe(Ue),se("?")&&($(),t=En.allowIn,En.allowIn=!0,n=pe(Ke),En.allowIn=t,re(":"),r=pe(Ke),e=new K(i).finishConditionalExpression(e,n,r),Cn=wn=!1),e}function We(){return se("{")?Pt():pe(Ke)}function He(e,n){var r;switch(n.type){case tn.Identifier:St(e,n,n.name);break;case tn.RestElement:He(e,n.argument);break;case tn.AssignmentPattern:He(e,n.left);break;case tn.ArrayPattern:for(r=0;r<n.elements.length;r++)null!==n.elements[r]&&He(e,n.elements[r]);break;case tn.YieldExpression:break;default:for(t(n.type===tn.ObjectPattern,"Invalid type"),r=0;r<n.properties.length;r++)He(e,n.properties[r].value)}}function qe(e){var t,n,r,i,o,s,a,u;switch(o=[],s=0,i=[e],e.type){case tn.Identifier:break;case nn.ArrowParameterPlaceHolder:i=e.params;break;default:return null}for(a={paramSet:{}},t=0,n=i.length;n>t;t+=1)switch(r=i[t],r.type){case tn.AssignmentPattern:i[t]=r.left,r.right.type===tn.YieldExpression&&(r.right.argument&&te(_n),r.right.type=tn.Identifier,r.right.name="yield",delete r.right.argument,delete r.right.delegate),o.push(r.right),++s,He(a,r.left);break;default:He(a,r),i[t]=r,o.push(null)}if(an||!En.allowYield)for(t=0,n=i.length;n>t;t+=1)r=i[t],r.type===tn.YieldExpression&&te(_n);return a.message===rn.StrictParamDupe&&(u=an?a.stricted:a.firstRestricted,te(u,a.message)),0===s&&(o=[]),{params:i,defaults:o,stricted:a.stricted,firstRestricted:a.firstRestricted,message:a.message}}function ze(e,t){var n,r,i;return pn&&ne(_n),re("=>"),n=an,r=En.allowYield,En.allowYield=!0,i=We(),an&&e.firstRestricted&&te(e.firstRestricted,e.message),an&&e.stricted&&ne(e.stricted,e.message),an=n,En.allowYield=r,t.finishArrowFunctionExpression(e.params,e.defaults,i,i.type!==tn.BlockStatement)}function Ye(){var e,t,n,r;return e=null,t=new Y,oe("yield"),pn||(r=En.allowYield,En.allowYield=!1,n=se("*"),n?($(),e=Ke()):se(";")||se("}")||se(")")||_n.type===Zt.EOF||(e=Ke()),En.allowYield=r),t.finishYieldExpression(e,n)}function Ke(){var e,t,n,r,i;return i=_n,e=_n,!En.allowYield&&ae("yield")?Ye():(t=$e(),t.type===nn.ArrowParameterPlaceHolder||se("=>")?(Cn=wn=!1,r=qe(t),r?(xn=null,ze(r,new K(i))):t):(ce()&&(Cn||J(rn.InvalidLHSInAssignment),an&&t.type===tn.Identifier&&(d(t.name)&&ne(e,rn.StrictLHSAssignment),f(t.name)&&ne(e,rn.StrictReservedWord)),se("=")?Ae(t):Cn=wn=!1,e=$(),n=pe(Ke),t=new K(i).finishAssignmentExpression(e.value,t,n),xn=null),t))}function Ge(){var e,t,n=_n;if(e=pe(Ke),se(",")){for(t=[e];bn>mn&&se(",");)$(),t.push(pe(Ke));e=new K(n).finishSequenceExpression(t)}return e}function Xe(){if(_n.type===Zt.Keyword)switch(_n.value){case"export":return"module"!==En.sourceType&&ne(_n,rn.IllegalExportDeclaration),Ut();case"import":return"module"!==En.sourceType&&ne(_n,rn.IllegalImportDeclaration),zt();case"const":return ut({inFor:!1});case"function":return It(new Y);case"class":return Nt()}return ae("let")&&at()?ut({inFor:!1}):At()}function Qe(){for(var e=[];bn>mn&&!se("}");)e.push(Xe());return e}function Ze(){var e,t=new Y;return re("{"),e=Qe(),re("}"),t.finishBlockStatement(e)}function Je(e){var t,n=new Y;return t=$(),t.type===Zt.Keyword&&"yield"===t.value?(an&&ne(t,rn.StrictReservedWord),En.allowYield||te(t)):t.type!==Zt.Identifier?an&&t.type===Zt.Keyword&&f(t.value)?ne(t,rn.StrictReservedWord):(an||"let"!==t.value||"var"!==e)&&te(t):"module"===En.sourceType&&t.type===Zt.Identifier&&"await"===t.value&&ne(t),n.finishIdentifier(t.value)}function et(e){var t,n=null,r=new Y,i=[];return t=ve(i,"var"),an&&d(t.name)&&J(rn.StrictVarName),se("=")?($(),n=pe(Ke)):t.type===tn.Identifier||e.inFor||re("="),r.finishVariableDeclarator(t,n)}function tt(e){var t=[];do{if(t.push(et({inFor:e.inFor})),!se(","))break;$()}while(bn>mn);return t}function nt(e){var t;return oe("var"),t=tt({inFor:!1}),le(),e.finishVariableDeclaration(t)}function rt(e,t){var n,r=null,i=new Y,o=[];return n=ve(o,e),an&&n.type===tn.Identifier&&d(n.name)&&J(rn.StrictVarName),"const"===e?ae("in")||ue("of")||(re("="),r=pe(Ke)):(!t.inFor&&n.type!==tn.Identifier||se("="))&&(re("="),r=pe(Ke)),i.finishVariableDeclarator(n,r)}function it(e,t){var n=[];do{if(n.push(rt(e,t)),!se(","))break;$()}while(bn>mn);return n}function ot(){return{index:un,lineNumber:cn,lineStart:ln,hasLineTerminator:pn,lastIndex:fn,lastLineNumber:dn,lastLineStart:hn,startIndex:mn,startLineNumber:vn,startLineStart:yn,lookahead:_n,tokenCount:Dn.tokens?Dn.tokens.length:0}}function st(e){un=e.index,cn=e.lineNumber,ln=e.lineStart,pn=e.hasLineTerminator,fn=e.lastIndex,dn=e.lastLineNumber,hn=e.lastLineStart,mn=e.startIndex,vn=e.startLineNumber,yn=e.startLineStart,_n=e.lookahead,Dn.tokens&&Dn.tokens.splice(e.tokenCount,Dn.tokens.length)}function at(){var e,t;return t=ot(),$(),e=_n.type===Zt.Identifier||se("[")||se("{")||ae("let")||ae("yield"),st(t),e}function ut(e){var n,r,i=new Y;return n=$().value,t("let"===n||"const"===n,"Lexical declaration must be either let or const"),r=it(n,e),le(),i.finishLexicalDeclaration(r,n)}function ct(e){var t,n=new Y;return $(),se("{")&&Z(rn.ObjectPatternAsRestParameter),e.push(_n),t=Je(),se("=")&&Z(rn.DefaultRestParameter),se(")")||Z(rn.ParameterAfterRestParameter),n.finishRestElement(t)}function lt(e){return re(";"),e.finishEmptyStatement()}function pt(e){var t=Ge();return le(),e.finishExpressionStatement(t)}function ft(e){var t,n,r;return oe("if"),re("("),t=Ge(),re(")"),n=At(),ae("else")?($(),r=At()):r=null,e.finishIfStatement(t,n,r)}function dt(e){var t,n,r;return oe("do"),r=En.inIteration,En.inIteration=!0,t=At(),En.inIteration=r,oe("while"),re("("),n=Ge(),re(")"),se(";")&&$(),e.finishDoWhileStatement(t,n)}function ht(e){var t,n,r;return oe("while"),re("("),t=Ge(),re(")"),r=En.inIteration,En.inIteration=!0,n=At(),En.inIteration=r,e.finishWhileStatement(t,n)}function mt(e){var t,n,r,i,o,s,a,u,c,l,p,f,d=En.allowIn;if(t=o=s=null,n=!0,oe("for"),re("("),se(";"))$();else if(ae("var"))t=new Y,$(),En.allowIn=!1,l=tt({inFor:!0}),En.allowIn=d,1===l.length&&ae("in")?(t=t.finishVariableDeclaration(l),$(),a=t,u=Ge(),t=null):1===l.length&&null===l[0].init&&ue("of")?(t=t.finishVariableDeclaration(l),$(),a=t,u=Ke(),t=null,n=!1):(t=t.finishVariableDeclaration(l),re(";"));else if(ae("const")||ae("let"))t=new Y,c=$().value,an||"in"!==_n.value?(En.allowIn=!1,l=it(c,{inFor:!0}),En.allowIn=d,1===l.length&&null===l[0].init&&ae("in")?(t=t.finishLexicalDeclaration(l,c),$(),a=t,u=Ge(),t=null):1===l.length&&null===l[0].init&&ue("of")?(t=t.finishLexicalDeclaration(l,c),$(),a=t,u=Ke(),t=null,n=!1):(le(),t=t.finishLexicalDeclaration(l,c))):(t=t.finishIdentifier(c),$(),a=t,u=Ge(),t=null);else if(i=_n,En.allowIn=!1,t=fe(Ke),En.allowIn=d,ae("in"))Cn||J(rn.InvalidLHSInForIn),$(),Ae(t),a=t,u=Ge(),t=null;else if(ue("of"))Cn||J(rn.InvalidLHSInForLoop),$(),Ae(t),a=t,u=Ke(),t=null,n=!1;else{if(se(",")){for(r=[t];se(",");)$(),r.push(pe(Ke));t=new K(i).finishSequenceExpression(r)}re(";")}return"undefined"==typeof a&&(se(";")||(o=Ge()),re(";"),se(")")||(s=Ge())),re(")"),f=En.inIteration,En.inIteration=!0,p=pe(At),En.inIteration=f,"undefined"==typeof a?e.finishForStatement(t,o,s,p):n?e.finishForInStatement(a,u,p):e.finishForOfStatement(a,u,p)}function vt(e){var t,n=null;return oe("continue"),59===sn.charCodeAt(mn)?($(),En.inIteration||Z(rn.IllegalContinue),e.finishContinueStatement(null)):pn?(En.inIteration||Z(rn.IllegalContinue),e.finishContinueStatement(null)):(_n.type===Zt.Identifier&&(n=Je(),t="$"+n.name,Object.prototype.hasOwnProperty.call(En.labelSet,t)||Z(rn.UnknownLabel,n.name)),le(),null!==n||En.inIteration||Z(rn.IllegalContinue),e.finishContinueStatement(n))}function yt(e){var t,n=null;return oe("break"),59===sn.charCodeAt(fn)?($(),En.inIteration||En.inSwitch||Z(rn.IllegalBreak),e.finishBreakStatement(null)):(pn?En.inIteration||En.inSwitch||Z(rn.IllegalBreak):_n.type===Zt.Identifier&&(n=Je(),t="$"+n.name,Object.prototype.hasOwnProperty.call(En.labelSet,t)||Z(rn.UnknownLabel,n.name)),le(),null!==n||En.inIteration||En.inSwitch||Z(rn.IllegalBreak),e.finishBreakStatement(n))}function gt(e){var t=null;return oe("return"),En.inFunctionBody||J(rn.IllegalReturn),32===sn.charCodeAt(fn)&&c(sn.charCodeAt(fn+1))?(t=Ge(),le(),e.finishReturnStatement(t)):pn?e.finishReturnStatement(null):(se(";")||se("}")||_n.type===Zt.EOF||(t=Ge()),le(),e.finishReturnStatement(t))}function bt(e){var t,n;return an&&J(rn.StrictModeWith),oe("with"),re("("),t=Ge(),re(")"),n=At(),e.finishWithStatement(t,n)}function _t(){var e,t,n=[],r=new Y;for(ae("default")?($(),e=null):(oe("case"),e=Ge()),re(":");bn>mn&&!(se("}")||ae("default")||ae("case"));)t=Xe(),n.push(t);return r.finishSwitchCase(e,n)}function Et(e){var t,n,r,i,o;if(oe("switch"),re("("),t=Ge(),re(")"),re("{"),n=[],se("}"))return $(),e.finishSwitchStatement(t,n);for(i=En.inSwitch,En.inSwitch=!0,o=!1;bn>mn&&!se("}");)r=_t(),null===r.test&&(o&&Z(rn.MultipleDefaultsInSwitch),o=!0),n.push(r);return En.inSwitch=i,re("}"),e.finishSwitchStatement(t,n)}function Dt(e){var t;return oe("throw"),pn&&Z(rn.NewlineAfterThrow),t=Ge(),le(),e.finishThrowStatement(t)}function wt(){var e,t,n,r,i=[],o={},s=new Y;for(oe("catch"),re("("),se(")")&&te(_n),e=ve(i),n=0;n<i.length;n++)t="$"+i[n].value,Object.prototype.hasOwnProperty.call(o,t)&&J(rn.DuplicateBinding,i[n].value),o[t]=!0;return an&&d(e.name)&&J(rn.StrictCatchVariable),re(")"),r=Ze(),s.finishCatchClause(e,r)}function Ct(e){var t,n=null,r=null;return oe("try"),t=Ze(),ae("catch")&&(n=wt()),ae("finally")&&($(),r=Ze()),n||r||Z(rn.NoCatchOrFinally),e.finishTryStatement(t,n,r)}function xt(e){return oe("debugger"),le(),e.finishDebuggerStatement()}function At(){var e,t,n,r,i=_n.type;if(i===Zt.EOF&&te(_n),i===Zt.Punctuator&&"{"===_n.value)return Ze();if(Cn=wn=!0,r=new Y,i===Zt.Punctuator)switch(_n.value){case";":return lt(r);case"(":return pt(r)}else if(i===Zt.Keyword)switch(_n.value){case"break":return yt(r);case"continue":return vt(r);case"debugger":return xt(r);case"do":return dt(r);case"for":return mt(r);case"function":return It(r);case"if":return ft(r);case"return":return gt(r);case"switch":return Et(r);case"throw":return Dt(r);case"try":return Ct(r);case"var":return nt(r);case"while":return ht(r);case"with":return bt(r)}return e=Ge(),e.type===tn.Identifier&&se(":")?($(),n="$"+e.name,Object.prototype.hasOwnProperty.call(En.labelSet,n)&&Z(rn.Redeclaration,"Label",e.name),En.labelSet[n]=!0,t=At(),delete En.labelSet[n],r.finishLabeledStatement(e,t)):(le(),r.finishExpressionStatement(e))}function Pt(){var e,t,n,r,i,o,s,a,u,c=[],l=new Y;for(re("{");bn>mn&&_n.type===Zt.StringLiteral&&(t=_n,e=Xe(),c.push(e),e.expression.type===tn.Literal);)n=sn.slice(t.start+1,t.end-1),"use strict"===n?(an=!0,r&&ne(r,rn.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(i=En.labelSet,o=En.inIteration,s=En.inSwitch,a=En.inFunctionBody,u=En.parenthesizedCount,En.labelSet={},En.inIteration=!1,En.inSwitch=!1,En.inFunctionBody=!0,En.parenthesizedCount=0;bn>mn&&!se("}");)c.push(Xe());return re("}"),En.labelSet=i,En.inIteration=o,En.inSwitch=s,En.inFunctionBody=a,En.parenthesizedCount=u,l.finishBlockStatement(c)}function St(e,t,n){var r="$"+n;an?(d(n)&&(e.stricted=t,e.message=rn.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=rn.StrictParamDupe)):e.firstRestricted||(d(n)?(e.firstRestricted=t,e.message=rn.StrictParamName):f(n)?(e.firstRestricted=t,e.message=rn.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=rn.StrictParamDupe)),e.paramSet[r]=!0}function Ot(e){var t,n,r,i,o=[];if(t=_n,"..."===t.value)return n=ct(o),St(e,n.argument,n.argument.name),e.params.push(n),e.defaults.push(null),!1;for(n=ye(o),r=0;r<o.length;r++)St(e,o[r],o[r].value);return n.type===tn.AssignmentPattern&&(i=n.right,n=n.left,++e.defaultCount),e.params.push(n),e.defaults.push(i),!se(")")}function Rt(e){var t;if(t={params:[],defaultCount:0,defaults:[],firstRestricted:e},re("("),!se(")"))for(t.paramSet={};bn>mn&&Ot(t);)re(",");return re(")"),0===t.defaultCount&&(t.defaults=[]),{params:t.params,defaults:t.defaults,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}}function It(e,t){var n,r,i,o,s,a,u,c,l,p=null,h=[],m=[];return l=En.allowYield,oe("function"),c=se("*"),c&&$(),t&&se("(")||(r=_n,p=Je(),an?d(r.value)&&ne(r,rn.StrictFunctionName):d(r.value)?(s=r,a=rn.StrictFunctionName):f(r.value)&&(s=r,a=rn.StrictReservedWord)),En.allowYield=!c,o=Rt(s),h=o.params,m=o.defaults,i=o.stricted,s=o.firstRestricted,o.message&&(a=o.message),u=an,n=Pt(),an&&s&&te(s,a),an&&i&&ne(i,a),an=u,En.allowYield=l,e.finishFunctionDeclaration(p,h,m,n,c)}function Tt(){var e,t,n,r,i,o,s,a,u,c=null,l=[],p=[],h=new Y;return u=En.allowYield,oe("function"),a=se("*"),a&&$(),En.allowYield=!a,se("(")||(e=_n,c=an||a||!ae("yield")?Je():Te(),an?d(e.value)&&ne(e,rn.StrictFunctionName):d(e.value)?(n=e,r=rn.StrictFunctionName):f(e.value)&&(n=e,r=rn.StrictReservedWord)),i=Rt(n),l=i.params,p=i.defaults,t=i.stricted,n=i.firstRestricted,i.message&&(r=i.message),s=an,o=Pt(),an&&n&&te(n,r),an&&t&&ne(t,r),an=s,En.allowYield=u,h.finishFunctionExpression(c,l,p,o,a)}function kt(){var e,t,n,r,i,o,s,a=!1;for(e=new Y,re("{"),r=[];!se("}");)se(";")?$():(i=new Y,t=_n,n=!1,o=se("["),se("*")?$():(s=Ee(),"static"===s.name&&(De()||se("*"))&&(t=_n,n=!0,o=se("["),se("*")?$():s=Ee())),i=we(t,s,o,i),i?(i["static"]=n,"init"===i.kind&&(i.kind="method"),n?i.computed||"prototype"!==(i.key.name||i.key.value.toString())||te(t,rn.StaticPrototype):i.computed||"constructor"!==(i.key.name||i.key.value.toString())||(("method"!==i.kind||!i.method||i.value.generator)&&te(t,rn.ConstructorSpecialMethod),a?te(t,rn.DuplicateConstructor):a=!0,i.kind="constructor"),i.type=tn.MethodDefinition,delete i.method,delete i.shorthand,r.push(i)):te(_n));return $(),e.finishClassBody(r)}function Nt(e){var t,n=null,r=null,i=new Y,o=an;return an=!0,oe("class"),e&&_n.type!==Zt.Identifier||(n=Je()),ae("extends")&&($(),r=pe(je)),t=kt(),an=o,i.finishClassDeclaration(n,r,t)}function Ft(){var e,t=null,n=null,r=new Y,i=an;return an=!0,oe("class"),_n.type===Zt.Identifier&&(t=Je()),ae("extends")&&($(),n=pe(je)),e=kt(),an=i,r.finishClassExpression(t,n,e)}function jt(){var e=new Y;return _n.type!==Zt.StringLiteral&&Z(rn.InvalidModuleSpecifier),e.finishLiteral($())}function Mt(){var e,t,n,r=new Y;return ae("default")?(n=new Y,$(),t=n.finishIdentifier("default")):t=Je(),ue("as")&&($(),e=Te()),r.finishExportSpecifier(t,e)}function Bt(e){var t,n=null,r=null,i=[];if(_n.type===Zt.Keyword)switch(_n.value){case"let":case"const":return n=ut({inFor:!1}),e.finishExportNamedDeclaration(n,i,null);case"var":case"class":case"function":return n=Xe(),e.finishExportNamedDeclaration(n,i,null)}for(re("{");!se("}")&&(t=t||ae("default"),i.push(Mt()),se("}")||(re(","),!se("}"))););return re("}"),ue("from")?($(),r=jt(),le()):t?Z(_n.value?rn.UnexpectedToken:rn.MissingFromClause,_n.value):le(),e.finishExportNamedDeclaration(n,i,r)}function Lt(e){var t=null,n=null;return oe("default"),ae("function")?(t=It(new Y,!0),e.finishExportDefaultDeclaration(t)):ae("class")?(t=Nt(!0),e.finishExportDefaultDeclaration(t)):(ue("from")&&Z(rn.UnexpectedToken,_n.value),n=se("{")?xe():se("[")?ge():Ke(),le(),e.finishExportDefaultDeclaration(n))}function Vt(e){var t;return re("*"),ue("from")||Z(_n.value?rn.UnexpectedToken:rn.MissingFromClause,_n.value),$(),t=jt(),le(),e.finishExportAllDeclaration(t)}function Ut(){var e=new Y;return En.inFunctionBody&&Z(rn.IllegalExportDeclaration),oe("export"),ae("default")?Lt(e):se("*")?Vt(e):Bt(e)}function $t(){var e,t,n=new Y;return t=Te(),ue("as")&&($(),e=Je()),n.finishImportSpecifier(e,t)}function Wt(){var e=[];for(re("{");!se("}")&&(e.push($t()),se("}")||(re(","),!se("}"))););return re("}"),e}function Ht(){var e,t=new Y;return e=Te(),t.finishImportDefaultSpecifier(e)}function qt(){var e,t=new Y;return re("*"),ue("as")||Z(rn.NoAsAfterImportNamespace),$(),e=Te(),t.finishImportNamespaceSpecifier(e)}function zt(){var e,t=[],n=new Y;return En.inFunctionBody&&Z(rn.IllegalImportDeclaration),oe("import"),_n.type===Zt.StringLiteral?e=jt():(se("{")?t=t.concat(Wt()):se("*")?t.push(qt()):B(_n)&&!ae("default")?(t.push(Ht()),se(",")&&($(),se("*")?t.push(qt()):se("{")?t=t.concat(Wt()):te(_n))):te($()),ue("from")||Z(_n.value?rn.UnexpectedToken:rn.MissingFromClause,_n.value),$(),e=jt()),le(),n.finishImportDeclaration(t,e)}function Yt(){for(var e,t,n,r,i=[];bn>mn&&(t=_n,t.type===Zt.StringLiteral)&&(e=Xe(),i.push(e),e.expression.type===tn.Literal);)n=sn.slice(t.start+1,t.end-1),"use strict"===n?(an=!0,r&&ne(r,rn.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(;bn>mn&&(e=Xe(),"undefined"!=typeof e);)i.push(e);return i}function Kt(){var e,t;return W(),t=new Y,e=Yt(),t.finishProgram(e,En.sourceType)}function Gt(){var e,t,n,r=[];for(e=0;e<Dn.tokens.length;++e)t=Dn.tokens[e],n={type:t.type,value:t.value},t.regex&&(n.regex={pattern:t.regex.pattern,flags:t.regex.flags}),Dn.range&&(n.range=t.range),Dn.loc&&(n.loc=t.loc),r.push(n);Dn.tokens=r}function Xt(e,t,n){var r,i;r=String,"string"==typeof e||e instanceof String||(e=r(e)),sn=e,un=0,cn=sn.length>0?1:0,ln=0,mn=un,vn=cn,yn=ln,bn=sn.length,_n=null,En={allowIn:!0,allowYield:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,curlyStack:[]},Dn={},t=t||{},t.tokens=!0,Dn.tokens=[],Dn.tokenValues=[],Dn.tokenize=!0,Dn.delegate=n,Dn.openParenToken=-1,Dn.openCurlyToken=-1,Dn.range="boolean"==typeof t.range&&t.range,Dn.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(Dn.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(Dn.errors=[]);try{if(W(),_n.type===Zt.EOF)return Dn.tokens;for($();_n.type!==Zt.EOF;)try{$()}catch(o){if(Dn.errors){G(o);break}throw o}i=Dn.tokens,"undefined"!=typeof Dn.errors&&(i.errors=Dn.errors)}catch(s){throw s}finally{Dn={}}return i}function Qt(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),sn=e,un=0,cn=sn.length>0?1:0,ln=0,mn=un,vn=cn,yn=ln,bn=sn.length,_n=null,En={allowIn:!0,allowYield:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,curlyStack:[],sourceType:"script"},an=!1,Dn={},"undefined"!=typeof t&&(Dn.range="boolean"==typeof t.range&&t.range,Dn.loc="boolean"==typeof t.loc&&t.loc,Dn.attachComment="boolean"==typeof t.attachComment&&t.attachComment,Dn.loc&&null!==t.source&&void 0!==t.source&&(Dn.source=r(t.source)),"boolean"==typeof t.tokens&&t.tokens&&(Dn.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(Dn.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(Dn.errors=[]),Dn.attachComment&&(Dn.range=!0,Dn.comments=[],Dn.bottomRightStack=[],Dn.trailingComments=[],Dn.leadingComments=[]),"module"===t.sourceType&&(En.sourceType=t.sourceType,an=!0));try{n=Kt(),"undefined"!=typeof Dn.comments&&(n.comments=Dn.comments),"undefined"!=typeof Dn.tokens&&(Gt(),n.tokens=Dn.tokens),"undefined"!=typeof Dn.errors&&(n.errors=Dn.errors)}catch(i){throw i}finally{Dn={}}return n}var Zt,Jt,en,tn,nn,rn,on,sn,an,un,cn,ln,pn,fn,dn,hn,mn,vn,yn,gn,bn,_n,En,Dn,wn,Cn,xn;Zt={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10},Jt={},Jt[Zt.BooleanLiteral]="Boolean",Jt[Zt.EOF]="<end>",Jt[Zt.Identifier]="Identifier",Jt[Zt.Keyword]="Keyword",Jt[Zt.NullLiteral]="Null",Jt[Zt.NumericLiteral]="Numeric",Jt[Zt.Punctuator]="Punctuator",Jt[Zt.StringLiteral]="String",Jt[Zt.RegularExpression]="RegularExpression",Jt[Zt.Template]="Template",en=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],tn={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},nn={ArrowParameterPlaceHolder:"ArrowParameterPlaceHolder"},rn={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",DefaultRestParameter:"Unexpected token =",ObjectPatternAsRestParameter:"Unexpected token {",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ConstructorSpecialMethod:"Class constructor may not be an accessor",DuplicateConstructor:"A class may only have one constructor",StaticPrototype:"Classes may not have static property named prototype",MissingFromClause:"Unexpected token",NoAsAfterImportNamespace:"Unexpected token",InvalidModuleSpecifier:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalExportDeclaration:"Unexpected token",DuplicateBinding:"Duplicate binding %0"},on={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]/,
|
||
NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},K.prototype=Y.prototype={processComment:function(){var e,t,n,r,i,o,s=Dn.bottomRightStack,a=s[s.length-1];if(!(this.type===tn.Program&&this.body.length>0)){if(this.type===tn.BlockStatement&&0===this.body.length){for(t=[],i=Dn.leadingComments.length-1;i>=0;--i)o=Dn.leadingComments[i],this.range[1]>=o.range[1]&&(t.unshift(o),Dn.leadingComments.splice(i,1),Dn.trailingComments.splice(i,1));if(t.length)return void(this.innerComments=t)}if(Dn.trailingComments.length>0){for(r=[],i=Dn.trailingComments.length-1;i>=0;--i)o=Dn.trailingComments[i],o.range[0]>=this.range[1]&&(r.unshift(o),Dn.trailingComments.splice(i,1));Dn.trailingComments=[]}else a&&a.trailingComments&&a.trailingComments[0].range[0]>=this.range[1]&&(r=a.trailingComments,delete a.trailingComments);for(;a&&a.range[0]>=this.range[0];)e=s.pop(),a=s[s.length-1];if(e){if(e.leadingComments){for(n=[],i=e.leadingComments.length-1;i>=0;--i)o=e.leadingComments[i],o.range[1]<=this.range[0]&&(n.unshift(o),e.leadingComments.splice(i,1));e.leadingComments.length||(e.leadingComments=void 0)}}else if(Dn.leadingComments.length>0)for(n=[],i=Dn.leadingComments.length-1;i>=0;--i)o=Dn.leadingComments[i],o.range[1]<=this.range[0]&&(n.unshift(o),Dn.leadingComments.splice(i,1));n&&n.length>0&&(this.leadingComments=n),r&&r.length>0&&(this.trailingComments=r),s.push(this)}},finish:function(){Dn.range&&(this.range[1]=fn),Dn.loc&&(this.loc.end={line:dn,column:fn-hn},Dn.source&&(this.loc.source=Dn.source)),Dn.attachComment&&this.processComment()},finishArrayExpression:function(e){return this.type=tn.ArrayExpression,this.elements=e,this.finish(),this},finishArrayPattern:function(e){return this.type=tn.ArrayPattern,this.elements=e,this.finish(),this},finishArrowFunctionExpression:function(e,t,n,r){return this.type=tn.ArrowFunctionExpression,this.id=null,this.params=e,this.defaults=t,this.body=n,this.generator=!1,this.expression=r,this.finish(),this},finishAssignmentExpression:function(e,t,n){return this.type=tn.AssignmentExpression,this.operator=e,this.left=t,this.right=n,this.finish(),this},finishAssignmentPattern:function(e,t){return this.type=tn.AssignmentPattern,this.left=e,this.right=t,this.finish(),this},finishBinaryExpression:function(e,t,n){return this.type="||"===e||"&&"===e?tn.LogicalExpression:tn.BinaryExpression,this.operator=e,this.left=t,this.right=n,this.finish(),this},finishBlockStatement:function(e){return this.type=tn.BlockStatement,this.body=e,this.finish(),this},finishBreakStatement:function(e){return this.type=tn.BreakStatement,this.label=e,this.finish(),this},finishCallExpression:function(e,t){return this.type=tn.CallExpression,this.callee=e,this.arguments=t,this.finish(),this},finishCatchClause:function(e,t){return this.type=tn.CatchClause,this.param=e,this.body=t,this.finish(),this},finishClassBody:function(e){return this.type=tn.ClassBody,this.body=e,this.finish(),this},finishClassDeclaration:function(e,t,n){return this.type=tn.ClassDeclaration,this.id=e,this.superClass=t,this.body=n,this.finish(),this},finishClassExpression:function(e,t,n){return this.type=tn.ClassExpression,this.id=e,this.superClass=t,this.body=n,this.finish(),this},finishConditionalExpression:function(e,t,n){return this.type=tn.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=n,this.finish(),this},finishContinueStatement:function(e){return this.type=tn.ContinueStatement,this.label=e,this.finish(),this},finishDebuggerStatement:function(){return this.type=tn.DebuggerStatement,this.finish(),this},finishDoWhileStatement:function(e,t){return this.type=tn.DoWhileStatement,this.body=e,this.test=t,this.finish(),this},finishEmptyStatement:function(){return this.type=tn.EmptyStatement,this.finish(),this},finishExpressionStatement:function(e){return this.type=tn.ExpressionStatement,this.expression=e,this.finish(),this},finishForStatement:function(e,t,n,r){return this.type=tn.ForStatement,this.init=e,this.test=t,this.update=n,this.body=r,this.finish(),this},finishForOfStatement:function(e,t,n){return this.type=tn.ForOfStatement,this.left=e,this.right=t,this.body=n,this.finish(),this},finishForInStatement:function(e,t,n){return this.type=tn.ForInStatement,this.left=e,this.right=t,this.body=n,this.each=!1,this.finish(),this},finishFunctionDeclaration:function(e,t,n,r,i){return this.type=tn.FunctionDeclaration,this.id=e,this.params=t,this.defaults=n,this.body=r,this.generator=i,this.expression=!1,this.finish(),this},finishFunctionExpression:function(e,t,n,r,i){return this.type=tn.FunctionExpression,this.id=e,this.params=t,this.defaults=n,this.body=r,this.generator=i,this.expression=!1,this.finish(),this},finishIdentifier:function(e){return this.type=tn.Identifier,this.name=e,this.finish(),this},finishIfStatement:function(e,t,n){return this.type=tn.IfStatement,this.test=e,this.consequent=t,this.alternate=n,this.finish(),this},finishLabeledStatement:function(e,t){return this.type=tn.LabeledStatement,this.label=e,this.body=t,this.finish(),this},finishLiteral:function(e){return this.type=tn.Literal,this.value=e.value,this.raw=sn.slice(e.start,e.end),e.regex&&(this.regex=e.regex),this.finish(),this},finishMemberExpression:function(e,t,n){return this.type=tn.MemberExpression,this.computed="["===e,this.object=t,this.property=n,this.finish(),this},finishMetaProperty:function(e,t){return this.type=tn.MetaProperty,this.meta=e,this.property=t,this.finish(),this},finishNewExpression:function(e,t){return this.type=tn.NewExpression,this.callee=e,this.arguments=t,this.finish(),this},finishObjectExpression:function(e){return this.type=tn.ObjectExpression,this.properties=e,this.finish(),this},finishObjectPattern:function(e){return this.type=tn.ObjectPattern,this.properties=e,this.finish(),this},finishPostfixExpression:function(e,t){return this.type=tn.UpdateExpression,this.operator=e,this.argument=t,this.prefix=!1,this.finish(),this},finishProgram:function(e,t){return this.type=tn.Program,this.body=e,this.sourceType=t,this.finish(),this},finishProperty:function(e,t,n,r,i,o){return this.type=tn.Property,this.key=t,this.computed=n,this.value=r,this.kind=e,this.method=i,this.shorthand=o,this.finish(),this},finishRestElement:function(e){return this.type=tn.RestElement,this.argument=e,this.finish(),this},finishReturnStatement:function(e){return this.type=tn.ReturnStatement,this.argument=e,this.finish(),this},finishSequenceExpression:function(e){return this.type=tn.SequenceExpression,this.expressions=e,this.finish(),this},finishSpreadElement:function(e){return this.type=tn.SpreadElement,this.argument=e,this.finish(),this},finishSwitchCase:function(e,t){return this.type=tn.SwitchCase,this.test=e,this.consequent=t,this.finish(),this},finishSuper:function(){return this.type=tn.Super,this.finish(),this},finishSwitchStatement:function(e,t){return this.type=tn.SwitchStatement,this.discriminant=e,this.cases=t,this.finish(),this},finishTaggedTemplateExpression:function(e,t){return this.type=tn.TaggedTemplateExpression,this.tag=e,this.quasi=t,this.finish(),this},finishTemplateElement:function(e,t){return this.type=tn.TemplateElement,this.value=e,this.tail=t,this.finish(),this},finishTemplateLiteral:function(e,t){return this.type=tn.TemplateLiteral,this.quasis=e,this.expressions=t,this.finish(),this},finishThisExpression:function(){return this.type=tn.ThisExpression,this.finish(),this},finishThrowStatement:function(e){return this.type=tn.ThrowStatement,this.argument=e,this.finish(),this},finishTryStatement:function(e,t,n){return this.type=tn.TryStatement,this.block=e,this.guardedHandlers=[],this.handlers=t?[t]:[],this.handler=t,this.finalizer=n,this.finish(),this},finishUnaryExpression:function(e,t){return this.type="++"===e||"--"===e?tn.UpdateExpression:tn.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0,this.finish(),this},finishVariableDeclaration:function(e){return this.type=tn.VariableDeclaration,this.declarations=e,this.kind="var",this.finish(),this},finishLexicalDeclaration:function(e,t){return this.type=tn.VariableDeclaration,this.declarations=e,this.kind=t,this.finish(),this},finishVariableDeclarator:function(e,t){return this.type=tn.VariableDeclarator,this.id=e,this.init=t,this.finish(),this},finishWhileStatement:function(e,t){return this.type=tn.WhileStatement,this.test=e,this.body=t,this.finish(),this},finishWithStatement:function(e,t){return this.type=tn.WithStatement,this.object=e,this.body=t,this.finish(),this},finishExportSpecifier:function(e,t){return this.type=tn.ExportSpecifier,this.exported=t||e,this.local=e,this.finish(),this},finishImportDefaultSpecifier:function(e){return this.type=tn.ImportDefaultSpecifier,this.local=e,this.finish(),this},finishImportNamespaceSpecifier:function(e){return this.type=tn.ImportNamespaceSpecifier,this.local=e,this.finish(),this},finishExportNamedDeclaration:function(e,t,n){return this.type=tn.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=n,this.finish(),this},finishExportDefaultDeclaration:function(e){return this.type=tn.ExportDefaultDeclaration,this.declaration=e,this.finish(),this},finishExportAllDeclaration:function(e){return this.type=tn.ExportAllDeclaration,this.source=e,this.finish(),this},finishImportSpecifier:function(e,t){return this.type=tn.ImportSpecifier,this.local=e||t,this.imported=t,this.finish(),this},finishImportDeclaration:function(e,t){return this.type=tn.ImportDeclaration,this.specifiers=e,this.source=t,this.finish(),this},finishYieldExpression:function(e,t){return this.type=tn.YieldExpression,this.argument=e,this.delegate=t,this.finish(),this}},e.version="2.7.0",e.tokenize=Xt,e.parse=Qt,e.Syntax=function(){var e,t={};"function"==typeof Object.create&&(t=Object.create(null));for(e in tn)tn.hasOwnProperty(e)&&(t[e]=tn[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()})}(e("34")),r.define=i,n.exports}),e.registerDynamic("15c",["15b"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("15b"),r.define=i,n.exports}),e.registerDynamic("148",["143"],!0,function(e,t,n){"use strict";function r(e){var t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function i(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===u.indexOf(t))throw new a('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=r(t.styleAliases||null),-1===c.indexOf(this.kind))throw new a('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var o=this,s=o.define;o.define=void 0;var a=e("143"),u=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],c=["scalar","sequence","mapping"];return n.exports=i,o.define=s,n.exports}),e.registerDynamic("15d",["15c","148"],!0,function(e,t,n){"use strict";function r(e){if(null===e)return!1;try{var t="("+e+")",n=c.parse(t,{range:!0});return"Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"FunctionExpression"!==n.body[0].expression.type?!1:!0}catch(r){return!1}}function i(e){var t,n="("+e+")",r=c.parse(n,{range:!0}),i=[];if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"FunctionExpression"!==r.body[0].expression.type)throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach(function(e){i.push(e.name)}),t=r.body[0].expression.body.range,new Function(i,n.slice(t[0]+1,t[1]-1))}function o(e){return e.toString()}function s(e){return"[object Function]"===Object.prototype.toString.call(e)}var a=this,u=a.define;a.define=void 0;var c;try{c=e("15c")}catch(l){"undefined"!=typeof window&&(c=window.esprima)}var p=e("148");return n.exports=new p("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:r,construct:i,predicate:s,represent:o}),a.define=u,n.exports}),e.registerDynamic("145",["147","144","159","15a","15d"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("147");return n.exports=o.DEFAULT=new o({include:[e("144")],explicit:[e("159"),e("15a"),e("15d")]}),r.define=i,n.exports}),e.registerDynamic("143",["107"],!0,function(e,t,n){"use strict";function r(e,t){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"")}var i=this,o=i.define;i.define=void 0;var s=e("107").inherits;return s(r,Error),r.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},n.exports=r,i.define=o,n.exports}),e.registerDynamic("15e",["142","146","148","147","14c","151","152","144","145","143"],!0,function(e,t,n){"use strict";function r(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}var i=this,o=i.define;i.define=void 0;var s=e("142"),a=e("146");return n.exports.Type=e("148"),n.exports.Schema=e("147"),n.exports.FAILSAFE_SCHEMA=e("14c"),n.exports.JSON_SCHEMA=e("151"),n.exports.CORE_SCHEMA=e("152"),n.exports.DEFAULT_SAFE_SCHEMA=e("144"),n.exports.DEFAULT_FULL_SCHEMA=e("145"),n.exports.load=s.load,n.exports.loadAll=s.loadAll,n.exports.safeLoad=s.safeLoad,n.exports.safeLoadAll=s.safeLoadAll,n.exports.dump=a.dump,n.exports.safeDump=a.safeDump,n.exports.YAMLException=e("143"),n.exports.MINIMAL_SCHEMA=e("14c"),n.exports.SAFE_SCHEMA=e("144"),n.exports.DEFAULT_SCHEMA=e("145"),n.exports.scan=r("scan"),n.exports.parse=r("parse"),n.exports.compose=r("compose"),n.exports.addConstructor=r("addConstructor"),i.define=o,n.exports}),e.registerDynamic("15f",["15e"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("15e");return n.exports=o,r.define=i,n.exports}),e.registerDynamic("160",["15f"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("15f"),r.define=i,n.exports}),e.registerDynamic("136",["160"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("160");return n.exports={parse:function(e,t){return o.safeLoad(e)},stringify:function(e,t,n){var r=("string"==typeof n?n.length:n)||2;return o.safeDump(e,{indent:r})}},r.define=i,n.exports}),e.registerDynamic("161",["138","109","10d","13a","139","13b","13d","162","10e","12f","13f","101","136","10c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){"use strict";function r(){this.schema=null,this.$refs=new a,this._basePath=""}function i(e){var t=e[1],n=e[2];return"function"==typeof t&&(n=t,t=void 0),t instanceof s||(t=new s(t)),{schema:e[0],options:t,callback:n}}var o=e("138"),s=e("109"),a=e("10d"),u=e("13a"),c=e("139"),l=e("13b"),p=e("13d"),f=e("162"),d=e("10e"),h=e("12f"),m=e("13f"),v=e("101");n.exports=r,n.exports.YAML=e("136"),r.parse=function(e,t,n){var r=this;return(new r).parse(e,t,n)},r.prototype.parse=function(e,n,r){var s=i(arguments);if(s.schema&&"object"==typeof s.schema){this.schema=s.schema,this._basePath="";var a=new u(this.$refs,this._basePath);return a.setValue(this.schema,s.options),m(s.callback,o.resolve(this.schema))}if(!s.schema||"string"!=typeof s.schema){var l=v("Expected a file path, URL, or object. Got %s",s.schema);return m(s.callback,o.reject(l))}var p=this;return s.schema=d.path.localPathToUrl(s.schema),s.schema=h.resolve(d.path.cwd(),s.schema),this._basePath=d.path.stripHash(s.schema),c(s.schema,this.$refs,s.options).then(function(e){var n=e.$ref.value;if(!n||"object"!=typeof n||n instanceof t)throw v.syntax('"%s" is not a valid JSON Schema',p._basePath);return p.schema=n,m(s.callback,o.resolve(p.schema))})["catch"](function(e){return m(s.callback,o.reject(e))})},r.resolve=function(e,t,n){var r=this;return(new r).resolve(e,t,n)},r.prototype.resolve=function(e,t,n){var r=this,s=i(arguments);return this.parse(s.schema,s.options).then(function(){return l(r,s.options)}).then(function(){return m(s.callback,o.resolve(r.$refs))})["catch"](function(e){return m(s.callback,o.reject(e))})},r.bundle=function(e,t,n){var r=this;return(new r).bundle(e,t,n)},r.prototype.bundle=function(e,t,n){var r=this,s=i(arguments);return this.resolve(s.schema,s.options).then(function(){return p(r,s.options),m(s.callback,o.resolve(r.schema))})["catch"](function(e){return m(s.callback,o.reject(e))})},r.dereference=function(e,t,n){var r=this;return(new r).dereference(e,t,n)},r.prototype.dereference=function(e,t,n){var r=this,s=i(arguments);return this.resolve(s.schema,s.options).then(function(){return f(r,s.options),m(s.callback,o.resolve(r.schema))})["catch"](function(e){return m(s.callback,o.reject(e))})}}(e("10c").Buffer),r.define=i,n.exports}),e.registerDynamic("163",["161"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("161"),r.define=i,n.exports}),e.registerDynamic("13a",["13c","10e","10c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){"use strict";function r(e,t){t=o.path.stripHash(t),e._$refs[t]=this,this.$refs=e,this.path=t,this.pathType=void 0,this.pathFromRoot="#",this.value=void 0,this.expires=void 0}n.exports=r;var i=e("13c"),o=e("10e");r.prototype.isExpired=function(){return!!(this.expires&&this.expires<=new Date)},r.prototype.expire=function(){this.expires=new Date},r.prototype.setValue=function(e,t){this.value=e;var n=t.cache[this.pathType];if(n>0){var r=Date.now()+1e3*n;this.expires=new Date(r)}},r.prototype.exists=function(e){try{return this.resolve(e),!0}catch(t){return!1}},r.prototype.get=function(e,t){return this.resolve(e,t).value},r.prototype.resolve=function(e,t){var n=new i(this,e);return n.resolve(this.value,t)},r.prototype.set=function(e,t,n){var r=new i(this,e);this.value=r.set(this.value,t,n)},r.is$Ref=function(e){return e&&"object"==typeof e&&"string"==typeof e.$ref&&e.$ref.length>0},r.isExternal$Ref=function(e){return r.is$Ref(e)&&"#"!==e.$ref[0]},r.isAllowed$Ref=function(e,t){if(r.is$Ref(e))if("#"===e.$ref[0]){if(t.$refs.internal)return!0}else if(t.$refs.external)return!0}}(e("10c").Buffer),r.define=i,n.exports}),e.registerDynamic("164",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";return function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===s||t===p?62:t===a||t===f?63:u>t?-1:u+10>t?t-u+26+26:l+26>t?t-l:c+26>t?t-c+26:void 0}function n(e){function n(e){c[p++]=e}var r,o,s,a,u,c;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=e.length;u="="===e.charAt(l-2)?2:"="===e.charAt(l-1)?1:0,c=new i(3*e.length/4-u),s=u>0?e.length-4:e.length;var p=0;for(r=0,o=0;s>r;r+=4,o+=3)a=t(e.charAt(r))<<18|t(e.charAt(r+1))<<12|t(e.charAt(r+2))<<6|t(e.charAt(r+3)),n((16711680&a)>>16),n((65280&a)>>8),n(255&a);return 2===u?(a=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,n(255&a)):1===u&&(a=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2,n(a>>8&255),n(255&a)),c}function r(e){function t(e){return o.charAt(e)}function n(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var r,i,s,a=e.length%3,u="";for(r=0,s=e.length-a;s>r;r+=3)i=(e[r]<<16)+(e[r+1]<<8)+e[r+2],u+=n(i);switch(a){case 1:i=e[e.length-1],u+=t(i>>2),u+=t(i<<4&63),u+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],u+=t(i>>10),u+=t(i>>4&63),u+=t(i<<2&63),u+="="}return u}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="+".charCodeAt(0),a="/".charCodeAt(0),u="0".charCodeAt(0),c="a".charCodeAt(0),l="A".charCodeAt(0),p="-".charCodeAt(0),f="_".charCodeAt(0);e.toByteArray=n,e.fromByteArray=r}("undefined"==typeof t?this.base64js={}:t),r.define=i,n.exports}),e.registerDynamic("165",["164"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("164"),r.define=i,n.exports}),e.registerDynamic("166",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<<a)-1,c=u>>1,l=-7,p=n?i-1:0,f=n?-1:1,d=e[t+p];for(p+=f,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+e[t+p],p+=f,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+e[t+p],p+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:(d?-1:1)*(1/0);s+=Math.pow(2,r),o-=c}return(d?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,u,c=8*o-i-1,l=(1<<c)-1,p=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,h=r?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+p>=1?f/u:f*Math.pow(2,1-p),t*u>=2&&(s++,u/=2),s+p>=l?(a=0,s=l):s+p>=1?(a=(t*u-1)*Math.pow(2,i),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[n+d]=255&a,d+=h,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[n+d]=255&s,d+=h,s/=256,c-=8);e[n+d-h]|=128*m},r.define=i,n.exports}),e.registerDynamic("167",["166"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("166"),r.define=i,n.exports}),e.registerDynamic("168",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o={}.toString;return n.exports=Array.isArray||function(e){return"[object Array]"==o.call(e)},r.define=i,n.exports}),e.registerDynamic("169",["168"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("168"),r.define=i,n.exports}),e.registerDynamic("16a",["165","167","169"],!0,function(e,t,n){function r(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(n){return!1}}function i(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e){return this instanceof o?(this.length=0,this.parent=void 0,"number"==typeof e?s(this,e):"string"==typeof e?a(this,e,arguments.length>1?arguments[1]:"utf8"):u(this,e)):arguments.length>1?new o(e,arguments[1]):new o(e)}function s(e,t){if(e=m(e,0>t?0:0|v(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;n++)e[n]=0;return e}function a(e,t,n){("string"!=typeof n||""===n)&&(n="utf8");var r=0|g(t,n);return e=m(e,r),e.write(t,n),e}function u(e,t){if(o.isBuffer(t))return c(e,t);if(Z(t))return l(e,t);if(null==t)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(t.buffer instanceof ArrayBuffer)return p(e,t);if(t instanceof ArrayBuffer)return f(e,t)}return t.length?d(e,t):h(e,t)}function c(e,t){var n=0|v(t.length);return e=m(e,n),t.copy(e,0,0,n),e}function l(e,t){var n=0|v(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function p(e,t){var n=0|v(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function f(e,t){return o.TYPED_ARRAY_SUPPORT?(t.byteLength,e=o._augment(new Uint8Array(t))):e=p(e,new Uint8Array(t)),e}function d(e,t){var n=0|v(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function h(e,t){var n,r=0;"Buffer"===t.type&&Z(t.data)&&(n=t.data,r=0|v(n.length)),e=m(e,r);for(var i=0;r>i;i+=1)e[i]=255&n[i];return e}function m(e,t){o.TYPED_ARRAY_SUPPORT?(e=o._augment(new Uint8Array(t)),e.__proto__=o.prototype):(e.length=t,e._isBuffer=!0);var n=0!==t&&t<=o.poolSize>>>1;return n&&(e.parent=J),e}function v(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function y(e,t){if(!(this instanceof y))return new y(e,t);var n=new o(e,t);return delete n.parent,n}function g(e,t){"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return W(e).length;t=(""+t).toLowerCase(),r=!0}}function b(e,t,n){var r=!1;if(t=0|t,n=void 0===n||n===1/0?this.length:0|n,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return P(this,t,n);case"ascii":return O(this,t,n);case"binary":return R(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);
|
||
e=(e+"").toLowerCase(),r=!0}}function _(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;r>s;s++){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))throw new Error("Invalid hex string");e[n+s]=a}return s}function E(e,t,n,r){return Y(W(t,e.length-n),e,n,r)}function D(e,t,n,r){return Y(H(t),e,n,r)}function w(e,t,n,r){return D(e,t,n,r)}function C(e,t,n,r){return Y(z(t),e,n,r)}function x(e,t,n,r){return Y(q(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?X.fromByteArray(e):X.fromByteArray(e.slice(t,n))}function P(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;n>i;){var o=e[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(n>=i+a){var u,c,l,p;switch(a){case 1:128>o&&(s=o);break;case 2:u=e[i+1],128===(192&u)&&(p=(31&o)<<6|63&u,p>127&&(s=p));break;case 3:u=e[i+1],c=e[i+2],128===(192&u)&&128===(192&c)&&(p=(15&o)<<12|(63&u)<<6|63&c,p>2047&&(55296>p||p>57343)&&(s=p));break;case 4:u=e[i+1],c=e[i+2],l=e[i+3],128===(192&u)&&128===(192&c)&&128===(192&l)&&(p=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&l,p>65535&&1114112>p&&(s=p))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return S(r)}function S(e){var t=e.length;if(ee>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ee));return n}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function I(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=$(e[o]);return i}function T(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function k(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,i,s){if(!o.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>i||s>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range")}function F(e,t,n,r){0>t&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);o>i;i++)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function j(e,t,n,r){0>t&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);o>i;i++)e[n+i]=t>>>8*(r?i:3-i)&255}function M(e,t,n,r,i,o){if(t>i||o>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function B(e,t,n,r,i){return i||M(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,i){return i||M(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,n,r,52,8),n+8}function V(e){if(e=U(e).replace(ne,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function U(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function $(e){return 16>e?"0"+e.toString(16):e.toString(16)}function W(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],s=0;r>s;s++){if(n=e.charCodeAt(s),n>55295&&57344>n){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(56320>n){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,128>n){if((t-=1)<0)break;o.push(n)}else if(2048>n){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}function q(e,t){for(var n,r,i,o=[],s=0;s<e.length&&!((t-=2)<0);s++)n=e.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function z(e){return X.toByteArray(V(e))}function Y(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}var K=this,G=K.define;K.define=void 0;var X=e("165"),Q=e("167"),Z=e("169");t.Buffer=o,t.SlowBuffer=y,t.INSPECT_MAX_BYTES=50,o.poolSize=8192;var J={};o.TYPED_ARRAY_SUPPORT=void 0!==K.TYPED_ARRAY_SUPPORT?K.TYPED_ARRAY_SUPPORT:r(),o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array),o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);s>i&&e[i]===t[i];)++i;return i!==s&&(n=e[i],r=t[i]),r>n?-1:n>r?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Z(e))throw new TypeError("list argument must be an Array of Buffers.");if(0===e.length)return new o(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;n++)t+=e[n].length;var r=new o(t),i=0;for(n=0;n<e.length;n++){var s=e[n];s.copy(r,i),i+=s.length}return r},o.byteLength=g,o.prototype.length=void 0,o.prototype.parent=void 0,o.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?P(this,0,e):b.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===o.compare(this,e)},o.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},o.prototype.compare=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?0:o.compare(this,e)},o.prototype.indexOf=function(e,t){function n(e,t,n){for(var r=-1,i=0;n+i<e.length;i++)if(e[n+i]===t[-1===r?0:i-r]){if(-1===r&&(r=i),i-r+1===t.length)return n+r}else r=-1;return-1}if(t>2147483647?t=2147483647:-2147483648>t&&(t=-2147483648),t>>=0,0===this.length)return-1;if(t>=this.length)return-1;if(0>t&&(t=Math.max(this.length+t,0)),"string"==typeof e)return 0===e.length?-1:String.prototype.indexOf.call(this,e,t);if(o.isBuffer(e))return n(this,e,t);if("number"==typeof e)return o.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,t):n(this,[e],t);throw new TypeError("val must be string, number or Buffer")},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var i=r;r=t,t=0|n,n=i}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":return D(this,e,t,n);case"binary":return w(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,0>e?(e+=n,0>e&&(e=0)):e>n&&(e=n),0>t?(t+=n,0>t&&(t=0)):t>n&&(t=n),e>t&&(t=e);var r;if(o.TYPED_ARRAY_SUPPORT)r=o._augment(this.subarray(e,t));else{var i=t-e;r=new o(i,void 0);for(var s=0;i>s;s++)r[s]=this[s+e]}return r.length&&(r.parent=this.parent||this),r},o.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},o.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUInt8=function(e,t){return t||k(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||k(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||k(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||k(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||k(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||k(e,4,this.length),Q.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||k(e,4,this.length),Q.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||k(e,8,this.length),Q.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||k(e,8,this.length),Q.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||N(this,e,t,n,Math.pow(2,8*n),0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||N(this,e,t,n,Math.pow(2,8*n),0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=0,s=1,a=0>e?1:0;for(this[t]=255&e;++o<n&&(s*=256);)this[t+o]=(e/s>>0)-a&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0>e?1:0;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=(e/s>>0)-a&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t=0|t,n||N(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,s=r-n;if(this===e&&t>n&&r>t)for(i=s-1;i>=0;i--)e[i+t]=this[i+n];else if(1e3>s||!o.TYPED_ARRAY_SUPPORT)for(i=0;s>i;i++)e[i+t]=this[i+n];else e._set(this.subarray(n,n+s),t);return s},o.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new RangeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>n||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var i=W(e.toString()),o=i.length;for(r=t;n>r;r++)this[r]=i[r%o]}return this}},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o.TYPED_ARRAY_SUPPORT)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var te=o.prototype;o._augment=function(e){return e.constructor=o,e._isBuffer=!0,e._set=e.set,e.get=te.get,e.set=te.set,e.write=te.write,e.toString=te.toString,e.toLocaleString=te.toString,e.toJSON=te.toJSON,e.equals=te.equals,e.compare=te.compare,e.indexOf=te.indexOf,e.copy=te.copy,e.slice=te.slice,e.readUIntLE=te.readUIntLE,e.readUIntBE=te.readUIntBE,e.readUInt8=te.readUInt8,e.readUInt16LE=te.readUInt16LE,e.readUInt16BE=te.readUInt16BE,e.readUInt32LE=te.readUInt32LE,e.readUInt32BE=te.readUInt32BE,e.readIntLE=te.readIntLE,e.readIntBE=te.readIntBE,e.readInt8=te.readInt8,e.readInt16LE=te.readInt16LE,e.readInt16BE=te.readInt16BE,e.readInt32LE=te.readInt32LE,e.readInt32BE=te.readInt32BE,e.readFloatLE=te.readFloatLE,e.readFloatBE=te.readFloatBE,e.readDoubleLE=te.readDoubleLE,e.readDoubleBE=te.readDoubleBE,e.writeUInt8=te.writeUInt8,e.writeUIntLE=te.writeUIntLE,e.writeUIntBE=te.writeUIntBE,e.writeUInt16LE=te.writeUInt16LE,e.writeUInt16BE=te.writeUInt16BE,e.writeUInt32LE=te.writeUInt32LE,e.writeUInt32BE=te.writeUInt32BE,e.writeIntLE=te.writeIntLE,e.writeIntBE=te.writeIntBE,e.writeInt8=te.writeInt8,e.writeInt16LE=te.writeInt16LE,e.writeInt16BE=te.writeInt16BE,e.writeInt32LE=te.writeInt32LE,e.writeInt32BE=te.writeInt32BE,e.writeFloatLE=te.writeFloatLE,e.writeFloatBE=te.writeFloatBE,e.writeDoubleLE=te.writeDoubleLE,e.writeDoubleBE=te.writeDoubleBE,e.fill=te.fill,e.inspect=te.inspect,e.toArrayBuffer=te.toArrayBuffer,e};var ne=/[^+\/0-9A-Za-z-_]/g;return K.define=G,n.exports}),e.registerDynamic("16b",["16a"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("16a"),r.define=i,n.exports}),e.registerDynamic("16c",["16b"],!0,function(t,n,r){var i=this,o=i.define;return i.define=void 0,r.exports=e._nodeRequire?e._nodeRequire("buffer"):t("16b"),i.define=o,r.exports}),e.registerDynamic("10c",["16c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("16c"),r.define=i,n.exports}),e.registerDynamic("13c",["13a","10e","12f","101","10c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(t){"use strict";function r(e,t){this.$ref=e,this.path=t,this.value=void 0,this.circular=!1}function i(e,t){if(s.isAllowed$Ref(e.value,t)){var n=u.resolve(e.path,e.value.$ref);if(n===e.path)e.circular=!0;else if(1===Object.keys(e.value).length){var r=e.$ref.$refs._resolve(n);return e.$ref=r.$ref,e.path=r.path,e.value=r.value,!0}}}function o(e,t,n){if(!e.value||"object"!=typeof e.value)throw c.syntax('Error assigning $ref pointer "%s". \nCannot set "%s" of a non-object.',e.path,t);return"-"===t&&Array.isArray(e.value)?e.value.push(n):e.value[t]=n,n}n.exports=r;var s=e("13a"),a=e("10e"),u=e("12f"),c=e("101"),l=/\//g,p=/~/g,f=/~1/g,d=/~0/g;r.prototype.resolve=function(e,t){var n=r.parse(this.path);this.value=e;for(var o=0;o<n.length;o++){i(this,t)&&(this.path=r.join(this.path,n.slice(o)));var s=n[o];if(void 0===this.value[s])throw c.syntax('Error resolving $ref pointer "%s". \nToken "%s" does not exist.',this.path,s);this.value=this.value[s]}return i(this,t),this},r.prototype.set=function(e,t,n){var s,a=r.parse(this.path);if(0===a.length)return this.value=t,t;this.value=e;for(var u=0;u<a.length-1;u++)i(this,n),s=a[u],this.value&&void 0!==this.value[s]?this.value=this.value[s]:this.value=o(this,s,{});return i(this,n),s=a[a.length-1],o(this,s,t),e},r.parse=function(e){var t=a.path.getHash(e).substr(1);if(!t)return[];t=t.split("/");for(var n=0;n<t.length;n++)t[n]=decodeURI(t[n].replace(f,"/").replace(d,"~"));if(""!==t[0])throw c.syntax('Invalid $ref pointer "%s". Pointers must begin with "#/"',t);return t.slice(1)},r.join=function(e,t){-1===e.indexOf("#")&&(e+="#"),t=Array.isArray(t)?t:[t];for(var n=0;n<t.length;n++){var r=t[n];e+="/"+encodeURI(r.replace(p,"~0").replace(l,"~1"))}return e}}(e("10c").Buffer),r.define=i,n.exports}),e.registerDynamic("16d",[],!0,function(e,t,n){function r(e){if(e=""+e,!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*d;case"days":case"day":case"d":return n*f;case"hours":case"hour":case"hrs":case"hr":case"h":return n*p;case"minutes":case"minute":case"mins":case"min":case"m":return n*l;case"seconds":case"second":case"secs":case"sec":case"s":return n*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n}}}}function i(e){return e>=f?Math.round(e/f)+"d":e>=p?Math.round(e/p)+"h":e>=l?Math.round(e/l)+"m":e>=c?Math.round(e/c)+"s":e+"ms"}function o(e){return s(e,f,"day")||s(e,p,"hour")||s(e,l,"minute")||s(e,c,"second")||e+" ms"}function s(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var a=this,u=a.define;a.define=void 0;var c=1e3,l=60*c,p=60*l,f=24*p,d=365.25*f;return n.exports=function(e,t){return t=t||{},"string"==typeof e?r(e):t["long"]?o(e):i(e)},a.define=u,n.exports}),e.registerDynamic("16e",["16d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("16d"),r.define=i,n.exports}),e.registerDynamic("16f",["16e"],!0,function(e,t,n){function r(){return t.colors[f++%t.colors.length]}function i(e){function n(){}function i(){var e=i,n=+new Date,o=n-(p||n);e.diff=o,e.prev=p,e.curr=n,p=n,null==e.useColors&&(e.useColors=t.useColors()),null==e.color&&e.useColors&&(e.color=r());var s=Array.prototype.slice.call(arguments);s[0]=t.coerce(s[0]),"string"!=typeof s[0]&&(s=["%o"].concat(s));var a=0;s[0]=s[0].replace(/%([a-z%])/g,function(n,r){if("%%"===n)return n;a++;var i=t.formatters[r];if("function"==typeof i){var o=s[a];n=i.call(e,o),s.splice(a,1),a--}return n}),"function"==typeof t.formatArgs&&(s=t.formatArgs.apply(e,s));var u=i.log||t.log||console.log.bind(console);u.apply(e,s)}n.enabled=!1,i.enabled=!0;var o=t.enabled(e)?i:n;return o.namespace=e,o}function o(e){t.save(e);for(var n=(e||"").split(/[\s,]+/),r=n.length,i=0;r>i;i++)n[i]&&(e=n[i].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))}function s(){t.enable("")}function a(e){var n,r;for(n=0,r=t.skips.length;r>n;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;r>n;n++)if(t.names[n].test(e))return!0;return!1}function u(e){return e instanceof Error?e.stack||e.message:e}var c=this,l=c.define;c.define=void 0,t=n.exports=i,t.coerce=u,t.disable=s,t.enable=o,t.enabled=a,t.humanize=e("16e"),t.names=[],t.skips=[],t.formatters={};var p,f=0;return c.define=l,n.exports}),e.registerDynamic("170",["16f"],!0,function(e,t,n){function r(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function i(){var e=arguments,n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return e;var r="color: "+this.color;e=[e[0],r,"color: inherit"].concat(Array.prototype.slice.call(e,1));var i=0,o=0;return e[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,r),e}function o(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}}function a(){var e;try{e=t.storage.debug}catch(n){}return e}function u(){try{return window.localStorage}catch(e){}}var c=this,l=c.define;return c.define=void 0,t=n.exports=e("16f"),t.log=o,t.formatArgs=i,t.save=s,t.load=a,t.useColors=r,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:u(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){return JSON.stringify(e)},t.enable(a()),c.define=l,n.exports}),e.registerDynamic("106",["170"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("170"),r.define=i,n.exports}),e.registerDynamic("10e",["106","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=e("106"),i=/^win/.test(n.platform),o=/\//g,s=/^[a-z0-9.+-]+:\/\//i,a=[/\?/g,"%3F",/\#/g,"%23",i?/\\/g:/\//,"/"],u=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];t.debug=r("json-schema-ref-parser"),t.path={},t.path.cwd=function(){return n.browser?location.href:n.cwd()+"/"},t.path.isUrl=function(e){return s.test(e)},t.path.localPathToUrl=function(e){if(!n.browser&&!t.path.isUrl(e)){for(var r=0;r<a.length;r+=2)e=e.replace(a[r],a[r+1]);e=encodeURI(e)}return e},t.path.urlToLocalPath=function(e){e=decodeURI(e);for(var t=0;t<u.length;t+=2)e=e.replace(u[t],u[t+1]);return i&&(e=e.replace(o,"\\")),e},t.path.getHash=function(e){var t=e.indexOf("#");return t>=0?e.substr(t):""},t.path.stripHash=function(e){var t=e.indexOf("#");return t>=0&&(e=e.substr(0,t)),e},t.path.extname=function(e){var t=e.lastIndexOf(".");return t>=0?e.substr(t).toLowerCase():""}}(e("34")),r.define=i,n.exports}),e.registerDynamic("171",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8},r.define=i,n.exports}),e.registerDynamic("172",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,"function"==typeof Object.create?n.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},r.define=i,n.exports}),e.registerDynamic("124",["172"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("172"),r.define=i,n.exports}),e.registerDynamic("173",["171","124","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){function i(e,n){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),E(r.showHidden)&&(r.showHidden=!1),E(r.depth)&&(r.depth=2),E(r.colors)&&(r.colors=!1),E(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function s(e,t){return e}function a(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function u(e,n,r){if(e.customInspect&&n&&A(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return b(i)||(i=u(e,i,r)),i}var o=c(e,n);if(o)return o;var s=Object.keys(n),m=a(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),x(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return l(n);if(0===s.length){if(A(n)){var v=n.name?": "+n.name:"";return e.stylize("[Function"+v+"]","special")}if(D(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(C(n))return e.stylize(Date.prototype.toString.call(n),"date");if(x(n))return l(n)}var y="",g=!1,_=["{","}"];if(h(n)&&(g=!0,_=["[","]"]),A(n)){var E=n.name?": "+n.name:"";y=" [Function"+E+"]"}if(D(n)&&(y=" "+RegExp.prototype.toString.call(n)),C(n)&&(y=" "+Date.prototype.toUTCString.call(n)),x(n)&&(y=" "+l(n)),0===s.length&&(!g||0==n.length))return _[0]+y+_[1];if(0>r)return D(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var w;return w=g?p(e,n,r,m,s):s.map(function(t){return f(e,n,r,m,t,g)}),e.seen.pop(),d(w,y,_)}function c(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return g(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i){for(var o=[],s=0,a=t.length;a>s;++s)I(t,String(s))?o.push(f(e,t,n,r,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(f(e,t,n,r,i,!0))}),o}function f(e,t,n,r,i,o){var s,a,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),I(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=v(n)?u(e,c.value,null):u(e,c.value,n-1),a.indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),E(s)){if(o&&i.match(/^\d+$/))return a;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function d(e,t,n){var r=0,i=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function y(e){return null==e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function _(e){return"symbol"==typeof e}function E(e){return void 0===e}function D(e){return w(e)&&"[object RegExp]"===S(e)}function w(e){return"object"==typeof e&&null!==e}function C(e){return w(e)&&"[object Date]"===S(e)}function x(e){return w(e)&&("[object Error]"===S(e)||e instanceof Error)}function A(e){return"function"==typeof e}function P(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function S(e){return Object.prototype.toString.call(e)}function O(e){return 10>e?"0"+e.toString(10):e.toString(10)}function R(){var e=new Date,t=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":");return[e.getDate(),F[e.getMonth()],t].join(" ")}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var T=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(i(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,s=String(e).replace(T,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}}),a=r[n];o>n;a=r[++n])s+=v(a)||!w(a)?" "+a:" "+i(a);return s},t.deprecate=function(e,i){function o(){if(!s){if(n.throwDeprecation)throw new Error(i);n.traceDeprecation?console.trace(i):console.error(i),s=!0}return e.apply(this,arguments)}if(E(r.process))return function(){return t.deprecate(e,i).apply(this,arguments)};if(n.noDeprecation===!0)return e;var s=!1;return o};var k,N={};t.debuglog=function(e){if(E(k)&&(k=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!N[e])if(new RegExp("\\b"+e+"\\b","i").test(k)){var r=n.pid;N[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else N[e]=function(){};return N[e]},t.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=m,t.isNull=v,t.isNullOrUndefined=y,t.isNumber=g,t.isString=b,t.isSymbol=_,t.isUndefined=E,t.isRegExp=D,t.isObject=w,t.isDate=C,t.isError=x,t.isFunction=A,t.isPrimitive=P,t.isBuffer=e("171");var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];t.log=function(){console.log("%s - %s",R(),t.format.apply(t,arguments))},t.inherits=e("124"),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}(e("34")),r.define=i,n.exports}),e.registerDynamic("174",["173"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("173"),r.define=i,n.exports}),e.registerDynamic("175",["174"],!0,function(t,n,r){var i=this,o=i.define;return i.define=void 0,r.exports=e._nodeRequire?e._nodeRequire("util"):t("174"),i.define=o,r.exports}),e.registerDynamic("107",["175"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("175"),r.define=i,n.exports}),e.registerDynamic("176",["107"],!0,function(e,t,n){"use strict";function r(e){return function(t,r,o,s){var a,u,l=n.exports.formatter;"string"==typeof t?(a=l.apply(null,arguments),t=r=void 0):a="string"==typeof r?l.apply(null,c.call(arguments,1)):l.apply(null,c.call(arguments,2)),t instanceof Error||(r=t,t=void 0),t&&(a+=(a?" \n":"")+t.message,u=t.stack);var p=new e(a);return i(p,u,r),p}}function i(e,t,n){if(t&&(e.stack+=" \n\n"+t),n&&"object"==typeof n)for(var r=Object.keys(n),i=0;i<r.length;i++){var s=r[i];e[s]=n[s]}e.toJSON=o}function o(){var e={name:this.name,message:this.message},t=Object.keys(this);t=t.concat(["description","number","fileName","lineNumber","columnNumber","stack"]);for(var n=0;n<t.length;n++){var r=t[n],i=this[r];void 0!==i&&(e[r]=i)}return e}var s=this,a=s.define;s.define=void 0;var u=e("107"),c=Array.prototype.slice;return n.exports=r(Error),n.exports.error=r(Error),n.exports.eval=r(EvalError),n.exports.range=r(RangeError),n.exports.reference=r(ReferenceError),n.exports.syntax=r(SyntaxError),n.exports.type=r(TypeError),n.exports.uri=r(URIError),n.exports.formatter=u.format,s.define=a,n.exports}),e.registerDynamic("101",["176"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,
|
||
n.exports=e("176"),r.define=i,n.exports}),e.registerDynamic("177",["34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(e){!function(e){function i(e){throw RangeError(k[e])}function o(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function s(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(T,".");var i=e.split("."),s=o(i,t).join(".");return r+s}function a(e){for(var t,n,r=[],i=0,o=e.length;o>i;)t=e.charCodeAt(i++),t>=55296&&56319>=t&&o>i?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function u(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=j(e>>>10&1023|55296),e=56320|1023&e),t+=j(e)}).join("")}function c(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:D}function l(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function p(e,t,n){var r=0;for(e=n?F(e/A):e>>1,e+=F(e/t);e>N*C>>1;r+=D)e=F(e/N);return F(r+(N+1)*e/(e+x))}function f(e){var t,n,r,o,s,a,l,f,d,h,m=[],v=e.length,y=0,g=S,b=P;for(n=e.lastIndexOf(O),0>n&&(n=0),r=0;n>r;++r)e.charCodeAt(r)>=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;v>o;){for(s=y,a=1,l=D;o>=v&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=D||f>F((E-y)/a))&&i("overflow"),y+=f*a,d=b>=l?w:l>=b+C?C:l-b,!(d>f);l+=D)h=D-d,a>F(E/h)&&i("overflow"),a*=h;t=m.length+1,b=p(y-s,t,0==s),F(y/t)>E-g&&i("overflow"),g+=F(y/t),y%=t,m.splice(y++,0,g)}return u(m)}function d(e){var t,n,r,o,s,u,c,f,d,h,m,v,y,g,b,_=[];for(e=a(e),v=e.length,t=S,n=0,s=P,u=0;v>u;++u)m=e[u],128>m&&_.push(j(m));for(r=o=_.length,o&&_.push(O);v>r;){for(c=E,u=0;v>u;++u)m=e[u],m>=t&&c>m&&(c=m);for(y=r+1,c-t>F((E-n)/y)&&i("overflow"),n+=(c-t)*y,t=c,u=0;v>u;++u)if(m=e[u],t>m&&++n>E&&i("overflow"),m==t){for(f=n,d=D;h=s>=d?w:d>=s+C?C:d-s,!(h>f);d+=D)b=f-h,g=D-h,_.push(j(l(h+b%g,0))),f=F(b/g);_.push(j(l(f,0))),s=p(n,y,r==o),n=0,++r}++n,++t}return _.join("")}function h(e){return s(e,function(e){return R.test(e)?f(e.slice(4).toLowerCase()):e})}function m(e){return s(e,function(e){return I.test(e)?"xn--"+d(e):e})}var v="object"==typeof t&&t&&!t.nodeType&&t,y="object"==typeof n&&n&&!n.nodeType&&n,g="object"==typeof r&&r;(g.global===g||g.window===g||g.self===g)&&(e=g);var b,_,E=2147483647,D=36,w=1,C=26,x=38,A=700,P=72,S=128,O="-",R=/^xn--/,I=/[^\x20-\x7E]/,T=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=D-w,F=Math.floor,j=String.fromCharCode;if(b={version:"1.3.2",ucs2:{decode:a,encode:u},decode:f,encode:d,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(v&&y)if(n.exports==v)y.exports=b;else for(_ in b)b.hasOwnProperty(_)&&(v[_]=b[_]);else e.punycode=b}(this)}(e("34")),r.define=i,n.exports}),e.registerDynamic("178",["177"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("177"),r.define=i,n.exports}),e.registerDynamic("179",[],!0,function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var i=this,o=i.define;return i.define=void 0,n.exports=function(e,t,n,i){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var u=e.length;a>0&&u>a&&(u=a);for(var c=0;u>c;++c){var l,p,f,d,h=e[c].replace(s,"%20"),m=h.indexOf(n);m>=0?(l=h.substr(0,m),p=h.substr(m+1)):(l=h,p=""),f=decodeURIComponent(l),d=decodeURIComponent(p),r(o,f)?Array.isArray(o[f])?o[f].push(d):o[f]=[o[f],d]:o[f]=d}return o},i.define=o,n.exports}),e.registerDynamic("17a",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};return n.exports=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var i=encodeURIComponent(o(r))+n;return Array.isArray(e[r])?e[r].map(function(e){return i+encodeURIComponent(o(e))}).join(t):i+encodeURIComponent(o(e[r]))}).join(t):r?encodeURIComponent(o(r))+n+encodeURIComponent(o(e)):""},r.define=i,n.exports}),e.registerDynamic("17b",["179","17a"],!0,function(e,t,n){"use strict";var r=this,i=r.define;return r.define=void 0,t.decode=t.parse=e("179"),t.encode=t.stringify=e("17a"),r.define=i,n.exports}),e.registerDynamic("17c",["17b"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("17b"),r.define=i,n.exports}),e.registerDynamic("17d",["178","17c"],!0,function(e,t,n){function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,n){if(e&&c(e)&&e instanceof r)return e;var i=new r;return i.parse(e,t,n),i}function o(e){return u(e)&&(e=i(e)),e instanceof r?e.format():r.prototype.format.call(e)}function s(e,t){return i(e,!1,!0).resolve(t)}function a(e,t){return e?i(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function c(e){return"object"==typeof e&&null!==e}function l(e){return null===e}function p(e){return null==e}var f=this,d=f.define;f.define=void 0;var h=e("178");t.parse=i,t.resolve=s,t.resolveObject=a,t.format=o,t.Url=r;var m=/^([a-z0-9.+-]+:)/i,v=/:[0-9]*$/,y=["<",">",'"',"`"," ","\r","\n"," "],g=["{","}","|","\\","^","`"].concat(y),b=["'"].concat(g),_=["%","/","?",";","#"].concat(b),E=["/","?","#"],D=255,w=/^[a-z0-9A-Z_-]{0,63}$/,C=/^([a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},A={javascript:!0,"javascript:":!0},P={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},S=e("17c");return r.prototype.parse=function(e,t,n){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e;r=r.trim();var i=m.exec(r);if(i){i=i[0];var o=i.toLowerCase();this.protocol=o,r=r.substr(i.length)}if(n||i||r.match(/^\/\/[^@\/]+@[^@\/]+/)){var s="//"===r.substr(0,2);!s||i&&A[i]||(r=r.substr(2),this.slashes=!0)}if(!A[i]&&(s||i&&!P[i])){for(var a=-1,c=0;c<E.length;c++){var l=r.indexOf(E[c]);-1!==l&&(-1===a||a>l)&&(a=l)}var p,f;f=-1===a?r.lastIndexOf("@"):r.lastIndexOf("@",a),-1!==f&&(p=r.slice(0,f),r=r.slice(f+1),this.auth=decodeURIComponent(p)),a=-1;for(var c=0;c<_.length;c++){var l=r.indexOf(_[c]);-1!==l&&(-1===a||a>l)&&(a=l)}-1===a&&(a=r.length),this.host=r.slice(0,a),r=r.slice(a),this.parseHost(),this.hostname=this.hostname||"";var d="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!d)for(var v=this.hostname.split(/\./),c=0,y=v.length;y>c;c++){var g=v[c];if(g&&!g.match(w)){for(var O="",R=0,I=g.length;I>R;R++)O+=g.charCodeAt(R)>127?"x":g[R];if(!O.match(w)){var T=v.slice(0,c),k=v.slice(c+1),N=g.match(C);N&&(T.push(N[1]),k.unshift(N[2])),k.length&&(r="/"+k.join(".")+r),this.hostname=T.join(".");break}}}if(this.hostname.length>D?this.hostname="":this.hostname=this.hostname.toLowerCase(),!d){for(var F=this.hostname.split("."),j=[],c=0;c<F.length;++c){var M=F[c];j.push(M.match(/[^A-Za-z0-9_-]/)?"xn--"+h.encode(M):M)}this.hostname=j.join(".")}var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==r[0]&&(r="/"+r))}if(!x[o])for(var c=0,y=b.length;y>c;c++){var V=b[c],U=encodeURIComponent(V);U===V&&(U=escape(V)),r=r.split(V).join(U)}var $=r.indexOf("#");-1!==$&&(this.hash=r.substr($),r=r.slice(0,$));var W=r.indexOf("?");if(-1!==W?(this.search=r.substr(W),this.query=r.substr(W+1),t&&(this.query=S.parse(this.query)),r=r.slice(0,W)):t&&(this.search="",this.query={}),r&&(this.pathname=r),P[o]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var B=this.pathname||"",M=this.search||"";this.path=B+M}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&c(this.query)&&Object.keys(this.query).length&&(o=S.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||P[t])&&i!==!1?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace("#","%23"),t+i+n+s+r},r.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(u(e)){var t=new r;t.parse(e,!1,!0),e=t}var n=new r;if(Object.keys(this).forEach(function(e){n[e]=this[e]},this),n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol)return Object.keys(e).forEach(function(t){"protocol"!==t&&(n[t]=e[t])}),P[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n;if(e.protocol&&e.protocol!==n.protocol){if(!P[e.protocol])return Object.keys(e).forEach(function(t){n[t]=e[t]}),n.href=n.format(),n;if(n.protocol=e.protocol,e.host||A[e.protocol])n.pathname=e.pathname;else{for(var i=(e.pathname||"").split("/");i.length&&!(e.host=i.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==i[0]&&i.unshift(""),i.length<2&&i.unshift(""),n.pathname=i.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var o=n.pathname||"",s=n.search||"";n.path=o+s}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var a=n.pathname&&"/"===n.pathname.charAt(0),c=e.host||e.pathname&&"/"===e.pathname.charAt(0),f=c||a||n.host&&e.pathname,d=f,h=n.pathname&&n.pathname.split("/")||[],i=e.pathname&&e.pathname.split("/")||[],m=n.protocol&&!P[n.protocol];if(m&&(n.hostname="",n.port=null,n.host&&(""===h[0]?h[0]=n.host:h.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===i[0]?i[0]=e.host:i.unshift(e.host)),e.host=null),f=f&&(""===i[0]||""===h[0])),c)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,h=i;else if(i.length)h||(h=[]),h.pop(),h=h.concat(i),n.search=e.search,n.query=e.query;else if(!p(e.search)){if(m){n.hostname=n.host=h.shift();var v=n.host&&n.host.indexOf("@")>0?n.host.split("@"):!1;v&&(n.auth=v.shift(),n.host=n.hostname=v.shift())}return n.search=e.search,n.query=e.query,l(n.pathname)&&l(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!h.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var y=h.slice(-1)[0],g=(n.host||e.host)&&("."===y||".."===y)||""===y,b=0,_=h.length;_>=0;_--)y=h[_],"."==y?h.splice(_,1):".."===y?(h.splice(_,1),b++):b&&(h.splice(_,1),b--);if(!f&&!d)for(;b--;b)h.unshift("..");!f||""===h[0]||h[0]&&"/"===h[0].charAt(0)||h.unshift(""),g&&"/"!==h.join("/").substr(-1)&&h.push("");var E=""===h[0]||h[0]&&"/"===h[0].charAt(0);if(m){n.hostname=n.host=E?"":h.length?h.shift():"";var v=n.host&&n.host.indexOf("@")>0?n.host.split("@"):!1;v&&(n.auth=v.shift(),n.host=n.hostname=v.shift())}return f=f||n.host&&h.length,f&&!E&&h.unshift(""),h.length?n.pathname=h.join("/"):(n.pathname=null,n.path=null),l(n.pathname)&&l(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=v.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},f.define=d,n.exports}),e.registerDynamic("17e",["17d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("17d"),r.define=i,n.exports}),e.registerDynamic("17f",["17e"],!0,function(t,n,r){var i=this,o=i.define;return i.define=void 0,r.exports=e._nodeRequire?e._nodeRequire("url"):t("17e"),i.define=o,r.exports}),e.registerDynamic("12f",["17f"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("17f"),r.define=i,n.exports}),e.registerDynamic("162",["13a","13c","10e","101","12f"],!0,function(e,t,n){"use strict";function r(e,t){p.debug("Dereferencing $ref pointers in %s",e._basePath),e.$refs.circular=!1,i(e.schema,e._basePath,[],e.$refs,t)}function i(e,t,n,r,a){var u=!1;return e&&"object"==typeof e&&(n.push(e),Object.keys(e).forEach(function(f){var h=l.join(t,f),m=e[f],v=!1;if(c.isAllowed$Ref(m,a)){p.debug('Dereferencing $ref pointer "%s" at %s',m.$ref,h);var y=d.resolve(t,m.$ref),g=r._resolve(y,a);v=g.circular||-1!==n.indexOf(g.value),v&&s(h,r,a);var b=o(m,g.value);v||(v=i(b,g.path,n,r,a)),v&&a.$refs.circular!==!0||(e[f]=b)}else v=-1===n.indexOf(m)?i(m,h,n,r,a):s(h,r,a);u=u||v}),n.pop()),u}function o(e,t){if(t&&"object"==typeof t&&Object.keys(e).length>1){var n={};return Object.keys(e).forEach(function(t){"$ref"!==t&&(n[t]=e[t])}),Object.keys(t).forEach(function(e){e in n||(n[e]=t[e])}),n}return t}function s(e,t,n){if(t.circular=!0,!n.$refs.circular)throw f.reference("Circular $ref pointer found at %s",e);return!0}var a=this,u=a.define;a.define=void 0;var c=e("13a"),l=e("13c"),p=e("10e"),f=e("101"),d=e("12f");return n.exports=r,a.define=u,n.exports}),e.registerDynamic("180",["100","105","102","108","10a","13f","101","163","162"],!0,function(e,t,n){"use strict";function r(){d.apply(this,arguments)}var i=this,o=i.define;i.define=void 0;var s=e("100"),a=e("105"),u=e("102"),c=e("108"),l=e("10a"),p=e("13f"),f=e("101"),d=e("163"),h=e("162");return n.exports=r,u.inherits(r,d),r.YAML=d.YAML,r.parse=d.parse,r.resolve=d.resolve,r.bundle=d.bundle,r.dereference=d.dereference,Object.defineProperty(r.prototype,"api",{configurable:!0,enumerable:!0,get:function(){return this.schema}}),r.prototype.parse=function(e,t,n){"function"==typeof t&&(n=t,t=void 0),t=new c(t);var r=e;return d.prototype.parse.call(this,e,t).then(function(e){var t=["2.0"];if(void 0===e.swagger||void 0===e.info||void 0===e.paths)throw f.syntax("%s is not a valid Swagger API definition",r);if("number"==typeof e.swagger)throw f.syntax('Swagger version number must be a string (e.g. "2.0") not a number.');if("number"==typeof e.info.version)throw f.syntax('API version number must be a string (e.g. "1.0.0") not a number.');if(-1===t.indexOf(e.swagger))throw f.syntax("Unsupported Swagger version: %d. Swagger Parser only supports version %s",e.swagger,t.join(", "));return p(n,l.resolve(e))})["catch"](function(e){return p(n,l.reject(e))})},r.validate=function(e,t,n){var r=this;return(new r).validate(e,t,n)},r.prototype.validate=function(e,t,n){"function"==typeof t&&(n=t,t=void 0),t=new c(t);var r=this,i=t.$refs.circular;return t.validate.schema&&(t.$refs.circular="ignore"),this.dereference(e,t).then(function(){if(t.$refs.circular=i,t.validate.schema&&(s(r.api),r.$refs.circular))if(i===!0)h(r,t);else if(i===!1)throw f.reference("The API contains circular references");return t.validate.spec&&a(r.api),p(n,l.resolve(r.schema))})["catch"](function(e){return p(n,l.reject(e))})},i.define=o,n.exports}),e.registerDynamic("181",["180"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("180"),r.define=i,n.exports}),e.registerDynamic("de",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,r.define=i,n.exports}),e.registerDynamic("182",["183","184"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("183"),s=e("184");return n.exports=function(e){return function(t,n){var r,i,a=String(s(t)),u=o(n),c=a.length;return 0>u||u>=c?e?"":void 0:(r=a.charCodeAt(u),55296>r||r>56319||u+1===c||(i=a.charCodeAt(u+1))<56320||i>57343?e?a.charAt(u):r:e?a.slice(u,u+2):(r-55296<<10)+(i-56320)+65536)}},r.define=i,n.exports}),e.registerDynamic("30",["182","185"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("182")(!0);return e("185")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=o(t,n),this._i+=e.length,{value:e,done:!1})}),r.define=i,n.exports}),e.registerDynamic("186",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(){},r.define=i,n.exports}),e.registerDynamic("187",["186","188","2c","189","185"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("186"),s=e("188"),a=e("2c"),u=e("189");return n.exports=e("185")(Array,"Array",function(e,t){this._t=u(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,s(1)):"keys"==t?s(0,n):"values"==t?s(0,e[n]):s(0,[n,e[n]])},"values"),a.Arguments=a.Array,o("keys"),o("values"),o("entries"),r.define=i,n.exports}),e.registerDynamic("2f",["187","2c"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0,e("187");var o=e("2c");return o.NodeList=o.HTMLCollection=o.Array,r.define=i,n.exports}),e.registerDynamic("d5",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=!0,r.define=i,n.exports}),e.registerDynamic("18a",["99","18b","db","18c","2b"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("99"),s=e("18b"),a=e("db"),u={};return e("18c")(u,e("2b")("iterator"),function(){return this}),n.exports=function(e,t,n){e.prototype=o.create(u,{next:s(1,n)}),a(e,t+" Iterator")},r.define=i,n.exports}),e.registerDynamic("185",["d5","8f","18d","18c","18e","2c","18a","db","99","2b"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("d5"),s=e("8f"),a=e("18d"),u=e("18c"),c=e("18e"),l=e("2c"),p=e("18a"),f=e("db"),d=e("99").getProto,h=e("2b")("iterator"),m=!([].keys&&"next"in[].keys()),v="@@iterator",y="keys",g="values",b=function(){return this};return n.exports=function(e,t,n,r,i,_,E){p(n,t,r);var D,w,C=function(e){if(!m&&e in S)return S[e];switch(e){case y:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",A=i==g,P=!1,S=e.prototype,O=S[h]||S[v]||i&&S[i],R=O||C(i);if(O){var I=d(R.call(new e));f(I,x,!0),!o&&c(S,v)&&u(I,h,b),A&&O.name!==g&&(P=!0,R=function(){return O.call(this)})}if(o&&!E||!m&&!P&&S[h]||u(S,h,R),l[t]=R,l[x]=b,i)if(D={values:A?R:C(g),keys:_?R:C(y),entries:A?C("entries"):R},E)for(w in D)w in S||a(S,w,D[w]);else s(s.P+s.F*(m||P),t,D);return D},r.define=i,n.exports}),e.registerDynamic("188",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e,t){return{value:t,done:!!e}},r.define=i,n.exports}),e.registerDynamic("dc",["2d","99","d9","2b"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("2d"),s=e("99"),a=e("d9"),u=e("2b")("species");return n.exports=function(e){var t=o[e];a&&t&&!t[u]&&s.setDesc(t,u,{configurable:!0,get:function(){return this}})},r.define=i,n.exports}),e.registerDynamic("e2",["99","18c","da","8e","d6","184","d7","185","188","18f","18e","d0","dc","d9"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("99"),s=e("18c"),a=e("da"),u=e("8e"),c=e("d6"),l=e("184"),p=e("d7"),f=e("185"),d=e("188"),h=e("18f")("id"),m=e("18e"),v=e("d0"),y=e("dc"),g=e("d9"),b=Object.isExtensible||v,_=g?"_s":"size",E=0,D=function(e,t){if(!v(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!m(e,h)){if(!b(e))return"F";if(!t)return"E";s(e,h,++E)}return"O"+e[h]},w=function(e,t){var n,r=D(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};return n.exports={getConstructor:function(e,t,n,r){var i=e(function(e,s){c(e,i,t),e._i=o.create(null),e._f=void 0,e._l=void 0,e[_]=0,void 0!=s&&p(s,n,e[r],e)});return a(i.prototype,{clear:function(){for(var e=this,t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e._f=e._l=void 0,e[_]=0},"delete":function(e){var t=this,n=w(t,e);if(n){var r=n.n,i=n.p;delete t._i[n.i],n.r=!0,i&&(i.n=r),r&&(r.p=i),t._f==n&&(t._f=r),t._l==n&&(t._l=i),t[_]--}return!!n},forEach:function(e){for(var t,n=u(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!w(this,e)}}),g&&o.setDesc(i.prototype,"size",{get:function(){return l(this[_])}}),i},def:function(e,t,n){var r,i,o=w(e,t);return o?o.v=n:(e._l=o={i:i=D(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[_]++,"F"!==i&&(e._i[i]=o)),e},getEntry:w,setStrong:function(e,t,n){f(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?d(0,n.k):"values"==t?d(0,n.v):d(0,[n.k,n.v]):(e._t=void 0,d(1))},n?"entries":"values",!n,!0),y(t)}},r.define=i,n.exports}),e.registerDynamic("18b",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},r.define=i,n.exports}),e.registerDynamic("18c",["99","18b","d9"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("99"),s=e("18b");return n.exports=e("d9")?function(e,t,n){return o.setDesc(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e},r.define=i,n.exports}),e.registerDynamic("18d",["18c"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("18c"),r.define=i,n.exports}),e.registerDynamic("da",["18d"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("18d");return n.exports=function(e,t){for(var n in t)o(e,n,t[n]);return e},r.define=i,n.exports}),e.registerDynamic("d6",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(n+": use the 'new' operator!");return e},r.define=i,n.exports}),e.registerDynamic("18e",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o={}.hasOwnProperty;return n.exports=function(e,t){return o.call(e,t)},r.define=i,n.exports}),e.registerDynamic("db",["99","18e","2b"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("99").setDesc,s=e("18e"),a=e("2b")("toStringTag");return n.exports=function(e,t,n){e&&!s(e=n?e:e.prototype,a)&&o(e,a,{configurable:!0,value:t})},r.define=i,n.exports}),e.registerDynamic("d9",["9b"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=!e("9b")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),r.define=i,n.exports}),e.registerDynamic("e3",["99","ce","8f","9b","18c","da","d7","d6","d0","db","d9"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("99"),r=e("ce"),s=e("8f"),a=e("9b"),u=e("18c"),c=e("da"),l=e("d7"),p=e("d6"),f=e("d0"),d=e("db"),h=e("d9");return n.exports=function(e,t,n,i,m,v){var y=r[e],g=y,b=m?"set":"add",_=g&&g.prototype,E={};return h&&"function"==typeof g&&(v||_.forEach&&!a(function(){(new g).entries().next()}))?(g=t(function(t,n){p(t,g,e),t._c=new y,void 0!=n&&l(n,m,t[b],t)}),o.each.call("add,clear,delete,forEach,get,has,set,keys,values,entries".split(","),function(e){var t="add"==e||"set"==e;e in _&&(!v||"clear"!=e)&&u(g.prototype,e,function(n,r){if(!t&&v&&!f(n))return"get"==e?void 0:!1;var i=this._c[e](0===n?0:n,r);return t?this:i})}),"size"in _&&o.setDesc(g.prototype,"size",{get:function(){return this._c.size}})):(g=i.getConstructor(t,e,m,b),c(g.prototype,n)),d(g,e),E[e]=g,s(s.G+s.W+s.F,E),v||i.setStrong(g,e,m),g},r.define=i,n.exports}),e.registerDynamic("190",["e2","e3"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("e2");return e("e3")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return o.def(this,e=0===e?0:e,e)}},o),r.define=i,n.exports}),e.registerDynamic("91",["ca"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("ca");return n.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(i){var s=e["return"];throw void 0!==s&&o(s.call(e)),i}},r.define=i,n.exports}),e.registerDynamic("92",["2c","2b"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("2c"),s=e("2b")("iterator"),a=Array.prototype;return n.exports=function(e){return void 0!==e&&(o.Array===e||a[s]===e)},r.define=i,n.exports}),e.registerDynamic("183",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=Math.ceil,s=Math.floor;return n.exports=function(e){return isNaN(e=+e)?0:(e>0?s:o)(e)},r.define=i,n.exports}),e.registerDynamic("93",["183"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("183"),s=Math.min;return n.exports=function(e){return e>0?s(o(e),9007199254740991):0},r.define=i,n.exports}),e.registerDynamic("2c",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={},r.define=i,n.exports}),e.registerDynamic("94",["2a","2b","2c","2d"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("2a"),s=e("2b")("iterator"),a=e("2c");return n.exports=e("2d").getIteratorMethod=function(e){return void 0!=e?e[s]||e["@@iterator"]||a[o(e)]:void 0},r.define=i,n.exports}),e.registerDynamic("d7",["8e","91","92","ca","93","94"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("8e"),s=e("91"),a=e("92"),u=e("ca"),c=e("93"),l=e("94");return n.exports=function(e,t,n,r){var i,p,f,d=l(e),h=o(n,r,t?2:1),m=0;if("function"!=typeof d)throw TypeError(e+" is not iterable!");if(a(d))for(i=c(e.length);i>m;m++)t?h(u(p=e[m])[0],p[1]):h(e[m]);else for(f=d.call(e);!(p=f.next()).done;)s(f,h,p.value,t)},r.define=i,n.exports}),e.registerDynamic("191",["ce"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var r=e("ce"),o="__core-js_shared__",s=r[o]||(r[o]={});return n.exports=function(e){return s[e]||(s[e]={})},r.define=i,n.exports}),e.registerDynamic("18f",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=0,s=Math.random();return n.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++o+s).toString(36))},r.define=i,n.exports}),e.registerDynamic("2b",["191","18f","ce"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("191")("wks"),s=e("18f"),a=e("ce").Symbol;return n.exports=function(e){return o[e]||(o[e]=a&&a[e]||(a||s)("Symbol."+e))},r.define=i,n.exports}),e.registerDynamic("2a",["d2","2b"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("d2"),s=e("2b")("toStringTag"),a="Arguments"==o(function(){return arguments}());return n.exports=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=(t=Object(e))[s])?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r},r.define=i,n.exports}),e.registerDynamic("e5",["d7","2a"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("d7"),s=e("2a");return n.exports=function(e){return function(){if(s(this)!=e)throw TypeError(e+"#toJSON isn't generic");var t=[];return o(this,!1,t.push,t),t}},r.define=i,n.exports}),e.registerDynamic("192",["8f","e5"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("8f");return o(o.P,"Set",{toJSON:e("e5")("Set")}),r.define=i,n.exports}),e.registerDynamic("193",["de","30","2f","190","192","2d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("de"),e("30"),e("2f"),e("190"),e("192"),n.exports=e("2d").Set,r.define=i,n.exports}),e.registerDynamic("1e",["193"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("193"),__esModule:!0},r.define=i,n.exports}),e.register("194",["1e"],function(e){var t,n;return{setters:[function(e){t=e["default"]}],execute:function(){"use strict";n=new t(["get","put","post","delete","options","head","patch"]),e("methods",n)}}}),e.register("1b",["6","7","24","32","181","194","1f","e7","c"],function(e){var t,n,r,i,o,s,a,u,c,l;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e.methods},function(e){a=e["default"]},function(e){u=e["default"]},function(e){c=e["default"]}],execute:function(){"use strict";l=function(){function e(){return n(this,e),e.prototype._instance?e.prototype._instance:(e.prototype._instance=this,void(this._schema={}))}return t(e,[{key:"load",value:function(e){var t=this,n=new a(function(n,r){t._schema={},o.bundle(e,{http:{withCredentials:!1}}).then(function(e){t._schema=e,n(t._schema),t.init()},function(e){return r(e)})});return n}},{key:"init",value:function(){this.apiUrl=this._schema.schemes[0]+"://"+this._schema.host+this._schema.basePath,this.apiUrl.endsWith("/")&&(this.apiUrl=this.apiUrl.substr(0,this.apiUrl.length-1))}},{key:"byPointer",value:function(e){var t=null;try{t=c.get(this._schema,e)}catch(n){}return t}},{key:"resolveRefs",value:function(e){var t=this;return r(e).forEach(function(n){if(e[n].$ref){var r=t.byPointer(e[n].$ref);r._pointer=e[n].$ref,e[n]=r}}),e}},{key:"getMethodParams",value:function(e,t){function n(e,t){if(!Array.isArray(e))throw new Error("parameters must be an array. Got "+typeof e+" at "+t);return e.map(function(e,n){return e._pointer=c.join(t,n),e})}"parameters"===c.baseName(e)&&(e=c.dirName(e));var r=c.join(c.dirName(e),["parameters"]),i=this.byPointer(r)||[],o=c.join(e,["parameters"]),s=this.byPointer(o)||[];return i=n(i,r),s=n(s,o),t&&(s=this.resolveRefs(s),i=this.resolveRefs(i)),s.concat(i)}},{key:"getTagsMap",value:function(){var e=this._schema.tags||[],t={},n=!0,r=!1,o=void 0;try{for(var s,a=i(e);!(n=(s=a.next()).done);n=!0){var u=s.value;t[u.name]={description:u.description,"x-traitTag":u["x-traitTag"]||!1}}}catch(c){r=!0,o=c}finally{try{!n&&a["return"]&&a["return"]()}finally{if(r)throw o}}return t}},{key:"buildMenuTree",value:function(){var e=new u,t=this._schema.tags||[],n=!0,o=!1,a=void 0;try{for(var l,p=i(t);!(n=(l=p.next()).done);n=!0){var f=l.value;e.set(f.name,{description:f.description,"x-traitTag":f["x-traitTag"],methods:[]})}}catch(d){o=!0,a=d}finally{try{!n&&p["return"]&&p["return"]()}finally{if(o)throw a}}var h=this._schema.paths,m=!0,v=!1,y=void 0;try{for(var g,b=i(r(h));!(m=(g=b.next()).done);m=!0){var _=g.value,E=r(h[_]).filter(function(e){return s.has(e)}),D=!0,w=!1,C=void 0;try{for(var x,A=i(E);!(D=(x=A.next()).done);D=!0){var P=x.value,S=h[_][P],O=S.tags;O&&O.length||(O=["[Other]"]);var R=c.compile(["paths",_,P]),I=S.summary,T=!0,k=!1,N=void 0;try{for(var F,j=i(O);!(T=(F=j.next()).done);T=!0){var f=F.value,M=e.get(f);M||(M={},e.set(f,M)),M["x-traitTag"]||(M.methods||(M.methods=[]),M.methods.push({pointer:R,summary:I}))}}catch(d){k=!0,N=d}finally{try{!T&&j["return"]&&j["return"]()}finally{if(k)throw N}}}}catch(d){w=!0,C=d}finally{try{!D&&A["return"]&&A["return"]()}finally{if(w)throw C}}}}catch(d){v=!0,y=d}finally{try{!m&&b["return"]&&b["return"]()}finally{if(v)throw y}}return e}},{key:"schema",get:function(){return this._schema}}],[{key:"instance",value:function(){return new e}}]),e}(),e("default",l)}}}),e.registerDynamic("90",["184"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("184");return n.exports=function(e){return Object(o(e))},r.define=i,n.exports}),e.registerDynamic("195",["90","196"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("90");return e("196")("keys",function(e){return function(t){return e(o(t))}}),r.define=i,n.exports}),e.registerDynamic("197",["195","2d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("195"),n.exports=e("2d").Object.keys,r.define=i,n.exports}),e.registerDynamic("24",["197"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("197"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("198",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||p.defaults,this.rules=f.normal,this.options.gfm&&(this.options.tables?this.rules=f.tables:this.rules=f.gfm)}function r(e,t){if(this.options=t||p.defaults,
|
||
this.links=e,this.rules=d.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=d.breaks:this.rules=d.gfm:this.options.pedantic&&(this.rules=d.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||p.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function s(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function a(e){return e.replace(/&([#\w]+);/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function u(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function c(){}function l(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function p(t,n,r){if(r||"function"==typeof n){r||(r=n,n=null),n=l({},p.defaults,n||{});var i,a,u=n.highlight,c=0;try{i=e.lex(t,n)}catch(f){return r(f)}a=i.length;var d=function(e){if(e)return n.highlight=u,r(e);var t;try{t=o.parse(i,n)}catch(s){e=s}return n.highlight=u,e?r(e):r(null,t)};if(!u||u.length<3)return d();if(delete n.highlight,!a)return d();for(;c<i.length;c++)!function(e){return"code"!==e.type?--a||d():u(e.text,e.lang,function(t,n){return t?d(t):null==n||n===e.text?--a||d():(e.text=n,e.escaped=!0,void(--a||d()))})}(i[c])}else try{return n&&(n=l({},p.defaults,n)),o.parse(e.lex(t,n),n)}catch(f){if(f.message+="\nPlease report this to https://github.com/chjj/marked.",(n||p.defaults).silent)return"<p>An error occured:</p><pre>"+s(f.message+"",!0)+"</pre>";throw f}}var f={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:c,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:c,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:c,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};f.bullet=/(?:[*+-]|\d+\.)/,f.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,f.item=u(f.item,"gm")(/bull/g,f.bullet)(),f.list=u(f.list)(/bull/g,f.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+f.def.source+")")(),f.blockquote=u(f.blockquote)("def",f.def)(),f._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",f.html=u(f.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,f._tag)(),f.paragraph=u(f.paragraph)("hr",f.hr)("heading",f.heading)("lheading",f.lheading)("blockquote",f.blockquote)("tag","<"+f._tag)("def",f.def)(),f.normal=l({},f),f.gfm=l({},f.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),f.gfm.paragraph=u(f.paragraph)("(?!","(?!"+f.gfm.fences.source.replace("\\1","\\2")+"|"+f.list.source.replace("\\1","\\3")+"|")(),f.tables=l({},f.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),e.rules=f,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t,n){for(var r,i,o,s,a,u,c,l,p,e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},l=0;l<u.align.length;l++)/^ *-+: *$/.test(u.align[l])?u.align[l]="right":/^ *:-+: *$/.test(u.align[l])?u.align[l]="center":/^ *:-+ *$/.test(u.align[l])?u.align[l]="left":u.align[l]=null;for(l=0;l<u.cells.length;l++)u.cells[l]=u.cells[l].split(/ *\| */);this.tokens.push(u)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),s=o[2],this.tokens.push({type:"list_start",ordered:s.length>1}),o=o[0].match(this.rules.item),r=!1,p=o.length,l=0;p>l;l++)u=o[l],c=u.length,u=u.replace(/^ *([*+-]|\d+\.) +/,""),~u.indexOf("\n ")&&(c-=u.length,u=this.options.pedantic?u.replace(/^ {1,4}/gm,""):u.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&l!==p-1&&(a=f.bullet.exec(o[l+1])[0],s===a||s.length>1&&a.length>1||(e=o.slice(l+1).join("\n")+e,l=p-1)),i=r||/\n\n(?!\s*$)/.test(u),l!==p-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},l=0;l<u.align.length;l++)/^ *-+: *$/.test(u.align[l])?u.align[l]="right":/^ *:-+: *$/.test(u.align[l])?u.align[l]="center":/^ *:-+ *$/.test(u.align[l])?u.align[l]="left":u.align[l]=null;for(l=0;l<u.cells.length;l++)u.cells[l]=u.cells[l].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(u)}else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var d={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:c,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:c,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};d._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,d._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,d.link=u(d.link)("inside",d._inside)("href",d._href)(),d.reflink=u(d.reflink)("inside",d._inside)(),d.normal=l({},d),d.pedantic=l({},d.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),d.gfm=l({},d.normal,{escape:u(d.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:u(d.text)("]|","~]|")("|","|https?://|")()}),d.breaks=l({},d.gfm,{br:u(d.br)("{2,}","*")(),text:u(d.gfm.text)("{2,}","*")()}),r.rules=d,r.output=function(e,t,n){var i=new r(t,n);return i.output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=":"===i[1].charAt(6)?this.mangle(i[1].substring(7)):this.mangle(i[1]),r=this.mangle("mailto:")+n):(n=s(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):s(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(s(i[2],!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(s(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(i[0].length),n=s(i[1]),r=n,o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=s(t.href),r=t.title?s(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,s(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;r>i;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+s(t,!0)+'">'+(n?e:s(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:s(e,!0))+"\n</code></pre>"},i.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},i.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},i.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},i.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},i.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},i.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},i.prototype.strong=function(e){return"<strong>"+e+"</strong>"},i.prototype.em=function(e){return"<em>"+e+"</em>"},i.prototype.codespan=function(e){return"<code>"+e+"</code>"},i.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},i.prototype.del=function(e){return"<del>"+e+"</del>"},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(a(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='<a href="'+e+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>"},i.prototype.image=function(e,t,n){var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},i.prototype.text=function(e){return e},o.parse=function(e,t,n){var r=new o(t,n);return r.parse(e)},o.prototype.parse=function(e){this.inline=new r(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop()},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,o="",s="";for(n="",e=0;e<this.token.header.length;e++)r={header:!0,align:this.token.align[e]},n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(o+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",i=0;i<t.length;i++)n+=this.renderer.tablecell(this.inline.output(t[i]),{header:!1,align:this.token.align[i]});s+=this.renderer.tablerow(n)}return this.renderer.table(o,s);case"blockquote_start":for(var s="";"blockquote_end"!==this.next().type;)s+=this.tok();return this.renderer.blockquote(s);case"list_start":for(var s="",a=this.token.ordered;"list_end"!==this.next().type;)s+=this.tok();return this.renderer.list(s,a);case"list_item_start":for(var s="";"list_item_end"!==this.next().type;)s+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(s);case"loose_item_start":for(var s="";"list_item_end"!==this.next().type;)s+=this.tok();return this.renderer.listitem(s);case"html":var u=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(u);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},c.exec=c,p.options=p.setOptions=function(e){return l(p.defaults,e),p},p.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new i,xhtml:!1},p.Parser=o,p.parser=o.parse,p.Renderer=i,p.Lexer=e,p.lexer=e.lex,p.InlineLexer=r,p.inlineLexer=r.output,p.parse=p,"undefined"!=typeof n&&"object"==typeof t?n.exports=p:"function"==typeof define&&define.amd?define(function(){return p}):this.marked=p}.call(function(){return this||("undefined"!=typeof window?window:r)}()),r.define=i,n.exports}),e.registerDynamic("199",["198"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("198"),r.define=i,n.exports}),e.register("19a",["4","5","6","7","14","20","24","199","3c","c"],function(e){var t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e.Pipe},function(e){s=e.isString,a=e.stringify,u=e.isBlank},function(e){c=e["default"]},function(e){l=e["default"]},function(e){p=e.BaseException},function(e){f=e.JsonPointer}],execute:function(){"use strict";l.setOptions({renderer:new l.Renderer,gfm:!0,tables:!0,breaks:!1,pedantic:!1,smartLists:!0,smartypants:!1}),d=function(e){function r(e,n){i(this,r),t(Object.getPrototypeOf(r.prototype),"constructor",this).call(this,"Invalid argument '"+n+"' for pipe '"+a(e)+"'")}return n(r,e),r}(p),h=function(){function e(){i(this,t)}r(e,[{key:"transform",value:function(e){if(u(e))return e;if("object"!=typeof e)throw new d(m,e);return c(e)}}]);var t=e;return e=o({name:"keys"})(e)||e}(),e("KeysPipe",h),m=function(){function e(){i(this,t)}r(e,[{key:"transform",value:function(t){if(u(t))return t;if("object"!=typeof t)throw new d(e,t);return c(t).map(function(e){return t[e]})}}]);var t=e;return e=o({name:"values"})(e)||e}(),e("ValuesPipe",m),v=function(){function e(){i(this,t)}r(e,[{key:"transform",value:function(t){if(u(t))return t;if(!s(t))throw new d(e,t);return f.escape(t)}}]);var t=e;return e=o({name:"jsonPointerEscape"})(e)||e}(),e("JsonPointerEscapePipe",v),y=function(){function e(){i(this,t)}r(e,[{key:"transform",value:function(e){if(u(e))return e;if(!s(e))throw new d(v,e);return l(e)}}]);var t=e;return e=o({name:"marked"})(e)||e}(),e("MarkedPipe",y)}}}),e.register("3",["6","7","14","17","22","24","32","97","1b","c","19a"],function(e){function t(e,t){var n=e&&e.slice()||[];return t=null==t?[]:t,n.concat(t)}function n(e){var n=t(e.inputs,_),r=t(e.directives,p),i=t(e.pipes,[b,g,f]);return function(t){var l=o({selector:e.selector,inputs:n,outputs:e.outputs,lifecycle:[a,u],providers:e.providers,changeDetection:e.changeDetection||c.Detached}),p=s({templateUrl:e.templateUrl,template:e.template,styles:e.styles,directives:r,pipes:i});return l(p(t)||t)||t}}var r,i,o,s,a,u,c,l,p,f,d,h,m,v,y,g,b,_,E;return{setters:[function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e.Component,s=e.View,a=e.OnInit,u=e.OnDestroy,c=e.ChangeDetectionStrategy},function(e){l=e["default"]},function(e){p=e.CORE_DIRECTIVES,f=e.JsonPipe},function(e){d=e["default"]},function(e){h=e["default"]},function(e){m=e["default"]},function(e){v=e["default"]},function(e){y=e["default"]},function(e){g=e.MarkedPipe,b=e.JsonPointerEscapePipe}],execute:function(){"use strict";e("RedocComponent",n),_=["pointer"],E=function(){function e(t){i(this,e),this.schemaMgr=t,this.schema=t.schema,this.componentSchema=null}return r(e,[{key:"ngOnInit",value:function(){this.componentSchema=this.schemaMgr.byPointer(this.pointer||""),this.prepareModel(),this.init()}},{key:"ngOnDestroy",value:function(){this.destroy()}},{key:"dereference",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]?l({},this.componentSchema):arguments[0];if(t&&t.$ref){var n=this.schemaMgr.byPointer(t.$ref),r=y.baseName(t.$ref);n=l({},n),n.title=n.title||r,n._pointer=t.$ref,l(t,n),delete t.$ref}d(t).forEach(function(n){var r=t[n];r&&"object"==typeof r&&e.dereference(r)}),this.componentSchema=t}},{key:"joinAllOf",value:function(){function e(e,t){if(e.required||e.properties){var r="Can't merge allOf: properties or required fields are specified on the same level as allOf\n "+e;throw new Error(r)}e.required=[],e.properties={};var i=!0,o=!1,s=void 0;try{for(var a,u=h(t);!(i=(a=u.next()).done);i=!0){var c=a.value;if("object"!=typeof c||"object"!==c.type){var r="Can't merge allOf: only subschemas with type: object can be merged\n "+c;throw new Error(r)}if(n.joinAllOf(c),c.properties&&l(e.properties,c.properties),c.required){var p;(p=e.required).push.apply(p,m(c.required))}}}catch(f){o=!0,s=f}finally{try{!i&&u["return"]&&u["return"]()}finally{if(o)throw s}}e.type="object",e.allOf=null}var t=arguments.length<=0||void 0===arguments[0]?this.componentSchema:arguments[0],n=this;t.allOf&&e(t,t.allOf)}},{key:"prepareModel",value:function(){}},{key:"init",value:function(){}},{key:"destroy",value:function(){}}]),e}(),e("BaseComponent",E),E.parameters=[[v]]}}}),e.registerDynamic("19b",["19c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("19c");return t.Class=o.Class,r.define=i,n.exports}),e.registerDynamic("19d",["20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20");return t.enableProdMode=o.enableProdMode,r.define=i,n.exports}),e.registerDynamic("19e",["20","63","3c","19f"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20");t.Type=o.Type;var s=e("63");t.EventEmitter=s.EventEmitter;var a=e("3c");t.WrappedException=a.WrappedException;var u=e("19f");return t.ExceptionHandler=u.ExceptionHandler,r.define=i,n.exports}),e.registerDynamic("5b",["52","20","39","88","63","37","5e","1a0","3c","1a1","1a2","4c"],!0,function(e,t,n){"use strict";function r(e){return[m.provide(v.APP_COMPONENT,{useValue:e}),m.provide(v.APP_COMPONENT_REF_PROMISE,{useFactory:function(t,n,r){var i;return t.loadAsRoot(e,null,r,function(){n._unloadComponent(i)}).then(function(e){return i=e,h.isPresent(e.location.nativeElement)&&r.get(b.TestabilityRegistry).registerApplication(e.location.nativeElement,r.get(b.Testability)),e})},deps:[_.DynamicComponentLoader,R,m.Injector]}),m.provide(e,{useFactory:function(e){return e.then(function(e){return e.instance})},deps:[v.APP_COMPONENT_REF_PROMISE]})]}function i(){return new d.NgZone({enableLongStackTrace:h.assertionsEnabled()})}function o(e){if(x.lockMode(),h.isPresent(A)){if(g.ListWrapper.equals(P,e))return A;throw new E.BaseException("platform cannot be initialized with different sets of providers.")}return a(e)}function s(){h.isPresent(A)&&(A.dispose(),A=null)}function a(e){P=e;var t=m.Injector.resolveAndCreate(e);return A=new O(t,function(){A=null,P=null}),u(t),A}function u(e){var t=e.getOptional(v.PLATFORM_INITIALIZER);h.isPresent(t)&&t.forEach(function(e){return e()})}function c(e){var t=e.getOptional(v.APP_INITIALIZER);h.isPresent(t)&&t.forEach(function(e){return e()})}var l=this,p=l.define;l.define=void 0;var f=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},d=e("52"),h=e("20"),m=e("39"),v=e("88"),y=e("63"),g=e("37"),b=e("5e"),_=e("1a0"),E=e("3c"),D=e("1a1"),w=e("1a2"),C=e("4c"),x=e("20");t.createNgZone=i;var A,P;t.platform=o,t.disposePlatform=s;var S=function(){function e(){}return Object.defineProperty(e.prototype,"injector",{get:function(){return E.unimplemented()},enumerable:!0,configurable:!0}),e}();t.PlatformRef=S;var O=function(e){function t(t,n){e.call(this),this._injector=t,this._dispose=n,this._applications=[],this._disposeListeners=[]}return f(t,e),t.prototype.registerDisposeListener=function(e){this._disposeListeners.push(e)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.application=function(e){var t=this._initApp(i(),e);return t},t.prototype.asyncApplication=function(e,t){var n=this,r=i(),o=y.PromiseWrapper.completer();return r.run(function(){y.PromiseWrapper.then(e(r),function(e){h.isPresent(t)&&(e=g.ListWrapper.concat(e,t)),o.resolve(n._initApp(r,e))})}),o.promise},t.prototype._initApp=function(e,t){var n,r,i=this;return e.run(function(){t=g.ListWrapper.concat(t,[m.provide(d.NgZone,{useValue:e}),m.provide(R,{useFactory:function(){return r},deps:[]})]);var o;try{n=i.injector.resolveAndCreateChild(t),o=n.get(E.ExceptionHandler),e.overrideOnErrorHandler(function(e,t){return o.call(e,t)})}catch(s){h.isPresent(o)?o.call(s,s.stack):h.print(s.toString())}}),r=new I(this,e,n),this._applications.push(r),c(n),r},t.prototype.dispose=function(){g.ListWrapper.clone(this._applications).forEach(function(e){return e.dispose()}),this._disposeListeners.forEach(function(e){return e()}),this._dispose()},t.prototype._applicationDisposed=function(e){g.ListWrapper.remove(this._applications,e)},t}(S);t.PlatformRef_=O;var R=function(){function e(){}return Object.defineProperty(e.prototype,"injector",{get:function(){return E.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zone",{get:function(){return E.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTypes",{get:function(){return E.unimplemented()},enumerable:!0,configurable:!0}),e}();t.ApplicationRef=R;var I=function(e){function t(t,n,r){var i=this;e.call(this),this._platform=t,this._zone=n,this._injector=r,this._bootstrapListeners=[],this._disposeListeners=[],this._rootComponents=[],this._rootComponentTypes=[],this._changeDetectorRefs=[],this._runningTick=!1,this._enforceNoNewChanges=!1,h.isPresent(this._zone)&&y.ObservableWrapper.subscribe(this._zone.onTurnDone,function(e){i._zone.run(function(){i.tick()})}),this._enforceNoNewChanges=h.assertionsEnabled()}return f(t,e),t.prototype.registerBootstrapListener=function(e){this._bootstrapListeners.push(e)},t.prototype.registerDisposeListener=function(e){this._disposeListeners.push(e)},t.prototype.registerChangeDetector=function(e){this._changeDetectorRefs.push(e)},t.prototype.unregisterChangeDetector=function(e){g.ListWrapper.remove(this._changeDetectorRefs,e)},t.prototype.bootstrap=function(e,t){var n=this,i=y.PromiseWrapper.completer();return this._zone.run(function(){var o=r(e);h.isPresent(t)&&o.push(t);var s=n._injector.get(E.ExceptionHandler);n._rootComponentTypes.push(e);try{var a=n._injector.resolveAndCreateChild(o),u=a.get(v.APP_COMPONENT_REF_PROMISE),c=function(e){n._loadComponent(e),i.resolve(e)},l=y.PromiseWrapper.then(u,c);h.IS_DART&&y.PromiseWrapper.then(l,function(e){}),y.PromiseWrapper.then(l,null,function(e,t){return i.reject(e,t)})}catch(p){s.call(p,p.stack),i.reject(p,p.stack)}}),i.promise.then(function(e){var t=n._injector.get(w.Console),r=h.assertionsEnabled()?"in the development mode. Call enableProdMode() to enable the production mode.":"in the production mode. Call enableDevMode() to enable the development mode.";return t.log("Angular 2 is running "+r),e})},t.prototype._loadComponent=function(e){var t=D.internalView(e.hostView).changeDetector;this._changeDetectorRefs.push(t.ref),this.tick(),this._rootComponents.push(e),this._bootstrapListeners.forEach(function(t){return t(e)})},t.prototype._unloadComponent=function(e){g.ListWrapper.contains(this._rootComponents,e)&&(this.unregisterChangeDetector(D.internalView(e.hostView).changeDetector.ref),g.ListWrapper.remove(this._rootComponents,e))},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),t.prototype.tick=function(){if(this._runningTick)throw new E.BaseException("ApplicationRef.tick is called recursively");var e=t._tickScope();try{this._runningTick=!0,this._changeDetectorRefs.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._changeDetectorRefs.forEach(function(e){return e.checkNoChanges()})}finally{this._runningTick=!1,C.wtfLeave(e)}},t.prototype.dispose=function(){g.ListWrapper.clone(this._rootComponents).forEach(function(e){return e.dispose()}),this._disposeListeners.forEach(function(e){return e()}),this._platform._applicationDisposed(this)},Object.defineProperty(t.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),t._tickScope=C.wtfCreateScope("ApplicationRef#tick()"),t}(R);return t.ApplicationRef_=I,l.define=p,n.exports}),e.registerDynamic("1a3",["52"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("52");return t.NgZone=o.NgZone,t.NgZoneError=o.NgZoneError,r.define=i,n.exports}),e.registerDynamic("1a4",["56"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("56");return t.Renderer=o.Renderer,t.RenderViewRef=o.RenderViewRef,t.RenderProtoViewRef=o.RenderProtoViewRef,t.RenderFragmentRef=o.RenderFragmentRef,t.RenderViewWithFragments=o.RenderViewWithFragments,t.RenderTemplateCmd=o.RenderTemplateCmd,t.RenderTextCmd=o.RenderTextCmd,t.RenderNgContentCmd=o.RenderNgContentCmd,t.RenderBeginElementCmd=o.RenderBeginElementCmd,t.RenderBeginComponentCmd=o.RenderBeginComponentCmd,t.RenderEmbeddedTemplateCmd=o.RenderEmbeddedTemplateCmd,t.RenderBeginCmd=o.RenderBeginCmd,t.RenderComponentTemplate=o.RenderComponentTemplate,r.define=i,n.exports}),e.registerDynamic("1a5",["7e","7f","60","1a6","1a7","1a0","1a8","1a9","1a1","1aa"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("7e");t.DirectiveResolver=o.DirectiveResolver;var s=e("7f");t.ViewResolver=s.ViewResolver;var a=e("60");t.Compiler=a.Compiler;var u=e("1a6");t.AppViewManager=u.AppViewManager;var c=e("1a7");t.QueryList=c.QueryList;var l=e("1a0");t.DynamicComponentLoader=l.DynamicComponentLoader;var p=e("1a8");t.ElementRef=p.ElementRef;var f=e("1a9");t.TemplateRef=f.TemplateRef;var d=e("1a1");t.ViewRef=d.ViewRef,t.ProtoViewRef=d.ProtoViewRef;var h=e("1aa");t.ViewContainerRef=h.ViewContainerRef;var m=e("1a0");return t.ComponentRef=m.ComponentRef,r.define=i,n.exports}),e.registerDynamic("57",["20","3c","1ab","1a1"],!0,function(e,t,n){"use strict";function r(e){return new d(p.internalView(e.parentView),e.boundElementIndex)}function i(e){return e.map(function(e){return e.nativeElement})}var o=this,s=o.define;o.define=void 0;var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=e("20"),c=e("3c"),l=e("1ab"),p=e("1a1"),f=function(){function e(){}return Object.defineProperty(e.prototype,"componentInstance",{get:function(){return c.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return c.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"elementRef",{get:function(){return c.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return c.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentViewChildren",{get:function(){return c.unimplemented()},enumerable:!0,configurable:!0}),e.prototype.query=function(e,t){void 0===t&&(t=h.all);var n=this.queryAll(e,t);return n.length>0?n[0]:null},e.prototype.queryAll=function(e,t){void 0===t&&(t=h.all);var n=t(this);return n.filter(e)},e}();t.DebugElement=f;var d=function(e){function t(t,n){e.call(this),this._parentView=t,this._boundElementIndex=n,this._elementInjector=this._parentView.elementInjectors[this._boundElementIndex]}return a(t,e),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return u.isPresent(this._elementInjector)?this._elementInjector.getComponent():null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this.elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"elementRef",{get:function(){return this._parentView.elementRefs[this._boundElementIndex]},enumerable:!0,configurable:!0}),t.prototype.getDirectiveInstance=function(e){return this._elementInjector.getDirectiveAtIndex(e)},Object.defineProperty(t.prototype,"children",{get:function(){return this._getChildElements(this._parentView,this._boundElementIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentViewChildren",{get:function(){var e=this._parentView.getNestedView(this._boundElementIndex);return u.isPresent(e)&&e.proto.type===l.ViewType.COMPONENT?this._getChildElements(e,null):[]},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this._parentView.triggerEventHandlers(e,t,this._boundElementIndex);
|
||
},t.prototype.hasDirective=function(e){return u.isPresent(this._elementInjector)?this._elementInjector.hasDirective(e):!1},t.prototype.inject=function(e){return u.isPresent(this._elementInjector)?this._elementInjector.get(e):null},t.prototype.getLocal=function(e){return this._parentView.locals.get(e)},t.prototype._getChildElements=function(e,n){var r=this,i=[],o=null;u.isPresent(n)&&(o=e.proto.elementBinders[n-e.elementOffset]);for(var s=0;s<e.proto.elementBinders.length;++s){var a=e.proto.elementBinders[s];if(a.parent==o){i.push(new t(e,e.elementOffset+s));var c=e.viewContainers[e.elementOffset+s];u.isPresent(c)&&c.views.forEach(function(e){i=i.concat(r._getChildElements(e,null))})}}return i},t}(f);t.DebugElement_=d,t.inspectElement=r,t.asNativeElements=i;var h=function(){function e(){}return e.all=function(t){var n=[];return n.push(t),t.children.forEach(function(t){return n=n.concat(e.all(t))}),t.componentViewChildren.forEach(function(t){return n=n.concat(e.all(t))}),n},e.light=function(t){var n=[];return t.children.forEach(function(t){n.push(t),n=n.concat(e.light(t))}),n},e.view=function(t){var n=[];return t.componentViewChildren.forEach(function(t){n.push(t),n=n.concat(e.light(t))}),n},e}();return t.Scope=h,o.define=s,n.exports}),e.registerDynamic("1a2",["39","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("39"),u=e("20"),c=function(){function e(){}return e.prototype.log=function(e){u.print(e)},e=o([a.Injectable(),s("design:paramtypes",[])],e)}();return t.Console=c,r.define=i,n.exports}),e.registerDynamic("52",["37","20","63","4c","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=e("37"),i=e("20"),o=e("63"),s=e("4c"),a=function(){function e(e,t){this.error=e,this.stackTrace=t}return e}();t.NgZoneError=a;var u=function(){function e(e){var t=e.enableLongStackTrace;this._runScope=s.wtfCreateScope("NgZone#run()"),this._microtaskScope=s.wtfCreateScope("NgZone#microtask()"),this._pendingMicrotasks=0,this._hasExecutedCodeInInnerZone=!1,this._nestedRun=0,this._inVmTurnDone=!1,this._pendingTimeouts=[],i.global.zone?(this._disabled=!1,this._mountZone=i.global.zone,this._innerZone=this._createInnerZone(this._mountZone,t)):(this._disabled=!0,this._mountZone=null),this._onTurnStartEvents=new o.EventEmitter(!1),this._onTurnDoneEvents=new o.EventEmitter(!1),this._onEventDoneEvents=new o.EventEmitter(!1),this._onErrorEvents=new o.EventEmitter(!1)}return e.prototype.overrideOnTurnStart=function(e){this._onTurnStart=i.normalizeBlank(e)},Object.defineProperty(e.prototype,"onTurnStart",{get:function(){return this._onTurnStartEvents},enumerable:!0,configurable:!0}),e.prototype._notifyOnTurnStart=function(e){var t=this;e.call(this._innerZone,function(){t._onTurnStartEvents.emit(null)})},e.prototype.overrideOnTurnDone=function(e){this._onTurnDone=i.normalizeBlank(e)},Object.defineProperty(e.prototype,"onTurnDone",{get:function(){return this._onTurnDoneEvents},enumerable:!0,configurable:!0}),e.prototype._notifyOnTurnDone=function(e){var t=this;e.call(this._innerZone,function(){t._onTurnDoneEvents.emit(null)})},e.prototype.overrideOnEventDone=function(e,t){var n=this;void 0===t&&(t=!1);var r=i.normalizeBlank(e);t?this._onEventDone=function(){n._pendingTimeouts.length||r()}:this._onEventDone=r},Object.defineProperty(e.prototype,"onEventDone",{get:function(){return this._onEventDoneEvents},enumerable:!0,configurable:!0}),e.prototype._notifyOnEventDone=function(){var e=this;this.runOutsideAngular(function(){e._onEventDoneEvents.emit(null)})},Object.defineProperty(e.prototype,"hasPendingMicrotasks",{get:function(){return this._pendingMicrotasks>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPendingTimers",{get:function(){return this._pendingTimeouts.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPendingAsyncTasks",{get:function(){return this.hasPendingMicrotasks||this.hasPendingTimers},enumerable:!0,configurable:!0}),e.prototype.overrideOnErrorHandler=function(e){this._onErrorHandler=i.normalizeBlank(e)},Object.defineProperty(e.prototype,"onError",{get:function(){return this._onErrorEvents},enumerable:!0,configurable:!0}),e.prototype.run=function(e){if(this._disabled)return e();var t=this._runScope();try{return this._innerZone.run(e)}finally{s.wtfLeave(t)}},e.prototype.runOutsideAngular=function(e){return this._disabled?e():this._mountZone.run(e)},e.prototype._createInnerZone=function(e,t){var n,o=this._microtaskScope,a=this;return n=t?r.StringMapWrapper.merge(Zone.longStackTraceZone,{onError:function(e){a._notifyOnError(this,e)}}):{onError:function(e){a._notifyOnError(this,e)}},e.fork(n).fork({$run:function(e){return function(){try{return a._nestedRun++,a._hasExecutedCodeInInnerZone||(a._hasExecutedCodeInInnerZone=!0,a._notifyOnTurnStart(e),a._onTurnStart&&e.call(a._innerZone,a._onTurnStart)),e.apply(this,arguments)}finally{if(a._nestedRun--,0==a._pendingMicrotasks&&0==a._nestedRun&&!this._inVmTurnDone){if(a._hasExecutedCodeInInnerZone)try{this._inVmTurnDone=!0,a._notifyOnTurnDone(e),a._onTurnDone&&e.call(a._innerZone,a._onTurnDone)}finally{this._inVmTurnDone=!1,a._hasExecutedCodeInInnerZone=!1}0===a._pendingMicrotasks&&(a._notifyOnEventDone(),i.isPresent(a._onEventDone)&&a.runOutsideAngular(a._onEventDone))}}}},$scheduleMicrotask:function(e){return function(t){a._pendingMicrotasks++;var n=function(){var e=o();try{t()}finally{a._pendingMicrotasks--,s.wtfLeave(e)}};e.call(this,n)}},$setTimeout:function(e){return function(t,n){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];var s,u=function(){t(),r.ListWrapper.remove(a._pendingTimeouts,s)};return s=e(u,n,i),a._pendingTimeouts.push(s),s}},$clearTimeout:function(e){return function(t){e(t),r.ListWrapper.remove(a._pendingTimeouts,t)}},_innerZone:!0})},e.prototype._notifyOnError=function(e,t){if(!i.isPresent(this._onErrorHandler)&&!o.ObservableWrapper.hasSubscribers(this._onErrorEvents))throw console.log("## _notifyOnError ##"),console.log(t.stack),t;for(var n=[i.normalizeBlank(t.stack)];e&&e.constructedAtException;)n.push(e.constructedAtException.get()),e=e.parent;o.ObservableWrapper.hasSubscribers(this._onErrorEvents)&&o.ObservableWrapper.callEmit(this._onErrorEvents,new a(t,n)),i.isPresent(this._onErrorHandler)&&this._onErrorHandler(t,n)},e}();t.NgZone=u}(e("34")),r.define=i,n.exports}),e.registerDynamic("5e",["39","37","20","3c","52","63"],!0,function(e,t,n){"use strict";function r(e){y=e}var i=this,o=i.define;i.define=void 0;var s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("39"),c=e("37"),l=e("20"),p=e("3c"),f=e("52"),d=e("63"),h=function(){function e(e){this._pendingCount=0,this._callbacks=[],this._isAngularEventPending=!1,this._watchAngularEvents(e)}return e.prototype._watchAngularEvents=function(e){var t=this;d.ObservableWrapper.subscribe(e.onTurnStart,function(e){t._isAngularEventPending=!0}),e.runOutsideAngular(function(){d.ObservableWrapper.subscribe(e.onEventDone,function(n){e.hasPendingTimers||(t._isAngularEventPending=!1,t._runCallbacksIfReady())})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new p.BaseException("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return 0==this._pendingCount&&!this._isAngularEventPending},e.prototype._runCallbacksIfReady=function(){var e=this;this.isStable()&&d.PromiseWrapper.resolve(null).then(function(t){for(;0!==e._callbacks.length;)e._callbacks.pop()()})},e.prototype.whenStable=function(e){this._callbacks.push(e),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.isAngularEventPending=function(){return this._isAngularEventPending},e.prototype.findBindings=function(e,t,n){return[]},e.prototype.findProviders=function(e,t,n){return[]},e=s([u.Injectable(),a("design:paramtypes",[f.NgZone])],e)}();t.Testability=h;var m=function(){function e(){this._applications=new c.Map,y.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.getTestability=function(e){return this._applications.get(e)},e.prototype.getAllTestabilities=function(){return c.MapWrapper.values(this._applications)},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),y.findTestabilityInTree(this,e,t)},e=s([u.Injectable(),a("design:paramtypes",[])],e)}();t.TestabilityRegistry=m;var v=function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e=s([l.CONST(),a("design:paramtypes",[])],e)}();t.setTestabilityGetter=r;var y=l.CONST_EXPR(new v);return i.define=o,n.exports}),e.registerDynamic("1ac",["20","39","1a2","81","5e"],!0,function(e,t,n){"use strict";function r(){return c.reflector}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=e("39"),u=e("1a2"),c=e("81"),l=e("5e");return t.PLATFORM_COMMON_PROVIDERS=s.CONST_EXPR([new a.Provider(c.Reflector,{useFactory:r,deps:[]}),l.TestabilityRegistry,u.Console]),i.define=o,n.exports}),e.registerDynamic("60",["61","39","20","3c","63","81","64"],!0,function(e,t,n){"use strict";function r(e){return e instanceof v.CompiledHostTemplate}function i(e,t){return e._createProtoView(t)}var o=this,s=o.define;o.define=void 0;var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},c=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},l=e("61"),p=e("39"),f=e("20"),d=e("3c"),h=e("63"),m=e("81"),v=e("64"),y=function(){function e(){}return e}();t.Compiler=y;var g=function(e){function t(t){e.call(this),this._protoViewFactory=t}return a(t,e),t.prototype.compileInHost=function(e){var t=m.reflector.annotations(e),n=t.find(r);if(f.isBlank(n))throw new d.BaseException("No precompiled template for component "+f.stringify(e)+" found");return h.PromiseWrapper.resolve(this._createProtoView(n))},t.prototype._createProtoView=function(e){return this._protoViewFactory.createHost(e).ref},t.prototype.clearCache=function(){this._protoViewFactory.clearCache()},t=u([p.Injectable(),c("design:paramtypes",[l.ProtoViewFactory])],t)}(y);return t.Compiler_=g,t.internalCreateProtoView=i,o.define=s,n.exports}),e.registerDynamic("1ad",["39","37","1ae","20","1ab","1a8","1a9","1af"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("39"),u=e("37"),c=e("1ae"),l=e("20"),p=e("1ab"),f=e("1a8"),d=e("1a9"),h=e("1af"),m=function(){function e(){}return e.prototype.getComponentInstance=function(e,t){var n=e.elementInjectors[t];return n.getComponent()},e.prototype.createView=function(e,t,n,r){for(var i=t.fragmentRefs,o=t.viewRef,s=e.mergeInfo.elementCount,a=e.mergeInfo.viewCount,h=u.ListWrapper.createFixedSize(s),m=u.ListWrapper.createFixedSize(s),v=u.ListWrapper.createFixedSize(s),y=u.ListWrapper.createFixedSize(s),g=u.ListWrapper.createFixedSize(a),b=0,_=0,E=0,D=u.ListWrapper.createFixedSize(a),w=0;a>w;w++){var C=D[w],x=l.isPresent(C)?y[C]:null,A=l.isPresent(x)?v[C].view:null,P=l.isPresent(C)?A.proto.elementBinders[C-A.elementOffset].nestedProtoView:e,S=null;(0===w||P.type===p.ViewType.EMBEDDED)&&(S=i[E++]);var O=new p.AppView(r,P,w,b,_,P.protoLocals,o,S,x);g[w]=O,l.isPresent(C)&&(v[C].nestedView=O);for(var R=[],I=w+1,T=0;T<P.elementBinders.length;T++){var k=P.elementBinders[T],N=b+T,F=null;l.isPresent(k.nestedProtoView)&&k.nestedProtoView.isMergable&&(D[I]=N,I+=k.nestedProtoView.mergeInfo.viewCount);var j=k.protoElementInjector;if(l.isPresent(j))if(l.isPresent(j.parent)){var M=y[b+j.parent.index];F=j.instantiate(M)}else F=j.instantiate(null),R.push(F);y[N]=F;var B=new f.ElementRef_(O.ref,N,r);if(h[B.boundElementIndex]=B,l.isPresent(F)){var L=l.isPresent(k.nestedProtoView)&&k.nestedProtoView.type===p.ViewType.EMBEDDED?new d.TemplateRef_(B):null;v[N]=new c.PreBuiltObjects(n,O,B,L)}}O.init(P.changeDetectorFactory(O),y,R,v,g,h,m),l.isPresent(A)&&P.type===p.ViewType.COMPONENT&&A.changeDetector.addViewChild(O.changeDetector),b+=P.elementBinders.length,_+=P.textBindingCount}return g[0]},e.prototype.hydrateRootHostView=function(e,t){this._hydrateView(e,t,null,new Object,null)},e.prototype.attachViewInContainer=function(e,t,n,r,i,o){l.isBlank(n)&&(n=e,r=t),e.changeDetector.addContentChild(o.changeDetector);var s=e.viewContainers[t];l.isBlank(s)&&(s=new p.AppViewContainer,e.viewContainers[t]=s),u.ListWrapper.insert(s.views,i,o);for(var a=n.elementInjectors[r],c=o.rootElementInjectors.length-1;c>=0;c--)l.isPresent(a.parent)&&o.rootElementInjectors[c].link(a.parent);a.traverseAndSetQueriesAsDirty()},e.prototype.detachViewInContainer=function(e,t,n){var r=e.viewContainers[t],i=r.views[n];e.elementInjectors[t].traverseAndSetQueriesAsDirty(),i.changeDetector.remove(),u.ListWrapper.removeAt(r.views,n);for(var o=0;o<i.rootElementInjectors.length;++o){var s=i.rootElementInjectors[o];s.unlink()}},e.prototype.hydrateViewInContainer=function(e,t,n,r,i,o){l.isBlank(n)&&(n=e,r=t);var s=e.viewContainers[t],u=s.views[i],c=n.elementInjectors[r],p=l.isPresent(o)?a.Injector.fromResolvedProviders(o):null;this._hydrateView(u,p,c.getHost(),n.context,n.locals)},e.prototype._hydrateView=function(e,t,n,r,i){for(var o=e.viewOffset,s=o+e.proto.mergeInfo.viewCount-1;s>=o;){var a=e.views[o],u=a.proto;if(a!==e&&a.proto.type===p.ViewType.EMBEDDED)o+=a.proto.mergeInfo.viewCount;else{a!==e&&(t=null,i=null,n=a.containerElementInjector,r=n.getComponent()),a.context=r,a.locals.parent=i;for(var c=u.elementBinders,f=0;f<c.length;f++){var d=f+a.elementOffset,m=e.elementInjectors[d];l.isPresent(m)&&(m.hydrate(t,n,a.preBuiltObjects[d]),this._populateViewLocals(a,m,d),this._setUpEventEmitters(a,m,d))}var v=l.isPresent(n)?new h.Pipes(a.proto.pipes,n.getInjector()):null;a.changeDetector.hydrate(a.context,a.locals,a,v),o++}}},e.prototype._populateViewLocals=function(e,t,n){l.isPresent(t.getDirectiveVariableBindings())&&t.getDirectiveVariableBindings().forEach(function(r,i){l.isBlank(r)?e.locals.set(i,e.elementRefs[n].nativeElement):e.locals.set(i,t.getDirectiveAtIndex(r))})},e.prototype._setUpEventEmitters=function(e,t,n){for(var r=t.getEventEmitterAccessors(),i=0;i<r.length;++i)for(var o=r[i],s=t.getDirectiveAtIndex(i),a=0;a<o.length;++a){var u=o[a];u.subscribe(e,n,s)}},e.prototype.dehydrateView=function(e){for(var t=e.viewOffset+e.proto.mergeInfo.viewCount-1,n=e.viewOffset;t>=n;n++){var r=e.views[n];if(r.hydrated()){l.isPresent(r.locals)&&r.locals.clearValues(),r.context=null,r.changeDetector.dehydrate();for(var i=r.proto.elementBinders,o=0;o<i.length;o++){var s=e.elementInjectors[r.elementOffset+o];l.isPresent(s)&&s.dehydrate()}}}},e=o([a.Injectable(),s("design:paramtypes",[])],e)}();return t.AppViewManagerUtils=m,r.define=i,n.exports}),e.registerDynamic("1b0",["39","20","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},u=e("39"),c=e("20"),l=e("37");t.APP_VIEW_POOL_CAPACITY=c.CONST_EXPR(new u.OpaqueToken("AppViewPool.viewPoolCapacity"));var p=function(){function e(e){this._pooledViewsPerProtoView=new l.Map,this._poolCapacityPerProtoView=e}return e.prototype.getView=function(e){var t=this._pooledViewsPerProtoView.get(e);return c.isPresent(t)&&t.length>0?t.pop():null},e.prototype.returnView=function(e){var t=e.proto,n=this._pooledViewsPerProtoView.get(t);c.isBlank(n)&&(n=[],this._pooledViewsPerProtoView.set(t,n));var r=n.length<this._poolCapacityPerProtoView;return r&&n.push(e),r},e=o([u.Injectable(),a(0,u.Inject(t.APP_VIEW_POOL_CAPACITY)),s("design:paramtypes",[Object])],e)}();return t.AppViewPool=p,r.define=i,n.exports}),e.registerDynamic("55",["39"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("39"),u=function(){function e(){}return e.prototype.onViewCreated=function(e){},e.prototype.onViewDestroyed=function(e){},e=o([a.Injectable(),s("design:paramtypes",[])],e)}();return t.AppViewListener=u,r.define=i,n.exports}),e.registerDynamic("1b1",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(e,t){this.pipe=e,this.pure=t}return e}();return t.SelectedPipe=o,r.define=i,n.exports}),e.registerDynamic("1af",["20","3c","37","1b1"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=e("37"),u=e("1b1"),c=function(){function e(e){this.config=e,this.config=e}return e.fromProviders=function(t){var n={};return t.forEach(function(e){return n[e.name]=e}),new e(n)},e.prototype.get=function(e){var t=this.config[e];if(o.isBlank(t))throw new s.BaseException("Cannot find pipe '"+e+"'.");return t},e}();t.ProtoPipes=c;var l=function(){function e(e,t){this.proto=e,this.injector=t,this._config={}}return e.prototype.get=function(e){var t=a.StringMapWrapper.get(this._config,e);if(o.isPresent(t))return t;var n=this.proto.get(e),r=this.injector.instantiateResolved(n),i=new u.SelectedPipe(r,n.pure);return n.pure&&a.StringMapWrapper.set(this._config,e,i),i},e}();return t.Pipes=l,r.define=i,n.exports}),e.registerDynamic("1b2",["20"],!0,function(e,t,n){"use strict";function r(e){return a.StringWrapper.replaceAllMapped(e,u,function(e){return"-"+e[1].toLowerCase()})}function i(e){return a.StringWrapper.replaceAllMapped(e,c,function(e){return e[1].toUpperCase()})}var o=this,s=o.define;o.define=void 0;var a=e("20"),u=/([A-Z])/g,c=/-([a-z])/g;return t.camelCaseToDashCase=r,t.dashCaseToCamelCase=i,o.define=s,n.exports}),e.registerDynamic("1ab",["37","6e","1b3","20","3c","1a1","1b2"],!0,function(e,t,n){"use strict";function r(e){for(var t={},n=e;l.isPresent(n);)t=a.StringMapWrapper.merge(t,a.MapWrapper.toStringMap(n.current)),n=n.parent;return t}var i=this,o=i.define;i.define=void 0;var s=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},a=e("37"),u=e("6e"),c=e("1b3"),l=e("20"),p=e("3c"),f=e("1a1"),d=e("1b2"),h=e("1a1"),m=e("1b3");t.DebugContext=m.DebugContext;var v="ng-reflect-";!function(e){e[e.HOST=0]="HOST",e[e.COMPONENT=1]="COMPONENT",e[e.EMBEDDED=2]="EMBEDDED"}(t.ViewType||(t.ViewType={}));var y=(t.ViewType,function(){function e(){this.views=[]}return e}());t.AppViewContainer=y;var g=function(){function e(e,t,n,r,i,o,s,c,l){this.renderer=e,this.proto=t,this.viewOffset=n,this.elementOffset=r,this.textOffset=i,this.render=s,this.renderFragment=c,this.containerElementInjector=l,this.views=null,this.elementInjectors=null,this.viewContainers=null,this.preBuiltObjects=null,this.changeDetector=null,this.context=null,this.ref=new h.ViewRef_(this),this.locals=new u.Locals(null,a.MapWrapper.clone(o))}return e.prototype.init=function(e,t,n,r,i,o,s){this.changeDetector=e,this.elementInjectors=t,this.rootElementInjectors=n,this.preBuiltObjects=r,this.views=i,this.elementRefs=o,this.viewContainers=s},e.prototype.setLocal=function(e,t){if(!this.hydrated())throw new p.BaseException("Cannot set locals on dehydrated view.");if(this.proto.templateVariableBindings.has(e)){var n=this.proto.templateVariableBindings.get(e);this.locals.set(n,t)}},e.prototype.hydrated=function(){return l.isPresent(this.context)},e.prototype.triggerEventHandlers=function(e,t,n){var r=new a.Map;r.set("$event",t),this.dispatchEvent(n,e,r)},e.prototype.notifyOnBinding=function(e,t){if(e.isTextNode())this.renderer.setText(this.render,e.elementIndex+this.textOffset,t);else{var n=this.elementRefs[this.elementOffset+e.elementIndex];if(e.isElementProperty())this.renderer.setElementProperty(n,e.name,t);else if(e.isElementAttribute())this.renderer.setElementAttribute(n,e.name,l.isPresent(t)?""+t:null);else if(e.isElementClass())this.renderer.setElementClass(n,e.name,t);else{if(!e.isElementStyle())throw new p.BaseException("Unsupported directive record");var r=l.isPresent(e.unit)?e.unit:"";this.renderer.setElementStyle(n,e.name,l.isPresent(t)?""+t+r:null)}}},e.prototype.logBindingUpdate=function(e,t){if(e.isDirective()||e.isElementProperty()){var n=this.elementRefs[this.elementOffset+e.elementIndex];this.renderer.setBindingDebugInfo(n,""+v+d.camelCaseToDashCase(e.name),""+t)}},e.prototype.notifyAfterContentChecked=function(){for(var e=this.proto.elementBinders.length,t=this.elementInjectors,n=e-1;n>=0;n--)l.isPresent(t[n+this.elementOffset])&&t[n+this.elementOffset].ngAfterContentChecked()},e.prototype.notifyAfterViewChecked=function(){for(var e=this.proto.elementBinders.length,t=this.elementInjectors,n=e-1;n>=0;n--)l.isPresent(t[n+this.elementOffset])&&t[n+this.elementOffset].ngAfterViewChecked()},e.prototype.getDirectiveFor=function(e){var t=this.elementInjectors[this.elementOffset+e.elementIndex];return t.getDirectiveAtIndex(e.directiveIndex)},e.prototype.getNestedView=function(e){var t=this.elementInjectors[e];return l.isPresent(t)?t.getNestedView():null},e.prototype.getContainerElement=function(){return l.isPresent(this.containerElementInjector)?this.containerElementInjector.getElementRef():null},e.prototype.getDebugContext=function(e,t){try{var n=this.elementOffset+e,i=n<this.elementRefs.length,o=i?this.elementRefs[this.elementOffset+e]:null,s=this.getContainerElement(),a=i?this.elementInjectors[this.elementOffset+e]:null,u=l.isPresent(o)?o.nativeElement:null,p=l.isPresent(s)?s.nativeElement:null,f=l.isPresent(t)?this.getDirectiveFor(t):null,d=l.isPresent(a)?a.getInjector():null;return new c.DebugContext(u,p,f,this.context,r(this.locals),d)}catch(h){return null}},e.prototype.getDetectorFor=function(e){var t=this.getNestedView(this.elementOffset+e.elementIndex);return l.isPresent(t)?t.changeDetector:null},e.prototype.invokeElementMethod=function(e,t,n){this.renderer.invokeElementMethod(this.elementRefs[e],t,n)},e.prototype.dispatchRenderEvent=function(e,t,n){var r=this.elementRefs[e],i=f.internalView(r.parentView);return i.dispatchEvent(r.boundElementIndex,t,n)},e.prototype.dispatchEvent=function(e,t,n){try{return this.hydrated()?!this.changeDetector.handleEvent(t,e-this.elementOffset,new u.Locals(this.locals,n)):!0}catch(r){var i=this.getDebugContext(e-this.elementOffset,null),o=l.isPresent(i)?new b(i.element,i.componentElement,i.context,i.locals,i.injector):null;throw new _(t,r,r.stack,o)}},Object.defineProperty(e.prototype,"ownBindersCount",{get:function(){return this.proto.elementBinders.length},enumerable:!0,configurable:!0}),e}();t.AppView=g;var b=function(){function e(e,t,n,r,i){this.element=e,this.componentElement=t,this.context=n,this.locals=r,this.injector=i}return e}(),_=function(e){function t(t,n,r,i){e.call(this,'Error during evaluation of "'+t+'"',n,r,i)}return s(t,e),t}(p.WrappedException),E=function(){function e(e,t,n){this.embeddedViewCount=e,this.elementCount=t,this.viewCount=n}return e}();t.AppProtoViewMergeInfo=E;var D=function(){function e(e,t,n,r,i,o,s){this.templateId=e,this.templateCmds=t,this.type=n,this.isMergable=r,this.changeDetectorFactory=i,this.templateVariableBindings=o,this.pipes=s,this.elementBinders=null,this.mergeInfo=null,this.variableLocations=null,this.textBindingCount=null,this.render=null,this.ref=new h.ProtoViewRef_(this)}return e.prototype.init=function(e,t,n,r,i){var o=this;this.render=e,this.elementBinders=t,this.textBindingCount=n,this.mergeInfo=r,this.variableLocations=i,this.protoLocals=new a.Map,l.isPresent(this.templateVariableBindings)&&this.templateVariableBindings.forEach(function(e,t){o.protoLocals.set(e,null)}),l.isPresent(i)&&i.forEach(function(e,t){o.protoLocals.set(t,null)})},e.prototype.isInitialized=function(){return l.isPresent(this.elementBinders)},e}();return t.AppProtoView=D,i.define=o,n.exports}),e.registerDynamic("1b4",["20","3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=function(){function e(e,t,n,r,i,a){if(this.index=e,this.parent=t,this.distanceToParent=n,this.protoElementInjector=r,this.componentDirective=i,this.nestedProtoView=a,o.isBlank(e))throw new s.BaseException("null index not allowed.")}return e}();return t.ElementBinder=a,r.define=i,n.exports}),e.registerDynamic("1aa",["37","3c","20","1a1"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("37"),a=e("3c"),u=e("20"),c=e("1a1"),l=function(){function e(){}return e.prototype.clear=function(){for(var e=this.length-1;e>=0;e--)this.remove(e)},Object.defineProperty(e.prototype,"length",{get:function(){return a.unimplemented()},enumerable:!0,configurable:!0}),e}();t.ViewContainerRef=l;var p=function(e){function t(t,n){e.call(this),this.viewManager=t,this.element=n}return o(t,e),t.prototype._getViews=function(){var e=this.element,t=c.internalView(e.parentView).viewContainers[e.boundElementIndex];return u.isPresent(t)?t.views:[]},t.prototype.get=function(e){return this._getViews()[e].ref},Object.defineProperty(t.prototype,"length",{get:function(){return this._getViews().length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(e,t){return void 0===t&&(t=-1),-1==t&&(t=this.length),this.viewManager.createEmbeddedViewInContainer(this.element,t,e)},t.prototype.createHostView=function(e,t,n){return void 0===e&&(e=null),void 0===t&&(t=-1),void 0===n&&(n=null),-1==t&&(t=this.length),this.viewManager.createHostViewInContainer(this.element,t,e,n)},t.prototype.insert=function(e,t){return void 0===t&&(t=-1),-1==t&&(t=this.length),this.viewManager.attachViewInContainer(this.element,t,e)},t.prototype.indexOf=function(e){return s.ListWrapper.indexOf(this._getViews(),c.internalView(e))},t.prototype.remove=function(e){void 0===e&&(e=-1),-1==e&&(e=this.length-1),this.viewManager.destroyViewInContainer(this.element,e)},t.prototype.detach=function(e){return void 0===e&&(e=-1),-1==e&&(e=this.length-1),this.viewManager.detachViewInContainer(this.element,e)},t}(l);return t.ViewContainerRef_=p,r.define=i,n.exports}),e.registerDynamic("1a8",["3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("3c"),a=function(){function e(){}return Object.defineProperty(e.prototype,"nativeElement",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderView",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),e}();t.ElementRef=a;var u=function(e){function t(t,n,r){e.call(this),this.parentView=t,this.boundElementIndex=n,this._renderer=r}return o(t,e),Object.defineProperty(t.prototype,"renderView",{get:function(){return this.parentView.render},set:function(e){s.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this._renderer.getNativeElementSync(this)},enumerable:!0,configurable:!0}),t}(a);return t.ElementRef_=u,r.define=i,n.exports}),e.registerDynamic("1a1",["20","3c"],!0,function(e,t,n){"use strict";function r(e){return e._view}function i(e){return u.isPresent(e)?e._protoView:null}var o=this,s=o.define;o.define=void 0;var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=e("20"),c=e("3c");t.internalView=r,t.internalProtoView=i;var l=function(){function e(){}return Object.defineProperty(e.prototype,"changeDetectorRef",{get:function(){return c.unimplemented()},set:function(e){c.unimplemented()},enumerable:!0,configurable:!0}),e}();t.ViewRef=l;var p=function(e){function t(t){e.call(this),this._changeDetectorRef=null,this._view=t}return a(t,e),Object.defineProperty(t.prototype,"render",{get:function(){return this._view.render},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderFragment",{get:function(){return this._view.renderFragment},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"changeDetectorRef",{get:function(){return null===this._changeDetectorRef&&(this._changeDetectorRef=this._view.changeDetector.ref),this._changeDetectorRef},enumerable:!0,configurable:!0}),t.prototype.setLocal=function(e,t){this._view.setLocal(e,t)},t}(l);t.ViewRef_=p;var f=function(){function e(){}return e}();t.ProtoViewRef=f;var d=function(e){function t(t){e.call(this),this._protoView=t}return a(t,e),t}(f);return t.ProtoViewRef_=d,o.define=s,n.exports}),e.registerDynamic("1a9",["1a1"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1a1"),a=function(){function e(){}return e}();t.TemplateRef=a;var u=function(e){function t(t){
|
||
e.call(this),this.elementRef=t}return o(t,e),t.prototype._getProtoView=function(){var e=this.elementRef,t=s.internalView(e.parentView);return t.proto.elementBinders[e.boundElementIndex-t.elementOffset].nestedProtoView},Object.defineProperty(t.prototype,"protoViewRef",{get:function(){return this._getProtoView().ref},enumerable:!0,configurable:!0}),t.prototype.hasLocal=function(e){return this._getProtoView().templateVariableBindings.has(e)},t}(a);return t.TemplateRef_=u,r.define=i,n.exports}),e.registerDynamic("80",["20","7c"],!0,function(e,t,n){"use strict";function r(e,t){if(!(t instanceof s.Type))return!1;var n=t.prototype;switch(e){case a.LifecycleHooks.AfterContentInit:return!!n.ngAfterContentInit;case a.LifecycleHooks.AfterContentChecked:return!!n.ngAfterContentChecked;case a.LifecycleHooks.AfterViewInit:return!!n.ngAfterViewInit;case a.LifecycleHooks.AfterViewChecked:return!!n.ngAfterViewChecked;case a.LifecycleHooks.OnChanges:return!!n.ngOnChanges;case a.LifecycleHooks.DoCheck:return!!n.ngDoCheck;case a.LifecycleHooks.OnDestroy:return!!n.ngOnDestroy;case a.LifecycleHooks.OnInit:return!!n.ngOnInit;default:return!1}}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=e("7c");return t.hasLifecycleHook=r,i.define=o,n.exports}),e.registerDynamic("8b",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(){}return e.resolve=function(e){return Promise.resolve(e)},e.reject=function(e,t){return Promise.reject(e)},e.catchError=function(e,t){return e["catch"](t)},e.all=function(e){return 0==e.length?Promise.resolve([]):Promise.all(e)},e.then=function(e,t,n){return e.then(t,n)},e.wrap=function(e){return new Promise(function(t,n){try{t(e())}catch(r){n(r)}})},e.scheduleMicrotask=function(t){e.then(e.resolve(null),t,function(e){})},e.isPromise=function(e){return e instanceof Promise},e.completer=function(){var e,t,n=new Promise(function(n,r){e=n,t=r});return{promise:n,resolve:e,reject:t}},e}();return t.PromiseWrapper=o,r.define=i,n.exports}),e.registerDynamic("1b5",["1b6","1b7"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1b6"),a=e("1b7"),u=function(e){function t(t,n){e.call(this),this.subject=t,this.observer=n,this.isUnsubscribed=!1}return o(t,e),t.prototype.unsubscribe=function(){if(!this.isUnsubscribed){this.isUnsubscribed=!0;var e=this.subject,t=e.observers;if(this.subject=void 0,t&&0!==t.length&&!e.isUnsubscribed){this.observer instanceof a.Subscriber&&this.observer.unsubscribe();var n=t.indexOf(this.observer);-1!==n&&t.splice(n,1)}}},t}(s.Subscription);return t.SubjectSubscription=u,r.define=i,n.exports}),e.registerDynamic("1b8",["1b9","1b7","1b6","1b5","1ba"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1b9"),a=e("1b7"),u=e("1b6"),c=e("1b5"),l=e("1ba"),p=u.Subscription.prototype.add,f=u.Subscription.prototype.remove,d=u.Subscription.prototype.unsubscribe,h=a.Subscriber.prototype.next,m=a.Subscriber.prototype.error,v=a.Subscriber.prototype.complete,y=a.Subscriber.prototype._next,g=a.Subscriber.prototype._error,b=a.Subscriber.prototype._complete,_=function(e){function t(){e.apply(this,arguments),this.observers=[],this.isUnsubscribed=!1,this.dispatching=!1,this.errorSignal=!1,this.completeSignal=!1}return o(t,e),t.prototype[l.rxSubscriber]=function(){return this},t.create=function(e,t){return new E(e,t)},t.prototype.lift=function(e){var t=new E(this,this.destination||this);return t.operator=e,t},t.prototype._subscribe=function(e){if(!e.isUnsubscribed){if(this.errorSignal)return void e.error(this.errorInstance);if(this.completeSignal)return void e.complete();if(this.isUnsubscribed)throw new Error("Cannot subscribe to a disposed Subject.");return this.observers.push(e),new c.SubjectSubscription(this,e)}},t.prototype.add=function(e){p.call(this,e)},t.prototype.remove=function(e){f.call(this,e)},t.prototype.unsubscribe=function(){this.observers=void 0,d.call(this)},t.prototype.next=function(e){this.isUnsubscribed||(this.dispatching=!0,this._next(e),this.dispatching=!1,this.errorSignal?this.error(this.errorInstance):this.completeSignal&&this.complete())},t.prototype.error=function(e){this.isUnsubscribed||this.completeSignal||(this.errorSignal=!0,this.errorInstance=e,this.dispatching||(this._error(e),this.unsubscribe()))},t.prototype.complete=function(){this.isUnsubscribed||this.errorSignal||(this.completeSignal=!0,this.dispatching||(this._complete(),this.unsubscribe()))},t.prototype._next=function(e){for(var t=-1,n=this.observers.slice(0),r=n.length;++t<r;)n[t].next(e)},t.prototype._error=function(e){var t=-1,n=this.observers,r=n.length;for(this.observers=void 0,this.isUnsubscribed=!0;++t<r;)n[t].error(e);this.isUnsubscribed=!1},t.prototype._complete=function(){var e=-1,t=this.observers,n=t.length;for(this.observers=void 0,this.isUnsubscribed=!0;++e<n;)t[e].complete();this.isUnsubscribed=!1},t}(s.Observable);t.Subject=_;var E=function(e){function t(t,n){e.call(this),this.source=t,this.destination=n}return o(t,e),t.prototype._subscribe=function(e){var t=this.operator;return this.source._subscribe.call(this.source,t?t.call(e):e)},t.prototype.next=function(e){h.call(this,e)},t.prototype.error=function(e){m.call(this,e)},t.prototype.complete=function(){v.call(this)},t.prototype._next=function(e){y.call(this,e)},t.prototype._error=function(e){g.call(this,e)},t.prototype._complete=function(){b.call(this)},t}(_);return r.define=i,n.exports}),e.registerDynamic("1bb",["1b6"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1b6"),a=function(e){function t(t,n){e.call(this),this.scheduler=t,this.work=n}return o(t,e),t.prototype.schedule=function(e){if(this.isUnsubscribed)return this;this.state=e;var t=this.scheduler;return t.actions.push(this),t.flush(),this},t.prototype.execute=function(){if(this.isUnsubscribed)throw new Error("How did did we execute a canceled Action?");this.work(this.state)},t.prototype.unsubscribe=function(){var t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=void 0,this.state=void 0,this.scheduler=void 0,-1!==r&&n.splice(r,1),e.prototype.unsubscribe.call(this)},t}(s.Subscription);return t.QueueAction=a,r.define=i,n.exports}),e.registerDynamic("1bc",["1bb"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1bb"),a=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.work=n}return o(t,e),t.prototype.schedule=function(e,t){var n=this;if(void 0===t&&(t=0),this.isUnsubscribed)return this;this.delay=t,this.state=e;var r=this.id;null!=r&&(this.id=void 0,clearTimeout(r));var i=this.scheduler;return this.id=setTimeout(function(){n.id=void 0,i.actions.push(n),i.flush()},this.delay),this},t.prototype.unsubscribe=function(){var t=this.id;null!=t&&(this.id=void 0,clearTimeout(t)),e.prototype.unsubscribe.call(this)},t}(s.QueueAction);return t.FutureAction=a,r.define=i,n.exports}),e.registerDynamic("1bd",["1bb","1bc"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("1bb"),s=e("1bc"),a=function(){function e(){this.actions=[],this.active=!1,this.scheduled=!1}return e.prototype.now=function(){return Date.now()},e.prototype.flush=function(){if(!this.active&&!this.scheduled){this.active=!0;for(var e=this.actions,t=void 0;t=e.shift();)t.execute();this.active=!1}},e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),0>=t?this.scheduleNow(e,n):this.scheduleLater(e,t,n)},e.prototype.scheduleNow=function(e,t){return new o.QueueAction(this,e).schedule(t)},e.prototype.scheduleLater=function(e,t,n){return new s.FutureAction(this,e).schedule(n,t)},e}();return t.QueueScheduler=a,r.define=i,n.exports}),e.registerDynamic("1be",["1bd"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("1bd");return t.queue=new o.QueueScheduler,r.define=i,n.exports}),e.registerDynamic("1bf",["1b9","1b6","1be"],!0,function(e,t,n){function r(e){var t=e.value,n=e.subscriber;n.next(t),n.complete()}function i(e){var t=e.err,n=e.subscriber;n.error(t)}var o=this,s=o.define;o.define=void 0;var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=e("1b9"),c=e("1b6"),l=e("1be"),p=function(e){function t(t,n){void 0===n&&(n=l.queue),e.call(this),this.promise=t,this.scheduler=n,this._isScalar=!1}return a(t,e),t.create=function(e,n){return void 0===n&&(n=l.queue),new t(e,n)},t.prototype._subscribe=function(e){var t=this,n=this.scheduler,o=this.promise;if(n!==l.queue){var s=new c.Subscription;if(this._isScalar){var a=this.value;s.add(n.schedule(r,0,{value:a,subscriber:e}))}else o.then(function(i){t._isScalar=!0,t.value=i,s.add(n.schedule(r,0,{value:i,subscriber:e}))},function(t){return s.add(n.schedule(i,0,{err:t,subscriber:e}))}).then(null,function(e){n.schedule(function(){throw e})});return s}this._isScalar?(e.next(this.value),e.complete()):o.then(function(n){t._isScalar=!0,t.value=n,e.next(n),e.complete()},function(t){return e.error(t)}).then(null,function(e){setTimeout(function(){throw e})})},t}(u.Observable);return t.PromiseObservable=p,o.define=s,n.exports}),e.registerDynamic("1c0",["1c1"],!0,function(e,t,n){function r(e){var t=this;if(e||(s.root.Rx&&s.root.Rx.config&&s.root.Rx.config.Promise?e=s.root.Rx.config.Promise:s.root.Promise&&(e=s.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})}var i=this,o=i.define;i.define=void 0;var s=e("1c1");return t.toPromise=r,i.define=o,n.exports}),e.registerDynamic("1c2",[],!0,function(e,t,n){function r(e){throw e}var i=this,o=i.define;return i.define=void 0,t.throwError=r,i.define=o,n.exports}),e.registerDynamic("1c3",[],!0,function(e,t,n){function r(e){function t(){try{t.target.apply(this,arguments)}catch(e){this.error(e)}}return t.target=e,t}var i=this,o=i.define;return i.define=void 0,t.tryOrOnError=r,i.define=o,n.exports}),e.registerDynamic("1c4",[],!0,function(e,t,n){function r(){}var i=this,o=i.define;return i.define=void 0,t.noop=r,i.define=o,n.exports}),e.registerDynamic("1b6",["1c4"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("1c4"),s=function(){function e(e){this.isUnsubscribed=!1,e&&(this._unsubscribe=e)}return e.prototype._unsubscribe=function(){o.noop()},e.prototype.unsubscribe=function(){if(!this.isUnsubscribed){this.isUnsubscribed=!0;var e=this._unsubscribe,t=this._subscriptions;if(this._subscriptions=void 0,e&&e.call(this),null!=t)for(var n=-1,r=t.length;++n<r;)t[n].unsubscribe()}},e.prototype.add=function(t){if(t&&t!==this&&t!==e.EMPTY){var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.isUnsubscribed||"function"!=typeof n.unsubscribe)break;if(this.isUnsubscribed)n.unsubscribe();else{var r=this._subscriptions||(this._subscriptions=[]);r.push(n)}break;default:throw new Error("Unrecognized subscription "+t+" added to Subscription.")}}},e.prototype.remove=function(t){if(null!=t&&t!==this&&t!==e.EMPTY){var n=this._subscriptions;if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}}},e.EMPTY=function(e){return e.isUnsubscribed=!0,e}(new e),e}();return t.Subscription=s,r.define=i,n.exports}),e.registerDynamic("1b7",["1c4","1c2","1c3","1b6","1ba"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1c4"),a=e("1c2"),u=e("1c3"),c=e("1b6"),l=e("1ba"),p=function(e){function t(n){if(e.call(this),this.destination=n,this._isUnsubscribed=!1,this.destination){var r=n._subscription;r?this._subscription=r:n instanceof t&&(this._subscription=n)}}return o(t,e),t.prototype[l.rxSubscriber]=function(){return this},Object.defineProperty(t.prototype,"isUnsubscribed",{get:function(){var e=this._subscription;return e?this._isUnsubscribed||e.isUnsubscribed:this._isUnsubscribed},set:function(e){var t=this._subscription;t?t.isUnsubscribed=Boolean(e):this._isUnsubscribed=Boolean(e)},enumerable:!0,configurable:!0}),t.create=function(e,n,r){var i=new t;return i._next="function"==typeof e&&u.tryOrOnError(e)||s.noop,i._error="function"==typeof n&&n||a.throwError,i._complete="function"==typeof r&&r||s.noop,i},t.prototype.add=function(t){var n=this._subscription;n?n.add(t):e.prototype.add.call(this,t)},t.prototype.remove=function(t){this._subscription?this._subscription.remove(t):e.prototype.remove.call(this,t)},t.prototype.unsubscribe=function(){this._isUnsubscribed||(this._subscription?this._isUnsubscribed=!0:e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){var t=this.destination;t.next&&t.next(e)},t.prototype._error=function(e){var t=this.destination;t.error&&t.error(e)},t.prototype._complete=function(){var e=this.destination;e.complete&&e.complete()},t.prototype.next=function(e){this.isUnsubscribed||this._next(e)},t.prototype.error=function(e){this.isUnsubscribed||(this._error(e),this.unsubscribe())},t.prototype.complete=function(){this.isUnsubscribed||(this._complete(),this.unsubscribe())},t}(c.Subscription);return t.Subscriber=p,r.define=i,n.exports}),e.registerDynamic("1c1",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1};t.root=o[typeof self]&&self||o[typeof window]&&window;var s=(o[typeof t]&&t&&!t.nodeType&&t,o[typeof n]&&n&&!n.nodeType&&n,o[typeof r]&&r);return!s||s.global!==s&&s.window!==s||(t.root=s),r.define=i,n.exports}),e.registerDynamic("1c5",["1c1"],!0,function(e,t,n){function r(e){var t=o(e);return a(t,e),u(t),i(t),t}function i(e){e["for"]||(e["for"]=s)}function o(e){return e.Symbol||(e.Symbol=function(e){return"@@Symbol("+e+"):"+f++}),e.Symbol}function s(e){return"@@"+e}function a(e,t){if(!e.iterator)if("function"==typeof e["for"])e.iterator=e["for"]("iterator");else if(t.Set&&"function"==typeof(new t.Set)["@@iterator"])e.iterator="@@iterator";else if(t.Map)for(var n=Object.getOwnPropertyNames(t.Map.prototype),r=0;r<n.length;++r){var i=n[r];if("entries"!==i&&"size"!==i&&t.Map.prototype[i]===t.Map.prototype.entries){e.iterator=i;break}}else e.iterator="@@iterator"}function u(e){e.observable||("function"==typeof e["for"]?e.observable=e["for"]("observable"):e.observable="@@observable")}var c=this,l=c.define;c.define=void 0;var p=e("1c1");t.polyfillSymbol=r,t.ensureFor=i;var f=0;return t.ensureSymbol=o,t.symbolForPolyfill=s,t.ensureIterator=a,t.ensureObservable=u,t.SymbolShim=r(p.root),c.define=l,n.exports}),e.registerDynamic("1ba",["1c5"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("1c5");return t.rxSubscriber=o.SymbolShim["for"]("rxSubscriber"),r.define=i,n.exports}),e.registerDynamic("1b9",["1b7","1c1","1c5","1ba"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("1b7"),s=e("1c1"),a=e("1c5"),u=e("1ba"),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype[a.SymbolShim.observable]=function(){return this},e.prototype.subscribe=function(e,t,n){var r;if(e&&"object"==typeof e)r=e instanceof o.Subscriber?e:e[u.rxSubscriber]?e[u.rxSubscriber]():new o.Subscriber(e);else{var i=e;r=o.Subscriber.create(i,t,n)}return r.add(this._subscribe(r)),r},e.prototype.forEach=function(e,t,n){if(n||(s.root.Rx&&s.root.Rx.config&&s.root.Rx.config.Promise?n=s.root.Rx.config.Promise:s.root.Promise&&(n=s.root.Promise)),!n)throw new Error("no Promise impl found");var r;t?(r=function o(e){var t=o,n=t.thisArg,r=t.next;return r.call(n,e)},r.thisArg=t,r.next=e):r=e;var i=function a(e,t){var n=a,r=n.source,i=n.nextHandler;r.subscribe(i,t,e)};return i.source=this,i.nextHandler=r,new n(i)},e.prototype._subscribe=function(e){return this.source._subscribe(this.operator.call(e))},e.create=function(t){return new e(t)},e}();return t.Observable=c,r.define=i,n.exports}),e.registerDynamic("63",["20","8b","1b8","1bf","1c0","1b9"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("20"),a=e("8b");t.PromiseWrapper=a.PromiseWrapper,t.Promise=a.Promise;var u=e("1b8"),c=e("1bf"),l=e("1c0"),p=e("1b9");t.Observable=p.Observable;var f=e("1b8");t.Subject=f.Subject;var d=function(){function e(){}return e.setTimeout=function(e,t){return s.global.setTimeout(e,t)},e.clearTimeout=function(e){s.global.clearTimeout(e)},e.setInterval=function(e,t){return s.global.setInterval(e,t)},e.clearInterval=function(e){s.global.clearInterval(e)},e}();t.TimerWrapper=d;var h=function(){function e(){}return e.subscribe=function(e,t,n,r){return void 0===r&&(r=function(){}),n="function"==typeof n&&n||s.noop,r="function"==typeof r&&r||s.noop,e.subscribe({next:t,error:n,complete:r})},e.isObservable=function(e){return!!e.subscribe},e.hasSubscribers=function(e){return e.observers.length>0},e.dispose=function(e){e.unsubscribe()},e.callNext=function(e,t){e.next(t)},e.callEmit=function(e,t){e.emit(t)},e.callError=function(e,t){e.error(t)},e.callComplete=function(e){e.complete()},e.fromPromise=function(e){return c.PromiseObservable.create(e)},e.toPromise=function(e){return l.toPromise.call(e)},e}();t.ObservableWrapper=h;var m=function(e){function t(t){void 0===t&&(t=!0),e.call(this),this._isAsync=t}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.next=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var i,o=function(e){return null},s=function(){return null};return t&&"object"==typeof t?(i=this._isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(o=this._isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(s=this._isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(i=this._isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(o=this._isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(s=this._isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),e.prototype.subscribe.call(this,i,o,s)},t}(u.Subject);return t.EventEmitter=m,r.define=i,n.exports}),e.registerDynamic("1a7",["37","20","63"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("37"),s=e("20"),a=e("63"),u=function(){function e(){this._results=[],this._emitter=new a.EventEmitter}return Object.defineProperty(e.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){return o.ListWrapper.first(this._results)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return o.ListWrapper.last(this._results)},enumerable:!0,configurable:!0}),e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.toArray=function(){return o.ListWrapper.clone(this._results)},e.prototype[s.getSymbolIterator()]=function(){return this._results[s.getSymbolIterator()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=e},e.prototype.notifyOnChanges=function(){this._emitter.emit(this)},e}();return t.QueryList=u,r.define=i,n.exports}),e.registerDynamic("1c6",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0,t.EVENT_TARGET_SEPARATOR=":";var o=function(){function e(e,t,n){this.fieldName=e,this.eventName=t,this.isLongForm=n}return e.parse=function(n){var r=n,i=n,o=!1,s=n.indexOf(t.EVENT_TARGET_SEPARATOR);return s>-1&&(r=n.substring(0,s).trim(),i=n.substring(s+1).trim(),o=!0),new e(r,i,o)},e.prototype.getFullName=function(){return this.isLongForm?""+this.fieldName+t.EVENT_TARGET_SEPARATOR+this.eventName:this.eventName},e}();return t.EventConfig=o,r.define=i,n.exports}),e.registerDynamic("1c7",["1c8","39"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1c8"),a=e("39"),u=function(e){function t(t,n,r,i,o){e.call(this,r,i,o),this.name=t,this.pure=n}return o(t,e),t.createFromType=function(e,n){var r=new a.Provider(e,{useClass:e}),i=s.resolveProvider(r);return new t(n.name,n.pure,i.key,i.resolvedFactories,i.multiProvider)},t}(s.ResolvedProvider_);return t.PipeProvider=u,r.define=i,n.exports}),e.registerDynamic("7c",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0,function(e){e[e.OnInit=0]="OnInit",e[e.OnDestroy=1]="OnDestroy",e[e.DoCheck=2]="DoCheck",e[e.OnChanges=3]="OnChanges",e[e.AfterContentInit=4]="AfterContentInit",e[e.AfterContentChecked=5]="AfterContentChecked",e[e.AfterViewInit=6]="AfterViewInit",e[e.AfterViewChecked=7]="AfterViewChecked"}(t.LifecycleHooks||(t.LifecycleHooks={}));var o=t.LifecycleHooks;return t.LIFECYCLE_HOOKS_VALUES=[o.OnInit,o.OnDestroy,o.DoCheck,o.OnChanges,o.AfterContentInit,o.AfterContentChecked,o.AfterViewInit,o.AfterViewChecked],r.define=i,n.exports}),e.registerDynamic("1ae",["20","3c","63","37","39","1c9","1c8","1ca","1a6","1aa","1a8","1a9","7d","80","6e","1a7","81","1c6","1c7","7c"],!0,function(e,t,n){"use strict";function r(e){var t=e.provider;if(!(t instanceof k))return[];var n=t;return n.eventEmitters.map(function(e){var t=A.EventConfig.parse(e);return new j(t.eventName,x.reflector.getter(t.fieldName))})}function i(e){var t=[];return f.ListWrapper.forEachWithIndex(e,function(e,n){if(e.provider instanceof k){var r=e.provider,i=r.queries;i.forEach(function(e){return t.push(new z(n,e.setter,e.metadata))});var o=r.resolvedFactory.dependencies;o.forEach(function(e){c.isPresent(e.queryDecorator)&&t.push(new z(n,null,e.queryDecorator))})}}),t}var o=this,s=o.define;o.define=void 0;var a,u=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},c=e("20"),l=e("3c"),p=e("63"),f=e("37"),d=e("39"),h=e("1c9"),m=e("1c8"),v=e("1ca"),y=e("1a6"),g=e("1aa"),b=e("1a8"),_=e("1a9"),E=e("7d"),D=e("80"),w=e("6e"),C=e("1a7"),x=e("81"),A=e("1c6"),P=e("1c7"),S=e("7c"),O=e("1aa"),R=function(){function e(){this.viewManagerId=d.Key.get(y.AppViewManager).id,this.templateRefId=d.Key.get(_.TemplateRef).id,this.viewContainerId=d.Key.get(g.ViewContainerRef).id,this.changeDetectorRefId=d.Key.get(w.ChangeDetectorRef).id,this.elementRefId=d.Key.get(b.ElementRef).id}return e.instance=function(){return c.isBlank(a)&&(a=new e),a},e}();t.StaticKeys=R;var I=function(){function e(e){c.isPresent(e)?e.addChild(this):this._parent=null}return e.prototype.addChild=function(e){e._parent=this},e.prototype.remove=function(){this._parent=null},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),e}();t.TreeNode=I;var T=function(e){function t(t,n,r,i,o,s,a){e.call(this,t,n,r,i,o),this.attributeName=s,this.queryDecorator=a,this._verify()}return u(t,e),t.prototype._verify=function(){var e=0;if(c.isPresent(this.queryDecorator)&&e++,c.isPresent(this.attributeName)&&e++,e>1)throw new l.BaseException("A directive injectable can contain only one of the following @Attribute or @Query.")},t.createFrom=function(e){return new t(e.key,e.optional,e.lowerBoundVisibility,e.upperBoundVisibility,e.properties,t._attributeName(e.properties),t._query(e.properties))},t._attributeName=function(e){var t=e.find(function(e){return e instanceof v.AttributeMetadata});return c.isPresent(t)?t.attributeName:null},t._query=function(e){return e.find(function(e){return e instanceof v.QueryMetadata})},t}(d.Dependency);t.DirectiveDependency=T;var k=function(e){function t(t,n,r,i,o,s){e.call(this,t,[new m.ResolvedFactory(n,r)],!1),this.metadata=i,this.providers=o,this.viewProviders=s,this.callOnDestroy=D.hasLifecycleHook(S.LifecycleHooks.OnDestroy,t.token)}return u(t,e),Object.defineProperty(t.prototype,"displayName",{get:function(){return this.key.displayName},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queries",{get:function(){if(c.isBlank(this.metadata.queries))return[];var e=[];return f.StringMapWrapper.forEach(this.metadata.queries,function(t,n){var r=x.reflector.setter(n);e.push(new F(r,t))}),e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eventEmitters",{get:function(){return c.isPresent(this.metadata)&&c.isPresent(this.metadata.outputs)?this.metadata.outputs:[]},enumerable:!0,configurable:!0}),t.createFromProvider=function(e,n){c.isBlank(n)&&(n=new E.DirectiveMetadata);var r=m.resolveProvider(e),i=r.resolvedFactories[0],o=i.dependencies.map(T.createFrom),s=c.isPresent(n.providers)?n.providers:[],a=n instanceof E.ComponentMetadata&&c.isPresent(n.viewProviders)?n.viewProviders:[];return new t(r.key,i.factory,o,n,s,a)},t.createFromType=function(e,n){var r=new d.Provider(e,{useClass:e});return t.createFromProvider(r,n)},t}(m.ResolvedProvider_);t.DirectiveProvider=k;var N=function(){function e(e,t,n,r){this.viewManager=e,this.view=t,this.elementRef=n,this.templateRef=r,this.nestedView=null}return e}();t.PreBuiltObjects=N;var F=function(){function e(e,t){this.setter=e,this.metadata=t}return e}();t.QueryMetadataWithSetter=F;var j=function(){function e(e,t){this.eventName=e,this.getter=t}return e.prototype.subscribe=function(e,t,n){var r=this,i=this.getter(n);return p.ObservableWrapper.subscribe(i,function(n){return e.triggerEventHandlers(r.eventName,n,t)})},e}();t.EventEmitterAccessor=j;var M=function(){function e(e,t,n,o,s,a){this.parent=e,this.index=t,this.distanceToParent=o,this.directiveVariableBindings=a,this._firstProviderIsComponent=s;var u=n.length;this.protoInjector=new h.ProtoInjector(n),this.eventEmitterAccessors=f.ListWrapper.createFixedSize(u);for(var c=0;u>c;++c)this.eventEmitterAccessors[c]=r(n[c]);this.protoQueryRefs=i(n)}return e.create=function(t,n,r,i,o,s){var a=[];return e._createDirectiveProviderWithVisibility(r,a,i),i&&e._createViewProvidersWithVisibility(r,a),e._createProvidersWithVisibility(r,a),new e(t,n,a,o,i,s)},e._createDirectiveProviderWithVisibility=function(t,n,r){t.forEach(function(i){n.push(e._createProviderWithVisibility(r,i,t,i))})},e._createProvidersWithVisibility=function(e,t){var n=[];e.forEach(function(e){n=f.ListWrapper.concat(n,e.providers)});var r=d.Injector.resolve(n);r.forEach(function(e){return t.push(new h.ProviderWithVisibility(e,h.Visibility.Public))})},e._createProviderWithVisibility=function(e,t,n,r){var i=e&&n[0]===t;return new h.ProviderWithVisibility(r,i?h.Visibility.PublicAndPrivate:h.Visibility.Public)},e._createViewProvidersWithVisibility=function(e,t){var n=d.Injector.resolve(e[0].viewProviders);n.forEach(function(e){return t.push(new h.ProviderWithVisibility(e,h.Visibility.Private))})},e.prototype.instantiate=function(e){return new L(this,e)},e.prototype.directParent=function(){return this.distanceToParent<2?this.parent:null},Object.defineProperty(e.prototype,"hasBindings",{get:function(){return this.eventEmitterAccessors.length>0},enumerable:!0,configurable:!0}),e.prototype.getProviderAtIndex=function(e){return this.protoInjector.getProviderAtIndex(e)},e}();t.ProtoElementInjector=M;var B=function(){function e(e,t,n){this.element=e,this.componentElement=t,this.injector=n}return e}(),L=function(e){function t(t,n){var r=this;e.call(this,n),this._preBuiltObjects=null,this._proto=t,this._injector=new d.Injector(this._proto.protoInjector,null,this,function(){return r._debugContext()});var i=this._injector.internalStrategy;this._strategy=i instanceof h.InjectorInlineStrategy?new H(i,this):new q(i,this),this.hydrated=!1,this._queryStrategy=this._buildQueryStrategy()}return u(t,e),t.prototype.dehydrate=function(){this.hydrated=!1,this._host=null,this._preBuiltObjects=null,this._strategy.callOnDestroy(),this._strategy.dehydrate(),this._queryStrategy.dehydrate()},t.prototype.hydrate=function(e,t,n){this._host=t,this._preBuiltObjects=n,this._reattachInjectors(e),this._queryStrategy.hydrate(),this._strategy.hydrate(),this.hydrated=!0},t.prototype._debugContext=function(){var e=this._preBuiltObjects,t=e.elementRef.boundElementIndex-e.view.elementOffset,n=this._preBuiltObjects.view.getDebugContext(t,null);return c.isPresent(n)?new B(n.element,n.componentElement,n.injector):null},t.prototype._reattachInjectors=function(e){c.isPresent(this._parent)?c.isPresent(e)?(this._reattachInjector(this._injector,e,!1),this._reattachInjector(e,this._parent._injector,!1)):this._reattachInjector(this._injector,this._parent._injector,!1):c.isPresent(this._host)?c.isPresent(e)?(this._reattachInjector(this._injector,e,!1),this._reattachInjector(e,this._host._injector,!0)):this._reattachInjector(this._injector,this._host._injector,!0):c.isPresent(e)&&this._reattachInjector(this._injector,e,!0)},t.prototype._reattachInjector=function(e,t,n){e.internalStrategy.attach(t,n)},t.prototype.hasVariableBinding=function(e){var t=this._proto.directiveVariableBindings;return c.isPresent(t)&&t.has(e)},t.prototype.getVariableBinding=function(e){var t=this._proto.directiveVariableBindings.get(e);return c.isPresent(t)?this.getDirectiveAtIndex(t):this.getElementRef()},t.prototype.get=function(e){return this._injector.get(e)},t.prototype.hasDirective=function(e){return c.isPresent(this._injector.getOptional(e))},t.prototype.getEventEmitterAccessors=function(){return this._proto.eventEmitterAccessors},t.prototype.getDirectiveVariableBindings=function(){return this._proto.directiveVariableBindings},t.prototype.getComponent=function(){return this._strategy.getComponent()},t.prototype.getInjector=function(){return this._injector},t.prototype.getElementRef=function(){return this._preBuiltObjects.elementRef},t.prototype.getViewContainerRef=function(){return new O.ViewContainerRef_(this._preBuiltObjects.viewManager,this.getElementRef())},t.prototype.getNestedView=function(){return this._preBuiltObjects.nestedView},t.prototype.getView=function(){return this._preBuiltObjects.view},t.prototype.directParent=function(){return this._proto.distanceToParent<2?this.parent:null},t.prototype.isComponentKey=function(e){return this._strategy.isComponentKey(e)},t.prototype.getDependency=function(e,t,n){var r=n.key;if(t instanceof k){var i=n,o=t,s=R.instance();if(r.id===s.viewManagerId)return this._preBuiltObjects.viewManager;if(c.isPresent(i.attributeName))return this._buildAttribute(i);if(c.isPresent(i.queryDecorator))return this._queryStrategy.findQuery(i.queryDecorator).list;if(i.key.id===R.instance().changeDetectorRefId){if(o.metadata instanceof E.ComponentMetadata){var a=this._preBuiltObjects.view.getNestedView(this._preBuiltObjects.elementRef.boundElementIndex);return a.changeDetector.ref}return this._preBuiltObjects.view.changeDetector.ref;
|
||
}if(i.key.id===R.instance().elementRefId)return this.getElementRef();if(i.key.id===R.instance().viewContainerId)return this.getViewContainerRef();if(i.key.id===R.instance().templateRefId){if(c.isBlank(this._preBuiltObjects.templateRef)){if(i.optional)return null;throw new d.NoProviderError(null,i.key)}return this._preBuiltObjects.templateRef}}else if(t instanceof P.PipeProvider&&n.key.id===R.instance().changeDetectorRefId){var a=this._preBuiltObjects.view.getNestedView(this._preBuiltObjects.elementRef.boundElementIndex);return a.changeDetector.ref}return h.UNDEFINED},t.prototype._buildAttribute=function(e){var t=this._proto.attributes;return c.isPresent(t)&&t.has(e.attributeName)?t.get(e.attributeName):null},t.prototype.addDirectivesMatchingQuery=function(e,t){var n=c.isBlank(this._preBuiltObjects)?null:this._preBuiltObjects.templateRef;e.selector===_.TemplateRef&&c.isPresent(n)&&t.push(n),this._strategy.addDirectivesMatchingQuery(e,t)},t.prototype._buildQueryStrategy=function(){return 0===this._proto.protoQueryRefs.length?U:this._proto.protoQueryRefs.length<=$.NUMBER_OF_SUPPORTED_QUERIES?new $(this):new W(this)},t.prototype.link=function(e){e.addChild(this)},t.prototype.unlink=function(){this.remove()},t.prototype.getDirectiveAtIndex=function(e){return this._injector.getAt(e)},t.prototype.hasInstances=function(){return this._proto.hasBindings&&this.hydrated},t.prototype.getHost=function(){return this._host},t.prototype.getBoundElementIndex=function(){return this._proto.index},t.prototype.getRootViewInjectors=function(){if(!this.hydrated)return[];var e=this._preBuiltObjects.view,t=e.getNestedView(e.elementOffset+this.getBoundElementIndex());return c.isPresent(t)?t.rootElementInjectors:[]},t.prototype.ngAfterViewChecked=function(){this._queryStrategy.updateViewQueries()},t.prototype.ngAfterContentChecked=function(){this._queryStrategy.updateContentQueries()},t.prototype.traverseAndSetQueriesAsDirty=function(){for(var e=this;c.isPresent(e);)e._setQueriesAsDirty(),e=e.parent},t.prototype._setQueriesAsDirty=function(){this._queryStrategy.setContentQueriesAsDirty(),c.isPresent(this._host)&&this._host._queryStrategy.setViewQueriesAsDirty()},t}(I);t.ElementInjector=L;var V=function(){function e(){}return e.prototype.setContentQueriesAsDirty=function(){},e.prototype.setViewQueriesAsDirty=function(){},e.prototype.hydrate=function(){},e.prototype.dehydrate=function(){},e.prototype.updateContentQueries=function(){},e.prototype.updateViewQueries=function(){},e.prototype.findQuery=function(e){throw new l.BaseException("Cannot find query for directive "+e+".")},e}(),U=new V,$=function(){function e(e){var t=e._proto.protoQueryRefs;t.length>0&&(this.query0=new Y(t[0],e)),t.length>1&&(this.query1=new Y(t[1],e)),t.length>2&&(this.query2=new Y(t[2],e))}return e.prototype.setContentQueriesAsDirty=function(){c.isPresent(this.query0)&&!this.query0.isViewQuery&&(this.query0.dirty=!0),c.isPresent(this.query1)&&!this.query1.isViewQuery&&(this.query1.dirty=!0),c.isPresent(this.query2)&&!this.query2.isViewQuery&&(this.query2.dirty=!0)},e.prototype.setViewQueriesAsDirty=function(){c.isPresent(this.query0)&&this.query0.isViewQuery&&(this.query0.dirty=!0),c.isPresent(this.query1)&&this.query1.isViewQuery&&(this.query1.dirty=!0),c.isPresent(this.query2)&&this.query2.isViewQuery&&(this.query2.dirty=!0)},e.prototype.hydrate=function(){c.isPresent(this.query0)&&this.query0.hydrate(),c.isPresent(this.query1)&&this.query1.hydrate(),c.isPresent(this.query2)&&this.query2.hydrate()},e.prototype.dehydrate=function(){c.isPresent(this.query0)&&this.query0.dehydrate(),c.isPresent(this.query1)&&this.query1.dehydrate(),c.isPresent(this.query2)&&this.query2.dehydrate()},e.prototype.updateContentQueries=function(){c.isPresent(this.query0)&&!this.query0.isViewQuery&&this.query0.update(),c.isPresent(this.query1)&&!this.query1.isViewQuery&&this.query1.update(),c.isPresent(this.query2)&&!this.query2.isViewQuery&&this.query2.update()},e.prototype.updateViewQueries=function(){c.isPresent(this.query0)&&this.query0.isViewQuery&&this.query0.update(),c.isPresent(this.query1)&&this.query1.isViewQuery&&this.query1.update(),c.isPresent(this.query2)&&this.query2.isViewQuery&&this.query2.update()},e.prototype.findQuery=function(e){if(c.isPresent(this.query0)&&this.query0.protoQueryRef.query===e)return this.query0;if(c.isPresent(this.query1)&&this.query1.protoQueryRef.query===e)return this.query1;if(c.isPresent(this.query2)&&this.query2.protoQueryRef.query===e)return this.query2;throw new l.BaseException("Cannot find query for directive "+e+".")},e.NUMBER_OF_SUPPORTED_QUERIES=3,e}(),W=function(){function e(e){this.queries=e._proto.protoQueryRefs.map(function(t){return new Y(t,e)})}return e.prototype.setContentQueriesAsDirty=function(){for(var e=0;e<this.queries.length;++e){var t=this.queries[e];t.isViewQuery||(t.dirty=!0)}},e.prototype.setViewQueriesAsDirty=function(){for(var e=0;e<this.queries.length;++e){var t=this.queries[e];t.isViewQuery&&(t.dirty=!0)}},e.prototype.hydrate=function(){for(var e=0;e<this.queries.length;++e){var t=this.queries[e];t.hydrate()}},e.prototype.dehydrate=function(){for(var e=0;e<this.queries.length;++e){var t=this.queries[e];t.dehydrate()}},e.prototype.updateContentQueries=function(){for(var e=0;e<this.queries.length;++e){var t=this.queries[e];t.isViewQuery||t.update()}},e.prototype.updateViewQueries=function(){for(var e=0;e<this.queries.length;++e){var t=this.queries[e];t.isViewQuery&&t.update()}},e.prototype.findQuery=function(e){for(var t=0;t<this.queries.length;++t){var n=this.queries[t];if(n.protoQueryRef.query===e)return n}throw new l.BaseException("Cannot find query for directive "+e+".")},e}(),H=function(){function e(e,t){this.injectorStrategy=e,this._ei=t}return e.prototype.hydrate=function(){var e=this.injectorStrategy,t=e.protoStrategy;e.resetConstructionCounter(),t.provider0 instanceof k&&c.isPresent(t.keyId0)&&e.obj0===h.UNDEFINED&&(e.obj0=e.instantiateProvider(t.provider0,t.visibility0)),t.provider1 instanceof k&&c.isPresent(t.keyId1)&&e.obj1===h.UNDEFINED&&(e.obj1=e.instantiateProvider(t.provider1,t.visibility1)),t.provider2 instanceof k&&c.isPresent(t.keyId2)&&e.obj2===h.UNDEFINED&&(e.obj2=e.instantiateProvider(t.provider2,t.visibility2)),t.provider3 instanceof k&&c.isPresent(t.keyId3)&&e.obj3===h.UNDEFINED&&(e.obj3=e.instantiateProvider(t.provider3,t.visibility3)),t.provider4 instanceof k&&c.isPresent(t.keyId4)&&e.obj4===h.UNDEFINED&&(e.obj4=e.instantiateProvider(t.provider4,t.visibility4)),t.provider5 instanceof k&&c.isPresent(t.keyId5)&&e.obj5===h.UNDEFINED&&(e.obj5=e.instantiateProvider(t.provider5,t.visibility5)),t.provider6 instanceof k&&c.isPresent(t.keyId6)&&e.obj6===h.UNDEFINED&&(e.obj6=e.instantiateProvider(t.provider6,t.visibility6)),t.provider7 instanceof k&&c.isPresent(t.keyId7)&&e.obj7===h.UNDEFINED&&(e.obj7=e.instantiateProvider(t.provider7,t.visibility7)),t.provider8 instanceof k&&c.isPresent(t.keyId8)&&e.obj8===h.UNDEFINED&&(e.obj8=e.instantiateProvider(t.provider8,t.visibility8)),t.provider9 instanceof k&&c.isPresent(t.keyId9)&&e.obj9===h.UNDEFINED&&(e.obj9=e.instantiateProvider(t.provider9,t.visibility9))},e.prototype.dehydrate=function(){var e=this.injectorStrategy;e.obj0=h.UNDEFINED,e.obj1=h.UNDEFINED,e.obj2=h.UNDEFINED,e.obj3=h.UNDEFINED,e.obj4=h.UNDEFINED,e.obj5=h.UNDEFINED,e.obj6=h.UNDEFINED,e.obj7=h.UNDEFINED,e.obj8=h.UNDEFINED,e.obj9=h.UNDEFINED},e.prototype.callOnDestroy=function(){var e=this.injectorStrategy,t=e.protoStrategy;t.provider0 instanceof k&&t.provider0.callOnDestroy&&e.obj0.ngOnDestroy(),t.provider1 instanceof k&&t.provider1.callOnDestroy&&e.obj1.ngOnDestroy(),t.provider2 instanceof k&&t.provider2.callOnDestroy&&e.obj2.ngOnDestroy(),t.provider3 instanceof k&&t.provider3.callOnDestroy&&e.obj3.ngOnDestroy(),t.provider4 instanceof k&&t.provider4.callOnDestroy&&e.obj4.ngOnDestroy(),t.provider5 instanceof k&&t.provider5.callOnDestroy&&e.obj5.ngOnDestroy(),t.provider6 instanceof k&&t.provider6.callOnDestroy&&e.obj6.ngOnDestroy(),t.provider7 instanceof k&&t.provider7.callOnDestroy&&e.obj7.ngOnDestroy(),t.provider8 instanceof k&&t.provider8.callOnDestroy&&e.obj8.ngOnDestroy(),t.provider9 instanceof k&&t.provider9.callOnDestroy&&e.obj9.ngOnDestroy()},e.prototype.getComponent=function(){return this.injectorStrategy.obj0},e.prototype.isComponentKey=function(e){return this._ei._proto._firstProviderIsComponent&&c.isPresent(e)&&e.id===this.injectorStrategy.protoStrategy.keyId0},e.prototype.addDirectivesMatchingQuery=function(e,t){var n=this.injectorStrategy,r=n.protoStrategy;c.isPresent(r.provider0)&&r.provider0.key.token===e.selector&&(n.obj0===h.UNDEFINED&&(n.obj0=n.instantiateProvider(r.provider0,r.visibility0)),t.push(n.obj0)),c.isPresent(r.provider1)&&r.provider1.key.token===e.selector&&(n.obj1===h.UNDEFINED&&(n.obj1=n.instantiateProvider(r.provider1,r.visibility1)),t.push(n.obj1)),c.isPresent(r.provider2)&&r.provider2.key.token===e.selector&&(n.obj2===h.UNDEFINED&&(n.obj2=n.instantiateProvider(r.provider2,r.visibility2)),t.push(n.obj2)),c.isPresent(r.provider3)&&r.provider3.key.token===e.selector&&(n.obj3===h.UNDEFINED&&(n.obj3=n.instantiateProvider(r.provider3,r.visibility3)),t.push(n.obj3)),c.isPresent(r.provider4)&&r.provider4.key.token===e.selector&&(n.obj4===h.UNDEFINED&&(n.obj4=n.instantiateProvider(r.provider4,r.visibility4)),t.push(n.obj4)),c.isPresent(r.provider5)&&r.provider5.key.token===e.selector&&(n.obj5===h.UNDEFINED&&(n.obj5=n.instantiateProvider(r.provider5,r.visibility5)),t.push(n.obj5)),c.isPresent(r.provider6)&&r.provider6.key.token===e.selector&&(n.obj6===h.UNDEFINED&&(n.obj6=n.instantiateProvider(r.provider6,r.visibility6)),t.push(n.obj6)),c.isPresent(r.provider7)&&r.provider7.key.token===e.selector&&(n.obj7===h.UNDEFINED&&(n.obj7=n.instantiateProvider(r.provider7,r.visibility7)),t.push(n.obj7)),c.isPresent(r.provider8)&&r.provider8.key.token===e.selector&&(n.obj8===h.UNDEFINED&&(n.obj8=n.instantiateProvider(r.provider8,r.visibility8)),t.push(n.obj8)),c.isPresent(r.provider9)&&r.provider9.key.token===e.selector&&(n.obj9===h.UNDEFINED&&(n.obj9=n.instantiateProvider(r.provider9,r.visibility9)),t.push(n.obj9))},e}(),q=function(){function e(e,t){this.injectorStrategy=e,this._ei=t}return e.prototype.hydrate=function(){var e=this.injectorStrategy,t=e.protoStrategy;e.resetConstructionCounter();for(var n=0;n<t.keyIds.length;n++)t.providers[n]instanceof k&&c.isPresent(t.keyIds[n])&&e.objs[n]===h.UNDEFINED&&(e.objs[n]=e.instantiateProvider(t.providers[n],t.visibilities[n]))},e.prototype.dehydrate=function(){var e=this.injectorStrategy;f.ListWrapper.fill(e.objs,h.UNDEFINED)},e.prototype.callOnDestroy=function(){for(var e=this.injectorStrategy,t=e.protoStrategy,n=0;n<t.providers.length;n++)t.providers[n]instanceof k&&t.providers[n].callOnDestroy&&e.objs[n].ngOnDestroy()},e.prototype.getComponent=function(){return this.injectorStrategy.objs[0]},e.prototype.isComponentKey=function(e){var t=this.injectorStrategy.protoStrategy;return this._ei._proto._firstProviderIsComponent&&c.isPresent(e)&&e.id===t.keyIds[0]},e.prototype.addDirectivesMatchingQuery=function(e,t){for(var n=this.injectorStrategy,r=n.protoStrategy,i=0;i<r.providers.length;i++)r.providers[i].key.token===e.selector&&(n.objs[i]===h.UNDEFINED&&(n.objs[i]=n.instantiateProvider(r.providers[i],r.visibilities[i])),t.push(n.objs[i]))},e}(),z=function(){function e(e,t,n){this.dirIndex=e,this.setter=t,this.query=n}return Object.defineProperty(e.prototype,"usesPropertySyntax",{get:function(){return c.isPresent(this.setter)},enumerable:!0,configurable:!0}),e}();t.ProtoQueryRef=z;var Y=function(){function e(e,t){this.protoQueryRef=e,this.originator=t}return Object.defineProperty(e.prototype,"isViewQuery",{get:function(){return this.protoQueryRef.query.isViewQuery},enumerable:!0,configurable:!0}),e.prototype.update=function(){if(this.dirty){if(this._update(),this.dirty=!1,this.protoQueryRef.usesPropertySyntax){var e=this.originator.getDirectiveAtIndex(this.protoQueryRef.dirIndex);this.protoQueryRef.query.first?this.protoQueryRef.setter(e,this.list.length>0?this.list.first:null):this.protoQueryRef.setter(e,this.list)}this.list.notifyOnChanges()}},e.prototype._update=function(){var e=[];if(this.protoQueryRef.query.isViewQuery){var t=this.originator.getView(),n=t.getNestedView(t.elementOffset+this.originator.getBoundElementIndex());c.isPresent(n)&&this._visitView(n,e)}else this._visit(this.originator,e);this.list.reset(e)},e.prototype._visit=function(e,t){for(var n=e.getView(),r=n.elementOffset+e._proto.index,i=r;i<n.elementOffset+n.ownBindersCount;i++){var o=n.elementInjectors[i];if(!c.isBlank(o)){if(i>r&&(c.isBlank(o)||c.isBlank(o.parent)||n.elementOffset+o.parent._proto.index<r))break;if(this.protoQueryRef.query.descendants||o.parent==this.originator||o==this.originator){this._visitInjector(o,t);var s=n.viewContainers[i];c.isPresent(s)&&this._visitViewContainer(s,t)}}}},e.prototype._visitInjector=function(e,t){this.protoQueryRef.query.isVarBindingQuery?this._aggregateVariableBinding(e,t):this._aggregateDirective(e,t)},e.prototype._visitViewContainer=function(e,t){for(var n=0;n<e.views.length;n++)this._visitView(e.views[n],t)},e.prototype._visitView=function(e,t){for(var n=e.elementOffset;n<e.elementOffset+e.ownBindersCount;n++){var r=e.elementInjectors[n];if(!c.isBlank(r)){this._visitInjector(r,t);var i=e.viewContainers[n];c.isPresent(i)&&this._visitViewContainer(i,t)}}},e.prototype._aggregateVariableBinding=function(e,t){for(var n=this.protoQueryRef.query.varBindings,r=0;r<n.length;++r)e.hasVariableBinding(n[r])&&t.push(e.getVariableBinding(n[r]))},e.prototype._aggregateDirective=function(e,t){e.addDirectivesMatchingQuery(this.protoQueryRef.query,t)},e.prototype.dehydrate=function(){this.list=null},e.prototype.hydrate=function(){this.list=new C.QueryList,this.dirty=!0},e}();return t.QueryRef=Y,o.define=s,n.exports}),e.registerDynamic("7e",["39","20","3c","37","50","81"],!0,function(e,t,n){"use strict";function r(e){return e instanceof f.DirectiveMetadata}var i=this,o=i.define;i.define=void 0;var s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("39"),c=e("20"),l=e("3c"),p=e("37"),f=e("50"),d=e("81"),h=function(){function e(){}return e.prototype.resolve=function(e){var t=d.reflector.annotations(u.resolveForwardRef(e));if(c.isPresent(t)){var n=t.find(r);if(c.isPresent(n)){var i=d.reflector.propMetadata(e);return this._mergeWithPropertyMetadata(n,i)}}throw new l.BaseException("No Directive annotation found on "+c.stringify(e))},e.prototype._mergeWithPropertyMetadata=function(e,t){var n=[],r=[],i={},o={};return p.StringMapWrapper.forEach(t,function(e,t){e.forEach(function(e){if(e instanceof f.InputMetadata&&(c.isPresent(e.bindingPropertyName)?n.push(t+": "+e.bindingPropertyName):n.push(t)),e instanceof f.OutputMetadata&&(c.isPresent(e.bindingPropertyName)?r.push(t+": "+e.bindingPropertyName):r.push(t)),e instanceof f.HostBindingMetadata&&(c.isPresent(e.hostPropertyName)?i["["+e.hostPropertyName+"]"]=t:i["["+t+"]"]=t),e instanceof f.HostListenerMetadata){var s=c.isPresent(e.args)?e.args.join(", "):"";i["("+e.eventName+")"]=t+"("+s+")"}e instanceof f.ContentChildrenMetadata&&(o[t]=e),e instanceof f.ViewChildrenMetadata&&(o[t]=e),e instanceof f.ContentChildMetadata&&(o[t]=e),e instanceof f.ViewChildMetadata&&(o[t]=e)})}),this._merge(e,n,r,i,o)},e.prototype._merge=function(e,t,n,r,i){var o=c.isPresent(e.inputs)?p.ListWrapper.concat(e.inputs,t):t,s=c.isPresent(e.outputs)?p.ListWrapper.concat(e.outputs,n):n,a=c.isPresent(e.host)?p.StringMapWrapper.merge(e.host,r):r,u=c.isPresent(e.queries)?p.StringMapWrapper.merge(e.queries,i):i;return e instanceof f.ComponentMetadata?new f.ComponentMetadata({selector:e.selector,inputs:o,outputs:s,host:a,exportAs:e.exportAs,moduleId:e.moduleId,queries:u,changeDetection:e.changeDetection,providers:e.providers,viewProviders:e.viewProviders}):new f.DirectiveMetadata({selector:e.selector,inputs:o,outputs:s,host:a,exportAs:e.exportAs,queries:u,providers:e.providers})},e=s([u.Injectable(),a("design:paramtypes",[])],e)}();return t.DirectiveResolver=h,i.define=o,n.exports}),e.registerDynamic("7f",["39","7b","7d","20","3c","37","81"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("39"),u=e("7b"),c=e("7d"),l=e("20"),p=e("3c"),f=e("37"),d=e("81"),h=function(){function e(){this._cache=new f.Map}return e.prototype.resolve=function(e){var t=this._cache.get(e);return l.isBlank(t)&&(t=this._resolve(e),this._cache.set(e,t)),t},e.prototype._resolve=function(e){var t,n;if(d.reflector.annotations(e).forEach(function(e){e instanceof u.ViewMetadata&&(n=e),e instanceof c.ComponentMetadata&&(t=e)}),!l.isPresent(t)){if(l.isBlank(n))throw new p.BaseException("No View decorator found on component '"+l.stringify(e)+"'");return n}if(l.isBlank(t.template)&&l.isBlank(t.templateUrl)&&l.isBlank(n))throw new p.BaseException("Component '"+l.stringify(e)+"' must have either 'template', 'templateUrl', or '@View' set.");if(l.isPresent(t.template)&&l.isPresent(n))this._throwMixingViewAndComponent("template",e);else if(l.isPresent(t.templateUrl)&&l.isPresent(n))this._throwMixingViewAndComponent("templateUrl",e);else if(l.isPresent(t.directives)&&l.isPresent(n))this._throwMixingViewAndComponent("directives",e);else if(l.isPresent(t.pipes)&&l.isPresent(n))this._throwMixingViewAndComponent("pipes",e);else if(l.isPresent(t.encapsulation)&&l.isPresent(n))this._throwMixingViewAndComponent("encapsulation",e);else if(l.isPresent(t.styles)&&l.isPresent(n))this._throwMixingViewAndComponent("styles",e);else{if(!l.isPresent(t.styleUrls)||!l.isPresent(n))return l.isPresent(n)?n:new u.ViewMetadata({templateUrl:t.templateUrl,template:t.template,directives:t.directives,pipes:t.pipes,encapsulation:t.encapsulation,styles:t.styles,styleUrls:t.styleUrls});this._throwMixingViewAndComponent("styleUrls",e)}return null},e.prototype._throwMixingViewAndComponent=function(e,t){throw new p.BaseException("Component '"+l.stringify(t)+"' cannot have both '"+e+"' and '@View' set at the same time\"")},e=o([a.Injectable(),s("design:paramtypes",[])],e)}();return t.ViewResolver=h,r.define=i,n.exports}),e.registerDynamic("1cb",["39","20","3c","50","81"],!0,function(e,t,n){"use strict";function r(e){return e instanceof p.PipeMetadata}var i=this,o=i.define;i.define=void 0;var s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("39"),c=e("20"),l=e("3c"),p=e("50"),f=e("81"),d=function(){function e(){}return e.prototype.resolve=function(e){var t=f.reflector.annotations(u.resolveForwardRef(e));if(c.isPresent(t)){var n=t.find(r);if(c.isPresent(n))return n}throw new l.BaseException("No Pipe decorator found on "+c.stringify(e))},e=s([u.Injectable(),a("design:paramtypes",[])],e)}();return t.PipeResolver=d,i.define=o,n.exports}),e.registerDynamic("82",["39","20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("39"),s=e("20");return t.PLATFORM_DIRECTIVES=s.CONST_EXPR(new o.OpaqueToken("Platform Directives")),t.PLATFORM_PIPES=s.CONST_EXPR(new o.OpaqueToken("Platform Pipes")),r.define=i,n.exports}),e.registerDynamic("56",["3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("3c"),a=function(){function e(){}return e}();t.RenderProtoViewRef=a;var u=function(){function e(){}return e}();t.RenderFragmentRef=u;var c=function(){function e(){}return e}();t.RenderViewRef=c;var l=function(){function e(){}return e}();t.RenderTemplateCmd=l;var p=function(e){function t(){e.apply(this,arguments)}return o(t,e),Object.defineProperty(t.prototype,"ngContentIndex",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBound",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),t}(l);t.RenderBeginCmd=p;var f=function(e){function t(){e.apply(this,arguments)}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),t}(p);t.RenderTextCmd=f;var d=function(e){function t(){e.apply(this,arguments)}return o(t,e),Object.defineProperty(t.prototype,"index",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngContentIndex",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),t}(l);t.RenderNgContentCmd=d;var h=function(e){function t(){e.apply(this,arguments)}return o(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attrNameAndValues",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eventTargetAndNames",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),t}(p);t.RenderBeginElementCmd=h;var m=function(e){function t(){e.apply(this,arguments)}return o(t,e),Object.defineProperty(t.prototype,"templateId",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),t}(h);t.RenderBeginComponentCmd=m;var v=function(e){function t(){e.apply(this,arguments)}return o(t,e),Object.defineProperty(t.prototype,"isMerged",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return s.unimplemented()},enumerable:!0,configurable:!0}),t}(h);t.RenderEmbeddedTemplateCmd=v;var y=function(){function e(e,t){this.viewRef=e,this.fragmentRefs=t}return e}();t.RenderViewWithFragments=y;var g=function(){function e(e,t,n,r,i){this.id=e,this.shortId=t,this.encapsulation=n,this.commands=r,this.styles=i}return e}();t.RenderComponentTemplate=g;var b=function(){function e(){}return e}();return t.Renderer=b,r.define=i,n.exports}),e.registerDynamic("1ca",["20","39","1cc"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("20"),c=e("39"),l=e("1cc"),p=function(e){function t(t){e.call(this),this.attributeName=t}return o(t,e),Object.defineProperty(t.prototype,"token",{get:function(){return this},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"@Attribute("+u.stringify(this.attributeName)+")"},t=s([u.CONST(),a("design:paramtypes",[String])],t)}(l.DependencyMetadata);t.AttributeMetadata=p;var f=function(e){function t(t,n){var r=void 0===n?{}:n,i=r.descendants,o=void 0===i?!1:i,s=r.first,a=void 0===s?!1:s;e.call(this),this._selector=t,this.descendants=o,this.first=a}return o(t,e),Object.defineProperty(t.prototype,"isViewQuery",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selector",{get:function(){return c.resolveForwardRef(this._selector)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isVarBindingQuery",{get:function(){return u.isString(this.selector)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"varBindings",{get:function(){return this.selector.split(",")},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"@Query("+u.stringify(this.selector)+")"},t=s([u.CONST(),a("design:paramtypes",[Object,Object])],t)}(l.DependencyMetadata);t.QueryMetadata=f;var d=function(e){function t(t,n){var r=(void 0===n?{}:n).descendants,i=void 0===r?!1:r;e.call(this,t,{descendants:i})}return o(t,e),t=s([u.CONST(),a("design:paramtypes",[Object,Object])],t)}(f);t.ContentChildrenMetadata=d;var h=function(e){function t(t){e.call(this,t,{descendants:!0,first:!0})}return o(t,e),t=s([u.CONST(),a("design:paramtypes",[Object])],t)}(f);t.ContentChildMetadata=h;var m=function(e){function t(t,n){var r=void 0===n?{}:n,i=r.descendants,o=void 0===i?!1:i,s=r.first,a=void 0===s?!1:s;e.call(this,t,{descendants:o,first:a})}return o(t,e),Object.defineProperty(t.prototype,"isViewQuery",{get:function(){return!0},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"@ViewQuery("+u.stringify(this.selector)+")"},t=s([u.CONST(),a("design:paramtypes",[Object,Object])],t)}(f);t.ViewQueryMetadata=m;var v=function(e){function t(t){e.call(this,t,{descendants:!0})}return o(t,e),t=s([u.CONST(),a("design:paramtypes",[Object])],t)}(m);t.ViewChildrenMetadata=v;var y=function(e){function t(t){e.call(this,t,{descendants:!0,first:!0})}return o(t,e),t=s([u.CONST(),a("design:paramtypes",[Object])],t)}(m);return t.ViewChildMetadata=y,r.define=i,n.exports}),e.registerDynamic("1cd",["20","3c","37","39"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("3c"),c=e("37"),l=e("39"),p=function(){function e(e){this.factories=e}return e.create=function(t,n){if(a.isPresent(n)){var r=c.ListWrapper.clone(n.factories);return t=t.concat(r),new e(t)}return new e(t)},e.extend=function(t){return new l.Provider(e,{useFactory:function(n){if(a.isBlank(n))throw new u.BaseException("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new l.SkipSelfMetadata,new l.OptionalMetadata]]})},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(a.isPresent(t))return t;throw new u.BaseException("Cannot find a differ supporting object '"+e+"'")},e=o([l.Injectable(),a.CONST(),s("design:paramtypes",[Array])],e)}();return t.IterableDiffers=p,r.define=i,n.exports}),e.registerDynamic("1ce",["20","3c","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("3c"),c=e("37"),l=e("20"),p=function(){function e(){}return e.prototype.supports=function(e){return c.isListLikeIterable(e)},e.prototype.create=function(e){return new f},e=o([a.CONST(),s("design:paramtypes",[])],e)}();t.DefaultIterableDifferFactory=p;var f=function(){function e(){this._collection=null,this._length=null,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"collection",{get:function(){return this._collection},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(l.isBlank(e)&&(e=[]),!c.isListLikeIterable(e))throw new u.BaseException("Error trying to diff '"+e+"'");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,i=this._itHead,o=!1;if(l.isArray(e)){var s=e;for(this._length=e.length,n=0;n<this._length;n++)r=s[n],null!==i&&l.looseIdentical(i.item,r)?o&&(i=this._verifyReinsertion(i,r,n)):(i=this._mismatch(i,r,n),o=!0),i=i._next}else n=0,c.iterateListLike(e,function(e){null!==i&&l.looseIdentical(i.item,e)?o&&(i=t._verifyReinsertion(i,e,n)):(i=t._mismatch(i,e,n),o=!0),i=i._next,n++}),this._length=n;return this._truncate(i),this._collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null}},e.prototype._mismatch=function(e,t,n){var r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),e=null===this._linkedRecords?null:this._linkedRecords.get(t,n),null!==e?this._moveAfter(e,r,n):(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t),null!==e?this._reinsertAfter(e,r,n):e=this._addAfter(new d(t),r,n)),e},e.prototype._verifyReinsertion=function(e,t,n){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t);return null!==r?e=this._reinsertAfter(r,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),
|
||
null!==this._removalsTail&&(this._removalsTail._nextRemoved=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new m),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new m),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype.toString=function(){var e,t=[];for(e=this._itHead;null!==e;e=e._next)t.push(e);var n=[];for(e=this._previousItHead;null!==e;e=e._nextPrevious)n.push(e);var r=[];for(e=this._additionsHead;null!==e;e=e._nextAdded)r.push(e);var i=[];for(e=this._movesHead;null!==e;e=e._nextMoved)i.push(e);var o=[];for(e=this._removalsHead;null!==e;e=e._nextRemoved)o.push(e);return"collection: "+t.join(", ")+"\nprevious: "+n.join(", ")+"\nadditions: "+r.join(", ")+"\nmoves: "+i.join(", ")+"\nremovals: "+o.join(", ")+"\n"},e}();t.DefaultIterableDiffer=f;var d=function(){function e(e){this.item=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null}return e.prototype.toString=function(){return this.previousIndex===this.currentIndex?l.stringify(this.item):l.stringify(this.item)+"["+l.stringify(this.previousIndex)+"->"+l.stringify(this.currentIndex)+"]"},e}();t.CollectionChangeRecord=d;var h=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<n.currentIndex)&&l.looseIdentical(n.item,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),m=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=l.getMapKey(e.item),n=this.map.get(t);l.isPresent(n)||(n=new h,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){void 0===t&&(t=null);var n=l.getMapKey(e),r=this.map.get(n);return l.isBlank(r)?null:r.get(e,t)},e.prototype.remove=function(e){var t=l.getMapKey(e.item),n=this.map.get(t);return n.remove(e)&&this.map["delete"](t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e.prototype.toString=function(){return"_DuplicateMap("+l.stringify(this.map)+")"},e}();return r.define=i,n.exports}),e.registerDynamic("1cf",["20","3c","37","39"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=e("3c"),c=e("37"),l=e("39"),p=function(){function e(e){this.factories=e}return e.create=function(t,n){if(a.isPresent(n)){var r=c.ListWrapper.clone(n.factories);return t=t.concat(r),new e(t)}return new e(t)},e.extend=function(t){return new l.Provider(e,{useFactory:function(n){if(a.isBlank(n))throw new u.BaseException("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new l.SkipSelfMetadata,new l.OptionalMetadata]]})},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(a.isPresent(t))return t;throw new u.BaseException("Cannot find a differ supporting object '"+e+"'")},e=o([l.Injectable(),a.CONST(),s("design:paramtypes",[Array])],e)}();return t.KeyValueDiffers=p,r.define=i,n.exports}),e.registerDynamic("1d0",["37","20","3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("37"),u=e("20"),c=e("3c"),l=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||u.isJsObject(e)},e.prototype.create=function(e){return new p},e=o([u.CONST(),s("design:paramtypes",[])],e)}();t.DefaultKeyValueDifferFactory=l;var p=function(){function e(){this._records=new Map,this._mapHead=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(u.isBlank(e)&&(e=a.MapWrapper.createFromPairs([])),!(e instanceof Map||u.isJsObject(e)))throw new c.BaseException("Error trying to diff '"+e+"'");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._records,r=this._mapHead,i=null,o=null,s=!1;return this._forEach(e,function(e,a){var c;null!==r&&a===r.key?(c=r,u.looseIdentical(e,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=e,t._addToChanges(r))):(s=!0,null!==r&&(r._next=null,t._removeFromSeq(i,r),t._addToRemovals(r)),n.has(a)?c=n.get(a):(c=new f(a),n.set(a,c),c.currentValue=e,t._addToAdditions(c))),s&&(t._isInRemovals(c)&&t._removeFromRemovals(c),null==o?t._mapHead=c:o._next=c),i=r,o=c,r=null===r?null:r._next}),this._truncate(i,r),this.isDirty},e.prototype._reset=function(){if(this.isDirty){var e;for(e=this._previousMapHead=this._mapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=this._removalsTail=null}},e.prototype._truncate=function(e,t){for(;null!==t;){null===e?this._mapHead=null:e._next=null;var n=t._next;this._addToRemovals(t),e=t,t=n}for(var r=this._removalsHead;null!==r;r=r._nextRemoved)r.previousValue=r.currentValue,r.currentValue=null,this._records["delete"](r.key)},e.prototype._isInRemovals=function(e){return e===this._removalsHead||null!==e._nextRemoved||null!==e._prevRemoved},e.prototype._addToRemovals=function(e){null===this._removalsHead?this._removalsHead=this._removalsTail=e:(this._removalsTail._nextRemoved=e,e._prevRemoved=this._removalsTail,this._removalsTail=e)},e.prototype._removeFromSeq=function(e,t){var n=t._next;null===e?this._mapHead=n:e._next=n},e.prototype._removeFromRemovals=function(e){var t=e._prevRemoved,n=e._nextRemoved;null===t?this._removalsHead=n:t._nextRemoved=n,null===n?this._removalsTail=t:n._prevRemoved=t,e._prevRemoved=e._nextRemoved=null},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype.toString=function(){var e,t=[],n=[],r=[],i=[],o=[];for(e=this._mapHead;null!==e;e=e._next)t.push(u.stringify(e));for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n.push(u.stringify(e));for(e=this._changesHead;null!==e;e=e._nextChanged)r.push(u.stringify(e));for(e=this._additionsHead;null!==e;e=e._nextAdded)i.push(u.stringify(e));for(e=this._removalsHead;null!==e;e=e._nextRemoved)o.push(u.stringify(e));return"map: "+t.join(", ")+"\nprevious: "+n.join(", ")+"\nadditions: "+i.join(", ")+"\nchanges: "+r.join(", ")+"\nremovals: "+o.join(", ")+"\n"},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):a.StringMapWrapper.forEach(e,t)},e}();t.DefaultKeyValueDiffer=p;var f=function(){function e(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._nextAdded=null,this._nextRemoved=null,this._prevRemoved=null,this._nextChanged=null}return e.prototype.toString=function(){return u.looseIdentical(this.previousValue,this.currentValue)?u.stringify(this.key):u.stringify(this.key)+"["+u.stringify(this.previousValue)+"->"+u.stringify(this.currentValue)+"]"},e}();return t.KVChangeRecord=f,r.define=i,n.exports}),e.registerDynamic("1d1",["1d2","37","20","3c"],!0,function(e,t,n){"use strict";function r(e,t){return new S(e,A.Character,t,C.StringWrapper.fromCharCode(t))}function i(e,t){return new S(e,A.Identifier,0,t)}function o(e,t){return new S(e,A.Keyword,0,t)}function s(e,t){return new S(e,A.Operator,0,t)}function a(e,t){return new S(e,A.String,0,t)}function u(e,t){return new S(e,A.Number,t,"")}function c(e){return e>=t.$TAB&&e<=t.$SPACE||e==q}function l(e){return e>=j&&H>=e||e>=I&&k>=e||e==F||e==t.$$}function p(e){if(0==e.length)return!1;var n=new Y(e);if(!l(n.peek))return!1;for(n.advance();n.peek!==t.$EOF;){if(!f(n.peek))return!1;n.advance()}return!0}function f(e){return e>=j&&H>=e||e>=I&&k>=e||e>=O&&R>=e||e==F||e==t.$$}function d(e){return e>=O&&R>=e}function h(e){return e==M||e==T}function m(e){return e==t.$MINUS||e==t.$PLUS}function v(e){switch(e){case L:return t.$LF;case B:return t.$FF;case V:return t.$CR;case U:return t.$TAB;case W:return t.$VTAB;default:return e}}var y=this,g=y.define;y.define=void 0;var b=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},_=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},E=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},D=e("1d2"),w=e("37"),C=e("20"),x=e("3c");!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.Keyword=2]="Keyword",e[e.String=3]="String",e[e.Operator=4]="Operator",e[e.Number=5]="Number"}(t.TokenType||(t.TokenType={}));var A=t.TokenType,P=function(){function e(){}return e.prototype.tokenize=function(e){for(var t=new Y(e),n=[],r=t.scanToken();null!=r;)n.push(r),r=t.scanToken();return n},e=_([D.Injectable(),E("design:paramtypes",[])],e)}();t.Lexer=P;var S=function(){function e(e,t,n,r){this.index=e,this.type=t,this.numValue=n,this.strValue=r}return e.prototype.isCharacter=function(e){return this.type==A.Character&&this.numValue==e},e.prototype.isNumber=function(){return this.type==A.Number},e.prototype.isString=function(){return this.type==A.String},e.prototype.isOperator=function(e){return this.type==A.Operator&&this.strValue==e},e.prototype.isIdentifier=function(){return this.type==A.Identifier},e.prototype.isKeyword=function(){return this.type==A.Keyword},e.prototype.isKeywordVar=function(){return this.type==A.Keyword&&"var"==this.strValue},e.prototype.isKeywordNull=function(){return this.type==A.Keyword&&"null"==this.strValue},e.prototype.isKeywordUndefined=function(){return this.type==A.Keyword&&"undefined"==this.strValue},e.prototype.isKeywordTrue=function(){return this.type==A.Keyword&&"true"==this.strValue},e.prototype.isKeywordFalse=function(){return this.type==A.Keyword&&"false"==this.strValue},e.prototype.toNumber=function(){return this.type==A.Number?this.numValue:-1},e.prototype.toString=function(){switch(this.type){case A.Character:case A.Identifier:case A.Keyword:case A.Operator:case A.String:return this.strValue;case A.Number:return this.numValue.toString();default:return null}},e}();t.Token=S,t.EOF=new S(-1,A.Character,0,""),t.$EOF=0,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63;var O=48,R=57,I=65,T=69,k=90;t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93;var N=94,F=95,j=97,M=101,B=102,L=110,V=114,U=116,$=117,W=118,H=122;t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125;var q=160,z=function(e){function t(t){e.call(this),this.message=t}return b(t,e),t.prototype.toString=function(){return this.message},t}(x.BaseException);t.ScannerError=z;var Y=function(){function e(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}return e.prototype.advance=function(){this.peek=++this.index>=this.length?t.$EOF:C.StringWrapper.charCodeAt(this.input,this.index)},e.prototype.scanToken=function(){for(var e=this.input,n=this.length,i=this.peek,o=this.index;i<=t.$SPACE;){if(++o>=n){i=t.$EOF;break}i=C.StringWrapper.charCodeAt(e,o)}if(this.peek=i,this.index=o,o>=n)return null;if(l(i))return this.scanIdentifier();if(d(i))return this.scanNumber(o);var s=o;switch(i){case t.$PERIOD:return this.advance(),d(this.peek)?this.scanNumber(s):r(s,t.$PERIOD);case t.$LPAREN:case t.$RPAREN:case t.$LBRACE:case t.$RBRACE:case t.$LBRACKET:case t.$RBRACKET:case t.$COMMA:case t.$COLON:case t.$SEMICOLON:return this.scanCharacter(s,i);case t.$SQ:case t.$DQ:return this.scanString();case t.$HASH:case t.$PLUS:case t.$MINUS:case t.$STAR:case t.$SLASH:case t.$PERCENT:case N:return this.scanOperator(s,C.StringWrapper.fromCharCode(i));case t.$QUESTION:return this.scanComplexOperator(s,"?",t.$PERIOD,".");case t.$LT:case t.$GT:return this.scanComplexOperator(s,C.StringWrapper.fromCharCode(i),t.$EQ,"=");case t.$BANG:case t.$EQ:return this.scanComplexOperator(s,C.StringWrapper.fromCharCode(i),t.$EQ,"=",t.$EQ,"=");case t.$AMPERSAND:return this.scanComplexOperator(s,"&",t.$AMPERSAND,"&");case t.$BAR:return this.scanComplexOperator(s,"|",t.$BAR,"|");case q:for(;c(this.peek);)this.advance();return this.scanToken()}return this.error("Unexpected character ["+C.StringWrapper.fromCharCode(i)+"]",0),null},e.prototype.scanCharacter=function(e,t){return assert(this.peek==t),this.advance(),r(e,t)},e.prototype.scanOperator=function(e,t){return assert(this.peek==C.StringWrapper.charCodeAt(t,0)),assert(w.SetWrapper.has(K,t)),this.advance(),s(e,t)},e.prototype.scanComplexOperator=function(e,t,n,r,i,o){assert(this.peek==C.StringWrapper.charCodeAt(t,0)),this.advance();var a=t;return this.peek==n&&(this.advance(),a+=r),C.isPresent(i)&&this.peek==i&&(this.advance(),a+=o),assert(w.SetWrapper.has(K,a)),s(e,a)},e.prototype.scanIdentifier=function(){assert(l(this.peek));var e=this.index;for(this.advance();f(this.peek);)this.advance();var t=this.input.substring(e,this.index);return w.SetWrapper.has(G,t)?o(e,t):i(e,t)},e.prototype.scanNumber=function(e){assert(d(this.peek));var n=this.index===e;for(this.advance();;){if(d(this.peek));else if(this.peek==t.$PERIOD)n=!1;else{if(!h(this.peek))break;this.advance(),m(this.peek)&&this.advance(),d(this.peek)||this.error("Invalid exponent",-1),n=!1}this.advance()}var r=this.input.substring(e,this.index),i=n?C.NumberWrapper.parseIntAutoRadix(r):C.NumberWrapper.parseFloat(r);return u(e,i)},e.prototype.scanString=function(){assert(this.peek==t.$SQ||this.peek==t.$DQ);var e=this.index,n=this.peek;this.advance();for(var r,i=this.index,o=this.input;this.peek!=n;)if(this.peek==t.$BACKSLASH){null==r&&(r=new C.StringJoiner),r.add(o.substring(i,this.index)),this.advance();var s;if(this.peek==$){var u=o.substring(this.index+1,this.index+5);try{s=C.NumberWrapper.parseInt(u,16)}catch(c){this.error("Invalid unicode escape [\\u"+u+"]",0)}for(var l=0;5>l;l++)this.advance()}else s=v(this.peek),this.advance();r.add(C.StringWrapper.fromCharCode(s)),i=this.index}else this.peek==t.$EOF?this.error("Unterminated quote",0):this.advance();var p=o.substring(i,this.index);this.advance();var f=p;return null!=r&&(r.add(p),f=r.toString()),a(e,f)},e.prototype.error=function(e,t){var n=this.index+t;throw new z("Lexer Error: "+e+" at column "+n+" in expression ["+this.input+"]")},e}();t.isIdentifier=p;var K=w.SetWrapper.createFromList(["+","-","*","/","%","^","=","==","!=","===","!==","<",">","<=",">=","&&","||","&","|","!","?","#","?."]),G=w.SetWrapper.createFromList(["var","null","undefined","true","false","if","else"]);return y.define=g,n.exports}),e.registerDynamic("1d3",["1d2","20","3c","37","1d1","81","1d4"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("1d2"),c=e("20"),l=e("3c"),p=e("37"),f=e("1d1"),d=e("81"),h=e("1d4"),m=new h.ImplicitReceiver,v=/\{\{(.*?)\}\}/g,y=function(e){function t(t,n,r,i){e.call(this,"Parser Error: "+t+" "+r+" ["+n+"] in "+i)}return o(t,e),t}(l.BaseException),g=function(){function e(e,t){void 0===t&&(t=null),this._lexer=e,this._reflector=c.isPresent(t)?t:d.reflector}return e.prototype.parseAction=function(e,t){this._checkNoInterpolation(e,t);var n=this._lexer.tokenize(e),r=new b(e,t,n,this._reflector,!0).parseChain();return new h.ASTWithSource(r,e,t)},e.prototype.parseBinding=function(e,t){var n=this._parseBindingAst(e,t);return new h.ASTWithSource(n,e,t)},e.prototype.parseSimpleBinding=function(e,t){var n=this._parseBindingAst(e,t);if(!_.check(n))throw new y("Host binding expression can only contain field access and constants",e,t);return new h.ASTWithSource(n,e,t)},e.prototype._parseBindingAst=function(e,t){var n=this._parseQuote(e,t);if(c.isPresent(n))return n;this._checkNoInterpolation(e,t);var r=this._lexer.tokenize(e);return new b(e,t,r,this._reflector,!1).parseChain()},e.prototype._parseQuote=function(e,t){if(c.isBlank(e))return null;var n=e.indexOf(":");if(-1==n)return null;var r=e.substring(0,n).trim();if(!f.isIdentifier(r))return null;var i=e.substring(n+1);return new h.Quote(r,i,t)},e.prototype.parseTemplateBindings=function(e,t){var n=this._lexer.tokenize(e);return new b(e,t,n,this._reflector,!1).parseTemplateBindings()},e.prototype.parseInterpolation=function(e,t){var n=c.StringWrapper.split(e,v);if(n.length<=1)return null;for(var r=[],i=[],o=0;o<n.length;o++){var s=n[o];if(o%2===0)r.push(s);else{if(!(s.trim().length>0))throw new y("Blank expressions are not allowed in interpolated strings",e,"at column "+this._findInterpolationErrorColumn(n,o)+" in",t);var a=this._lexer.tokenize(s),u=new b(e,t,a,this._reflector,!1).parseChain();i.push(u)}}return new h.ASTWithSource(new h.Interpolation(r,i),e,t)},e.prototype.wrapLiteralPrimitive=function(e,t){return new h.ASTWithSource(new h.LiteralPrimitive(e),e,t)},e.prototype._checkNoInterpolation=function(e,t){var n=c.StringWrapper.split(e,v);if(n.length>1)throw new y("Got interpolation ({{}}) where expression was expected",e,"at column "+this._findInterpolationErrorColumn(n,1)+" in",t)},e.prototype._findInterpolationErrorColumn=function(e,t){for(var n="",r=0;t>r;r++)n+=r%2===0?e[r]:"{{"+e[r]+"}}";return n.length},e=s([u.Injectable(),a("design:paramtypes",[f.Lexer,d.Reflector])],e)}();t.Parser=g;var b=function(){function e(e,t,n,r,i){this.input=e,this.location=t,this.tokens=n,this.reflector=r,this.parseAction=i,this.index=0}return e.prototype.peek=function(e){var t=this.index+e;return t<this.tokens.length?this.tokens[t]:f.EOF},Object.defineProperty(e.prototype,"next",{get:function(){return this.peek(0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputIndex",{get:function(){return this.index<this.tokens.length?this.next.index:this.input.length},enumerable:!0,configurable:!0}),e.prototype.advance=function(){this.index++},e.prototype.optionalCharacter=function(e){return this.next.isCharacter(e)?(this.advance(),!0):!1},e.prototype.optionalKeywordVar=function(){return this.peekKeywordVar()?(this.advance(),!0):!1},e.prototype.peekKeywordVar=function(){return this.next.isKeywordVar()||this.next.isOperator("#")},e.prototype.expectCharacter=function(e){this.optionalCharacter(e)||this.error("Missing expected "+c.StringWrapper.fromCharCode(e))},e.prototype.optionalOperator=function(e){return this.next.isOperator(e)?(this.advance(),!0):!1},e.prototype.expectOperator=function(e){this.optionalOperator(e)||this.error("Missing expected operator "+e)},e.prototype.expectIdentifierOrKeyword=function(){var e=this.next;return e.isIdentifier()||e.isKeyword()||this.error("Unexpected token "+e+", expected identifier or keyword"),this.advance(),e.toString()},e.prototype.expectIdentifierOrKeywordOrString=function(){var e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()||this.error("Unexpected token "+e+", expected identifier, keyword, or string"),this.advance(),e.toString()},e.prototype.parseChain=function(){for(var e=[];this.index<this.tokens.length;){var t=this.parsePipe();if(e.push(t),this.optionalCharacter(f.$SEMICOLON))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.optionalCharacter(f.$SEMICOLON););else this.index<this.tokens.length&&this.error("Unexpected token '"+this.next+"'")}return 0==e.length?new h.EmptyExpr:1==e.length?e[0]:new h.Chain(e)},e.prototype.parsePipe=function(){var e=this.parseExpression();if(this.optionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{for(var t=this.expectIdentifierOrKeyword(),n=[];this.optionalCharacter(f.$COLON);)n.push(this.parseExpression());e=new h.BindingPipe(e,t,n)}while(this.optionalOperator("|"))}return e},e.prototype.parseExpression=function(){return this.parseConditional()},e.prototype.parseConditional=function(){var e=this.inputIndex,t=this.parseLogicalOr();if(this.optionalOperator("?")){var n=this.parsePipe();if(!this.optionalCharacter(f.$COLON)){var r=this.inputIndex,i=this.input.substring(e,r);this.error("Conditional expression "+i+" requires all 3 expressions")}var o=this.parsePipe();return new h.Conditional(t,n,o)}return t},e.prototype.parseLogicalOr=function(){for(var e=this.parseLogicalAnd();this.optionalOperator("||");)e=new h.Binary("||",e,this.parseLogicalAnd());return e},e.prototype.parseLogicalAnd=function(){for(var e=this.parseEquality();this.optionalOperator("&&");)e=new h.Binary("&&",e,this.parseEquality());return e},e.prototype.parseEquality=function(){for(var e=this.parseRelational();;)if(this.optionalOperator("=="))e=new h.Binary("==",e,this.parseRelational());else if(this.optionalOperator("==="))e=new h.Binary("===",e,this.parseRelational());else if(this.optionalOperator("!="))e=new h.Binary("!=",e,this.parseRelational());else{if(!this.optionalOperator("!=="))return e;e=new h.Binary("!==",e,this.parseRelational())}},e.prototype.parseRelational=function(){for(var e=this.parseAdditive();;)if(this.optionalOperator("<"))e=new h.Binary("<",e,this.parseAdditive());else if(this.optionalOperator(">"))e=new h.Binary(">",e,this.parseAdditive());else if(this.optionalOperator("<="))e=new h.Binary("<=",e,this.parseAdditive());else{if(!this.optionalOperator(">="))return e;e=new h.Binary(">=",e,this.parseAdditive())}},e.prototype.parseAdditive=function(){for(var e=this.parseMultiplicative();;)if(this.optionalOperator("+"))e=new h.Binary("+",e,this.parseMultiplicative());else{if(!this.optionalOperator("-"))return e;e=new h.Binary("-",e,this.parseMultiplicative())}},e.prototype.parseMultiplicative=function(){for(var e=this.parsePrefix();;)if(this.optionalOperator("*"))e=new h.Binary("*",e,this.parsePrefix());else if(this.optionalOperator("%"))e=new h.Binary("%",e,this.parsePrefix());else{if(!this.optionalOperator("/"))return e;e=new h.Binary("/",e,this.parsePrefix())}},e.prototype.parsePrefix=function(){return this.optionalOperator("+")?this.parsePrefix():this.optionalOperator("-")?new h.Binary("-",new h.LiteralPrimitive(0),this.parsePrefix()):this.optionalOperator("!")?new h.PrefixNot(this.parsePrefix()):this.parseCallChain()},e.prototype.parseCallChain=function(){for(var e=this.parsePrimary();;)if(this.optionalCharacter(f.$PERIOD))e=this.parseAccessMemberOrMethodCall(e,!1);else if(this.optionalOperator("?."))e=this.parseAccessMemberOrMethodCall(e,!0);else if(this.optionalCharacter(f.$LBRACKET)){var t=this.parsePipe();if(this.expectCharacter(f.$RBRACKET),this.optionalOperator("=")){var n=this.parseConditional();e=new h.KeyedWrite(e,t,n)}else e=new h.KeyedRead(e,t)}else{if(!this.optionalCharacter(f.$LPAREN))return e;var r=this.parseCallArguments();this.expectCharacter(f.$RPAREN),e=new h.FunctionCall(e,r)}},e.prototype.parsePrimary=function(){if(this.optionalCharacter(f.$LPAREN)){var e=this.parsePipe();return this.expectCharacter(f.$RPAREN),e}if(this.next.isKeywordNull()||this.next.isKeywordUndefined())return this.advance(),new h.LiteralPrimitive(null);if(this.next.isKeywordTrue())return this.advance(),new h.LiteralPrimitive(!0);if(this.next.isKeywordFalse())return this.advance(),new h.LiteralPrimitive(!1);if(this.optionalCharacter(f.$LBRACKET)){var t=this.parseExpressionList(f.$RBRACKET);return this.expectCharacter(f.$RBRACKET),new h.LiteralArray(t)}if(this.next.isCharacter(f.$LBRACE))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(m,!1);if(this.next.isNumber()){var n=this.next.toNumber();return this.advance(),new h.LiteralPrimitive(n)}if(this.next.isString()){var r=this.next.toString();return this.advance(),new h.LiteralPrimitive(r)}throw this.index>=this.tokens.length?this.error("Unexpected end of expression: "+this.input):this.error("Unexpected token "+this.next),new l.BaseException("Fell through all cases in parsePrimary")},e.prototype.parseExpressionList=function(e){var t=[];if(!this.next.isCharacter(e))do t.push(this.parsePipe());while(this.optionalCharacter(f.$COMMA));return t},e.prototype.parseLiteralMap=function(){var e=[],t=[];if(this.expectCharacter(f.$LBRACE),!this.optionalCharacter(f.$RBRACE)){do{var n=this.expectIdentifierOrKeywordOrString();e.push(n),this.expectCharacter(f.$COLON),t.push(this.parsePipe())}while(this.optionalCharacter(f.$COMMA));this.expectCharacter(f.$RBRACE)}return new h.LiteralMap(e,t)},e.prototype.parseAccessMemberOrMethodCall=function(e,t){void 0===t&&(t=!1);var n=this.expectIdentifierOrKeyword();if(this.optionalCharacter(f.$LPAREN)){var r=this.parseCallArguments();this.expectCharacter(f.$RPAREN);var i=this.reflector.method(n);return t?new h.SafeMethodCall(e,n,i,r):new h.MethodCall(e,n,i,r)}if(!t){if(this.optionalOperator("=")){this.parseAction||this.error("Bindings cannot contain assignments");var o=this.parseConditional();return new h.PropertyWrite(e,n,this.reflector.setter(n),o)}return new h.PropertyRead(e,n,this.reflector.getter(n))}return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),null):new h.SafePropertyRead(e,n,this.reflector.getter(n))},e.prototype.parseCallArguments=function(){if(this.next.isCharacter(f.$RPAREN))return[];var e=[];do e.push(this.parsePipe());while(this.optionalCharacter(f.$COMMA));return e},e.prototype.parseBlockContent=function(){this.parseAction||this.error("Binding expression cannot contain chained expression");for(var e=[];this.index<this.tokens.length&&!this.next.isCharacter(f.$RBRACE);){var t=this.parseExpression();if(e.push(t),this.optionalCharacter(f.$SEMICOLON))for(;this.optionalCharacter(f.$SEMICOLON););}return 0==e.length?new h.EmptyExpr:1==e.length?e[0]:new h.Chain(e)},e.prototype.expectTemplateBindingKey=function(){var e="",t=!1;do e+=this.expectIdentifierOrKeywordOrString(),t=this.optionalOperator("-"),t&&(e+="-");while(t);return e.toString()},e.prototype.parseTemplateBindings=function(){for(var e=[],t=null;this.index<this.tokens.length;){var n=this.optionalKeywordVar(),r=this.expectTemplateBindingKey();n||(null==t?t=r:r=t+r[0].toUpperCase()+r.substring(1)),this.optionalCharacter(f.$COLON);var i=null,o=null;if(n)i=this.optionalOperator("=")?this.expectTemplateBindingKey():"$implicit";else if(this.next!==f.EOF&&!this.peekKeywordVar()){var s=this.inputIndex,a=this.parsePipe(),u=this.input.substring(s,this.inputIndex);o=new h.ASTWithSource(a,u,this.location)}e.push(new h.TemplateBinding(r,n,i,o)),this.optionalCharacter(f.$SEMICOLON)||this.optionalCharacter(f.$COMMA)}return e},e.prototype.error=function(e,t){void 0===t&&(t=null),c.isBlank(t)&&(t=this.index);var n=t<this.tokens.length?"at column "+(this.tokens[t].index+1)+" in":"at the end of the expression";throw new y(e,this.input,n,this.location)},e}();t._ParseAST=b;var _=function(){function e(){this.simple=!0}return e.check=function(t){var n=new e;return t.visit(n),n.simple},e.prototype.visitImplicitReceiver=function(e){},e.prototype.visitInterpolation=function(e){this.simple=!1},e.prototype.visitLiteralPrimitive=function(e){},e.prototype.visitPropertyRead=function(e){},e.prototype.visitPropertyWrite=function(e){this.simple=!1},e.prototype.visitSafePropertyRead=function(e){this.simple=!1},e.prototype.visitMethodCall=function(e){
|
||
this.simple=!1},e.prototype.visitSafeMethodCall=function(e){this.simple=!1},e.prototype.visitFunctionCall=function(e){this.simple=!1},e.prototype.visitLiteralArray=function(e){this.visitAll(e.expressions)},e.prototype.visitLiteralMap=function(e){this.visitAll(e.values)},e.prototype.visitBinary=function(e){this.simple=!1},e.prototype.visitPrefixNot=function(e){this.simple=!1},e.prototype.visitConditional=function(e){this.simple=!1},e.prototype.visitPipe=function(e){this.simple=!1},e.prototype.visitKeyedRead=function(e){this.simple=!1},e.prototype.visitKeyedWrite=function(e){this.simple=!1},e.prototype.visitAll=function(e){for(var t=p.ListWrapper.createFixedSize(e.length),n=0;n<e.length;++n)t[n]=e[n].visit(this);return t},e.prototype.visitChain=function(e){this.simple=!1},e.prototype.visitQuote=function(e){this.simple=!1},e}();return r.define=i,n.exports}),e.registerDynamic("1d5",["20","3c","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=e("37"),u=function(){function e(e,t){this.parent=e,this.current=t}return e.prototype.contains=function(e){return this.current.has(e)?!0:o.isPresent(this.parent)?this.parent.contains(e):!1},e.prototype.get=function(e){if(this.current.has(e))return this.current.get(e);if(o.isPresent(this.parent))return this.parent.get(e);throw new s.BaseException("Cannot find '"+e+"'")},e.prototype.set=function(e,t){if(!this.current.has(e))throw new s.BaseException("Setting of new keys post-construction is not supported. Key: "+e+".");this.current.set(e,t)},e.prototype.clearValues=function(){a.MapWrapper.clearValues(this.current)},e}();return t.Locals=u,r.define=i,n.exports}),e.registerDynamic("1b3",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(e,t,n,r,i,o){this.element=e,this.componentElement=t,this.directive=n,this.context=r,this.locals=i,this.injector=o}return e}();t.DebugContext=o;var s=function(){function e(e,t,n){this.genDebugInfo=e,this.logBindingUpdate=t,this.useJit=n}return e}();t.ChangeDetectorGenConfig=s;var a=function(){function e(e,t,n,r,i,o,s){this.id=e,this.strategy=t,this.variableNames=n,this.bindingRecords=r,this.eventRecords=i,this.directiveRecords=o,this.genConfig=s}return e}();return t.ChangeDetectorDefinition=a,r.define=i,n.exports}),e.registerDynamic("1d6",["20","37"],!0,function(e,t,n){"use strict";function r(e){return s.StringWrapper.replaceAll(e,y,"")}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=e("37"),u="state",c="propertyBindingIndex",l="directiveIndices",p="dispatcher",f="locals",d="mode",h="pipes",m="protos";t.CONTEXT_ACCESSOR="context",t.CONTEXT_INDEX=0;var v="this.",y=/\W/g;t.sanitizeName=r;var g=function(){function e(e,n,i,o){this._records=e,this._eventBindings=n,this._directiveRecords=i,this._utilName=o,this._sanitizedEventNames=new a.Map,this._sanitizedNames=a.ListWrapper.createFixedSize(this._records.length+1),this._sanitizedNames[t.CONTEXT_INDEX]=t.CONTEXT_ACCESSOR;for(var s=0,u=this._records.length;u>s;++s)this._sanitizedNames[s+1]=r(""+this._records[s].name+s);for(var c=0;c<n.length;++c){for(var l=n[c],p=[t.CONTEXT_ACCESSOR],s=0,u=l.records.length;u>s;++s)p.push(r(""+l.records[s].name+s+"_"+c));this._sanitizedEventNames.set(l,p)}}return e.prototype._addFieldPrefix=function(e){return""+v+e},e.prototype.getDispatcherName=function(){return this._addFieldPrefix(p)},e.prototype.getPipesAccessorName=function(){return this._addFieldPrefix(h)},e.prototype.getProtosName=function(){return this._addFieldPrefix(m)},e.prototype.getDirectivesAccessorName=function(){return this._addFieldPrefix(l)},e.prototype.getLocalsAccessorName=function(){return this._addFieldPrefix(f)},e.prototype.getStateName=function(){return this._addFieldPrefix(u)},e.prototype.getModeName=function(){return this._addFieldPrefix(d)},e.prototype.getPropertyBindingIndex=function(){return this._addFieldPrefix(c)},e.prototype.getLocalName=function(e){return"l_"+this._sanitizedNames[e]},e.prototype.getEventLocalName=function(e,t){return"l_"+this._sanitizedEventNames.get(e)[t]},e.prototype.getChangeName=function(e){return"c_"+this._sanitizedNames[e]},e.prototype.genInitLocals=function(){for(var e=[],n=[],r=0,i=this.getFieldCount();i>r;++r)if(r==t.CONTEXT_INDEX)e.push(this.getLocalName(r)+" = "+this.getFieldName(r));else{var o=this._records[r-1];if(o.argumentToPureFunction){var s=this.getChangeName(r);e.push(this.getLocalName(r)+","+s),n.push(s)}else e.push(""+this.getLocalName(r))}var u=a.ListWrapper.isEmpty(n)?"":n.join("=")+" = false;";return"var "+e.join(",")+";"+u},e.prototype.genInitEventLocals=function(){var e=this,n=[this.getLocalName(t.CONTEXT_INDEX)+" = "+this.getFieldName(t.CONTEXT_INDEX)];return this._sanitizedEventNames.forEach(function(r,i){for(var o=0;o<r.length;++o)o!==t.CONTEXT_INDEX&&n.push(""+e.getEventLocalName(i,o))}),n.length>1?"var "+n.join(",")+";":""},e.prototype.getPreventDefaultAccesor=function(){return"preventDefault"},e.prototype.getFieldCount=function(){return this._sanitizedNames.length},e.prototype.getFieldName=function(e){return this._addFieldPrefix(this._sanitizedNames[e])},e.prototype.getAllFieldNames=function(){for(var e=[],t=0,n=this.getFieldCount();n>t;++t)(0===t||this._records[t-1].shouldBeChecked())&&e.push(this.getFieldName(t));for(var r=0,i=this._records.length;i>r;++r){var o=this._records[r];o.isPipeRecord()&&e.push(this.getPipeName(o.selfIndex))}for(var s=0,a=this._directiveRecords.length;a>s;++s){var u=this._directiveRecords[s];e.push(this.getDirectiveName(u.directiveIndex)),u.isDefaultChangeDetection()||e.push(this.getDetectorName(u.directiveIndex))}return e},e.prototype.genDehydrateFields=function(){var e=this.getAllFieldNames();return a.ListWrapper.removeAt(e,t.CONTEXT_INDEX),a.ListWrapper.isEmpty(e)?"":(e.push(this._utilName+".uninitialized;"),e.join(" = "))},e.prototype.genPipeOnDestroy=function(){var e=this;return this._records.filter(function(e){return e.isPipeRecord()}).map(function(t){return e._utilName+".callPipeOnDestroy("+e.getPipeName(t.selfIndex)+");"}).join("\n")},e.prototype.getPipeName=function(e){return this._addFieldPrefix(this._sanitizedNames[e]+"_pipe")},e.prototype.getDirectiveName=function(e){return this._addFieldPrefix("directive_"+e.name)},e.prototype.getDetectorName=function(e){return this._addFieldPrefix("detector_"+e.name)},e}();return t.CodegenNameUtil=g,i.define=o,n.exports}),e.registerDynamic("1d7",["20","1d8","1d9","1da","3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("1d8"),a=e("1d9"),u=e("1da"),c=e("3c"),l=function(){function e(e,t,n,r){this._names=e,this._utilName=t,this._changeDetectorStateName=n,this._changeDetection=r}return e.prototype.genPropertyBindingEvalValue=function(e){var t=this;return this._genEvalValue(e,function(e){return t._names.getLocalName(e)},this._names.getLocalsAccessorName())},e.prototype.genEventBindingEvalValue=function(e,t){var n=this;return this._genEvalValue(t,function(t){return n._names.getEventLocalName(e,t)},"locals")},e.prototype._genEvalValue=function(e,t,n){var r,i=-1==e.contextIndex?this._names.getDirectiveName(e.directiveIndex):t(e.contextIndex),o=e.args.map(function(e){return t(e)}).join(", ");switch(e.mode){case a.RecordType.Self:r=i;break;case a.RecordType.Const:r=s.codify(e.funcOrValue);break;case a.RecordType.PropertyRead:r=this._observe(i+"."+e.name,e);break;case a.RecordType.SafeProperty:var u=this._observe(i+"."+e.name,e);r=this._utilName+".isValueBlank("+i+") ? null : "+this._observe(u,e);break;case a.RecordType.PropertyWrite:r=i+"."+e.name+" = "+t(e.args[0]);break;case a.RecordType.Local:r=this._observe(n+".get("+s.rawString(e.name)+")",e);break;case a.RecordType.InvokeMethod:r=this._observe(i+"."+e.name+"("+o+")",e);break;case a.RecordType.SafeMethodInvoke:var l=i+"."+e.name+"("+o+")";r=this._utilName+".isValueBlank("+i+") ? null : "+this._observe(l,e);break;case a.RecordType.InvokeClosure:r=i+"("+o+")";break;case a.RecordType.PrimitiveOp:r=this._utilName+"."+e.name+"("+o+")";break;case a.RecordType.CollectionLiteral:r=this._utilName+"."+e.name+"("+o+")";break;case a.RecordType.Interpolate:r=this._genInterpolation(e);break;case a.RecordType.KeyedRead:r=this._observe(i+"["+t(e.args[0])+"]",e);break;case a.RecordType.KeyedWrite:r=i+"["+t(e.args[0])+"] = "+t(e.args[1]);break;case a.RecordType.Chain:r="null";break;default:throw new c.BaseException("Unknown operation "+e.mode)}return t(e.selfIndex)+" = "+r+";"},e.prototype._observe=function(e,t){return this._changeDetection===u.ChangeDetectionStrategy.OnPushObserve?"this.observeValue("+e+", "+t.selfIndex+")":e},e.prototype.genPropertyBindingTargets=function(e,t){var n=this,r=e.map(function(e){if(o.isBlank(e))return"null";var r=t?s.codify(e.debug):"null";return n._utilName+".bindingTarget("+s.codify(e.mode)+", "+e.elementIndex+", "+s.codify(e.name)+", "+s.codify(e.unit)+", "+r+")"});return"["+r.join(", ")+"]"},e.prototype.genDirectiveIndices=function(e){var t=this,n=e.map(function(e){return t._utilName+".directiveIndex("+e.directiveIndex.elementIndex+", "+e.directiveIndex.directiveIndex+")"});return"["+n.join(", ")+"]"},e.prototype._genInterpolation=function(e){for(var t=[],n=0;n<e.args.length;++n)t.push(s.codify(e.fixedArgs[n])),t.push(this._utilName+".s("+this._names.getLocalName(e.args[n])+")");return t.push(s.codify(e.fixedArgs[e.args.length])),s.combineGeneratedStrings(t)},e.prototype.genHydrateDirectives=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];t.push(this._names.getDirectiveName(r.directiveIndex)+" = "+this._genReadDirective(n)+";")}return t.join("\n")},e.prototype._genReadDirective=function(e){return this._changeDetection===u.ChangeDetectionStrategy.OnPushObserve?"this.observeDirective(this.getDirectiveFor(directives, "+e+"), "+e+")":"this.getDirectiveFor(directives, "+e+")"},e.prototype.genHydrateDetectors=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];r.isDefaultChangeDetection()||t.push(this._names.getDetectorName(r.directiveIndex)+" = this.getDetectorFor(directives, "+n+");")}return t.join("\n")},e.prototype.genContentLifecycleCallbacks=function(e){for(var t=[],n=o.IS_DART?"==":"===",r=e.length-1;r>=0;--r){var i=e[r];i.callAfterContentInit&&t.push("if("+this._names.getStateName()+" "+n+" "+this._changeDetectorStateName+".NeverChecked) "+this._names.getDirectiveName(i.directiveIndex)+".ngAfterContentInit();"),i.callAfterContentChecked&&t.push(this._names.getDirectiveName(i.directiveIndex)+".ngAfterContentChecked();")}return t},e.prototype.genViewLifecycleCallbacks=function(e){for(var t=[],n=o.IS_DART?"==":"===",r=e.length-1;r>=0;--r){var i=e[r];i.callAfterViewInit&&t.push("if("+this._names.getStateName()+" "+n+" "+this._changeDetectorStateName+".NeverChecked) "+this._names.getDirectiveName(i.directiveIndex)+".ngAfterViewInit();"),i.callAfterViewChecked&&t.push(this._names.getDirectiveName(i.directiveIndex)+".ngAfterViewChecked();")}return t},e}();return t.CodegenLogicUtil=l,r.define=i,n.exports}),e.registerDynamic("1d8",[],!0,function(e,t,n){"use strict";function r(e){return JSON.stringify(e)}function i(e){return"'"+e+"'"}function o(e){return e.join(" + ")}var s=this,a=s.define;return s.define=void 0,t.codify=r,t.rawString=i,t.combineGeneratedStrings=o,s.define=a,n.exports}),e.registerDynamic("1d4",["37","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=e("37"),o=function(){function e(){}return e.prototype.visit=function(e){return null},e.prototype.toString=function(){return"AST"},e}();t.AST=o;var s=function(e){function t(t,n,r){e.call(this),this.prefix=t,this.uninterpretedExpression=n,this.location=r}return r(t,e),t.prototype.visit=function(e){return e.visitQuote(this)},t.prototype.toString=function(){return"Quote"},t}(o);t.Quote=s;var a=function(e){function t(){e.apply(this,arguments)}return r(t,e),t.prototype.visit=function(e){},t}(o);t.EmptyExpr=a;var u=function(e){function t(){e.apply(this,arguments)}return r(t,e),t.prototype.visit=function(e){return e.visitImplicitReceiver(this)},t}(o);t.ImplicitReceiver=u;var c=function(e){function t(t){e.call(this),this.expressions=t}return r(t,e),t.prototype.visit=function(e){return e.visitChain(this)},t}(o);t.Chain=c;var l=function(e){function t(t,n,r){e.call(this),this.condition=t,this.trueExp=n,this.falseExp=r}return r(t,e),t.prototype.visit=function(e){return e.visitConditional(this)},t}(o);t.Conditional=l;var p=function(e){function t(t,n,r){e.call(this),this.receiver=t,this.name=n,this.getter=r}return r(t,e),t.prototype.visit=function(e){return e.visitPropertyRead(this)},t}(o);t.PropertyRead=p;var f=function(e){function t(t,n,r,i){e.call(this),this.receiver=t,this.name=n,this.setter=r,this.value=i}return r(t,e),t.prototype.visit=function(e){return e.visitPropertyWrite(this)},t}(o);t.PropertyWrite=f;var d=function(e){function t(t,n,r){e.call(this),this.receiver=t,this.name=n,this.getter=r}return r(t,e),t.prototype.visit=function(e){return e.visitSafePropertyRead(this)},t}(o);t.SafePropertyRead=d;var h=function(e){function t(t,n){e.call(this),this.obj=t,this.key=n}return r(t,e),t.prototype.visit=function(e){return e.visitKeyedRead(this)},t}(o);t.KeyedRead=h;var m=function(e){function t(t,n,r){e.call(this),this.obj=t,this.key=n,this.value=r}return r(t,e),t.prototype.visit=function(e){return e.visitKeyedWrite(this)},t}(o);t.KeyedWrite=m;var v=function(e){function t(t,n,r){e.call(this),this.exp=t,this.name=n,this.args=r}return r(t,e),t.prototype.visit=function(e){return e.visitPipe(this)},t}(o);t.BindingPipe=v;var y=function(e){function t(t){e.call(this),this.value=t}return r(t,e),t.prototype.visit=function(e){return e.visitLiteralPrimitive(this)},t}(o);t.LiteralPrimitive=y;var g=function(e){function t(t){e.call(this),this.expressions=t}return r(t,e),t.prototype.visit=function(e){return e.visitLiteralArray(this)},t}(o);t.LiteralArray=g;var b=function(e){function t(t,n){e.call(this),this.keys=t,this.values=n}return r(t,e),t.prototype.visit=function(e){return e.visitLiteralMap(this)},t}(o);t.LiteralMap=b;var _=function(e){function t(t,n){e.call(this),this.strings=t,this.expressions=n}return r(t,e),t.prototype.visit=function(e){return e.visitInterpolation(this)},t}(o);t.Interpolation=_;var E=function(e){function t(t,n,r){e.call(this),this.operation=t,this.left=n,this.right=r}return r(t,e),t.prototype.visit=function(e){return e.visitBinary(this)},t}(o);t.Binary=E;var D=function(e){function t(t){e.call(this),this.expression=t}return r(t,e),t.prototype.visit=function(e){return e.visitPrefixNot(this)},t}(o);t.PrefixNot=D;var w=function(e){function t(t,n,r,i){e.call(this),this.receiver=t,this.name=n,this.fn=r,this.args=i}return r(t,e),t.prototype.visit=function(e){return e.visitMethodCall(this)},t}(o);t.MethodCall=w;var C=function(e){function t(t,n,r,i){e.call(this),this.receiver=t,this.name=n,this.fn=r,this.args=i}return r(t,e),t.prototype.visit=function(e){return e.visitSafeMethodCall(this)},t}(o);t.SafeMethodCall=C;var x=function(e){function t(t,n){e.call(this),this.target=t,this.args=n}return r(t,e),t.prototype.visit=function(e){return e.visitFunctionCall(this)},t}(o);t.FunctionCall=x;var A=function(e){function t(t,n,r){e.call(this),this.ast=t,this.source=n,this.location=r}return r(t,e),t.prototype.visit=function(e){return this.ast.visit(e)},t.prototype.toString=function(){return this.source+" in "+this.location},t}(o);t.ASTWithSource=A;var P=function(){function e(e,t,n,r){this.key=e,this.keyIsVar=t,this.name=n,this.expression=r}return e}();t.TemplateBinding=P;var S=function(){function e(){}return e.prototype.visitBinary=function(e){return e.left.visit(this),e.right.visit(this),null},e.prototype.visitChain=function(e){return this.visitAll(e.expressions)},e.prototype.visitConditional=function(e){return e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this),null},e.prototype.visitPipe=function(e){return e.exp.visit(this),this.visitAll(e.args),null},e.prototype.visitFunctionCall=function(e){return e.target.visit(this),this.visitAll(e.args),null},e.prototype.visitImplicitReceiver=function(e){return null},e.prototype.visitInterpolation=function(e){return this.visitAll(e.expressions)},e.prototype.visitKeyedRead=function(e){return e.obj.visit(this),e.key.visit(this),null},e.prototype.visitKeyedWrite=function(e){return e.obj.visit(this),e.key.visit(this),e.value.visit(this),null},e.prototype.visitLiteralArray=function(e){return this.visitAll(e.expressions)},e.prototype.visitLiteralMap=function(e){return this.visitAll(e.values)},e.prototype.visitLiteralPrimitive=function(e){return null},e.prototype.visitMethodCall=function(e){return e.receiver.visit(this),this.visitAll(e.args)},e.prototype.visitPrefixNot=function(e){return e.expression.visit(this),null},e.prototype.visitPropertyRead=function(e){return e.receiver.visit(this),null},e.prototype.visitPropertyWrite=function(e){return e.receiver.visit(this),e.value.visit(this),null},e.prototype.visitSafePropertyRead=function(e){return e.receiver.visit(this),null},e.prototype.visitSafeMethodCall=function(e){return e.receiver.visit(this),this.visitAll(e.args)},e.prototype.visitAll=function(e){var t=this;return e.forEach(function(e){return e.visit(t)}),null},e.prototype.visitQuote=function(e){return null},e}();t.RecursiveAstVisitor=S;var O=function(){function e(){}return e.prototype.visitImplicitReceiver=function(e){return e},e.prototype.visitInterpolation=function(e){return new _(e.strings,this.visitAll(e.expressions))},e.prototype.visitLiteralPrimitive=function(e){return new y(e.value)},e.prototype.visitPropertyRead=function(e){return new p(e.receiver.visit(this),e.name,e.getter)},e.prototype.visitPropertyWrite=function(e){return new f(e.receiver.visit(this),e.name,e.setter,e.value)},e.prototype.visitSafePropertyRead=function(e){return new d(e.receiver.visit(this),e.name,e.getter)},e.prototype.visitMethodCall=function(e){return new w(e.receiver.visit(this),e.name,e.fn,this.visitAll(e.args))},e.prototype.visitSafeMethodCall=function(e){return new C(e.receiver.visit(this),e.name,e.fn,this.visitAll(e.args))},e.prototype.visitFunctionCall=function(e){return new x(e.target.visit(this),this.visitAll(e.args))},e.prototype.visitLiteralArray=function(e){return new g(this.visitAll(e.expressions))},e.prototype.visitLiteralMap=function(e){return new b(e.keys,this.visitAll(e.values))},e.prototype.visitBinary=function(e){return new E(e.operation,e.left.visit(this),e.right.visit(this))},e.prototype.visitPrefixNot=function(e){return new D(e.expression.visit(this))},e.prototype.visitConditional=function(e){return new l(e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))},e.prototype.visitPipe=function(e){return new v(e.exp.visit(this),e.name,this.visitAll(e.args))},e.prototype.visitKeyedRead=function(e){return new h(e.obj.visit(this),e.key.visit(this))},e.prototype.visitKeyedWrite=function(e){return new m(e.obj.visit(this),e.key.visit(this),e.value.visit(this))},e.prototype.visitAll=function(e){for(var t=i.ListWrapper.createFixedSize(e.length),n=0;n<e.length;++n)t[n]=e[n].visit(this);return t},e.prototype.visitChain=function(e){return new c(this.visitAll(e.expressions))},e.prototype.visitQuote=function(e){return new s(e.prefix,e.uninterpretedExpression,e.location)},e}();t.AstTransformer=O}(e("34")),r.define=i,n.exports}),e.registerDynamic("1db",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(e,t,n,r){this.eventName=e,this.elIndex=t,this.dirIndex=n,this.records=r}return e}();return t.EventBinding=o,r.define=i,n.exports}),e.registerDynamic("1dc",["20","37","1d9"],!0,function(e,t,n){"use strict";function r(e){for(var t=[],n=[],r=new h.Map,s=0,u=h.ListWrapper.createFixedSize(e.length),c=0;c<e.length;c++){var l=u[c];d.isPresent(l)&&(s--,l.fixedArgs[0]=t.length);var p=e[c],f=a(p,t,r);if(f.isSkipRecord())t.push(f),s++,u[f.fixedArgs[0]]=f;else{var m=o(f,t,n,s>0);r.set(p.selfIndex,m.selfIndex)}}return i(t)}function i(e){for(var t=[],n=h.ListWrapper.createFixedSize(e.length),r=new h.Map,i=0;i<e.length;i++){var o=n[i];d.isPresent(o)&&(o.fixedArgs[0]=t.length);var s=e[i];if(s.isSkipRecord()){if(s.isConditionalSkipRecord()&&s.fixedArgs[0]===i+2&&i<e.length-1&&e[i+1].mode===m.RecordType.SkipRecords&&(s.mode=s.mode===m.RecordType.SkipRecordsIf?m.RecordType.SkipRecordsIfNot:m.RecordType.SkipRecordsIf,s.fixedArgs[0]=e[i+1].fixedArgs[0],i++),s.fixedArgs[0]>i+1){var u=a(s,t,r);t.push(u),n[u.fixedArgs[0]]=u}}else{var u=a(s,t,r);t.push(u),r.set(s.selfIndex,u.selfIndex)}}return t}function o(e,t,n,r){var i=s(e,t,n);return d.isPresent(i)?(e.lastInBinding?(t.push(c(e,i.selfIndex,t.length+1)),i.referencedBySelf=!0):e.argumentToPureFunction&&(i.argumentToPureFunction=!0),i):(r&&n.push(e.selfIndex),t.push(e),e)}function s(e,t,n){return t.find(function(t){return-1==n.indexOf(t.selfIndex)&&t.mode!==m.RecordType.DirectiveLifecycle&&l(t,e)&&t.mode===e.mode&&d.looseIdentical(t.funcOrValue,e.funcOrValue)&&t.contextIndex===e.contextIndex&&d.looseIdentical(t.name,e.name)&&h.ListWrapper.equals(t.args,e.args)})}function a(e,t,n){var r=e.args.map(function(e){return u(n,e)}),i=u(n,e.contextIndex),o=t.length+1;return new m.ProtoRecord(e.mode,e.name,e.funcOrValue,r,e.fixedArgs,i,e.directiveIndex,o,e.bindingRecord,e.lastInBinding,e.lastInDirective,e.argumentToPureFunction,e.referencedBySelf,e.propertyBindingIndex)}function u(e,t){var n=e.get(t);return d.isPresent(n)?n:t}function c(e,t,n){return new m.ProtoRecord(m.RecordType.Self,"self",null,[],e.fixedArgs,t,e.directiveIndex,n,e.bindingRecord,e.lastInBinding,e.lastInDirective,!1,!1,e.propertyBindingIndex)}function l(e,t){var n=d.isBlank(e.directiveIndex)?null:e.directiveIndex.directiveIndex,r=d.isBlank(e.directiveIndex)?null:e.directiveIndex.elementIndex,i=d.isBlank(t.directiveIndex)?null:t.directiveIndex.directiveIndex,o=d.isBlank(t.directiveIndex)?null:t.directiveIndex.elementIndex;return n===i&&r===o}var p=this,f=p.define;p.define=void 0;var d=e("20"),h=e("37"),m=e("1d9");return t.coalesce=r,p.define=f,n.exports}),e.registerDynamic("1dd",["20","3c","37","1d4","1de","1df","1e0","1db","1dc","1d9"],!0,function(e,t,n){"use strict";function r(e){var t=new C;return m.ListWrapper.forEachWithIndex(e.bindingRecords,function(n,r){return t.add(n,e.variableNames,r)}),E.coalesce(t.records)}function i(e){var t=m.ListWrapper.concat(["$event"],e.variableNames);return e.eventRecords.map(function(e){var n=x.create(e,t),r=e.implicitReceiver instanceof b.DirectiveIndex?e.implicitReceiver:null;return new _.EventBinding(e.target.name,e.target.elementIndex,r,n)})}function o(e){switch(e){case 0:return y.ChangeDetectionUtil.arrayFn0;case 1:return y.ChangeDetectionUtil.arrayFn1;case 2:return y.ChangeDetectionUtil.arrayFn2;case 3:return y.ChangeDetectionUtil.arrayFn3;case 4:return y.ChangeDetectionUtil.arrayFn4;case 5:return y.ChangeDetectionUtil.arrayFn5;case 6:return y.ChangeDetectionUtil.arrayFn6;case 7:return y.ChangeDetectionUtil.arrayFn7;case 8:return y.ChangeDetectionUtil.arrayFn8;case 9:return y.ChangeDetectionUtil.arrayFn9;default:throw new h.BaseException("Does not support literal maps with more than 9 elements")}}function s(e){var t=e.map(function(e){return d.isString(e)?'"'+e+'"':""+e}).join(", ");return"mapFn(["+t+"])"}function a(e){switch(e){case"+":return"operation_add";case"-":return"operation_subtract";case"*":return"operation_multiply";case"/":return"operation_divide";case"%":return"operation_remainder";case"==":return"operation_equals";case"!=":return"operation_not_equals";case"===":return"operation_identical";case"!==":return"operation_not_identical";case"<":return"operation_less_then";case">":return"operation_greater_then";case"<=":return"operation_less_or_equals_then";case">=":return"operation_greater_or_equals_then";default:throw new h.BaseException("Unsupported operation "+e)}}function u(e){switch(e){case"+":return y.ChangeDetectionUtil.operation_add;case"-":return y.ChangeDetectionUtil.operation_subtract;case"*":return y.ChangeDetectionUtil.operation_multiply;case"/":return y.ChangeDetectionUtil.operation_divide;case"%":return y.ChangeDetectionUtil.operation_remainder;case"==":return y.ChangeDetectionUtil.operation_equals;case"!=":return y.ChangeDetectionUtil.operation_not_equals;case"===":return y.ChangeDetectionUtil.operation_identical;case"!==":return y.ChangeDetectionUtil.operation_not_identical;case"<":return y.ChangeDetectionUtil.operation_less_then;case">":return y.ChangeDetectionUtil.operation_greater_then;case"<=":return y.ChangeDetectionUtil.operation_less_or_equals_then;case">=":return y.ChangeDetectionUtil.operation_greater_or_equals_then;default:throw new h.BaseException("Unsupported operation "+e)}}function c(e){return d.isPresent(e)?""+e:""}function l(e){var t=e.length,n=t>0?e[0]:null,r=t>1?e[1]:null,i=t>2?e[2]:null,o=t>3?e[3]:null,s=t>4?e[4]:null,a=t>5?e[5]:null,u=t>6?e[6]:null,l=t>7?e[7]:null,p=t>8?e[8]:null,f=t>9?e[9]:null;switch(t-1){case 1:return function(e){return n+c(e)+r};case 2:return function(e,t){return n+c(e)+r+c(t)+i};case 3:return function(e,t,s){return n+c(e)+r+c(t)+i+c(s)+o};case 4:return function(e,t,a,u){return n+c(e)+r+c(t)+i+c(a)+o+c(u)+s};case 5:return function(e,t,u,l,p){return n+c(e)+r+c(t)+i+c(u)+o+c(l)+s+c(p)+a};case 6:return function(e,t,l,p,f,d){return n+c(e)+r+c(t)+i+c(l)+o+c(p)+s+c(f)+a+c(d)+u};case 7:return function(e,t,p,f,d,h,m){return n+c(e)+r+c(t)+i+c(p)+o+c(f)+s+c(d)+a+c(h)+u+c(m)+l};case 8:return function(e,t,f,d,h,m,v,y){return n+c(e)+r+c(t)+i+c(f)+o+c(d)+s+c(h)+a+c(m)+u+c(v)+l+c(y)+p};case 9:return function(e,t,d,h,m,v,y,g,b){return n+c(e)+r+c(t)+i+c(d)+o+c(h)+s+c(m)+a+c(v)+u+c(y)+l+c(g)+p+c(b)+f};default:throw new h.BaseException("Does not support more than 9 expressions")}}var p=this,f=p.define;p.define=void 0;var d=e("20"),h=e("3c"),m=e("37"),v=e("1d4"),y=e("1de"),g=e("1df"),b=e("1e0"),_=e("1db"),E=e("1dc"),D=e("1d9"),w=function(){function e(e){this._definition=e,this._propertyBindingRecords=r(e),this._eventBindingRecords=i(e),this._propertyBindingTargets=this._definition.bindingRecords.map(function(e){return e.target}),this._directiveIndices=this._definition.directiveRecords.map(function(e){return e.directiveIndex})}return e.prototype.instantiate=function(e){return new g.DynamicChangeDetector(this._definition.id,e,this._propertyBindingRecords.length,this._propertyBindingTargets,this._directiveIndices,this._definition.strategy,this._propertyBindingRecords,this._eventBindingRecords,this._definition.directiveRecords,this._definition.genConfig)},e}();t.DynamicProtoChangeDetector=w,t.createPropertyRecords=r,t.createEventRecords=i;var C=function(){function e(){this.records=[]}return e.prototype.add=function(e,t,n){var r=m.ListWrapper.last(this.records);d.isPresent(r)&&r.bindingRecord.directiveRecord==e.directiveRecord&&(r.lastInDirective=!1);var i=this.records.length;this._appendRecords(e,t,n);var o=m.ListWrapper.last(this.records);d.isPresent(o)&&o!==r&&(o.lastInBinding=!0,o.lastInDirective=!0,this._setArgumentToPureFunction(i))},e.prototype._setArgumentToPureFunction=function(e){for(var t=this,n=e;n<this.records.length;++n){var r=this.records[n];r.isPureFunction()&&r.args.forEach(function(e){return t.records[e-1].argumentToPureFunction=!0}),r.mode===D.RecordType.Pipe&&(r.args.forEach(function(e){return t.records[e-1].argumentToPureFunction=!0}),this.records[r.contextIndex-1].argumentToPureFunction=!0)}},e.prototype._appendRecords=function(e,t,n){e.isDirectiveLifecycle()?this.records.push(new D.ProtoRecord(D.RecordType.DirectiveLifecycle,e.lifecycleEvent,null,[],[],-1,null,this.records.length+1,e,!1,!1,!1,!1,null)):x.append(this.records,e,t,n)},e}();t.ProtoRecordBuilder=C;var x=function(){function e(e,t,n,r){this._records=e,this._bindingRecord=t,this._variableNames=n,this._bindingIndex=r}return e.append=function(t,n,r,i){var o=new e(t,n,r,i);n.ast.visit(o)},e.create=function(t,n){var r=[];return e.append(r,t,n,null),r[r.length-1].lastInBinding=!0,r},e.prototype.visitImplicitReceiver=function(e){return this._bindingRecord.implicitReceiver},e.prototype.visitInterpolation=function(e){var t=this._visitAll(e.expressions);return this._addRecord(D.RecordType.Interpolate,"interpolate",l(e.strings),t,e.strings,0)},e.prototype.visitLiteralPrimitive=function(e){return this._addRecord(D.RecordType.Const,"literal",e.value,[],null,0)},e.prototype.visitPropertyRead=function(e){var t=e.receiver.visit(this);return d.isPresent(this._variableNames)&&m.ListWrapper.contains(this._variableNames,e.name)&&e.receiver instanceof v.ImplicitReceiver?this._addRecord(D.RecordType.Local,e.name,e.name,[],null,t):this._addRecord(D.RecordType.PropertyRead,e.name,e.getter,[],null,t)},e.prototype.visitPropertyWrite=function(e){if(d.isPresent(this._variableNames)&&m.ListWrapper.contains(this._variableNames,e.name)&&e.receiver instanceof v.ImplicitReceiver)throw new h.BaseException("Cannot reassign a variable binding "+e.name);var t=e.receiver.visit(this),n=e.value.visit(this);return this._addRecord(D.RecordType.PropertyWrite,e.name,e.setter,[n],null,t)},e.prototype.visitKeyedWrite=function(e){var t=e.obj.visit(this),n=e.key.visit(this),r=e.value.visit(this);return this._addRecord(D.RecordType.KeyedWrite,null,null,[n,r],null,t)},e.prototype.visitSafePropertyRead=function(e){var t=e.receiver.visit(this);return this._addRecord(D.RecordType.SafeProperty,e.name,e.getter,[],null,t)},e.prototype.visitMethodCall=function(e){var t=e.receiver.visit(this),n=this._visitAll(e.args);if(d.isPresent(this._variableNames)&&m.ListWrapper.contains(this._variableNames,e.name)){var r=this._addRecord(D.RecordType.Local,e.name,e.name,[],null,t);return this._addRecord(D.RecordType.InvokeClosure,"closure",null,n,null,r)}return this._addRecord(D.RecordType.InvokeMethod,e.name,e.fn,n,null,t)},e.prototype.visitSafeMethodCall=function(e){var t=e.receiver.visit(this),n=this._visitAll(e.args);return this._addRecord(D.RecordType.SafeMethodInvoke,e.name,e.fn,n,null,t)},e.prototype.visitFunctionCall=function(e){var t=e.target.visit(this),n=this._visitAll(e.args);return this._addRecord(D.RecordType.InvokeClosure,"closure",null,n,null,t)},e.prototype.visitLiteralArray=function(e){var t="arrayFn"+e.expressions.length;return this._addRecord(D.RecordType.CollectionLiteral,t,o(e.expressions.length),this._visitAll(e.expressions),null,0)},e.prototype.visitLiteralMap=function(e){return this._addRecord(D.RecordType.CollectionLiteral,s(e.keys),y.ChangeDetectionUtil.mapFn(e.keys),this._visitAll(e.values),null,0)},e.prototype.visitBinary=function(e){var t=e.left.visit(this);switch(e.operation){case"&&":var n=[null];this._addRecord(D.RecordType.SkipRecordsIfNot,"SkipRecordsIfNot",null,[],n,t);var r=e.right.visit(this);return n[0]=r,this._addRecord(D.RecordType.PrimitiveOp,"cond",y.ChangeDetectionUtil.cond,[t,r,t],null,0);case"||":var n=[null];this._addRecord(D.RecordType.SkipRecordsIf,"SkipRecordsIf",null,[],n,t);var r=e.right.visit(this);return n[0]=r,this._addRecord(D.RecordType.PrimitiveOp,"cond",y.ChangeDetectionUtil.cond,[t,t,r],null,0);default:var r=e.right.visit(this);return this._addRecord(D.RecordType.PrimitiveOp,a(e.operation),u(e.operation),[t,r],null,0)}},e.prototype.visitPrefixNot=function(e){var t=e.expression.visit(this);return this._addRecord(D.RecordType.PrimitiveOp,"operation_negate",y.ChangeDetectionUtil.operation_negate,[t],null,0)},e.prototype.visitConditional=function(e){var t=e.condition.visit(this),n=[null],r=[null];this._addRecord(D.RecordType.SkipRecordsIfNot,"SkipRecordsIfNot",null,[],n,t);var i=e.trueExp.visit(this),o=this._addRecord(D.RecordType.SkipRecords,"SkipRecords",null,[],r,0),s=e.falseExp.visit(this);return n[0]=o,r[0]=s,this._addRecord(D.RecordType.PrimitiveOp,"cond",y.ChangeDetectionUtil.cond,[t,i,s],null,0)},e.prototype.visitPipe=function(e){var t=e.exp.visit(this),n=this._visitAll(e.args);return this._addRecord(D.RecordType.Pipe,e.name,e.name,n,null,t);
|
||
},e.prototype.visitKeyedRead=function(e){var t=e.obj.visit(this),n=e.key.visit(this);return this._addRecord(D.RecordType.KeyedRead,"keyedAccess",y.ChangeDetectionUtil.keyedAccess,[n],null,t)},e.prototype.visitChain=function(e){var t=this,n=e.expressions.map(function(e){return e.visit(t)});return this._addRecord(D.RecordType.Chain,"chain",null,n,null,0)},e.prototype.visitQuote=function(e){throw new h.BaseException("Caught uninterpreted expression at "+e.location+": "+e.uninterpretedExpression+". "+("Expression prefix "+e.prefix+" did not match a template transformer to interpret the expression."))},e.prototype._visitAll=function(e){for(var t=m.ListWrapper.createFixedSize(e.length),n=0;n<e.length;++n)t[n]=e[n].visit(this);return t},e.prototype._addRecord=function(e,t,n,r,i,o){var s=this._records.length+1;return o instanceof b.DirectiveIndex?this._records.push(new D.ProtoRecord(e,t,n,r,i,-1,o,s,this._bindingRecord,!1,!1,!1,!1,this._bindingIndex)):this._records.push(new D.ProtoRecord(e,t,n,r,i,o,null,s,this._bindingRecord,!1,!1,!1,!1,this._bindingIndex)),s},e}();return p.define=f,n.exports}),e.registerDynamic("85",["20","3c","37","1e1","1de","1d9","1d6","1d7","1d8","1da","1dd"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=e("37"),u=e("1e1"),c=e("1de"),l=e("1d9"),p=e("1d6"),f=e("1d7"),d=e("1d8"),h=e("1da"),m=e("1dd"),v="isChanged",y="changes",g=function(){function e(e,t,n,r){this.changeDetectionUtilVarName=t,this.abstractChangeDetectorVarName=n,this.changeDetectorStateVarName=r;var i=m.createPropertyRecords(e),o=m.createEventRecords(e),s=e.bindingRecords.map(function(e){return e.target});this.id=e.id,this.changeDetectionStrategy=e.strategy,this.genConfig=e.genConfig,this.records=i,this.propertyBindingTargets=s,this.eventBindings=o,this.directiveRecords=e.directiveRecords,this._names=new p.CodegenNameUtil(this.records,this.eventBindings,this.directiveRecords,this.changeDetectionUtilVarName),this._logic=new f.CodegenLogicUtil(this._names,this.changeDetectionUtilVarName,this.changeDetectorStateVarName,this.changeDetectionStrategy),this.typeName=p.sanitizeName("ChangeDetector_"+this.id)}return e.prototype.generate=function(){var e="\n "+this.generateSource()+"\n return function(dispatcher) {\n return new "+this.typeName+"(dispatcher);\n }\n ";return new Function(this.abstractChangeDetectorVarName,this.changeDetectionUtilVarName,this.changeDetectorStateVarName,e)(u.AbstractChangeDetector,c.ChangeDetectionUtil,h.ChangeDetectorState)},e.prototype.generateSource=function(){return"\n var "+this.typeName+" = function "+this.typeName+"(dispatcher) {\n "+this.abstractChangeDetectorVarName+".call(\n this, "+JSON.stringify(this.id)+", dispatcher, "+this.records.length+",\n "+this.typeName+".gen_propertyBindingTargets, "+this.typeName+".gen_directiveIndices,\n "+d.codify(this.changeDetectionStrategy)+");\n this.dehydrateDirectives(false);\n }\n\n "+this.typeName+".prototype = Object.create("+this.abstractChangeDetectorVarName+".prototype);\n\n "+this.typeName+".prototype.detectChangesInRecordsInternal = function(throwOnChange) {\n "+this._names.genInitLocals()+"\n var "+v+" = false;\n var "+y+" = null;\n\n "+this._genAllRecords(this.records)+"\n }\n\n "+this._maybeGenHandleEventInternal()+"\n\n "+this._maybeGenAfterContentLifecycleCallbacks()+"\n\n "+this._maybeGenAfterViewLifecycleCallbacks()+"\n\n "+this._maybeGenHydrateDirectives()+"\n\n "+this._maybeGenDehydrateDirectives()+"\n\n "+this._genPropertyBindingTargets()+"\n\n "+this._genDirectiveIndices()+"\n "},e.prototype._genPropertyBindingTargets=function(){var e=this._logic.genPropertyBindingTargets(this.propertyBindingTargets,this.genConfig.genDebugInfo);return this.typeName+".gen_propertyBindingTargets = "+e+";"},e.prototype._genDirectiveIndices=function(){var e=this._logic.genDirectiveIndices(this.directiveRecords);return this.typeName+".gen_directiveIndices = "+e+";"},e.prototype._maybeGenHandleEventInternal=function(){var e=this;if(this.eventBindings.length>0){var t=this.eventBindings.map(function(t){return e._genEventBinding(t)}).join("\n");return"\n "+this.typeName+".prototype.handleEventInternal = function(eventName, elIndex, locals) {\n var "+this._names.getPreventDefaultAccesor()+" = false;\n "+this._names.genInitEventLocals()+"\n "+t+"\n return "+this._names.getPreventDefaultAccesor()+";\n }\n "}return""},e.prototype._genEventBinding=function(e){var t=this,n=[];return this._endOfBlockIdxs=[],a.ListWrapper.forEachWithIndex(e.records,function(r,i){var o;o=r.isConditionalSkipRecord()?t._genConditionalSkip(r,t._names.getEventLocalName(e,i)):r.isUnconditionalSkipRecord()?t._genUnconditionalSkip(r):t._genEventBindingEval(e,r),o+=t._genEndOfSkipBlock(i),n.push(o)}),'\n if (eventName === "'+e.eventName+'" && elIndex === '+e.elIndex+") {\n "+n.join("\n")+"\n }"},e.prototype._genEventBindingEval=function(e,t){if(t.lastInBinding){var n=this._logic.genEventBindingEvalValue(e,t),r=this._genMarkPathToRootAsCheckOnce(t),i=this._genUpdatePreventDefault(e,t);return n+"\n"+r+"\n"+i}return this._logic.genEventBindingEvalValue(e,t)},e.prototype._genMarkPathToRootAsCheckOnce=function(e){var t=e.bindingRecord;return t.isDefaultChangeDetection()?"":this._names.getDetectorName(t.directiveRecord.directiveIndex)+".markPathToRootAsCheckOnce();"},e.prototype._genUpdatePreventDefault=function(e,t){var n=this._names.getEventLocalName(e,t.selfIndex);return"if ("+n+" === false) { "+this._names.getPreventDefaultAccesor()+" = true};"},e.prototype._maybeGenDehydrateDirectives=function(){var e=this._names.genPipeOnDestroy();e&&(e="if (destroyPipes) { "+e+" }");var t=this._names.genDehydrateFields();return e||t?this.typeName+".prototype.dehydrateDirectives = function(destroyPipes) {\n "+e+"\n "+t+"\n }":""},e.prototype._maybeGenHydrateDirectives=function(){var e=this._logic.genHydrateDirectives(this.directiveRecords),t=this._logic.genHydrateDetectors(this.directiveRecords);return e||t?this.typeName+".prototype.hydrateDirectives = function(directives) {\n "+e+"\n "+t+"\n }":""},e.prototype._maybeGenAfterContentLifecycleCallbacks=function(){var e=this._logic.genContentLifecycleCallbacks(this.directiveRecords);if(e.length>0){var t=e.join("\n");return"\n "+this.typeName+".prototype.afterContentLifecycleCallbacksInternal = function() {\n "+t+"\n }\n "}return""},e.prototype._maybeGenAfterViewLifecycleCallbacks=function(){var e=this._logic.genViewLifecycleCallbacks(this.directiveRecords);if(e.length>0){var t=e.join("\n");return"\n "+this.typeName+".prototype.afterViewLifecycleCallbacksInternal = function() {\n "+t+"\n }\n "}return""},e.prototype._genAllRecords=function(e){var t=[];this._endOfBlockIdxs=[];for(var n=0;n<e.length;n++){var r=void 0,i=e[n];r=i.isLifeCycleRecord()?this._genDirectiveLifecycle(i):i.isPipeRecord()?this._genPipeCheck(i):i.isConditionalSkipRecord()?this._genConditionalSkip(i,this._names.getLocalName(i.contextIndex)):i.isUnconditionalSkipRecord()?this._genUnconditionalSkip(i):this._genReferenceCheck(i),r="\n "+this._maybeFirstInBinding(i)+"\n "+r+"\n "+this._maybeGenLastInDirective(i)+"\n "+this._genEndOfSkipBlock(n)+"\n ",t.push(r)}return t.join("\n")},e.prototype._genConditionalSkip=function(e,t){var n=e.mode===l.RecordType.SkipRecordsIf?"!":"";return this._endOfBlockIdxs.push(e.fixedArgs[0]-1),"if ("+n+t+") {"},e.prototype._genUnconditionalSkip=function(e){return this._endOfBlockIdxs.pop(),this._endOfBlockIdxs.push(e.fixedArgs[0]-1),"} else {"},e.prototype._genEndOfSkipBlock=function(e){if(!a.ListWrapper.isEmpty(this._endOfBlockIdxs)){var t=a.ListWrapper.last(this._endOfBlockIdxs);if(e===t)return this._endOfBlockIdxs.pop(),"}"}return""},e.prototype._genDirectiveLifecycle=function(e){if("DoCheck"===e.name)return this._genOnCheck(e);if("OnInit"===e.name)return this._genOnInit(e);if("OnChanges"===e.name)return this._genOnChange(e);throw new s.BaseException("Unknown lifecycle event '"+e.name+"'")},e.prototype._genPipeCheck=function(e){var t=this,n=this._names.getLocalName(e.contextIndex),r=e.args.map(function(e){return t._names.getLocalName(e)}).join(", "),i=this._names.getFieldName(e.selfIndex),o=this._names.getLocalName(e.selfIndex),s=this._names.getPipeName(e.selfIndex),a=e.name,u="\n if ("+s+" === "+this.changeDetectionUtilVarName+".uninitialized) {\n "+s+" = "+this._names.getPipesAccessorName()+".get('"+a+"');\n }\n ",c=o+" = "+s+".pipe.transform("+n+", ["+r+"]);",l=e.args.map(function(e){return t._names.getChangeName(e)});l.push(this._names.getChangeName(e.contextIndex));var p="!"+s+".pure || ("+l.join(" || ")+")",f="\n if ("+this.changeDetectionUtilVarName+".looseNotIdentical("+i+", "+o+")) {\n "+o+" = "+this.changeDetectionUtilVarName+".unwrapValue("+o+")\n "+this._genChangeMarker(e)+"\n "+this._genUpdateDirectiveOrElement(e)+"\n "+this._genAddToChanges(e)+"\n "+i+" = "+o+";\n }\n ",d=e.shouldBeChecked()?""+c+f:c;return e.isUsedByOtherRecord()?u+" if ("+p+") { "+d+" } else { "+o+" = "+i+"; }":u+" if ("+p+") { "+d+" }"},e.prototype._genReferenceCheck=function(e){var t=this,n=this._names.getFieldName(e.selfIndex),r=this._names.getLocalName(e.selfIndex),i="\n "+this._logic.genPropertyBindingEvalValue(e)+"\n ",o="\n if ("+this.changeDetectionUtilVarName+".looseNotIdentical("+n+", "+r+")) {\n "+this._genChangeMarker(e)+"\n "+this._genUpdateDirectiveOrElement(e)+"\n "+this._genAddToChanges(e)+"\n "+n+" = "+r+";\n }\n ",s=e.shouldBeChecked()?""+i+o:i;if(e.isPureFunction()){var a=e.args.map(function(e){return t._names.getChangeName(e)}).join(" || ");return e.isUsedByOtherRecord()?"if ("+a+") { "+s+" } else { "+r+" = "+n+"; }":"if ("+a+") { "+s+" }"}return s},e.prototype._genChangeMarker=function(e){return e.argumentToPureFunction?this._names.getChangeName(e.selfIndex)+" = true":""},e.prototype._genUpdateDirectiveOrElement=function(e){if(!e.lastInBinding)return"";var t=this._names.getLocalName(e.selfIndex),n=this._names.getFieldName(e.selfIndex),r=this.genConfig.logBindingUpdate?"this.logBindingUpdate("+t+");":"",i=e.bindingRecord;if(i.target.isDirective()){var o=this._names.getDirectiveName(i.directiveRecord.directiveIndex)+"."+i.target.name;return"\n "+this._genThrowOnChangeCheck(n,t)+"\n "+o+" = "+t+";\n "+r+"\n "+v+" = true;\n "}return"\n "+this._genThrowOnChangeCheck(n,t)+"\n this.notifyDispatcher("+t+");\n "+r+"\n "},e.prototype._genThrowOnChangeCheck=function(e,t){return o.assertionsEnabled()?"\n if(throwOnChange) {\n this.throwOnChangeError("+e+", "+t+");\n }\n ":""},e.prototype._genAddToChanges=function(e){var t=this._names.getLocalName(e.selfIndex),n=this._names.getFieldName(e.selfIndex);return e.bindingRecord.callOnChanges()?y+" = this.addChange("+y+", "+n+", "+t+");":""},e.prototype._maybeFirstInBinding=function(e){var t=c.ChangeDetectionUtil.protoByIndex(this.records,e.selfIndex-1),n=o.isBlank(t)||t.bindingRecord!==e.bindingRecord;return n&&!e.bindingRecord.isDirectiveLifecycle()?this._names.getPropertyBindingIndex()+" = "+e.propertyBindingIndex+";":""},e.prototype._maybeGenLastInDirective=function(e){return e.lastInDirective?"\n "+y+" = null;\n "+this._genNotifyOnPushDetectors(e)+"\n "+v+" = false;\n ":""},e.prototype._genOnCheck=function(e){var t=e.bindingRecord;return"if (!throwOnChange) "+this._names.getDirectiveName(t.directiveRecord.directiveIndex)+".ngDoCheck();"},e.prototype._genOnInit=function(e){var t=e.bindingRecord;return"if (!throwOnChange && "+this._names.getStateName()+" === "+this.changeDetectorStateVarName+".NeverChecked) "+this._names.getDirectiveName(t.directiveRecord.directiveIndex)+".ngOnInit();"},e.prototype._genOnChange=function(e){var t=e.bindingRecord;return"if (!throwOnChange && "+y+") "+this._names.getDirectiveName(t.directiveRecord.directiveIndex)+".ngOnChanges("+y+");"},e.prototype._genNotifyOnPushDetectors=function(e){var t=e.bindingRecord;if(!e.lastInDirective||t.isDefaultChangeDetection())return"";var n="\n if("+v+") {\n "+this._names.getDetectorName(t.directiveRecord.directiveIndex)+".markAsCheckOnce();\n }\n ";return n},e}();return t.ChangeDetectorJITGenerator=g,r.define=i,n.exports}),e.registerDynamic("1e2",["85"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("85"),s=function(){function e(e){this.definition=e,this._factory=this._createFactory(e)}return e.isSupported=function(){return!0},e.prototype.instantiate=function(e){return this._factory(e)},e.prototype._createFactory=function(e){return new o.ChangeDetectorJITGenerator(e,"util","AbstractChangeDetector","ChangeDetectorStatus").generate()},e}();return t.JitProtoChangeDetector=s,r.define=i,n.exports}),e.registerDynamic("1e3",["3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("3c"),a=function(e){function t(t,n,r,i){e.call(this,"Expression '"+t+"' has changed after it was checked. "+("Previous value: '"+n+"'. Current value: '"+r+"'"))}return o(t,e),t}(s.BaseException);t.ExpressionChangedAfterItHasBeenCheckedException=a;var u=function(e){function t(t,n,r,i){e.call(this,n+" in ["+t+"]",n,r,i),this.location=t}return o(t,e),t}(s.WrappedException);t.ChangeDetectionError=u;var c=function(e){function t(){e.call(this,"Attempt to detect changes on a dehydrated detector.")}return o(t,e),t}(s.BaseException);return t.DehydratedException=c,r.define=i,n.exports}),e.registerDynamic("1e4",["20"],!0,function(e,t,n){"use strict";function r(){var e=f.global.wtf;return e&&(l=e.trace)?(p=l.events,!0):!1}function i(e,t){return void 0===t&&(t=null),p.createScope(e,t)}function o(e,t){return l.leaveScope(e,t),t}function s(e,t){return l.beginTimeRange(e,t)}function a(e){l.endTimeRange(e)}var u=this,c=u.define;u.define=void 0;var l,p,f=e("20");return t.detectWTF=r,t.createScope=i,t.leave=o,t.startTimeRange=s,t.endTimeRange=a,u.define=c,n.exports}),e.registerDynamic("4c",["1e4"],!0,function(e,t,n){"use strict";function r(e,t){return null}var i=this,o=i.define;i.define=void 0;var s=e("1e4");return t.wtfEnabled=s.detectWTF(),t.wtfCreateScope=t.wtfEnabled?s.createScope:function(e,t){return r},t.wtfLeave=t.wtfEnabled?s.leave:function(e,t){return t},t.wtfStartTimeRange=t.wtfEnabled?s.startTimeRange:function(e,t){return null},t.wtfEndTimeRange=t.wtfEnabled?s.endTimeRange:function(e){return null},i.define=o,n.exports}),e.registerDynamic("1e5",[],!0,function(e,t,n){"use strict";function r(e){return!1}var i=this,o=i.define;return i.define=void 0,t.isObservable=r,i.define=o,n.exports}),e.registerDynamic("1e1",["20","37","1de","1e6","1e3","1da","4c","1e5"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("37"),a=e("1de"),u=e("1e6"),c=e("1e3"),l=e("1da"),p=e("4c"),f=e("1e5"),d=p.wtfCreateScope("ChangeDetector#check(ascii id, bool throwOnChange)"),h=function(){function e(e,t,n,r,i,o){this.element=e,this.componentElement=t,this.context=n,this.locals=r,this.injector=i,this.expression=o}return e}(),m=function(){function e(e,t,n,r,i,o){this.id=e,this.dispatcher=t,this.numberOfPropertyProtoRecords=n,this.bindingTargets=r,this.directiveIndices=i,this.strategy=o,this.contentChildren=[],this.viewChildren=[],this.state=l.ChangeDetectorState.NeverChecked,this.locals=null,this.mode=null,this.pipes=null,this.ref=new u.ChangeDetectorRef_(this)}return e.prototype.addContentChild=function(e){this.contentChildren.push(e),e.parent=this},e.prototype.removeContentChild=function(e){s.ListWrapper.remove(this.contentChildren,e)},e.prototype.addViewChild=function(e){this.viewChildren.push(e),e.parent=this},e.prototype.removeViewChild=function(e){s.ListWrapper.remove(this.viewChildren,e)},e.prototype.remove=function(){this.parent.removeContentChild(this)},e.prototype.handleEvent=function(e,t,n){var r=this.handleEventInternal(e,t,n);return this.markPathToRootAsCheckOnce(),r},e.prototype.handleEventInternal=function(e,t,n){return!1},e.prototype.detectChanges=function(){this.runDetectChanges(!1)},e.prototype.checkNoChanges=function(){o.assertionsEnabled()&&this.runDetectChanges(!0)},e.prototype.runDetectChanges=function(e){if(this.mode!==l.ChangeDetectionStrategy.Detached&&this.mode!==l.ChangeDetectionStrategy.Checked&&this.state!==l.ChangeDetectorState.Errored){var t=d(this.id,e);this.detectChangesInRecords(e),this._detectChangesContentChildren(e),e||this.afterContentLifecycleCallbacks(),this._detectChangesInViewChildren(e),e||this.afterViewLifecycleCallbacks(),this.mode===l.ChangeDetectionStrategy.CheckOnce&&(this.mode=l.ChangeDetectionStrategy.Checked),this.state=l.ChangeDetectorState.CheckedBefore,p.wtfLeave(t)}},e.prototype.detectChangesInRecords=function(e){this.hydrated()||this.throwDehydratedError();try{this.detectChangesInRecordsInternal(e)}catch(t){t instanceof c.ExpressionChangedAfterItHasBeenCheckedException||(this.state=l.ChangeDetectorState.Errored),this._throwError(t,t.stack)}},e.prototype.detectChangesInRecordsInternal=function(e){},e.prototype.hydrate=function(e,t,n,r){this.mode=a.ChangeDetectionUtil.changeDetectionMode(this.strategy),this.context=e,this.strategy===l.ChangeDetectionStrategy.OnPushObserve&&this.observeComponent(e),this.locals=t,this.pipes=r,this.hydrateDirectives(n),this.state=l.ChangeDetectorState.NeverChecked},e.prototype.hydrateDirectives=function(e){},e.prototype.dehydrate=function(){this.dehydrateDirectives(!0),this.strategy===l.ChangeDetectionStrategy.OnPushObserve&&this._unsubsribeFromObservables(),this.context=null,this.locals=null,this.pipes=null},e.prototype.dehydrateDirectives=function(e){},e.prototype.hydrated=function(){return o.isPresent(this.context)},e.prototype.afterContentLifecycleCallbacks=function(){this.dispatcher.notifyAfterContentChecked(),this.afterContentLifecycleCallbacksInternal()},e.prototype.afterContentLifecycleCallbacksInternal=function(){},e.prototype.afterViewLifecycleCallbacks=function(){this.dispatcher.notifyAfterViewChecked(),this.afterViewLifecycleCallbacksInternal()},e.prototype.afterViewLifecycleCallbacksInternal=function(){},e.prototype._detectChangesContentChildren=function(e){for(var t=this.contentChildren,n=0;n<t.length;++n)t[n].runDetectChanges(e)},e.prototype._detectChangesInViewChildren=function(e){for(var t=this.viewChildren,n=0;n<t.length;++n)t[n].runDetectChanges(e)},e.prototype.markAsCheckOnce=function(){this.mode=l.ChangeDetectionStrategy.CheckOnce},e.prototype.markPathToRootAsCheckOnce=function(){for(var e=this;o.isPresent(e)&&e.mode!==l.ChangeDetectionStrategy.Detached;)e.mode===l.ChangeDetectionStrategy.Checked&&(e.mode=l.ChangeDetectionStrategy.CheckOnce),e=e.parent},e.prototype._unsubsribeFromObservables=function(){if(o.isPresent(this.subscriptions))for(var e=0;e<this.subscriptions.length;++e){var t=this.subscriptions[e];o.isPresent(this.subscriptions[e])&&(t.cancel(),this.subscriptions[e]=null)}},e.prototype.observeValue=function(e,t){var n=this;return f.isObservable(e)&&(this._createArrayToStoreObservables(),o.isBlank(this.subscriptions[t])?(this.streams[t]=e.changes,this.subscriptions[t]=e.changes.listen(function(e){return n.ref.markForCheck()})):this.streams[t]!==e.changes&&(this.subscriptions[t].cancel(),this.streams[t]=e.changes,this.subscriptions[t]=e.changes.listen(function(e){return n.ref.markForCheck()}))),e},e.prototype.observeDirective=function(e,t){var n=this;if(f.isObservable(e)){this._createArrayToStoreObservables();var r=this.numberOfPropertyProtoRecords+t+2;this.streams[r]=e.changes,this.subscriptions[r]=e.changes.listen(function(e){return n.ref.markForCheck()})}return e},e.prototype.observeComponent=function(e){var t=this;if(f.isObservable(e)){this._createArrayToStoreObservables();var n=this.numberOfPropertyProtoRecords+1;this.streams[n]=e.changes,this.subscriptions[n]=e.changes.listen(function(e){return t.ref.markForCheck()})}return e},e.prototype._createArrayToStoreObservables=function(){o.isBlank(this.subscriptions)&&(this.subscriptions=s.ListWrapper.createFixedSize(this.numberOfPropertyProtoRecords+this.directiveIndices.length+2),this.streams=s.ListWrapper.createFixedSize(this.numberOfPropertyProtoRecords+this.directiveIndices.length+2))},e.prototype.getDirectiveFor=function(e,t){return e.getDirectiveFor(this.directiveIndices[t])},e.prototype.getDetectorFor=function(e,t){return e.getDetectorFor(this.directiveIndices[t])},e.prototype.notifyDispatcher=function(e){this.dispatcher.notifyOnBinding(this._currentBinding(),e)},e.prototype.logBindingUpdate=function(e){this.dispatcher.logBindingUpdate(this._currentBinding(),e)},e.prototype.addChange=function(e,t,n){return o.isBlank(e)&&(e={}),e[this._currentBinding().name]=a.ChangeDetectionUtil.simpleChange(t,n),e},e.prototype._throwError=function(e,t){var n;try{var r=this.dispatcher.getDebugContext(this._currentBinding().elementIndex,null),i=o.isPresent(r)?new h(r.element,r.componentElement,r.context,r.locals,r.injector,this._currentBinding().debug):null;n=new c.ChangeDetectionError(this._currentBinding().debug,e,t,i)}catch(s){n=new c.ChangeDetectionError(null,e,t,null)}throw n},e.prototype.throwOnChangeError=function(e,t){throw new c.ExpressionChangedAfterItHasBeenCheckedException(this._currentBinding().debug,e,t,null)},e.prototype.throwDehydratedError=function(){throw new c.DehydratedException},e.prototype._currentBinding=function(){return this.bindingTargets[this.propertyBindingIndex]},e}();return t.AbstractChangeDetector=m,r.define=i,n.exports}),e.registerDynamic("1d9",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0,function(e){e[e.Self=0]="Self",e[e.Const=1]="Const",e[e.PrimitiveOp=2]="PrimitiveOp",e[e.PropertyRead=3]="PropertyRead",e[e.PropertyWrite=4]="PropertyWrite",e[e.Local=5]="Local",e[e.InvokeMethod=6]="InvokeMethod",e[e.InvokeClosure=7]="InvokeClosure",e[e.KeyedRead=8]="KeyedRead",e[e.KeyedWrite=9]="KeyedWrite",e[e.Pipe=10]="Pipe",e[e.Interpolate=11]="Interpolate",e[e.SafeProperty=12]="SafeProperty",e[e.CollectionLiteral=13]="CollectionLiteral",e[e.SafeMethodInvoke=14]="SafeMethodInvoke",e[e.DirectiveLifecycle=15]="DirectiveLifecycle",e[e.Chain=16]="Chain",e[e.SkipRecordsIf=17]="SkipRecordsIf",e[e.SkipRecordsIfNot=18]="SkipRecordsIfNot",e[e.SkipRecords=19]="SkipRecords"}(t.RecordType||(t.RecordType={}));var o=t.RecordType,s=function(){function e(e,t,n,r,i,o,s,a,u,c,l,p,f,d){this.mode=e,this.name=t,this.funcOrValue=n,this.args=r,this.fixedArgs=i,this.contextIndex=o,this.directiveIndex=s,this.selfIndex=a,this.bindingRecord=u,this.lastInBinding=c,this.lastInDirective=l,this.argumentToPureFunction=p,this.referencedBySelf=f,this.propertyBindingIndex=d}return e.prototype.isPureFunction=function(){return this.mode===o.Interpolate||this.mode===o.CollectionLiteral},e.prototype.isUsedByOtherRecord=function(){return!this.lastInBinding||this.referencedBySelf},e.prototype.shouldBeChecked=function(){return this.argumentToPureFunction||this.lastInBinding||this.isPureFunction()||this.isPipeRecord()},e.prototype.isPipeRecord=function(){return this.mode===o.Pipe},e.prototype.isConditionalSkipRecord=function(){return this.mode===o.SkipRecordsIfNot||this.mode===o.SkipRecordsIf},e.prototype.isUnconditionalSkipRecord=function(){return this.mode===o.SkipRecords},e.prototype.isSkipRecord=function(){return this.isConditionalSkipRecord()||this.isUnconditionalSkipRecord()},e.prototype.isLifeCycleRecord=function(){return this.mode===o.DirectiveLifecycle},e}();return t.ProtoRecord=s,r.define=i,n.exports}),e.registerDynamic("1df",["20","3c","37","1e1","1de","1da","1d9"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("20"),a=e("3c"),u=e("37"),c=e("1e1"),l=e("1de"),p=e("1da"),f=e("1d9"),d=function(e){function t(t,n,r,i,o,s,a,c,l,p){e.call(this,t,n,r,i,o,s),this._records=a,this._eventBindings=c,this._directiveRecords=l,this._genConfig=p,this.directives=null;var f=a.length+1;this.values=u.ListWrapper.createFixedSize(f),this.localPipes=u.ListWrapper.createFixedSize(f),this.prevContexts=u.ListWrapper.createFixedSize(f),this.changes=u.ListWrapper.createFixedSize(f),this.dehydrateDirectives(!1)}return o(t,e),t.prototype.handleEventInternal=function(e,t,n){var r=this,i=!1;return this._matchingEventBindings(e,t).forEach(function(e){var t=r._processEventBinding(e,n);t===!1&&(i=!0)}),i},t.prototype._processEventBinding=function(e,t){var n=u.ListWrapper.createFixedSize(e.records.length);n[0]=this.values[0];for(var r=0;r<e.records.length;++r){var i=e.records[r];if(i.isSkipRecord())r+=this._computeSkipLength(r,i,n);else{var o=this._calculateCurrValue(i,n,t);if(i.lastInBinding)return this._markPathAsCheckOnce(i),o;this._writeSelf(i,o,n)}}throw new a.BaseException("Cannot be reached")},t.prototype._computeSkipLength=function(e,t,n){if(t.mode===f.RecordType.SkipRecords)return t.fixedArgs[0]-e-1;if(t.mode===f.RecordType.SkipRecordsIf){var r=this._readContext(t,n);return r?t.fixedArgs[0]-e-1:0}if(t.mode===f.RecordType.SkipRecordsIfNot){var r=this._readContext(t,n);return r?0:t.fixedArgs[0]-e-1}throw new a.BaseException("Cannot be reached")},t.prototype._markPathAsCheckOnce=function(e){if(!e.bindingRecord.isDefaultChangeDetection()){var t=e.bindingRecord.directiveRecord;this._getDetectorFor(t.directiveIndex).markPathToRootAsCheckOnce()}},t.prototype._matchingEventBindings=function(e,t){return this._eventBindings.filter(function(n){return n.eventName==e&&n.elIndex===t})},t.prototype.hydrateDirectives=function(t){if(this.values[0]=this.context,this.directives=t,this.strategy===p.ChangeDetectionStrategy.OnPushObserve)for(var n=0;n<this.directiveIndices.length;++n){var r=this.directiveIndices[n];e.prototype.observeDirective.call(this,t.getDirectiveFor(r),n)}},t.prototype.dehydrateDirectives=function(e){e&&this._destroyPipes(),this.values[0]=null,this.directives=null,u.ListWrapper.fill(this.values,l.ChangeDetectionUtil.uninitialized,1),u.ListWrapper.fill(this.changes,!1),u.ListWrapper.fill(this.localPipes,null),u.ListWrapper.fill(this.prevContexts,l.ChangeDetectionUtil.uninitialized)},t.prototype._destroyPipes=function(){for(var e=0;e<this.localPipes.length;++e)s.isPresent(this.localPipes[e])&&l.ChangeDetectionUtil.callPipeOnDestroy(this.localPipes[e])},t.prototype.checkNoChanges=function(){this.runDetectChanges(!0)},t.prototype.detectChangesInRecordsInternal=function(e){for(var t=this._records,n=null,r=!1,i=0;i<t.length;++i){var o=t[i],a=o.bindingRecord,u=a.directiveRecord;if(this._firstInBinding(o)&&(this.propertyBindingIndex=o.propertyBindingIndex),o.isLifeCycleRecord())"DoCheck"!==o.name||e?"OnInit"!==o.name||e||this.state!=p.ChangeDetectorState.NeverChecked?"OnChanges"===o.name&&s.isPresent(n)&&!e&&this._getDirectiveFor(u.directiveIndex).ngOnChanges(n):this._getDirectiveFor(u.directiveIndex).ngOnInit():this._getDirectiveFor(u.directiveIndex).ngDoCheck();else if(o.isSkipRecord())i+=this._computeSkipLength(i,o,this.values);else{var c=this._check(o,e,this.values,this.locals);s.isPresent(c)&&(this._updateDirectiveOrElement(c,a),r=!0,n=this._addChange(a,c,n))}o.lastInDirective&&(n=null,r&&!a.isDefaultChangeDetection()&&this._getDetectorFor(u.directiveIndex).markAsCheckOnce(),r=!1)}},t.prototype._firstInBinding=function(e){var t=l.ChangeDetectionUtil.protoByIndex(this._records,e.selfIndex-1);return s.isBlank(t)||t.bindingRecord!==e.bindingRecord},t.prototype.afterContentLifecycleCallbacksInternal=function(){for(var e=this._directiveRecords,t=e.length-1;t>=0;--t){var n=e[t];n.callAfterContentInit&&this.state==p.ChangeDetectorState.NeverChecked&&this._getDirectiveFor(n.directiveIndex).ngAfterContentInit(),n.callAfterContentChecked&&this._getDirectiveFor(n.directiveIndex).ngAfterContentChecked()}},t.prototype.afterViewLifecycleCallbacksInternal=function(){for(var e=this._directiveRecords,t=e.length-1;t>=0;--t){var n=e[t];n.callAfterViewInit&&this.state==p.ChangeDetectorState.NeverChecked&&this._getDirectiveFor(n.directiveIndex).ngAfterViewInit(),n.callAfterViewChecked&&this._getDirectiveFor(n.directiveIndex).ngAfterViewChecked()}},t.prototype._updateDirectiveOrElement=function(t,n){if(s.isBlank(n.directiveRecord))e.prototype.notifyDispatcher.call(this,t.currentValue);else{var r=n.directiveRecord.directiveIndex;n.setter(this._getDirectiveFor(r),t.currentValue)}this._genConfig.logBindingUpdate&&e.prototype.logBindingUpdate.call(this,t.currentValue)},t.prototype._addChange=function(t,n,r){return t.callOnChanges()?e.prototype.addChange.call(this,r,n.previousValue,n.currentValue):r},t.prototype._getDirectiveFor=function(e){return this.directives.getDirectiveFor(e)},t.prototype._getDetectorFor=function(e){return this.directives.getDetectorFor(e)},t.prototype._check=function(e,t,n,r){return e.isPipeRecord()?this._pipeCheck(e,t,n):this._referenceCheck(e,t,n,r)},t.prototype._referenceCheck=function(t,n,r,i){if(this._pureFuncAndArgsDidNotChange(t))return this._setChanged(t,!1),null;var o=this._calculateCurrValue(t,r,i);if(this.strategy===p.ChangeDetectionStrategy.OnPushObserve&&e.prototype.observeValue.call(this,o,t.selfIndex),t.shouldBeChecked()){var s=this._readSelf(t,r);if(l.ChangeDetectionUtil.looseNotIdentical(s,o)){if(t.lastInBinding){var a=l.ChangeDetectionUtil.simpleChange(s,o);return n&&this.throwOnChangeError(s,o),this._writeSelf(t,o,r),this._setChanged(t,!0),a}return this._writeSelf(t,o,r),this._setChanged(t,!0),null}return this._setChanged(t,!1),null}return this._writeSelf(t,o,r),this._setChanged(t,!0),null},t.prototype._calculateCurrValue=function(e,t,n){switch(e.mode){case f.RecordType.Self:return this._readContext(e,t);case f.RecordType.Const:return e.funcOrValue;case f.RecordType.PropertyRead:var r=this._readContext(e,t);return e.funcOrValue(r);case f.RecordType.SafeProperty:var r=this._readContext(e,t);return s.isBlank(r)?null:e.funcOrValue(r);case f.RecordType.PropertyWrite:var r=this._readContext(e,t),i=this._readArgs(e,t)[0];return e.funcOrValue(r,i),i;case f.RecordType.KeyedWrite:var r=this._readContext(e,t),o=this._readArgs(e,t)[0],i=this._readArgs(e,t)[1];return r[o]=i,i;case f.RecordType.Local:return n.get(e.name);case f.RecordType.InvokeMethod:var r=this._readContext(e,t),u=this._readArgs(e,t);return e.funcOrValue(r,u);case f.RecordType.SafeMethodInvoke:var r=this._readContext(e,t);if(s.isBlank(r))return null;var u=this._readArgs(e,t);return e.funcOrValue(r,u);case f.RecordType.KeyedRead:var c=this._readArgs(e,t)[0];return this._readContext(e,t)[c];case f.RecordType.Chain:var u=this._readArgs(e,t);return u[u.length-1];case f.RecordType.InvokeClosure:return s.FunctionWrapper.apply(this._readContext(e,t),this._readArgs(e,t));case f.RecordType.Interpolate:case f.RecordType.PrimitiveOp:case f.RecordType.CollectionLiteral:return s.FunctionWrapper.apply(e.funcOrValue,this._readArgs(e,t));default:throw new a.BaseException("Unknown operation "+e.mode)}},t.prototype._pipeCheck=function(e,t,n){var r=this._readContext(e,n),i=this._pipeFor(e,r);if(!i.pure||this._argsOrContextChanged(e)){var o=this._readArgs(e,n),s=i.pipe.transform(r,o);if(e.shouldBeChecked()){var a=this._readSelf(e,n);if(l.ChangeDetectionUtil.looseNotIdentical(a,s)){if(s=l.ChangeDetectionUtil.unwrapValue(s),e.lastInBinding){var u=l.ChangeDetectionUtil.simpleChange(a,s);return t&&this.throwOnChangeError(a,s),this._writeSelf(e,s,n),this._setChanged(e,!0),u}return this._writeSelf(e,s,n),this._setChanged(e,!0),
|
||
null}return this._setChanged(e,!1),null}return this._writeSelf(e,s,n),this._setChanged(e,!0),null}},t.prototype._pipeFor=function(e,t){var n=this._readPipe(e);if(s.isPresent(n))return n;var r=this.pipes.get(e.name);return this._writePipe(e,r),r},t.prototype._readContext=function(e,t){return-1==e.contextIndex?this._getDirectiveFor(e.directiveIndex):t[e.contextIndex]},t.prototype._readSelf=function(e,t){return t[e.selfIndex]},t.prototype._writeSelf=function(e,t,n){n[e.selfIndex]=t},t.prototype._readPipe=function(e){return this.localPipes[e.selfIndex]},t.prototype._writePipe=function(e,t){this.localPipes[e.selfIndex]=t},t.prototype._setChanged=function(e,t){e.argumentToPureFunction&&(this.changes[e.selfIndex]=t)},t.prototype._pureFuncAndArgsDidNotChange=function(e){return e.isPureFunction()&&!this._argsChanged(e)},t.prototype._argsChanged=function(e){for(var t=e.args,n=0;n<t.length;++n)if(this.changes[t[n]])return!0;return!1},t.prototype._argsOrContextChanged=function(e){return this._argsChanged(e)||this.changes[e.contextIndex]},t.prototype._readArgs=function(e,t){for(var n=u.ListWrapper.createFixedSize(e.args.length),r=e.args,i=0;i<r.length;++i)n[i]=t[r[i]];return n},t}(c.AbstractChangeDetector);return t.DynamicChangeDetector=d,r.define=i,n.exports}),e.registerDynamic("1e6",["1da"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=e("1da"),a=function(){function e(){}return e}();t.ChangeDetectorRef=a;var u=function(e){function t(t){e.call(this),this._cd=t}return o(t,e),t.prototype.markForCheck=function(){this._cd.markPathToRootAsCheckOnce()},t.prototype.detach=function(){this._cd.mode=s.ChangeDetectionStrategy.Detached},t.prototype.detectChanges=function(){this._cd.detectChanges()},t.prototype.checkNoChanges=function(){this._cd.checkNoChanges()},t.prototype.reattach=function(){this._cd.mode=s.ChangeDetectionStrategy.CheckAlways,this.markForCheck()},t}(a);return t.ChangeDetectorRef_=u,r.define=i,n.exports}),e.registerDynamic("1e7",[],!0,function(e,t,n){"use strict";function r(e){return e.constructor.prototype.ngOnDestroy}var i=this,o=i.define;return i.define=void 0,t.implementsOnDestroy=r,i.define=o,n.exports}),e.registerDynamic("1e8",["20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s="directiveLifecycle",a="native",u="directive",c="elementProperty",l="elementAttribute",p="elementClass",f="elementStyle",d="textNode",h="event",m="hostEvent",v=function(){function e(e,t,n,r,i){this.mode=e,this.elementIndex=t,this.name=n,this.unit=r,this.debug=i}return e.prototype.isDirective=function(){return this.mode===u},e.prototype.isElementProperty=function(){return this.mode===c},e.prototype.isElementAttribute=function(){return this.mode===l},e.prototype.isElementClass=function(){return this.mode===p},e.prototype.isElementStyle=function(){return this.mode===f},e.prototype.isTextNode=function(){return this.mode===d},e}();t.BindingTarget=v;var y=function(){function e(e,t,n,r,i,o,s){this.mode=e,this.target=t,this.implicitReceiver=n,this.ast=r,this.setter=i,this.lifecycleEvent=o,this.directiveRecord=s}return e.prototype.isDirectiveLifecycle=function(){return this.mode===s},e.prototype.callOnChanges=function(){return o.isPresent(this.directiveRecord)&&this.directiveRecord.callOnChanges},e.prototype.isDefaultChangeDetection=function(){return o.isBlank(this.directiveRecord)||this.directiveRecord.isDefaultChangeDetection()},e.createDirectiveDoCheck=function(t){return new e(s,null,0,null,null,"DoCheck",t)},e.createDirectiveOnInit=function(t){return new e(s,null,0,null,null,"OnInit",t)},e.createDirectiveOnChanges=function(t){return new e(s,null,0,null,null,"OnChanges",t)},e.createForDirective=function(t,n,r,i){var o=i.directiveIndex.elementIndex,s=new v(u,o,n,null,t.toString());return new e(u,s,0,t,r,null,i)},e.createForElementProperty=function(t,n,r){var i=new v(c,n,r,null,t.toString());return new e(a,i,0,t,null,null,null)},e.createForElementAttribute=function(t,n,r){var i=new v(l,n,r,null,t.toString());return new e(a,i,0,t,null,null,null)},e.createForElementClass=function(t,n,r){var i=new v(p,n,r,null,t.toString());return new e(a,i,0,t,null,null,null)},e.createForElementStyle=function(t,n,r,i){var o=new v(f,n,r,i,t.toString());return new e(a,o,0,t,null,null,null)},e.createForHostProperty=function(t,n,r){var i=new v(c,t.elementIndex,r,null,n.toString());return new e(a,i,t,n,null,null,null)},e.createForHostAttribute=function(t,n,r){var i=new v(l,t.elementIndex,r,null,n.toString());return new e(a,i,t,n,null,null,null)},e.createForHostClass=function(t,n,r){var i=new v(p,t.elementIndex,r,null,n.toString());return new e(a,i,t,n,null,null,null)},e.createForHostStyle=function(t,n,r,i){var o=new v(f,t.elementIndex,r,i,n.toString());return new e(a,o,t,n,null,null,null)},e.createForTextNode=function(t,n){var r=new v(d,n,null,null,t.toString());return new e(a,r,0,t,null,null,null)},e.createForEvent=function(t,n,r){var i=new v(h,r,n,null,t.toString());return new e(h,i,0,t,null,null,null)},e.createForHostEvent=function(t,n,r){var i=r.directiveIndex,o=new v(m,i.elementIndex,n,null,t.toString());return new e(m,o,i,t,null,null,r)},e}();return t.BindingRecord=y,r.define=i,n.exports}),e.registerDynamic("1da",["20"],!0,function(e,t,n){"use strict";function r(e){return s.isBlank(e)||e===u.Default}var i=this,o=i.define;i.define=void 0;var s=e("20");!function(e){e[e.NeverChecked=0]="NeverChecked",e[e.CheckedBefore=1]="CheckedBefore",e[e.Errored=2]="Errored"}(t.ChangeDetectorState||(t.ChangeDetectorState={}));var a=t.ChangeDetectorState;!function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.OnPush=4]="OnPush",e[e.Default=5]="Default",e[e.OnPushObserve=6]="OnPushObserve"}(t.ChangeDetectionStrategy||(t.ChangeDetectionStrategy={}));var u=t.ChangeDetectionStrategy;return t.CHANGE_DETECTION_STRATEGY_VALUES=[u.CheckOnce,u.Checked,u.CheckAlways,u.Detached,u.OnPush,u.Default,u.OnPushObserve],t.CHANGE_DETECTOR_STATE_VALUES=[a.NeverChecked,a.CheckedBefore,a.Errored],t.isDefaultChangeDetectionStrategy=r,i.define=o,n.exports}),e.registerDynamic("1e0",["20","1da"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("1da"),a=function(){function e(e,t){this.elementIndex=e,this.directiveIndex=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this.elementIndex+"_"+this.directiveIndex},enumerable:!0,configurable:!0}),e}();t.DirectiveIndex=a;var u=function(){function e(e){var t=void 0===e?{}:e,n=t.directiveIndex,r=t.callAfterContentInit,i=t.callAfterContentChecked,s=t.callAfterViewInit,a=t.callAfterViewChecked,u=t.callOnChanges,c=t.callDoCheck,l=t.callOnInit,p=t.changeDetection;this.directiveIndex=n,this.callAfterContentInit=o.normalizeBool(r),this.callAfterContentChecked=o.normalizeBool(i),this.callOnChanges=o.normalizeBool(u),this.callAfterViewInit=o.normalizeBool(s),this.callAfterViewChecked=o.normalizeBool(a),this.callDoCheck=o.normalizeBool(c),this.callOnInit=o.normalizeBool(l),this.changeDetection=p}return e.prototype.isDefaultChangeDetection=function(){return s.isDefaultChangeDetectionStrategy(this.changeDetection)},e}();return t.DirectiveRecord=u,r.define=i,n.exports}),e.registerDynamic("1de",["20","3c","37","1da","1e7","1e8","1e0"],!0,function(e,t,n){"use strict";function r(e,t){var n=y++%20,r=g[n];return r.previousValue=e,r.currentValue=t,r}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=e("3c"),u=e("37"),c=e("1da"),l=e("1e7"),p=e("1e8"),f=e("1e0"),d=function(){function e(e){this.wrapped=e}return e.wrap=function(e){var t=h[m++%5];return t.wrapped=e,t},e}();t.WrappedValue=d;var h=[new d(null),new d(null),new d(null),new d(null),new d(null)],m=0,v=function(){function e(e,t){this.previousValue=e,this.currentValue=t}return e.prototype.isFirstChange=function(){return this.previousValue===b.uninitialized},e}();t.SimpleChange=v;var y=0,g=[new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null),new v(null,null)],b=function(){function e(){}return e.arrayFn0=function(){return[]},e.arrayFn1=function(e){return[e]},e.arrayFn2=function(e,t){return[e,t]},e.arrayFn3=function(e,t,n){return[e,t,n]},e.arrayFn4=function(e,t,n,r){return[e,t,n,r]},e.arrayFn5=function(e,t,n,r,i){return[e,t,n,r,i]},e.arrayFn6=function(e,t,n,r,i,o){return[e,t,n,r,i,o]},e.arrayFn7=function(e,t,n,r,i,o,s){return[e,t,n,r,i,o,s]},e.arrayFn8=function(e,t,n,r,i,o,s,a){return[e,t,n,r,i,o,s,a]},e.arrayFn9=function(e,t,n,r,i,o,s,a,u){return[e,t,n,r,i,o,s,a,u]},e.operation_negate=function(e){return!e},e.operation_add=function(e,t){return e+t},e.operation_subtract=function(e,t){return e-t},e.operation_multiply=function(e,t){return e*t},e.operation_divide=function(e,t){return e/t},e.operation_remainder=function(e,t){return e%t},e.operation_equals=function(e,t){return e==t},e.operation_not_equals=function(e,t){return e!=t},e.operation_identical=function(e,t){return e===t},e.operation_not_identical=function(e,t){return e!==t},e.operation_less_then=function(e,t){return t>e},e.operation_greater_then=function(e,t){return e>t},e.operation_less_or_equals_then=function(e,t){return t>=e},e.operation_greater_or_equals_then=function(e,t){return e>=t},e.cond=function(e,t,n){return e?t:n},e.mapFn=function(e){function t(t){for(var n=u.StringMapWrapper.create(),r=0;r<e.length;++r)u.StringMapWrapper.set(n,e[r],t[r]);return n}switch(e.length){case 0:return function(){return[]};case 1:return function(e){return t([e])};case 2:return function(e,n){return t([e,n])};case 3:return function(e,n,r){return t([e,n,r])};case 4:return function(e,n,r,i){return t([e,n,r,i])};case 5:return function(e,n,r,i,o){return t([e,n,r,i,o])};case 6:return function(e,n,r,i,o,s){return t([e,n,r,i,o,s])};case 7:return function(e,n,r,i,o,s,a){return t([e,n,r,i,o,s,a])};case 8:return function(e,n,r,i,o,s,a,u){return t([e,n,r,i,o,s,a,u])};case 9:return function(e,n,r,i,o,s,a,u,c){return t([e,n,r,i,o,s,a,u,c])};default:throw new a.BaseException("Does not support literal maps with more than 9 elements")}},e.keyedAccess=function(e,t){return e[t[0]]},e.unwrapValue=function(e){return e instanceof d?e.wrapped:e},e.changeDetectionMode=function(e){return c.isDefaultChangeDetectionStrategy(e)?c.ChangeDetectionStrategy.CheckAlways:c.ChangeDetectionStrategy.CheckOnce},e.simpleChange=function(e,t){return r(e,t)},e.isValueBlank=function(e){return s.isBlank(e)},e.s=function(e){return s.isPresent(e)?""+e:""},e.protoByIndex=function(e,t){return 1>t?null:e[t-1]},e.callPipeOnDestroy=function(e){l.implementsOnDestroy(e.pipe)&&e.pipe.ngOnDestroy()},e.bindingTarget=function(e,t,n,r,i){return new p.BindingTarget(e,t,n,r,i)},e.directiveIndex=function(e,t){return new f.DirectiveIndex(e,t)},e.looseNotIdentical=function(e,t){return!s.looseIdentical(e,t)},e.uninitialized=s.CONST_EXPR(new Object),e}();return t.ChangeDetectionUtil=b,i.define=o,n.exports}),e.registerDynamic("6e",["1cd","1ce","1cf","1d0","20","1d4","1d1","1d3","1d5","1e3","1b3","1da","1dd","1e2","1e8","1e0","1df","1e6","1de"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("1cd"),s=e("1ce"),a=e("1cf"),u=e("1d0"),c=e("20"),l=e("1d4");t.ASTWithSource=l.ASTWithSource,t.AST=l.AST,t.AstTransformer=l.AstTransformer,t.PropertyRead=l.PropertyRead,t.LiteralArray=l.LiteralArray,t.ImplicitReceiver=l.ImplicitReceiver;var p=e("1d1");t.Lexer=p.Lexer;var f=e("1d3");t.Parser=f.Parser;var d=e("1d5");t.Locals=d.Locals;var h=e("1e3");t.DehydratedException=h.DehydratedException,t.ExpressionChangedAfterItHasBeenCheckedException=h.ExpressionChangedAfterItHasBeenCheckedException,t.ChangeDetectionError=h.ChangeDetectionError;var m=e("1b3");t.ChangeDetectorDefinition=m.ChangeDetectorDefinition,t.DebugContext=m.DebugContext,t.ChangeDetectorGenConfig=m.ChangeDetectorGenConfig;var v=e("1da");t.ChangeDetectionStrategy=v.ChangeDetectionStrategy,t.CHANGE_DETECTION_STRATEGY_VALUES=v.CHANGE_DETECTION_STRATEGY_VALUES;var y=e("1dd");t.DynamicProtoChangeDetector=y.DynamicProtoChangeDetector;var g=e("1e2");t.JitProtoChangeDetector=g.JitProtoChangeDetector;var b=e("1e8");t.BindingRecord=b.BindingRecord,t.BindingTarget=b.BindingTarget;var _=e("1e0");t.DirectiveIndex=_.DirectiveIndex,t.DirectiveRecord=_.DirectiveRecord;var E=e("1df");t.DynamicChangeDetector=E.DynamicChangeDetector;var D=e("1e6");t.ChangeDetectorRef=D.ChangeDetectorRef;var w=e("1cd");t.IterableDiffers=w.IterableDiffers;var C=e("1cf");t.KeyValueDiffers=C.KeyValueDiffers;var x=e("1de");return t.WrappedValue=x.WrappedValue,t.SimpleChange=x.SimpleChange,t.keyValDiff=c.CONST_EXPR([c.CONST_EXPR(new u.DefaultKeyValueDifferFactory)]),t.iterableDiff=c.CONST_EXPR([c.CONST_EXPR(new s.DefaultIterableDifferFactory)]),t.defaultIterableDiffers=c.CONST_EXPR(new o.IterableDiffers(t.iterableDiff)),t.defaultKeyValueDiffers=c.CONST_EXPR(new a.KeyValueDiffers(t.keyValDiff)),r.define=i,n.exports}),e.registerDynamic("1e9",["6e"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("6e");return t.ChangeDetectionStrategy=o.ChangeDetectionStrategy,t.ExpressionChangedAfterItHasBeenCheckedException=o.ExpressionChangedAfterItHasBeenCheckedException,t.ChangeDetectionError=o.ChangeDetectionError,t.ChangeDetectorRef=o.ChangeDetectorRef,t.WrappedValue=o.WrappedValue,t.SimpleChange=o.SimpleChange,t.IterableDiffers=o.IterableDiffers,t.KeyValueDiffers=o.KeyValueDiffers,r.define=i,n.exports}),e.registerDynamic("7d",["20","1cc","1e9"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("20"),c=e("1cc"),l=e("1e9"),p=function(e){function t(t){var n=void 0===t?{}:t,r=n.selector,i=n.inputs,o=n.outputs,s=n.properties,a=n.events,u=n.host,c=n.bindings,l=n.providers,p=n.exportAs,f=n.queries;e.call(this),this.selector=r,this._inputs=i,this._properties=s,this._outputs=o,this._events=a,this.host=u,this.exportAs=p,this.queries=f,this._providers=l,this._bindings=c}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return u.isPresent(this._properties)&&this._properties.length>0?this._properties:this._inputs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.inputs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return u.isPresent(this._events)&&this._events.length>0?this._events:this._outputs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){return this.outputs},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providers",{get:function(){return u.isPresent(this._bindings)&&this._bindings.length>0?this._bindings:this._providers},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bindings",{get:function(){return this.providers},enumerable:!0,configurable:!0}),t=s([u.CONST(),a("design:paramtypes",[Object])],t)}(c.InjectableMetadata);t.DirectiveMetadata=p;var f=function(e){function t(t){var n=void 0===t?{}:t,r=n.selector,i=n.inputs,o=n.outputs,s=n.properties,a=n.events,u=n.host,c=n.exportAs,p=n.moduleId,f=n.bindings,d=n.providers,h=n.viewBindings,m=n.viewProviders,v=n.changeDetection,y=void 0===v?l.ChangeDetectionStrategy.Default:v,g=n.queries,b=n.templateUrl,_=n.template,E=n.styleUrls,D=n.styles,w=n.directives,C=n.pipes,x=n.encapsulation;e.call(this,{selector:r,inputs:i,outputs:o,properties:s,events:a,host:u,exportAs:c,bindings:f,providers:d,queries:g}),this.changeDetection=y,this._viewProviders=m,this._viewBindings=h,this.templateUrl=b,this.template=_,this.styleUrls=E,this.styles=D,this.directives=w,this.pipes=C,this.encapsulation=x,this.moduleId=p}return o(t,e),Object.defineProperty(t.prototype,"viewProviders",{get:function(){return u.isPresent(this._viewBindings)&&this._viewBindings.length>0?this._viewBindings:this._viewProviders},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewBindings",{get:function(){return this.viewProviders},enumerable:!0,configurable:!0}),t=s([u.CONST(),a("design:paramtypes",[Object])],t)}(p);t.ComponentMetadata=f;var d=function(e){function t(t){var n=t.name,r=t.pure;e.call(this),this.name=n,this._pure=r}return o(t,e),Object.defineProperty(t.prototype,"pure",{get:function(){return u.isPresent(this._pure)?this._pure:!0},enumerable:!0,configurable:!0}),t=s([u.CONST(),a("design:paramtypes",[Object])],t)}(c.InjectableMetadata);t.PipeMetadata=d;var h=function(){function e(e){this.bindingPropertyName=e}return e=s([u.CONST(),a("design:paramtypes",[String])],e)}();t.InputMetadata=h;var m=function(){function e(e){this.bindingPropertyName=e}return e=s([u.CONST(),a("design:paramtypes",[String])],e)}();t.OutputMetadata=m;var v=function(){function e(e){this.hostPropertyName=e}return e=s([u.CONST(),a("design:paramtypes",[String])],e)}();t.HostBindingMetadata=v;var y=function(){function e(e,t){this.eventName=e,this.args=t}return e=s([u.CONST(),a("design:paramtypes",[String,Array])],e)}();return t.HostListenerMetadata=y,r.define=i,n.exports}),e.registerDynamic("7b",["20","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},i=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},o=e("20");!function(e){e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None"}(t.ViewEncapsulation||(t.ViewEncapsulation={}));var s=t.ViewEncapsulation;t.VIEW_ENCAPSULATION_VALUES=[s.Emulated,s.Native,s.None];var a=function(){function e(e){var t=void 0===e?{}:e,n=t.templateUrl,r=t.template,i=t.directives,o=t.pipes,s=t.encapsulation,a=t.styles,u=t.styleUrls;this.templateUrl=n,this.template=r,this.styleUrls=u,this.styles=a,this.directives=i,this.pipes=o,this.encapsulation=s}return e=r([o.CONST(),i("design:paramtypes",[Object])],e)}();t.ViewMetadata=a}(e("34")),r.define=i,n.exports}),e.registerDynamic("50",["1ca","7d","7b","19c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("1ca");t.QueryMetadata=o.QueryMetadata,t.ContentChildrenMetadata=o.ContentChildrenMetadata,t.ContentChildMetadata=o.ContentChildMetadata,t.ViewChildrenMetadata=o.ViewChildrenMetadata,t.ViewQueryMetadata=o.ViewQueryMetadata,t.ViewChildMetadata=o.ViewChildMetadata,t.AttributeMetadata=o.AttributeMetadata;var s=e("7d");t.ComponentMetadata=s.ComponentMetadata,t.DirectiveMetadata=s.DirectiveMetadata,t.PipeMetadata=s.PipeMetadata,t.InputMetadata=s.InputMetadata,t.OutputMetadata=s.OutputMetadata,t.HostBindingMetadata=s.HostBindingMetadata,t.HostListenerMetadata=s.HostListenerMetadata;var a=e("7b");t.ViewMetadata=a.ViewMetadata,t.ViewEncapsulation=a.ViewEncapsulation;var u=e("1ca"),c=e("7d"),l=e("7b"),p=e("19c");return t.Component=p.makeDecorator(c.ComponentMetadata,function(e){return e.View=t.View}),t.Directive=p.makeDecorator(c.DirectiveMetadata),t.View=p.makeDecorator(l.ViewMetadata,function(e){return e.View=t.View}),t.Attribute=p.makeParamDecorator(u.AttributeMetadata),t.Query=p.makeParamDecorator(u.QueryMetadata),t.ContentChildren=p.makePropDecorator(u.ContentChildrenMetadata),t.ContentChild=p.makePropDecorator(u.ContentChildMetadata),t.ViewChildren=p.makePropDecorator(u.ViewChildrenMetadata),t.ViewChild=p.makePropDecorator(u.ViewChildMetadata),t.ViewQuery=p.makeParamDecorator(u.ViewQueryMetadata),t.Pipe=p.makeDecorator(c.PipeMetadata),t.Input=p.makePropDecorator(c.InputMetadata),t.Output=p.makePropDecorator(c.OutputMetadata),t.HostBinding=p.makePropDecorator(c.HostBindingMetadata),t.HostListener=p.makePropDecorator(c.HostListenerMetadata),r.define=i,n.exports}),e.registerDynamic("64",["20","3c","56","50"],!0,function(e,t,n){"use strict";function r(e,t,n){void 0===n&&(n=null);for(var r=0;r<t.length;r++)t[r].visit(e,n)}var i=this,o=i.define;i.define=void 0;var s=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},a=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},u=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},c=e("20"),l=e("3c"),p=e("56"),f=(e("50"),e("50"));t.ViewEncapsulation=f.ViewEncapsulation;var d=function(){function e(e){this.template=e}return e=a([c.CONST(),u("design:paramtypes",[h])],e)}();t.CompiledHostTemplate=d;var h=function(){function e(e,t,n,r){this.id=e,this.changeDetectorFactory=t,this.commands=n,this.styles=r}return e=a([c.CONST(),u("design:paramtypes",[String,Function,Array,Array])],e)}();t.CompiledComponentTemplate=h;var m=c.CONST_EXPR([]),v=function(){function e(e,t,n){this.value=e,this.isBound=t,this.ngContentIndex=n}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e=a([c.CONST(),u("design:paramtypes",[String,Boolean,Number])],e)}();t.TextCmd=v;var y=function(){function e(e,t){this.index=e,this.ngContentIndex=t,this.isBound=!1}return e.prototype.visit=function(e,t){return e.visitNgContent(this,t)},e=a([c.CONST(),u("design:paramtypes",[Number,Number])],e)}();t.NgContentCmd=y;var g=function(e){function t(){e.apply(this,arguments)}return s(t,e),Object.defineProperty(t.prototype,"variableNameAndValues",{get:function(){return l.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eventTargetAndNames",{get:function(){return l.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"directives",{get:function(){return l.unimplemented()},enumerable:!0,configurable:!0}),t}(p.RenderBeginElementCmd);t.IBeginElementCmd=g;var b=function(){function e(e,t,n,r,i,o,s){this.name=e,this.attrNameAndValues=t,this.eventTargetAndNames=n,this.variableNameAndValues=r,this.directives=i,this.isBound=o,this.ngContentIndex=s}return e.prototype.visit=function(e,t){return e.visitBeginElement(this,t)},e=a([c.CONST(),u("design:paramtypes",[String,Array,Array,Array,Array,Boolean,Number])],e)}();t.BeginElementCmd=b;var _=function(){function e(){}return e.prototype.visit=function(e,t){return e.visitEndElement(t)},e=a([c.CONST(),u("design:paramtypes",[])],e)}();t.EndElementCmd=_;var E=function(){function e(e,t,n,r,i,o,s,a){this.name=e,this.attrNameAndValues=t,this.eventTargetAndNames=n,this.variableNameAndValues=r,this.directives=i,this.encapsulation=o,this.ngContentIndex=s,this.templateGetter=a,this.isBound=!0}return Object.defineProperty(e.prototype,"templateId",{get:function(){return this.templateGetter().id},enumerable:!0,configurable:!0}),e.prototype.visit=function(e,t){return e.visitBeginComponent(this,t)},e=a([c.CONST(),u("design:paramtypes",[String,Array,Array,Array,Array,Number,Number,Function])],e)}();t.BeginComponentCmd=E;var D=function(){function e(){}return e.prototype.visit=function(e,t){return e.visitEndComponent(t)},e=a([c.CONST(),u("design:paramtypes",[])],e)}();t.EndComponentCmd=D;var w=function(){function e(e,t,n,r,i,o,s){this.attrNameAndValues=e,this.variableNameAndValues=t,this.directives=n,this.isMerged=r,this.ngContentIndex=i,this.changeDetectorFactory=o,this.children=s,this.isBound=!0,this.name=null,this.eventTargetAndNames=m}return e.prototype.visit=function(e,t){return e.visitEmbeddedTemplate(this,t)},e=a([c.CONST(),u("design:paramtypes",[Array,Array,Array,Boolean,Number,Function,Array])],e)}();return t.EmbeddedTemplateCmd=w,t.visitAllCommands=r,i.define=o,n.exports}),e.registerDynamic("19c",["20"],!0,function(e,t,n){"use strict";function r(e){return p.isFunction(e)&&e.hasOwnProperty("annotation")&&(e=e.annotation),e}function i(e,t){if(e===Object||e===String||e===Function||e===Number||e===Array)throw new Error("Can not use native "+p.stringify(e)+" as constructor");if(p.isFunction(e))return e;if(e instanceof Array){var n=e,i=e[e.length-1];if(!p.isFunction(i))throw new Error("Last position of Class method array must be Function in key "+t+" was '"+p.stringify(i)+"'");var o=n.length-1;if(o!=i.length)throw new Error("Number of annotations ("+o+") does not match number of arguments ("+i.length+") in the function: "+p.stringify(i));for(var s=[],a=0,u=n.length-1;u>a;a++){var c=[];s.push(c);var l=n[a];if(l instanceof Array)for(var d=0;d<l.length;d++)c.push(r(l[d]));else p.isFunction(l)?c.push(r(l)):c.push(l)}return f.defineMetadata("parameters",s,i),i}throw new Error("Only Function or Array is supported in Class definition for key '"+t+"' is '"+p.stringify(e)+"'")}function o(e){var t=i(e.hasOwnProperty("constructor")?e.constructor:void 0,"constructor"),n=t.prototype;if(e.hasOwnProperty("extends")){if(!p.isFunction(e["extends"]))throw new Error("Class definition 'extends' property must be a constructor function was: "+p.stringify(e["extends"]));t.prototype=n=Object.create(e["extends"].prototype)}for(var r in e)"extends"!=r&&"prototype"!=r&&e.hasOwnProperty(r)&&(n[r]=i(e[r],r));return this&&this.annotations instanceof Array&&f.defineMetadata("annotations",this.annotations,t),t}function s(e,t){function n(n){var r=new e(n);if(this instanceof e)return r;var i=p.isFunction(this)&&this.annotations instanceof Array?this.annotations:[];i.push(r);var s=function(e){var t=f.getOwnMetadata("annotations",e);return t=t||[],t.push(r),f.defineMetadata("annotations",t,e),e};return s.annotations=i,s.Class=o,t&&t(s),s}return void 0===t&&(t=null),n.prototype=Object.create(e.prototype),n}function a(e){function t(){function t(e,t,n){var r=f.getMetadata("parameters",e);for(r=r||[];r.length<=n;)r.push(null);r[n]=r[n]||[];var o=r[n];return o.push(i),f.defineMetadata("parameters",r,e),e}for(var n=[],r=0;r<arguments.length;r++)n[r-0]=arguments[r];var i=Object.create(e.prototype);return e.apply(i,n),this instanceof e?i:(t.annotation=i,t)}return t.prototype=Object.create(e.prototype),t}function u(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var r=Object.create(e.prototype);return e.apply(r,t),this instanceof e?r:function(e,t){var n=f.getOwnMetadata("propMetadata",e.constructor);n=n||{},n[t]=n[t]||[],n[t].unshift(r),f.defineMetadata("propMetadata",n,e.constructor)}}return t.prototype=Object.create(e.prototype),t}var c=this,l=c.define;c.define=void 0;var p=e("20");t.Class=o;var f=p.global.Reflect;if(!f||!f.getMetadata)throw"reflect-metadata shim is required when using class decorators";return t.makeDecorator=s,t.makeParamDecorator=a,t.makePropDecorator=u,c.define=l,n.exports}),e.registerDynamic("1d2",["1cc","19c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("1cc"),s=e("19c");return t.Inject=s.makeParamDecorator(o.InjectMetadata),t.Optional=s.makeParamDecorator(o.OptionalMetadata),t.Injectable=s.makeDecorator(o.InjectableMetadata),t.Self=s.makeParamDecorator(o.SelfMetadata),t.Host=s.makeParamDecorator(o.HostMetadata),t.SkipSelf=s.makeParamDecorator(o.SkipSelfMetadata),r.define=i,n.exports}),e.registerDynamic("1ea",[],!0,function(e,t,n){function r(){f=!1,c.length?p=c.concat(p):d=-1,p.length&&i()}function i(){if(!f){var e=setTimeout(r);f=!0;for(var t=p.length;t;){for(c=p,p=[];++d<t;)c&&c[d].run();d=-1,t=p.length}c=null,f=!1,clearTimeout(e)}}function o(e,t){this.fun=e,this.array=t}function s(){}var a=this,u=a.define;a.define=void 0;var c,l=n.exports={},p=[],f=!1,d=-1;return l.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new o(e,t)),1!==p.length||f||setTimeout(i,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=s,l.addListener=s,l.once=s,l.off=s,l.removeListener=s,l.removeAllListeners=s,l.emit=s,l.binding=function(e){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(e){throw new Error("process.chdir is not supported")},l.umask=function(){return 0},a.define=u,n.exports}),e.registerDynamic("1eb",["1ea"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("1ea"),r.define=i,n.exports}),e.registerDynamic("1ec",["1eb"],!0,function(t,n,r){var i=this,o=i.define;return i.define=void 0,r.exports=e._nodeRequire?process:t("1eb"),i.define=o,r.exports}),e.registerDynamic("34",["1ec"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("1ec"),r.define=i,n.exports}),e.registerDynamic("1c9",["37","1c8","1ed","20","1ee","1cc","34"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,function(n){"use strict";function r(e,t){return e===t||t===f.PublicAndPrivate||e===f.PublicAndPrivate}function i(e,t){for(var n=[],r=0;r<e._proto.numberOfProviders;++r)n.push(t(e._proto.getProviderAtIndex(r)));return n}var o=e("37"),s=e("1c8"),a=e("1ed"),u=e("20"),c=e("1ee"),l=e("1cc"),p=10;t.UNDEFINED=u.CONST_EXPR(new Object),function(e){e[e.Public=0]="Public",e[e.Private=1]="Private",e[e.PublicAndPrivate=2]="PublicAndPrivate"}(t.Visibility||(t.Visibility={}));var f=t.Visibility,d=function(){function e(e,t){this.provider0=null,this.provider1=null,this.provider2=null,this.provider3=null,this.provider4=null,this.provider5=null,this.provider6=null,this.provider7=null,this.provider8=null,this.provider9=null,this.keyId0=null,this.keyId1=null,this.keyId2=null,this.keyId3=null,this.keyId4=null,this.keyId5=null,this.keyId6=null,this.keyId7=null,this.keyId8=null,this.keyId9=null,this.visibility0=null,this.visibility1=null,this.visibility2=null,this.visibility3=null,this.visibility4=null,this.visibility5=null,this.visibility6=null,this.visibility7=null,this.visibility8=null,this.visibility9=null;var n=t.length;n>0&&(this.provider0=t[0].provider,this.keyId0=t[0].getKeyId(),this.visibility0=t[0].visibility),n>1&&(this.provider1=t[1].provider,this.keyId1=t[1].getKeyId(),this.visibility1=t[1].visibility),n>2&&(this.provider2=t[2].provider,this.keyId2=t[2].getKeyId(),this.visibility2=t[2].visibility),n>3&&(this.provider3=t[3].provider,this.keyId3=t[3].getKeyId(),this.visibility3=t[3].visibility),n>4&&(this.provider4=t[4].provider,this.keyId4=t[4].getKeyId(),this.visibility4=t[4].visibility),n>5&&(this.provider5=t[5].provider,this.keyId5=t[5].getKeyId(),this.visibility5=t[5].visibility),n>6&&(this.provider6=t[6].provider,this.keyId6=t[6].getKeyId(),this.visibility6=t[6].visibility),n>7&&(this.provider7=t[7].provider,this.keyId7=t[7].getKeyId(),this.visibility7=t[7].visibility),n>8&&(this.provider8=t[8].provider,
|
||
this.keyId8=t[8].getKeyId(),this.visibility8=t[8].visibility),n>9&&(this.provider9=t[9].provider,this.keyId9=t[9].getKeyId(),this.visibility9=t[9].visibility)}return e.prototype.getProviderAtIndex=function(e){if(0==e)return this.provider0;if(1==e)return this.provider1;if(2==e)return this.provider2;if(3==e)return this.provider3;if(4==e)return this.provider4;if(5==e)return this.provider5;if(6==e)return this.provider6;if(7==e)return this.provider7;if(8==e)return this.provider8;if(9==e)return this.provider9;throw new a.OutOfBoundsError(e)},e.prototype.createInjectorStrategy=function(e){return new v(e,this)},e}();t.ProtoInjectorInlineStrategy=d;var h=function(){function e(e,t){var n=t.length;this.providers=o.ListWrapper.createFixedSize(n),this.keyIds=o.ListWrapper.createFixedSize(n),this.visibilities=o.ListWrapper.createFixedSize(n);for(var r=0;n>r;r++)this.providers[r]=t[r].provider,this.keyIds[r]=t[r].getKeyId(),this.visibilities[r]=t[r].visibility}return e.prototype.getProviderAtIndex=function(e){if(0>e||e>=this.providers.length)throw new a.OutOfBoundsError(e);return this.providers[e]},e.prototype.createInjectorStrategy=function(e){return new y(this,e)},e}();t.ProtoInjectorDynamicStrategy=h;var m=function(){function e(e){this.numberOfProviders=e.length,this._strategy=e.length>p?new h(this,e):new d(this,e)}return e.prototype.getProviderAtIndex=function(e){return this._strategy.getProviderAtIndex(e)},e}();t.ProtoInjector=m;var v=function(){function e(e,n){this.injector=e,this.protoStrategy=n,this.obj0=t.UNDEFINED,this.obj1=t.UNDEFINED,this.obj2=t.UNDEFINED,this.obj3=t.UNDEFINED,this.obj4=t.UNDEFINED,this.obj5=t.UNDEFINED,this.obj6=t.UNDEFINED,this.obj7=t.UNDEFINED,this.obj8=t.UNDEFINED,this.obj9=t.UNDEFINED}return e.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},e.prototype.instantiateProvider=function(e,t){return this.injector._new(e,t)},e.prototype.attach=function(e,t){var n=this.injector;n._parent=e,n._isHost=t},e.prototype.getObjByKeyId=function(e,n){var i=this.protoStrategy,o=this.injector;return i.keyId0===e&&r(i.visibility0,n)?(this.obj0===t.UNDEFINED&&(this.obj0=o._new(i.provider0,i.visibility0)),this.obj0):i.keyId1===e&&r(i.visibility1,n)?(this.obj1===t.UNDEFINED&&(this.obj1=o._new(i.provider1,i.visibility1)),this.obj1):i.keyId2===e&&r(i.visibility2,n)?(this.obj2===t.UNDEFINED&&(this.obj2=o._new(i.provider2,i.visibility2)),this.obj2):i.keyId3===e&&r(i.visibility3,n)?(this.obj3===t.UNDEFINED&&(this.obj3=o._new(i.provider3,i.visibility3)),this.obj3):i.keyId4===e&&r(i.visibility4,n)?(this.obj4===t.UNDEFINED&&(this.obj4=o._new(i.provider4,i.visibility4)),this.obj4):i.keyId5===e&&r(i.visibility5,n)?(this.obj5===t.UNDEFINED&&(this.obj5=o._new(i.provider5,i.visibility5)),this.obj5):i.keyId6===e&&r(i.visibility6,n)?(this.obj6===t.UNDEFINED&&(this.obj6=o._new(i.provider6,i.visibility6)),this.obj6):i.keyId7===e&&r(i.visibility7,n)?(this.obj7===t.UNDEFINED&&(this.obj7=o._new(i.provider7,i.visibility7)),this.obj7):i.keyId8===e&&r(i.visibility8,n)?(this.obj8===t.UNDEFINED&&(this.obj8=o._new(i.provider8,i.visibility8)),this.obj8):i.keyId9===e&&r(i.visibility9,n)?(this.obj9===t.UNDEFINED&&(this.obj9=o._new(i.provider9,i.visibility9)),this.obj9):t.UNDEFINED},e.prototype.getObjAtIndex=function(e){if(0==e)return this.obj0;if(1==e)return this.obj1;if(2==e)return this.obj2;if(3==e)return this.obj3;if(4==e)return this.obj4;if(5==e)return this.obj5;if(6==e)return this.obj6;if(7==e)return this.obj7;if(8==e)return this.obj8;if(9==e)return this.obj9;throw new a.OutOfBoundsError(e)},e.prototype.getMaxNumberOfObjects=function(){return p},e}();t.InjectorInlineStrategy=v;var y=function(){function e(e,n){this.protoStrategy=e,this.injector=n,this.objs=o.ListWrapper.createFixedSize(e.providers.length),o.ListWrapper.fill(this.objs,t.UNDEFINED)}return e.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},e.prototype.instantiateProvider=function(e,t){return this.injector._new(e,t)},e.prototype.attach=function(e,t){var n=this.injector;n._parent=e,n._isHost=t},e.prototype.getObjByKeyId=function(e,n){for(var i=this.protoStrategy,o=0;o<i.keyIds.length;o++)if(i.keyIds[o]===e&&r(i.visibilities[o],n))return this.objs[o]===t.UNDEFINED&&(this.objs[o]=this.injector._new(i.providers[o],i.visibilities[o])),this.objs[o];return t.UNDEFINED},e.prototype.getObjAtIndex=function(e){if(0>e||e>=this.objs.length)throw new a.OutOfBoundsError(e);return this.objs[e]},e.prototype.getMaxNumberOfObjects=function(){return this.objs.length},e}();t.InjectorDynamicStrategy=y;var g=function(){function e(e,t){this.provider=e,this.visibility=t}return e.prototype.getKeyId=function(){return this.provider.key.id},e}();t.ProviderWithVisibility=g;var b=function(){function e(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),this._depProvider=n,this._debugContext=r,this._isHost=!1,this._constructionCounter=0,this._proto=e,this._parent=t,this._strategy=e._strategy.createInjectorStrategy(this)}return e.resolve=function(e){return s.resolveProviders(e)},e.resolveAndCreate=function(t){var n=e.resolve(t);return e.fromResolvedProviders(n)},e.fromResolvedProviders=function(t){var n=t.map(function(e){return new g(e,f.Public)}),r=new m(n);return new e(r,null,null)},e.fromResolvedBindings=function(t){return e.fromResolvedProviders(t)},e.prototype.debugContext=function(){return this._debugContext()},e.prototype.get=function(e){return this._getByKey(c.Key.get(e),null,null,!1,f.PublicAndPrivate)},e.prototype.getOptional=function(e){return this._getByKey(c.Key.get(e),null,null,!0,f.PublicAndPrivate)},e.prototype.getAt=function(e){return this._strategy.getObjAtIndex(e)},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"internalStrategy",{get:function(){return this._strategy},enumerable:!0,configurable:!0}),e.prototype.resolveAndCreateChild=function(t){var n=e.resolve(t);return this.createChildFromResolved(n)},e.prototype.createChildFromResolved=function(t){var n=t.map(function(e){return new g(e,f.Public)}),r=new m(n),i=new e(r,null,null);return i._parent=this,i},e.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(e.resolve([t])[0])},e.prototype.instantiateResolved=function(e){return this._instantiateProvider(e,f.PublicAndPrivate)},e.prototype._new=function(e,t){if(this._constructionCounter++>this._strategy.getMaxNumberOfObjects())throw new a.CyclicDependencyError(this,e.key);return this._instantiateProvider(e,t)},e.prototype._instantiateProvider=function(e,t){if(e.multiProvider){for(var n=o.ListWrapper.createFixedSize(e.resolvedFactories.length),r=0;r<e.resolvedFactories.length;++r)n[r]=this._instantiate(e,e.resolvedFactories[r],t);return n}return this._instantiate(e,e.resolvedFactories[0],t)},e.prototype._instantiate=function(e,t,n){var r,i,o,s,u,c,l,p,f,d,h,m,v,y,g,b,_,E,D,w,C=t.factory,x=t.dependencies,A=x.length;try{r=A>0?this._getByDependency(e,x[0],n):null,i=A>1?this._getByDependency(e,x[1],n):null,o=A>2?this._getByDependency(e,x[2],n):null,s=A>3?this._getByDependency(e,x[3],n):null,u=A>4?this._getByDependency(e,x[4],n):null,c=A>5?this._getByDependency(e,x[5],n):null,l=A>6?this._getByDependency(e,x[6],n):null,p=A>7?this._getByDependency(e,x[7],n):null,f=A>8?this._getByDependency(e,x[8],n):null,d=A>9?this._getByDependency(e,x[9],n):null,h=A>10?this._getByDependency(e,x[10],n):null,m=A>11?this._getByDependency(e,x[11],n):null,v=A>12?this._getByDependency(e,x[12],n):null,y=A>13?this._getByDependency(e,x[13],n):null,g=A>14?this._getByDependency(e,x[14],n):null,b=A>15?this._getByDependency(e,x[15],n):null,_=A>16?this._getByDependency(e,x[16],n):null,E=A>17?this._getByDependency(e,x[17],n):null,D=A>18?this._getByDependency(e,x[18],n):null,w=A>19?this._getByDependency(e,x[19],n):null}catch(P){throw(P instanceof a.AbstractProviderError||P instanceof a.InstantiationError)&&P.addKey(this,e.key),P}var S;try{switch(A){case 0:S=C();break;case 1:S=C(r);break;case 2:S=C(r,i);break;case 3:S=C(r,i,o);break;case 4:S=C(r,i,o,s);break;case 5:S=C(r,i,o,s,u);break;case 6:S=C(r,i,o,s,u,c);break;case 7:S=C(r,i,o,s,u,c,l);break;case 8:S=C(r,i,o,s,u,c,l,p);break;case 9:S=C(r,i,o,s,u,c,l,p,f);break;case 10:S=C(r,i,o,s,u,c,l,p,f,d);break;case 11:S=C(r,i,o,s,u,c,l,p,f,d,h);break;case 12:S=C(r,i,o,s,u,c,l,p,f,d,h,m);break;case 13:S=C(r,i,o,s,u,c,l,p,f,d,h,m,v);break;case 14:S=C(r,i,o,s,u,c,l,p,f,d,h,m,v,y);break;case 15:S=C(r,i,o,s,u,c,l,p,f,d,h,m,v,y,g);break;case 16:S=C(r,i,o,s,u,c,l,p,f,d,h,m,v,y,g,b);break;case 17:S=C(r,i,o,s,u,c,l,p,f,d,h,m,v,y,g,b,_);break;case 18:S=C(r,i,o,s,u,c,l,p,f,d,h,m,v,y,g,b,_,E);break;case 19:S=C(r,i,o,s,u,c,l,p,f,d,h,m,v,y,g,b,_,E,D);break;case 20:S=C(r,i,o,s,u,c,l,p,f,d,h,m,v,y,g,b,_,E,D,w)}}catch(P){throw new a.InstantiationError(this,P,P.stack,e.key)}return S},e.prototype._getByDependency=function(e,n,r){var i=u.isPresent(this._depProvider)?this._depProvider.getDependency(this,e,n):t.UNDEFINED;return i!==t.UNDEFINED?i:this._getByKey(n.key,n.lowerBoundVisibility,n.upperBoundVisibility,n.optional,r)},e.prototype._getByKey=function(e,t,n,r,i){return e===_?this:n instanceof l.SelfMetadata?this._getByKeySelf(e,r,i):n instanceof l.HostMetadata?this._getByKeyHost(e,r,i,t):this._getByKeyDefault(e,r,i,t)},e.prototype._throwOrNull=function(e,t){if(t)return null;throw new a.NoProviderError(this,e)},e.prototype._getByKeySelf=function(e,n,r){var i=this._strategy.getObjByKeyId(e.id,r);return i!==t.UNDEFINED?i:this._throwOrNull(e,n)},e.prototype._getByKeyHost=function(e,n,r,i){var o=this;if(i instanceof l.SkipSelfMetadata){if(o._isHost)return this._getPrivateDependency(e,n,o);o=o._parent}for(;null!=o;){var s=o._strategy.getObjByKeyId(e.id,r);if(s!==t.UNDEFINED)return s;if(u.isPresent(o._parent)&&o._isHost)return this._getPrivateDependency(e,n,o);o=o._parent}return this._throwOrNull(e,n)},e.prototype._getPrivateDependency=function(e,n,r){var i=r._parent._strategy.getObjByKeyId(e.id,f.Private);return i!==t.UNDEFINED?i:this._throwOrNull(e,n)},e.prototype._getByKeyDefault=function(e,n,r,i){var o=this;for(i instanceof l.SkipSelfMetadata&&(r=o._isHost?f.PublicAndPrivate:f.Public,o=o._parent);null!=o;){var s=o._strategy.getObjByKeyId(e.id,r);if(s!==t.UNDEFINED)return s;r=o._isHost?f.PublicAndPrivate:f.Public,o=o._parent}return this._throwOrNull(e,n)},Object.defineProperty(e.prototype,"displayName",{get:function(){return"Injector(providers: ["+i(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e}();t.Injector=b;var _=c.Key.get(b)}(e("34")),r.define=i,n.exports}),e.registerDynamic("1cc",["20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=function(){function e(e){this.token=e}return e.prototype.toString=function(){return"@Inject("+a.stringify(this.token)+")"},e=o([a.CONST(),s("design:paramtypes",[Object])],e)}();t.InjectMetadata=u;var c=function(){function e(){}return e.prototype.toString=function(){return"@Optional()"},e=o([a.CONST(),s("design:paramtypes",[])],e)}();t.OptionalMetadata=c;var l=function(){function e(){}return Object.defineProperty(e.prototype,"token",{get:function(){return null},enumerable:!0,configurable:!0}),e=o([a.CONST(),s("design:paramtypes",[])],e)}();t.DependencyMetadata=l;var p=function(){function e(){}return e=o([a.CONST(),s("design:paramtypes",[])],e)}();t.InjectableMetadata=p;var f=function(){function e(){}return e.prototype.toString=function(){return"@Self()"},e=o([a.CONST(),s("design:paramtypes",[])],e)}();t.SelfMetadata=f;var d=function(){function e(){}return e.prototype.toString=function(){return"@SkipSelf()"},e=o([a.CONST(),s("design:paramtypes",[])],e)}();t.SkipSelfMetadata=d;var h=function(){function e(){}return e.prototype.toString=function(){return"@Host()"},e=o([a.CONST(),s("design:paramtypes",[])],e)}();return t.HostMetadata=h,r.define=i,n.exports}),e.registerDynamic("1c8",["20","3c","37","81","1ee","1cc","1ed","1ef"],!0,function(e,t,n){"use strict";function r(e){return new N(e)}function i(e,t){var n=t.useClass,r=t.useValue,i=t.useExisting,o=t.useFactory,s=t.deps,a=t.multi;return new R(e,{useClass:n,useValue:r,useExisting:i,useFactory:o,deps:s,multi:a})}function o(e){var t,n;if(_.isPresent(e.useClass)){var r=P.resolveForwardRef(e.useClass);t=w.reflector.factory(r),n=f(r)}else _.isPresent(e.useExisting)?(t=function(e){return e},n=[S.fromKey(C.Key.get(e.useExisting))]):_.isPresent(e.useFactory)?(t=e.useFactory,n=p(e.useFactory,e.dependencies)):(t=function(){return e.useValue},n=O);return new k(t,n)}function s(e){return new T(C.Key.get(e.token),[o(e)],!1)}function a(e){var t=u(c(e,new Map));return t.map(function(e){if(e instanceof F)return new T(e.key,[e.resolvedFactory],!1);var t=e;return new T(t[0].key,t.map(function(e){return e.resolvedFactory}),!0)})}function u(e){return D.MapWrapper.values(e)}function c(e,t){return e.forEach(function(e){if(e instanceof _.Type)l(i(e,{useClass:e}),t);else if(e instanceof R)l(e,t);else{if(!(e instanceof Array))throw e instanceof N?new A.InvalidProviderError(e.token):new A.InvalidProviderError(e);c(e,t)}}),t}function l(e,t){var n=C.Key.get(e.token),r=o(e),i=new F(n,r);if(e.multi){var s=t.get(n.id);if(s instanceof Array)s.push(i);else{if(!_.isBlank(s))throw new A.MixingMultiProvidersWithRegularProvidersError(s,e);t.set(n.id,[i])}}else{var s=t.get(n.id);if(s instanceof Array)throw new A.MixingMultiProvidersWithRegularProvidersError(s,e);t.set(n.id,i)}}function p(e,t){if(_.isBlank(t))return f(e);var n=t.map(function(e){return[e]});return t.map(function(t){return d(e,t,n)})}function f(e){var t=w.reflector.parameters(e);if(_.isBlank(t))return[];if(t.some(_.isBlank))throw new A.NoAnnotationError(e,t);return t.map(function(n){return d(e,n,t)})}function d(e,t,n){var r=[],i=null,o=!1;if(!_.isArray(t))return t instanceof x.InjectMetadata?h(t.token,o,null,null,r):h(t,o,null,null,r);for(var s=null,a=null,u=0;u<t.length;++u){var c=t[u];c instanceof _.Type?i=c:c instanceof x.InjectMetadata?i=c.token:c instanceof x.OptionalMetadata?o=!0:c instanceof x.SelfMetadata?a=c:c instanceof x.HostMetadata?a=c:c instanceof x.SkipSelfMetadata?s=c:c instanceof x.DependencyMetadata&&(_.isPresent(c.token)&&(i=c.token),r.push(c))}if(i=P.resolveForwardRef(i),_.isPresent(i))return h(i,o,s,a,r);throw new A.NoAnnotationError(e,n)}function h(e,t,n,r,i){return new S(C.Key.get(e),t,n,r,i)}var m=this,v=m.define;m.define=void 0;var y=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},g=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},b=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},_=e("20"),E=e("3c"),D=e("37"),w=e("81"),C=e("1ee"),x=e("1cc"),A=e("1ed"),P=e("1ef"),S=function(){function e(e,t,n,r,i){this.key=e,this.optional=t,this.lowerBoundVisibility=n,this.upperBoundVisibility=r,this.properties=i}return e.fromKey=function(t){return new e(t,!1,null,null,[])},e}();t.Dependency=S;var O=_.CONST_EXPR([]),R=function(){function e(e,t){var n=t.useClass,r=t.useValue,i=t.useExisting,o=t.useFactory,s=t.deps,a=t.multi;this.token=e,this.useClass=n,this.useValue=r,this.useExisting=i,this.useFactory=o,this.dependencies=s,this._multi=a}return Object.defineProperty(e.prototype,"multi",{get:function(){return _.normalizeBool(this._multi)},enumerable:!0,configurable:!0}),e=g([_.CONST(),b("design:paramtypes",[Object,Object])],e)}();t.Provider=R;var I=function(e){function t(t,n){var r=n.toClass,i=n.toValue,o=n.toAlias,s=n.toFactory,a=n.deps,u=n.multi;e.call(this,t,{useClass:r,useValue:i,useExisting:o,useFactory:s,deps:a,multi:u})}return y(t,e),Object.defineProperty(t.prototype,"toClass",{get:function(){return this.useClass},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"toAlias",{get:function(){return this.useExisting},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"toFactory",{get:function(){return this.useFactory},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"toValue",{get:function(){return this.useValue},enumerable:!0,configurable:!0}),t=g([_.CONST(),b("design:paramtypes",[Object,Object])],t)}(R);t.Binding=I;var T=function(){function e(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n}return Object.defineProperty(e.prototype,"resolvedFactory",{get:function(){return this.resolvedFactories[0]},enumerable:!0,configurable:!0}),e}();t.ResolvedProvider_=T;var k=function(){function e(e,t){this.factory=e,this.dependencies=t}return e}();t.ResolvedFactory=k,t.bind=r,t.provide=i;var N=function(){function e(e){this.token=e}return e.prototype.toClass=function(e){if(!_.isType(e))throw new E.BaseException('Trying to create a class provider but "'+_.stringify(e)+'" is not a class!');return new R(this.token,{useClass:e})},e.prototype.toValue=function(e){return new R(this.token,{useValue:e})},e.prototype.toAlias=function(e){if(_.isBlank(e))throw new E.BaseException("Can not alias "+_.stringify(this.token)+" to a blank value!");return new R(this.token,{useExisting:e})},e.prototype.toFactory=function(e,t){if(!_.isFunction(e))throw new E.BaseException('Trying to create a factory provider but "'+_.stringify(e)+'" is not a function!');return new R(this.token,{useFactory:e,deps:t})},e}();t.ProviderBuilder=N,t.resolveFactory=o,t.resolveProvider=s,t.resolveProviders=a;var F=function(){function e(e,t){this.key=e,this.resolvedFactory=t}return e}();return m.define=v,n.exports}),e.registerDynamic("1f0",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=function(){function e(){}return Object.defineProperty(e.prototype,"type",{get:function(){throw new Error("Type literals are only supported in Dart")},enumerable:!0,configurable:!0}),e}();return t.TypeLiteral=o,r.define=i,n.exports}),e.registerDynamic("1ef",["20"],!0,function(e,t,n){"use strict";function r(e){return e.__forward_ref__=r,e.toString=function(){return a.stringify(this())},e}function i(e){return a.isFunction(e)&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===r?e():e}var o=this,s=o.define;o.define=void 0;var a=e("20");return t.forwardRef=r,t.resolveForwardRef=i,o.define=s,n.exports}),e.registerDynamic("1ee",["20","3c","1f0","1ef"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=e("1f0"),u=e("1ef"),c=e("1f0");t.TypeLiteral=c.TypeLiteral;var l=function(){function e(e,t){if(this.token=e,this.id=t,o.isBlank(e))throw new s.BaseException("Token must be defined!")}return Object.defineProperty(e.prototype,"displayName",{get:function(){return o.stringify(this.token)},enumerable:!0,configurable:!0}),e.get=function(e){return f.get(u.resolveForwardRef(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return f.numberOfKeys},enumerable:!0,configurable:!0}),e}();t.Key=l;var p=function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof l)return e;var t=e;if(e instanceof a.TypeLiteral&&(t=e.type),e=t,this._allKeys.has(e))return this._allKeys.get(e);var n=new l(e,l.numberOfKeys);return this._allKeys.set(e,n),n},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}();t.KeyRegistry=p;var f=new p;return r.define=i,n.exports}),e.registerDynamic("1ed",["37","20","3c"],!0,function(e,t,n){"use strict";function r(e){for(var t=[],n=0;n<e.length;++n){if(u.ListWrapper.contains(t,e[n]))return t.push(e[n]),t;t.push(e[n])}return t}function i(e){if(e.length>1){var t=r(u.ListWrapper.reversed(e)),n=t.map(function(e){return c.stringify(e.token)});return" ("+n.join(" -> ")+")"}return""}var o=this,s=o.define;o.define=void 0;var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=e("37"),c=e("20"),l=e("3c"),p=function(e){function t(t,n,r){e.call(this,"DI Exception"),this.keys=[n],this.injectors=[t],this.constructResolvingMessage=r,this.message=this.constructResolvingMessage(this.keys)}return a(t,e),t.prototype.addKey=function(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)},Object.defineProperty(t.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),t}(l.BaseException);t.AbstractProviderError=p;var f=function(e){function t(t,n){e.call(this,t,n,function(e){var t=c.stringify(u.ListWrapper.first(e).token);return"No provider for "+t+"!"+i(e)})}return a(t,e),t}(p);t.NoProviderError=f;var d=function(e){function t(t,n){e.call(this,t,n,function(e){return"Cannot instantiate cyclic dependency!"+i(e)})}return a(t,e),t}(p);t.CyclicDependencyError=d;var h=function(e){function t(t,n,r,i){e.call(this,"DI Exception",n,r,null),this.keys=[i],this.injectors=[t]}return a(t,e),t.prototype.addKey=function(e,t){this.injectors.push(e),this.keys.push(t)},Object.defineProperty(t.prototype,"wrapperMessage",{get:function(){var e=c.stringify(u.ListWrapper.first(this.keys).token);return"Error during instantiation of "+e+"!"+i(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),t}(l.WrappedException);t.InstantiationError=h;var m=function(e){function t(t){e.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+t.toString())}return a(t,e),t}(l.BaseException);t.InvalidProviderError=m;var v=function(e){function t(n,r){e.call(this,t._genMessage(n,r))}return a(t,e),t._genMessage=function(e,t){for(var n=[],r=0,i=t.length;i>r;r++){var o=t[r];c.isBlank(o)||0==o.length?n.push("?"):n.push(o.map(c.stringify).join(" "))}return"Cannot resolve all parameters for "+c.stringify(e)+"("+n.join(", ")+"). Make sure they all have valid type or annotations."},t}(l.BaseException);t.NoAnnotationError=v;var y=function(e){function t(t){e.call(this,"Index "+t+" is out-of-bounds.")}return a(t,e),t}(l.BaseException);t.OutOfBoundsError=y;var g=function(e){function t(t,n){e.call(this,"Cannot mix multi providers and regular providers, got: "+t.toString()+" "+n.toString())}return a(t,e),t}(l.BaseException);return t.MixingMultiProvidersWithRegularProvidersError=g,o.define=s,n.exports}),e.registerDynamic("1f1",["20"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},s=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},a=e("20"),u=function(){function e(e){this._desc=e}return e.prototype.toString=function(){return"Token "+this._desc},e=o([a.CONST(),s("design:paramtypes",[String])],e)}();return t.OpaqueToken=u,r.define=i,n.exports}),e.registerDynamic("39",["1cc","1d2","1ef","1c9","1c8","1ee","1ed","1f1"],!0,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=this,o=i.define;i.define=void 0;var s=e("1cc");t.InjectMetadata=s.InjectMetadata,t.OptionalMetadata=s.OptionalMetadata,t.InjectableMetadata=s.InjectableMetadata,t.SelfMetadata=s.SelfMetadata,t.HostMetadata=s.HostMetadata,t.SkipSelfMetadata=s.SkipSelfMetadata,t.DependencyMetadata=s.DependencyMetadata,r(e("1d2"));var a=e("1ef");t.forwardRef=a.forwardRef,t.resolveForwardRef=a.resolveForwardRef;var u=e("1c9");t.Injector=u.Injector;var c=e("1c8");t.Binding=c.Binding,t.ProviderBuilder=c.ProviderBuilder,t.ResolvedFactory=c.ResolvedFactory,t.Dependency=c.Dependency,t.bind=c.bind,t.Provider=c.Provider,t.provide=c.provide;var l=e("1ee");t.Key=l.Key,t.TypeLiteral=l.TypeLiteral;var p=e("1ed");t.NoProviderError=p.NoProviderError,t.AbstractProviderError=p.AbstractProviderError,t.CyclicDependencyError=p.CyclicDependencyError,t.InstantiationError=p.InstantiationError,t.InvalidProviderError=p.InvalidProviderError,t.NoAnnotationError=p.NoAnnotationError,t.OutOfBoundsError=p.OutOfBoundsError;var f=e("1f1");return t.OpaqueToken=f.OpaqueToken,i.define=o,n.exports}),e.registerDynamic("88",["39","20"],!0,function(e,t,n){"use strict";function r(){return""+i()+i()+i()}function i(){return u.StringWrapper.fromCharCode(97+u.Math.floor(25*u.Math.random()))}var o=this,s=o.define;o.define=void 0;var a=e("39"),u=e("20");return t.APP_COMPONENT_REF_PROMISE=u.CONST_EXPR(new a.OpaqueToken("Promise<ComponentRef>")),t.APP_COMPONENT=u.CONST_EXPR(new a.OpaqueToken("AppComponent")),t.APP_ID=u.CONST_EXPR(new a.OpaqueToken("AppId")),t.APP_ID_RANDOM_PROVIDER=u.CONST_EXPR(new a.Provider(t.APP_ID,{useFactory:r,deps:[]})),t.PLATFORM_INITIALIZER=u.CONST_EXPR(new a.OpaqueToken("Platform Initializer")),t.APP_INITIALIZER=u.CONST_EXPR(new a.OpaqueToken("Application Initializer")),t.PACKAGE_ROOT_URL=u.CONST_EXPR(new a.OpaqueToken("Application Packages Root URL")),o.define=s,n.exports}),e.registerDynamic("61",["20","56","39","1c7","1af","1ab","1b4","1ae","7e","7f","1cb","7b","82","64","88"],!0,function(e,t,n){"use strict";function r(e,t){return e._createComponent(t)}function i(e,t,n){return e._createEmbeddedTemplate(t,n)}function o(e,t,n,r,i,o,c){var l=null,p=null;if(i>0&&(l=n[n.length-i]),v.isBlank(l)&&(i=-1),o>0){var f=n[n.length-o];v.isPresent(f)&&(p=f.protoElementInjector)}v.isBlank(p)&&(o=-1);var d=null,h=!1,m=c.directives.map(function(t){return s(e,t)});c instanceof O.BeginComponentCmd?d=m[0]:c instanceof O.EmbeddedTemplateCmd&&(h=!0);var y=null,g=c.variableNameAndValues.length>0;if(m.length>0||g||h){var b=new Map;h||(b=a(c.variableNameAndValues,m)),y=w.ProtoElementInjector.create(p,r,m,v.isPresent(d),o,b),y.attributes=u(c.attrNameAndValues,!1)}return new D.ElementBinder(r,l,i,y,d,t)}function s(e,t){var n=e.resolve(t);return w.DirectiveProvider.createFromType(t,n)}function a(e,t){for(var n=new Map,r=0;r<e.length;r+=2){var i=e[r],o=e[r+1];v.isNumber(o)?n.set(i,o):n.set(i,null)}return n}function u(e,t){for(var n=new Map,r=0;r<e.length;r+=2)t?n.set(e[r+1],e[r]):n.set(e[r],e[r+1]);return n}function c(e,t){for(var n=0;n<e.length;n++){var r=g.resolveForwardRef(e[n]);v.isArray(r)?c(r,t):t.push(r)}}function l(e,t){for(var n=0;n<e.length;n++){var r=e[n];v.isArray(r)?l(r,t):t.push(r)}return t}var p=this,f=p.define;p.define=void 0;var d=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},h=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},m=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},v=e("20"),y=e("56"),g=e("39"),b=e("1c7"),_=e("1af"),E=e("1ab"),D=e("1b4"),w=e("1ae"),C=e("7e"),x=e("7f"),A=e("1cb"),P=e("7b"),S=e("82"),O=e("64"),R=e("56"),I=e("88"),T=function(){function e(e,t,n,r,i,o){this._renderer=e,this._platformPipes=t,this._directiveResolver=n,this._viewResolver=r,this._pipeResolver=i,this._appId=o,this._cache=new Map,this._nextTemplateId=0}return e.prototype.clearCache=function(){this._cache.clear()},e.prototype.createHost=function(e){var t=e.template,n=this._cache.get(t.id);if(v.isBlank(n)){var r={},i=this._appId+"-"+this._nextTemplateId++;this._renderer.registerComponentTemplate(new y.RenderComponentTemplate(t.id,i,P.ViewEncapsulation.None,t.commands,[])),n=new E.AppProtoView(t.id,t.commands,E.ViewType.HOST,!0,t.changeDetectorFactory,null,new _.ProtoPipes(r)),this._cache.set(t.id,n)}return n},e.prototype._createComponent=function(e){var t=this,n=this._cache.get(e.templateId);if(v.isBlank(n)){var r=e.directives[0],i=this._viewResolver.resolve(r),o=e.templateGetter(),s=l(o.styles,[]),a=this._appId+"-"+this._nextTemplateId++;this._renderer.registerComponentTemplate(new y.RenderComponentTemplate(o.id,a,e.encapsulation,o.commands,s));var u=this._flattenPipes(i).map(function(e){return t._bindPipe(e)});n=new E.AppProtoView(o.id,o.commands,E.ViewType.COMPONENT,!0,o.changeDetectorFactory,null,_.ProtoPipes.fromProviders(u)),this._cache.set(o.id,n),this._initializeProtoView(n,null)}return n},e.prototype._createEmbeddedTemplate=function(e,t){var n=new E.AppProtoView(t.templateId,e.children,E.ViewType.EMBEDDED,e.isMerged,e.changeDetectorFactory,u(e.variableNameAndValues,!0),new _.ProtoPipes(t.pipes.config));return e.isMerged&&this.initializeProtoViewIfNeeded(n),n},e.prototype.initializeProtoViewIfNeeded=function(e){if(!e.isInitialized()){var t=this._renderer.createProtoView(e.templateId,e.templateCmds);this._initializeProtoView(e,t)}},e.prototype._initializeProtoView=function(e,t){var n=new k(e,this._directiveResolver,this);O.visitAllCommands(n,e.templateCmds);var r=new E.AppProtoViewMergeInfo(n.mergeEmbeddedViewCount,n.mergeElementCount,n.mergeViewCount);e.init(t,n.elementBinders,n.boundTextCount,r,n.variableLocations)},e.prototype._bindPipe=function(e){var t=this._pipeResolver.resolve(e);return b.PipeProvider.createFromType(e,t)},e.prototype._flattenPipes=function(e){var t=[];return v.isPresent(this._platformPipes)&&c(this._platformPipes,t),v.isPresent(e.pipes)&&c(e.pipes,t),t},e=d([g.Injectable(),m(1,g.Optional()),m(1,g.Inject(S.PLATFORM_PIPES)),m(5,g.Inject(I.APP_ID)),h("design:paramtypes",[R.Renderer,Array,C.DirectiveResolver,x.ViewResolver,A.PipeResolver,String])],e)}();t.ProtoViewFactory=T;var k=function(){function e(e,t,n){this._protoView=e,this._directiveResolver=t,this._protoViewFactory=n,this.variableLocations=new Map,this.boundTextCount=0,this.boundElementIndex=0,this.elementBinderStack=[],this.distanceToParentElementBinder=0,this.distanceToParentProtoElementInjector=0,this.elementBinders=[],this.mergeEmbeddedViewCount=0,this.mergeElementCount=0,this.mergeViewCount=1}return e.prototype.visitText=function(e,t){return e.isBound&&this.boundTextCount++,null},e.prototype.visitNgContent=function(e,t){return null},e.prototype.visitBeginElement=function(e,t){return e.isBound?this._visitBeginBoundElement(e,null):this._visitBeginElement(e,null,null),null},e.prototype.visitEndElement=function(e){return this._visitEndElement()},e.prototype.visitBeginComponent=function(e,t){var n=r(this._protoViewFactory,e);return this._visitBeginBoundElement(e,n)},e.prototype.visitEndComponent=function(e){return this._visitEndElement()},e.prototype.visitEmbeddedTemplate=function(e,t){var n=i(this._protoViewFactory,e,this._protoView);return e.isMerged&&this.mergeEmbeddedViewCount++,this._visitBeginBoundElement(e,n),
|
||
this._visitEndElement()},e.prototype._visitBeginBoundElement=function(e,t){v.isPresent(t)&&t.isMergable&&(this.mergeElementCount+=t.mergeInfo.elementCount,this.mergeViewCount+=t.mergeInfo.viewCount,this.mergeEmbeddedViewCount+=t.mergeInfo.embeddedViewCount);var n=o(this._directiveResolver,t,this.elementBinderStack,this.boundElementIndex,this.distanceToParentElementBinder,this.distanceToParentProtoElementInjector,e);this.elementBinders.push(n);for(var r=n.protoElementInjector,i=0;i<e.variableNameAndValues.length;i+=2)this.variableLocations.set(e.variableNameAndValues[i],this.boundElementIndex);return this.boundElementIndex++,this.mergeElementCount++,this._visitBeginElement(e,n,r)},e.prototype._visitBeginElement=function(e,t,n){return this.distanceToParentElementBinder=v.isPresent(t)?1:this.distanceToParentElementBinder+1,this.distanceToParentProtoElementInjector=v.isPresent(n)?1:this.distanceToParentProtoElementInjector+1,this.elementBinderStack.push(t),null},e.prototype._visitEndElement=function(){var e=this.elementBinderStack.pop(),t=v.isPresent(e)?e.protoElementInjector:null;return this.distanceToParentElementBinder=v.isPresent(e)?e.distanceToParent:this.distanceToParentElementBinder-1,this.distanceToParentProtoElementInjector=v.isPresent(t)?t.distanceToParent:this.distanceToParentProtoElementInjector-1,null},e}();return t.createDirectiveVariableBindings=a,p.define=f,n.exports}),e.registerDynamic("1a6",["39","20","3c","1ab","1a1","56","1ad","1b0","55","4c","61"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},c=e("39"),l=e("20"),p=e("3c"),f=e("1ab"),d=e("1a1"),h=e("56"),m=e("1ad"),v=e("1b0"),y=e("55"),g=e("4c"),b=e("61"),_=function(){function e(){}return e.prototype.getHostElement=function(e){var t=d.internalView(e);if(t.proto.type!==f.ViewType.HOST)throw new p.BaseException("This operation is only allowed on host views");return t.elementRefs[t.elementOffset]},e}();t.AppViewManager=_;var E=function(e){function t(t,n,r,i,o){e.call(this),this._viewPool=t,this._viewListener=n,this._utils=r,this._renderer=i,this._createRootHostViewScope=g.wtfCreateScope("AppViewManager#createRootHostView()"),this._destroyRootHostViewScope=g.wtfCreateScope("AppViewManager#destroyRootHostView()"),this._createEmbeddedViewInContainerScope=g.wtfCreateScope("AppViewManager#createEmbeddedViewInContainer()"),this._createHostViewInContainerScope=g.wtfCreateScope("AppViewManager#createHostViewInContainer()"),this._destroyViewInContainerScope=g.wtfCreateScope("AppViewMananger#destroyViewInContainer()"),this._attachViewInContainerScope=g.wtfCreateScope("AppViewMananger#attachViewInContainer()"),this._detachViewInContainerScope=g.wtfCreateScope("AppViewMananger#detachViewInContainer()"),this._protoViewFactory=o}return o(t,e),t.prototype.getViewContainer=function(e){var t=d.internalView(e.parentView);return t.elementInjectors[e.boundElementIndex].getViewContainerRef()},t.prototype.getNamedElementInComponentView=function(e,t){var n=d.internalView(e.parentView),r=e.boundElementIndex,i=n.getNestedView(r);if(l.isBlank(i))throw new p.BaseException("There is no component directive at element "+r);var o=i.proto.variableLocations.get(t);if(l.isBlank(o))throw new p.BaseException("Could not find variable "+t);return i.elementRefs[i.elementOffset+o]},t.prototype.getComponent=function(e){var t=d.internalView(e.parentView),n=e.boundElementIndex;return this._utils.getComponentInstance(t,n)},t.prototype.createRootHostView=function(e,t,n){var r=this._createRootHostViewScope(),i=d.internalProtoView(e);this._protoViewFactory.initializeProtoViewIfNeeded(i);var o=t;l.isBlank(o)&&(o=i.elementBinders[0].componentDirective.metadata.selector);var s=this._renderer.createRootHostView(i.render,i.mergeInfo.embeddedViewCount+1,o),a=this._createMainView(i,s);return this._renderer.hydrateView(a.render),this._utils.hydrateRootHostView(a,n),g.wtfLeave(r,a.ref)},t.prototype.destroyRootHostView=function(e){var t=this._destroyRootHostViewScope(),n=d.internalView(e);this._renderer.detachFragment(n.renderFragment),this._renderer.dehydrateView(n.render),this._viewDehydrateRecurse(n),this._viewListener.onViewDestroyed(n),this._renderer.destroyView(n.render),g.wtfLeave(t)},t.prototype.createEmbeddedViewInContainer=function(e,t,n){var r=this._createEmbeddedViewInContainerScope(),i=d.internalProtoView(n.protoViewRef);if(i.type!==f.ViewType.EMBEDDED)throw new p.BaseException("This method can only be called with embedded ProtoViews!");return this._protoViewFactory.initializeProtoViewIfNeeded(i),g.wtfLeave(r,this._createViewInContainer(e,t,i,n.elementRef,null))},t.prototype.createHostViewInContainer=function(e,t,n,r){var i=this._createHostViewInContainerScope(),o=d.internalProtoView(n);if(o.type!==f.ViewType.HOST)throw new p.BaseException("This method can only be called with host ProtoViews!");return this._protoViewFactory.initializeProtoViewIfNeeded(o),g.wtfLeave(i,this._createViewInContainer(e,t,o,e,r))},t.prototype._createViewInContainer=function(e,t,n,r,i){var o,s=d.internalView(e.parentView),a=e.boundElementIndex,u=d.internalView(r.parentView),c=r.boundElementIndex,p=u.getNestedView(c);n.type===f.ViewType.EMBEDDED&&l.isPresent(p)&&!p.hydrated()?(o=p,this._attachRenderView(s,a,t,o)):(o=this._createPooledView(n),this._attachRenderView(s,a,t,o),this._renderer.hydrateView(o.render)),this._utils.attachViewInContainer(s,a,u,c,t,o);try{this._utils.hydrateViewInContainer(s,a,u,c,t,i)}catch(h){throw this._utils.detachViewInContainer(s,a,t),h}return o.ref},t.prototype._attachRenderView=function(e,t,n,r){var i=e.elementRefs[t];if(0===n)this._renderer.attachFragmentAfterElement(i,r.renderFragment);else{var o=e.viewContainers[t].views[n-1];this._renderer.attachFragmentAfterFragment(o.renderFragment,r.renderFragment)}},t.prototype.destroyViewInContainer=function(e,t){var n=this._destroyViewInContainerScope(),r=d.internalView(e.parentView),i=e.boundElementIndex;this._destroyViewInContainer(r,i,t),g.wtfLeave(n)},t.prototype.attachViewInContainer=function(e,t,n){var r=this._attachViewInContainerScope(),i=d.internalView(n),o=d.internalView(e.parentView),s=e.boundElementIndex;return this._utils.attachViewInContainer(o,s,null,null,t,i),this._attachRenderView(o,s,t,i),g.wtfLeave(r,n)},t.prototype.detachViewInContainer=function(e,t){var n=this._detachViewInContainerScope(),r=d.internalView(e.parentView),i=e.boundElementIndex,o=r.viewContainers[i],s=o.views[t];return this._utils.detachViewInContainer(r,i,t),this._renderer.detachFragment(s.renderFragment),g.wtfLeave(n,s.ref)},t.prototype._createMainView=function(e,t){var n=this._utils.createView(e,t,this,this._renderer);return this._renderer.setEventDispatcher(n.render,n),this._viewListener.onViewCreated(n),n},t.prototype._createPooledView=function(e){var t=this._viewPool.getView(e);return l.isBlank(t)&&(t=this._createMainView(e,this._renderer.createView(e.render,e.mergeInfo.embeddedViewCount+1))),t},t.prototype._destroyPooledView=function(e){var t=this._viewPool.returnView(e);t||(this._viewListener.onViewDestroyed(e),this._renderer.destroyView(e.render))},t.prototype._destroyViewInContainer=function(e,t,n){var r=e.viewContainers[t],i=r.views[n];this._viewDehydrateRecurse(i),this._utils.detachViewInContainer(e,t,n),i.viewOffset>0?this._renderer.detachFragment(i.renderFragment):(this._renderer.dehydrateView(i.render),this._renderer.detachFragment(i.renderFragment),this._destroyPooledView(i))},t.prototype._viewDehydrateRecurse=function(e){e.hydrated()&&this._utils.dehydrateView(e);for(var t=e.viewContainers,n=e.viewOffset,r=e.viewOffset+e.proto.mergeInfo.viewCount-1,i=e.elementOffset,o=n;r>=o;o++)for(var s=e.views[o],a=0;a<s.proto.elementBinders.length;a++,i++){var u=t[i];if(l.isPresent(u))for(var c=u.views.length-1;c>=0;c--)this._destroyViewInContainer(s,i,c)}},t=s([c.Injectable(),u(4,c.Inject(c.forwardRef(function(){return b.ProtoViewFactory}))),a("design:paramtypes",[v.AppViewPool,y.AppViewListener,m.AppViewManagerUtils,h.Renderer,Object])],t)}(_);return t.AppViewManager_=E,r.define=i,n.exports}),e.registerDynamic("1a0",["39","60","20","1a6"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=3>o?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>o?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(e,t):void 0},u=e("39"),c=e("60"),l=e("20"),p=e("1a6"),f=function(){function e(){}return Object.defineProperty(e.prototype,"hostView",{get:function(){return this.location.parentView},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostComponent",{get:function(){return this.instance},enumerable:!0,configurable:!0}),e}();t.ComponentRef=f;var d=function(e){function t(t,n,r,i,o){e.call(this),this._dispose=o,this.location=t,this.instance=n,this.componentType=r,this.injector=i}return o(t,e),Object.defineProperty(t.prototype,"hostComponentType",{get:function(){return this.componentType},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._dispose()},t}(f);t.ComponentRef_=d;var h=function(){function e(){}return e}();t.DynamicComponentLoader=h;var m=function(e){function t(t,n){e.call(this),this._compiler=t,this._viewManager=n}return o(t,e),t.prototype.loadAsRoot=function(e,t,n,r){var i=this;return this._compiler.compileInHost(e).then(function(o){var s=i._viewManager.createRootHostView(o,t,n),a=i._viewManager.getHostElement(s),u=i._viewManager.getComponent(a),c=function(){l.isPresent(r)&&r(),i._viewManager.destroyRootHostView(s)};return new d(a,u,e,n,c)})},t.prototype.loadIntoLocation=function(e,t,n,r){return void 0===r&&(r=null),this.loadNextToLocation(e,this._viewManager.getNamedElementInComponentView(t,n),r)},t.prototype.loadNextToLocation=function(e,t,n){var r=this;return void 0===n&&(n=null),this._compiler.compileInHost(e).then(function(i){var o=r._viewManager.getViewContainer(t),s=o.createHostView(i,o.length,n),a=r._viewManager.getHostElement(s),u=r._viewManager.getComponent(a),c=function(){var e=o.indexOf(s);-1!==e&&o.remove(e)};return new d(a,u,e,null,c)})},t=s([u.Injectable(),a("design:paramtypes",[c.Compiler,p.AppViewManager])],t)}(h);return t.DynamicComponentLoader_=m,r.define=i,n.exports}),e.registerDynamic("1f2",["20","39","88","6e","1b0","1a6","1ad","7f","55","61","7e","1cb","60","1a0"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("39"),a=e("88"),u=e("6e"),c=e("1b0"),l=e("1a6"),p=e("1a6"),f=e("1ad"),d=e("7f"),h=e("55"),m=e("61"),v=e("7e"),y=e("1cb"),g=e("60"),b=e("60"),_=e("1a0"),E=e("1a0");return t.APPLICATION_COMMON_PROVIDERS=o.CONST_EXPR([new s.Provider(g.Compiler,{useClass:b.Compiler_}),a.APP_ID_RANDOM_PROVIDER,c.AppViewPool,new s.Provider(c.APP_VIEW_POOL_CAPACITY,{useValue:1e4}),new s.Provider(l.AppViewManager,{useClass:p.AppViewManager_}),f.AppViewManagerUtils,h.AppViewListener,m.ProtoViewFactory,d.ViewResolver,new s.Provider(u.IterableDiffers,{useValue:u.defaultIterableDiffers}),new s.Provider(u.KeyValueDiffers,{useValue:u.defaultKeyValueDiffers}),v.DirectiveResolver,y.PipeResolver,new s.Provider(_.DynamicComponentLoader,{useClass:E.DynamicComponentLoader_})]),r.define=i,n.exports}),e.registerDynamic("1f3",["20","3c","37"],!0,function(e,t,n){"use strict";function r(e,t){u.StringMapWrapper.forEach(t,function(t,n){return e.set(n,t)})}var i=this,o=i.define;i.define=void 0;var s=e("20"),a=e("3c"),u=e("37"),c=function(){function e(e,t,n,r,i){this.annotations=e,this.parameters=t,this.factory=n,this.interfaces=r,this.propMetadata=i}return e}();t.ReflectionInfo=c;var l=function(){function e(e){this._injectableInfo=new u.Map,this._getters=new u.Map,this._setters=new u.Map,this._methods=new u.Map,this._usedKeys=null,this.reflectionCapabilities=e}return e.prototype.isReflectionEnabled=function(){return this.reflectionCapabilities.isReflectionEnabled()},e.prototype.trackUsage=function(){this._usedKeys=new u.Set},e.prototype.listUnusedKeys=function(){var e=this;if(null==this._usedKeys)throw new a.BaseException("Usage tracking is disabled");var t=u.MapWrapper.keys(this._injectableInfo);return t.filter(function(t){return!u.SetWrapper.has(e._usedKeys,t)})},e.prototype.registerFunction=function(e,t){this._injectableInfo.set(e,t)},e.prototype.registerType=function(e,t){this._injectableInfo.set(e,t)},e.prototype.registerGetters=function(e){r(this._getters,e)},e.prototype.registerSetters=function(e){r(this._setters,e)},e.prototype.registerMethods=function(e){r(this._methods,e)},e.prototype.factory=function(e){if(this._containsReflectionInfo(e)){var t=this._getReflectionInfo(e).factory;return s.isPresent(t)?t:null}return this.reflectionCapabilities.factory(e)},e.prototype.parameters=function(e){if(this._injectableInfo.has(e)){var t=this._getReflectionInfo(e).parameters;return s.isPresent(t)?t:[]}return this.reflectionCapabilities.parameters(e)},e.prototype.annotations=function(e){if(this._injectableInfo.has(e)){var t=this._getReflectionInfo(e).annotations;return s.isPresent(t)?t:[]}return this.reflectionCapabilities.annotations(e)},e.prototype.propMetadata=function(e){if(this._injectableInfo.has(e)){var t=this._getReflectionInfo(e).propMetadata;return s.isPresent(t)?t:{}}return this.reflectionCapabilities.propMetadata(e)},e.prototype.interfaces=function(e){if(this._injectableInfo.has(e)){var t=this._getReflectionInfo(e).interfaces;return s.isPresent(t)?t:[]}return this.reflectionCapabilities.interfaces(e)},e.prototype.getter=function(e){return this._getters.has(e)?this._getters.get(e):this.reflectionCapabilities.getter(e)},e.prototype.setter=function(e){return this._setters.has(e)?this._setters.get(e):this.reflectionCapabilities.setter(e)},e.prototype.method=function(e){return this._methods.has(e)?this._methods.get(e):this.reflectionCapabilities.method(e)},e.prototype._getReflectionInfo=function(e){return s.isPresent(this._usedKeys)&&this._usedKeys.add(e),this._injectableInfo.get(e)},e.prototype._containsReflectionInfo=function(e){return this._injectableInfo.has(e)},e.prototype.importUri=function(e){return this.reflectionCapabilities.importUri(e)},e}();return t.Reflector=l,i.define=o,n.exports}),e.registerDynamic("20",[],!0,function(e,t,n){"use strict";function r(e){return e.name}function i(){M=!0}function o(){if(M)throw"Cannot enable prod mode after platform setup.";j=!1}function s(){return j}function a(e){return e}function u(){return function(e){return e}}function c(e){return void 0!==e&&null!==e}function l(e){return void 0===e||null===e}function p(e){return"string"==typeof e}function f(e){return"function"==typeof e}function d(e){return f(e)}function h(e){return"object"==typeof e&&null!==e}function m(e){return e instanceof F.Promise}function v(e){return Array.isArray(e)}function y(e){return"number"==typeof e}function g(e){return e instanceof t.Date&&!isNaN(e.valueOf())}function b(){}function _(e){if("string"==typeof e)return e;if(void 0===e||null===e)return""+e;if(e.name)return e.name;var t=e.toString(),n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function E(e){return e}function D(e,t){return e}function w(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function C(e){return e}function x(e){return l(e)?null:e}function A(e){return l(e)?!1:e}function P(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function S(e){console.log(e)}function O(e,t,n){for(var r=t.split("."),i=e;r.length>1;){var o=r.shift();i=i.hasOwnProperty(o)&&c(i[o])?i[o]:i[o]={}}(void 0===i||null===i)&&(i={}),i[r.shift()]=n}function R(){if(l(Y))if(c(Symbol)&&c(Symbol.iterator))Y=Symbol.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),t=0;t<e.length;++t){var n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Y=n)}return Y}var I=this,T=I.define;I.define=void 0;var k,N=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)};k="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:I:window,t.IS_DART=!1;var F=k;t.global=F,t.Type=Function,t.getTypeNameForDebugging=r,t.Math=F.Math,t.Date=F.Date;var j=!0,M=!1;t.lockMode=i,t.enableProdMode=o,t.assertionsEnabled=s,F.assert=function(e){},t.CONST_EXPR=a,t.CONST=u,t.isPresent=c,t.isBlank=l,t.isString=p,t.isFunction=f,t.isType=d,t.isStringMap=h,t.isPromise=m,t.isArray=v,t.isNumber=y,t.isDate=g,t.noop=b,t.stringify=_,t.serializeEnum=E,t.deserializeEnum=D;var B=function(){function e(){}return e.fromCharCode=function(e){return String.fromCharCode(e)},e.charCodeAt=function(e,t){return e.charCodeAt(t)},e.split=function(e,t){return e.split(t)},e.equals=function(e,t){return e===t},e.stripLeft=function(e,t){if(e&&e.length){for(var n=0,r=0;r<e.length&&e[r]==t;r++)n++;e=e.substring(n)}return e},e.stripRight=function(e,t){if(e&&e.length){for(var n=e.length,r=e.length-1;r>=0&&e[r]==t;r--)n--;e=e.substring(0,n)}return e},e.replace=function(e,t,n){return e.replace(t,n)},e.replaceAll=function(e,t,n){return e.replace(t,n)},e.slice=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=null),e.slice(t,null===n?void 0:n)},e.replaceAllMapped=function(e,t,n){return e.replace(t,function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return e.splice(-2,2),n(e)})},e.contains=function(e,t){return-1!=e.indexOf(t)},e.compare=function(e,t){return t>e?-1:e>t?1:0},e}();t.StringWrapper=B;var L=function(){function e(e){void 0===e&&(e=[]),this.parts=e}return e.prototype.add=function(e){this.parts.push(e)},e.prototype.toString=function(){return this.parts.join("")},e}();t.StringJoiner=L;var V=function(e){function t(t){e.call(this),this.message=t}return N(t,e),t.prototype.toString=function(){return this.message},t}(Error);t.NumberParseError=V;var U=function(){function e(){}return e.toFixed=function(e,t){return e.toFixed(t)},e.equal=function(e,t){return e===t},e.parseIntAutoRadix=function(e){var t=parseInt(e);if(isNaN(t))throw new V("Invalid integer literal when parsing "+e);return t},e.parseInt=function(e,t){if(10==t){if(/^(\-|\+)?[0-9]+$/.test(e))return parseInt(e,t)}else if(16==t){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(e))return parseInt(e,t)}else{var n=parseInt(e,t);if(!isNaN(n))return n}throw new V("Invalid integer literal when parsing "+e+" in base "+t)},e.parseFloat=function(e){return parseFloat(e)},Object.defineProperty(e,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),e.isNaN=function(e){return isNaN(e)},e.isInteger=function(e){return Number.isInteger(e)},e}();t.NumberWrapper=U,t.RegExp=F.RegExp;var $=function(){function e(){}return e.create=function(e,t){return void 0===t&&(t=""),t=t.replace(/g/g,""),new F.RegExp(e,t+"g")},e.firstMatch=function(e,t){return e.lastIndex=0,e.exec(t)},e.test=function(e,t){return e.lastIndex=0,e.test(t)},e.matcher=function(e,t){return e.lastIndex=0,{re:e,input:t}},e}();t.RegExpWrapper=$;var W=function(){function e(){}return e.next=function(e){return e.re.exec(e.input)},e}();t.RegExpMatcherWrapper=W;var H=function(){function e(){}return e.apply=function(e,t){return e.apply(null,t)},e}();t.FunctionWrapper=H,t.looseIdentical=w,t.getMapKey=C,t.normalizeBlank=x,t.normalizeBool=A,t.isJsObject=P,t.print=S;var q=function(){function e(){}return e.parse=function(e){return F.JSON.parse(e)},e.stringify=function(e){return F.JSON.stringify(e,null,2)},e}();t.Json=q;var z=function(){function e(){}return e.create=function(e,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new t.Date(e,n-1,r,i,o,s,a)},e.fromISOString=function(e){return new t.Date(e)},e.fromMillis=function(e){return new t.Date(e)},e.toMillis=function(e){return e.getTime()},e.now=function(){return new t.Date},e.toJson=function(e){return e.toJSON()},e}();t.DateWrapper=z,t.setValueOnPath=O;var Y=null;return t.getSymbolIterator=R,I.define=T,n.exports}),e.registerDynamic("37",["20"],!0,function(e,t,n){"use strict";function r(e){return a.isJsObject(e)?a.isArray(e)||!(e instanceof t.Map)&&a.getSymbolIterator()in e:!1}function i(e,t){if(a.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r,i=e[a.getSymbolIterator()]();!(r=i.next()).done;)t(r.value)}var o=this,s=o.define;o.define=void 0;var a=e("20");t.Map=a.global.Map,t.Set=a.global.Set;var u=function(){try{if(1===new t.Map([[1,2]]).size)return function(e){return new t.Map(e)}}catch(e){}return function(e){for(var n=new t.Map,r=0;r<e.length;r++){var i=e[r];n.set(i[0],i[1])}return n}}(),c=function(){try{if(new t.Map(new t.Map))return function(e){return new t.Map(e)}}catch(e){}return function(e){var n=new t.Map;return e.forEach(function(e,t){n.set(t,e)}),n}}(),l=function(){return(new t.Map).keys().next?function(e){for(var t,n=e.keys();!(t=n.next()).done;)e.set(t.value,null)}:function(e){e.forEach(function(t,n){e.set(n,null)})}}(),p=function(){try{if((new t.Map).values().next)return function(e,t){return t?Array.from(e.values()):Array.from(e.keys())}}catch(e){}return function(e,t){var n=h.createFixedSize(e.size),r=0;return e.forEach(function(e,i){n[r]=t?e:i,r++}),n}}(),f=function(){function e(){}return e.clone=function(e){return c(e)},e.createFromStringMap=function(e){var n=new t.Map;for(var r in e)n.set(r,e[r]);return n},e.toStringMap=function(e){var t={};return e.forEach(function(e,n){return t[n]=e}),t},e.createFromPairs=function(e){return u(e)},e.clearValues=function(e){l(e)},e.iterable=function(e){return e},e.keys=function(e){return p(e,!1)},e.values=function(e){return p(e,!0)},e}();t.MapWrapper=f;var d=function(){function e(){}return e.create=function(){return{}},e.contains=function(e,t){return e.hasOwnProperty(t)},e.get=function(e,t){return e.hasOwnProperty(t)?e[t]:void 0},e.set=function(e,t,n){e[t]=n},e.keys=function(e){return Object.keys(e)},e.isEmpty=function(e){for(var t in e)return!1;return!0},e["delete"]=function(e,t){delete e[t]},e.forEach=function(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},e.merge=function(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.equals=function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i,o=0;o<n.length;o++)if(i=n[o],e[i]!==t[i])return!1;return!0},e}();t.StringMapWrapper=d;var h=function(){function e(){}return e.createFixedSize=function(e){return new Array(e)},e.createGrowableSize=function(e){return new Array(e)},e.clone=function(e){return e.slice(0)},e.forEachWithIndex=function(e,t){for(var n=0;n<e.length;n++)t(e[n],n)},e.first=function(e){return e?e[0]:null},e.last=function(e){return e&&0!=e.length?e[e.length-1]:null},e.indexOf=function(e,t,n){return void 0===n&&(n=0),e.indexOf(t,n)},e.contains=function(e,t){return-1!==e.indexOf(t)},e.reversed=function(t){var n=e.clone(t);return n.reverse()},e.concat=function(e,t){return e.concat(t)},e.insert=function(e,t,n){e.splice(t,0,n)},e.removeAt=function(e,t){var n=e[t];return e.splice(t,1),n},e.removeAll=function(e,t){for(var n=0;n<t.length;++n){var r=e.indexOf(t[n]);e.splice(r,1)}},e.remove=function(e,t){var n=e.indexOf(t);return n>-1?(e.splice(n,1),!0):!1},e.clear=function(e){e.length=0},e.isEmpty=function(e){return 0==e.length},e.fill=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=null),e.fill(t,n,null===r?e.length:r)},e.equals=function(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0},e.slice=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=null),e.slice(t,null===n?void 0:n)},e.splice=function(e,t,n){return e.splice(t,n)},e.sort=function(e,t){a.isPresent(t)?e.sort(t):e.sort()},e.toString=function(e){return e.toString()},e.toJSON=function(e){return JSON.stringify(e)},e.maximum=function(e,t){if(0==e.length)return null;for(var n=null,r=-(1/0),i=0;i<e.length;i++){var o=e[i];if(!a.isBlank(o)){var s=t(o);s>r&&(n=o,r=s)}}return n},e}();t.ListWrapper=h,t.isListLikeIterable=r,t.iterateListLike=i;var m=function(){var e=new t.Set([1,2,3]);return 3===e.size?function(e){return new t.Set(e)}:function(e){var n=new t.Set(e);if(n.size!==e.length)for(var r=0;r<e.length;r++)n.add(e[r]);return n}}(),v=function(){function e(){}return e.createFromList=function(e){return m(e)},e.has=function(e,t){return e.has(t)},e["delete"]=function(e,t){e["delete"](t)},e}();return t.SetWrapper=v,o.define=s,n.exports}),e.registerDynamic("19f",["20","3c","37"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=e("37"),u=function(){function e(){this.res=[]}return e.prototype.log=function(e){this.res.push(e)},e.prototype.logError=function(e){this.res.push(e)},e.prototype.logGroup=function(e){this.res.push(e)},e.prototype.logGroupEnd=function(){},e}(),c=function(){function e(e,t){void 0===t&&(t=!0),this._logger=e,this._rethrowException=t}return e.exceptionToString=function(t,n,r){void 0===n&&(n=null),void 0===r&&(r=null);var i=new u,o=new e(i,!1);return o.call(t,n,r),i.res.join("\n")},e.prototype.call=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=this._findOriginalException(e),i=this._findOriginalStack(e),s=this._findContext(e);if(this._logger.logGroup("EXCEPTION: "+this._extractMessage(e)),o.isPresent(t)&&o.isBlank(i)&&(this._logger.logError("STACKTRACE:"),this._logger.logError(this._longStackTrace(t))),o.isPresent(n)&&this._logger.logError("REASON: "+n),o.isPresent(r)&&this._logger.logError("ORIGINAL EXCEPTION: "+this._extractMessage(r)),o.isPresent(i)&&(this._logger.logError("ORIGINAL STACKTRACE:"),this._logger.logError(this._longStackTrace(i))),o.isPresent(s)&&(this._logger.logError("ERROR CONTEXT:"),this._logger.logError(s)),this._logger.logGroupEnd(),this._rethrowException)throw e},e.prototype._extractMessage=function(e){return e instanceof s.WrappedException?e.wrapperMessage:e.toString()},e.prototype._longStackTrace=function(e){return a.isListLikeIterable(e)?e.join("\n\n-----async gap-----\n"):e.toString()},e.prototype._findContext=function(e){try{return e instanceof s.WrappedException?o.isPresent(e.context)?e.context:this._findContext(e.originalException):null}catch(t){return null}},e.prototype._findOriginalException=function(e){if(!(e instanceof s.WrappedException))return null;for(var t=e.originalException;t instanceof s.WrappedException&&o.isPresent(t.originalException);)t=t.originalException;return t},e.prototype._findOriginalStack=function(e){if(!(e instanceof s.WrappedException))return null;for(var t=e,n=e.originalStack;t instanceof s.WrappedException&&o.isPresent(t.originalException);)t=t.originalException,t instanceof s.WrappedException&&o.isPresent(t.originalException)&&(n=t.originalStack);return n},e}();return t.ExceptionHandler=c,r.define=i,n.exports}),e.registerDynamic("3c",["19f"],!0,function(e,t,n){"use strict";function r(e){return new TypeError(e)}function i(){throw new l("unimplemented")}var o=this,s=o.define;o.define=void 0;var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},u=e("19f"),c=e("19f");t.ExceptionHandler=c.ExceptionHandler;var l=function(e){function t(t){void 0===t&&(t="--"),e.call(this,t),this.message=t,this.stack=new Error(t).stack}return a(t,e),t.prototype.toString=function(){return this.message},t}(Error);t.BaseException=l;var p=function(e){function t(t,n,r,i){e.call(this,t),this._wrapperMessage=t,this._originalException=n,this._originalStack=r,this._context=i,this._wrapperStack=new Error(t).stack}return a(t,e),Object.defineProperty(t.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return u.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.message},t}(Error);return t.WrappedException=p,t.makeTypeError=r,t.unimplemented=i,o.define=s,n.exports}),e.registerDynamic("8c",["20","3c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("20"),s=e("3c"),a=function(){function e(e){this._reflect=o.isPresent(e)?e:o.global.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){switch(e.length){case 0:return function(){return new e};case 1:return function(t){return new e(t)};case 2:return function(t,n){return new e(t,n)};case 3:return function(t,n,r){return new e(t,n,r)};case 4:return function(t,n,r,i){return new e(t,n,r,i)};case 5:return function(t,n,r,i,o){return new e(t,n,r,i,o)};case 6:return function(t,n,r,i,o,s){return new e(t,n,r,i,o,s)};case 7:return function(t,n,r,i,o,s,a){return new e(t,n,r,i,o,s,a)};case 8:return function(t,n,r,i,o,s,a,u){return new e(t,n,r,i,o,s,a,u)};case 9:return function(t,n,r,i,o,s,a,u,c){return new e(t,n,r,i,o,s,a,u,c)};case 10:return function(t,n,r,i,o,s,a,u,c,l){return new e(t,n,r,i,o,s,a,u,c,l)};case 11:return function(t,n,r,i,o,s,a,u,c,l,p){return new e(t,n,r,i,o,s,a,u,c,l,p)};case 12:return function(t,n,r,i,o,s,a,u,c,l,p,f){return new e(t,n,r,i,o,s,a,u,c,l,p,f)};case 13:return function(t,n,r,i,o,s,a,u,c,l,p,f,d){return new e(t,n,r,i,o,s,a,u,c,l,p,f,d)};case 14:return function(t,n,r,i,o,s,a,u,c,l,p,f,d,h){return new e(t,n,r,i,o,s,a,u,c,l,p,f,d,h)};case 15:return function(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m){return new e(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m)};case 16:return function(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v){return new e(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v)};case 17:return function(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y){return new e(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y)};case 18:return function(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y,g){return new e(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y,g)};case 19:return function(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y,g,b){return new e(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y,g,b)};case 20:return function(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y,g,b,_){return new e(t,n,r,i,o,s,a,u,c,l,p,f,d,h,m,v,y,g,b,_)}}throw new Error("Cannot create a factory for '"+o.stringify(e)+"' because its constructor has more than 20 arguments")},e.prototype._zipTypesAndAnnotaions=function(e,t){var n;n="undefined"==typeof e?new Array(t.length):new Array(e.length);for(var r=0;r<n.length;r++)"undefined"==typeof e?n[r]=[]:e[r]!=Object?n[r]=[e[r]]:n[r]=[],o.isPresent(t)&&o.isPresent(t[r])&&(n[r]=n[r].concat(t[r]));
|
||
return n},e.prototype.parameters=function(e){if(o.isPresent(e.parameters))return e.parameters;if(o.isPresent(this._reflect)&&o.isPresent(this._reflect.getMetadata)){var t=this._reflect.getMetadata("parameters",e),n=this._reflect.getMetadata("design:paramtypes",e);if(o.isPresent(n)||o.isPresent(t))return this._zipTypesAndAnnotaions(n,t)}var r=new Array(e.length);return r.fill(void 0),r},e.prototype.annotations=function(e){if(o.isPresent(e.annotations)){var t=e.annotations;return o.isFunction(t)&&t.annotations&&(t=t.annotations),t}if(o.isPresent(this._reflect)&&o.isPresent(this._reflect.getMetadata)){var t=this._reflect.getMetadata("annotations",e);if(o.isPresent(t))return t}return[]},e.prototype.propMetadata=function(e){if(o.isPresent(e.propMetadata)){var t=e.propMetadata;return o.isFunction(t)&&t.propMetadata&&(t=t.propMetadata),t}if(o.isPresent(this._reflect)&&o.isPresent(this._reflect.getMetadata)){var t=this._reflect.getMetadata("propMetadata",e);if(o.isPresent(t))return t}return{}},e.prototype.interfaces=function(e){throw new s.BaseException("JavaScript does not support interfaces")},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){var t="if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n return o."+e+".apply(o, args);";return new Function("o","args",t)},e.prototype.importUri=function(e){return"./"},e}();return t.ReflectionCapabilities=a,r.define=i,n.exports}),e.registerDynamic("81",["1f3","8c"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("1f3"),s=e("1f3");t.Reflector=s.Reflector,t.ReflectionInfo=s.ReflectionInfo;var a=e("8c");return t.reflector=new o.Reflector(new a.ReflectionCapabilities),r.define=i,n.exports}),e.registerDynamic("14",["50","19b","19d","39","19e","20","5b","88","1a3","1a4","1a5","57","5e","1e9","82","1ac","1f2","81"],!0,function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}var i=this,o=i.define;i.define=void 0,r(e("50")),r(e("19b")),r(e("19d")),r(e("39")),r(e("19e"));var s=e("20");t.enableProdMode=s.enableProdMode;var a=e("5b");t.platform=a.platform,t.createNgZone=a.createNgZone,t.PlatformRef=a.PlatformRef,t.ApplicationRef=a.ApplicationRef;var u=e("88");t.APP_ID=u.APP_ID,t.APP_COMPONENT=u.APP_COMPONENT,t.APP_INITIALIZER=u.APP_INITIALIZER,t.PACKAGE_ROOT_URL=u.PACKAGE_ROOT_URL,t.PLATFORM_INITIALIZER=u.PLATFORM_INITIALIZER,r(e("1a3")),r(e("1a4")),r(e("1a5"));var c=e("57");return t.DebugElement=c.DebugElement,t.Scope=c.Scope,t.inspectElement=c.inspectElement,t.asNativeElements=c.asNativeElements,r(e("5e")),r(e("1e9")),r(e("82")),r(e("1ac")),r(e("1f2")),r(e("81")),i.define=o,n.exports}),e.registerDynamic("d2",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o={}.toString;return n.exports=function(e){return o.call(e).slice(8,-1)},r.define=i,n.exports}),e.registerDynamic("9a",["d2"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("d2");return n.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)},r.define=i,n.exports}),e.registerDynamic("184",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},r.define=i,n.exports}),e.registerDynamic("189",["9a","184"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("9a"),s=e("184");return n.exports=function(e){return o(s(e))},r.define=i,n.exports}),e.registerDynamic("9b",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e){try{return!!e()}catch(t){return!0}},r.define=i,n.exports}),e.registerDynamic("196",["8f","2d","9b"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("8f"),s=e("2d"),a=e("9b");return n.exports=function(e,t){var n=(s.Object||{})[e]||Object[e],r={};r[e]=t(n),o(o.S+o.F*a(function(){n(1)}),"Object",r)},r.define=i,n.exports}),e.registerDynamic("1f4",["189","196"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("189");return e("196")("getOwnPropertyDescriptor",function(e){return function(t,n){return e(o(t),n)}}),r.define=i,n.exports}),e.registerDynamic("1f5",["99","1f4"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("99");return e("1f4"),n.exports=function(e,t){return o.getDesc(e,t)},r.define=i,n.exports}),e.registerDynamic("1f6",["1f5"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("1f5"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("4",["1f6"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("1f6")["default"];return t["default"]=function(e,t,n){for(var r=!0;r;){var i=e,s=t,a=n;r=!1,null===i&&(i=Function.prototype);var u=o(i,s);if(void 0!==u){if("value"in u)return u.value;var c=u.get;if(void 0===c)return;return c.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=s,n=a,r=!0,u=l=void 0}},t.__esModule=!0,r.define=i,n.exports}),e.registerDynamic("1f7",["99"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("99");return n.exports=function(e,t){return o.create(e,t)},r.define=i,n.exports}),e.registerDynamic("1f8",["1f7"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("1f7"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("ce",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var r=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();return"number"==typeof __g&&(__g=r),r.define=i,n.exports}),e.registerDynamic("8f",["ce","2d","8e"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var r=e("ce"),o=e("2d"),s=e("8e"),a="prototype",u=function(e,t,n){var i,c,l,p=e&u.F,f=e&u.G,d=e&u.S,h=e&u.P,m=e&u.B,v=e&u.W,y=f?o:o[t]||(o[t]={}),g=f?r:d?r[t]:(r[t]||{})[a];f&&(n=t);for(i in n)c=!p&&g&&i in g,c&&i in y||(l=c?g[i]:n[i],y[i]=f&&"function"!=typeof g[i]?n[i]:m&&c?s(l,r):v&&g[i]==l?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[a]=e[a],t}(l):h&&"function"==typeof l?s(Function.call,l):l,h&&((y[a]||(y[a]={}))[i]=l))};return u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,n.exports=u,r.define=i,n.exports}),e.registerDynamic("d0",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e},r.define=i,n.exports}),e.registerDynamic("ca",["d0"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("d0");return n.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e},r.define=i,n.exports}),e.registerDynamic("cb",[],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},r.define=i,n.exports}),e.registerDynamic("8e",["cb"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("cb");return n.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},r.define=i,n.exports}),e.registerDynamic("d8",["99","d0","ca","8e"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("99").getDesc,s=e("d0"),a=e("ca"),u=function(e,t){if(a(e),!s(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};return n.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e("8e")(Function.call,o(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(i){n=!0}return function(e,t){return u(e,t),n?e.__proto__=t:r(e,t),e}}({},!1):void 0),check:u},r.define=i,n.exports}),e.registerDynamic("1f9",["8f","d8"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("8f");return o(o.S,"Object",{setPrototypeOf:e("d8").set}),r.define=i,n.exports}),e.registerDynamic("2d",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=n.exports={version:"1.2.6"};return"number"==typeof __e&&(__e=o),r.define=i,n.exports}),e.registerDynamic("1fa",["1f9","2d"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,e("1f9"),n.exports=e("2d").Object.setPrototypeOf,r.define=i,n.exports}),e.registerDynamic("1fb",["1fa"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("1fa"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("5",["1f8","1fb"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("1f8")["default"],s=e("1fb")["default"];return t["default"]=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=o(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(s?s(e,t):e.__proto__=t)},t.__esModule=!0,r.define=i,n.exports}),e.registerDynamic("99",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=Object;return n.exports={create:o.create,getProto:o.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:o.getOwnPropertyDescriptor,setDesc:o.defineProperty,setDescs:o.defineProperties,getKeys:o.keys,getNames:o.getOwnPropertyNames,getSymbols:o.getOwnPropertySymbols,each:[].forEach},r.define=i,n.exports}),e.registerDynamic("1fc",["99"],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=e("99");return n.exports=function(e,t,n){return o.setDesc(e,t,n)},r.define=i,n.exports}),e.registerDynamic("1fd",["1fc"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports={"default":e("1fc"),__esModule:!0},r.define=i,n.exports}),e.registerDynamic("6",["1fd"],!0,function(e,t,n){"use strict";var r=this,i=r.define;r.define=void 0;var o=e("1fd")["default"];return t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),o(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),t.__esModule=!0,r.define=i,n.exports}),e.registerDynamic("7",[],!0,function(e,t,n){"use strict";var r=this,i=r.define;return r.define=void 0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.__esModule=!0,r.define=i,n.exports}),e.registerDynamic("1fe",[],!0,function(e,t,n){var r=this,i=r.define;r.define=void 0;var o=Object.prototype.hasOwnProperty,s=Object.prototype.toString;return n.exports=function(e,t,n){if("[object Function]"!==s.call(t))throw new TypeError("iterator must be a function");var r=e.length;if(r===+r)for(var i=0;r>i;i++)t.call(n,e[i],i,e);else for(var a in e)o.call(e,a)&&t.call(n,e[a],a,e)},r.define=i,n.exports}),e.registerDynamic("1ff",["1fe"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("1fe"),r.define=i,n.exports}),e.registerDynamic("200",["1ff"],!0,function(e,t,n){"use strict";function r(e,t,n){if(3===arguments.length)return r.set(e,t,n);if(2===arguments.length)return r.get(e,t);var i=r.bind(r,e);for(var o in r)r.hasOwnProperty(o)&&(i[o]=r[o].bind(i,e));return i}var i=this,o=i.define;i.define=void 0;var s=e("1ff");return n.exports=r,r.get=function(e,t){for(var n,i=r.parse(t);i.length;){if(n=i.shift(),!(n in e))throw new Error("Invalid reference token: "+n);e=e[n]}return e},r.set=function(e,t,n){for(var i,o=r.parse(t),s=o[0];o.length>1;)i=o.shift(),"-"===i&&Array.isArray(e)&&(i=e.length),s=o[0],i in e||(s.match(/^(\d+|-)$/)?e[i]=[]:e[i]={}),e=e[i];return"-"===s&&Array.isArray(e)&&(s=e.length),e[s]=n,this},r.remove=function(e,t){var n=r.parse(t),i=n.pop();if(void 0===i)throw new Error('Invalid JSON pointer for remove: "'+t+'"');delete r.get(e,r.compile(n))[i]},r.dict=function(e,t){var n={};return r.walk(e,function(e,t){n[t]=e},t),n},r.walk=function(e,t,n){var i=[];n=n||function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Array]"===t},function o(e){s(e,function(e,s){i.push(String(s)),n(e)?o(e):t(e,r.compile(i)),i.pop()})}(e)},r.has=function(e,t){try{r.get(e,t)}catch(n){return!1}return!0},r.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")},r.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},r.parse=function(e){if(""===e)return[];if("/"!==e.charAt(0))throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(r.unescape)},r.compile=function(e){return 0===e.length?"":"/"+e.map(r.escape).join("/")},i.define=o,n.exports}),e.registerDynamic("201",["200"],!0,function(e,t,n){var r=this,i=r.define;return r.define=void 0,n.exports=e("200"),r.define=i,n.exports}),e.register("c",["4","5","6","7","201"],function(e){var t,n,r,i,o,s;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]}],execute:function(){"use strict";s=function(e){function s(){i(this,s),t(Object.getPrototypeOf(s.prototype),"constructor",this).apply(this,arguments)}return n(s,e),r(s,null,[{key:"baseName",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?1:arguments[1],n=s.parse(e);return n[n.length-t]}},{key:"dirName",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?1:arguments[1],n=s.parse(e);return s.compile(n.slice(0,n.length-t))}},{key:"parse",value:function(e){var t=e;return"#"===t.charAt(0)&&(t=t.substring(1)),o._origParse(t)}},{key:"join",value:function(e,t){var n=s.parse(e),r=n.concat(t);return s.compile(r)}}]),s}(o),e("JsonPointer",s),o._origParse=o.parse,o.parse=s.parse,e("default",s)}}}),e.register("a",["3","4","5","6","7","14","24","97","c"],function(e){var t,n,r,i,o,s,a,u,c,l,p;return{setters:[function(e){t=e.RedocComponent,n=e.BaseComponent},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e.ElementRef},function(e){u=e["default"]},function(e){c=e["default"]},function(e){l=e["default"]}],execute:function(){"use strict";p=function(e){function n(e,t){s(this,a),r(Object.getPrototypeOf(a.prototype),"constructor",this).call(this,e),this.element=t.nativeElement}i(n,e),o(n,[{key:"prepareModel",value:function(){var e=this;if(this.data={},this.data.properties=[],!this.componentSchema)return this.errorMessage="Can't load component schema",void console.warn(this.errorMessage+": "+this.pointer);this.dereference();var t=this.componentSchema;if("array"===t.type&&(this.isArray=!0,t=t.items),this.joinAllOf(t),"object"!==t.type)return this.isTrivial=!0,this._displayType=t.type,void(t.format&&(this._displayType=this.displayType+" <"+t.format+">"));if(this.pointer=t._pointer||this.pointer,this.requiredMap={},this.schema.required&&this.schema.required.forEach(function(t){return e.requiredMap[t]=!0}),!t.properties)return this.isTrivial=!0,void(this._displayType=t.type+" (Custom key-value pairs)");var n=u(t.properties).map(function(n){var r=t.properties[n];return e.injectPropData(n,r),r});this.data.properties=n}},{key:"adjustNameColumnWidth",value:function(){var e=[].slice.call(this.element.querySelectorAll(".param-name")),t=e.map(function(e){return e.offsetWidth}),n=Math.max.apply(Math,c(t));n&&e.forEach(function(e){e.style.minWidth=n+"px"})}},{key:"injectPropData",value:function(e,t){if(t._name=e,t.isRequired=this.requiredMap[e],t._displayType=t.type,"array"===t.type){var n=t.items.type,r=t.items.format;"object"===n&&(n=t.items.title||"object",t._pointer=t.items._pointer||l.join(this.pointer,["properties",e,"items"])),t._displayType="array of "+n,t.format=r,t._isArray=!0}"object"===t.type&&(t._displayType=t.title||"object"),t.format&&(t._displayFormat="<"+t.format+">")}},{key:"init",value:function(){var e=this;setTimeout(function(){return e.adjustNameColumnWidth()})}}]);var a=n;return n=t({selector:"json-schema",template:'\n <small *ngIf="errorMessage">{{errorMessage}}</small>\n <span *ngIf="isTrivial" class="param-type param-type-trivial" [ngClass]="type">{{_displayType}}</span>\n <div *ngIf="!isTrivial" class="params-wrap" [ngClass]="{\'params-array\': isArray}">\n <div *ngFor="#prop of data.properties" class="param-wrap">\n <div class="param">\n <div class="param-name">\n <span>{{prop._name}}</span>\n </div>\n <div class="param-info">\n <div>\n <span class="param-type" [ngClass]="prop.type">{{prop._displayType}} {{prop._displayFormat}}</span>\n <span *ngIf="prop.isRequired" class="param-required">Required</span>\n </div>\n <div class="param-description" innerHtml="{{prop.description | marked}}"></div>\n </div>\n </div>\n <div class="param-schema" [ngClass]="{\'param-array\': prop._isArray}" *ngIf="prop._pointer">\n <json-schema pointer="{{prop._pointer}}" [isArray]=\'prop._isArray\'>\n </json-schema>\n </div>\n </div>\n </div>\n ',styles:['\n .param-schema {\n padding-left: 12.5px;\n border-left: 1px solid #7D97CE; }\n\n .param-wrap {\n position: relative; }\n\n .param-schema:before {\n content: "";\n position: absolute;\n left: 13.5px;\n top: 20px;\n bottom: 0;\n border-left: 1px solid #7D97CE; }\n\n .param-name {\n font-size: 14px;\n padding: 10px 25px 10px 0;\n font-weight: bold;\n box-sizing: border-box;\n line-height: 20px;\n border-left: 1px solid #7D97CE;\n white-space: nowrap;\n position: relative; }\n .param-name > span {\n vertical-align: middle; }\n\n .param-info {\n width: 100%;\n padding: 10px 0;\n box-sizing: border-box;\n border-bottom: 1px solid #ccc; }\n\n .param {\n display: flex; }\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 text-transform: capitalize;\n color: #999;\n font-size: 12px;\n line-height: 20px;\n vertical-align: middle;\n font-weight: bold; }\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: 7px;\n height: 7px;\n background-color: #7D97CE;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid #7D97CE;\n width: 10px;\n left: 0;\n top: 20px; }\n\n .param-wrap:first-of-type .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 1px solid white;\n height: 20px; }\n\n .param-wrap:last-of-type > .param > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n border-left: 1px solid white;\n top: 21px;\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 /* styles for array-schema for array */\n .params-wrap.params-array:before, .params-wrap.params-array:after {\n display: block;\n font-weight: bold;\n color: #999;\n font-size: 12px;\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\n .params-wrap.params-array {\n padding-left: 10px; }\n\n .param-schema.param-array:before {\n bottom: 9px;\n width: 10px;\n border-left-style: dashed;\n border-bottom: 1px dashed #7D97CE; }\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: 1px solid white;\n height: 20px; }\n '],directives:[n],inputs:["isArray"]})(n)||n}(n),e("default",p),p.parameters=p.parameters.concat([[a]])}}}),e.register("202",["2","8","9","10","b","1a","d","e","f","1c","a"],function(e){"use strict";var t,n,r,i,o,s,a,u,c,l,p,f;return{setters:[function(e){t=e["default"]},function(e){n=e["default"]},function(e){r=e["default"]},function(e){i=e["default"]},function(e){o=e["default"]},function(e){s=e["default"]},function(e){a=e["default"]},function(e){u=e["default"]},function(e){c=e["default"]},function(e){l=e["default"]},function(e){p=e["default"]}],execute:function(){f=[t,n,p,o,i,r,s,a,u,c,l],e("ApiInfo",t),e("ApiLogo",n),e("JsonSchema",p),e("Method",o),e("MethodsList",i),e("ParamsList",r),e("Redoc",s),e("ResponsesList",a),e("ResponsesSamples",u),e("SchemaSample",c),e("SideMenu",l),e("REDOC_COMPONENTS",f)}}}),e.register("1",["202"],function(e){"use strict";var t,n;return{setters:[function(e){t=e.Redoc}],execute:function(){n=t.init,e("init",n),window.Redoc=t}}})})(function(e){"function"==typeof define&&define.amd?define([],e):e()});
|
||
//# sourceMappingURL=redoc.full.min.js.map
|