redoc/dist/redoc.min.js

999 lines
1.0 MiB
JavaScript
Raw Normal View History

2016-01-25 00:27:39 +03:00
!function e(t,n,r){function o(u,a){if(!n[u]){if(!t[u]){var s="function"==typeof require&&require;if(!a&&s)return s(u,!0);if(i)return i(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[u]={exports:{}};t[u][0].call(f.exports,function(e){var n=t[u][1][e];return o(n?n:e)},f,f.exports,e,t,n,r)}return n[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(e,t,n){(function(t){"use strict";var n=e("../core"),r=e("../microtask"),o=e("../patch/browser"),i=e("es6-promise");t.Zone&&console.warn("Zone already exported on window the object!"),t.Zone=r.addMicrotaskSupport(n.Zone),t.zone=new t.Zone,t.Promise=i.Promise,o.apply()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../core":2,"../microtask":4,"../patch/browser":5,"es6-promise":17}],2:[function(e,t,n){(function(n){"use strict";function r(e,t){var n=arguments.length?Object.create(e):this;return n.parent=e||null,Object.keys(t||{}).forEach(function(r){var o=r.substr(1);"$"===r[0]?n[o]=t[r](e[o]||function(){}):"+"===r[0]?e[o]?n[o]=function(){var n=e[o].apply(this,arguments);return t[r].apply(this,arguments),n}:n[o]=t[r]:"-"===r[0]?e[o]?n[o]=function(){return t[r].apply(this,arguments),e[o].apply(this,arguments)}:n[o]=t[r]:n[r]="object"==typeof t[r]?JSON.parse(JSON.stringify(t[r])):t[r]}),n.$id=r.nextId++,n}var o=e("./keys");r.prototype={constructor:r,fork:function(e){return this.onZoneCreated(),new r(this,e)},bind:function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);t||this.enqueueTask(e);var n=this.isRootZone()?this:this.fork();return function(){return n.run(e,this,arguments)}},bindOnce:function(e){var t=this;return this.bind(function(){var n=e.apply(this,arguments);return t.dequeueTask(e),n})},isRootZone:function(){return null===this.parent},run:function(e,t,r){r=r||[];var o=n.zone;n.zone=this;try{return this.beforeTask(),e.apply(t,r)}catch(i){if(!this.onError)throw i;this.onError(i)}finally{this.afterTask(),n.zone=o}},onError:null,beforeTask:function(){},onZoneCreated:function(){},afterTask:function(){},enqueueTask:function(){},dequeueTask:function(){},addEventListener:function(){return this[o.common.addEventListener].apply(this,arguments)},removeEventListener:function(){return this[o.common.removeEventListener].apply(this,arguments)}},r.nextId=1,r.bindPromiseFn=e("./patch/promise").bindPromiseFn,t.exports={Zone:r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./keys":3,"./patch/promise":12}],3:[function(e,t,n){function r(e){return"_zone$"+e}var o={addEventListener:r("addEventListener"),removeEventListener:r("removeEventListener")};t.exports={create:r,common:o}},{}],4:[function(e,t,n){(function(n){"use strict";function r(e){s._asap(this.bind(e))}function o(e){return e.prototype.scheduleMicrotask=r,e}var i,u="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]"),a=n.navigator&&n.navigator.userAgent.toLowerCase().indexOf("firefox")>-1;u&&!a&&(i=Promise.resolve());var s=e("es6-promise").Promise;i&&s._setScheduler(function(e){i.then(e)}),s._setAsap(function(e,t){n.zone.scheduleMicrotask(function(){e(t)})}),t.exports={addMicrotaskSupport:o}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"es6-promise":17}],5:[function(e,t,n){(function(n){"use strict";function r(){o.patchSetClearFunction(n,["timeout","interval","immediate"]),o.patchRequestAnimationFrame(n,["requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame"]),o.patchFunction(n,["alert","prompt"]),c.apply(),f.apply(),i.apply(),u.patchClass("MutationObserver"),u.patchClass("WebKitMutationObserver"),a.apply(),s.apply(),p.apply(),l.apply()}var o=e("./functions"),i=e("./promise"),u=e("./mutation-observer"),a=e("./define-property"),s=e("./register-element"),c=(e("./websocket"),e("./event-target")),f=e("./property-descriptor"),p=e("./geolocation"),l=e("./fil
/*! *****************************************************************************
Copyright (C) Microsoft. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
2016-02-03 18:07:28 +03:00
"use strict";
2016-01-25 00:27:39 +03:00
var Reflect;
(function (Reflect) {
// Load global or shim versions of Map, Set, and WeakMap
var functionPrototype = Object.getPrototypeOf(Function);
var _Map = typeof Map === "function" ? Map : CreateMapPolyfill();
var _Set = typeof Set === "function" ? Set : CreateSetPolyfill();
var _WeakMap = typeof WeakMap === "function" ? WeakMap : CreateWeakMapPolyfill();
// [[Metadata]] internal slot
var __Metadata__ = new _WeakMap();
/**
* Applies a set of decorators to a property of a target object.
* @param decorators An array of decorators.
* @param target The target object.
* @param targetKey (Optional) The property key to decorate.
* @param targetDescriptor (Optional) The property descriptor for the target key
* @remarks Decorators are applied in reverse order.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* C = Reflect.decorate(decoratorsArray, C);
*
* // property (on constructor)
* Reflect.decorate(decoratorsArray, C, "staticProperty");
*
* // property (on prototype)
* Reflect.decorate(decoratorsArray, C.prototype, "property");
*
* // method (on constructor)
* Object.defineProperty(C, "staticMethod",
* Reflect.decorate(decoratorsArray, C, "staticMethod",
* Object.getOwnPropertyDescriptor(C, "staticMethod")));
*
* // method (on prototype)
* Object.defineProperty(C.prototype, "method",
* Reflect.decorate(decoratorsArray, C.prototype, "method",
* Object.getOwnPropertyDescriptor(C.prototype, "method")));
*
*/
function decorate(decorators, target, targetKey, targetDescriptor) {
if (!IsUndefined(targetDescriptor)) {
if (!IsArray(decorators)) {
throw new TypeError();
}
else if (!IsObject(target)) {
throw new TypeError();
}
else if (IsUndefined(targetKey)) {
throw new TypeError();
}
else if (!IsObject(targetDescriptor)) {
throw new TypeError();
}
targetKey = ToPropertyKey(targetKey);
return DecoratePropertyWithDescriptor(decorators, target, targetKey, targetDescriptor);
}
else if (!IsUndefined(targetKey)) {
if (!IsArray(decorators)) {
throw new TypeError();
}
else if (!IsObject(target)) {
throw new TypeError();
}
targetKey = ToPropertyKey(targetKey);
return DecoratePropertyWithoutDescriptor(decorators, target, targetKey);
}
else {
if (!IsArray(decorators)) {
throw new TypeError();
}
else if (!IsConstructor(target)) {
throw new TypeError();
}
return DecorateConstructor(decorators, target);
}
}
Reflect.decorate = decorate;
/**
* A default metadata decorator factory that can be used on a class, class member, or parameter.
* @param metadataKey The key for the metadata entry.
* @param metadataValue The value for the metadata entry.
* @returns A decorator function.
* @remarks
* If `metadataKey` is already defined for the target and target key, the
* metadataValue for that key will be overwritten.
* @example
*
* // constructor
* @Reflect.metadata(key, value)
* class C {
* }
*
* // property (on constructor, TypeScript only)
* class C {
* @Reflect.metadata(key, value)
* static staticProperty;
* }
*
* // property (on prototype, TypeScript only)
* class C {
* @Reflect.metadata(key, value)
* property;
* }
*
* // method (on constructor)
* class C {
* @Reflect.metadata(key, value)
* static staticMethod() { }
* }
*
* // method (on prototype)
* class C {
* @Reflect.metadata(key, value)
* method() { }
* }
*
*/
function metadata(metadataKey, metadataValue) {
function decorator(target, targetKey) {
if (!IsUndefined(targetKey)) {
if (!IsObject(target)) {
throw new TypeError();
}
targetKey = ToPropertyKey(targetKey);
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);
}
else {
if (!IsConstructor(target)) {
throw new TypeError();
}
2016-02-03 18:07:28 +03:00
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, undefined);
2016-01-25 00:27:39 +03:00
}
}
return decorator;
}
Reflect.metadata = metadata;
/**
* Define a unique metadata entry on the target.
* @param metadataKey A key used to store and retrieve metadata.
* @param metadataValue A value that contains attached metadata.
* @param target The target object on which to define metadata.
* @param targetKey (Optional) The property key for the target.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* Reflect.defineMetadata("custom:annotation", options, C);
*
* // property (on constructor)
* Reflect.defineMetadata("custom:annotation", options, C, "staticProperty");
*
* // property (on prototype)
* Reflect.defineMetadata("custom:annotation", options, C.prototype, "property");
*
* // method (on constructor)
* Reflect.defineMetadata("custom:annotation", options, C, "staticMethod");
*
* // method (on prototype)
* Reflect.defineMetadata("custom:annotation", options, C.prototype, "method");
*
* // decorator factory as metadata-producing annotation.
* function MyAnnotation(options): Decorator {
* return (target, key?) => Reflect.defineMetadata("custom:annotation", options, target, key);
* }
*
*/
function defineMetadata(metadataKey, metadataValue, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);
}
Reflect.defineMetadata = defineMetadata;
/**
* Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.hasMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.hasMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.hasMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.hasMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.hasMetadata("custom:annotation", C.prototype, "method");
*
*/
function hasMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryHasMetadata(metadataKey, target, targetKey);
}
Reflect.hasMetadata = hasMetadata;
/**
* Gets a value indicating whether the target object has the provided metadata key defined.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns `true` if the metadata key was defined on the target object; otherwise, `false`.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.hasOwnMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.hasOwnMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.hasOwnMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.hasOwnMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.hasOwnMetadata("custom:annotation", C.prototype, "method");
*
*/
function hasOwnMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryHasOwnMetadata(metadataKey, target, targetKey);
}
Reflect.hasOwnMetadata = hasOwnMetadata;
/**
* Gets the metadata value for the provided metadata key on the target object or its prototype chain.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns The metadata value for the metadata key if found; otherwise, `undefined`.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.getMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.getMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.getMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.getMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.getMetadata("custom:annotation", C.prototype, "method");
*
*/
function getMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryGetMetadata(metadataKey, target, targetKey);
}
Reflect.getMetadata = getMetadata;
/**
* Gets the metadata value for the provided metadata key on the target object.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns The metadata value for the metadata key if found; otherwise, `undefined`.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.getOwnMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.getOwnMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.getOwnMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.getOwnMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.getOwnMetadata("custom:annotation", C.prototype, "method");
*
*/
function getOwnMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryGetOwnMetadata(metadataKey, target, targetKey);
}
Reflect.getOwnMetadata = getOwnMetadata;
/**
* Gets the metadata keys defined on the target object or its prototype chain.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns An array of unique metadata keys.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.getMetadataKeys(C);
*
* // property (on constructor)
* result = Reflect.getMetadataKeys(C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.getMetadataKeys(C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.getMetadataKeys(C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.getMetadataKeys(C.prototype, "method");
*
*/
function getMetadataKeys(target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryMetadataKeys(target, targetKey);
}
Reflect.getMetadataKeys = getMetadataKeys;
/**
* Gets the unique metadata keys defined on the target object.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns An array of unique metadata keys.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.getOwnMetadataKeys(C);
*
* // property (on constructor)
* result = Reflect.getOwnMetadataKeys(C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.getOwnMetadataKeys(C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.getOwnMetadataKeys(C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.getOwnMetadataKeys(C.prototype, "method");
*
*/
function getOwnMetadataKeys(target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryOwnMetadataKeys(target, targetKey);
}
Reflect.getOwnMetadataKeys = getOwnMetadataKeys;
/**
* Deletes the metadata entry from the target object with the provided key.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns `true` if the metadata entry was found and deleted; otherwise, false.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.deleteMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.deleteMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.deleteMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.deleteMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.deleteMetadata("custom:annotation", C.prototype, "method");
*
*/
function deleteMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#deletemetadata-metadatakey-p-
2016-02-03 18:07:28 +03:00
var metadataMap = GetOrCreateMetadataMap(target, targetKey, false);
2016-01-25 00:27:39 +03:00
if (IsUndefined(metadataMap)) {
return false;
}
if (!metadataMap.delete(metadataKey)) {
return false;
}
if (metadataMap.size > 0) {
return true;
}
var targetMetadata = __Metadata__.get(target);
targetMetadata.delete(targetKey);
if (targetMetadata.size > 0) {
return true;
}
__Metadata__.delete(target);
return true;
}
Reflect.deleteMetadata = deleteMetadata;
function DecorateConstructor(decorators, target) {
for (var i = decorators.length - 1; i >= 0; --i) {
var decorator = decorators[i];
var decorated = decorator(target);
if (!IsUndefined(decorated)) {
if (!IsConstructor(decorated)) {
throw new TypeError();
}
target = decorated;
}
}
return target;
}
function DecoratePropertyWithDescriptor(decorators, target, propertyKey, descriptor) {
for (var i = decorators.length - 1; i >= 0; --i) {
var decorator = decorators[i];
var decorated = decorator(target, propertyKey, descriptor);
if (!IsUndefined(decorated)) {
if (!IsObject(decorated)) {
throw new TypeError();
}
descriptor = decorated;
}
}
return descriptor;
}
function DecoratePropertyWithoutDescriptor(decorators, target, propertyKey) {
for (var i = decorators.length - 1; i >= 0; --i) {
var decorator = decorators[i];
decorator(target, propertyKey);
}
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#getorcreatemetadatamap--o-p-create-
function GetOrCreateMetadataMap(target, targetKey, create) {
var targetMetadata = __Metadata__.get(target);
if (!targetMetadata) {
if (!create) {
return undefined;
}
targetMetadata = new _Map();
__Metadata__.set(target, targetMetadata);
}
var keyMetadata = targetMetadata.get(targetKey);
if (!keyMetadata) {
if (!create) {
return undefined;
}
keyMetadata = new _Map();
targetMetadata.set(targetKey, keyMetadata);
}
return keyMetadata;
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasmetadata--metadatakey-o-p-
function OrdinaryHasMetadata(MetadataKey, O, P) {
var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
if (hasOwn) {
return true;
}
var parent = GetPrototypeOf(O);
if (parent !== null) {
return OrdinaryHasMetadata(MetadataKey, parent, P);
}
return false;
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasownmetadata--metadatakey-o-p-
function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
2016-02-03 18:07:28 +03:00
var metadataMap = GetOrCreateMetadataMap(O, P, false);
2016-01-25 00:27:39 +03:00
if (metadataMap === undefined) {
return false;
}
return Boolean(metadataMap.has(MetadataKey));
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetmetadata--metadatakey-o-p-
function OrdinaryGetMetadata(MetadataKey, O, P) {
var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
if (hasOwn) {
return OrdinaryGetOwnMetadata(MetadataKey, O, P);
}
var parent = GetPrototypeOf(O);
if (parent !== null) {
return OrdinaryGetMetadata(MetadataKey, parent, P);
}
return undefined;
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetownmetadata--metadatakey-o-p-
function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
2016-02-03 18:07:28 +03:00
var metadataMap = GetOrCreateMetadataMap(O, P, false);
2016-01-25 00:27:39 +03:00
if (metadataMap === undefined) {
return undefined;
}
return metadataMap.get(MetadataKey);
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarydefineownmetadata--metadatakey-metadatavalue-o-p-
function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
2016-02-03 18:07:28 +03:00
var metadataMap = GetOrCreateMetadataMap(O, P, true);
2016-01-25 00:27:39 +03:00
metadataMap.set(MetadataKey, MetadataValue);
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarymetadatakeys--o-p-
function OrdinaryMetadataKeys(O, P) {
var ownKeys = OrdinaryOwnMetadataKeys(O, P);
var parent = GetPrototypeOf(O);
if (parent === null) {
return ownKeys;
}
var parentKeys = OrdinaryMetadataKeys(parent, P);
if (parentKeys.length <= 0) {
return ownKeys;
}
if (ownKeys.length <= 0) {
return parentKeys;
}
var set = new _Set();
var keys = [];
for (var _i = 0; _i < ownKeys.length; _i++) {
var key = ownKeys[_i];
var hasKey = set.has(key);
if (!hasKey) {
set.add(key);
keys.push(key);
}
}
for (var _a = 0; _a < parentKeys.length; _a++) {
var key = parentKeys[_a];
var hasKey = set.has(key);
if (!hasKey) {
set.add(key);
keys.push(key);
}
}
return keys;
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryownmetadatakeys--o-p-
function OrdinaryOwnMetadataKeys(target, targetKey) {
2016-02-03 18:07:28 +03:00
var metadataMap = GetOrCreateMetadataMap(target, targetKey, false);
2016-01-25 00:27:39 +03:00
var keys = [];
if (metadataMap) {
metadataMap.forEach(function (_, key) { return keys.push(key); });
}
return keys;
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-undefined-type
function IsUndefined(x) {
return x === undefined;
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray
function IsArray(x) {
return Array.isArray(x);
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-type
function IsObject(x) {
return typeof x === "object" ? x !== null : typeof x === "function";
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor
function IsConstructor(x) {
return typeof x === "function";
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-symbol-type
function IsSymbol(x) {
return typeof x === "symbol";
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey
function ToPropertyKey(value) {
if (IsSymbol(value)) {
return value;
}
return String(value);
}
function GetPrototypeOf(O) {
var proto = Object.getPrototypeOf(O);
if (typeof O !== "function" || O === functionPrototype) {
return proto;
}
// TypeScript doesn't set __proto__ in ES5, as it's non-standard.
// Try to determine the superclass constructor. Compatible implementations
// must either set __proto__ on a subclass constructor to the superclass constructor,
// or ensure each class has a valid `constructor` property on its prototype that
// points back to the constructor.
// If this is not the same as Function.[[Prototype]], then this is definately inherited.
// This is the case when in ES6 or when using __proto__ in a compatible browser.
if (proto !== functionPrototype) {
return proto;
}
// If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.
var prototype = O.prototype;
var prototypeProto = Object.getPrototypeOf(prototype);
if (prototypeProto == null || prototypeProto === Object.prototype) {
return proto;
}
// if the constructor was not a function, then we cannot determine the heritage.
var constructor = prototypeProto.constructor;
if (typeof constructor !== "function") {
return proto;
}
// if we have some kind of self-reference, then we cannot determine the heritage.
if (constructor === O) {
return proto;
}
// we have a pretty good guess at the heritage.
return constructor;
}
// naive Map shim
function CreateMapPolyfill() {
var cacheSentinel = {};
function Map() {
this._keys = [];
this._values = [];
this._cache = cacheSentinel;
}
Map.prototype = {
get size() {
return this._keys.length;
},
has: function (key) {
if (key === this._cache) {
return true;
}
if (this._find(key) >= 0) {
this._cache = key;
return true;
}
return false;
},
get: function (key) {
var index = this._find(key);
if (index >= 0) {
this._cache = key;
return this._values[index];
}
return undefined;
},
set: function (key, value) {
this.delete(key);
this._keys.push(key);
this._values.push(value);
this._cache = key;
return this;
},
delete: function (key) {
var index = this._find(key);
if (index >= 0) {
this._keys.splice(index, 1);
this._values.splice(index, 1);
this._cache = cacheSentinel;
return true;
}
return false;
},
clear: function () {
this._keys.length = 0;
this._values.length = 0;
this._cache = cacheSentinel;
},
forEach: function (callback, thisArg) {
var size = this.size;
for (var i = 0; i < size; ++i) {
var key = this._keys[i];
var value = this._values[i];
this._cache = key;
callback.call(this, value, key, this);
}
},
_find: function (key) {
var keys = this._keys;
var size = keys.length;
for (var i = 0; i < size; ++i) {
if (keys[i] === key) {
return i;
}
}
return -1;
}
};
return Map;
}
// naive Set shim
function CreateSetPolyfill() {
var cacheSentinel = {};
function Set() {
this._map = new _Map();
}
Set.prototype = {
get size() {
return this._map.length;
},
has: function (value) {
return this._map.has(value);
},
add: function (value) {
this._map.set(value, value);
return this;
},
delete: function (value) {
return this._map.delete(value);
},
clear: function () {
this._map.clear();
},
forEach: function (callback, thisArg) {
this._map.forEach(callback, thisArg);
}
};
return Set;
}
// naive WeakMap shim
function CreateWeakMapPolyfill() {
var UUID_SIZE = 16;
var isNode = typeof global !== "undefined" && Object.prototype.toString.call(global.process) === '[object process]';
var nodeCrypto = isNode && require("crypto");
var hasOwn = Object.prototype.hasOwnProperty;
var keys = {};
var rootKey = CreateUniqueKey();
function WeakMap() {
this._key = CreateUniqueKey();
}
WeakMap.prototype = {
has: function (target) {
2016-02-03 18:07:28 +03:00
var table = GetOrCreateWeakMapTable(target, false);
2016-01-25 00:27:39 +03:00
if (table) {
return this._key in table;
}
return false;
},
get: function (target) {
2016-02-03 18:07:28 +03:00
var table = GetOrCreateWeakMapTable(target, false);
2016-01-25 00:27:39 +03:00
if (table) {
return table[this._key];
}
return undefined;
},
set: function (target, value) {
2016-02-03 18:07:28 +03:00
var table = GetOrCreateWeakMapTable(target, true);
2016-01-25 00:27:39 +03:00
table[this._key] = value;
return this;
},
delete: function (target) {
2016-02-03 18:07:28 +03:00
var table = GetOrCreateWeakMapTable(target, false);
2016-01-25 00:27:39 +03:00
if (table && this._key in table) {
return delete table[this._key];
}
return false;
},
clear: function () {
// NOTE: not a real clear, just makes the previous data unreachable
this._key = CreateUniqueKey();
}
};
function FillRandomBytes(buffer, size) {
for (var i = 0; i < size; ++i) {
buffer[i] = Math.random() * 255 | 0;
}
}
function GenRandomBytes(size) {
if (nodeCrypto) {
var data = nodeCrypto.randomBytes(size);
return data;
}
else if (typeof Uint8Array === "function") {
var data = new Uint8Array(size);
if (typeof crypto !== "undefined") {
crypto.getRandomValues(data);
}
else if (typeof msCrypto !== "undefined") {
msCrypto.getRandomValues(data);
}
else {
FillRandomBytes(data, size);
}
return data;
}
else {
var data = new Array(size);
FillRandomBytes(data, size);
return data;
}
}
function CreateUUID() {
var data = GenRandomBytes(UUID_SIZE);
// mark as random - RFC 4122 § 4.4
data[6] = data[6] & 0x4f | 0x40;
data[8] = data[8] & 0xbf | 0x80;
var result = "";
for (var offset = 0; offset < UUID_SIZE; ++offset) {
var byte = data[offset];
if (offset === 4 || offset === 6 || offset === 8) {
result += "-";
}
if (byte < 16) {
result += "0";
}
result += byte.toString(16).toLowerCase();
}
return result;
}
function CreateUniqueKey() {
var key;
do {
key = "@@WeakMap@@" + CreateUUID();
} while (hasOwn.call(keys, key));
keys[key] = true;
return key;
}
function GetOrCreateWeakMapTable(target, create) {
if (!hasOwn.call(target, rootKey)) {
if (!create) {
return undefined;
}
Object.defineProperty(target, rootKey, { value: Object.create(null) });
}
return target[rootKey];
}
return WeakMap;
}
// hook global Reflect
(function (__global) {
if (typeof __global.Reflect !== "undefined") {
if (__global.Reflect !== Reflect) {
for (var p in Reflect) {
__global.Reflect[p] = Reflect[p];
}
}
}
else {
__global.Reflect = Reflect;
}
})(typeof window !== "undefined" ? window :
typeof WorkerGlobalScope !== "undefined" ? self :
typeof global !== "undefined" ? global :
Function("return this;")());
})(Reflect || (Reflect = {}));
!function e(t,n,r){function s(i,u){if(!n[i]){if(!t[i]){var c="function"==typeof require&&require;if(!u&&c)return c(i,!0);if(o)return o(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var f=n[i]={exports:{}};t[i][0].call(f.exports,function(n){var e=t[i][1][n];return s(e?e:n)},f,f.exports,e,t,n,r)}return n[i].exports}for(var o="function"==typeof require&&require,i=0;i<r.length;i++)s(r[i]);return s}({1:[function(t,n,e){(function(n){"use strict";if(t(189),t(2),n._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");n._babelPolyfill=!0}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{189:189,2:2}],2:[function(t,n,e){n.exports=t(190)},{190:190}],3:[function(t,n,e){n.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],4:[function(t,n,e){var r=t(84)("unscopables"),o=Array.prototype;void 0==o[r]&&t(32)(o,r,{}),n.exports=function(t){o[r][t]=!0}},{32:32,84:84}],5:[function(t,n,e){var r=t(39);n.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},{39:39}],6:[function(t,n,e){"use strict";var r=t(81),o=t(77),i=t(80);n.exports=[].copyWithin||function copyWithin(t,n){var e=r(this),u=i(e.length),c=o(t,u),a=o(n,u),s=arguments,f=s.length>2?s[2]:void 0,l=Math.min((void 0===f?u:o(f,u))-a,u-c),h=1;for(c>a&&a+l>c&&(h=-1,a+=l-1,c+=l-1);l-- >0;)a in e?e[c]=e[a]:delete e[c],c+=h,a+=h;return e}},{77:77,80:80,81:81}],7:[function(t,n,e){"use strict";var r=t(81),o=t(77),i=t(80);n.exports=[].fill||function fill(t){for(var n=r(this,!0),e=i(n.length),u=arguments,c=u.length,a=o(c>1?u[1]:void 0,e),s=c>2?u[2]:void 0,f=void 0===s?e:o(s,e);f>a;)n[a++]=t;return n}},{77:77,80:80,81:81}],8:[function(t,n,e){var r=t(79),o=t(80),i=t(77);n.exports=function(t){return function(n,e,u){var c,a=r(n),s=o(a.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if(c=a[f++],c!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f;return!t&&-1}}},{77:77,79:79,80:80}],9:[function(t,n,e){var r=t(18),o=t(35),i=t(81),u=t(80),c=t(10);n.exports=function(t){var n=1==t,e=2==t,a=3==t,s=4==t,f=6==t,l=5==t||f;return function(h,p,v){for(var g,y,d=i(h),m=o(d),x=r(p,v,3),S=u(m.length),b=0,w=n?c(h,S):e?c(h,0):void 0;S>b;b++)if((l||b in m)&&(g=m[b],y=x(g,b,d),t))if(n)w[b]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return b;case 2:w.push(g)}else if(s)return!1;return f?-1:a||s?s:w}}},{10:10,18:18,35:35,80:80,81:81}],10:[function(t,n,e){var r=t(39),o=t(37),i=t(84)("species");n.exports=function(t,n){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&(e=e[i],null===e&&(e=void 0))),new(void 0===e?Array:e)(n)}},{37:37,39:39,84:84}],11:[function(t,n,e){var r=t(12),o=t(84)("toStringTag"),i="Arguments"==r(function(){return arguments}());n.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=(n=Object(t))[o])?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},{12:12,84:84}],12:[function(t,n,e){var r={}.toString;n.exports=function(t){return r.call(t).slice(8,-1)}},{}],13:[function(t,n,e){"use strict";var r=t(47),o=t(32),i=t(54),u=t(18),c=t(70),a=t(20),s=t(28),f=t(43),l=t(45),h=t(83)("id"),p=t(31),v=t(39),g=t(66),y=t(21),d=Object.isExtensible||v,m=y?"_s":"size",x=0,S=function(t,n){if(!v(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!p(t,h)){if(!d(t))return"F";if(!n)return"E";o(t,h,++x)}return"O"+t[h]},b=function(t,n){var e,r=S(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};n.exports={getConstructor:function(t,n,e,o){var f=t(function(t,i){c(t,f,n),t._i=r.create(null),t._f=void 0,t._l=void 0,t[m]=0,void 0!=i&&s(i,e,t[o],t)});return i(f.prototype,{clear:function clear(){for(var t=this,n=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete n[e.i];t._f=t._l=void 0,t[m]=0},"delete":function(t){var n=this,e=b(n,t);if(e){var r=e.n,o=e.p;delete n._i[e.i],e.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==e&&(n._f=r),n._l==e&&(n._l=o),n[m]--}return!!e},
}})},{19:19,50:50}],114:[function(t,n,e){var r=t(19);r(r.S,"Math",{trunc:function trunc(t){return(t>0?Math.floor:Math.ceil)(t)}})},{19:19}],115:[function(t,n,e){"use strict";var r=t(47),o=t(30),i=t(31),u=t(12),c=t(82),a=t(25),s=t(75).trim,f="Number",l=o[f],h=l,p=l.prototype,v=u(r.create(p))==f,g="trim"in String.prototype,y=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){n=g?n.trim():s(n,3);var e,r,o,i=n.charCodeAt(0);if(43===i||45===i){if(e=n.charCodeAt(2),88===e||120===e)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var u,a=n.slice(2),f=0,l=a.length;l>f;f++)if(u=a.charCodeAt(f),48>u||u>o)return NaN;return parseInt(a,r)}}return+n};l(" 0o1")&&l("0b1")&&!l("+0x1")||(l=function Number(t){var n=arguments.length<1?0:t,e=this;return e instanceof l&&(v?a(function(){p.valueOf.call(e)}):u(e)!=f)?new h(y(n)):y(n)},r.each.call(t(21)?r.getNames(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(t){i(h,t)&&!i(l,t)&&r.setDesc(l,t,r.getDesc(h,t))}),l.prototype=p,p.constructor=l,t(62)(o,f,l))},{12:12,21:21,25:25,30:30,31:31,47:47,62:62,75:75,82:82}],116:[function(t,n,e){var r=t(19);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},{19:19}],117:[function(t,n,e){var r=t(19),o=t(30).isFinite;r(r.S,"Number",{isFinite:function isFinite(t){return"number"==typeof t&&o(t)}})},{19:19,30:30}],118:[function(t,n,e){var r=t(19);r(r.S,"Number",{isInteger:t(38)})},{19:19,38:38}],119:[function(t,n,e){var r=t(19);r(r.S,"Number",{isNaN:function isNaN(t){return t!=t}})},{19:19}],120:[function(t,n,e){var r=t(19),o=t(38),i=Math.abs;r(r.S,"Number",{isSafeInteger:function isSafeInteger(t){return o(t)&&i(t)<=9007199254740991}})},{19:19,38:38}],121:[function(t,n,e){var r=t(19);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{19:19}],122:[function(t,n,e){var r=t(19);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{19:19}],123:[function(t,n,e){var r=t(19);r(r.S,"Number",{parseFloat:parseFloat})},{19:19}],124:[function(t,n,e){var r=t(19);r(r.S,"Number",{parseInt:parseInt})},{19:19}],125:[function(t,n,e){var r=t(19);r(r.S+r.F,"Object",{assign:t(55)})},{19:19,55:55}],126:[function(t,n,e){var r=t(39);t(56)("freeze",function(t){return function freeze(n){return t&&r(n)?t(n):n}})},{39:39,56:56}],127:[function(t,n,e){var r=t(79);t(56)("getOwnPropertyDescriptor",function(t){return function getOwnPropertyDescriptor(n,e){return t(r(n),e)}})},{56:56,79:79}],128:[function(t,n,e){t(56)("getOwnPropertyNames",function(){return t(29).get})},{29:29,56:56}],129:[function(t,n,e){var r=t(81);t(56)("getPrototypeOf",function(t){return function getPrototypeOf(n){return t(r(n))}})},{56:56,81:81}],130:[function(t,n,e){var r=t(39);t(56)("isExtensible",function(t){return function isExtensible(n){return r(n)?t?t(n):!0:!1}})},{39:39,56:56}],131:[function(t,n,e){var r=t(39);t(56)("isFrozen",function(t){return function isFrozen(n){return r(n)?t?t(n):!1:!0}})},{39:39,56:56}],132:[function(t,n,e){var r=t(39);t(56)("isSealed",function(t){return function isSealed(n){return r(n)?t?t(n):!1:!0}})},{39:39,56:56}],133:[function(t,n,e){var r=t(19);r(r.S,"Object",{is:t(64)})},{19:19,64:64}],134:[function(t,n,e){var r=t(81);t(56)("keys",function(t){return function keys(n){return t(r(n))}})},{56:56,81:81}],135:[function(t,n,e){var r=t(39);t(56)("preventExtensions",function(t){return function preventExtensions(n){return t&&r(n)?t(n):n}})},{39:39,56:56}],136:[function(t,n,e){var r=t(39);t(56)("seal",function(t){return function seal(n){return t&&r(n)?t(n):n}})},{39:39,56:56}],137:[function(t,n,e){var r=t(19);r(r.S,"Object",{setPrototypeOf:t(65).set})},{19:19,65:65}],138:[function(t,n,e){"use strict";var r=t(11),o={};o[t(84)("toStringTag")]="z",o+""!="[object z]"&&t(62)(Object.prototype,"toString",function toString(){return"[object "+r(this)+"]"},!0)},{11:11,62:62,84:84}],139:[function(t,n,e){"use strict";var r,o=t(47),i=t(49),u=t(30),c=t(18),a=t(11),s=t(19),f=t(3
2016-02-03 18:07:28 +03:00
!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in n||(n[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==o.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=n[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex<h){if(void 0!==g.groupIndex&&(b[g.groupIndex].splice(o.call(b[g.groupIndex],g),1),0==b[g.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");g.groupIndex=h}e(g,b)}}}}function f(a){var b=n[a];b.groupIndex=0;var c=[];e(b,c);for(var d=!!b.declarative==c.length%2,f=c.length-1;f>=0;f--){for(var g=c[f],i=0;i<g.length;i++){var k=g[i];d?h(k):j(k)}d=!d}}function g(a){return s[a]||(s[a]={name:a,dependencies:[],exports:{},importers:[]})}function h(b){if(!b.module){var c=b.module=g(b.name),d=b.module.exports,e=b.declare.call(a,function(a,b){if(c.locked=!0,"object"==typeof a)for(var e in a)d[e]=a[e];else d[a]=b;for(var f=0,g=c.importers.length;g>f;f++){var h=c.importers[f];if(!h.locked)for(var i=0;i<h.dependencies.length;++i)h.dependencies[i]===c&&h.setters[i](d)}return c.locked=!1,b},b.name);c.setters=e.setters,c.execute=e.execute;for(var f=0,i=b.normalizedDeps.length;i>f;f++){var j,k=b.normalizedDeps[f],l=n[k],o=s[k];o?j=o.exports:l&&!l.declarative?j=l.esModule:l?(h(l),o=l.module,j=o.exports):j=m(k),o&&o.importers?(o.importers.push(c),c.dependencies.push(o)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=n[a];if(c)c.declarative?l(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=m(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=n[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(b){if(b===a)return b;var c={};if("object"==typeof b||"function"==typeof b)if(p){var d;for(var e in b)(d=Object.getOwnPropertyDescriptor(b,e))&&r(c,e,d)}else{var f=b&&b.hasOwnProperty;for(var e in b)(!f||b.hasOwnProperty(e))&&(c[e]=b[e])}return c["default"]=b,r(c,"__useDefault",{value:!0}),c}function l(b,c){var d=n[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==o.call(c,g)&&(n[g]?l(g,c):m(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function m(a){if(u[a])return u[a];if("@node/"==a.substr(0,6))return t(a.substr(6));var b=n[a];if(!b)throw"Module "+a+" not present.";return f(a),l(a,[]),n[a]=void 0,b.declarative&&r(b.module.exports,"__esModule",{value:!0}),u[a]=b.declarative?b.module.exports:b.esModule}var n={},o=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},p=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(q){p=!1}var r;!function(){try{Object.defineProperty({},"a",{})&&(r=Object.defineProperty)}catch(a){r=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var s={},t="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,u={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:t,register:b,registerDynamic:c,get:m,set:function(a,b){u[a]=b},newModule:function(a){return a}},h=0;h<d.length;h++)(function(a,b){b&&b.__esModule?u[a]=b:u[a]=k(b)})(d[h],arguments[h]);e(g);var i=m(a[0]);if(a.length>1)for(var h=1;h<a.length;h++)m(a[h]);return i.__useDefault?i["default"]:i})}}}("undefined"!=typ
directives:[b,i,m,w,o],changeDetection:k.Default})(d)||d}(d),a("default",B),B.parameters=B.parameters.concat([[x],[l],[p]]),w.parameters=w.parameters.concat([[B]])}}}),a.register("23",["6","7","11","24","25","a","1f"],function(a){var b,c,d,e,f,g,h,i,j,k;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a.Component,e=a.View,f=a.ElementRef},function(a){g=a.CORE_DIRECTIVES},function(a){h=a.DynamicComponentLoader},function(a){i=a["default"]},function(a){j=a["default"]}],execute:function(){"use strict";k=function(){function a(a,b){c(this,f),this.elementRef=a,this.dcl=b}b(a,[{key:"load",value:function(){var a=this;j.instance().options.disableLazySchemas||this.loaded||(this.pointer&&this.dcl.loadNextToLocation(i,this.elementRef).then(function(b){b.instance.pointer=a.pointer}),this.loaded=!0)}}]);var f=a;return a=e({template:"",directives:[g]})(a)||a,a=d({selector:"json-schema-lazy",inputs:["pointer"]})(a)||a}(),a("default",k),k.parameters=[[f],[h]]}}}),a.register("26",["6","7","11","24"],function(a){var b,c,d,e,f,g,h;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a.Component,e=a.View,f=a.EventEmitter},function(a){g=a.CORE_DIRECTIVES}],execute:function(){"use strict";h=function(){function a(){c(this,h),this.type="general",this.visible=!1,this.empty=!1,this.open=new f,this.close=new f}b(a,[{key:"toggle",value:function(){this.visible=!this.visible,this.empty||(this.visible?this.open.next():this.close.next())}}]);var h=a;return a=e({template:'\n <div class="zippy zippy-{{type}}" [ngClass]="{\'zippy-empty\': empty}">\n <div class="zippy-title" (click)="toggle()">\n <span class="zippy-indicator">{{ visible ? \'&#9662;\' : \'&#9656;\' }}</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{padding:10px;margin:2px 0;line-height:1.5em;background-color:#f2f2f2;cursor:pointer}.zippy-success>.zippy-title{color:#09AC1C;background-color:#E1F5E3}.zippy-error>.zippy-title{color:#E54541;background-color:#FBE7E7}.zippy-redirect>.zippy-title{color:#AC7C09;background-color:#F5F0E1}.zippy-info>.zippy-title{color:#096DAC;background-color:#E1EFF5}span.zippy-indicator{font-size:1.5em;line-height:1;margin-right:0.2em;vertical-align:text-bottom}.zippy-content{padding:15px 0}.zippy-empty .zippy-title{cursor:default}.zippy-empty .zippy-indicator{display:none}.zippy-empty .zippy-content{display:none}.zippy-hidden{visibility:hidden;height:0;padding:0}\n "],directives:[g]})(a)||a,a=d({selector:"zippy",events:["open","close"],inputs:["title","visible","type","empty"]})(a)||a}(),a("default",h)}}}),a.register("1f",["6","7","21"],function(a){var b,c,d,e,f;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]}],execute:function(){"use strict";e={scrollYOffset:0},a("options",e),f=function(){function a(){return c(this,a),a.prototype._instance?a.prototype._instance:(a.prototype._instance=this,this._defaults={scrollYOffset:0,disableLazySchemas:!1},void(this._options={}))}return b(a,[{key:"options",get:function(){return this._options},set:function(a){this._options=d({},this._defaults,a)}}],[{key:"instance",value:function(){return new a}}]),a}(),a("default",f)}}}),a.register("13",["3","4","5","6","7","23","26","27","28","c","a","1f"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.statusCodeType},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a["default"]}],execute:function(){"use strict";p=function(a){function d(a){h(this,p),e(Object.getPrototypeOf(p.prototype),"constructor",this).call(this,a)}f(d,a),g(d,[{key:"prepareModel",value:fun
},b.prototype.performanceNow=function(){return j.isPresent(window.performance)&&j.isPresent(window.performance.now)?window.performance.now():j.DateWrapper.toMillis(j.DateWrapper.now())},b}(l.GenericBrowserDomAdapter);b.BrowserDomAdapter=q;var r=null,s=null;return f.define=g,c.exports}),a.registerDynamic("44",["22","3a","11"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("22"),g=a("3a"),h=a("11"),i=function(){function a(a){this._testability=a}return a.prototype.isStable=function(){return this._testability.isStable()},a.prototype.whenStable=function(a){this._testability.whenStable(a)},a.prototype.findBindings=function(a,b,c){return this.findProviders(a,b,c)},a.prototype.findProviders=function(a,b,c){return this._testability.findBindings(a,b,c)},a}(),j=function(){function a(){}return a.init=function(){h.setTestabilityGetter(new a)},a.prototype.addToWindow=function(a){f.global.getAngularTestability=function(b,c){void 0===c&&(c=!0);var d=a.findTestabilityInTree(b,c);if(null==d)throw new Error("Could not find testability for element.");return new i(d)},f.global.getAllAngularTestabilities=function(){var b=a.getAllTestabilities();return b.map(function(a){return new i(a)})}},a.prototype.findTestabilityInTree=function(a,b,c){if(null==b)return null;var d=a.getTestability(b);return f.isPresent(d)?d:c?g.DOM.isShadowRoot(b)?this.findTestabilityInTree(a,g.DOM.getHost(b),!0):this.findTestabilityInTree(a,g.DOM.parentElement(b),!0):null},a}();return b.BrowserGetTestability=j,d.define=e,c.exports}),a.registerDynamic("45",[],!0,function(a,b,c){"use strict";function d(){}var e=this,f=e.define;return e.define=void 0,b.wtfInit=d,e.define=f,c.exports}),a.registerDynamic("46",["3a"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("3a"),g=function(){function a(){}return a.prototype.getTitle=function(){return f.DOM.getTitle()},a.prototype.setTitle=function(a){f.DOM.setTitle(a)},a}();return b.Title=g,d.define=e,c.exports}),a.registerDynamic("47",[],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=function(){function a(){this.classesToAdd=[],this.classesToRemove=[],this.animationClasses=[]}return a}();return b.CssAnimationOptions=f,d.define=e,c.exports}),a.registerDynamic("48",["22","49","4a","3b","3a"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("22"),g=a("49"),h=a("4a"),i=a("3b"),j=a("3a"),k=function(){function a(a,b,c){var d=this;this.element=a,this.data=b,this.browserDetails=c,this.callbacks=[],this.eventClearFunctions=[],this.completed=!1,this._stringPrefix="",this.startTime=f.DateWrapper.toMillis(f.DateWrapper.now()),this._stringPrefix=j.DOM.getAnimationPrefix(),this.setup(),this.wait(function(a){return d.start()})}return Object.defineProperty(a.prototype,"totalTime",{get:function(){var a=null!=this.computedDelay?this.computedDelay:0,b=null!=this.computedDuration?this.computedDuration:0;return a+b},enumerable:!0,configurable:!0}),a.prototype.wait=function(a){this.browserDetails.raf(a,2)},a.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"})},a.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 a=j.DOM.getComputedStyle(this.element);this.computedDelay=g.Math.max(this.parseDurationString(a.getPropertyValue(this._stringPrefix+"transition-delay")),this.parseDurationString(this.element.style.getPropertyValue(this._stringPrefix+"transition-delay"))),this.computedDuration=g.Math.max(this.parseDurationString(a.getPropertyValue(this._stringPrefix+"transition-duration")),this.parseDurationString(this.element.style.getPropertyValue(this._stringPrefix+"transition-duration"))),this.addEvents()},a.prototype.applyStyles=function(a){var b=
return f>3&&g&&Object.defineProperty(b,c,g),g},n=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},o=a("22"),p=a("40"),q=a("3b"),r=a("67"),s=a("68"),t=a("69"),u=a("3d"),v=a("6a"),w=a("6b"),x=a("6c"),y=a("6d"),z=a("6e"),A=a("6f"),B=a("70"),C=a("6d"),D=a("71"),E=function(){function a(a,b,c,d,e,f){this._runtimeMetadataResolver=a,this._templateNormalizer=b,this._templateParser=c,this._styleCompiler=d,this._commandCompiler=e,this._cdCompiler=f,this._hostCacheKeys=new Map,this._compiledTemplateCache=new Map,this._compiledTemplateDone=new Map,this._nextTemplateId=0}return a.prototype.normalizeDirectiveMetadata=function(a){return a.isComponent?this._templateNormalizer.normalizeTemplate(a.type,a.template).then(function(b){return new t.CompileDirectiveMetadata({type:a.type,isComponent:a.isComponent,dynamicLoadable:a.dynamicLoadable,selector:a.selector,exportAs:a.exportAs,changeDetection:a.changeDetection,inputs:a.inputs,outputs:a.outputs,hostListeners:a.hostListeners,hostProperties:a.hostProperties,hostAttributes:a.hostAttributes,lifecycleHooks:a.lifecycleHooks,template:b})}):r.PromiseWrapper.resolve(a)},a.prototype.compileHostComponentRuntime=function(a){var b=this._hostCacheKeys.get(a);if(o.isBlank(b)){b=new Object,this._hostCacheKeys.set(a,b);var c=this._runtimeMetadataResolver.getMetadata(a);d(c);var e=t.createHostComponentMeta(c.type,c.selector);this._compileComponentRuntime(b,e,[c],new Set)}return this._compiledTemplateDone.get(b).then(function(a){return new s.CompiledHostTemplate(a)})},a.prototype.clearCache=function(){this._hostCacheKeys.clear(),this._styleCompiler.clearCache(),this._compiledTemplateCache.clear(),this._compiledTemplateDone.clear()},a.prototype._compileComponentRuntime=function(a,b,c,d){var e=this,f=j(c),g=this._compiledTemplateCache.get(a),h=this._compiledTemplateDone.get(a);if(o.isBlank(g)){var i,k=[],l=[],m=o.stringify(b.type.runtime)+"Template"+this._nextTemplateId++;g=new s.CompiledComponentTemplate(m,function(a){return i(a)},l,k),this._compiledTemplateCache.set(a,g),d.add(a),h=r.PromiseWrapper.all([this._styleCompiler.compileComponentRuntime(b.template)].concat(f.map(function(a){return e.normalizeDirectiveMetadata(a)}))).then(function(a){var c=[],f=a.slice(1),g=e._templateParser.parse(b.template.template,f,b.type.name),h=e._cdCompiler.compileComponentRuntime(b.type,b.changeDetection,g);i=h[0];var j=a[0];j.forEach(function(a){return k.push(a)});var m=e._compileCommandsRuntime(b,g,h,d,c);return m.forEach(function(a){return l.push(a)}),r.PromiseWrapper.all(c)}).then(function(b){return q.SetWrapper["delete"](d,a),g}),this._compiledTemplateDone.set(a,h)}return g},a.prototype._compileCommandsRuntime=function(a,b,c,d,e){var f=this,g=this._commandCompiler.compileComponentRuntime(a,b,c,function(a){var b=a.type.runtime,c=f._runtimeMetadataResolver.getViewDirectivesMetadata(a.type.runtime),g=q.SetWrapper.has(d,b),h=f._compileComponentRuntime(b,a,c,d);return g||e.push(f._compiledTemplateDone.get(b)),function(){return h}});return g.forEach(function(a){a instanceof s.BeginComponentCmd&&a.templateGetter()}),g},a.prototype.compileTemplatesCodeGen=function(a){var b=this;if(0===a.length)throw new p.BaseException("No components given");var c=[],h=[],i=[];a.forEach(function(a){var e=a.component;if(d(e),i.push(e),b._processTemplateCodeGen(e,a.directives,c,h),e.dynamicLoadable){var f=t.createHostComponentMeta(e.type,e.selector);i.push(f),b._processTemplateCodeGen(f,[e],c,h)}}),q.ListWrapper.forEachWithIndex(i,function(a,b){var d,g=a.type.moduleUrl+"|"+a.type.name,i=o.IS_DART?"const":"new",j=i+" "+C.TEMPLATE_COMMANDS_MODULE_REF+"CompiledComponentTemplate('"+g+"',"+h[b].join(",")+")";d=a.type.isHost?i+" "+C.TEMPLATE_COMMANDS_MODULE_REF+"CompiledHostTemplate("+j+")":j;var k=e(a.type);c.push(""+D.codeGenExportVariable(k)+d+";"),c.push(D.codeGenValueFn([],k,f(a.type))+";")});var j=a[0].component.type.moduleUrl;return new v.SourceModule(""+g(j),c.join("\n"))},a.prototype.compileStylesheetCodeGen=function(a,b){return this._styleCompiler.compileS
2016-02-01 20:31:35 +03:00
this._consumeText(this._advance())):this._advance();return new s(this.rootNodes,this.errors)},a.prototype._advance=function(){var a=this.peek;return this.index<this.tokens.length-1&&this.index++,this.peek=this.tokens[this.index],a},a.prototype._advanceIf=function(a){return this.peek.type===a?this._advance():null},a.prototype._consumeCdata=function(a){this._consumeText(this._advance()),this._advanceIf(o.HtmlTokenType.CDATA_END)},a.prototype._consumeComment=function(a){this._advanceIf(o.HtmlTokenType.RAW_TEXT),this._advanceIf(o.HtmlTokenType.COMMENT_END)},a.prototype._consumeText=function(a){var b=a.parts[0];if(b.length>0&&"\n"==b[0]){var c=this._getParentElement();k.isPresent(c)&&0==c.children.length&&q.getHtmlTagDefinition(c.name).ignoreFirstLf&&(b=b.substring(1))}b.length>0&&this._addToParent(new m.HtmlTextAst(b,a.sourceSpan))},a.prototype._closeVoidElement=function(){if(this.elementStack.length>0){var a=l.ListWrapper.last(this.elementStack);q.getHtmlTagDefinition(a.name).isVoid&&this.elementStack.pop()}},a.prototype._consumeStartTag=function(a){for(var b=a.parts[0],c=a.parts[1],d=[];this.peek.type===o.HtmlTokenType.ATTR_NAME;)d.push(this._consumeAttr(this._advance()));var f=e(b,c,this._getParentElement()),g=!1;this.peek.type===o.HtmlTokenType.TAG_OPEN_END_VOID?(this._advance(),g=!0,null!=q.getNsPrefix(f)||q.getHtmlTagDefinition(f).isVoid||this.errors.push(r.create(f,a.sourceSpan.start,'Only void and foreign elements can be self closed "'+a.parts[1]+'"'))):this.peek.type===o.HtmlTokenType.TAG_OPEN_END&&(this._advance(),g=!1);var h=this.peek.sourceSpan.start,i=new m.HtmlElementAst(f,d,[],new p.ParseSourceSpan(a.sourceSpan.start,h));this._pushElement(i),g&&this._popElement(f)},a.prototype._pushElement=function(a){if(this.elementStack.length>0){var b=l.ListWrapper.last(this.elementStack);q.getHtmlTagDefinition(b.name).isClosedByChild(a.name)&&this.elementStack.pop()}var c=q.getHtmlTagDefinition(a.name),b=this._getParentElement();if(c.requireExtraParent(k.isPresent(b)?b.name:null)){var d=new m.HtmlElementAst(c.parentToAdd,[],[a],a.sourceSpan);this._addToParent(d),this.elementStack.push(d),this.elementStack.push(a)}else this._addToParent(a),this.elementStack.push(a)},a.prototype._consumeEndTag=function(a){var b=e(a.parts[0],a.parts[1],this._getParentElement());q.getHtmlTagDefinition(b).isVoid?this.errors.push(r.create(b,a.sourceSpan.start,'Void elements do not have end tags "'+a.parts[1]+'"')):this._popElement(b)||this.errors.push(r.create(b,a.sourceSpan.start,'Unexpected closing tag "'+a.parts[1]+'"'))},a.prototype._popElement=function(a){for(var b=this.elementStack.length-1;b>=0;b--){var c=this.elementStack[b];if(c.name==a)return l.ListWrapper.splice(this.elementStack,b,this.elementStack.length-b),!0;if(!q.getHtmlTagDefinition(c.name).closedByParent)return!1}return!1},a.prototype._consumeAttr=function(a){var b=d(a.parts[0],a.parts[1]),c=a.sourceSpan.end,e="";if(this.peek.type===o.HtmlTokenType.ATTR_VALUE){var f=this._advance();e=f.parts[0],c=f.sourceSpan.end}return new m.HtmlAttrAst(b,e,new p.ParseSourceSpan(a.sourceSpan.start,c))},a.prototype._getParentElement=function(){return this.elementStack.length>0?l.ListWrapper.last(this.elementStack):null},a.prototype._addToParent=function(a){var b=this._getParentElement();k.isPresent(b)?b.children.push(a):this.rootNodes.push(a)},a}();return f.define=g,c.exports}),a.registerDynamic("79",["22","74"],!0,function(a,b,c){"use strict";function d(a){var b=null,c=null,d=null,f=!1;a.attrs.forEach(function(a){var e=a.name.toLowerCase();e==j?b=a.value:e==n?c=a.value:e==m?d=a.value:a.name==r&&(f=!0)}),b=e(b);var g=a.name.toLowerCase(),h=s.OTHER;return i.splitNsName(g)[1]==k?h=s.NG_CONTENT:g==p?h=s.STYLE:g==q?h=s.SCRIPT:g==l&&d==o&&(h=s.STYLESHEET),new t(h,b,c,f)}function e(a){return h.isBlank(a)||0===a.length?"*":a}var f=this,g=f.define;f.define=void 0;var h=a("22"),i=a("74"),j="select",k="ng-content",l="link",m="rel",n="href",o="stylesheet",p="style",q="script",r="ngNonBindable";b.preparseElement=d,function(a){a[a.NG_CONTENT=0]="NG_CONTENT",a[a.STYLE=1]="STYLE",a[a.STYLESHEET=2]="STYLESHEE
h.isPresent(e)&&(a=e[1]+f+e[2]+e[3])}return a}).join(j)}return e},a.prototype._insertPolyfillHostInCssText=function(a){return a=h.StringWrapper.replaceAll(a,w,n),a=h.StringWrapper.replaceAll(a,v,m)},a}();b.ShadowCss=i;var j=/polyfill-next-selector[^}]*content:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim,k=/(polyfill-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,l=/(polyfill-unscoped-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,m="-shadowcsshost",n="-shadowcsscontext",o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",p=h.RegExpWrapper.create("("+m+o,"im"),q=h.RegExpWrapper.create("("+n+o,"im"),r=m+"-no-combinator",s=[/>>>/g,/::shadow/g,/::content/g,/\/deep\//g,/\/shadow-deep\//g,/\/shadow\//g],t="([>\\s~+[.,{:][\\s\\S]*)?$",u=h.RegExpWrapper.create(m,"im"),v=/:host/gim,w=/:host-context/gim,x=/\/\*[\s\S]*?\*\//g,y=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,z=/([{}])/g,A="{",B="}",C="%BLOCK%",D=function(){function a(a,b){this.selector=a,this.content=b}return a}();b.CssRule=D,b.processRules=e;var E=function(){function a(a,b){this.escapedString=a,this.blocks=b}return a}()}(a("38")),d.define=e,c.exports}),a.registerDynamic("7a",["22"],!0,function(a,b,c){"use strict";function d(a){if(h.isBlank(a)||0===a.length||"/"==a[0])return!1;var b=h.RegExpWrapper.firstMatch(k,a);return h.isBlank(b)||"package"==b[1]||"asset"==b[1]}function e(a,b,c){var e=[],f=h.StringWrapper.replaceAllMapped(c,j,function(c){var f=h.isPresent(c[1])?c[1]:c[2];return d(f)?(e.push(a.resolve(b,f)),""):c[0]});return new i(f,e)}var f=this,g=f.define;f.define=void 0;var h=a("22"),i=function(){function a(a,b){this.style=a,this.styleUrls=b}return a}();b.StyleWithImports=i,b.isStyleUrlResolvable=d,b.extractStyleUrls=e;var j=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,k=/^([a-zA-Z\-\+\.]+):/g;return f.define=g,c.exports}),a.registerDynamic("53",["40","3b","22","5a"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("40"),h=a("3b"),i=a("22"),j=a("5a"),k=function(a){function b(b,c){a.call(this),this.template=b,this.cmds=c}return f(b,a),b}(j.RenderProtoViewRef);b.DefaultProtoViewRef=k;var l=function(a){function b(b){a.call(this),this.nodes=b}return f(b,a),b}(j.RenderFragmentRef);b.DefaultRenderFragmentRef=l;var m=function(a){function b(b,c,d,e,f,g){a.call(this),this.fragments=b,this.boundTextNodes=c,this.boundElements=d,this.nativeShadowRoots=e,this.globalEventAdders=f,this.rootContentInsertionPoints=g,this.hydrated=!1,this.eventDispatcher=null,this.globalEventRemovers=null}return f(b,a),b.prototype.hydrate=function(){if(this.hydrated)throw new g.BaseException("The view is already hydrated.");this.hydrated=!0,this.globalEventRemovers=h.ListWrapper.createFixedSize(this.globalEventAdders.length);for(var a=0;a<this.globalEventAdders.length;a++)this.globalEventRemovers[a]=this.globalEventAdders[a]()},b.prototype.dehydrate=function(){if(!this.hydrated)throw new g.BaseException("The view is already dehydrated.");for(var a=0;a<this.globalEventRemovers.length;a++)this.globalEventRemovers[a]();this.globalEventRemovers=null,this.hydrated=!1},b.prototype.setEventDispatcher=function(a){this.eventDispatcher=a},b.prototype.dispatchRenderEvent=function(a,b,c){var d=!0;if(i.isPresent(this.eventDispatcher)){var e=new h.Map;e.set("$event",c),d=this.eventDispatcher.dispatchRenderEvent(a,b,e)}return d},b}(j.RenderViewRef);return b.DefaultRenderView=m,d.define=e,c.exports}),a.registerDynamic("52",["22","53","54","3b","38"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(c){"use strict";function d(a){var b=a.styles;if(a.encapsulation===l.ViewEncapsulation.Emulated){b=m.ListWrapper.createFixedSize(a.styles.length);for(var c=0;c<a.styles.length;c++)b[c]=j.StringWrapper.replaceAll(a.styles[c],q,a.shortId)}return b}function e(a,b,c,d){var e,f=function(a,b,c){return e.dispatchRenderEvent(a,b,c)},g=new n(f,d,c)
2016-02-03 18:07:28 +03:00
return a},a}();return b.ElementSchemaRegistry=f,d.define=e,c.exports}),a.registerDynamic("8b",["3d","22","3b","3a","74","78"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},h=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},i=a("3d"),j=a("22"),k=a("3b"),l=a("3a"),m=a("74"),n=a("78"),o=j.CONST_EXPR({xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"}),p=function(a){function b(){a.apply(this,arguments),this._protoElements=new Map}return f(b,a),b.prototype._getProtoElement=function(a){var b=this._protoElements.get(a);if(j.isBlank(b)){var c=m.splitNsName(a);b=j.isPresent(c[0])?l.DOM.createElementNS(o[c[0]],c[1]):l.DOM.createElement(c[1]),this._protoElements.set(a,b)}return b},b.prototype.hasProperty=function(a,b){if(-1!==a.indexOf("-"))return!0;var c=this._getProtoElement(a);return l.DOM.hasProperty(c,b)},b.prototype.getMappedPropName=function(a){var b=k.StringMapWrapper.get(l.DOM.attrToPropMap,a);return j.isPresent(b)?b:a},b=g([i.Injectable(),h("design:paramtypes",[])],b)}(n.ElementSchemaRegistry);return b.DomElementSchemaRegistry=p,d.define=e,c.exports}),a.registerDynamic("7e",["3d","22","8c"],!0,function(a,b,c){"use strict";function d(){return new t}function e(a){var b=g(a);return b&&b[u.Scheme]||""}function f(a,b,c,d,e,f,g){var h=[];return q.isPresent(a)&&h.push(a+":"),q.isPresent(c)&&(h.push("//"),q.isPresent(b)&&h.push(b+"@"),h.push(c),q.isPresent(d)&&h.push(":"+d)),q.isPresent(e)&&h.push(e),q.isPresent(f)&&h.push("?"+f),q.isPresent(g)&&h.push("#"+g),h.join("")}function g(a){return q.RegExpWrapper.firstMatch(v,a)}function h(a){if("/"==a)return"/";for(var b="/"==a[0]?"/":"",c="/"===a[a.length-1]?"/":"",d=a.split("/"),e=[],f=0,g=0;g<d.length;g++){var h=d[g];switch(h){case"":case".":break;case"..":e.length>0?e.pop():f++;break;default:e.push(h)}}if(""==b){for(;f-- >0;)e.unshift("..");0===e.length&&e.push(".")}return b+e.join("/")+c}function i(a){var b=a[u.Path];return b=q.isBlank(b)?"":h(b),a[u.Path]=b,f(a[u.Scheme],a[u.UserInfo],a[u.Domain],a[u.Port],b,a[u.QueryData],a[u.Fragment])}function j(a,b){var c=g(encodeURI(b)),d=g(a);if(q.isPresent(c[u.Scheme]))return i(c);c[u.Scheme]=d[u.Scheme];for(var e=u.Scheme;e<=u.Port;e++)q.isBlank(c[e])&&(c[e]=d[e]);if("/"==c[u.Path][0])return i(c);var f=d[u.Path];q.isBlank(f)&&(f="/");var h=f.lastIndexOf("/");return f=f.substring(0,h+1)+c[u.Path],c[u.Path]=f,i(c)}var k=this,l=k.define;k.define=void 0;var m=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},n=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},o=this&&this.__param||function(a,b){return function(c,d){b(c,d,a)}},p=a("3d"),q=a("22"),r=a("8c"),s=a("3d");b.createWithoutPackagePrefix=d,b.DEFAULT_PACKAGE_URL_PROVIDER=new s.Provider(r.PACKAGE_ROOT_URL,{useValue:"/"});var t=function(){function a(a){void 0===a&&(a=null),q.isPresent(a)&&(this._packagePrefix=q.StringWrapper.stripRight(a,"/")+"/")}return a.prototype.resolve=function(a,b){var c=b;return q.isPresent(a)&&a.length>0&&(c=j(a,c)),q.isPresent(this._packagePrefix)&&"package"==e(c)&&(c=c.replace("package:",this._packagePrefix)),c},a=m([p.Injectabl
2016-02-01 20:31:35 +03:00
!1;c=d}if(Array.isArray(c))return m.call(this,a,c);if(c.__$compiled&&c.id&&j.checkCacheForUri.call(this,c.id)===!1&&(c.__$compiled=void 0),c.__$compiled)return!0;c.id&&"string"==typeof c.id&&j.cacheSchemaByUri.call(this,c.id,c);var f=!1;a.rootSchema||(a.rootSchema=c,f=!0);var g=a.isValid();delete c.__$missingReferences;for(var h=e.call(this,c),l=h.length;l--;){var n=h[l],o=j.getSchemaByUri.call(this,a,n.ref,c);if(!o){var p=this.getSchemaReader();if(p){var q=p(n.ref);if(q){q.id=n.ref;var r=new i(a);b.compileSchema.call(this,r,q)?o=j.getSchemaByUri.call(this,a,n.ref,c):a.errors=a.errors.concat(r.errors)}}}if(!o){var s=a.hasError("REMOTE_NOT_VALID",[n.ref]),t=k.isAbsoluteUri(n.ref),u=!1,v=this.options.ignoreUnresolvableReferences===!0;t&&(u=j.checkCacheForUri.call(this,n.ref)),s||v&&t||u||(Array.prototype.push.apply(a.path,n.path),a.addError("UNRESOLVABLE_REFERENCE",[n.ref]),a.path=a.path.slice(0,-n.path.length),g&&(c.__$missingReferences=c.__$missingReferences||[],c.__$missingReferences.push(n)))}n.obj["__"+n.key+"Resolved"]=o}var w=a.isValid();return w?c.__$compiled=!0:c.id&&"string"==typeof c.id&&j.removeFromCacheByUri.call(this,c.id),f&&(a.rootSchema=void 0),w},g.define=h,c.exports}),a.registerDynamic("c9",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(a,d){"undefined"!=typeof b&&"undefined"!=typeof c?c.exports=d():"function"==typeof define&&"object"==typeof define.amd?define(d):"function"==typeof define&&"object"==typeof define.petal?define(a,[],d):this[a]=d()}("validator",function(a){"use strict";function b(a){var b,c,d,e,f=a.match(G);if(f){if(b=f[21],!b)return null;if("z"===b||"Z"===b)return 0;c=f[22],-1!==b.indexOf(":")?(d=parseInt(f[23]),e=parseInt(f[24])):(d=0,e=parseInt(f[23]))}else{if(a=a.toLowerCase(),b=a.match(/(?:\s|gmt\s*)(-|\+)(\d{1,4})(\s|$)/),!b)return-1!==a.indexOf("gmt")?0:null;c=b[1];var g=b[2];3===g.length&&(g="0"+g),g.length<=2?(d=0,e=parseInt(g)):(d=parseInt(g.slice(0,2)),e=parseInt(g.slice(2,4)))}return(60*d+e)*("-"===c?1:-1)}function c(a,b){a=a||{};for(var c in b)"undefined"==typeof a[c]&&(a[c]=b[c]);return a}function d(a){var b="(\\"+a.symbol.replace(/\./g,"\\.")+")"+(a.require_symbol?"":"?"),c="-?",d="[1-9]\\d*",e="[1-9]\\d{0,2}(\\"+a.thousands_separator+"\\d{3})*",f=["0",d,e],g="("+f.join("|")+")?",h="(\\"+a.decimal_separator+"\\d{2})?",i=g+h;return a.allow_negatives&&!a.parens_for_negatives&&(a.negative_sign_after_digits?i+=c:a.negative_sign_before_digits&&(i=c+i)),a.allow_negative_sign_placeholder?i="( (?!\\-))?"+i:a.allow_space_after_symbol?i=" ?"+i:a.allow_space_after_digits&&(i+="( (?!$))?"),a.symbol_after_digits?i+=b:i=b+i,a.allow_negatives&&(a.parens_for_negatives?i="(\\("+i+"\\)|"+i+")":a.negative_sign_before_digits||a.negative_sign_after_digits||(i=c+i)),new RegExp("^(?!-? )(?=.*\\d)"+i+"$")}a={version:"4.5.0"};var e=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,f=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,h=/^([\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,i=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,j=/^(?: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})$/,k=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/,l=/^(?:[0-9]{9}X|[0-9]{10})$/,m=/^(?:[0-9]{13})$/,n=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,o=/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/,p=/^[0-9A-F]{1,4}$/i,q={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},r=/^[A-Z]+$/i,s=/^[0-9A-Z]+$/i,t=/^[-+]?[0-9]+$/,u=/^
},minLength:function(a,b){"integer"!==i.whatIs(b.minLength)?a.addError("KEYWORD_TYPE_EXPECTED",["minLength","integer"]):b.minLength<0&&a.addError("KEYWORD_MUST_BE",["minLength","greater than, or equal to 0"])},pattern:function(a,b){if("string"!=typeof b.pattern)a.addError("KEYWORD_TYPE_EXPECTED",["pattern","string"]);else try{RegExp(b.pattern)}catch(c){a.addError("KEYWORD_PATTERN",["pattern",b.pattern])}},additionalItems:function(a,c){var d=i.whatIs(c.additionalItems);"boolean"!==d&&"object"!==d?a.addError("KEYWORD_TYPE_EXPECTED",["additionalItems",["boolean","object"]]):"object"===d&&(a.path.push("additionalItems"),b.validateSchema.call(this,a,c.additionalItems),a.path.pop())},items:function(a,c){var d=i.whatIs(c.items);if("object"===d)a.path.push("items"),b.validateSchema.call(this,a,c.items),a.path.pop();else if("array"===d)for(var e=c.items.length;e--;)a.path.push("items"),a.path.push(e.toString()),b.validateSchema.call(this,a,c.items[e]),a.path.pop(),a.path.pop();else a.addError("KEYWORD_TYPE_EXPECTED",["items",["array","object"]]);this.options.forceAdditional===!0&&void 0===c.additionalItems&&Array.isArray(c.items)&&a.addError("KEYWORD_UNDEFINED_STRICT",["additionalItems"]),this.options.assumeAdditional&&void 0===c.additionalItems&&Array.isArray(c.items)&&(c.additionalItems=!1)},maxItems:function(a,b){"number"!=typeof b.maxItems?a.addError("KEYWORD_TYPE_EXPECTED",["maxItems","integer"]):b.maxItems<0&&a.addError("KEYWORD_MUST_BE",["maxItems","greater than, or equal to 0"])},minItems:function(a,b){"integer"!==i.whatIs(b.minItems)?a.addError("KEYWORD_TYPE_EXPECTED",["minItems","integer"]):b.minItems<0&&a.addError("KEYWORD_MUST_BE",["minItems","greater than, or equal to 0"])},uniqueItems:function(a,b){"boolean"!=typeof b.uniqueItems&&a.addError("KEYWORD_TYPE_EXPECTED",["uniqueItems","boolean"])},maxProperties:function(a,b){"integer"!==i.whatIs(b.maxProperties)?a.addError("KEYWORD_TYPE_EXPECTED",["maxProperties","integer"]):b.maxProperties<0&&a.addError("KEYWORD_MUST_BE",["maxProperties","greater than, or equal to 0"])},minProperties:function(a,b){"integer"!==i.whatIs(b.minProperties)?a.addError("KEYWORD_TYPE_EXPECTED",["minProperties","integer"]):b.minProperties<0&&a.addError("KEYWORD_MUST_BE",["minProperties","greater than, or equal to 0"])},required:function(a,b){if("array"!==i.whatIs(b.required))a.addError("KEYWORD_TYPE_EXPECTED",["required","array"]);else if(0===b.required.length)a.addError("KEYWORD_MUST_BE",["required","an array with at least one element"]);else{for(var c=b.required.length;c--;)"string"!=typeof b.required[c]&&a.addError("KEYWORD_VALUE_TYPE",["required","string"]);i.isUniqueArray(b.required)===!1&&a.addError("KEYWORD_MUST_BE",["required","an array with unique items"])}},additionalProperties:function(a,c){var d=i.whatIs(c.additionalProperties);"boolean"!==d&&"object"!==d?a.addError("KEYWORD_TYPE_EXPECTED",["additionalProperties",["boolean","object"]]):"object"===d&&(a.path.push("additionalProperties"),b.validateSchema.call(this,a,c.additionalProperties),a.path.pop())},properties:function(a,c){if("object"!==i.whatIs(c.properties))return void a.addError("KEYWORD_TYPE_EXPECTED",["properties","object"]);for(var d=Object.keys(c.properties),e=d.length;e--;){var f=d[e],g=c.properties[f];a.path.push("properties"),a.path.push(f),b.validateSchema.call(this,a,g),a.path.pop(),a.path.pop()}this.options.forceAdditional===!0&&void 0===c.additionalProperties&&a.addError("KEYWORD_UNDEFINED_STRICT",["additionalProperties"]),this.options.assumeAdditional&&void 0===c.additionalProperties&&(c.additionalProperties=!1),this.options.forceProperties===!0&&0===d.length&&a.addError("CUSTOM_MODE_FORCE_PROPERTIES",["properties"])},patternProperties:function(a,c){if("object"!==i.whatIs(c.patternProperties))return void a.addError("KEYWORD_TYPE_EXPECTED",["patternProperties","object"]);for(var d=Object.keys(c.patternProperties),e=d.length;e--;){var f=d[e],g=c.patternProperties[f];try{RegExp(f)}catch(h){a.addError("KEYWORD_PATTERN",["patternProperties",f])}a.path.push("patternProperties"),a.path.push(f.toString()),b.validateSchema
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:"
var b=a._readableState;D("pipeOnDrain",b.awaitDrain),b.awaitDrain&&b.awaitDrain--,0===b.awaitDrain&&z.listenerCount(a,"data")&&(b.flowing=!0,t(a))}}function r(a,b){b.resumeScheduled||(b.resumeScheduled=!0,d.nextTick(function(){s(a,b)}))}function s(a,b){b.resumeScheduled=!1,a.emit("resume"),t(a),b.flowing&&!b.reading&&a.read(0)}function t(a){var b=a._readableState;if(D("flow",b.flowing),b.flowing)do var c=a.read();while(null!==c&&b.flowing)}function u(a,c){var d,e=c.buffer,f=c.length,g=!!c.decoder,h=!!c.objectMode;if(0===e.length)return null;if(0===f)d=null;else if(h)d=e.shift();else if(!a||a>=f)d=g?e.join(""):b.concat(e,f),e.length=0;else if(a<e[0].length){var i=e[0];d=i.slice(0,a),e[0]=i.slice(a)}else if(a===e[0].length)d=e.shift();else{d=g?"":new b(a);for(var j=0,k=0,l=e.length;l>k&&a>j;k++){var i=e[0],m=Math.min(a-j,i.length);g?d+=i.slice(0,m):i.copy(d,j,0,m),m<i.length?e[0]=i.slice(m):e.shift(),j+=m}}return d}function v(a){var b=a._readableState;if(b.length>0)throw new Error("endReadable called on non-empty stream");b.endEmitted||(b.ended=!0,d.nextTick(function(){b.endEmitted||0!==b.length||(b.endEmitted=!0,a.readable=!1,a.emit("end"))}))}function w(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}function x(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}c.exports=f;var y=a("f8"),b=a("e7").Buffer;f.ReadableState=e;var z=a("fc").EventEmitter;z.listenerCount||(z.listenerCount=function(a,b){return a.listeners(b).length});var A=a("f3"),B=a("ff");B.inherits=a("100");var C,D=a("@empty");D=D&&D.debuglog?D.debuglog("stream"):function(){},B.inherits(f,A),f.prototype.push=function(a,c){var d=this._readableState;return B.isString(a)&&!d.objectMode&&(c=c||d.defaultEncoding,c!==d.encoding&&(a=new b(a,c),c="")),g(this,d,a,c,!1)},f.prototype.unshift=function(a){var b=this._readableState;return g(this,b,a,"",!0)},f.prototype.setEncoding=function(b){return C||(C=a("fe").StringDecoder),this._readableState.decoder=new C(b),this._readableState.encoding=b,this};var E=8388608;f.prototype.read=function(a){D("read",a);var b=this._readableState,c=a;if((!B.isNumber(a)||a>0)&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return D("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?v(this):m(this),null;if(a=j(a,b),0===a&&b.ended)return 0===b.length&&v(this),null;var d=b.needReadable;D("need readable",d),(0===b.length||b.length-a<b.highWaterMark)&&(d=!0,D("length less than watermark",d)),(b.ended||b.reading)&&(d=!1,D("reading or ended",d)),d&&(D("do read"),b.reading=!0,b.sync=!0,0===b.length&&(b.needReadable=!0),this._read(b.highWaterMark),b.sync=!1),d&&!b.reading&&(a=j(c,b));var e;return e=a>0?u(a,b):null,B.isNull(e)&&(b.needReadable=!0,a=0),b.length-=a,0!==b.length||b.ended||(b.needReadable=!0),c!==a&&b.ended&&0===b.length&&v(this),B.isNull(e)||this.emit("data",e),e},f.prototype._read=function(a){this.emit("error",new Error("not implemented"))},f.prototype.pipe=function(a,b){function c(a){D("onunpipe"),a===l&&f()}function e(){D("onend"),a.end()}function f(){D("cleanup"),a.removeListener("close",i),a.removeListener("finish",j),a.removeListener("drain",p),a.removeListener("error",h),a.removeListener("unpipe",c),l.removeListener("end",e),l.removeListener("end",f),l.removeListener("data",g),!m.awaitDrain||a._writableState&&!a._writableState.needDrain||p()}function g(b){D("ondata");var c=a.write(b);!1===c&&(D("false write response, pause",l._readableState.awaitDrain),l._readableState.awaitDrain++,l.pause())}function h(b){D("onerror",b),k(),a.removeListener("error",h),0===z.listenerCount(a,"error")&&a.emit("error",b)}function i(){a.removeListener("finish",j),k()}function j(){D("onfinish"),a.removeListener("close",i),k()}function k(){D("unpipe"),l.unpipe(a)}var l=this,m=this._readableState;switch(m.pipesCount){case 0:m.pipes=a;break;case 1:m.pipes=[m.pipes,a];break;default:m.pipes.push(a)}m.pipesCount+=1,D("pipe count=%d opts=%j",m.pipesCount,b);var n=(!b||b.end!==!1)&&a!==d.stdout&&a!==d.stderr,o=n?e:f;m.endEmitted?d.nextTick(o):l.once("end",o),a.on("unpipe",c);var p=q(l);return a.on("dr
H(this,a))}function Q(){var a;if("undefined"!=typeof d)a=d;else if("undefined"!=typeof self)a=self;else try{a=Function("return this")()}catch(b){throw new Error("polyfill failed because global object is unavailable in this environment")}var c=a.Promise;(!c||"[object Promise]"!==Object.prototype.toString.call(c.resolve())||c.cast)&&(a.Promise=na)}var R;R=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)};var S,T,U,V=R,W=0,X=({}.toString,function(a,b){ba[W]=a,ba[W+1]=b,W+=2,2===W&&(T?T(o):U())}),Y="undefined"!=typeof window?window:void 0,Z=Y||{},$=Z.MutationObserver||Z.WebKitMutationObserver,_="undefined"!=typeof b&&"[object process]"==={}.toString.call(b),aa="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ba=new Array(1e3);U=_?j():$?l():aa?m():void 0===Y&&"function"==typeof a?p():n();var ca=void 0,da=1,ea=2,fa=new E,ga=new E;I.prototype._validateInput=function(a){return V(a)},I.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},I.prototype._init=function(){this._result=new Array(this.length)};var ha=I;I.prototype._enumerate=function(){for(var a=this,b=a.length,c=a.promise,d=a._input,e=0;c._state===ca&&b>e;e++)a._eachEntry(d[e],e)},I.prototype._eachEntry=function(a,b){var c=this,d=c._instanceConstructor;g(a)?a.constructor===d&&a._state!==ca?(a._onerror=null,c._settledAt(a._state,b,a._result)):c._willSettleAt(d.resolve(a),b):(c._remaining--,c._result[b]=a)},I.prototype._settledAt=function(a,b,c){var d=this,e=d.promise;e._state===ca&&(d._remaining--,a===ea?B(e,c):d._result[b]=c),0===d._remaining&&A(e,d._result)},I.prototype._willSettleAt=function(a,b){var c=this;C(a,void 0,function(a){c._settledAt(da,b,a)},function(a){c._settledAt(ea,b,a)})};var ia=J,ja=K,ka=L,la=M,ma=0,na=P;P.all=ia,P.race=ja,P.resolve=ka,P.reject=la,P._setScheduler=h,P._setAsap=i,P._asap=X,P.prototype={constructor:P,then:function(a,b){var c=this,d=c._state;if(d===da&&!a||d===ea&&!b)return this;var e=new this.constructor(q),f=c._result;if(d){var g=arguments[d-1];X(function(){G(d,e,g,f)})}else C(c,e,a,b);return e},"catch":function(a){return this.then(null,a)}};var oa=Q,pa={Promise:na,polyfill:oa};"function"==typeof define&&define.amd?define(function(){return pa}):"undefined"!=typeof c&&c.exports?c.exports=pa:"undefined"!=typeof this&&(this.ES6Promise=pa),oa()}).call(this)}(a("38")),d.define=e,c.exports}),a.registerDynamic("e6",["114"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports=a("114"),d.define=e,c.exports}),a.registerDynamic("111",["e6"],!0,function(a,b,c){"use strict";var d=this,e=d.define;return d.define=void 0,c.exports="function"==typeof Promise?Promise:a("e6").Promise,d.define=e,c.exports}),a.registerDynamic("115",["ec","110","112","e9","116","111","ea","dd","38"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(b){"use strict";function d(a,b,c){try{a=k.path.stripHash(a),k.debug("Reading %s",a);var d=b._get$Ref(a);return d&&!d.isExpired()?(k.debug(" cached from %s",d.pathType),m.resolve({$ref:d,cached:!0})):(d=new l(b,a),e(d,c))}catch(f){return m.reject(f)}}function e(a,b){try{var c=b.$refs.external&&(f(a,b)||g(a,b));return c?c.then(function(c){var d=j(c,a.path,b);return a.setValue(d,b),{$ref:a,cached:!1}}):m.reject(o.syntax('Unable to resolve $ref pointer "%s"',a.path))}catch(d){return m.reject(d)}}function f(a,c){return b.browser||k.path.isUrl(a.path)?void 0:(a.pathType="fs",new m(function(b,c){var d;try{d=k.path.urlToLocalPath(a.path)}catch(e){c(o.uri(e,"Malformed URI: %s",a.path))}k.debug("Opening file: %s",d);try{h.readFile(d,function(d,e){d?c(o(d,'Error opening file "%s"',a.path)):b(e)})}catch(e){c(o(e,'Error opening file "%s"',d))}}))}function g(a,c){var d=n.parse(a.path);return b.browser&&!d.protocol&&(d.protocol=n.parse(location.href).protocol),"http:"===d.protocol?(a.pathType="http",i(d,c)):"https:"===d.protocol?(a.pathType="https",i(d,c)):void 0}var h=a("ec"),i=a("110"),j=a("112"),k=a("e9"),l=a("116"),m=a("111"),n=a("ea"),o=a("d
}function f(a){this.include=a.include||[],this.implicit=a.implicit||[],this.explicit=a.explicit||[],this.implicit.forEach(function(a){if(a.loadKind&&"scalar"!==a.loadKind)throw new j("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=d(this,"implicit",[]),this.compiledExplicit=d(this,"explicit",[]),this.compiledTypeMap=e(this.compiledImplicit,this.compiledExplicit)}var g=this,h=g.define;g.define=void 0;var i=a("11d"),j=a("11f"),k=a("124");return f.DEFAULT=null,f.create=function(){var a,b;switch(arguments.length){case 1:a=f.DEFAULT,b=arguments[0];break;case 2:a=arguments[0],b=arguments[1];break;default:throw new j("Wrong number of arguments for Schema.create function")}if(a=i.toArray(a),b=i.toArray(b),!a.every(function(a){return a instanceof f}))throw new j("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!b.every(function(a){return a instanceof k}))throw new j("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new f({include:a,explicit:b})},c.exports=f,g.define=h,c.exports}),a.registerDynamic("125",["124"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("124");return c.exports=new f("tag:yaml.org,2002:str",{kind:"scalar",construct:function(a){return null!==a?a:""}}),d.define=e,c.exports}),a.registerDynamic("126",["124"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("124");return c.exports=new f("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(a){return null!==a?a:[]}}),d.define=e,c.exports}),a.registerDynamic("127",["124"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("124");return c.exports=new f("tag:yaml.org,2002:map",{kind:"mapping",construct:function(a){return null!==a?a:{}}}),d.define=e,c.exports}),a.registerDynamic("128",["123","125","126","127"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("123");return c.exports=new f({explicit:[a("125"),a("126"),a("127")]}),d.define=e,c.exports}),a.registerDynamic("129",["124"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!0;var b=a.length;return 1===b&&"~"===a||4===b&&("null"===a||"Null"===a||"NULL"===a)}function e(){return null}function f(a){return null===a}var g=this,h=g.define;g.define=void 0;var i=a("124");return c.exports=new i("tag:yaml.org,2002:null",{kind:"scalar",resolve:d,construct:e,predicate:f,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"}),g.define=h,c.exports}),a.registerDynamic("12a",["124"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!1;var b=a.length;return 4===b&&("true"===a||"True"===a||"TRUE"===a)||5===b&&("false"===a||"False"===a||"FALSE"===a)}function e(a){return"true"===a||"True"===a||"TRUE"===a}function f(a){return"[object Boolean]"===Object.prototype.toString.call(a)}var g=this,h=g.define;g.define=void 0;var i=a("124");return c.exports=new i("tag:yaml.org,2002:bool",{kind:"scalar",resolve:d,construct:e,predicate:f,represent:{lowercase:function(a){return a?"true":"false"},uppercase:function(a){return a?"TRUE":"FALSE"},camelcase:function(a){return a?"True":"False"}},defaultStyle:"lowercase"}),g.define=h,c.exports}),a.registerDynamic("12b",["11d","124"],!0,function(a,b,c){"use strict";function d(a){return a>=48&&57>=a||a>=65&&70>=a||a>=97&&102>=a}function e(a){return a>=48&&55>=a}function f(a){return a>=48&&57>=a}function g(a){if(null===a)return!1;var b,c=a.length,g=0,h=!1;if(!c)return!1;if(b=a[g],("-"===b||"+"===b)&&(b=a[++g]),"0"===b){if(g+1===c)return!0;if(b=a[++g],"b"===b){for(g++;c>g;g++)if(b=a[g],"_"!==b){if("0"!==b&&"1"!==b)return!1;h=!0}return h}if("x"===b){for(g++;c>g;g++)if(b=a[g],"_"!==b){if(!d(a.charCodeAt(g)))return!1;h=!0}return h}for(;c>g;g++)if(b=a[g],"_"!==b){if(!e(a.charCodeAt(g)))return!1;h=!0}return h}for(;c>g;g++)if(b=a[g],"_"!==b){if(":"===b)break;if(!f(a.char
return e}var W=this,X=W.define;W.define=void 0;var Y=a("13f"),Z=a("141"),$=a("143");b.Buffer=f,b.SlowBuffer=r,b.INSPECT_MAX_BYTES=50,f.poolSize=8192;var _={};f.TYPED_ARRAY_SUPPORT=void 0!==W.TYPED_ARRAY_SUPPORT?W.TYPED_ARRAY_SUPPORT:d(),f.TYPED_ARRAY_SUPPORT?(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array):(f.prototype.length=void 0,f.prototype.parent=void 0),f.isBuffer=function(a){return!(null==a||!a._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,e=0,g=Math.min(c,d);g>e&&a[e]===b[e];)++e;return e!==g&&(c=a[e],d=b[e]),d>c?-1:c>d?1:0},f.isEncoding=function(a){switch(String(a).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}},f.concat=function(a,b){if(!$(a))throw new TypeError("list argument must be an Array of Buffers.");if(0===a.length)return new f(0);var c;if(void 0===b)for(b=0,c=0;c<a.length;c++)b+=a[c].length;var d=new f(b),e=0;for(c=0;c<a.length;c++){var g=a[c];g.copy(d,e),e+=g.length}return d},f.byteLength=s,f.prototype.toString=function(){var a=0|this.length;return 0===a?"":0===arguments.length?B(this,0,a):t.apply(this,arguments)},f.prototype.equals=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:0===f.compare(this,a)},f.prototype.inspect=function(){var a="",c=b.INSPECT_MAX_BYTES;return this.length>0&&(a=this.toString("hex",0,c).match(/.{2}/g).join(" "),this.length>c&&(a+=" ... ")),"<Buffer "+a+">"},f.prototype.compare=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?0:f.compare(this,a)},f.prototype.indexOf=function(a,b){function c(a,b,c){for(var d=-1,e=0;c+e<a.length;e++)if(a[c+e]===b[-1===d?0:e-d]){if(-1===d&&(d=e),e-d+1===b.length)return c+d}else d=-1;return-1}if(b>2147483647?b=2147483647:-2147483648>b&&(b=-2147483648),b>>=0,0===this.length)return-1;if(b>=this.length)return-1;if(0>b&&(b=Math.max(this.length+b,0)),"string"==typeof a)return 0===a.length?-1:String.prototype.indexOf.call(this,a,b);if(f.isBuffer(a))return c(this,a,b);if("number"==typeof a)return f.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,a,b):c(this,[a],b);throw new TypeError("val must be string, number or Buffer")},f.prototype.get=function(a){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(a)},f.prototype.set=function(a,b){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(a,b)},f.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else if(isFinite(b))b=0|b,isFinite(c)?(c=0|c,void 0===d&&(d="utf8")):(d=c,c=void 0);else{var e=d;d=b,b=0|c,c=e}var f=this.length-b;if((void 0===c||c>f)&&(c=f),a.length>0&&(0>c||0>b)||b>this.length)throw new RangeError("attempt to write outside buffer bounds");d||(d="utf8");for(var g=!1;;)switch(d){case"hex":return u(this,a,b,c);case"utf8":case"utf-8":return v(this,a,b,c);case"ascii":return w(this,a,b,c);case"binary":return x(this,a,b,c);case"base64":return y(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,a,b,c);default:if(g)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),g=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var aa=4096;f.prototype.slice=function(a,b){var c=this.length;a=~~a,b=void 0===b?c:~~b,0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c),0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c),a>b&&(b=a);var d;if(f.TYPED_ARRAY_SUPPORT)d=f._augment(this.subarray(a,b));else{var e=b-a;d=new f(e,void 0);for(var g=0;e>g;g++)d[g]=this[g+a]}return d.length&&(d.parent=this.parent||this),d},f.prototype.readUIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return d},f.prototype.readUIntBE=functi
2016-02-03 18:07:28 +03:00
var k,l,m,n,o=a[j].replace(g,"%20"),p=o.indexOf(c);p>=0?(k=o.substr(0,p),l=o.substr(p+1)):(k=o,l=""),m=decodeURIComponent(k),n=decodeURIComponent(l),d(f,m)?Array.isArray(f[m])?f[m].push(n):f[m]=[f[m],n]:f[m]=n}return f},e.define=f,c.exports}),a.registerDynamic("155",[],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};return c.exports=function(a,b,c,d){return b=b||"&",c=c||"=",null===a&&(a=void 0),"object"==typeof a?Object.keys(a).map(function(d){var e=encodeURIComponent(f(d))+c;return Array.isArray(a[d])?a[d].map(function(a){return e+encodeURIComponent(f(a))}).join(b):e+encodeURIComponent(f(a[d]))}).join(b):d?encodeURIComponent(f(d))+c+encodeURIComponent(f(a)):""},d.define=e,c.exports}),a.registerDynamic("156",["154","155"],!0,function(a,b,c){"use strict";var d=this,e=d.define;return d.define=void 0,b.decode=b.parse=a("154"),b.encode=b.stringify=a("155"),d.define=e,c.exports}),a.registerDynamic("157",["156"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports=a("156"),d.define=e,c.exports}),a.registerDynamic("158",["153","157"],!0,function(a,b,c){function d(){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 e(a,b,c){if(a&&j(a)&&a instanceof d)return a;var e=new d;return e.parse(a,b,c),e}function f(a){return i(a)&&(a=e(a)),a instanceof d?a.format():d.prototype.format.call(a)}function g(a,b){return e(a,!1,!0).resolve(b)}function h(a,b){return a?e(a,!1,!0).resolveObject(b):b}function i(a){return"string"==typeof a}function j(a){return"object"==typeof a&&null!==a}function k(a){return null===a}function l(a){return null==a}var m=this,n=m.define;m.define=void 0;var o=a("153");b.parse=e,b.resolve=g,b.resolveObject=h,b.format=f,b.Url=d;var p=/^([a-z0-9.+-]+:)/i,q=/:[0-9]*$/,r=["<",">",'"',"`"," ","\r","\n"," "],s=["{","}","|","\\","^","`"].concat(r),t=["'"].concat(s),u=["%","/","?",";","#"].concat(t),v=["/","?","#"],w=255,x=/^[a-z0-9A-Z_-]{0,63}$/,y=/^([a-z0-9A-Z_-]{0,63})(.*)$/,z={javascript:!0,"javascript:":!0},A={javascript:!0,"javascript:":!0},B={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},C=a("157");return d.prototype.parse=function(a,b,c){if(!i(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);var d=a;d=d.trim();var e=p.exec(d);if(e){e=e[0];var f=e.toLowerCase();this.protocol=f,d=d.substr(e.length)}if(c||e||d.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===d.substr(0,2);!g||e&&A[e]||(d=d.substr(2),this.slashes=!0)}if(!A[e]&&(g||e&&!B[e])){for(var h=-1,j=0;j<v.length;j++){var k=d.indexOf(v[j]);-1!==k&&(-1===h||h>k)&&(h=k)}var l,m;m=-1===h?d.lastIndexOf("@"):d.lastIndexOf("@",h),-1!==m&&(l=d.slice(0,m),d=d.slice(m+1),this.auth=decodeURIComponent(l)),h=-1;for(var j=0;j<u.length;j++){var k=d.indexOf(u[j]);-1!==k&&(-1===h||h>k)&&(h=k)}-1===h&&(h=d.length),this.host=d.slice(0,h),d=d.slice(h),this.parseHost(),this.hostname=this.hostname||"";var n="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!n)for(var q=this.hostname.split(/\./),j=0,r=q.length;r>j;j++){var s=q[j];if(s&&!s.match(x)){for(var D="",E=0,F=s.length;F>E;E++)D+=s.charCodeAt(E)>127?"x":s[E];if(!D.match(x)){var G=q.slice(0,j),H=q.slice(j+1),I=s.match(y);I&&(G.push(I[1]),H.unshift(I[2])),H.length&&(d="/"+H.join(".")+d),this.hostname=G.join(".");break}}}if(this.hostname.length>w?this.hostname="":this.hostname=this.hostname.toLowerCase(),!n){for(var J=this.hostname.split("."),K=[],j=0;j<J.length;++j){var L=J[j];K.push(L.match(/[^A-Za-z0-9_-]/)?"xn--"+o.encode(L):L)}this.hostname=K.join(".")}var M=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+M,this.href+=this.host,n&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==d[0]&&(d="/"+d))}if(!z[f])for(var j=0,r=t.length;r>j;j++){var O=t[j],P=encodeURICompon
2016-02-01 20:31:35 +03:00
m.html=i(m.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,m._tag)(),m.paragraph=i(m.paragraph)("hr",m.hr)("heading",m.heading)("lheading",m.lheading)("blockquote",m.blockquote)("tag","<"+m._tag)("def",m.def)(),m.normal=k({},m),m.gfm=k({},m.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),m.gfm.paragraph=i(m.paragraph)("(?!","(?!"+m.gfm.fences.source.replace("\\1","\\2")+"|"+m.list.source.replace("\\1","\\3")+"|")(),m.tables=k({},m.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),a.rules=m,a.lex=function(b,c){var d=new a(c);return d.lex(b)},a.prototype.lex=function(a){return a=a.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(a,!0)},a.prototype.token=function(a,b,c){for(var d,e,f,g,h,i,j,k,l,a=a.replace(/^ +$/gm,"");a;)if((f=this.rules.newline.exec(a))&&(a=a.substring(f[0].length),f[0].length>1&&this.tokens.push({type:"space"})),f=this.rules.code.exec(a))a=a.substring(f[0].length),f=f[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?f:f.replace(/\n+$/,"")});else if(f=this.rules.fences.exec(a))a=a.substring(f[0].length),this.tokens.push({type:"code",lang:f[2],text:f[3]||""});else if(f=this.rules.heading.exec(a))a=a.substring(f[0].length),this.tokens.push({type:"heading",depth:f[1].length,text:f[2]});else if(b&&(f=this.rules.nptable.exec(a))){for(a=a.substring(f[0].length),i={type:"table",header:f[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:f[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:f[3].replace(/\n$/,"").split("\n")},k=0;k<i.align.length;k++)/^ *-+: *$/.test(i.align[k])?i.align[k]="right":/^ *:-+: *$/.test(i.align[k])?i.align[k]="center":/^ *:-+ *$/.test(i.align[k])?i.align[k]="left":i.align[k]=null;for(k=0;k<i.cells.length;k++)i.cells[k]=i.cells[k].split(/ *\| */);this.tokens.push(i)}else if(f=this.rules.lheading.exec(a))a=a.substring(f[0].length),this.tokens.push({type:"heading",depth:"="===f[2]?1:2,text:f[1]});else if(f=this.rules.hr.exec(a))a=a.substring(f[0].length),this.tokens.push({type:"hr"});else if(f=this.rules.blockquote.exec(a))a=a.substring(f[0].length),this.tokens.push({type:"blockquote_start"}),f=f[0].replace(/^ *> ?/gm,""),this.token(f,b,!0),this.tokens.push({type:"blockquote_end"});else if(f=this.rules.list.exec(a)){for(a=a.substring(f[0].length),g=f[2],this.tokens.push({type:"list_start",ordered:g.length>1}),f=f[0].match(this.rules.item),d=!1,l=f.length,k=0;l>k;k++)i=f[k],j=i.length,i=i.replace(/^ *([*+-]|\d+\.) +/,""),~i.indexOf("\n ")&&(j-=i.length,i=this.options.pedantic?i.replace(/^ {1,4}/gm,""):i.replace(new RegExp("^ {1,"+j+"}","gm"),"")),this.options.smartLists&&k!==l-1&&(h=m.bullet.exec(f[k+1])[0],g===h||g.length>1&&h.length>1||(a=f.slice(k+1).join("\n")+a,k=l-1)),e=d||/\n\n(?!\s*$)/.test(i),k!==l-1&&(d="\n"===i.charAt(i.length-1),e||(e=d)),this.tokens.push({type:e?"loose_item_start":"list_item_start"}),this.token(i,!1,c),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(f=this.rules.html.exec(a))a=a.substring(f[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===f[1]||"script"===f[1]||"style"===f[1]),text:f[0]});else if(!c&&b&&(f=this.rules.def.exec(a)))a=a.substring(f[0].length),this.tokens.links[f[1].toLowerCase()]={href:f[2],title:f[3]};else if(b&&(f=this.rules.table.exec(a))){for(a=a.substring(f[0].length),i={type:"table",header:f[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:f[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:f[3].replace(/(?: *\| *)?\n$/,"").split("\n")},k=0;k<i.align.length;k++)/^ *-+: *$/.test(i.align[k])?i.align[k]="right":/^ *:-+: *$/.test(i.align[k])?i.align[k]="center":/^ *:-+ *$/.test(i.align[k])?i.align[k]="left":i.align[k]=null;for(k=0;k<i.cells.length;k++)i.cells[k]=i.cells[k].replace(/^ *\| *| *\| *$
2016-02-03 18:07:28 +03:00
number:/\b(\d+(\.\d+)?(e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[-!#$%*+=?&@|~.:<>^\\\/]*\.[-!#$%*+=?&@|~.:<>^\\\/]+|[-!#$%*+=?&@|~.:<>^\\\/]+\.[-!#$%*+=?&@|~.:<>^\\\/]*|[-!#$%*+=?&@|~:<>^\\\/]+|`([A-Z][_a-zA-Z0-9']*\.)*[_a-z][_a-zA-Z0-9']*`/,hvariable:/\b([A-Z][_a-zA-Z0-9']*\.)*[_a-z][_a-zA-Z0-9']*\b/,constant:/\b([A-Z][_a-zA-Z0-9']*\.)*[A-Z][_a-zA-Z0-9']*\b/,punctuation:/[{}[\];(),.:]/},d.define=e,c.exports}),a.registerDynamic("17f",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,Prism.languages.java=Prism.languages.extend("clike",{keyword:/\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+(?:e[+-]?\d+)?[df]?\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,lookbehind:!0}}),d.define=e,c.exports}),a.registerDynamic("180",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[\s\S]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,number:/\b0x[a-f\d]+\.?[a-f\d]*(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|\.?\d*(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,"function":/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},d.define=e,c.exports}),a.registerDynamic("181",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,Prism.languages.matlab={string:/\B'(?:''|[^'\n])*'/,comment:[/%\{[\s\S]*?\}%/,/%.+/],number:/\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,"function":/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/},d.define=e,c.exports}),a.registerDynamic("182",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,Prism.languages.objectivec=Prism.languages.extend("c",{keyword:/\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b|(@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,string:/("|')(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),d.define=e,c.exports}),a.registerDynamic("183",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,Prism.languages.perl={comment:[{pattern:/(^\s*)=\w+[\s\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0}],string:[/\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1/,/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:[^\\]|\\[\s\S])*?\1/,/\b(?:q|qq|qx|qw)\s*\((?:[^()\\]|\\[\s\S])*\)/,/\b(?:q|qq|qx|qw)\s*\{(?:[^{}\\]|\\[\s\S])*\}/,/\b(?:q|qq|qx|qw)\s*\[(?:[^[\]\\]|\\[\s\S])*\]/,/\b(?:q|qq|qx|qw)\s*<(?:[^<>\\]|\\[\s\S])*>/,/("|`)(?:[^\\]|\\[\s\S])*?\1/,/'(?:[^'\\\r\n]|\\.)*'/],regex:[/\b(?:m|qr)\s*([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1[msixpodualngc]*/,/\b(?:m|qr)\s+([a-zA-Z0-9])(?:[^\\]|\\.)*?\1[msixpodualngc]*/,/\b(?:m|qr)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngc]*/,/\b(?:m|qr)\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngc]*/,/\b(?:m|qr)\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngc]*/,/\b(?:m|qr)\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngc]*/,{pattern:/(^|[^-]\b)(?:s|tr|y)\s*([^a-zA-Z0-9\s\{\(
l=a["default"]},function(a){m=a.CORE_DIRECTIVES,n=a.JsonPipe,o=a.AsyncPipe},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a["default"]},function(a){s=a["default"]},function(a){t=a["default"]},function(a){u=a.MarkedPipe,v=a.JsonPointerEscapePipe}],execute:function(){"use strict";a("RedocComponent",d),w=["pointer"],x=function(){function a(b){f(this,a),this.schemaMgr=b,this.schema=b.schema,this.componentSchema=null}return e(a,[{key:"ngOnInit",value:function(){this.componentSchema=c(this.schemaMgr.byPointer(this.pointer||"")),this.prepareModel(),this.init()}},{key:"ngOnDestroy",value:function(){this.destroy()}},{key:"dereference",value:function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?l({},this.componentSchema):arguments[0],c={},d=function e(b){var d=void 0;if(b&&b.$ref){d=b.$ref;var f=a.schemaMgr.byPointer(b.$ref),g=t.baseName(b.$ref);c[b.$ref]?f={title:f.title,type:f.type}:(f=l({},f),f._pointer=b.$ref),c[b.$ref]=c[b.$ref]?c[b.$ref]+1:1,f.title=f.title||g;var h=p(b).length;(h>2||2===h&&!b.description)&&console.warn("other properties defined at the same level as $ref at '"+a.pointer+"'.\n They are IGNORRED according to JsonSchema spec"),b=b.description?{description:b.description}:{},l(b,f)}return p(b).forEach(function(a){var c=b[a];c&&"object"==typeof c&&(b[a]=e(c))}),d&&(c[d]=c[d]?c[d]-1:0),b};this.componentSchema=d(b,1)}},{key:"joinAllOf",value:function(a,b){function c(a,c){if(a.required||a.properties){var e="Can't merge allOf: properties or required fields are specified on the same level as allOf\n "+a;throw new Error(e)}a.required=[],a.properties={};var f=!0,g=!1,h=void 0;try{for(var i,j=q(c);!(f=(i=j.next()).done);f=!0){var k=i.value;if(!(b&&b.omitParent&&k.discriminator)){if("object"!=typeof k||"object"!==k.type){var e="Can't merge allOf: only subschemas with type: object can be merged\n "+k;throw new Error(e)}if(d.joinAllOf(k),k.properties&&l(a.properties,k.properties),k.required){var m;(m=a.required).push.apply(m,r(k.required))}}}}catch(n){g=!0,h=n}finally{try{!f&&j["return"]&&j["return"]()}finally{if(g)throw h}}a.type="object",a.allOf=null}void 0===a&&(a=this.componentSchema);var d=this;a.allOf&&c(a,a.allOf)}},{key:"prepareModel",value:function(){}},{key:"init",value:function(){}},{key:"destroy",value:function(){}}]),a}(),a("BaseComponent",x),x.parameters=[[s]]}}}),a.registerDynamic("18b",["22","67","11","18c"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},g=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},h=a("22"),i=a("67"),j=a("11"),k=a("18c"),l=function(){function a(){}return a.prototype.createSubscription=function(a,b){return i.ObservableWrapper.subscribe(a,b,function(a){throw a})},a.prototype.dispose=function(a){i.ObservableWrapper.dispose(a)},a.prototype.onDestroy=function(a){i.ObservableWrapper.dispose(a)},a}(),m=function(){function a(){}return a.prototype.createSubscription=function(a,b){return a.then(b)},a.prototype.dispose=function(a){},a.prototype.onDestroy=function(a){},a}(),n=new m,o=new l,p=function(){function a(a){this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=a}return a.prototype.ngOnDestroy=function(){h.isPresent(this._subscription)&&this._dispose()},a.prototype.transform=function(a,b){return h.isBlank(this._obj)?(h.isPresent(a)&&this._subscribe(a),this._latestValue):a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,j.WrappedValue.wrap(this._latestValue))},a.prototype._subscribe=func
var c,d,e;return b.forEach(function(b){b instanceof r.DefaultValueAccessor?c=b:b instanceof t.CheckboxControlValueAccessor||b instanceof s.NumberValueAccessor||b instanceof u.SelectControlValueAccessor?(o.isPresent(d)&&g(a,"More than one built-in value accessor matches"),d=b):(o.isPresent(e)&&g(a,"More than one custom value accessor matches"),e=b)}),o.isPresent(e)?e:o.isPresent(d)?d:o.isPresent(c)?c:(g(a,"No valid value accessor for"),null)}var l=this,m=l.define;l.define=void 0;var n=a("3b"),o=a("22"),p=a("40"),q=a("19a"),r=a("1a2"),s=a("1a3"),t=a("1a4"),u=a("1a5"),v=a("1a1");return b.controlPath=d,b.setUpControl=e,b.setUpControlGroup=f,b.composeValidators=h,b.composeAsyncValidators=i,b.isPropertyUpdated=j,b.selectValueAccessor=k,l.define=m,c.exports}),a.registerDynamic("1a6",["67","3b","22","11","196","19d","199","19a"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},h=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},i=this&&this.__param||function(a,b){return function(c,d){b(c,d,a)}},j=a("67"),k=a("3b"),l=a("22"),m=a("11"),n=a("196"),o=a("19d"),p=a("199"),q=a("19a"),r=l.CONST_EXPR(new m.Provider(n.ControlContainer,{useExisting:m.forwardRef(function(){return s})})),s=function(a){function b(b,c){a.call(this),this.ngSubmit=new j.EventEmitter,this.form=new o.ControlGroup({},null,p.composeValidators(b),p.composeAsyncValidators(c))}return f(b,a),Object.defineProperty(b.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),b.prototype.addControl=function(a){var b=this;j.PromiseWrapper.scheduleMicrotask(function(){var c=b._findContainer(a.path),d=new o.Control;p.setUpControl(d,a),c.addControl(a.name,d),d.updateValueAndValidity({emitEvent:!1})})},b.prototype.getControl=function(a){return this.form.find(a.path)},b.prototype.removeControl=function(a){var b=this;j.PromiseWrapper.scheduleMicrotask(function(){var c=b._findContainer(a.path);l.isPresent(c)&&(c.removeControl(a.name),c.updateValueAndValidity({emitEvent:!1}))})},b.prototype.addControlGroup=function(a){var b=this;j.PromiseWrapper.scheduleMicrotask(function(){var c=b._findContainer(a.path),d=new o.ControlGroup({});p.setUpControlGroup(d,a),c.addControl(a.name,d),d.updateValueAndValidity({emitEvent:!1})})},b.prototype.removeControlGroup=function(a){var b=this;j.PromiseWrapper.scheduleMicrotask(function(){var c=b._findContainer(a.path);l.isPresent(c)&&(c.removeControl(a.name),c.updateValueAndValidity({emitEvent:!1}))})},b.prototype.getControlGroup=function(a){return this.form.find(a.path)},b.prototype.updateModel=function(a,b){var c=this;j.PromiseWrapper.scheduleMicrotask(function(){var d=c.form.find(a.path);d.updateValue(b)})},b.prototype.onSubmit=function(){return j.ObservableWrapper.callEmit(this.ngSubmit,null),!1},b.prototype._findContainer=function(a){return a.pop(),k.ListWrapper.isEmpty(a)?this.form:this.form.find(a)},b=g([m.Directive({selector:"form:not([ngNoForm]):not([ngFormModel]),ngForm,[ngForm]",bindings:[r],host:{"(submit)":"onSubmit()"},outputs:["ngSubmit"],exportAs:"ngForm"}),i(0,m.Optional()),i(0,m.Self()),i(0,m.Inject(q.NG_VALIDATORS)),i(1,m.Optional()),i(1,m.Self())
2016-02-03 19:59:00 +03:00
d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},g=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},h=a("22"),i=a("11"),j=a("3b"),k=function(){function a(a,b,c,d){this._iterableDiffers=a,this._keyValueDiffers=b,this._ngEl=c,this._renderer=d,this._initialClasses=[]}return Object.defineProperty(a.prototype,"initialClasses",{set:function(a){this._applyInitialClasses(!0),this._initialClasses=h.isPresent(a)&&h.isString(a)?a.split(" "):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"rawClass",{set:function(a){this._cleanupClasses(this._rawClass),h.isString(a)&&(a=a.split(" ")),this._rawClass=a,h.isPresent(a)?j.isListLikeIterable(a)?(this._differ=this._iterableDiffers.find(a).create(null),this._mode="iterable"):(this._differ=this._keyValueDiffers.find(a).create(null),this._mode="keyValue"):this._differ=null},enumerable:!0,configurable:!0}),a.prototype.ngDoCheck=function(){if(h.isPresent(this._differ)){var a=this._differ.diff(this._rawClass);h.isPresent(a)&&("iterable"==this._mode?this._applyIterableChanges(a):this._applyKeyValueChanges(a))}},a.prototype.ngOnDestroy=function(){this._cleanupClasses(this._rawClass)},a.prototype._cleanupClasses=function(a){this._applyClasses(a,!0),this._applyInitialClasses(!1)},a.prototype._applyKeyValueChanges=function(a){var b=this;a.forEachAddedItem(function(a){b._toggleClass(a.key,a.currentValue)}),a.forEachChangedItem(function(a){b._toggleClass(a.key,a.currentValue)}),a.forEachRemovedItem(function(a){a.previousValue&&b._toggleClass(a.key,!1)})},a.prototype._applyIterableChanges=function(a){var b=this;a.forEachAddedItem(function(a){b._toggleClass(a.item,!0)}),a.forEachRemovedItem(function(a){b._toggleClass(a.item,!1)})},a.prototype._applyInitialClasses=function(a){var b=this;this._initialClasses.forEach(function(c){return b._toggleClass(c,!a)})},a.prototype._applyClasses=function(a,b){var c=this;h.isPresent(a)&&(h.isArray(a)?a.forEach(function(a){return c._toggleClass(a,!b)}):a instanceof Set?a.forEach(function(a){return c._toggleClass(a,!b)}):j.StringMapWrapper.forEach(a,function(a,d){a&&c._toggleClass(d,!b)}))},a.prototype._toggleClass=function(a,b){if(a=a.trim(),a.length>0)if(a.indexOf(" ")>-1)for(var c=a.split(/\s+/g),d=0,e=c.length;e>d;d++)this._renderer.setElementClass(this._ngEl,c[d],b);else this._renderer.setElementClass(this._ngEl,a,b)},a=f([i.Directive({selector:"[ngClass]",inputs:["rawClass: ngClass","initialClasses: class"]}),g("design:paramtypes",[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer])],a)}();return b.NgClass=k,d.define=e,c.exports}),a.registerDynamic("1ae",["11","22"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},g=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},h=a("11"),i=a("22"),j=function(){function a(a,b,c,d){this._viewContainer=a,this._templateRef=b,this._iterableDiffers=c,this._cdr=d}return Object.defineProperty(a.prototype,"ngForOf",{set:function(a){this._ngForOf=a,i.isBlank(this._differ)&&i.isPresent(a)&&(this._differ=this._iterableDiffers.find(a).create(this._cdr))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngForTemplate",{set:function(a){i.isPresent(a)&&(this._templateRef=a)},enu
2016-02-03 18:07:28 +03:00
directives:[c,l,m],inputs:["isArray","final"]})(c)||c}(c),a("default",o),o.parameters=o.parameters.concat([[h]])}}}),a.register("1c3",["2","8","9","12","13","14","15","1c","e","1e","a"],function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l,m;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]}],execute:function(){m=[b,c,l,e,h,d,i,f,g,j,k],a("ApiInfo",b),a("ApiLogo",c),a("JsonSchema",l),a("Method",e),a("MethodsList",h),a("ParamsList",d),a("Redoc",i),a("ResponsesList",f),a("ResponsesSamples",g),a("SchemaSample",j),a("SideMenu",k),a("REDOC_COMPONENTS",m)}}}),a.registerDynamic("1c4",["1c5"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("1c5");return b.Class=f.Class,d.define=e,c.exports}),a.registerDynamic("1c6",["22"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("22");return b.enableProdMode=f.enableProdMode,d.define=e,c.exports}),a.registerDynamic("1c7",["22","67","40","1c8"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("22");b.Type=f.Type;var g=a("67");b.EventEmitter=g.EventEmitter;var h=a("40");b.WrappedException=h.WrappedException;var i=a("1c8");return b.ExceptionHandler=i.ExceptionHandler,d.define=e,c.exports}),a.registerDynamic("5f",["56","22","3d","8c","67","3b","62","25","40","1c9","1ca","50"],!0,function(a,b,c){"use strict";function d(a){return[p.provide(q.APP_COMPONENT,{useValue:a}),p.provide(q.APP_COMPONENT_REF_PROMISE,{useFactory:function(b,c,d){var e;return b.loadAsRoot(a,null,d,function(){c._unloadComponent(e)}).then(function(a){return e=a,o.isPresent(a.location.nativeElement)&&d.get(t.TestabilityRegistry).registerApplication(a.location.nativeElement,d.get(t.Testability)),a})},deps:[u.DynamicComponentLoader,E,p.Injector]}),p.provide(a,{useFactory:function(a){return a.then(function(a){return a.instance})},deps:[q.APP_COMPONENT_REF_PROMISE]})]}function e(){return new n.NgZone({enableLongStackTrace:o.assertionsEnabled()})}function f(a){if(z.lockMode(),o.isPresent(A)){if(s.ListWrapper.equals(B,a))return A;throw new v.BaseException("platform cannot be initialized with different sets of providers.")}return h(a)}function g(){o.isPresent(A)&&(A.dispose(),A=null)}function h(a){B=a;var b=p.Injector.resolveAndCreate(a);return A=new D(b,function(){A=null,B=null}),i(b),A}function i(a){var b=a.getOptional(q.PLATFORM_INITIALIZER);o.isPresent(b)&&b.forEach(function(a){return a()})}function j(a){var b=a.getOptional(q.APP_INITIALIZER);o.isPresent(b)&&b.forEach(function(a){return a()})}var k=this,l=k.define;k.define=void 0;var m=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},n=a("56"),o=a("22"),p=a("3d"),q=a("8c"),r=a("67"),s=a("3b"),t=a("62"),u=a("25"),v=a("40"),w=a("1c9"),x=a("1ca"),y=a("50"),z=a("22");b.createNgZone=e;var A,B;b.platform=f,b.disposePlatform=g;var C=function(){function a(){}return Object.defineProperty(a.prototype,"injector",{get:function(){return v.unimplemented()},enumerable:!0,configurable:!0}),a}();b.PlatformRef=C;var D=function(a){function b(b,c){a.call(this),this._injector=b,this._dispose=c,this._applications=[],this._disposeListeners=[]}return m(b,a),b.prototype.registerDisposeListener=function(a){this._disposeListeners.push(a)},Object.defineProperty(b.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),b.prototype.application=function(a){var b=this._initApp(e(),a);return b},b.prototype.asyncApplication=function(a,b){var c=this,d=e(),f=r.PromiseWrapper.completer();return d.run(function(){r.PromiseWrapper.then(a(d),function(a){o.isPresent(b)&&(a=s.ListWrapper.concat(a,b)),f.resolve(c._initApp(d,a))})}),f.promise},b.prototype._initApp=function(a,b){var c,d,e=this;return
2016-02-01 20:31:35 +03:00
function a(a){this.config=a,this.config=a}return a.fromProviders=function(b){var c={};return b.forEach(function(a){return c[a.name]=a}),new a(c)},a.prototype.get=function(a){var b=this.config[a];if(f.isBlank(b))throw new g.BaseException("Cannot find pipe '"+a+"'.");return b},a}();b.ProtoPipes=j;var k=function(){function a(a,b){this.proto=a,this.injector=b,this._config={}}return a.prototype.get=function(a){var b=h.StringMapWrapper.get(this._config,a);if(f.isPresent(b))return b;var c=this.proto.get(a),d=this.injector.instantiateResolved(c),e=new i.SelectedPipe(d,c.pure);return c.pure&&h.StringMapWrapper.set(this._config,a,e),e},a}();return b.Pipes=k,d.define=e,c.exports}),a.registerDynamic("1da",["22"],!0,function(a,b,c){"use strict";function d(a){return h.StringWrapper.replaceAllMapped(a,i,function(a){return"-"+a[1].toLowerCase()})}function e(a){return h.StringWrapper.replaceAllMapped(a,j,function(a){return a[1].toUpperCase()})}var f=this,g=f.define;f.define=void 0;var h=a("22"),i=/([A-Z])/g,j=/-([a-z])/g;return b.camelCaseToDashCase=d,b.dashCaseToCamelCase=e,f.define=g,c.exports}),a.registerDynamic("1d3",["3b","72","1db","22","40","1c9","1da"],!0,function(a,b,c){"use strict";function d(a){for(var b={},c=a;k.isPresent(c);)b=h.StringMapWrapper.merge(b,h.MapWrapper.toStringMap(c.current)),c=c.parent;return b}var e=this,f=e.define;e.define=void 0;var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("3b"),i=a("72"),j=a("1db"),k=a("22"),l=a("40"),m=a("1c9"),n=a("1da"),o=a("1c9"),p=a("1db");b.DebugContext=p.DebugContext;var q="ng-reflect-";!function(a){a[a.HOST=0]="HOST",a[a.COMPONENT=1]="COMPONENT",a[a.EMBEDDED=2]="EMBEDDED"}(b.ViewType||(b.ViewType={}));var r=(b.ViewType,function(){function a(){this.views=[]}return a}());b.AppViewContainer=r;var s=function(){function a(a,b,c,d,e,f,g,j,k){this.renderer=a,this.proto=b,this.viewOffset=c,this.elementOffset=d,this.textOffset=e,this.render=g,this.renderFragment=j,this.containerElementInjector=k,this.views=null,this.elementInjectors=null,this.viewContainers=null,this.preBuiltObjects=null,this.changeDetector=null,this.context=null,this.ref=new o.ViewRef_(this),this.locals=new i.Locals(null,h.MapWrapper.clone(f))}return a.prototype.init=function(a,b,c,d,e,f,g){this.changeDetector=a,this.elementInjectors=b,this.rootElementInjectors=c,this.preBuiltObjects=d,this.views=e,this.elementRefs=f,this.viewContainers=g},a.prototype.setLocal=function(a,b){if(!this.hydrated())throw new l.BaseException("Cannot set locals on dehydrated view.");if(this.proto.templateVariableBindings.has(a)){var c=this.proto.templateVariableBindings.get(a);this.locals.set(c,b)}},a.prototype.hydrated=function(){return k.isPresent(this.context)},a.prototype.triggerEventHandlers=function(a,b,c){var d=new h.Map;d.set("$event",b),this.dispatchEvent(c,a,d)},a.prototype.notifyOnBinding=function(a,b){if(a.isTextNode())this.renderer.setText(this.render,a.elementIndex+this.textOffset,b);else{var c=this.elementRefs[this.elementOffset+a.elementIndex];if(a.isElementProperty())this.renderer.setElementProperty(c,a.name,b);else if(a.isElementAttribute())this.renderer.setElementAttribute(c,a.name,k.isPresent(b)?""+b:null);else if(a.isElementClass())this.renderer.setElementClass(c,a.name,b);else{if(!a.isElementStyle())throw new l.BaseException("Unsupported directive record");var d=k.isPresent(a.unit)?a.unit:"";this.renderer.setElementStyle(c,a.name,k.isPresent(b)?""+b+d:null)}}},a.prototype.logBindingUpdate=function(a,b){if(a.isDirective()||a.isElementProperty()){var c=this.elementRefs[this.elementOffset+a.elementIndex];this.renderer.setBindingDebugInfo(c,""+q+n.camelCaseToDashCase(a.name),""+b)}},a.prototype.notifyAfterContentChecked=function(){for(var a=this.proto.elementBinders.length,b=this.elementInjectors,c=a-1;c>=0;c--)k.isPresent(b[c+this.elementOffset])&&b[c+this.elementOffset].ngAfterContentChecked()},a.prototype.notifyAfterViewChecked=function(){for(var a=this.proto.elementBinders.l
get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"first",{get:function(){return f.ListWrapper.first(this._results)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"last",{get:function(){return f.ListWrapper.last(this._results)},enumerable:!0,configurable:!0}),a.prototype.map=function(a){return this._results.map(a)},a.prototype.filter=function(a){return this._results.filter(a)},a.prototype.reduce=function(a,b){return this._results.reduce(a,b)},a.prototype.toArray=function(){return f.ListWrapper.clone(this._results)},a.prototype[g.getSymbolIterator()]=function(){return this._results[g.getSymbolIterator()]()},a.prototype.toString=function(){return this._results.toString()},a.prototype.reset=function(a){this._results=a},a.prototype.notifyOnChanges=function(){this._emitter.emit(this)},a}();return b.QueryList=i,d.define=e,c.exports}),a.registerDynamic("1ee",[],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0,b.EVENT_TARGET_SEPARATOR=":";var f=function(){function a(a,b,c){this.fieldName=a,this.eventName=b,this.isLongForm=c}return a.parse=function(c){var d=c,e=c,f=!1,g=c.indexOf(b.EVENT_TARGET_SEPARATOR);return g>-1&&(d=c.substring(0,g).trim(),e=c.substring(g+1).trim(),f=!0),new a(d,e,f)},a.prototype.getFullName=function(){return this.isLongForm?""+this.fieldName+b.EVENT_TARGET_SEPARATOR+this.eventName:this.eventName},a}();return b.EventConfig=f,d.define=e,c.exports}),a.registerDynamic("1ef",["1f0","3d"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("1f0"),h=a("3d"),i=function(a){function b(b,c,d,e,f){a.call(this,d,e,f),this.name=b,this.pure=c}return f(b,a),b.createFromType=function(a,c){var d=new h.Provider(a,{useClass:a}),e=g.resolveProvider(d);return new b(c.name,c.pure,e.key,e.resolvedFactories,e.multiProvider)},b}(g.ResolvedProvider_);return b.PipeProvider=i,d.define=e,c.exports}),a.registerDynamic("80",[],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0,function(a){a[a.OnInit=0]="OnInit",a[a.OnDestroy=1]="OnDestroy",a[a.DoCheck=2]="DoCheck",a[a.OnChanges=3]="OnChanges",a[a.AfterContentInit=4]="AfterContentInit",a[a.AfterContentChecked=5]="AfterContentChecked",a[a.AfterViewInit=6]="AfterViewInit",a[a.AfterViewChecked=7]="AfterViewChecked"}(b.LifecycleHooks||(b.LifecycleHooks={}));var f=b.LifecycleHooks;return b.LIFECYCLE_HOOKS_VALUES=[f.OnInit,f.OnDestroy,f.DoCheck,f.OnChanges,f.AfterContentInit,f.AfterContentChecked,f.AfterViewInit,f.AfterViewChecked],d.define=e,c.exports}),a.registerDynamic("1d6",["22","40","67","3b","3d","1f1","1f0","1f2","1ce","1d2","1d0","1d1","81","84","72","1cf","85","1ee","1ef","80"],!0,function(a,b,c){"use strict";function d(a){var b=a.provider;if(!(b instanceof H))return[];var c=b;return c.eventEmitters.map(function(a){var b=A.EventConfig.parse(a);return new K(b.eventName,z.reflector.getter(b.fieldName))})}function e(a){var b=[];return m.ListWrapper.forEachWithIndex(a,function(a,c){if(a.provider instanceof H){var d=a.provider,e=d.queries;e.forEach(function(a){return b.push(new U(c,a.setter,a.metadata))});var f=d.resolvedFactory.dependencies;f.forEach(function(a){j.isPresent(a.queryDecorator)&&b.push(new U(c,null,a.queryDecorator))})}}),b}var f=this,g=f.define;f.define=void 0;var h,i=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},j=a("22"),k=a("40"),l=a("67"),m=a("3b"),n=a("3d"),o=a("1f1"),p=a("1f0"),q=a("1f2"),r=a("1ce"),s=a("1d2"),t=a("1d0"),u=a("1d1"),v=a("81"),w=a("84"),x=a("72"),y=a("1cf"),z=a("85"),A=a("1ee"),B=a("1ef"),C=a("80"),D=a("1d2"),E=function(){function a(){this.viewManagerId=n.Key.get(r.AppViewMan
return f>3&&g&&Object.defineProperty(b,c,g),g},h=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},i=a("3d"),j=a("22"),k=a("40"),l=a("54"),m=a("85"),n=function(){function a(){}return a.prototype.resolve=function(a){var b=m.reflector.annotations(i.resolveForwardRef(a));if(j.isPresent(b)){var c=b.find(d);if(j.isPresent(c))return c}throw new k.BaseException("No Pipe decorator found on "+j.stringify(a))},a=g([i.Injectable(),h("design:paramtypes",[])],a)}();return b.PipeResolver=n,e.define=f,c.exports}),a.registerDynamic("86",["3d","22"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("3d"),g=a("22");return b.PLATFORM_DIRECTIVES=g.CONST_EXPR(new f.OpaqueToken("Platform Directives")),b.PLATFORM_PIPES=g.CONST_EXPR(new f.OpaqueToken("Platform Pipes")),d.define=e,c.exports}),a.registerDynamic("5a",["40"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("40"),h=function(){function a(){}return a}();b.RenderProtoViewRef=h;var i=function(){function a(){}return a}();b.RenderFragmentRef=i;var j=function(){function a(){}return a}();b.RenderViewRef=j;var k=function(){function a(){}return a}();b.RenderTemplateCmd=k;var l=function(a){function b(){a.apply(this,arguments)}return f(b,a),Object.defineProperty(b.prototype,"ngContentIndex",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isBound",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),b}(k);b.RenderBeginCmd=l;var m=function(a){function b(){a.apply(this,arguments)}return f(b,a),Object.defineProperty(b.prototype,"value",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),b}(l);b.RenderTextCmd=m;var n=function(a){function b(){a.apply(this,arguments)}return f(b,a),Object.defineProperty(b.prototype,"index",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ngContentIndex",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),b}(k);b.RenderNgContentCmd=n;var o=function(a){function b(){a.apply(this,arguments)}return f(b,a),Object.defineProperty(b.prototype,"name",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"attrNameAndValues",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"eventTargetAndNames",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),b}(l);b.RenderBeginElementCmd=o;var p=function(a){function b(){a.apply(this,arguments)}return f(b,a),Object.defineProperty(b.prototype,"templateId",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),b}(o);b.RenderBeginComponentCmd=p;var q=function(a){function b(){a.apply(this,arguments)}return f(b,a),Object.defineProperty(b.prototype,"isMerged",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"children",{get:function(){return g.unimplemented()},enumerable:!0,configurable:!0}),b}(o);b.RenderEmbeddedTemplateCmd=q;var r=function(){function a(a,b){this.viewRef=a,this.fragmentRefs=b}return a}();b.RenderViewWithFragments=r;var s=function(){function a(a,b,c,d,e){this.id=a,this.shortId=b,this.encapsulation=c,this.commands=d,this.styles=e}return a}();b.RenderComponentTemplate=s;var t=function(){function a(){}return a}();return b.Renderer=t,d.define=e,c.exports}),a.registerDynamic("1f2",["22","3d","1f4"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length
return f>3&&g&&Object.defineProperty(b,c,g),g},h=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},i=a("1fa"),j=a("22"),k=a("40"),l=a("3b"),m=a("1f9"),n=a("85"),o=a("1fc"),p=new o.ImplicitReceiver,q=/\{\{(.*?)\}\}/g,r=function(a){function b(b,c,d,e){a.call(this,"Parser Error: "+b+" "+d+" ["+c+"] in "+e)}return f(b,a),b}(k.BaseException),s=function(){function a(a,b){void 0===b&&(b=null),this._lexer=a,this._reflector=j.isPresent(b)?b:n.reflector}return a.prototype.parseAction=function(a,b){this._checkNoInterpolation(a,b);var c=this._lexer.tokenize(a),d=new t(a,b,c,this._reflector,!0).parseChain();return new o.ASTWithSource(d,a,b)},a.prototype.parseBinding=function(a,b){var c=this._parseBindingAst(a,b);return new o.ASTWithSource(c,a,b)},a.prototype.parseSimpleBinding=function(a,b){var c=this._parseBindingAst(a,b);if(!u.check(c))throw new r("Host binding expression can only contain field access and constants",a,b);return new o.ASTWithSource(c,a,b)},a.prototype._parseBindingAst=function(a,b){var c=this._parseQuote(a,b);if(j.isPresent(c))return c;this._checkNoInterpolation(a,b);var d=this._lexer.tokenize(a);return new t(a,b,d,this._reflector,!1).parseChain()},a.prototype._parseQuote=function(a,b){if(j.isBlank(a))return null;var c=a.indexOf(":");if(-1==c)return null;var d=a.substring(0,c).trim();if(!m.isIdentifier(d))return null;var e=a.substring(c+1);return new o.Quote(d,e,b)},a.prototype.parseTemplateBindings=function(a,b){var c=this._lexer.tokenize(a);return new t(a,b,c,this._reflector,!1).parseTemplateBindings()},a.prototype.parseInterpolation=function(a,b){var c=j.StringWrapper.split(a,q);if(c.length<=1)return null;for(var d=[],e=[],f=0;f<c.length;f++){var g=c[f];if(f%2===0)d.push(g);else{if(!(g.trim().length>0))throw new r("Blank expressions are not allowed in interpolated strings",a,"at column "+this._findInterpolationErrorColumn(c,f)+" in",b);var h=this._lexer.tokenize(g),i=new t(a,b,h,this._reflector,!1).parseChain();e.push(i)}}return new o.ASTWithSource(new o.Interpolation(d,e),a,b)},a.prototype.wrapLiteralPrimitive=function(a,b){return new o.ASTWithSource(new o.LiteralPrimitive(a),a,b)},a.prototype._checkNoInterpolation=function(a,b){var c=j.StringWrapper.split(a,q);if(c.length>1)throw new r("Got interpolation ({{}}) where expression was expected",a,"at column "+this._findInterpolationErrorColumn(c,1)+" in",b)},a.prototype._findInterpolationErrorColumn=function(a,b){for(var c="",d=0;b>d;d++)c+=d%2===0?a[d]:"{{"+a[d]+"}}";return c.length},a=g([i.Injectable(),h("design:paramtypes",[m.Lexer,n.Reflector])],a)}();b.Parser=s;var t=function(){function a(a,b,c,d,e){this.input=a,this.location=b,this.tokens=c,this.reflector=d,this.parseAction=e,this.index=0}return a.prototype.peek=function(a){var b=this.index+a;return b<this.tokens.length?this.tokens[b]:m.EOF},Object.defineProperty(a.prototype,"next",{get:function(){return this.peek(0)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"inputIndex",{get:function(){return this.index<this.tokens.length?this.next.index:this.input.length},enumerable:!0,configurable:!0}),a.prototype.advance=function(){this.index++},a.prototype.optionalCharacter=function(a){return this.next.isCharacter(a)?(this.advance(),!0):!1},a.prototype.optionalKeywordVar=function(){return this.peekKeywordVar()?(this.advance(),!0):!1},a.prototype.peekKeywordVar=function(){return this.next.isKeywordVar()||this.next.isOperator("#")},a.prototype.expectCharacter=function(a){this.optionalCharacter(a)||this.error("Missing expected "+j.StringWrapper.fromCharCode(a))},a.prototype.optionalOperator=function(a){return this.next.isOperator(a)?(this.advance(),!0):!1},a.prototype.expectOperator=function(a){this.optionalOperator(a)||this.error("Missing expected operator "+a)},a.prototype.expectIdentifierOrKeyword=function(){var a=this.next;return a.isIdentifier()||a.isKeyword()||this.error("Unexpected token "+a+", expected identifier or keyword"),this.advance(),a.toString()},a.prototype.expectIdentifierOrKeywordOrString=functi
var d=this,e=d.define;d.define=void 0;var f=function(){function a(a,b,c,d){this.eventName=a,this.elIndex=b,this.dirIndex=c,this.records=d}return a}();return b.EventBinding=f,d.define=e,c.exports}),a.registerDynamic("204",["22","3b","201"],!0,function(a,b,c){"use strict";function d(a){for(var b=[],c=[],d=new o.Map,g=0,i=o.ListWrapper.createFixedSize(a.length),j=0;j<a.length;j++){var k=i[j];n.isPresent(k)&&(g--,k.fixedArgs[0]=b.length);var l=a[j],m=h(l,b,d);if(m.isSkipRecord())b.push(m),g++,i[m.fixedArgs[0]]=m;else{var p=f(m,b,c,g>0);d.set(l.selfIndex,p.selfIndex)}}return e(b)}function e(a){for(var b=[],c=o.ListWrapper.createFixedSize(a.length),d=new o.Map,e=0;e<a.length;e++){var f=c[e];n.isPresent(f)&&(f.fixedArgs[0]=b.length);var g=a[e];if(g.isSkipRecord()){if(g.isConditionalSkipRecord()&&g.fixedArgs[0]===e+2&&e<a.length-1&&a[e+1].mode===p.RecordType.SkipRecords&&(g.mode=g.mode===p.RecordType.SkipRecordsIf?p.RecordType.SkipRecordsIfNot:p.RecordType.SkipRecordsIf,g.fixedArgs[0]=a[e+1].fixedArgs[0],e++),g.fixedArgs[0]>e+1){var i=h(g,b,d);b.push(i),c[i.fixedArgs[0]]=i}}else{var i=h(g,b,d);b.push(i),d.set(g.selfIndex,i.selfIndex)}}return b}function f(a,b,c,d){var e=g(a,b,c);return n.isPresent(e)?(a.lastInBinding?(b.push(j(a,e.selfIndex,b.length+1)),e.referencedBySelf=!0):a.argumentToPureFunction&&(e.argumentToPureFunction=!0),e):(d&&c.push(a.selfIndex),b.push(a),a)}function g(a,b,c){return b.find(function(b){return-1==c.indexOf(b.selfIndex)&&b.mode!==p.RecordType.DirectiveLifecycle&&k(b,a)&&b.mode===a.mode&&n.looseIdentical(b.funcOrValue,a.funcOrValue)&&b.contextIndex===a.contextIndex&&n.looseIdentical(b.name,a.name)&&o.ListWrapper.equals(b.args,a.args)})}function h(a,b,c){var d=a.args.map(function(a){return i(c,a)}),e=i(c,a.contextIndex),f=b.length+1;return new p.ProtoRecord(a.mode,a.name,a.funcOrValue,d,a.fixedArgs,e,a.directiveIndex,f,a.bindingRecord,a.lastInBinding,a.lastInDirective,a.argumentToPureFunction,a.referencedBySelf,a.propertyBindingIndex)}function i(a,b){var c=a.get(b);return n.isPresent(c)?c:b}function j(a,b,c){return new p.ProtoRecord(p.RecordType.Self,"self",null,[],a.fixedArgs,b,a.directiveIndex,c,a.bindingRecord,a.lastInBinding,a.lastInDirective,!1,!1,a.propertyBindingIndex)}function k(a,b){var c=n.isBlank(a.directiveIndex)?null:a.directiveIndex.directiveIndex,d=n.isBlank(a.directiveIndex)?null:a.directiveIndex.elementIndex,e=n.isBlank(b.directiveIndex)?null:b.directiveIndex.directiveIndex,f=n.isBlank(b.directiveIndex)?null:b.directiveIndex.elementIndex;return c===e&&d===f}var l=this,m=l.define;l.define=void 0;var n=a("22"),o=a("3b"),p=a("201");return b.coalesce=d,l.define=m,c.exports}),a.registerDynamic("205",["22","40","3b","1fc","206","207","208","203","204","201"],!0,function(a,b,c){"use strict";function d(a){var b=new y;return p.ListWrapper.forEachWithIndex(a.bindingRecords,function(c,d){return b.add(c,a.variableNames,d)}),v.coalesce(b.records)}function e(a){var b=p.ListWrapper.concat(["$event"],a.variableNames);return a.eventRecords.map(function(a){var c=z.create(a,b),d=a.implicitReceiver instanceof t.DirectiveIndex?a.implicitReceiver:null;return new u.EventBinding(a.target.name,a.target.elementIndex,d,c)})}function f(a){switch(a){case 0:return r.ChangeDetectionUtil.arrayFn0;case 1:return r.ChangeDetectionUtil.arrayFn1;case 2:return r.ChangeDetectionUtil.arrayFn2;case 3:return r.ChangeDetectionUtil.arrayFn3;case 4:return r.ChangeDetectionUtil.arrayFn4;case 5:return r.ChangeDetectionUtil.arrayFn5;case 6:return r.ChangeDetectionUtil.arrayFn6;case 7:return r.ChangeDetectionUtil.arrayFn7;case 8:return r.ChangeDetectionUtil.arrayFn8;case 9:return r.ChangeDetectionUtil.arrayFn9;default:throw new o.BaseException("Does not support literal maps with more than 9 elements")}}function g(a){var b=a.map(function(a){return n.isString(a)?'"'+a+'"':""+a}).join(", ");return"mapFn(["+b+"])"}function h(a){switch(a){case"+":return"operation_add";case"-":return"operation_subtract";case"*":return"operation_multiply";case"/":return"operation_divide";case"%":return"operation_remainder";case"==":return"operation_equals";cas
f.isBlank(this.subscriptions[b])?(this.streams[b]=a.changes,this.subscriptions[b]=a.changes.listen(function(a){return c.ref.markForCheck()})):this.streams[b]!==a.changes&&(this.subscriptions[b].cancel(),this.streams[b]=a.changes,this.subscriptions[b]=a.changes.listen(function(a){return c.ref.markForCheck()}))),a},a.prototype.observeDirective=function(a,b){var c=this;if(m.isObservable(a)){this._createArrayToStoreObservables();var d=this.numberOfPropertyProtoRecords+b+2;this.streams[d]=a.changes,this.subscriptions[d]=a.changes.listen(function(a){return c.ref.markForCheck()})}return a},a.prototype.observeComponent=function(a){var b=this;if(m.isObservable(a)){this._createArrayToStoreObservables();var c=this.numberOfPropertyProtoRecords+1;this.streams[c]=a.changes,this.subscriptions[c]=a.changes.listen(function(a){return b.ref.markForCheck()})}return a},a.prototype._createArrayToStoreObservables=function(){f.isBlank(this.subscriptions)&&(this.subscriptions=g.ListWrapper.createFixedSize(this.numberOfPropertyProtoRecords+this.directiveIndices.length+2),this.streams=g.ListWrapper.createFixedSize(this.numberOfPropertyProtoRecords+this.directiveIndices.length+2))},a.prototype.getDirectiveFor=function(a,b){return a.getDirectiveFor(this.directiveIndices[b])},a.prototype.getDetectorFor=function(a,b){return a.getDetectorFor(this.directiveIndices[b])},a.prototype.notifyDispatcher=function(a){this.dispatcher.notifyOnBinding(this._currentBinding(),a)},a.prototype.logBindingUpdate=function(a){this.dispatcher.logBindingUpdate(this._currentBinding(),a)},a.prototype.addChange=function(a,b,c){return f.isBlank(a)&&(a={}),a[this._currentBinding().name]=h.ChangeDetectionUtil.simpleChange(b,c),a},a.prototype._throwError=function(a,b){var c;try{var d=this.dispatcher.getDebugContext(this._currentBinding().elementIndex,null),e=f.isPresent(d)?new o(d.element,d.componentElement,d.context,d.locals,d.injector,this._currentBinding().debug):null;c=new j.ChangeDetectionError(this._currentBinding().debug,a,b,e)}catch(g){c=new j.ChangeDetectionError(null,a,b,null)}throw c},a.prototype.throwOnChangeError=function(a,b){throw new j.ExpressionChangedAfterItHasBeenCheckedException(this._currentBinding().debug,a,b,null)},a.prototype.throwDehydratedError=function(){throw new j.DehydratedException},a.prototype._currentBinding=function(){return this.bindingTargets[this.propertyBindingIndex]},a}();return b.AbstractChangeDetector=p,d.define=e,c.exports}),a.registerDynamic("201",[],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0,function(a){a[a.Self=0]="Self",a[a.Const=1]="Const",a[a.PrimitiveOp=2]="PrimitiveOp",a[a.PropertyRead=3]="PropertyRead",a[a.PropertyWrite=4]="PropertyWrite",a[a.Local=5]="Local",a[a.InvokeMethod=6]="InvokeMethod",a[a.InvokeClosure=7]="InvokeClosure",a[a.KeyedRead=8]="KeyedRead",a[a.KeyedWrite=9]="KeyedWrite",a[a.Pipe=10]="Pipe",a[a.Interpolate=11]="Interpolate",a[a.SafeProperty=12]="SafeProperty",a[a.CollectionLiteral=13]="CollectionLiteral",a[a.SafeMethodInvoke=14]="SafeMethodInvoke",a[a.DirectiveLifecycle=15]="DirectiveLifecycle",a[a.Chain=16]="Chain",a[a.SkipRecordsIf=17]="SkipRecordsIf",a[a.SkipRecordsIfNot=18]="SkipRecordsIfNot",a[a.SkipRecords=19]="SkipRecords"}(b.RecordType||(b.RecordType={}));var f=b.RecordType,g=function(){function a(a,b,c,d,e,f,g,h,i,j,k,l,m,n){this.mode=a,this.name=b,this.funcOrValue=c,this.args=d,this.fixedArgs=e,this.contextIndex=f,this.directiveIndex=g,this.selfIndex=h,this.bindingRecord=i,this.lastInBinding=j,this.lastInDirective=k,this.argumentToPureFunction=l,this.referencedBySelf=m,this.propertyBindingIndex=n}return a.prototype.isPureFunction=function(){return this.mode===f.Interpolate||this.mode===f.CollectionLiteral},a.prototype.isUsedByOtherRecord=function(){return!this.lastInBinding||this.referencedBySelf},a.prototype.shouldBeChecked=function(){return this.argumentToPureFunction||this.lastInBinding||this.isPureFunction()||this.isPipeRecord()},a.prototype.isPipeRecord=function(){return this.mode===f.Pipe},a.prototype.isConditionalSkipRecord=function(){return this.mode===f.SkipRecordsIf
b.ViewChildrenMetadata=f.ViewChildrenMetadata,b.ViewQueryMetadata=f.ViewQueryMetadata,b.ViewChildMetadata=f.ViewChildMetadata,b.AttributeMetadata=f.AttributeMetadata;var g=a("81");b.ComponentMetadata=g.ComponentMetadata,b.DirectiveMetadata=g.DirectiveMetadata,b.PipeMetadata=g.PipeMetadata,b.InputMetadata=g.InputMetadata,b.OutputMetadata=g.OutputMetadata,b.HostBindingMetadata=g.HostBindingMetadata,b.HostListenerMetadata=g.HostListenerMetadata;var h=a("7f");b.ViewMetadata=h.ViewMetadata,b.ViewEncapsulation=h.ViewEncapsulation;var i=a("1f2"),j=a("81"),k=a("7f"),l=a("1c5");return b.Component=l.makeDecorator(j.ComponentMetadata,function(a){return a.View=b.View}),b.Directive=l.makeDecorator(j.DirectiveMetadata),b.View=l.makeDecorator(k.ViewMetadata,function(a){return a.View=b.View}),b.Attribute=l.makeParamDecorator(i.AttributeMetadata),b.Query=l.makeParamDecorator(i.QueryMetadata),b.ContentChildren=l.makePropDecorator(i.ContentChildrenMetadata),b.ContentChild=l.makePropDecorator(i.ContentChildMetadata),b.ViewChildren=l.makePropDecorator(i.ViewChildrenMetadata),b.ViewChild=l.makePropDecorator(i.ViewChildMetadata),b.ViewQuery=l.makeParamDecorator(i.ViewQueryMetadata),b.Pipe=l.makeDecorator(j.PipeMetadata),b.Input=l.makePropDecorator(j.InputMetadata),b.Output=l.makePropDecorator(j.OutputMetadata),b.HostBinding=l.makePropDecorator(j.HostBindingMetadata),b.HostListener=l.makePropDecorator(j.HostListenerMetadata),d.define=e,c.exports}),a.registerDynamic("68",["22","40","5a","54"],!0,function(a,b,c){"use strict";function d(a,b,c){void 0===c&&(c=null);for(var d=0;d<b.length;d++)b[d].visit(a,c)}var e=this,f=e.define;e.define=void 0;var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},i=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},j=a("22"),k=a("40"),l=a("5a"),m=(a("54"),a("54"));b.ViewEncapsulation=m.ViewEncapsulation;var n=function(){function a(a){this.template=a}return a=h([j.CONST(),i("design:paramtypes",[o])],a)}();b.CompiledHostTemplate=n;var o=function(){function a(a,b,c,d){this.id=a,this.changeDetectorFactory=b,this.commands=c,this.styles=d}return a=h([j.CONST(),i("design:paramtypes",[String,Function,Array,Array])],a)}();b.CompiledComponentTemplate=o;var p=j.CONST_EXPR([]),q=function(){function a(a,b,c){this.value=a,this.isBound=b,this.ngContentIndex=c}return a.prototype.visit=function(a,b){return a.visitText(this,b)},a=h([j.CONST(),i("design:paramtypes",[String,Boolean,Number])],a)}();b.TextCmd=q;var r=function(){function a(a,b){this.index=a,this.ngContentIndex=b,this.isBound=!1}return a.prototype.visit=function(a,b){return a.visitNgContent(this,b)},a=h([j.CONST(),i("design:paramtypes",[Number,Number])],a)}();b.NgContentCmd=r;var s=function(a){function b(){a.apply(this,arguments)}return g(b,a),Object.defineProperty(b.prototype,"variableNameAndValues",{get:function(){return k.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"eventTargetAndNames",{get:function(){return k.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"directives",{get:function(){return k.unimplemented()},enumerable:!0,configurable:!0}),b}(l.RenderBeginElementCmd);b.IBeginElementCmd=s;var t=function(){function a(a,b,c,d,e,f,g){this.name=a,this.attrNameAndValues=b,this.eventTargetAndNames=c,this.variableNameAndValues=d,this.directives=e,this.isBound=f,this.ngContentIndex=g}return a.prototype.visit=function(a,b){return a.visitBeginElement(this,b)},a=h([j.CONST(),i("design:paramtypes",[String,Array,Array,Array,Array,Boolean,Numbe
get:function(){return f.stringify(this.token)},enumerable:!0,configurable:!0}),a.get=function(a){return m.get(i.resolveForwardRef(a))},Object.defineProperty(a,"numberOfKeys",{get:function(){return m.numberOfKeys},enumerable:!0,configurable:!0}),a}();b.Key=k;var l=function(){function a(){this._allKeys=new Map}return a.prototype.get=function(a){if(a instanceof k)return a;var b=a;if(a instanceof h.TypeLiteral&&(b=a.type),a=b,this._allKeys.has(a))return this._allKeys.get(a);var c=new k(a,k.numberOfKeys);return this._allKeys.set(a,c),c},Object.defineProperty(a.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),a}();b.KeyRegistry=l;var m=new l;return d.define=e,c.exports}),a.registerDynamic("215",["3b","22","40"],!0,function(a,b,c){"use strict";function d(a){for(var b=[],c=0;c<a.length;++c){if(i.ListWrapper.contains(b,a[c]))return b.push(a[c]),b;b.push(a[c])}return b}function e(a){if(a.length>1){var b=d(i.ListWrapper.reversed(a)),c=b.map(function(a){return j.stringify(a.token)});return" ("+c.join(" -> ")+")"}return""}var f=this,g=f.define;f.define=void 0;var h=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},i=a("3b"),j=a("22"),k=a("40"),l=function(a){function b(b,c,d){a.call(this,"DI Exception"),this.keys=[c],this.injectors=[b],this.constructResolvingMessage=d,this.message=this.constructResolvingMessage(this.keys)}return h(b,a),b.prototype.addKey=function(a,b){this.injectors.push(a),this.keys.push(b),this.message=this.constructResolvingMessage(this.keys)},Object.defineProperty(b.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),b}(k.BaseException);b.AbstractProviderError=l;var m=function(a){function b(b,c){a.call(this,b,c,function(a){var b=j.stringify(i.ListWrapper.first(a).token);return"No provider for "+b+"!"+e(a)})}return h(b,a),b}(l);b.NoProviderError=m;var n=function(a){function b(b,c){a.call(this,b,c,function(a){return"Cannot instantiate cyclic dependency!"+e(a)})}return h(b,a),b}(l);b.CyclicDependencyError=n;var o=function(a){function b(b,c,d,e){a.call(this,"DI Exception",c,d,null),this.keys=[e],this.injectors=[b]}return h(b,a),b.prototype.addKey=function(a,b){this.injectors.push(a),this.keys.push(b)},Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){var a=j.stringify(i.ListWrapper.first(this.keys).token);return"Error during instantiation of "+a+"!"+e(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),b}(k.WrappedException);b.InstantiationError=o;var p=function(a){function b(b){a.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+b.toString())}return h(b,a),b}(k.BaseException);b.InvalidProviderError=p;var q=function(a){function b(c,d){a.call(this,b._genMessage(c,d))}return h(b,a),b._genMessage=function(a,b){for(var c=[],d=0,e=b.length;e>d;d++){var f=b[d];j.isBlank(f)||0==f.length?c.push("?"):c.push(f.map(j.stringify).join(" "))}return"Cannot resolve all parameters for "+j.stringify(a)+"("+c.join(", ")+"). Make sure they all have valid type or annotations."},b}(k.BaseException);b.NoAnnotationError=q;var r=function(a){function b(b){a.call(this,"Index "+b+" is out-of-bounds.")}return h(b,a),b}(k.BaseException);b.OutOfBoundsError=r;var s=function(a){function b(b,c){a.call(this,"Cannot mix multi providers and regular providers, got: "+b.toString()+" "+c.toString())}return h(b,a),b}(k.BaseException);return b.MixingMultiProvidersWithRegularProvidersError=s,f.define=g,c.exports}),a.registerDynamic("219",["22"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g
2016-02-03 18:07:28 +03:00
return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=P,b.RegExp=J.RegExp;var Q=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new J.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a}();b.RegExpWrapper=Q;var R=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=R;var S=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a}();b.FunctionWrapper=S,b.looseIdentical=x,b.getMapKey=y,b.normalizeBlank=z,b.normalizeBool=A,b.isJsObject=B,b.print=C;var T=function(){function a(){}return a.parse=function(a){return J.JSON.parse(a)},a.stringify=function(a){return J.JSON.stringify(a,null,2)},a}();b.Json=T;var U=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=U,b.setValueOnPath=D;var V=null;return b.getSymbolIterator=E,F.define=G,c.exports}),a.registerDynamic("3b",["22"],!0,function(a,b,c){"use strict";function d(a){return h.isJsObject(a)?h.isArray(a)||!(a instanceof b.Map)&&h.getSymbolIterator()in a:!1}function e(a,b){if(h.isArray(a))for(var c=0;c<a.length;c++)b(a[c]);else for(var d,e=a[h.getSymbolIterator()]();!(d=e.next()).done;)b(d.value)}var f=this,g=f.define;f.define=void 0;var h=a("22");b.Map=h.global.Map,b.Set=h.global.Set;var i=function(){try{if(1===new b.Map([[1,2]]).size)return function(a){return new b.Map(a)}}catch(a){}return function(a){for(var c=new b.Map,d=0;d<a.length;d++){var e=a[d];c.set(e[0],e[1])}return c}}(),j=function(){try{if(new b.Map(new b.Map))return function(a){return new b.Map(a)}}catch(a){}return function(a){var c=new b.Map;return a.forEach(function(a,b){c.set(b,a)}),c}}(),k=function(){return(new b.Map).keys().next?function(a){for(var b,c=a.keys();!(b=c.next()).done;)a.set(b.value,null)}:function(a){a.forEach(function(b,c){a.set(c,null)})}}(),l=function(){try{if((new b.Map).values().next)return function(a,b){return b?Array.from(a.values()):Array.from(a.keys())}}catch(a){}return function(a,b){var c=o.createFixedSize(a.size),d=0;return a.forEach(function(a,e){c[d]=b?a:e,d++}),c}}(),m=function(){function a(){}return a.clone=function(a){return j(a)},a.createFromStringMap=function(a){var c=new b.Map;for(var d in a)c.set(d,a[d]);return c},a.toStringMap=function(a){var b={};return a.forEach(function(a,c){return b[c]=a}),b},a.createFromPairs=function(a){return i(a)},a.clearValues=function(a){k(a)},a.iterable=function(a){return a},a.keys=function(a){return l(a,!1)},a.values=function(a){return l(a,!0)},a}();b.MapWrapper=m;var n=function(){function a(){}return a.create=function(){return{}},a.contains=function(a,b){return a.hasOwnProperty(b)},a.get=function(a,b){return a.hasOwnProperty(b)?a[b]:void 0},a.set=function(a,b,c){a[b]=c},a.keys=function(a){return Object.keys(a)},a.isEmpty=function(a){for(var b in a)return!1;return!0},a["delete"]=function(a,b){delete a[b]},a.forEach=function(a,b){for(var c in a)a.hasOwnProperty(c)&&b(a[c],c)},a.merge=function(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);return c},a.equals=function(a,b){var c=Object.keys(a),d=Object.keys(b);if(c.length!=d.length)return!1;for(var e,f=0;f<c.length;f++)if(e=c[f],a[e]!==b[e])return!1;return!0},a}();b.StringMapWrapper=n;var o=function(){function a(){}return a.createFixedSize=function(a){return new Array(a)},a.createGrowableSize=function(a){return new Array(a)},a
2016-01-25 00:27:39 +03:00
//# sourceMappingURL=redoc.min.js.map