redoc/dist/redoc.min.js.map
2016-04-30 20:48:20 +00:00

1 line
6.7 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["browser-update.js","zone.min.js","Reflect.ts","polyfill.min.js","../jspm_packages/npm/scrollparent@0.1.0/scrollparent.js","../jspm_packages/npm/scrollparent@0.1.0.js","../.tmp/lib/components/ApiInfo/api-info.js","../.tmp/lib/components/ApiLogo/api-logo.js","../.tmp/lib/components/ParamsList/params-list.js","../.tmp/lib/components/RequestSamples/request-samples.js","../.tmp/lib/components/Method/method.js","../.tmp/lib/components/MethodsList/methods-list.js","../.tmp/lib/common/components/StickySidebar/sticky-sidebar.js","../.tmp/lib/components/Redoc/redoc.js","../.tmp/lib/components/JsonSchema/json-schema-lazy.js","../.tmp/lib/common/components/Zippy/zippy.js","../.tmp/lib/components/ResponsesList/responses-list.js","../.tmp/lib/common/components/Tabs/tabs.js","../.tmp/lib/utils/helpers.js","../.tmp/lib/components/ResponsesSamples/responses-samples.js","../jspm_packages/npm/json-schema-instantiator@0.3.0/src/instantiator.js","../jspm_packages/npm/json-schema-instantiator@0.3.0/index.js","../jspm_packages/npm/json-schema-instantiator@0.3.0.js","../.tmp/lib/utils/JsonFormatterPipe.js","../.tmp/lib/components/SchemaSample/schema-sample.js","../jspm_packages/npm/core-js@1.2.6/library/modules/core.is-iterable.js","../jspm_packages/npm/core-js@1.2.6/library/fn/is-iterable.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/is-iterable.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/sliced-to-array.js","../.tmp/lib/events.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/events/key_events.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser/generic_browser_adapter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser/browser_adapter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser/testability.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser/xhr_cache.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/profile/wtf_init.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/events/dom_events.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/debug/by.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/animate/css_animation_options.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/animate/animation.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/animate/css_animation_builder.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/math.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/animate/browser_details.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/animate/animation_builder.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/shared_styles_host.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/dom_tokens.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/util.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/dom_renderer.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/debug/debug_renderer.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/debug/ng_probe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/platform/common_dom.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser/title.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/browser.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser/tools/common_tools.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser/tools/tools.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/events/event_manager.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/events/hammer_common.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/events/hammer_gestures.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser_common.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/offline_compiler.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/shadow_css.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/style_compiler.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/compile_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/compile_view.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/compile_query.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/compile_element.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/util.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/view_builder.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/property_binder.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/compile_method.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/expression_converter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/compile_binding.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/event_binder.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/constants.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/lifecycle_binder.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/view_binder.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_compiler/view_compiler.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/provider_parser.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/template_parser.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/style_url_resolver.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/html_ast.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/html_lexer.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/parse_util.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/html_parser.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/template_preparser.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/directive_normalizer.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/directive_resolver.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/pipe_resolver.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/view_resolver.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/directive_lifecycle_reflector.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/assertions.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/runtime_metadata.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/selector.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/metadata/lifecycle_hooks.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/url_resolver.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/compile_metadata.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/identifiers.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/config.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/abstract_js_emitter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/util.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/output_jit.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/dart_emitter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/output_ast.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/abstract_emitter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/path_util.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/ts_emitter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/output_interpreter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/debug_context.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/element_injector.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/view.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/output/interpretive_view.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/runtime_compiler.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/dom/dom_adapter.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/html_tags.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/schema/element_schema_registry.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/schema/dom_element_schema_registry.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/expression_parser/ast.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/expression_parser/parser.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/expression_parser/lexer.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/compiler.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/template_ast.js","../jspm_packages/npm/angular2@2.0.0-beta.17/compiler.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/compiler/xhr.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/platform/browser/xhr_impl.js","../jspm_packages/npm/angular2@2.0.0-beta.17/platform/browser.js","../.tmp/lib/options.js","../.tmp/lib/components/SideMenu/side-menu.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.array.from.js","../jspm_packages/npm/core-js@1.2.6/library/fn/array/from.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/array/from.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/to-consumable-array.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.same-value.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.species-constructor.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.invoke.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.html.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.dom-create.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.task.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.microtask.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-detect.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.promise.js","../jspm_packages/npm/core-js@1.2.6/library/fn/promise.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/promise.js","../jspm_packages/npm/core-js@1.2.6/library/modules/core.get-iterator.js","../jspm_packages/npm/core-js@1.2.6/library/fn/get-iterator.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/get-iterator.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.map.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es7.map.to-json.js","../jspm_packages/npm/core-js@1.2.6/library/fn/map.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/map.js","../jspm_packages/npm/z-schema@3.17.0/src/Polyfills.js","../jspm_packages/npm/z-schema@3.17.0/src/SchemaCache.js","../jspm_packages/npm/z-schema@3.17.0/src/SchemaCompilation.js","../jspm_packages/npm/validator@5.2.0/lib/toInt.js","../jspm_packages/npm/validator@5.2.0/lib/toBoolean.js","../jspm_packages/npm/validator@5.2.0/lib/equals.js","../jspm_packages/npm/validator@5.2.0/lib/contains.js","../jspm_packages/npm/validator@5.2.0/lib/matches.js","../jspm_packages/npm/validator@5.2.0/lib/isURL.js","../jspm_packages/npm/validator@5.2.0/lib/isMACAddress.js","../jspm_packages/npm/validator@5.2.0/lib/isIP.js","../jspm_packages/npm/validator@5.2.0/lib/isBoolean.js","../jspm_packages/npm/validator@5.2.0/lib/isAlpha.js","../jspm_packages/npm/validator@5.2.0/lib/alpha.js","../jspm_packages/npm/validator@5.2.0/lib/isAlphanumeric.js","../jspm_packages/npm/validator@5.2.0/lib/isNumeric.js","../jspm_packages/npm/validator@5.2.0/lib/isLowercase.js","../jspm_packages/npm/validator@5.2.0/lib/isUppercase.js","../jspm_packages/npm/validator@5.2.0/lib/isAscii.js","../jspm_packages/npm/validator@5.2.0/lib/isFullWidth.js","../jspm_packages/npm/validator@5.2.0/lib/isHalfWidth.js","../jspm_packages/npm/validator@5.2.0/lib/isVariableWidth.js","../jspm_packages/npm/validator@5.2.0/lib/isMultibyte.js","../jspm_packages/npm/validator@5.2.0/lib/isSurrogatePair.js","../jspm_packages/npm/validator@5.2.0/lib/isInt.js","../jspm_packages/npm/validator@5.2.0/lib/isFloat.js","../jspm_packages/npm/validator@5.2.0/lib/isDecimal.js","../jspm_packages/npm/validator@5.2.0/lib/toFloat.js","../jspm_packages/npm/validator@5.2.0/lib/isDivisibleBy.js","../jspm_packages/npm/validator@5.2.0/lib/isHexColor.js","../jspm_packages/npm/validator@5.2.0/lib/isJSON.js","../jspm_packages/npm/validator@5.2.0/lib/isNull.js","../jspm_packages/npm/validator@5.2.0/lib/isLength.js","../jspm_packages/npm/validator@5.2.0/lib/isUUID.js","../jspm_packages/npm/validator@5.2.0/lib/isHexadecimal.js","../jspm_packages/npm/validator@5.2.0/lib/isMongoId.js","../jspm_packages/npm/validator@5.2.0/lib/isDate.js","../jspm_packages/npm/validator@5.2.0/lib/isAfter.js","../jspm_packages/npm/validator@5.2.0/lib/toDate.js","../jspm_packages/npm/validator@5.2.0/lib/isBefore.js","../jspm_packages/npm/validator@5.2.0/lib/isIn.js","../jspm_packages/npm/validator@5.2.0/lib/isCreditCard.js","../jspm_packages/npm/validator@5.2.0/lib/isISIN.js","../jspm_packages/npm/validator@5.2.0/lib/isISBN.js","../jspm_packages/npm/validator@5.2.0/lib/isMobilePhone.js","../jspm_packages/npm/validator@5.2.0/lib/isCurrency.js","../jspm_packages/npm/validator@5.2.0/lib/isISO8601.js","../jspm_packages/npm/validator@5.2.0/lib/isBase64.js","../jspm_packages/npm/validator@5.2.0/lib/isDataURI.js","../jspm_packages/npm/validator@5.2.0/lib/ltrim.js","../jspm_packages/npm/validator@5.2.0/lib/rtrim.js","../jspm_packages/npm/validator@5.2.0/lib/trim.js","../jspm_packages/npm/validator@5.2.0/lib/escape.js","../jspm_packages/npm/validator@5.2.0/lib/unescape.js","../jspm_packages/npm/validator@5.2.0/lib/stripLow.js","../jspm_packages/npm/validator@5.2.0/lib/whitelist.js","../jspm_packages/npm/validator@5.2.0/lib/blacklist.js","../jspm_packages/npm/validator@5.2.0/lib/isWhitelisted.js","../jspm_packages/npm/validator@5.2.0/lib/isByteLength.js","../jspm_packages/npm/validator@5.2.0/lib/util/assertString.js","../jspm_packages/npm/validator@5.2.0/lib/isFQDN.js","../jspm_packages/npm/validator@5.2.0/lib/isEmail.js","../jspm_packages/npm/validator@5.2.0/lib/util/merge.js","../jspm_packages/npm/validator@5.2.0/lib/normalizeEmail.js","../jspm_packages/npm/validator@5.2.0/lib/util/toString.js","../jspm_packages/npm/validator@5.2.0/index.js","../jspm_packages/npm/validator@5.2.0.js","../jspm_packages/npm/z-schema@3.17.0/src/FormatValidators.js","../jspm_packages/npm/z-schema@3.17.0/src/JsonValidation.js","../jspm_packages/npm/lodash._stringtopath@4.7.1/index.js","../jspm_packages/npm/lodash._stringtopath@4.7.1.js","../jspm_packages/npm/lodash.get@4.2.1/index.js","../jspm_packages/npm/lodash.get@4.2.1.js","../jspm_packages/npm/z-schema@3.17.0/src/Errors.js","../jspm_packages/npm/z-schema@3.17.0/src/Report.js","../jspm_packages/npm/z-schema@3.17.0/src/SchemaValidation.js","../jspm_packages/npm/z-schema@3.17.0/src/Utils.js","../jspm_packages/npm/z-schema@3.17.0/src/schemas/schema.json","../jspm_packages/npm/z-schema@3.17.0/src/schemas/hyper-schema.json","../jspm_packages/npm/z-schema@3.17.0/src/ZSchema.js","../jspm_packages/npm/z-schema@3.17.0.js","../jspm_packages/npm/swagger-schema-official@2.0.0-bab6bed/schema.json","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/validate-schema.js","../jspm_packages/npm/swagger-methods@1.0.0/lib/index.js","../jspm_packages/npm/swagger-methods@1.0.0.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/validate-spec.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/util.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/options.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/promise.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parsers/json.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parsers/yaml.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parsers/text.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parsers/binary.js","../jspm_packages/github/jspm/nodelibs-fs@0.1.2/index.js","../jspm_packages/github/jspm/nodelibs-fs@0.1.2.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/resolvers/file.js","../jspm_packages/npm/stream-http@2.3.0/lib/capability.js","../jspm_packages/npm/stream-http@2.3.0/lib/response.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_readable.js","../jspm_packages/npm/process-nextick-args@1.0.6/index.js","../jspm_packages/npm/process-nextick-args@1.0.6.js","../jspm_packages/npm/util-deprecate@1.0.2/browser.js","../jspm_packages/npm/util-deprecate@1.0.2.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_writable.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_duplex.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_transform.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_passthrough.js","../jspm_packages/npm/readable-stream@2.1.2/readable.js","../jspm_packages/npm/readable-stream@2.1.2.js","../jspm_packages/npm/to-arraybuffer@1.0.1/index.js","../jspm_packages/npm/to-arraybuffer@1.0.1.js","../jspm_packages/npm/stream-http@2.3.0/lib/request.js","../jspm_packages/npm/xtend@4.0.1/immutable.js","../jspm_packages/npm/xtend@4.0.1.js","../jspm_packages/npm/builtin-status-codes@2.0.0/browser.js","../jspm_packages/npm/builtin-status-codes@2.0.0.js","../jspm_packages/npm/stream-http@2.3.0/index.js","../jspm_packages/npm/stream-http@2.3.0.js","../jspm_packages/npm/readable-stream@1.1.14/readable.js","../jspm_packages/npm/readable-stream@1.1.14/writable.js","../jspm_packages/npm/readable-stream@1.1.14/duplex.js","../jspm_packages/npm/readable-stream@1.1.14/transform.js","../jspm_packages/npm/isarray@0.0.1/index.js","../jspm_packages/npm/isarray@0.0.1.js","../jspm_packages/npm/events@1.0.2/events.js","../jspm_packages/npm/events@1.0.2.js","../jspm_packages/github/jspm/nodelibs-events@0.1.1/index.js","../jspm_packages/github/jspm/nodelibs-events@0.1.1.js","../jspm_packages/npm/string_decoder@0.10.31/index.js","../jspm_packages/npm/string_decoder@0.10.31.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_readable.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_writable.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_duplex.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_transform.js","../jspm_packages/npm/core-util-is@1.0.2/lib/util.js","../jspm_packages/npm/core-util-is@1.0.2.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_passthrough.js","../jspm_packages/npm/readable-stream@1.1.14/passthrough.js","../jspm_packages/npm/stream-browserify@1.0.0/index.js","../jspm_packages/npm/stream-browserify@1.0.0.js","../jspm_packages/github/jspm/nodelibs-stream@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-stream@0.1.0.js","../jspm_packages/github/jspm/nodelibs-http@1.7.1/lib/response.js","../jspm_packages/npm/Base64@0.2.1/base64.js","../jspm_packages/npm/Base64@0.2.1.js","../jspm_packages/github/jspm/nodelibs-http@1.7.1/lib/request.js","../jspm_packages/github/jspm/nodelibs-http@1.7.1/index.js","../jspm_packages/github/jspm/nodelibs-http@1.7.1.js","../jspm_packages/npm/https-browserify@0.0.0/index.js","../jspm_packages/npm/https-browserify@0.0.0.js","../jspm_packages/github/jspm/nodelibs-https@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-https@0.1.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/resolvers/http.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/validators/z-schema.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/options.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/refs.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/plugins.js","../jspm_packages/npm/es6-promise@3.1.2/dist/es6-promise.js","../jspm_packages/npm/es6-promise@3.1.2.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/promise.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parse.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/resolve-external.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/bundle.js","../jspm_packages/npm/call-me-maybe@1.0.1/index.js","../jspm_packages/npm/call-me-maybe@1.0.1.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/mark.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/loader.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/dumper.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/str.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/seq.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/map.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/failsafe.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/null.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/bool.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/int.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/common.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/float.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/json.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/core.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/timestamp.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/merge.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/binary.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/omap.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/pairs.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/set.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/default_safe.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/js/undefined.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/js/regexp.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/js/function.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/default_full.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/exception.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml.js","../jspm_packages/npm/js-yaml@3.6.0/index.js","../jspm_packages/npm/js-yaml@3.6.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/yaml.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/index.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/ref.js","../jspm_packages/npm/base64-js@0.0.8/lib/b64.js","../jspm_packages/npm/base64-js@0.0.8.js","../jspm_packages/npm/ieee754@1.1.6/index.js","../jspm_packages/npm/ieee754@1.1.6.js","../jspm_packages/npm/isarray@1.0.0/index.js","../jspm_packages/npm/isarray@1.0.0.js","../jspm_packages/npm/buffer@3.6.0/index.js","../jspm_packages/npm/buffer@3.6.0.js","../jspm_packages/github/jspm/nodelibs-buffer@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-buffer@0.1.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/pointer.js","../jspm_packages/npm/util@0.10.3/support/isBufferBrowser.js","../jspm_packages/npm/inherits@2.0.1/inherits_browser.js","../jspm_packages/npm/inherits@2.0.1.js","../jspm_packages/npm/util@0.10.3/util.js","../jspm_packages/npm/util@0.10.3.js","../jspm_packages/github/jspm/nodelibs-util@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-util@0.1.0.js","../jspm_packages/npm/ono@2.2.1/lib/index.js","../jspm_packages/npm/ono@2.2.1.js","../jspm_packages/npm/ms@0.7.1/index.js","../jspm_packages/npm/ms@0.7.1.js","../jspm_packages/npm/debug@2.2.0/debug.js","../jspm_packages/npm/debug@2.2.0/browser.js","../jspm_packages/npm/debug@2.2.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/debug.js","../jspm_packages/npm/punycode@1.3.2/punycode.js","../jspm_packages/npm/punycode@1.3.2.js","../jspm_packages/npm/querystring@0.2.0/decode.js","../jspm_packages/npm/querystring@0.2.0/encode.js","../jspm_packages/npm/querystring@0.2.0/index.js","../jspm_packages/npm/querystring@0.2.0.js","../jspm_packages/npm/url@0.10.3/url.js","../jspm_packages/npm/url@0.10.3.js","../jspm_packages/github/jspm/nodelibs-url@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-url@0.1.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/url.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/dereference.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/index.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.to-string.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.string-at.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.string.iterator.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.add-to-unscopables.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.array.iterator.js","../jspm_packages/npm/core-js@1.2.6/library/modules/web.dom.iterable.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.library.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-create.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-define.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-step.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.set-species.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.collection-strong.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.property-desc.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.hide.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.redefine.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.redefine-all.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.strict-new.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.has.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.set-to-string-tag.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.descriptors.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.collection.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.set.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-call.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.is-array-iter.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.to-integer.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.to-length.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iterators.js","../jspm_packages/npm/core-js@1.2.6/library/modules/core.get-iterator-method.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.for-of.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.shared.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.uid.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.wks.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.classof.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.collection-to-json.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es7.set.to-json.js","../jspm_packages/npm/core-js@1.2.6/library/fn/set.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/set.js","../.tmp/lib/utils/swagger-defs.js","../.tmp/lib/utils/SchemaManager.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.keys.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/keys.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/keys.js","../.tmp/prismjs-bundle.js","../jspm_packages/npm/marked@0.3.5/lib/marked.js","../jspm_packages/npm/marked@0.3.5.js","../.tmp/lib/utils/pipes.js","../.tmp/lib/components/base.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/async_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/uppercase_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/lowercase_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/json_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/slice_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/date_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/intl.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/number_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/replace_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/i18n_plural_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/invalid_pipe_argument_exception.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/i18n_select_pipe.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes/common_pipes.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/pipes.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/ng_control_name.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/ng_form_control.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/ng_model.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/ng_control_group.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/ng_form_model.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/control_container.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/normalize_validator.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/shared.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/ng_form.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/default_value_accessor.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/checkbox_value_accessor.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/number_value_accessor.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/ng_control_status.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/select_control_value_accessor.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/validators.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/validators.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/model.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/form_builder.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/control_value_accessor.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/abstract_control_directive.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/ng_control.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms/directives/radio_control_value_accessor.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/forms.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/observable_list_diff.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/ng_class.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/ng_for.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/ng_if.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/ng_template_outlet.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/ng_style.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/metadata/di.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/metadata/directives.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/metadata/view.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/metadata.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/util.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/prod_mode.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/facade.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/zone.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/render.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/query_list.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/template_ref.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/view_ref.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/debug/debug_node.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/platform_directives_and_pipes.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/platform_common_providers.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/zone/ng_zone_impl.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/zone/ng_zone.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/testability/testability.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/console.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/application_ref.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/promise.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/SubjectSubscription.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/throwError.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/ObjectUnsubscribedError.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/Subject.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/observable/PromiseObservable.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/operator/toPromise.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/isArray.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/isObject.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/isFunction.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/tryCatch.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/errorObject.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/UnsubscriptionError.js","../jspm_packages/npm/process@0.11.2/browser.js","../jspm_packages/npm/process@0.11.2.js","../jspm_packages/github/jspm/nodelibs-process@0.1.2/index.js","../jspm_packages/github/jspm/nodelibs-process@0.1.2.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/Subscription.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/Observer.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/Subscriber.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/root.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/symbol/rxSubscriber.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/util/toSubscriber.js","../jspm_packages/npm/symbol-observable@0.2.4/ponyfill.js","../jspm_packages/npm/symbol-observable@0.2.4/index.js","../jspm_packages/npm/symbol-observable@0.2.4.js","../jspm_packages/npm/rxjs@5.0.0-beta.7/Observable.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/async.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/view_type.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/element_ref.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/profile/wtf_impl.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/profile/profile.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/view_container_ref.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/element.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/exceptions.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection/differs/iterable_differs.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection/differs/default_iterable_differ.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection/differs/keyvalue_differs.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection/differs/default_keyvalue_differ.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection/constants.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection/change_detector_ref.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection/change_detection_util.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/change_detection/change_detection.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/render/api.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/util/decorators.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/decorators.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/injector.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/reflective_injector.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/metadata.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/provider.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/reflective_provider.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/forward_ref.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/reflective_key.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/reflective_exceptions.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di/opaque_token.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/di.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/application_tokens.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/view_utils.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/component_factory.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/component_resolver.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/linker/dynamic_component_loader.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/application_common_providers.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/reflection/reflector_reader.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/reflection/reflector.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/base_wrapped_exception.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/exception_handler.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/exceptions.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/reflection/reflection_capabilities.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/core/reflection/reflection.js","../jspm_packages/npm/angular2@2.0.0-beta.17/core.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/lang.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/facade/collection.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/ng_switch.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/ng_plural.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives/core_directives.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/directives.js","../jspm_packages/npm/angular2@2.0.0-beta.17/src/common/common_directives.js","../jspm_packages/npm/angular2@2.0.0-beta.17/common.js","../jspm_packages/github/Robdel12/DropKick@2.1.7/lib/dropkick.js","../jspm_packages/github/Robdel12/DropKick@2.1.7.js","../.tmp/lib/common/components/DropDown/dropdown.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.to-iobject.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.object-sap.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.get-own-property-descriptor.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/get-own-property-descriptor.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/get-own-property-descriptor.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/get.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/create.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/create.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.is-object.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.an-object.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.set-proto.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.set-prototype-of.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/set-prototype-of.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/set-prototype-of.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/inherits.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/define-property.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/define-property.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/create-class.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/class-call-check.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.global.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.a-function.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.ctx.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.export.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.defined.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.to-object.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.cof.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iobject.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.fails.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.object-assign.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.assign.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.core.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/assign.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/assign.js","../jspm_packages/npm/foreach@2.0.5/index.js","../jspm_packages/npm/foreach@2.0.5.js","../jspm_packages/npm/json-pointer@0.3.0/index.js","../jspm_packages/npm/json-pointer@0.3.0.js","../.tmp/lib/utils/JsonPointer.js","../.tmp/lib/components/JsonSchema/json-schema.js","../.tmp/lib/components/index.js","../.tmp/lib/index.js"],"names":["Reflect","Reflect.decorate","Reflect.metadata","Reflect.metadata.decorator","Reflect.defineMetadata","Reflect.hasMetadata","Reflect.hasOwnMetadata","Reflect.getMetadata","Reflect.getOwnMetadata","Reflect.getMetadataKeys","Reflect.getOwnMetadataKeys","Reflect.deleteMetadata","Reflect.DecorateConstructor","Reflect.DecoratePropertyWithDescriptor","Reflect.DecoratePropertyWithoutDescriptor","Reflect.GetOrCreateMetadataMap","Reflect.OrdinaryHasMetadata","Reflect.OrdinaryHasOwnMetadata","Reflect.OrdinaryGetMetadata","Reflect.OrdinaryGetOwnMetadata","Reflect.OrdinaryDefineOwnMetadata","Reflect.OrdinaryMetadataKeys","Reflect.OrdinaryOwnMetadataKeys","Reflect.IsUndefined","Reflect.IsArray","Reflect.IsObject","Reflect.IsConstructor","Reflect.IsSymbol","Reflect.ToPropertyKey","Reflect.GetPrototypeOf","Reflect.CreateMapPolyfill","Reflect.CreateMapPolyfill.Map","Reflect.CreateMapPolyfill.size","Reflect.CreateMapPolyfill.has","Reflect.CreateMapPolyfill.get","Reflect.CreateMapPolyfill.set","Reflect.CreateMapPolyfill.delete","Reflect.CreateMapPolyfill.clear","Reflect.CreateMapPolyfill.forEach","Reflect.CreateMapPolyfill._find","Reflect.CreateSetPolyfill","Reflect.CreateSetPolyfill.Set","Reflect.CreateSetPolyfill.size","Reflect.CreateSetPolyfill.has","Reflect.CreateSetPolyfill.add","Reflect.CreateSetPolyfill.delete","Reflect.CreateSetPolyfill.clear","Reflect.CreateSetPolyfill.forEach","Reflect.CreateWeakMapPolyfill","Reflect.CreateWeakMapPolyfill.WeakMap","Reflect.CreateWeakMapPolyfill.has","Reflect.CreateWeakMapPolyfill.get","Reflect.CreateWeakMapPolyfill.set","Reflect.CreateWeakMapPolyfill.delete","Reflect.CreateWeakMapPolyfill.clear","Reflect.CreateWeakMapPolyfill.FillRandomBytes","Reflect.CreateWeakMapPolyfill.GenRandomBytes","Reflect.CreateWeakMapPolyfill.CreateUUID","Reflect.CreateWeakMapPolyfill.CreateUniqueKey","Reflect.CreateWeakMapPolyfill.GetOrCreateWeakMapTable","$__System","registerDynamic","$__require","exports","module","global","this","__define","define","undefined","parents","node","ps","parentNode","concat","style","prop","getComputedStyle","getPropertyValue","overflow","scroll","test","scrollParent","HTMLElement","i","length","window","Scrollparent","ApiInfo","SchemaManager","RedocComponent","BaseComponent","_BaseComponent","schemaMgr","optionsMgr","_get","Object","getPrototypeOf","_ApiInfo","prototype","call","data","componentSchema","info","specUrl","options","metadata","OptionsManager","selector","styles","template","ApiLogo","_ApiLogo","logoInfo","imgUrl","url","bgColor","backgroundColor","safePush","obj","item","push","ParamsList","_ParamsList","paramsList","getMethodParams","pointer","map","paramData","propPointer","_pointer","JsonSchema","injectPropertyData","name","paramsMap","orderParams","body","bodyParam","noParams","_Object$keys","paramsPlaces","placeHint","path","query","formData","header","params","forEach","place","res","param","directives","JsonSchemaLazy","RequestSamples","Tabs","Tab","PrismPipe","redocEvents","ViewChildren","QueryList","ChangeDetectorRef","ChangeDetectionStrategy","tabs","changeDetector","_RequestSamples","changes","subscribe","_","_this","first","subscribeForEvents","lang","samplesLanguageChanged","next","sampleLang","_this2","selectyByTitle","markForCheck","bodySchemaPtr","JsonPointer","join","samples","SchemaSample","inputs","pipes","changeDetection","OnPush","Method","_Method","apiUrl","httpMethod","baseName","methodInfo","tags","filterMainTags","findBodyParam","operationId","methodAnchor","encodeURIComponent","tag","tagsMap","getTagsMap","filter","pathParams","find","ResponsesList","ResponsesSamples","MethodsList","EncodeURIComponentPipe","_MethodsList","menuStructure","buildMenuTree","_Array$from","entries","entry","_entry","description","_entry$1","methods","method","StickySidebar","Directive","ElementRef","BrowserDomAdapter","elementRef","dom","$element","nativeElement","setStyle","cancelScrollBinding","onAndCancel","updatePosition","scrollY","scrollYOffset","$redocEl","offsetTop","stick","unstick","offsetParent","bind","unbind","pageYOffset","scrollTop","_modeLocked","Redoc","provide","enableProdMode","bootstrap","_Redoc","element","parseOptions","$scrollParent","detectScollParent","elem","addClass","redocEl","setTimeout","removeClass","providers","useValue","appRef","destroy","showLoadingAnimation","instance","load","then","debugMode","hideLoadingAnimation","bootstrapped","console","log","error","specUrlAttributeName","hasAttribute","getAttribute","init","el","elClone","parent","nextSibling","parentElement","nextElementSibling","cloneNode","innerHTML","insertBefore","SideMenu","Default","insertAfter","newNode","referenceNode","cache","Component","ViewContainerRef","CORE_DIRECTIVES","DynamicComponentLoader","viewRef","dcl","schema","byPointer","$ref","disableLazySchemas","loaded","loadNextToLocation","compRef","initComponent","hostView","changeDetectorRef","detectChanges","normalizePointer","location","querySelector","skipReadOnly","auto","loadCached","Zippy","EventEmitter","type","visible","empty","open","close","events","isNumeric","n","isNaN","parseFloat","isFinite","statusCodeType","_ResponsesList","responses","respCode","resp","ref","code","headers","k","respInfo","extendable","change","tab","notify","arguments","active","tabTitle","prevActive","newActive","addTab","statusCode","Error","hasExample","response","examples","_ResponsesSamples","isPrimitive","typesInstantiator","instantiatePrimitive","val","instantiate","visit","properties","property","hasOwnProperty","allOf","len","minItems","items","string","number","integer","null","boolean","object","htmlEncode","t","toString","replace","decorateWithSpan","value","className","valueToHTML","valueType","output","constructor","Array","level","arrayToHTML","objectToHTML","json","collapsed","COLLAPSE_LEVEL","hasContents","key","keys","jsonToHTML","JsonFormatter","Pipe","isBlank","_SchemaSample","base","sample","dereference","SchemaSampler","addEventListener","event","target","getElementsByClassName","classList","contains","remove","add","classof","ITERATOR","Iterators","isIterable","it","O","default","__esModule","_getIterator","_isIterable","sliceIterator","arr","_arr","_n","_d","_e","_s","_i","done","err","isArray","TypeError","bootsrEmmiter","langChanged","__extends","d","b","__","p","create","__decorate","decorators","desc","c","r","getOwnPropertyDescriptor","decorate","defineProperty","__metadata","v","dom_adapter_1","lang_1","collection_1","event_manager_1","di_1","modifierKeys","modifierKeyGetters","alt","altKey","control","ctrlKey","meta","metaKey","shift","shiftKey","KeyEventsPlugin","_super","supports","eventName","isPresent","parseEventName","handler","parsedEvent","outsideHandler","eventCallback","StringMapWrapper","get","manager","getZone","runOutsideAngular","DOM","parts","toLowerCase","split","domEventName","StringWrapper","equals","_normalizeKey","pop","fullKey","modifierName","ListWrapper","result","set","getEventFullKey","getEventKey","modifierGetter","zone","runGuarded","keyName","Injectable","EventManagerPlugin","xhr_impl_1","GenericBrowserDomAdapter","_animationPrefix","_transitionEnd","createElement","defaultDoc","getStyle","domPrefixes","transEndEventNames","WebkitTransition","MozTransition","OTransition","transition","e","getXHR","XHRImpl","getDistributedNodes","resolveAndSetHref","baseUrl","href","supportsDOMEvents","supportsNativeShadowDOM","isFunction","createShadowRoot","getAnimationPrefix","getTransitionEnd","supportsAnimation","DomAdapter","getBaseElementHref","baseElement","document","relativePath","urlParsingNode","setAttribute","pathname","charAt","generic_browser_adapter_1","_attrToPropMap","class","innerHtml","readonly","tabindex","DOM_KEY_LOCATION_NUMPAD","_keyMap","\b","\t","","\u001b","Del","Esc","Left","Right","Up","Down","Menu","Scroll","Win","_chromeNumKeyPadMap","A","B","C","D","E","F","G","H","I","J","K","M","N","`","","apply","parse","templateHtml","makeCurrent","setRootDomAdapter","hasProperty","setProperty","getProperty","invoke","methodName","args","logError","logGroup","group","logGroupEnd","groupEnd","enumerable","configurable","querySelectorAll","on","evt","listener","removeEventListener","dispatchEvent","createMouseEvent","eventType","createEvent","initEvent","preventDefault","returnValue","isPrevented","defaultPrevented","getInnerHTML","getOuterHTML","outerHTML","nodeName","nodeValue","content","firstChild","childNodes","childNodesAsList","createFixedSize","clearNodes","removeChild","appendChild","replaceChild","newChild","oldChild","insertAllBefore","nodes","setInnerHTML","getText","textContent","setText","getValue","setValue","getChecked","checked","setChecked","createComment","text","createTemplate","html","tagName","doc","createElementNS","ns","createTextNode","createScriptTag","attrName","attrValue","createStyleElement","css","getShadowRoot","shadowRoot","getHost","host","clone","getElementsByTagName","slice","hasClass","styleName","styleValue","removeStyle","stylename","hasStyle","attributeMap","Map","elAttrs","attributes","attrib","attribute","hasAttributeNS","getAttributeNS","setAttributeNS","removeAttribute","removeAttributeNS","templateAwareRoot","isTemplateElement","createHtmlDocument","implementation","createHTMLDocument","getBoundingClientRect","top","bottom","left","right","width","height","getTitle","title","setTitle","newTitle","elementMatches","matches","msMatchesSelector","webkitMatchesSelector","isTextNode","nodeType","Node","TEXT_NODE","isCommentNode","COMMENT_NODE","isElementNode","ELEMENT_NODE","hasShadowRoot","isShadowRoot","DocumentFragment","importIntoDoc","toImport","importNode","adoptNode","getHref","keyIdentifier","startsWith","String","fromCharCode","parseInt","substring","getGlobalEventTarget","getHistory","history","getLocation","getBaseHref","resetBaseElement","getUserAgent","navigator","userAgent","setData","getData","setGlobalVar","setValueOnPath","requestAnimationFrame","callback","cancelAnimationFrame","id","performanceNow","performance","now","DateWrapper","toMillis","core_1","PublicTestability","testability","_testability","isStable","whenStable","findBindings","using","provider","exactMatch","findProviders","BrowserGetTestability","setTestabilityGetter","addToWindow","registry","getAngularTestability","findInAncestors","findTestabilityInTree","getAllAngularTestabilities","testabilities","getAllTestabilities","getAllAngularRootElements","getAllRootElements","whenAllStable","count","didWork","decrement","didWork_","frameworkStabilizers","createGrowableSize","getTestability","xhr_1","exceptions_1","promise_1","CachedXHR","_cache","$templateCache","BaseException","PromiseWrapper","resolve","reject","XHR","wtfInit","DomEventsPlugin","addGlobalEventListener","By","all","debugElement","directive","providerTokens","indexOf","CssAnimationOptions","classesToAdd","classesToRemove","animationClasses","math_1","util_1","Animation","browserDetails","callbacks","eventClearFunctions","completed","_stringPrefix","startTime","setup","wait","timestamp","start","delay","computedDelay","duration","computedDuration","raf","fromStyles","applyStyles","transitionDuration","transitionDelay","addClasses","removeClasses","toStyles","computedStyles","Math","max","parseDurationString","addEvents","dashCaseKey","camelCaseToDashCase","classes","totalTime","handleAnimationEvent","handleAnimationCompleted","elapsedTime","round","elapsedTimeIncludesDelay","stopPropagation","fn","onComplete","maxValue","NumberWrapper","stripLetters","ms","floor","str","replaceAll","RegExpWrapper","css_animation_options_1","animation_1","CssAnimationBuilder","addAnimationClass","setDuration","setDelay","setStyles","from","to","setFromStyles","setToStyles","NaN","BrowserDetails","doesElapsedTimeIncludesDelay","div","elapsed","frames","queue","RafQueue","cancel","_raf","currentFrameId","_nextFrame","css_animation_builder_1","browser_details_1","AnimationBuilder","__param","paramIndex","decorator","dom_tokens_1","SharedStylesHost","_styles","_stylesSet","Set","addStyles","additions","SetWrapper","has","onStylesAdded","getAllStyles","DomSharedStylesHost","_hostNodes","head","_addStylesToHost","addHost","hostNode","removeHost","Inject","DOCUMENT","CONST_EXPR","OpaqueToken","input","replaceAllMapped","CAMEL_CASE_REGEXP","m","dashCaseToCamelCase","DASH_CASE_REGEXP","toUpperCase","moveNodesAfterSibling","sibling","appendNodes","decoratePreventDefault","eventHandler","allowDefaultBehavior","_shimContentAttribute","componentShortId","CONTENT_ATTR","COMPONENT_REGEX","_shimHostAttribute","HOST_ATTR","_flattenStyles","compId","splitNamespace","match","firstMatch","NS_PREFIX_RE","animation_builder_1","shared_styles_host_1","metadata_1","NAMESPACE_URIS","xlink","svg","TEMPLATE_COMMENT_TEXT","TEMPLATE_BINDINGS_EXP","DomRootRenderer","eventManager","sharedStylesHost","animate","_registeredComponents","renderComponent","componentProto","renderer","DomRenderer","DomRootRenderer_","_document","_eventManager","EventManager","_rootRenderer","encapsulation","ViewEncapsulation","Native","Emulated","_contentAttr","_hostAttr","selectRootElement","selectorOrNode","debugInfo","isString","nsAndName","createViewRoot","hostElement","nodesParent","createTemplateAnchor","comment","createText","projectNodes","attachViewAfter","viewRootNodes","animateNodeEnter","detachView","animateNodeLeave","destroyView","viewAllNodes","listen","renderElement","listenGlobal","setElementProperty","propertyName","propertyValue","setElementAttribute","attributeName","attributeValue","attrNs","setBindingDebugInfo","dashCasedPropertyName","existingBindings","parsedBindings","Json","stringify","setElementClass","isAdd","setElementStyle","invokeElementMethod","renderNode","COMPONENT_VARIABLE","debug_node_1","DebugDomRootRenderer","_delegate","DebugDomRenderer","nativeEl","debugEl","DebugElement","indexDebugNode","getDebugNode","DebugNode","debugParent","debugElement_1","addChild","debugNode","debugViewRootNodes","rootNode","insertChildrenAfter","removeDebugNodeFromIndex","listeners","EventListener","inspectNativeElement","_createConditionalRootRenderer","rootRenderer","assertionsEnabled","_createRootRenderer","INSPECT_GLOBAL_NAME","CORE_TOKENS_GLOBAL_NAME","CORE_TOKENS","debug_renderer_1","dom_renderer_1","ApplicationRef","NgZone","ELEMENT_PROBE_PROVIDERS","Provider","RootRenderer","useFactory","deps","ELEMENT_PROBE_PROVIDERS_PROD_MODE","__export","dom_events_1","EVENT_MANAGER_PLUGINS","Title","win","gc","Event","MouseEvent","KeyboardEvent","EventTarget","History","Location","application_ref_1","browser_1","ChangeDetectionPerfRecord","msPerTick","numTicks","AngularTools","profiler","AngularProfiler","injector","timeChangeDetection","config","record","profileName","isProfilerAvailable","profile","tick","end","profileEnd","toFixed","enableDebugTools","context","ng","common_tools_1","disableDebugTools","ng_zone_1","plugins","_zone","_plugins","reversed","plugin","_findPluginFor","_eventNames","pan","panstart","panmove","panend","pancancel","panleft","panright","panup","pandown","pinch","pinchstart","pinchmove","pinchend","pinchcancel","pinchin","pinchout","press","pressup","rotate","rotatestart","rotatemove","rotateend","rotatecancel","swipe","swipeleft","swiperight","swipeup","swipedown","tap","HammerGesturesPluginCommon","hammer_common_1","HAMMER_GESTURE_CONFIG","HammerGestureConfig","overrides","buildHammer","mc","Hammer","enable","HammerGesturesPlugin","_config","isCustomEvent","eventObj","off","_exceptionHandler","ExceptionHandler","IS_DART","initDomAdapter","browser_adapter_1","wtf_init_1","testability_2","common_1","testability_1","key_events_1","xhr_cache_1","hammer_gestures_1","common_dom_1","dom_tokens_2","title_1","common_dom_2","browser_adapter_2","tools_1","hammer_gestures_2","BROWSER_PLATFORM_MARKER","BROWSER_PROVIDERS","PLATFORM_COMMON_PROVIDERS","PLATFORM_INITIALIZER","multi","BROWSER_APP_COMMON_PROVIDERS","APPLICATION_COMMON_PROVIDERS","FORM_PROVIDERS","PLATFORM_PIPES","COMMON_PIPES","PLATFORM_DIRECTIVES","COMMON_DIRECTIVES","useClass","useExisting","Testability","CACHED_TEMPLATE_PROVIDER","_resolveViewStatements","compileResult","dependencies","dep","factoryPlaceholder","moduleUrl","_templateModuleUrl","comp","statements","_resolveStyleStatements","valuePlaceholder","_stylesModuleUrl","sourceUrl","isShimmed","urlWithoutSuffix","MODULE_SUFFIX","stylesheetUrl","shim","_assertComponent","isComponent","compile_metadata_1","o","component_factory_1","_COMPONENT_FACTORY_IDENTIFIER","CompileIdentifierMetadata","runtime","ComponentFactory","SourceModule","source","NormalizedComponentWithViewDirectives","component","OfflineCompiler","_directiveNormalizer","_templateParser","_styleCompiler","_viewCompiler","_outputEmitter","normalizeDirectiveMetadata","normalizeDirective","compileTemplates","components","exportedVars","componentWithDirs","compMeta","compViewFactoryVar","_compileComponent","hostMeta","createHostComponentMeta","hostViewFactoryVar","compFactoryVar","variable","importExpr","literal","importType","TypeModifier","Const","toDeclStmt","StmtModifier","Final","_codegenSourceModule","compileStylesheet","cssText","plainStyles","shimStyles","stylesVar","targetStatements","styleResult","compileComponent","parsedTemplate","viewResult","addAll","viewFactoryVar","emitStatements","stripComments","_commentRe","processRules","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","_ruleRe","suffix","contentPrefix","BLOCK_PLACEHOLDER","blocks","rule","CssRule","inputParts","_curlyRe","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","CLOSE_CURLY","OPEN_CURLY","StringWithEscapedBlocks","ShadowCss","strictStyling","shimCssText","hostSelector","_insertDirectives","_scopeCssText","_insertPolyfillDirectivesInCssText","_insertPolyfillRulesInCssText","_cssContentNextSelectorRe","_cssContentRuleRe","scopeSelector","unscoped","_extractUnscopedRulesFromCssText","_insertPolyfillHostInCssText","_convertColonHost","_convertColonHostContext","_convertShadowDOMSelectors","_scopeSelectors","trim","matcher","_cssContentUnscopedRuleRe","RegExpMatcherWrapper","_convertColonRule","_cssColonHostRe","_colonHostPartReplacer","_cssColonHostContextRe","_colonHostContextPartReplacer","regExp","partReplacer","_polyfillHostNoCombinator","_polyfillHost","_shadowDOMSelectorsRe","_scopeSelector","strict","deepParts","_shadowDeepSelectors","shallowPart","_selectorNeedsScoping","_applyStrictSelectorScope","_applySelectorScope","re","_makeScopeMatcher","lre","rre","_selectorReSuffix","_applySimpleSelectorScope","_polyfillHostRe","replaceBy","isRe","splits","scoped","sep","_colonHostContextRe","_polyfillHostContext","_colonHostRe","_parenSuffix","getStylesVarName","view_1","shadow_css_1","url_resolver_1","style_url_resolver_1","StylesCompileDependency","StylesCompileResult","StyleCompiler","_urlResolver","_shadowCss","_compileStyles","styleUrls","styleWithImports","extractStyleUrls","absUrls","styleExpressions","plainStyle","_shimIfNeeded","identifier","ExternalExpr","stmt","literalArr","ArrayType","DYNAMIC_TYPE","UrlResolver","_findPipeMeta","view","pipeMeta","pipeMetas","localPipeMeta","identifiers_1","_PurePipeProxy","argCount","CompilePipe","_purePipeProxies","THIS_EXPR","pipeCount","pure","diDeps","diDep","token","equalsTo","identifierToken","Identifiers","injectFromViewParentInjector","fields","ClassField","Private","createMethod","resetDebugInfo","addStmt","toStmt","purePipeProxy","createPureProxy","callMethod","BuiltinMethod","callingView","getPropertyInView","castByValue","callFn","getViewType","embeddedTemplateIndex","view_type_1","ViewType","EMBEDDED","isHost","HOST","COMPONENT","constants_1","compile_query_1","compile_method_1","compile_pipe_1","CompileView","genConfig","viewIndex","declarationElement","templateVariableBindings","rootNodesOrAppElements","bindings","classStatements","eventHandlerMethods","getters","disposables","subscriptions","purePipes","locals","literalArrayCount","literalMapCount","CompileMethod","injectorGetMethod","updateContentQueriesMethod","dirtyParentQueriesMethod","updateViewQueriesMethod","detectChangesInInputsMethod","detectChangesRenderPropertiesMethod","afterContentLifecycleCallbacksMethod","afterViewLifecycleCallbacksMethod","destroyMethod","viewType","classType","viewFactory","getViewFactoryName","componentView","viewQueries","CompileTokenMap","directiveInstance","forEachWithIndex","queryMeta","queryIndex","propName","selectors","queryList","createQueryList","CompileQuery","addQueryToTokenMap","constructorViewQueryCount","viewQuery","isNull","setEmbeddedView","callPipe","compView","pipe","getLocal","EventHandlerVars","currView","createLiteralArray","values","proxyExpr","proxyParams","proxyReturnEntries","paramName","FnParam","ReturnStatement","createLiteralMap","literalMap","afterNodes","queries","afterChildren","createQueryValues","viewValues","flatten","ViewQueryValues","mapNestedViews","appElement","declarationAppElement","expressions","adjustedExpressions","expr","replaceVarInExpression","compileView","ownerDirectiveExpression","_values","addValue","currentView","elPath","parentEl","unshift","queryListForDirtyExpr","last","embeddedView","newViewValues","targetMethod","updateStmts","valueExpr","IfStmt","createInjectInternalCondition","nodeIndex","childNodeCount","providerExpr","indexCondition","lowerEquals","InjectMethodVars","requestNodeIndex","and","identical","createDiTokenExpression","createProviderProperty","providerValueExpressions","isMulti","isEager","compileElement","resolvedProviderValueExpr","internalField","getter","sourceAst","ClassGetter","finish","template_ast_1","CompileNode","isRootElement","CompileElement","_directives","_resolvedProvidersArray","hasViewContainer","hasEmbeddedView","references","_compViewExpr","_instances","_queryCount","_queries","_componentConstructorViewQueryLists","contentNodesByNgContentIndex","referenceTokens","Injector","Renderer","_createAppElement","createNull","fieldName","parentNodeIndex","AppElement","statement","setComponentView","compViewExpr","ngContentSelectors","createTemplateRefExpr","TemplateRef_","CompileProviderMetadata","TemplateRef","ProviderAst","ProviderAstType","Builtin","sourceSpan","beforeChildren","_resolvedProviders","resolvedProvider","_getDependency","providerType","CompileDiDependencyMetadata","depsExpr","Expression","size","multiProvider","eager","directiveInstances","_addQuery","queriesWithReads","queriesForProvider","_getQueriesFor","_QueryWithRead","varName","varValue","varToken","CompileTokenMetadata","queryWithRead","read","componentConstructorViewQueryList","NULL_EXPR","compExpr","getComponent","providerChildNodeCount","PrivateService","addContentNode","ngContentIndex","nodeExpr","getProviderTokens","currentEl","distance","descendants","_getLocalDependency","requestingProviderType","currElement","isValue","isSkipSelf","PublicService","isOptional","definedView","viewProp","ReadPropExpr","readPropExpr_1","some","field","cast","optional","identifierIsInstance","createFlatArray","lastNonArrayExpressions","ConcatArray","pureProxyProp","pureProxyId","pureProxies","buildView","targetDependencies","builderVisitor","ViewBuilderVisitor","templateVisitAll","nestedViewCount","finishView","createViewTopLevelStmts","compile_element_1","_mergeHtmlAndDirectiveAttrs","declaredHtmlAttrs","directiveMeta","hostAttributes","prevValue","mergeAttributeValue","mapToKeyValueArray","_readHtmlAttrs","attrs","htmlAttrs","ast","attrValue1","attrValue2","CLASS_ATTR","STYLE_ATTR","entryArray","sort","entry1","entry2","compare","keyValueArray","nodeDebugInfosVar","genDebugInfo","createStaticNodeDebugInfo","ExternalType","StaticNodeDebugInfo","renderCompTypeVar","RenderComponentType","viewClass","createViewClass","createViewFactory","componentToken","varTokenEntries","MapType","emptyTemplateVariableBindings","viewConstructorArgs","ViewConstructorVars","viewUtils","ViewUtils","parentInjector","declarationEl","viewConstructor","ClassMethod","SUPER_EXPR","ViewTypeEnum","fromValue","ChangeDetectionStrategyEnum","getChangeDetectionMode","viewMethods","rootSelectorVar","STRING_TYPE","generateCreateMethod","NUMBER_TYPE","notFoundResult","addReturnValuefNotEmpty","DetectChangesVars","throwOnChange","BOOL_TYPE","generateDetectChangesMethod","ClassStmt","AppView","getContextType","templateUrlInfo","viewFactoryArgs","initRenderCompTypeStmts","templateUrl","ViewEncapsulationEnum","constructorMethod","parentRenderNodeExpr","parentRenderNodeStmts","ViewProperties","parentRenderNodeVar","renderTypes","resultExpr","stmts","isEmpty","afterContentStmts","not","afterViewStmts","varStmts","readVars","findReadVarNames","changed","SimpleChange","valUnwrapper","ValueUnwrapper","typeMeta","mode","change_detection_1","isDefaultChangeDetectionStrategy","CheckAlways","CheckOnce","compile_view_1","IMPLICIT_TEMPLATE_VAR","ViewCompileDependency","_isRootNode","_addRootNodeAndProject","vcAppEl","_getParentRenderNode","visitBoundText","_visitText","visitText","renderText","compileNode","createRenderNode","resetDebugInfoExpr","visitNgContent","parentRenderNode","nodesExpression","projectableNodes","index","flattenNestedViewRenderNodes","visitElement","createRenderNodeExpr","debugContextExpr","directiveAst","attrNameAndValues","nestedComponentIdentifier","children","codeGenContentNodes","visitEmbeddedTemplate","renderComment","variables","varAst","visitAttr","ctx","visitDirective","visitEvent","eventTargetAndNames","visitReference","visitVariable","visitDirectiveProperty","visitElementProperty","createBindFieldExpr","exprIndex","createCurrValueExpr","currValExpr","fieldExpr","parsedExpression","actions","checkExpression","expression_converter_1","convertCdExpressionToIr","expression","uninitialized","needsValueUnwrapper","initValueUnwrapperStmt","condition","checkBinding","or","bindRenderText","boundText","bindingIndex","compile_binding_1","CompileBinding","valueField","bindAndWriteToRenderer","boundProps","boundProp","renderMethod","renderValue","PropertyBindingType","Property","logBindingUpdate","logBindingUpdateStmt","Attribute","conditional","Class","Style","strValue","unit","plus","bindRenderInputs","bindDirectiveHostProps","hostProperties","bindDirectiveInputs","lifecycleHooks","calcChangesMap","lifecycle_hooks_1","LifecycleHooks","OnChanges","isOnPushComp","constants_2","directiveName","_DebugState","NULL_DEBUG_STATE","_view","_newState","_currState","_bodyStatements","_debugEnabled","_updateDebugContextIfNeeded","_updateDebugContext","newState","sourceLocation","line","col","templateAst","addStmts","nameResolver","implicitReceiver","valueUnwrapper","visitor","_AstToIrVisitor","irAst","_Mode","ExpressionWithWrappedValueInfo","convertCdStatementToIr","flattenStatements","Statement","ensureStatementMode","ensureExpressionMode","convertToStatementIfNeeded","arg","IMPLICIT_RECEIVER","_nameResolver","_implicitReceiver","_valueUnwrapper","visitBinary","op","operation","BinaryOperator","Plus","Minus","Multiply","Divide","Modulo","And","Or","Equals","NotEquals","Identical","NotIdentical","Lower","Bigger","LowerEquals","BiggerEquals","BinaryOperatorExpr","visitChain","visitAll","visitConditional","trueExp","falseExp","visitPipe","exp","visitFunctionCall","visitImplicitReceiver","visitInterpolation","strings","interpolate","visitKeyedRead","visitKeyedWrite","visitLiteralArray","visitLiteralMap","visitLiteralPrimitive","visitMethodCall","receiver","varExpr","visitPrefixNot","visitPropertyRead","visitPropertyWrite","visitSafePropertyRead","visitSafeMethodCall","asts","visitQuote","collectEventListeners","hostEvents","dirs","eventListeners","hostEvent","CompileEventListener","getOrCreate","addAction","finishMethod","bindDirectiveOutputs","outputs","observablePropName","listenToDirective","bindRenderOutputs","listenToRenderer","convertStmtIntoExpression","ExpressionStatement","santitizeEventName","eventTarget","listenerIndex","_hasComponentHostListener","_actionResultExprs","_method","_methodName","_eventParam","renderEvent","targetEventListeners","actionStmts","lastIndex","lastStatement","returnExpr","preventDefaultVar","notIdentical","markPathToRootStart","listenExpr","eventListener","disposable","FUNCTION_TYPE","subscription","SubscribeObservable","_enumExpression","classIdentifier","resolveEnumToken","None","ChangeDetectorStateEnum","ChangeDetectorState","NeverChecked","CheckedBefore","Errored","Checked","Detached","bindDirectiveDetectChangesLifecycleCallbacks","OnInit","STATE_IS_NEVER_CHECKED","NOT_THROW_ON_CHANGES","DoCheck","bindDirectiveAfterContentLifecycleCallbacks","AfterContentInit","AfterContentChecked","bindDirectiveAfterViewLifecycleCallbacks","AfterViewInit","AfterViewChecked","bindDirectiveDestroyLifecycleCallbacks","onDestroyMethod","OnDestroy","bindPipeDestroyLifecycleCallbacks","pipeInstance","bindView","ViewBinderVisitor","lifecycle_binder_1","property_binder_1","event_binder_1","_nodeIndex","view_builder_1","view_binder_1","config_1","ViewCompileResult","ViewCompiler","_genConfig","CompilerConfig","_transformProvider","_a","_transformProviderAst","_normalizeProviders","targetErrors","targetProviders","normalizeProvider","CompileTypeMetadata","ProviderError","_resolveProvidersFromDirectives","providersByToken","dirProvider","_resolveProviders","directivesWithComponentFirst","dir","viewProviders","targetProvidersByToken","clear","_getViewQueries","_addQueryToTokenMap","_getContentQueries","contentQueries","parse_util_1","message","span","ParseError","ProviderViewContext","errors","ProviderElementContext","_viewContext","_parent","_isViewRoot","_directiveAsts","refs","_sourceSpan","_transformedProviders","_seenProviders","_hasViewContainer","_attrs","attrAst","directivesMeta","_allProviders","_contentQueries","queriedTokens","_addQueryReadsTo","refAst","_getOrCreateLocalProvider","afterElement","sortedProviderTypes","sortedDirectives","dir1","dir2","queryReadTokens","queryReadToken","transformedProviderAst","transformedProviders","transformedDeps","transformedUseValue","transformedUseExisting","existingDiDep","isAttribute","normalizeBlank","currEager","isSelf","prevElement","splitClasses","classAttrValue","createElementCssSelector","elementName","matchableAttrs","cssSelector","selector_1","CssSelector","elNameNoNs","html_tags_1","splitNsName","setElement","attrNameNoNs","addAttribute","addClassName","removeDuplicates","hasMatch","console_1","ast_1","parser_1","html_parser_1","view_utils_1","element_schema_registry_1","template_preparser_1","html_ast_1","provider_parser_1","BIND_NAME_REGEXP","TEMPLATE_ELEMENT","TEMPLATE_ATTR","TEMPLATE_ATTR_PREFIX","PROPERTY_PARTS_SEPARATOR","ATTRIBUTE_PREFIX","CLASS_PREFIX","STYLE_PREFIX","TEXT_CSS_SELECTOR","TEMPLATE_TRANSFORMS","TemplateParseError","TemplateParseResult","TemplateParser","_exprParser","_schemaRegistry","_htmlParser","_console","transforms","tryParse","warnings","ParseErrorLevel","WARNING","FATAL","warn","errorString","htmlAstWithErrors","rootNodes","uniqDirectives","uniqPipes","providerViewContext","parseVisitor","TemplateParseVisitor","htmlVisitAll","EMPTY_ELEMENT_CONTEXT","transform","Optional","Parser","ElementSchemaRegistry","HtmlParser","Console","directivesIndex","ngContentCount","selectorMatcher","SelectorMatcher","addSelectables","pipesByName","_reportError","_parseInterpolation","sourceInfo","parseInterpolation","_checkPipes","MAX_INTERPOLATION_VALUES","wrapLiteralPrimitive","_parseAction","parseAction","_parseBinding","parseBinding","_parseTemplateBindings","bindingsResult","parseTemplateBindings","templateBindings","binding","warning","collector","PipeCollector","pipeName","visitExpansion","visitExpansionCase","findNgContentIndex","BoundTextAst","TextAst","contex","AttrAst","visitComment","preparsedElement","preparseElement","PreparsedElementType","SCRIPT","STYLE","STYLESHEET","isStyleUrlResolvable","hrefAttr","elementOrDirectiveProps","elementOrDirectiveRefs","elementVars","templateElementOrDirectiveProps","templateMatchableAttrs","templateElementVars","hasInlineTemplates","lcElName","attr","hasBinding","_parseAttr","hasTemplateBinding","_parseInlineTemplateBinding","elementCssSelector","directiveMetas","_parseDirectives","directiveAsts","_createDirectiveAsts","elementProps","_createElementPropertyAsts","isViewRoot","providerContext","nonBindable","NON_BINDABLE_VISITOR","ElementContext","parsedElement","projectionSelector","projectAs","NG_CONTENT","NgContentAst","_assertAllEventsPublishedByDirectives","_assertNoComponentsNorElementBindingsOnTemplate","EmbeddedTemplateAst","transformedDirectiveAsts","transformProviders","transformedHasViewContainer","_assertOnlyOneComponent","ngContentIndex_1","ElementAst","templateCssSelector","templateDirectiveMetas","templateDirectiveAsts","templateElementProps","templateProviderContext","targetMatchableAttrs","targetProps","targetVars","templateBindingsSource","keyIsVar","VariableAst","_parsePropertyAst","_parseLiteralAttr","targetEvents","targetRefs","_normalizeAttributeName","bindParts","_parseProperty","_parseVariable","_parseReference","_parseEvent","_parseAssignmentEvent","_parsePropertyInterpolation","ElementOrDirectiveRef","BoundElementOrDirectiveProperty","splitAtColon","BoundEventAst","props","targetReferences","matchedReferences","directiveProperties","_createDirectiveHostPropertyAsts","_createDirectiveHostEventAsts","hostListeners","_createDirectivePropertyAsts","elOrDirRef","exportAs","ReferenceAst","DirectiveAst","refToken","hostProps","targetPropertyAsts","exprAst","_createElementPropertyAst","targetEventAsts","targetBoundDirectiveProps","boundPropsByName","isLiteral","elProp","dirProp","BoundDirectivePropertyAst","boundElementProps","boundDirectivePropsIndex","templateName","bindingType","boundPropertyName","getMappedPropName","nsSeparatorIdx","name_1","mergeNsAndName","BoundElementPropertyAst","_findComponentDirectiveNames","componentTypeNames","typeName","allDirectiveEvents","fullName","NonBindableVisitor","_ngContentIndexMatcher","_wildcardNgContentIndex","wildcardNgContentIndex","ngContentIndices","RecursiveAstVisitor","schemeMatch","_urlWithSchemaRe","resolver","foundUrls","modifiedCssText","_cssImportRe","StyleWithImports","astResult","HtmlTextAst","HtmlExpansionAst","switchValue","cases","switchValueSourceSpan","HtmlExpansionCaseAst","valueSourceSpan","expSourceSpan","HtmlAttrAst","HtmlElementAst","startSourceSpan","endSourceSpan","HtmlCommentAst","tokenizeHtml","sourceContent","tokenizeExpansionForms","_HtmlTokenizer","ParseSourceFile","tokenize","unexpectedCharacterErrorMsg","charCode","char","$EOF","unknownEntityErrorMsg","entitySrc","isNotWhitespace","isWhitespace","$TAB","$SPACE","$NBSP","isNameEnd","$GT","$SLASH","$SQ","$DQ","$EQ","isPrefixEnd","$a","$z","$A","$Z","$0","$9","isDigitEntityEnd","$SEMICOLON","isAsciiHexDigit","isNamedEntityEnd","isAsciiLetter","isSpecialFormStart","peek","nextPeek","$LBRACE","$f","$F","compareCharCodeCaseInsensitive","code1","code2","toUpperCaseCharCode","mergeTextTokens","srcTokens","lastDstToken","dstTokens","HtmlTokenType","TEXT","HtmlToken","HtmlTokenError","errorMsg","tokenType","HtmlTokenizeResult","tokens","$LF","$CR","$BANG","$HASH","$AMPERSAND","$MINUS","$COLON","$LT","$LBRACKET","$RBRACKET","$RBRACE","$COMMA","$X","$x","CR_OR_CRLF_REGEXP","ControlFlowError","file","column","expansionCaseStack","_advance","_processCarriageReturns","_getLocation","_attemptCharCode","_consumeCdata","_consumeComment","_consumeDocType","_consumeTagClose","_consumeTagOpen","_consumeExpansionFormStart","_consumeExpansionCaseStart","isInExpansionCase","_consumeExpansionCaseEnd","isInExpansionForm","_consumeExpansionFormEnd","_consumeText","_beginToken","EOF","_endToken","ParseLocation","_getSpan","ParseSourceSpan","currentTokenStart","currentTokenType","_createError","msg","charCodeAt","_attemptCharCodeCaseInsensitive","_requireCharCode","_attemptStr","chars","_attemptStrCaseInsensitive","_requireStr","_attemptCharCodeUntilFn","predicate","_requireCharCodeUntilFn","offset","_attemptUntilChar","_readChar","decodeEntities","_decodeEntity","startPosition","_savePosition","_restorePosition","NAMED_ENTITIES","isHex","numberStart","strNum","entity","_consumeRawText","firstCharOfEnd","attemptEndRest","tagCloseStart","textStart","ESCAPABLE_RAW_TEXT","RAW_TEXT","COMMENT_START","textToken","COMMENT_END","CDATA_START","CDATA_END","DOC_TYPE","_consumePrefixAndName","nameOrPrefixStart","prefix","nameStart","lowercaseTagName","savedPos","_consumeTagOpenStart","_consumeAttributeName","_consumeAttributeValue","_consumeTagOpenEnd","contentTokenType","getHtmlTagDefinition","contentType","HtmlTagContentType","_consumeRawTextWithTagClose","TAG_CLOSE","TAG_OPEN_START","ATTR_NAME","prefixAndName","ATTR_VALUE","quoteChar","valueStart","TAG_OPEN_END_VOID","TAG_OPEN_END","EXPANSION_FORM_START","_readUntil","EXPANSION_CASE_VALUE","EXPANSION_CASE_EXP_START","EXPANSION_CASE_EXP_END","EXPANSION_FORM_END","interpolation","isTextEnd","position","nbTokens","ctxStart","ctxEnd","ctxLen","ctxLines","getElementFullName","localName","implicitNamespacePrefix","getNsPrefix","lastOnStack","stack","html_lexer_1","HtmlTreeError","HtmlParseTreeResult","parseExpansionForms","tokensAndErrors","treeAndErrors","TreeBuilder","build","elementStack","_consumeStartTag","_consumeEndTag","_closeVoidElement","_consumeExpansion","prev","_advanceIf","startToken","_addToParent","expCase","_parseExpansionCase","mainSourceSpan","_collectExpansionExpTokens","parsedExp","expansionFormStack","parent_1","_getParentElement","ignoreFirstLf","isVoid","startTagToken","_consumeAttr","selfClosing","_pushElement","_popElement","isClosedByChild","tagDef","requireExtraParent","newParent","parentToAdd","endTagToken","stackIndex","splice","closedByParent","valueToken","selectAttr","relAttr","lcAttrName","NG_CONTENT_SELECT_ATTR","LINK_STYLE_HREF_ATTR","LINK_STYLE_REL_ATTR","NG_NON_BINDABLE_ATTR","NG_PROJECT_AS","normalizeNgContentSelect","OTHER","NG_CONTENT_ELEMENT","STYLE_ELEMENT","SCRIPT_ELEMENT","LINK_ELEMENT","LINK_STYLE_REL_VALUE","PreparsedElement","async_1","DirectiveNormalizer","_xhr","normalizeTemplate","normalizedTemplate","CompileDirectiveMetadata","directiveType","normalizeLoadedTemplate","sourceAbsUrl","templateContent","templateMeta","templateAbsUrl","rootNodesAndErrors","TemplatePreparseVisitor","allStyles","allStyleAbsUrls","allResolvedStyles","styleUrl","CompileTemplateMetadata","ngNonBindableStackCount","child","_isDirectiveMetadata","DirectiveMetadata","reflection_1","reflector_reader_1","DirectiveResolver","_reflector","reflector","typeMetadata","annotations","resolveForwardRef","propertyMetadata","propMetadata","_mergeWithPropertyMetadata","dm","a","InputMetadata","bindingPropertyName","OutputMetadata","HostBindingMetadata","hostPropertyName","HostListenerMetadata","ContentChildrenMetadata","ViewChildrenMetadata","ContentChildMetadata","ViewChildMetadata","_merge","mergedOutputs","mergedInputs","mergedHost","merge","mergedQueries","ComponentMetadata","moduleId","ReflectorReader","CODEGEN_DIRECTIVE_RESOLVER","_isPipeMetadata","PipeMetadata","PipeResolver","metas","annotation","CODEGEN_PIPE_RESOLVER","directives_1","ViewResolver","_resolve","viewMeta","ViewMetadata","_throwMixingViewAndComponent","hasLifecycleHook","lcInterface","Type","proto","ngAfterContentInit","ngAfterContentChecked","ngAfterViewInit","ngAfterViewChecked","ngOnChanges","ngDoCheck","ngOnDestroy","ngOnInit","assertArrayOfStrings","flattenDirectives","platformDirectives","flattenArray","flattenPipes","platformPipes","tree","out","isValidType","calcModuleUrl","cmpMetadata","scheme","getUrlScheme","importUri","reflective_exceptions_1","cpl","md","dimd","directive_resolver_1","pipe_resolver_1","view_resolver_1","directive_lifecycle_reflector_1","di_2","platform_directives_and_pipes_1","assertions_1","provider_1","reflective_provider_1","RuntimeMetadataResolver","_directiveResolver","_pipeResolver","_viewResolver","_platformDirectives","_platformPipes","_directiveCache","_pipeCache","_anonymousTypes","_anonymousTypeIndex","sanitizeTokenName","found","sanitizeIdentifier","getDirectiveMetadata","dirMeta","changeDetectionStrategy","cmpMeta","getProvidersMetadata","getQueriesMetadata","getTypeMetadata","LIFECYCLE_HOOKS_VALUES","hook","getDependenciesMetadata","getFactoryMetadata","factory","CompileFactoryMetadata","getPipeMetadata","pipeType","CompilePipeMetadata","getViewDirectivesMetadata","getViewPipesMetadata","typeOrFunc","constructDependencies","NoAnnotationError","compileToken","AttributeMetadata","getTokenMetadata","compileQuery","q","QueryMetadata","getQueryMetadata","upperBoundVisibility","HostMetadata","SelfMetadata","lowerBoundVisibility","SkipSelfMetadata","isViewQuery","getProviderMetadata","compileDeps","compileQueries","isVarBindingQuery","varBindings","CompileQueryMetadata","_EMPTY_ATTR_VALUE","_SELECTOR_REGEXP","classNames","notSelectors","results","_addResult","cssSel","current","inNot","isElementSelector","getMatchingElementTemplate","classAttr","notSelector","_elementMap","_elementPartialMap","_classMap","_classPartialMap","_attrValueMap","_attrValuePartialMap","_listContexts","createNotMatcher","notMatcher","cssSelectors","callbackCtxt","listContext","SelectorListContext","_addSelectable","selectable","SelectorContext","isTerminal","_addTerminal","_addPartial","terminalMap","terminalValuesMap","parttialMap","partialValuesMap","terminalList","matchedCallback","alreadyMatched","_matchTerminal","_matchPartial","selectables","starSelectables","finalize","nestedSelector","cbContext","createUrlResolverWithoutPackagePrefix","createOfflineCompileUrlResolver","_ASSET_SCHEME","_split","_ComponentIndex","Scheme","_buildFromEncodedParts","opt_scheme","opt_userInfo","opt_domain","opt_port","opt_path","opt_queryData","opt_fragment","uri","_splitRe","_removeDotSegments","leadingSlash","trailingSlash","segments","up","pos","segment","_joinAndCanonicalizePath","Path","UserInfo","Domain","Port","QueryData","Fragment","_resolveUrl","encodeURI","baseParts","lastIndexOf","application_tokens_1","DEFAULT_PACKAGE_URL_PROVIDER","PACKAGE_ROOT_URL","_packagePrefix","resolvedUrl","resolvedParts","stripRight","stripLeft","pathSegements","metadataFromJson","_COMPILE_METADATA_FROM_JSON","componentType","componentSelector","_arrayFromJson","_objFromJson","_arrayToJson","_objToJson","isBoolean","isNumber","toJson","_normalizeArray","HOST_REG_EXP","CompileMetadataWithIdentifier","unimplemented","CompileMetadataWithType","_b","fromJson","normalizeBool","token2","rk","runtimeCacheKey","ak","assetCacheKey","_valueMap","existing","VIEW_ENCAPSULATION_VALUES","serializeEnum","inputsMap","bindConfig","outputsMap","CHANGE_DETECTION_STRATEGY_VALUES","hookValue","Identifier","Factory","debug_context_1","element_1","element_ref_1","view_container_ref_1","api_1","view_2","linker_1","injector_1","template_ref_1","APP_VIEW_MODULE_URL","VIEW_UTILS_MODULE_URL","CD_MODULE_URL","impViewUtils","impAppView","impDebugContext","DebugContext","impAppElement","impElementRef","impViewContainerRef","impChangeDetectorRef","impRenderComponentType","impQueryList","impTemplateRef","impTemplateRef_","impValueUnwrapper","impInjector","impViewEncapsulation","impViewType","impChangeDetectionStrategy","impStaticNodeDebugInfo","impRenderer","impSimpleChange","impUninitialized","impChangeDetectorState","impFlattenNestedViewRenderNodes","impDevModeEqual","devModeEqual","impInterpolate","impCheckBinding","impCastByValue","pureProxy1","pureProxy2","pureProxy3","pureProxy4","pureProxy5","pureProxy6","pureProxy7","pureProxy8","pureProxy9","pureProxy10","useJit","DefaultRenderTypes","RenderTypes","abstract_emitter_1","AbstractJsEmitterVisitor","visitDeclareClassStmt","pushClass","_visitClassConstructor","print","visitExpression","println","_visitClassGetter","_visitClassMethod","popClass","_visitParams","incIndent","visitAllStatements","decIndent","visitReadVarExpr","builtin","BuiltinVar","This","Super","visitDeclareVarStmt","visitCastExpr","visitInvokeFunctionExpr","fnExpr","ReadVarExpr","currentClass","visitAllExpressions","visitFunctionExpr","visitDeclareFunctionStmt","visitTryCatchStmt","bodyStmts","CATCH_ERROR_VAR","catchStmts","CATCH_STACK_VAR","visitAllObjects","getBuiltinMethodName","AbstractEmitterVisitor","defaultValues","jitStatements","resultVar","converter","JitEmitterVisitor","EmitterVisitorContext","createRoot","evalExpression","toSource","getArgs","abstract_js_emitter_1","_evalArgNames","_evalArgValues","visitExternalExpr","debugOutputAstAsDart","_DartEmitterVisitor","_debugModuleUrl","visitStatement","visitType","getSuperConstructorCallExpr","InvokeFunctionExpr","isConstType","hasModifier","path_util_1","DartEmitter","srcParts","importsWithPrefixes","importedModuleUrl","getImportModulePath","ImportEnv","Dart","_moduleUrl","_visitIdentifier","typeParams","_visitClassField","ctorStmts","superCtorExpr","visitBinaryOperatorExpr","operator","lhs","rhs","visitLiteralArrayExpr","visitLiteralMapExpr","visitInstantiateExpr","classExpr","visitBuiltintType","typeStr","BuiltinTypeName","Bool","Dynamic","Function","Number","Int","visitExternalType","visitArrayType","of","visitMapType","newValue","transformer","_ReplaceVariableTransformer","finder","_VariableFinder","varNames","typeModifiers","LiteralExpr","LiteralArrayExpr","LiteralMapExpr","NotExpr","FunctionExpr","modifiers","modifier","BuiltinType","INT_TYPE","ReadKeyExpr","InvokeMethodExpr","InstantiateExpr","trueCase","falseCase","ConditionalExpr","notEquals","minus","divide","multiply","modulo","lower","bigger","biggerEquals","CastExpr","WriteVarExpr","visitWriteVarExpr","DeclareVarStmt","WriteKeyExpr","visitWriteKeyExpr","WritePropExpr","visitWritePropExpr","visitInvokeMethodExpr","visitLiteralExpr","visitConditionalExpr","visitNotExpr","DeclareFunctionStmt","visitReadPropExpr","visitReadKeyExpr","CatchError","CatchStack","visitExpressionStmt","visitReturnStmt","AbstractClassPart","visitIfStmt","CommentStmt","visitCommentStmt","TryCatchStmt","ThrowStmt","visitThrowStmt","ExpressionTransformer","exprs","RecursiveExpressionVisitor","_varName","_newValue","escapeSingleQuoteString","escapeDollar","_SINGLE_QUOTE_ESCAPE_STRING_RE","_createIndent","OutputEmitter","_EmittedLine","indent","_exportedVars","_indent","_classes","_lines","isExportedVar","lastPart","lineIsEmpty","_currentLine","newLine","removeEmptyLastLine","clazz","lines","_escapeDollarInStrings","hasElseCase","lineWasEmpty","opStr","useNewLine","separator","moduleUrlStr","importedUrlStr","importEnv","absolutePathPrefix","_AssetUrl","importedUrl","firstLevelDir","packageName","getRelativePath","modulePath","importedPath","moduleParts","_PATH_SEP_RE","importedParts","longestPrefix","getLongestPathSegmentPrefix","goParentCount","JS","_PATH_SEP","arr1","arr2","prefixSize","minLen","min","_ASSET_URL_RE","allowNonMatching","debugOutputAstAsTypeScript","_TsEmitterVisitor","TypeScriptEmitter","interpretStatements","instanceFactory","stmtsWithReturn","_ExecutionContext","StatementInterpreter","isDynamicInstance","DynamicInstance","_executeFunctionStatements","varValues","childCtx","createChildWihtLocalVars","vars","_declareFn","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","dart_emitter_1","ts_emitter_1","superClass","superInstance","ReturnValue","_DynamicClass","_classStmt","_ctx","_visitor","instanceCtx","paramNames","ctorParamNames","debugAst","currCtx","di","setter","ObservableWrapper","FunctionWrapper","createInstance","refTokens","CONST","_tplRow","_tplCol","staticNodeDebugInfos","staticNodeInfo","_staticNodeInfo","parentView","allNodes","refName","injectorGet","localValue","_UNDEFINED","ElementInjector","notFoundValue","THROW_IF_NOT_FOUND","_findLastRenderNode","lastNode","appEl","nestedViews","nestedView","view_ref_1","profile_1","element_injector_1","EMPTY_CONTEXT","_scope_check","wtfCreateScope","cdMode","contentChildren","viewChildren","viewContainerElement","cdState","destroyed","_currentDebugContext","ViewRef_","givenProjectableNodes","rootSelectorOrNode","ensureSlotCount","slotCount","_hasExternalHostElement","createInternal","_resetDebug","_rethrowWithContext","renderParent","dirtyParentQueriesInternal","selectOrCreateHostElement","debugCtx","injectorGetInternal","flatRootNodes","_destroyRecurse","_destroyLocal","dispose","destroyInternal","hasLocal","contextName","setLocal","addRenderContentChild","removeContentChild","s","throwDestroyedError","detectChangesInternal","wtfLeave","detectContentChildrenChanges","detectViewChildrenChanges","addToContentChildren","renderAppElement","removeFromContentChildren","markAsCheckOnce","markPathToRootAsCheckOnce","debug","rowNum","colNum","ViewWrappedException","ExpressionChangedAfterItHasBeenCheckedException","cb","details","ViewDestroyedException","InterpretiveAppViewInstanceFactory","_InterpretiveAppView","rootSelector","assertComponent","style_compiler_1","view_compiler_1","template_parser_1","directive_normalizer_1","runtime_metadata_1","ir","output_jit_1","output_interpreter_1","interpretive_view_1","RuntimeCompiler","_runtimeMetadataResolver","_templateNormalizer","_styleCache","_hostCacheKeys","_compiledTemplateCache","_compiledTemplateDone","resolveComponent","hostCacheKey","_loadAndCompileComponent","compiledTemplate","clearCache","cacheKey","viewDirectives","compilingComponentsPath","CompiledTemplate","_compileComponentStyles","stylesAndNormalizedViewDirMetas","normalizedViewDirMetas","childPromises","childCompilingComponentsPath","childCacheKey","childViewDirectives","childViewPipes","childIsRecursive","childComp","proxyViewFactory","_resolveStylesCompileResult","promises","_loadStylesheetDep","cssTexts","nestedCompileResultPromises","nestedCompileResult","nestedStylesArr","cssTextPromise","childInjector","contextEl","adapter","TAG_DEFINITIONS","DEFAULT_TAG_DEFINITION","Aacute","aacute","Acirc","acirc","acute","AElig","aelig","Agrave","agrave","alefsym","Alpha","alpha","amp","ang","apos","Aring","aring","asymp","Atilde","atilde","Auml","auml","bdquo","Beta","beta","brvbar","bull","cap","Ccedil","ccedil","cedil","cent","Chi","chi","circ","clubs","cong","copy","crarr","cup","curren","dagger","Dagger","darr","dArr","deg","Delta","delta","diams","Eacute","eacute","Ecirc","ecirc","Egrave","egrave","emsp","ensp","Epsilon","epsilon","equiv","Eta","eta","ETH","eth","Euml","euml","euro","exist","fnof","forall","frac12","frac14","frac34","frasl","Gamma","gamma","ge","gt","harr","hArr","hearts","hellip","Iacute","iacute","Icirc","icirc","iexcl","Igrave","igrave","image","infin","int","Iota","iota","iquest","isin","Iuml","iuml","Kappa","kappa","Lambda","lambda","laquo","larr","lArr","lceil","ldquo","le","lfloor","lowast","loz","lrm","lsaquo","lsquo","lt","macr","mdash","micro","middot","Mu","mu","nabla","nbsp","ndash","ne","ni","notin","nsub","Ntilde","ntilde","Nu","nu","Oacute","oacute","Ocirc","ocirc","OElig","oelig","Ograve","ograve","oline","Omega","omega","Omicron","omicron","oplus","ordf","ordm","Oslash","oslash","Otilde","otilde","otimes","Ouml","ouml","para","permil","perp","Phi","phi","Pi","pi","piv","plusmn","pound","prime","Prime","prod","Psi","psi","quot","radic","rang","raquo","rarr","rArr","rceil","rdquo","real","reg","rfloor","Rho","rho","rlm","rsaquo","rsquo","sbquo","Scaron","scaron","sdot","sect","shy","Sigma","sigma","sigmaf","sim","spades","sub","sube","sum","sup","sup1","sup2","sup3","supe","szlig","Tau","tau","there4","Theta","theta","thetasym","thinsp","THORN","thorn","tilde","times","trade","Uacute","uacute","uarr","uArr","Ucirc","ucirc","Ugrave","ugrave","uml","upsih","Upsilon","upsilon","Uuml","uuml","weierp","Xi","xi","Yacute","yacute","yen","yuml","Yuml","Zeta","zeta","zwj","zwnj","HtmlTagDefinition","closedByChildren","requiredParents","PARSABLE_DATA","currentParent","lcParent","area","embed","link","img","hr","br","track","wbr","thead","tbody","tfoot","tr","td","th","math","li","dt","dd","rb","rt","rtc","rp","optgroup","option","pre","listing","script","textarea","DomElementSchemaRegistry","_protoElements","_getProtoElement","elm","mappedPropName","attrToPropMap","AST","Quote","uninterpretedExpression","EmptyExpr","ImplicitReceiver","Chain","Conditional","PropertyRead","PropertyWrite","SafePropertyRead","KeyedRead","KeyedWrite","BindingPipe","LiteralPrimitive","LiteralArray","LiteralMap","Interpolation","Binary","PrefixNot","MethodCall","SafeMethodCall","FunctionCall","ASTWithSource","TemplateBinding","AstTransformer","decorators_1","lexer_1","INTERPOLATION_REGEXP","ParseException","errLocation","ctxLocation","SplitInterpolation","TemplateBindingParseResult","_lexer","_checkNoInterpolation","_stripComments","_ParseAST","parseChain","_parseBindingAst","parseSimpleBinding","SimpleExpressionChecker","check","quote","_parseQuote","prefixSeparatorIndex","isIdentifier","splitInterpolation","_findInterpolationErrorColumn","_commentStart","outerQuote","nextChar","isQuote","partInErrIdx","j","Lexer","advance","optionalCharacter","isCharacter","peekKeywordLet","isKeywordLet","peekDeprecatedKeywordVar","isKeywordDeprecatedVar","peekDeprecatedOperatorHash","isOperator","expectCharacter","optionalOperator","expectOperator","expectIdentifierOrKeyword","isKeyword","expectIdentifierOrKeywordOrString","parsePipe","parseExpression","parseConditional","inputIndex","parseLogicalOr","yes","no","parseLogicalAnd","parseEquality","parseRelational","parseAdditive","parseMultiplicative","parsePrefix","parseCallChain","parsePrimary","$PERIOD","parseAccessMemberOrMethodCall","$LPAREN","parseCallArguments","$RPAREN","isKeywordNull","isKeywordUndefined","isKeywordTrue","isKeywordFalse","elements","parseExpressionList","parseLiteralMap","toNumber","literalValue","terminator","isSafe","positionals","parseBlockContent","expectTemplateBindingKey","operatorFound","simple","newCharacterToken","Token","TokenType","Character","newIdentifierToken","newKeywordToken","Keyword","newOperatorToken","Operator","newStringToken","newNumberToken","isIdentifierStart","$_","$$","scanner","_Scanner","isIdentifierPart","isDigit","isExponentStart","$e","$E","isExponentSign","$PLUS","$BT","unescape","$n","$FF","$r","$t","$v","$VTAB","scanToken","numValue","operater","$PERCENT","$STAR","$QUESTION","$BACKSLASH","$CARET","$u","$BAR","ScannerError","scanIdentifier","scanNumber","scanCharacter","scanString","scanOperator","scanComplexOperator","one","twoCode","two","threeCode","three","KEYWORDS","parseIntAutoRadix","buffer","marker","StringJoiner","unescapedCode","hex","unescaped","createFromList","_createCompilerConfig","config_2","runtime_compiler_1","template_parser_2","component_resolver_1","runtime_compiler_2","dom_element_schema_registry_1","url_resolver_2","view_resolver_2","directive_resolver_2","pipe_resolver_2","COMPILER_PROVIDERS","ComponentResolver","dirAst","compiler_1","completer","xhr","XMLHttpRequest","responseType","onload","responseText","status","onerror","send","promise","browserPlatform","getPlatform","createPlatform","ReflectiveInjector","resolveAndCreate","browser_common_2","assertPlatform","appComponentType","customProviders","reflectionCapabilities","reflection_capabilities_1","ReflectionCapabilities","appInjector","BROWSER_APP_PROVIDERS","coreLoadAndBootstrap","browser_common_1","compiler_2","defaults","OPTION_NAMES","redocDebugMode","_Set","_options","parsedOpts","attributesMap","$1","_normalizeOptions","numberOffset","offsetHeight","opts","_Object$assign","CHANGE","INVIEW_POSITION","NEXT","BACK","INITIAL","ABOVE","BELLOW","INVIEW","_SideMenu","bindEvents","activeCatIdx","activeMethodIdx","prevOffsetY","hashScroll","activeCatCaption","activeItemCaption","hash","$el","substr","namespace","ptr","decodeURIComponent","getMethodElByOperId","getMethodElByPtr","scrollTo","mobileNavOffset","$mobileNav","clientHeight","_cancel","scrollHandler","idx","methodIdx","mobileMode","toggleMobileNav","activate","scrollToActive","subjRect","getCurrentMethodEl","catIdx","menu","activeMethodPtr","currentItem","summary","catCount","catLength","resMethodIdx","resCatIdx","prevCatIdx","_calcActiveIndexes","_calcActiveIndexes22","isScrolledDown","stable","$activeMethodHost","elementInViewPos","getElementInViewPos","changeActive","$overflowParent","$resourcesNav","viewportHeight","innerHeight","$export","toObject","isArrayIter","toLength","getIterFn","S","iter","arrayLike","step","iterator","$$len","mapfn","mapping","iterFn","is","x","y","anObject","aFunction","SPECIES","that","un","documentElement","isObject","process","defer","channel","port","cel","setTask","setImmediate","clearTask","clearImmediate","MessageChannel","counter","ONREADYSTATECHANGE","run","listner","nextTick","port2","port1","onmessage","postMessage","importScripts","macrotask","Observer","MutationObserver","WebKitMutationObserver","Promise","isNode","flush","domain","exit","enter","toggle","observe","characterData","task","SAFE_CLOSING","riter","exec","skipClosing","safe","Wrapper","$","LIBRARY","strictNew","forOf","setProto","same","speciesConstructor","asap","PROMISE","P","testResolve","USE_NATIVE","P2","self","works","thenableThenGotten","setDesc","sameConstructor","getConstructor","isThenable","PromiseCapability","$$resolve","$$reject","perform","isReject","chain","ok","reaction","fail","h","isUnhandled","emit","onunhandledrejection","reason","$reject","$resolve","wrapper","executor","onFulfilled","onRejected","catch","W","capability","iterable","abrupt","remaining","each","alreadyCalled","race","getIterator","strong","getEntry","def","toJSON","Infinity","decodeJSONPointer","getRemotePath","io","getQueryPath","findId","Report","SchemaCompilation","SchemaValidation","Utils","cacheSchemaByUri","remotePath","removeFromCacheByUri","checkCacheForUri","getSchema","report","getSchemaByReference","getSchemaByUri","referenceCache","cloneDeep","root","queryPath","compileRemote","remoteReport","compileSchema","validateSchema","remoteReportIsValid","isValid","addError","lim","mergeReference","scope","isAbsoluteUri","toRemove","joinedScope","isScopeAbsolute","isScopeRelative","isRelativeUri","isRefRelative","collectReferences","__$refResolved","$schema","__$schemaResolved","SchemaCache","compileArrayOfSchemasLoop","mainReport","compiledCount","compileArrayOfSchemas","lastLoopCompiled","compiled","sch","__$missingReferences","idx2","refObj","commonErrorMessage","loadedSchema","__$compiled","isRoot","rootSchema","isValidExceptReferences","schemaReader","getSchemaReader","subreport","hasNotValid","hasError","isAbsolute","isDownloaded","ignoreUnresolvableRemotes","ignoreUnresolvableReferences","_interopRequireDefault","toInt","radix","_assertString2","_assertString","toBoolean","comparison","_toString2","_toString","pattern","RegExp","isURL","_merge2","default_url_options","protocol","auth","hostname","port_str","require_valid_protocol","protocols","require_protocol","allow_protocol_relative_urls","_isIP2","_isFQDN2","host_whitelist","host_blacklist","_isFQDN","_isIP","require_tld","allow_underscores","allow_trailing_dot","isMACAddress","macAddress","isIP","version","ipv4Maybe","foundOmissionBlock","foundIPv4TransitionBlock","expectedNumberOfBlocks","ipv6Block","isAlpha","locale","_alpha","en-US","cs-CZ","de-DE","es-ES","fr-FR","nl-NL","pl-PL","pt-PT","ru-RU","tr-TR","ar","alphanumeric","englishLocales","_locale","arabicLocales","isAlphanumeric","numeric","isLowercase","isUppercase","isAscii","ascii","isFullWidth","fullWidth","isHalfWidth","halfWidth","isVariableWidth","_isFullWidth","_isHalfWidth","isMultibyte","multibyte","isSurrogatePair","surrogatePair","isInt","isFloat","float","isDecimal","decimal","toFloat","isDivisibleBy","num","_toFloat2","_toFloat","isHexColor","hexcolor","isJSON","JSON","_typeof","Symbol","isLength","surrogatePairs","isUUID","uuid",3,4,5,"isHexadecimal","hexadecimal","isMongoId","_isHexadecimal2","_isHexadecimal","getTimezoneOffset","iso8601Parts","_isISO","iso8601","timezone","sign","hours","minutes","isDate","normalizedDate","Date","timezoneOffset","timezoneDifference","getTime","day","getDate","dayOrYear","dayOrYearMatches","year","digitString","getFullYear","isAfter","date","_toDate2","original","_toDate","toDate","isBefore","isIn","array","isCreditCard","sanitized","creditCard","digit","tmpNum","shouldDouble","isISIN","checksumStr","character","isISBN","checksum","isbn10Maybe","isbn13Maybe","factor","isMobilePhone","phones","ar-SY","el-GR","en-AU","en-GB","en-HK","en-IN","en-NZ","en-ZA","en-ZM","fi-FI","ms-MY","nb-NO","nn-NO","pt-BR","vi-VN","zh-CN","zh-TW","currencyRegex","symbol","require_symbol","negative","whole_dollar_amount_without_sep","whole_dollar_amount_with_sep","thousands_separator","valid_whole_dollar_amounts","whole_dollar_amount","decimal_amount","decimal_separator","allow_negatives","parens_for_negatives","negative_sign_after_digits","negative_sign_before_digits","allow_negative_sign_placeholder","allow_space_after_symbol","allow_space_after_digits","symbol_after_digits","isCurrency","default_currency_options","isBase64","notBase64","firstPaddingChar","isDataURI","dataURI","ltrim","rtrim","escape","stripLow","keep_new_lines","_blacklist2","_blacklist","whitelist","blacklist","isWhitelisted","isByteLength","assertString","isFDQN","default_fqdn_options","tld","isEmail","default_email_options","allow_display_name","display_email","displayName","user","lower_domain","_isByteLength2","allow_utf8_local_part","quotedEmailUserUtf8","quotedEmailUser","emailUserUtf8Part","emailUserPart","user_parts","_isByteLength","normalizeEmail","email","default_normalize_email_options","_isEmail2","remove_extension","remove_dots","lowercase","_isEmail","_toInt","_toInt2","_toBoolean","_toBoolean2","_equals","_equals2","_contains","_contains2","_matches","_matches2","_isURL","_isURL2","_isMACAddress","_isMACAddress2","_isBoolean","_isBoolean2","_isAlpha","_isAlpha2","_isAlphanumeric","_isAlphanumeric2","_isNumeric","_isNumeric2","_isLowercase","_isLowercase2","_isUppercase","_isUppercase2","_isAscii","_isAscii2","_isFullWidth2","_isHalfWidth2","_isVariableWidth","_isVariableWidth2","_isMultibyte","_isMultibyte2","_isSurrogatePair","_isSurrogatePair2","_isInt","_isInt2","_isFloat","_isFloat2","_isDecimal","_isDecimal2","_isDivisibleBy","_isDivisibleBy2","_isHexColor","_isHexColor2","_isJSON","_isJSON2","_isNull","_isNull2","_isLength","_isLength2","_isUUID","_isUUID2","_isMongoId","_isMongoId2","_isDate","_isDate2","_isAfter","_isAfter2","_isBefore","_isBefore2","_isIn","_isIn2","_isCreditCard","_isCreditCard2","_isISIN","_isISIN2","_isISBN","_isISBN2","_isMobilePhone","_isMobilePhone2","_isCurrency","_isCurrency2","_isISO2","_isBase","_isBase2","_isDataURI","_isDataURI2","_ltrim","_ltrim2","_rtrim","_rtrim2","_trim","_trim2","_escape","_escape2","_unescape","_unescape2","_stripLow","_stripLow2","_whitelist","_whitelist2","_isWhitelisted","_isWhitelisted2","_normalizeEmail","_normalizeEmail2","validator","isFQDN","isISO8601","FormatValidators","date-time","dateTime","valid","labels","host-name","ipv4","ipv6","regex","strictUris","strict-uri","JsonValidators","multipleOf","whatIs","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","ucs2decode","minLength","additionalItems","maxItems","uniqueItems","isUniqueArray","maxProperties","keysCount","minProperties","required","requiredPropertyName","additionalProperties","patternProperties","pp","difference","idx3","assumeAdditional","dependencyName","dependencyDefinition","validate","enum","areEqual","validateResult","breakOnFirstError","anyOf","subReports","passed","subReport","oneOf","passes","maxErrors","definitions","format","formatValidatorFn","addAsyncTask","ignoreUnknownFormats","recurseArray","recurseObject","regexString","maxRefs","jsonType","customValidator","checkGlobal","isHostObject","Hash","hashDelete","hashHas","hashGet","nativeCreate","HASH_UNDEFINED","hashSet","MapCache","mapClear","__data__","mapDelete","isKeyable","assocDelete","mapGet","assocGet","mapHas","assocHas","mapSet","assocSet","assocIndexOf","eq","getNative","isNative","func","funcToString","memoize","FUNC_ERROR_TEXT","memoized","Cache","other","objectToString","funcTag","genTag","isObjectLike","reIsNative","reIsHostCtor","isSymbol","symbolTag","symbolToString","INFINITY","rePropName","reRegExpChar","reEscapeChar","objectTypes","function","freeExports","freeModule","freeGlobal","freeSelf","freeWindow","thisGlobal","arrayProto","objectProto","symbolProto","stringToPath","baseGet","isKey","castPath","reIsPlainProp","reIsDeepProp","defaultValue","INVALID_TYPE","INVALID_FORMAT","ENUM_MISMATCH","ANY_OF_MISSING","ONE_OF_MISSING","ONE_OF_MULTIPLE","NOT_PASSED","ARRAY_LENGTH_SHORT","ARRAY_LENGTH_LONG","ARRAY_UNIQUE","ARRAY_ADDITIONAL_ITEMS","MULTIPLE_OF","MINIMUM","MINIMUM_EXCLUSIVE","MAXIMUM","MAXIMUM_EXCLUSIVE","OBJECT_PROPERTIES_MINIMUM","OBJECT_PROPERTIES_MAXIMUM","OBJECT_MISSING_REQUIRED_PROPERTY","OBJECT_ADDITIONAL_PROPERTIES","OBJECT_DEPENDENCY_KEY","MIN_LENGTH","MAX_LENGTH","PATTERN","KEYWORD_TYPE_EXPECTED","KEYWORD_UNDEFINED_STRICT","KEYWORD_UNEXPECTED","KEYWORD_MUST_BE","KEYWORD_DEPENDENCY","KEYWORD_PATTERN","KEYWORD_VALUE_TYPE","UNKNOWN_FORMAT","CUSTOM_MODE_FORCE_PROPERTIES","REF_UNRESOLVED","UNRESOLVABLE_REFERENCE","SCHEMA_NOT_REACHABLE","SCHEMA_TYPE_EXPECTED","SCHEMA_NOT_AN_OBJECT","ASYNC_TIMEOUT","PARENT_SCHEMA_VALIDATION_FAILED","REMOTE_NOT_VALID","parentOrOptions","reportOptions","parentReport","asyncTasks","Errors","asyncTaskResultProcessFn","processAsyncTasks","timeout","respond","asyncTaskResult","timedOut","tasksCount","validationTimeout","getPath","returnPathAsString","getSchemaId","errorCode","schemaDescription","addCustomError","errorMessage","reportPathAsArray","schemaId","inner","JsonValidation","SchemaValidators","forceAdditional","forceProperties","schemaKey","schemaDependency","primitiveTypes","primitiveTypeStr","noEmptyStrings","noEmptyArrays","forceItems","forceMinItems","forceMaxItems","forceMinLength","forceMaxLength","validateArrayOfSchemas","__$validated","hasParentSchema","noTypeless","schemas","noExtraKeywords","pedanticCheck","tmpSchema","what","json1","json2","keys1","keys2","indexes","l","bigSet","subSet","src","cidx","visited","cloned","extra","schemaArray","positiveInteger","positiveIntegerDefault0","simpleTypes","stringArray","links","fragmentResolution","media","binaryEncoding","pathStart","linkDescription","rel","targetSchema","mediaType","encType","ZSchema","setRemoteReference","Draft4Schema","Draft4HyperSchema","defaultOptions","strictMode","asyncTimeout","lastReport","foundError","schemaName","validated","schemaPath","getLastError","getLastErrors","getMissingReferences","reference","getMissingRemoteReferences","missingReferences","missingRemoteReferences","remoteReference","getResolvedSchema","cleanup","typeOf","___$visited","setSchemaReader","registerFormat","formatName","validatorFunction","unregisterFormat","getRegisteredFormats","getDefaultOptions","^x-","swagger","basePath","schemes","consumes","produces","paths","parameters","security","securityDefinitions","externalDocs","termsOfService","contact","license","^/","parameterDefinitions","responseDefinitions","mimeType","deprecated","pathItem","put","post","delete","patch","^([0-9]{3})$|^(default)$","responseValue","collectionFormat","vendorExtension","bodyParameter","in","headerParameterSubSchema","queryParameterSubSchema","allowEmptyValue","formDataParameterSubSchema","pathParameterSubSchema","nonBodyParameter","parameter","discriminator","readOnly","xml","example","fileSchema","primitivesItems","securityRequirement","wrapped","basicAuthenticationSecurity","apiKeySecurity","oauth2ImplicitSecurity","flow","scopes","authorizationUrl","oauth2PasswordSecurity","tokenUrl","oauth2ApplicationSecurity","oauth2AccessCodeSecurity","oauth2Scopes","mediaTypeList","parametersList","schemesList","collectionFormatWithMulti","jsonReference","api","util","swaggerSchema","formatZSchemaError","ono","syntax","initializeZSchema","validateSpec","pathName","pathId","validatePath","swaggerMethods","operationName","validateParameters","responseName","responseId","validateResponse","operationParams","checkForDuplicates","reduce","combinedParams","duplicate","validateBodyParameters","validatePathParameters","validateParameterTypes","bodyParams","formParams","placeholders","swaggerParamRegExp","validTypes","parameterId","schemaTypes","outer","headerName","headerId","inherits","ParserOptions","$RefParserOptions","order","spec","Buffer","allowEmpty","canParse","isBuffer","YAML","TEXT_REGEXP","encoding","BINARY_REGEXP","_nodeRequire","readFileSync","address","onreadystatechange","readyState","fs","canRead","isFileSystemPath","toFileSystemPath","readFile","checkTypeSupport","fetch","ReadableByteStream","blobConstructor","Blob","ArrayBuffer","haveArrayBuffer","haveSlice","arraybuffer","msstream","mozchunkedarraybuffer","overrideMimeType","vbArray","VBArray","stream","rStates","readyStates","UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE","IncomingMessage","reader","_destroyed","Readable","_mode","rawHeaders","trailers","rawTrailers","_fetchResponse","statusMessage","statusText","_it","getReader","_pos","responseURL","getAllResponseHeaders","_charset","charsetMatch","_read","_onXHRProgress","responseBody","toArray","newData","Uint8Array","MSStreamReader","onprogress","byteLength","readAsArrayBuffer","ReadableState","Duplex","objectMode","readableObjectMode","hwm","highWaterMark","defaultHwm","pipesCount","flowing","ended","endEmitted","reading","sync","needReadable","emittedReadable","readableListening","resumeScheduled","defaultEncoding","ranOut","awaitDrain","readingMore","decoder","StringDecoder","_readableState","readable","Stream","readableAddChunk","state","chunk","addToFront","er","chunkInvalid","onEofChunk","skipAdd","write","emitReadable","maybeReadMore","needMoreData","computeNewHighWaterMark","MAX_HWM","howMuchToRead","processNextTick","emitReadable_","maybeReadMore_","pipeOnDrain","EElistenerCount","nReadingNextTick","resume","resume_","fromList","ret","list","stringMode","buf","cpy","endReadable","endReadableNT","xs","f","emitter","debugUtil","debuglog","isPaused","setEncoding","enc","nOrig","doRead","dest","pipeOpts","onunpipe","onend","removeListener","onclose","onfinish","ondrain","ondata","cleanedUp","_writableState","needDrain","listenerCount","pause","unpipe","doEnd","stdout","stderr","endFn","once","_events","dests","ev","addListener","wrap","paused","_fromList","deprecate","warned","trace","localStorage","nop","WriteReq","WritableState","writableObjectMode","ending","finished","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","writecb","writelen","bufferedRequest","lastBufferedRequest","pendingcb","prefinished","errorEmitted","bufferedRequestCount","corkedRequestsFree","CorkedRequest","Writable","writable","_write","writev","_writev","writeAfterEnd","validChunk","decodeChunk","writeOrBuffer","doWrite","onwriteError","onwriteStateUpdate","needFinish","clearBuffer","asyncWrite","afterWrite","onwriteDrain","finishMaybe","holder","prefinish","need","endWritable","browser","internalUtil","getBuffer","cork","uncork","setDefaultEncoding","allowHalfOpen","onEndNT","objectKeys","TransformState","afterTransform","needTransform","transforming","writechunk","writeencoding","ts","_transformState","rs","Transform","_transform","_flush","ws","PassThrough","env","READABLE_STREAM","byteOffset","arrayCopy","decideMode","preferBinary","statusValid","toArrayBuffer","ClientRequest","_opts","_body","_headers","setHeader","_onFinish","lowerName","unsafeHeaders","getHeader","removeHeader","headersObj","credentials","withCredentials","_connect","setRequestHeader","_response","abort","flushHeaders","setNoDelay","setSocketKeepAlive","extend","100","101","102","200","201","202","203","204","205","206","207","208","226","300","301","302","303","304","305","307","308","400","401","402","403","404","405","406","407","408","409","410","411","412","413","414","415","416","417","418","421","422","423","424","425","426","428","429","431","500","501","502","503","504","505","506","507","508","509","510","511","statusCodes","http","request","defaultProtocol","search","req","Agent","defaultMaxSockets","STATUS_CODES","METHODS","_maxListeners","isUndefined","defaultMaxListeners","setMaxListeners","newListener","g","fired","removeAllListeners","assertEncoding","isBufferEncoding","passThroughWrite","utf16DetectIncompleteChar","charReceived","charLength","base64DetectIncompleteChar","isEncoding","surrogateSize","detectIncompleteChar","charBuffer","charStr","available","cr","isNullOrUndefined","roundUpToNextPowerOf2","EE","cbs","isRegExp","isError","didOnEnd","_isStdio","parseHeaders","Response","capable","streaming","status2","getResponse","respType","responseBlob","handle","_emitData","respBody","InvalidCharacterError","btoa","block","atob","bs","bc","Base64","Request","isSafeRequestHeader","__aborted","isXHR2Compatible","FormData","xhrHttp","ActiveXObject","axs","ax","ax_","https","download","u","httpOptions","redirects","redirectTo","isHttp","canValidate","resolved","isMergeable","sourceSetting","targetSetting","jsonParser","yamlParser","textParser","binaryParser","fileResolver","httpResolver","zschemaValidator","yaml","binary","external","circular","zschema","$Refs","_$refs","_root$Ref","getPaths","$refs","types","pathType","encoded","decoded","$Ref","exists","withoutHash","stripHash","_add","_get$Ref","getResult","extension","MAX_SAFE_INTEGER","lastError","runNextPlugin","onSuccess","onError","lib$es6$promise$utils$$objectOrFunction","lib$es6$promise$utils$$isFunction","lib$es6$promise$asap$$setScheduler","scheduleFn","lib$es6$promise$asap$$customSchedulerFn","lib$es6$promise$asap$$setAsap","asapFn","lib$es6$promise$asap$$asap","lib$es6$promise$asap$$useNextTick","lib$es6$promise$asap$$flush","lib$es6$promise$asap$$useVertxTimer","lib$es6$promise$asap$$vertxNext","lib$es6$promise$asap$$useMutationObserver","iterations","observer","lib$es6$promise$asap$$BrowserMutationObserver","lib$es6$promise$asap$$useMessageChannel","lib$es6$promise$asap$$useSetTimeout","lib$es6$promise$asap$$len","lib$es6$promise$asap$$queue","lib$es6$promise$asap$$attemptVertx","vertx","runOnLoop","runOnContext","lib$es6$promise$then$$then","onFulfillment","onRejection","_state","lib$es6$promise$$internal$$FULFILLED","lib$es6$promise$$internal$$REJECTED","lib$es6$promise$$internal$$noop","_result","lib$es6$promise$$internal$$invokeCallback","lib$es6$promise$$internal$$subscribe","lib$es6$promise$promise$resolve$$resolve","Constructor","lib$es6$promise$$internal$$resolve","lib$es6$promise$$internal$$selfFulfillment","lib$es6$promise$$internal$$cannotReturnOwn","lib$es6$promise$$internal$$getThen","lib$es6$promise$$internal$$GET_THEN_ERROR","lib$es6$promise$$internal$$tryThen","fulfillmentHandler","rejectionHandler","lib$es6$promise$$internal$$handleForeignThenable","thenable","sealed","lib$es6$promise$$internal$$fulfill","lib$es6$promise$$internal$$reject","_label","lib$es6$promise$$internal$$handleOwnThenable","lib$es6$promise$$internal$$handleMaybeThenable","maybeThenable","lib$es6$promise$then$$default","lib$es6$promise$promise$resolve$$default","lib$es6$promise$$internal$$publishRejection","_onerror","lib$es6$promise$$internal$$publish","lib$es6$promise$$internal$$PENDING","_subscribers","subscribers","settled","detail","lib$es6$promise$$internal$$ErrorObject","lib$es6$promise$$internal$$tryCatch","lib$es6$promise$$internal$$TRY_CATCH_ERROR","succeeded","failed","hasCallback","lib$es6$promise$$internal$$initializePromise","lib$es6$promise$promise$all$$all","lib$es6$promise$enumerator$$default","lib$es6$promise$promise$race$$race","lib$es6$promise$utils$$isArray","lib$es6$promise$promise$reject$$reject","lib$es6$promise$promise$$needsResolver","lib$es6$promise$promise$$needsNew","lib$es6$promise$promise$$Promise","_id","lib$es6$promise$promise$$counter","lib$es6$promise$enumerator$$Enumerator","_instanceConstructor","_input","_remaining","_enumerate","_validationError","lib$es6$promise$polyfill$$polyfill","local","lib$es6$promise$promise$$default","lib$es6$promise$utils$$_isArray","lib$es6$promise$asap$$scheduleFlush","lib$es6$promise$asap$$browserWindow","lib$es6$promise$asap$$browserGlobal","lib$es6$promise$asap$$isNode","lib$es6$promise$asap$$isWorker","Uint8ClampedArray","lib$es6$promise$promise$all$$default","lib$es6$promise$promise$race$$default","lib$es6$promise$promise$reject$$default","_setScheduler","_setAsap","_asap","_eachEntry","_settledAt","_willSettleAt","enumerator","lib$es6$promise$polyfill$$default","lib$es6$promise$umd$$ES6Promise","polyfill","getExtension","parseFile","parser","SyntaxError","resolvers","onParsed","allParsers","filteredParsers","parsers","resolveExternal","crawl","isExternal$Ref","resolve$Ref","keyPath","Pointer","resolvedPath","bundle","inventory","remap","pathFromRoot","is$Ref","inventory$Ref","defs","keyPathFromRoot","$refParent","$refKey","$refPath","depth","getHash","extended","isExtended$Ref","Mark","common","getSnippet","tail","snippet","repeat","compact","where","is_EOL","is_WHITE_SPACE","is_WS_OR_EOL","is_FLOW_INDICATOR","fromHexCode","lc","escapedHexLen","fromDecimalCode","simpleEscapeSequence","charFromCodepoint","State","filename","DEFAULT_FULL_SCHEMA","onWarning","legacy","implicitTypes","compiledImplicit","typeMap","compiledTypeMap","lineStart","lineIndent","documents","generateError","YAMLException","throwError","throwWarning","captureSegment","checkJson","_position","_length","_character","PATTERN_NON_PRINTABLE","mergeMappings","destination","overridableKeys","sourceKeys","quantity","_hasOwnProperty","storeMappingPair","keyTag","keyNode","valueNode","readLineBreak","ch","skipSeparationSpace","allowComments","checkIndent","lineBreaks","testDocumentSeparator","writeFoldedLines","readPlainScalar","nodeIndent","withinFlowCollection","preceding","following","captureStart","captureEnd","hasPendingContent","_line","_lineStart","_lineIndent","_kind","kind","readSingleQuotedScalar","readDoubleQuotedScalar","hexLength","hexResult","tmp","simpleEscapeCheck","simpleEscapeMap","readFlowCollection","isPair","isExplicitPair","isMapping","readNext","_tag","_anchor","anchor","anchorMap","composeNode","CONTEXT_FLOW_IN","readBlockScalar","folding","chomping","CHOMPING_CLIP","didReadContent","detectedIndent","textIndent","emptyLines","atMoreIndented","CHOMPING_KEEP","CHOMPING_STRIP","readBlockSequence","detected","CONTEXT_BLOCK_IN","readBlockMapping","flowIndent","allowCompact","atExplicitKey","CONTEXT_FLOW_OUT","CONTEXT_BLOCK_OUT","readTagProperty","tagHandle","isVerbatim","isNamed","PATTERN_TAG_HANDLE","PATTERN_FLOW_INDICATORS","PATTERN_TAG_URI","tagMap","readAnchorProperty","readAlias","alias","parentIndent","nodeContext","allowToSeek","allowBlockStyles","allowBlockScalars","allowBlockCollections","typeIndex","typeQuantity","blockIndent","indentStatus","atNewLine","hasContent","construct","readDocument","directiveArgs","documentStart","hasDirectives","checkLineBreaks","directiveHandlers","PATTERN_NON_ASCII_LINE_BREAKS","loadDocuments","loadAll","safeLoadAll","DEFAULT_SAFE_SCHEMA","safeLoad","major","minor","TAG","compileStyleMap","styleAliases","encodeHex","skipInvalid","flowLevel","isNothing","styleMap","sortKeys","lineWidth","noRefs","noCompatMode","explicitTypes","compiledExplicit","duplicates","usedDuplicates","indentString","spaces","ind","generateNextLine","testImplicitResolving","CHAR_SPACE","CHAR_TAB","isPrintable","isPlainSafe","CHAR_COMMA","CHAR_LEFT_SQUARE_BRACKET","CHAR_RIGHT_SQUARE_BRACKET","CHAR_LEFT_CURLY_BRACKET","CHAR_RIGHT_CURLY_BRACKET","CHAR_COLON","CHAR_SHARP","isPlainSafeFirst","CHAR_MINUS","CHAR_QUESTION","CHAR_AMPERSAND","CHAR_ASTERISK","CHAR_EXCLAMATION","CHAR_VERTICAL_LINE","CHAR_GREATER_THAN","CHAR_SINGLE_QUOTE","CHAR_DOUBLE_QUOTE","CHAR_PERCENT","CHAR_COMMERCIAL_AT","CHAR_GRAVE_ACCENT","chooseScalarStyle","singleLineOnly","indentPerLevel","testAmbiguousType","hasLineBreak","hasFoldableLine","shouldTrackWidth","previousLineBreak","plain","STYLE_DOUBLE","CHAR_LINE_FEED","STYLE_FOLDED","STYLE_LITERAL","STYLE_PLAIN","STYLE_SINGLE","writeScalar","iskey","dump","testAmbiguity","DEPRECATED_BOOLEANS_SYNTAX","blockHeader","dropEndingNewline","foldString","escapeString","indentIndicator","clip","keep","chomp","moreIndented","lineRe","nextLF","foldLine","prevMoreIndented","breakRe","curr","escapeSeq","ESCAPE_SEQUENCES","writeFlowSequence","writeNode","writeBlockSequence","writeFlowMapping","objectKey","objectValue","pairBuffer","objectKeyList","writeBlockMapping","explicitPair","detectType","explicit","typeList","instanceOf","represent","defaultStyle","duplicateIndex","objectOrArray","getDuplicateReferences","objects","duplicatesIndexes","inspectNode","safeDump","compileList","exclude","include","includedSchema","currentType","previousType","previousIndex","compileMap","collectType","Schema","definition","implicit","loadKind","DEFAULT","every","resolveYamlNull","constructYamlNull","canonical","uppercase","camelcase","resolveYamlBoolean","constructYamlBoolean","isHexCode","isOctCode","isDecCode","resolveYamlInteger","hasDigits","constructYamlInteger","digits","isInteger","isNegativeZero","octal","subject","sequence","cycle","NEGATIVE_INFINITY","resolveYamlFloat","YAML_FLOAT_PATTERN","constructYamlFloat","POSITIVE_INFINITY","representYamlFloat","SCIENTIFIC_WITHOUT_DOT","resolveYamlTimestamp","YAML_DATE_REGEXP","YAML_TIMESTAMP_REGEXP","constructYamlTimestamp","month","hour","minute","second","tz_hour","tz_minute","fraction","UTC","setTime","representYamlTimestamp","toISOString","resolveYamlMerge","resolveYamlBinary","bitlen","BASE64_MAP","constructYamlBinary","tailbits","bits","NodeBuffer","representYamlBinary","isBinary","_require","resolveYamlOmap","pair","pairKey","pairHasKey","constructYamlOmap","resolveYamlPairs","constructYamlPairs","resolveYamlSet","constructYamlSet","resolveJavascriptUndefined","constructJavascriptUndefined","representJavascriptUndefined","resolveJavascriptRegExp","regexp","constructJavascriptRegExp","representJavascriptRegExp","multiline","ignoreCase","compileStyleAliases","TYPE_CONSTRUCTOR_OPTIONS","YAML_NODE_KINDS","resolveJavascriptFunction","esprima","range","constructJavascriptFunction","representJavascriptFunction","mark","captureStackTrace","loader","dumper","FAILSAFE_SCHEMA","JSON_SCHEMA","CORE_SCHEMA","MINIMAL_SCHEMA","SAFE_SCHEMA","DEFAULT_SCHEMA","scan","compose","addConstructor","reviver","replacer","space","$RefParser","normalizeArgs","Options","maybe","fromFileSystemPath","cwd","me","isAllowed$Ref","resolvedValue","merged","lookup","decode","elt","PLUS","PLUS_URL_SAFE","SLASH","SLASH_URL_SAFE","NUMBER","UPPER","LOWER","b64ToByteArray","b64","L","placeHolders","Arr","uint8ToBase64","uint8","encode","tripletToBase64","temp","extraBytes","toByteArray","fromByteArray","base64js","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","pow","abs","LN2","typedArraySupport","Bar","foo","subarray","kMaxLength","TYPED_ARRAY_SUPPORT","fromNumber","fromString","fromObject","allocate","fromBuffer","fromArray","fromTypedArray","fromArrayBuffer","fromArrayLike","fromJsonObject","_augment","__proto__","_isBuffer","fromPool","poolSize","rootParent","RangeError","SlowBuffer","loweredCase","utf8ToBytes","base64ToBytes","slowToString","hexSlice","utf8Slice","asciiSlice","binarySlice","base64Slice","utf16leSlice","hexWrite","strLen","parsed","utf8Write","blitBuffer","asciiWrite","asciiToBytes","binaryWrite","base64Write","ucs2Write","utf16leToBytes","base64","firstByte","codePoint","bytesPerSequence","secondByte","thirdByte","fourthByte","tempCodePoint","decodeCodePointsArray","codePoints","MAX_ARGUMENTS_LENGTH","toHex","bytes","checkOffset","ext","checkInt","objectWriteUInt16","littleEndian","objectWriteUInt32","checkIEEE754","writeFloat","noAssert","ieee754","writeDouble","base64clean","stringtrim","INVALID_BASE64_RE","units","leadSurrogate","byteArray","hi","lo","dst","INSPECT_MAX_BYTES","inspect","arrayIndexOf","foundIndex","readUInt8","writeUInt8","swap","newBuf","sliceLen","readUIntLE","mul","readUIntBE","readUInt16LE","readUInt16BE","readUInt32LE","readUInt32BE","readIntLE","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","limit","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","_set","fill","BP","toLocaleString","resolveIf$Ref","slashes","tildes","escapedSlash","escapedTilde","decodeURI","ctor","superCtor","super_","TempCtor","seen","stylize","stylizeNoColor","colors","showHidden","_extend","customInspect","stylizeWithColor","formatValue","styleType","arrayToHash","recurseTimes","primitive","formatPrimitive","visibleKeys","getOwnPropertyNames","formatError","braces","toUTCString","formatArray","formatProperty","reduceToSingleString","numLinesEst","cur","pad","time","getHours","getMinutes","getSeconds","months","getMonth","formatRegExp","throwDeprecation","traceDeprecation","noDeprecation","debugEnviron","debugs","NODE_DEBUG","pid","bold","italic","underline","inverse","white","grey","black","blue","cyan","green","magenta","red","yellow","special","origin","Klass","formattedMessage","formatter","newError","extendError","extendToJSON","targetError","sourceError","extendStack","errorToJSON","errorToString","omitVendorSpecificProperties","vendorSpecificErrorProperties","hasLazyStack","extendStackProperty","supportsLazyStack","descriptor","sourceStack","targetStack","eval","EvalError","ReferenceError","URIError","short","long","plural","ceil","selectColor","prevColor","disabled","enabled","prevTime","diff","useColors","color","coerce","formatters","formatArgs","logFn","namespaces","save","skips","names","disable","humanize","firebug","exception","table","lastC","storage","removeItem","localstorage","chrome","mapDomain","regexSeparators","ucs2encode","stringFromCharCode","basicToDigit","digitToBasic","flag","adapt","numPoints","firstTime","damp","baseMinusTMin","tMax","skew","basic","oldi","w","baseMinusT","inputLength","initialN","bias","initialBias","delimiter","maxInt","tMin","handledCPCount","basicLength","currentValue","handledCPCountPlusOne","qMinusT","toUnicode","regexPunycode","toASCII","regexNonASCII","punycode","not-basic","invalid-input","ucs2","amd","qs","maxKeys","kstr","vstr","stringifyPrimitive","ks","Url","urlParse","parseQueryString","slashesDenoteHost","urlFormat","urlResolve","relative","urlResolveObject","resolveObject","protocolPattern","portPattern","delims","unwise","autoEscape","nonHostChars","hostEndingChars","hostnameMaxLen","hostnamePartPattern","hostnamePartStart","unsafeProtocol","javascript","javascript:","hostlessProtocol","slashedProtocol","ftp","gopher","http:","https:","ftp:","gopher:","file:","querystring","rest","lowerProto","hostEnd","hec","atSign","parseHost","ipv6Hostname","hostparts","newpart","validParts","notHost","bit","domainArray","newOut","ae","esc","qm","relPath","isSourceAbs","isRelAbs","mustEndAbs","removeAllDots","srcPath","psychotic","authInHost","hasTrailingSlash","isWindows","platform","forwardSlashPattern","urlEncodePatterns","urlDecodePatterns","getProtocol","lastDot","hashIndex","keepFileProtocol","isFileUrl","dereferenced","dereference$Ref","foundCircularReference","directCircular","dereferencedValue","SwaggerParser","supportedSwaggerVersions","circular$RefOption","toInteger","defined","TO_STRING","$at","iterated","_t","point","addToUnscopables","toIObject","_k","Arguments","NodeList","HTMLCollection","setToStringTag","IteratorPrototype","NAME","redefine","hide","$iterCreate","getProto","BUGGY","FF_ITERATOR","KEYS","VALUES","returnThis","Base","IS_SET","FORCED","getMethod","DEF_VALUES","VALUES_BUG","$native","$default","core","DESCRIPTORS","KEY","redefineAll","$iterDefine","ID","$has","setSpecies","isExtensible","SIZE","fastKey","_f","IS_MAP","ADDER","_l","callbackfn","setStrong","bitmap","createDesc","stat","fails","IS_WEAK","_c","IS_ADDER","ArrayProto","getIteratorMethod","SHARED","store","px","random","uid","cof","ARG","T","callee","_instance","_schema","_Promise","endsWith","methodPtr","resolveRefs","injectPointers","dirName","pathParamsPtr","methodParamsPtr","methodParams","_step","_iterator","_iteratorNormalCompletion","x-traitTag","tag2MethodMapping","_Map","definedTags","_step2","_iterator2","_iteratorNormalCompletion2","_step3","_iterator3","_iteratorNormalCompletion3","_step4","_iterator4","_iteratorNormalCompletion4","methodPointer","compile","methodSummary","_step5","_iterator5","_iteratorNormalCompletion5","tagDetails","defPointer","globalDefs","_step6","_iterator6","_iteratorNormalCompletion6","defName","subTypes","findIndex","subType","$keys","_self","WorkerGlobalScope","Prism","languages","redef","inside","before","insert","grammar","newToken","DFS","highlightAll","async","highlightElement","language","hooks","Worker","worker","highlightedCode","immediateClose","highlight","strarr","tokenloop","patterns","lookbehind","lookbehindLength","after","aliases","markup","prolog","doctype","cdata","punctuation","attr-value","attr-name","mathml","atrule","important","style-attr","clike","class-name","keyword","template-string","interpolation-punctuation","js","fileHighlight","Extensions","py","ps1","psm1","actionscript","macro","constant","cpp","csharp","preprocessor","php","shell-comment","package","tokenStack","backupCode","coffeescript","class-member","multiline-comment","block-regex","inline-javascript","multiline-string","go","haskell","import_statement","hvariable","java","lua","matlab","perl","filehandle","vstring","python","triple-quoted-string","percent-operator","ellipsis","ruby","insideString","bash","shebang","swift","objectivec","scala","marked","rules","normal","gfm","tables","InlineLexer","inline","breaks","pedantic","opt","noop","pending","lex","escaped","silent","newline","fences","heading","nptable","lheading","blockquote","paragraph","bullet","lexer","bq","loose","align","cells","ordered","smartLists","sanitize","sanitizer","autolink","reflink","nolink","em","del","_inside","_href","mangle","inLink","outputLink","codespan","smartypants","langPrefix","raw","headerPrefix","xhtml","listitem","tablerow","tablecell","flags","prot","reverse","tok","parseText","row","cell","setOptions","inlineLexer","InvalidPipeArgumentException","KeysPipe","ValuesPipe","JsonPointerEscapePipe","MarkedPipe","langMap","_BaseException","c++","c#","objective-c","shell","viml","safeConcat","snapshot","commonInputs","JsonPipe","AsyncPipe","componentDecorator","prepareModel","dereferencedCache","resolvedRef","into","subSchema","omitParent","errMessage","_into$required","_toConsumableArray","traverse","invalid_pipe_argument_exception_1","ObservableStrategy","createSubscription","updateLatestValue","onDestroy","PromiseStrategy","_promiseStrategy","_observableStrategy","_ref","_latestValue","_latestReturnedValue","_subscription","_obj","_strategy","_dispose","_subscribe","WrappedValue","_selectStrategy","_updateLatestValue","isPromise","isObservable","UpperCasePipe","LowerCasePipe","SlicePipe","intl_1","defaultLocale","DatePipe","fromMillis","_ALIASES","DateFormatter","medium","fullDate","longDate","mediumDate","shortDate","mediumTime","shortTime","digitCondition","nameCondition","extractComponents","era","weekday","hour12","timeZoneName","NumberFormatStyle","NumberFormatter","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","currency","currencyAsSymbol","intlOptions","Currency","currencyDisplay","Intl","NumberFormat","dateFormatterCache","DateTimeFormat","_re","NumberPipe","_format","minInt","minFraction","maxFraction","DecimalPipe","Decimal","PercentPipe","Percent","CurrencyPipe","currencyCode","symbolDisplay","ReplacePipe","replacement","_supportedInput","_supportedPattern","_supportedReplacement","rgxPattern","interpolationExp","I18nPluralPipe","pluralMap","valueStr","isStringMap","I18nSelectPipe","async_pipe_1","uppercase_pipe_1","lowercase_pipe_1","json_pipe_1","slice_pipe_1","date_pipe_1","number_pipe_1","replace_pipe_1","i18n_plural_pipe_1","i18n_select_pipe_1","common_pipes_1","control_container_1","ng_control_1","control_value_accessor_1","shared_1","validators_1","controlNameBinding","NgControl","forwardRef","NgControlName","_validators","_asyncValidators","valueAccessors","update","_added","valueAccessor","selectValueAccessor","formDirective","addControl","isPropertyUpdated","viewModel","model","updateModel","removeControl","viewToModelUpdate","callEmit","controlPath","composeValidators","composeAsyncValidators","getControl","Host","SkipSelf","Self","NG_VALIDATORS","NG_ASYNC_VALIDATORS","NG_VALUE_ACCESSOR","ControlContainer","formControlBinding","NgFormControl","_isControlChanged","setUpControl","form","updateValueAndValidity","emitEvent","updateValue","model_1","NgModel","_control","Control","controlGroupProvider","NgControlGroup","addControlGroup","removeControlGroup","getControlGroup","formDirectiveProvider","NgFormModel","ngSubmit","_checkFormPresent","Validators","asyncValidator","composeAsync","onlySelf","_updateDomValue","ctrl","setUpControlGroup","onSubmit","writeValue","(submit)","abstract_control_directive_1","AbstractControlDirective","normalizeValidator","normalizeAsyncValidator","_throwError","registerOnChange","emitModelToViewChange","markAsDirty","registerOnTouched","markAsTouched","validators","normalize_validator_1","isFirstChange","looseIdentical","defaultAccessor","builtinAccessor","customAccessor","hasConstructor","default_value_accessor_1","DefaultValueAccessor","checkbox_value_accessor_1","CheckboxControlValueAccessor","number_value_accessor_1","NumberValueAccessor","select_control_value_accessor_1","SelectControlValueAccessor","radio_control_value_accessor_1","RadioControlValueAccessor","NgForm","asyncValidators","ControlGroup","controls","scheduleMicrotask","container","_findContainer","DEFAULT_VALUE_ACCESSOR","_renderer","_elementRef","onChange","onTouched","normalizedValue","(input)","(blur)","CHECKBOX_VALUE_ACCESSOR","(change)","NUMBER_VALUE_ACCESSOR","NgControlStatus","cd","_cd","untouched","touched","pristine","dirty","[class.ng-untouched]","[class.ng-touched]","[class.ng-pristine]","[class.ng-dirty]","[class.ng-valid]","[class.ng-invalid]","_buildValueString","_extractId","valueString","SELECT_VALUE_ACCESSOR","_optionMap","_idCounter","_getOptionId","_getOptionValue","_registerOption","MapWrapper","NgSelectOption","_element","_select","_setElementValue","Input","ng_control_name_1","ng_form_control_1","ng_model_1","ng_control_group_1","ng_form_model_1","ng_form_1","ng_control_status_1","ng_control_name_2","ng_form_control_2","ng_model_2","ng_control_group_2","ng_form_model_2","ng_form_2","default_value_accessor_2","checkbox_value_accessor_2","radio_control_value_accessor_2","RadioButtonState","number_value_accessor_2","ng_control_status_2","select_control_value_accessor_2","validators_2","RequiredValidator","MinLengthValidator","MaxLengthValidator","PatternValidator","FORM_DIRECTIVES","_convertToPromise","toPromise","_executeValidators","_executeAsyncValidators","_mergeErrors","arrayOfErrors","minlength","requiredLength","actualLength","maxlength","requiredPattern","actualValue","nullValidator","presentValidators","REQUIRED","REQUIRED_VALIDATOR","MIN_LENGTH_VALIDATOR","_validator","MAX_LENGTH_VALIDATOR","PATTERN_VALIDATOR","isControl","AbstractControl","_find","ControlArray","at","toObservable","fromPromise","VALID","INVALID","PENDING","_pristine","_touched","_value","_status","_errors","_valueChanges","_statusChanges","markAsPending","setParent","_updateValue","_runValidator","_calculateStatus","_runAsyncValidator","_cancelExistingSubscription","obs","_asyncValidationSubscription","setErrors","_updateControlsErrors","getError","_initObservables","_anyControlsHaveStatus","_onChange","optionals","_optionals","_setParentForControls","controlName","_included","_reduceValue","_reduceChildren","acc","initValue","removeAt","modelModule","FormBuilder","controlsConfig","_reduceControls","_createControl","controlConfig","RADIO_VALUE_ACCESSOR","RadioControlRegistry","_accessors","accessor","indexToRemove","select","fireUncheck","_registry","_injector","_fn","form_builder_1","form_builder_2","FORM_BINDINGS","__require","__exports","__module","_retrieveGlobal","prepareGlobal","NgClass","_iterableDiffers","_keyValueDiffers","_ngEl","_initialClasses","_applyInitialClasses","_applyClasses","_rawClass","_cleanupClasses","_iterableDiffer","_keyValueDiffer","isListLikeIterable","_applyIterableChanges","_applyKeyValueChanges","rawClassVal","forEachAddedItem","_toggleClass","forEachChangedItem","forEachRemovedItem","previousValue","isCleanup","expVal","IterableDiffers","KeyValueDiffers","NgFor","_viewContainer","_templateRef","_cdr","_ngForOf","_differ","_ngForTrackBy","getTypeNameForDebugging","_applyChanges","recordViewTuples","removedRecord","RecordViewTuple","forEachMovedItem","movedRecord","insertTuples","_bulkRemove","addedRecord","_bulkInsert","_perViewChange","ilen","forEachIdentityChange","currentIndex","tuples","movedTuples","tuple","detach","createEmbeddedView","NgIf","_prevCondition","newCondition","NgTemplateOutlet","_viewContainerRef","templateRef","_insertedViewRef","NgStyle","_differs","_rawStyle","_setStyle","DependencyMetadata","_selector","ViewQueryMetadata","_inputs","_properties","_outputs","_providers","_bindings","InjectableMetadata","viewBindings","_viewProviders","_viewBindings","_pure","directives_2","makeDecorator","View","makeParamDecorator","Query","ContentChildren","makePropDecorator","ContentChild","ViewChild","ViewQuery","Output","HostBinding","HostListener","WrappedException","exception_handler_1","NgZoneError","_dirty","_results","_emitter","getSymbolIterator","reset","notifyOnChanges","setDirty","_appElement","_viewFactory","change_detector_ref_1","ViewRef","EmbeddedViewRef","variableName","checkNoChanges","reattach","query_list_1","dynamic_component_loader_1","ComponentRef","asNativeElements","debugEls","_queryElementChildren","_queryNodeChildren","nativeNode","_nativeNodeToDebugNode","getAllDebugNodes","_debugInfo","inject","childIndex","newChildren","siblingIndex","previousChildren","nextChildren","queryAll","queryAllNodes","triggerEventHandler","CollectionChangeRecord","KeyValueChangeRecord","PLATFORM_CORE_PROVIDERS","Reflector","TestabilityRegistry","stackTrace","NgZoneImpl","onEnter","onLeave","setMicrotask","setMacrotask","Zone","fork","isAngularZone","onInvokeTask","delegate","applyThis","applyArgs","invokeTask","onInvoke","onHasTask","hasTaskState","hasTask","microTask","macroTask","onHandleError","handleError","isInAngularZone","runInner","runInnerGuarded","runOuter","ng_zone_impl_1","ng_zone_impl_2","enableLongStackTrace","_hasPendingMicrotasks","_hasPendingMacrotasks","_isStable","_nesting","_onUnstable","_onMicrotaskEmpty","_onStable","_onErrorEvents","_zoneImpl","_checkStable","hasMicrotasks","hasMacrotasks","assertInAngularZone","assertNotInAngularZone","_testabilityGetter","_ngZone","_pendingCount","_isZoneStable","_didWork","_callbacks","_watchAngularEvents","onUnstable","onStable","scheduleMicroTask","_runCallbacksIfReady","increasePendingRequestCount","decreasePendingRequestCount","hasPendingMacrotasks","getPendingRequestCount","_applications","registerApplication","_NoopGetTestability","_warnImpl","createNgZone","_inPlatformCreate","_platform","disposed","lockMode","PlatformRef","requiredToken","disposePlatform","coreBootstrap","componentFactory","componentResolver","waitForAsyncInitializers","PlatformRef_","_disposeListeners","_disposed","inits","registerDisposeListener","addApplication","app","_applicationDisposed","ApplicationRef_","_bootstrapListeners","_rootComponents","_rootComponentTypes","_changeDetectorRefs","_runningTick","_enforceNoNewChanges","_asyncInitDonePromise","asyncInitDonePromise","APP_INITIALIZER","asyncInitResults","initResult","_asyncInitDone","onMicrotaskEmpty","registerBootstrapListener","registerChangeDetector","unregisterChangeDetector","_unloadComponent","_loadComponent","componentRef","_tickScope","detector","APPLICATION_CORE_PROVIDERS","PromiseCompleter","rej","catchError","success","rejection","computation","Subscription_1","SubjectSubscription","isUnsubscribed","unsubscribe","observers","subscriberIndex","Subscription","ObjectUnsubscribedError","Observable_1","Subscriber_1","SubjectSubscription_1","rxSubscriber_1","throwError_1","ObjectUnsubscribedError_1","Subject","isStopped","hasErrored","dispatching","hasCompleted","lift","subscriber","errorValue","complete","throwIfUnsubscribed","_unsubscribe","_next","_error","_complete","asObservable","observable","SubjectObservable","_finalNext","_finalError","_finalComplete","$$rxSubscriber","Subscriber","Observable","dispatchNext","dispatchError","root_1","PromiseObservable","scheduler","_isScalar","schedule","PromiseCtor","Rx","tryCatcher","tryCatchTarget","errorObject_1","errorObject","tryCatch","UnsubscriptionError","cleanUpNextTick","draining","currentQueue","queueIndex","drainQueue","clearTimeout","Item","fun","argv","versions","chdir","umask","isArray_1","isObject_1","isFunction_1","tryCatch_1","UnsubscriptionError_1","hasErrors","_subscriptions","trial","teardown","EMPTY","subscriptionIndex","Observer_1","destinationOrNext","syncErrorValue","syncErrorThrown","syncErrorThrowable","SafeSubscriber","observerOrNext","_context","__tryOrSetError","__tryOrUnsub","toSubscriber","nextOrObserver","toSubscriber_1","$$observable","sink","Subject_1","PromiseObservable_1","toPromise_1","Subject_2","TimerWrapper","millis","setInterval","clearInterval","onNext","hasSubscribers","callNext","callError","callComplete","isAsync","_isAsync","generatorOrNext","schedulerFn","errorFn","completeFn","detectWTF","wtf","createScope","signature","leave","leaveScope","startTimeRange","rangeType","action","beginTimeRange","endTimeRange","noopScope","arg0","arg1","impl","wtfEnabled","wtfStartTimeRange","wtfEndTimeRange","ViewContainerRef_","_createComponentInContainerScope","_insertScope","_removeScope","_detachScope","views","createComponent","contextInjector","viewRef_","attachView","internalView","parentIndex","componentConstructorViewQueries","nestedViewClass","refRenderNode","prevView","lastRootNode","oldValue","currValue","originalException","originalStack","factories","copied","OptionalMetadata","DefaultIterableDifferFactory","cdRef","trackByFn","DefaultIterableDiffer","trackByIdentity","_trackByFn","_collection","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","forEachItem","forEachPreviousItem","_nextPrevious","_nextAdded","_nextMoved","_nextRemoved","_nextIdentityChange","collection","_reset","itemTrackBy","mayBeDirty","trackById","_verifyReinsertion","_addIdentityChange","_mismatch","iterateListLike","_truncate","isDirty","nextRecord","previousRecord","_prev","_remove","_moveAfter","_reinsertAfter","_addAfter","reinsertRecord","_addToMoves","_addToRemovals","_unlink","prevRecord","_prevRemoved","_insertAfter","_DuplicateMap","toIndex","previous","moves","removals","identityChanges","_prevDup","_nextDup","_DuplicateItemRecordList","_head","_tail","afterIndex","getMapKey","recordList","kv","DefaultKeyValueDifferFactory","isJsObject","DefaultKeyValueDiffer","_records","_mapHead","_previousMapHead","_changesHead","_changesTail","_nextChanged","createFromPairs","records","oldSeqRecord","lastOldSeqRecord","lastNewSeqRecord","seqChanged","_forEach","newSeqRecord","_addToChanges","_removeFromSeq","_addToAdditions","_isInRemovals","_removeFromRemovals","lastRecord","rec","CHANGE_DETECTOR_STATE_VALUES","areIterablesEqual","lang_2","hasWrappedValue","unwrap","iterable_differs_1","default_iterable_differ_1","keyvalue_differs_1","default_keyvalue_differ_1","default_keyvalue_differ_2","default_iterable_differ_2","iterable_differs_2","keyvalue_differs_2","change_detection_util_1","keyValDiff","iterableDiff","defaultIterableDiffers","defaultKeyValueDiffers","RenderDebugInfo","extractAnnotation","applyParams","fnOrArray","annoLength","paramsAnnotations","ii","paramAnnotations","defineMetadata","clsDef","_nextClassId","annotationCls","chainFn","DecoratorFactory","objOrType","annotationInstance","chainAnnotation","TypeDecorator","cls","getOwnMetadata","ParamDecoratorFactory","ParamDecorator","unusedKey","getMetadata","annotationsForParam","decoratorCls","PropDecoratorFactory","decoratorInstance","InjectMetadata","_THROW_IF_NOT_FOUND","_mapProviders","_proto","numberOfProviders","getProviderAtIndex","reflective_key_1","_MAX_CONSTRUCTION_COUNTER","UNDEFINED","ReflectiveProtoInjectorInlineStrategy","protoEI","provider0","provider1","provider2","provider3","provider4","provider5","provider6","provider7","provider8","provider9","keyId0","keyId1","keyId2","keyId3","keyId4","keyId5","keyId6","keyId7","keyId8","keyId9","OutOfBoundsError","createInjectorStrategy","ReflectiveInjectorInlineStrategy","ReflectiveProtoInjectorDynamicStrategy","protoInj","keyIds","ei","ReflectiveInjectorDynamicStrategy","ReflectiveProtoInjector","fromResolvedProviders","protoStrategy","obj0","obj1","obj2","obj3","obj4","obj5","obj6","obj7","obj8","obj9","resetConstructionCounter","_constructionCounter","instantiateProvider","_new","getObjByKeyId","keyId","inj","getObjAtIndex","getMaxNumberOfObjects","objs","resolveReflectiveProviders","ResolvedReflectiveProviders","ReflectiveInjector_","fromResolvedBindings","debugContext","resolveAndCreateChild","createChildFromResolved","resolveAndInstantiate","instantiateResolved","_debugContext","_getByKey","ReflectiveKey","getAt","_instantiateProvider","CyclicDependencyError","resolvedFactories","_instantiate","ResolvedReflectiveFactory","d10","d11","d12","d13","d14","d15","d16","d17","d18","d19","_getByReflectiveDependency","AbstractProviderError","InstantiationError","addKey","INJECTOR_KEY","_getByKeySelf","_getByKeyDefault","_throwOrNull","NoProviderError","inj_","ProviderBuilder","_multi","Binding","toClass","toValue","toAlias","toFactory","isType","aliasToken","resolveReflectiveFactory","factoryFn","resolvedDeps","forward_ref_1","_dependenciesFor","aliasInstance","ReflectiveDependency","fromKey","_EMPTY_LIST","resolveReflectiveProvider","ResolvedReflectiveProvider_","normalized","mergeResolvedReflectiveProviders","normalizedProvidersMap","MixingMultiProvidersWithRegularProvidersError","InvalidProviderError","_extractToken","depProps","_createDependency","paramMetadata","forwardRefFn","__forward_ref__","_globalKeyRegistry","numberOfKeys","KeyRegistry","_allKeys","newKey","findFirstClosedCycle","constructResolvingPath","tokenStrs","constructResolvingMessage","injectors","_genMessage","_desc","reflective_injector_1","opaque_token_1","_appIdRandomProviderFactory","_randomChar","APP_ID","APP_ID_RANDOM_PROVIDER","_flattenNestedViewRenderNodes","renderNodes","expectedSlotCount","EMPTY_ARR","givenSlotCount","valueCount","c0","a1","c1","a2","c2","a3","c3","a4","c4","a5","c5","a6","c6","a7","c7","a8","c8","a9","c9","_toStringWithNull","exceptions_2","arrayLooseIdentical","mapLooseIdentical","m1","m2","k1","k2","v0","p0","v1","p1","v2","p2","v3","p3","v4","p4","v5","p5","v6","p6","v7","p7","v8","p8","v9","p9","_appId","_nextCompTypeId","createRenderComponentType","renderComponentType","ComponentRef_","_hostElement","_componentType","vu","_isComponentFactory","ReflectorComponentResolver","metadatas","DynamicComponentLoader_","_compiler","loadAsRoot","overrideSelectorOrNode","onDispose","_mergeMaps","ReflectionInfo","interfaces","_injectableInfo","_getters","_setters","_methods","_usedKeys","isReflectionEnabled","trackUsage","listUnusedKeys","allTypes","registerFunction","funcInfo","registerType","typeInfo","registerGetters","registerSetters","setters","registerMethods","_containsReflectionInfo","_getReflectionInfo","BaseWrappedException","base_wrapped_exception_1","_ArrayLogger","_logger","_rethrowException","exceptionToString","_findOriginalException","_findOriginalStack","_findContext","_extractMessage","_longStackTrace","wrapperMessage","makeTypeError","exception_handler_2","_wrapperMessage","_originalException","_originalStack","_wrapperStack","reflect","_reflect","a10","a11","a12","a13","a14","a15","a16","a17","a18","a19","a20","_zipTypesAndAnnotations","paramTypes","functionBody","reflector_1","reflector_2","_devMode","_global","valueOf","overriddenName","newLineIndex","deserializeEnum","enumValue","_symbolIterator","globalScope","declarations","fnBody","fnArgNames","fnArgValues","argName","bitWiseOr","bitWiseAnd","assert","s2","charVal","NumberParseError","fractionDigits","equal","regExpStr","posArgs","seconds","milliseconds","fromISOString","_flattenArray","comparator","iterator1","iterator2","item1","item2","createMapFromPairs","pairs","createMapFromMap","_clearValues","keyIterator","_arrayFromMap","getValues","createFromStringMap","stringMap","toStringMap","clearValues","startIndex","removeAll","compareFn","solution","candidate","candidateValue","createSetFromList","lst","_WHEN_DEFAULT","SwitchView","NgSwitch","_useDefault","_valueViews","_activeViews","_emptyAllActiveViews","_activateViews","_switchValue","_onWhenValueChanged","oldWhen","newWhen","_deregisterView","_registerView","activeContainers","NgSwitchWhen","viewContainer","ngSwitch","_switch","NgSwitchDefault","sswitch","ng_switch_1","_CATEGORY_DEFAULT","NgLocalization","NgPluralCase","NgPlural","_localization","_caseViews","_updateView","pluralCase","_formatValue","_clearViews","_getCategoryView","_activateView","_activeView","category","getPluralCategory","categoryView","_isValueView","_stripValue","ng_class_1","ng_for_1","ng_if_1","ng_template_outlet_1","ng_style_1","ng_plural_1","core_directives_1","forms_1","jQuery","require","Dropkick","_docListener","isMobile","isIframe","isIE","appVersion","sel","dk","getElementById","settings","initialize","bubble","classname","toggleClass","box","docElem","offsetLeft","scrollLeft","pageXOffset","clientTop","clientLeft","closest","ancestor","deferred","data-value","role","aria-selected","cacheID","lastChild","selected","dkOption","selectedIndex","multiple","selectedOptions","_changeListener","mobile","onDocClick","isOpen","dropHeight","above","below","direction","dkTop","dkBottom","dkOptsList","display","_scrollTo","disabledClass","combobox","CustomEvent","bubbles","selectOne","tIndex","sIndex","cScore","tScore","focus","defaultSelected","refresh","handleEvent","_keyHandler","_searchOptions","_highlight","selection","firstIndex","getSelection","collapseToStart","lastSelected","down","keyCode","keyChar","which","waitToReset","searchTimeout","searchString","optPos","optTop","optBottom","dkOpts","idpre","selOpt","optList","addOption","optgroupList","label","aria-live","aria-owns","tId","dropkick","DropDown","inst","DropKick","firstElementChild","autoWidth","IObject","$getOwnPropertyDescriptor","getDesc","_Object$getOwnPropertyDescriptor","_x","_x2","_x3","_again","setPrototypeOf","buggy","_Object$create","_Object$setPrototypeOf","subClass","_Object$defineProperty","defineProperties","protoProps","staticProps","__g","PROTOTYPE","own","IS_FORCED","IS_GLOBAL","IS_STATIC","IS_PROTO","IS_BIND","IS_WRAP","$Object","isEnum","propertyIsEnumerable","setDescs","getKeys","getNames","getSymbols","getOwnPropertySymbols","assign","__e","hasOwn","nextTok","finalToken","dict","descend","walk","_JsonPointerLib","JsonPointerLib","_origParse","baseTokens","resTokens","runInjectors","injectTo","propertySchema","propertyPointer","injName","_JsonSchema","subClassIdx","derived","derivedEmtpy","_isArray","unwrapArray","joinAllOf","isTrivial","prepareObjectPropertiesData","initDerived","enumArr","enumOrder","enumItem","selectDerived","requiredMap","discriminatorFieldIdx","childFor","isDiscriminator","propsSchema","prepareAdditionalProperties","_additional","discrProp","_name","general","_displayType","_displayFormat","findDerivedDefinitions","noType","_displayTypeHint","simpleType","_range","REDOC_COMPONENTS","autoInit"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACVA;ACAA;;;;;;;;;;;;;gFAagF;AAChF,IAAU,OAAO,CAm/ChB;AAn/CD,WAAU,OAAO,EAAC,CAAC;IACfA,YAAYA,CAACA;IAyDbA,wDAAwDA;IACxDA,IAAMA,iBAAiBA,GAAGA,MAAMA,CAACA,cAAcA,CAACA,QAAQA,CAACA,CAACA;IAC1DA,IAAMA,IAAIA,GAAeA,OAAOA,GAAGA,KAAKA,UAAUA,GAAGA,GAAGA,GAAGA,iBAAiBA,EAAEA,CAACA;IAC/EA,IAAMA,IAAIA,GAAeA,OAAOA,GAAGA,KAAKA,UAAUA,GAAGA,GAAGA,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IAAA,IACAC,IAAA,IACAC,IAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,KAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,GAAA,IACAC,GAAA,IACAC,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACAxjG,KAAA,IACAyjG,MAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,GAAA,IACAC,OAAA,IACAC,OAAA,IACAC,IAAA,IACAC,IAAA,IACAC,OAAA,IACAC,MAAA,IACAC,GAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACA9X,MAAA,IACA+X,GAAA,IACAC,GAAA,IACAC,MAAA,IACAC,KAAA,IACAC,MAAA,IACAC,GAAA,IACAC,GAAA,IACAxnD,IAAA,IACAynD,MAAA,IACAC,KAAA,IACAC,OAAA,IACAC,OAAA,IACAC,GAAA,IACAC,GAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,QAAA,IACAC,QAAA,IACAC,MAAA,IACApkD,GAAA,IACAqkD,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,KAAA,IACAC,IA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ACI;AAAe;AAEf;AADG;IAGf;AACA;AAIA;EACJ;AACA;AAlHA;AACI;AAAa;AAkH46T;ACnH77T;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AAIA;AACI;AACA;AACI;AACA;AACA;AACA;AACA;AACI;AACA;AACI;QACJ;AAEI;AACA;AACI;AACI;AACA;YACJ;AAAA;AACJ;AACJ;AAEI;AACA;AACA;AACA;AAA0B;AAE9B;AACI;AACI;UACJ;AAAA;MAER;AAEI;AACA;MACJ;AAAA;AACJ;AAC0D;IAA2B;AACrF;AAAyE;IAAiC;AAC1G;AACI;IACJ;AACA;AAAqE;IAAa;AAClF;AACI;IACJ;AACA;AACI;IACJ;AACA;AAAoE;IAAyE;AAC7I;AACI;IACJ;AACA;EACJ;AACA;AAvEA;AACI;AAAa;AAuEg8M;ACxEj9M;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AAAqB;AAEzB;AAEA;AAGI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAU;AAKd;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAgB;AAMpB;AACI;AACA;AACI;IACJ;AAAA;AAC8D;IAA0C;AACxG;AAA8C;IAA0D;AACxG;AAAqE;IAAwB;AAC7F;AAAuE;IAAkB;AACzF;AAAgE;IAAiB;AACjF;AACI;IACJ;AAEA;AACI;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AAAqD;IAA2B;AAChF;AACI;AACI;AACA;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACI;MACJ;AAAA;AAEJ;AACI;AAAmB;MAAuB;AAC1C;AACA;AAAiB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;AAEJ;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACI;AACI;QACJ;AAAA;AAGA;AACI;QACJ;AAAA;AACJ;AACJ;AACJ;AAEI;AACI;IACJ;AAAA;AACJ;AAEI;AACI;AACA;AAEI;MACJ;AAAA;EAER;AAAA;AAEA;AACA;AACA;AACA;AACI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;AACI;AACA;AACI;MACJ;AAEI;AACA;MACJ;AAAA;AACJ;EAEJ;AAAA;AAEA;AACI;AACI;IACJ;AAAA;AAEA;EACJ;AAAA;AAlUI;AAAa;AAmU418B;ACpU728B;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACI;AACI;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACI;IACJ;AAAA;AAEI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;IACJ;AACA;AAAqE;IAAmD;AACxH;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACI;AACA;AAAgC;QAA0D;MAC9F;AAAA;IAEJ;AACA;AACI;AACA;AACI;AACA;AACI;AACA;AAA4C;UAAqE;AACjH;QACJ;AAAA;AACJ;IAEJ;AACA;AACI;AACI;AACA;AACI;QACJ;AAAA;AAEJ;IACJ;AACA;AACI;AAAuC;MAAwE;AAC/G;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AACI;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AAAmE;IAA0C;AAC7G;EACJ;AACA;AArHA;AACI;AAAa;AAqHwwb;ACtHzxb;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsC;AAAyC;AAA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AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACI;AAAgC;IAAoC;EACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;AACA;AAA+B;MAA0B;AACzD;IACJ;AAAA;AAEI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AAA+C;IAAmB;AAElE;AACI;AACA;AACI;AACA;AACI;QACJ;AAAA;AACJ;IAEJ;AACA;AAKA;EACJ;AACA;AACA;AACI;AACA;AAE+D;IAAc;AAC7E;AACI;IACJ;AACA;AACI;IACJ;AACA;EACJ;AACA;AArEA;AACI;AAAa;AAqEwuK;ACtEzvK;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;AAAU;AAEd;AACI;AACA;AACI;IACJ;AAAA;AAEI;AACA;IACJ;AACA;EACJ;AACA;AA1DA;AACI;AAAa;AA0DgiG;AC3DjjG;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACI;AAAgC;IAAoC;EACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;AAEI;AACA;AACA;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AAIA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;AACI;AAAY;AAEZ;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACA;AACA;AAEI;AACA;AAAqC;AAA8B;UAAmB;QAAI;AAC1F;AACA;AAAqB;QAA6B;MACtD;IACJ;AACA;AAAsE;IAAoD;AAC1H;AAKA;EACJ;AACA;AAhFA;AACI;AAAa;AAgFgvL;ACjFjwL;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AAGqD;AAA0B;AAAU;AAEzF;AAGI;EACJ;AAAA;AAEI;EACJ;AAAA;AAS+C;AAAiC;AAAU;AACtC;AAAsC;AAAU;AACnD;AAA+B;AAAO;AACxC;AAAuB;AAAO;AACd;AAAwC;AAAU;AAClD;AAAwC;AAAU;AAClD;AAAkD;AAAU;AAY3H;AACA;AACI;AACA;AACA;EACJ;AAAA;AA3FA;AACI;AAAa;AA4FoxT;AC7FryT;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AAAuF;AAE3F;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;AAEA;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAQA;MACJ;AACA;IACJ;AACA;AACI;AACA;AACA;IAIJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;IACJ;AACA;EACJ;AACA;AACA;AACI;AAAoD;IAAiE;AACrH;EACJ;AAAA;AAEI;AACI;IACJ;AACA;EACJ;AAAA;AAEI;AACA;AACA;EACJ;AAAA;A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AAEA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACI;AACA;AACA;MACJ;AAAA;AAEA;IACJ;EACJ;AAAA;AAEA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACI;MACJ;AAAA;AAEI;MACJ;AAEI;AACI;AACA;AACA;QACJ;AAAA;MAEJ;AAAA;AAEI;MACJ;AAAA;AACJ;AAEI;AACA;IACJ;AAAA;EAEJ;AAAA;AAlfI;AAAa;AAmf45wC;ACpf76wC;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;AAEI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AAA+D;MAAyD;AACxH;AACA;AACI;AACA;AACA;MACJ;AAAA;AAMA;IACJ;AACA;AACI;IACJ;AACA;AAIA;EACJ;AACA;AACA;AACI;AACA;AACI;IACJ;AAAA;EAEJ;AAAA;AArFI;AAAa;AAsFwvQ;ACvFzwQ;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACI;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAAmB;MAAuB;AAC1C;AACA;AAAiB;AAErB;AACI;AACA;AACI;AACI;QACJ;AAAA;MAEJ;AACA;AACA;AACA;AAGA;AACI;MACJ;IACJ;AACA;AACI;AACI;AACA;AACA;MAGJ;AAEI;MACJ;AAAA;AAEJ;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACI;AACA;MACJ;AAAA;AACJ;AAEI;IACJ;AAAA;EAEJ;AAAA;AAvEI;AAAa;AAwEg1Q;ACzEj2Q;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEA;AACI;AACA;AACI;AACA;AACA;AACA;QACJ;AACA;AACA;AACI;AACI;AAGA;AACA;UACJ;AAAA;MAER;AAAA;AAEA;AACI;MACJ;AACA;AACI;MACJ;AAAA;AACJ;AAEI;AACA;AACA;AACI;AACA;AACI;QACJ;AAAA;MAEJ;AAAA;IAEJ;AACA;AACI;AACI;MACJ;AAAA;AAEA;AACA;AACI;AACA;MACJ;AAAA;AAEI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACA;AACA;AACA;AACI;AACA;AACA;MACJ;AAAA;AAEA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;MACJ;AAAA;AAEA;IACJ;AACA;AACI;AACA;AAAqC;MAAsB;AAC3D;AAAuD;AAA0C;QAA2D;MAAI;IACpK;AACA;EACJ;AACA;AACA;AACI;AACI;IACJ;AAEI;IACJ;AAEI;IACJ;AAAA;AACJ;AA/JI;AAAa;AAgK40oB;ACjK71oB;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACA;AACA;AACI;AACA;AACA;MACJ;AAAA;AAEA;AACA;AACI;AACA;AACI;QACJ;AAEI;AACA;AACA;QACJ;AAAA;AAEJ;AACA;AACI;MACJ;AAAA;AAEJ;AACI;AACA;AACA;AACI;AACA;MACJ;AAAA;AAEI;MACJ;AAAA;IAEJ;AACA;EACJ;AACA;AACA;AACI;AACI;AACI;MACJ;AAEI;MACJ;AAAA;EAER;AAAA;AAEI;AACI;IACJ;AACA;EAIJ;AAAA;AAEI;AACA;AACA;AAGA;EACJ;AAAA;AAEA;AACI;AACI;AACA;AACI;AACA;MACJ;AAAA;IAEJ;EACJ;AAAA;AArGA;AACI;AAAa;AAsG4kY;ACvG7lY;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAC6C;IAAwC;AACrF;AAAoD;IAAsC;AAC1F;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAoC;MAAoD;AACxF;AACA;AACA;AACA;AACA;AACA;AACI;MACJ;AAAA;AACJ;AAEI;IACJ;AACA;AACI;AACA;AACA;AACA;AASA;AACA;AACA;IACJ;AACA;AACI;AACA;AAEA;AACI;MACJ;AAAA;AAEJ;AACI;AACA;AACI;AAEA;AAAgE;AAA6E;AAA8B;AAE3K;MACJ;AAAA;AAEJ;AACI;AACA;AACI;MACJ;AAAA;AAEA;AACI;MACJ;AAGA;AACI;AACI;AACI;UACJ;AAEI;AACA;AAAyC;YAAiE;AAC1G;UACJ;AAEI;AACA;AAAyC;YAAiE;AAC1G;UAEJ;AAEI;AACI;YACJ;AAEI;YACJ;AAEI;YACJ;AAAA;AACJ;AAEJ;AACA;AACA;MACJ;AACA;AACgD;MAA4E;A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;MACJ;AAAA;AAEJ;AACI;AACA;IACJ;AACA;AACI;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AAA+C;IAA6B;AAC5E;AAAgD;IAA0C;AAC1F;EACJ;AACA;AAhEA;AACI;AAAa;AAgEo/M;ACjErgN;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AACA;EACJ;AAAA;AAEA;AACI;AACA;AACA;AACA;EACJ;AAAA;AAEA;AACA;AACI;AACA;EACJ;AACA;AACI;AACI;IACJ;AAAA;AACJ;AAEI;AACI;IACJ;AAAA;AACJ;AAEI;AACI;IACJ;AAEI;IACJ;AAAA;AACJ;AAEI;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACA;AACI;AACI;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADG;AAGX;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;IAEJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AACA;AACI;AACA;MACJ;AAAA;AAEA;IACJ;AACA;AACI;IACJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AACI;IACJ;AACA;AACI;AACA;AACA;AACA;AACI;AACA;AACI;QACJ;AAEI;QACJ;AAAA;AACJ;AAEI;MACJ;AAAA;IAEJ;AACA;AACI;IACJ;AACA;AACI;AACA;AACA;AACI;A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J;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AAAkB;AAEtB;AACI;AACA;AACA;AAAa;EAErB;AAAA;AAEI;AACA;AAEI;IACJ;AACA;AACA;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AAEI;IACJ;AACA;AACA;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AAEI;IACJ;AACA;AACA;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AAEI;IACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AAEA;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AAEA;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AAEA;EACJ;AACA;AACA;AACI;AACA;AAEA;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AAEA;AACA;AACA;AACA;EACJ;AACA;AAlHA;AACI;AAAa;AAkHwpT;ACnHzqT;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACI;IACJ;AAAA;AAEI;IACJ;AAAA;AAEI;IACJ;AAAA;AACJ;AAEA;AACI;AACA;AACA;AACA;AACA;AACI;IACJ;AAAA;AAEI;IACJ;AAAA;AACJ;AAEA;AACI;AACA;AACA;AACA;AACA;AACI;IACJ;AAAA;AAEI;IACJ;AAAA;AACJ;AAEA;AACI;AACA;AACA;AACI;IACJ;AAAA;AACJ;AAEA;AACI;AACA;AACI;IACJ;AAAA;AACJ;AA9DA;AACI;AAAa;AA+Dw0W;AChEz1W;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AAAqC;IAA2F;EACpI;AAAA;AAEA;AACI;AACI;AACA;IACJ;AAAA;AAEI;AACA;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AAAsE;IAAa;AACnF;AACI;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACA;MACJ;AACA;AAGA;AACI;AACA;AACA;AACA;MACJ;AACA;IACJ;AACA;AACI;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;MACJ;AACA;AACA;IACJ;AACA;AAA8D;IAAa;AAC3E;AAAmE;IAAa;AAChF;AACI;IACJ;AACA;AAAmE;IAAa;AAChF;AAAkE;IAAa;AAC/E;AAA+E;IAAa;AAC5F;AAA6E;IAAa;AAC1F;EACJ;AA7EA;AACI;AAAa;AA6E4rX;AC9E7sX;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;IACJ;AAAA;AAEI;AACA;AACA;AACA;AAGA;AACA;AACA;IACJ;AACA;AAIA;EACJ;AACA;AAhDA;AACI;AAAa;AAgD4mH;ACjD7nH;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACI;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AAEI;AACI;QACJ;AAAA;IAER;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAmC;MAAmD;AACtF;AAAkE;MAA+B;AACjG;AAEA;AACA;AACA;AAA0D;MAAuD;AACjH;AACI;MACJ;AACA;AACI;MACJ;AAAA;AAGI;AACA;AACI;QACJ;AAAA;IAER;AAAA;AAEI;AAEA;AACI;MACJ;IACJ;AACA;AACI;AAAmB;MAA4C;AAC/D;AACA;AAAiB;AAErB;AACI;AACI;AAAwF;QAAkC;AAC1H;AAC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A;MACJ;AAEI;MACJ;AAAA;AAEI;MACJ;AAAA;AAEI;AAA+C;QAA6D;MAChH;AAAA;IAEJ;AACA;AAMA;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;MACJ;AACA;AACA;AAAgC;MAA+C;IACnF;AAAA;AAEI;AAAwB;MAA4C;AAAA;IAExE;AACA;AACI;AACA;AACI;AACA;AACA;AAEI;QACJ;AAAA;MAEJ;AAEI;AACA;MACJ;AAAA;AAEJ;AACI;AACA;AACI;AACA;AACA;MACJ;AAEI;AACA;MACJ;AAAA;AAEJ;AACI;AACA;AACI;AACA;AACA;MACJ;AAEI;AACA;MACJ;AAAA;AAEJ;AACI;AACA;AACA;AACI;AACA;AACI;AACI;UACJ;AAAA;AAEJ;AAAqD;QAA+E;AACpI;MACJ;AAEI;AACA;MACJ;AAAA;AAEJ;AACI;AACA;AACI;AACA;AACA;AACI;AACI;UACJ;AAAA;MAER;AAAA;AAEJ;AAA0E;IAAa;AACvF;AAA8E;IAAa;AAC3F;AACI;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;IACJ;AACA;AAAwE;IAAa;AACrF;AACI;AACA;AACA;AACA;AAKI;MACJ;AAAA;AAKI;MACJ;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AAEI;AACA;QACJ;AAAA;AAEI;QACJ;AAAA;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AACI;AACI;QACJ;AAAA;MAEJ;AAEI;AACA;AACA;MACJ;AAEI;AACA;AACA;MACJ;AAAA;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACI;MACJ;AAEI;AACA;MACJ;AAAA;AAEI;AACA;AACI;AACA;AACI;UACJ;AAEI;UACJ;AAEI;AACA;UACJ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QACJ;AAEI;AACA;QACJ;AAAA;AACJ;IAEJ;AACA;AACI;AACA;AACI;AACA;AACI;QACJ;AAAA;AAEJ;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;AAEJ;AACI;AACA;AACA;AACI;MACJ;AAAA;AAEI;MACJ;IACJ;AACA;AACI;AACA;AACA;AACI;AAA6F;QAAmC;MACpI;AACA;AACI;AACI;QACJ;AAAA;IAER;AACA;EACJ;AACA;AACI;AACA;AAEI;AACA;AAMI;MACJ;AAAA;AAC2D;MAAsC;AACjG;AACA;AACA;AACA;IACJ;AACA;AAAsE;IAAa;AACnF;AACI;IACJ;AACA;AACI;AACA;IACJ;AACA;AAAwE;IAAY;AACpF;AAA4E;IAAY;AACxF;EACJ;AACA;AACI;AACI;AACA;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACI;EACJ;AAAA;AAEA;AACI;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACA;AACA;AACI;AACA;AACI;AACA;AACI;UACJ;AAEI;UACJ;AAAA;AACJ;AACJ;IAEJ;AACA;AACI;AACA;AAAkF;MAAuC;AACzH;AACA;AACI;MACJ;AAAA;IAEJ;AACA;EACJ;AACA;AACI;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACI;AACA;AAAuC;QAA4C;MACvF;AAAA;AACJ;EAEJ;AAAA;AAEA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;AACA;AACA;AACA;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AAAyC;MACA;AAEzC;AACI;MACJ;AAAA;AAEJ;EACJ;AAAA;AAxwBI;AAAa;AAywBoglG;AC1wBrhlG;;AAAA;AACI;AAAmB;AACnB;AADJ;AAGA;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AAAY;AAEhB;EACJ;AAAA;AAMA;AACI;AACA;AACI;AACA;AAEI;MACJ;AAAA;AAEA;IACJ;AACA;EACJ;AAAA;AAEA;AAGA;AA1CA;AACI;AAAa;AA0CgsI;AC3CjtI;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACI;AACI;AACA;IACJ;AAAA;AAC4D;IAAyC;AACrG;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;AAC4D;IAAyC;AACrG;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAC+D;IAA4C;AAC3G;EACJ;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;AAC+D;IAA4C;AAC3G;EACJ;AACA;AACA;AACI;AAA0B;IAAgB;AAAA;AAE1C;AACI;AACA;AACI;MACJ;AAAA;AAEJ;EACJ;AAAA;AAnFA;AACI;AAAa;AAoFogO;ACrFrhO;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AAAyC;IAAgC;AAAA;EAG7E;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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AACA;AACA;AACI;AACA;QACJ;AAAA;AAEA;AACA;AACA;AACI;QACJ;AAAA;MAEJ;AAAA;AAEJ;AACI;AACA;AACA;AACA;AACA;AACI;AACA;AACI;QACJ;AAAA;AAEI;QACJ;AAAA;AAEI;QACJ;AAAA;AACJ;IAEJ;AACA;AACI;AACA;AACA;AACA;AACA;AAAkE;MAAgC;AAClG;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AAAqE;MAAgC;AACrG;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACI;MACJ;AAAA;AAEA;AACI;AACA;AACA;MACJ;AAEI;MACJ;AAAA;AAEA;AACA;IACJ;AACA;AACI;AACA;AACA;AACI;AACI;QACJ;AAAA;AAEA;AACA;AACA;AACA;AACI;AACA;AACA;AACI;AACA;UACJ;AAAA;QAEJ;AAAA;MAEJ;AAEI;AAEI;AAEA;AACA;AACA;QACJ;AAAA;MAEJ;AAAA;AAEA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACA;AACI;AACI;AAAY;AAEhB;AACI;AAAY;AAEhB;AACI;AAAY;MAEpB;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACI;AACA;AACA;AACA;AACI;QACJ;AAAA;AAEA;MACJ;AAEI;AACA;AACA;MACJ;AAAA;IAEJ;AACA;AACI;AAEA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACI;AACA;AACA;MACJ;AAEI;MACJ;AAAA;AAEI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AACA;AACA;AACI;AACA;MACJ;AAAA;AAEJ;AACI;AACI;AACA;AACI;QACJ;AAAA;AACJ;AAEA;AACA;AACI;AACA;AACA;AACA;MACJ;AAEI;AACA;MACJ;AAAA;AAEJ;AACI;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACI;AACA;AACI;AACA;QACJ;AAAA;AAEI;QACJ;AAAA;AACJ;IAEJ;AACA;AACI;AACA;AACA;AACA;AACI;AACA;AACA;MACJ;AAAA;IAEJ;AACA;AACI;IACJ;AACA;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;EACJ;AACA;AACI;AACI;AACA;AACI;MACJ;AAAA;AACJ;EAEJ;AAAA;AAEI;EACJ;AAAA;AAhVI;AAAa;AAiV4gmC;AClV7hmC;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAEI;MACJ;AAEI;MACJ;AAEI;AACI;QACJ;AAAA;AACJ;AAEJ;AACA;AACA;AACA;AACI;IACJ;AAEI;IACJ;AAEI;IACJ;AAEI;IACJ;AAAA;EAEJ;AAAA;AAEA;AACI;AACA;AACA;AACA;AACA;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;IACJ;AAAA;EAEJ;AAAA;AAlFI;AAAa;AAmFg5N;ACpFj6N;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;AAEI;AAEI;MACJ;AAAA;AAE0C;A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AACI;QACJ;AAEI;QACJ;AAAA;AACJ;IAEJ;AAEA;AACI;IACJ;AACA;AAIA;EACJ;AACA;AAlHA;AACI;AAAa;AAkHgwT;ACnHjxT;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACI;AACI;AAAY;AAEhB;AACI;AACI;AAAiC;AAEjC;AAAoC;AAEpC;AAA8B;AAE9B;AAAiC;AAEjC;AAA0B;AAE1B;AAAwB;AAExB;AAA0B;AAE1B;AAAuB;AAEvB;AADG;EAGf;AAAA;AA7BA;AACI;AAAa;AA8Bw0F;AC/Bz1F;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACI;AACI;IACJ;AAAA;AAEI;IACJ;AAAA;AAEI;AACI;MACJ;AAAA;AACJ;AACJ;AAjBA;AACI;AAAa;AAkBo0D;ACnBr1D;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACI;AAAgC;IAAoC;EACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AACJ;AAEI;AACA;AAEI;AACA;AACI;AACA;QACJ;AAAA;MAEJ;AAAA;IAEJ;AACA;AACI;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AAA4B;AAEhC;AACA;AACI;UACJ;AAAA;AACJ;AAEA;AACI;QACJ;AAAA;AAEA;AACA;AACI;AACA;QACJ;AAAA;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAkF;UAA8E;AAChK;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AChC;AACA;AAAiB;AAErB;EACJ;AACA;AACA;AACI;AACI;AAAkC;AAA8B;AAAoB;AAAoB;AAA4B;AAA4B;AAAsB;AAAkB;AAA0B;AAAkB;AACpP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuB;IAE/B;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsB;IAE9B;AACA;EACJ;AACA;AACA;AACI;AACI;AAAsB;AAAwB;AAAwB;AAA8B;AAA4B;AAAgB;AAChJ;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AAAuE;IAE/E;AACA;AACI;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA8B;IAEtC;AACA;EACJ;AACA;AACA;AACI;AACI;AAA0B;AAAgB;AAA0B;AAAoB;AAAoB;AAC5G;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AACI;AACA;AACA;AACA;AACA;AAA2E;IAEnF;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AAAkC;IAE1C;AACA;EACJ;AACA;AACA;AACI;AACI;AAAsB;AAA4B;AAClD;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;AACA;AAAiD;IAEzD;AACA;AACI;AACI;AACA;AACA;AAAgD;IAExD;AACA;AACI;AACI;AACI;QACJ;AAEI;QACJ;AAAA;AAEJ;AACA;AAAiB;AAErB;AACI;AACI;AACI;QAIJ;AAEI;QACJ;AAAA;AAEJ;AACA;AAAiB;AAErB;AACI;AACA;AACA;IAEJ;AACA;AACI;AACI;MACJ;AACA;AACA;AAAiB;AAErB;EACJ;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;AAEI;AACA;AACI;MACJ;AAAA;AAEA;AACA;AACI;MACJ;AAAA;AAEA;AACI;MACJ;AAAA;AAEJ;AACI;AACA;AACA;AACA;AACI;MACJ;AAAA;AAEI;MACJ;AAAA;IAEJ;AACA;AAAiD;IAAqB;AACtE;AACI;AAAmB;MAA4B;AAC/C;AACA;AAAiB;AAErB;EACJ;AACA;AAIA;AACI;AACI;AAAkC;AAAsB;AAAgB;AAA0B;AAAoB;AAAoB;AAAkB;AAC5J;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;AACA;AACA;AACA;AACA;AAA2E;IAEnF;AACA;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AAAkC;IAE1C;AACA;EACJ;AACA;AACA;AACI;AACI;AAAkC;AAA0B;AAA8B;AAAkB;AAAgC;AAC5I;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;AACA;AACA;AACA;AAA8D;IAEtE;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AAA4B;IAEpC;AACA;EACJ;AACA;AAIA;AACI;AACI;AAAkC;AAAkC;AAAwB;AAA8B;AAAoB;AAA0B;AACxK;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACI;AAGA;AACA;AACA;AACA;AACA;AAA6C;IAErD;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AAA4C;IAEpD;AACA;EACJ;AACA;AAIA;AACI;AACI;AAAkC;AAAgB;AAA8B;AAAwB;AAAwB;AAAsC;AAAoB;AAAsB;AAAkC;AAAoC;AAAoC;AAAoC;AAA0B;AAAkC;AAAsB;AAA8B;AAC9c;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAAkC;AAAgB;AAA8B;AAAwB;AAAwB;AAAsC;AAAoB;AAAsB;AAAgB;AAAoC;AAA0B;AAAkC;AAAsB;AAA8B;AACpX;AACA;AACA;AACA;AACI;AACI;AACA;AACI;UACJ;AAEI;UACJ;AAEI;UACJ;AAAA;MAER;AAAA;AAEA;AACI;AAGI;AACA;QACJ;MACJ;AAAA;AAEA;AACI;AAGI;AACA;QACJ;MACJ;AAAA;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;IAEzB;AACA;AACI;AAAmB;MAAkB;AACrC;AACA;AAAiB;AAErB;AACI;AACI;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAAkE;QAA4D;AAC9H;AAEA;AACA;AACA;AACA;AAA8E;IAEtF;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAA4D;QAAmC;AAC/F;AACA;AACA;AACA;AACA;AAA4C;IAEpD;AACA;EACJ;AACA;AAIA;AACI;AACA;AACI;AACI;AACA;AACA;AACA;AAAW;AAEf;AAAwC;AAAoB;AAAiB;AAAY;AAAe;AAAqB;AAC7H;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAc;EAEtB;AAAA;AAEA;AACI;AACI;AAAkC;AAAgB;AAAgB;AAAgB;AAClF;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAAmB;MAAkB;AACrC;AACA;AAAiB;AAErB;AACI;AACI;AACA;AACA;AAAiB;IAEzB;AACA;AACI;AACI;AACA;AACA;AACA;AAAgB;IAExB;AACA;EACJ;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AAAyC;AAE7C;AACI;AAA2D;IAA4B;EAC3F;AAAA;AAEI;EACJ;AAAA;AAEI;AACI;AAA8B;AAE9B;AAAU;EAElB;AAAA;AAEI;AACI;AAAwB;AAExB;AAAU;EAElB;AAAA;AAEI;EACJ;AAAA;AAvoBI;AAAa;AAwoBov8D;ACzoBrw8D;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AAEI;AACA;AACA;AAAoB;AAExB;AAAyE;AAAiB;AAAgC;AAAkB;AAC5I;AACI;AACA;AACA;AAAqB;AAEzB;AACI;AACA;AACA;AAAqB;AAEzB;AACI;AACA;AACA;AAA2B;AAE/B;AACI;AACA;AACA;AAA4B;AAEhC;AACI;AACA;AACA;AAA8B;AAElC;AACI;AACA;AACA;AAAoB;AAExB;AACI;AACA;AACA;AAAsB;AAE1B;AACI;AACA;AACA;AAAuB;AAE3B;AAAgF;AAAwB;AAA0B;AAAyB;AAC3J;AACI;AACA;AACA;AAAmB;AAEvB;AACI;AACA;AACA;AAA4B;AAEhC;AACI;AACA;AACA;AAAmB;AAEvB;AACI;AACA;AACA;AAAkC;AAEtC;AACI;AACA;AACA;AAA8B;AAElC;AACI;AACA;AACA;AAAuB;AAE3B;AACI;AACA;AACA;AAAmB;AAEvB;AAA8E;AAAsB;AAA0B;AAAuB;AACrJ;AAA+E;AAAuB;AAA0B;AAAwB;AACxJ;AAAqF;AAA6B;AAA0B;AAA8B;AAC1K;AAA8E;AAAsB;AAAkC;AAAuB;AAC7J;AACI;AACA;AACA;AAAuC;AAE3C;AAA8E;AAAsB;AAA0B;AAAuB;AACrJ;AAA6E;AAAqB;AAAkC;AAAsB;AAC1J;AAA6E;AAAqB;AAAkC;AAAsB;AAC1J;AAEuD;AAAoB;AAAkC;AAA+B;AACrF;AAAoB;AAAkC;AAA+B;AACrF;AAAoB;AAAkC;AAA+B;AACrF;AAAoB;AAAkC;AAA+B;AACrF;AAAoB;AAAkC;AAA+B;AACrF;AAAoB;AAAkC;AAA+B;AACrF;AAAoB;AAAkC;AAA+B;AACrF;AAAoB;AAAkC;AAA+B;AACrF;AAAoB;AAAkC;AAA+B;AACrF;AAAqB;AAAkC;AAAgC;AAE9I;EACJ;AACA;AACA;AACI;EACJ;AAAA;AArKA;AACI;AAAa;AAsK4snB;ACvK7tnB;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACI;AACI;AAA8B;MAAoB;AAAA;AAElD;AACA;AACA;AACI;MACJ;AAAA;IAEJ;AAAA;EAEJ;AACA;AAMA;AACI;AACA;AAEI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AAxEA;AACI;AAAa;AAwEwvH;ACzEzwH;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AACA;AACA;AACA;AACI;AACA;AACA;MACJ;AAAA;AACyC;MAAmD;AAC5F;AAAyC;MAAmD;AAC5F;AACA;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;AAEA;AACA;AACI;AACI;AACA;QACJ;AAAA;AACJ;AAEA;IACJ;AACA;AACI;AACA;AACA;AACI;AACA;MACJ;AAAA;AAEA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACI;AACA;MACJ;AAAA;AAEA;IACJ;AACA;AACI;AACI;MACJ;AAEI;MACJ;AAEI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AACI;AACA;AACA;AACI;AACA;QACJ;AAAA;MAEJ;AAEI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;IACJ;AACA;AACI;AAAwC;MAA8B;IAC1E;AACA;AACI;AACA;AACI;AACI;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADG;AAGX;IACJ;AACA;EACJ;AACA;AArKA;AACI;AAAa;AAqKwnf;ACtKzof;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACI;AAAsF;IAAiC;EAC3H;AAAA;AAEA;AACI;AAAqF;IAA2B;EACpH;AAAA;AAEA;AACI;AACA;AACI;IACJ;AAEI;IACJ;AAAA;AACJ;AAEA;AACI;EACJ;AAAA;AA3BA;AACI;AAAa;AA4Bo2F;AC7Br3F;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;EACJ;AAAA;AAEA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACA;AACI;AACA;AACA;AACA;MACJ;AAAA;AAEA;IACJ;AACA;EACJ;AA9CA;AACI;AAAa;AA8Cw2I;AC/Cz3I;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACI;IACJ;AAEI;IACJ;AAAA;AAEI;AACI;MACJ;AAEI;MACJ;AAEI;MACJ;AAEI;MACJ;AAAA;AAEJ;EACJ;AAAA;AAEA;AACI;AACA;AAEI;AAGA;AACA;AACA;AACA;AACI;MACJ;AACA;AACA;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AACA;IACJ;AACA;AACI;AACI;AACI;QACJ;AAEI;QACJ;AAAA;AAGA;MACJ;AAAA;AAEI;AACA;MACJ;AAAA;AAEA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACI;AACA;MACJ;AAAA;AAEA;AACA;AAAuC;MAA2C;AAClF;AACI;MACJ;AAAA;AACyC;MAA6C;AACtF;AAAyC;MAA6C;AACtF;AACA;AACA;AACA;IACJ;AACA;AACI;AACI;MACJ;AAEI;MACJ;AAAA;AAEI;AACA;MACJ;AAAA;IAEJ;AACA;AACI;AACI;AACA;MACJ;AAAA;AAEA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;MACJ;AAAA;AAEA;AACA;AACA;AACA;IACJ;AACA;AACI;AACI;MACJ;AAEI;MACJ;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACI;MACJ;AAEI;MACJ;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACI;AACI;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADG;AAGX;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AAAK;AAEL;AACA;AACA;AACA;AACA;AACA;AAAK;AAEL;AADG;AAGX;IACJ;AACA;AACI;AACI;MACJ;AAAA;IAEJ;AACA;AACI;AACI;MACJ;AAAA;AAEI;A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AkB;AAAA;AAE9C;IACJ;AAAA;AAC4D;IAA4C;AACxG;EACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACJ;AACA;AACA;AACI;AACI;IACJ;AAAA;AAC8C;IAAqC;AACnF;AACI;AAAuB;MAAa;AAAA;IAExC;AACA;AACI;IACJ;AACA;AAAkD;IAA6C;AAC/F;AACI;AAAuB;MAAa;AAAA;IAExC;AACA;AACI;AAA4B;MAAkB;AAAA;IAElD;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AAEI;IACJ;AACA;AAA8C;IAAiC;AAC/E;AAA4C;IAAsC;AAClF;EACJ;AACA;AACA;AACI;AACA;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AAEpC;AACI;AACA;MACJ;AAEI;AACA;MACJ;AAAA;AACJ;AAEI;IACJ;AACA;AAA+C;IAA2C;AAC1F;EACJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AAEpC;AACA;IACJ;AAAA;AAEI;IACJ;AACA;AACI;AAAuB;MAAa;AAAA;AACR;MAAkB;AAAA;IAElD;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AAEpC;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AAEpC;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;A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AAAA;AAEpC;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AAEpC;AACA;AACA;AACI;MACJ;AAAA;AACJ;AAEA;AACI;IACJ;AACA;EACJ;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACI;AACA;EACJ;AACA;AACA;AACI;AACI;AAA4B;MAAkB;AAAA;AAE9C;AACI;MACJ;AAAA;AACJ;AACwD;IAAgD;AACxG;EACJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AACR;MAAkB;AAAA;AAE9C;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AACR;MAAkB;AAAA;AAE9C;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACI;AAAuB;MAAa;AAAA;AAEpC;AACA;AACI;MACJ;AAAA;AACJ;AACgE;IAAgD;AAChH;EACJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AACR;MAAkB;AAAA;AAE9C;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AACR;MAAkB;AAAA;AAE9C;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AACI;AAAuB;MAAa;AAAA;AACR;MAAkB;AAAA;AAE9C;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AACI;AAA4B;MAAkB;AAAA;AAE9C;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AAA4B;MAAmC;AAAA;AAE/D;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AAC6E;IAAY;AACzF;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AAA6E;IAAY;AACzF;AAA8E;IAAY;AAC1F;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AAEI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;AACA;AAA6D;MAA6D;IAC9H;AACA;AACI;AACA;AAAmC;MAA6C;IACpF;AACA;AACI;IACJ;AACA;AAEI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AAEI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AAA8E;IAAa;AAC3F;AACI;AACA;AAAmC;MAA4C;IACnF;AACA;EACJ;AACA;AACA;AACI;AACA;AACkF;IAAY;AAC9F;AACI;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AAAkF;IAAY;AAC9F;AAAmF;IAAY;AAC/F;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AAAmF;IAAY;AAC/F;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AAAuC;MAAiD;AACxF;IACJ;AACA;AACI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J;AAAA;AAEJ;AACI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AAA+D;IAA2B;AAC1F;AAAyD;IAA4B;AACrF;AACI;AACI;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AACA;AACI;MACJ;AAAA;AAEI;AACI;QACJ;AAEI;QACJ;AAAA;IAGR;AACA;EACJ;AACA;AACA;AACI;AACI;IACJ;AAAA;AAEI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;MACJ;AAEI;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;QACJ;AAAA;AACJ;AAEA;IACJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AAAgC;MAA2B;AAC3D;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;AAEA;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACI;MACJ;AAAA;AAEA;AACA;AACA;AACA;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACI;MACJ;AAAA;AAEA;AACA;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACA;AACI;AACA;AAGI;QACJ;AAAA;AACJ;AAEA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACI;AACI;AACI;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADG;MAGf;AAAA;AAEA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAEI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACI;AACI;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;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AA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACI;IACJ;AAEI;IACJ;AAAA;AAEI;AACI;MACJ;AAEI;MACJ;AAEI;MACJ;AAEI;MACJ;AAAA;AAEJ;EACJ;AAAA;AAEA;AACI;AACA;AAEI;AACA;AACA;AACA;AACA;AAEI;MAEJ;AACA;AACA;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AACA;IACJ;AACA;AACI;AACI;MACJ;AAAA;AAEI;MACJ;AAEI;MACJ;AAAA;AAEA;AACI;AACA;MACJ;AAAA;AAEA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACI;MACJ;AAAA;AAEA;AACI;AACA;MACJ;AAAA;AAEA;AACA;AAAuC;MAA2C;AAClF;AACI;MACJ;AAAA;AACyC;MAA6C;AACtF;AAAyC;MAA6C;AACtF;AACA;AACA;AACA;IACJ;AACA;AACI;AACI;MACJ;AAAA;AAEA;AACI;AACA;MACJ;AAEI;MACJ;AAAA;IAEJ;AACA;AACI;AACI;MACJ;AAAA;AAEA;AACI;AACA;MACJ;AAAA;AAEA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACI;MACJ;AAAA;AAEA;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACI;MACJ;AAAA;AAEA;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEA;AACA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACI;AACI;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADG;AAGX;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACI;MACJ;AAEI;MACJ;AAAA;AAEA;IACJ;AACA;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEA;IACJ;AACA;AACI;AACA;AACI;AACI;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADG;AAGX;IACJ;AACA;AACI;AACA;AACI;AACA;AACI;AACA;QACJ;AAAA;IAER;AACA;AACI;AACA;AACI;AACA;AACI;AACA;QACJ;AAAA;MAEJ;AAAA;AAEA;AACI;AACA;AAAuC;QAAmC;AAC1E;MACJ;AAAA;AAEJ;EACJ;AA1UA;AACI;AAAa;AA0U406B;AC3U716B;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACA;AACA;AACA;EACJ;AAAA;AAEA;AACI;AACA;AAEI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;EACJ;AACA;AACA;AACI;AACI;IACJ;AAEI;IAEJ;AAAA;AACJ;AAEI;AACA;AACI;IACJ;AAAA;AAEA;EACJ;AAAA;AAEI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACI;AACI;IACJ;AAAA;EAEJ;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AAAkD;MAA6B;AAC/E;AACI;AAAuC;QAAq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ACI;AACI;AACA;AACI;QACJ;AAAA;MAEJ;AACA;AACA;AAAiB;AAErB;AACI;AACI;AACA;AAEI;QACJ;AAAA;MAIJ;AACA;AACA;AAAiB;AAErB;AACI;AAAmB;MAA6C;AAChE;AACA;AAAiB;AAErB;AACI;AACI;AACI;QACJ;AAEI;QACJ;AAAA;AAEJ;AACA;AAAiB;AAErB;AACI;AACI;AACA;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AACI;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AACI;AACA;AAKA;AACI;AACA;AACI;AACA;AACI;YACJ;AAEI;YACJ;AAAA;UAEJ;QACJ;AACA;AAA4F;QAAmC;AAC/H;MACJ;AACA;AACA;AAAiB;AAErB;EACJ;AACA;AArIA;AACI;AAAa;AAqIw9Q;ACtIz+Q;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AAAgC;MAA+C;AAAA;AAE/E;AACI;MACJ;AAAA;AAEI;MACJ;AAAA;IAEJ;AACA;EACJ;AACA;AA/BA;AACI;AAAa;AA+BwtE;AChCzuE;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AAKA;AACA;AACA;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AACJ;AAEI;AACA;AACA;AACI;AACI;AACA;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AAGA;AACA;AAAK;AAEb;AACA;AACA;AACA;AACI;AACA;AACI;QACJ;AAEI;AACA;QACJ;AAAA;AAGA;MACJ;AAAA;AAMJ;AAAmE;IAAa;AAChF;AACI;AACA;AACA;AACA;AACA;AA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AACJ;AAEJ;AACI;AACA;AACI;AACI;AACA;AACI;UACJ;AAEI;AACA;UACJ;AAAA;MAER;AAEI;MACJ;AAAA;AAEJ;AAA6D;IAAwD;AACrH;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AAEI;AACI;AACA;AACI;UACJ;AAAA;AACJ;AACJ;AAGA;IACJ;AAAA;EAEJ;AAAA;AAtXI;AAAa;AAuXg/iC;ACxXjgjC;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACI;AACA;AAEI;AACI;MACJ;AAAA;IAEJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;EACJ;AA7EA;AACI;AAAa;AA6E48M;AC9E79M;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACA;AACA;AACI;AACA;AACA;AACA;AACA;MACJ;AAAA;AAEwC;MAAiH;IAC7J;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACI;AACA;AACA;AACuH;QAA8D;AAE7K;AACA;AACA;AACA;AACA;AACA;AAAqE;UAAyB;QAClG;AACJ;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEI;QACJ;AAAA;AAEJ;AACA;AACI;MACJ;AAEI;MACJ;AAAA;IAEJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AAAwD;MAAsC;AAC9F;AAEI;AACA;AACI;AACA;AACA;AACA;QACJ;AAAA;MAEJ;AAEI;AACI;AACA;AACA;QACJ;AAAA;AAEI;QACJ;AAEI;QACJ;AAAA;IAER;AACA;AACI;AACA;AACA;AACI;AACA;MACJ;AAAA;IAEJ;AACA;AAIA;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACI;MACJ;IACJ;AAAA;AAC2D;IAAgC;AAC3F;EACJ;AACA;AACI;AACI;IACJ;AAAA;AACJ;AAlLI;AAAa;AAmLwhvB;ACpLzivB;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACI;AACI;IACJ;AAAA;AACJ;AAMA;AACI;AACA;AAMI;AAAmB;MAA4B;AAC/C;AAAwB;MAA6B;AACrD;AACA;AAAiB;AAErB;AACA;AACA;EACJ;AACA;AAhCA;AACI;AAAa;AAgCw4R;ACjCz5R;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AAKA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAe;AAEnB;AACI;AACA;AACA;EACJ;AACA;AACA;AACI;AACI;AACA;AAAkC;AAAwC;AAAsC;AAAsD;AAA8B;AAAoC;AAAoB;AAC5P;AACA;AACA;AACI;AAA8C;QAA+C;MACjG;AAAA;AAEA;AACA;AACI;AACA;AACA;AAA6C;QAA8C;MAC/F;AAAA;AAEA;AACA;IACJ;AAAA;AAEI;AACI;MACJ;AAAA;AAEI;MACJ;AAAA;AAEA;IACJ;AACA;AACI;IACJ;AACA;EACJ;AACA;AAGA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AA4BA;AAAmB;AAEv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I;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACI;AACA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;AAAuC;IAAc;AACrD;EACJ;AACA;AAcA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;AAAyC;IAAgB;AACzD;EACJ;AACA;AACA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;AAG9C;EACJ;AACA;AACA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AAIA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;AAA0B;MAAgB;AAAA;IAE9C;AACA;AAAiD;IAA6C;AAC9F;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AAEI;AACA;AACA;IACJ;AACA;AAAqE;IAAgD;AACrH;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AAAgF;IAAa;AAC7F;AACI;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;IACJ;AACA;AACI;IACJ;AACA;AAA0E;IAA2C;AACrH;AAAgF;IAAa;AAC7F;AACI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AAA8B;MAAkC;AAChE;IACJ;AACA;AAAqE;IAAa;AAClF;EACJ;AACA;AACA;AACI;AACA;AAC2E;IAAY;AACvF;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AAAgE;IAAkD;AAClH;AACI;IACJ;AACA;EACJ;AACA;AAveA;AACI;AAAa;AAue4nlC;ACxe7olC;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACI;AACA;AACI;IACJ;AAAA;EAEJ;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;IACJ;AAAA;AAEI;AACA;AACA;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AACI;MACJ;AAAA;IAEJ;AACA;AAGI;AACA;AACI;MACJ;AAAA;AAEA;AACA;IACJ;AACA;AACI;AACI;AAAW;AAEf;AACI;AAAW;AAEf;AACI;AAAW;AAEf;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;AACI;A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J;AACA;AAAyC;IAAwC;AACjF;AAAyC;IAAwC;AACjF;AACI;IACJ;AACA;AAA6C;IAA4C;AACzF;AAA0C;IAAyC;AACnF;AACI;IACJ;AACA;AAA6C;IAAmE;AAChH;AAA8C;IAAoE;AAClH;AACI;IACJ;AACA;AAA8C;IAAoE;AAClH;AAA+C;IAAqE;AACpH;AAEI;IACJ;AACA;AACI;AACI;AACA;AACA;AACA;AACA;AACI;AAAoB;AAEpB;AAA+B;AAE/B;AADG;IAGf;AACA;EACJ;AACA;AACA;AACI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAa;AAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AAAa;AAAU;AAAU;AAAU;AAAU;AAAU;AAAU;AAAU;AACnF;AACA;AACA;AACA;AACA;AACI;AACA;AACI;AACA;IACJ;AAAA;AACgD;IAAqB;AACrE;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IAEJ;AACA;AACI;AAAwB;AAAsB;AAAkB;AAEhE;AACI;AACI;AACA;QACJ;AAEI;QACJ;AAAA;AACJ;AAEA;AACA;AACI;MACJ;AAAA;AAGI;AAA4B;AAE5B;AAA6B;AAEjC;AACI;AACI;AACA;AAA8F;AAElG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AAAsC;AAE1C;AACI;AAAwB;AAE5B;AACA;AACA;AACA;AACA;AACA;AACI;AAAwE;AAExE;AAAiE;AAErE;AACI;AAAiG;AAErG;AACI;AAAmH;AAEnH;AAAoE;AAEpE;AAA8D;AAE9D;AACI;AAAc;AACK;AAE/B;AACA;IACJ;AACA;AACI;AACA;IACJ;AACA;AACI;AACA;IACJ;AAYA;AACI;AACA;AACA;AACI;AACA;MACJ;AAAA;AAEI;AACA;MACJ;AAAA;IAEJ;AACA;AACI;AACA;AACA;AACI;AAAc;AAElB;AACI;MACJ;AAEI;MACJ;AAAA;AAEJ;AACI;AACA;AACA;AACI;AAGI;QACJ;AAEI;AACA;AACI;AAAc;AAEd;AAAkC;QAE1C;AAEI;QACJ;AAAA;MAEJ;AAAA;AAGA;AACA;IACJ;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACI;AACI;AAAkC;AAEtC;AACA;AACA;AAEI;AACA;AACI;YACJ;AAEI;YACJ;AAAA;AAEI;YACJ;AAAA;AAGA;AACA;UACJ;AAAA;AAEA;QACJ;AAEI;QACJ;AAEI;QACJ;AAAA;AACJ;AAEA;AAEA;AACA;AACI;AACA;MACJ;AAAA;IAEJ;AACA;AACI;AACA;IACJ;AACA;EACJ;AACA;AACI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;AACI;AAAY;AAEhB;AACI;AAAY;AAEhB;AACI;AACI;AAAY;IAEpB;AAAA;EAEJ;AAAA;AAEA;AACI;EAEJ;AAAA;AAEI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEA;AACI;AACI;AACI;AAAkB;AAElB;AAAkB;AAElB;AAAkB;AAElB;AAAmB;AAEnB;AAAoB;AAEpB;AADG;EAGf;AAAA;AA0BA;AAzcA;AACI;AAAa;AAycgipC;AC1cjjpC;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAgC;AAAiB;AACtE;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;EACJ;AAAA;AAeiD;AAAmC;AAAO;AA/D3F;AACI;AAAa;AAwEo9L;ACzEr+L;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AAIA;AACI;AACI;AACA;AACA;IACJ;AAAA;AACwD;IAAyC;AACjG;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;IACJ;AAAA;AACwD;IAAyC;AACjG;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;AACI;AACI;AACI;QACJ;AAEI;QACJ;AAAA;AAEJ;AACA;AAAiB;AAErB;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AAIA;AACI;AACI;AACA;AACI;QACJ;AAAA;AACJ;IAEJ;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAGI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AACA;AACA;AACA;EACJ;AACA;AAIA;AACI;AACI;AACA;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AAIA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,KAAR,QAAQ;eAAR,QAAQ;SAAS,aAAa;;yBAA9B,QAAQ;;;;ACxD7B;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;EACF;AACI;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AAAoD;AAEpD;AACE;QACF;AAAA;AAEA;AACA;AACE;QACF;AAAA;AACF;AAEA;IACF;AAtCF;AACI;AAAa;AAsCjB;ACvCA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AAHA;AACI;AAAa;AAGjB;ACJA;AAAA;AACI;AAAmB;AACnB;AADJ;AAAmB;AAAqD;AAAe;AADvF;AACI;AAAa;AAAyE;ACD1F;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACE;AACI;AACF;AAAgB;IAEpB;AACE;IACF;AAAA;AAEF;AAbA;AACI;AAAa;AAajB;ACdA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;EACF;AAHA;AACI;AAAa;AAEhB;ACHD;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACJ;AACE;AACI;AACJ;EACF;AARA;AACI;AAAa;AAQjB;ACTA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;AAAQ;AACyB;AACzB;AACkC;AAClC;AAC2C;AAC3C;AACoD;AACpD;AAC6D;AACrE;EACJ;AAfA;AACI;AAAa;AAchB;ACfD;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AACjB;ACFA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACJ;AACE;EACF;AANA;AACI;AAAa;AAMjB;ACPA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACE;AACI;AACJ;AACE;AAAyB;AAEzB;QACF;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;MACF;AACE;AACA;AACA;AACA;MACF;AACE;AACE;QACF;AACA;MACF;AACE;AACE;AACE;AACA;UACF;QACF;MACF;AACE;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AAAe;EAEnB;AA1EA;AACI;AAAa;AA0EjB;AC3EA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACI;AACA;AACJ;AACE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACE;AAAc;AAEhB;AACE;AAAa;MAEjB;AAAA;AAEA;AACE;AAAc;AAElB;AACE;AACE;MACF;IACF;AACE;AACI;AACJ;AACA;AACE;MACF;IACF;AACE;AACE;MACF;IACF;AACE;AACE;MACF;IACF;AAAA;AAEE;AACE;AACA;AACA;AAA+B;AAEjC;AACE;AAAgB;AAEhB;AACA;MACF;AAAA;IAEF;EACF;AAnEA;AACI;AAAa;AAmEjB;ACpEA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACJ;AACE;AACA;AACE;IACF;AACA;AACE;IACF;EACF;AAAa;AAEX;AACE;AAAY;AAEd;AACE;AACI;AACJ;AACE;MACF;AACA;AACE;MACF;AACA;IACF;AAAa;EAEf;AA5BA;AACI;AAAa;AA4BjB;AC7BA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AAAyB;IAE7B;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACE;QACF;AAAA;AAEE;AACA;AACI;YACF;AACF;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAW;IAEf;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACI;AACJ;AACE;AACE;AAA0C;AAE5C;MACF;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAM;AAER;AACA;AACE;AACI;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AACE;AACE;AAAe;AAEjB;AACE;cACF;AACE;cACF;AACE;AAAe;AAEjB;AAAa;AAEf;UACF;AAAA;AAEF;AACE;AAAe;AAEjB;AACA;AACE;AACE;AACI;AACA;AACJ;AACE;AACE;cACF;AACE;AACE;AACA;AAAY;cAEhB;AACE;cACF;AAAA;AACF;UAEF;AAAK;IAEX;AACA;AACE;AACI;AACA;AACA;AACJ;AACE;AAAY;AAEZ;AACA;AACE;AAAY;AAChB;IAEF;AACA;AACE;AACA;AACE;AAAM;AAER;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACI;AACJ;AACE;AAAM;AAER;AACA;AACE;AACE;AAAmD;AAEnD;AACE;AACE;AACA;AAAO;AAET;AACE;YACF;AACE;YACF;AAAA;QAEJ;AACE;AACA;AACA;QACF;AAAA;AAEA;AACE;AACA;AAAO;MAEX;AAAA;AAEF;AACE;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAO;AAET;AACE;QACF;AACE;QACF;AAAA;AAEF;AACE;AACE;AACI;AACA;AACJ;AACA;AACA;AACA;AACE;AAAuB;AAEvB;AAAqB;QAEzB;AACA;AACE;QACF;AAAA;IAEJ;AAAA;AAEA;AACA;AACA;AACA;AACI;AACI;AACJ;AACA;MACF;AACF;AACI;AACE;AAAQ;AAEN;AACJ;AACA;MACF;AACF;AACE;IACF;AACE;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AACI;AACJ;AACE;AACE;AACA;AACE;AACE;AAAM;AAER;AACA;cACF;YACF;;AAEA;AAAgB;AAEpB;AACE;AAAoB;MAExB;AACA;AACE;AACI;AACA;AACJ;AACE;AACE;UACF;QACF;AACA;AACE;AAAoB;MAExB;AAAA;EAEJ;AAhTA;AACI;AAAa;AAgTjB;ACjTA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACA;AACA;AALA;AACI;AAAa;AAKjB;ACNA;AAAA;AACI;AAAmB;AACnB;AADJ;AAAmB;AAAkD;AAAe;AADpF;AACI;AAAa;AAAsE;ACDvF;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACJ;AACE;AACA;AACE;AAAyC;EAE7C;AARA;AACI;AAAa;AAQjB;ACTA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AAHA;AACI;AAAa;AAGjB;ACJA;AAAA;AACI;AAAmB;AACnB;AADJ;AAAmB;AAAuD;AAAe;AADzF;AACI;AAAa;AAA2E;ACD5F;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACE;IACF;EACF;AACE;AACE;AACA;IACF;AACA;AACE;IACF;AAAA;AAdF;AACI;AAAa;AAejB;AChBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AAFA;AACI;AAAa;AAEjB;ACHA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACA;AACA;AACA;AANA;AACI;AAAa;AAMjB;ACPA;AAAA;AACI;AAAmB;AACnB;AADJ;AAAmB;AAA8C;AAAe;AADhF;AACI;AAAa;AAAkE;ACDnF;AAAA;AACI;AAAmB;AACnB;AADJ;AAGA;AACI;AAEI;AACI;MACJ;AAAA;AAGI;MACJ;AAAA;IAGJ;EACJ;AAAA;AAhBI;AAAa;AAiBjB;AClBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AACF;AAEI;AACJ;AACE;AACA;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;AACA;AACA;AACE;AACA;AACE;UACF;AAAA;AAEA;AACE;UACF;AAAA;AACF;AACF;AACF;AAEE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEA;AACA;IACF;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;AACA;AACA;AACE;UACF;AAAA;AAEA;AACE;UACF;AAAA;AAEA;AACE;UACF;AAAA;AACF;AACF;AAEE;AACA;AACI;AACF;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;AACF;IAEF;AACA;EACF;AAnIA;AACI;AAAa;AAmIjB;ACpIA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEI;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;EACF;AAAA;AAEE;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AAAkB;IAEtB;AAAA;AAEE;AACE;AACA;AACA;AACA;AAAkB;IAEtB;AAAA;AAEA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AACE;QACF;AAAA;AAEA;AACA;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACJ;AACE;AACA;AACA;AACE;MACF;AAAA;IAEF;AAAA;EAEF;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACJ;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AACA;YACF;AAAA;AACF;AAEE;UACF;AAAA;AACF;AACF;AAEF;EACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACA;IACF;AAAA;AAEA;AACA;AACI;AACJ;AACE;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AACE;YACF;AACE;YACF;AAAA;AACF;AACF;AACF;AAEE;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;UACF;AAAA;AACF;AACF;IAEF;AAAA;AAEA;AACE;IACF;AACE;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AA1NA;AACI;AAAa;AA0NjB;AC3NA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAfA;AACI;AAAa;AAgBjB;ACjBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAdA;AACI;AAAa;AAejB;AChBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAfA;AACI;AAAa;AAgBjB;ACjBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AAAkC;AAEpC;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AArFA;AACI;AAAa;AAsFjB;ACvFA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AACE;AACE;MACF;AAAA;AAEE;MACF;AACA;IACF;AACE;AACA;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AACE;AACA;AACA;MACF;AACE;AACA;AACA;MACF;AAAA;AAEE;AACE;AACE;UACF;AAAA;QAEF;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AA5DA;AACI;AAAa;AA6DjB;AC9DA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAjBA;AACI;AAAa;AAkBjB;ACnBA;;AAAA;AACI;AAAmB;AACnB;AACJ;AAGA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuD;AAGzD;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAoE;AAGtE;AAEA;AAAiB;AACf;AACA;AACA;EACF;AAAA;AAKA;AAAkB;AAChB;AACA;AACA;EACF;AAAA;AAhDI;AAAa;AAgDjB;ACjDA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAjBA;AACI;AAAa;AAkBjB;ACnBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAdA;AACI;AAAa;AAejB;AChBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;EACF;AAAA;AAdA;AACI;AAAa;AAejB;AChBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAjBA;AACI;AAAa;AAkBjB;ACnBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAdA;AACI;AAAa;AAejB;AChBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;EACF;AACE;EACF;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;AACA;IACF;AAAa;EAEf;AAAA;AArBA;AACI;AAAa;AAsBjB;ACvBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;EACF;AACE;EACF;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;IACF;AACE;AACA;IACF;AAAA;AAEA;AACA;EACF;AAAA;AA5BA;AACI;AAAa;AA6BjB;AC9BA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AAAqE;AAEvE;AACE;AACA;AACA;AACA;EACF;AAAA;AApBA;AACI;AAAa;AAqBjB;ACtBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAdA;AACI;AAAa;AAejB;AChBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACI;AACA;AACA;AACJ;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;AACA;MACF;AACE;AACA;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACE;AACA;IACF;AAAA;AAEA;AACI;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAlFA;AACI;AAAa;AAmFjB;ACpFA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;EACF;AAAA;AAjBA;AACI;AAAa;AAkBjB;ACnBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;EACF;AAAA;AAjBA;AACI;AAAa;AAkBjB;ACnBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;EACF;AACE;EACF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;IAEF;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAjCA;AACI;AAAa;AAkCjB;ACnCA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AApCA;AACI;AAAa;AAqCjB;ACtCA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AAtCA;AACI;AAAa;AAuCjB;ACxCA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AACF;EAEF;AAAA;AAjDA;AACI;AAAa;AAkDjB;ACnDA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAgC;AAElC;AACE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AA1CA;AACI;AAAa;AA2CjB;AC5CA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AACE;IACF;AACE;IACF;AAAA;AAEE;IACF;AACE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA8B;AAEhC;AACE;AACA;AACA;EACF;AAAA;AAlEA;AACI;AAAa;AAmEjB;ACpEA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACE;AACA;EACF;AACA;AACA;AACA;AACE;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAlBA;AACI;AAAa;AAmBjB;ACpBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAfA;AACI;AAAa;AAgBjB;ACjBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAjBA;AACI;AAAa;AAkBjB;ACnBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;EACF;AACE;EACF;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;IACF;AACE;AACA;IACF;AAAA;AAEA;EACF;AAAA;AA3BA;AACI;AAAa;AA4BjB;AC7BA;;AAAA;AACI;AAAmB;AACnB;AACJ;AAGA;AACA;AACE;AACE;IACF;AAAA;AACF;AAXA;AACI;AAAa;AAWkB;ACZnC;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AAAwB;AAE1B;AACE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;MACF;AAAA;AACF;AAEI;AACF;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AACF;EAEF;AAAA;AA9CA;AACI;AAAa;AA+CjB;AChDA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AAAgB;AAElB;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEA;AACA;AACE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AA3DA;AACI;AAAa;AA4DjB;AC7DA;;AAAA;AACI;AAAmB;AACnB;AACJ;AAGA;AACA;AACE;AACA;AAEA;AACE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAjBA;AACI;AAAa;AAiBkB;AClBnC;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AAAqB;AAEvB;AACE;AACA;AACE;IACF;AAAA;AAEA;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAvCA;AACI;AAAa;AAwCjB;ACzCA;;AAAA;AACI;AAAmB;AACnB;AACJ;AAIA;AAAqG;EAAmB;AAAqB;EAAkG;AAE/O;AACA;AACE;AACE;AACE;MACF;AACE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AAAA;AArBA;AACI;AAAa;AAqBkB;ACtBnC;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA2B;AAE7B;AACA;AA5LA;AACI;AAAa;AA4LjB;AC7LA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADuC;ACAxD;AAAA;AACI;AAAmB;AACnB;AAAJ;AAEA;AACI;AACI;AACI;MACJ;AAAA;AA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;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACI;AACJ;AACE;AACE;YACF;AAAA;AACF;AACF;AAEE;AACA;AACE;AACE;AACA;AACE;cACF;AAAA;AACF;AACF;AAEE;UACF;AAAA;AACF;AACF;AAEF;AACE;AACE;MACF;AAAA;AAEI;AACJ;AACE;AACA;AACE;AACA;AACE;UACF;AACE;AACA;AACE;AACA;AACE;cACF;AAAA;AACF;AACF;AACF;AACF;AAEF;AACE;AACI;AACJ;AACE;AACE;AACA;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;AACI;AACA;AACJ;AACE;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACI;AACA;AACJ;AACE;AACA;AACA;AACE;QACF;AAAA;AACF;AAEE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACA;AACE;AACA;AACE;AACE;AACE;AACE;YACF;AAAA;QAEJ;AACE;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;AACE;AACA;AACA;QACF;AACE;AACE;AACA;AACA;UACF;AAAA;AACF;AACF;AAEA;AACE;AACA;AACA;MACF;AAAA;AACF;AAEF;AACE;AACA;AACE;IACF;AAAA;AAEA;AACA;AACI;AACJ;AACE;AACI;AACJ;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEA;AACE;AACA;AACA;MACF;AAAA;AACF;AAEF;AACE;AACA;AACA;AACE;AACA;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;AACA;IACF;AAAA;AAEE;AACA;AACE;AACE;AACA;QACF;AACE;QACF;AACE;AACA;QACF;AAAA;MAEF;AAAA;AAEE;MACF;AAAA;AACF;AAEA;AACE;AACE;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;AACE;AACA;AACE;UACF;AAAA;AACF;AACF;AACF;AAEA;AACE;AACE;AACA;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAlaA;AACI;AAAa;AAkajB;ACnaA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACI;AACA;AACJ;AACA;AACA;AACA;AACA;AACE;AACA;AAAa;AAEf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;AACA;AACE;AACE;QACF;AAAa;AACf;IAEF;AAAA;AAEI;AACJ;AACA;AACA;AACA;AACA;AACI;AACJ;AACI;AACJ;AACI;AACJ;AAAiB;AAEf;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACI;AACJ;AACA;AACE;AACA;MACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AAAiB;IAErB;AAAA;AAEE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AACE;AACE;QACF;AAAA;AACF;IAEF;AAAA;AAEE;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACE;AACE;QACF;AAAa;AAEX;QACF;AAAa;AACf;IAEF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;AACI;AACA;AACJ;AACE;QACF;AAAA;AAEA;AACA;MACF;AACA;AACA;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AA9OA;AACI;AAAa;AA8OjB;AC/OA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD+C;ACAhE;AAAA;AACI;AAAmB;AACnB;AAMJ;AAGA;AAGA;AACI;AAGJ;AAOA;AAUA;AACE;AAEA;AACI;AAEJ;AACE;IACF;AAAA;EAEF;AAAA;AAUE;EACF;AAAA;AAWE;AACA;AACE;IACF;AAAA;EAIF;AAAA;AAqDA;AACE;EACF;AAAA;AAqBE;EAEF;AAAA;AA4BE;AACA;EACF;AAAA;AAtLA;AACI;AAAa;AAwLjB;ACzLA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADqC;ACAtD;;AAAA;AACI;AAAmB;AACnB;AACJ;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA0F;AAzD9F;AACI;AAAa;AA2DjB;AC5DA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AACE;AACI;AACJ;QACF;MACF;AAAA;AAEE;AACE;AACE;UACF;AAAA;AAEA;AACE;UACF;AAAA;MAEJ;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACE;AACA;AACA;QACF;AAAA;IAEJ;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;AACE;AACE;UACF;AAAA;QAEF;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACE;AACA;AACA;AACE;AACE;YACF;AAAA;AACF;AAEE;UACF;AAAA;AACF;AACF;IAEF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAA2B;AAE7B;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEA;AACA;AACE;AACI;AACJ;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AACF;IAEF;AACA;EACF;AArKA;AACI;AAAa;AAqKjB;ACtKA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACJ;AACE;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;MACF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AAEA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AAAA;AAEI;AACJ;AACE;AACI;AACJ;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AAAA;AAEI;AACJ;AACE;AACI;AACJ;AACE;QACF;AACE;QACF;AAAA;AAEA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACI;AACJ;AACE;AACI;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;UACF;AACE;AACA;AACE;YACF;AAAA;AAEE;AACE;cACF;AAAA;AACF;AAEE;YACF;AAAA;AAEA;UACF;AAAA;AACF;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACI;AACJ;AACE;AACI;AACJ;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AAAuB;AAEzB;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AACA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;AACE;UACF;AAAA;MAEJ;AAAA;AAEE;MACF;AAAA;AACF;AAEI;AACJ;AACE;AACA;AACE;MACF;AAAA;AAEE;MACF;AACE;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;MAEF;AAAA;AAEE;AACA;AACA;MACF;AAAA;AACF;AAEA;AACE;IACF;AAAA;EAEF;AAphBA;AACI;AAAa;AAohBjB;ACrhBA;;AAAA;AACI;AAAmB;AACnB;AACJ;AACI;EACJ;AAEA;AAEI;EACJ;AAEA;AAEI;AAEA;AACI;AACI;MACJ;AAAA;AAEI;MACJ;AAAA;IA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ACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAoB;AAEtB;AACE;AACA;AACA;AACA;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;AACA;AACE;AACA;AACE;UACF;AAAA;AACF;MAEF;AACE;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACA;AACE;AACE;UACF;AACA;QACF;AAAA;MAEF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEE;AACA;MACF;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACI;AACJ;AACE;AACA;AACE;AACA;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACI;AACJ;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACE;YACF;AAAA;AACF;AACF;AAEE;A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;AACA;AACA;AACE;IACF;AACE;AACA;AACA;IACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AACA;AAAsB;EAE1B;AAAA;AAEE;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEF;EACF;AAAA;AApCI;AAAa;AAqCjB;ACtCA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AACjB;ACFA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADiD;ACAlE;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEF;EACF;AAAA;AAEE;AACE;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACA;QACF;MACF;AAAA;EAEJ;AAAA;AAEE;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;IACF;AACE;IACF;AAAA;AAEE;AACE;MACF;AACA;AACE;MACF;AAAA;IAEF;AACA;AACA;AACA;EACF;AAAA;AAEE;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AACF;AAEE;IACF;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AAAA;AACF;AAEE;AACE;AACA;AACI;AACJ;AACE;AACE;AACA;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AACA;AAFK;AAIT;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;EAEJ;AAAA;AAEE;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AACF;AACF;AAEE;AACE;IACF;AAAA;AAEA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AACF;AACF;AAEE;AACE;IACF;AAAA;AAEE;IACF;AAAA;AACF;AAhKI;AAAa;AAiKjB;AClKA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACJ;AACA;AACA;AACA;AAPA;AACI;AAAa;AAOjB;ACRA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACJ;AACA;AACE;AACA;EACF;AAAA;AAEI;AACA;AAAe;AAEnB;AAbA;AACI;AAAa;AAajB;ACdA;;AAAA;AACI;AAAmB;AACnB;AAEJ;AAJA;AACI;AAAa;AAIjB;ACLA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;AAEE;AACE;YACF;AACE;YACF;AAAA;AAEA;UACF;AAAA;MAEJ;AAAA;EAEJ;AA1BA;AACI;AAAa;AA0BjB;AC3BA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACI;AACJ;AACE;AACA;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;AAEE;UACF;AACE;UACF;AAAA;MAEJ;AAAA;EAEJ;AAvBA;AACI;AAAa;AAuBjB;ACxBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;EAEJ;AArBA;AACI;AAAa;AAqBjB;ACtBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACE;AACA;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;EAEJ;AAlBA;AACI;AAAa;AAkBjB;ACnBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;EACF;AAGE;AACE;AACA;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AAEE;AAAyB;AAC7B;AAEF;AACA;IACF;EAEF;AAAA;AAvBI;AAAa;AAwBjB;ACzBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD8C;ACA/D;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;MACF;AACA;AACE;AACE;AACA;AACE;UACF;AACE;UACF;AAAA;AAEA;AACE;AACE;AACE;cACF;AACE;cACF;AAAA;UAEJ;AACE;UACF;AAAA;MAEJ;AAAA;EAEJ;AApCA;AACI;AAAa;AAoCjB;ACrCA;AAAA;AACI;AAAmB;AACnB;AADJ;AAEA;AACA;AACC;AACA;EACD;AAAa;AAKb;AAEA;AACC;AACC;AACA;IACD;AAAa;EAEd;AAAA;AAKA;AAEA;AAGA;AACA;AAEA;AACA;AAEA;AACE;EACF;AAAA;AAtCA;AACI;AAAa;AAwCjB;ACzCA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AAAM;AAER;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;QACF;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACI;AACA;AACF;AACA;QACF;AAAA;AAEA;AACE;AACE;AACE;AAAM;AAEN;AACA;YACF;AAAA;AAEA;UACF;QACF;AAAA;MAEF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACE;cACF;AAAA;YAEF;AACE;YACF;AACE;YACF;AAAA;UAEF;AAAA;AAEF;AACA;AACE;AACA;AACE;AACA;AACE;YACF;AAAA;AACF;AAEE;AAAuB;AAC3B;AACF;AAEF;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACE;AAAK;AAEL;UACF;AAAa;AAEX;AACA;UACF;AAAA;AAEA;AACE;UACF;AACE;AACA;UACF;AAAA;AAEE;AACA;AACE;AACA;AACE;AAAwC;YAE5C;AACE;YACF;AAAA;UAEF;AAAA;AACK;AAEL;AACE;AAAK;AAEP;AACA;AAAK;AAEL;AACA;AACE;AAAK;AAEP;AAAK;AAEL;AACA;AACE;AAAK;AAEP;AACE;AACE;AACA;YACF;AAAA;AAEF;AACE;UACF;AACA;AACA;AAAK;AAET;AACE;MACF;AAAA;EAEJ;AA9JA;AACI;AAAa;AA8JjB;AC/JA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AACA;AACA;AACE;AACE;MACF;AACE;AACE;AAAuC;AAC3C;AAEF;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AAAiE;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAAuD;AAEzD;MACF;AAAA;AACF;AAEA;AACE;AACA;AACE;AAA4B;AAE9B;AACA;AACE;AAAyB;IAE7B;AAAA;AAEE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AACE;AACE;AACA;QACF;AACE;AACA;QACF;AACE;AACA;AACE;AACA;UACF;AAAA;AAEE;AAAqB;AAErB;AACE;AACA;YACF;AACE;AACA;AACE;;AAEA;AAAwB;AAExB;AAAoB;AACxB;AACF;QAEF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;AAAuD;AAEzD;AACA;IACF;AACA;AACA;AACE;AACE;MACF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;AAAA;AAEE;AACE;AAAQ;AAER;AAAsB;AAEtB;AACE;;AAEA;AAAmB;AACvB;AAEE;AAAQ;AAER;AAAgD;AAEhD;AACE;AACA;QACF;AACE;QACF;AAAA;AACF;IAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAA6B;AAE7B;AACA;AACE;;AAEA;AAAkB;MAEtB;AAAA;AAEA;AACE;AACE;AAAiB;MAErB;AAAA;AAEA;AACA;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAyB;AAE3B;MACF;AAAA;AAEE;AAA+B;AAEjC;AACE;;AAEA;AAAU;AAEV;AACA;MACF;AAAA;AAEA;AACE;AAAyB;AAEzB;AAAiB;AAEjB;AAAsB;IAE1B;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACE;AAAM;AAEN;AACA;AACE;AACA;QACF;AAAA;AACF;AAEA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACA;AACE;;AAEA;AAAqB;AACzB;AACF;AAEE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACA;AACE;;AAEA;AAAkB;AACtB;IAEF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAFK;AAIT;AACA;AACA;AACA;AACA;AACE;;AAEA;AAAsB;AAExB;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAS;AACb;AAEA;AACE;AACA;AACA;AACE;AACE;AACA;UACF;AAAA;QAEF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AAAsB;AAC1B;AAEE;SACG;AACH;;AAEA;AAAkD;AAElD;AACA;MACF;AAAA;AAEA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACA;AACE;AAAkB;AAElB;AACA;QACF;AAAA;IAEJ;AAAA;AAEE;AACA;AACE;AAAW;AAEX;AACE;AAAW;AAEX;AAAkB;AAEpB;AACA;AACA;AACE;AAAyB;MAE7B;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AAAW;AAEb;AACA;AACE;AAA4B;AAE9B;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;AACF;IAEF;AACA;AACA;AACE;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AAAc;AAClB;AAEE;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AAAgB;AACpB;MAEF;AACA;AACE;AACA;AACE;AAAkC;AAElC;WACG;AACH;AAAM;AAER;AACE;AACA;QACF;AAAA;AAEF;AACE;AACE;AACE;AACE;YACF;UACF;QACF;AAAA;AACF;AAEA;AACE;MACF;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AAEF;IACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AAAW;AAEX;SACG;AACH;SACG;AACH;AACE;WACG;AACH;;AAEA;AAAiC;MAErC;AACE;AACE;AACA;AACA;QACF;AACE;QACF;AACE;AACE;;AAEA;AAAmB;AAErB;AACI;AACF;AACA;AACA;AACE;;AAEA;AAAwB;AAExB;;AAEA;AAAY;UAEhB;AAAA;AACF;AACF;IAEF;AAAA;AAEE;AACA;AACE;AAAyD;AAEzD;AACA;MACF;AAAA;AACF;AAEE;AACE;AACA;AACA;MACF;AAAA;AACF;AAEE;AACI;AACF;MACF;AAAA;AACF;AAEE;AACI;AACF;AACE;AAAQ;AACZ;IAEF;AAAA;AA9oBF;AACI;AAAa;AA+oBjB;AChpBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;IACF;AAAA;AAjBF;AACI;AAAa;AAkBjB;ACnBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADkD;ACAnE;AAAA;AACI;AAAmB;AACnB;AAGJ;AAoBA;AACE;AACE;IACF;AAAA;AAGA;AACE;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AAAA;EAGF;AAAA;AAYE;AACE;AAA0B;AAAY;AAEtC;IACF;AAAA;AAEA;AAAiB;AAAY;EAE/B;AAAA;AAjEI;AAAa;AAkEjB;ACnEA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD8C;ACA/D;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACE;AACE;AAAuC;AAC3C;AAEF;AACA;AACA;AAAgB;AAEd;AACA;AACA;AACA;IACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACE;AAAiE;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACI;UACF;MACJ;AAAa;AAEf;AACA;AACE;AACA;AACE;AAA4B;AAE9B;AACA;AACE;AACE;AAA2B;AAE3B;AAA6B;AACjC;IAEF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;SACG;AACH;AAAgC;AAEhC;AAAQ;AAER;SACG;AACH;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AAAwB;AAC5B;AAEF;AACE;AACE;AAAiC;AAEjC;AAAoD;IAExD;AACA;AACE;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;AAAmB;AAErB;AACA;AACA;AACE;AAAsB;AAEtB;AACA;AACA;AACE;QACF;AACE;QACF;AAAA;MAEF;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;;AAEA;AAA6C;IAEjD;AAAA;AAEE;AACA;AACE;;AAEA;AAAM;AAER;IACF;AAAA;AAEE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;SACG;AACH;AACA;AACE;QACF;AAAA;AAEE;QACF;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AAA2B;AAE7B;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;AAEA;AACA;AACA;AACA;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;UACF;AAAA;AACF;AAEE;AAAgC;AACpC;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AACE;AACA;MACF;AAAA;AAEE;AAA2B;AAE3B;AACA;MACF;AAAA;AAEE;AAA4B;AAEhC;AACE;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACE;AACA;AACA;QACF;AACE;QACF;AAAA;AACF;IAEF;AAAA;AAEE;AACA;AACA;AACE;AACE;;AAEA;AAAyB;AAC7B;AAEA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;QACF;AAAA;AAEE;QACF;AACE;QACF;AAAA;IAEJ;AAAA;AApWF;AACI;AAAa;AAqWjB;ACtWA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AAAqD;AACzD;AAEE;AACE;AAA0B;AAE5B;AACA;AACE;AAAqB;AAErB;AAAqB;AAEvB;AACE;AAA0B;IAE9B;AAAA;AAEE;AACE;AAAM;IAEV;AAAA;AAEE;IACF;AAAA;AAEE;AACI;AACF;MACF;AAAA;AACF;AAlDF;AACI;AAAa;AAmDjB;ACpDA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAuE;AAEzE;AACA;AACE;AAAiB;AAEnB;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;AACE;AAA6B;AAE/B;AACA;AACA;AACA;AACA;AACE;AACE;AAAmC;AAEnC;AAA2B;AAC/B;AAEE;AACE;AACE;UACF;;AAEA;AAAY;IAElB;AAAA;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AAA4B;AAChC;AAEF;AACE;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AAA+B;AAEjC;AACA;AACE;AAA6D;AAE7D;AAAiE;IAErE;AAAA;AA/FF;AACI;AAAa;AAgGjB;ACjGA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAA+B;EAEnC;AAAA;AAEE;EACF;AAdA;AACI;AAAa;AAcjB;ACfA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACE;AACE;MACF;AAAa;AAEf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAhBF;AACI;AAAa;AAiBjB;AClBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADgD;ACAjE;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACA;AACA;AACE;QACF;AAAA;MAEF;AACE;MACF;AAAA;EAEJ;AAtBA;AACI;AAAa;AAsBjB;ACvBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD4C;ACA7D;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACA;AACA;AACE;AAAoF;AAEpF;MACF;AACA;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEA;AACE;MACF;IACF;AACA;AACA;AACE;AACA;AACA;AACE;AAAM;AAEN;AACA;AAAW;IAEf;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AAAM;AAER;AACA;AACA;AACE;AACE;AACE;UACF;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AACA;AACE;AACA;AACA;AACA;AACA;AAA4D;AAE5D;AACA;QACF;AACE;QACF;MACF;AACE;AACA;AACE;QACF;AACE;AACE;UACF;AACA;QACF;AAAA;AAEE;AAA2C;AAE3C;AAA4C;AAE5C;AAA0D;AAE1D;QACF;AACA;AACA;AACE;AACE;AACA;AACE;AACA;AAAK;QAEX;AACA;AACE;AACE;UACF;QACF;AAAA;AAEE;AACE;AAAM;QAEV;AACA;AACE;QACF;AACE;AACE;UACF;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACE;AAAM;AAEN;AAAe;IAEnB;AACA;AACE;AACA;AACE;AAAM;AAER;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AAAgC;AAEhC;AAAiB;AAErB;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;AACA;AACA;AACA;EACF;AAtMA;AACI;AAAa;AAsMjB;ACvMA;AAAA;AACI;AAAmB;AACnB;AADJ;AAEA;AAEA;AACI;AAEA;AACI;AAEA;AACI;AACI;QACJ;AAAA;AACJ;AACJ;EAGJ;AAAA;AAlBI;AAAa;AAmBjB;ACpBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADoC;ACArD;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuC;AA9DzC;AACI;AAAa;AA+DjB;AChEA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADoD;ACArE;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACA;AACA;AACA;AACE;AACE;;AAEA;AAAmB;AAErB;AACA;AACA;AACA;AACA;AACE;AAAuB;AAEzB;AACA;AACA;AACA;AACE;AAAsB;EAE1B;AACA;AACE;AACA;AACA;EACF;AACA;AACA;AACA;AACA;AAlCA;AACI;AAAa;AAkCjB;ACnCA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADyC;ACA1D;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAXF;AACI;AAAa;AAYjB;ACbA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AACjB;ACFA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AACjB;ACFA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AACjB;ACFA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;EACF;AAHA;AACI;AAAa;AAGjB;ACJA;AAAA;AACI;AA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AAAA;AAGE;EACF;AAAA;AAGE;EACF;AAAA;AAGE;EACF;AAAA;AA3SI;AAAa;AA4SjB;AC7SA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADqC;ACAtD;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AAAuE;ACDxF;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADkD;ACAnE;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAW;AAEX;AADK;IAGX;AACA;AACE;AACE;MACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACE;AACA;AAAK;AAEP;AACE;AACA;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AACA;AAFK;AAIT;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;AAEA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACE;AAAwB;AAExB;AACA;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;AACA;IACF;AAAA;AArIF;AACI;AAAa;AAsIjB;ACvIA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD8C;ACA/D;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AAAC;AAEH;AACA;AACA;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAiE;AAEnE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAAuD;AAEzD;MACF;AAAA;AACF;AAEE;AACA;AACE;AAA4B;AAE9B;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACE;AACA;AACE;AAAyB;AAE3B;AACE;AACA;QACF;AACE;AACA;QACF;AACE;AACE;AAAkC;AAElC;AAAqB;AAErB;AACA;UACF;AACE;AACA;AACE;;AAEA;AAAwB;AAExB;AAAoB;AACxB;QAEF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;AAAuD;AAEzD;AACA;IACF;AACA;AACA;AACE;AACE;MACF;AACE;AACA;AACE;AAAW;MAEf;AAAA;IAEF;AAAA;AAEE;AACE;AAAQ;AAER;AAAsB;AAEtB;AACE;;AAEA;AAAmB;AACvB;AAEE;AAAQ;AAER;AAA8C;AAE9C;AACE;AACA;QACF;AACE;AAAmB;AACvB;IAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAA6B;AAE7B;AACA;AACE;;AAEA;AAAkB;MAEtB;AAAA;AAEA;AACE;AACE;AAAiB;MAErB;AAAA;AAEA;AACA;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAyB;AAE3B;MACF;AAAA;AAEE;AAA+B;AAEjC;AACE;;AAEA;AAAU;AAEV;AACA;MACF;AAAA;AAEA;AACE;AAAyB;AAEzB;AAAiB;AAEjB;AAAsB;IAE1B;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;AAEA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACA;AACE;AACE;UACF;;AAEA;AAAqB;AACzB;AACF;AAEE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACA;AACE;;AAEA;AAAkB;AACtB;IAEF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAFK;AAIT;AACA;AACA;AACA;AACA;AACE;;AAEA;AAAsB;AAExB;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAS;AACb;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AAAsB;AAC1B;AAEE;SACG;AACH;;AAEA;AAAkD;AAElD;AACA;MACF;AAAA;AAEA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACA;AACE;AAAkB;AAElB;AACA;QACF;AAAA;IAEJ;AAAA;AAEE;AACA;AACE;AAAW;AAEX;AACE;AAAW;AAEX;AAAkB;AAEpB;AACA;AACA;AACE;AAAyB;MAE7B;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACE;AAA6B;MAEjC;AAAA;AAEA;AACE;AAAW;AAEb;AACA;AACE;AAA4B;AAE9B;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;YACF;UACF;AACE;UACF;AAAA;AACF;AACF;IAEF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AACA;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AAAc;AAClB;AAEE;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AAAgB;AACpB;MAEF;AACA;AACE;AACA;AACE;AAAkC;AAElC;AAAM;AAER;AACE;AACA;QACF;AAAA;AAEF;AACE;AACE;AACE;AACE;YACF;UACF;QACF;AAAA;AACF;AAEA;AACE;MACF;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AAEF;IACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AAAW;AAEX;SACG;AACH;SACG;AACH;AACE;;AAEA;AAAiC;MAErC;AACE;AACE;AACA;AACA;QACF;AACE;QACF;AACE;AACE;;AAEA;AAAmB;AAErB;AACI;AACF;AACA;AACA;AACE;;AAEA;AAAwB;AAExB;;AAEA;AAAY;UAEhB;AAAA;AACF;AACF;IAEF;AAAA;AAEE;AACA;AACE;AAAyD;AAEzD;AACA;AACE;AACE;AACA;AACA;UACF;AAAA;MAEJ;AAAA;AACF;AAEE;AACI;AACF;MACF;AAAA;AACF;AAEE;AACI;AACF;AACE;AAAQ;AACZ;IAEF;AAAA;AA7mBF;AACI;AAAa;AA8mBjB;AC/mBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAiE;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AAA4B;AAE9B;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;AACE;MACF;IACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACE;QACF;AACA;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;SACG;AACH;AAAgC;AAEhC;AAAkB;AAElB;SACG;AACH;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AAAwB;AAC5B;AAEF;AACE;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;AAAmB;AAErB;AACA;AACA;AACE;AAAsB;AAEtB;;AAEA;AAAuD;IAE3D;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;;AAEA;AAA6C;IAEjD;AAAA;AAEE;AACE;AACE;AACA;QACF;SACG;AACH;AACA;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;SACG;AACH;AACA;AACE;QACF;AAAA;AAEE;AACE;UACF;QACF;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AAA2B;AAE7B;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACE;AAAkC;AAEpC;AACE;AACE;AACA;UACF;AAAA;AAEF;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;UACF;AAAA;AACF;AAEE;;AAEA;AAAuB;AAC3B;IAEF;AAAA;AAEE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AACE;AACA;MACF;AAAA;AAEE;AAA2B;AAE3B;AACA;MACF;AAAA;AAEE;AAA4B;AAEhC;AACE;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACE;AACA;AACA;QACF;AACE;AAAwB;AAC5B;IAEF;AAAA;AAEE;AACA;AACA;AACE;AACE;;AAEA;AAAyB;AAC7B;IAEF;AAAA;AA1RF;AACI;AAAa;AA2RjB;AC5RA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;AACA;AACE;AAAc;IAElB;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAAqD;AAEzD;AACE;AACE;AAA0B;AAE5B;AACA;AACE;AAAqB;AAErB;AAAqB;AAEvB;AACE;AAA0B;IAE9B;AAAA;AAEE;AACE;AAAM;IAEV;AAAA;AAEE;AACI;AACF;MACF;AAAA;AACF;AA1CF;AACI;AAAa;AA2CjB;AC5CA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAuE;AAEzE;AACA;AACE;AAAiB;AAEjB;AAAM;AAER;AACA;AACE;MACF;AAAA;AACF;AAEE;AACE;AAA6B;AAE/B;AACA;AACA;AACA;AACA;AACE;AACE;AACE;UACF;;AAEA;AAAY;IAElB;AAAA;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AAA4B;AAChC;AAEF;AACE;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AAA+B;AAEjC;AACA;AACE;AAA6D;AAE7D;AAAiE;IAErE;AAAA;AAxFF;AACI;AAAa;AAyFjB;AC1FA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACE;AACE;MACF;AAAA;IAEF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAhEF;AACI;AAAa;AAiEjB;AClEA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD6C;ACA9D;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAA+B;EAEnC;AAAA;AAEE;EACF;AAbA;AACI;AAAa;AAajB;ACdA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AACjB;ACFA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AACF;AAEA;AACE;AACE;MACF;AAAA;AACF;AAEA;AACE;AACA;IACF;AAAA;AAEA;AACE;AACE;AAAM;AAER;IACF;AAAA;AAEE;AACE;AAAM;AAER;AACE;AAAc;AAClB;AAEE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEA;AACA;AACA;AACA;EACF;AAxEA;AACI;AAAa;AAwEjB;ACzEA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD+C;ACAhE;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AAAkF;ACDnG;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADkD;ACAnE;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACE;AACA;EACF;AACA;AACA;AACE;AACA;AAAY;AAEd;AACE;AACA;AACA;AACE;AACA;AACE;AAAQ;AAEV;AACE;AACI;AACJ;AACE;AACE;UACF;AACE;UACF;AAAA;AAEA;QACF;AAAA;AAEA;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACE;AAAuC;AAEvC;AAAmB;EAEvB;AACA;AACE;EACF;AACA;AACE;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACE;AACA;AACA;QACF;AAAA;AACa;AAEb;MACF;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACE;MACF;AACE;AAAgB;IAEpB;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEF;AACE;EACF;AApGA;AACI;AAAa;AAoGjB;ACrGA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AAAC;AAEC;AACA;AAEA;AACE;IACF;AAAA;AAEA;AAIA;AAEE;AAEa;AAAU;AAAS;AAAa;AAQ3C;AACA;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AAIA;AAEE;AACA;AACE;MACF;AAAA;AAGc;AAAI;AAAQ;AAAS;AAUjC;MACF;AAAA;IAEF;EAEF;AA7DA;AACI;AAAa;AA6DjB;AC9DA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADqC;ACAtD;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAa;AAEX;AACE;MACF;AAAa;AAEf;AACE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AAAQ;AAEV;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AAAM;IAEV;EACF;AACA;AACA;AACE;EACF;AACA;AACE;EACF;AACA;AACE;EACF;AACA;AACE;EACF;AACA;AACE;AACA;AACA;EACF;AACA;AACE;AACE;AAAiB;AAEnB;AACE;AACA;AACA;AACE;AACE;QACF;AAAA;AAEA;AAAqC;AACzC;AAEE;IACF;AACE;IACF;AACE;AACA;AACE;MACF;AAAA;IAEF;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACE;IACF;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEF;AACA;AACE;AACE;AAAY;EAEhB;AACA;AACE;AACA;AACE;AAAc;EAElB;AACA;AACE;EACF;AACA;AACE;AACE;AAAoB;AAEpB;AACE;AAAQ;AACZ;EAEF;AACA;AACE;AACE;AAAW;AAEX;AAAW;AAEX;AAAW;AAxJf;AACI;AAAa;AAyJjB;AC1JA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;EACF;AACE;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AAAA;AAEE;AAAW;AAEX;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AAAoD;AAEtD;AACE;AAAsB;IAE1B;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACA;AACA;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACE;AACA;AACE;AACE;AACA;AACA;cACF;AACE;cACF;AAAA;UAEJ;AAAa;AACf;MAEF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAqC;EAEzC;AAAA;AAtII;AAAa;AAuIjB;ACxIA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADmD;ACApE;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACE;AACE;AAAsB;AAC1B;AAEA;AACE;AACE;AAAW;AAEb;EACF;AAbA;AACI;AAAa;AAajB;ACdA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD8C;ACA/D;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AAAgF;ACDjG;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADiD;ACAlE;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEF;AACE;AACE;AACA;AACA;AACA;AACE;AACE;UACF;AACE;AACE;YACF;AACE;YACF;AACE;AACA;AACA;YACF;AAAA;AAEA;UACF;AAAA;AAEA;QACF;MACF;IACF;AAAA;AAEE;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AAA2C;AAE7C;AACE;QACF;AAAA;AAEE;QACF;AACA;AACA;AACE;AACA;AACE;UACF;AACA;AACA;AACE;UACF;QACF;MACF;IACF;AAAA;AAlFF;AACI;AAAa;AAmFjB;ACpFA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;AACA;AACE;MACF;AACA;AAAmC;EAEvC;AAVA;AACI;AAAa;AAUjB;ACXA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;EACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AAAmB;AAErB;AACE;AACA;AACA;AAAa;AAEf;AACA;AAAoC;AAEtC;AACE;AACE;AACA;AACE;AACA;AACA;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;EAEF;AAAA;AAEE;EACF;AAAA;AA9CI;AAAa;AA+CjB;AChDA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACJ;AACA;AACE;AACA;AACA;EACF;AAAA;AAEE;AACA;AACE;IACF;EACF;AACA;AACE;AACA;AACA;AACE;AACA;IACF;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AACE;IACF;AAAA;AAEF;AACE;EACF;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AAAA;EAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AAAA;EAEF;AACA;AACE;AACA;AACA;EACF;AACA;AACE;AACA;AACA;AACE;AACE;MACF;IACF;AAAA;AAEE;AACE;AACA;AAAiF;IAErF;EACF;AAAA;AAnFI;AAAa;AAoFjB;ACrFA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACJ;AACE;AACE;IACF;AACE;AACA;IACF;EACF;AACA;AACE;AACE;IACF;EACF;AACA;AACE;AACE;IACF;AACA;AACE;IACF;EACF;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AAEE;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;AAEA;QACF;AAAA;AACF;AAEE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AAAa;MAEjB;AAAA;AAEE;AACA;AACA;MACF;AAAA;EAEJ;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAnFI;AAAa;AAoFjB;ACrFA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACE;AACE;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACE;QACF;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEF;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;AACE;QACF;MACF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;QACF;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;MACF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEA;AACE;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;MAEF;AAAA;AAEE;AACE;AACA;AACA;AACA;QACF;AACE;QACF;AAAA;AACF;AAEA;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;AACE;AACA;AACE;UACF;QACF;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AAEA;AACA;MACF;AAAA;AAEA;AAA4C;AAE5C;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;QACF;AACE;AACA;QACF;AAAA;AACF;AAEE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;AACA;AACE;AACE;YACF;AAAA;AAEA;AACE;YACF;AACE;YACF;AAAA;AAEA;AACE;YACF;AAAA;AAEA;UACF;AACA;AACE;AACA;UACF;AAAA;MAEJ;AAAA;AAEE;AACE;QACF;AACE;QACF;AACE;AACE;UACF;AACE;UACF;QACF;AAAA;AACF;AAEE;AACE;QACF;AACE;AACE;UACF;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AACE;QACF;AAAA;AAEA;AACA;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AAEA;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;AACA;AACE;QACF;AAAA;AAEI;AACA;AACJ;AACE;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;MAEF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACE;QACF;AACE;AACA;QACF;AAAA;AACF;AAEE;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AACA;AACA;UACF;AACE;UACF;AAAA;AAEE;AACA;UACF;AAAA;AAEA;AACA;QACF;AAAA;AAEE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;AACE;UACF;AACE;UACF;QACF;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;QACF;AAAA;AAEA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;QACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEF;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACE;UACF;AACE;AACA;AACA;AACE;YACF;AAAA;AACF;AAEA;QACF;AAAA;AACF;AAEE;MACF;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEF;AACE;AACA;AACA;AACE;AACA;AACE;UACF;AACE;AACA;UACF;AACE;AACA;AACA;UACF;AACE;AACE;YACF;UACF;AAAA;AAEA;QACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AAEF;AACE;AACA;AACE;QACF;AACE;QACF;MACF;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AAA4C;AAE9C;AACE;AACE;QACF;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;EACF;AArgBA;AACI;AAAa;AAqgBjB;ACtgBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADoD;ACArE;;AAAA;AACI;AAAmB;AACnB;AAEJ;AAJA;AACI;AAAa;AAIjB;ACLA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACI;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACE;AACA;AAAgC;AAElC;AACE;AACA;AACA;QACF;AACE;AACA;QACF;MACF;AACE;MACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;IAEJ;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEE;AACE;AACA;UACF;AACE;UACF;AAAA;AACF;IAEJ;AAAA;AAEE;IACF;AAAA;AAxEF;AACI;AAAa;AAyEjB;AC1EA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;AACE;MACF;AACE;AACE;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;MAEJ;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;AACA;AACA;IACF;EACF;AAAA;AApDI;AAAa;AAqDjB;ACtDA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACI;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACE;QACF;AACE;AACA;AACA;AACE;UACF;AAAA;AAEE;AACA;AACA;AACA;AACE;YACF;AACE;YACF;AAAA;QAEJ;AAAA;AACF;AACF;AAEE;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;AAEnB;IACF;AAAA;AAEE;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AAEF;AACI;AACA;AACJ;AACE;AACA;AACE;QACF;AACE;QACF;AACE;QACF;AACE;AACA;AACA;AACA;AACA;AACE;UACF;AAAA;AACF;MAEF;IACF;AAAA;AAzGF;AACI;AAAa;AA0GjB;AC3GA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;IACF;AACA;AACE;AACE;AACE;AACE;UACF;QACF;AACE;AACE;UACF;QACF;AACA;MACF;AACE;MACF;AAAA;EAEJ;AAtBA;AACI;AAAa;AAsBjB;ACvBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD2C;ACA5D;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACA;AACA;AACA;AACA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACJ;AACE;AAAW;AAEb;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AACF;AAEA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AACF;AAEA;EACF;AACA;AACE;AACI;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;MACF;AAAA;AACF;EAEF;AACA;AA1DA;AACI;AAAa;AA0DjB;AC3DA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACE;IACF;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACA;AACE;AACA;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;IACF;AAAA;AACF;AAEE;AACE;AACI;AACA;AACJ;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEF;AACE;AACI;AACJ;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AAAA;AAEF;AACE;AACI;AACA;AACA;AACJ;AACE;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;IAEF;AAAA;AACF;AAEE;AACI;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;AACA;MACF;AAAA;AACF;AACF;AAEE;AACI;AACJ;AACA;AACE;IACF;AAAA;AAEE;AACE;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACE;IACF;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACI;AACJ;AACE;AACE;MACF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACA;QACF;AAAA;AAEA;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACJ;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;AAEA;AACA;AACE;QACF;AAAA;AAEA;MACF;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEE;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;EACF;AAAA;AAEE;AACI;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACE;AACA;QACF;AACE;QACF;AAAA;AAEA;AACA;AACA;MACF;AACE;MACF;AACE;AACA;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;MACF;AACE;AACA;AACA;AACE;QACF;AACE;AACA;QACF;AACE;AACA;AACA;AACE;AACA;AACE;YACF;AACE;YACF;AAAA;AACF;AAEA;QACF;AACE;QACF;AAAA;MAEF;AACE;AACA;AACA;MACF;AACE;MACF;AACE;AACA;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;IACF;AACE;AACA;AACA;IACF;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;MACF;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;AACA;AACA;QACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;AAEA;AACA;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;AACE;QACF;AACE;AACA;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;AACF;AAEE;AACE;MACF;AACA;AACE;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACE;QACF;AACE;AACE;UACF;AAAA;AACF;MAEF;AAAA;AAEE;AACE;AACA;QACF;AACE;AACA;QACF;AACE;AACE;UACF;AAAA;AAEA;QACF;AAAA;AAEA;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACE;AACA;AACA;QACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACE;AACE;AACA;UACF;AAAA;AAEA;AACA;QACF;AACE;AACA;QACF;AACE;QACF;AAAA;AAEA;MACF;AACE;AACE;AACA;AACE;UACF;AAAA;AAEE;AACA;AACE;YACF;AAAA;AAEE;AACA;YACF;AAAA;AAEA;AACA;AACA;AACA;UACF;AACE;UACF;AACE;AACA;AACA;UACF;AAAA;AAEA;QACF;AACE;AACA;AACA;QACF;AAAA;AAEA;MACF;AAAA;AAEE;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEE;AACA;QACF;AAAA;AAEA;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;AACA;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AAAY;AAEZ;IACF;AAAA;AAEA;AACE;AACA;IACF;AACE;AACA;AACA;IACF;AACE;IACF;AAAA;AAEA;AACE;AACE;MACF;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEA;AACE;AACE;AACE;AACA;AACE;YACF;AAAA;AAEA;UACF;AACE;UACF;AAAA;AACF;MAEF;AAAA;AAEA;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;IACF;AACE;IACF;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACJ;AACA;AACE;AAAY;AAEZ;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACJ;AACA;AACE;AAAY;AAEd;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AACE;AACA;AACA;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;AAEA;QACF;AAAA;AACF;AACF;AAEE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AAAA;AAEA;AACE;AACE;QACF;AACE;AACE;UACF;AACE;AACA;AACE;YACF;AAAA;AAEA;AACA;AACE;YACF;AAAA;AACF;AAEE;UACF;AAAA;AACF;AAEA;MACF;AAAA;AACF;AAEE;AACE;AACE;AACA;AACE;AACA;AACA;AACE;YACF;AAAA;UAEF;AAAA;AACF;AAEA;AACA;AACE;QACF;AAAA;AAEE;QACF;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEE;AACE;UACF;AACA;QACF;AAAA;AAEE;AAAK;AAEP;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AAAoB;AAEpB;MACF;AACE;MACF;AAAA;AACF;AAEA;AACE;AACA;IACF;AACE;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAEA;AACE;AACE;AACA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AACF;AAEA;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACJ;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEA;AACA;AACA;AAloCA;AACI;AAAa;AAkoCjB;ACnoCA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AAAS;AAEX;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACJ;AACA;AACE;AACA;IACF;AACE;AACA;IACF;AACE;AACA;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AAEE;AAAa;IAEjB;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACI;AACA;AACJ;AACE;AACA;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEI;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACE;AACA;AACE;AACA;UACF;AAAA;AAEA;QACF;AAAA;MAEF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AAEE;AACE;AAAa;AAEb;AAA6C;AAE7C;AAAgG;AAEhG;AAAuH;AAEvH;AAAkD;AAElD;AADK;IAGX;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACA;AACA;AACA;AACE;AACI;AACJ;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACE;AAAW;AAEb;AACA;AACI;AACA;AACA;AACJ;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AAAA;AAEA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACE;AACE;AACE;AAAe;MAEnB;AAAA;AACF;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACE;AACE;AACE;QACF;AAAA;MAEF;AAAA;AACF;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AAAkB;AAEpB;AACA;AACE;MACF;AAAA;AAEE;AAAkB;AAEpB;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;AAEE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;QAEF;AAAA;MAEF;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEI;AACA;AACJ;AACE;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AACE;AACE;MACF;AAAA;AAEE;AACE;AACA;AACE;UACF;AAAA;AAEA;AACA;AACE;UACF;AAAA;AACF;AAEA;AACE;AACA;AACE;UACF;AAAA;AAEA;AACA;AACE;UACF;AAAA;AACF;AAEA;AACE;QACF;AAAA;AAEA;AACE;AAAY;MAEhB;AAAA;AAEE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACJ;AACE;AACA;AACE;AACE;QACF;AAAA;AAEA;AACA;AACE;AACE;UACF;AAAA;AAEA;AACA;AACE;UACF;AAAA;AACF;AACF;AACF;AACF;AAEE;AACA;AACA;AACE;AAAoC;AAEpC;AAAwB;EAE5B;AAAA;AAEE;EACF;AAAA;AAEA;AA7iBA;AACI;AAAa;AA6iBjB;AC9iBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AAEF;IACF;AACA;AACE;IACF;EACF;AAAA;AAEE;AACI;AACA;AACJ;AACE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACE;MACF;AAAA;AAEF;AACA;AACA;EACF;AAAA;AAEA;AACE;AACI;AACJ;AACE;AACE;AACA;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AADK;AAGT;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;IACF;AACE;IACF;AAAA;AAEE;AACA;AAAc;EAElB;AACA;AAhFA;AACI;AAAa;AAgFjB;ACjFA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACA;AACE;IACF;AAAA;AAPF;AACI;AAAa;AAQjB;ACTA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACA;AACE;IACF;AAAA;AAPF;AACI;AAAa;AAQjB;ACTA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACA;AACE;IACF;AAAA;AAPF;AACI;AAAa;AAQjB;ACTA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AAHA;AACI;AAAa;AAGjB;ACJA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACE;AAAW;AAEb;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEF;AAAwB;AAlC1B;AACI;AAAa;AAmCjB;ACpCA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACE;AAAY;AAEd;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEF;AAAwB;AA/B1B;AACI;AAAa;AAgCjB;ACjCA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AAAY;AAEV;AACA;AACA;AACJ;AACE;AAAY;AAEd;AACE;IACF;AAAA;AAEE;AACE;AAAW;AAEb;AACE;AACA;AACE;AACA;AACE;AAAQ;AAER;AAAY;QAEhB;AAAA;MAEF;AAAA;AAEE;AACA;AACE;AACA;AACE;AAAQ;AAER;AAAY;QAEhB;AAAA;MAEF;AAAA;AAEE;AACA;AACE;AAAQ;AAER;AAAY;MAEhB;AAAA;IAEF;AAAA;AAEE;AACA;AACE;AAAQ;AAER;AAAK;AAEL;MACF;AAAA;IAEF;AAAA;AAEE;AAAY;AAEZ;AAAW;EAEf;AAAA;AAEE;AACI;AACA;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACE;AAAS;AAEX;IACF;AAAA;AAEE;AAAQ;AAER;AACE;AAAyC;AAEzC;AAAiC;IAErC;AAAA;AAEE;AACE;MACF;AACA;AACA;AACA;AACE;AACA;MACF;AACA;IACF;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEF;AACA;AACE;AACA;AACA;AACA;AAAuB;AACzB;AApJF;AACI;AAAa;AAqJjB;ACtJA;;AAAA;AACI;AAAmB;AACnB;AAEJ;AACE;EACF;AAAA;AAIE;EACF;AAAA;AAIE;AAA6B;OACxB;AAAyB;AAAS;EAGzC;AAAA;AAIE;AAAW;AAAQ;AAAK;AAExB;AACE;AAEA;AACE;AACA;MACF;AAAA;AACF;EAGF;AAAA;AAIE;AAAiB;AAEjB;AACE;IACF;AAAA;EAGF;AAAA;AAIE;EACF;AAAA;AAIA;AACA;AACA;AACA;AACA;AA3DA;AACI;AAAa;AA2DjB;AC5DA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACE;AACE;AAAY;AAEZ;AAAY;EAEhB;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AACE;IACF;AACE;AACE;MACF;AACA;AACA;AACA;AACE;AACA;MACF;AACA;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACA;AACE;AACE;AACE;AAAa;AAEb;AAAa;AAEb;AAAa;IAEnB;AACE;AACE;AACE;AAAa;AAEb;AAAa;AAEb;AAAa;IAEnB;AACE;AACE;AACE;AAAc;AAEd;AAAc;AAEd;AAAc;IAEpB;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AAAwB;AAtF1B;AACI;AAAa;AAuFjB;ACxFA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACA;AAA6G;AAL/G;AACI;AAAa;AAMjB;ACPA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AAHA;AACI;AAAa;AAGjB;ACJA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACE;AACE;AAAY;AAEZ;AAAW;AAEX;AAAW;EAEf;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AAAwC;AAExC;AAAqC;AAEvC;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAc;AAClB;AAEA;AACE;AAAoC;EAExC;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAAgC;AApElC;AACI;AAAa;AAqEjB;ACtEA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;EACF;AAAA;AAEE;AACA;AAAwB;AAR1B;AACI;AAAa;AASjB;ACVA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACE;AACA;IACF;AAAc;AAEd;AACA;AACE;AACE;AAAY;AAEV;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AAAQ;AAER;AAAY;MAEhB;AAAA;IAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACE;AACA;AACA;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACA;MACF;AACE;AACA;MACF;AACE;MACF;AAAA;AAEE;AAA6B;IAEjC;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACE;AACA;AACA;AACA;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACA;AACA;MACF;AACE;AACA;AACA;AACA;MACF;AACE;AACA;AACA;AACA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAA6B;EAEjC;AAxGA;AACI;AAAa;AAwGjB;ACzGA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACA;AACE;AACE;AAAW;AAET;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACE;AAAY;AAEZ;AACE;AACE;;AAEA;AAAY;AAChB;AACF;AAEE;AAAY;AAEZ;;AAEA;AAAY;AAChB;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AAA2B;AA3C7B;AACI;AAAa;AA4CjB;AC7CA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACE;AACE;AAAW;AAET;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACE;AAAY;AAEd;AACE;AAAY;IAEhB;AAAA;EAEF;AAAA;AAEE;AACE;AAAS;AAEP;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AAA4B;AA7C9B;AACI;AAAa;AA8CjB;AC/CA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACE;AACE;AAAW;AAET;AACJ;AACE;AACE;AACE;AAAY;AAChB;AACF;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AAA0B;AAvB5B;AACI;AAAa;AAwBjB;ACzBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACA;AACA;AAA+G;AANjH;AACI;AAAa;AAOjB;ACRA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAA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AAAA;EAGF;AAGA;AA1CA;AACI;AAAa;AA0CjB;AC3CA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACE;AACE;IACF;EACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA7BA;AACI;AAAa;AA6BjB;AC9BA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AAHA;AACI;AAAa;AAGjB;ACJA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADkC;ACAnD;;AAAA;AACI;AAAmB;AACnB;AACJ;AACI;AAKJ;AAQE;AACE;AACE;MACF;AAEE;AACE;QACF;AAGE;QACF;AAAA;AACF;AAWF;AACE;AACE;AACA;MACF;AAEE;AACE;QACF;AAGE;QACF;AAAA;AACF;AACF;AAtDF;AACI;AAAa;AAuDjB;ACxDA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACE;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEA;AACE;AACE;QACF;AACE;AACA;QACF;AAAA;AAEA;MACF;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACE;MACF;AACE;MACF;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AACE;MACF;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AACE;MACF;IACF;AACA;AACE;AACI;AACA;AACA;AACJ;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;QACF;AACE;AACA;QACF;AAAA;AAEA;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;AACA;AACA;AAAiB;IAErB;AAAA;AArIF;AACI;AAAa;AAsIjB;ACvIA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADwD;ACAzE;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;IACF;AACA;AACE;AACE;AACA;AACE;AACE;UACF;AAAA;AAEF;AACE;AACE;UACF;AAAA;AAEF;MACF;AACE;MACF;AAAA;EAEJ;AAhEA;AACI;AAAa;AAgEjB;ACjEA;AAAA;AACI;AAAmB;AACnB;AADJ;AAEA;AAAC;AACA;AAEC;AAID;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACC;AACA;AAEC;AAAQ;AAGR;AAAQ;AAER;AAAQ;AAER;AAA6B;AAE7B;AAAkB;AAElB;AAAuB;AACzB;AAGC;AAAO;AAAG;AAAG;AAAK;AAAc;AAEhC;AACC;MACD;AAAA;AAQA;AAGA;AAGA;AAEA;AAEA;AACC;MACD;AAAA;AAGC;AACA;AACA;AACA;MACD;AAAA;AAGC;AACA;MACD;AACC;AACA;AACA;MACD;AAAA;IAGD;AAAA;AAGC;AACC;AACA;AACA;AAAM;AAEP;AACC;MACD;AAAA;AAGC;MACD;AAAA;AAIC;AACA;MACD;AAAA;AAIC;AACC;AACA;AACA;AACA;AACA;AAAI;AAEJ;AACA;AACA;AACA;AACA;AACA;AAAI;AAGN;IACD;AAAA;AAGA;EACD;AA5HA;AACI;AAAa;AA4HjB;AC7HA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADyC;ACA1D;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AAAO;AACP;AACA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E;IACF;AAAA;EAEF;AAEA;AACE;AACA;AACA;AAAe;AAAgD;AAE7D;AACA;IACF;AACE;IACF;AAAA;EAEF;AAEA;AACE;AACA;AACA;AAAe;AAAwD;AAErE;AACA;AACA;AACA;IACF;AACE;IACF;AAAA;EAEF;AAEA;AACE;AACA;AACA;AAAe;AAAwD;AACxD;AAA6B;AAE1C;AACA;AACA;AACA;IACF;AACE;IACF;AAAA;EAEF;AAEA;AACE;AAAgC;AAA6C;AAC9C;AAAyC;AACxD;AAAyC;AAC3D;AAGE;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAGE;EACF;AAEA;AACE;EACF;AAEA;AACE;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAGE;EACF;AAEA;AACE;EACF;AAGA;AACE;AAAY;AAAQ;AACG;AAAgB;AACL;AAA0B;AAC1C;AAAc;AACJ;AAAU;AAGnB;AAAO;AACoB;AAAO;AAInD;IACF;AAAA;AACuC;AAAgD;AAC1E;AAA8C;AAGpC;AAAgB;AAErC;IACF;AAAA;AAGA;AAEA;AAEE;AACE;MACF;AAAA;AAGA;AACE;MACF;AAAA;AAEA;IACF;AAAA;EAGF;AAGA;AACE;AAAY;AAAQ;AACR;AAAQ;AACV;AAAgB;AAET;AAAkC;AAGhC;AAAK;AACD;AAAK;AAEW;AAA0C;AAC/C;AAAwC;AAG1E;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AACF;EAGF;AAMA;AACE;AACE;AACE;MACF;AACE;AACA;AAAgB;AACd;QACF;AAAA;MAEF;AAAA;AAEA;IACF;AAAA;AAMF;AAKA;AACE;AACA;AAGA;AAGA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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A;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACE;QACF;AACE;AACA;AACE;UACF;AACE;AACA;AACA;UACF;AAAA;QAEF;AAAA;AACF;AACF;AAEE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;AA9GF;AACI;AAAa;AA+GjB;AChHA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;EAIF;AANA;AACI;AAAa;AAKjB;ACNA;AAAA;AACI;AAAmB;AACnB;AADJ;AAEE;AACE;AACA;AAEI;AACA;AACA;AACA;AAAiB;IAGvB;EACF;AAEE;AACE;AACA;AACA;AACA;AACA;IACF;EACF;AAAA;AAtBI;AAAa;AAuBjB;ACxBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADiD;ACAlE;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACA;AACA;AACE;AACE;AAAU;AAEV;AAAQ;AAER;AACE;AAAwB;AAExB;AAAwB;AAExB;AACE;YACF;AACE;YACF;AAAA;AAEA;AADK;MAGX;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;AACE;QACF;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACE;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;QAEF;AAAA;MAEF;AAAA;IAEF;AACA;AACA;AACA;AACE;AACE;AAA2C;AAE7C;AACE;AACE;AACA;AACE;AACA;UACF;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;AACA;AAAsB;AAExB;AACE;AAAwB;AAExB;AAAyB;AAEzB;MACF;AACE;MACF;AAAA;AAEE;AAAsB;AAEtB;AAAa;AAEb;AAAkB;AAElB;AAAwB;AAExB;AAA8B;IAElC;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAc;AAEhB;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;AACA;AACE;MACF;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;AACA;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AACF;AAEI;AACA;AACJ;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEA;AACA;AACE;MACF;AACE;AACE;QACF;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACE;AAA4C;AAE5C;AACA;MACF;AAAA;AAEE;AAAwC;AAExC;AAAyC;AAEzC;AAAkC;AACtC;AAEE;IACF;AAAA;AAEE;AACA;AACI;AACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AAEF;IACF;AAAA;AAEE;AACI;AACA;AACJ;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEE;AACE;AACE;UACF;AACE;UACF;AAAA;AAEE;AACE;AACE;cACF;YACF;AACE;AACE;cACF;YACF;AAAA;AACF;AAEA;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AAEA;AACE;AACA;QACF;AACE;AACA;QACF;AAAA;AACF;IAEF;AAAA;AAEE;AACA;AACE;AACA;AACE;AAAa;MAEjB;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACA;AACE;AACE;AAAa;AAEf;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AAAA;AAtaF;AACI;AAAa;AAuajB;ACxaA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADkC;ACAnD;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AAAmE;ACDpF;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADgD;ACAjE;;AAAA;AACI;AAAmB;AACnB;AAMJ;AACI;AACA;AAKJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAQA;AAQE;AACE;AACA;AAEA;AACE;AACA;MACF;AAEE;MACF;AAEE;MACF;AAAA;AAGE;AACA;MACF;AAAA;AAIE;MACF;AAAA;AAOA;AACA;AACA;AAEA;IACF;EACF;AAAA;AASE;AACE;AACA;IACF;AAAA;AACF;AAQE;AAGA;EACF;AAAA;AAUE;AACE;AACA;AACE;AAGA;AACE;QACF;AAAA;AAGE;QACF;AAGA;AACF;AACF;AACF;AAUE;AAGA;AAGA;AAEA;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AACF;EAGF;AAAA;AASE;EACF;AAAA;AAME;AACE;IACF;AAEE;AACA;AACE;MACF;AAAA;AACF;AACF;AAOE;EAOF;AAOA;AACE;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;EAEF;AA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ACF;AAEE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAWE;AAA0B;AAA+B;EAE3D;AAAA;AAnMI;AAAa;AAoMjB;ACrMA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AACA;AACE;AACA;AACA;AACA;AACE;AAAW;AAEb;AACA;AACA;AACA;AACE;AACE;AAAM;AAER;AACE;MACF;AAAA;AAEF;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AACE;MACF;AACE;MACF;AAAA;AACW;AACf;AAEE;AACA;AACE;IACF;AAAa;EAEf;AAAA;AAEA;AACE;AACE;IACF;AAAa;AACf;AA3DI;AAAa;AA4DjB;AC7DA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADqC;ACAtD;;AAAA;AACI;AAAmB;AACnB;AACJ;AAOA;AAVA;AACI;AAAa;AAUjB;ACXA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AAA+B;AAEjC;AACA;AACA;AACA;AACJ;AACE;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AACA;AACA;AACE;AACA;QACF;AAAA;AAEA;AACA;AACA;MACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AACA;AACE;YACF;AACE;AACA;YACF;AAAA;AAEA;UACF;AAAA;AACF;MAEF;AAAA;AAEE;AACE;AACA;AACE;AACA;AACA;UACF;AAAA;AAEA;QACF;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;MAEF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;QACF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;AACE;YACF;AAAA;AAEA;AACE;YACF;AAAA;AAEA;AACA;AACE;YACF;AAAA;AAEA;AACE;YACF;AAAA;UAEF;AAAA;AAEA;AACA;AACE;UACF;AAAA;AAEA;AACA;QACF;AAAA;MAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;AACE;QACF;AAAA;AAEE;AACE;AACA;AACE;YACF;AAAA;AACF;AAEA;AACE;UACF;AAAA;AAEA;AACA;AACE;AACA;AACE;YACF;AAAA;AAEE;AACE;AACA;AACE;gBACF;AAAA;AAEA;AACA;AACA;cACF;AAAA;AAEA;AACA;AACA;YACF;AAAA;AACF;AAEA;QACF;AAAA;MAEF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEE;AACA;AACE;AACA;AAAmB;AAErB;AACA;AACA;AACA;AAAqB;AAEvB;AACE;AACE;QACF;MACF;AACE;AACE;QACF;AACE;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;EAEJ;AAxRA;AACI;AAAa;AAwRjB;ACzRA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADyC;ACA1D;;AAAA;AACI;AAAmB;AACnB;AAwBJ;AACE;EACF;AAAA;AAGE;AACA;AACA;AAEA;AACE;IACF;AAAA;AAGA;AAEA;AACA;AACE;IACF;AAAA;AAIA;AACE;IACF;AAAA;AAGE;AACI;AACA;AAAM;AAAM;AAAG;AAEnB;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AAGA;AAEA;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AACF;EAGF;AA/EA;AACI;AAAa;AA+EjB;AChFA;;AAAA;AACI;AAAmB;AACnB;AAqBJ;AACE;AACE;AACE;AAAQ;AAGR;AAA2B;AAG3B;AAA2B;AAG3B;AADK;EAGX;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;AAGE;AACE;AACA;AACE;AACE;UACF;QACF;AACE;QACF;AAAA;IAGJ;AAAA;AAEW;AAAS;EAGtB;AA/DA;AACI;AAAa;AA+DjB;AChEA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AAHA;AACI;AAAa;AAGjB;ACJA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADsC;ACAvD;AAAA;AACI;AAAmB;AACnB;AAmBJ;AAEA;AACA;AACA;AACA;AAEA;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AAAA;AAOI;AAIA;AAGA;AAGA;AAKA;AACA;AACA;AACA;AACA;AAEA;AACE;AACA;AAAkB;AAGpB;AACE;AACA;AAAkB;AAGpB;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAY;AAEd;AAEJ;AACE;AAAgD;AAAU;AAG1D;AACA;EACF;AAAA;AAGE;AACE;IACF;AAAA;AAMA;AAEA;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAOE;AACA;AACE;AACA;MACF;AAAA;AACF;AAqBE;AACA;AACE;AACA;AACE;AAAa;AACjB;AAIU;AACV;AAEE;MACF;AAGE;MACF;AAAA;AAKE;AACA;AACA;MACF;AAAA;AAIA;AACE;AACA;AACE;AAAa;AACjB;AAGE;AAAqB;AAGvB;AAGA;AAIA;AAIA;AAIA;AACE;AACA;AAAgB;AACd;AACA;AAAW;AAAQ;AAEjB;AACA;AAAgB;AACd;AAIE;cACF;AACE;cACF;AAAA;AACF;AAGE;AACA;AACA;AACA;AACE;AACA;cACF;AAAA;AAEE;cACF;AAAA;AAEA;YACF;AAAA;AACF;AACF;AACF;AAGE;MACF;AAEE;MACF;AAAA;AAOE;AACA;AACA;AACE;AACA;QAEF;AAAA;MAEF;AAAA;AAGA;AACA;AACA;AAIA;AACE;AACA;AACE;QACF;AAAA;AACF;AACF;AASE;AAAgB;AACd;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AACF;AAKA;AAEE;AACA;IACF;AAAA;AAEA;AACE;AACA;AACA;AACE;MACF;AAAA;IAEF;AAEE;AACA;IACF;AAAA;AACU;AAAoB;AAG5B;IACF;AAAA;AAIE;AACA;AACA;IACF;AAAA;AAIA;EACF;AAGA;AAKE;AAAmB;AAAmB;AACX;AAAqC;EAElE;AAAA;AAGE;AACA;AACE;AACA;AACA;IACF;AAAA;AAGI;AACA;AACA;AACA;AAEJ;AACE;IACF;AACE;AAGA;AACE;MACF;AAAA;AACF;AAKE;IACF;AAAA;AAIA;AAA6C;AAAe;AAM1D;AACA;AAA4C;AAAyB;AAErE;IACF;AAAA;AAEoC;AAAiB;AACb;AAAqB;AAG3D;IACF;AACA;AAEA;EACF;AAEA;AACE;EACF;AAAA;AAGE;EACF;AAEA;AACE;AAAa;AAAe;EAE9B;AAAA;AAGE;AACE;AACA;AACA;IACF;AAAA;AAGA;AACE;IACF;AAIA;AAGA;AACE;AACA;IACF;AAAA;AAKE;AACE;AACE;AAAuB;AAI3B;AAEE;MACF;AAAA;AAGA;IACF;AAAA;AAWE;AACE;AACE;QACF;AACA;AACA;MACF;AAAA;AAGA;AACE;AACA;AAA4D;AAAA;AACxC;AAAkB;AACd;AAAsB;AACvB;AAAmB;AAClB;AAAmB;MAE7C;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAGI;AAIA;AAEA;AACA;AACA;AACA;AAOJ;AACE;AACA;AACA;AACE;AAAuB;;AAClB;AAA4B;AACnC;AAEA;AACE;AACA;AACA;AACE;AAAuB;;AAClB;AAA8B;AACrC;MAEF;AAAA;IAEF;AAAA;AAIE;AAEA;AAEA;AACA;AACA;IAEF;AAGE;AAAc;AAAY;AAE1B;AACA;AACA;IACF;AAIE;AACE;AAIA;AAEA;AACE;AACA;QACF;AAAA;AACF;AAEA;AAEA;AACE;MAEF;AAAA;AAEA;IACF;AAAA;AAKE;AAEA;AACE;MACF;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAMA;AAMA;AACA;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AACF;AAIE;AACE;MACF;AAAA;AACF;AAIE;IACF;AAAA;AAGE;IACF;AAAA;AAMA;AACE;AAKA;AAEA;AACE;AACA;MACF;AAAA;AACF;AAIA;AACE;IACF;AAAA;AAGE;AACA;IACF;AACE;IACF;AAAA;AAIE;IAEF;AAAA;AAEA;AACA;AACA;EACF;AAEA;AACE;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AACU;AAAoB;AAGhC;AACE;EACF;AAAA;AAGE;EACF;AAAA;AAGE;EACF;AAAA;AAEE;EACF;AAAA;AAjsBI;AAAa;AAksBjB;ACnsBA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADgC;ACAjD;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AAAiE;ACDlF;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AAD+C;ACAhE;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACI;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AAEE;QACF;AACE;AACA;QACF;AAAA;AACF;AAEE;MACF;AAAA;IAEF;EACF;AAvFA;AACI;AAAa;AAuFjB;ACxFA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;AACA;EACF;AAAA;AAEE;AACA;AACE;AACA;AAAc;AAEhB;AACE;AACA;AACE;AACA;AACA;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;UACF;AACE;AACE;AACA;AACA;YACF;AACE;YACF;AAAA;AACF;QAEF;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AAAuB;EAE3B;AAAA;AAEE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAjFI;AAAa;AAkFjB;ACnFA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;EACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;IACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;AACE;IACF;EACF;AACA;AACE;AACA;AACA;EACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AACF;AAEE;MACF;AAAA;IAEF;AACE;IACF;EACF;AACA;AACE;AACI;AACA;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEE;AACA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AACA;AACA;AAAiB;EAErB;AAAA;AA3GI;AAAa;AA4GjB;AC7GA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADuD;ACAxE;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AACjB;ACFA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACJ;AACE;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AAAiC;AAEnC;IACF;EACF;AAfA;AACI;AAAa;AAejB;AChBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACA;EACF;AACE;AACI;AACA;AACJ;AACE;AACE;AACA;AAAS;AACV;AAEH;AACA;AACE;AACA;AAAU;EAEd;AArBA;AACI;AAAa;AAqBjB;ACtBA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AAAyB;ACD1C;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACJ;AACE;AACA;AACA;EACF;AACE;AACI;AACA;AACJ;AACE;AACA;IACF;AAAA;AAEE;AAAqB;AAErB;AAAwB;EAE5B;AACA;AACA;AACA;AACA;AA3BA;AACI;AAAa;AA2BjB;AC5BA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AAHA;AACI;AAAa;AAGjB;ACJA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AAAI;ACDrB;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACJ;AACE;EACF;AACA;AACE;AACA;EACF;AAZA;AACI;AAAa;AAYjB;ACbA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;EACF;AACA;AACE;AACA;AACE;AACE;AAAkB;AAElB;AACE;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAEL;AACE;MACF;IACF;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACE;AAA6C;AAE7C;AACA;AACE;QACF;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEA;AACA;AACE;AACE;AACA;AACA;AAAqD;AAEvD;AACE;AACE;AACE;AAAkC;AACtC;AAEA;AAAqE;AACzE;EAEF;AA9EA;AACI;AAAa;AA8EjB;AC/EA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AAAQ;AAAc;AAAW;EACnC;AAHA;AACI;AAAa;AAEhB;ACHD;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACJ;AACE;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;AACA;AAdN;AACI;AAAa;AAejB;AChBA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACE;AAA4E;AAE5E;AACE;AAAU;AAEV;AAAU;IAEd;AAAA;EAEF;AACA;AACE;AACI;AACJ;AACE;AAAqB;AAErB;AACE;AAAY;AAChB;AAEF;AACE;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AAA0C;AAE9C;AACE;AACE;AACI;AACA;AACF;AACA;AACE;AAA+B;UAEnC;AAAA;AAEA;QACF;AACA;AACE;AACI;AACJ;AACE;AACI;AACJ;AACA;AACA;AACE;AAAa;AAEb;AAAa;AAEb;AAAc;AAEd;AAAc;UAElB;AAAA;QAEF;AACA;AACE;AACI;AACJ;AACE;AACA;AACE;AAAe;AACnB;AAEF;AACE;QACF;AAAA;AAEF;AACE;AACI;UACF;AAAG;IAET;AACA;AACE;AACI;AACA;AACJ;AACE;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AAAO;AAET;AACE;AAAe;AAEf;AAAc;AAEhB;AACE;AAAsB;AAC1B;IAEF;AACA;AACA;AACE;AACE;AACA;AACA;MACF;AACE;AACI;AACA;AACJ;AACE;AAAe;AAEf;AACA;QACF;AAAA;AAEE;AAAuB;AAEvB;AAAuB;MAE3B;AACA;IACF;AAAA;AAxJF;AACI;AAAa;AAyJjB;AC1JA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACE;AACA;AACA;AACA;AAAkB;EAEtB;AARA;AACI;AAAa;AAOhB;ACRD;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACJ;AACE;EACF;AACE;AACA;EACF;AARA;AACI;AAAa;AAQjB;ACTA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AACjB;ACFA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACE;AACE;AAA+B;EAEnC;AANA;AACI;AAAa;AAMjB;ACPA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AAAgC;AAAmD;EAErF;AAJA;AACI;AAAa;AAGhB;ACJD;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACE;EACF;AAJA;AACI;AAAa;AAGhB;ACJD;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACJ;AACE;AACE;AACE;AACA;AAAS;AACT;AATN;AACI;AAAa;AAUjB;ACXA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACI;MACF;EACJ;AALA;AACI;AAAa;AAKjB;ACNA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;IACF;AACE;AACA;IACF;AACE;AACE;AACA;AACA;AACE;AAA8C;AAElD;AACE;AACA;AACE;AACE;AACE;AAAuC;AAEzC;UACF;AAAE;AAEN;AACE;AACI;UACF;AAAG;AACT;AAEA;AACA;AACA;AACE;AAAiC;EAErC;AApDA;AACI;AAAa;AAoDjB;ACrDA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACE;AACE;IACF;EACF;AACI;IACF;AATF;AACI;AAAa;AASjB;ACVA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACE;AACE;IACF;AACE;AACA;AACE;AAA4B;IAEhC;AAAA;AAVF;AACI;AAAa;AAWjB;ACZA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACJ;AACE;EACF;AANA;AACI;AAAa;AAMjB;ACPA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACJ;AACE;EACF;AALA;AACI;AAAa;AAIhB;ACLD;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACJ;AACE;EACF;AALA;AACI;AAAa;AAKjB;ACNA;AAAA;AACI;AAAmB;AACnB;AADJ;AADA;AACI;AAAa;AAAE;ACDnB;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACJ;AACE;AACE;AAAiE;AANrE;AACI;AAAa;AAOjB;ACRA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AAA+C;AAE/C;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAvBJ;AACI;AAAa;AAwBjB;ACzBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACJ;AACE;EACF;AANA;AACI;AAAa;AAMjB;ACPA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACJ;AACE;EACF;AALA;AACI;AAAa;AAIhB;ACLD;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACJ;AACE;EACF;AANA;AACI;AAAa;AAMjB;ACPA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACE;MACF;AACJ;AACE;AACI;AACA;AACJ;EACF;AAXA;AACI;AAAa;AAWjB;ACZA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACJ;AACE;AACE;AACE;AAA+C;AAEjD;AACA;IACF;EACF;AAXA;AACI;AAAa;AAWjB;ACZA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AAFA;AACI;AAAa;AAEjB;ACHA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACA;AACA;AACA;AACA;AANA;AACI;AAAa;AAMjB;ACPA;AAAA;AACI;AAAmB;AACnB;AADJ;AAAmB;A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ACA;AAEA;AACC;AAEA;AACC;AACC;cACD;AAAA;AACD;UAGD;AAAA;AAIA;AAEC;AAEC;AAEC;AAEC;AACC;kBACD;AAAA;AACD;AACD;YAGD;AAAA;AACD;AAIC;AACC;YACD;AAAA;AAGD;QACD;AAGA;AACC;AACC;AACC;AAEA;AACC;cACD;AAEC;cACD;AAAA;AACD;AACD;AACD;AAED;AAEA;AACC;AAEA;AAAc;AACb;QACD;AAAA;AAGD;AAEC;AAAc;AAAS;AAEvB;AACC;QACD;AAAA;AAGC;AACA;QACD;AAAA;AAMA;AAEA;AACC;QACD;AAAA;AAIA;AACC;AACA;AACA;AACA;AAAS;AAGV;AACC;AACA;QACD;AAAA;AAIA;AACC;AAEA;AACC;AAEA;AAEA;AAEA;AACA;AACA;UACD;AAEA;AACC;AACA;AACA;AAAmB;QAErB;AAEC;AAEA;AAEA;AAEA;AAEA;AACA;QACD;AAAA;AAGD;AACC;AACA;MACD;AAEA;AACC;AAEA;AAEA;AAEA;AACC;AACC;UACD;AAAA;QAGD;AAAA;AAGC;AACC;UACD;AAAA;AAGA;AAEA;AACC;AACC;AACA;AACA;AACA;AAED;AAEA;AAEC;AAEA;AAEC;cACD;AAAA;AAGC;cACD;AAAA;AAIA;AAEA;AACC;AACC;gBACD;AAAA;AAGC;AACA;AACA;AACA;AACA;AAED;AAEA;AACC;gBACD;AAAA;AAIA;AAEA;AACC;gBACD;AAAA;cAGD;AAAA;AACD;AACD;AACD;MAGD;AAEA;AACC;AAEA;AACC;AAEA;AAEA;QACD;AAEA;AACC;AAEA;AACC;UACD;AAAA;AAEc;AACb;UACD;AAAA;AACD;AACD;AAGD;AACC;AACA;AACA;IACD;AAEA;AACC;AACC;MACD;AAAA;AAGC;AACC;QACD;MACD;AAAA;AAGC;AACA;AACA;AACA;AACA;AACA;AACA;AAAa;AAGd;AACC;MACD;AAAA;AAGC;AACA;MACD;AAAA;AAIA;AAEA;AACC;MACD;AAAA;IAID;AAEA;AACC;AAEC;MACD;AAAA;AAGC;AACI;AACA;AACA;AAEJ;AACA;AACC;QACD;AAAA;AAGD;IACD;AAAA;AAKA;AAEA;AACC;AAEA;AACC;MACD;AAAA;AACD;EAIA;AAEA;AACC;EACD;AAAA;AAIC;EACD;AAAA;AAQC;AACA;AACA;AACA;AACA;AACC;AACA;AACC;AACC;AACA;AACC;AACA;AAA0B;AAC3B;AAED;AACC;AACA;AAEA;AAED;AACA;AACC;AACA;AAEA;AACD;AAED;AAED;AAA4B;AAI7B;AAEC;AACC;IACD;AAAA;AAGD;AACA;AACA;AACA;AAOA;AACC;AACA;AACC;AACA;AAGA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AAAwB;AAGzB;AAEA;AACC;AAEE;AACA;AACA;AACA;AAAoB;AAItB;AAEE;AACA;AACC;AACC;AACA;AAAwC;AAEzC;AACA;AACC;AACA;AAA0B;AAC3B;AAED;AAAoB;EAGvB;AAAA;AAOC;AAEE;AACA;AAAe;AAGf;AACA;AAAe;AAGjB;AACA;AACC;AACA;AACA;AAEA;AAED;AACA;AACA;AACA;AACA;AACA;AAA6B;AAQ9B;AACC;AACA;AAEA;AAAkE;AAGnE;AAEE;AACA;AAAe;AAIjB;AAEE;AACA;AACC;AACC;AACA;AACC;AACC;AACA;AAAmB;AAEpB;AAA+B;AAChC;AAED;AAAkB;AACnB;AAIF;AACC;AAEE;AACA;AACA;AACA;AAA2B;EAG9B;AAAA;AAQA;AACC;AACC;IACD;AAAA;AAIC;AACC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAmB;AAGpB;AACC;AACC;AAEA;AAAc;AACd;AACA;AACC;UACD;AAAA;AAGC;UACD;AAAA;AAGC;AACA;UACD;AAAA;AAGA;AAEA;AAEA;AAEA;AAEA;AAEA;AAEA;AACC;AAEC;AACC;AAEA;cACD;AAEC;cACD;AAEC;cACD;AAAA;AACD;AAGD;QACD;MACD;AAAA;AAID;EAED;AAGA;AACA;AACC;AACA;AAAsE;AAEvE;AAEA;AACC;AAEE;AACA;AACA;AAEA;EAGH;AAAA;AAGA;AACC;AACA;AACA;AAA8D;AAG/D;AACC;AAGC;AACA;AACA;AACA;AAEC;AACC;AACA;AAAe;AAGhB;AACC;AACA;AACA;AAAe;AAChB;AACD;AAGD;AAA0G;AAG3G;AACA;AAGA;AACA;AACC;AACA;AACA;AAAwJ;AAGzJ;AAEE;AACA;AAAe;AAIjB;AACA;AACC;AACA;AAIA;AAA0C;AAG3C;AAEE;AACA;AACA;AACA;AAGE;AACA;AACA;AAAe;AAEjB;AAKF;AAcA;AACC;AACA;AACA;AACC;AACA;AAAe;AAChB;AAKD;AAEE;AACA;AACA;AAAe;AAIjB;AACC;AACA;AACA;AACC;AACA;AACA;AAEA;AACD;AAID;AAEE;AACA;AAAe;AAKjB;AAIC;AACC;AACC;MACD;AAAA;AAIA;AACA;AACC;AAEA;MACD;IACD;AAGA;AACC;AACC;AACA;MACD;AAAA;AAID;AACC;AACC;MACD;AAAA;AAEgB;AAEf;MACD;AAAA;IAGD;AAGA;AACC;AACC;MACD;AAAA;AAID;AACC;AACC;AACA;AAA6B;AAE9B;AAA6B;EAE/B;AAAA;AAIA;AAGA;AACI;AACC;AACA;AAAgB;AAGrB;AACC;AACA;AAOE;AACA;AAEA;AAGF;AACA;AACC;AACA;AAAgB;AACjB;AAGD;AACC;AACC;AACA;AAAe;AAIhB;AACC;AACA;AACA;AACC;AACA;AAA6B;AAC9B;AACD;AAGD;AACC;AACC;AACA;AACC;AACC;AACA;AAAmB;AAEpB;AAA+B;AAChC;AAID;AAEE;AACA;AAAc;AAGd;AACA;AACA;AAEA;AAEF;AAID;EAKA;AAEA;AACA;AACC;AACA;AACA;AACA;AACA;AACA;AAAkC;AAEnC;AAGA;AACA;AACC;AACC;AACA;AAAe;AAEhB;AACA;AACA;AACA;AAIC;AACA;AAEA;AAGD;AAEA;AAMA;AAEA;AACA;AACA;AAA8B;AAI/B;AACA;AACC;AACA;AACA;AACC;AACA;AAAe;AAChB;AAGD;AACA;AACC;AAEA;AACA;A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hB;AACA;AAA4C;AAG7C;AACA;AACA;AACA;AACA;AACA;EACD;AAEA;AAEA;AACC;AACC;AACA;AAEE;AACA;AAEE;AACA;AAAgB;AAGlB;AAEF;AAED;AACA;AACA;AACA;AACA;AAA2iB;AAE5iB;AAEA;AACA;AACC;AACA;AACA;AAAkE;AAInE;AACA;AACC;AACA;AACA;AACA;AACA;AAAwB;AAEzB;AACA;AAl/CA;AACI;AAAa;AAk/CjB;;;;;ACn/CA;AAAA;AACI;AAAmB;AACnB;AADJ;AAOA;AAAC;AAMD;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAc;AAGhB;AACA;AACA;AAIA;AAMA;AAIA;AAKA;AAOA;AAaA;AAMA;AACE;AACA;AACA;AAA+C;AAGjD;AAUA;AACE;AACA;AAAiE;AAOnE;AACE;AACA;AACA;AACA;AAEA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;AAYA;AACE;AACA;IACF;AAMA;AACE;AAMA;IACF;AAMA;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEJ;AAEE;AACE;AACA;AACE;UAGF;AAAA;AACF;AAIE;AACA;AACA;AACE;AACA;AAEM;AAER;QACF;AAAA;AAIE;AACA;AACE;AACA;AACA;AAAiB;AAEnB;QACF;AAAA;AAIE;AACA;AACE;AACA;AACA;AAAW;AAEb;QACF;AAAA;AAIE;AAEA;AACE;AACA;AACA;AACA;AAA2C;AAG7C;AACE;AACE;YACF;AACE;YACF;AACE;YACF;AACE;YACF;AAAA;AACF;AAGE;UACF;AAAA;AAIA;QACF;AAAA;AAIE;AACA;AACE;AACA;AACA;AAAW;AAEb;QACF;AAAA;AAIE;AACA;AAGA;QACF;AAAA;AAIE;AAEA;AAIA;AAKA;AAEA;AAIA;QACF;AAAA;AAIE;AACA;AAEA;AACE;AACA;AAAuB;AAIzB;AAEA;AACA;AACA;AAEA;AACE;AAIA;AACA;AAIA;AACE;AACA;YAGF;AAAA;AAKE;AACA;AACE;AACA;cACF;AAAA;AACF;AAMA;AACE;AACA;AAAY;AAAY;AAC1B;AASA;AAEA;UAGF;AAAA;AAMA;QACF;AAAA;AAIE;AACA;AACE;AAGA;AAEA;AAAW;AAEb;QACF;AAAA;AAIE;AACA;AACE;AACA;AAAY;AAEd;QACF;AAAA;AAIE;AAEA;AACE;AACA;AACA;AACA;AAAsD;AAGxD;AACE;AACE;YACF;AACE;YACF;AACE;YACF;AACE;YACF;AAAA;AACF;AAGE;UAGF;AAAA;AAIA;QACF;AAAA;AAIE;AACA;AACE;AACA;AAES;AAEX;QACF;AAAA;AAKE;AACA;AACE;AACA;AAAW;AAEb;QACF;AAAA;AAGE;QAEF;AAAA;AACF;IAGF;AAMA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAyC;AAG3C;AACA;AAEA;AAKA;AAQA;AAMA;AACE;AACA;AAA6D;AAO/D;AACE;AACA;AACA;AACA;AAGG;AAOL;AACE;AACA;AAA4C;AAO9C;AACE;AACA;AACA;AACA;AACA;AAEA;AACE;MAEF;AAAA;AAGE;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;AACF;AAYA;AACE;AACA;IACF;AAMA;AACE;AACI;AACA;AACA;AACA;AAEJ;AAEE;AACE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACE;AAGA;UACF;AACE;AACA;UACF;AAAA;AAEA;QACF;AAAA;AAIE;AACA;AACA;AACA;AACA;QACF;AAAA;AAIE;AACE;UACF;AACE;UACF;AAAA;AAEA;AAKA;QACF;AAAA;AAIE;AACA;AACA;AACE;AACA;AAAY;AAEd;AACA;QACF;AAAA;AAKE;AACA;AACA;AACA;AACE;AACA;AACA;UACF;AAAA;AAEA;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAGE;QAEF;AAAA;AACF;IAGF;AAMA;AACE;AACI;AAEJ;IAGF;AAMA;AACE;AAA+B;AAAW;IAgB5C;AAMA;AACE;AAA0B;AAAW;AAEjC;AACA;AACA;AAEJ;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;IAGF;AAMA;AACE;IACF;AAAA;AAGE;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;AAGE;MAGF;AAAA;IAQF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IAUF;AAEA;AACE;IACF;AAEA;AACE;AACA;IACF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IAQF;AAEA;AACE;IACF;AAEA;AACE;AACA;AAGA;IACF;AAGA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;AACE;AACE;QAGF;AACE;QACF;AAAA;AAEE;QACF;AAAA;AACF;AAEA;AACE;MACF;AAAA;AAEA;IACF;AAEA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AAEA;AACE;IACF;AAMA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAOE;AACA;IACF;AAMA;AACE;AACA;AAEA;AACA;AACE;MACF;AAAA;IAGF;AAMA;AACE;IACF;AAMA;AACE;IACF;AAMA;AACE;AAEA;AACE;MACF;AAAA;IAGF;AAMA;AACE;AACE;AAAc;AACZ;UACF;AAAA;AACW;AACT;UACF;AAAA;AACgB;AACd;UAIF;AAAA;AACa;AACX;UAGF;AAAA;AACc;AACZ;AACI;AACA;AACA;AACA;AACA;AACA;AAGJ;AACA;AACE;AAAU;AAAc;AAAyB;AACjD;AAEI;AAAc;AAAyB;YAE7C;AAAA;AAGA;AACE;AAEA;AACA;AACE;AAEI;AAAe;AAAyB;cAE9C;AAAA;YAGF;AAAA;UAEF;AAAA;AACyB;AACvB;AAEA;AACE;YACF;AAAA;UAGF;AAAA;AACmB;AACjB;AACI;AAEJ;AACE;YACF;AAAA;UAGF;AAAA;AACwB;AACtB;AAEA;AACE;YAGF;AAAA;UAGF;AAAA;AACyB;AACvB;AAEA;AACE;YACF;AAAA;UAGF;AAAA;AACa;AACX;AAGA;UACF;AAAA;AACkB;AAChB;UACF;AAAA;AACa;AACX;UACF;AAAA;IAEJ;AAMA;AACE;IAMF;AAAA;AAGE;AACE;AACA;AAAmB;AAAU;AAE3B;QAGF;AAAA;MAEF;IACF;AAAA;AAGE;AACA;AACA;AACE;AAAW;AAA6B;AAExC;AACA;AACA;MACF;IACF;AAAA;AAEiB;AAGjB;AACE;AACI;AACA;AAEJ;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;AACF;IAGF;AAAA;AAQE;AACE;AACE;AACA;QACF;AAAA;AAIA;AACI;AACA;AACA;AAEJ;AACE;QACF;AACE;QACF;AAAA;AAIA;AACE;AACE;AACA;UACF;AAAA;AAIA;AACE;UACF;AACE;UACF;AAAA;AAIA;QAGF;AAEA;AACE;QACF;AAAA;AAIA;AAAc;AAAa;AAGzB;AACE;AACE;YACF;AAAA;AAEE;AAAS;AAAgB;AAEvB;cACF;AAAA;AAEA;AACA;YACF;UACF;QACF;AAAA;MAGF;AAAA;AAEE;AAAS;AAAqC;MAEhD;AACE;AACA;AACE;QAGF;AAAA;MAEF;AAAA;AACF;AAQE;AACA;IACF;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAW;AAOb;AACA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AAEA;AACE;IACF;AACE;AAAoB;MAAe;IACrC;AACE;IACF;AAAA;AAGE;EACF;AAtwCA;AACI;AAAa;AAswCjB;ACvwCA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADyC;;mJC6BpD,4BAA4B,EAOrB,QAAQ,EAWR,UAAU,EAWV,qBAAqB,EAWrB,UAAU,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ACrEriH;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACI;AACA;AACI;IACJ;AAAA;EAEJ;AACA;AAjBA;AACI;AAAa;AAiBgoC;AClBjpC;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACA;AACA;AACA;AA8BA;AACI;AACA;AAEI;AACI;MACJ;AAAA;IAEJ;AACA;AAEkB;AAAoB;AAAS;AAI/C;EACJ;AACA;AA9DA;AACI;AAAa;AA8Dw0F;AC/Dz1F;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AAMb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAQA;AA1BA;AACI;AAAa;AAuCo7E;ACxCr8E;;AAAA;AACI;AAAmB;AACnB;AADJ;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAhCA;AACI;AAAa;AAgC4xD;ACjC7yD;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACI;AAAgC;IAAoC;EACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsI;IAAsB;AAwD5J;AACI;AACA;AACI;AACA;AACA;AACA;AAEA;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;MACJ;AAAA;AAEI;AACA;MACJ;AAAA;AAEJ;AAAoD;IAAwC;AAC5F;AAC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C;EACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsI;IAAgB;AAsBtJ;AACI;AACA;AACI;AACA;AACA;AAEA;AAEA;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;AACA;MACJ;AAAA;AAEI;AACA;MACJ;AAAA;AAEJ;AACI;AAAmB;MAAsB;AACzC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqD;AACxE;AACA;AAAiB;AAErB;AACI;AAAmB;MAA+D;AAClF;AACA;AAAiB;AAErB;AACI;AACA;IACJ;AACA;AAEQ;AACA;AACA;AACA;AACA;AAAiB;AAazB;EACJ;AACA;AAvHA;AACI;AAAa;AAuH49N;ACxH7+N;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACI;AAAgC;IAAoC;EACxE;AACA;AACA;AACA;AACA;AACA;AACA;AAAsJ;IAAuB;AA8C7K;AACI;AACA;AACI;AACA;AACA;AACA;IACJ;AAAA;AACkD;IAA0C;AAC5F;AAAqD;IAA6C;AAClG;AAII;AAAmB;MAAiD;AACpE;AACA;AAAiB;AAErB;AAII;AAAmB;MAAsD;AACzE;AACA;AAAiB;AAErB;AAII;AAAmB;MAAmC;AACtD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqD;AACxE;AACA;AAAiB;AAErB;AACI;AAAmB;MAA+D;AAClF;AACA;AAAiB;AAErB;AAEQ;AACA;AACA;AACA;AAAiB;AAYzB;EACJ;AACA;AAtIA;AACI;AAAa;AAsIohO;ACvIriO;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;A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AqE;IAAuC;AAE5G;AACI;AAAiB;AACb;AACA;AACI;AAAS;AACjB;IAEJ;AAEA;AACI;AACA;IACJ;AACA;AAEQ;AACA;AAAQ;AAA6C;AAAsB;AAC3E;AAAiC;AAIzC;EACJ;AACA;AAYA;AACI;AACI;AACA;AACA;AACA;AACI;AAAwC;AAChD;AAEI;AACI;AACI;AAAM;AAEV;AACA;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AACI;AACA;AACI;AAA2C;AAEnD;AACA;AAAiB;AAGrB;AACI;IACJ;AACA;AACI;AACI;AACA;MACJ;AAAA;AAEJ;AAKA;AAKA;AAMA;EACJ;AACA;AA1JA;AACI;AAAa;AA0JokV;AC3JrlV;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAiBA;AAlEA;AACI;AAAa;AAoFgvL;ACrFjwL;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AAUA;AASA;AAaA;AACI;AACA;AAKI;IAGJ;AAIA;AACI;AACI;AACI;AAAW;AAEf;AACqB;AAA6B;AAAuB;MAE7E;IACJ;AAIA;AACI;AACI;AACI;AAAW;AAEf;AACqB;AAA6B;AAAuB;MAE7E;IACJ;AAIA;AACI;AACI;AACI;AAAW;AAEf;AACA;AACmB;AAAwC;AAAe;MAC9E;IACJ;AAIA;AAA0C;IAAa;AAKvD;AACI;AACI;AAAW;AAEf;AACI;AAAW;AAEX;MACJ;IACJ;AACA;AACI;AACI;AAAW;AAEf;AACI;AAAW;AAEX;AACA;MACJ;IACJ;AACA;EACJ;AACA;AACA;AACI;EACJ;AAAA;AAEI;AAAqC;I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;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACA;AACA;AACA;AACA;AACA;AAA+G;AAA6C;IAAkC;AAAI;AAAU;AAI5M;AACI;AACI;IACJ;AAAA;AAEI;IACJ;AACA;AACI;AACA;AACI;AACI;QACJ;AAAA;AACJ;IAEJ;AACA;AACI;AACI;AACI;QACJ;AAAA;IAER;AACA;AAIA;EACJ;AACA;AAIA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AAmBA;AACI;AACI;AACA;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACA;IACJ;AACA;AAAgE;IAA6B;AAC7F;AACI;AACA;AACI;MACJ;AAAA;AAEJ;AACI;AACA;AACA;AACI;AACA;MACJ;IACJ;AACA;AAAgE;IAA0D;AAC1H;AAAwE;IAAqB;AAC7F;AAIA;AAEQ;AACA;AAAQ;AAA0B;AAAsB;AACxD;AAAgC;AAIxC;EACJ;AACA;AA5HA;AACI;AAAa;AA4Ho/R;AC7HrgS;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AAcb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAUA;AAMA;AAlFA;AACI;AAAa;AAkFw/J;ACnFzgK;AACA;AACE;AADF;AACA;AACA;GADoB;AAClB;AACF;AAAy0B;ACJz0B;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACA;AACA;AA4DA;AACI;AACI;AAC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I;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACA;AACI;AACA;AACI;IACJ;AAAA;AAKI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACA;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;EACJ;AACA;AAsDA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACA;EACJ;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;AAEI;AAAmB;MAAmB;AACtC;AACA;AAAiB;AAErB;AAII;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAiC;AACpD;AACA;AAAiB;AAErB;AAA+D;IAA0C;AACzG;AAAwD;IAA0C;AAClG;AACI;AAAmB;MAA6B;AAChD;AACA;AAAiB;AAErB;AAAgD;IAAwC;AACxF;AAA0C;IAAkE;AAC5G;AAAiD;IAAiC;AAClF;AAAkD;IAAgC;AAClF;AACI;AACA;IACJ;AACA;AAAqD;IAAuC;AAC5F;AAA2C;IAAsB;AACjE;EACJ;AACA;AA9IA;AACI;AAAa;AA8I4sP;AC/I7tP;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAvBA;AACI;AAAa;AAuBgjD;ACxBjkD;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;AAEA;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;AACI;MACJ;AAEI;MACJ;AAAA;IAEJ;AAAA;AAEI;AAAmB;MAA4E;AAC/F;AACA;AAAiB;AAErB;AACI;AACI;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AACI;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AACI;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AAAmB;MAA0E;AAC7F;AACA;AAAiB;AAErB;AAAgD;IAAiC;AACjF;AAAiD;IAA0B;AAC3E;EACJ;AACA;AACA;AACI;AACA;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;MACJ;AAAA;AAEJ;AACI;AACA;AACI;AACA;MACJ;AAAA;AAEJ;AACI;AACA;AACI;AACA;AACA;AAEA;AACI;AACA;AACI;UACJ;AAAA;QAEJ;AAAA;AACJ;AAEJ;AACI;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACA;AACA;IACJ;AACA;AACI;AACI;AACA;AACI;AACI;UACJ;AAAA;AAEJ;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AACI;AACI;QACJ;AAAA;IAER;AACA;EACJ;AACA;AACA;AACI;AAAoC;IAAyB;EACjE;AAAA;AAEA;AACI;AACI;AACI;AACI;QACJ;AAAA;MAEJ;AAAA;EAER;AAAA;AAEI;AACI;AACI;AACI;QACJ;AAAA;AAEI;QACJ;AAAA;IAER;AAAA;AACJ;AAGA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAxLA;AACI;AAAa;AAyLwzc;AC1Lz0c;;AAAA;AACI;AAAmB;AACnB;AADJ;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAhBA;AACI;AAAa;AAgBgkC;ACjBjlC;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AAyBA;AAwBA;AArDA;AACI;AAAa;AAqDgtF;ACtDjuF;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;EACJ;AAAA;AAMgD;AAAwB;AAAO;AAlB/E;AACI;AAAa;AAsBgrE;ACvBj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ACnB;AADJ;AACa;AACb;AACI;AACI;AACA;AACI;AACA;MACJ;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AAC0C;IAA6B;AACvE;AAA4C;IAA4B;AAGxE;AACI;IACJ;AACA;AACI;AACI;AAA0B;IAElC;AACA;AACI;IACJ;AACA;AACI;AACI;AACI;QACJ;AAEI;QACJ;AAAA;IAER;AACA;AACI;IACJ;AACA;AAA4C;IAA+B;AAC3E;AAAyC;IAA+B;AACxE;EACJ;AACA;AAjDA;AACI;AAAa;AAiDg5I;AClDj6I;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEF;EACF;AACA;AAtCA;AACI;AAAa;AAsCjB;ACvCA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AAAyB;EAAS;AAAA;AAFlC;AACI;AAAa;AAGoB;ACJrC;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AAUA;AACI;AACA;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AAxBA;AACI;AAAa;AAwBiC;ACzBlD;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AAEA;AACA;AACA;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;EAEF;AA9LA;AACI;AAAa;AA8LjB;AC/LA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACE;AACA;UACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;YACF;AAAA;AAEA;AACE;YACF;AAAA;AAEA;AACE;YACF;UACF;QACF;AAAA;AAEA;AACE;AACE;AACE;AACA;AAAqB;UAEzB;AAAA;AAEA;AACE;AACA;AACA;AACE;AACE;AACA;AAAqB;YAEzB;AAAA;AAEA;AACE;AACE;AACA;AAAqB;YAEzB;AAAA;AAEA;AACE;YACF;UACF;QACF;AAAA;AACF;AAEF;EACF;AACA;AACA;AACE;AACI;AACJ;AACE;AACA;IACF;AAAA;AACF;AAEE;AACI;AACJ;AACE;IACF;AAAA;AACF;AA1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B;AAGjB;AACA;AACA;AACA;AACA;AACA;AAEA;AACI;EACJ;AAEA;AAA4B;EAAW;AACvC;AACI;EACJ;AACA;AAA6B;EAAU;AA1FvC;AACI;AAAa;AA0FjB;AC3FA;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADwC;ACAzD;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADkD;ACAnE;AAAA;AACI;AAAmB;AACnB;AAFJ;AAAA;AACI;AAAa;AADmD;ACApE;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACI;AACA;AACJ;AACA;AACE;AACA;AACE;AACA;UACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;gBACF;AACE;gBACF;AAAA;AACF;AACF;AACF;AACF;AAEE;QACF;AAAA;AAEF;AACE;AACE;QACF;AAAA;AAEA;AACE;AACE;AAAgC;AAEhC;AACE;YACF;AACE;YACF;AACE;YACF;AAAA;AACK;AAEL;AADK;AAGT;MACF;AACA;AACE;AACE;QACF;AAAA;AAEA;AACE;AACA;AACE;UACF;AAAA;AACF;AAEF;AACE;AACA;MACF;AACA;IACF;AACA;EACF;AAnGA;AACI;AAAa;AAmGjB;ACpGA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AAAwB;IAAW;AACnC;AAAwB;AAN5B;AACI;AAAa;AAOkB;ACRnC;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AAAK;AAEL;AACE;AACA;UACF;AAAA;AAEE;AACE;AACA;YACF;AACE;AACA;YACF;AAAA;UAEF;AAAA;AAEA;AACA;AACA;AAHK;IAKX;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACE;MACF;AACE;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;AACA;AACE;AACE;AACA;UACF;AACE;AACA;UACF;AAAA;AAEA;AACA;QACF;AACE;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;AACA;AACE;AACE;AACA;UACF;AACE;AACA;UACF;AAAA;AAEA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;EACF;AA9LA;AACI;AAAa;AA8LjB;AC/LA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACI;AACA;AACA;AACA;AACA;AACA;AAAiB;AAErB;AAEA;AACA;AACA;AACA;AACI;EACJ;AAAA;AAhBI;AAAa;AAiBc;AClB/B;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AAJA;AACI;AAAa;AAIjB;ACLA;;AAAA;AACI;AAAmB;AACnB;AAAJ;AACA;AACA;AACE;AACE;AACE;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAbA;AACI;AAAa;AAcjB;ACfA;;AAAA;AACI;AAAmB;AACnB;AACJ;AACC;AACA;AAEA;AACC;AACC;MACD;AACC;AACA;MACD;AAAA;AAEA;IACD;AAAA;EAGD;AAnB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a;AACb;AACI;AACA;EAEJ;AACA;AARA;AACI;AAAa;AAQw0P;ACTz1P;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACI;AACI;IACJ;AAGI;IACJ;AAEI;IACJ;AAAA;AACJ;AAoBA;AACI;AACI;IACJ;AAAA;AACuC;IAAgC;AACvE;EACJ;AACA;AAIA;AACI;AACI;IACJ;AAAA;AAEI;AACI;AACA;MACJ;AAAA;IAEJ;AACA;AAA+C;IAA8B;AAC7E;EACJ;AACA;AAIA;AACI;AACI;AACA;IACJ;AAAA;AAIqD;IAAqD;AAC1G;EACJ;AACA;AA/EA;AACI;AAAa;AA+E49J;AChF7+J;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AAIA;AACA;AACA;AA1CA;AACI;AAAa;AA0Cg4H;AC3Cj5H;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACI;AACI;AACA;AACA;AACA;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AAEI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;AACI;AAAmB;MAAqC;AACxD;AACA;AAAiB;AAErB;EACJ;AACA;AACA;AACI;AACA;EAEJ;AACA;AAaA;AACI;AACA;EAEJ;AACA;AArEA;AACI;AAAa;AAqEgkL;ACtEjlL;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACI;AAEI;IACJ;AAAA;EAEJ;AAAA;AAEI;AAEI;IACJ;AAAA;AAEI;IACJ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;AACA;AAlOA;AACI;AAAa;AAkO43d;ACnO74d;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAA0B;AAAiG;AAC3H;AAA2E;;AACtE;AAAiD;AAAuB;AAAoE;EAErJ;AACA;AACI;AAA2E;AAA6B;AAE5G;AACI;AAAgC;IAAoC;EACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;EAEJ;AACA;AAwDA;AACI;AACI;AACA;IACJ;AAAA;AAMA;EACJ;AACA;AACA;AACI;AACI;AACA;AACA;IACJ;AAAA;AAEI;AACI;AACA;MACJ;AACA;AACA;AAAiB;AAErB;AACI;AACA;AACI;MACJ;AACA;IACJ;AAEA;AACI;AACA;AACA;AACI;AAA+C;IAEvD;AAEA;AACI;AACI;AAA0B;AAGlC;AACI;AACI;AAAM;AAEV;IACJ;AAEA;AACI;AACA;AACA;IACJ;AAEA;AAA0D;IAAoC;AAE9F;AACI;IACJ;AAEA;AAAoD;IAA8D;AAClH;AAIA;AAKA;AAIA;EACJ;AACA;AApKA;AACI;AAAa;AAoKwyT;ACrKzzT;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAyCA;AAnDA;AACI;AAAa;AA8DosG;AC/DrtG;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAgC;AAAiB;AACtE;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA/BA;AACI;AAAa;AA+B4lD;AChC7mD;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACA;AACA;AA4CA;AAjDA;AACI;AAAa;AAiDgjF;AClDjkF;;AAAA;AACI;AAAmB;AACnB;AADJ;AACa;AACb;AACI;AAAiB;AAAgC;AAAiB;AACtE;AAEA;AACA;AACA;AATA;AACI;AAAa;AASooB;ACVrpB;AACA;AACE;AADF;AAQA;AACE;AAEA;AAIE;AACE;QACF;AAAe;MAGjB;AAEE;MACF;AAAA;AAKF;AAIE;AACA;AAgCA;AACE;AAAO;AAGP;AACE;YACF;AAAA;AAGE;YACF;AAAA;AAIE;AAEA;AACE;AACA;cACF;AAAA;AACF;AAGE;AACA;YACF;AAAA;AAGE;YACF;AAAA;AAGF;AACA;AAGA;AAUE;AAUA;AASA;AASA;AAgBA;AAKA;AAAW;AAIb;AAEE;AACE;AACA;YACF;AAEA;AACE;AACE;cACF;AAAA;AAGF;AACE;AACA;YACF;AAEA;AACE;AACA;YACF;AAGA;AACE;AACE;AAAgB;AAA2B;AAA4B;AAAE;AAG3E;YACF;AAGA;AACE;AAA4C;AAAQ;AAAM;AACxD;AACA;AACA;AAEA;AACE;AACA;AAA+C;YAErD;AAGA;AACE;AAAY;AAAQ;AAAM;AAE1B;AACE;AACA;AACA;cACF;AAAA;YAGF;AAGA;AACE;AACE;AAA4B;gBAAc;AAAA;cAE5C;AAAA;YAEF;AAGA;AACE;AAAO;AAEP;AAAgB;cAAY;AAAA;AAG1B;AACE;AACE;kBACF;AACE;kBACF;AAAA;AACF;AACF;YAGF;AAEA;AACE;AACE;AACE;AAEF;AACE;gBACF;cACF;YACF;AAAA;AAMJ;AACA;AAIA;AAkBE;AACE;AAAU;AAAQ;AAElB;AACE;AACA;AACA;UACF;AAAA;AAGE;AACE;AACA;AACA;AACA;AACA;AACA;AAAmF;AAGrF;AACA;AAEA;AACE;AACA;YACF;AAAA;AAIA;AACE;YACF;AAAA;AAGE;YACF;AACE;YACF;AAAA;AAIA;AACA;AAEA;AACE;YACF;AAAA;AACF;AAgBF;AACE;AACA;QACF;AAcA;AACE;AACA;AACA;AACA;AACA;AACA;QACF;AAWA;AACE;AACE;AAGF;AACA;AACA;AACA;AAeA;AAaA;AAaA;AAaA;AAaA;AAaA;AAaA;AAaA;AAGA;AACA;AAGA;AAGA;AAGA;AACE;AACA;UACF;AAAA;AAME;AACA;AAGA;AACA;AACA;AAEA;AACE;YACF;AAAA;AAGE;AACE;cACF;AAAA;AACF;AAGE;AAEA;AACE;cACF;AAAA;YAGF;AAAA;AACF;QAGF;AAaA;AACE;AACE;AAEF;AACE;UACF;AAAA;AAGE;UACF;AAAA;AAGA;AACA;AACA;AAEA;QACF;AAaA;AACE;AAAgB;AAAO;AAAO;AAAW;AAAO;AAC9C;AACA;AAEF;AACE;UACF;AACE;UACF;AAAA;AAIA;AAAsC;UAAc;AAAA;AAGpD;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;QACF;AA0BA;AACE;AAEA;AACE;AACA;AACA;AACA;UACF;AAAA;AAGE;UACF;AAAA;AAGE;UACF;AAAA;QAGF;AAoBA;AACE;AAAO;AAAO;AAAQ;AACpB;AAEF;AACE;UACF;AAAA;AAGE;AACE;AACE;cACF;AAAA;AACF;AACF;AAKE;UACF;AAAA;AAGE;AACA;AAEA;AACE;AACA;AAEA;AACE;AACA;cACF;AACE;AACA;AACA;cACF;AAAA;AAEA;AAEA;AACE;AACA;cACF;AAAA;AAGA;AAEA;AACA;AACA;AAEA;AACA;YACF;AAAA;AAGA;AAEA;AACE;YACF;AAAA;UAGF;AAAA;AAmBF;AACE;AACA;AACA;QACF;AAmBA;AACE;AAAO;AAAQ;AAAK;AAAQ;AAAQ;AAAQ;AAAQ;AAClD;AACA;AAEF;AAAkB;UAAqB;AAAA;AAIvC;AAEA;AAEA;AACE;AAGA;AACE;AACA;AAEA;AACE;AACE;AACA;gBACF;AACE;gBACF;AAAA;AAGA;cACF;AAAA;AAGE;AAAe;AAAsB;AAAW;AAAG;cACrD;AAAA;AAIA;YACF;AAAA;AACF;AAIE;AACE;YACF;AACE;AACA;YACF;UACF;AAAA;QAGF;AAeA;AACE;AACE;UACF;AAAA;AAoBF;AACE;AACE;AAEF;AAEA;AACE;AACA;AACA;AACA;AACE;YACF;AAAA;AACF;AAGE;UACF;AAAA;AAiBF;AACE;QACF;AAaA;AACE;AACA;AACA;AACA;QACF;AAQA;AACE;AAAuB;UAAQ;AAAA;AAG/B;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;QAET;AAOA;AACE;AAAe;AAAO;AAAY;AAChC;AAEF;AACE;UACF;AAAA;AAGE;AACA;AAA2C;YAAuB;AAAA;AAElE;AACE;AACA;AAAkC;AAA2B;AAG3D;AACA;AACA;AAEA;AAA+C;AAAkB;AACd;AAAsB;AAIzE;AACE;AAAkC;kBAAwB;AAAA;AAE1D;AAAkC;kBAAwB;AAAA;AAC5D;AAEA;cACF;AACE;AACA;cACF;AAAA;AACF;AACF;AAOF;AACE;AAAO;AAEP;AACE;AACE;YACF;AAAA;AAGA;UACF;AAAA;AAOF;AACE;AAAkB;AAChB;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AAAO;AAGX;AACA;AACE;AAAM;AAGN;AACA;AAEA;AACE;AACA;AACE;AACE;AACA;kBACF;AAAA;AACF;AACF;AAIA;AACE;cACF;AACE;cACF;AAAA;AAGE;AACA;AACA;cACF;AAAA;AACK;AAEL;AACE;AACA;AACA;cACF;AAAA;AAGF;AACE;AACE;AACE;gBACF;AAAA;AACF;AAGA;AACE;AACA;cACF;AAAA;AACK;QAET;AAMA;AACE;AACE;AACA;AAEA;AACE;AACE;gBACF;AAAA;AAGE;gBACF;cACF;AAEF;AACE;UACF;AAAA;AAIA;AACA;AAEA;AACE;AACE;YACF;AAAA;AACF;AAOF;AACE;AAAY;AAAQ;AAClB;AAEF;AAEE;UACF;AAAA;AAGE;UACF;AAAA;AAGA;AACA;AAEA;AACE;AACA;UACF;AACE;UACF;AAAA;AACF;AAaF;AACE;AAAY;AAAS;AACnB;AAEA;AACE;AACA;AACA;AAAW;AAGb;AACE;AAAY;AAAU;AAAc;AAClC;AAEF;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AAAgE;AAGlE;AAEA;AACE;AACA;kBACF;AAAA;A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mB;AACnB;AADJ;AACA;AACE;AACA;AACE;AAAS;AAET;AACE;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAEL;AACE;IACF;EACF;AAvBA;AACI;AAAa;AAuBjB;ACxBA;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AAAa;AAEb;AACA;AACE;AAAQ;AAEV;AACE;AACE;QACF;AACA;AACA;MACF;AACA;AACE;AAA4D;AAChE;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AAzCA;AACI;AAAa;AAyCjB;AC1CA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAqB;AAZvB;AACI;AAAa;AAYhB;ACbD;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AAAmB;AAA8C;EAEnE;AAJA;AACI;AAAa;AAGhB;ACJD;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACE;EACF;AAJA;AACI;AAAa;AAIjB;ACLA;AAAA;AACI;AAAmB;AACnB;AADJ;AAEA;AACE;EACF;AALA;AACI;AAAa;AAIhB;ACLD;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AACE;EACF;AAJA;AACI;AAAa;AAIjB;ACLA;AAAA;AACI;AAAmB;AACnB;AADJ;AACE;AACE;IACF;AACE;IACF;AAAA;AANF;AACI;AAAa;AAMhB;ACPD;AAAA;AACI;AAAmB;AACnB;AADJ;AACI;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACJ;AACA;AACE;IACF;AACA;EACF;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AACE;AAAe;AACrB;EAEF;AAlCA;AACI;AAAa;AAkCjB;ACnCA;AAAA;AACI;AAAmB;AACnB;AADJ;AACA;AAFA;AACI;AAA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c:2 };\nfunction $buo_f(){\n var e = document.createElement('script');\n e.src = '//browser-update.org/update.min.js';\n document.body.appendChild(e);\n}\ntry {document.addEventListener('DOMContentLoaded', $buo_f, false);}\ncatch(e){window.attachEvent('onload', $buo_f);}\n","!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p=\"\",t(0)}([function(e,exports,t){(function(e){\"use strict\";function n(e){function t(e){var t=e[v];return t}function n(e){var t=e.data;t.target.addEventListener(\"readystatechange\",function(){t.target.readyState===XMLHttpRequest.DONE&&(t.aborted||e.invoke())});var n=t.target[v];return n||(t.target[v]=e),a.apply(t.target,t.args),e}function r(){}function o(e){var t=e.data;return t.aborted=!0,i.apply(t.target,t.args)}var a=c.patchMethod(e.XMLHttpRequest.prototype,\"send\",function(){return function(e,t){var a=Zone.current,i={target:e,isPeriodic:!1,delay:null,args:t,aborted:!1};return a.scheduleMacroTask(\"XMLHttpRequest.send\",r,i,n,o)}}),i=c.patchMethod(e.XMLHttpRequest.prototype,\"abort\",function(e){return function(e,n){var r=t(e);if(r&&\"string\"==typeof r.type){if(null==r.cancelFn)return;r.zone.cancelTask(r)}}})}t(1);var r=t(2),o=t(4),a=t(5),i=t(6),s=t(8),c=t(3),u=\"set\",l=\"clear\",p=[\"alert\",\"prompt\",\"confirm\"],h=\"undefined\"==typeof window?e:window;s.patchTimer(h,u,l,\"Timeout\"),s.patchTimer(h,u,l,\"Interval\"),s.patchTimer(h,u,l,\"Immediate\"),s.patchTimer(h,\"request\",\"cancelMacroTask\",\"AnimationFrame\"),s.patchTimer(h,\"mozRequest\",\"mozCancel\",\"AnimationFrame\"),s.patchTimer(h,\"webkitRequest\",\"webkitCancel\",\"AnimationFrame\");for(var f=0;f<p.length;f++){var d=p[f];c.patchMethod(h,d,function(e,t,n){return function(t,r){return Zone.current.run(e,h,r,n)}})}r.eventTargetPatch(h),i.propertyDescriptorPatch(h),c.patchClass(\"MutationObserver\"),c.patchClass(\"WebKitMutationObserver\"),c.patchClass(\"FileReader\"),o.propertyPatch(),a.registerElementPatch(h),n(h);var v=c.zoneSymbol(\"xhrTask\");h.navigator&&h.navigator.geolocation&&c.patchPrototype(h.navigator.geolocation,[\"getCurrentPosition\",\"watchPosition\"])}).call(exports,function(){return this}())},function(e,exports){(function(e){(function(e){function t(e){return\"__zone_symbol__\"+e}function n(){D||T||0!=b.length||(e[y]?e[y].resolve(0)[g](a):e[k](a,0))}function r(e){n(),b.push(e)}function o(e){var t=e&&e.rejection;t&&console.error(\"Unhandled Promise rejection:\",t instanceof Error?t.message:t,\"; Zone:\",e.zone.name,\"; Task:\",e.task&&e.task.source,\"; Value:\",t),console.error(e)}function a(){if(!_){for(_=!0;b.length;){var e=b;b=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){o(r)}}}for(;w.length;){var a=w;w=[];for(var i=function(e){var t=a[e];try{t.zone.runGuarded(function(){throw t})}catch(n){o(n)}},t=0;t<a.length;t++)i(t)}_=!1,D=!1}}function i(e){return e&&e.then}function s(e){return e}function c(e){return M.reject(e)}function u(e,t){return function(n){l(e,t,n)}}function l(e,t,r){if(e[S]===O)if(r instanceof M&&r[S]!==O)p(r),l(e,r[S],r[E]);else if(i(r))r.then(u(e,t),u(e,!1));else{e[S]=t;var o=e[E];e[E]=r;for(var a=0;a<o.length;)h(e,o[a++],o[a++],o[a++],o[a++]);if(0==o.length&&t==Z){e[S]=C;try{throw new Error(\"Uncaught (in promise): \"+r)}catch(s){var c=s;c.rejection=r,c.promise=e,c.zone=f.current,c.task=f.currentTask,w.push(c),n()}}}return e}function p(e){if(e[S]===C){e[S]=Z;for(var t=0;t<w.length;t++)if(e===w[t].promise){w.splice(t,1);break}}}function h(e,t,n,r,o){p(e);var a=e[S]?r||s:o||c;t.scheduleMicroTask(P,function(){try{l(n,!0,t.run(a,null,[e[E]]))}catch(r){l(n,!1,r)}})}var f=function(){function e(e,t){this._properties=null,this._parent=e,this._name=t?t.name||\"unnamed\":\"<root>\",this._properties=t&&t.properties||{},this._zoneDelegate=new d(this,this._parent&&this._parent._zoneDelegate,t)}return Object.defineProperty(e,\"current\",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"currentTask\",{get:function(){return T},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"parent\",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"name\",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t._properties[e];t=t._parent}},e.prototype.fork=function(e){if(!e)throw new Error(\"ZoneSpec required!\");return this._zoneDelegate.fork(this,e)},e.prototype.wrap=function(e,t){if(\"function\"!=typeof e)throw new Error(\"Expecting function got: \"+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},e.prototype.run=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=m;m=this;try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{m=o}},e.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=m;m=this;try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{m=o}},e.prototype.runTask=function(e,t,n){if(e.runCount++,e.zone!=this)throw new Error(\"A task can only be run in the zone which created it! (Creation: \"+e.zone.name+\"; Execution: \"+this.name+\")\");var r=T;T=e;var o=m;m=this;try{\"macroTask\"==e.type&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{m=o,T=r}},e.prototype.scheduleMicroTask=function(e,t,n,r){return this._zoneDelegate.scheduleTask(this,new v(\"microTask\",this,e,t,n,r,null))},e.prototype.scheduleMacroTask=function(e,t,n,r,o){return this._zoneDelegate.scheduleTask(this,new v(\"macroTask\",this,e,t,n,r,o))},e.prototype.scheduleEventTask=function(e,t,n,r,o){return this._zoneDelegate.scheduleTask(this,new v(\"eventTask\",this,e,t,n,r,o))},e.prototype.cancelTask=function(e){var t=this._zoneDelegate.cancelTask(this,e);return e.runCount=-1,e.cancelFn=null,t},e.__symbol__=t,e}(),d=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._hasTaskZS=n&&(n.onHasTask?n:t._hasTaskZS),this._hasTaskDlgt=n&&(n.onHasTask?t:t._hasTaskDlgt)}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new f(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this.zone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this.zone,e,t):!0},e.prototype.scheduleTask=function(e,t){try{if(this._scheduleTaskZS)return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this.zone,e,t);if(t.scheduleFn)t.scheduleFn(t);else{if(\"microTask\"!=t.type)throw new Error(\"Task is missing scheduleFn.\");r(t)}return t}finally{e==this.zone&&this._updateTaskCount(t.type,1)}},e.prototype.invokeTask=function(e,t,n,r){try{return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this.zone,e,t,n,r):t.callback.apply(n,r)}finally{e!=this.zone||\"eventTask\"==t.type||t.data&&t.data.isPeriodic||this._updateTaskCount(t.type,-1)}},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this.zone,e,t);else{if(!t.cancelFn)throw new Error(\"Task does not support cancellation, or is already canceled.\");n=t.cancelFn(t)}return e==this.zone&&this._updateTaskCount(t.type,-1),n},e.prototype.hasTask=function(e,t){return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this.zone,e,t)},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(0>o)throw new Error(\"More tasks executed then were scheduled.\");if(0==r||0==o){var a={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};try{this.hasTask(this.zone,a)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(e,t)}}},e}(),v=function(){function e(e,t,n,r,o,i,s){this.runCount=0,this.type=e,this.zone=t,this.source=n,this.data=o,this.scheduleFn=i,this.cancelFn=s,this.callback=r;var c=this;this.invoke=function(){try{return t.runTask(c,this,arguments)}finally{a()}}}return e}(),k=t(\"setTimeout\"),y=t(\"Promise\"),g=t(\"then\"),m=new f(null,null),T=null,b=[],_=!1,w=[],D=!1,S=t(\"state\"),E=t(\"value\"),P=\"Promise.then\",O=null,z=!0,Z=!1,C=0,M=function(){function e(e){var t=this;t[S]=O,t[E]=[];try{e&&e(u(t,z),u(t,Z))}catch(n){l(t,!1,n)}}return e.resolve=function(e){return l(new this(null),z,e)},e.reject=function(e){return l(new this(null),Z,e)},e.race=function(e){function t(e){a&&(a=r(e))}function n(e){a&&(a=o(e))}for(var r,o,a=new this(function(e,t){r=e,o=t}),s=0,c=e;s<c.length;s++){var u=c[s];i(u)||(u=this.resolve(u)),u.then(t,n)}return a},e.all=function(e){function t(e){o&&r(e),o=null}for(var n,r,o=new this(function(e,t){n=e,r=t}),a=0,s=[],c=0,u=e;c<u.length;c++){var l=u[c];i(l)||(l=this.resolve(l)),l.then(function(e){return function(t){s[e]=t,a--,o&&!a&&n(s)}}(a),t),a++}return a||n(s),o},e.prototype.then=function(t,n){var r=new e(null),o=f.current;return this[S]==O?this[E].push(o,r,t,n):h(this,o,r,t,n),r},e.prototype[\"catch\"]=function(e){return this.then(null,e)},e}(),I=e[t(\"Promise\")]=e.Promise;if(e.Promise=M,I){var j=I.prototype,L=j[t(\"then\")]=j.then;j.then=function(e,t){var n=this;return new M(function(e,t){L.call(n,e,t)}).then(e,t)}}return e.Zone=f})(\"undefined\"==typeof window?e:window)}).call(exports,function(){return this}())},function(e,exports,t){\"use strict\";function n(e){var t=[],n=e.wtf;n?t=o.split(\",\").map(function(e){return\"HTML\"+e+\"Element\"}).concat(a):e[i]?t.push(i):t=a;for(var s=0;s<t.length;s++){var c=e[t[s]];r.patchEventTargetMethods(c&&c.prototype)}}var r=t(3),o=\"Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video\",a=\"ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex\".split(\",\"),i=\"EventTarget\";exports.eventTargetPatch=n},function(e,exports){(function(e){\"use strict\";function t(e,t){for(var n=e.length-1;n>=0;n--)\"function\"==typeof e[n]&&(e[n]=Zone.current.wrap(e[n],t+\"_\"+n));return e}function n(e,n){for(var r=e.constructor.name,o=function(o){var a=n[o],i=e[a];i&&(e[a]=function(e){return function(){return e.apply(this,t(arguments,r+\".\"+a))}}(i))},a=0;a<n.length;a++)o(a)}function r(e,t){var n=Object.getOwnPropertyDescriptor(e,t)||{enumerable:!0,configurable:!0};delete n.writable,delete n.value;var r=t.substr(2),o=\"_\"+t;n.set=function(e){if(this[o]&&this.removeEventListener(r,this[o]),\"function\"==typeof e){var t=function(t){var n;n=e.apply(this,arguments),void 0==n||n||t.preventDefault()};this[o]=t,this.addEventListener(r,t,!1)}else this[o]=null},n.get=function(){return this[o]},Object.defineProperty(e,t,n)}function o(e,t){var n=[];for(var o in e)\"on\"==o.substr(0,2)&&n.push(o);for(var a=0;a<n.length;a++)r(e,n[a]);if(t)for(var i=0;i<t.length;i++)r(e,\"on\"+t[i])}function a(e,t,n,r,o){var a=e[k];if(a)for(var i=0;i<a.length;i++){var s=a[i],c=s.data;if(c.handler===t&&c.useCapturing===r&&c.eventName===n)return o&&a.splice(i,1),s}return null}function i(e,t){var n=e[k];n||(n=e[k]=[]),n.push(t)}function s(e){var t=e.data;return i(t.target,e),t.target[m](t.eventName,e.invoke,t.useCapturing)}function c(e){var t=e.data;a(t.target,e.invoke,t.eventName,t.useCapturing,!0),t.target[T](t.eventName,e.invoke,t.useCapturing)}function u(e,t){var n=t[0],r=t[1],o=t[2]||!1,i=e||v,u=null;\"function\"==typeof r?u=r:r&&r.handleEvent&&(u=function(e){return r.handleEvent(e)});var l=!1;try{l=r&&\"[object FunctionWrapper]\"===r.toString()}catch(p){return}if(!u||l)return i[m](n,r,o);var h=a(i,r,n,o,!1);if(h)return i[m](n,h.invoke,o);var f=Zone.current,d=i.constructor.name+\".addEventListener:\"+n,k={target:i,eventName:n,name:n,useCapturing:o,handler:r};f.scheduleEventTask(d,u,k,s,c)}function l(e,t){var n=t[0],r=t[1],o=t[2]||!1,i=e||v,s=a(i,r,n,o,!0);s?s.zone.cancelTask(s):i[T](n,r,o)}function p(e){return e&&e.addEventListener?(d(e,y,function(){return u}),d(e,g,function(){return l}),!0):!1}function h(e){var n=v[e];if(n){v[e]=function(){var r=t(arguments,e);switch(r.length){case 0:this[b]=new n;break;case 1:this[b]=new n(r[0]);break;case 2:this[b]=new n(r[0],r[1]);break;case 3:this[b]=new n(r[0],r[1],r[2]);break;case 4:this[b]=new n(r[0],r[1],r[2],r[3]);break;default:throw new Error(\"Arg list too long.\")}};var r,o=new n(function(){});for(r in o)!function(t){\"function\"==typeof o[t]?v[e].prototype[t]=function(){return this[b][t].apply(this[b],arguments)}:Object.defineProperty(v[e].prototype,t,{set:function(n){\"function\"==typeof n?this[b][t]=Zone.current.wrap(n,e+\".\"+t):this[b][t]=n},get:function(){return this[b][t]}})}(r);for(r in n)\"prototype\"!==r&&n.hasOwnProperty(r)&&(v[e][r]=n[r])}}function f(e,t){try{return Function(\"f\",\"return function \"+e+\"(){return f(this, arguments)}\")(t)}catch(n){return function(){return t(this,arguments)}}}function d(e,t,n){for(var r=e;r&&!r.hasOwnProperty(t);)r=Object.getPrototypeOf(r);!r&&e[t]&&(r=e);var o,a=exports.zoneSymbol(t);return r&&!(o=r[a])&&(o=r[a]=r[t],r[t]=f(t,n(o,a,t))),o}exports.zoneSymbol=Zone.__symbol__;var v=\"undefined\"==typeof window?e:window;exports.bindArguments=t,exports.patchPrototype=n,exports.isWebWorker=\"undefined\"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,exports.isNode=\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process),exports.isBrowser=!exports.isNode&&!exports.isWebWorker&&!(\"undefined\"==typeof window||!window.HTMLElement),exports.patchProperty=r,exports.patchOnProperties=o;var k=exports.zoneSymbol(\"eventTasks\"),y=\"addEventListener\",g=\"removeEventListener\",m=exports.zoneSymbol(y),T=exports.zoneSymbol(g);exports.patchEventTargetMethods=p;var b=exports.zoneSymbol(\"originalInstance\");exports.patchClass=h,exports.createNamedFn=f,exports.patchMethod=d}).call(exports,function(){return this}())},function(e,exports,t){\"use strict\";function n(){Object.defineProperty=function(e,t,n){if(o(e,t))throw new TypeError(\"Cannot assign to read only property '\"+t+\"' of \"+e);return\"prototype\"!==t&&(n=a(e,t,n)),s(e,t,n)},Object.defineProperties=function(e,t){return Object.keys(t).forEach(function(n){Object.defineProperty(e,n,t[n])}),e},Object.create=function(e,t){return\"object\"==typeof t&&Object.keys(t).forEach(function(n){t[n]=a(e,n,t[n])}),u(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=c(e,t);return o(e,t)&&(n.configurable=!1),n}}function r(e,t,n){return n=a(e,t,n),s(e,t,n)}function o(e,t){return e&&e[l]&&e[l][t]}function a(e,t,n){return n.configurable=!0,n.configurable||(e[l]||s(e,l,{writable:!0,value:{}}),e[l][t]=!0),n}var i=t(3),s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.create,l=i.zoneSymbol(\"unconfigurables\");exports.propertyPatch=n,exports._redefineProperty=r},function(e,exports,t){\"use strict\";function n(e){if(o.isBrowser&&\"registerElement\"in e.document){var t=document.registerElement,n=[\"createdCallback\",\"attachedCallback\",\"detachedCallback\",\"attributeChangedCallback\"];document.registerElement=function(e,o){return o&&o.prototype&&n.forEach(function(e){var t=\"Document.registerElement::\"+e;if(o.prototype.hasOwnProperty(e)){var n=Object.getOwnPropertyDescriptor(o.prototype,e);n&&n.value?(n.value=Zone.current.wrap(n.value,t),r._redefineProperty(o.prototype,e,n)):o.prototype[e]=Zone.current.wrap(o.prototype[e],t)}else o.prototype[e]&&(o.prototype[e]=Zone.current.wrap(o.prototype[e],t))}),t.apply(document,[e,o])}}}var r=t(4),o=t(3);exports.registerElementPatch=n},function(e,exports,t){\"use strict\";function n(e){if(!i.isNode){var t=\"undefined\"!=typeof WebSocket;r()?(i.isBrowser&&i.patchOnProperties(HTMLElement.prototype,s),i.patchOnProperties(XMLHttpRequest.prototype,null),\"undefined\"!=typeof IDBIndex&&(i.patchOnProperties(IDBIndex.prototype,null),i.patchOnProperties(IDBRequest.prototype,null),i.patchOnProperties(IDBOpenDBRequest.prototype,null),i.patchOnProperties(IDBDatabase.prototype,null),i.patchOnProperties(IDBTransaction.prototype,null),i.patchOnProperties(IDBCursor.prototype,null)),t&&i.patchOnProperties(WebSocket.prototype,null)):(o(),i.patchClass(\"XMLHttpRequest\"),t&&a.apply(e))}}function r(){if(i.isBrowser&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,\"onclick\")&&\"undefined\"!=typeof Element){var e=Object.getOwnPropertyDescriptor(Element.prototype,\"onclick\");if(e&&!e.configurable)return!1}Object.defineProperty(XMLHttpRequest.prototype,\"onreadystatechange\",{get:function(){return!0}});var t=new XMLHttpRequest,n=!!t.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,\"onreadystatechange\",{}),n}function o(){for(var e=function(e){var t=s[e],n=\"on\"+t;document.addEventListener(t,function(e){var t,r,o=e.target;for(r=o?o.constructor.name+\".\"+n:\"unknown.\"+n;o;)o[n]&&!o[n][c]&&(t=Zone.current.wrap(o[n],r),t[c]=o[n],o[n]=t),o=o.parentElement},!0)},t=0;t<s.length;t++)e(t)}var a=t(7),i=t(3),s=\"copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror\".split(\" \");exports.propertyDescriptorPatch=n;var c=i.zoneSymbol(\"unbound\")},function(e,exports,t){\"use strict\";function n(e){var t=e.WebSocket;e.EventTarget||r.patchEventTargetMethods(t.prototype),e.WebSocket=function(e,n){var o,a=arguments.length>1?new t(e,n):new t(e),i=Object.getOwnPropertyDescriptor(a,\"onmessage\");return i&&i.configurable===!1?(o=Object.create(a),[\"addEventListener\",\"removeEventListener\",\"send\",\"close\"].forEach(function(e){o[e]=function(){return a[e].apply(a,arguments)}})):o=a,r.patchOnProperties(o,[\"close\",\"error\",\"message\",\"open\"]),o};for(var n in t)e.WebSocket[n]=t[n]}var r=t(3);exports.apply=n},function(e,exports,t){\"use strict\";function n(e,t,n,o){function a(t){var n=t.data;return n.args[0]=t.invoke,n.handleId=s.apply(e,n.args),t}function i(e){return c(e.data.handleId)}var s=null,c=null;t+=o,n+=o,s=r.patchMethod(e,t,function(n){return function(r,s){if(\"function\"==typeof s[0]){var c=Zone.current,u={handleId:null,isPeriodic:\"Interval\"===o,delay:\"Timeout\"===o||\"Interval\"===o?s[1]||0:null,args:s};return c.scheduleMacroTask(t,s[0],u,a,i)}return n.apply(e,s)}}),c=r.patchMethod(e,n,function(t){return function(n,r){var o=r[0];o&&\"string\"==typeof o.type?(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&o.zone.cancelTask(o):t.apply(e,r)}})}var r=t(3);exports.patchTimer=n}]);","/*! *****************************************************************************\r\nCopyright (C) Microsoft. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use \r\nthis file except in compliance with the License. You may obtain a copy of the \r\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \r\nMERCHANTABLITY OR NON-INFRINGEMENT. \r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\nnamespace Reflect {\r\n \"use strict\";\r\n\r\n interface Map<K, V> {\r\n clear(): void;\r\n delete(key:K): boolean;\r\n forEach(callbackfn:(value:V, index:K, map:Map<K, V>) => void, thisArg?:any): void;\r\n get(key:K): V;\r\n has(key:K): boolean;\r\n set(key:K, value?:V): Map<K, V>;\r\n size: number;\r\n }\r\n interface MapConstructor {\r\n new (): Map<any, any>;\r\n new <K, V>(): Map<K, V>;\r\n prototype: Map<any, any>;\r\n }\r\n\r\n interface WeakMap<K, V> {\r\n clear(): void;\r\n delete(key: K): boolean;\r\n get(key: K): V;\r\n has(key: K): boolean;\r\n set(key: K, value?: V): WeakMap<K, V>;\r\n }\r\n\r\n interface WeakMapConstructor {\r\n new (): WeakMap<any, any>;\r\n new <K, V>(): WeakMap<K, V>;\r\n prototype: WeakMap<any, any>;\r\n }\r\n\r\n interface Set<T> {\r\n add(value: T): Set<T>;\r\n clear(): void;\r\n delete(value: T): boolean;\r\n forEach(callbackfn: (value: T, index: T, set: Set<T>) => void, thisArg?: any): void;\r\n has(value: T): boolean;\r\n size: number;\r\n }\r\n\r\n interface SetConstructor {\r\n new (): Set<any>;\r\n new <T>(): Set<T>;\r\n prototype: Set<any>;\r\n }\r\n\r\n\r\n declare var Set: SetConstructor;\r\n declare var WeakMap: WeakMapConstructor;\r\n declare var Map:MapConstructor;\r\n declare var global: any;\r\n declare var WorkerGlobalScope: any;\r\n declare var module: any;\r\n declare var crypto: Crypto;\r\n declare var msCrypto: Crypto;\r\n declare var require: Function;\r\n\r\n // Load global or shim versions of Map, Set, and WeakMap\r\n const functionPrototype = Object.getPrototypeOf(Function);\r\n const _Map: typeof Map = typeof Map === \"function\" ? Map : CreateMapPolyfill();\r\n const _Set: typeof Set = typeof Set === \"function\" ? Set : CreateSetPolyfill();\r\n const _WeakMap: typeof WeakMap = typeof WeakMap === \"function\" ? WeakMap : CreateWeakMapPolyfill();\r\n \r\n // [[Metadata]] internal slot\r\n const __Metadata__ = new _WeakMap<Object, Map<string | symbol, Map<any, any>>>();\r\n\r\n /**\r\n * Applies a set of decorators to a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @returns The result of applying the provided decorators.\r\n * @remarks Decorators are applied in reverse order of their positions in the array.\r\n * @example\r\n *\r\n * class C { }\r\n *\r\n * // constructor\r\n * C = Reflect.decorate(decoratorsArray, C);\r\n *\r\n */\r\n export function decorate(decorators: ClassDecorator[], target: Function): Function;\r\n\r\n /**\r\n * Applies a set of decorators to a property of a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @param targetKey The property key to decorate.\r\n * @param descriptor A property descriptor \r\n * @remarks Decorators are applied in reverse order.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n * \r\n * static staticMethod() { }\r\n * method() { }\r\n * }\r\n *\r\n * // property (on constructor)\r\n * Reflect.decorate(decoratorsArray, C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.decorate(decoratorsArray, C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Object.defineProperty(C, \"staticMethod\", \r\n * Reflect.decorate(decoratorsArray, C, \"staticMethod\", \r\n * Object.getOwnPropertyDescriptor(C, \"staticMethod\")));\r\n *\r\n * // method (on prototype)\r\n * Object.defineProperty(C.prototype, \"method\", \r\n * Reflect.decorate(decoratorsArray, C.prototype, \"method\", \r\n * Object.getOwnPropertyDescriptor(C.prototype, \"method\")));\r\n *\r\n */\r\n export function decorate(decorators: (PropertyDecorator | MethodDecorator)[], target: Object, targetKey: string | symbol, descriptor?: PropertyDescriptor): PropertyDescriptor;\r\n\r\n /**\r\n * Applies a set of decorators to a property of a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @param targetKey (Optional) The property key to decorate.\r\n * @param targetDescriptor (Optional) The property descriptor for the target key\r\n * @remarks Decorators are applied in reverse order.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * C = Reflect.decorate(decoratorsArray, C);\r\n *\r\n * // property (on constructor)\r\n * Reflect.decorate(decoratorsArray, C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.decorate(decoratorsArray, C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Object.defineProperty(C, \"staticMethod\", \r\n * Reflect.decorate(decoratorsArray, C, \"staticMethod\", \r\n * Object.getOwnPropertyDescriptor(C, \"staticMethod\")));\r\n *\r\n * // method (on prototype)\r\n * Object.defineProperty(C.prototype, \"method\", \r\n * Reflect.decorate(decoratorsArray, C.prototype, \"method\", \r\n * Object.getOwnPropertyDescriptor(C.prototype, \"method\")));\r\n *\r\n */\r\n export function decorate(decorators: (ClassDecorator | MethodDecorator | PropertyDecorator)[], target: Object, targetKey?: string | symbol, targetDescriptor?: PropertyDescriptor): any {\r\n if (!IsUndefined(targetDescriptor)) {\r\n if (!IsArray(decorators)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (IsUndefined(targetKey)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsObject(targetDescriptor)) {\r\n throw new TypeError();\r\n }\r\n\r\n targetKey = ToPropertyKey(targetKey);\r\n return DecoratePropertyWithDescriptor(<MethodDecorator[]>decorators, target, targetKey, targetDescriptor);\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n if (!IsArray(decorators)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n\r\n targetKey = ToPropertyKey(targetKey);\r\n return DecoratePropertyWithoutDescriptor(<PropertyDecorator[]>decorators, target, targetKey);\r\n }\r\n else {\r\n if (!IsArray(decorators)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsConstructor(target)) {\r\n throw new TypeError();\r\n }\r\n\r\n return DecorateConstructor(<ClassDecorator[]>decorators, <Function>target);\r\n }\r\n }\r\n\r\n /**\r\n * A default metadata decorator factory that can be used on a class, class member, or parameter.\r\n * @param metadataKey The key for the metadata entry.\r\n * @param metadataValue The value for the metadata entry.\r\n * @returns A decorator function.\r\n * @remarks \r\n * If `metadataKey` is already defined for the target and target key, the \r\n * metadataValue for that key will be overwritten.\r\n * @example\r\n *\r\n * // constructor\r\n * @Reflect.metadata(key, value)\r\n * class C {\r\n * }\r\n *\r\n * // property (on constructor, TypeScript only)\r\n * class C {\r\n * @Reflect.metadata(key, value)\r\n * static staticProperty;\r\n * }\r\n *\r\n * // property (on prototype, TypeScript only)\r\n * class C {\r\n * @Reflect.metadata(key, value)\r\n * property;\r\n * }\r\n *\r\n * // method (on constructor)\r\n * class C {\r\n * @Reflect.metadata(key, value)\r\n * static staticMethod() { }\r\n * }\r\n *\r\n * // method (on prototype)\r\n * class C {\r\n * @Reflect.metadata(key, value)\r\n * method() { }\r\n * }\r\n *\r\n */\r\n export function metadata(metadataKey: any, metadataValue: any) {\r\n function decorator(target: Function): void;\r\n function decorator(target: Object, targetKey: string | symbol): void;\r\n function decorator(target: Object, targetKey?: string | symbol): void {\r\n if (!IsUndefined(targetKey)) {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n\r\n targetKey = ToPropertyKey(targetKey);\r\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);\r\n }\r\n else {\r\n if (!IsConstructor(target)) {\r\n throw new TypeError();\r\n }\r\n\r\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, /*targetKey*/ undefined);\r\n }\r\n }\r\n\r\n return decorator;\r\n }\r\n \r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r\n * @param target The target object on which to define metadata.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C);\r\n *\r\n * // decorator factory as metadata-producing annotation.\r\n * function MyAnnotation(options): ClassDecorator {\r\n * return target => Reflect.defineMetadata(\"custom:annotation\", options, target);\r\n * }\r\n *\r\n */\r\n export function defineMetadata(metadataKey: any, metadataValue: any, target: Object): void;\r\n\r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r\n * @param target The target object on which to define metadata.\r\n * @param targetKey The property key for the target.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", Number, C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", Number, C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", Number, C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", Number, C.prototype, \"method\");\r\n *\r\n * // decorator factory as metadata-producing annotation.\r\n * function MyAnnotation(options): PropertyDecorator {\r\n * return (target, key) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\r\n * }\r\n *\r\n */\r\n export function defineMetadata(metadataKey: any, metadataValue: any, target: Object, targetKey: string | symbol): void;\r\n\r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r\n * @param target The target object on which to define metadata.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C);\r\n *\r\n * // property (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C.prototype, \"method\");\r\n *\r\n * // decorator factory as metadata-producing annotation.\r\n * function MyAnnotation(options): Decorator {\r\n * return (target, key?) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\r\n * }\r\n *\r\n */\r\n export function defineMetadata(metadataKey: any, metadataValue: any, target: Object, targetKey?: string | symbol): void {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);\r\n }\r\n \r\n /**\r\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function hasMetadata(metadataKey: any, target: Object): boolean;\r\n\r\n /**\r\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function hasMetadata(metadataKey: any, target: Object, targetKey: string | symbol): boolean;\r\n\r\n /**\r\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function hasMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): boolean {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryHasMetadata(metadataKey, target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets a value indicating whether the target object has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function hasOwnMetadata(metadataKey: any, target: Object): boolean;\r\n\r\n /**\r\n * Gets a value indicating whether the target object has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function hasOwnMetadata(metadataKey: any, target: Object, targetKey: string | symbol): boolean;\r\n\r\n /**\r\n * Gets a value indicating whether the target object has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function hasOwnMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): boolean {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryHasOwnMetadata(metadataKey, target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function getMetadata(metadataKey: any, target: Object): any;\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function getMetadata(metadataKey: any, target: Object, targetKey: string | symbol): any;\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function getMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): any {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryGetMetadata(metadataKey, target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function getOwnMetadata(metadataKey: any, target: Object): any;\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function getOwnMetadata(metadataKey: any, target: Object, targetKey: string | symbol): any;\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function getOwnMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): any {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryGetOwnMetadata(metadataKey, target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets the metadata keys defined on the target object or its prototype chain.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadataKeys(C);\r\n *\r\n */\r\n export function getMetadataKeys(target: Object): any[];\r\n\r\n /**\r\n * Gets the metadata keys defined on the target object or its prototype chain.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadataKeys(C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadataKeys(C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadataKeys(C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadataKeys(C.prototype, \"method\");\r\n *\r\n */\r\n export function getMetadataKeys(target: Object, targetKey: string | symbol): any[];\r\n\r\n /**\r\n * Gets the metadata keys defined on the target object or its prototype chain.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadataKeys(C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadataKeys(C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadataKeys(C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadataKeys(C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadataKeys(C.prototype, \"method\");\r\n *\r\n */\r\n export function getMetadataKeys(target: Object, targetKey?: string | symbol): any[] {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryMetadataKeys(target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets the unique metadata keys defined on the target object.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadataKeys(C);\r\n *\r\n */\r\n export function getOwnMetadataKeys(target: Object): any[];\r\n\r\n /**\r\n * Gets the unique metadata keys defined on the target object.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(C.prototype, \"method\");\r\n *\r\n */\r\n export function getOwnMetadataKeys(target: Object, targetKey: string | symbol): any[];\r\n\r\n /**\r\n * Gets the unique metadata keys defined on the target object.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadataKeys(C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(C.prototype, \"method\");\r\n *\r\n */\r\n export function getOwnMetadataKeys(target: Object, targetKey?: string | symbol): any[] {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryOwnMetadataKeys(target, targetKey);\r\n }\r\n\r\n /**\r\n * Deletes the metadata entry from the target object with the provided key.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function deleteMetadata(metadataKey: any, target: Object): boolean;\r\n\r\n /**\r\n * Deletes the metadata entry from the target object with the provided key.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function deleteMetadata(metadataKey: any, target: Object, targetKey: string | symbol): boolean;\r\n\r\n /**\r\n * Deletes the metadata entry from the target object with the provided key.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function deleteMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): boolean {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#deletemetadata-metadatakey-p-\r\n let metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);\r\n if (IsUndefined(metadataMap)) {\r\n return false;\r\n }\r\n\r\n if (!metadataMap.delete(metadataKey)) {\r\n return false;\r\n }\r\n\r\n if (metadataMap.size > 0) {\r\n return true;\r\n }\r\n\r\n let targetMetadata = __Metadata__.get(target);\r\n targetMetadata.delete(targetKey);\r\n if (targetMetadata.size > 0) {\r\n return true;\r\n }\r\n\r\n __Metadata__.delete(target);\r\n return true;\r\n }\r\n\r\n function DecorateConstructor(decorators: ClassDecorator[], target: Function): Function {\r\n for (let i = decorators.length - 1; i >= 0; --i) {\r\n let decorator = decorators[i];\r\n let decorated = decorator(target);\r\n if (!IsUndefined(decorated)) {\r\n if (!IsConstructor(decorated)) {\r\n throw new TypeError();\r\n }\r\n target = <Function>decorated;\r\n }\r\n }\r\n return target;\r\n }\r\n\r\n function DecoratePropertyWithDescriptor(decorators: MethodDecorator[], target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor {\r\n for (let i = decorators.length - 1; i >= 0; --i) {\r\n let decorator = decorators[i];\r\n let decorated = decorator(target, propertyKey, descriptor);\r\n if (!IsUndefined(decorated)) {\r\n if (!IsObject(decorated)) {\r\n throw new TypeError();\r\n }\r\n descriptor = <PropertyDescriptor>decorated;\r\n }\r\n }\r\n return descriptor;\r\n }\r\n\r\n function DecoratePropertyWithoutDescriptor(decorators: PropertyDecorator[], target: Object, propertyKey: string | symbol): void {\r\n for (let i = decorators.length - 1; i >= 0; --i) {\r\n let decorator = decorators[i];\r\n decorator(target, propertyKey);\r\n }\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#getorcreatemetadatamap--o-p-create-\r\n function GetOrCreateMetadataMap(target: Object, targetKey: string | symbol, create: boolean): Map<any, any> {\r\n let targetMetadata = __Metadata__.get(target);\r\n if (!targetMetadata) {\r\n if (!create) {\r\n return undefined;\r\n }\r\n targetMetadata = new _Map<string | symbol, Map<any, any>>();\r\n __Metadata__.set(target, targetMetadata);\r\n }\r\n\r\n let keyMetadata = targetMetadata.get(targetKey);\r\n if (!keyMetadata) {\r\n if (!create) {\r\n return undefined;\r\n }\r\n keyMetadata = new _Map<any, any>();\r\n targetMetadata.set(targetKey, keyMetadata);\r\n }\r\n\r\n return keyMetadata;\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasmetadata--metadatakey-o-p-\r\n function OrdinaryHasMetadata(MetadataKey: any, O: Object, P: string | symbol): boolean {\r\n let hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn) {\r\n return true;\r\n }\r\n\r\n let parent = GetPrototypeOf(O);\r\n if (parent !== null) {\r\n return OrdinaryHasMetadata(MetadataKey, parent, P);\r\n }\r\n\r\n return false;\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasownmetadata--metadatakey-o-p-\r\n function OrdinaryHasOwnMetadata(MetadataKey: any, O: Object, P: string | symbol): boolean {\r\n let metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);\r\n if (metadataMap === undefined) {\r\n return false;\r\n }\r\n\r\n return Boolean(metadataMap.has(MetadataKey));\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetmetadata--metadatakey-o-p-\r\n function OrdinaryGetMetadata(MetadataKey: any, O: Object, P: string | symbol): any {\r\n let hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn) {\r\n return OrdinaryGetOwnMetadata(MetadataKey, O, P);\r\n }\r\n\r\n let parent = GetPrototypeOf(O);\r\n if (parent !== null) {\r\n return OrdinaryGetMetadata(MetadataKey, parent, P);\r\n }\r\n\r\n return undefined;\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetownmetadata--metadatakey-o-p-\r\n function OrdinaryGetOwnMetadata(MetadataKey: any, O: Object, P: string | symbol): any {\r\n let metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);\r\n if (metadataMap === undefined) {\r\n return undefined;\r\n }\r\n\r\n return metadataMap.get(MetadataKey);\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarydefineownmetadata--metadatakey-metadatavalue-o-p-\r\n function OrdinaryDefineOwnMetadata(MetadataKey: any, MetadataValue: any, O: Object, P: string | symbol): void {\r\n let metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ true);\r\n metadataMap.set(MetadataKey, MetadataValue);\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarymetadatakeys--o-p-\r\n function OrdinaryMetadataKeys(O: Object, P: string | symbol): any[] {\r\n let ownKeys = OrdinaryOwnMetadataKeys(O, P);\r\n let parent = GetPrototypeOf(O);\r\n if (parent === null) {\r\n return ownKeys;\r\n }\r\n\r\n let parentKeys = OrdinaryMetadataKeys(parent, P);\r\n if (parentKeys.length <= 0) {\r\n return ownKeys;\r\n }\r\n if (ownKeys.length <= 0) {\r\n return parentKeys;\r\n }\r\n\r\n let set = new _Set<any>();\r\n let keys: any[] = [];\r\n\r\n for (let key of ownKeys) {\r\n let hasKey = set.has(key);\r\n if (!hasKey) {\r\n set.add(key);\r\n keys.push(key);\r\n }\r\n }\r\n\r\n for (let key of parentKeys) {\r\n let hasKey = set.has(key);\r\n if (!hasKey) {\r\n set.add(key);\r\n keys.push(key);\r\n }\r\n }\r\n\r\n return keys;\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryownmetadatakeys--o-p-\r\n function OrdinaryOwnMetadataKeys(target: Object, targetKey: string | symbol): any[] {\r\n let metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);\r\n let keys: any[] = [];\r\n if (metadataMap) {\r\n metadataMap.forEach((_, key) => keys.push(key));\r\n }\r\n\r\n return keys;\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-undefined-type\r\n function IsUndefined(x: any): boolean {\r\n return x === undefined;\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray\r\n function IsArray(x: any): boolean {\r\n return Array.isArray(x);\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-type\r\n function IsObject(x: any): boolean {\r\n return typeof x === \"object\" ? x !== null : typeof x === \"function\";\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor\r\n function IsConstructor(x: any): boolean {\r\n return typeof x === \"function\";\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-symbol-type\r\n function IsSymbol(x: any): boolean {\r\n return typeof x === \"symbol\";\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey\r\n function ToPropertyKey(value: any): string | symbol {\r\n if (IsSymbol(value)) {\r\n return <symbol>value;\r\n }\r\n return String(value);\r\n }\r\n\r\n function GetPrototypeOf(O: any): Object {\r\n let proto = Object.getPrototypeOf(O);\r\n if (typeof O !== \"function\" || O === functionPrototype) {\r\n return proto;\r\n }\r\n\r\n // TypeScript doesn't set __proto__ in ES5, as it's non-standard. \r\n // Try to determine the superclass constructor. Compatible implementations\r\n // must either set __proto__ on a subclass constructor to the superclass constructor,\r\n // or ensure each class has a valid `constructor` property on its prototype that\r\n // points back to the constructor.\r\n\r\n // If this is not the same as Function.[[Prototype]], then this is definately inherited.\r\n // This is the case when in ES6 or when using __proto__ in a compatible browser.\r\n if (proto !== functionPrototype) {\r\n return proto;\r\n }\r\n\r\n // If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.\r\n let prototype = O.prototype;\r\n let prototypeProto = Object.getPrototypeOf(prototype);\r\n if (prototypeProto == null || prototypeProto === Object.prototype) {\r\n return proto;\r\n }\r\n\r\n // if the constructor was not a function, then we cannot determine the heritage.\r\n let constructor = prototypeProto.constructor;\r\n if (typeof constructor !== \"function\") {\r\n return proto;\r\n }\r\n\r\n // if we have some kind of self-reference, then we cannot determine the heritage.\r\n if (constructor === O) {\r\n return proto;\r\n }\r\n\r\n // we have a pretty good guess at the heritage.\r\n return constructor;\r\n }\r\n\r\n // naive Map shim\r\n function CreateMapPolyfill() {\r\n const cacheSentinel = {};\r\n function Map() {\r\n this._keys = [];\r\n this._values = [];\r\n this._cache = cacheSentinel;\r\n }\r\n Map.prototype = {\r\n get size() {\r\n return this._keys.length;\r\n },\r\n has(key: any): boolean {\r\n if (key === this._cache) {\r\n return true;\r\n }\r\n if (this._find(key) >= 0) {\r\n this._cache = key;\r\n return true;\r\n }\r\n return false;\r\n },\r\n get(key: any): any {\r\n let index = this._find(key);\r\n if (index >= 0) {\r\n this._cache = key;\r\n return this._values[index];\r\n }\r\n return undefined;\r\n },\r\n set(key: any, value: any): Map<any, any> {\r\n this.delete(key);\r\n this._keys.push(key);\r\n this._values.push(value);\r\n this._cache = key;\r\n return this;\r\n },\r\n delete(key: any): boolean {\r\n let index = this._find(key);\r\n if (index >= 0) {\r\n this._keys.splice(index, 1);\r\n this._values.splice(index, 1);\r\n this._cache = cacheSentinel;\r\n return true;\r\n }\r\n return false;\r\n },\r\n clear(): void {\r\n this._keys.length = 0;\r\n this._values.length = 0;\r\n this._cache = cacheSentinel;\r\n },\r\n forEach(callback: (value: any, key: any, map: Map<any, any>) => void, thisArg?: any): void {\r\n let size = this.size;\r\n for (let i = 0; i < size; ++i) {\r\n let key = this._keys[i];\r\n let value = this._values[i];\r\n this._cache = key;\r\n callback.call(this, value, key, this);\r\n }\r\n },\r\n _find(key: any): number {\r\n const keys = this._keys;\r\n const size = keys.length;\r\n for (let i = 0; i < size; ++i) {\r\n if (keys[i] === key) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n }\r\n };\r\n return <any>Map;\r\n }\r\n\r\n // naive Set shim\r\n function CreateSetPolyfill() {\r\n const cacheSentinel = {};\r\n function Set() {\r\n this._map = new _Map<any, any>();\r\n }\r\n Set.prototype = {\r\n get size() {\r\n return this._map.length;\r\n },\r\n has(value: any): boolean {\r\n return this._map.has(value);\r\n },\r\n add(value: any): Set<any> {\r\n this._map.set(value, value);\r\n return this;\r\n },\r\n delete(value: any): boolean {\r\n return this._map.delete(value);\r\n },\r\n clear(): void {\r\n this._map.clear();\r\n },\r\n forEach(callback: (value: any, key: any, set: Set<any>) => void, thisArg?: any): void {\r\n this._map.forEach(callback, thisArg);\r\n }\r\n };\r\n return <any>Set;\r\n }\r\n\r\n // naive WeakMap shim\r\n function CreateWeakMapPolyfill() {\r\n const UUID_SIZE = 16;\r\n const isNode = typeof global !== \"undefined\" && Object.prototype.toString.call(global.process) === '[object process]';\r\n const nodeCrypto = isNode && require(\"crypto\");\r\n const hasOwn = Object.prototype.hasOwnProperty;\r\n const keys: { [key: string]: boolean; } = {};\r\n const rootKey = CreateUniqueKey();\r\n\r\n function WeakMap() {\r\n this._key = CreateUniqueKey();\r\n }\r\n WeakMap.prototype = {\r\n has(target: Object): boolean {\r\n let table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n if (table) {\r\n return this._key in table;\r\n }\r\n return false;\r\n },\r\n get(target: Object): any {\r\n let table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n if (table) {\r\n return table[this._key];\r\n }\r\n return undefined;\r\n },\r\n set(target: Object, value: any): WeakMap<any, any> {\r\n let table = GetOrCreateWeakMapTable(target, /*create*/ true);\r\n table[this._key] = value;\r\n return this;\r\n },\r\n delete(target: Object): boolean {\r\n let table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n if (table && this._key in table) {\r\n return delete table[this._key];\r\n }\r\n return false;\r\n },\r\n clear(): void {\r\n // NOTE: not a real clear, just makes the previous data unreachable\r\n this._key = CreateUniqueKey();\r\n }\r\n }\r\n\r\n function FillRandomBytes(buffer: BufferLike, size: number): void {\r\n for (var i = 0; i < size; ++i) {\r\n buffer[i] = Math.random() * 255 | 0;\r\n }\r\n }\r\n\r\n function GenRandomBytes(size: number): BufferLike {\r\n if (nodeCrypto) {\r\n let data = nodeCrypto.randomBytes(size);\r\n return data;\r\n }\r\n else if (typeof Uint8Array === \"function\") {\r\n let data = new Uint8Array(size);\r\n if (typeof crypto !== \"undefined\") {\r\n crypto.getRandomValues(<Uint8Array>data);\r\n }\r\n else if (typeof msCrypto !== \"undefined\") {\r\n msCrypto.getRandomValues(<Uint8Array>data);\r\n }\r\n else {\r\n FillRandomBytes(data, size);\r\n }\r\n return data;\r\n }\r\n else {\r\n let data = new Array(size);\r\n FillRandomBytes(data, size);\r\n return data;\r\n }\r\n }\r\n\r\n function CreateUUID() {\r\n let data = GenRandomBytes(UUID_SIZE);\r\n\r\n // mark as random - RFC 4122 § 4.4\r\n data[6] = data[6] & 0x4f | 0x40;\r\n data[8] = data[8] & 0xbf | 0x80;\r\n\r\n let result = \"\";\r\n for (let offset = 0; offset < UUID_SIZE; ++offset) {\r\n let byte = data[offset];\r\n if (offset === 4 || offset === 6 || offset === 8) {\r\n result += \"-\";\r\n }\r\n if (byte < 16) {\r\n result += \"0\";\r\n }\r\n result += byte.toString(16).toLowerCase();\r\n }\r\n\r\n return result;\r\n }\r\n\r\n function CreateUniqueKey(): string {\r\n let key: string;\r\n do {\r\n key = \"@@WeakMap@@\" + CreateUUID();\r\n }\r\n while (hasOwn.call(keys, key));\r\n keys[key] = true;\r\n return key;\r\n }\r\n\r\n function GetOrCreateWeakMapTable(target: Object, create: boolean): { [key: string]: any; } {\r\n if (!hasOwn.call(target, rootKey)) {\r\n if (!create) {\r\n return undefined;\r\n }\r\n Object.defineProperty(target, rootKey, { value: Object.create(null) });\r\n }\r\n return (<any>target)[rootKey];\r\n }\r\n\r\n return <any>WeakMap;\r\n }\r\n\r\n interface BufferLike {\r\n [offset: number]: number;\r\n length: number;\r\n }\r\n\r\n\r\n // hook global Reflect\r\n (function(__global: any) {\r\n if (typeof __global.Reflect !== \"undefined\") {\r\n if (__global.Reflect !== Reflect) {\r\n for (var p in Reflect) {\r\n __global.Reflect[p] = (<any>Reflect)[p];\r\n }\r\n }\r\n }\r\n else {\r\n __global.Reflect = Reflect;\r\n }\r\n })(\r\n typeof window !== \"undefined\" ? window :\r\n typeof WorkerGlobalScope !== \"undefined\" ? self :\r\n typeof global !== \"undefined\" ? global :\r\n Function(\"return this;\")());\r\n}","!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),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),w=0,b=n?c(h,S):e?c(h,0):void 0;S>w;w++)if((l||w in m)&&(g=m[w],y=x(g,w,d),t))if(n)b[w]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:b.push(g)}else if(s)return!1;return f?-1:a||s?s:b}}},{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(61),u=t(18),c=t(70),a=t(19),s=t(28),f=t(43),l=t(45),h=t(83)(\"id\"),p=t(31),v=t(39),g=t(66),y=t(20),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]},w=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=w(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},forEach:function forEach(t){for(var n,e=u(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(e(n.v,n.k,this);n&&n.r;)n=n.p},has:function has(t){return!!w(this,t)}}),y&&r.setDesc(f.prototype,\"size\",{get:function(){return a(this[m])}}),f},def:function(t,n,e){var r,o,i=w(t,n);return i?i.v=e:(t._l=i={i:o=S(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[m]++,\"F\"!==o&&(t._i[o]=i)),t},getEntry:w,setStrong:function(t,n,e){f(t,n,function(t,n){this._t=t,this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,e=t._l;e&&e.r;)e=e.p;return t._t&&(t._l=e=e?e.n:t._t._f)?\"keys\"==n?l(0,e.k):\"values\"==n?l(0,e.v):l(0,[e.k,e.v]):(t._t=void 0,l(1))},e?\"entries\":\"values\",!e,!0),g(n)}}},{18:18,19:19,20:20,28:28,31:31,32:32,39:39,43:43,45:45,47:47,61:61,66:66,70:70,83:83}],14:[function(t,n,e){var r=t(28),o=t(11);n.exports=function(t){return function toJSON(){if(o(this)!=t)throw TypeError(t+\"#toJSON isn't generic\");var n=[];return r(this,!1,n.push,n),n}}},{11:11,28:28}],15:[function(t,n,e){\"use strict\";var r=t(32),o=t(61),i=t(5),u=t(39),c=t(70),a=t(28),s=t(9),f=t(31),l=t(83)(\"weak\"),h=Object.isExtensible||u,p=s(5),v=s(6),g=0,y=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},m=function(t,n){return p(t.a,function(t){return t[0]===n})};d.prototype={get:function(t){var n=m(this,t);return n?n[1]:void 0},has:function(t){return!!m(this,t)},set:function(t,n){var e=m(this,t);e?e[1]=n:this.a.push([t,n])},\"delete\":function(t){var n=v(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},n.exports={getConstructor:function(t,n,e,r){var i=t(function(t,o){c(t,i,n),t._i=g++,t._l=void 0,void 0!=o&&a(o,e,t[r],t)});return o(i.prototype,{\"delete\":function(t){return u(t)?h(t)?f(t,l)&&f(t[l],this._i)&&delete t[l][this._i]:y(this)[\"delete\"](t):!1},has:function has(t){return u(t)?h(t)?f(t,l)&&f(t[l],this._i):y(this).has(t):!1}}),i},def:function(t,n,e){return h(i(n))?(f(n,l)||r(n,l,{}),n[l][t._i]=e):y(t).set(n,e),t},frozenStore:y,WEAK:l}},{28:28,31:31,32:32,39:39,5:5,61:61,70:70,83:83,9:9}],16:[function(t,n,e){\"use strict\";var r=t(30),o=t(23),i=t(62),u=t(61),c=t(28),a=t(70),s=t(39),f=t(25),l=t(44),h=t(67);n.exports=function(t,n,e,p,v,g){var y=r[t],d=y,m=v?\"set\":\"add\",x=d&&d.prototype,S={},w=function(t){var n=x[t];i(x,t,\"delete\"==t?function(t){return g&&!s(t)?!1:n.call(this,0===t?0:t)}:\"has\"==t?function has(t){return g&&!s(t)?!1:n.call(this,0===t?0:t)}:\"get\"==t?function get(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:\"add\"==t?function add(t){return n.call(this,0===t?0:t),this}:function set(t,e){return n.call(this,0===t?0:t,e),this})};if(\"function\"==typeof d&&(g||x.forEach&&!f(function(){(new d).entries().next()}))){var b,E=new d,O=E[m](g?{}:-0,1)!=E,P=f(function(){E.has(1)}),_=l(function(t){new d(t)});_||(d=n(function(n,e){a(n,d,t);var r=new y;return void 0!=e&&c(e,v,r[m],r),r}),d.prototype=x,x.constructor=d),g||E.forEach(function(t,n){b=1/n===-(1/0)}),(P||b)&&(w(\"delete\"),w(\"has\"),v&&w(\"get\")),(b||O)&&w(m),g&&x.clear&&delete x.clear}else d=p.getConstructor(n,t,v,m),u(d.prototype,e);return h(d,t),S[t]=d,o(o.G+o.W+o.F*(d!=y),S),g||p.setStrong(d,t,v),d}},{23:23,25:25,28:28,30:30,39:39,44:44,61:61,62:62,67:67,70:70}],17:[function(t,n,e){var r=n.exports={version:\"1.2.6\"};\"number\"==typeof __e&&(__e=r)},{}],18:[function(t,n,e){var r=t(3);n.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},{3:3}],19:[function(t,n,e){n.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},{}],20:[function(t,n,e){n.exports=!t(25)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},{25:25}],21:[function(t,n,e){var r=t(39),o=t(30).document,i=r(o)&&r(o.createElement);n.exports=function(t){return i?o.createElement(t):{}}},{30:30,39:39}],22:[function(t,n,e){var r=t(47);n.exports=function(t){var n=r.getKeys(t),e=r.getSymbols;if(e)for(var o,i=e(t),u=r.isEnum,c=0;i.length>c;)u.call(t,o=i[c++])&&n.push(o);return n}},{47:47}],23:[function(t,n,e){var r=t(30),o=t(17),i=t(32),u=t(62),c=t(18),a=\"prototype\",s=function(t,n,e){var f,l,h,p,v=t&s.F,g=t&s.G,y=t&s.S,d=t&s.P,m=t&s.B,x=g?r:y?r[n]||(r[n]={}):(r[n]||{})[a],S=g?o:o[n]||(o[n]={}),w=S[a]||(S[a]={});g&&(e=n);for(f in e)l=!v&&x&&f in x,h=(l?x:e)[f],p=m&&l?c(h,r):d&&\"function\"==typeof h?c(Function.call,h):h,x&&!l&&u(x,f,h),S[f]!=h&&i(S,f,p),d&&w[f]!=h&&(w[f]=h)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,n.exports=s},{17:17,18:18,30:30,32:32,62:62}],24:[function(t,n,e){var r=t(84)(\"match\");n.exports=function(t){var n=/./;try{\"/./\"[t](n)}catch(e){try{return n[r]=!1,!\"/./\"[t](n)}catch(o){}}return!0}},{84:84}],25:[function(t,n,e){n.exports=function(t){try{return!!t()}catch(n){return!0}}},{}],26:[function(t,n,e){\"use strict\";var r=t(32),o=t(62),i=t(25),u=t(19),c=t(84);n.exports=function(t,n,e){var a=c(t),s=\"\"[t];i(function(){var n={};return n[a]=function(){return 7},7!=\"\"[t](n)})&&(o(String.prototype,t,e(u,a,s)),r(RegExp.prototype,a,2==n?function(t,n){return s.call(t,this,n)}:function(t){return s.call(t,this)}))}},{19:19,25:25,32:32,62:62,84:84}],27:[function(t,n,e){\"use strict\";var r=t(5);n.exports=function(){var t=r(this),n=\"\";return t.global&&(n+=\"g\"),t.ignoreCase&&(n+=\"i\"),t.multiline&&(n+=\"m\"),t.unicode&&(n+=\"u\"),t.sticky&&(n+=\"y\"),n}},{5:5}],28:[function(t,n,e){var r=t(18),o=t(41),i=t(36),u=t(5),c=t(80),a=t(85);n.exports=function(t,n,e,s){var f,l,h,p=a(t),v=r(e,s,n?2:1),g=0;if(\"function\"!=typeof p)throw TypeError(t+\" is not iterable!\");if(i(p))for(f=c(t.length);f>g;g++)n?v(u(l=t[g])[0],l[1]):v(t[g]);else for(h=p.call(t);!(l=h.next()).done;)o(h,v,l.value,n)}},{18:18,36:36,41:41,5:5,80:80,85:85}],29:[function(t,n,e){var r=t(79),o=t(47).getNames,i={}.toString,u=\"object\"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(n){return u.slice()}};n.exports.get=function getOwnPropertyNames(t){return u&&\"[object Window]\"==i.call(t)?c(t):o(r(t))}},{47:47,79:79}],30:[function(t,n,e){var r=n.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=r)},{}],31:[function(t,n,e){var r={}.hasOwnProperty;n.exports=function(t,n){return r.call(t,n)}},{}],32:[function(t,n,e){var r=t(47),o=t(60);n.exports=t(20)?function(t,n,e){return r.setDesc(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},{20:20,47:47,60:60}],33:[function(t,n,e){n.exports=t(30).document&&document.documentElement},{30:30}],34:[function(t,n,e){n.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},{}],35:[function(t,n,e){var r=t(12);n.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==r(t)?t.split(\"\"):Object(t)}},{12:12}],36:[function(t,n,e){var r=t(46),o=t(84)(\"iterator\"),i=Array.prototype;n.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},{46:46,84:84}],37:[function(t,n,e){var r=t(12);n.exports=Array.isArray||function(t){return\"Array\"==r(t)}},{12:12}],38:[function(t,n,e){var r=t(39),o=Math.floor;n.exports=function isInteger(t){return!r(t)&&isFinite(t)&&o(t)===t}},{39:39}],39:[function(t,n,e){n.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},{}],40:[function(t,n,e){var r=t(39),o=t(12),i=t(84)(\"match\");n.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:\"RegExp\"==o(t))}},{12:12,39:39,84:84}],41:[function(t,n,e){var r=t(5);n.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(i){var u=t[\"return\"];throw void 0!==u&&r(u.call(t)),i}}},{5:5}],42:[function(t,n,e){\"use strict\";var r=t(47),o=t(60),i=t(67),u={};t(32)(u,t(84)(\"iterator\"),function(){return this}),n.exports=function(t,n,e){t.prototype=r.create(u,{next:o(1,e)}),i(t,n+\" Iterator\")}},{32:32,47:47,60:60,67:67,84:84}],43:[function(t,n,e){\"use strict\";var r=t(49),o=t(23),i=t(62),u=t(32),c=t(31),a=t(46),s=t(42),f=t(67),l=t(47).getProto,h=t(84)(\"iterator\"),p=!([].keys&&\"next\"in[].keys()),v=\"@@iterator\",g=\"keys\",y=\"values\",d=function(){return this};n.exports=function(t,n,e,m,x,S,w){s(e,n,m);var b,E,O=function(t){if(!p&&t in F)return F[t];switch(t){case g:return function keys(){return new e(this,t)};case y:return function values(){return new e(this,t)}}return function entries(){return new e(this,t)}},P=n+\" Iterator\",_=x==y,M=!1,F=t.prototype,A=F[h]||F[v]||x&&F[x],j=A||O(x);if(A){var N=l(j.call(new t));f(N,P,!0),!r&&c(F,v)&&u(N,h,d),_&&A.name!==y&&(M=!0,j=function values(){return A.call(this)})}if(r&&!w||!p&&!M&&F[h]||u(F,h,j),a[n]=j,a[P]=d,x)if(b={values:_?j:O(y),keys:S?j:O(g),entries:_?O(\"entries\"):j},w)for(E in b)E in F||i(F,E,b[E]);else o(o.P+o.F*(p||M),n,b);return b}},{23:23,31:31,32:32,42:42,46:46,47:47,49:49,62:62,67:67,84:84}],44:[function(t,n,e){var r=t(84)(\"iterator\"),o=!1;try{var i=[7][r]();i[\"return\"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(u){}n.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){e=!0},i[r]=function(){return u},t(i)}catch(c){}return e}},{84:84}],45:[function(t,n,e){n.exports=function(t,n){return{value:n,done:!!t}}},{}],46:[function(t,n,e){n.exports={}},{}],47:[function(t,n,e){var r=Object;n.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach}},{}],48:[function(t,n,e){var r=t(47),o=t(79);n.exports=function(t,n){for(var e,i=o(t),u=r.getKeys(i),c=u.length,a=0;c>a;)if(i[e=u[a++]]===n)return e}},{47:47,79:79}],49:[function(t,n,e){n.exports=!1},{}],50:[function(t,n,e){n.exports=Math.expm1||function expm1(t){return 0==(t=+t)?t:t>-1e-6&&1e-6>t?t+t*t/2:Math.exp(t)-1}},{}],51:[function(t,n,e){n.exports=Math.log1p||function log1p(t){return(t=+t)>-1e-8&&1e-8>t?t-t*t/2:Math.log(1+t)}},{}],52:[function(t,n,e){n.exports=Math.sign||function sign(t){return 0==(t=+t)||t!=t?t:0>t?-1:1}},{}],53:[function(t,n,e){var r,o,i,u=t(30),c=t(76).set,a=u.MutationObserver||u.WebKitMutationObserver,s=u.process,f=u.Promise,l=\"process\"==t(12)(s),h=function(){var t,n,e;for(l&&(t=s.domain)&&(s.domain=null,t.exit());r;)n=r.domain,e=r.fn,n&&n.enter(),e(),n&&n.exit(),r=r.next;o=void 0,t&&t.enter()};if(l)i=function(){s.nextTick(h)};else if(a){var p=1,v=document.createTextNode(\"\");new a(h).observe(v,{characterData:!0}),i=function(){v.data=p=-p}}else i=f&&f.resolve?function(){f.resolve().then(h)}:function(){c.call(u,h)};n.exports=function asap(t){var n={fn:t,next:void 0,domain:l&&s.domain};o&&(o.next=n),r||(r=n,i()),o=n}},{12:12,30:30,76:76}],54:[function(t,n,e){var r=t(47),o=t(81),i=t(35);n.exports=t(25)(function(){var t=Object.assign,n={},e={},r=Symbol(),o=\"abcdefghijklmnopqrst\";return n[r]=7,o.split(\"\").forEach(function(t){e[t]=t}),7!=t({},n)[r]||Object.keys(t({},e)).join(\"\")!=o})?function assign(t,n){for(var e=o(t),u=arguments,c=u.length,a=1,s=r.getKeys,f=r.getSymbols,l=r.isEnum;c>a;)for(var h,p=i(u[a++]),v=f?s(p).concat(f(p)):s(p),g=v.length,y=0;g>y;)l.call(p,h=v[y++])&&(e[h]=p[h]);return e}:Object.assign},{25:25,35:35,47:47,81:81}],55:[function(t,n,e){var r=t(23),o=t(17),i=t(25);n.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),\"Object\",u)}},{17:17,23:23,25:25}],56:[function(t,n,e){var r=t(47),o=t(79),i=r.isEnum;n.exports=function(t){return function(n){for(var e,u=o(n),c=r.getKeys(u),a=c.length,s=0,f=[];a>s;)i.call(u,e=c[s++])&&f.push(t?[e,u[e]]:u[e]);return f}}},{47:47,79:79}],57:[function(t,n,e){var r=t(47),o=t(5),i=t(30).Reflect;n.exports=i&&i.ownKeys||function ownKeys(t){var n=r.getNames(o(t)),e=r.getSymbols;return e?n.concat(e(t)):n}},{30:30,47:47,5:5}],58:[function(t,n,e){\"use strict\";var r=t(59),o=t(34),i=t(3);n.exports=function(){for(var t=i(this),n=arguments.length,e=Array(n),u=0,c=r._,a=!1;n>u;)(e[u]=arguments[u++])===c&&(a=!0);return function(){var r,i=this,u=arguments,s=u.length,f=0,l=0;if(!a&&!s)return o(t,e,i);if(r=e.slice(),a)for(;n>f;f++)r[f]===c&&(r[f]=u[l++]);for(;s>l;)r.push(u[l++]);return o(t,r,i)}}},{3:3,34:34,59:59}],59:[function(t,n,e){n.exports=t(30)},{30:30}],60:[function(t,n,e){n.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},{}],61:[function(t,n,e){var r=t(62);n.exports=function(t,n){for(var e in n)r(t,e,n[e]);return t}},{62:62}],62:[function(t,n,e){var r=t(30),o=t(32),i=t(83)(\"src\"),u=\"toString\",c=Function[u],a=(\"\"+c).split(u);t(17).inspectSource=function(t){return c.call(t)},(n.exports=function(t,n,e,u){\"function\"==typeof e&&(e.hasOwnProperty(i)||o(e,i,t[n]?\"\"+t[n]:a.join(String(n))),e.hasOwnProperty(\"name\")||o(e,\"name\",n)),t===r?t[n]=e:(u||delete t[n],o(t,n,e))})(Function.prototype,u,function toString(){return\"function\"==typeof this&&this[i]||c.call(this)})},{17:17,30:30,32:32,83:83}],63:[function(t,n,e){n.exports=function(t,n){var e=n===Object(n)?function(t){return n[t]}:n;return function(n){return String(n).replace(t,e)}}},{}],64:[function(t,n,e){n.exports=Object.is||function is(t,n){return t===n?0!==t||1/t===1/n:t!=t&&n!=n}},{}],65:[function(t,n,e){var r=t(47).getDesc,o=t(39),i=t(5),u=function(t,n){if(i(t),!o(n)&&null!==n)throw TypeError(n+\": can't set as prototype!\")};n.exports={set:Object.setPrototypeOf||(\"__proto__\"in{}?function(n,e,o){try{o=t(18)(Function.call,r(Object.prototype,\"__proto__\").set,2),o(n,[]),e=!(n instanceof Array)}catch(i){e=!0}return function setPrototypeOf(t,n){return u(t,n),e?t.__proto__=n:o(t,n),t}}({},!1):void 0),check:u}},{18:18,39:39,47:47,5:5}],66:[function(t,n,e){\"use strict\";var r=t(30),o=t(47),i=t(20),u=t(84)(\"species\");n.exports=function(t){var n=r[t];i&&n&&!n[u]&&o.setDesc(n,u,{configurable:!0,get:function(){return this}})}},{20:20,30:30,47:47,84:84}],67:[function(t,n,e){var r=t(47).setDesc,o=t(31),i=t(84)(\"toStringTag\");n.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},{31:31,47:47,84:84}],68:[function(t,n,e){var r=t(30),o=\"__core-js_shared__\",i=r[o]||(r[o]={});n.exports=function(t){return i[t]||(i[t]={})}},{30:30}],69:[function(t,n,e){var r=t(5),o=t(3),i=t(84)(\"species\");n.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||void 0==(e=r(u)[i])?n:o(e)}},{3:3,5:5,84:84}],70:[function(t,n,e){n.exports=function(t,n,e){if(!(t instanceof n))throw TypeError(e+\": use the 'new' operator!\");return t}},{}],71:[function(t,n,e){var r=t(78),o=t(19);n.exports=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),s=c.length;return 0>a||a>=s?t?\"\":void 0:(i=c.charCodeAt(a),55296>i||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):(i-55296<<10)+(u-56320)+65536)}}},{19:19,78:78}],72:[function(t,n,e){var r=t(40),o=t(19);n.exports=function(t,n,e){if(r(n))throw TypeError(\"String#\"+e+\" doesn't accept regex!\");return String(o(t))}},{19:19,40:40}],73:[function(t,n,e){var r=t(80),o=t(74),i=t(19);n.exports=function(t,n,e,u){var c=String(i(t)),a=c.length,s=void 0===e?\" \":String(e),f=r(n);if(a>=f)return c;\"\"==s&&(s=\" \");var l=f-a,h=o.call(s,Math.ceil(l/s.length));return h.length>l&&(h=h.slice(0,l)),u?h+c:c+h}},{19:19,74:74,80:80}],74:[function(t,n,e){\"use strict\";var r=t(78),o=t(19);n.exports=function repeat(t){var n=String(o(this)),e=\"\",i=r(t);if(0>i||i==1/0)throw RangeError(\"Count can't be negative\");for(;i>0;(i>>>=1)&&(n+=n))1&i&&(e+=n);return e}},{19:19,78:78}],75:[function(t,n,e){var r=t(23),o=t(19),i=t(25),u=\"\t\\n\\x0B\\f\\r    \\u2028\\u2029\\ufeff\",c=\"[\"+u+\"]\",a=\"…\",s=RegExp(\"^\"+c+c+\"*\"),f=RegExp(c+c+\"*$\"),l=function(t,n){var e={};e[t]=n(h),r(r.P+r.F*i(function(){return!!u[t]()||a[t]()!=a}),\"String\",e)},h=l.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(s,\"\")),2&n&&(t=t.replace(f,\"\")),t};n.exports=l},{19:19,23:23,25:25}],76:[function(t,n,e){var r,o,i,u=t(18),c=t(34),a=t(33),s=t(21),f=t(30),l=f.process,h=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,g=0,y={},d=\"onreadystatechange\",m=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},x=function(t){m.call(t.data)};h&&p||(h=function setImmediate(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++g]=function(){c(\"function\"==typeof t?t:Function(t),n)},r(g),g},p=function clearImmediate(t){delete y[t]},\"process\"==t(12)(l)?r=function(t){l.nextTick(u(m,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=x,r=u(i.postMessage,i,1)):f.addEventListener&&\"function\"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+\"\",\"*\")},f.addEventListener(\"message\",x,!1)):r=d in s(\"script\")?function(t){a.appendChild(s(\"script\"))[d]=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),n.exports={set:h,clear:p}},{12:12,18:18,21:21,30:30,33:33,34:34}],77:[function(t,n,e){var r=t(78),o=Math.max,i=Math.min;n.exports=function(t,n){return t=r(t),0>t?o(t+n,0):i(t,n)}},{78:78}],78:[function(t,n,e){var r=Math.ceil,o=Math.floor;n.exports=function(t){return isNaN(t=+t)?0:(t>0?o:r)(t)}},{}],79:[function(t,n,e){var r=t(35),o=t(19);n.exports=function(t){return r(o(t))}},{19:19,35:35}],80:[function(t,n,e){var r=t(78),o=Math.min;n.exports=function(t){return t>0?o(r(t),9007199254740991):0}},{78:78}],81:[function(t,n,e){var r=t(19);n.exports=function(t){return Object(r(t))}},{19:19}],82:[function(t,n,e){var r=t(39);n.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&\"function\"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if(\"function\"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&\"function\"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},{39:39}],83:[function(t,n,e){var r=0,o=Math.random();n.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++r+o).toString(36))}},{}],84:[function(t,n,e){var r=t(68)(\"wks\"),o=t(83),i=t(30).Symbol;n.exports=function(t){return r[t]||(r[t]=i&&i[t]||(i||o)(\"Symbol.\"+t))}},{30:30,68:68,83:83}],85:[function(t,n,e){var r=t(11),o=t(84)(\"iterator\"),i=t(46);n.exports=t(17).getIteratorMethod=function(t){return void 0!=t?t[o]||t[\"@@iterator\"]||i[r(t)]:void 0}},{11:11,17:17,46:46,84:84}],86:[function(t,n,e){\"use strict\";var r,o=t(47),i=t(23),u=t(20),c=t(60),a=t(33),s=t(21),f=t(31),l=t(12),h=t(34),p=t(25),v=t(5),g=t(3),y=t(39),d=t(81),m=t(79),x=t(78),S=t(77),w=t(80),b=t(35),E=t(83)(\"__proto__\"),O=t(9),P=t(8)(!1),_=Object.prototype,M=Array.prototype,F=M.slice,A=M.join,j=o.setDesc,N=o.getDesc,I=o.setDescs,k={};u||(r=!p(function(){return 7!=j(s(\"div\"),\"a\",{get:function(){return 7}}).a}),o.setDesc=function(t,n,e){if(r)try{return j(t,n,e)}catch(o){}if(\"get\"in e||\"set\"in e)throw TypeError(\"Accessors not supported!\");return\"value\"in e&&(v(t)[n]=e.value),t},o.getDesc=function(t,n){if(r)try{return N(t,n)}catch(e){}return f(t,n)?c(!_.propertyIsEnumerable.call(t,n),t[n]):void 0},o.setDescs=I=function(t,n){v(t);for(var e,r=o.getKeys(n),i=r.length,u=0;i>u;)o.setDesc(t,e=r[u++],n[e]);return t}),i(i.S+i.F*!u,\"Object\",{getOwnPropertyDescriptor:o.getDesc,defineProperty:o.setDesc,defineProperties:I});var D=\"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\"),T=D.concat(\"length\",\"prototype\"),L=D.length,R=function(){var t,n=s(\"iframe\"),e=L,r=\">\";for(n.style.display=\"none\",a.appendChild(n),n.src=\"javascript:\",t=n.contentWindow.document,t.open(),t.write(\"<script>document.F=Object</script\"+r),t.close(),R=t.F;e--;)delete R.prototype[D[e]];return R()},C=function(t,n){return function(e){var r,o=m(e),i=0,u=[];for(r in o)r!=E&&f(o,r)&&u.push(r);for(;n>i;)f(o,r=t[i++])&&(~P(u,r)||u.push(r));return u}},G=function(){};i(i.S,\"Object\",{getPrototypeOf:o.getProto=o.getProto||function(t){return t=d(t),f(t,E)?t[E]:\"function\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?_:null},getOwnPropertyNames:o.getNames=o.getNames||C(T,T.length,!0),create:o.create=o.create||function(t,n){var e;return null!==t?(G.prototype=v(t),e=new G,G.prototype=null,e[E]=t):e=R(),void 0===n?e:I(e,n)},keys:o.getKeys=o.getKeys||C(D,L,!1)});var W=function(t,n,e){if(!(n in k)){for(var r=[],o=0;n>o;o++)r[o]=\"a[\"+o+\"]\";k[n]=Function(\"F,a\",\"return new F(\"+r.join(\",\")+\")\")}return k[n](t,e)};i(i.P,\"Function\",{bind:function bind(t){var n=g(this),e=F.call(arguments,1),r=function(){var o=e.concat(F.call(arguments));return this instanceof r?W(n,o.length,o):h(n,o,t)};return y(n.prototype)&&(r.prototype=n.prototype),r}}),i(i.P+i.F*p(function(){a&&F.call(a)}),\"Array\",{slice:function(t,n){var e=w(this.length),r=l(this);if(n=void 0===n?e:n,\"Array\"==r)return F.call(this,t,n);for(var o=S(t,e),i=S(n,e),u=w(i-o),c=Array(u),a=0;u>a;a++)c[a]=\"String\"==r?this.charAt(o+a):this[o+a];return c}}),i(i.P+i.F*(b!=Object),\"Array\",{join:function join(t){return A.call(b(this),void 0===t?\",\":t)}}),i(i.S,\"Array\",{isArray:t(37)});var z=function(t){return function(n,e){g(n);var r=b(this),o=w(r.length),i=t?o-1:0,u=t?-1:1;if(arguments.length<2)for(;;){if(i in r){e=r[i],i+=u;break}if(i+=u,t?0>i:i>=o)throw TypeError(\"Reduce of empty array with no initial value\")}for(;t?i>=0:o>i;i+=u)i in r&&(e=n(e,r[i],i,this));return e}},K=function(t){return function(n){return t(this,n,arguments[1])}};i(i.P,\"Array\",{forEach:o.each=o.each||K(O(0)),map:K(O(1)),filter:K(O(2)),some:K(O(3)),every:K(O(4)),reduce:z(!1),reduceRight:z(!0),indexOf:K(P),lastIndexOf:function(t,n){var e=m(this),r=w(e.length),o=r-1;for(arguments.length>1&&(o=Math.min(o,x(n))),0>o&&(o=w(r+o));o>=0;o--)if(o in e&&e[o]===t)return o;return-1}}),i(i.S,\"Date\",{now:function(){return+new Date}});var U=function(t){return t>9?t:\"0\"+t};i(i.P+i.F*(p(function(){return\"0385-07-25T07:06:39.999Z\"!=new Date(-5e13-1).toISOString()})||!p(function(){new Date(NaN).toISOString()})),\"Date\",{toISOString:function toISOString(){if(!isFinite(this))throw RangeError(\"Invalid time value\");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=0>n?\"-\":n>9999?\"+\":\"\";return r+(\"00000\"+Math.abs(n)).slice(r?-6:-4)+\"-\"+U(t.getUTCMonth()+1)+\"-\"+U(t.getUTCDate())+\"T\"+U(t.getUTCHours())+\":\"+U(t.getUTCMinutes())+\":\"+U(t.getUTCSeconds())+\".\"+(e>99?e:\"0\"+U(e))+\"Z\"}})},{12:12,20:20,21:21,23:23,25:25,3:3,31:31,33:33,34:34,35:35,37:37,39:39,47:47,5:5,60:60,77:77,78:78,79:79,8:8,80:80,81:81,83:83,9:9}],87:[function(t,n,e){var r=t(23);r(r.P,\"Array\",{copyWithin:t(6)}),t(4)(\"copyWithin\")},{23:23,4:4,6:6}],88:[function(t,n,e){var r=t(23);r(r.P,\"Array\",{fill:t(7)}),t(4)(\"fill\")},{23:23,4:4,7:7}],89:[function(t,n,e){\"use strict\";var r=t(23),o=t(9)(6),i=\"findIndex\",u=!0;i in[]&&Array(1)[i](function(){u=!1}),r(r.P+r.F*u,\"Array\",{findIndex:function findIndex(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t(4)(i)},{23:23,4:4,9:9}],90:[function(t,n,e){\"use strict\";var r=t(23),o=t(9)(5),i=\"find\",u=!0;i in[]&&Array(1)[i](function(){u=!1}),r(r.P+r.F*u,\"Array\",{find:function find(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t(4)(i)},{23:23,4:4,9:9}],91:[function(t,n,e){\"use strict\";var r=t(18),o=t(23),i=t(81),u=t(41),c=t(36),a=t(80),s=t(85);o(o.S+o.F*!t(44)(function(t){Array.from(t)}),\"Array\",{from:function from(t){var n,e,o,f,l=i(t),h=\"function\"==typeof this?this:Array,p=arguments,v=p.length,g=v>1?p[1]:void 0,y=void 0!==g,d=0,m=s(l);if(y&&(g=r(g,v>2?p[2]:void 0,2)),void 0==m||h==Array&&c(m))for(n=a(l.length),e=new h(n);n>d;d++)e[d]=y?g(l[d],d):l[d];else for(f=m.call(l),e=new h;!(o=f.next()).done;d++)e[d]=y?u(f,g,[o.value,d],!0):o.value;return e.length=d,e}})},{18:18,23:23,36:36,41:41,44:44,80:80,81:81,85:85}],92:[function(t,n,e){\"use strict\";var r=t(4),o=t(45),i=t(46),u=t(79);n.exports=t(43)(Array,\"Array\",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):\"keys\"==n?o(0,e):\"values\"==n?o(0,t[e]):o(0,[e,t[e]])},\"values\"),i.Arguments=i.Array,r(\"keys\"),r(\"values\"),r(\"entries\")},{4:4,43:43,45:45,46:46,79:79}],93:[function(t,n,e){\"use strict\";var r=t(23);r(r.S+r.F*t(25)(function(){function F(){}return!(Array.of.call(F)instanceof F)}),\"Array\",{of:function of(){for(var t=0,n=arguments,e=n.length,r=new(\"function\"==typeof this?this:Array)(e);e>t;)r[t]=n[t++];return r.length=e,r}})},{23:23,25:25}],94:[function(t,n,e){t(66)(\"Array\")},{66:66}],95:[function(t,n,e){\"use strict\";var r=t(47),o=t(39),i=t(84)(\"hasInstance\"),u=Function.prototype;i in u||r.setDesc(u,i,{value:function(t){if(\"function\"!=typeof this||!o(t))return!1;if(!o(this.prototype))return t instanceof this;for(;t=r.getProto(t);)if(this.prototype===t)return!0;return!1}})},{39:39,47:47,84:84}],96:[function(t,n,e){var r=t(47).setDesc,o=t(60),i=t(31),u=Function.prototype,c=/^\\s*function ([^ (]*)/,a=\"name\";a in u||t(20)&&r(u,a,{configurable:!0,get:function(){var t=(\"\"+this).match(c),n=t?t[1]:\"\";return i(this,a)||r(this,a,o(5,n)),n}})},{20:20,31:31,47:47,60:60}],97:[function(t,n,e){\"use strict\";var r=t(13);t(16)(\"Map\",function(t){return function Map(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function get(t){var n=r.getEntry(this,t);return n&&n.v},set:function set(t,n){return r.def(this,0===t?0:t,n)}},r,!0)},{13:13,16:16}],98:[function(t,n,e){var r=t(23),o=t(51),i=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))),\"Math\",{acosh:function acosh(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},{23:23,51:51}],99:[function(t,n,e){function asinh(t){return isFinite(t=+t)&&0!=t?0>t?-asinh(-t):Math.log(t+Math.sqrt(t*t+1)):t}var r=t(23);r(r.S,\"Math\",{asinh:asinh})},{23:23}],100:[function(t,n,e){var r=t(23);r(r.S,\"Math\",{atanh:function atanh(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},{23:23}],101:[function(t,n,e){var r=t(23),o=t(52);r(r.S,\"Math\",{cbrt:function cbrt(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},{23:23,52:52}],102:[function(t,n,e){var r=t(23);r(r.S,\"Math\",{clz32:function clz32(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{23:23}],103:[function(t,n,e){var r=t(23),o=Math.exp;r(r.S,\"Math\",{cosh:function cosh(t){return(o(t=+t)+o(-t))/2}})},{23:23}],104:[function(t,n,e){var r=t(23);r(r.S,\"Math\",{expm1:t(50)})},{23:23,50:50}],105:[function(t,n,e){var r=t(23),o=t(52),i=Math.pow,u=i(2,-52),c=i(2,-23),a=i(2,127)*(2-c),s=i(2,-126),f=function(t){return t+1/u-1/u};r(r.S,\"Math\",{fround:function fround(t){var n,e,r=Math.abs(t),i=o(t);return s>r?i*f(r/s/c)*s*c:(n=(1+c/u)*r,e=n-(n-r),e>a||e!=e?i*(1/0):i*e)}})},{23:23,52:52}],106:[function(t,n,e){var r=t(23),o=Math.abs;r(r.S,\"Math\",{hypot:function hypot(t,n){for(var e,r,i=0,u=0,c=arguments,a=c.length,s=0;a>u;)e=o(c[u++]),e>s?(r=s/e,i=i*r*r+1,s=e):e>0?(r=e/s,i+=r*r):i+=e;return s===1/0?1/0:s*Math.sqrt(i)}})},{23:23}],107:[function(t,n,e){var r=t(23),o=Math.imul;r(r.S+r.F*t(25)(function(){return-5!=o(4294967295,5)||2!=o.length}),\"Math\",{imul:function imul(t,n){var e=65535,r=+t,o=+n,i=e&r,u=e&o;return 0|i*u+((e&r>>>16)*u+i*(e&o>>>16)<<16>>>0)}})},{23:23,25:25}],108:[function(t,n,e){var r=t(23);r(r.S,\"Math\",{log10:function log10(t){return Math.log(t)/Math.LN10}})},{23:23}],109:[function(t,n,e){var r=t(23);r(r.S,\"Math\",{log1p:t(51)})},{23:23,51:51}],110:[function(t,n,e){var r=t(23);r(r.S,\"Math\",{log2:function log2(t){return Math.log(t)/Math.LN2}})},{23:23}],111:[function(t,n,e){var r=t(23);r(r.S,\"Math\",{sign:t(52)})},{23:23,52:52}],112:[function(t,n,e){var r=t(23),o=t(50),i=Math.exp;r(r.S+r.F*t(25)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function sinh(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},{23:23,25:25,50:50}],113:[function(t,n,e){var r=t(23),o=t(50),i=Math.exp;r(r.S,\"Math\",{\ntanh:function tanh(t){var n=o(t=+t),e=o(-t);return n==1/0?1:e==1/0?-1:(n-e)/(i(t)+i(-t))}})},{23:23,50:50}],114:[function(t,n,e){var r=t(23);r(r.S,\"Math\",{trunc:function trunc(t){return(t>0?Math.floor:Math.ceil)(t)}})},{23:23}],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(20)?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,20:20,25:25,30:30,31:31,47:47,62:62,75:75,82:82}],116:[function(t,n,e){var r=t(23);r(r.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{23:23}],117:[function(t,n,e){var r=t(23),o=t(30).isFinite;r(r.S,\"Number\",{isFinite:function isFinite(t){return\"number\"==typeof t&&o(t)}})},{23:23,30:30}],118:[function(t,n,e){var r=t(23);r(r.S,\"Number\",{isInteger:t(38)})},{23:23,38:38}],119:[function(t,n,e){var r=t(23);r(r.S,\"Number\",{isNaN:function isNaN(t){return t!=t}})},{23:23}],120:[function(t,n,e){var r=t(23),o=t(38),i=Math.abs;r(r.S,\"Number\",{isSafeInteger:function isSafeInteger(t){return o(t)&&i(t)<=9007199254740991}})},{23:23,38:38}],121:[function(t,n,e){var r=t(23);r(r.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{23:23}],122:[function(t,n,e){var r=t(23);r(r.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{23:23}],123:[function(t,n,e){var r=t(23);r(r.S,\"Number\",{parseFloat:parseFloat})},{23:23}],124:[function(t,n,e){var r=t(23);r(r.S,\"Number\",{parseInt:parseInt})},{23:23}],125:[function(t,n,e){var r=t(23);r(r.S+r.F,\"Object\",{assign:t(54)})},{23:23,54:54}],126:[function(t,n,e){var r=t(39);t(55)(\"freeze\",function(t){return function freeze(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],127:[function(t,n,e){var r=t(79);t(55)(\"getOwnPropertyDescriptor\",function(t){return function getOwnPropertyDescriptor(n,e){return t(r(n),e)}})},{55:55,79:79}],128:[function(t,n,e){t(55)(\"getOwnPropertyNames\",function(){return t(29).get})},{29:29,55:55}],129:[function(t,n,e){var r=t(81);t(55)(\"getPrototypeOf\",function(t){return function getPrototypeOf(n){return t(r(n))}})},{55:55,81:81}],130:[function(t,n,e){var r=t(39);t(55)(\"isExtensible\",function(t){return function isExtensible(n){return r(n)?t?t(n):!0:!1}})},{39:39,55:55}],131:[function(t,n,e){var r=t(39);t(55)(\"isFrozen\",function(t){return function isFrozen(n){return r(n)?t?t(n):!1:!0}})},{39:39,55:55}],132:[function(t,n,e){var r=t(39);t(55)(\"isSealed\",function(t){return function isSealed(n){return r(n)?t?t(n):!1:!0}})},{39:39,55:55}],133:[function(t,n,e){var r=t(23);r(r.S,\"Object\",{is:t(64)})},{23:23,64:64}],134:[function(t,n,e){var r=t(81);t(55)(\"keys\",function(t){return function keys(n){return t(r(n))}})},{55:55,81:81}],135:[function(t,n,e){var r=t(39);t(55)(\"preventExtensions\",function(t){return function preventExtensions(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],136:[function(t,n,e){var r=t(39);t(55)(\"seal\",function(t){return function seal(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],137:[function(t,n,e){var r=t(23);r(r.S,\"Object\",{setPrototypeOf:t(65).set})},{23:23,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(23),f=t(39),l=t(5),h=t(3),p=t(70),v=t(28),g=t(65).set,y=t(64),d=t(84)(\"species\"),m=t(69),x=t(53),S=\"Promise\",w=u.process,b=\"process\"==a(w),E=u[S],O=function(t){var n=new E(function(){});return t&&(n.constructor=Object),E.resolve(n)===n},P=function(){function P2(t){var n=new E(t);return g(n,P2.prototype),n}var n=!1;try{if(n=E&&E.resolve&&O(),g(P2,E),P2.prototype=o.create(E.prototype,{constructor:{value:P2}}),P2.resolve(5).then(function(){})instanceof P2||(n=!1),n&&t(20)){var e=!1;E.resolve(o.setDesc({},\"then\",{get:function(){e=!0}})),n=e}}catch(r){n=!1}return n}(),_=function(t,n){return i&&t===E&&n===r?!0:y(t,n)},M=function(t){var n=l(t)[d];return void 0!=n?n:t},F=function(t){var n;return f(t)&&\"function\"==typeof(n=t.then)?n:!1},A=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError(\"Bad Promise constructor\");n=t,e=r}),this.resolve=h(n),this.reject=h(e)},j=function(t){try{t()}catch(n){return{error:n}}},N=function(t,n){if(!t.n){t.n=!0;var e=t.c;x(function(){for(var r=t.v,o=1==t.s,i=0,c=function(n){var e,i,u=o?n.ok:n.fail,c=n.resolve,a=n.reject;try{u?(o||(t.h=!0),e=u===!0?r:u(r),e===n.promise?a(TypeError(\"Promise-chain cycle\")):(i=F(e))?i.call(e,c,a):c(e)):a(r)}catch(s){a(s)}};e.length>i;)c(e[i++]);e.length=0,t.n=!1,n&&setTimeout(function(){var n,e,o=t.p;I(o)&&(b?w.emit(\"unhandledRejection\",r,o):(n=u.onunhandledrejection)?n({promise:o,reason:r}):(e=u.console)&&e.error&&e.error(\"Unhandled promise rejection\",r)),t.a=void 0},1)})}},I=function(t){var n,e=t._d,r=e.a||e.c,o=0;if(e.h)return!1;for(;r.length>o;)if(n=r[o++],n.fail||!I(n.promise))return!1;return!0},k=function(t){var n=this;n.d||(n.d=!0,n=n.r||n,n.v=t,n.s=2,n.a=n.c.slice(),N(n,!0))},D=function(t){var n,e=this;if(!e.d){e.d=!0,e=e.r||e;try{if(e.p===t)throw TypeError(\"Promise can't be resolved itself\");(n=F(t))?x(function(){var r={r:e,d:!1};try{n.call(t,c(D,r,1),c(k,r,1))}catch(o){k.call(r,o)}}):(e.v=t,e.s=1,N(e,!1))}catch(r){k.call({r:e,d:!1},r)}}};P||(E=function Promise(t){h(t);var n=this._d={p:p(this,E,S),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};try{t(c(D,n,1),c(k,n,1))}catch(e){k.call(n,e)}},t(61)(E.prototype,{then:function then(t,n){var e=new A(m(this,E)),r=e.promise,o=this._d;return e.ok=\"function\"==typeof t?t:!0,e.fail=\"function\"==typeof n&&n,o.c.push(e),o.a&&o.a.push(e),o.s&&N(o,!1),r},\"catch\":function(t){return this.then(void 0,t)}})),s(s.G+s.W+s.F*!P,{Promise:E}),t(67)(E,S),t(66)(S),r=t(17)[S],s(s.S+s.F*!P,S,{reject:function reject(t){var n=new A(this),e=n.reject;return e(t),n.promise}}),s(s.S+s.F*(!P||O(!0)),S,{resolve:function resolve(t){if(t instanceof E&&_(t.constructor,this))return t;var n=new A(this),e=n.resolve;return e(t),n.promise}}),s(s.S+s.F*!(P&&t(44)(function(t){E.all(t)[\"catch\"](function(){})})),S,{all:function all(t){var n=M(this),e=new A(n),r=e.resolve,i=e.reject,u=[],c=j(function(){v(t,!1,u.push,u);var e=u.length,c=Array(e);e?o.each.call(u,function(t,o){var u=!1;n.resolve(t).then(function(t){u||(u=!0,c[o]=t,--e||r(c))},i)}):r(c)});return c&&i(c.error),e.promise},race:function race(t){var n=M(this),e=new A(n),r=e.reject,o=j(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o&&r(o.error),e.promise}})},{11:11,17:17,18:18,20:20,23:23,28:28,3:3,30:30,39:39,44:44,47:47,49:49,5:5,53:53,61:61,64:64,65:65,66:66,67:67,69:69,70:70,84:84}],140:[function(t,n,e){var r=t(23),o=Function.apply;r(r.S,\"Reflect\",{apply:function apply(t,n,e){return o.call(t,n,e)}})},{23:23}],141:[function(t,n,e){var r=t(47),o=t(23),i=t(3),u=t(5),c=t(39),a=Function.bind||t(17).Function.prototype.bind;o(o.S+o.F*t(25)(function(){function F(){}return!(Reflect.construct(function(){},[],F)instanceof F)}),\"Reflect\",{construct:function construct(t,n){i(t);var e=arguments.length<3?t:i(arguments[2]);if(t==e){if(void 0!=n)switch(u(n).length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var o=[null];return o.push.apply(o,n),new(a.apply(t,o))}var s=e.prototype,f=r.create(c(s)?s:Object.prototype),l=Function.apply.call(t,f,n);return c(l)?l:f}})},{17:17,23:23,25:25,3:3,39:39,47:47,5:5}],142:[function(t,n,e){var r=t(47),o=t(23),i=t(5);o(o.S+o.F*t(25)(function(){Reflect.defineProperty(r.setDesc({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function defineProperty(t,n,e){i(t);try{return r.setDesc(t,n,e),!0}catch(o){return!1}}})},{23:23,25:25,47:47,5:5}],143:[function(t,n,e){var r=t(23),o=t(47).getDesc,i=t(5);r(r.S,\"Reflect\",{deleteProperty:function deleteProperty(t,n){var e=o(i(t),n);return e&&!e.configurable?!1:delete t[n]}})},{23:23,47:47,5:5}],144:[function(t,n,e){\"use strict\";var r=t(23),o=t(5),i=function(t){this._t=o(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};t(42)(i,\"Object\",function(){var t,n=this,e=n._k;do if(n._i>=e.length)return{value:void 0,done:!0};while(!((t=e[n._i++])in n._t));return{value:t,done:!1}}),r(r.S,\"Reflect\",{enumerate:function enumerate(t){return new i(t)}})},{23:23,42:42,5:5}],145:[function(t,n,e){var r=t(47),o=t(23),i=t(5);o(o.S,\"Reflect\",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(t,n){return r.getDesc(i(t),n)}})},{23:23,47:47,5:5}],146:[function(t,n,e){var r=t(23),o=t(47).getProto,i=t(5);r(r.S,\"Reflect\",{getPrototypeOf:function getPrototypeOf(t){return o(i(t))}})},{23:23,47:47,5:5}],147:[function(t,n,e){function get(t,n){var e,i,a=arguments.length<3?t:arguments[2];return c(t)===a?t[n]:(e=r.getDesc(t,n))?o(e,\"value\")?e.value:void 0!==e.get?e.get.call(a):void 0:u(i=r.getProto(t))?get(i,n,a):void 0}var r=t(47),o=t(31),i=t(23),u=t(39),c=t(5);i(i.S,\"Reflect\",{get:get})},{23:23,31:31,39:39,47:47,5:5}],148:[function(t,n,e){var r=t(23);r(r.S,\"Reflect\",{has:function has(t,n){return n in t}})},{23:23}],149:[function(t,n,e){var r=t(23),o=t(5),i=Object.isExtensible;r(r.S,\"Reflect\",{isExtensible:function isExtensible(t){return o(t),i?i(t):!0}})},{23:23,5:5}],150:[function(t,n,e){var r=t(23);r(r.S,\"Reflect\",{ownKeys:t(57)})},{23:23,57:57}],151:[function(t,n,e){var r=t(23),o=t(5),i=Object.preventExtensions;r(r.S,\"Reflect\",{preventExtensions:function preventExtensions(t){o(t);try{return i&&i(t),!0}catch(n){return!1}}})},{23:23,5:5}],152:[function(t,n,e){var r=t(23),o=t(65);o&&r(r.S,\"Reflect\",{setPrototypeOf:function setPrototypeOf(t,n){o.check(t,n);try{return o.set(t,n),!0}catch(e){return!1}}})},{23:23,65:65}],153:[function(t,n,e){function set(t,n,e){var i,s,f=arguments.length<4?t:arguments[3],l=r.getDesc(c(t),n);if(!l){if(a(s=r.getProto(t)))return set(s,n,e,f);l=u(0)}return o(l,\"value\")?l.writable!==!1&&a(f)?(i=r.getDesc(f,n)||u(0),i.value=e,r.setDesc(f,n,i),!0):!1:void 0===l.set?!1:(l.set.call(f,e),!0)}var r=t(47),o=t(31),i=t(23),u=t(60),c=t(5),a=t(39);i(i.S,\"Reflect\",{set:set})},{23:23,31:31,39:39,47:47,5:5,60:60}],154:[function(t,n,e){var r=t(47),o=t(30),i=t(40),u=t(27),c=o.RegExp,a=c,s=c.prototype,f=/a/g,l=/a/g,h=new c(f)!==f;!t(20)||h&&!t(25)(function(){return l[t(84)(\"match\")]=!1,c(f)!=f||c(l)==l||\"/a/i\"!=c(f,\"i\")})||(c=function RegExp(t,n){var e=i(t),r=void 0===n;return this instanceof c||!e||t.constructor!==c||!r?h?new a(e&&!r?t.source:t,n):a((e=t instanceof c)?t.source:t,e&&r?u.call(t):n):t},r.each.call(r.getNames(a),function(t){t in c||r.setDesc(c,t,{configurable:!0,get:function(){return a[t]},set:function(n){a[t]=n}})}),s.constructor=c,c.prototype=s,t(62)(o,\"RegExp\",c)),t(66)(\"RegExp\")},{20:20,25:25,27:27,30:30,40:40,47:47,62:62,66:66,84:84}],155:[function(t,n,e){var r=t(47);t(20)&&\"g\"!=/./g.flags&&r.setDesc(RegExp.prototype,\"flags\",{configurable:!0,get:t(27)})},{20:20,27:27,47:47}],156:[function(t,n,e){t(26)(\"match\",1,function(t,n){return function match(e){\"use strict\";var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))}})},{26:26}],157:[function(t,n,e){t(26)(\"replace\",2,function(t,n,e){return function replace(r,o){\"use strict\";var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)}})},{26:26}],158:[function(t,n,e){t(26)(\"search\",1,function(t,n){return function search(e){\"use strict\";var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))}})},{26:26}],159:[function(t,n,e){t(26)(\"split\",2,function(t,n,e){return function split(r,o){\"use strict\";var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)}})},{26:26}],160:[function(t,n,e){\"use strict\";var r=t(13);t(16)(\"Set\",function(t){return function Set(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(t){return r.def(this,t=0===t?0:t,t)}},r)},{13:13,16:16}],161:[function(t,n,e){\"use strict\";var r=t(23),o=t(71)(!1);r(r.P,\"String\",{codePointAt:function codePointAt(t){return o(this,t)}})},{23:23,71:71}],162:[function(t,n,e){\"use strict\";var r=t(23),o=t(80),i=t(72),u=\"endsWith\",c=\"\"[u];r(r.P+r.F*t(24)(u),\"String\",{endsWith:function endsWith(t){var n=i(this,t,u),e=arguments,r=e.length>1?e[1]:void 0,a=o(n.length),s=void 0===r?a:Math.min(o(r),a),f=String(t);return c?c.call(n,f,s):n.slice(s-f.length,s)===f}})},{23:23,24:24,72:72,80:80}],163:[function(t,n,e){var r=t(23),o=t(77),i=String.fromCharCode,u=String.fromCodePoint;r(r.S+r.F*(!!u&&1!=u.length),\"String\",{fromCodePoint:function fromCodePoint(t){for(var n,e=[],r=arguments,u=r.length,c=0;u>c;){if(n=+r[c++],o(n,1114111)!==n)throw RangeError(n+\" is not a valid code point\");e.push(65536>n?i(n):i(((n-=65536)>>10)+55296,n%1024+56320))}return e.join(\"\")}})},{23:23,77:77}],164:[function(t,n,e){\"use strict\";var r=t(23),o=t(72),i=\"includes\";r(r.P+r.F*t(24)(i),\"String\",{includes:function includes(t){return!!~o(this,t,i).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},{23:23,24:24,72:72}],165:[function(t,n,e){\"use strict\";var r=t(71)(!0);t(43)(String,\"String\",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},{43:43,71:71}],166:[function(t,n,e){var r=t(23),o=t(79),i=t(80);r(r.S,\"String\",{raw:function raw(t){for(var n=o(t.raw),e=i(n.length),r=arguments,u=r.length,c=[],a=0;e>a;)c.push(String(n[a++])),u>a&&c.push(String(r[a]));return c.join(\"\")}})},{23:23,79:79,80:80}],167:[function(t,n,e){var r=t(23);r(r.P,\"String\",{repeat:t(74)})},{23:23,74:74}],168:[function(t,n,e){\"use strict\";var r=t(23),o=t(80),i=t(72),u=\"startsWith\",c=\"\"[u];r(r.P+r.F*t(24)(u),\"String\",{startsWith:function startsWith(t){var n=i(this,t,u),e=arguments,r=o(Math.min(e.length>1?e[1]:void 0,n.length)),a=String(t);return c?c.call(n,a,r):n.slice(r,r+a.length)===a}})},{23:23,24:24,72:72,80:80}],169:[function(t,n,e){\"use strict\";t(75)(\"trim\",function(t){return function trim(){return t(this,3)}})},{75:75}],170:[function(t,n,e){\"use strict\";var r=t(47),o=t(30),i=t(31),u=t(20),c=t(23),a=t(62),s=t(25),f=t(68),l=t(67),h=t(83),p=t(84),v=t(48),g=t(29),y=t(22),d=t(37),m=t(5),x=t(79),S=t(60),w=r.getDesc,b=r.setDesc,E=r.create,O=g.get,P=o.Symbol,_=o.JSON,M=_&&_.stringify,F=!1,A=p(\"_hidden\"),j=r.isEnum,N=f(\"symbol-registry\"),I=f(\"symbols\"),k=\"function\"==typeof P,D=Object.prototype,T=u&&s(function(){return 7!=E(b({},\"a\",{get:function(){return b(this,\"a\",{value:7}).a}})).a})?function(t,n,e){var r=w(D,n);r&&delete D[n],b(t,n,e),r&&t!==D&&b(D,n,r)}:b,L=function(t){var n=I[t]=E(P.prototype);return n._k=t,u&&F&&T(D,t,{configurable:!0,set:function(n){i(this,A)&&i(this[A],t)&&(this[A][t]=!1),T(this,t,S(1,n))}}),n},R=function(t){return\"symbol\"==typeof t},C=function defineProperty(t,n,e){return e&&i(I,n)?(e.enumerable?(i(t,A)&&t[A][n]&&(t[A][n]=!1),e=E(e,{enumerable:S(0,!1)})):(i(t,A)||b(t,A,S(1,{})),t[A][n]=!0),T(t,n,e)):b(t,n,e)},G=function defineProperties(t,n){m(t);for(var e,r=y(n=x(n)),o=0,i=r.length;i>o;)C(t,e=r[o++],n[e]);return t},W=function create(t,n){return void 0===n?E(t):G(E(t),n)},z=function propertyIsEnumerable(t){var n=j.call(this,t);return n||!i(this,t)||!i(I,t)||i(this,A)&&this[A][t]?n:!0},K=function getOwnPropertyDescriptor(t,n){var e=w(t=x(t),n);return!e||!i(I,n)||i(t,A)&&t[A][n]||(e.enumerable=!0),e},U=function getOwnPropertyNames(t){for(var n,e=O(x(t)),r=[],o=0;e.length>o;)i(I,n=e[o++])||n==A||r.push(n);return r},q=function getOwnPropertySymbols(t){for(var n,e=O(x(t)),r=[],o=0;e.length>o;)i(I,n=e[o++])&&r.push(I[n]);return r},J=function stringify(t){if(void 0!==t&&!R(t)){for(var n,e,r=[t],o=1,i=arguments;i.length>o;)r.push(i[o++]);return n=r[1],\"function\"==typeof n&&(e=n),(e||!d(n))&&(n=function(t,n){return e&&(n=e.call(this,t,n)),R(n)?void 0:n}),r[1]=n,M.apply(_,r)}},B=s(function(){var t=P();return\"[null]\"!=M([t])||\"{}\"!=M({a:t})||\"{}\"!=M(Object(t))});k||(P=function Symbol(){if(R(this))throw TypeError(\"Symbol is not a constructor\");return L(h(arguments.length>0?arguments[0]:void 0))},a(P.prototype,\"toString\",function toString(){return this._k}),R=function(t){return t instanceof P},r.create=W,r.isEnum=z,r.getDesc=K,r.setDesc=C,r.setDescs=G,r.getNames=g.get=U,r.getSymbols=q,u&&!t(49)&&a(D,\"propertyIsEnumerable\",z,!0));var V={\"for\":function(t){return i(N,t+=\"\")?N[t]:N[t]=P(t)},keyFor:function keyFor(t){return v(N,t)},useSetter:function(){F=!0},useSimple:function(){F=!1}};r.each.call(\"hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables\".split(\",\"),function(t){var n=p(t);V[t]=k?n:L(n)}),F=!0,c(c.G+c.W,{Symbol:P}),c(c.S,\"Symbol\",V),c(c.S+c.F*!k,\"Object\",{create:W,defineProperty:C,defineProperties:G,getOwnPropertyDescriptor:K,getOwnPropertyNames:U,getOwnPropertySymbols:q}),_&&c(c.S+c.F*(!k||B),\"JSON\",{stringify:J}),l(P,\"Symbol\"),l(Math,\"Math\",!0),l(o.JSON,\"JSON\",!0)},{20:20,22:22,23:23,25:25,29:29,30:30,31:31,37:37,47:47,48:48,49:49,5:5,60:60,62:62,67:67,68:68,79:79,83:83,84:84}],171:[function(t,n,e){\"use strict\";var r=t(47),o=t(62),i=t(15),u=t(39),c=t(31),a=i.frozenStore,s=i.WEAK,f=Object.isExtensible||u,l={},h=t(16)(\"WeakMap\",function(t){return function WeakMap(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function get(t){if(u(t)){if(!f(t))return a(this).get(t);if(c(t,s))return t[s][this._i]}},set:function set(t,n){return i.def(this,t,n)}},i,!0,!0);7!=(new h).set((Object.freeze||Object)(l),7).get(l)&&r.each.call([\"delete\",\"has\",\"get\",\"set\"],function(t){var n=h.prototype,e=n[t];o(n,t,function(n,r){if(u(n)&&!f(n)){var o=a(this)[t](n,r);return\"set\"==t?this:o}return e.call(this,n,r)})})},{15:15,16:16,31:31,39:39,47:47,62:62}],172:[function(t,n,e){\"use strict\";var r=t(15);t(16)(\"WeakSet\",function(t){return function WeakSet(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(t){return r.def(this,t,!0)}},r,!1,!0)},{15:15,16:16}],173:[function(t,n,e){\"use strict\";var r=t(23),o=t(8)(!0);r(r.P,\"Array\",{includes:function includes(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t(4)(\"includes\")},{23:23,4:4,8:8}],174:[function(t,n,e){var r=t(23);r(r.P,\"Map\",{toJSON:t(14)(\"Map\")})},{14:14,23:23}],175:[function(t,n,e){var r=t(23),o=t(56)(!0);r(r.S,\"Object\",{entries:function entries(t){return o(t)}})},{23:23,56:56}],176:[function(t,n,e){var r=t(47),o=t(23),i=t(57),u=t(79),c=t(60);o(o.S,\"Object\",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(t){for(var n,e,o=u(t),a=r.setDesc,s=r.getDesc,f=i(o),l={},h=0;f.length>h;)e=s(o,n=f[h++]),n in l?a(l,n,c(0,e)):l[n]=e;return l}})},{23:23,47:47,57:57,60:60,79:79}],177:[function(t,n,e){var r=t(23),o=t(56)(!1);r(r.S,\"Object\",{values:function values(t){return o(t)}})},{23:23,56:56}],178:[function(t,n,e){var r=t(23),o=t(63)(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\");r(r.S,\"RegExp\",{escape:function escape(t){return o(t)}})},{23:23,63:63}],179:[function(t,n,e){var r=t(23);r(r.P,\"Set\",{toJSON:t(14)(\"Set\")})},{14:14,23:23}],180:[function(t,n,e){\"use strict\";var r=t(23),o=t(71)(!0);r(r.P,\"String\",{at:function at(t){return o(this,t)}})},{23:23,71:71}],181:[function(t,n,e){\"use strict\";var r=t(23),o=t(73);r(r.P,\"String\",{padLeft:function padLeft(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},{23:23,73:73}],182:[function(t,n,e){\"use strict\";var r=t(23),o=t(73);r(r.P,\"String\",{padRight:function padRight(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},{23:23,73:73}],183:[function(t,n,e){\"use strict\";t(75)(\"trimLeft\",function(t){return function trimLeft(){return t(this,1)}})},{75:75}],184:[function(t,n,e){\"use strict\";t(75)(\"trimRight\",function(t){return function trimRight(){return t(this,2)}})},{75:75}],185:[function(t,n,e){var r=t(47),o=t(23),i=t(18),u=t(17).Array||Array,c={},a=function(t,n){r.each.call(t.split(\",\"),function(t){void 0==n&&t in u?c[t]=u[t]:t in[]&&(c[t]=i(Function.call,[][t],n))})};a(\"pop,reverse,shift,keys,values,entries\",1),a(\"indexOf,every,some,forEach,map,filter,find,findIndex,includes\",3),a(\"join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill\"),o(o.S,\"Array\",c)},{17:17,18:18,23:23,47:47}],186:[function(t,n,e){t(92);var r=t(30),o=t(32),i=t(46),u=t(84)(\"iterator\"),c=r.NodeList,a=r.HTMLCollection,s=c&&c.prototype,f=a&&a.prototype,l=i.NodeList=i.HTMLCollection=i.Array;s&&!s[u]&&o(s,u,l),f&&!f[u]&&o(f,u,l)},{30:30,32:32,46:46,84:84,92:92}],187:[function(t,n,e){var r=t(23),o=t(76);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},{23:23,76:76}],188:[function(t,n,e){var r=t(30),o=t(23),i=t(34),u=t(58),c=r.navigator,a=!!c&&/MSIE .\\./.test(c.userAgent),s=function(t){return a?function(n,e){return t(i(u,[].slice.call(arguments,2),\"function\"==typeof n?n:Function(n)),e)}:t};o(o.G+o.B+o.F*a,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},{23:23,30:30,34:34,58:58}],189:[function(t,n,e){t(86),t(170),t(125),t(133),t(137),t(138),t(126),t(136),t(135),t(131),t(132),t(130),t(127),t(129),t(134),t(128),t(96),t(95),t(115),t(116),t(117),t(118),t(119),t(120),t(121),t(122),t(123),t(124),t(98),t(99),t(100),t(101),t(102),t(103),t(104),t(105),t(106),t(107),t(108),t(109),t(110),t(111),t(112),t(113),t(114),t(163),t(166),t(169),t(165),t(161),t(162),t(164),t(167),t(168),t(91),t(93),t(92),t(94),t(87),t(88),t(90),t(89),t(154),t(155),t(156),t(157),t(158),t(159),t(139),t(97),t(160),t(171),t(172),t(140),t(141),t(142),t(143),t(144),t(147),t(145),t(146),t(148),t(149),t(150),t(151),t(153),t(152),t(173),t(180),t(181),t(182),t(183),t(184),t(178),t(176),t(177),t(175),t(174),t(179),t(185),t(188),t(187),t(186),n.exports=t(17)},{100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:126,127:127,128:128,129:129,130:130,131:131,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,140:140,141:141,142:142,143:143,144:144,145:145,146:146,147:147,148:148,149:149,150:150,151:151,152:152,153:153,154:154,155:155,156:156,157:157,158:158,159:159,160:160,161:161,162:162,163:163,164:164,165:165,166:166,167:167,168:168,169:169,17:17,170:170,171:171,172:172,173:173,174:174,175:175,176:176,177:177,178:178,179:179,180:180,181:181,182:182,183:183,184:184,185:185,186:186,187:187,188:188,86:86,87:87,88:88,89:89,90:90,91:91,92:92,93:93,94:94,95:95,96:96,97:97,98:98,99:99}],190:[function(t,n,e){(function(t){!function(t){\"use strict\";function wrap(t,n,e,r){var o=Object.create((n||Generator).prototype),i=new Context(r||[]);return o._invoke=makeInvokeMethod(t,e,i),o}function tryCatch(t,n,e){try{return{type:\"normal\",arg:t.call(n,e)}}catch(r){return{type:\"throw\",arg:r}}}function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}function defineIteratorMethods(t){[\"next\",\"throw\",\"return\"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function AwaitArgument(t){this.arg=t}function AsyncIterator(t){function invoke(n,o){var i=t[n](o),u=i.value;return u instanceof AwaitArgument?Promise.resolve(u.arg).then(e,r):Promise.resolve(u).then(function(t){return i.value=t,i})}function enqueue(t,e){function callInvokeWithMethodAndArg(){return invoke(t,e)}return n=n?n.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):new Promise(function(t){t(callInvokeWithMethodAndArg())})}\"object\"==typeof process&&process.domain&&(invoke=process.domain.bind(invoke));var n,e=invoke.bind(t,\"next\"),r=invoke.bind(t,\"throw\");invoke.bind(t,\"return\");this._invoke=enqueue}function makeInvokeMethod(t,n,r){var o=c;return function invoke(i,u){if(o===s)throw new Error(\"Generator is already running\");if(o===f){if(\"throw\"===i)throw u;return doneResult()}for(;;){var h=r.delegate;if(h){if(\"return\"===i||\"throw\"===i&&h.iterator[i]===e){r.delegate=null;var p=h.iterator[\"return\"];if(p){var v=tryCatch(p,h.iterator,u);if(\"throw\"===v.type){i=\"throw\",u=v.arg;continue}}if(\"return\"===i)continue}var v=tryCatch(h.iterator[i],h.iterator,u);if(\"throw\"===v.type){r.delegate=null,i=\"throw\",u=v.arg;continue}i=\"next\",u=e;var g=v.arg;if(!g.done)return o=a,g;r[h.resultName]=g.value,r.next=h.nextLoc,r.delegate=null}if(\"next\"===i)r._sent=u,o===a?r.sent=u:r.sent=e;else if(\"throw\"===i){if(o===c)throw o=f,u;r.dispatchException(u)&&(i=\"next\",u=e)}else\"return\"===i&&r.abrupt(\"return\",u);o=s;var v=tryCatch(t,n,r);if(\"normal\"===v.type){o=r.done?f:a;var g={value:v.arg,done:r.done};if(v.arg!==l)return g;r.delegate&&\"next\"===i&&(u=e)}else\"throw\"===v.type&&(o=f,i=\"throw\",u=v.arg)}}}function pushTryEntry(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function resetTryEntry(t){var n=t.completion||{};n.type=\"normal\",delete n.arg,t.completion=n}function Context(t){this.tryEntries=[{tryLoc:\"root\"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t){var n=t[o];if(n)return n.call(t);if(\"function\"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,u=function next(){for(;++i<t.length;)if(r.call(t,i))return next.value=t[i],next.done=!1,next;return next.value=e,next.done=!0,next};return u.next=u}}return{next:doneResult}}function doneResult(){return{value:e,done:!0}}var e,r=Object.prototype.hasOwnProperty,o=\"function\"==typeof Symbol&&Symbol.iterator||\"@@iterator\",i=\"object\"==typeof n,u=t.regeneratorRuntime;if(u)return void(i&&(n.exports=u));u=t.regeneratorRuntime=i?n.exports:{},u.wrap=wrap;var c=\"suspendedStart\",a=\"suspendedYield\",s=\"executing\",f=\"completed\",l={},h=GeneratorFunctionPrototype.prototype=Generator.prototype;GeneratorFunction.prototype=h.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunction.displayName=\"GeneratorFunction\",u.isGeneratorFunction=function(t){var n=\"function\"==typeof t&&t.constructor;return n?n===GeneratorFunction||\"GeneratorFunction\"===(n.displayName||n.name):!1},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):t.__proto__=GeneratorFunctionPrototype,t.prototype=Object.create(h),t},u.awrap=function(t){return new AwaitArgument(t)},defineIteratorMethods(AsyncIterator.prototype),u.async=function(t,n,e,r){var o=new AsyncIterator(wrap(t,n,e,r));return u.isGeneratorFunction(n)?o:o.next().then(function(t){return t.done?t.value:o.next()})},defineIteratorMethods(h),h[o]=function(){return this},h.toString=function(){return\"[object Generator]\"},u.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function next(){for(;n.length;){var e=n.pop();if(e in t)return next.value=e,next.done=!1,next}return next.done=!0,next}},u.values=values,Context.prototype={constructor:Context,reset:function(t){if(this.prev=0,this.next=0,this.sent=e,this.done=!1,this.delegate=null,this.tryEntries.forEach(resetTryEntry),!t)for(var n in this)\"t\"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],n=t.completion;if(\"throw\"===n.type)throw n.arg;return this.rval},dispatchException:function(t){function handle(e,r){return i.type=\"throw\",i.arg=t,n.next=e,!!r}if(this.done)throw t;for(var n=this,e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e],i=o.completion;if(\"root\"===o.tryLoc)return handle(\"end\");if(o.tryLoc<=this.prev){var u=r.call(o,\"catchLoc\"),c=r.call(o,\"finallyLoc\");if(u&&c){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0);if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0)}else{if(!c)throw new Error(\"try statement without catch or finally\");if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&r.call(o,\"finallyLoc\")&&this.prev<o.finallyLoc){var i=o;break}}i&&(\"break\"===t||\"continue\"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=n,i?this.next=i.finallyLoc:this.complete(u),l},complete:function(t,n){if(\"throw\"===t.type)throw t.arg;\"break\"===t.type||\"continue\"===t.type?this.next=t.arg:\"return\"===t.type?(this.rval=t.arg,this.next=\"end\"):\"normal\"===t.type&&n&&(this.next=n)},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),resetTryEntry(e),l}},\"catch\":function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if(\"throw\"===r.type){var o=r.arg;resetTryEntry(e)}return o}}throw new Error(\"illegal catch attempt\")},delegateYield:function(t,n,e){return this.delegate={iterator:values(t),resultName:n,nextLoc:e},l}}}(\"object\"==typeof t?t:\"object\"==typeof window?window:\"object\"==typeof self?self:this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1]);\n","/* */ \n;(function () {\n var parents = function (node, ps) {\n if (node.parentNode === null) { return ps; }\n\n return parents(node.parentNode, ps.concat([node]));\n };\n\n var style = function (node, prop) {\n return getComputedStyle(node, null).getPropertyValue(prop);\n };\n\n var overflow = function (node) {\n return style(node, \"overflow\") + style(node, \"overflow-y\") + style(node, \"overflow-x\");\n };\n\n var scroll = function (node) {\n return (/(auto|scroll)/).test(overflow(node));\n };\n\n var scrollParent = function (node) {\n if (!(node instanceof HTMLElement)) {\n return ;\n }\n\n var ps = parents(node.parentNode, []);\n\n for (var i = 0; i < ps.length; i += 1) {\n if (scroll(ps[i])) {\n return ps[i];\n }\n }\n\n return window;\n };\n\n // If common js is defined use it.\n if (typeof module === \"object\" && module !== null) {\n module.exports = scrollParent;\n } else {\n window.Scrollparent = scrollParent;\n }\n})();\n","module.exports = require(\"npm:scrollparent@0.1.0/scrollparent.js\");","'use strict';\n\nimport {SchemaManager, RedocComponent, BaseComponent} from '../base';\nimport OptionsManager from '../../options';\n\n@RedocComponent({\n selector: 'api-info',\n styles: [`\n .api-info-header{font-weight:normal}:host>div{width:60%}a.openapi-button{padding:3px 8px 4px 8px;color:#0033a0;border:1px solid #0033a0;margin-left:0.5em;font-weight:normal}\n `],\n template: `\n <div>\n <h1 class=\"api-info-header\">{{data.title}} ({{data.version}})</h1>\n <p *ngIf=\"data.description\" innerHtml=\"{{data.description | marked}}\"> </p>\n <p>\n <!-- TODO: create separate components for contact and license ? -->\n <span *ngIf=\"data.contact\"> Contact:\n <a *ngIf=\"data.contact.url\" href=\"{{data.contact.url}}\">\n {{data.contact.name || data.contact.url}}</a>\n <a *ngIf=\"data.contact.email\" href=\"mailto:{{data.contact.email}}\">\n {{data.contact.email}}</a>\n </span>\n <span *ngIf=\"data.license\"> License:\n <a *ngIf=\"data.license.url\" href=\"{{data.license.url}}\"> {{data.license.name}} </a>\n <span *ngIf=\"!data.license.url\"> {{data.license.name}} </span>\n </span>\n </p>\n <p>\n Download OpenAPI (fka Swagger) specification:\n <a class=\"openapi-button\" target=\"_blank\" attr.href='{{specUrl}}'> Download </a>\n </p>\n </div>\n `\n})\n@Reflect.metadata('parameters', [[SchemaManager], [OptionsManager]])\nexport default class ApiInfo extends BaseComponent {\n constructor(schemaMgr, optionsMgr) {\n super(schemaMgr);\n this.optionsMgr = optionsMgr;\n }\n\n prepareModel() {\n this.data = this.componentSchema.info;\n this.specUrl = this.optionsMgr.options.specUrl;\n }\n}\n","'use strict';\n\nimport {RedocComponent, BaseComponent} from '../base';\n\n@RedocComponent({\n selector: 'api-logo',\n styles: [`\n img{max-height:150px;width:auto;display:inline-block;max-width:100%;box-sizing:border-box}\n `],\n template: `\n <img *ngIf=\"data.imgUrl\" [attr.src]=\"data.imgUrl\" [ngStyle]=\"{'background-color': data.bgColor}\">\n `\n})\nexport default class ApiLogo extends BaseComponent {\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n let logoInfo = this.componentSchema.info['x-logo'];\n if (!logoInfo) return;\n this.data.imgUrl = logoInfo.url;\n this.data.bgColor = logoInfo.backgroundColor || 'transparent';\n }\n}\n","'use strict';\n\nimport {RedocComponent, BaseComponent} from '../base';\nimport JsonSchema from '../JsonSchema/json-schema';\nimport JsonSchemaLazy from '../JsonSchema/json-schema-lazy';\n\nfunction safePush(obj, prop, item) {\n if (!obj[prop]) obj[prop] = [];\n obj[prop].push(item);\n}\n\n@RedocComponent({\n selector: 'params-list',\n template: `\n <h5 class=\"param-list-header\" *ngIf=\"data.params.length\"> Parameters </h5>\n <template ngFor [ngForOf]=\"data.params\" let-paramType=\"$implicit\">\n <header class=\"paramType\">\n {{paramType.place}} Parameters\n <span class=\"hint--top-right hint--large\" [attr.data-hint]=\"paramType.placeHint\">?</span>\n </header>\n <br>\n <div class=\"params-wrap\">\n <div *ngFor=\"let param of paramType.params\" class=\"param\">\n <div class=\"param-name\">\n <span class=\"param-name-content\"> {{param.name}} </span>\n </div>\n <div class=\"param-info\">\n <div>\n <span class=\"param-type {{param.type}}\" [ngClass]=\"{'with-hint': param._displayTypeHint}\"\n title=\"{{param._displayTypeHint}}\"> {{param._displayType}} {{param._displayFormat}}</span>\n <span *ngIf=\"param.required\" class=\"param-required\">Required</span>\n <div *ngIf=\"param.enum\" class=\"param-enum\">\n <span *ngFor=\"let enumItem of param.enum\" class=\"enum-value {{enumItem.type}}\"> {{enumItem.val | json}} </span>\n </div>\n </div>\n <div class=\"param-description\" innerHtml=\"{{param.description | marked}}\"></div>\n </div>\n </div>\n </div>\n </template>\n\n <div *ngIf=\"data.bodyParam\">\n <h5 class=\"param-list-header\" *ngIf=\"data.bodyParam\"> Request Body </h5>\n\n <div class=\"body-param-description\" innerHtml=\"{{data.bodyParam.description | marked}}\"></div>\n <div>\n <br>\n <json-schema-lazy [skipReadOnly]=\"true\" [auto]=\"true\" pointer=\"{{data.bodyParam.pointer}}/schema\">\n </json-schema-lazy>\n </div>\n </div>\n `,\n styles: [`\n .param-list-header{border-bottom:1px solid rgba(38,50,56,0.3);padding:0.2em 0;margin:3.5em 0 .8em 0;color:rgba(38,50,56,0.5);font-weight:normal;text-transform:uppercase}.param-name{font-size:0.929em;padding:10px 0 10px 0;font-weight:400;box-sizing:border-box;line-height:20px;border-left:1px solid rgba(0,51,160,0.5);white-space:nowrap;position:relative;vertical-align:top}.param-name-content{padding-right:25px;display:inline-block;font-family:Montserrat,sans-serif}.param-info{padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc;width:75%}.param-range{color:rgba(0,51,160,0.7);position:relative;top:1px;padding:0 4px;border-radius:2px;background-color:rgba(0,51,160,0.1);margin-left:6px}.param-description{font-size:13px}.param-required{color:red;font-weight:bold;font-size:12px;line-height:20px;vertical-align:middle}.param-type{color:rgba(38,50,56,0.4);font-size:0.929em;line-height:20px;vertical-align:middle;font-weight:normal}.param-type.array:before{content:\"Array of \";color:#263238;font-weight:300}.param-type.with-hint{display:inline-block;margin-bottom:0.4em;border-bottom:1px dotted rgba(38,50,56,0.4);padding:0;cursor:help}.param-type-trivial{margin:10px 10px 0;display:inline-block}.param-name>span:before{content:\"\";display:inline-block;width:1px;height:7px;background-color:#0033a0;margin:0 10px;vertical-align:middle}.param-name>span:after{content:\"\";position:absolute;border-top:1px solid rgba(0,51,160,0.5);width:10px;left:0;top:21px}.param:first-of-type>.param-name:before{content:\"\";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:21px}.param:last-of-type>.param-name,.param.last>.param-name{position:relative}.param:last-of-type>.param-name:after,.param.last>.param-name:after{content:\"\";display:block;position:absolute;left:-2px;border-left:2px solid #fff;top:22px;background-color:white;bottom:0}.param-wrap:last-of-type>.param-schema{border-left-color:transparent}.param-schema .param-wrap:first-of-type .param-name:before{display:none !important}.param-schema.last>td{border-left:0}.param-enum{color:#263238;font-size:13px}.param-enum:before{content:\"Values: {\"}.param-enum:after{content:\"}\"}.param-enum>.enum-value:after{content:\", \"}.param-enum>.enum-value:last-of-type:after{content:none}header.paramType{margin:10px 0;text-transform:capitalize}.params-wrap{display:table;width:100%}.param-name{display:table-cell;vertical-align:top}.param-info{display:table-cell;width:100%}.param{display:table-row}.param:last-of-type>.param-name{border-left:0}.param:last-of-type>.param-name:after{content:\"\";display:block;position:absolute;left:0;border-left:1px solid rgba(0,51,160,0.5);height:21px;background-color:white;top:0}.param:first-of-type .param-name:after{content:\"\";display:block;position:absolute;left:-1px;border-left:2px solid #fff;height:20px;background-color:white;top:0}[data-hint]{width:1.2em;text-align:center;border-radius:50%;vertical-align:middle;color:#999;line-height:1.2;text-transform:none;cursor:help;border:1px solid #999;margin-left:0.5em}@media (max-width: 520px){[data-hint]{float:right}[data-hint]:after{margin-left:12px;transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);-webkit-transform:translateX(-100%) translateY(-8px)}}\n `],\n directives: [JsonSchema, JsonSchemaLazy]\n})\nexport default class ParamsList extends BaseComponent {\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n let paramsList = this.schemaMgr.getMethodParams(this.pointer, true);\n\n paramsList = paramsList.map((paramData) => {\n let propPointer = paramData._pointer;\n if (paramData.in === 'body') return paramData;\n return JsonSchema.injectPropertyData(paramData, paramData.name, propPointer);\n });\n\n let paramsMap = this.orderParams(paramsList);\n\n if (paramsMap.body && paramsMap.body.length) {\n let bodyParam = paramsMap.body[0];\n bodyParam.pointer = bodyParam._pointer;\n this.data.bodyParam = bodyParam;\n paramsMap.body = undefined;\n }\n\n this.data.noParams = !(Object.keys(paramsMap).length || this.data.bodyParam);\n\n let paramsPlaces = ['path', 'query', 'formData', 'header', 'body'];\n let placeHint = {\n path: `Used together with Path Templating, where the parameter value is actually part\n of the operation's URL. This does not include the host or base path of the API.\n For example, in /items/{itemId}, the path parameter is itemId`,\n query: `Parameters that are appended to the URL.\n For example, in /items?id=###, the query parameter is id`,\n formData: `Parameters that are submitted through a form.\n application/x-www-form-urlencoded, multipart/form-data or both are usually\n used as the content type of the request`,\n header: 'Custom headers that are expected as part of the request'\n };\n let params = [];\n paramsPlaces.forEach(place => {\n if (paramsMap[place] && paramsMap[place].length) {\n params.push({place: place, placeHint: placeHint[place], params: paramsMap[place]});\n }\n });\n this.data.params = params;\n }\n\n orderParams(params) {\n let res = {};\n params.forEach((param) => safePush(res, param.in, param));\n return res;\n }\n}\n","'use strict';\n\nimport {ViewChildren, QueryList, ChangeDetectorRef, ChangeDetectionStrategy} from 'angular2/core';\n\nimport {RedocComponent, BaseComponent, SchemaManager} from '../base';\nimport JsonPointer from '../../utils/JsonPointer';\nimport {Tabs, Tab} from '../../common/components/Tabs/tabs';\nimport SchemaSample from '../SchemaSample/schema-sample';\nimport {PrismPipe} from '../../utils/pipes';\nimport {redocEvents} from '../../events';\n\n@RedocComponent({\n selector: 'request-samples',\n template: `\n <header *ngIf=\"data.bodySchemaPtr || data.samples.length\"> Request samples </header>\n <schema-sample *ngIf=\"!data.samples.length\" [pointer]=\"data.bodySchemaPtr\"> </schema-sample>\n <tabs *ngIf=\"data.samples.length\" (change)=changeLangNotify($event)>\n <tab tabTitle=\"JSON\">\n <schema-sample [pointer]=\"data.bodySchemaPtr\"> </schema-sample>\n </tab>\n <tab *ngFor=\"let sample of data.samples\" [tabTitle]=\"sample.lang\">\n <pre innerHtml=\"{{sample.source | prism:sample.lang}}\"></pre>\n </tab>\n </tabs>\n `,\n styles: [`\n header{font-family:Montserrat;font-size:0.929em;text-transform:uppercase;margin:0;color:#9fb4be;text-transform:uppercase;font-weight:normal}:host>tabs>ul li{font-family:Montserrat;font-size:.9em;border-radius:2px;margin:2px 0;padding:3px 10px 2px 10px;line-height:1.25;color:#9fb4be}:host>tabs>ul li:hover{background-color:rgba(255,255,255,0.1);color:#ffffff}:host>tabs>ul li.active{background-color:#ffffff;color:#263238}:host tabs ul{padding-top:10px}pre{overflow-x:auto;word-break:break-all;word-wrap:break-word;white-space:pre-wrap}\n `],\n directives: [SchemaSample, Tabs, Tab],\n inputs: ['bodySchemaPtr'],\n pipes: [PrismPipe],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\n@Reflect.metadata('parameters', [[SchemaManager], [new ViewChildren(Tabs), QueryList], [ChangeDetectorRef]])\nexport default class RequestSamples extends BaseComponent {\n constructor(schemaMgr, tabs, changeDetector) {\n super(schemaMgr);\n tabs.changes.subscribe(_ => {\n this.tabs = tabs.first;\n this.subscribeForEvents(_);\n });\n this.changeDetector = changeDetector;\n }\n\n changeLangNotify(lang) {\n redocEvents.samplesLanguageChanged.next(lang);\n }\n\n subscribeForEvents() {\n if (!this.tabs) return;\n redocEvents.samplesLanguageChanged.subscribe((sampleLang) => {\n this.tabs.selectyByTitle(sampleLang);\n this.changeDetector.markForCheck();\n });\n }\n\n prepareModel() {\n this.data = {};\n this.data.bodySchemaPtr = JsonPointer.join(this.bodySchemaPtr, 'schema');\n this.data.samples = this.componentSchema['x-code-samples'] || [];\n }\n}\n","'use strict';\n\nimport {JsonPointer} from '../../utils/JsonPointer';\nimport {RedocComponent, BaseComponent} from '../base';\n\nimport ParamsList from '../ParamsList/params-list';\nimport ResponsesList from '../ResponsesList/responses-list';\nimport ResponsesSamples from '../ResponsesSamples/responses-samples';\nimport SchemaSample from '../SchemaSample/schema-sample';\nimport RequestSamples from '../RequestSamples/request-samples';\n\n@RedocComponent({\n selector: 'method',\n template: `\n <div class=\"method\">\n <div class=\"method-content\">\n <h2 class=\"method-header sharable-header\">\n <a class=\"share-link\" href=\"#{{data.methodAnchor}}\"></a>{{data.methodInfo.summary}}\n </h2>\n <div class=\"method-tags\" *ngIf=\"data.methodInfo.tags.length\">\n <a *ngFor=\"let tag of data.methodInfo.tags\" attr.href=\"#{{tag}}\"> {{tag}} </a>\n </div>\n <p *ngIf=\"data.methodInfo.description\" class=\"method-description\"\n innerHtml=\"{{data.methodInfo.description | marked}}\">\n </p>\n <params-list pointer=\"{{pointer}}/parameters\"> </params-list>\n <responses-list pointer=\"{{pointer}}/responses\"> </responses-list>\n </div>\n <div class=\"method-samples\">\n <h5>Definition</h5>\n <span class=\"method-endpoint\">\n <h5 class=\"http-method\" [ngClass]=\"data.httpMethod\">{{data.httpMethod}}</h5>\n <span class=\"api-url\">{{data.apiUrl}}</span> <span class=\"path\">{{data.path}}</span>\n </span>\n <div *ngIf=\"data.bodyParam\">\n <br>\n <request-samples [pointer]=\"pointer\" [bodySchemaPtr]=\"data.bodyParam._pointer\">\n </request-samples>\n </div>\n <div>\n <br>\n <responses-samples pointer=\"{{pointer}}/responses\"> </responses-samples>\n </div>\n </div>\n <div>\n `,\n styles: [`\n .share-link{cursor:pointer;margin-left:-15px;padding:0;line-height:1;width:15px;display:inline-block}.share-link:before{content:\"\";width:15px;height:15px;background-size:contain;background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==\");opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle}.sharable-header{color:#263238}.sharable-header:hover .share-link:before,.share-link:hover:before{visibility:visible}:host{padding-bottom:100px;display:block;border-bottom:1px solid rgba(127,127,127,0.25)}responses-list,params-list{display:block}.method-header{margin-bottom:.9em}.method-endpoint{margin:0 0 2em 0;padding:10px 20px;border-radius:4px;background-color:#222d32;display:block;font-weight:300}.method-endpoint>h5{padding-top:1px;padding-bottom:0;margin:0;font-size:.8em;color:#263238;vertical-align:middle;display:inline-block;border-radius:2px}.api-url{color:rgba(255,255,255,0.8);margin-left:10px;margin-top:2px;position:relative;top:1px;font-family:Montserrat,sans-serif;font-size:0.929em !important}.path{font-family:Montserrat,sans-serif;position:relative;top:1px;color:#ffffff;font-size:0.929em !important}.method-tags{margin-top:20px}.method-tags a{font-size:16px;color:#999;display:inline-block;padding:0 0.5em;text-decoration:none}.method-tags a:before{content:'#';margin-right:-0.4em}.method-tags a:first-of-type{padding:0}.method-content,.method-samples{display:block;box-sizing:border-box;float:left}.method-content{width:60%;padding:40px}.method-samples{color:#fafbfc;width:40%;padding:40px;background:#263238}responses-samples{display:block}.method-samples header,.method-samples>h5{color:#9fb4be;text-transform:uppercase}.method-samples>h5{margin-bottom:8px}.method-samples schema-sample{display:block}.method:after{content:\"\";display:table;clear:both}.method-description{padding:6px 0 10px 0;margin:0}.http-method{color:#263238;background:#ffffff;padding:3px 10px;text-transform:uppercase}@media (max-width: 1100px){.methods:before{display:none}.method-samples,.method-content{width:100%}.method-samples{margin-top:2em}:host{padding-bottom:0}}\n `],\n directives: [ParamsList, ResponsesList, ResponsesSamples, SchemaSample, RequestSamples],\n inputs: ['tag']\n})\nexport default class Method extends BaseComponent {\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n this.data.apiUrl = this.schemaMgr.apiUrl;\n this.data.httpMethod = JsonPointer.baseName(this.pointer);\n this.data.path = JsonPointer.baseName(this.pointer, 2);\n this.data.methodInfo = this.componentSchema;\n this.data.methodInfo.tags = this.filterMainTags(this.data.methodInfo.tags);\n this.data.bodyParam = this.findBodyParam();\n if (this.componentSchema.operationId) {\n this.data.methodAnchor = 'operation/' + encodeURIComponent(this.componentSchema.operationId);\n } else {\n this.data.methodAnchor = 'tag/' + encodeURIComponent(this.tag + this.pointer);\n }\n }\n\n filterMainTags(tags) {\n var tagsMap = this.schemaMgr.getTagsMap();\n if (!tags) return [];\n return tags.filter(tag => tagsMap[tag] && tagsMap[tag]['x-traitTag']);\n }\n\n findBodyParam() {\n let pathParams = this.schemaMgr.getMethodParams(this.pointer, true);\n let bodyParam = pathParams.find(param => param.in === 'body');\n return bodyParam;\n }\n}\n","'use strict';\n\nimport {RedocComponent, BaseComponent} from '../base';\nimport Method from '../Method/method';\nimport {EncodeURIComponentPipe} from '../../utils/pipes';\n\n@RedocComponent({\n selector: 'methods-list',\n template: `\n <div class=\"methods\">\n <div class=\"tag\" *ngFor=\"let tag of data.tags\">\n <div class=\"tag-info\" [attr.tag]=\"tag.name\">\n <h1 class=\"sharable-header\"> <a class=\"share-link\" href=\"#tag/{{tag.name | encodeURIComponent}}\"></a>{{tag.name}} </h1>\n <p *ngIf=\"tag.description\" innerHtml=\"{{ tag.description | marked }}\"> </p>\n </div>\n <method *ngFor=\"let method of tag.methods\" [pointer]=\"method.pointer\" [attr.pointer]=\"method.pointer\"\n [attr.tag]=\"method.tag\" [tag]=\"method.tag\" [attr.operation-id]=\"method.operationId\"></method>\n </div>\n </div>\n `,\n styles: [`\n .share-link{cursor:pointer;margin-left:-15px;padding:0;line-height:1;width:15px;display:inline-block}.share-link:before{content:\"\";width:15px;height:15px;background-size:contain;background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==\");opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle}.sharable-header{color:#263238}.sharable-header:hover .share-link:before,.share-link:hover:before{visibility:visible}.tag-info{padding:40px;box-sizing:border-box;background-color:white;width:60%}@media (max-width: 1100px){.tag-info{width:100%}}.tag-info:after,.tag-info:before{content:\"\";display:table}.tag-info h1{color:#0033a0;text-transform:capitalize;font-weight:normal}.methods{display:block;position:relative}\n `],\n directives: [Method],\n pipes: [EncodeURIComponentPipe]\n})\nexport default class MethodsList extends BaseComponent {\n\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n // follow SwaggerUI behavior for cases when one method has more than one tag:\n // duplicate methods\n\n let menuStructure = this.schemaMgr.buildMenuTree();\n let tags = Array.from(menuStructure.entries())\n .map((entry) => {\n let [tag, {description, methods}] = entry;\n // inject tag name into method info\n methods = methods || [];\n methods.forEach(method => {\n method.tag = tag;\n });\n return {\n name: tag,\n description: description,\n methods: methods\n };\n });\n this.data.tags = tags;\n // TODO: check $ref field\n }\n}\n","'use strict';\n\nimport {Directive, ElementRef} from 'angular2/core';\nimport {BrowserDomAdapter} from 'angular2/platform/browser';\n\n@Directive({\n selector: '[sticky-sidebar]',\n inputs: ['scrollParent', 'scrollYOffset']\n})\n@Reflect.metadata('parameters', [[ElementRef], [BrowserDomAdapter]])\nexport default class StickySidebar {\n constructor(elementRef, dom) {\n this.$element = elementRef.nativeElement;\n this.dom = dom;\n\n // initial styling\n this.dom.setStyle(this.$element, 'position', 'absolute');\n this.dom.setStyle(this.$element, 'top', '0');\n this.dom.setStyle(this.$element, 'bottom', '0');\n this.dom.setStyle(this.$element, 'max-height', '100%');\n }\n\n bind() {\n this.cancelScrollBinding = this.dom.onAndCancel(this.scrollParent, 'scroll', () => { this.updatePosition(); });\n this.updatePosition();\n }\n\n unbind() {\n this.cancelScrollBinding && this.cancelScrollBinding();\n }\n\n updatePosition() {\n if ( this.scrollY + this.scrollYOffset() >= this.$redocEl.offsetTop) {\n this.stick();\n } else {\n this.unstick();\n }\n }\n\n stick() {\n this.dom.setStyle(this.$element, 'position', 'fixed');\n this.dom.setStyle(this.$element, 'top', this.scrollYOffset() + 'px');\n }\n\n unstick() {\n this.dom.setStyle(this.$element, 'position', 'absolute');\n this.dom.setStyle(this.$element, 'top', 0);\n }\n\n get scrollY() {\n return (this.scrollParent.pageYOffset != null) ? this.scrollParent.pageYOffset : this.scrollParent.scrollTop;\n }\n\n ngOnInit() {\n // FIXME use more reliable code\n this.$redocEl = this.$element.offsetParent;\n this.bind();\n }\n\n ngOnDestroy() {\n this.unbind();\n }\n}\n","'use strict';\n\nimport {ChangeDetectionStrategy, provide, enableProdMode} from 'angular2/core';\nimport {ElementRef} from 'angular2/core';\nimport {BrowserDomAdapter, bootstrap} from 'angular2/platform/browser';\nimport detectScollParent from 'scrollparent';\nimport {RedocComponent, BaseComponent} from '../base';\nimport SchemaManager from '../../utils/SchemaManager';\n\nimport ApiInfo from '../ApiInfo/api-info';\nimport ApiLogo from '../ApiLogo/api-logo';\nimport MethodsList from '../MethodsList/methods-list';\nimport SideMenu from '../SideMenu/side-menu';\nimport StickySidebar from '../../common/components/StickySidebar/sticky-sidebar';\nimport OptionsManager from '../../options';\nimport {redocEvents} from '../../events';\n\nimport './redoc-loading-styles.css!css';\n\nvar dom = new BrowserDomAdapter();\nvar _modeLocked = false;\n\n@RedocComponent({\n selector: 'redoc',\n providers: [\n SchemaManager,\n BrowserDomAdapter\n ],\n template: `\n <div class=\"redoc-wrap\">\n <div class=\"menu-content\" sticky-sidebar [scrollParent]=\"options.$scrollParent\" [scrollYOffset]=\"options.scrollYOffset\">\n <api-logo> </api-logo>\n <side-menu> </side-menu>\n </div>\n <div id=\"api-content\">\n <api-info> </api-info>\n <methods-list> </methods-list>\n <footer>\n <div class=\"powered-by-badge\">\n <a href=\"https://github.com/Rebilly/ReDoc\" title=\"Swagger-generated API Reference Documentation\" target=\"_blank\">\n Powered by <strong>ReDoc</strong>\n </a>\n </div>\n </footer>\n </div>\n </div>\n `,\n styles: [`\n :host{display:block;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;-ms-tap-highlight-color:transparent;-o-tap-highlight-color:transparent;tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:antialiased;-webkit-osx-font-smoothing:grayscale;-moz-osx-font-smoothing:grayscale;osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-text-shadow:1px 1px 1px rgba(0,0,0,0.004);-ms-text-shadow:1px 1px 1px rgba(0,0,0,0.004);text-shadow:1px 1px 1px rgba(0,0,0,0.004);text-rendering:optimizeSpeed !important;font-smooth:always;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}.redoc-wrap{position:relative;font-family:Roboto,sans-serif;font-size:14px;line-height:1.55em;color:#263238}side-menu{display:block;box-sizing:border-box}methods-list{display:block;overflow:hidden}api-info,.side-bar{display:block;padding:10px 0}api-info{padding:40px}api-logo{display:block;text-align:center}@media (max-width: 1000px){api-logo{display:none}}[sticky-sidebar]{width:260px;background-color:#FAFAFA;overflow-y:auto;overflow-x:hidden}@media (max-width: 1000px){[sticky-sidebar]{z-index:1;width:100%;bottom:auto !important}}#api-content{margin-left:260px;position:relative}@media (max-width: 1000px){#api-content{padding-top:3em;margin-left:0}}#api-content:before{content:\"\";background:#263238;height:100%;width:40%;top:0;right:0;position:absolute;z-index:-1}@media (max-width: 1100px){#api-content:before{display:none}}:host h1{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h2{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h3{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h4{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h5{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h1{font-size:1.85714em}:host h2{font-size:1.57143em}:host h3{font-size:1.28571em}:host h4{font-size:1.14286em}:host h5{font-size:0.929em}:host p{font-family:Roboto,sans-serif;font-weight:300;margin:0;margin-bottom:1em;line-height:1.55em}:host a{text-decoration:none;color:#0033a0}:host p>code{color:#e53935;border:1px solid rgba(38,50,56,0.1)}footer{text-align:right;padding:10px;font-size:15px;background-color:white}footer strong{font-size:18px;color:#0033a0}:host .redoc-markdown-block pre{font-family:Courier, monospace;white-space:pre-wrap;background-color:rgba(38,50,56,0.04);padding:12px 14px 15px 14px;overflow-x:auto;line-height:normal;border-radius:2px;border:1px solid rgba(38,50,56,0.1)}:host .redoc-markdown-block pre code{background-color:transparent}:host .redoc-markdown-block pre code:before,:host .redoc-markdown-block pre code:after{content:none}:host .redoc-markdown-block code{font-family:Courier, monospace;background-color:rgba(38,50,56,0.04);padding:0.1em 0 0.2em 0;font-size:1em;border-radius:2px}:host .redoc-markdown-block code:before,:host .redoc-markdown-block code:after{letter-spacing:-0.2em;content:\"\\\\00a0\"}:host .redoc-markdown-block p:last-of-type{margin-bottom:0}:host .redoc-markdown-block blockquote{margin:0;margin-bottom:1em;padding:0 15px;color:#777;border-left:4px solid #ddd}:host .redoc-markdown-block img{max-width:100%;box-sizing:content-box}:host .redoc-markdown-block ul,:host .redoc-markdown-block ol{padding-left:2em;margin:0;margin-bottom:1em}:host .redoc-markdown-block table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0;margin-top:0.5em;margin-bottom:0.5em}:host .redoc-markdown-block table tr{background-color:#fff;border-top:1px solid #ccc}:host .redoc-markdown-block table tr:nth-child(2n){background-color:#f8f8f8}:host .redoc-markdown-block table th,:host .redoc-markdown-block table td{padding:6px 13px;border:1px solid #ddd}:host .redoc-markdown-block table th{text-align:left;font-weight:bold}\n `],\n directives: [ApiInfo, ApiLogo, MethodsList, SideMenu, StickySidebar],\n changeDetection: ChangeDetectionStrategy.Default\n})\n@Reflect.metadata('parameters', [\n [SchemaManager], [OptionsManager], [ElementRef]])\nexport default class Redoc extends BaseComponent {\n constructor(schemaMgr, optionsMgr, elementRef) {\n super(schemaMgr);\n this.element = elementRef.nativeElement;\n //parse options (top level component doesn't support inputs)\n optionsMgr.parseOptions( this.element );\n optionsMgr.options.$scrollParent = detectScollParent( this.element );\n this.options = optionsMgr.options;\n }\n\n static showLoadingAnimation() {\n let elem = dom.query('redoc');\n dom.addClass(elem, 'loading');\n }\n\n static hideLoadingAnimation() {\n let redocEl = dom.query('redoc');\n dom.addClass(redocEl, 'loading-remove');\n setTimeout(() => {\n dom.removeClass(redocEl, 'loading-remove');\n dom.removeClass(redocEl, 'loading');\n }, 400);\n }\n\n static init(specUrl, options) {\n var optionsMgr = new OptionsManager();\n optionsMgr.options = options;\n optionsMgr.options.specUrl = optionsMgr.options.specUrl || specUrl;\n var providers = [\n provide(OptionsManager, {useValue: optionsMgr})\n ];\n\n if (Redoc.appRef) {\n Redoc.destroy();\n }\n Redoc.showLoadingAnimation();\n return SchemaManager.instance().load(specUrl)\n .then(() => {\n if (!_modeLocked && !optionsMgr.options.debugMode) {\n enableProdMode();\n _modeLocked = true;\n }\n return bootstrap(Redoc, providers);\n })\n .then(\n (appRef) => {\n Redoc.hideLoadingAnimation();\n Redoc.appRef = appRef;\n // setTimeout to allow cached elements to init\n setTimeout(() => redocEvents.bootstrapped.next());\n console.log('ReDoc bootstrapped!');\n },\n error => {\n console.log(error);\n throw error;\n }\n );\n }\n\n static autoInit() {\n const specUrlAttributeName = 'spec-url';\n let redocEl = dom.query('redoc');\n if (!redocEl) return;\n if (dom.hasAttribute(redocEl, specUrlAttributeName)) {\n let url = dom.getAttribute(redocEl, specUrlAttributeName);\n Redoc.init(url);\n }\n }\n\n static destroy() {\n let el = dom.query('redoc');\n let elClone;\n let parent;\n let nextSibling;\n if (el) {\n parent = el.parentElement;\n nextSibling = el.nextElementSibling;\n }\n\n elClone = el.cloneNode(false);\n\n if (Redoc.appRef) {\n Redoc.appRef.destroy();\n Redoc.appRef = null;\n\n // Redoc destroy removes host element, so need to restore it\n elClone.innerHTML = 'Loading...';\n parent && parent.insertBefore(elClone, nextSibling);\n }\n }\n}\n","'use strict';\n\nimport {Component, ElementRef, ViewContainerRef} from 'angular2/core';\nimport {CORE_DIRECTIVES} from 'angular2/common';\nimport {DynamicComponentLoader} from 'angular2/src/core/linker/dynamic_component_loader';\n\nimport JsonSchema from './json-schema';\nimport OptionsManager from '../../options';\nimport SchemaManager from '../../utils/SchemaManager';\n\n\nvar cache = {};\n\n\n@Component({\n selector: 'json-schema-lazy',\n inputs: ['pointer', 'auto', 'skipReadOnly'],\n template: '',\n directives: [CORE_DIRECTIVES]\n})\n@Reflect.metadata('parameters', [[SchemaManager], [ViewContainerRef], [ElementRef], [DynamicComponentLoader], [OptionsManager]])\nexport default class JsonSchemaLazy {\n\n constructor(schemaMgr, viewRef, elementRef, dcl, optionsMgr) {\n this.viewRef = viewRef;\n this.elementRef = elementRef;\n this.dcl = dcl;\n this.optionsMgr = optionsMgr;\n this.schemaMgr = schemaMgr;\n }\n\n normalizePointer() {\n let schema = this.schemaMgr.byPointer(this.pointer);\n return schema && schema.$ref || this.pointer;\n }\n\n load() {\n if (this.optionsMgr.options.disableLazySchemas) return;\n if (this.loaded) return;\n if (this.pointer) {\n this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {\n this.initComponent(compRef);\n // trigger change detection\n compRef.hostView.changeDetectorRef.detectChanges();\n });\n }\n this.loaded = true;\n }\n\n // cache JsonSchema view\n loadCached() {\n this.pointer = this.normalizePointer(this.pointer);\n if (cache[this.pointer]) {\n cache[this.pointer].then((compRef) => {\n setTimeout( ()=> {\n let $element = compRef.location.nativeElement;\n\n // skip caching view with tabs inside (discriminator) as it needs attached controller\n // FIXME: get rid of dependency on selector\n if ($element.querySelector('.discriminator-wrap')) {\n this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {\n this.initComponent(compRef);\n compRef.hostView.changeDetectorRef.detectChanges();\n });\n return;\n }\n insertAfter($element.cloneNode(true), this.elementRef.nativeElement);\n } );\n });\n } else {\n cache[this.pointer] = this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {\n this.initComponent(compRef);\n compRef.hostView.changeDetectorRef.detectChanges();\n return compRef;\n });\n }\n }\n\n initComponent(compRef) {\n compRef.instance.pointer = this.pointer;\n compRef.instance.skipReadOnly = this.skipReadOnly;\n }\n\n ngAfterViewInit() {\n if (!this.auto) return;\n this.loadCached();\n }\n\n ngOnDestroy() {\n // clear cache\n cache = {};\n }\n}\n\nfunction insertAfter(newNode, referenceNode) {\n referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);\n}\n","'use strict';\n\nimport {Component, EventEmitter} from 'angular2/core';\nimport {CORE_DIRECTIVES} from 'angular2/common';\n\n@Component({\n selector: 'zippy',\n events: ['open', 'close'],\n inputs: ['title', 'visible', 'type', 'empty'],\n 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 `,\n styles: [`\n .zippy-title{padding:10px;border-radius:2px;margin:2px 0;line-height:1.5em;background-color:#f2f2f2;cursor:pointer}.zippy-success>.zippy-title{color:#00aa13;background-color:rgba(0,170,19,0.08)}.zippy-error>.zippy-title{color:#e53935;background-color:rgba(229,57,53,0.06)}.zippy-redirect>.zippy-title{color:#263238;background-color:rgba(38,50,56,0.08)}.zippy-info>.zippy-title{color:#0033a0;background-color:rgba(0,51,160,0.08)}span.zippy-indicator{font-size:1.2em;margin-right:0.2em;position:relative;top:0}.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{overflow:hidden;visibility:hidden;height:0;padding:0}\n `],\n directives: [CORE_DIRECTIVES]\n})\nexport default class Zippy {\n\n constructor() {\n this.type = 'general';\n this.visible = false;\n this.empty = false;\n this.open = new EventEmitter();\n this.close = new EventEmitter();\n }\n\n toggle() {\n this.visible = !this.visible;\n if (this.empty) return;\n (this.visible) ? this.open.next() : this.close.next();\n }\n}\n","'use strict';\n\nimport {RedocComponent, BaseComponent, SchemaManager} from '../base';\nimport JsonPointer from '../../utils/JsonPointer';\nimport JsonSchema from '../JsonSchema/json-schema';\nimport JsonSchemaLazy from '../JsonSchema/json-schema-lazy';\nimport Zippy from '../../common/components/Zippy/zippy';\nimport {statusCodeType} from '../../utils/helpers';\nimport OptionsManager from '../../options';\n\nfunction isNumeric(n) {\n return (!isNaN(parseFloat(n)) && isFinite(n));\n}\n\n@RedocComponent({\n selector: 'responses-list',\n template: `\n <h2 class=\"responses-list-header\" *ngIf=\"data.responses.length\"> Responses </h2>\n <zippy *ngFor=\"let response of data.responses\" title=\"{{response.code}} {{response.description}}\"\n [type]=\"response.type\" [empty]=\"response.empty\" (open)=\"lazySchema.load()\">\n <div *ngIf=\"response.headers\" class=\"response-headers\">\n <header>\n Headers\n </header>\n <div class=\"header\" *ngFor=\"let header of response.headers\">\n <div class=\"header-name\"> {{header.name}} </div>\n <div class=\"header-type\"> {{header.type}} </div>\n <div class=\"header-description\" innerHtml=\"{{header.description | marked}}\"> </div>\n </div>\n </div>\n <json-schema *ngIf=\"response.schema && options.disableLazySchemas\" class=\"schema type\" pointer=\"{{response.pointer}}/schema\">\n </json-schema>\n <json-schema-lazy #lazySchema pointer=\"{{response.schema ? response.pointer + '/schema' : null}}\">\n </json-schema-lazy>\n </zippy>\n `,\n styles: [`\n .responses-list-header{font-size:18px;padding:0.2em 0;margin:3em 0 1.1em 0;color:#253137;font-weight:normal}:host .zippy-title{font-family:Montserrat,sans-serif}.header-name{font-weight:bold;display:inline-block}.header-type{display:inline-block;font-weight:bold;color:#999}header{font-size:14px;font-weight:bold;text-transform:uppercase;margin-bottom:15px}.header{margin-bottom:10px}\n `],\n directives: [JsonSchema, Zippy, JsonSchemaLazy]\n})\n@Reflect.metadata('parameters', [[SchemaManager], [OptionsManager]])\nexport default class ResponsesList extends BaseComponent {\n constructor(schemaMgr, optionsMgr) {\n super(schemaMgr);\n this.options = optionsMgr.options;\n }\n\n prepareModel() {\n this.data = {};\n this.data.responses = [];\n\n let responses = this.componentSchema;\n if (!responses) return;\n\n responses = Object.keys(responses).filter(respCode => {\n // only response-codes and \"default\"\n return ( isNumeric(respCode) || (respCode === 'default'));\n }).map(respCode => {\n let resp = responses[respCode];\n resp.pointer = JsonPointer.join(this.pointer, respCode);\n if (resp.$ref) {\n let ref = resp.$ref;\n resp = this.schemaMgr.byPointer(resp.$ref);\n resp.pointer = ref;\n }\n\n resp.empty = !resp.schema;\n resp.code = respCode;\n resp.type = statusCodeType(resp.code);\n if (resp.headers) {\n resp.headers = Object.keys(resp.headers).map((k) => {\n let respInfo = resp.headers[k];\n respInfo.name = k;\n return respInfo;\n });\n resp.empty = false;\n }\n resp.extendable = resp.headers || resp.length;\n return resp;\n });\n this.data.responses = responses;\n }\n}\n","'use strict';\n\nimport {Component, EventEmitter} from 'angular2/core';\nimport {CORE_DIRECTIVES} from 'angular2/common';\n\n@Component({\n selector: 'tabs',\n events: ['change'],\n template: `\n <ul>\n <li *ngFor=\"let tab of tabs\" [ngClass]=\"{active: tab.active}\" (click)=\"selectTab(tab)\"\n class=\"tab-{{tab.tabStatus}}\">{{tab.tabTitle}}</li>\n </ul>\n <ng-content></ng-content>\n `,\n directives: [CORE_DIRECTIVES],\n styles: [`\n ul{display:block;margin:0;padding:0}li{list-style:none;display:inline-block;cursor:pointer}.tab-success:before,.tab-error:before,.tab-redirect:before,.tab-info:before{content:\"\";display:inline-block;position:relative;top:-2px;height:4px;width:4px;border-radius:50%;margin-right:0.5em}.tab-success:before{box-shadow:0 0 3px 0 #00aa13;background-color:#00aa13}.tab-error:before{box-shadow:0 0 3px 0 #e53935;background-color:#e53935}.tab-redirect:before{box-shadow:0 0 3px 0 #f1c400;background-color:#f1c400}.tab-info:before{box-shadow:0 0 3px 0 #0033a0;background-color:#0033a0}\n `]\n})\nexport class Tabs {\n constructor() {\n this.tabs = [];\n this.change = new EventEmitter();\n }\n\n selectTab(tab, notify = true) {\n if (tab.active) return;\n this.tabs.forEach((tab) => {\n tab.active = false;\n });\n tab.active = true;\n notify && this.change.next(tab.tabTitle);\n }\n\n selectyByTitle(tabTitle, notify = false) {\n let prevActive;\n let newActive;\n this.tabs.forEach((tab) => {\n if (tab.active) prevActive = tab;\n tab.active = false;\n if (tab.tabTitle === tabTitle) {\n newActive = tab;\n }\n });\n if (newActive) {\n newActive.active = true;\n } else {\n prevActive.active = true;\n }\n notify && this.change.next(tabTitle);\n }\n\n addTab(tab) {\n if (this.tabs.length === 0) {\n tab.active = true;\n }\n this.tabs.push(tab);\n }\n}\n\n@Component({\n selector: 'tab',\n inputs: ['tabTitle', 'tabStatus'],\n template: `\n <div class=\"tab-wrap\" [ngClass]=\"{'active': active}\">\n <ng-content></ng-content>\n </div>\n `,\n directives: [CORE_DIRECTIVES],\n styles: [`\n .tab-wrap {\n display: none;\n }\n\n .tab-wrap.active {\n display: block;\n }`\n ]\n})\n@Reflect.metadata('parameters', [ [Tabs] ])\nexport class Tab {\n constructor(tabs) {\n this.active = false;\n tabs.addTab(this);\n }\n}\n","'use strict';\n\nexport function statusCodeType(statusCode) {\n if (statusCode < 100 || statusCode > 599) {\n throw new Error('invalid HTTP code');\n }\n let res = 'success';\n if (statusCode >= 300 && statusCode < 400) {\n res = 'redirect';\n } else if (statusCode >= 400) {\n res = 'error';\n } else if (statusCode < 200) {\n res = 'info';\n }\n return res;\n}\n","'use strict';\n\nimport {RedocComponent, BaseComponent} from '../base';\nimport JsonPointer from '../../utils/JsonPointer';\nimport {Tabs, Tab} from '../../common/components/Tabs/tabs';\nimport SchemaSample from '../SchemaSample/schema-sample';\nimport {statusCodeType} from '../../utils/helpers';\n\n\nfunction isNumeric(n) {\n return (!isNaN(parseFloat(n)) && isFinite(n));\n}\n\nfunction hasExample(response) {\n return ((response.examples && response.examples['application/json']) ||\n response.schema);\n}\n\n@RedocComponent({\n selector: 'responses-samples',\n template: `\n <header *ngIf=\"data.responses.length\"> Response samples </header>\n <tabs *ngIf=\"data.responses.length\">\n <tab *ngFor=\"let response of data.responses\" tabTitle=\"{{response.code}} {{response.description}}\"\n [tabStatus]=\"response.type\">\n <schema-sample [pointer]=\"response.pointer\"></schema-sample>\n </tab>\n </tabs>\n `,\n styles: [`\n tab,tabs{display:block}schema-sample{display:block}header{font-family:Montserrat;font-size:0.929em;text-transform:uppercase;margin:0;color:#9fb4be;text-transform:uppercase;font-weight:normal}:host>tabs>ul li{font-family:Montserrat;font-size:0.929em;border-radius:2px;margin:2px 0;padding:2px 8px 3px 8px;color:#9fb4be;line-height:1.25}:host>tabs>ul li:hover{color:#ffffff;background-color:rgba(255,255,255,0.1)}:host>tabs>ul li.active{background-color:white;color:#263238}:host tabs ul{padding-top:10px}\n `],\n directives: [SchemaSample, Tabs, Tab]\n})\nexport default class ResponsesSamples extends BaseComponent {\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n this.data.responses = [];\n\n let responses = this.componentSchema;\n if (!responses) return;\n\n responses = Object.keys(responses).filter(respCode => {\n // only response-codes and \"default\"\n return ( isNumeric(respCode) || (respCode === 'default'));\n }).map(respCode => {\n let resp = responses[respCode];\n resp.pointer = JsonPointer.join(this.pointer, respCode);\n if (resp.$ref) {\n let ref = resp.$ref;\n resp = this.schemaMgr.byPointer(resp.$ref);\n resp.pointer = ref;\n }\n\n resp.code = respCode;\n resp.type = statusCodeType(resp.code);\n return resp;\n })\n .filter(response => hasExample(response));\n this.data.responses = responses;\n }\n}\n","/* */ \n'use strict';\n\n// The JSON Object that defines the default values of certain types.\nvar typesInstantiator = {\n 'string': '',\n 'number': 0,\n 'integer': 0,\n 'null': null,\n 'boolean': false, // Always stay positive?\n 'object': { }\n};\n\n/**\n * Checks whether a variable is a primitive.\n * @param obj - an object.\n * @returns {boolean}\n */\nfunction isPrimitive(obj) {\n var type = obj.type;\n\n return typesInstantiator[type] !== undefined;\n}\n\n/**\n * Instantiate a primitive.\n * @param val - The object that represents the primitive.\n * @returns {*}\n */\nfunction instantiatePrimitive(val) {\n var type = val.type;\n\n // Support for default values in the JSON Schema.\n if (val.default) {\n return val.default;\n }\n\n return typesInstantiator[type];\n}\n\n/**\n * The main function.\n * Calls sub-objects recursively, depth first, using the sub-function 'visit'.\n * @param schema - The schema to instantiate.\n * @returns {*}\n */\nfunction instantiate(schema) {\n\n /**\n * Visits each sub-object using recursion.\n * If it reaches a primitive, instantiate it.\n * @param obj - The object that represents the schema.\n * @param name - The name of the current object.\n * @param data - The instance data that represents the current object.\n */\n function visit(obj, name, data) {\n if (!obj) {\n return;\n }\n var i;\n var type = obj.type;\n // We want non-primitives objects (primitive === object w/o properties).\n if (type === 'object' && obj.properties) {\n data[name] = data[name] || { };\n\n // Visit each property.\n for (var property in obj.properties) {\n if (obj.properties.hasOwnProperty(property)) {\n visit(obj.properties[property], property, data[name]);\n }\n }\n } else if (obj.allOf) {\n for (i = 0; i < obj.allOf.length; i++) {\n visit(obj.allOf[i], name, data);\n }\n } else if (type === 'array') {\n data[name] = [];\n var len = 1;\n if (obj.minItems || obj.minItems === 0) {\n len = obj.minItems;\n }\n\n // Instantiate 'len' items.\n for (i = 0; i < len; i++) {\n visit(obj.items, i, data[name]);\n }\n\n } else if (isPrimitive(obj)) {\n data[name] = instantiatePrimitive(obj);\n }\n }\n\n var data = {};\n visit(schema, 'kek', data);\n return data['kek'];\n}\n\n// If we're using Node.js, export the module.\nif (typeof module !== 'undefined') {\n module.exports = {\n instantiate: instantiate\n };\n}\n","/* */ \nmodule.exports = require('./src/instantiator');\n","module.exports = require(\"npm:json-schema-instantiator@0.3.0/index.js\");","'use strict';\nimport {Pipe} from 'angular2/core';\nimport {isBlank} from 'angular2/src/facade/lang';\n\nvar level = 1;\nconst COLLAPSE_LEVEL = 2;\n\n@Pipe({ name: 'jsonFormatter' })\nexport class JsonFormatter {\n transform(value) {\n if (isBlank(value)) return value;\n return jsonToHTML(value);\n }\n}\n\nfunction htmlEncode(t) {\n return t != null ? t.toString().replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;') : '';\n}\n\nfunction decorateWithSpan(value, className) {\n return '<span class=\"' + className + '\">' + htmlEncode(value) + '</span>';\n}\n\nfunction valueToHTML(value) {\n var valueType = typeof value, output = '';\n if (value == null) {\n output += decorateWithSpan('null', 'type-null');\n }\n else if (value && value.constructor === Array) {\n level++;\n output += arrayToHTML(value);\n level--;\n }\n else if (valueType === 'object') {\n level++;\n output += objectToHTML(value);\n level--;\n }\n else if (valueType === 'number') {\n output += decorateWithSpan(value, 'type-number');\n }\n else if (valueType === 'string') {\n if (/^(http|https):\\/\\/[^\\\\s]+$/.test(value)) {\n output += decorateWithSpan('\"', 'type-string') + '<a href=\"' + value + '\">' + htmlEncode(value) + '</a>' + decorateWithSpan('\"', 'type-string');\n } else {\n output += decorateWithSpan('\"' + value + '\"', 'type-string');\n }\n } else if (valueType === 'boolean') {\n output += decorateWithSpan(value, 'type-boolean');\n }\n\n return output;\n}\n\nfunction arrayToHTML(json) {\n var collapsed = level > COLLAPSE_LEVEL ? 'collapsed' : '';\n var i, length;\n var output = '<div class=\"collapser\"></div>[<span class=\"ellipsis\"></span><ul class=\"array collapsible\">';\n var hasContents = false;\n for (i = 0, length = json.length; i < length; i++) {\n hasContents = true;\n output += '<li><div class=\"hoverable ' + collapsed + '\">';\n output += valueToHTML(json[i]);\n if (i < length - 1) {\n output += ',';\n }\n output += '</div></li>';\n }\n output += '</ul>]';\n if (!hasContents) {\n output = '[ ]';\n }\n return output;\n}\n\nfunction objectToHTML(json) {\n var collapsed = level > COLLAPSE_LEVEL ? 'collapsed' : '';\n var i, key, length, keys = Object.keys(json);\n var output = '<div class=\"collapser\"></div>{<span class=\"ellipsis\"></span><ul class=\"obj collapsible\">';\n var hasContents = false;\n for (i = 0, length = keys.length; i < length; i++) {\n key = keys[i];\n hasContents = true;\n output += '<li><div class=\"hoverable ' + collapsed + '\">';\n output += '<span class=\"property\">' + htmlEncode(key) + '</span>: ';\n output += valueToHTML(json[key]);\n if (i < length - 1) {\n output += ',';\n }\n output += '</div></li>';\n }\n output += '</ul>}';\n if (!hasContents) {\n output = '{ }';\n }\n return output;\n}\n\nfunction jsonToHTML(json) {\n level = 1;\n var output = '';\n output += '<div class=\"redoc-json\">';\n output += valueToHTML(json);\n output += '</div>';\n return output;\n}\n","'use strict';\n\nimport {ElementRef} from 'angular2/core';\n\nimport SchemaSampler from 'json-schema-instantiator';\n\nimport {JsonFormatter} from '../../utils/JsonFormatterPipe';\nimport {RedocComponent, BaseComponent, SchemaManager} from '../base';\n\n@RedocComponent({\n selector: 'schema-sample',\n template: `\n <div class=\"snippet\">\n <!-- in case sample is not available for some reason -->\n <pre *ngIf=\"data.sample == null\"> Sample unavailable </pre>\n <pre innerHtml=\"{{data.sample | jsonFormatter}}\"></pre>\n </div>\n `,\n pipes: [JsonFormatter],\n styles: [`\n pre{background-color:transparent;padding:0}:host .type-null{color:gray}:host .type-boolean{color:firebrick}:host .type-number{color:#4A8BB3}:host .type-string{color:#66B16E}:host .callback-function{color:gray}:host .collapser:after{content:\"-\";cursor:pointer}:host .collapsed>.collapser:after{content:\"+\";cursor:pointer}:host .ellipsis:after{content:\" … \"}:host .collapsible{margin-left:2em}:host .hoverable{padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;border-radius:2px}:host .hovered{background-color:#ebeef9}:host .collapser{padding-right:6px;padding-left:6px}:host .redoc-json{padding:20px;border-radius:4px;background-color:#222d32;margin-bottom:36px}:host ul,:host .redoc-json ul{list-style-type:none;padding:0px;margin:0px 0px 0px 26px}:host li{position:relative}:host .hoverable{transition:background-color .2s ease-out 0s;-webkit-transition:background-color .2s ease-out 0s;display:inline-block}:host .hovered{transition-delay:.2s;-webkit-transition-delay:.2s}:host .selected{outline-style:solid;outline-width:1px;outline-style:dotted}:host .collapsed>.collapsible{display:none}:host .ellipsis{display:none}:host .collapsed>.ellipsis{display:inherit}:host .collapser{position:absolute;top:1px;left:-1.5em;cursor:default;user-select:none;-webkit-user-select:none}\n `]\n})\n@Reflect.metadata('parameters', [[SchemaManager], [ElementRef]])\nexport default class SchemaSample extends BaseComponent {\n constructor(schemaMgr, elementRef) {\n super(schemaMgr);\n this.element = elementRef.nativeElement;\n }\n\n init() {\n this.data = {};\n\n let base = {};\n let sample;\n\n // got pointer not directly to the schema but e.g. to response obj\n if (this.componentSchema.schema) {\n base = this.componentSchema;\n this.componentSchema = this.componentSchema.schema;\n }\n\n if (base.examples && base.examples['application/json']) {\n sample = base.examples['application/json'];\n } else {\n this.dereference(this.componentSchema);\n sample = SchemaSampler.instantiate(this.componentSchema);\n }\n\n this.data.sample = sample;\n\n\n this.element.addEventListener('click', (event) => {\n var collapsed, target = event.target;\n if (event.target.className === 'collapser') {\n collapsed = target.parentNode.getElementsByClassName('collapsible')[0];\n if (collapsed.parentNode.classList.contains('collapsed')) {\n collapsed.parentNode.classList.remove('collapsed');\n } else {\n collapsed.parentNode.classList.add('collapsed');\n }\n }\n });\n }\n}\n","/* */ \nvar classof = require('./$.classof'),\n ITERATOR = require('./$.wks')('iterator'),\n Iterators = require('./$.iterators');\nmodule.exports = require('./$.core').isIterable = function(it) {\n var O = Object(it);\n return O[ITERATOR] !== undefined || '@@iterator' in O || Iterators.hasOwnProperty(classof(O));\n};\n","/* */ \nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.string.iterator');\nmodule.exports = require('../modules/core.is-iterable');\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/is-iterable\"), __esModule: true };","/* */ \n\"use strict\";\nvar _getIterator = require('../core-js/get-iterator')[\"default\"];\nvar _isIterable = require('../core-js/is-iterable')[\"default\"];\nexports[\"default\"] = (function() {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = _getIterator(arr),\n _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i)\n break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"])\n _i[\"return\"]();\n } finally {\n if (_d)\n throw _e;\n }\n }\n return _arr;\n }\n return function(arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (_isIterable(Object(arr))) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n})();\nexports.__esModule = true;\n","'use strict';\n\nimport {EventEmitter} from 'angular2/core';\n\nvar bootsrEmmiter = new EventEmitter();\nvar langChanged = new EventEmitter();\nexport var redocEvents = {\n bootstrapped: bootsrEmmiter,\n samplesLanguageChanged: langChanged\n};\n","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar event_manager_1 = require('./event_manager');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar modifierKeys = ['alt', 'control', 'meta', 'shift'];\r\nvar modifierKeyGetters = {\r\n 'alt': function (event) { return event.altKey; },\r\n 'control': function (event) { return event.ctrlKey; },\r\n 'meta': function (event) { return event.metaKey; },\r\n 'shift': function (event) { return event.shiftKey; }\r\n};\r\nvar KeyEventsPlugin = (function (_super) {\r\n __extends(KeyEventsPlugin, _super);\r\n function KeyEventsPlugin() {\r\n _super.call(this);\r\n }\r\n KeyEventsPlugin.prototype.supports = function (eventName) {\r\n return lang_1.isPresent(KeyEventsPlugin.parseEventName(eventName));\r\n };\r\n KeyEventsPlugin.prototype.addEventListener = function (element, eventName, handler) {\r\n var parsedEvent = KeyEventsPlugin.parseEventName(eventName);\r\n var outsideHandler = KeyEventsPlugin.eventCallback(element, collection_1.StringMapWrapper.get(parsedEvent, 'fullKey'), handler, this.manager.getZone());\r\n return this.manager.getZone().runOutsideAngular(function () {\r\n return dom_adapter_1.DOM.onAndCancel(element, collection_1.StringMapWrapper.get(parsedEvent, 'domEventName'), outsideHandler);\r\n });\r\n };\r\n KeyEventsPlugin.parseEventName = function (eventName) {\r\n var parts = eventName.toLowerCase().split('.');\r\n var domEventName = parts.shift();\r\n if ((parts.length === 0) ||\r\n !(lang_1.StringWrapper.equals(domEventName, 'keydown') ||\r\n lang_1.StringWrapper.equals(domEventName, 'keyup'))) {\r\n return null;\r\n }\r\n var key = KeyEventsPlugin._normalizeKey(parts.pop());\r\n var fullKey = '';\r\n modifierKeys.forEach(function (modifierName) {\r\n if (collection_1.ListWrapper.contains(parts, modifierName)) {\r\n collection_1.ListWrapper.remove(parts, modifierName);\r\n fullKey += modifierName + '.';\r\n }\r\n });\r\n fullKey += key;\r\n if (parts.length != 0 || key.length === 0) {\r\n // returning null instead of throwing to let another plugin process the event\r\n return null;\r\n }\r\n var result = collection_1.StringMapWrapper.create();\r\n collection_1.StringMapWrapper.set(result, 'domEventName', domEventName);\r\n collection_1.StringMapWrapper.set(result, 'fullKey', fullKey);\r\n return result;\r\n };\r\n KeyEventsPlugin.getEventFullKey = function (event) {\r\n var fullKey = '';\r\n var key = dom_adapter_1.DOM.getEventKey(event);\r\n key = key.toLowerCase();\r\n if (lang_1.StringWrapper.equals(key, ' ')) {\r\n key = 'space'; // for readability\r\n }\r\n else if (lang_1.StringWrapper.equals(key, '.')) {\r\n key = 'dot'; // because '.' is used as a separator in event names\r\n }\r\n modifierKeys.forEach(function (modifierName) {\r\n if (modifierName != key) {\r\n var modifierGetter = collection_1.StringMapWrapper.get(modifierKeyGetters, modifierName);\r\n if (modifierGetter(event)) {\r\n fullKey += modifierName + '.';\r\n }\r\n }\r\n });\r\n fullKey += key;\r\n return fullKey;\r\n };\r\n KeyEventsPlugin.eventCallback = function (element, fullKey, handler, zone) {\r\n return function (event) {\r\n if (lang_1.StringWrapper.equals(KeyEventsPlugin.getEventFullKey(event), fullKey)) {\r\n zone.runGuarded(function () { return handler(event); });\r\n }\r\n };\r\n };\r\n /** @internal */\r\n KeyEventsPlugin._normalizeKey = function (keyName) {\r\n // TODO: switch to a StringMap if the mapping grows too much\r\n switch (keyName) {\r\n case 'esc':\r\n return 'escape';\r\n default:\r\n return keyName;\r\n }\r\n };\r\n KeyEventsPlugin = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], KeyEventsPlugin);\r\n return KeyEventsPlugin;\r\n}(event_manager_1.EventManagerPlugin));\r\nexports.KeyEventsPlugin = KeyEventsPlugin;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5X2V2ZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9wbGF0Zm9ybS9kb20vZXZlbnRzL2tleV9ldmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsNEJBQWtCLHVDQUF1QyxDQUFDLENBQUE7QUFDMUQscUJBTU8sMEJBQTBCLENBQUMsQ0FBQTtBQUNsQywyQkFBNEMsZ0NBQWdDLENBQUMsQ0FBQTtBQUM3RSw4QkFBaUMsaUJBQWlCLENBQUMsQ0FBQTtBQUVuRCxtQkFBeUIsc0JBQXNCLENBQUMsQ0FBQTtBQUVoRCxJQUFJLFlBQVksR0FBRyxDQUFDLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQ3ZELElBQUksa0JBQWtCLEdBQXVEO0lB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extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar xhr_impl_1 = require('angular2/src/platform/browser/xhr_impl');\r\n/**\r\n * Provides DOM operations in any browser environment.\r\n */\r\nvar GenericBrowserDomAdapter = (function (_super) {\r\n __extends(GenericBrowserDomAdapter, _super);\r\n function GenericBrowserDomAdapter() {\r\n var _this = this;\r\n _super.call(this);\r\n this._animationPrefix = null;\r\n this._transitionEnd = null;\r\n try {\r\n var element = this.createElement('div', this.defaultDoc());\r\n if (lang_1.isPresent(this.getStyle(element, 'animationName'))) {\r\n this._animationPrefix = '';\r\n }\r\n else {\r\n var domPrefixes = ['Webkit', 'Moz', 'O', 'ms'];\r\n for (var i = 0; i < domPrefixes.length; i++) {\r\n if (lang_1.isPresent(this.getStyle(element, domPrefixes[i] + 'AnimationName'))) {\r\n this._animationPrefix = '-' + domPrefixes[i].toLowerCase() + '-';\r\n break;\r\n }\r\n }\r\n }\r\n var transEndEventNames = {\r\n WebkitTransition: 'webkitTransitionEnd',\r\n MozTransition: 'transitionend',\r\n OTransition: 'oTransitionEnd otransitionend',\r\n transition: 'transitionend'\r\n };\r\n collection_1.StringMapWrapper.forEach(transEndEventNames, function (value, key) {\r\n if (lang_1.isPresent(_this.getStyle(element, key))) {\r\n _this._transitionEnd = value;\r\n }\r\n });\r\n }\r\n catch (e) {\r\n this._animationPrefix = null;\r\n this._transitionEnd = null;\r\n }\r\n }\r\n GenericBrowserDomAdapter.prototype.getXHR = function () { return xhr_impl_1.XHRImpl; };\r\n GenericBrowserDomAdapter.prototype.getDistributedNodes = function (el) { return el.getDistributedNodes(); };\r\n GenericBrowserDomAdapter.prototype.resolveAndSetHref = function (el, baseUrl, href) {\r\n el.href = href == null ? baseUrl : baseUrl + '/../' + href;\r\n };\r\n GenericBrowserDomAdapter.prototype.supportsDOMEvents = function () { return true; };\r\n GenericBrowserDomAdapter.prototype.supportsNativeShadowDOM = function () {\r\n return lang_1.isFunction(this.defaultDoc().body.createShadowRoot);\r\n };\r\n GenericBrowserDomAdapter.prototype.getAnimationPrefix = function () {\r\n return lang_1.isPresent(this._animationPrefix) ? this._animationPrefix : \"\";\r\n };\r\n GenericBrowserDomAdapter.prototype.getTransitionEnd = function () { return lang_1.isPresent(this._transitionEnd) ? this._transitionEnd : \"\"; };\r\n GenericBrowserDomAdapter.prototype.supportsAnimation = function () {\r\n return lang_1.isPresent(this._animationPrefix) && lang_1.isPresent(this._transitionEnd);\r\n };\r\n return GenericBrowserDomAdapter;\r\n}(dom_adapter_1.DomAdapter));\r\nexports.GenericBrowserDomAdapter = GenericBrowserDomAdapter;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJpY19icm93c2VyX2FkYXB0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvcGxhdGZvcm0vYnJvd3Nlci9nZW5lcmljX2Jyb3dzZXJfYWRhcHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSwyQkFBNEMsZ0NBQWdDLENBQUMsQ0FBQTtBQUM3RSxxQkFBMEMsMEJBQTBCLENBQUMsQ0FBQTtBQUNyRSw0QkFBeUIsdUNBQXVDLENBQUMsQ0FBQTtBQUNqRSx5QkFBc0Isd0NBQXdDLENBQUMsQ0FBQTtBQUcvRDs7R0FFRztBQUNIO0lBQXVELDRDQUFVO0lBRy9EO1FBSEYsaUJBbURDO1FBL0NHLGlCQUFPLENBQUM7UUFI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jtcbiAgfVxuICBzdXBwb3J0c0RPTUV2ZW50cygpOiBib29sZWFuIHsgcmV0dXJuIHRydWU7IH1cbiAgc3VwcG9ydHNOYXRpdmVTaGFkb3dET00oKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIGlzRnVuY3Rpb24oKDxhbnk+dGhpcy5kZWZhdWx0RG9jKCkuYm9keSkuY3JlYXRlU2hhZG93Um9vdCk7XG4gIH1cbiAgZ2V0QW5pbWF0aW9uUHJlZml4KCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGlzUHJlc2VudCh0aGlzLl9hbmltYXRpb25QcmVmaXgpID8gdGhpcy5fYW5pbWF0aW9uUHJlZml4IDogXCJcIjtcbiAgfVxuICBnZXRUcmFuc2l0aW9uRW5kKCk6IHN0cmluZyB7IHJldHVybiBpc1ByZXNlbnQodGhpcy5fdHJhbnNpdGlvbkVuZCkgPyB0aGlzLl90cmFuc2l0aW9uRW5kIDogXCJcIjsgfVxuICBzdXBwb3J0c0FuaW1hdGlvbigpOiBib29sZWFuIHtcbiAgICByZXR1cm4gaXNQcmVzZW50KHRoaXMuX2FuaW1hdGlvblByZWZpeCkgJiYgaXNQcmVzZW50KHRoaXMuX3RyYW5zaXRpb25FbmQpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar generic_browser_adapter_1 = require('./generic_browser_adapter');\r\nvar _attrToPropMap = {\r\n 'class': 'className',\r\n 'innerHtml': 'innerHTML',\r\n 'readonly': 'readOnly',\r\n 'tabindex': 'tabIndex'\r\n};\r\nvar DOM_KEY_LOCATION_NUMPAD = 3;\r\n// Map to convert some key or keyIdentifier values to what will be returned by getEventKey\r\nvar _keyMap = {\r\n // The following values are here for cross-browser compatibility and to match the W3C standard\r\n // cf http://www.w3.org/TR/DOM-Level-3-Events-key/\r\n '\\b': 'Backspace',\r\n '\\t': 'Tab',\r\n '\\x7F': 'Delete',\r\n '\\x1B': 'Escape',\r\n 'Del': 'Delete',\r\n 'Esc': 'Escape',\r\n 'Left': 'ArrowLeft',\r\n 'Right': 'ArrowRight',\r\n 'Up': 'ArrowUp',\r\n 'Down': 'ArrowDown',\r\n 'Menu': 'ContextMenu',\r\n 'Scroll': 'ScrollLock',\r\n 'Win': 'OS'\r\n};\r\n// There is a bug in Chrome for numeric keypad keys:\r\n// https://code.google.com/p/chromium/issues/detail?id=155654\r\n// 1, 2, 3 ... are reported as A, B, C ...\r\nvar _chromeNumKeyPadMap = {\r\n 'A': '1',\r\n 'B': '2',\r\n 'C': '3',\r\n 'D': '4',\r\n 'E': '5',\r\n 'F': '6',\r\n 'G': '7',\r\n 'H': '8',\r\n 'I': '9',\r\n 'J': '*',\r\n 'K': '+',\r\n 'M': '-',\r\n 'N': '.',\r\n 'O': '/',\r\n '\\x60': '0',\r\n '\\x90': 'NumLock'\r\n};\r\n/**\r\n * A `DomAdapter` powered by full browser DOM APIs.\r\n */\r\n/* tslint:disable:requireParameterType */\r\nvar BrowserDomAdapter = (function (_super) {\r\n __extends(BrowserDomAdapter, _super);\r\n function BrowserDomAdapter() {\r\n _super.apply(this, arguments);\r\n }\r\n BrowserDomAdapter.prototype.parse = function (templateHtml) { throw new Error(\"parse not implemented\"); };\r\n BrowserDomAdapter.makeCurrent = function () { dom_adapter_1.setRootDomAdapter(new BrowserDomAdapter()); };\r\n BrowserDomAdapter.prototype.hasProperty = function (element, name) { return name in element; };\r\n BrowserDomAdapter.prototype.setProperty = function (el, name, value) { el[name] = value; };\r\n BrowserDomAdapter.prototype.getProperty = function (el, name) { return el[name]; };\r\n BrowserDomAdapter.prototype.invoke = function (el, methodName, args) {\r\n el[methodName].apply(el, args);\r\n };\r\n // TODO(tbosch): move this into a separate environment class once we have it\r\n BrowserDomAdapter.prototype.logError = function (error) {\r\n if (window.console.error) {\r\n window.console.error(error);\r\n }\r\n else {\r\n window.console.log(error);\r\n }\r\n };\r\n BrowserDomAdapter.prototype.log = function (error) { window.console.log(error); };\r\n BrowserDomAdapter.prototype.logGroup = function (error) {\r\n if (window.console.group) {\r\n window.console.group(error);\r\n this.logError(error);\r\n }\r\n else {\r\n window.console.log(error);\r\n }\r\n };\r\n BrowserDomAdapter.prototype.logGroupEnd = function () {\r\n if (window.console.groupEnd) {\r\n window.console.groupEnd();\r\n }\r\n };\r\n Object.defineProperty(BrowserDomAdapter.prototype, \"attrToPropMap\", {\r\n get: function () { return _attrToPropMap; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n BrowserDomAdapter.prototype.query = function (selector) { return document.querySelector(selector); };\r\n BrowserDomAdapter.prototype.querySelector = function (el, selector) { return el.querySelector(selector); };\r\n BrowserDomAdapter.prototype.querySelectorAll = function (el, selector) { return el.querySelectorAll(selector); };\r\n BrowserDomAdapter.prototype.on = function (el, evt, listener) { el.addEventListener(evt, listener, false); };\r\n BrowserDomAdapter.prototype.onAndCancel = function (el, evt, listener) {\r\n el.addEventListener(evt, listener, false);\r\n // Needed to follow Dart's subscription semantic, until fix of\r\n // https://code.google.com/p/dart/issues/detail?id=17406\r\n return function () { el.removeEventListener(evt, listener, false); };\r\n };\r\n BrowserDomAdapter.prototype.dispatchEvent = function (el, evt) { el.dispatchEvent(evt); };\r\n BrowserDomAdapter.prototype.createMouseEvent = function (eventType) {\r\n var evt = document.createEvent('MouseEvent');\r\n evt.initEvent(eventType, true, true);\r\n return evt;\r\n };\r\n BrowserDomAdapter.prototype.createEvent = function (eventType) {\r\n var evt = document.createEvent('Event');\r\n evt.initEvent(eventType, true, true);\r\n return evt;\r\n };\r\n BrowserDomAdapter.prototype.preventDefault = function (evt) {\r\n evt.preventDefault();\r\n evt.returnValue = false;\r\n };\r\n BrowserDomAdapter.prototype.isPrevented = function (evt) {\r\n return evt.defaultPrevented || lang_1.isPresent(evt.returnValue) && !evt.returnValue;\r\n };\r\n BrowserDomAdapter.prototype.getInnerHTML = function (el) { return el.innerHTML; };\r\n BrowserDomAdapter.prototype.getOuterHTML = function (el) { return el.outerHTML; };\r\n BrowserDomAdapter.prototype.nodeName = function (node) { return node.nodeName; };\r\n BrowserDomAdapter.prototype.nodeValue = function (node) { return node.nodeValue; };\r\n BrowserDomAdapter.prototype.type = function (node) { return node.type; };\r\n BrowserDomAdapter.prototype.content = function (node) {\r\n if (this.hasProperty(node, \"content\")) {\r\n return node.content;\r\n }\r\n else {\r\n return node;\r\n }\r\n };\r\n BrowserDomAdapter.prototype.firstChild = function (el) { return el.firstChild; };\r\n BrowserDomAdapter.prototype.nextSibling = function (el) { return el.nextSibling; };\r\n BrowserDomAdapter.prototype.parentElement = function (el) { return el.parentNode; };\r\n BrowserDomAdapter.prototype.childNodes = function (el) { return el.childNodes; };\r\n BrowserDomAdapter.prototype.childNodesAsList = function (el) {\r\n var childNodes = el.childNodes;\r\n var res = collection_1.ListWrapper.createFixedSize(childNodes.length);\r\n for (var i = 0; i < childNodes.length; i++) {\r\n res[i] = childNodes[i];\r\n }\r\n return res;\r\n };\r\n BrowserDomAdapter.prototype.clearNodes = function (el) {\r\n while (el.firstChild) {\r\n el.removeChild(el.firstChild);\r\n }\r\n };\r\n BrowserDomAdapter.prototype.appendChild = function (el, node) { el.appendChild(node); };\r\n BrowserDomAdapter.prototype.removeChild = function (el, node) { el.removeChild(node); };\r\n BrowserDomAdapter.prototype.replaceChild = function (el, newChild, oldChild) { el.replaceChild(newChild, oldChild); };\r\n BrowserDomAdapter.prototype.remove = function (node) {\r\n if (node.parentNode) {\r\n node.parentNode.removeChild(node);\r\n }\r\n return node;\r\n };\r\n BrowserDomAdapter.prototype.insertBefore = function (el, node) { el.parentNode.insertBefore(node, el); };\r\n BrowserDomAdapter.prototype.insertAllBefore = function (el, nodes) { nodes.forEach(function (n) { return el.parentNode.insertBefore(n, el); }); };\r\n BrowserDomAdapter.prototype.insertAfter = function (el, node) { el.parentNode.insertBefore(node, el.nextSibling); };\r\n BrowserDomAdapter.prototype.setInnerHTML = function (el, value) { el.innerHTML = value; };\r\n BrowserDomAdapter.prototype.getText = function (el) { return el.textContent; };\r\n // TODO(vicb): removed Element type because it does not support StyleElement\r\n BrowserDomAdapter.prototype.setText = function (el, value) { el.textContent = value; };\r\n BrowserDomAdapter.prototype.getValue = function (el) { return el.value; };\r\n BrowserDomAdapter.prototype.setValue = function (el, value) { el.value = value; };\r\n BrowserDomAdapter.prototype.getChecked = function (el) { return el.checked; };\r\n BrowserDomAdapter.prototype.setChecked = function (el, value) { el.checked = value; };\r\n BrowserDomAdapter.prototype.createComment = function (text) { return document.createComment(text); };\r\n BrowserDomAdapter.prototype.createTemplate = function (html) {\r\n var t = document.createElement('template');\r\n t.innerHTML = html;\r\n return t;\r\n };\r\n BrowserDomAdapter.prototype.createElement = function (tagName, doc) {\r\n if (doc === void 0) { doc = document; }\r\n return doc.createElement(tagName);\r\n };\r\n BrowserDomAdapter.prototype.createElementNS = function (ns, tagName, doc) {\r\n if (doc === void 0) { doc = document; }\r\n return doc.createElementNS(ns, tagName);\r\n };\r\n BrowserDomAdapter.prototype.createTextNode = function (text, doc) {\r\n if (doc === void 0) { doc = document; }\r\n return doc.createTextNode(text);\r\n };\r\n BrowserDomAdapter.prototype.createScriptTag = function (attrName, attrValue, doc) {\r\n if (doc === void 0) { doc = document; }\r\n var el = doc.createElement('SCRIPT');\r\n el.setAttribute(attrName, attrValue);\r\n return el;\r\n };\r\n BrowserDomAdapter.prototype.createStyleElement = function (css, doc) {\r\n if (doc === void 0) { doc = document; }\r\n var style = doc.createElement('style');\r\n this.appendChild(style, this.createTextNode(css));\r\n return style;\r\n };\r\n BrowserDomAdapter.prototype.createShadowRoot = function (el) { return el.createShadowRoot(); };\r\n BrowserDomAdapter.prototype.getShadowRoot = function (el) { return el.shadowRoot; };\r\n BrowserDomAdapter.prototype.getHost = function (el) { return el.host; };\r\n BrowserDomAdapter.prototype.clone = function (node) { return node.cloneNode(true); };\r\n BrowserDomAdapter.prototype.getElementsByClassName = function (element, name) {\r\n return element.getElementsByClassName(name);\r\n };\r\n BrowserDomAdapter.prototype.getElementsByTagName = function (element, name) {\r\n return element.getElementsByTagName(name);\r\n };\r\n BrowserDomAdapter.prototype.classList = function (element) { return Array.prototype.slice.call(element.classList, 0); };\r\n BrowserDomAdapter.prototype.addClass = function (element, className) { element.classList.add(className); };\r\n BrowserDomAdapter.prototype.removeClass = function (element, className) { element.classList.remove(className); };\r\n BrowserDomAdapter.prototype.hasClass = function (element, className) { return element.classList.contains(className); };\r\n BrowserDomAdapter.prototype.setStyle = function (element, styleName, styleValue) {\r\n element.style[styleName] = styleValue;\r\n };\r\n BrowserDomAdapter.prototype.removeStyle = function (element, stylename) { element.style[stylename] = null; };\r\n BrowserDomAdapter.prototype.getStyle = function (element, stylename) { return element.style[stylename]; };\r\n BrowserDomAdapter.prototype.hasStyle = function (element, styleName, styleValue) {\r\n if (styleValue === void 0) { styleValue = null; }\r\n var value = this.getStyle(element, styleName) || '';\r\n return styleValue ? value == styleValue : value.length > 0;\r\n };\r\n BrowserDomAdapter.prototype.tagName = function (element) { return element.tagName; };\r\n BrowserDomAdapter.prototype.attributeMap = function (element) {\r\n var res = new Map();\r\n var elAttrs = element.attributes;\r\n for (var i = 0; i < elAttrs.length; i++) {\r\n var attrib = elAttrs[i];\r\n res.set(attrib.name, attrib.value);\r\n }\r\n return res;\r\n };\r\n BrowserDomAdapter.prototype.hasAttribute = function (element, attribute) { return element.hasAttribute(attribute); };\r\n BrowserDomAdapter.prototype.hasAttributeNS = function (element, ns, attribute) {\r\n return element.hasAttributeNS(ns, attribute);\r\n };\r\n BrowserDomAdapter.prototype.getAttribute = function (element, attribute) { return element.getAttribute(attribute); };\r\n BrowserDomAdapter.prototype.getAttributeNS = function (element, ns, name) {\r\n return element.getAttributeNS(ns, name);\r\n };\r\n BrowserDomAdapter.prototype.setAttribute = function (element, name, value) { element.setAttribute(name, value); };\r\n BrowserDomAdapter.prototype.setAttributeNS = function (element, ns, name, value) {\r\n element.setAttributeNS(ns, name, value);\r\n };\r\n BrowserDomAdapter.prototype.removeAttribute = function (element, attribute) { element.removeAttribute(attribute); };\r\n BrowserDomAdapter.prototype.removeAttributeNS = function (element, ns, name) { element.removeAttributeNS(ns, name); };\r\n BrowserDomAdapter.prototype.templateAwareRoot = function (el) { return this.isTemplateElement(el) ? this.content(el) : el; };\r\n BrowserDomAdapter.prototype.createHtmlDocument = function () {\r\n return document.implementation.createHTMLDocument('fakeTitle');\r\n };\r\n BrowserDomAdapter.prototype.defaultDoc = function () { return document; };\r\n BrowserDomAdapter.prototype.getBoundingClientRect = function (el) {\r\n try {\r\n return el.getBoundingClientRect();\r\n }\r\n catch (e) {\r\n return { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 };\r\n }\r\n };\r\n BrowserDomAdapter.prototype.getTitle = function () { return document.title; };\r\n BrowserDomAdapter.prototype.setTitle = function (newTitle) { document.title = newTitle || ''; };\r\n BrowserDomAdapter.prototype.elementMatches = function (n, selector) {\r\n var matches = false;\r\n if (n instanceof HTMLElement) {\r\n if (n.matches) {\r\n matches = n.matches(selector);\r\n }\r\n else if (n.msMatchesSelector) {\r\n matches = n.msMatchesSelector(selector);\r\n }\r\n else if (n.webkitMatchesSelector) {\r\n matches = n.webkitMatchesSelector(selector);\r\n }\r\n }\r\n return matches;\r\n };\r\n BrowserDomAdapter.prototype.isTemplateElement = function (el) {\r\n return el instanceof HTMLElement && el.nodeName == \"TEMPLATE\";\r\n };\r\n BrowserDomAdapter.prototype.isTextNode = function (node) { return node.nodeType === Node.TEXT_NODE; };\r\n BrowserDomAdapter.prototype.isCommentNode = function (node) { return node.nodeType === Node.COMMENT_NODE; };\r\n BrowserDomAdapter.prototype.isElementNode = function (node) { return node.nodeType === Node.ELEMENT_NODE; };\r\n BrowserDomAdapter.prototype.hasShadowRoot = function (node) { return node instanceof HTMLElement && lang_1.isPresent(node.shadowRoot); };\r\n BrowserDomAdapter.prototype.isShadowRoot = function (node) { return node instanceof DocumentFragment; };\r\n BrowserDomAdapter.prototype.importIntoDoc = function (node) {\r\n var toImport = node;\r\n if (this.isTemplateElement(node)) {\r\n toImport = this.content(node);\r\n }\r\n return document.importNode(toImport, true);\r\n };\r\n BrowserDomAdapter.prototype.adoptNode = function (node) { return document.adoptNode(node); };\r\n BrowserDomAdapter.prototype.getHref = function (el) { return el.href; };\r\n BrowserDomAdapter.prototype.getEventKey = function (event) {\r\n var key = event.key;\r\n if (lang_1.isBlank(key)) {\r\n key = event.keyIdentifier;\r\n // keyIdentifier is defined in the old draft of DOM Level 3 Events implemented by Chrome and\r\n // Safari\r\n // cf\r\n // http://www.w3.org/TR/2007/WD-DOM-Level-3-Events-20071221/events.html#Events-KeyboardEvents-Interfaces\r\n if (lang_1.isBlank(key)) {\r\n return 'Unidentified';\r\n }\r\n if (key.startsWith('U+')) {\r\n key = String.fromCharCode(parseInt(key.substring(2), 16));\r\n if (event.location === DOM_KEY_LOCATION_NUMPAD && _chromeNumKeyPadMap.hasOwnProperty(key)) {\r\n // There is a bug in Chrome for numeric keypad keys:\r\n // https://code.google.com/p/chromium/issues/detail?id=155654\r\n // 1, 2, 3 ... are reported as A, B, C ...\r\n key = _chromeNumKeyPadMap[key];\r\n }\r\n }\r\n }\r\n if (_keyMap.hasOwnProperty(key)) {\r\n key = _keyMap[key];\r\n }\r\n return key;\r\n };\r\n BrowserDomAdapter.prototype.getGlobalEventTarget = function (target) {\r\n if (target == \"window\") {\r\n return window;\r\n }\r\n else if (target == \"document\") {\r\n return document;\r\n }\r\n else if (target == \"body\") {\r\n return document.body;\r\n }\r\n };\r\n BrowserDomAdapter.prototype.getHistory = function () { return window.history; };\r\n BrowserDomAdapter.prototype.getLocation = function () { return window.location; };\r\n BrowserDomAdapter.prototype.getBaseHref = function () {\r\n var href = getBaseElementHref();\r\n if (lang_1.isBlank(href)) {\r\n return null;\r\n }\r\n return relativePath(href);\r\n };\r\n BrowserDomAdapter.prototype.resetBaseElement = function () { baseElement = null; };\r\n BrowserDomAdapter.prototype.getUserAgent = function () { return window.navigator.userAgent; };\r\n BrowserDomAdapter.prototype.setData = function (element, name, value) {\r\n this.setAttribute(element, 'data-' + name, value);\r\n };\r\n BrowserDomAdapter.prototype.getData = function (element, name) { return this.getAttribute(element, 'data-' + name); };\r\n BrowserDomAdapter.prototype.getComputedStyle = function (element) { return getComputedStyle(element); };\r\n // TODO(tbosch): move this into a separate environment class once we have it\r\n BrowserDomAdapter.prototype.setGlobalVar = function (path, value) { lang_1.setValueOnPath(lang_1.global, path, value); };\r\n BrowserDomAdapter.prototype.requestAnimationFrame = function (callback) { return window.requestAnimationFrame(callback); };\r\n BrowserDomAdapter.prototype.cancelAnimationFrame = function (id) { window.cancelAnimationFrame(id); };\r\n BrowserDomAdapter.prototype.performanceNow = function () {\r\n // performance.now() is not available in all browsers, see\r\n // http://caniuse.com/#search=performance.now\r\n if (lang_1.isPresent(window.performance) && lang_1.isPresent(window.performance.now)) {\r\n return window.performance.now();\r\n }\r\n else {\r\n return lang_1.DateWrapper.toMillis(lang_1.DateWrapper.now());\r\n }\r\n };\r\n return BrowserDomAdapter;\r\n}(generic_browser_adapter_1.GenericBrowserDomAdapter));\r\nexports.BrowserDomAdapter = BrowserDomAdapter;\r\nvar baseElement = null;\r\nfunction getBaseElementHref() {\r\n if (lang_1.isBlank(baseElement)) {\r\n baseElement = document.querySelector('base');\r\n if (lang_1.isBlank(baseElement)) {\r\n return null;\r\n }\r\n }\r\n return baseElement.getAttribute('href');\r\n}\r\n// based on urlUtils.js in AngularJS 1\r\nvar urlParsingNode = null;\r\nfunction relativePath(url) {\r\n if (lang_1.isBlank(urlParsingNode)) {\r\n urlParsingNode = document.createElement(\"a\");\r\n }\r\n urlParsingNode.setAttribute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4gIH1cbn1cblxuXG52YXIgYmFzZUVsZW1lbnQgPSBudWxsO1xuZnVuY3Rpb24gZ2V0QmFzZUVsZW1lbnRIcmVmKCk6IHN0cmluZyB7XG4gIGlmIChpc0JsYW5rKGJhc2VFbGVtZW50KSkge1xuICAgIGJhc2VFbGVtZW50ID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcignYmFzZScpO1xuICAgIGlmIChpc0JsYW5rKGJhc2VFbGVtZW50KSkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICB9XG4gIHJldHVybiBiYXNlRWxlbWVudC5nZXRBdHRyaWJ1dGUoJ2hyZWYnKTtcbn1cblxuLy8gYmFzZWQgb24gdXJsVXRpbHMuanMgaW4gQW5ndWxhckpTIDFcbnZhciB1cmxQYXJzaW5nTm9kZSA9IG51bGw7XG5mdW5jdGlvbiByZWxhdGl2ZVBhdGgodXJsKTogc3RyaW5nIHtcbiAgaWYgKGlzQmxhbmsodXJsUGFyc2luZ05vZGUpKSB7XG4gICAgdXJsUGFyc2luZ05vZGUgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KFwiYVwiKTtcbiAgfVxuICB1cmxQYXJzaW5nTm9kZS5zZXRBdHRyaWJ1dGUoJ2hyZWYnLCB1cmwpO1xuICByZXR1cm4gKHVybFBhcnNpbmdOb2RlLnBhdGhuYW1lLmNoYXJBdCgwKSA9PT0gJy8nKSA/IHVybFBhcnNpbmdOb2RlLnBhdGhuYW1lIDpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnLycgKyB1cmxQYXJzaW5nTm9kZS5wYXRobmFtZTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar core_1 = require('angular2/core');\r\nvar PublicTestability = (function () {\r\n function PublicTestability(testability) {\r\n this._testability = testability;\r\n }\r\n PublicTestability.prototype.isStable = function () { return this._testability.isStable(); };\r\n PublicTestability.prototype.whenStable = function (callback) { this._testability.whenStable(callback); };\r\n PublicTestability.prototype.findBindings = function (using, provider, exactMatch) {\r\n return this.findProviders(using, provider, exactMatch);\r\n };\r\n PublicTestability.prototype.findProviders = function (using, provider, exactMatch) {\r\n return this._testability.findBindings(using, provider, exactMatch);\r\n };\r\n return PublicTestability;\r\n}());\r\nvar BrowserGetTestability = (function () {\r\n function BrowserGetTestability() {\r\n }\r\n BrowserGetTestability.init = function () { core_1.setTestabilityGetter(new BrowserGetTestability()); };\r\n BrowserGetTestability.prototype.addToWindow = function (registry) {\r\n lang_1.global.getAngularTestability = function (elem, findInAncestors) {\r\n if (findInAncestors === void 0) { findInAncestors = true; }\r\n var testability = registry.findTestabilityInTree(elem, findInAncestors);\r\n if (testability == null) {\r\n throw new Error('Could not find testability for element.');\r\n }\r\n return new PublicTestability(testability);\r\n };\r\n lang_1.global.getAllAngularTestabilities = function () {\r\n var testabilities = registry.getAllTestabilities();\r\n return testabilities.map(function (testability) { return new PublicTestability(testability); });\r\n };\r\n lang_1.global.getAllAngularRootElements = function () { return registry.getAllRootElements(); };\r\n var whenAllStable = function (callback) {\r\n var testabilities = lang_1.global.getAllAngularTestabilities();\r\n var count = testabilities.length;\r\n var didWork = false;\r\n var decrement = function (didWork_) {\r\n didWork = didWork || didWork_;\r\n count--;\r\n if (count == 0) {\r\n callback(didWork);\r\n }\r\n };\r\n testabilities.forEach(function (testability) { testability.whenStable(decrement); });\r\n };\r\n if (!lang_1.global.frameworkStabilizers) {\r\n lang_1.global.frameworkStabilizers = collection_1.ListWrapper.createGrowableSize(0);\r\n }\r\n lang_1.global.frameworkStabilizers.push(whenAllStable);\r\n };\r\n BrowserGetTestability.prototype.findTestabilityInTree = function (registry, elem, findInAncestors) {\r\n if (elem == null) {\r\n return null;\r\n }\r\n var t = registry.getTestability(elem);\r\n if (lang_1.isPresent(t)) {\r\n return t;\r\n }\r\n else if (!findInAncestors) {\r\n return null;\r\n }\r\n if (dom_adapter_1.DOM.isShadowRoot(elem)) {\r\n return this.findTestabilityInTree(registry, dom_adapter_1.DOM.getHost(elem), true);\r\n }\r\n return this.findTestabilityInTree(registry, dom_adapter_1.DOM.parentElement(elem), true);\r\n };\r\n return BrowserGetTestability;\r\n}());\r\nexports.BrowserGetTestability = BrowserGetTestability;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdGFiaWxpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvcGxhdGZvcm0vYnJvd3Nlci90ZXN0YWJpbGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsMkJBQTJDLGdDQUFnQyxDQUFDLENBQUE7QUFDNUUscUJBQW1ELDBCQUEwQixDQUFDLENBQUE7QUFJOUUsNEJBQWtCLHVDQUF1QyxDQUFDLENBQUE7QUFFMUQscUJBTU8sZUFBZSxDQUFDLENBQUE7QUFFdkI7SUFJRSwyQkFBWSxXQUF3QjtRQUFJLElBQUksQ0FBQyxZQUFZLEdBQUcsV0FBVyxDQUFDO0lBQUMsQ0FBQztJQUUxRSxvQ0FBUSxHQUFSLGNBQXNCLE1BQU0sQ0FBQyxJQUFJLENBQUMsWUFBWSxDQUFDLFFBQVEsRUFBRSxDQUFDLENBQUMsQ0FBQztJQUU1RCxzQ0FBVSxHQUFWLFVBQVcsUUFBa0IsSUFBSSxJQUFJLENBQUMsWUFBWSxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFFMUUsd0NBQVksR0FBWixVQUFhLEtBQVUsRUFBRSxRQUFnQixFQUFFLFVBQW1CO1FBQzVELE1BQU0sQ0F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aWYgKCFnbG9iYWwuZnJhbWV3b3JrU3RhYmlsaXplcnMpIHtcbiAgICAgIGdsb2JhbC5mcmFtZXdvcmtTdGFiaWxpemVycyA9IExpc3RXcmFwcGVyLmNyZWF0ZUdyb3dhYmxlU2l6ZSgwKTtcbiAgICB9XG4gICAgZ2xvYmFsLmZyYW1ld29ya1N0YWJpbGl6ZXJzLnB1c2god2hlbkFsbFN0YWJsZSk7XG4gIH1cblxuICBmaW5kVGVzdGFiaWxpdHlJblRyZWUocmVnaXN0cnk6IFRlc3RhYmlsaXR5UmVnaXN0cnksIGVsZW06IGFueSxcbiAgICAgICAgICAgICAgICAgICAgICAgIGZpbmRJbkFuY2VzdG9yczogYm9vbGVhbik6IFRlc3RhYmlsaXR5IHtcbiAgICBpZiAoZWxlbSA9PSBudWxsKSB7XG4gICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG4gICAgdmFyIHQgPSByZWdpc3RyeS5nZXRUZXN0YWJpbGl0eShlbGVtKTtcbiAgICBpZiAoaXNQcmVzZW50KHQpKSB7XG4gICAgICByZXR1cm4gdDtcbiAgICB9IGVsc2UgaWYgKCFmaW5kSW5BbmNlc3RvcnMpIHtcbiAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbiAgICBpZiAoRE9NLmlzU2hhZG93Um9vdChlbGVtKSkge1xuICAgICAgcmV0dXJuIHRoaXMuZmluZFRlc3RhYmlsaXR5SW5UcmVlKHJlZ2lzdHJ5LCBET00uZ2V0SG9zdChlbGVtKSwgdHJ1ZSk7XG4gICAgfVxuICAgIHJldHVybiB0aGlzLmZpbmRUZXN0YWJpbGl0eUluVHJlZShyZWdpc3RyeSwgRE9NLnBhcmVudEVsZW1lbnQoZWxlbSksIHRydWUpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar xhr_1 = require('angular2/src/compiler/xhr');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar promise_1 = require('angular2/src/facade/promise');\r\n/**\r\n * An implementation of XHR that uses a template cache to avoid doing an actual\r\n * XHR.\r\n *\r\n * The template cache needs to be built and loaded into window.$templateCache\r\n * via a separate mechanism.\r\n */\r\nvar CachedXHR = (function (_super) {\r\n __extends(CachedXHR, _super);\r\n function CachedXHR() {\r\n _super.call(this);\r\n this._cache = lang_1.global.$templateCache;\r\n if (this._cache == null) {\r\n throw new exceptions_1.BaseException('CachedXHR: Template cache was not found in $templateCache.');\r\n }\r\n }\r\n CachedXHR.prototype.get = function (url) {\r\n if (this._cache.hasOwnProperty(url)) {\r\n return promise_1.PromiseWrapper.resolve(this._cache[url]);\r\n }\r\n else {\r\n return promise_1.PromiseWrapper.reject('CachedXHR: Did not find cached template for ' + url, null);\r\n }\r\n };\r\n return CachedXHR;\r\n}(xhr_1.XHR));\r\nexports.CachedXHR = CachedXHR;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieGhyX2NhY2hlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL3BsYXRmb3JtL2Jyb3dzZXIveGhyX2NhY2hlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLG9CQUFrQiwyQkFBMkIsQ0FBQyxDQUFBO0FBQzlDLDJCQUE0QixnQ0FBZ0MsQ0FBQyxDQUFBO0FBQzdELHFCQUFxQiwwQkFBMEIsQ0FBQyxDQUFBO0FBQ2hELHdCQUE2Qiw2QkFBNkIsQ0FBQyxDQUFBO0FBRTNEOzs7Ozs7R0FN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JsLCBudWxsKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n/**\r\n * This is here because DART requires it. It is noop in JS.\r\n */\r\nfunction wtfInit() { }\r\nexports.wtfInit = wtfInit;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3RmX2luaXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9wcm9maWxlL3d0Zl9pbml0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7R0FFRztBQUNILHFCQUEyQixDQUFDO0FBQVosZUFBTyxVQUFLLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRoaXMgaXMgaGVyZSBiZWNhdXNlIERBUlQgcmVxdWlyZXMgaXQuIEl0IGlzIG5vb3AgaW4gSlMuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiB3dGZJbml0KCkge31cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar core_1 = require('angular2/core');\r\nvar event_manager_1 = require('./event_manager');\r\nvar DomEventsPlugin = (function (_super) {\r\n __extends(DomEventsPlugin, _super);\r\n function DomEventsPlugin() {\r\n _super.apply(this, arguments);\r\n }\r\n // This plugin should come last in the list of plugins, because it accepts all\r\n // events.\r\n DomEventsPlugin.prototype.supports = function (eventName) { return true; };\r\n DomEventsPlugin.prototype.addEventListener = function (element, eventName, handler) {\r\n var zone = this.manager.getZone();\r\n var outsideHandler = function (event) { return zone.runGuarded(function () { return handler(event); }); };\r\n return this.manager.getZone().runOutsideAngular(function () { return dom_adapter_1.DOM.onAndCancel(element, eventName, outsideHandler); });\r\n };\r\n DomEventsPlugin.prototype.addGlobalEventListener = function (target, eventName, handler) {\r\n var element = dom_adapter_1.DOM.getGlobalEventTarget(target);\r\n var zone = this.manager.getZone();\r\n var outsideHandler = function (event) { return zone.runGuarded(function () { return handler(event); }); };\r\n return this.manager.getZone().runOutsideAngular(function () { return dom_adapter_1.DOM.onAndCancel(element, eventName, outsideHandler); });\r\n };\r\n DomEventsPlugin = __decorate([\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], DomEventsPlugin);\r\n return DomEventsPlugin;\r\n}(event_manager_1.EventManagerPlugin));\r\nexports.DomEventsPlugin = DomEventsPlugin;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tX2V2ZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9wbGF0Zm9ybS9kb20vZXZlbnRzL2RvbV9ldmVudHMud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';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\n/**\r\n * Predicates for use with {@link DebugElement}'s query functions.\r\n */\r\nvar By = (function () {\r\n function By() {\r\n }\r\n /**\r\n * Match all elements.\r\n *\r\n * ## Example\r\n *\r\n * {@example platform/dom/debug/ts/by/by.ts region='by_all'}\r\n */\r\n By.all = function () { return function (debugElement) { return true; }; };\r\n /**\r\n * Match elements by the given CSS selector.\r\n *\r\n * ## Example\r\n *\r\n * {@example platform/dom/debug/ts/by/by.ts region='by_css'}\r\n */\r\n By.css = function (selector) {\r\n return function (debugElement) {\r\n return lang_1.isPresent(debugElement.nativeElement) ?\r\n dom_adapter_1.DOM.elementMatches(debugElement.nativeElement, selector) :\r\n false;\r\n };\r\n };\r\n /**\r\n * Match elements that have the given directive present.\r\n *\r\n * ## Example\r\n *\r\n * {@example platform/dom/debug/ts/by/by.ts region='by_directive'}\r\n */\r\n By.directive = function (type) {\r\n return function (debugElement) { return debugElement.providerTokens.indexOf(type) !== -1; };\r\n };\r\n return By;\r\n}());\r\nexports.By = By;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvcGxhdGZvcm0vZG9tL2RlYnVnL2J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBdUMsMEJBQTBCLENBQUMsQ0FBQTtBQUVsRSw0QkFBa0IsdUNBQXVDLENBQUMsQ0FBQTtBQUcxRDs7R0FFRztBQUNIO0lBQUE7SUFtQ0EsQ0FBQztJQWxDQzs7Ozs7O09BTUc7SUFDSSxNQUFHLEdBQVYsY0FBd0MsTUFBTSxDQUFDLFVBQUMsWUFBWS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MvYnkvYnkudHMgcmVnaW9uPSdieV9kaXJlY3RpdmUnfVxuICAgKi9cbiAgc3RhdGljIGRpcmVjdGl2ZSh0eXBlOiBUeXBlKTogUHJlZGljYXRlPERlYnVnRWxlbWVudD4ge1xuICAgIHJldHVybiAoZGVidWdFbGVtZW50KSA9PiB7IHJldHVybiBkZWJ1Z0VsZW1lbnQucHJvdmlkZXJUb2tlbnMuaW5kZXhPZih0eXBlKSAhPT0gLTE7IH07XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar CssAnimationOptions = (function () {\r\n function CssAnimationOptions() {\r\n /** classes to be added to the element */\r\n this.classesToAdd = [];\r\n /** classes to be removed from the element */\r\n this.classesToRemove = [];\r\n /** classes to be added for the duration of the animation */\r\n this.animationClasses = [];\r\n }\r\n return CssAnimationOptions;\r\n}());\r\nexports.CssAnimationOptions = CssAnimationOptions;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3NzX2FuaW1hdGlvbl9vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2FuaW1hdGUvY3NzX2FuaW1hdGlvbl9vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTtJQUFBO1FBT0UseUNBQXlDO1FBQ3pDLGlCQUFZLEdBQWEsRUFBRSxDQUFDO1FBRTVCLDZDQUE2QztRQUM3QyxvQkFBZSxHQUFhLEVBQUUsQ0FBQztRQUUvQiw0REFBNEQ7UUFDNUQscUJBQWdCLEdBQWEsRUFBRSxDQUFDO0lBT2xDLENBQUM7SUFBRCwwQkFBQztBQUFELENBQUMsQUFyQkQsSUFxQkM7QUFyQlksMkJBQW1CLHNCQXFCL0IsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBDc3NBbmltYXRpb25PcHRpb25zIHtcbiAgLyoqIGluaXRpYWwgc3R5bGVzIGZvciB0aGUgZWxlbWVudCAqL1xuICBmcm9tU3R5bGVzOiB7W2tleTogc3RyaW5nXTogYW55fTtcblxuICAvKiogZGVzdGluYXRpb24gc3R5bGVzIGZvciB0aGUgZWxlbWVudCAqL1xuICB0b1N0eWxlczoge1trZXk6IHN0cmluZ106IGFueX07XG5cbiAgLyoqIGNsYXNzZXMgdG8gYmUgYWRkZWQgdG8gdGhlIGVsZW1lbnQgKi9cbiAgY2xhc3Nlc1RvQWRkOiBzdHJpbmdbXSA9IFtdO1xuXG4gIC8qKiBjbGFzc2VzIHRvIGJlIHJlbW92ZWQgZnJvbSB0aGUgZWxlbWVudCAqL1xuICBjbGFzc2VzVG9SZW1vdmU6IHN0cmluZ1tdID0gW107XG5cbiAgLyoqIGNsYXNzZXMgdG8gYmUgYWRkZWQgZm9yIHRoZSBkdXJhdGlvbiBvZiB0aGUgYW5pbWF0aW9uICovXG4gIGFuaW1hdGlvbkNsYXNzZXM6IHN0cmluZ1tdID0gW107XG5cbiAgLyoqIG92ZXJyaWRlIHRoZSBkdXJhdGlvbiBvZiB0aGUgYW5pbWF0aW9uIChpbiBtaWxsaXNlY29uZHMpICovXG4gIGR1cmF0aW9uOiBudW1iZXI7XG5cbiAgLyoqIG92ZXJyaWRlIHRoZSB0cmFuc2l0aW9uIGRlbGF5IChpbiBtaWxsaXNlY29uZHMpICovXG4gIGRlbGF5OiBudW1iZXI7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar math_1 = require('angular2/src/facade/math');\r\nvar util_1 = require('angular2/src/platform/dom/util');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar Animation = (function () {\r\n /**\r\n * Stores the start time and starts the animation\r\n * @param element\r\n * @param data\r\n * @param browserDetails\r\n */\r\n function Animation(element, data, browserDetails) {\r\n var _this = this;\r\n this.element = element;\r\n this.data = data;\r\n this.browserDetails = browserDetails;\r\n /** functions to be called upon completion */\r\n this.callbacks = [];\r\n /** functions for removing event listeners */\r\n this.eventClearFunctions = [];\r\n /** flag used to track whether or not the animation has finished */\r\n this.completed = false;\r\n this._stringPrefix = '';\r\n this.startTime = lang_1.DateWrapper.toMillis(lang_1.DateWrapper.now());\r\n this._stringPrefix = dom_adapter_1.DOM.getAnimationPrefix();\r\n this.setup();\r\n this.wait(function (timestamp) { return _this.start(); });\r\n }\r\n Object.defineProperty(Animation.prototype, \"totalTime\", {\r\n /** total amount of time that the animation should take including delay */\r\n get: function () {\r\n var delay = this.computedDelay != null ? this.computedDelay : 0;\r\n var duration = this.computedDuration != null ? this.computedDuration : 0;\r\n return delay + duration;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Animation.prototype.wait = function (callback) {\r\n // Firefox requires 2 frames for some reason\r\n this.browserDetails.raf(callback, 2);\r\n };\r\n /**\r\n * Sets up the initial styles before the animation is started\r\n */\r\n Animation.prototype.setup = function () {\r\n if (this.data.fromStyles != null)\r\n this.applyStyles(this.data.fromStyles);\r\n if (this.data.duration != null)\r\n this.applyStyles({ 'transitionDuration': this.data.duration.toString() + 'ms' });\r\n if (this.data.delay != null)\r\n this.applyStyles({ 'transitionDelay': this.data.delay.toString() + 'ms' });\r\n };\r\n /**\r\n * After the initial setup has occurred, this method adds the animation styles\r\n */\r\n Animation.prototype.start = function () {\r\n this.addClasses(this.data.classesToAdd);\r\n this.addClasses(this.data.animationClasses);\r\n this.removeClasses(this.data.classesToRemove);\r\n if (this.data.toStyles != null)\r\n this.applyStyles(this.data.toStyles);\r\n var computedStyles = dom_adapter_1.DOM.getComputedStyle(this.element);\r\n this.computedDelay =\r\n math_1.Math.max(this.parseDurationString(computedStyles.getPropertyValue(this._stringPrefix + 'transition-delay')), this.parseDurationString(this.element.style.getPropertyValue(this._stringPrefix + 'transition-delay')));\r\n this.computedDuration = math_1.Math.max(this.parseDurationString(computedStyles.getPropertyValue(this._stringPrefix + 'transition-duration')), this.parseDurationString(this.element.style.getPropertyValue(this._stringPrefix + 'transition-duration')));\r\n this.addEvents();\r\n };\r\n /**\r\n * Applies the provided styles to the element\r\n * @param styles\r\n */\r\n Animation.prototype.applyStyles = function (styles) {\r\n var _this = this;\r\n collection_1.StringMapWrapper.forEach(styles, function (value, key) {\r\n var dashCaseKey = util_1.camelCaseToDashCase(key);\r\n if (lang_1.isPresent(dom_adapter_1.DOM.getStyle(_this.element, dashCaseKey))) {\r\n dom_adapter_1.DOM.setStyle(_this.element, dashCaseKey, value.toString());\r\n }\r\n else {\r\n dom_adapter_1.DOM.setStyle(_this.element, _this._stringPrefix + dashCaseKey, value.toString());\r\n }\r\n });\r\n };\r\n /**\r\n * Adds the provided classes to the element\r\n * @param classes\r\n */\r\n Animation.prototype.addClasses = function (classes) {\r\n for (var i = 0, len = classes.length; i < len; i++)\r\n dom_adapter_1.DOM.addClass(this.element, classes[i]);\r\n };\r\n /**\r\n * Removes the provided classes from the element\r\n * @param classes\r\n */\r\n Animation.prototype.removeClasses = function (classes) {\r\n for (var i = 0, len = classes.length; i < len; i++)\r\n dom_adapter_1.DOM.removeClass(this.element, classes[i]);\r\n };\r\n /**\r\n * Adds events to track when animations have finished\r\n */\r\n Animation.prototype.addEvents = function () {\r\n var _this = this;\r\n if (this.totalTime > 0) {\r\n this.eventClearFunctions.push(dom_adapter_1.DOM.onAndCancel(this.element, dom_adapter_1.DOM.getTransitionEnd(), function (event) { return _this.handleAnimationEvent(event); }));\r\n }\r\n else {\r\n this.handleAnimationCompleted();\r\n }\r\n };\r\n Animation.prototype.handleAnimationEvent = function (event) {\r\n var elapsedTime = math_1.Math.round(event.elapsedTime * 1000);\r\n if (!this.browserDetails.elapsedTimeIncludesDelay)\r\n elapsedTime += this.computedDelay;\r\n event.stopPropagation();\r\n if (elapsedTime >= this.totalTime)\r\n this.handleAnimationCompleted();\r\n };\r\n /**\r\n * Runs all animation callbacks and removes temporary classes\r\n */\r\n Animation.prototype.handleAnimationCompleted = function () {\r\n this.removeClasses(this.data.animationClasses);\r\n this.callbacks.forEach(function (callback) { return callback(); });\r\n this.callbacks = [];\r\n this.eventClearFunctions.forEach(function (fn) { return fn(); });\r\n this.eventClearFunctions = [];\r\n this.completed = true;\r\n };\r\n /**\r\n * Adds animation callbacks to be called upon completion\r\n * @param callback\r\n * @returns {Animation}\r\n */\r\n Animation.prototype.onComplete = function (callback) {\r\n if (this.completed) {\r\n callback();\r\n }\r\n else {\r\n this.callbacks.push(callback);\r\n }\r\n return this;\r\n };\r\n /**\r\n * Converts the duration string to the number of milliseconds\r\n * @param duration\r\n * @returns {number}\r\n */\r\n Animation.prototype.parseDurationString = function (duration) {\r\n var maxValue = 0;\r\n // duration must have at least 2 characters to be valid. (number + type)\r\n if (duration == null || duration.length < 2) {\r\n return maxValue;\r\n }\r\n else if (duration.substring(duration.length - 2) == 'ms') {\r\n var value = lang_1.NumberWrapper.parseInt(this.stripLetters(duration), 10);\r\n if (value > maxValue)\r\n maxValue = value;\r\n }\r\n else if (duration.substring(duration.length - 1) == 's') {\r\n var ms = lang_1.NumberWrapper.parseFloat(this.stripLetters(duration)) * 1000;\r\n var value = math_1.Math.floor(ms);\r\n if (value > maxValue)\r\n maxValue = value;\r\n }\r\n return maxValue;\r\n };\r\n /**\r\n * Strips the letters from the duration string\r\n * @param str\r\n * @returns {string}\r\n */\r\n Animation.prototype.stripLetters = function (str) {\r\n return lang_1.StringWrapper.replaceAll(str, lang_1.RegExpWrapper.create('[^0-9]+$', ''), '');\r\n };\r\n return Animation;\r\n}());\r\nexports.Animation = Animation;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5pbWF0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHB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ICh0aGlzLmRhdGEudG9TdHlsZXMgIT0gbnVsbCkgdGhpcy5hcHBseVN0eWxlcyh0aGlzLmRhdGEudG9TdHlsZXMpO1xuICAgIHZhciBjb21wdXRlZFN0eWxlcyA9IERPTS5nZXRDb21wdXRlZFN0eWxlKHRoaXMuZWxlbWVudCk7XG4gICAgdGhpcy5jb21wdXRlZERlbGF5ID1cbiAgICAgICAgTWF0aC5tYXgodGhpcy5wYXJzZUR1cmF0aW9uU3RyaW5nKFxuICAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRTdHlsZXMuZ2V0UHJvcGVydHlWYWx1ZSh0aGlzLl9zdHJpbmdQcmVmaXggKyAndHJhbnNpdGlvbi1kZWxheScpKSxcbiAgICAgICAgICAgICAgICAgdGhpcy5wYXJzZUR1cmF0aW9uU3RyaW5nKFxuICAgICAgICAgICAgICAgICAgICAgdGhpcy5lbGVtZW50LnN0eWxlLmdldFByb3BlcnR5VmFsdWUodGhpcy5fc3RyaW5nUHJlZml4ICsgJ3RyYW5zaXRpb24tZGVsYXknKSkpO1xuICAgIHRoaXMuY29tcHV0ZWREdXJhdGlvbiA9IE1hdGgubWF4KHRoaXMucGFyc2VEdXJhdGlvblN0cmluZyhjb21wdXRlZFN0eWxlcy5nZXRQcm9wZXJ0eVZhbHVlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9zdHJpbmdQcmVmaXggKyAndHJhbnNpdGlvbi1kdXJhdGlvbicpKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnBhcnNlRHVyYXRpb25TdHJpbmcodGhpcy5lbGVtZW50LnN0eWxlLmdldFByb3BlcnR5VmFsdWUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX3N0cmluZ1ByZWZpeCArICd0cmFuc2l0aW9uLWR1cmF0aW9uJykpKTtcbiAgICB0aGlzLmFkZEV2ZW50cygpO1xuICB9XG5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3RyaW5nIHtcbiAgICByZXR1cm4gU3RyaW5nV3JhcHBlci5yZXBsYWNlQWxsKHN0ciwgUmVnRXhwV3JhcHBlci5jcmVhdGUoJ1teMC05XSskJywgJycpLCAnJyk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar css_animation_options_1 = require('./css_animation_options');\r\nvar animation_1 = require('./animation');\r\nvar CssAnimationBuilder = (function () {\r\n /**\r\n * Accepts public properties for CssAnimationBuilder\r\n */\r\n function CssAnimationBuilder(browserDetails) {\r\n this.browserDetails = browserDetails;\r\n /** @type {CssAnimationOptions} */\r\n this.data = new css_animation_options_1.CssAnimationOptions();\r\n }\r\n /**\r\n * Adds a temporary class that will be removed at the end of the animation\r\n * @param className\r\n */\r\n CssAnimationBuilder.prototype.addAnimationClass = function (className) {\r\n this.data.animationClasses.push(className);\r\n return this;\r\n };\r\n /**\r\n * Adds a class that will remain on the element after the animation has finished\r\n * @param className\r\n */\r\n CssAnimationBuilder.prototype.addClass = function (className) {\r\n this.data.classesToAdd.push(className);\r\n return this;\r\n };\r\n /**\r\n * Removes a class from the element\r\n * @param className\r\n */\r\n CssAnimationBuilder.prototype.removeClass = function (className) {\r\n this.data.classesToRemove.push(className);\r\n return this;\r\n };\r\n /**\r\n * Sets the animation duration (and overrides any defined through CSS)\r\n * @param duration\r\n */\r\n CssAnimationBuilder.prototype.setDuration = function (duration) {\r\n this.data.duration = duration;\r\n return this;\r\n };\r\n /**\r\n * Sets the animation delay (and overrides any defined through CSS)\r\n * @param delay\r\n */\r\n CssAnimationBuilder.prototype.setDelay = function (delay) {\r\n this.data.delay = delay;\r\n return this;\r\n };\r\n /**\r\n * Sets styles for both the initial state and the destination state\r\n * @param from\r\n * @param to\r\n */\r\n CssAnimationBuilder.prototype.setStyles = function (from, to) {\r\n return this.setFromStyles(from).setToStyles(to);\r\n };\r\n /**\r\n * Sets the initial styles for the animation\r\n * @param from\r\n */\r\n CssAnimationBuilder.prototype.setFromStyles = function (from) {\r\n this.data.fromStyles = from;\r\n return this;\r\n };\r\n /**\r\n * Sets the destination styles for the animation\r\n * @param to\r\n */\r\n CssAnimationBuilder.prototype.setToStyles = function (to) {\r\n this.data.toStyles = to;\r\n return this;\r\n };\r\n /**\r\n * Starts the animation and returns a promise\r\n * @param element\r\n */\r\n CssAnimationBuilder.prototype.start = function (element) {\r\n return new animation_1.Animation(element, this.data, this.browserDetails);\r\n };\r\n return CssAnimationBuilder;\r\n}());\r\nexports.CssAnimationBuilder = CssAnimationBuilder;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3NzX2FuaW1hdGlvbl9idWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2FuaW1hdGUvY3NzX2FuaW1hdGlvbl9idWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzQ0FBa0MseUJBQXlCLENBQUMsQ0FBQTtBQUM1RCwwQkFBd0IsYUFBYSxDQUFDLENBQUE7QUFHdEM7SUFJRTs7T0FFRztJQUNILDZCQUFtQixjQUE4QjtRQUE5QixtQkFBYyxHQUFkLGNBQWMsQ0FBZ0I7UUFOakQsa0NBQWtDO1FBQ2xDLFNBQUksR0FBd0IsSUFBSSwyQ0FBbUIsRUFBRSxDQUFDO0lBS0YsQ0FBQztJQUVyRDs7O09BR0c7SUFDSCwrQ0FBaUIsR0FBakIsVUFBa0IsU0FBaUI7UUFDakMsSUFBSSxDQUFDLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUM7UUFDM0MsTUFBTSxDQUFDLElBQUksQ0FBQztJQUNkLENBQUM7SUFFRDs7O09BR0c7SUFDSCxzQ0FBUSxHQUFSLFVBQVMsU0F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0cmluZ106IGFueX0pOiBDc3NBbmltYXRpb25CdWlsZGVyIHtcbiAgICB0aGlzLmRhdGEudG9TdHlsZXMgPSB0bztcbiAgICByZXR1cm4gdGhpcztcbiAgfVxuXG4gIC8qKlxuICAgKiBTdGFydHMgdGhlIGFuaW1hdGlvbiBhbmQgcmV0dXJucyBhIHByb21pc2VcbiAgICogQHBhcmFtIGVsZW1lbnRcbiAgICovXG4gIHN0YXJ0KGVsZW1lbnQ6IEhUTUxFbGVtZW50KTogQW5pbWF0aW9uIHtcbiAgICByZXR1cm4gbmV3IEFuaW1hdGlvbihlbGVtZW50LCB0aGlzLmRhdGEsIHRoaXMuYnJvd3NlckRldGFpbHMpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nexports.Math = lang_1.global.Math;\r\nexports.NaN = typeof exports.NaN;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9mYWNhZGUvbWF0aC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQXFCLDBCQUEwQixDQUFDLENBQUE7QUFFckMsWUFBSSxHQUFHLGFBQU0sQ0FBQyxJQUFJLENBQUM7QUFDbkIsV0FBRyxHQUFHLE9BQU8sV0FBRyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtnbG9iYWx9IGZyb20gJ2FuZ3VsYXIyL3NyYy9mYWNhZGUvbGFuZyc7XG5cbmV4cG9ydCB2YXIgTWF0aCA9IGdsb2JhbC5NYXRoO1xuZXhwb3J0IHZhciBOYU4gPSB0eXBlb2YgTmFOO1xuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar math_1 = require('angular2/src/facade/math');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar BrowserDetails = (function () {\r\n function BrowserDetails() {\r\n this.elapsedTimeIncludesDelay = false;\r\n this.doesElapsedTimeIncludesDelay();\r\n }\r\n /**\r\n * Determines if `event.elapsedTime` includes transition delay in the current browser. At this\r\n * time, Chrome and Opera seem to be the only browsers that include this.\r\n */\r\n BrowserDetails.prototype.doesElapsedTimeIncludesDelay = function () {\r\n var _this = this;\r\n var div = dom_adapter_1.DOM.createElement('div');\r\n dom_adapter_1.DOM.setAttribute(div, 'style', \"position: absolute; top: -9999px; left: -9999px; width: 1px;\\n height: 1px; transition: all 1ms linear 1ms;\");\r\n // Firefox requires that we wait for 2 frames for some reason\r\n this.raf(function (timestamp) {\r\n dom_adapter_1.DOM.on(div, 'transitionend', function (event) {\r\n var elapsed = math_1.Math.round(event.elapsedTime * 1000);\r\n _this.elapsedTimeIncludesDelay = elapsed == 2;\r\n dom_adapter_1.DOM.remove(div);\r\n });\r\n dom_adapter_1.DOM.setStyle(div, 'width', '2px');\r\n }, 2);\r\n };\r\n BrowserDetails.prototype.raf = function (callback, frames) {\r\n if (frames === void 0) { frames = 1; }\r\n var queue = new RafQueue(callback, frames);\r\n return function () { return queue.cancel(); };\r\n };\r\n BrowserDetails = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], BrowserDetails);\r\n return BrowserDetails;\r\n}());\r\nexports.BrowserDetails = BrowserDetails;\r\nvar RafQueue = (function () {\r\n function RafQueue(callback, frames) {\r\n this.callback = callback;\r\n this.frames = frames;\r\n this._raf();\r\n }\r\n RafQueue.prototype._raf = function () {\r\n var _this = this;\r\n this.currentFrameId =\r\n dom_adapter_1.DOM.requestAnimationFrame(function (timestamp) { return _this._nextFrame(timestamp); });\r\n };\r\n RafQueue.prototype._nextFrame = function (timestamp) {\r\n this.frames--;\r\n if (this.frames > 0) {\r\n this._raf();\r\n }\r\n else {\r\n this.callback(timestamp);\r\n }\r\n };\r\n RafQueue.prototype.cancel = function () {\r\n dom_adapter_1.DOM.cancelAnimationFrame(this.currentFrameId);\r\n this.currentFrameId = null;\r\n };\r\n return RafQueue;\r\n}());\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJvd3Nlcl9kZXRhaWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2FuaW1hdGUvYnJvd3Nlcl9kZXRhaWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxtQkFBeUIsc0JBQXNCLENBQUMsQ0FBQTtBQUNoRCxxQkFBbUIsMEJBQTBCLENBQUMsQ0FBQTtBQUM5Qyw0QkFBa0IsdUNBQXVDLENBQUMsQ0FBQTtBQUcxRDtJQUdFO1FBRkEsNkJBQXdCLEdBQUcsS0FBSyxDQUFDO1FBRWpCLElBQUksQ0FBQyw0QkFBNEIsRUFBRSxDQUFDO0lBQUMsQ0FBQztJQUV0RDs7O09BR0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GxiYWNrKHRpbWVzdGFtcCk7XG4gICAgfVxuICB9XG4gIGNhbmNlbCgpIHtcbiAgICBET00uY2FuY2VsQW5pbWF0aW9uRnJhbWUodGhpcy5jdXJyZW50RnJhbWVJZCk7XG4gICAgdGhpcy5jdXJyZW50RnJhbWVJZCA9IG51bGw7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar css_animation_builder_1 = require('./css_animation_builder');\r\nvar browser_details_1 = require('./browser_details');\r\nvar AnimationBuilder = (function () {\r\n /**\r\n * Used for DI\r\n * @param browserDetails\r\n */\r\n function AnimationBuilder(browserDetails) {\r\n this.browserDetails = browserDetails;\r\n }\r\n /**\r\n * Creates a new CSS Animation\r\n * @returns {CssAnimationBuilder}\r\n */\r\n AnimationBuilder.prototype.css = function () { return new css_animation_builder_1.CssAnimationBuilder(this.browserDetails); };\r\n AnimationBuilder = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [browser_details_1.BrowserDetails])\r\n ], AnimationBuilder);\r\n return AnimationBuilder;\r\n}());\r\nexports.AnimationBuilder = AnimationBuilder;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5pbWF0aW9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xuICBjb25zdHJ1Y3RvcihwdWJsaWMgYnJvd3NlckRldGFpbHM6IEJyb3dzZXJEZXRhaWxzKSB7fVxuXG4gIC8qKlxuICAgKiBDcmVhdGVzIGEgbmV3IENTUyBBbmltYXRpb25cbiAgICogQHJldHVybnMge0Nzc0FuaW1hdGlvbkJ1aWxkZXJ9XG4gICAqL1xuICBjc3MoKTogQ3NzQW5pbWF0aW9uQnVpbGRlciB7IHJldHVybiBuZXcgQ3NzQW5pbWF0aW9uQnVpbGRlcih0aGlzLmJyb3dzZXJEZXRhaWxzKTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar dom_tokens_1 = require('./dom_tokens');\r\nvar SharedStylesHost = (function () {\r\n function SharedStylesHost() {\r\n /** @internal */\r\n this._styles = [];\r\n /** @internal */\r\n this._stylesSet = new Set();\r\n }\r\n SharedStylesHost.prototype.addStyles = function (styles) {\r\n var _this = this;\r\n var additions = [];\r\n styles.forEach(function (style) {\r\n if (!collection_1.SetWrapper.has(_this._stylesSet, style)) {\r\n _this._stylesSet.add(style);\r\n _this._styles.push(style);\r\n additions.push(style);\r\n }\r\n });\r\n this.onStylesAdded(additions);\r\n };\r\n SharedStylesHost.prototype.onStylesAdded = function (additions) { };\r\n SharedStylesHost.prototype.getAllStyles = function () { return this._styles; };\r\n SharedStylesHost = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], SharedStylesHost);\r\n return SharedStylesHost;\r\n}());\r\nexports.SharedStylesHost = SharedStylesHost;\r\nvar DomSharedStylesHost = (function (_super) {\r\n __extends(DomSharedStylesHost, _super);\r\n function DomSharedStylesHost(doc) {\r\n _super.call(this);\r\n this._hostNodes = new Set();\r\n this._hostNodes.add(doc.head);\r\n }\r\n /** @internal */\r\n DomSharedStylesHost.prototype._addStylesToHost = function (styles, host) {\r\n for (var i = 0; i < styles.length; i++) {\r\n var style = styles[i];\r\n dom_adapter_1.DOM.appendChild(host, dom_adapter_1.DOM.createStyleElement(style));\r\n }\r\n };\r\n DomSharedStylesHost.prototype.addHost = function (hostNode) {\r\n this._addStylesToHost(this._styles, hostNode);\r\n this._hostNodes.add(hostNode);\r\n };\r\n DomSharedStylesHost.prototype.removeHost = function (hostNode) { collection_1.SetWrapper.delete(this._hostNodes, hostNode); };\r\n DomSharedStylesHost.prototype.onStylesAdded = function (additions) {\r\n var _this = this;\r\n this._hostNodes.forEach(function (hostNode) { _this._addStylesToHost(additions, hostNode); });\r\n };\r\n DomSharedStylesHost = __decorate([\r\n di_1.Injectable(),\r\n __param(0, di_1.Inject(dom_tokens_1.DOCUMENT)), \r\n __metadata('design:paramtypes', [Object])\r\n ], DomSharedStylesHost);\r\n return DomSharedStylesHost;\r\n}(SharedStylesHost));\r\nex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3R5bGVzVG9Ib3N0KHN0eWxlczogc3RyaW5nW10sIGhvc3Q6IE5vZGUpIHtcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IHN0eWxlcy5sZW5ndGg7IGkrKykge1xuICAgICAgdmFyIHN0eWxlID0gc3R5bGVzW2ldO1xuICAgICAgRE9NLmFwcGVuZENoaWxkKGhvc3QsIERPTS5jcmVhdGVTdHlsZUVsZW1lbnQoc3R5bGUpKTtcbiAgICB9XG4gIH1cbiAgYWRkSG9zdChob3N0Tm9kZTogTm9kZSkge1xuICAgIHRoaXMuX2FkZFN0eWxlc1RvSG9zdCh0aGlzLl9zdHlsZXMsIGhvc3ROb2RlKTtcbiAgICB0aGlzLl9ob3N0Tm9kZXMuYWRkKGhvc3ROb2RlKTtcbiAgfVxuICByZW1vdmVIb3N0KGhvc3ROb2RlOiBOb2RlKSB7IFNldFdyYXBwZXIuZGVsZXRlKHRoaXMuX2hvc3ROb2RlcywgaG9zdE5vZGUpOyB9XG5cbiAgb25TdHlsZXNBZGRlZChhZGRpdGlvbnM6IHN0cmluZ1tdKSB7XG4gICAgdGhpcy5faG9zdE5vZGVzLmZvckVhY2goKGhvc3ROb2RlKSA9PiB7IHRoaXMuX2FkZFN0eWxlc1RvSG9zdChhZGRpdGlvbnMsIGhvc3ROb2RlKTsgfSk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * A DI Token representing the main rendering context. In a browser this is the DOM Document.\r\n *\r\n * Note: Document might not be available in the Application Context when Application and Rendering\r\n * Contexts are not the same (e.g. when running the application into a Web Worker).\r\n */\r\nexports.DOCUMENT = lang_1.CONST_EXPR(new di_1.OpaqueToken('DocumentToken'));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tX3Rva2Vucy5qcyIsInNvdXJjZVJvb3QiOiIi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ar lang_1 = require('angular2/src/facade/lang');\r\nvar CAMEL_CASE_REGEXP = /([A-Z])/g;\r\nvar DASH_CASE_REGEXP = /-([a-z])/g;\r\nfunction camelCaseToDashCase(input) {\r\n return lang_1.StringWrapper.replaceAllMapped(input, CAMEL_CASE_REGEXP, function (m) { return '-' + m[1].toLowerCase(); });\r\n}\r\nexports.camelCaseToDashCase = camelCaseToDashCase;\r\nfunction dashCaseToCamelCase(input) {\r\n return lang_1.StringWrapper.replaceAllMapped(input, DASH_CASE_REGEXP, function (m) { return m[1].toUpperCase(); });\r\n}\r\nexports.dashCaseToCamelCase = dashCaseToCamelCase;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9wbGF0Zm9ybS9kb20vdXRpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQTRCLDBCQUEwQixDQUFDLENBQUE7QUFFdkQsSUFBSSxpQkFBaUIsR0FBRyxVQUFVLENBQUM7QUFDbkMsSUFBSSxnQkFBZ0IsR0FBRyxXQUFXLENBQUM7QUFHbkMsNkJBQW9DLEtBQWE7SUFDL0MsTUFBTSxDQUFDLG9CQUFhLENBQUMsZ0JBQWdCLENBQUMsS0FBSyxFQUFFLGlCQUFpQixFQUN4QixVQUFDLENBQUMsSUFBTyxNQUFNLENBQUMsR0FBRyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxXQUFXLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQ3JGLENBQUM7QUFIZSwyQkFBbUIsc0JBR2xDLENBQUE7QUFFRCw2QkFBb0MsS0FBYTtJQUMvQyxNQUFNLENBQUMsb0JBQWEsQ0FBQyxnQkFBZ0IsQ0FBQyxLQUFLLEVBQUUsZ0JBQWdCLEVBQ3ZCLFVBQUMsQ0FBQyxJQUFPLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsV0FBVyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUMvRSxDQUFDO0FBSGUsMkJBQW1CLHNCQUdsQyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtTdHJpbmdXcmFwcGVyfSBmcm9tICdhbmd1bGFyMi9zcmMvZmFjYWRlL2xhbmcnO1xuXG52YXIgQ0FNRUxfQ0FTRV9SRUdFWFAgPSAvKFtBLVpdKS9nO1xudmFyIERBU0hfQ0FTRV9SRUdFWFAgPSAvLShbYS16XSkvZztcblxuXG5leHBvcnQgZnVuY3Rpb24gY2FtZWxDYXNlVG9EYXNoQ2FzZShpbnB1dDogc3RyaW5nKTogc3RyaW5nIHtcbiAgcmV0dXJuIFN0cmluZ1dyYXBwZXIucmVwbGFjZUFsbE1hcHBlZChpbnB1dCwgQ0FNRUxfQ0FTRV9SRUdFWFAsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG0pID0+IHsgcmV0dXJuICctJyArIG1bMV0udG9Mb3dlckNhc2UoKTsgfSk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBkYXNoQ2FzZVRvQ2FtZWxDYXNlKGlucHV0OiBzdHJpbmcpOiBzdHJpbmcge1xuICByZXR1cm4gU3RyaW5nV3JhcHBlci5yZXBsYWNlQWxsTWFwcGVkKGlucHV0LCBEQVNIX0NBU0VfUkVHRVhQLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChtKSA9PiB7IHJldHVybiBtWzFdLnRvVXBwZXJDYXNlKCk7IH0pO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar animation_builder_1 = require('angular2/src/animate/animation_builder');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar shared_styles_host_1 = require('./shared_styles_host');\r\nvar event_manager_1 = require('./events/event_manager');\r\nvar dom_tokens_1 = require('./dom_tokens');\r\nvar metadata_1 = require('angular2/src/core/metadata');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar util_1 = require('./util');\r\nvar NAMESPACE_URIS = lang_1.CONST_EXPR({ 'xlink': 'http://www.w3.org/1999/xlink', 'svg': 'http://www.w3.org/2000/svg' });\r\nvar TEMPLATE_COMMENT_TEXT = 'template bindings={}';\r\nvar TEMPLATE_BINDINGS_EXP = /^template bindings=(.*)$/g;\r\nvar DomRootRenderer = (function () {\r\n function DomRootRenderer(document, eventManager, sharedStylesHost, animate) {\r\n this.document = document;\r\n this.eventManager = eventManager;\r\n this.sharedStylesHost = sharedStylesHost;\r\n this.animate = animate;\r\n this._registeredComponents = new Map();\r\n }\r\n DomRootRenderer.prototype.renderComponent = function (componentProto) {\r\n var renderer = this._registeredComponents.get(componentProto.id);\r\n if (lang_1.isBlank(renderer)) {\r\n renderer = new DomRenderer(this, componentProto);\r\n this._registeredComponents.set(componentProto.id, renderer);\r\n }\r\n return renderer;\r\n };\r\n return DomRootRenderer;\r\n}());\r\nexports.DomRootRenderer = DomRootRenderer;\r\nvar DomRootRenderer_ = (function (_super) {\r\n __extends(DomRootRenderer_, _super);\r\n function DomRootRenderer_(_document, _eventManager, sharedStylesHost, animate) {\r\n _super.call(this, _document, _eventManager, sharedStylesHost, animate);\r\n }\r\n DomRootRenderer_ = __decorate([\r\n di_1.Injectable(),\r\n __param(0, di_1.Inject(dom_tokens_1.DOCUMENT)), \r\n __metadata('design:paramtypes', [Object, event_manager_1.EventManager, shared_styles_host_1.DomSharedStylesHost, animation_builder_1.AnimationBuilder])\r\n ], DomRootRenderer_);\r\n return DomRootRenderer_;\r\n}(DomRootRenderer));\r\nexports.DomRootRenderer_ = DomRootRenderer_;\r\nvar DomRenderer = (function () {\r\n function DomRenderer(_rootRenderer, componentProto) {\r\n this._rootRenderer = _rootRenderer;\r\n this.componentProto = componentProto;\r\n this._styles = _flattenStyles(componentProto.id, componentProto.styles, []);\r\n if (componentProto.encapsulation !== metadata_1.ViewEncapsulation.Native) {\r\n this._rootRenderer.sharedStylesHost.addStyles(this._styles);\r\n }\r\n if (this.componentProto.encapsulation === metadata_1.ViewEncapsulation.Emulated) {\r\n this._contentAttr = _shimContentAttribute(componentProto.id);\r\n this._hostAttr = _shimHostAttribute(componentProto.id);\r\n }\r\n else {\r\n this._contentAttr = null;\r\n this._hostAttr = null;\r\n }\r\n }\r\n DomRenderer.prototype.selectRootElement = function (selectorOrNode, debugInfo) {\r\n var el;\r\n if (lang_1.isString(selectorOrNode)) {\r\n el = dom_adapter_1.DOM.querySelector(this._rootRenderer.document, selectorOrNode);\r\n if (lang_1.isBlank(el)) {\r\n throw new exceptions_1.BaseException(\"The selector \\\"\" + selectorOrNode + \"\\\" did not match any elements\");\r\n }\r\n }\r\n else {\r\n el = selectorOrNode;\r\n }\r\n dom_adapter_1.DOM.clearNodes(el);\r\n return el;\r\n };\r\n DomRenderer.prototype.createElement = function (parent, name, debugInfo) {\r\n var nsAndName = splitNamespace(name);\r\n var el = lang_1.isPresent(nsAndName[0]) ?\r\n dom_adapter_1.DOM.createElementNS(NAMESPACE_URIS[nsAndName[0]], nsAndName[1]) :\r\n dom_adapter_1.DOM.createElement(nsAndName[1]);\r\n if (lang_1.isPresent(this._contentAttr)) {\r\n dom_adapter_1.DOM.setAttribute(el, this._contentAttr, '');\r\n }\r\n if (lang_1.isPresent(parent)) {\r\n dom_adapter_1.DOM.appendChild(parent, el);\r\n }\r\n return el;\r\n };\r\n DomRenderer.prototype.createViewRoot = function (hostElement) {\r\n var nodesParent;\r\n if (this.componentProto.encapsulation === metadata_1.ViewEncapsulation.Native) {\r\n nodesParent = dom_adapter_1.DOM.createShadowRoot(hostElement);\r\n this._rootRenderer.sharedStylesHost.addHost(nodesParent);\r\n for (var i = 0; i < this._styles.length; i++) {\r\n dom_adapter_1.DOM.appendChild(nodesParent, dom_adapter_1.DOM.createStyleElement(this._styles[i]));\r\n }\r\n }\r\n else {\r\n if (lang_1.isPresent(this._hostAttr)) {\r\n dom_adapter_1.DOM.setAttribute(hostElement, this._hostAttr, '');\r\n }\r\n nodesParent = hostElement;\r\n }\r\n return nodesParent;\r\n };\r\n DomRenderer.prototype.createTemplateAnchor = function (parentElement, debugInfo) {\r\n var comment = dom_adapter_1.DOM.createComment(TEMPLATE_COMMENT_TEXT);\r\n if (lang_1.isPresent(parentElement)) {\r\n dom_adapter_1.DOM.appendChild(parentElement, comment);\r\n }\r\n return comment;\r\n };\r\n DomRenderer.prototype.createText = function (parentElement, value, debugInfo) {\r\n var node = dom_adapter_1.DOM.createTextNode(value);\r\n if (lang_1.isPresent(parentElement)) {\r\n dom_adapter_1.DOM.appendChild(parentElement, node);\r\n }\r\n return node;\r\n };\r\n DomRenderer.prototype.projectNodes = function (parentElement, nodes) {\r\n if (lang_1.isBlank(parentElement))\r\n return;\r\n appendNodes(parentElement, nodes);\r\n };\r\n DomRenderer.prototype.attachViewAfter = function (node, viewRootNodes) {\r\n moveNodesAfterSibling(node, viewRootNodes);\r\n for (var i = 0; i < viewRootNodes.length; i++)\r\n this.animateNodeEnter(viewRootNodes[i]);\r\n };\r\n DomRenderer.prototype.detachView = function (viewRootNodes) {\r\n for (var i = 0; i < viewRootNodes.length; i++) {\r\n var node = viewRootNodes[i];\r\n dom_adapter_1.DOM.remove(node);\r\n this.animateNodeLeave(node);\r\n }\r\n };\r\n DomRenderer.prototype.destroyView = function (hostElement, viewAllNodes) {\r\n if (this.componentProto.encapsulation === metadata_1.ViewEncapsulation.Native && lang_1.isPresent(hostElement)) {\r\n this._rootRenderer.sharedStylesHost.removeHost(dom_adapter_1.DOM.getShadowRoot(hostElement));\r\n }\r\n };\r\n DomRenderer.prototype.listen = function (renderElement, name, callback) {\r\n return this._rootRenderer.eventManager.addEventListener(renderElement, name, decoratePreventDefault(callback));\r\n };\r\n DomRenderer.prototype.listenGlobal = function (target, name, callback) {\r\n return this._rootRenderer.eventManager.addGlobalEventListener(target, name, decoratePreventDefault(callback));\r\n };\r\n DomRenderer.prototype.setElementProperty = function (renderElement, propertyName, propertyValue) {\r\n dom_adapter_1.DOM.setProperty(renderElement, propertyName, propertyValue);\r\n };\r\n DomRenderer.prototype.setElementAttribute = function (renderElement, attributeName, attributeValue) {\r\n var attrNs;\r\n var nsAndName = splitNamespace(attributeName);\r\n if (lang_1.isPresent(nsAndName[0])) {\r\n attributeName = nsAndName[0] + ':' + nsAndName[1];\r\n attrNs = NAMESPACE_URIS[nsAndName[0]];\r\n }\r\n if (lang_1.isPresent(attributeValue)) {\r\n if (lang_1.isPresent(attrNs)) {\r\n dom_adapter_1.DOM.setAttributeNS(renderElement, attrNs, attributeName, attributeValue);\r\n }\r\n else {\r\n dom_adapter_1.DOM.setAttribute(renderElement, attributeName, attributeValue);\r\n }\r\n }\r\n else {\r\n if (lang_1.isPresent(attrNs)) {\r\n dom_adapter_1.DOM.removeAttributeNS(renderElement, attrNs, nsAndName[1]);\r\n }\r\n else {\r\n dom_adapter_1.DOM.removeAttribute(renderElement, attributeName);\r\n }\r\n }\r\n };\r\n DomRenderer.prototype.setBindingDebugInfo = function (renderElement, propertyName, propertyValue) {\r\n var dashCasedPropertyName = util_1.camelCaseToDashCase(propertyName);\r\n if (dom_adapter_1.DOM.isCommentNode(renderElement)) {\r\n var existingBindings = lang_1.RegExpWrapper.firstMatch(TEMPLATE_BINDINGS_EXP, lang_1.StringWrapper.replaceAll(dom_adapter_1.DOM.getText(renderElement), /\\n/g, ''));\r\n var parsedBindings = lang_1.Json.parse(existingBindings[1]);\r\n parsedBindings[dashCasedPropertyName] = propertyValue;\r\n dom_adapter_1.DOM.setText(renderElement, lang_1.StringWrapper.replace(TEMPLATE_COMMENT_TEXT, '{}', lang_1.Json.stringify(parsedBindings)));\r\n }\r\n else {\r\n this.setElementAttribute(renderElement, propertyName, propertyValue);\r\n }\r\n };\r\n DomRenderer.prototype.setElementClass = function (renderElement, className, isAdd) {\r\n if (isAdd) {\r\n dom_adapter_1.DOM.addClass(renderElement, className);\r\n }\r\n else {\r\n dom_adapter_1.DOM.removeClass(renderElement, className);\r\n }\r\n };\r\n DomRenderer.prototype.setElementStyle = function (renderElement, styleName, styleValue) {\r\n if (lang_1.isPresent(styleValue)) {\r\n dom_adapter_1.DOM.setStyle(renderElement, styleName, lang_1.stringify(styleValue));\r\n }\r\n else {\r\n dom_adapter_1.DOM.removeStyle(renderElement, styleName);\r\n }\r\n };\r\n DomRenderer.prototype.invokeElementMethod = function (renderElement, methodName, args) {\r\n dom_adapter_1.DOM.invoke(renderElement, methodName, args);\r\n };\r\n DomRenderer.prototype.setText = function (renderNode, text) { dom_adapter_1.DOM.setText(renderNode, text); };\r\n /**\r\n * Performs animations if necessary\r\n * @param node\r\n */\r\n DomRenderer.prototype.animateNodeEnter = function (node) {\r\n if (dom_adapter_1.DOM.isElementNode(node) && dom_adapter_1.DOM.hasClass(node, 'ng-animate')) {\r\n dom_adapter_1.DOM.addClass(node, 'ng-enter');\r\n this._rootRenderer.animate.css()\r\n .addAnimationClass('ng-enter-active')\r\n .start(node)\r\n .onComplete(function () { dom_adapter_1.DOM.removeClass(node, 'ng-enter'); });\r\n }\r\n };\r\n /**\r\n * If animations are necessary, performs animations then removes the element; otherwise, it just\r\n * removes the element.\r\n * @param node\r\n */\r\n DomRenderer.prototype.animateNodeLeave = function (node) {\r\n if (dom_adapter_1.DOM.isElementNode(node) && dom_adapter_1.DOM.hasClass(node, 'ng-animate')) {\r\n dom_adapter_1.DOM.addClass(node, 'ng-leave');\r\n this._rootRenderer.animate.css()\r\n .addAnimationClass('ng-leave-active')\r\n .start(node)\r\n .onComplete(function () {\r\n dom_adapter_1.DOM.removeClass(node, 'ng-leave');\r\n dom_adapter_1.DOM.remove(node);\r\n });\r\n }\r\n else {\r\n dom_adapter_1.DOM.remove(node);\r\n }\r\n };\r\n return DomRenderer;\r\n}());\r\nexports.DomRenderer = DomRenderer;\r\nfunction moveNodesAfterSibling(sibling, nodes) {\r\n var parent = dom_adapter_1.DOM.parentElement(sibling);\r\n if (nodes.length > 0 && lang_1.isPresent(parent)) {\r\n var nextSibling = dom_adapter_1.DOM.nextSibling(sibling);\r\n if (lang_1.isPresent(nextSibling)) {\r\n for (var i = 0; i < nodes.length; i++) {\r\n dom_adapter_1.DOM.insertBefore(nextSibling, nodes[i]);\r\n }\r\n }\r\n else {\r\n for (var i = 0; i < nodes.length; i++) {\r\n dom_adapter_1.DOM.appendChild(parent, nodes[i]);\r\n }\r\n }\r\n }\r\n}\r\nfunction appendNodes(parent, nodes) {\r\n for (var i = 0; i < nodes.length; i++) {\r\n dom_adapter_1.DOM.appendChild(parent, nodes[i]);\r\n }\r\n}\r\nfunction decoratePreventDefault(eventHandler) {\r\n return function (event) {\r\n var allowDefaultBehavior = eventHandler(event);\r\n if (allowDefaultBehavior === false) {\r\n // TODO(tbosch): move preventDefault into event plugins...\r\n dom_adapter_1.DOM.preventDefault(event);\r\n }\r\n };\r\n}\r\nvar COMPONENT_REGEX = /%COMP%/g;\r\nexports.COMPONENT_VARIABLE = '%COMP%';\r\nexports.HOST_ATTR = \"_nghost-\" + exports.COMPONENT_VARIABLE;\r\nexports.CONTENT_ATTR = \"_ngcontent-\" + exports.COMPONENT_VARIABLE;\r\nfunction _shimContentAttribute(componentShortId) {\r\n return lang_1.StringWrapper.replaceAll(exports.CONTENT_ATTR, COMPONENT_REGEX, componentShortId);\r\n}\r\nfunction _shimHostAttribute(componentShortId) {\r\n return lang_1.StringWrapper.replaceAll(exports.HOST_ATTR, COMPONENT_REGEX, componentShortId);\r\n}\r\nfunction _flattenStyles(compId, styles, target) {\r\n for (var i = 0; i < styles.length; i++) {\r\n var style = styles[i];\r\n if (lang_1.isArray(style)) {\r\n _flattenStyles(compId, style, target);\r\n }\r\n else {\r\n style = lang_1.StringWrapper.replaceAll(style, COMPONENT_REGEX, compId);\r\n target.push(style);\r\n }\r\n }\r\n return target;\r\n}\r\nvar NS_PREFIX_RE = /^@([^:]+):(.+)/g;\r\nfunction splitNamespace(name) {\r\n if (name[0] != '@') {\r\n return [null, name];\r\n }\r\n var match = lang_1.RegExpWrapper.firstMatch(NS_PREFIX_RE, name);\r\n return [match[1], match[2]];\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tX3JlbmRlcmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL3BsYXRmb3JtL2RvbS9kb21fcmVuZGVyZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7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IHtcbiAgcmV0dXJuIFN0cmluZ1dyYXBwZXIucmVwbGFjZUFsbChIT1NUX0FUVFIsIENPTVBPTkVOVF9SRUdFWCwgY29tcG9uZW50U2hvcnRJZCk7XG59XG5cbmZ1bmN0aW9uIF9mbGF0dGVuU3R5bGVzKGNvbXBJZDogc3RyaW5nLCBzdHlsZXM6IEFycmF5PGFueSB8IGFueVtdPiwgdGFyZ2V0OiBzdHJpbmdbXSk6IHN0cmluZ1tdIHtcbiAgZm9yICh2YXIgaSA9IDA7IGkgPCBzdHlsZXMubGVuZ3RoOyBpKyspIHtcbiAgICB2YXIgc3R5bGUgPSBzdHlsZXNbaV07XG4gICAgaWYgKGlzQXJyYXkoc3R5bGUpKSB7XG4gICAgICBfZmxhdHRlblN0eWxlcyhjb21wSWQsIHN0eWxlLCB0YXJnZXQpO1xuICAgIH0gZWxzZSB7XG4gICAgICBzdHlsZSA9IFN0cmluZ1dyYXBwZXIucmVwbGFjZUFsbChzdHlsZSwgQ09NUE9ORU5UX1JFR0VYLCBjb21wSWQpO1xuICAgICAgdGFyZ2V0LnB1c2goc3R5bGUpO1xuICAgIH1cbiAgfVxuICByZXR1cm4gdGFyZ2V0O1xufVxuXG52YXIgTlNfUFJFRklYX1JFID0gL15AKFteOl0rKTooLispL2c7XG5cbmZ1bmN0aW9uIHNwbGl0TmFtZXNwYWNlKG5hbWU6IHN0cmluZyk6IHN0cmluZ1tdIHtcbiAgaWYgKG5hbWVbMF0gIT0gJ0AnKSB7XG4gICAgcmV0dXJuIFtudWxsLCBuYW1lXTtcbiAgfVxuICBsZXQgbWF0Y2ggPSBSZWdFeHBXcmFwcGVyLmZpcnN0TWF0Y2goTlNfUFJFRklYX1JFLCBuYW1lKTtcbiAgcmV0dXJuIFttYXRjaFsxXSwgbWF0Y2hbMl1dO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar debug_node_1 = require('angular2/src/core/debug/debug_node');\r\nvar DebugDomRootRenderer = (function () {\r\n function DebugDomRootRenderer(_delegate) {\r\n this._delegate = _delegate;\r\n }\r\n DebugDomRootRenderer.prototype.renderComponent = function (componentProto) {\r\n return new DebugDomRenderer(this._delegate.renderComponent(componentProto));\r\n };\r\n return DebugDomRootRenderer;\r\n}());\r\nexports.DebugDomRootRenderer = DebugDomRootRenderer;\r\nvar DebugDomRenderer = (function () {\r\n function DebugDomRenderer(_delegate) {\r\n this._delegate = _delegate;\r\n }\r\n DebugDomRenderer.prototype.selectRootElement = function (selectorOrNode, debugInfo) {\r\n var nativeEl = this._delegate.selectRootElement(selectorOrNode, debugInfo);\r\n var debugEl = new debug_node_1.DebugElement(nativeEl, null, debugInfo);\r\n debug_node_1.indexDebugNode(debugEl);\r\n return nativeEl;\r\n };\r\n DebugDomRenderer.prototype.createElement = function (parentElement, name, debugInfo) {\r\n var nativeEl = this._delegate.createElement(parentElement, name, debugInfo);\r\n var debugEl = new debug_node_1.DebugElement(nativeEl, debug_node_1.getDebugNode(parentElement), debugInfo);\r\n debugEl.name = name;\r\n debug_node_1.indexDebugNode(debugEl);\r\n return nativeEl;\r\n };\r\n DebugDomRenderer.prototype.createViewRoot = function (hostElement) { return this._delegate.createViewRoot(hostElement); };\r\n DebugDomRenderer.prototype.createTemplateAnchor = function (parentElement, debugInfo) {\r\n var comment = this._delegate.createTemplateAnchor(parentElement, debugInfo);\r\n var debugEl = new debug_node_1.DebugNode(comment, debug_node_1.getDebugNode(parentElement), debugInfo);\r\n debug_node_1.indexDebugNode(debugEl);\r\n return comment;\r\n };\r\n DebugDomRenderer.prototype.createText = function (parentElement, value, debugInfo) {\r\n var text = this._delegate.createText(parentElement, value, debugInfo);\r\n var debugEl = new debug_node_1.DebugNode(text, debug_node_1.getDebugNode(parentElement), debugInfo);\r\n debug_node_1.indexDebugNode(debugEl);\r\n return text;\r\n };\r\n DebugDomRenderer.prototype.projectNodes = function (parentElement, nodes) {\r\n var debugParent = debug_node_1.getDebugNode(parentElement);\r\n if (lang_1.isPresent(debugParent) && debugParent instanceof debug_node_1.DebugElement) {\r\n var debugElement_1 = debugParent;\r\n nodes.forEach(function (node) { debugElement_1.addChild(debug_node_1.getDebugNode(node)); });\r\n }\r\n this._delegate.projectNodes(parentElement, nodes);\r\n };\r\n DebugDomRenderer.prototype.attachViewAfter = function (node, viewRootNodes) {\r\n var debugNode = debug_node_1.getDebugNode(node);\r\n if (lang_1.isPresent(debugNode)) {\r\n var debugParent = debugNode.parent;\r\n if (viewRootNodes.length > 0 && lang_1.isPresent(debugParent)) {\r\n var debugViewRootNodes = [];\r\n viewRootNodes.forEach(function (rootNode) { return debugViewRootNodes.push(debug_node_1.getDebugNode(rootNode)); });\r\n debugParent.insertChildrenAfter(debugNode, debugViewRootNodes);\r\n }\r\n }\r\n this._delegate.attachViewAfter(node, viewRootNodes);\r\n };\r\n DebugDomRenderer.prototype.detachView = function (viewRootNodes) {\r\n viewRootNodes.forEach(function (node) {\r\n var debugNode = debug_node_1.getDebugNode(node);\r\n if (lang_1.isPresent(debugNode) && lang_1.isPresent(debugNode.parent)) {\r\n debugNode.parent.removeChild(debugNode);\r\n }\r\n });\r\n this._delegate.detachView(viewRootNodes);\r\n };\r\n DebugDomRenderer.prototype.destroyView = function (hostElement, viewAllNodes) {\r\n viewAllNodes.forEach(function (node) { debug_node_1.removeDebugNodeFromIndex(debug_node_1.getDebugNode(node)); });\r\n this._delegate.destroyView(hostElement, viewAllNodes);\r\n };\r\n DebugDomRenderer.prototype.listen = function (renderElement, name, callback) {\r\n var debugEl = debug_node_1.getDebugNode(renderElement);\r\n if (lang_1.isPresent(debugEl)) {\r\n debugEl.listeners.push(new debug_node_1.EventListener(name, callback));\r\n }\r\n return this._delegate.listen(renderElement, name, callback);\r\n };\r\n DebugDomRenderer.prototype.listenGlobal = function (target, name, callback) {\r\n return this._delegate.listenGlobal(target, name, callback);\r\n };\r\n DebugDomRenderer.prototype.setElementProperty = function (renderElement, propertyName, propertyValue) {\r\n var debugEl = debug_node_1.getDebugNode(renderElement);\r\n if (lang_1.isPresent(debugEl) && debugEl instanceof debug_node_1.DebugElement) {\r\n debugEl.properties[propertyName] = propertyValue;\r\n }\r\n this._delegate.setElementProperty(renderElement, propertyName, propertyValue);\r\n };\r\n DebugDomRenderer.prototype.setElementAttribute = function (renderElement, attributeName, attributeValue) {\r\n var debugEl = debug_node_1.getDebugNode(renderElement);\r\n if (lang_1.isPresent(debugEl) && debugEl instanceof debug_node_1.DebugElement) {\r\n debugEl.attributes[attributeName] = attributeValue;\r\n }\r\n this._delegate.setElementAttribute(renderElement, attributeName, attributeValue);\r\n };\r\n DebugDomRenderer.prototype.setBindingDebugInfo = function (renderElement, propertyName, propertyValue) {\r\n this._delegate.setBindingDebugInfo(renderElement, propertyName, propertyValue);\r\n };\r\n DebugDomRenderer.prototype.setElementClass = function (renderElement, className, isAdd) {\r\n this._delegate.setElementClass(renderElement, className, isAdd);\r\n };\r\n DebugDomRenderer.prototype.setElementStyle = function (renderElement, styleName, styleValue) {\r\n this._delegate.setElementStyle(renderElement, styleName, styleValue);\r\n };\r\n DebugDomRenderer.prototype.invokeElementMethod = function (renderElement, methodName, args) {\r\n this._delegate.invokeElementMethod(renderElement, methodName, args);\r\n };\r\n DebugDomRenderer.prototype.setText = function (renderNode, text) { this._delegate.setText(renderNode, text); };\r\n return DebugDomRenderer;\r\n}());\r\nexports.DebugDomRenderer = DebugDomRenderer;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVidWdfcmVuZGVyZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9kZWJ1Zy9kZWJ1Z19yZW5kZXJlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQXdCLDBCQUEwQixDQUFDLENBQU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* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar debug_node_1 = require('angular2/src/core/debug/debug_node');\r\nvar dom_renderer_1 = require('angular2/src/platform/dom/dom_renderer');\r\nvar core_1 = require('angular2/core');\r\nvar debug_renderer_1 = require('angular2/src/core/debug/debug_renderer');\r\nvar CORE_TOKENS = lang_1.CONST_EXPR({ 'ApplicationRef': core_1.ApplicationRef, 'NgZone': core_1.NgZone });\r\nvar INSPECT_GLOBAL_NAME = 'ng.probe';\r\nvar CORE_TOKENS_GLOBAL_NAME = 'ng.coreTokens';\r\n/**\r\n * Returns a {@link DebugElement} for the given native DOM element, or\r\n * null if the given native element does not have an Angular view associated\r\n * with it.\r\n */\r\nfunction inspectNativeElement(element) {\r\n return debug_node_1.getDebugNode(element);\r\n}\r\nexports.inspectNativeElement = inspectNativeElement;\r\nfunction _createConditionalRootRenderer(rootRenderer) {\r\n if (lang_1.assertionsEnabled()) {\r\n return _createRootRenderer(rootRenderer);\r\n }\r\n return rootRenderer;\r\n}\r\nfunction _createRootRenderer(rootRenderer) {\r\n dom_adapter_1.DOM.setGlobalVar(INSPECT_GLOBAL_NAME, inspectNativeElement);\r\n dom_adapter_1.DOM.setGlobalVar(CORE_TOKENS_GLOBAL_NAME, CORE_TOKENS);\r\n return new debug_renderer_1.DebugDomRootRenderer(rootRenderer);\r\n}\r\n/**\r\n * Providers which support debugging Angular applications (e.g. via `ng.probe`).\r\n */\r\nexports.ELEMENT_PROBE_PROVIDERS = lang_1.CONST_EXPR([\r\n new di_1.Provider(core_1.RootRenderer, { useFactory: _createConditionalRootRenderer, deps: [dom_renderer_1.DomRootRenderer] })\r\n]);\r\nexports.ELEMENT_PROBE_PROVIDERS_PROD_MODE = lang_1.CONST_EXPR([new di_1.Provider(core_1.RootRenderer, { useFactory: _createRootRenderer, deps: [dom_ren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) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n/**\r\n * This is a set of DOM related classes and objects that can be used both in the browser and on the\r\n * server.\r\n */\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nexports.DOM = dom_adapter_1.DOM;\r\nexports.setRootDomAdapter = dom_adapter_1.setRootDomAdapter;\r\nexports.DomAdapter = dom_adapter_1.DomAdapter;\r\nvar dom_renderer_1 = require('angular2/src/platform/dom/dom_renderer');\r\nexports.DomRenderer = dom_renderer_1.DomRenderer;\r\nvar dom_tokens_1 = require('angular2/src/platform/dom/dom_tokens');\r\nexports.DOCUMENT = dom_tokens_1.DOCUMENT;\r\nvar shared_styles_host_1 = require('angular2/src/platform/dom/shared_styles_host');\r\nexports.SharedStylesHost = shared_styles_host_1.SharedStylesHost;\r\nexports.DomSharedStylesHost = shared_styles_host_1.DomSharedStylesHost;\r\nvar dom_events_1 = require('angular2/src/platform/dom/events/dom_events');\r\nexports.DomEventsPlugin = dom_events_1.DomEventsPlugin;\r\nvar event_manager_1 = require('angular2/src/platform/dom/events/event_manager');\r\nexports.EVENT_MANAGER_PLUGINS = event_manager_1.EVENT_MANAGER_PLUGINS;\r\nexports.EventManager = event_manager_1.EventManager;\r\nexports.EventManagerPlugin = event_manager_1.EventManagerPlugin;\r\n__export(require('angular2/src/platform/dom/debug/by'));\r\n__export(require('angular2/src/platform/dom/debug/ng_probe'));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uX2RvbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3BsYXRmb3JtL2NvbW1vbl9kb20udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBOzs7R0FHRztBQUNILDRCQUFpRCx1Q0FBdUMsQ0FBQzt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nO1xuZXhwb3J0IHtEb21FdmVudHNQbHVnaW59IGZyb20gJ2FuZ3VsYXIyL3NyYy9wbGF0Zm9ybS9kb20vZXZlbnRzL2RvbV9ldmVudHMnO1xuZXhwb3J0IHtcbiAgRVZFTlRfTUFOQUdFUl9QTFVHSU5TLFxuICBFdmVudE1hbmFnZXIsXG4gIEV2ZW50TWFuYWdlclBsdWdpblxufSBmcm9tICdhbmd1bGFyMi9zcmMvcGxhdGZvcm0vZG9tL2V2ZW50cy9ldmVudF9tYW5hZ2VyJztcbmV4cG9ydCAqIGZyb20gJ2FuZ3VsYXIyL3NyYy9wbGF0Zm9ybS9kb20vZGVidWcvYnknO1xuZXhwb3J0ICogZnJvbSAnYW5ndWxhcjIvc3JjL3BsYXRmb3JtL2RvbS9kZWJ1Zy9uZ19wcm9iZSc7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\n/**\r\n * A service that can be used to get and set the title of a current HTML document.\r\n *\r\n * Since an Angular 2 application can't be bootstrapped on the entire HTML document (`<html>` tag)\r\n * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements\r\n * (representing the `<title>` tag). Instead, this service can be used to set and get the current\r\n * title value.\r\n */\r\nvar Title = (function () {\r\n function Title() {\r\n }\r\n /**\r\n * Get the title of the current HTML document.\r\n * @returns {string}\r\n */\r\n Title.prototype.getTitle = function () { return dom_adapter_1.DOM.getTitle(); };\r\n /**\r\n * Set the title of the current HTML document.\r\n * @param newTitle\r\n */\r\n Title.prototype.setTitle = function (newTitle) { dom_adapter_1.DOM.setTitle(newTitle); };\r\n return Title;\r\n}());\r\nexports.Title = Title;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGl0bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo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zZXQgYW5kIGdldCB0aGUgY3VycmVudFxuICogdGl0bGUgdmFsdWUuXG4gKi9cbmV4cG9ydCBjbGFzcyBUaXRsZSB7XG4gIC8qKlxuICAgKiBHZXQgdGhlIHRpdGxlIG9mIHRoZSBjdXJyZW50IEhUTUwgZG9jdW1lbnQuXG4gICAqIEByZXR1cm5zIHtzdHJpbmd9XG4gICAqL1xuICBnZXRUaXRsZSgpOiBzdHJpbmcgeyByZXR1cm4gRE9NLmdldFRpdGxlKCk7IH1cblxuICAvKipcbiAgICogU2V0IHRoZSB0aXRsZSBvZiB0aGUgY3VycmVudCBIVE1MIGRvY3VtZW50LlxuICAgKiBAcGFyYW0gbmV3VGl0bGVcbiAgICovXG4gIHNldFRpdGxlKG5ld1RpdGxlOiBzdHJpbmcpIHsgRE9NLnNldFRpdGxlKG5ld1RpdGxlKTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n/**\r\n * JS version of browser APIs. This library can only run in the browser.\r\n */\r\nvar win = window;\r\nexports.window = win;\r\nexports.document = window.document;\r\nexports.location = window.location;\r\nexports.gc = window['gc'] ? function () { return window['gc'](); } : function () { return null; };\r\nexports.performance = window['performance'] ? window['performance'] : null;\r\nexports.Event = window['Event'];\r\nexports.MouseEvent = window['MouseEvent'];\r\nexports.KeyboardEvent = window['KeyboardEvent'];\r\nexports.EventTarget = window['EventTarget'];\r\nexports.History = window['History'];\r\nexports.Location = window['Location'];\r\nexports.EventListener = window['EventListener'];\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJvd3Nlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9mYWNhZGUvYnJvd3Nlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7O0dBRUc7QU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bmV4cG9ydCB2YXIgbG9jYXRpb24gPSB3aW5kb3cubG9jYXRpb247XG5leHBvcnQgdmFyIGdjID0gd2luZG93WydnYyddID8gKCkgPT4gd2luZG93WydnYyddKCkgOiAoKSA9PiBudWxsO1xuZXhwb3J0IHZhciBwZXJmb3JtYW5jZSA9IHdpbmRvd1sncGVyZm9ybWFuY2UnXSA/IHdpbmRvd1sncGVyZm9ybWFuY2UnXSA6IG51bGw7XG5leHBvcnQgY29uc3QgRXZlbnQgPSB3aW5kb3dbJ0V2ZW50J107XG5leHBvcnQgY29uc3QgTW91c2VFdmVudCA9IHdpbmRvd1snTW91c2VFdmVudCddO1xuZXhwb3J0IGNvbnN0IEtleWJvYXJkRXZlbnQgPSB3aW5kb3dbJ0tleWJvYXJkRXZlbnQnXTtcbmV4cG9ydCBjb25zdCBFdmVudFRhcmdldCA9IHdpbmRvd1snRXZlbnRUYXJnZXQnXTtcbmV4cG9ydCBjb25zdCBIaXN0b3J5ID0gd2luZG93WydIaXN0b3J5J107XG5leHBvcnQgY29uc3QgTG9jYXRpb24gPSB3aW5kb3dbJ0xvY2F0aW9uJ107XG5leHBvcnQgY29uc3QgRXZlbnRMaXN0ZW5lciA9IHdpbmRvd1snRXZlbnRMaXN0ZW5lciddO1xuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar application_ref_1 = require('angular2/src/core/application_ref');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar browser_1 = require('angular2/src/facade/browser');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar ChangeDetectionPerfRecord = (function () {\r\n function ChangeDetectionPerfRecord(msPerTick, numTicks) {\r\n this.msPerTick = msPerTick;\r\n this.numTicks = numTicks;\r\n }\r\n return ChangeDetectionPerfRecord;\r\n}());\r\nexports.ChangeDetectionPerfRecord = ChangeDetectionPerfRecord;\r\n/**\r\n * Entry point for all Angular debug tools. This object corresponds to the `ng`\r\n * global variable accessible in the dev console.\r\n */\r\nvar AngularTools = (function () {\r\n function AngularTools(ref) {\r\n this.profiler = new AngularProfiler(ref);\r\n }\r\n return AngularTools;\r\n}());\r\nexports.AngularTools = AngularTools;\r\n/**\r\n * Entry point for all Angular profiling-related debug tools. This object\r\n * corresponds to the `ng.profiler` in the dev console.\r\n */\r\nvar AngularProfiler = (function () {\r\n function AngularProfiler(ref) {\r\n this.appRef = ref.injector.get(application_ref_1.ApplicationRef);\r\n }\r\n /**\r\n * Exercises change detection in a loop and then prints the average amount of\r\n * time in milliseconds how long a single round of change detection takes for\r\n * the current state of the UI. It runs a minimum of 5 rounds for a minimum\r\n * of 500 milliseconds.\r\n *\r\n * Optionally, a user may pass a `config` parameter containing a map of\r\n * options. Supported options are:\r\n *\r\n * `record` (boolean) - causes the profiler to record a CPU profile while\r\n * it exercises the change detector. Example:\r\n *\r\n * ```\r\n * ng.profiler.timeChangeDetection({record: true})\r\n * ```\r\n */\r\n AngularProfiler.prototype.timeChangeDetection = function (config) {\r\n var record = lang_1.isPresent(config) && config['record'];\r\n var profileName = 'Change Detection';\r\n // Profiler is not available in Android browsers, nor in IE 9 without dev tools opened\r\n var isProfilerAvailable = lang_1.isPresent(browser_1.window.console.profile);\r\n if (record && isProfilerAvailable) {\r\n browser_1.window.console.profile(profileName);\r\n }\r\n var start = dom_adapter_1.DOM.performanceNow();\r\n var numTicks = 0;\r\n while (numTicks < 5 || (dom_adapter_1.DOM.performanceNow() - start) < 500) {\r\n this.appRef.tick();\r\n numTicks++;\r\n }\r\n var end = dom_adapter_1.DOM.performanceNow();\r\n if (record && isProfilerAvailable) {\r\n // need to cast to <any> because type checker thinks there's no argument\r\n // while in fact there is:\r\n //\r\n // https://developer.mozilla.org/en-US/docs/Web/API/Console/profileEnd\r\n browser_1.window.console.profileEnd(profileName);\r\n }\r\n var msPerTick = (end - start) / numTicks;\r\n browser_1.window.console.log(\"ran \" + numTicks + \" change detection cycles\");\r\n browser_1.window.console.log(lang_1.NumberWrapper.toFixed(msPerTick, 2) + \" ms per check\");\r\n return new ChangeDetectionPerfRecord(msPerTick, numTicks);\r\n };\r\n return AngularProfiler;\r\n}());\r\nexports.AngularProfiler = AngularProfiler;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uX3Rvb2xzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL3BsYXRmb3JtL2Jyb3dzZXIvdG9vbHMvY29tbW9uX3Rvb2xzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxnQ0FBNkIsbUNBQW1DLENBQUMsQ0FBQTtBQUVqRSxxQkFBdUMsMEJBQTBCLENBQUMsQ0FBQTtBQUNsRSx3QkFBcUIsNkJBQTZCLENBQUMsQ0FBQTtBQUNuRCw0QkFBa0IsdUNBQXVDLENBQUMsQ0FBQTtBQUUxRDtJQUNFLG1DQUFtQixTQUFpQixFQUFTLFFBQWdCO1FBQTFDLGNBQVMsR0FBVCxTQUFTLENBQVE7UUFBUyxhQUFRLEdBQVIsUUFBUSxDQUFRO0lBQUcsQ0FBQztJQUNuRSxnQ0FBQztBQUFELENBQUMsQUFGRCxJQUVDO0FBRlksaUNBQXlCLDRCQUVyQyxDQUFBO0FBRUQ7OztHQUdHO0FBQ0g7SUFHRSxzQkFBWSxHQUFpQjtRQUFJLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxlQUFlLENBQUMsR0FBRyxDQUFDLENBQUM7SUFBQyxDQUFDO0lBQzlFLG1CQUFDO0FBQUQsQ0FBQyxBQUpELElBSUM7QUFKWSxvQkFBWSxlQUl4QixDQUFBO0FBRUQ7OztHQUdHO0FBQ0g7SUFHRSx5QkFBWSxHQUFpQjtRQUFJLElBQUksQ0FBQyxNQUFNLEdBQUcsR0FBRyxDQUFDLFFBQVEsQ0FBQyxHQU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VyVGljaywgbnVtVGlja3MpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar common_tools_1 = require('./common_tools');\r\nvar context = lang_1.global;\r\n/**\r\n * Enabled Angular 2 debug tools that are accessible via your browser's\r\n * developer console.\r\n *\r\n * Usage:\r\n *\r\n * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)\r\n * 1. Type `ng.` (usually the console will show auto-complete suggestion)\r\n * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`\r\n * then hit Enter.\r\n */\r\nfunction enableDebugTools(ref) {\r\n context.ng = new common_tools_1.AngularTools(ref);\r\n}\r\nexports.enableDebugTools = enableDebugTools;\r\n/**\r\n * Disables Angular 2 tools.\r\n */\r\nfunction disableDebugTools() {\r\n delete context.ng;\r\n}\r\nexports.disableDebugTools = disableDebugTools;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvcGxhdGZvcm0vYnJvd3Nlci90b29scy90b29scy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQXFCLDBCQUEwQixDQUFDLENBQUE7QUFFaEQsNkJBQTJCLGdCQUFnQixDQUFDLENBQUE7QUFFNUMsSUFBSSxPQUFPLEdBQVEsYUFBTSxDQUFDO0FBRTFCOzs7Ozs7Ozs7O0dBVUc7QUFDSCwwQkFBaUMsR0FBaUI7SUFDaEQsT0FBTyxDQUFDLEVBQUUsR0FBRyxJQUFJLDJCQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDckMsQ0FBQztBQUZlLHdCQUFnQixtQkFFL0IsQ0FBQTtBQUVEOztHQUVHO0FBQ0g7SUF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W5jdGlvbiBkaXNhYmxlRGVidWdUb29scygpOiB2b2lkIHtcbiAgZGVsZXRlIGNvbnRleHQubmc7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar ng_zone_1 = require('angular2/src/core/zone/ng_zone');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nexports.EVENT_MANAGER_PLUGINS = lang_1.CONST_EXPR(new di_1.OpaqueToken(\"EventManagerPlugins\"));\r\nvar EventManager = (function () {\r\n function EventManager(plugins, _zone) {\r\n var _this = this;\r\n this._zone = _zone;\r\n plugins.forEach(function (p) { return p.manager = _this; });\r\n this._plugins = collection_1.ListWrapper.reversed(plugins);\r\n }\r\n EventManager.prototype.addEventListener = function (element, eventName, handler) {\r\n var plugin = this._findPluginFor(eventName);\r\n return plugin.addEventListener(element, eventName, handler);\r\n };\r\n EventManager.prototype.addGlobalEventListener = function (target, eventName, handler) {\r\n var plugin = this._findPluginFor(eventName);\r\n return plugin.addGlobalEventListener(target, eventName, handler);\r\n };\r\n EventManager.prototype.getZone = function () { return this._zone; };\r\n /** @internal */\r\n EventManager.prototype._findPluginFor = function (eventName) {\r\n var plugins = this._plugins;\r\n for (var i = 0; i < plugins.length; i++) {\r\n var plugin = plugins[i];\r\n if (plugin.supports(eventName)) {\r\n return plugin;\r\n }\r\n }\r\n throw new exceptions_1.BaseException(\"No event manager plugin found for event \" + eventName);\r\n };\r\n EventManager = __decorate([\r\n di_1.Injectable(),\r\n __param(0, di_1.Inject(exports.EVENT_MANAGER_PLUGINS)), \r\n __metadata('design:paramtypes', [Array, ng_zone_1.NgZone])\r\n ], EventManager);\r\n return EventManager;\r\n}());\r\nexports.EventManager = EventManager;\r\nvar EventManagerPlugin = (function () {\r\n function EventManagerPlugin() {\r\n }\r\n // That is equivalent to having supporting $event.target\r\n EventManagerPlugin.prototype.supports = function (eventName) { return false; };\r\n EventManagerPlugin.prototype.addEventListener = function (element, eventName, handler) {\r\n throw \"not implemented\";\r\n };\r\n EventManagerPlugin.prototype.addGlobalEventListener = function (element, eventName, handler) {\r\n throw \"not implemented\";\r\n };\r\n return EventManagerPlugin;\r\n}());\r\nexports.EventManagerPlugin = EventManagerPlugin;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnRfbWFuYWdlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9wbGF0Zm9ybS9kb20vZXZlbnRzL2V2ZW50X21hbmFnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBLHFCQUF5QiwwQkFBMEIsQ0FBQyxDQUFBO0FBQ3BELDJCQUE4QyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBQy9FLG1CQUE4QyxzQkFBc0IsQ0FBQyxDQUFBO0FBQ3JFLHdC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YE5vIGV2ZW50IG1hbmFnZXIgcGx1Z2luIGZvdW5kIGZvciBldmVudCAke2V2ZW50TmFtZX1gKTtcbiAgfVxufVxuXG5leHBvcnQgY2xhc3MgRXZlbnRNYW5hZ2VyUGx1Z2luIHtcbiAgbWFuYWdlcjogRXZlbnRNYW5hZ2VyO1xuXG4gIC8vIFRoYXQgaXMgZXF1aXZhbGVudCB0byBoYXZpbmcgc3VwcG9ydGluZyAkZXZlbnQudGFyZ2V0XG4gIHN1cHBvcnRzKGV2ZW50TmFtZTogc3RyaW5nKTogYm9vbGVhbiB7IHJldHVybiBmYWxzZTsgfVxuXG4gIGFkZEV2ZW50TGlzdGVuZXIoZWxlbWVudDogSFRNTEVsZW1lbnQsIGV2ZW50TmFtZTogc3RyaW5nLCBoYW5kbGVyOiBGdW5jdGlvbik6IEZ1bmN0aW9uIHtcbiAgICB0aHJvdyBcIm5vdCBpbXBsZW1lbnRlZFwiO1xuICB9XG5cbiAgYWRkR2xvYmFsRXZlbnRMaXN0ZW5lcihlbGVtZW50OiBzdHJpbmcsIGV2ZW50TmFtZTogc3RyaW5nLCBoYW5kbGVyOiBGdW5jdGlvbik6IEZ1bmN0aW9uIHtcbiAgICB0aHJvdyBcIm5vdCBpbXBsZW1lbnRlZFwiO1xuICB9XG59Il19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar event_manager_1 = require('./event_manager');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar _eventNames = {\r\n // pan\r\n 'pan': true,\r\n 'panstart': true,\r\n 'panmove': true,\r\n 'panend': true,\r\n 'pancancel': true,\r\n 'panleft': true,\r\n 'panright': true,\r\n 'panup': true,\r\n 'pandown': true,\r\n // pinch\r\n 'pinch': true,\r\n 'pinchstart': true,\r\n 'pinchmove': true,\r\n 'pinchend': true,\r\n 'pinchcancel': true,\r\n 'pinchin': true,\r\n 'pinchout': true,\r\n // press\r\n 'press': true,\r\n 'pressup': true,\r\n // rotate\r\n 'rotate': true,\r\n 'rotatestart': true,\r\n 'rotatemove': true,\r\n 'rotateend': true,\r\n 'rotatecancel': true,\r\n // swipe\r\n 'swipe': true,\r\n 'swipeleft': true,\r\n 'swiperight': true,\r\n 'swipeup': true,\r\n 'swipedown': true,\r\n // tap\r\n 'tap': true,\r\n};\r\nvar HammerGesturesPluginCommon = (function (_super) {\r\n __extends(HammerGesturesPluginCommon, _super);\r\n function HammerGesturesPluginCommon() {\r\n _super.call(this);\r\n }\r\n HammerGesturesPluginCommon.prototype.supports = function (eventName) {\r\n eventName = eventName.toLowerCase();\r\n return collection_1.StringMapWrapper.contains(_eventNames, eventName);\r\n };\r\n return HammerGesturesPluginCommon;\r\n}(event_manager_1.EventManagerPlugin));\r\nexports.HammerGesturesPluginCommon = HammerGesturesPluginCommon;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFtbWVyX2NvbW1vbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9wbGF0Zm9ybS9kb20vZXZlbnRzL2hhbW1lcl9jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsOEJBQWlDLGlCQUFpQixDQUFDLENBQUE7QUFDbkQsMkJBQStCLGdDQUFnQyxDQUFDLENBQUE7QUFFaEUsSUFBSSxXQUFXLEdBQUc7SUFDaEIsTUFBTTtJQUNOLEtBQUssRUFBRSxJQUFJO0lBQ1gsVUFBVSxFQUFFLElBQUk7SUFDaEIsU0FBUyxFQUFFLElBQUk7SUFDZixRQUFRLEVBQUUsSUFBST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gICdzd2lwZXJpZ2h0JzogdHJ1ZSxcbiAgJ3N3aXBldXAnOiB0cnVlLFxuICAnc3dpcGVkb3duJzogdHJ1ZSxcbiAgLy8gdGFwXG4gICd0YXAnOiB0cnVlLFxufTtcblxuXG5leHBvcnQgY2xhc3MgSGFtbWVyR2VzdHVyZXNQbHVnaW5Db21tb24gZXh0ZW5kcyBFdmVudE1hbmFnZXJQbHVnaW4ge1xuICBjb25zdHJ1Y3RvcigpIHsgc3VwZXIoKTsgfVxuXG4gIHN1cHBvcnRzKGV2ZW50TmFtZTogc3RyaW5nKTogYm9vbGVhbiB7XG4gICAgZXZlbnROYW1lID0gZXZlbnROYW1lLnRvTG93ZXJDYXNlKCk7XG4gICAgcmV0dXJuIFN0cmluZ01hcFdyYXBwZXIuY29udGFpbnMoX2V2ZW50TmFtZXMsIGV2ZW50TmFtZSk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar hammer_common_1 = require('./hammer_common');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar core_1 = require('angular2/core');\r\nexports.HAMMER_GESTURE_CONFIG = lang_1.CONST_EXPR(new core_1.OpaqueToken(\"HammerGestureConfig\"));\r\nvar HammerGestureConfig = (function () {\r\n function HammerGestureConfig() {\r\n this.events = [];\r\n this.overrides = {};\r\n }\r\n HammerGestureConfig.prototype.buildHammer = function (element) {\r\n var mc = new Hammer(element);\r\n mc.get('pinch').set({ enable: true });\r\n mc.get('rotate').set({ enable: true });\r\n for (var eventName in this.overrides) {\r\n mc.get(eventName).set(this.overrides[eventName]);\r\n }\r\n return mc;\r\n };\r\n HammerGestureConfig = __decorate([\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], HammerGestureConfig);\r\n return HammerGestureConfig;\r\n}());\r\nexports.HammerGestureConfig = HammerGestureConfig;\r\nvar HammerGesturesPlugin = (function (_super) {\r\n __extends(HammerGesturesPlugin, _super);\r\n function HammerGesturesPlugin(_config) {\r\n _super.call(this);\r\n this._config = _config;\r\n }\r\n HammerGesturesPlugin.prototype.supports = function (eventName) {\r\n if (!_super.prototype.supports.call(this, eventName) && !this.isCustomEvent(eventName))\r\n return false;\r\n if (!lang_1.isPresent(window['Hammer'])) {\r\n throw new exceptions_1.BaseException(\"Hammer.js is not loaded, can not bind \" + eventName + \" event\");\r\n }\r\n return true;\r\n };\r\n HammerGesturesPlugin.prototype.addEventListener = function (element, eventName, handler) {\r\n var _this = this;\r\n var zone = this.manager.getZone();\r\n eventName = eventName.toLowerCase();\r\n return zone.runOutsideAngular(function () {\r\n // Creating the manager bind events, must be done outside of angular\r\n var mc = _this._config.buildHammer(element);\r\n var callback = function (eventObj) { zone.runGuarded(function () { handler(eventObj); }); };\r\n mc.on(eventName, callback);\r\n return function () { mc.off(eventName, callback); };\r\n });\r\n };\r\n HammerGesturesPlugin.prototype.isCustomEvent = function (eventName) { return this._config.events.indexOf(eventName) > -1; };\r\n HammerGesturesPlugin = __decorate([\r\n core_1.Injectable(),\r\n __param(0, core_1.Inject(exports.HAMMER_GESTURE_CONFIG)), \r\n __metadata('design:paramtypes', [HammerGestureConfig])\r\n ], HammerGesturesPlugin);\r\n return HammerGesturesPlugin;\r\n}(hammer_common_1.HammerGesturesPluginCommon));\r\nexports.HammerGesturesPlugin = HammerGesturesPlugin;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFtbWVyX2dlc3R1cmVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL3BsYXRmb3JtL2RvbS9ldmVudHMvaGFtbWVyX2dlc3R1cmVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDhCQUF5QyxpQkFBaUIsQ0FBQyxDQUFBO0FBQzNELHFCQUFvQywwQkFBMEIsQ0FBQyxDQUFBO0FBQy9ELDJCQUE4QyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBQy9FLHFCQUE4QyxlQUFlLENBQUMsQ0FBQTtBQUVqRCw2QkFBcUIsR0FDOUIsaUJBQVUsQ0FBQyxJQUFJLGtCQUFXLENBQUMscUJBQXFCLENBQUMsQ0FBQyxDQUFDO0FBUXZEO0lBQUE7UUFDRSxXQUFNLEdBQWEsRUFBRSxDQUFDO1FBRXRCLGNBQVMsR0FBNEIsRUFBRSxDQUFDO0lBYzFDLENBQUM7SUFaQyx5Q0FBVyxHQUFYLFVBQVksT0FBb0I7UUFDOUIsSUFBSSxFQUFFLEdBQUcsSUFBSSxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUM7UUFFN0IsRUFBRSxDQUFDLEdBQUcsQ0FBQyxPQUFP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CwgZXZlbnROYW1lOiBzdHJpbmcsIGhhbmRsZXI6IEZ1bmN0aW9uKTogRnVuY3Rpb24ge1xuICAgIHZhciB6b25lID0gdGhpcy5tYW5hZ2VyLmdldFpvbmUoKTtcbiAgICBldmVudE5hbWUgPSBldmVudE5hbWUudG9Mb3dlckNhc2UoKTtcblxuICAgIHJldHVybiB6b25lLnJ1bk91dHNpZGVBbmd1bGFyKCgpID0+IHtcbiAgICAgIC8vIENyZWF0aW5nIHRoZSBtYW5hZ2VyIGJpbmQgZXZlbnRzLCBtdXN0IGJlIGRvbmUgb3V0c2lkZSBvZiBhbmd1bGFyXG4gICAgICB2YXIgbWMgPSB0aGlzLl9jb25maWcuYnVpbGRIYW1tZXIoZWxlbWVudCk7XG4gICAgICB2YXIgY2FsbGJhY2sgPSBmdW5jdGlvbihldmVudE9iaikgeyB6b25lLnJ1bkd1YXJkZWQoZnVuY3Rpb24oKSB7IGhhbmRsZXIoZXZlbnRPYmopOyB9KTsgfTtcbiAgICAgIG1jLm9uKGV2ZW50TmFtZSwgY2FsbGJhY2spO1xuICAgICAgcmV0dXJuICgpID0+IHsgbWMub2ZmKGV2ZW50TmFtZSwgY2FsbGJhY2spOyB9O1xuICAgIH0pO1xuICB9XG5cbiAgaXNDdXN0b21FdmVudChldmVudE5hbWU6IHN0cmluZyk6IGJvb2xlYW4geyByZXR1cm4gdGhpcy5fY29uZmlnLmV2ZW50cy5pbmRleE9mKGV2ZW50TmFtZSkgPiAtMTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar xhr_1 = require('angular2/src/compiler/xhr');\r\nvar core_1 = require(\"angular2/core\");\r\nvar common_1 = require(\"angular2/common\");\r\nvar testability_1 = require('angular2/src/core/testability/testability');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar dom_events_1 = require('angular2/src/platform/dom/events/dom_events');\r\nvar key_events_1 = require('angular2/src/platform/dom/events/key_events');\r\nvar dom_tokens_1 = require('angular2/src/platform/dom/dom_tokens');\r\nvar dom_renderer_1 = require('angular2/src/platform/dom/dom_renderer');\r\nvar shared_styles_host_1 = require('angular2/src/platform/dom/shared_styles_host');\r\nvar browser_details_1 = require(\"angular2/src/animate/browser_details\");\r\nvar animation_builder_1 = require(\"angular2/src/animate/animation_builder\");\r\nvar browser_adapter_1 = require('./browser/browser_adapter');\r\nvar testability_2 = require('angular2/src/platform/browser/testability');\r\nvar xhr_cache_1 = require('angular2/src/platform/browser/xhr_cache');\r\nvar wtf_init_1 = require('angular2/src/core/profile/wtf_init');\r\nvar event_manager_1 = require(\"angular2/src/platform/dom/events/event_manager\");\r\nvar hammer_gestures_1 = require('angular2/src/platform/dom/events/hammer_gestures');\r\nvar common_dom_1 = require('angular2/platform/common_dom');\r\nvar dom_tokens_2 = require('angular2/src/platform/dom/dom_tokens');\r\nexports.DOCUMENT = dom_tokens_2.DOCUMENT;\r\nvar title_1 = require('angular2/src/platform/browser/title');\r\nexports.Title = title_1.Title;\r\nvar common_dom_2 = require('angular2/platform/common_dom');\r\nexports.ELEMENT_PROBE_PROVIDERS = common_dom_2.ELEMENT_PROBE_PROVIDERS;\r\nexports.ELEMENT_PROBE_PROVIDERS_PROD_MODE = common_dom_2.ELEMENT_PROBE_PROVIDERS_PROD_MODE;\r\nexports.inspectNativeElement = common_dom_2.inspectNativeElement;\r\nexports.By = common_dom_2.By;\r\nvar browser_adapter_2 = require('./browser/browser_adapter');\r\nexports.BrowserDomAdapter = browser_adapter_2.BrowserDomAdapter;\r\nvar tools_1 = require('angular2/src/platform/browser/tools/tools');\r\nexports.enableDebugTools = tools_1.enableDebugTools;\r\nexports.disableDebugTools = tools_1.disableDebugTools;\r\nvar hammer_gestures_2 = require('./dom/events/hammer_gestures');\r\nexports.HAMMER_GESTURE_CONFIG = hammer_gestures_2.HAMMER_GESTURE_CONFIG;\r\nexports.HammerGestureConfig = hammer_gestures_2.HammerGestureConfig;\r\nexports.BROWSER_PLATFORM_MARKER = lang_1.CONST_EXPR(new di_1.OpaqueToken('BrowserPlatformMarker'));\r\n/**\r\n * A set of providers to initialize the Angular platform in a web browser.\r\n *\r\n * Used automatically by `bootstrap`, or can be passed to {@link platform}.\r\n */\r\nexports.BROWSER_PROVIDERS = lang_1.CONST_EXPR([\r\n new di_1.Provider(exports.BROWSER_PLATFORM_MARKER, { useValue: true }),\r\n core_1.PLATFORM_COMMON_PROVIDERS,\r\n new di_1.Provider(core_1.PLATFORM_INITIALIZER, { useValue: initDomAdapter, multi: true }),\r\n]);\r\nfunction _exceptionHandler() {\r\n // !IS_DART is required because we must rethrow exceptions in JS,\r\n // but must not rethrow exceptions in Dart\r\n return new core_1.ExceptionHandler(dom_adapter_1.DOM, !lang_1.IS_DART);\r\n}\r\nfunction _document() {\r\n return dom_adapter_1.DOM.defaultDoc();\r\n}\r\n/**\r\n * A set of providers to initialize an Angular application in a web browser.\r\n *\r\n * Used automatically by `bootstrap`, or can be passed to {@link PlatformRef.application}.\r\n */\r\nexports.BROWSER_APP_COMMON_PROVIDERS = lang_1.CONST_EXPR([\r\n core_1.APPLICATION_COMMON_PROVIDERS,\r\n common_1.FORM_PROVIDERS,\r\n new di_1.Provider(core_1.PLATFORM_PIPES, { useValue: common_1.COMMON_PIPES, multi: true }),\r\n new di_1.Provider(core_1.PLATFORM_DIRECTIVES, { useValue: common_1.COMMON_DIRECTIVES, multi: true }),\r\n new di_1.Provider(core_1.ExceptionHandler, { useFactory: _exceptionHandler, deps: [] }),\r\n new di_1.Provider(dom_tokens_1.DOCUMENT, { useFactory: _document, deps: [] }),\r\n new di_1.Provider(event_manager_1.EVENT_MANAGER_PLUGINS, { useClass: dom_events_1.DomEventsPlugin, multi: true }),\r\n new di_1.Provider(event_manager_1.EVENT_MANAGER_PLUGINS, { useClass: key_events_1.KeyEventsPlugin, multi: true }),\r\n new di_1.Provider(event_manager_1.EVENT_MANAGER_PLUGINS, { useClass: hammer_gestures_1.HammerGesturesPlugin, multi: true }),\r\n new di_1.Provider(hammer_gestures_1.HAMMER_GESTURE_CONFIG, { useClass: hammer_gestures_1.HammerGestureConfig }),\r\n new di_1.Provider(dom_renderer_1.DomRootRenderer, { useClass: dom_renderer_1.DomRootRenderer_ }),\r\n new di_1.Provider(core_1.RootRenderer, { useExisting: dom_renderer_1.DomRootRenderer }),\r\n new di_1.Provider(shared_styles_host_1.SharedStylesHost, { useExisting: shared_styles_host_1.DomSharedStylesHost }),\r\n shared_styles_host_1.DomSharedStylesHost,\r\n testability_1.Testability,\r\n browser_details_1.BrowserDetails,\r\n animation_builder_1.AnimationBuilder,\r\n event_manager_1.EventManager,\r\n common_dom_1.ELEMENT_PROBE_PROVIDERS\r\n]);\r\nexports.CACHED_TEMPLATE_PROVIDER = lang_1.CONST_EXPR([new di_1.Provider(xhr_1.XHR, { useClass: xhr_cache_1.CachedXHR })]);\r\nfunction initDomAdapter() {\r\n browser_adapter_1.BrowserDomAdapter.makeCurrent();\r\n wtf_init_1.wtfInit();\r\n testability_2.BrowserGetTestability.init();\r\n}\r\nexports.initDomAdapter = initDomAdapter;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJvd3Nlcl9jb21tb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvcGxhdGZvcm0vYnJvd3Nlcl9jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHFCQUFrQywwQkFBMEIsQ0FBQyxDQUFBO0FBQzdELG1CQUF1RCxzQkFBc0IsQ0FBQyxDQUFBO0FBQzlFLG9CQUFrQiwyQkFBMkIsQ0FBQyxDQUFBO0FBQzlDLHFCQVdPLGVBQWUsQ0FBQyxDQUFBO0FBQ3ZCLHVCQUE4RCx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JlbnQoKTtcbiAgd3RmSW5pdCgpO1xuICBCcm93c2VyR2V0VGVzdGFiaWxpdHkuaW5pdCgpO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar compile_metadata_1 = require('./compile_metadata');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar o = require('./output/output_ast');\r\nvar component_factory_1 = require('angular2/src/core/linker/component_factory');\r\nvar util_1 = require('./util');\r\nvar _COMPONENT_FACTORY_IDENTIFIER = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'ComponentFactory',\r\n runtime: component_factory_1.ComponentFactory,\r\n moduleUrl: \"asset:angular2/lib/src/core/linker/component_factory\" + util_1.MODULE_SUFFIX\r\n});\r\nvar SourceModule = (function () {\r\n function SourceModule(moduleUrl, source) {\r\n this.moduleUrl = moduleUrl;\r\n this.source = source;\r\n }\r\n return SourceModule;\r\n}());\r\nexports.SourceModule = SourceModule;\r\nvar NormalizedComponentWithViewDirectives = (function () {\r\n function NormalizedComponentWithViewDirectives(component, directives, pipes) {\r\n this.component = component;\r\n this.directives = directives;\r\n this.pipes = pipes;\r\n }\r\n return NormalizedComponentWithViewDirectives;\r\n}());\r\nexports.NormalizedComponentWithViewDirectives = NormalizedComponentWithViewDirectives;\r\nvar OfflineCompiler = (function () {\r\n function OfflineCompiler(_directiveNormalizer, _templateParser, _styleCompiler, _viewCompiler, _outputEmitter) {\r\n this._directiveNormalizer = _directiveNormalizer;\r\n this._templateParser = _templateParser;\r\n this._styleCompiler = _styleCompiler;\r\n this._viewCompiler = _viewCompiler;\r\n this._outputEmitter = _outputEmitter;\r\n }\r\n OfflineCompiler.prototype.normalizeDirectiveMetadata = function (directive) {\r\n return this._directiveNormalizer.normalizeDirective(directive);\r\n };\r\n OfflineCompiler.prototype.compileTemplates = function (components) {\r\n var _this = this;\r\n if (components.length === 0) {\r\n throw new exceptions_1.BaseException('No components given');\r\n }\r\n var statements = [];\r\n var exportedVars = [];\r\n var moduleUrl = _templateModuleUrl(components[0].component);\r\n components.forEach(function (componentWithDirs) {\r\n var compMeta = componentWithDirs.component;\r\n _assertComponent(compMeta);\r\n var compViewFactoryVar = _this._compileComponent(compMeta, componentWithDirs.directives, componentWithDirs.pipes, statements);\r\n exportedVars.push(compViewFactoryVar);\r\n var hostMeta = compile_metadata_1.createHostComponentMeta(compMeta.type, compMeta.selector);\r\n var hostViewFactoryVar = _this._compileComponent(hostMeta, [compMeta], [], statements);\r\n var compFactoryVar = compMeta.type.name + \"NgFactory\";\r\n statements.push(o.variable(compFactoryVar)\r\n .set(o.importExpr(_COMPONENT_FACTORY_IDENTIFIER)\r\n .instantiate([\r\n o.literal(compMeta.selector),\r\n o.variable(hostViewFactoryVar),\r\n o.importExpr(compMeta.type)\r\n ], o.importType(_COMPONENT_FACTORY_IDENTIFIER, null, [o.TypeModifier.Const])))\r\n .toDeclStmt(null, [o.StmtModifier.Final]));\r\n exportedVars.push(compFactoryVar);\r\n });\r\n return this._codegenSourceModule(moduleUrl, statements, exportedVars);\r\n };\r\n OfflineCompiler.prototype.compileStylesheet = function (stylesheetUrl, cssText) {\r\n var plainStyles = this._styleCompiler.compileStylesheet(stylesheetUrl, cssText, false);\r\n var shimStyles = this._styleCompiler.compileStylesheet(stylesheetUrl, cssText, true);\r\n return [\r\n this._codegenSourceModule(_stylesModuleUrl(stylesheetUrl, false), _resolveStyleStatements(plainStyles), [plainStyles.stylesVar]),\r\n this._codegenSourceModule(_stylesModuleUrl(stylesheetUrl, true), _resolveStyleStatements(shimStyles), [shimStyles.stylesVar])\r\n ];\r\n };\r\n OfflineCompiler.prototype._compileComponent = function (compMeta, directives, pipes, targetStatements) {\r\n var styleResult = this._styleCompiler.compileComponent(compMeta);\r\n var parsedTemplate = this._templateParser.parse(compMeta, compMeta.template.template, directives, pipes, compMeta.type.name);\r\n var viewResult = this._viewCompiler.compileComponent(compMeta, parsedTemplate, o.variable(styleResult.stylesVar), pipes);\r\n collection_1.ListWrapper.addAll(targetStatements, _resolveStyleStatements(styleResult));\r\n collection_1.ListWrapper.addAll(targetStatements, _resolveViewStatements(viewResult));\r\n return viewResult.viewFactoryVar;\r\n };\r\n OfflineCompiler.prototype._codegenSourceModule = function (moduleUrl, statements, exportedVars) {\r\n return new SourceModule(moduleUrl, this._outputEmitter.emitStatements(moduleUrl, statements, exportedVars));\r\n };\r\n return OfflineCompiler;\r\n}());\r\nexports.OfflineCompiler = OfflineCompiler;\r\nfunction _resolveViewStatements(compileResult) {\r\n compileResult.dependencies.forEach(function (dep) { dep.factoryPlaceholder.moduleUrl = _templateModuleUrl(dep.comp); });\r\n return compileResult.statements;\r\n}\r\nfunction _resolveStyleStatements(compileResult) {\r\n compileResult.dependencies.forEach(function (dep) {\r\n dep.valuePlaceholder.moduleUrl = _stylesModuleUrl(dep.sourceUrl, dep.isShimmed);\r\n });\r\n return compileResult.statements;\r\n}\r\nfunction _templateModuleUrl(comp) {\r\n var moduleUrl = comp.type.moduleUrl;\r\n var urlWithoutSuffix = moduleUrl.substring(0, moduleUrl.length - util_1.MODULE_SUFFIX.length);\r\n return urlWithoutSuffix + \".ngfactory\" + util_1.MODULE_SUFFIX;\r\n}\r\nfunction _stylesModuleUrl(stylesheetUrl, shim) {\r\n return shim ? stylesheetUrl + \".shim\" + util_1.MODULE_SUFFIX : \"\" + stylesheetUrl + util_1.MODULE_SUFFIX;\r\n}\r\nfunction _assertComponent(meta) {\r\n if (!meta.isComponent) {\r\n throw new exceptions_1.BaseException(\"Could not compile '\" + meta.type.name + \"' because it is not a component.\");\r\n }\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2ZmbGluZV9jb21waWxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci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cnMucGlwZXMsIHN0YXRlbWVudHMpO1xuICAgICAgZXhwb3J0ZWRWYXJzLnB1c2goY29tcFZpZXdGYWN0b3J5VmFyKTtcblxuICAgICAgdmFyIGhvc3RNZXRhID0gY3JlYXRlSG9zdENvbXBvbmVudE1ldGEoY29tcE1ldGEudHlwZSwgY29tcE1ldGEuc2VsZWN0b3IpO1xuICAgICAgdmFyIGhvc3RWaWV3RmFjdG9yeVZhciA9IHRoaXMuX2NvbXBpbGVDb21wb25lbnQoaG9zdE1ldGEsIFtjb21wTWV0YV0sIFtdLCBzdGF0ZW1lbnRzKTtcbiAgICAgIHZhciBjb21wRmFjdG9yeVZhciA9IGAke2NvbXBNZXRhLnR5cGUubmFtZX1OZ0ZhY3RvcnlgO1xuICAgICAgc3RhdGVtZW50cy5wdXNoKG8udmFyaWFibGUoY29tcEZhY3RvcnlWYXIpXG4gICAgICAgICAgICAgICAgICAgICAgICAgIC5zZXQoby5pbXBvcnRFeHByKF9DT01QT05FTlRfRkFDVE9SWV9JREVOVElGSUVSKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuaW5zdGFudGlhdGUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG8ubGl0ZXJhbChjb21wTWV0YS5zZWxlY3RvciksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG8udmFyaWFibGUoaG9zdFZpZXdGYWN0b3J5VmFyKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgby5pbXBvcnRFeHByKGNvbXBNZXRhLnR5cGUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgby5pbXBvcnRUeXBlKF9DT01QT05FTlRfRkFDVE9SWV9JREVOVElGSUVSLCBudWxsLFxuICAg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ZHVsZVVybCA9IF9zdHlsZXNNb2R1bGVVcmwoZGVwLnNvdXJjZVVybCwgZGVwLmlzU2hpbW1lZCk7XG4gIH0pO1xuICByZXR1cm4gY29tcGlsZVJlc3VsdC5zdGF0ZW1lbnRzO1xufVxuXG5mdW5jdGlvbiBfdGVtcGxhdGVNb2R1bGVVcmwoY29tcDogQ29tcGlsZURpcmVjdGl2ZU1ldGFkYXRhKTogc3RyaW5nIHtcbiAgdmFyIG1vZHVsZVVybCA9IGNvbXAudHlwZS5tb2R1bGVVcmw7XG4gIHZhciB1cmxXaXRob3V0U3VmZml4ID0gbW9kdWxlVXJsLnN1YnN0cmluZygwLCBtb2R1bGVVcmwubGVuZ3RoIC0gTU9EVUxFX1NVRkZJWC5sZW5ndGgpO1xuICByZXR1cm4gYCR7dXJsV2l0aG91dFN1ZmZpeH0ubmdmYWN0b3J5JHtNT0RVTEVfU1VGRklYfWA7XG59XG5cbmZ1bmN0aW9uIF9zdHlsZXNNb2R1bGVVcmwoc3R5bGVzaGVldFVybDogc3RyaW5nLCBzaGltOiBib29sZWFuKTogc3RyaW5nIHtcbiAgcmV0dXJuIHNoaW0gPyBgJHtzdHlsZXNoZWV0VXJsfS5zaGltJHtNT0RVTEVfU1VGRklYfWAgOiBgJHtzdHlsZXNoZWV0VXJsfSR7TU9EVUxFX1NVRkZJWH1gO1xufVxuXG5mdW5jdGlvbiBfYXNzZXJ0Q29tcG9uZW50KG1ldGE6IENvbXBpbGVEaXJlY3RpdmVNZXRhZGF0YSkge1xuICBpZiAoIW1ldGEuaXNDb21wb25lbnQpIHtcbiAgICB0aHJvdyBuZXcgQmFzZUV4Y2VwdGlvbihgQ291bGQgbm90IGNvbXBpbGUgJyR7bWV0YS50eXBlLm5hbWV9JyBiZWNhdXNlIGl0IGlzIG5vdCBhIGNvbXBvbmVudC5gKTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\r\n *\r\n * Please make sure to keep to edits in sync with the source file.\r\n *\r\n * Source:\r\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\r\n *\r\n * The original file level comment is reproduced below\r\n */\r\n/*\r\n This is a limited shim for ShadowDOM css styling.\r\n https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles\r\n\r\n The intention here is to support only the styling features which can be\r\n relatively simply implemented. The goal is to allow users to avoid the\r\n most obvious pitfalls and do so without compromising performance significantly.\r\n For ShadowDOM styling that's not covered here, a set of best practices\r\n can be provided that should allow users to accomplish more complex styling.\r\n\r\n The following is a list of specific ShadowDOM styling features and a brief\r\n discussion of the approach used to shim.\r\n\r\n Shimmed features:\r\n\r\n * :host, :host-context: ShadowDOM allows styling of the shadowRoot's host\r\n element using the :host rule. To shim this feature, the :host styles are\r\n reformatted and prefixed with a given scope name and promoted to a\r\n document level stylesheet.\r\n For example, given a scope name of .foo, a rule like this:\r\n\r\n :host {\r\n background: red;\r\n }\r\n }\r\n\r\n becomes:\r\n\r\n .foo {\r\n background: red;\r\n }\r\n\r\n * encapsultion: Styles defined within ShadowDOM, apply only to\r\n dom inside the ShadowDOM. Polymer uses one of two techniques to implement\r\n this feature.\r\n\r\n By default, rules are prefixed with the host element tag name\r\n as a descendant selector. This ensures styling does not leak out of the 'top'\r\n of the element's ShadowDOM. For example,\r\n\r\n div {\r\n font-weight: bold;\r\n }\r\n\r\n becomes:\r\n\r\n x-foo div {\r\n font-weight: bold;\r\n }\r\n\r\n becomes:\r\n\r\n\r\n Alternatively, if WebComponents.ShadowCSS.strictStyling is set to true then\r\n selectors are scoped by adding an attribute selector suffix to each\r\n simple selector that contains the host element tag name. Each element\r\n in the element's ShadowDOM template is also given the scope attribute.\r\n Thus, these rules match only elements that have the scope attribute.\r\n For example, given a scope name of x-foo, a rule like this:\r\n\r\n div {\r\n font-weight: bold;\r\n }\r\n\r\n becomes:\r\n\r\n div[x-foo] {\r\n font-weight: bold;\r\n }\r\n\r\n Note that elements that are dynamically added to a scope must have the scope\r\n selector added to them manually.\r\n\r\n * upper/lower bound encapsulation: Styles which are defined outside a\r\n shadowRoot should not cross the ShadowDOM boundary and should not apply\r\n inside a shadowRoot.\r\n\r\n This styling behavior is not emulated. Some possible ways to do this that\r\n were rejected due to complexity and/or performance concerns include: (1) reset\r\n every possible property for every possible selector for a given scope name;\r\n (2) re-implement css in javascript.\r\n\r\n As an alternative, users should make sure to use selectors\r\n specific to the scope in which they are working.\r\n\r\n * ::distributed: This behavior is not emulated. It's often not necessary\r\n to style the contents of a specific insertion point and instead, descendants\r\n of the host element can be styled selectively. Users can also create an\r\n extra node around an insertion point and style that node's contents\r\n via descendent selectors. For example, with a shadowRoot like this:\r\n\r\n <style>\r\n ::content(div) {\r\n background: red;\r\n }\r\n </style>\r\n <content></content>\r\n\r\n could become:\r\n\r\n <style>\r\n / *@polyfill .content-container div * /\r\n ::content(div) {\r\n background: red;\r\n }\r\n </style>\r\n <div class=\"content-container\">\r\n <content></content>\r\n </div>\r\n\r\n Note the use of @polyfill in the comment above a ShadowDOM specific style\r\n declaration. This is a directive to the styling shim to use the selector\r\n in comments in lieu of the next selector when running under polyfill.\r\n*/\r\nvar ShadowCss = (function () {\r\n function ShadowCss() {\r\n this.strictStyling = true;\r\n }\r\n /*\r\n * Shim some cssText with the given selector. Returns cssText that can\r\n * be included in the document via WebComponents.ShadowCSS.addCssToDocument(css).\r\n *\r\n * When strictStyling is true:\r\n * - selector is the attribute added to all elements inside the host,\r\n * - hostSelector is the attribute added to the host itself.\r\n */\r\n ShadowCss.prototype.shimCssText = function (cssText, selector, hostSelector) {\r\n if (hostSelector === void 0) { hostSelector = ''; }\r\n cssText = stripComments(cssText);\r\n cssText = this._insertDirectives(cssText);\r\n return this._scopeCssText(cssText, selector, hostSelector);\r\n };\r\n ShadowCss.prototype._insertDirectives = function (cssText) {\r\n cssText = this._insertPolyfillDirectivesInCssText(cssText);\r\n return this._insertPolyfillRulesInCssText(cssText);\r\n };\r\n /*\r\n * Process styles to convert native ShadowDOM rules that will trip\r\n * up the css parser; we rely on decorating the stylesheet with inert rules.\r\n *\r\n * For example, we convert this rule:\r\n *\r\n * polyfill-next-selector { content: ':host menu-item'; }\r\n * ::content menu-item {\r\n *\r\n * to this:\r\n *\r\n * scopeName menu-item {\r\n *\r\n **/\r\n ShadowCss.prototype._insertPolyfillDirectivesInCssText = function (cssText) {\r\n // Difference with webcomponents.js: does not handle comments\r\n return lang_1.StringWrapper.replaceAllMapped(cssText, _cssContentNextSelectorRe, function (m) { return m[1] + '{'; });\r\n };\r\n /*\r\n * Process styles to add rules which will only apply under the polyfill\r\n *\r\n * For example, we convert this rule:\r\n *\r\n * polyfill-rule {\r\n * content: ':host menu-item';\r\n * ...\r\n * }\r\n *\r\n * to this:\r\n *\r\n * scopeName menu-item {...}\r\n *\r\n **/\r\n ShadowCss.prototype._insertPolyfillRulesInCssText = function (cssText) {\r\n // Difference with webcomponents.js: does not handle comments\r\n return lang_1.StringWrapper.replaceAllMapped(cssText, _cssContentRuleRe, function (m) {\r\n var rule = m[0];\r\n rule = lang_1.StringWrapper.replace(rule, m[1], '');\r\n rule = lang_1.StringWrapper.replace(rule, m[2], '');\r\n return m[3] + rule;\r\n });\r\n };\r\n /* Ensure styles are scoped. Pseudo-scoping takes a rule like:\r\n *\r\n * .foo {... }\r\n *\r\n * and converts this to\r\n *\r\n * scopeName .foo { ... }\r\n */\r\n ShadowCss.prototype._scopeCssText = function (cssText, scopeSelector, hostSelector) {\r\n var unscoped = this._extractUnscopedRulesFromCssText(cssText);\r\n cssText = this._insertPolyfillHostInCssText(cssText);\r\n cssText = this._convertColonHost(cssText);\r\n cssText = this._convertColonHostContext(cssText);\r\n cssText = this._convertShadowDOMSelectors(cssText);\r\n if (lang_1.isPresent(scopeSelector)) {\r\n cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);\r\n }\r\n cssText = cssText + '\\n' + unscoped;\r\n return cssText.trim();\r\n };\r\n /*\r\n * Process styles to add rules which will only apply under the polyfill\r\n * and do not process via CSSOM. (CSSOM is destructive to rules on rare\r\n * occasions, e.g. -webkit-calc on Safari.)\r\n * For example, we convert this rule:\r\n *\r\n * @polyfill-unscoped-rule {\r\n * content: 'menu-item';\r\n * ... }\r\n *\r\n * to this:\r\n *\r\n * menu-item {...}\r\n *\r\n **/\r\n ShadowCss.prototype._extractUnscopedRulesFromCssText = function (cssText) {\r\n // Difference with webcomponents.js: does not handle comments\r\n var r = '', m;\r\n var matcher = lang_1.RegExpWrapper.matcher(_cssContentUnscopedRuleRe, cssText);\r\n while (lang_1.isPresent(m = lang_1.RegExpMatcherWrapper.next(matcher))) {\r\n var rule = m[0];\r\n rule = lang_1.StringWrapper.replace(rule, m[2], '');\r\n rule = lang_1.StringWrapper.replace(rule, m[1], m[3]);\r\n r += rule + '\\n\\n';\r\n }\r\n return r;\r\n };\r\n /*\r\n * convert a rule like :host(.foo) > .bar { }\r\n *\r\n * to\r\n *\r\n * scopeName.foo > .bar\r\n */\r\n ShadowCss.prototype._convertColonHost = function (cssText) {\r\n return this._convertColonRule(cssText, _cssColonHostRe, this._colonHostPartReplacer);\r\n };\r\n /*\r\n * convert a rule like :host-context(.foo) > .bar { }\r\n *\r\n * to\r\n *\r\n * scopeName.foo > .bar, .foo scopeName > .bar { }\r\n *\r\n * and\r\n *\r\n * :host-context(.foo:host) .bar { ... }\r\n *\r\n * to\r\n *\r\n * scopeName.foo .bar { ... }\r\n */\r\n ShadowCss.prototype._convertColonHostContext = function (cssText) {\r\n return this._convertColonRule(cssText, _cssColonHostContextRe, this._colonHostContextPartReplacer);\r\n };\r\n ShadowCss.prototype._convertColonRule = function (cssText, regExp, partReplacer) {\r\n // p1 = :host, p2 = contents of (), p3 rest of rule\r\n return lang_1.StringWrapper.replaceAllMapped(cssText, regExp, function (m) {\r\n if (lang_1.isPresent(m[2])) {\r\n var parts = m[2].split(','), r = [];\r\n for (var i = 0; i < parts.length; i++) {\r\n var p = parts[i];\r\n if (lang_1.isBlank(p))\r\n break;\r\n p = p.trim();\r\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\r\n }\r\n return r.join(',');\r\n }\r\n else {\r\n return _polyfillHostNoCombinator + m[3];\r\n }\r\n });\r\n };\r\n ShadowCss.prototype._colonHostContextPartReplacer = function (host, part, suffix) {\r\n if (lang_1.StringWrapper.contains(part, _polyfillHost)) {\r\n return this._colonHostPartReplacer(host, part, suffix);\r\n }\r\n else {\r\n return host + part + suffix + ', ' + part + ' ' + host + suffix;\r\n }\r\n };\r\n ShadowCss.prototype._colonHostPartReplacer = function (host, part, suffix) {\r\n return host + lang_1.StringWrapper.replace(part, _polyfillHost, '') + suffix;\r\n };\r\n /*\r\n * Convert combinators like ::shadow and pseudo-elements like ::content\r\n * by replacing with space.\r\n */\r\n ShadowCss.prototype._convertShadowDOMSelectors = function (cssText) {\r\n for (var i = 0; i < _shadowDOMSelectorsRe.length; i++) {\r\n cssText = lang_1.StringWrapper.replaceAll(cssText, _shadowDOMSelectorsRe[i], ' ');\r\n }\r\n return cssText;\r\n };\r\n // change a selector like 'div' to 'name div'\r\n ShadowCss.prototype._scopeSelectors = function (cssText, scopeSelector, hostSelector) {\r\n var _this = this;\r\n return processRules(cssText, function (rule) {\r\n var selector = rule.selector;\r\n var content = rule.content;\r\n if (rule.selector[0] != '@' || rule.selector.startsWith('@page')) {\r\n selector =\r\n _this._scopeSelector(rule.selector, scopeSelector, hostSelector, _this.strictStyling);\r\n }\r\n else if (rule.selector.startsWith('@media')) {\r\n content = _this._scopeSelectors(rule.content, scopeSelector, hostSelector);\r\n }\r\n return new CssRule(selector, content);\r\n });\r\n };\r\n ShadowCss.prototype._scopeSelector = function (selector, scopeSelector, hostSelector, strict) {\r\n var r = [], parts = selector.split(',');\r\n for (var i = 0; i < parts.length; i++) {\r\n var p = parts[i].trim();\r\n var deepParts = lang_1.StringWrapper.split(p, _shadowDeepSelectors);\r\n var shallowPart = deepParts[0];\r\n if (this._selectorNeedsScoping(shallowPart, scopeSelector)) {\r\n deepParts[0] = strict && !lang_1.StringWrapper.contains(shallowPart, _polyfillHostNoCombinator) ?\r\n this._applyStrictSelectorScope(shallowPart, scopeSelector) :\r\n this._applySelectorScope(shallowPart, scopeSelector, hostSelector);\r\n }\r\n // replace /deep/ with a space for child selectors\r\n r.push(deepParts.join(' '));\r\n }\r\n return r.join(', ');\r\n };\r\n ShadowCss.prototype._selectorNeedsScoping = function (selector, scopeSelector) {\r\n var re = this._makeScopeMatcher(scopeSelector);\r\n return !lang_1.isPresent(lang_1.RegExpWrapper.firstMatch(re, selector));\r\n };\r\n ShadowCss.prototype._makeScopeMatcher = function (scopeSelector) {\r\n var lre = /\\[/g;\r\n var rre = /\\]/g;\r\n scopeSelector = lang_1.StringWrapper.replaceAll(scopeSelector, lre, '\\\\[');\r\n scopeSelector = lang_1.StringWrapper.replaceAll(scopeSelector, rre, '\\\\]');\r\n return lang_1.RegExpWrapper.create('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\r\n };\r\n ShadowCss.prototype._applySelectorScope = function (selector, scopeSelector, hostSelector) {\r\n // Difference from webcomponentsjs: scopeSelector could not be an array\r\n return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);\r\n };\r\n // scope via name and [is=name]\r\n ShadowCss.prototype._applySimpleSelectorScope = function (selector, scopeSelector, hostSelector) {\r\n if (lang_1.isPresent(lang_1.RegExpWrapper.firstMatch(_polyfillHostRe, selector))) {\r\n var replaceBy = this.strictStyling ? \"[\" + hostSelector + \"]\" : scopeSelector;\r\n selector = lang_1.StringWrapper.replace(selector, _polyfillHostNoCombinator, replaceBy);\r\n return lang_1.StringWrapper.replaceAll(selector, _polyfillHostRe, replaceBy + ' ');\r\n }\r\n else {\r\n return scopeSelector + ' ' + selector;\r\n }\r\n };\r\n // return a selector with [name] suffix on each simple selector\r\n // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name] /** @internal */\r\n ShadowCss.prototype._applyStrictSelectorScope = function (selector, scopeSelector) {\r\n var isRe = /\\[is=([^\\]]*)\\]/g;\r\n scopeSelector = lang_1.StringWrapper.replaceAllMapped(scopeSelector, isRe, function (m) { return m[1]; });\r\n var splits = [' ', '>', '+', '~'], scoped = selector, attrName = '[' + scopeSelector + ']';\r\n for (var i = 0; i < splits.length; i++) {\r\n var sep = splits[i];\r\n var parts = scoped.split(sep);\r\n scoped = parts.map(function (p) {\r\n // remove :host since it should be unnecessary\r\n var t = lang_1.StringWrapper.replaceAll(p.trim(), _polyfillHostRe, '');\r\n if (t.length > 0 && !collection_1.ListWrapper.contains(splits, t) &&\r\n !lang_1.StringWrapper.contains(t, attrName)) {\r\n var re = /([^:]*)(:*)(.*)/g;\r\n var m = lang_1.RegExpWrapper.firstMatch(re, t);\r\n if (lang_1.isPresent(m)) {\r\n p = m[1] + attrName + m[2] + m[3];\r\n }\r\n }\r\n return p;\r\n })\r\n .join(sep);\r\n }\r\n return scoped;\r\n };\r\n ShadowCss.prototype._insertPolyfillHostInCssText = function (selector) {\r\n selector = lang_1.StringWrapper.replaceAll(selector, _colonHostContextRe, _polyfillHostContext);\r\n selector = lang_1.StringWrapper.replaceAll(selector, _colonHostRe, _polyfillHost);\r\n return selector;\r\n };\r\n return ShadowCss;\r\n}());\r\nexports.ShadowCss = ShadowCss;\r\nvar _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\\s]*?['\"](.*?)['\"][;\\s]*}([^{]*?){/gim;\r\nvar _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\\s]*['\"](.*?)['\"])[;\\s]*[^}]*}/gim;\r\nvar _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\\s]*['\"](.*?)['\"])[;\\s]*[^}]*}/gim;\r\nvar _polyfillHost = '-shadowcsshost';\r\n// note: :host-context pre-processed to -shadowcsshostcontext.\r\nvar _polyfillHostContext = '-shadowcsscontext';\r\nvar _parenSuffix = ')(?:\\\\((' +\r\n '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' +\r\n ')\\\\))?([^,{]*)';\r\nvar _cssColonHostRe = lang_1.RegExpWrapper.create('(' + _polyfillHost + _parenSuffix, 'im');\r\nvar _cssColonHostContextRe = lang_1.RegExpWrapper.create('(' + _polyfillHostContext + _parenSuffix, 'im');\r\nvar _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\r\nvar _shadowDOMSelectorsRe = [\r\n /::shadow/g,\r\n /::content/g,\r\n // Deprecated selectors\r\n // TODO(vicb): see https://github.com/angular/clang-format/issues/16\r\n // clang-format off\r\n /\\/shadow-deep\\//g,\r\n /\\/shadow\\//g,\r\n];\r\nvar _shadowDeepSelectors = /(?:>>>)|(?:\\/deep\\/)/g;\r\nvar _selectorReSuffix = '([>\\\\s~+\\[.,{:][\\\\s\\\\S]*)?$';\r\nvar _polyfillHostRe = lang_1.RegExpWrapper.create(_polyfillHost, 'im');\r\nvar _colonHostRe = /:host/gim;\r\nvar _colonHostContextRe = /:host-context/gim;\r\nvar _commentRe = /\\/\\*[\\s\\S]*?\\*\\//g;\r\nfunction stripComments(input) {\r\n return lang_1.StringWrapper.replaceAllMapped(input, _commentRe, function (_) { return ''; });\r\n}\r\nvar _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\r\nvar _curlyRe = /([{}])/g;\r\nvar OPEN_CURLY = '{';\r\nvar CLOSE_CURLY = '}';\r\nvar BLOCK_PLACEHOLDER = '%BLOCK%';\r\nvar CssRule = (function () {\r\n function CssRule(selector, content) {\r\n this.selector = selector;\r\n this.content = content;\r\n }\r\n return CssRule;\r\n}());\r\nexports.CssRule = CssRule;\r\nfunction processRules(input, ruleCallback) {\r\n var inputWithEscapedBlocks = escapeBlocks(input);\r\n var nextBlockIndex = 0;\r\n return lang_1.StringWrapper.replaceAllMapped(inputWithEscapedBlocks.escapedString, _ruleRe, function (m) {\r\n var selector = m[2];\r\n var content = '';\r\n var suffix = m[4];\r\n var contentPrefix = '';\r\n if (lang_1.isPresent(m[4]) && m[4].startsWith('{' + BLOCK_PLACEHOLDER)) {\r\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\r\n suffix = m[4].substring(BLOCK_PLACEHOLDER.length + 1);\r\n contentPrefix = '{';\r\n }\r\n var rule = ruleCallback(new CssRule(selector, content));\r\n return \"\" + m[1] + rule.selector + m[3] + contentPrefix + rule.content + suffix;\r\n });\r\n}\r\nexports.processRules = processRules;\r\nvar StringWithEscapedBlocks = (function () {\r\n function StringWithEscapedBlocks(escapedString, blocks) {\r\n this.escapedString = escapedString;\r\n this.blocks = blocks;\r\n }\r\n return StringWithEscapedBlocks;\r\n}());\r\nfunction escapeBlocks(input) {\r\n var inputParts = lang_1.StringWrapper.split(input, _curlyRe);\r\n var resultParts = [];\r\n var escapedBlocks = [];\r\n var bracketCount = 0;\r\n var currentBlockParts = [];\r\n for (var partIndex = 0; partIndex < inputParts.length; partIndex++) {\r\n var part = inputParts[partIndex];\r\n if (part == CLOSE_CURLY) {\r\n bracketCount--;\r\n }\r\n if (bracketCount > 0) {\r\n currentBlockParts.push(part);\r\n }\r\n else {\r\n if (currentBlockParts.length > 0) {\r\n escapedBlocks.push(currentBlockParts.join(''));\r\n resultParts.push(BLOCK_PLACEHOLDER);\r\n currentBlockParts = [];\r\n }\r\n resultParts.push(part);\r\n }\r\n if (part == OPEN_CURLY) {\r\n bracketCount++;\r\n }\r\n }\r\n if (currentBlockParts.length > 0) {\r\n escapedBlocks.push(currentBlockParts.join(''));\r\n resultParts.push(BLOCK_PLACEHOLDER);\r\n }\r\n return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhZG93X2Nzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm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W5uZWNlc3NhcnlcbiAgICAgICAgICAgICAgICAgICAgICB2YXIgdCA9IFN0cmluZ1dyYXBwZXIucmVwbGFjZUFsbChwLnRyaW0oKSwgX3BvbHlmaWxsSG9zdFJlLCAnJyk7XG4gICAgICAgICAgICAgICAgICAgICAgaWYgKHQubGVuZ3RoID4gMCAmJiAhTGlzdFdyYXBwZXIuY29udGFpbnMoc3BsaXRzLCB0KSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAhU3RyaW5nV3JhcHBlci5jb250YWlucyh0LCBhdHRyTmFtZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhciByZSA9IC8oW146XSopKDoqKSguKikvZztcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBtID0gUmVnRXhwV3JhcHBlci5maXJzdE1hdGNoKHJlLCB0KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpc1ByZXNlbnQobSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgcCA9IG1bMV0gKyBhdHRyTmFtZSArIG1bMl0gKyBtWzNdO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gcDtcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAuam9pbihzZXApO1xuICAgIH1cbiAgICByZXR1cm4gc2NvcGVkO1xuICB9XG5cbiAgcHJpdmF0ZSBfaW5zZXJ0UG9seWZpbGxIb3N0SW5Dc3NUZXh0KHNlbGVjdG9yOiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIHNlbGVjdG9yID0gU3RyaW5nV3JhcHBlci5yZXBsYWNlQWxsKHNlbGVjdG9yLCBfY29sb25Ib3N0Q29udGV4dFJlLCBfcG9seWZpbGxIb3N0Q29udGV4dCk7XG4gICAgc2VsZWN0b3IgPSBTdHJpbmdXcmFwcGVyLnJlcGxhY2VBbGwoc2VsZWN0b3IsIF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ja1BhcnRzLnB1c2gocGFydCk7XG4gICAgfSBlbHNlIHtcbiAgICAgIGlmIChjdXJyZW50QmxvY2tQYXJ0cy5sZW5ndGggPiAwKSB7XG4gICAgICAgIGVzY2FwZWRCbG9ja3MucHVzaChjdXJyZW50QmxvY2tQYXJ0cy5qb2luKCcnKSk7XG4gICAgICAgIHJlc3VsdFBhcnRzLnB1c2goQkxPQ0tfUExBQ0VIT0xERVIpO1xuICAgICAgICBjdXJyZW50QmxvY2tQYXJ0cyA9IFtdO1xuICAgICAgfVxuICAgICAgcmVzdWx0UGFydHMucHVzaChwYXJ0KTtcbiAgICB9XG4gICAgaWYgKHBhcnQgPT0gT1BFTl9DVVJMWSkge1xuICAgICAgYnJhY2tldENvdW50Kys7XG4gICAgfVxuICB9XG4gIGlmIChjdXJyZW50QmxvY2tQYXJ0cy5sZW5ndGggPiAwKSB7XG4gICAgZXNjYXBlZEJsb2Nrcy5wdXNoKGN1cnJlbnRCbG9ja1BhcnRzLmpvaW4oJycpKTtcbiAgICByZXN1bHRQYXJ0cy5wdXNoKEJMT0NLX1BMQUNFSE9MREVSKTtcbiAgfVxuICByZXR1cm4gbmV3IFN0cmluZ1dpdGhFc2NhcGVkQmxvY2tzKHJlc3VsdFBhcnRzLmpvaW4oJycpLCBlc2NhcGVkQmxvY2tzKTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar compile_metadata_1 = require('./compile_metadata');\r\nvar o = require('./output/output_ast');\r\nvar view_1 = require('angular2/src/core/metadata/view');\r\nvar shadow_css_1 = require('angular2/src/compiler/shadow_css');\r\nvar url_resolver_1 = require('angular2/src/compiler/url_resolver');\r\nvar style_url_resolver_1 = require('./style_url_resolver');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar COMPONENT_VARIABLE = '%COMP%';\r\nvar HOST_ATTR = \"_nghost-\" + COMPONENT_VARIABLE;\r\nvar CONTENT_ATTR = \"_ngcontent-\" + COMPONENT_VARIABLE;\r\nvar StylesCompileDependency = (function () {\r\n function StylesCompileDependency(sourceUrl, isShimmed, valuePlaceholder) {\r\n this.sourceUrl = sourceUrl;\r\n this.isShimmed = isShimmed;\r\n this.valuePlaceholder = valuePlaceholder;\r\n }\r\n return StylesCompileDependency;\r\n}());\r\nexports.StylesCompileDependency = StylesCompileDependency;\r\nvar StylesCompileResult = (function () {\r\n function StylesCompileResult(statements, stylesVar, dependencies) {\r\n this.statements = statements;\r\n this.stylesVar = stylesVar;\r\n this.dependencies = dependencies;\r\n }\r\n return StylesCompileResult;\r\n}());\r\nexports.StylesCompileResult = StylesCompileResult;\r\nvar StyleCompiler = (function () {\r\n function StyleCompiler(_urlResolver) {\r\n this._urlResolver = _urlResolver;\r\n this._shadowCss = new shadow_css_1.ShadowCss();\r\n }\r\n StyleCompiler.prototype.compileComponent = function (comp) {\r\n var shim = comp.template.encapsulation === view_1.ViewEncapsulation.Emulated;\r\n return this._compileStyles(getStylesVarName(comp), comp.template.styles, comp.template.styleUrls, shim);\r\n };\r\n StyleCompiler.prototype.compileStylesheet = function (stylesheetUrl, cssText, isShimmed) {\r\n var styleWithImports = style_url_resolver_1.extractStyleUrls(this._urlResolver, stylesheetUrl, cssText);\r\n return this._compileStyles(getStylesVarName(null), [styleWithImports.style], styleWithImports.styleUrls, isShimmed);\r\n };\r\n StyleCompiler.prototype._compileStyles = function (stylesVar, plainStyles, absUrls, shim) {\r\n var _this = this;\r\n var styleExpressions = plainStyles.map(function (plainStyle) { return o.literal(_this._shimIfNeeded(plainStyle, shim)); });\r\n var dependencies = [];\r\n for (var i = 0; i < absUrls.length; i++) {\r\n var identifier = new compile_metadata_1.CompileIdentifierMetadata({ name: getStylesVarName(null) });\r\n dependencies.push(new StylesCompileDependency(absUrls[i], shim, identifier));\r\n styleExpressions.push(new o.ExternalExpr(identifier));\r\n }\r\n // styles variable contains plain strings and arrays of other styles arrays (recursive),\r\n // so we set its type to dynamic.\r\n var stmt = o.variable(stylesVar)\r\n .set(o.literalArr(styleExpressions, new o.ArrayType(o.DYNAMIC_TYPE, [o.TypeModifier.Const])))\r\n .toDeclStmt(null, [o.StmtModifier.Final]);\r\n return new StylesCompileResult([stmt], stylesVar, dependencies);\r\n };\r\n StyleCompiler.prototype._shimIfNeeded = function (style, shim) {\r\n return shim ? this._shadowCss.shimCssText(style, CONTENT_ATTR, HOST_ATTR) : style;\r\n };\r\n StyleCompiler = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [url_resolver_1.UrlResolver])\r\n ], StyleCompiler);\r\n return StyleCompiler;\r\n}());\r\nexports.StyleCompiler = StyleCompiler;\r\nfunction getStylesVarName(component) {\r\n var result = \"styles\";\r\n if (lang_1.isPresent(component)) {\r\n result += \"_\" + component.type.name;\r\n }\r\n return result;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVfY29tcGlsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvc3R5bGVfY29tcGlsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5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LlR5cGVNb2RpZmllci5Db25zdF0pKSlcbiAgICAgICAgICAgICAgICAgICAudG9EZWNsU3RtdChudWxsLCBbby5TdG10TW9kaWZpZXIuRmluYWxdKTtcbiAgICByZXR1cm4gbmV3IFN0eWxlc0NvbXBpbGVSZXN1bHQoW3N0bXRdLCBzdHlsZXNWYXIsIGRlcGVuZGVuY2llcyk7XG4gIH1cblxuICBwcml2YXRlIF9zaGltSWZOZWVkZWQoc3R5bGU6IHN0cmluZywgc2hpbTogYm9vbGVhbik6IHN0cmluZyB7XG4gICAgcmV0dXJuIHNoaW0gPyB0aGlzLl9zaGFkb3dDc3Muc2hpbUNzc1RleHQoc3R5bGUsIENPTlRFTlRfQVRUUiwgSE9TVF9BVFRSKSA6IHN0eWxlO1xuICB9XG59XG5cbmZ1bmN0aW9uIGdldFN0eWxlc1Zhck5hbWUoY29tcG9uZW50OiBDb21waWxlRGlyZWN0aXZlTWV0YWRhdGEpOiBzdHJpbmcge1xuICB2YXIgcmVzdWx0ID0gYHN0eWxlc2A7XG4gIGlmIChpc1ByZXNlbnQoY29tcG9uZW50KSkge1xuICAgIHJlc3VsdCArPSBgXyR7Y29tcG9uZW50LnR5cGUubmFtZX1gO1xuICB9XG4gIHJldHVybiByZXN1bHQ7XG59Il19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar o = require('../output/output_ast');\r\nvar identifiers_1 = require('../identifiers');\r\nvar util_1 = require('./util');\r\nvar _PurePipeProxy = (function () {\r\n function _PurePipeProxy(instance, argCount) {\r\n this.instance = instance;\r\n this.argCount = argCount;\r\n }\r\n return _PurePipeProxy;\r\n}());\r\nvar CompilePipe = (function () {\r\n function CompilePipe(view, name) {\r\n this.view = view;\r\n this._purePipeProxies = [];\r\n this.meta = _findPipeMeta(view, name);\r\n this.instance = o.THIS_EXPR.prop(\"_pipe_\" + name + \"_\" + view.pipeCount++);\r\n }\r\n Object.defineProperty(CompilePipe.prototype, \"pure\", {\r\n get: function () { return this.meta.pure; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n CompilePipe.prototype.create = function () {\r\n var _this = this;\r\n var deps = this.meta.type.diDeps.map(function (diDep) {\r\n if (diDep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ChangeDetectorRef))) {\r\n return o.THIS_EXPR.prop('ref');\r\n }\r\n return util_1.injectFromViewParentInjector(diDep.token, false);\r\n });\r\n this.view.fields.push(new o.ClassField(this.instance.name, o.importType(this.meta.type), [o.StmtModifier.Private]));\r\n this.view.createMethod.resetDebugInfo(null, null);\r\n this.view.createMethod.addStmt(o.THIS_EXPR.prop(this.instance.name)\r\n .set(o.importExpr(this.meta.type).instantiate(deps))\r\n .toStmt());\r\n this._purePipeProxies.forEach(function (purePipeProxy) {\r\n util_1.createPureProxy(_this.instance.prop('transform').callMethod(o.BuiltinMethod.bind, [_this.instance]), purePipeProxy.argCount, purePipeProxy.instance, _this.view);\r\n });\r\n };\r\n CompilePipe.prototype.call = function (callingView, args) {\r\n if (this.meta.pure) {\r\n var purePipeProxy = new _PurePipeProxy(o.THIS_EXPR.prop(this.instance.name + \"_\" + this._purePipeProxies.length), args.length);\r\n this._purePipeProxies.push(purePipeProxy);\r\n return util_1.getPropertyInView(o.importExpr(identifiers_1.Identifiers.castByValue)\r\n .callFn([purePipeProxy.instance, this.instance.prop('transform')]), callingView, this.view)\r\n .callFn(args);\r\n }\r\n else {\r\n return util_1.getPropertyInView(this.instance, callingView, this.view).callMethod('transform', args);\r\n }\r\n };\r\n return CompilePipe;\r\n}());\r\nexports.CompilePipe = CompilePipe;\r\nfunction _findPipeMeta(view, name) {\r\n var pipeMeta = null;\r\n for (var i = view.pipeMetas.length - 1; i >= 0; i--) {\r\n var localPipeMeta = view.pipeMetas[i];\r\n if (localPipeMeta.name == name) {\r\n pipeMeta = localPipeMeta;\r\n break;\r\n }\r\n }\r\n if (lang_1.isBlank(pipeMeta)) {\r\n throw new exceptions_1.BaseException(\"Illegal state: Could not find pipe \" + name + \" although the parser should have detected this error!\");\r\n }\r\n return pipeMeta;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZV9waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3ZpZXdfY29tcGlsZXIvY29tcGlsZV9waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBaUMsMEJBQTBCLENBQUMsQ0FBQTtBQUM1RCwyQkFBNEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUM3RCxJQUFZLENBQUMsV0FBTSxzQkFBc0IsQ0FBQyxDQUFBO0FBRzFDLDRCQUEyQyxnQkFBZ0IsQ0FBQyxDQUFBO0FBQzVELHFCQUErRSxRQUFRLENBQUMsQ0FBQTtBQUV4RjtJQUNFLHdCQUFtQixRQUF3QixFQUFTLFFBQWdCO1FBQWpELGFBQVEsR0FBUixRQUFRLENBQWdCO1FBQVMsYUFBUSxHQUFSLFFBQVEsQ0FBUTtJQUFHLENBQUM7SUFDMUUscUJBQUM7QUFBRCxDQUFDLEFBRkQsSUFFQztBQUVEO0lBS0UscUJBQW1CLElBQWlCLEVBQUUsSUFBWTtRQUEvQixTQUFJLEdBQUosSUFBSSxDQUFhO1FBRjVCLHFCQUFnQixHQUFxQixFQUFFLENBQUM7UUFHOUMsSUFBSSxDQUFDLElBQUksR0FBRyxhQUFhLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxDQUFDO1FBQ3RDLElBQUksQ0FBQyxRQUFRLEdBQUcsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsV0FBUyxJQUFJLFNBQUksSUFBSSxDQUFDLFNBQVM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59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar o = require('../output/output_ast');\r\nvar constants_1 = require('./constants');\r\nvar compile_query_1 = require('./compile_query');\r\nvar compile_method_1 = require('./compile_method');\r\nvar compile_pipe_1 = require('./compile_pipe');\r\nvar view_type_1 = require('angular2/src/core/linker/view_type');\r\nvar compile_metadata_1 = require('../compile_metadata');\r\nvar util_1 = require('./util');\r\nvar CompileView = (function () {\r\n function CompileView(component, genConfig, pipeMetas, styles, viewIndex, declarationElement, templateVariableBindings) {\r\n var _this = this;\r\n this.component = component;\r\n this.genConfig = genConfig;\r\n this.pipeMetas = pipeMetas;\r\n this.styles = styles;\r\n this.viewIndex = viewIndex;\r\n this.declarationElement = declarationElement;\r\n this.templateVariableBindings = templateVariableBindings;\r\n this.nodes = [];\r\n // root nodes or AppElements for ViewContainers\r\n this.rootNodesOrAppElements = [];\r\n this.bindings = [];\r\n this.classStatements = [];\r\n this.eventHandlerMethods = [];\r\n this.fields = [];\r\n this.getters = [];\r\n this.disposables = [];\r\n this.subscriptions = [];\r\n this.purePipes = new Map();\r\n this.pipes = [];\r\n this.locals = new Map();\r\n this.literalArrayCount = 0;\r\n this.literalMapCount = 0;\r\n this.pipeCount = 0;\r\n this.createMethod = new compile_method_1.CompileMethod(this);\r\n this.injectorGetMethod = new compile_method_1.CompileMethod(this);\r\n this.updateContentQueriesMethod = new compile_method_1.CompileMethod(this);\r\n this.dirtyParentQueriesMethod = new compile_method_1.CompileMethod(this);\r\n this.updateViewQueriesMethod = new compile_method_1.CompileMethod(this);\r\n this.detectChangesInInputsMethod = new compile_method_1.CompileMethod(this);\r\n this.detectChangesRenderPropertiesMethod = new compile_method_1.CompileMethod(this);\r\n this.afterContentLifecycleCallbacksMethod = new compile_method_1.CompileMethod(this);\r\n this.afterViewLifecycleCallbacksMethod = new compile_method_1.CompileMethod(this);\r\n this.destroyMethod = new compile_method_1.CompileMethod(this);\r\n this.viewType = getViewType(component, viewIndex);\r\n this.className = \"_View_\" + component.type.name + viewIndex;\r\n this.classType = o.importType(new compile_metadata_1.CompileIdentifierMetadata({ name: this.className }));\r\n this.viewFactory = o.variable(util_1.getViewFactoryName(component, viewIndex));\r\n if (this.viewType === view_type_1.ViewType.COMPONENT || this.viewType === view_type_1.ViewType.HOST) {\r\n this.componentView = this;\r\n }\r\n else {\r\n this.componentView = this.declarationElement.view.componentView;\r\n }\r\n var viewQueries = new compile_metadata_1.CompileTokenMap();\r\n if (this.viewType === view_type_1.ViewType.COMPONENT) {\r\n var directiveInstance = o.THIS_EXPR.prop('context');\r\n collection_1.ListWrapper.forEachWithIndex(this.component.viewQueries, function (queryMeta, queryIndex) {\r\n var propName = \"_viewQuery_\" + queryMeta.selectors[0].name + \"_\" + queryIndex;\r\n var queryList = compile_query_1.createQueryList(queryMeta, directiveInstance, propName, _this);\r\n var query = new compile_query_1.CompileQuery(queryMeta, queryList, directiveInstance, _this);\r\n compile_query_1.addQueryToTokenMap(viewQueries, query);\r\n });\r\n var constructorViewQueryCount = 0;\r\n this.component.type.diDeps.forEach(function (dep) {\r\n if (lang_1.isPresent(dep.viewQuery)) {\r\n var queryList = o.THIS_EXPR.prop('declarationAppElement')\r\n .prop('componentConstructorViewQueries')\r\n .key(o.literal(constructorViewQueryCount++));\r\n var query = new compile_query_1.CompileQuery(dep.viewQuery, queryList, null, _this);\r\n compile_query_1.addQueryToTokenMap(viewQueries, query);\r\n }\r\n });\r\n }\r\n this.viewQueries = viewQueries;\r\n templateVariableBindings.forEach(function (entry) {\r\n _this.locals.set(entry[1], o.THIS_EXPR.prop('locals').key(o.literal(entry[0])));\r\n });\r\n if (!this.declarationElement.isNull()) {\r\n this.declarationElement.setEmbeddedView(this);\r\n }\r\n }\r\n CompileView.prototype.callPipe = function (name, input, args) {\r\n var compView = this.componentView;\r\n var pipe = compView.purePipes.get(name);\r\n if (lang_1.isBlank(pipe)) {\r\n pipe = new compile_pipe_1.CompilePipe(compView, name);\r\n if (pipe.pure) {\r\n compView.purePipes.set(name, pipe);\r\n }\r\n compView.pipes.push(pipe);\r\n }\r\n return pipe.call(this, [input].concat(args));\r\n };\r\n CompileView.prototype.getLocal = function (name) {\r\n if (name == constants_1.EventHandlerVars.event.name) {\r\n return constants_1.EventHandlerVars.event;\r\n }\r\n var currView = this;\r\n var result = currView.locals.get(name);\r\n while (lang_1.isBlank(result) && lang_1.isPresent(currView.declarationElement.view)) {\r\n currView = currView.declarationElement.view;\r\n result = currView.locals.get(name);\r\n }\r\n if (lang_1.isPresent(result)) {\r\n return util_1.getPropertyInView(result, this, currView);\r\n }\r\n else {\r\n return null;\r\n }\r\n };\r\n CompileView.prototype.createLiteralArray = function (values) {\r\n var proxyExpr = o.THIS_EXPR.prop(\"_arr_\" + this.literalArrayCount++);\r\n var proxyParams = [];\r\n var proxyReturnEntries = [];\r\n for (var i = 0; i < values.length; i++) {\r\n var paramName = \"p\" + i;\r\n proxyParams.push(new o.FnParam(paramName));\r\n proxyReturnEntries.push(o.variable(paramName));\r\n }\r\n util_1.createPureProxy(o.fn(proxyParams, [new o.ReturnStatement(o.literalArr(proxyReturnEntries))]), values.length, proxyExpr, this);\r\n return proxyExpr.callFn(values);\r\n };\r\n CompileView.prototype.createLiteralMap = function (entries) {\r\n var proxyExpr = o.THIS_EXPR.prop(\"_map_\" + this.literalMapCount++);\r\n var proxyParams = [];\r\n var proxyReturnEntries = [];\r\n var values = [];\r\n for (var i = 0; i < entries.length; i++) {\r\n var paramName = \"p\" + i;\r\n proxyParams.push(new o.FnParam(paramName));\r\n proxyReturnEntries.push([entries[i][0], o.variable(paramName)]);\r\n values.push(entries[i][1]);\r\n }\r\n util_1.createPureProxy(o.fn(proxyParams, [new o.ReturnStatement(o.literalMap(proxyReturnEntries))]), entries.length, proxyExpr, this);\r\n return proxyExpr.callFn(values);\r\n };\r\n CompileView.prototype.afterNodes = function () {\r\n var _this = this;\r\n this.pipes.forEach(function (pipe) { return pipe.create(); });\r\n this.viewQueries.values().forEach(function (queries) { return queries.forEach(function (query) { return query.afterChildren(_this.updateViewQueriesMethod); }); });\r\n };\r\n return CompileView;\r\n}());\r\nexports.CompileView = CompileView;\r\nfunction getViewType(component, embeddedTemplateIndex) {\r\n if (embeddedTemplateIndex > 0) {\r\n return view_type_1.ViewType.EMBEDDED;\r\n }\r\n else if (component.type.isHost) {\r\n return view_type_1.ViewType.HOST;\r\n }\r\n else {\r\n return view_type_1.ViewType.COMPONENT;\r\n }\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZV92aWV3LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3ZpZXdfY29tcGlsZXIvY29tcGlsZV92aWV3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBaUMsMEJBQTBCLENBQUMsQ0FBQTtBQUM1RCwyQkFBd0QsZ0NBQWdDLENBQUMsQ0FBQTtBQUV6RixJQUFZLENBQUMsV0FBTSxzQkFBc0IsQ0FBQyxDQUFBO0FBQzFDLDBCQUErQixhQUFhLENBQUMsQ0FBQTtBQUM3Qyw4QkFBZ0UsaUJBQWlCLENBQUMsQ0FBQTtBQUdsRiwrQkFBNEIsa0JBQWtCLENBQUMsQ0FBQTtBQUMvQyw2QkFBMEIsZ0JBQWdCLENBQUMsQ0FBQTtBQUMzQywwQkFBdUIsb0NBQW9DLENBQUMsQ0FBQTtBQUM1RCxpQ0FLTyxxQkFBcUIsQ0FBQyxDQUFBO0FBQzdCLHFCQU1PLFFBQVEsQ0FBQyxDQUFBO0FBSWhCO0lBd0NFLHFCQUFtQixTQUFtQyxFQUFTLFNBQXlCLEVBQ3JFLFNBQWdDLEVBQ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HJpZXMpKV0pLFxuICAgICAgICAgICAgICAgICAgICBlbnRyaWVzLmxlbmd0aCwgcHJveHlFeHByLCB0aGlzKTtcbiAgICByZXR1cm4gcHJveHlFeHByLmNhbGxGbih2YWx1ZXMpO1xuICB9XG5cbiAgYWZ0ZXJOb2RlcygpIHtcbiAgICB0aGlzLnBpcGVzLmZvckVhY2goKHBpcGUpID0+IHBpcGUuY3JlYXRlKCkpO1xuICAgIHRoaXMudmlld1F1ZXJpZXMudmFsdWVzKCkuZm9yRWFjaChcbiAgICAgICAgKHF1ZXJpZXMpID0+IHF1ZXJpZXMuZm9yRWFjaCgocXVlcnkpID0+IHF1ZXJ5LmFmdGVyQ2hpbGRyZW4odGhpcy51cGRhdGVWaWV3UXVlcmllc01ldGhvZCkpKTtcbiAgfVxufVxuXG5mdW5jdGlvbiBnZXRWaWV3VHlwZShjb21wb25lbnQ6IENvbXBpbGVEaXJlY3RpdmVNZXRhZGF0YSwgZW1iZWRkZWRUZW1wbGF0ZUluZGV4OiBudW1iZXIpOiBWaWV3VHlwZSB7XG4gIGlmIChlbWJlZGRlZFRlbXBsYXRlSW5kZXggPiAwKSB7XG4gICAgcmV0dXJuIFZpZXdUeXBlLkVNQkVEREVEO1xuICB9IGVsc2UgaWYgKGNvbXBvbmVudC50eXBlLmlzSG9zdCkge1xuICAgIHJldHVybiBWaWV3VHlwZS5IT1NUO1xuICB9IGVsc2Uge1xuICAgIHJldHVybiBWaWV3VHlwZS5DT01QT05FTlQ7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar o = require('../output/output_ast');\r\nvar identifiers_1 = require('../identifiers');\r\nvar util_1 = require('./util');\r\nvar ViewQueryValues = (function () {\r\n function ViewQueryValues(view, values) {\r\n this.view = view;\r\n this.values = values;\r\n }\r\n return ViewQueryValues;\r\n}());\r\nvar CompileQuery = (function () {\r\n function CompileQuery(meta, queryList, ownerDirectiveExpression, view) {\r\n this.meta = meta;\r\n this.queryList = queryList;\r\n this.ownerDirectiveExpression = ownerDirectiveExpression;\r\n this.view = view;\r\n this._values = new ViewQueryValues(view, []);\r\n }\r\n CompileQuery.prototype.addValue = function (value, view) {\r\n var currentView = view;\r\n var elPath = [];\r\n while (lang_1.isPresent(currentView) && currentView !== this.view) {\r\n var parentEl = currentView.declarationElement;\r\n elPath.unshift(parentEl);\r\n currentView = parentEl.view;\r\n }\r\n var queryListForDirtyExpr = util_1.getPropertyInView(this.queryList, view, this.view);\r\n var viewValues = this._values;\r\n elPath.forEach(function (el) {\r\n var last = viewValues.values.length > 0 ? viewValues.values[viewValues.values.length - 1] : null;\r\n if (last instanceof ViewQueryValues && last.view === el.embeddedView) {\r\n viewValues = last;\r\n }\r\n else {\r\n var newViewValues = new ViewQueryValues(el.embeddedView, []);\r\n viewValues.values.push(newViewValues);\r\n viewValues = newViewValues;\r\n }\r\n });\r\n viewValues.values.push(value);\r\n if (elPath.length > 0) {\r\n view.dirtyParentQueriesMethod.addStmt(queryListForDirtyExpr.callMethod('setDirty', []).toStmt());\r\n }\r\n };\r\n CompileQuery.prototype.afterChildren = function (targetMethod) {\r\n var values = createQueryValues(this._values);\r\n var updateStmts = [this.queryList.callMethod('reset', [o.literalArr(values)]).toStmt()];\r\n if (lang_1.isPresent(this.ownerDirectiveExpression)) {\r\n var valueExpr = this.meta.first ? this.queryList.prop('first') : this.queryList;\r\n updateStmts.push(this.ownerDirectiveExpression.prop(this.meta.propertyName).set(valueExpr).toStmt());\r\n }\r\n if (!this.meta.first) {\r\n updateStmts.push(this.queryList.callMethod('notifyOnChanges', []).toStmt());\r\n }\r\n targetMethod.addStmt(new o.IfStmt(this.queryList.prop('dirty'), updateStmts));\r\n };\r\n return CompileQuery;\r\n}());\r\nexports.CompileQuery = CompileQuery;\r\nfunction createQueryValues(viewValues) {\r\n return collection_1.ListWrapper.flatten(viewValues.values.map(function (entry) {\r\n if (entry instanceof ViewQueryValues) {\r\n return mapNestedViews(entry.view.declarationElement.appElement, entry.view, createQueryValues(entry));\r\n }\r\n else {\r\n return entry;\r\n }\r\n }));\r\n}\r\nfunction mapNestedViews(declarationAppElement, view, expressions) {\r\n var adjustedExpressions = expressions.map(function (expr) {\r\n return o.replaceVarInExpression(o.THIS_EXPR.name, o.variable('nestedView'), expr);\r\n });\r\n return declarationAppElement.callMethod('mapNestedViews', [\r\n o.variable(view.className),\r\n o.fn([new o.FnParam('nestedView', view.classType)], [new o.ReturnStatement(o.literalArr(adjustedExpressions))])\r\n ]);\r\n}\r\nfunction createQueryList(query, directiveInstance, propertyName, compileView) {\r\n compileView.fields.push(new o.ClassField(propertyName, o.importType(identifiers_1.Identifiers.QueryList), [o.StmtModifier.Private]));\r\n var expr = o.THIS_EXPR.prop(propertyName);\r\n compileView.createMethod.addStmt(o.THIS_EXPR.prop(propertyName)\r\n .set(o.importExpr(identifiers_1.Identifiers.QueryList).instantiate([]))\r\n .toStmt());\r\n return expr;\r\n}\r\nexports.createQueryList = createQueryList;\r\nfunction addQueryToTokenMap(map, query) {\r\n query.meta.selectors.forEach(function (selector) {\r\n var entry = map.get(selector);\r\n if (lang_1.isBlank(entry)) {\r\n entry = [];\r\n map.add(selector, entry);\r\n }\r\n entry.push(query);\r\n });\r\n}\r\nexports.addQueryToTokenMap = addQueryToTokenMap;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZV9xdWVyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci92aWV3X2NvbXBpbGVyL2NvbXBpbGVfcXVlcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHFCQUFpQywwQkFBMEIsQ0FBQyxDQUFBO0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ZXcnLCB2aWV3LmNsYXNzVHlwZSldLFxuICAgICAgICAgW25ldyBvLlJldHVyblN0YXRlbWVudChvLmxpdGVyYWxBcnIoYWRqdXN0ZWRFeHByZXNzaW9ucykpXSlcbiAgXSk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVRdWVyeUxpc3QocXVlcnk6IENvbXBpbGVRdWVyeU1ldGFkYXRhLCBkaXJlY3RpdmVJbnN0YW5jZTogby5FeHByZXNzaW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcm9wZXJ0eU5hbWU6IHN0cmluZywgY29tcGlsZVZpZXc6IENvbXBpbGVWaWV3KTogby5FeHByZXNzaW9uIHtcbiAgY29tcGlsZVZpZXcuZmllbGRzLnB1c2gobmV3IG8uQ2xhc3NGaWVsZChwcm9wZXJ0eU5hbWUsIG8uaW1wb3J0VHlwZShJZGVudGlmaWVycy5RdWVyeUxpc3QpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtvLlN0bXRNb2RpZmllci5Qcml2YXRlXSkpO1xuICB2YXIgZXhwciA9IG8uVEhJU19FWFBSLnByb3AocHJvcGVydHlOYW1lKTtcbiAgY29tcGlsZVZpZXcuY3JlYXRlTWV0aG9kLmFkZFN0bXQoby5USElTX0VYUFIucHJvcChwcm9wZXJ0eU5hbWUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuc2V0KG8uaW1wb3J0RXhwcihJZGVudGlmaWVycy5RdWVyeUxpc3QpLmluc3RhbnRpYXRlKFtdKSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC50b1N0bXQoKSk7XG4gIHJldHVybiBleHByO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gYWRkUXVlcnlUb1Rva2VuTWFwKG1hcDogQ29tcGlsZVRva2VuTWFwPENvbXBpbGVRdWVyeVtdPiwgcXVlcnk6IENvbXBpbGVRdWVyeSkge1xuICBxdWVyeS5tZXRhLnNlbGVjdG9ycy5mb3JFYWNoKChzZWxlY3RvcikgPT4ge1xuICAgIHZhciBlbnRyeSA9IG1hcC5nZXQoc2VsZWN0b3IpO1xuICAgIGlmIChpc0JsYW5rKGVudHJ5KSkge1xuICAgICAgZW50cnkgPSBbXTtcbiAgICAgIG1hcC5hZGQoc2VsZWN0b3IsIGVudHJ5KTtcbiAgICB9XG4gICAgZW50cnkucHVzaChxdWVyeSk7XG4gIH0pO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar o = require('../output/output_ast');\r\nvar identifiers_1 = require('../identifiers');\r\nvar constants_1 = require('./constants');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar template_ast_1 = require('../template_ast');\r\nvar compile_metadata_1 = require('../compile_metadata');\r\nvar util_1 = require('./util');\r\nvar compile_query_1 = require('./compile_query');\r\nvar compile_method_1 = require('./compile_method');\r\nvar CompileNode = (function () {\r\n function CompileNode(parent, view, nodeIndex, renderNode, sourceAst) {\r\n this.parent = parent;\r\n this.view = view;\r\n this.nodeIndex = nodeIndex;\r\n this.renderNode = renderNode;\r\n this.sourceAst = sourceAst;\r\n }\r\n CompileNode.prototype.isNull = function () { return lang_1.isBlank(this.renderNode); };\r\n CompileNode.prototype.isRootElement = function () { return this.view != this.parent.view; };\r\n return CompileNode;\r\n}());\r\nexports.CompileNode = CompileNode;\r\nvar CompileElement = (function (_super) {\r\n __extends(CompileElement, _super);\r\n function CompileElement(parent, view, nodeIndex, renderNode, sourceAst, component, _directives, _resolvedProvidersArray, hasViewContainer, hasEmbeddedView, references) {\r\n var _this = this;\r\n _super.call(this, parent, view, nodeIndex, renderNode, sourceAst);\r\n this.component = component;\r\n this._directives = _directives;\r\n this._resolvedProvidersArray = _resolvedProvidersArray;\r\n this.hasViewContainer = hasViewContainer;\r\n this.hasEmbeddedView = hasEmbeddedView;\r\n this._compViewExpr = null;\r\n this._instances = new compile_metadata_1.CompileTokenMap();\r\n this._queryCount = 0;\r\n this._queries = new compile_metadata_1.CompileTokenMap();\r\n this._componentConstructorViewQueryLists = [];\r\n this.contentNodesByNgContentIndex = null;\r\n this.referenceTokens = {};\r\n references.forEach(function (ref) { return _this.referenceTokens[ref.name] = ref.value; });\r\n this.elementRef = o.importExpr(identifiers_1.Identifiers.ElementRef).instantiate([this.renderNode]);\r\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.ElementRef), this.elementRef);\r\n this.injector = o.THIS_EXPR.callMethod('injector', [o.literal(this.nodeIndex)]);\r\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.Injector), this.injector);\r\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.Renderer), o.THIS_EXPR.prop('renderer'));\r\n if (this.hasViewContainer || this.hasEmbeddedView || lang_1.isPresent(this.component)) {\r\n this._createAppElement();\r\n }\r\n }\r\n CompileElement.createNull = function () {\r\n return new CompileElement(null, null, null, null, null, null, [], [], false, false, []);\r\n };\r\n CompileElement.prototype._createAppElement = function () {\r\n var fieldName = \"_appEl_\" + this.nodeIndex;\r\n var parentNodeIndex = this.isRootElement() ? null : this.parent.nodeIndex;\r\n this.view.fields.push(new o.ClassField(fieldName, o.importType(identifiers_1.Identifiers.AppElement), [o.StmtModifier.Private]));\r\n var statement = o.THIS_EXPR.prop(fieldName)\r\n .set(o.importExpr(identifiers_1.Identifiers.AppElement)\r\n .instantiate([\r\n o.literal(this.nodeIndex),\r\n o.literal(parentNodeIndex),\r\n o.THIS_EXPR,\r\n this.renderNode\r\n ]))\r\n .toStmt();\r\n this.view.createMethod.addStmt(statement);\r\n this.appElement = o.THIS_EXPR.prop(fieldName);\r\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.AppElement), this.appElement);\r\n };\r\n CompileElement.prototype.setComponentView = function (compViewExpr) {\r\n this._compViewExpr = compViewExpr;\r\n this.contentNodesByNgContentIndex =\r\n collection_1.ListWrapper.createFixedSize(this.component.template.ngContentSelectors.length);\r\n for (var i = 0; i < this.contentNodesByNgContentIndex.length; i++) {\r\n this.contentNodesByNgContentIndex[i] = [];\r\n }\r\n };\r\n CompileElement.prototype.setEmbeddedView = function (embeddedView) {\r\n this.embeddedView = embeddedView;\r\n if (lang_1.isPresent(embeddedView)) {\r\n var createTemplateRefExpr = o.importExpr(identifiers_1.Identifiers.TemplateRef_)\r\n .instantiate([this.appElement, this.embeddedView.viewFactory]);\r\n var provider = new compile_metadata_1.CompileProviderMetadata({ token: identifiers_1.identifierToken(identifiers_1.Identifiers.TemplateRef), useValue: createTemplateRefExpr });\r\n // Add TemplateRef as first provider as it does not have deps on other providers\r\n this._resolvedProvidersArray.unshift(new template_ast_1.ProviderAst(provider.token, false, true, [provider], template_ast_1.ProviderAstType.Builtin, this.sourceAst.sourceSpan));\r\n }\r\n };\r\n CompileElement.prototype.beforeChildren = function () {\r\n var _this = this;\r\n if (this.hasViewContainer) {\r\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.ViewContainerRef), this.appElement.prop('vcRef'));\r\n }\r\n this._resolvedProviders = new compile_metadata_1.CompileTokenMap();\r\n this._resolvedProvidersArray.forEach(function (provider) {\r\n return _this._resolvedProviders.add(provider.token, provider);\r\n });\r\n // create all the provider instances, some in the view constructor,\r\n // some as getters. We rely on the fact that they are already sorted topologically.\r\n this._resolvedProviders.values().forEach(function (resolvedProvider) {\r\n var providerValueExpressions = resolvedProvider.providers.map(function (provider) {\r\n if (lang_1.isPresent(provider.useExisting)) {\r\n return _this._getDependency(resolvedProvider.providerType, new compile_metadata_1.CompileDiDependencyMetadata({ token: provider.useExisting }));\r\n }\r\n else if (lang_1.isPresent(provider.useFactory)) {\r\n var deps = lang_1.isPresent(provider.deps) ? provider.deps : provider.useFactory.diDeps;\r\n var depsExpr = deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep); });\r\n return o.importExpr(provider.useFactory).callFn(depsExpr);\r\n }\r\n else if (lang_1.isPresent(provider.useClass)) {\r\n var deps = lang_1.isPresent(provider.deps) ? provider.deps : provider.useClass.diDeps;\r\n var depsExpr = deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep); });\r\n return o.importExpr(provider.useClass)\r\n .instantiate(depsExpr, o.importType(provider.useClass));\r\n }\r\n else {\r\n if (provider.useValue instanceof compile_metadata_1.CompileIdentifierMetadata) {\r\n return o.importExpr(provider.useValue);\r\n }\r\n else if (provider.useValue instanceof o.Expression) {\r\n return provider.useValue;\r\n }\r\n else {\r\n return o.literal(provider.useValue);\r\n }\r\n }\r\n });\r\n var propName = \"_\" + resolvedProvider.token.name + \"_\" + _this.nodeIndex + \"_\" + _this._instances.size;\r\n var instance = createProviderProperty(propName, resolvedProvider, providerValueExpressions, resolvedProvider.multiProvider, resolvedProvider.eager, _this);\r\n _this._instances.add(resolvedProvider.token, instance);\r\n });\r\n this.directiveInstances =\r\n this._directives.map(function (directive) { return _this._instances.get(identifiers_1.identifierToken(directive.type)); });\r\n for (var i = 0; i < this.directiveInstances.length; i++) {\r\n var directiveInstance = this.directiveInstances[i];\r\n var directive = this._directives[i];\r\n directive.queries.forEach(function (queryMeta) { _this._addQuery(queryMeta, directiveInstance); });\r\n }\r\n var queriesWithReads = [];\r\n this._resolvedProviders.values().forEach(function (resolvedProvider) {\r\n var queriesForProvider = _this._getQueriesFor(resolvedProvider.token);\r\n collection_1.ListWrapper.addAll(queriesWithReads, queriesForProvider.map(function (query) { return new _QueryWithRead(query, resolvedProvider.token); }));\r\n });\r\n collection_1.StringMapWrapper.forEach(this.referenceTokens, function (_, varName) {\r\n var token = _this.referenceTokens[varName];\r\n var varValue;\r\n if (lang_1.isPresent(token)) {\r\n varValue = _this._instances.get(token);\r\n }\r\n else {\r\n varValue = _this.renderNode;\r\n }\r\n _this.view.locals.set(varName, varValue);\r\n var varToken = new compile_metadata_1.CompileTokenMetadata({ value: varName });\r\n collection_1.ListWrapper.addAll(queriesWithReads, _this._getQueriesFor(varToken)\r\n .map(function (query) { return new _QueryWithRead(query, varToken); }));\r\n });\r\n queriesWithReads.forEach(function (queryWithRead) {\r\n var value;\r\n if (lang_1.isPresent(queryWithRead.read.identifier)) {\r\n // query for an identifier\r\n value = _this._instances.get(queryWithRead.read);\r\n }\r\n else {\r\n // query for a reference\r\n var token = _this.referenceTokens[queryWithRead.read.value];\r\n if (lang_1.isPresent(token)) {\r\n value = _this._instances.get(token);\r\n }\r\n else {\r\n value = _this.elementRef;\r\n }\r\n }\r\n if (lang_1.isPresent(value)) {\r\n queryWithRead.query.addValue(value, _this.view);\r\n }\r\n });\r\n if (lang_1.isPresent(this.component)) {\r\n var componentConstructorViewQueryList = lang_1.isPresent(this.component) ? o.literalArr(this._componentConstructorViewQueryLists) :\r\n o.NULL_EXPR;\r\n var compExpr = lang_1.isPresent(this.getComponent()) ? this.getComponent() : o.NULL_EXPR;\r\n this.view.createMethod.addStmt(this.appElement.callMethod('initComponent', [compExpr, componentConstructorViewQueryList, this._compViewExpr])\r\n .toStmt());\r\n }\r\n };\r\n CompileElement.prototype.afterChildren = function (childNodeCount) {\r\n var _this = this;\r\n this._resolvedProviders.values().forEach(function (resolvedProvider) {\r\n // Note: afterChildren is called after recursing into children.\r\n // This is good so that an injector match in an element that is closer to a requesting element\r\n // matches first.\r\n var providerExpr = _this._instances.get(resolvedProvider.token);\r\n // Note: view providers are only visible on the injector of that element.\r\n // This is not fully correct as the rules during codegen don't allow a directive\r\n // to get hold of a view provdier on the same element. We still do this semantic\r\n // as it simplifies our model to having only one runtime injector per element.\r\n var providerChildNodeCount = resolvedProvider.providerType === template_ast_1.ProviderAstType.PrivateService ? 0 : childNodeCount;\r\n _this.view.injectorGetMethod.addStmt(createInjectInternalCondition(_this.nodeIndex, providerChildNodeCount, resolvedProvider, providerExpr));\r\n });\r\n this._queries.values().forEach(function (queries) {\r\n return queries.forEach(function (query) { return query.afterChildren(_this.view.updateContentQueriesMethod); });\r\n });\r\n };\r\n CompileElement.prototype.addContentNode = function (ngContentIndex, nodeExpr) {\r\n this.contentNodesByNgContentIndex[ngContentIndex].push(nodeExpr);\r\n };\r\n CompileElement.prototype.getComponent = function () {\r\n return lang_1.isPresent(this.component) ? this._instances.get(identifiers_1.identifierToken(this.component.type)) :\r\n null;\r\n };\r\n CompileElement.prototype.getProviderTokens = function () {\r\n return this._resolvedProviders.values().map(function (resolvedProvider) { return util_1.createDiTokenExpression(resolvedProvider.token); });\r\n };\r\n CompileElement.prototype._getQueriesFor = function (token) {\r\n var result = [];\r\n var currentEl = this;\r\n var distance = 0;\r\n var queries;\r\n while (!currentEl.isNull()) {\r\n queries = currentEl._queries.get(token);\r\n if (lang_1.isPresent(queries)) {\r\n collection_1.ListWrapper.addAll(result, queries.filter(function (query) { return query.meta.descendants || distance <= 1; }));\r\n }\r\n if (currentEl._directives.length > 0) {\r\n distance++;\r\n }\r\n currentEl = currentEl.parent;\r\n }\r\n queries = this.view.componentView.viewQueries.get(token);\r\n if (lang_1.isPresent(queries)) {\r\n collection_1.ListWrapper.addAll(result, queries);\r\n }\r\n return result;\r\n };\r\n CompileElement.prototype._addQuery = function (queryMeta, directiveInstance) {\r\n var propName = \"_query_\" + queryMeta.selectors[0].name + \"_\" + this.nodeIndex + \"_\" + this._queryCount++;\r\n var queryList = compile_query_1.createQueryList(queryMeta, directiveInstance, propName, this.view);\r\n var query = new compile_query_1.CompileQuery(queryMeta, queryList, directiveInstance, this.view);\r\n compile_query_1.addQueryToTokenMap(this._queries, query);\r\n return query;\r\n };\r\n CompileElement.prototype._getLocalDependency = function (requestingProviderType, dep) {\r\n var result = null;\r\n // constructor content query\r\n if (lang_1.isBlank(result) && lang_1.isPresent(dep.query)) {\r\n result = this._addQuery(dep.query, null).queryList;\r\n }\r\n // constructor view query\r\n if (lang_1.isBlank(result) && lang_1.isPresent(dep.viewQuery)) {\r\n result = compile_query_1.createQueryList(dep.viewQuery, null, \"_viewQuery_\" + dep.viewQuery.selectors[0].name + \"_\" + this.nodeIndex + \"_\" + this._componentConstructorViewQueryLists.length, this.view);\r\n this._componentConstructorViewQueryLists.push(result);\r\n }\r\n if (lang_1.isPresent(dep.token)) {\r\n // access builtins with special visibility\r\n if (lang_1.isBlank(result)) {\r\n if (dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ChangeDetectorRef))) {\r\n if (requestingProviderType === template_ast_1.ProviderAstType.Component) {\r\n return this._compViewExpr.prop('ref');\r\n }\r\n else {\r\n return o.THIS_EXPR.prop('ref');\r\n }\r\n }\r\n }\r\n // access regular providers on the element\r\n if (lang_1.isBlank(result)) {\r\n result = this._instances.get(dep.token);\r\n }\r\n }\r\n return result;\r\n };\r\n CompileElement.prototype._getDependency = function (requestingProviderType, dep) {\r\n var currElement = this;\r\n var result = null;\r\n if (dep.isValue) {\r\n result = o.literal(dep.value);\r\n }\r\n if (lang_1.isBlank(result) && !dep.isSkipSelf) {\r\n result = this._getLocalDependency(requestingProviderType, dep);\r\n }\r\n // check parent elements\r\n while (lang_1.isBlank(result) && !currElement.parent.isNull()) {\r\n currElement = currElement.parent;\r\n result = currElement._getLocalDependency(template_ast_1.ProviderAstType.PublicService, new compile_metadata_1.CompileDiDependencyMetadata({ token: dep.token }));\r\n }\r\n if (lang_1.isBlank(result)) {\r\n result = util_1.injectFromViewParentInjector(dep.token, dep.isOptional);\r\n }\r\n if (lang_1.isBlank(result)) {\r\n result = o.NULL_EXPR;\r\n }\r\n return util_1.getPropertyInView(result, this.view, currElement.view);\r\n };\r\n return CompileElement;\r\n}(CompileNode));\r\nexports.CompileElement = CompileElement;\r\nfunction createInjectInternalCondition(nodeIndex, childNodeCount, provider, providerExpr) {\r\n var indexCondition;\r\n if (childNodeCount > 0) {\r\n indexCondition = o.literal(nodeIndex)\r\n .lowerEquals(constants_1.InjectMethodVars.requestNodeIndex)\r\n .and(constants_1.InjectMethodVars.requestNodeIndex.lowerEquals(o.literal(nodeIndex + childNodeCount)));\r\n }\r\n else {\r\n indexCondition = o.literal(nodeIndex).identical(constants_1.InjectMethodVars.requestNodeIndex);\r\n }\r\n return new o.IfStmt(constants_1.InjectMethodVars.token.identical(util_1.createDiTokenExpression(provider.token)).and(indexCondition), [new o.ReturnStatement(providerExpr)]);\r\n}\r\nfunction createProviderProperty(propName, provider, providerValueExpressions, isMulti, isEager, compileElement) {\r\n var view = compileElement.view;\r\n var resolvedProviderValueExpr;\r\n var type;\r\n if (isMulti) {\r\n resolvedProviderValueExpr = o.literalArr(providerValueExpressions);\r\n type = new o.ArrayType(o.DYNAMIC_TYPE);\r\n }\r\n else {\r\n resolvedProviderValueExpr = providerValueExpressions[0];\r\n type = providerValueExpressions[0].type;\r\n }\r\n if (lang_1.isBlank(type)) {\r\n type = o.DYNAMIC_TYPE;\r\n }\r\n if (isEager) {\r\n view.fields.push(new o.ClassField(propName, type, [o.StmtModifier.Private]));\r\n view.createMethod.addStmt(o.THIS_EXPR.prop(propName).set(resolvedProviderValueExpr).toStmt());\r\n }\r\n else {\r\n var internalField = \"_\" + propName;\r\n view.fields.push(new o.ClassField(internalField, type, [o.StmtModifier.Private]));\r\n var getter = new compile_method_1.CompileMethod(view);\r\n getter.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\r\n // Note: Equals is important for JS so that it also checks the undefined case!\r\n getter.addStmt(new o.IfStmt(o.THIS_EXPR.prop(internalField).isBlank(), [o.THIS_EXPR.prop(internalField).set(resolvedProviderValueExpr).toStmt()]));\r\n getter.addStmt(new o.ReturnStatement(o.THIS_EXPR.prop(internalField)));\r\n view.getters.push(new o.ClassGetter(propName, getter.finish(), type));\r\n }\r\n return o.THIS_EXPR.prop(propName);\r\n}\r\nvar _QueryWithRead = (function () {\r\n function _QueryWithRead(query, match) {\r\n this.query = query;\r\n this.read = lang_1.isPresent(query.meta.read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gpID8gbnVsbCA6IHRoaXMucGFyZW50Lm5vZGVJbmRleDtcbiAgICB0aGlzLnZpZXcuZmllbGRzLnB1c2gobmV3IG8uQ2xhc3NGaWVsZChmaWVsZE5hbWUsIG8uaW1wb3J0VHlwZShJZGVudGlmaWVycy5BcHBFbGVtZW50KSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbby5TdG10TW9kaWZpZXIuUHJpdmF0ZV0pKTtcbiAgICB2YXIgc3RhdGVtZW50ID0gby5USElTX0VYUFIucHJvcChmaWVsZE5hbWUpXG4gICAgICAgICAgICAgICAgICAgICAgICAuc2V0KG8uaW1wb3J0RXhwcihJZGVudGlmaWVycy5BcHBFbGVtZW50KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmluc3RhbnRpYXRlKFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgby5saXRlcmFsKHRoaXMubm9kZUluZGV4KSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgby5saXRlcmFsKHBhcmVudE5vZGVJbmRleCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG8uVEhJU19FWFBSLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnJlbmRlck5vZGVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF0pKVxuICAgICAgICAgICAgICAgICAgICAgICAgLnRvU3RtdCgpO1xuICAgIHRoaXMudmlldy5jcmVhdGVNZXRob2QuYWRkU3RtdChzdGF0ZW1lbnQpO1xuICAgIHRoaXMuYXBwRWxlbWVudCA9IG8uVEhJU19FWFBSLnByb3AoZmllbGROYW1lKTtcbiAgICB0aGlzLl9pbnN0YW5jZXMuYWRkKGlkZW50aWZpZXJUb2tlbihJZGVudGlmaWVycy5BcHBFbGVtZW50KSwgdGhpcy5hcHBFbGVtZW50KTtcbiAgfVxuXG4gIHNldENvbXBvbmVudFZpZXcoY29tc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ZG9lcyBub3QgaGF2ZSBkZXBzIG9uIG90aGVyIHByb3ZpZGVyc1xuICAgICAgdGhpcy5fcmVzb2x2ZWRQcm92aWRlcnNBcnJheS51bnNoaWZ0KG5ldyBQcm92aWRlckFzdChwcm92aWRlci50b2tlbiwgZmFsc2UsIHRydWUsIFtwcm92aWRlcl0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFByb3ZpZGVyQXN0VHlwZS5CdWlsdGluLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNvdXJjZUFzdC5zb3VyY2VTcGFuKSk7XG4gICAgfVxuICB9XG5cbiAgYmVmb3JlQ2hpbGRyZW4oKTogdm9pZCB7XG4gICAgaWYgKHRoaXMuaGFzVmlld0NvbnRhaW5lcikge1xuICAgICAgdGhpcy5faW5zdGFuY2VzLmFkZChpZGVudGlmaWVyVG9rZW4oSWRlbnRpZmllcnMuVmlld0NvbnRhaW5lclJlZiksXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYXBwRWxlbWVudC5wcm9wKCd2Y1JlZicpKTtcbiAgICB9XG5cbiAgICB0aGlzLl9yZXNvbHZlZFByb3ZpZGVycyA9IG5ldyBDb21waWxlVG9rZW5NYXA8UHJvdmlkZXJBc3Q+KCk7XG4gICAgdGhpcy5fcmVzb2x2ZWRQcm92aWRlcnNBcnJheS5mb3JFYWNoKHByb3ZpZGVyID0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9yZXNvbHZlZFByb3ZpZGVycy5hZGQocHJvdmlkZXIudG9rZW4sIHByb3ZpZGVyKSk7XG5cbiAgICAvLyBjcmVhdGUgYWxsIHRoZSBwcm92aWRlciBpbnN0YW5jZXMsIHNvbWUgaW4gdGhlIHZpZXcgY29uc3RydWN0b3IsXG4gICAgLy8gc29tZSBhcyBnZXR0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ayhyZXN1bHQpICYmICFjdXJyRWxlbWVudC5wYXJlbnQuaXNOdWxsKCkpIHtcbiAgICAgIGN1cnJFbGVtZW50ID0gY3VyckVsZW1lbnQucGFyZW50O1xuICAgICAgcmVzdWx0ID0gY3VyckVsZW1lbnQuX2dldExvY2FsRGVwZW5kZW5jeShQcm92aWRlckFzdFR5cGUuUHVibGljU2VydmljZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmV3IENvbXBpbGVEaURlcGVuZGVuY3lNZXRhZGF0YSh7dG9rZW46IGRlcC50b2tlbn0pKTtcbiAgICB9XG5cbiAgICBpZiAoaXNCbGFuayhyZXN1bHQpKSB7XG4gICAgICByZXN1bHQgPSBpbmplY3RGcm9tVmlld1BhcmVudEluamVjdG9yKGRlcC50b2tlbiwgZGVwLmlzT3B0aW9uYWwpO1xuICAgIH1cbiAgICBpZiAoaXNCbGFuayhyZXN1bHQpKSB7XG4gICAgICByZXN1bHQgPSBvLk5VTExfRVhQUjtcbiAgICB9XG4gICAgcmV0dXJuIGdldFByb3BlcnR5SW5WaWV3KHJlc3VsdCwgdGhpcy52aWV3LCBjdXJyRWxlbWVudC52aWV3KTtcbiAgfVxufVxuXG5mdW5jdGlvbiBjcmVhdGVJbmplY3RJbnRlcm5hbENvbmRpdGlvbihub2RlSW5kZXg6IG51bWJlciwgY2hpbGROb2RlQ291bnQ6IG51bWJlcixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByb3ZpZGVyOiBQcm92aWRlckFzdCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByb3ZpZGVyRXhwcjogby5FeHByZXNzaW9uKTogby5TdGF0ZW1lbnQge1xuICB2YXIgaW5kZXhDb25kaXRpb247XG4gIGlmIChjaGlsZE5vZGVDb3VudCA+IDApIHtcbiAgICBpbmRleENvbmRpdGlvbiA9IG8ubGl0ZXJhbChub2RlSW5kZXgpXG4gICAgICAgICAgICAgICAgICAgICAgICAgLmxvd2VyRXF1YWxzKEluamVjdE1ldGhvZFZhcnMucmVxdWVzdE5vZGVJbmRleClcbiAgICAgICAgICAgICAgICAgICAgICAgICAuYW5kKEluamVjdE1ldGhvZFZhcnMucmVxdWVzdE5vZGVJbmRleC5sb3dlckVxdWFscyhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgby5saXRlcmFsKG5vZGVJbmRleCArIGNoaWxkTm9kZUNvdW50KSkpO1xuICB9IGVsc2Uge1xuICAgIGluZGV4Q29uZGl0aW9uID0gby5saXRlcmFsKG5vZGVJbmRleCkuaWRlbnRpY2FsKEluamVjdE1ldGhvZFZhcnMucmVxdWVzdE5vZGVJbmRleCk7XG4gIH1cbiAgcmV0dXJuIG5ldyBvLklmU3RtdChcbiAgICAgIEluamVjdE1ldGhvZFZhcnMudG9rZW4uaWRlbnRpY2FsKGNyZWF0ZURpVG9rZW5FeHByZXNzaW9uKHByb3ZpZGVyLnRva2VuKSkuYW5kKGluZGV4Q29uZGl0aW9uKSxcbiAgICAgIFtuZXcgby5SZXR1cm5TdGF0ZW1lbnQocHJvdmlkZXJFeHByKV0pO1xufVxuXG5mdW5jdGlvbiBjcmVhdGVQcm92aWRlclByb3BlcnR5KHByb3BOYW1lOiBzdHJpbmcsIHByb3ZpZGVyOiBQcm92aWRlckFzdCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJvdmlkZXJWYWx1ZUV4cHJlc3Npb25zOiBvLkV4cHJlc3Npb25bXSwgaXNNdWx0aTogYm9vbGVhbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNFYWdlcjogYm9vbGVhbiwgY29tcGlsZUVsZW1lbnQ6IENvbXBpbGVFbGVtZW50KTogby5FeHByZXNzaW9uIHtcbiAgdmFyIHZpZXcgPSBjb21waWxlRWxlbWVudC52aWV3O1xuICB2YXIgcmVzb2x2ZWRQcm92aWRlclZhbHVlRXhwcjtcbiAgdmFyIHR5cGU7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b3IgSlMgc28gdGhhdCBpdCBhbHNvIGNoZWNrcyB0aGUgdW5kZWZpbmVkIGNhc2UhXG4gICAgZ2V0dGVyLmFkZFN0bXQoXG4gICAgICAgIG5ldyBvLklmU3RtdChvLlRISVNfRVhQUi5wcm9wKGludGVybmFsRmllbGQpLmlzQmxhbmsoKSxcbiAgICAgICAgICAgICAgICAgICAgIFtvLlRISVNfRVhQUi5wcm9wKGludGVybmFsRmllbGQpLnNldChyZXNvbHZlZFByb3ZpZGVyVmFsdWVFeHByKS50b1N0bXQoKV0pKTtcbiAgICBnZXR0ZXIuYWRkU3RtdChuZXcgby5SZXR1cm5TdGF0ZW1lbnQoby5USElTX0VYUFIucHJvcChpbnRlcm5hbEZpZWxkKSkpO1xuICAgIHZpZXcuZ2V0dGVycy5wdXNoKG5ldyBvLkNsYXNzR2V0dGVyKHByb3BOYW1lLCBnZXR0ZXIuZmluaXNoKCksIHR5cGUpKTtcbiAgfVxuICByZXR1cm4gby5USElTX0VYUFIucHJvcChwcm9wTmFtZSk7XG59XG5cbmNsYXNzIF9RdWVyeVdpdGhSZWFkIHtcbiAgcHVibGljIHJlYWQ6IENvbXBpbGVUb2tlbk1ldGFkYXRhO1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgcXVlcnk6IENvbXBpbGVRdWVyeSwgbWF0Y2g6IENvbXBpbGVUb2tlbk1ldGFkYXRhKSB7XG4gICAgdGhpcy5yZWFkID0gaXNQcmVzZW50KHF1ZXJ5Lm1ldGEucmVhZCkgPyBxdWVyeS5tZXRhLnJlYWQgOiBtYXRjaDtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar o = require('../output/output_ast');\r\nvar identifiers_1 = require('../identifiers');\r\nfunction getPropertyInView(property, callingView, definedView) {\r\n if (callingView === definedView) {\r\n return property;\r\n }\r\n else {\r\n var viewProp = o.THIS_EXPR;\r\n var currView = callingView;\r\n while (currView !== definedView && lang_1.isPresent(currView.declarationElement.view)) {\r\n currView = currView.declarationElement.view;\r\n viewProp = viewProp.prop('parent');\r\n }\r\n if (currView !== definedView) {\r\n throw new exceptions_1.BaseException(\"Internal error: Could not calculate a property in a parent view: \" + property);\r\n }\r\n if (property instanceof o.ReadPropExpr) {\r\n var readPropExpr_1 = property;\r\n // Note: Don't cast for members of the AppView base class...\r\n if (definedView.fields.some(function (field) { return field.name == readPropExpr_1.name; }) ||\r\n definedView.getters.some(function (field) { return field.name == readPropExpr_1.name; })) {\r\n viewProp = viewProp.cast(definedView.classType);\r\n }\r\n }\r\n return o.replaceVarInExpression(o.THIS_EXPR.name, viewProp, property);\r\n }\r\n}\r\nexports.getPropertyInView = getPropertyInView;\r\nfunction injectFromViewParentInjector(token, optional) {\r\n var args = [createDiTokenExpression(token)];\r\n if (optional) {\r\n args.push(o.NULL_EXPR);\r\n }\r\n return o.THIS_EXPR.prop('parentInjector').callMethod('get', args);\r\n}\r\nexports.injectFromViewParentInjector = injectFromViewParentInjector;\r\nfunction getViewFactoryName(component, embeddedTemplateIndex) {\r\n return \"viewFactory_\" + component.type.name + embeddedTemplateIndex;\r\n}\r\nexports.getViewFactoryName = getViewFactoryName;\r\nfunction createDiTokenExpression(token) {\r\n if (lang_1.isPresent(token.value)) {\r\n return o.literal(token.value);\r\n }\r\n else if (token.identifierIsInstance) {\r\n return o.importExpr(token.identifier)\r\n .instantiate([], o.importType(token.identifier, [], [o.TypeModifier.Const]));\r\n }\r\n else {\r\n return o.importExpr(token.identifier);\r\n }\r\n}\r\nexports.createDiTokenExpression = createDiTokenExpression;\r\nfunction createFlatArray(expressions) {\r\n var lastNonArrayExpressions = [];\r\n var result = o.literalArr([]);\r\n for (var i = 0; i < expressions.length; i++) {\r\n var expr = expressions[i];\r\n if (expr.type instanceof o.ArrayType) {\r\n if (lastNonArrayExpressions.length > 0) {\r\n result =\r\n result.callMethod(o.BuiltinMethod.ConcatArray, [o.literalArr(lastNonArrayExpressions)]);\r\n lastNonArrayExpressions = [];\r\n }\r\n result = result.callMethod(o.BuiltinMethod.ConcatArray, [expr]);\r\n }\r\n else {\r\n lastNonArrayExpressions.push(expr);\r\n }\r\n }\r\n if (lastNonArrayExpressions.length > 0) {\r\n result =\r\n result.callMethod(o.BuiltinMethod.ConcatArray, [o.literalArr(lastNonArrayExpressions)]);\r\n }\r\n return result;\r\n}\r\nexports.createFlatArray = createFlatArray;\r\nfunction createPureProxy(fn, argCount, pureProxyProp, view) {\r\n view.fields.push(new o.ClassField(pureProxyProp.name, null, [o.StmtModifier.Private]));\r\n var pureProxyId = argCount < identifiers_1.Identifiers.pureProxies.length ? identifiers_1.Identifiers.pureProxies[argCount] : null;\r\n if (lang_1.isBlank(pureProxyId)) {\r\n throw new exceptions_1.BaseException(\"Unsupported number of argument for pure functions: \" + argCount);\r\n }\r\n view.createMethod.addStmt(o.THIS_EXPR.prop(pureProxyProp.name).set(o.importExpr(pureProxyId).callFn([fn])).toStmt());\r\n}\r\nexports.createPureProxy = createPureProxy;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci92aWV3X2NvbXBpbGVyL3V0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHFCQUFpQywwQkFBMEIsQ0FBQyxDQUFBO0FBQzVELDJCQUE0QixnQ0FBZ0MsQ0FBQyxDQUFBO0FBRTdELElBQVksQ0FBQyxXQUFNLHNCQUFzQixDQUFDLENBQUE7QUFPMUMsNEJBQTBCLGdCQUFnQixDQUFDLENBQUE7QUFFM0MsMkJBQWtDLFFBQXNCLEVBQUUsV0FBd0IsRUFDaEQsV0FBd0I7SU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8uQ2xhc3NGaWVsZChwdXJlUHJveHlQcm9wLm5hbWUsIG51bGwsIFtvLlN0bXRNb2RpZmllci5Qcml2YXRlXSkpO1xuICB2YXIgcHVyZVByb3h5SWQgPVxuICAgICAgYXJnQ291bnQgPCBJZGVudGlmaWVycy5wdXJlUHJveGllcy5sZW5ndGggPyBJZGVudGlmaWVycy5wdXJlUHJveGllc1thcmdDb3VudF0gOiBudWxsO1xuICBpZiAoaXNCbGFuayhwdXJlUHJveHlJZCkpIHtcbiAgICB0aHJvdyBuZXcgQmFzZUV4Y2VwdGlvbihgVW5zdXBwb3J0ZWQgbnVtYmVyIG9mIGFyZ3VtZW50IGZvciBwdXJlIGZ1bmN0aW9uczogJHthcmdDb3VudH1gKTtcbiAgfVxuICB2aWV3LmNyZWF0ZU1ldGhvZC5hZGRTdG10KFxuICAgICAgby5USElTX0VYUFIucHJvcChwdXJlUHJveHlQcm9wLm5hbWUpLnNldChvLmltcG9ydEV4cHIocHVyZVByb3h5SWQpLmNhbGxGbihbZm5dKSkudG9TdG10KCkpO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar o = require('../output/output_ast');\r\nvar identifiers_1 = require('../identifiers');\r\nvar constants_1 = require('./constants');\r\nvar change_detection_1 = require('angular2/src/core/change_detection/change_detection');\r\nvar compile_view_1 = require('./compile_view');\r\nvar compile_element_1 = require('./compile_element');\r\nvar template_ast_1 = require('../template_ast');\r\nvar util_1 = require('./util');\r\nvar view_type_1 = require('angular2/src/core/linker/view_type');\r\nvar view_1 = require('angular2/src/core/metadata/view');\r\nvar compile_metadata_1 = require('../compile_metadata');\r\nvar IMPLICIT_TEMPLATE_VAR = '\\$implicit';\r\nvar CLASS_ATTR = 'class';\r\nvar STYLE_ATTR = 'style';\r\nvar parentRenderNodeVar = o.variable('parentRenderNode');\r\nvar rootSelectorVar = o.variable('rootSelector');\r\nvar ViewCompileDependency = (function () {\r\n function ViewCompileDependency(comp, factoryPlaceholder) {\r\n this.comp = comp;\r\n this.factoryPlaceholder = factoryPlaceholder;\r\n }\r\n return ViewCompileDependency;\r\n}());\r\nexports.ViewCompileDependency = ViewCompileDependency;\r\nfunction buildView(view, template, targetDependencies) {\r\n var builderVisitor = new ViewBuilderVisitor(view, targetDependencies);\r\n template_ast_1.templateVisitAll(builderVisitor, template, view.declarationElement.isNull() ?\r\n view.declarationElement :\r\n view.declarationElement.parent);\r\n return builderVisitor.nestedViewCount;\r\n}\r\nexports.buildView = buildView;\r\nfunction finishView(view, targetStatements) {\r\n view.afterNodes();\r\n createViewTopLevelStmts(view, targetStatements);\r\n view.nodes.forEach(function (node) {\r\n if (node instanceof compile_element_1.CompileElement && node.hasEmbeddedView) {\r\n finishView(node.embeddedView, targetStatements);\r\n }\r\n });\r\n}\r\nexports.finishView = finishView;\r\nvar ViewBuilderVisitor = (function () {\r\n function ViewBuilderVisitor(view, targetDependencies) {\r\n this.view = view;\r\n this.targetDependencies = targetDependencies;\r\n this.nestedViewCount = 0;\r\n }\r\n ViewBuilderVisitor.prototype._isRootNode = function (parent) { return parent.view !== this.view; };\r\n ViewBuilderVisitor.prototype._addRootNodeAndProject = function (node, ngContentIndex, parent) {\r\n var vcAppEl = (node instanceof compile_element_1.CompileElement && node.hasViewContainer) ? node.appElement : null;\r\n if (this._isRootNode(parent)) {\r\n // store appElement as root node only for ViewContainers\r\n if (this.view.viewType !== view_type_1.ViewType.COMPONENT) {\r\n this.view.rootNodesOrAppElements.push(lang_1.isPresent(vcAppEl) ? vcAppEl : node.renderNode);\r\n }\r\n }\r\n else if (lang_1.isPresent(parent.component) && lang_1.isPresent(ngContentIndex)) {\r\n parent.addContentNode(ngContentIndex, lang_1.isPresent(vcAppEl) ? vcAppEl : node.renderNode);\r\n }\r\n };\r\n ViewBuilderVisitor.prototype._getParentRenderNode = function (parent) {\r\n if (this._isRootNode(parent)) {\r\n if (this.view.viewType === view_type_1.ViewType.COMPONENT) {\r\n return parentRenderNodeVar;\r\n }\r\n else {\r\n // root node of an embedded/host view\r\n return o.NULL_EXPR;\r\n }\r\n }\r\n else {\r\n return lang_1.isPresent(parent.component) &&\r\n parent.component.template.encapsulation !== view_1.ViewEncapsulation.Native ?\r\n o.NULL_EXPR :\r\n parent.renderNode;\r\n }\r\n };\r\n ViewBuilderVisitor.prototype.visitBoundText = function (ast, parent) {\r\n return this._visitText(ast, '', ast.ngContentIndex, parent);\r\n };\r\n ViewBuilderVisitor.prototype.visitText = function (ast, parent) {\r\n return this._visitText(ast, ast.value, ast.ngContentIndex, parent);\r\n };\r\n ViewBuilderVisitor.prototype._visitText = function (ast, value, ngContentIndex, parent) {\r\n var fieldName = \"_text_\" + this.view.nodes.length;\r\n this.view.fields.push(new o.ClassField(fieldName, o.importType(this.view.genConfig.renderTypes.renderText), [o.StmtModifier.Private]));\r\n var renderNode = o.THIS_EXPR.prop(fieldName);\r\n var compileNode = new compile_element_1.CompileNode(parent, this.view, this.view.nodes.length, renderNode, ast);\r\n var createRenderNode = o.THIS_EXPR.prop(fieldName)\r\n .set(constants_1.ViewProperties.renderer.callMethod('createText', [\r\n this._getParentRenderNode(parent),\r\n o.literal(value),\r\n this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length, ast)\r\n ]))\r\n .toStmt();\r\n this.view.nodes.push(compileNode);\r\n this.view.createMethod.addStmt(createRenderNode);\r\n this._addRootNodeAndProject(compileNode, ngContentIndex, parent);\r\n return renderNode;\r\n };\r\n ViewBuilderVisitor.prototype.visitNgContent = function (ast, parent) {\r\n // the projected nodes originate from a different view, so we don't\r\n // have debug information for them...\r\n this.view.createMethod.resetDebugInfo(null, ast);\r\n var parentRenderNode = this._getParentRenderNode(parent);\r\n var nodesExpression = constants_1.ViewProperties.projectableNodes.key(o.literal(ast.index), new o.ArrayType(o.importType(this.view.genConfig.renderTypes.renderNode)));\r\n if (parentRenderNode !== o.NULL_EXPR) {\r\n this.view.createMethod.addStmt(constants_1.ViewProperties.renderer.callMethod('projectNodes', [\r\n parentRenderNode,\r\n o.importExpr(identifiers_1.Identifiers.flattenNestedViewRenderNodes)\r\n .callFn([nodesExpression])\r\n ])\r\n .toStmt());\r\n }\r\n else if (this._isRootNode(parent)) {\r\n if (this.view.viewType !== view_type_1.ViewType.COMPONENT) {\r\n // store root nodes only for embedded/host views\r\n this.view.rootNodesOrAppElements.push(nodesExpression);\r\n }\r\n }\r\n else {\r\n if (lang_1.isPresent(parent.component) && lang_1.isPresent(ast.ngContentIndex)) {\r\n parent.addContentNode(ast.ngContentIndex, nodesExpression);\r\n }\r\n }\r\n return null;\r\n };\r\n ViewBuilderVisitor.prototype.visitElement = function (ast, parent) {\r\n var nodeIndex = this.view.nodes.length;\r\n var createRenderNodeExpr;\r\n var debugContextExpr = this.view.createMethod.resetDebugInfoExpr(nodeIndex, ast);\r\n if (nodeIndex === 0 && this.view.viewType === view_type_1.ViewType.HOST) {\r\n createRenderNodeExpr = o.THIS_EXPR.callMethod('selectOrCreateHostElement', [o.literal(ast.name), rootSelectorVar, debugContextExpr]);\r\n }\r\n else {\r\n createRenderNodeExpr = constants_1.ViewProperties.renderer.callMethod('createElement', [this._getParentRenderNode(parent), o.literal(ast.name), debugContextExpr]);\r\n }\r\n var fieldName = \"_el_\" + nodeIndex;\r\n this.view.fields.push(new o.ClassField(fieldName, o.importType(this.view.genConfig.renderTypes.renderElement), [o.StmtModifier.Private]));\r\n this.view.createMethod.addStmt(o.THIS_EXPR.prop(fieldName).set(createRenderNodeExpr).toStmt());\r\n var renderNode = o.THIS_EXPR.prop(fieldName);\r\n var component = ast.getComponent();\r\n var directives = ast.directives.map(function (directiveAst) { return directiveAst.directive; });\r\n var htmlAttrs = _readHtmlAttrs(ast.attrs);\r\n var attrNameAndValues = _mergeHtmlAndDirectiveAttrs(htmlAttrs, directives);\r\n for (var i = 0; i < attrNameAndValues.length; i++) {\r\n var attrName = attrNameAndValues[i][0];\r\n var attrValue = attrNameAndValues[i][1];\r\n this.view.createMethod.addStmt(constants_1.ViewProperties.renderer.callMethod('setElementAttribute', [renderNode, o.literal(attrName), o.literal(attrValue)])\r\n .toStmt());\r\n }\r\n var compileElement = new compile_element_1.CompileElement(parent, this.view, nodeIndex, renderNode, ast, component, directives, ast.providers, ast.hasViewContainer, false, ast.references);\r\n this.view.nodes.push(compileElement);\r\n var compViewExpr = null;\r\n if (lang_1.isPresent(component)) {\r\n var nestedComponentIdentifier = new compile_metadata_1.CompileIdentifierMetadata({ name: util_1.getViewFactoryName(component, 0) });\r\n this.targetDependencies.push(new ViewCompileDependency(component, nestedComponentIdentifier));\r\n compViewExpr = o.variable(\"compView_\" + nodeIndex);\r\n compileElement.setComponentView(compViewExpr);\r\n this.view.createMethod.addStmt(compViewExpr.set(o.importExpr(nestedComponentIdentifier)\r\n .callFn([\r\n constants_1.ViewProperties.viewUtils,\r\n compileElement.injector,\r\n compileElement.appElement\r\n ]))\r\n .toDeclStmt());\r\n }\r\n compileElement.beforeChildren();\r\n this._addRootNodeAndProject(compileElement, ast.ngContentIndex, parent);\r\n template_ast_1.templateVisitAll(this, ast.children, compileElement);\r\n compileElement.afterChildren(this.view.nodes.length - nodeIndex - 1);\r\n if (lang_1.isPresent(compViewExpr)) {\r\n var codeGenContentNodes;\r\n if (this.view.component.type.isHost) {\r\n codeGenContentNodes = constants_1.ViewProperties.projectableNodes;\r\n }\r\n else {\r\n codeGenContentNodes = o.literalArr(compileElement.contentNodesByNgContentIndex.map(function (nodes) { return util_1.createFlatArray(nodes); }));\r\n }\r\n this.view.createMethod.addStmt(compViewExpr.callMethod('create', [codeGenContentNodes, o.NULL_EXPR]).toStmt());\r\n }\r\n return null;\r\n };\r\n ViewBuilderVisitor.prototype.visitEmbeddedTemplate = function (ast, parent) {\r\n var nodeIndex = this.view.nodes.length;\r\n var fieldName = \"_anchor_\" + nodeIndex;\r\n this.view.fields.push(new o.ClassField(fieldName, o.importType(this.view.genConfig.renderTypes.renderComment), [o.StmtModifier.Private]));\r\n this.view.createMethod.addStmt(o.THIS_EXPR.prop(fieldName)\r\n .set(constants_1.ViewProperties.renderer.callMethod('createTemplateAnchor', [\r\n this._getParentRenderNode(parent),\r\n this.view.createMethod.resetDebugInfoExpr(nodeIndex, ast)\r\n ]))\r\n .toStmt());\r\n var renderNode = o.THIS_EXPR.prop(fieldName);\r\n var templateVariableBindings = ast.variables.map(function (varAst) { return [varAst.value.length > 0 ? varAst.value : IMPLICIT_TEMPLATE_VAR, varAst.name]; });\r\n var directives = ast.directives.map(function (directiveAst) { return directiveAst.directive; });\r\n var compileElement = new compile_element_1.CompileElement(parent, this.view, nodeIndex, renderNode, ast, null, directives, ast.providers, ast.hasViewContainer, true, ast.references);\r\n this.view.nodes.push(compileElement);\r\n this.nestedViewCount++;\r\n var embeddedView = new compile_view_1.CompileView(this.view.component, this.view.genConfig, this.view.pipeMetas, o.NULL_EXPR, this.view.viewIndex + this.nestedViewCount, compileElement, templateVariableBindings);\r\n this.nestedViewCount += buildView(embeddedView, ast.children, this.targetDependencies);\r\n compileElement.beforeChildren();\r\n this._addRootNodeAndProject(compileElement, ast.ngContentIndex, parent);\r\n compileElement.afterChildren(0);\r\n return null;\r\n };\r\n ViewBuilderVisitor.prototype.visitAttr = function (ast, ctx) { return null; };\r\n ViewBuilderVisitor.prototype.visitDirective = function (ast, ctx) { return null; };\r\n ViewBuilderVisitor.prototype.visitEvent = function (ast, eventTargetAndNames) {\r\n return null;\r\n };\r\n ViewBuilderVisitor.prototype.visitReference = function (ast, ctx) { return null; };\r\n ViewBuilderVisitor.prototype.visitVariable = function (ast, ctx) { return null; };\r\n ViewBuilderVisitor.prototype.visitDirectiveProperty = function (ast, context) { return null; };\r\n ViewBuilderVisitor.prototype.visitElementProperty = function (ast, context) { return null; };\r\n return ViewBuilderVisitor;\r\n}());\r\nfunction _mergeHtmlAndDirectiveAttrs(declaredHtmlAttrs, directives) {\r\n var result = {};\r\n collection_1.StringMapWrapper.forEach(declaredHtmlAttrs, function (value, key) { result[key] = value; });\r\n directives.forEach(function (directiveMeta) {\r\n collection_1.StringMapWrapper.forEach(directiveMeta.hostAttributes, function (value, name) {\r\n var prevValue = result[name];\r\n result[name] = lang_1.isPresent(prevValue) ? mergeAttributeValue(name, prevValue, value) : value;\r\n });\r\n });\r\n return mapToKeyValueArray(result);\r\n}\r\nfunction _readHtmlAttrs(attrs) {\r\n var htmlAttrs = {};\r\n attrs.forEach(function (ast) { htmlAttrs[ast.name] = ast.value; });\r\n return htmlAttrs;\r\n}\r\nfunction mergeAttributeValue(attrName, attrValue1, attrValue2) {\r\n if (attrName == CLASS_ATTR || attrName == STYLE_ATTR) {\r\n return attrValue1 + \" \" + attrValue2;\r\n }\r\n else {\r\n return attrValue2;\r\n }\r\n}\r\nfunction mapToKeyValueArray(data) {\r\n var entryArray = [];\r\n collection_1.StringMapWrapper.forEach(data, function (value, name) { entryArray.push([name, value]); });\r\n // We need to sort to get a defined output order\r\n // for tests and for caching generated artifacts...\r\n collection_1.ListWrapper.sort(entryArray, function (entry1, entry2) { return lang_1.StringWrapper.compare(entry1[0], entry2[0]); });\r\n var keyValueArray = [];\r\n entryArray.forEach(function (entry) { keyValueArray.push([entry[0], entry[1]]); });\r\n return keyValueArray;\r\n}\r\nfunction createViewTopLevelStmts(view, targetStatements) {\r\n var nodeDebugInfosVar = o.NULL_EXPR;\r\n if (view.genConfig.genDebugInfo) {\r\n nodeDebugInfosVar = o.variable(\"nodeDebugInfos_\" + view.component.type.name + view.viewIndex);\r\n targetStatements.push(nodeDebugInfosVar\r\n .set(o.literalArr(view.nodes.map(createStaticNodeDebugInfo), new o.ArrayType(new o.ExternalType(identifiers_1.Identifiers.StaticNodeDebugInfo), [o.TypeModifier.Const])))\r\n .toDeclStmt(null, [o.StmtModifier.Final]));\r\n }\r\n var renderCompTypeVar = o.variable(\"renderType_\" + view.component.type.name);\r\n if (view.viewIndex === 0) {\r\n targetStatements.push(renderCompTypeVar.set(o.NULL_EXPR)\r\n .toDeclStmt(o.importType(identifiers_1.Identifiers.RenderComponentType)));\r\n }\r\n var viewClass = createViewClass(view, renderCompTypeVar, nodeDebugInfosVar);\r\n targetStatements.push(viewClass);\r\n targetStatements.push(createViewFactory(view, viewClass, renderCompTypeVar));\r\n}\r\nfunction createStaticNodeDebugInfo(node) {\r\n var compileElement = node instanceof compile_element_1.CompileElement ? node : null;\r\n var providerTokens = [];\r\n var componentToken = o.NULL_EXPR;\r\n var varTokenEntries = [];\r\n if (lang_1.isPresent(compileElement)) {\r\n providerTokens = compileElement.getProviderTokens();\r\n if (lang_1.isPresent(compileElement.component)) {\r\n componentToken = util_1.createDiTokenExpression(identifiers_1.identifierToken(compileElement.component.type));\r\n }\r\n collection_1.StringMapWrapper.forEach(compileElement.referenceTokens, function (token, varName) {\r\n varTokenEntries.push([varName, lang_1.isPresent(token) ? util_1.createDiTokenExpression(token) : o.NULL_EXPR]);\r\n });\r\n }\r\n return o.importExpr(identifiers_1.Identifiers.StaticNodeDebugInfo)\r\n .instantiate([\r\n o.literalArr(providerTokens, new o.ArrayType(o.DYNAMIC_TYPE, [o.TypeModifier.Const])),\r\n componentToken,\r\n o.literalMap(varTokenEntries, new o.MapType(o.DYNAMIC_TYPE, [o.TypeModifier.Const]))\r\n ], o.importType(identifiers_1.Identifiers.StaticNodeDebugInfo, null, [o.TypeModifier.Const]));\r\n}\r\nfunction createViewClass(view, renderCompTypeVar, nodeDebugInfosVar) {\r\n var emptyTemplateVariableBindings = view.templateVariableBindings.map(function (entry) { return [entry[0], o.NULL_EXPR]; });\r\n var viewConstructorArgs = [\r\n new o.FnParam(constants_1.ViewConstructorVars.viewUtils.name, o.importType(identifiers_1.Identifiers.ViewUtils)),\r\n new o.FnParam(constants_1.ViewConstructorVars.parentInjector.name, o.importType(identifiers_1.Identifiers.Injector)),\r\n new o.FnParam(constants_1.ViewConstructorVars.declarationEl.name, o.importType(identifiers_1.Identifiers.AppElement))\r\n ];\r\n var viewConstructor = new o.ClassMethod(null, viewConstructorArgs, [\r\n o.SUPER_EXPR.callFn([\r\n o.variable(view.className),\r\n renderCompTypeVar,\r\n constants_1.ViewTypeEnum.fromValue(view.viewType),\r\n o.literalMap(emptyTemplateVariableBindings),\r\n constants_1.ViewConstructorVars.viewUtils,\r\n constants_1.ViewConstructorVars.parentInjector,\r\n constants_1.ViewConstructorVars.declarationEl,\r\n constants_1.ChangeDetectionStrategyEnum.fromValue(getChangeDetectionMode(view)),\r\n nodeDebugInfosVar\r\n ])\r\n .toStmt()\r\n ]);\r\n var viewMethods = [\r\n new o.ClassMethod('createInternal', [new o.FnParam(rootSelectorVar.name, o.STRING_TYPE)], generateCreateMethod(view), o.importType(identifiers_1.Identifiers.AppElement)),\r\n new o.ClassMethod('injectorGetInternal', [\r\n new o.FnParam(constants_1.InjectMethodVars.token.name, o.DYNAMIC_TYPE),\r\n // Note: Can't use o.INT_TYPE here as the method in AppView uses number\r\n new o.FnParam(constants_1.InjectMethodVars.requestNodeIndex.name, o.NUMBER_TYPE),\r\n new o.FnParam(constants_1.InjectMethodVars.notFoundResult.name, o.DYNAMIC_TYPE)\r\n ], addReturnValuefNotEmpty(view.injectorGetMethod.finish(), constants_1.InjectMethodVars.notFoundResult), o.DYNAMIC_TYPE),\r\n new o.ClassMethod('detectChangesInternal', [new o.FnParam(constants_1.DetectChangesVars.throwOnChange.name, o.BOOL_TYPE)], generateDetectChangesMethod(view)),\r\n new o.ClassMethod('dirtyParentQueriesInternal', [], view.dirtyParentQueriesMethod.finish()),\r\n new o.ClassMethod('destroyInternal', [], view.destroyMethod.finish())\r\n ].concat(view.eventHandlerMethods);\r\n var viewClass = new o.ClassStmt(view.className, o.importExpr(identifiers_1.Identifiers.AppView, [getContextType(view)]), view.fields, view.getters, viewConstructor, viewMethods.filter(function (method) { return method.body.length > 0; }));\r\n return viewClass;\r\n}\r\nfunction createViewFactory(view, viewClass, renderCompTypeVar) {\r\n var viewFactoryArgs = [\r\n new o.FnParam(constants_1.ViewConstructorVars.viewUtils.name, o.importType(identifiers_1.Identifiers.ViewUtils)),\r\n new o.FnParam(constants_1.ViewConstructorVars.parentInjector.name, o.importType(identifiers_1.Identifiers.Injector)),\r\n new o.FnParam(constants_1.ViewConstructorVars.declarationEl.name, o.importType(identifiers_1.Identifiers.AppElement))\r\n ];\r\n var initRenderCompTypeStmts = [];\r\n var templateUrlInfo;\r\n if (view.component.template.templateUrl == view.component.type.moduleUrl) {\r\n templateUrlInfo =\r\n view.component.type.moduleUrl + \" class \" + view.component.type.name + \" - inline template\";\r\n }\r\n else {\r\n templateUrlInfo = view.component.template.templateUrl;\r\n }\r\n if (view.viewIndex === 0) {\r\n initRenderCompTypeStmts = [\r\n new o.IfStmt(renderCompTypeVar.identical(o.NULL_EXPR), [\r\n renderCompTypeVar.set(constants_1.ViewConstructorVars\r\n .viewUtils.callMethod('createRenderComponentType', [\r\n o.literal(templateUrlInfo),\r\n o.literal(view.component\r\n .template.ngContentSelectors.length),\r\n constants_1.ViewEncapsulationEnum\r\n .fromValue(view.component.template.encapsulation),\r\n view.styles\r\n ]))\r\n .toStmt()\r\n ])\r\n ];\r\n }\r\n return o.fn(viewFactoryArgs, initRenderCompTypeStmts.concat([\r\n new o.ReturnStatement(o.variable(viewClass.name)\r\n .instantiate(viewClass.constructorMethod.params.map(function (param) { return o.variable(param.name); })))\r\n ]), o.importType(identifiers_1.Identifiers.AppView, [getContextType(view)]))\r\n .toDeclStmt(view.viewFactory.name, [o.StmtModifier.Final]);\r\n}\r\nfunction generateCreateMethod(view) {\r\n var parentRenderNodeExpr = o.NULL_EXPR;\r\n var parentRenderNodeStmts = [];\r\n if (view.viewType === view_type_1.ViewType.COMPONENT) {\r\n parentRenderNodeExpr = constants_1.ViewProperties.renderer.callMethod('createViewRoot', [o.THIS_EXPR.prop('declarationAppElement').prop('nativeElement')]);\r\n parentRenderNodeStmts = [\r\n parentRenderNodeVar.set(parentRenderNodeExpr)\r\n .toDeclStmt(o.importType(view.genConfig.renderTypes.renderNode), [o.StmtModifier.Final])\r\n ];\r\n }\r\n var resultExpr;\r\n if (view.viewType === view_type_1.ViewType.HOST) {\r\n resultExpr = view.nodes[0].appElement;\r\n }\r\n else {\r\n resultExpr = o.NULL_EXPR;\r\n }\r\n return parentRenderNodeStmts.concat(view.createMethod.finish())\r\n .concat([\r\n o.THIS_EXPR.callMethod('init', [\r\n util_1.createFlatArray(view.rootNodesOrAppElements),\r\n o.literalArr(view.nodes.map(function (node) { return node.renderNode; })),\r\n o.literalArr(view.disposables),\r\n o.literalArr(view.subscriptions)\r\n ])\r\n .toStmt(),\r\n new o.ReturnStatement(resultExpr)\r\n ]);\r\n}\r\nfunction generateDetectChangesMethod(view) {\r\n var stmts = [];\r\n if (view.detectChangesInInputsMethod.isEmpty() && view.updateContentQueriesMethod.isEmpty() &&\r\n view.afterContentLifecycleCallbacksMethod.isEmpty() &&\r\n view.detectChangesRenderPropertiesMethod.isEmpty() &&\r\n view.updateViewQueriesMethod.isEmpty() && view.afterViewLifecycleCallbacksMethod.isEmpty()) {\r\n return stmts;\r\n }\r\n collection_1.ListWrapper.addAll(stmts, view.detectChangesInInputsMethod.finish());\r\n stmts.push(o.THIS_EXPR.callMethod('detectContentChildrenChanges', [constants_1.DetectChangesVars.throwOnChange])\r\n .toStmt());\r\n var afterContentStmts = view.updateContentQueriesMethod.finish().concat(view.afterContentLifecycleCallbacksMethod.finish());\r\n if (afterContentStmts.length > 0) {\r\n stmts.push(new o.IfStmt(o.not(constants_1.DetectChangesVars.throwOnChange), afterContentStmts));\r\n }\r\n collection_1.ListWrapper.addAll(stmts, view.detectChangesRenderPropertiesMethod.finish());\r\n stmts.push(o.THIS_EXPR.callMethod('detectViewChildrenChanges', [constants_1.DetectChangesVars.throwOnChange])\r\n .toStmt());\r\n var afterViewStmts = view.updateViewQueriesMethod.finish().concat(view.afterViewLifecycleCallbacksMethod.finish());\r\n if (afterViewStmts.length > 0) {\r\n stmts.push(new o.IfStmt(o.not(constants_1.DetectChangesVars.throwOnChange), afterViewStmts));\r\n }\r\n var varStmts = [];\r\n var readVars = o.findReadVarNames(stmts);\r\n if (collection_1.SetWrapper.has(readVars, constants_1.DetectChangesVars.changed.name)) {\r\n varStmts.push(constants_1.DetectChangesVars.changed.set(o.literal(true)).toDeclStmt(o.BOOL_TYPE));\r\n }\r\n if (collection_1.SetWrapper.has(readVars, constants_1.DetectChangesVars.changes.name)) {\r\n varStmts.push(constants_1.DetectChangesVars.changes.set(o.NULL_EXPR)\r\n .toDeclStmt(new o.MapType(o.importType(identifiers_1.Identifiers.SimpleChange))));\r\n }\r\n if (collection_1.SetWrapper.has(readVars, constants_1.DetectChangesVars.valUnwrapper.name)) {\r\n varStmts.push(constants_1.DetectChangesVars.valUnwrapper.set(o.importExpr(identifiers_1.Identifiers.ValueUnwrapper).instantiate([]))\r\n .toDeclStmt(null, [o.StmtModifier.Final]));\r\n }\r\n return varStmts.concat(stmts);\r\n}\r\nfunction addReturnValuefNotEmpty(statements, value) {\r\n if (statements.length > 0) {\r\n return statements.concat([new o.ReturnStatement(value)]);\r\n }\r\n else {\r\n return statements;\r\n }\r\n}\r\nfunction getContextType(view) {\r\n var typeMeta = view.component.type;\r\n return typeMeta.isHost ? o.DYNAMIC_TYPE : o.importType(typeMeta);\r\n}\r\nfunction getChangeDetectionMode(view) {\r\n var mode;\r\n if (view.viewType === view_type_1.ViewType.COMPONENT) {\r\n mode = change_detection_1.isDefaultChangeDetectionStrategy(view.component.changeDetection) ?\r\n change_detection_1.ChangeDetectionStrategy.CheckAlways :\r\n change_detection_1.ChangeDetectionStrategy.CheckOnce;\r\n }\r\n else {\r\n mode = change_detection_1.ChangeDetectionStrategy.CheckAlways;\r\n }\r\n return mode;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld19idWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW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29tcGlsZUVsZW1lbnQpOiBhbnkge1xuICAgIC8vIHRoZSBwcm9qZWN0ZWQgbm9kZXMgb3JpZ2luYXRlIGZyb20gYSBkaWZmZXJlbnQgdmlldywgc28gd2UgZG9uJ3RcbiAgICAvLyBoYXZlIGRlYnVnIGluZm9ybWF0aW9uIGZvciB0aGVtLi4uXG4gICAgdGhpcy52aWV3LmNyZWF0ZU1ldGhvZC5yZXNldERlYnVnSW5mbyhudWxsLCBhc3QpO1xuICAgIHZhciBwYXJlbnRSZW5kZXJOb2RlID0gdGhpcy5fZ2V0UGFyZW50UmVuZGVyTm9kZShwYXJlbnQpO1xuICAgIHZhciBub2Rlc0V4cHJlc3Npb24gPSBWaWV3UHJvcGVydGllcy5wcm9qZWN0YWJsZU5vZGVzLmtleShcbiAgICAgICAgby5saXRlcmFsKGFzdC5pbmRleCksXG4gICAgICAgIG5ldyBvLkFycmF5VHlwZShvLmltcG9ydFR5cGUodGhpcy52aWV3LmdlbkNvbmZpZy5yZW5kZXJUeXBlcy5yZW5kZXJOb2RlKSkpO1xuICAgIGlmIChwYXJlbnRSZW5kZXJOb2RlICE9PSBvLk5VTExfRVhQUikge1xuICAgICAgdGhpcy52aWV3LmNyZWF0ZU1ldGhvZC5hZGRTdG10KFxuICAgICAgICAgIFZpZXdQcm9wZXJ0aWVzLnJlbmRlcmVyLmNhbGxNZXRob2QoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3Byb2plY3ROb2RlcycsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFyZW50UmVuZGVyTm9kZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG8uaW1wb3J0RXhwcihJZGVudGlmaWVycy5mbGF0dGVuTmVzdGVkVmlld1JlbmRlck5vZGVzKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA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UVsZW1lbnQpO1xuICAgIHZhciBjb21wVmlld0V4cHI6IG8uUmVhZFZhckV4cHIgPSBudWxsO1xuICAgIGlmIChpc1ByZXNlbnQoY29tcG9uZW50KSkge1xuICAgICAgdmFyIG5lc3RlZENvbXBvbmVudElkZW50aWZpZXIgPVxuICAgICAgICAgIG5ldyBDb21waWxlSWRlbnRpZmllck1ldGFkYXRhKHtuYW1lOiBnZXRWaWV3RmFjdG9yeU5hbWUoY29tcG9uZW50LCAwKX0pO1xuICAgICAgdGhpcy50YXJnZXREZXBlbmRlbmNpZXMucHVzaChuZXcgVmlld0NvbXBpbGVEZXBlbmRlbmN5KGNvbXBvbmVudCwgbmVzdGVkQ29tcG9uZW50SWRlbnRpZmllcikpO1xuICAgICAgY29tcFZpZXdFeHByID0gby52YXJpYWJsZShgY29tcFZpZXdfJHtub2RlSW5kZXh9YCk7XG4gICAgICBjb21waWxlRWxlbWVudC5zZXRDb21wb25lbnRWaWV3KGNvbXBWaWV3RXhwcik7XG4gICAgICB0aGlzLnZpZXcuY3JlYXRlTWV0aG9kLmFkZFN0bXQoY29tcFZpZXdFeHByLnNldChvLmltcG9ydEV4cHIobmVzdGVkQ29tcG9uZW50SWRlbnRpZmllcilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuY2FsbEZuKFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFZpZXdQcm9wZXJ0aWVzLnZpZXdVdGlscyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbXBpbGVFbGVtZW50LmluamVjdG9yLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29tcGlsZUVsZW1lbnQuYXBwRWxlbWVudFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC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ZURlYnVnSW5mb3NWYXI6IG8uRXhwcmVzc2lvbiA9IG8uTlVMTF9FWFBSO1xuICBpZiAodmlldy5nZW5Db25maWcuZ2VuRGVidWdJbmZvKSB7XG4gICAgbm9kZURlYnVnSW5mb3NWYXIgPSBvLnZhcmlhYmxlKGBub2RlRGVidWdJbmZvc18ke3ZpZXcuY29tcG9uZW50LnR5cGUubmFtZX0ke3ZpZXcudmlld0luZGV4fWApO1xuICAgIHRhcmdldFN0YXRlbWVudHMucHVzaChcbiAgICAgICAgKDxvLlJlYWRWYXJFeHByPm5vZGVEZWJ1Z0luZm9zVmFyKVxuICAgICAgICAgICAgLnNldChvLmxpdGVyYWxBcnIodmlldy5ub2Rlcy5tYXAoY3JlYXRlU3RhdGljTm9kZURlYnVnSW5mbyksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBuZXcgby5BcnJheVR5cGUobmV3IG8uRXh0ZXJuYWxUeXBlKElkZW50aWZpZXJzLlN0YXRpY05vZGVEZWJ1Z0luZm8pLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtvLlR5cGVNb2RpZmllci5Db25zdF0pKSlcbiAgICAgICAgICAgIC50b0RlY2xTdG10KG51bGwsIFtvLlN0bXRNb2RpZmllci5GaW5hbF0pKTtcbiAgfVxuXG5cbiAgdmFyIHJlbmRlckNvbXBUeXBlVmFyOiBvLlJlYWRWYXJFeHByID0gby52YXJpYWJsZShgcmVuZGVyVHlwZV8ke3ZpZXcuY29tcG9uZW50LnR5cGUubmFtZX1gKTtcbiAgaWYgKHZpZXcudmlld0luZGV4ID09PSAwKSB7XG4gICAgdGFyZ2V0U3RhdGVtZW50cy5wdXNoKHJlbmRlckNvbXBUeXBlVmFyLnNldChvLk5VTExfRVhQUilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC50b0RlY2xTdG10KG8uaW1wb3J0VHlwZShJZGVudGlmaWVycy5SZW5kZXJDb21wb25lbnRUeXBlKSkpO1x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lldykpLFxuICAgICAgICAgICAgICAgICAgbm9kZURlYnVnSW5mb3NWYXJcbiAgICAgICAgICAgICAgICBdKVxuICAgICAgICAudG9TdG10KClcbiAgXSk7XG5cbiAgdmFyIHZpZXdNZXRob2RzID0gW1xuICAgIG5ldyBvLkNsYXNzTWV0aG9kKCdjcmVhdGVJbnRlcm5hbCcsIFtuZXcgby5GblBhcmFtKHJvb3RTZWxlY3RvclZhci5uYW1lLCBvLlNUUklOR19UWVBFKV0sXG4gICAgICAgICAgICAgICAgICAgICAgZ2VuZXJhdGVDcmVhdGVNZXRob2QodmlldyksIG8uaW1wb3J0VHlwZShJZGVudGlmaWVycy5BcHBFbGVtZW50KSksXG4gICAgbmV3IG8uQ2xhc3NNZXRob2QoXG4gICAgICAgICdpbmplY3RvckdldEludGVybmFsJyxcbiAgICAgICAgW1xuICAgICAgICAgIG5ldyBvLkZuUGFyYW0oSW5qZWN0TWV0aG9kVmFycy50b2tlbi5uYW1lLCBvLkRZTkFNSUNfVFlQRSksXG4gICAgICAgICAgLy8gTm90ZTogQ2FuJ3QgdXNlIG8uSU5UX1RZUEUgaGVyZSBhcyB0aGUgbWV0aG9kIGluIEFwcFZpZXcgdXNlcyBudW1iZXJcbiAgICAgICAgICBuZXcgby5GblBhcmFtKEluamVjdE1ldGhvZFZhcnMucmVxdWVzdE5vZGVJbmRleC5uYW1lLCBvLk5VTUJFUl9UWVBFKSxcbiAgICAgICAgICBuZXcgby5GblBhcmFtKEluamVjdE1ldGhvZFZhcnMubm90Rm91bmRSZXN1bHQubmFtZSwgby5EWU5BTUlDX1RZUEUpXG4gICAgICAgIF0sXG4gICAgICAgIGFkZFJldHVyblZhbHVlZk5vdEVtcHR5KHZpZXcuaW5qZWN0b3JHZXRNZXRob2QuZmluaXNoKCksIEluamVjdE1ldGhvZFZhcnMubm90Rm91bmRSZXN1bHQpLFxuICAgICAgICBvLkRZTkFNSUNfVFlQRSksXG4gICAgbmV3IG8uQ2xhc3NNZXRob2QoJ2RldG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cnNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLnZpZXdVdGlscy5jYWxsTWV0aG9kKCdjcmVhdGVSZW5kZXJDb21wb25lbnRUeXBlJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgby5saXRlcmFsKHRlbXBsYXRlVXJsSW5mbyksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG8ubGl0ZXJhbCh2aWV3LmNvbXBvbmVudFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC50ZW1wbGF0ZS5uZ0NvbnRlbnRTZWxlY3RvcnMubGVuZ3RoKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgVmlld0VuY2Fwc3VsYXRpb25FbnVtXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZnJvbVZhbHVlKHZpZXcuY29tcG9uZW50LnRlbXBsYXRlLmVuY2Fwc3VsYXRpb24pLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2aWV3LnN0eWxlc1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXSkpXG4gICAgICAgICAgICAgICAgICAgICAgICAgLnRvU3RtdCgpXG4gICAgICAgICAgICAgICAgICAgXSlcbiAgICBdO1xuICB9XG4gIHJldHVybiBvLmZuKHZpZXdGYWN0b3J5QXJncywgaW5pdFJlbmRlckNvbXBUeXBlU3RtdHMuY29uY2F0KFtcbiAgICAgICAgICAgIG5ldyBvLlJldHVyblN0YXRlbWVudChvLnZhcmlhYmxlKHZpZXdDbGFzcy5uYW1lKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuaW5zdGFudGlhdGUodmlld0NsYXNzLmNvbnN0cnVjdG9yTWV0aG9kLnBhcmFtcy5tYXAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocGFyYW0pID0+IG8udmFyaWFibGUocGFyYW0ubmFtZSkpKSlcbiAgICAgICAgICBdKSxcbiAgICAgICAgICAgICAgby5pbXBvcnRUeXBlKElkZW50aWZpZXJzLkFwcFZpZXcsIFtnZXRDb250ZXh0VHlwZSh2aWV3KV0pKVxuICAgICAgLnRvRGVjbFN0bXQodmlldy52aWV3RmFjdG9yeS5uYW1lLCBbby5TdG10TW9kaWZpZXIuRmluYWxdKTtcbn1cblxuZnVuY3Rpb24gZ2VuZXJhdGVDcmVhdGVNZXRob2QodmlldzogQ29tcGlsZVZpZXcpOiBvLlN0YXRlbWVudFtdIHtcbiAgdmFyIHBhcmVudFJlbmRlck5vZGVFeHByOiBvLkV4cHJlc3Npb24gPSBvLk5VTExfRVhQUjtcbiAgdmFyIHBhcmVudFJlbmRlck5vZGVTdG10cyA9IFtdO1xuICBpZiAodmlldy52aWV3VHlwZSA9PT0gVmlld1R5cGUuQ09NUE9ORU5UKSB7XG4gICAgcGFyZW50UmVuZGVyTm9kZUV4cHIgPSBWaWV3UHJvcGVydGllcy5yZW5kZXJlci5jYWxsTWV0aG9kKFxuICAgICAgICAnY3JlYXRlVmlld1Jvb3QnLCBbby5USElTX0VYUFIucHJvcCgnZGVjbGFyYXRpb25BcHBFbGVtZW50JykucHJvcCgnbmF0aXZlRWxlbWVudCcpXSk7XG4gICAgcGFyZW50UmVuZGVyTm9kZVN0bXRzID0gW1xuICAgICAgcGFyZW50UmVuZGVyTm9kZVZhci5zZXQocGFyZW50UmVuZGVyTm9kZUV4cHIpXG4gICAgICAgICAgLnRvRGVjbFN0bXQoby5pbXBvcnRUeXBlKHZpZXcuZ2VuQ29uZmlnLnJlbmRlclR5cGVzLnJlbmRlck5vZGUpLCBbby5TdG10TW9kaWZpZXIuRmluYWxdKVxuICAgIF07XG4gIH1cbiAgdmFyIHJlc3VsdEV4cHI6IG8uRXhwcmVzc2lvbjtcbiAgaWYgKHZpZXcudmlld1R5cGUgPT09IFZpZXdUeXBlLkhPU1QpIHtcbiAgICByZXN1bHRFeHByID0gKDxDb21waWxlRWxlbWVudD52aWV3Lm5vZGVzWzBdKS5hcHBFbGVtZW50O1xuICB9IGVsc2Uge1xuICAgIHJlc3VsdEV4cHIgPSBvLk5VTExfRVhQUjtcbiAgfVxuICByZXR1cm4gcGFyZW50UmVuZGVyTm9kZVN0bXRzLmNvbmNhdCh2aWV3LmNyZWF0ZU1ldGhvZC5maW5pc2goKSlcbiAgICAgIC5jb25jYXQoW1xuICAgICAgICBvLlRISVNfRVhQUi5jYWxsTWV0aG9kKCdpbml0JyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjcmVhdGVGbGF0QXJyYXkodmlldy5yb290Tm9kZXNPckFwcEVsZW1lbnRzKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG8ubGl0ZXJhbEFycih2aWV3Lm5vZGVzLm1hcChub2RlID0+IG5vZGUucmVuZGVyTm9kZSkpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgby5saXRlcmFsQXJyKHZpZXcuZGlzcG9zYWJsZXMpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgby5saXRlcmFsQXJyKHZpZXcuc3Vic2NyaXB0aW9ucylcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIC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HM7XG4gIH1cbn1cblxuZnVuY3Rpb24gZ2V0Q29udGV4dFR5cGUodmlldzogQ29tcGlsZVZpZXcpOiBvLlR5cGUge1xuICB2YXIgdHlwZU1ldGEgPSB2aWV3LmNvbXBvbmVudC50eXBlO1xuICByZXR1cm4gdHlwZU1ldGEuaXNIb3N0ID8gby5EWU5BTUlDX1RZUEUgOiBvLmltcG9ydFR5cGUodHlwZU1ldGEpO1xufVxuXG5mdW5jdGlvbiBnZXRDaGFuZ2VEZXRlY3Rpb25Nb2RlKHZpZXc6IENvbXBpbGVWaWV3KTogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kge1xuICB2YXIgbW9kZTogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3k7XG4gIGlmICh2aWV3LnZpZXdUeXBlID09PSBWaWV3VHlwZS5DT01QT05FTlQpIHtcbiAgICBtb2RlID0gaXNEZWZhdWx0Q2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kodmlldy5jb21wb25lbnQuY2hhbmdlRGV0ZWN0aW9uKSA/XG4gICAgICAgICAgICAgICBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5DaGVja0Fsd2F5cyA6XG4gICAgICAgICAgICAgICBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5DaGVja09uY2U7XG4gIH0gZWxzZSB7XG4gICAgbW9kZSA9IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LkNoZWNrQWx3YXlzO1xuICB9XG4gIHJldHVybiBtb2RlO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar o = require('../output/output_ast');\r\nvar identifiers_1 = require('../identifiers');\r\nvar constants_1 = require('./constants');\r\nvar template_ast_1 = require('../template_ast');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar lifecycle_hooks_1 = require('angular2/src/core/metadata/lifecycle_hooks');\r\nvar constants_2 = require('angular2/src/core/change_detection/constants');\r\nvar util_1 = require('../util');\r\nvar expression_converter_1 = require('./expression_converter');\r\nvar compile_binding_1 = require('./compile_binding');\r\nfunction createBindFieldExpr(exprIndex) {\r\n return o.THIS_EXPR.prop(\"_expr_\" + exprIndex);\r\n}\r\nfunction createCurrValueExpr(exprIndex) {\r\n return o.variable(\"currVal_\" + exprIndex);\r\n}\r\nfunction bind(view, currValExpr, fieldExpr, parsedExpression, context, actions, method) {\r\n var checkExpression = expression_converter_1.convertCdExpressionToIr(view, context, parsedExpression, constants_1.DetectChangesVars.valUnwrapper);\r\n if (lang_1.isBlank(checkExpression.expression)) {\r\n // e.g. an empty expression was given\r\n return;\r\n }\r\n view.fields.push(new o.ClassField(fieldExpr.name, null, [o.StmtModifier.Private]));\r\n view.createMethod.addStmt(o.THIS_EXPR.prop(fieldExpr.name).set(o.importExpr(identifiers_1.Identifiers.uninitialized)).toStmt());\r\n if (checkExpression.needsValueUnwrapper) {\r\n var initValueUnwrapperStmt = constants_1.DetectChangesVars.valUnwrapper.callMethod('reset', []).toStmt();\r\n method.addStmt(initValueUnwrapperStmt);\r\n }\r\n method.addStmt(currValExpr.set(checkExpression.expression).toDeclStmt(null, [o.StmtModifier.Final]));\r\n var condition = o.importExpr(identifiers_1.Identifiers.checkBinding)\r\n .callFn([constants_1.DetectChangesVars.throwOnChange, fieldExpr, currValExpr]);\r\n if (checkExpression.needsValueUnwrapper) {\r\n condition = constants_1.DetectChangesVars.valUnwrapper.prop('hasWrappedValue').or(condition);\r\n }\r\n method.addStmt(new o.IfStmt(condition, actions.concat([o.THIS_EXPR.prop(fieldExpr.name).set(currValExpr).toStmt()])));\r\n}\r\nfunction bindRenderText(boundText, compileNode, view) {\r\n var bindingIndex = view.bindings.length;\r\n view.bindings.push(new compile_binding_1.CompileBinding(compileNode, boundText));\r\n var currValExpr = createCurrValueExpr(bindingIndex);\r\n var valueField = createBindFieldExpr(bindingIndex);\r\n view.detectChangesRenderPropertiesMethod.resetDebugInfo(compileNode.nodeIndex, boundText);\r\n bind(view, currValExpr, valueField, boundText.value, o.THIS_EXPR.prop('context'), [\r\n o.THIS_EXPR.prop('renderer')\r\n .callMethod('setText', [compileNode.renderNode, currValExpr])\r\n .toStmt()\r\n ], view.detectChangesRenderPropertiesMethod);\r\n}\r\nexports.bindRenderText = bindRenderText;\r\nfunction bindAndWriteToRenderer(boundProps, context, compileElement) {\r\n var view = compileElement.view;\r\n var renderNode = compileElement.renderNode;\r\n boundProps.forEach(function (boundProp) {\r\n var bindingIndex = view.bindings.length;\r\n view.bindings.push(new compile_binding_1.CompileBinding(compileElement, boundProp));\r\n view.detectChangesRenderPropertiesMethod.resetDebugInfo(compileElement.nodeIndex, boundProp);\r\n var fieldExpr = createBindFieldExpr(bindingIndex);\r\n var currValExpr = createCurrValueExpr(bindingIndex);\r\n var renderMethod;\r\n var renderValue = currValExpr;\r\n var updateStmts = [];\r\n switch (boundProp.type) {\r\n case template_ast_1.PropertyBindingType.Property:\r\n renderMethod = 'setElementProperty';\r\n if (view.genConfig.logBindingUpdate) {\r\n updateStmts.push(logBindingUpdateStmt(renderNode, boundProp.name, currValExpr));\r\n }\r\n break;\r\n case template_ast_1.PropertyBindingType.Attribute:\r\n renderMethod = 'setElementAttribute';\r\n renderValue =\r\n renderValue.isBlank().conditional(o.NULL_EXPR, renderValue.callMethod('toString', []));\r\n break;\r\n case template_ast_1.PropertyBindingType.Class:\r\n renderMethod = 'setElementClass';\r\n break;\r\n case template_ast_1.PropertyBindingType.Style:\r\n renderMethod = 'setElementStyle';\r\n var strValue = renderValue.callMethod('toString', []);\r\n if (lang_1.isPresent(boundProp.unit)) {\r\n strValue = strValue.plus(o.literal(boundProp.unit));\r\n }\r\n renderValue = renderValue.isBlank().conditional(o.NULL_EXPR, strValue);\r\n break;\r\n }\r\n updateStmts.push(o.THIS_EXPR.prop('renderer')\r\n .callMethod(renderMethod, [renderNode, o.literal(boundProp.name), renderValue])\r\n .toStmt());\r\n bind(view, currValExpr, fieldExpr, boundProp.value, context, updateStmts, view.detectChangesRenderPropertiesMethod);\r\n });\r\n}\r\nfunction bindRenderInputs(boundProps, compileElement) {\r\n bindAndWriteToRenderer(boundProps, o.THIS_EXPR.prop('context'), compileElement);\r\n}\r\nexports.bindRenderInputs = bindRenderInputs;\r\nfunction bindDirectiveHostProps(directiveAst, directiveInstance, compileElement) {\r\n bindAndWriteToRenderer(directiveAst.hostProperties, directiveInstance, compileElement);\r\n}\r\nexports.bindDirectiveHostProps = bindDirectiveHostProps;\r\nfunction bindDirectiveInputs(directiveAst, directiveInstance, compileElement) {\r\n if (directiveAst.inputs.length === 0) {\r\n return;\r\n }\r\n var view = compileElement.view;\r\n var detectChangesInInputsMethod = view.detectChangesInInputsMethod;\r\n detectChangesInInputsMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\r\n var lifecycleHooks = directiveAst.directive.lifecycleHooks;\r\n var calcChangesMap = lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.OnChanges) !== -1;\r\n var isOnPushComp = directiveAst.directive.isComponent &&\r\n !constants_2.isDefaultChangeDetectionStrategy(directiveAst.directive.changeDetection);\r\n if (calcChangesMap) {\r\n detectChangesInInputsMethod.addStmt(constants_1.DetectChangesVars.changes.set(o.NULL_EXPR).toStmt());\r\n }\r\n if (isOnPushComp) {\r\n detectChangesInInputsMethod.addStmt(constants_1.DetectChangesVars.changed.set(o.literal(false)).toStmt());\r\n }\r\n directiveAst.inputs.forEach(function (input) {\r\n var bindingIndex = view.bindings.length;\r\n view.bindings.push(new compile_binding_1.CompileBinding(compileElement, input));\r\n detectChangesInInputsMethod.resetDebugInfo(compileElement.nodeIndex, input);\r\n var fieldExpr = createBindFieldExpr(bindingIndex);\r\n var currValExpr = createCurrValueExpr(bindingIndex);\r\n var statements = [directiveInstance.prop(input.directiveName).set(currValExpr).toStmt()];\r\n if (calcChangesMap) {\r\n statements.push(new o.IfStmt(constants_1.DetectChangesVars.changes.identical(o.NULL_EXPR), [\r\n constants_1.DetectChangesVars.changes.set(o.literalMap([], new o.MapType(o.importType(identifiers_1.Identifiers.SimpleChange))))\r\n .toStmt()\r\n ]));\r\n statements.push(constants_1.DetectChangesVars.changes.key(o.literal(input.directiveName))\r\n .set(o.importExpr(identifiers_1.Identifiers.SimpleChange).instantiate([fieldExpr, currValExpr]))\r\n .toStmt());\r\n }\r\n if (isOnPushComp) {\r\n statements.push(constants_1.DetectChangesVars.changed.set(o.literal(true)).toStmt());\r\n }\r\n if (view.genConfig.logBindingUpdate) {\r\n statements.push(logBindingUpdateStmt(compileElement.renderNode, input.directiveName, currValExpr));\r\n }\r\n bind(view, currValExpr, fieldExpr, input.value, o.THIS_EXPR.prop('context'), statements, detectChangesInInputsMethod);\r\n });\r\n if (isOnPushComp) {\r\n detectChangesInInputsMethod.addStmt(new o.IfStmt(constants_1.DetectChangesVars.changed, [\r\n compileElement.appElement.prop('componentView')\r\n .callMethod('markAsCheckOnce', [])\r\n .toStmt()\r\n ]));\r\n }\r\n}\r\nexports.bindDirectiveInputs = bindDirectiveInputs;\r\nfunction logBindingUpdateStmt(renderNode, propName, value) {\r\n return o.THIS_EXPR.prop('renderer')\r\n .callMethod('setBindingDebugInfo', [\r\n renderNode,\r\n o.literal(\"ng-reflect-\" + util_1.camelCaseToDashCase(propName)),\r\n value.isBlank().conditional(o.NULL_EXPR, value.callMethod('toString', []))\r\n ])\r\n .toStmt();\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHlfYmluZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3ZpZXdfY29tcGlsZXIvcHJvcGVydHlfYmluZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFDQSxJQUFZLENBQUMsV0FBTSxzQkFBc0IsQ0FBQyxDQUFBO0FBQzFDLDRCQUEwQixn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cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar o = require('../output/output_ast');\r\nvar _DebugState = (function () {\r\n function _DebugState(nodeIndex, sourceAst) {\r\n this.nodeIndex = nodeIndex;\r\n this.sourceAst = sourceAst;\r\n }\r\n return _DebugState;\r\n}());\r\nvar NULL_DEBUG_STATE = new _DebugState(null, null);\r\nvar CompileMethod = (function () {\r\n function CompileMethod(_view) {\r\n this._view = _view;\r\n this._newState = NULL_DEBUG_STATE;\r\n this._currState = NULL_DEBUG_STATE;\r\n this._bodyStatements = [];\r\n this._debugEnabled = this._view.genConfig.genDebugInfo;\r\n }\r\n CompileMethod.prototype._updateDebugContextIfNeeded = function () {\r\n if (this._newState.nodeIndex !== this._currState.nodeIndex ||\r\n this._newState.sourceAst !== this._currState.sourceAst) {\r\n var expr = this._updateDebugContext(this._newState);\r\n if (lang_1.isPresent(expr)) {\r\n this._bodyStatements.push(expr.toStmt());\r\n }\r\n }\r\n };\r\n CompileMethod.prototype._updateDebugContext = function (newState) {\r\n this._currState = this._newState = newState;\r\n if (this._debugEnabled) {\r\n var sourceLocation = lang_1.isPresent(newState.sourceAst) ? newState.sourceAst.sourceSpan.start : null;\r\n return o.THIS_EXPR.callMethod('debug', [\r\n o.literal(newState.nodeIndex),\r\n lang_1.isPresent(sourceLocation) ? o.literal(sourceLocation.line) : o.NULL_EXPR,\r\n lang_1.isPresent(sourceLocation) ? o.literal(sourceLocation.col) : o.NULL_EXPR\r\n ]);\r\n }\r\n else {\r\n return null;\r\n }\r\n };\r\n CompileMethod.prototype.resetDebugInfoExpr = function (nodeIndex, templateAst) {\r\n var res = this._updateDebugContext(new _DebugState(nodeIndex, templateAst));\r\n return lang_1.isPresent(res) ? res : o.NULL_EXPR;\r\n };\r\n CompileMethod.prototype.resetDebugInfo = function (nodeIndex, templateAst) {\r\n this._newState = new _DebugState(nodeIndex, templateAst);\r\n };\r\n CompileMethod.prototype.addStmt = function (stmt) {\r\n this._updateDebugContextIfNeeded();\r\n this._bodyStatements.push(stmt);\r\n };\r\n CompileMethod.prototype.addStmts = function (stmts) {\r\n this._updateDebugContextIfNeeded();\r\n collection_1.ListWrapper.addAll(this._bodyStatements, stmts);\r\n };\r\n CompileMethod.prototype.finish = function () { return this._bodyStatements; };\r\n CompileMethod.prototype.isEmpty = function () { return this._bodyStatements.length === 0; };\r\n return CompileMethod;\r\n}());\r\nexports.CompileMethod = CompileMethod;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZV9tZXRob2QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvdmlld19jb21waWxlci9jb21waWxlX21ldGhvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQWlDLDBCQUEwQixDQUFDLENBQUE7QUFDNUQsMkJBQXNDLGdDQUFnQyxDQUFDLENBQUE7QUFFdkUsSUFBWSxDQUFDLFdBQU0sc0JBQXNCLENBQUMsQ0FBQTtBQUsxQztJQUNFLHFCQUFtQixTQUFpQixFQUFTLFNBQXNCO1FBQWhELGNBQVMsR0FBVCxTQUFTLENBQVE7UUFBUyxjQUFTLEdBQVQsU0FBUyxDQUFhO0lBQUcsQ0FBQztJQUN6RSxrQkFBQztBQUFELENBQUMsQUFGRCxJQUVDO0FBRUQsSUFBSSxnQkFBZ0IsR0FBRyxJQUFJLFdBQVcsQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLENBQUM7QUFFbkQ7SUFRRSx1QkFBb0IsS0FBa0I7UUFBbEIsVUFBSyxHQUFMLEtBQUssQ0FBYTtRQVA5QixjQUFTLEdBQWdCLGdCQUFnQixDQUFDO1FBQzFDLGVBQVUsR0FBZ0IsZ0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KHN0bXQ6IG8uU3RhdGVtZW50KSB7XG4gICAgdGhpcy5fdXBkYXRlRGVidWdDb250ZXh0SWZOZWVkZWQoKTtcbiAgICB0aGlzLl9ib2R5U3RhdGVtZW50cy5wdXNoKHN0bXQpO1xuICB9XG5cbiAgYWRkU3RtdHMoc3RtdHM6IG8uU3RhdGVtZW50W10pIHtcbiAgICB0aGlzLl91cGRhdGVEZWJ1Z0NvbnRleHRJZk5lZWRlZCgpO1xuICAgIExpc3RXcmFwcGVyLmFkZEFsbCh0aGlzLl9ib2R5U3RhdGVtZW50cywgc3RtdHMpO1xuICB9XG5cbiAgZmluaXNoKCk6IG8uU3RhdGVtZW50W10geyByZXR1cm4gdGhpcy5fYm9keVN0YXRlbWVudHM7IH1cblxuICBpc0VtcHR5KCk6IGJvb2xlYW4geyByZXR1cm4gdGhpcy5fYm9keVN0YXRlbWVudHMubGVuZ3RoID09PSAwOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar o = require('../output/output_ast');\r\nvar identifiers_1 = require('../identifiers');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar IMPLICIT_RECEIVER = o.variable('#implicit');\r\nvar ExpressionWithWrappedValueInfo = (function () {\r\n function ExpressionWithWrappedValueInfo(expression, needsValueUnwrapper) {\r\n this.expression = expression;\r\n this.needsValueUnwrapper = needsValueUnwrapper;\r\n }\r\n return ExpressionWithWrappedValueInfo;\r\n}());\r\nexports.ExpressionWithWrappedValueInfo = ExpressionWithWrappedValueInfo;\r\nfunction convertCdExpressionToIr(nameResolver, implicitReceiver, expression, valueUnwrapper) {\r\n var visitor = new _AstToIrVisitor(nameResolver, implicitReceiver, valueUnwrapper);\r\n var irAst = expression.visit(visitor, _Mode.Expression);\r\n return new ExpressionWithWrappedValueInfo(irAst, visitor.needsValueUnwrapper);\r\n}\r\nexports.convertCdExpressionToIr = convertCdExpressionToIr;\r\nfunction convertCdStatementToIr(nameResolver, implicitReceiver, stmt) {\r\n var visitor = new _AstToIrVisitor(nameResolver, implicitReceiver, null);\r\n var statements = [];\r\n flattenStatements(stmt.visit(visitor, _Mode.Statement), statements);\r\n return statements;\r\n}\r\nexports.convertCdStatementToIr = convertCdStatementToIr;\r\nvar _Mode;\r\n(function (_Mode) {\r\n _Mode[_Mode[\"Statement\"] = 0] = \"Statement\";\r\n _Mode[_Mode[\"Expression\"] = 1] = \"Expression\";\r\n})(_Mode || (_Mode = {}));\r\nfunction ensureStatementMode(mode, ast) {\r\n if (mode !== _Mode.Statement) {\r\n throw new exceptions_1.BaseException(\"Expected a statement, but saw \" + ast);\r\n }\r\n}\r\nfunction ensureExpressionMode(mode, ast) {\r\n if (mode !== _Mode.Expression) {\r\n throw new exceptions_1.BaseException(\"Expected an expression, but saw \" + ast);\r\n }\r\n}\r\nfunction convertToStatementIfNeeded(mode, expr) {\r\n if (mode === _Mode.Statement) {\r\n return expr.toStmt();\r\n }\r\n else {\r\n return expr;\r\n }\r\n}\r\nvar _AstToIrVisitor = (function () {\r\n function _AstToIrVisitor(_nameResolver, _implicitReceiver, _valueUnwrapper) {\r\n this._nameResolver = _nameResolver;\r\n this._implicitReceiver = _implicitReceiver;\r\n this._valueUnwrapper = _valueUnwrapper;\r\n this.needsValueUnwrapper = false;\r\n }\r\n _AstToIrVisitor.prototype.visitBinary = function (ast, mode) {\r\n var op;\r\n switch (ast.operation) {\r\n case '+':\r\n op = o.BinaryOperator.Plus;\r\n break;\r\n case '-':\r\n op = o.BinaryOperator.Minus;\r\n break;\r\n case '*':\r\n op = o.BinaryOperator.Multiply;\r\n break;\r\n case '/':\r\n op = o.BinaryOperator.Divide;\r\n break;\r\n case '%':\r\n op = o.BinaryOperator.Modulo;\r\n break;\r\n case '&&':\r\n op = o.BinaryOperator.And;\r\n break;\r\n case '||':\r\n op = o.BinaryOperator.Or;\r\n break;\r\n case '==':\r\n op = o.BinaryOperator.Equals;\r\n break;\r\n case '!=':\r\n op = o.BinaryOperator.NotEquals;\r\n break;\r\n case '===':\r\n op = o.BinaryOperator.Identical;\r\n break;\r\n case '!==':\r\n op = o.BinaryOperator.NotIdentical;\r\n break;\r\n case '<':\r\n op = o.BinaryOperator.Lower;\r\n break;\r\n case '>':\r\n op = o.BinaryOperator.Bigger;\r\n break;\r\n case '<=':\r\n op = o.BinaryOperator.LowerEquals;\r\n break;\r\n case '>=':\r\n op = o.BinaryOperator.BiggerEquals;\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unsupported operation \" + ast.operation);\r\n }\r\n return convertToStatementIfNeeded(mode, new o.BinaryOperatorExpr(op, ast.left.visit(this, _Mode.Expression), ast.right.visit(this, _Mode.Expression)));\r\n };\r\n _AstToIrVisitor.prototype.visitChain = function (ast, mode) {\r\n ensureStatementMode(mode, ast);\r\n return this.visitAll(ast.expressions, mode);\r\n };\r\n _AstToIrVisitor.prototype.visitConditional = function (ast, mode) {\r\n var value = ast.condition.visit(this, _Mode.Expression);\r\n return convertToStatementIfNeeded(mode, value.conditional(ast.trueExp.visit(this, _Mode.Expression), ast.falseExp.visit(this, _Mode.Expression)));\r\n };\r\n _AstToIrVisitor.prototype.visitPipe = function (ast, mode) {\r\n var input = ast.exp.visit(this, _Mode.Expression);\r\n var args = this.visitAll(ast.args, _Mode.Expression);\r\n var value = this._nameResolver.callPipe(ast.name, input, args);\r\n this.needsValueUnwrapper = true;\r\n return convertToStatementIfNeeded(mode, this._valueUnwrapper.callMethod('unwrap', [value]));\r\n };\r\n _AstToIrVisitor.prototype.visitFunctionCall = function (ast, mode) {\r\n return convertToStatementIfNeeded(mode, ast.target.visit(this, _Mode.Expression)\r\n .callFn(this.visitAll(ast.args, _Mode.Expression)));\r\n };\r\n _AstToIrVisitor.prototype.visitImplicitReceiver = function (ast, mode) {\r\n ensureExpressionMode(mode, ast);\r\n return IMPLICIT_RECEIVER;\r\n };\r\n _AstToIrVisitor.prototype.visitInterpolation = function (ast, mode) {\r\n ensureExpressionMode(mode, ast);\r\n var args = [o.literal(ast.expressions.length)];\r\n for (var i = 0; i < ast.strings.length - 1; i++) {\r\n args.push(o.literal(ast.strings[i]));\r\n args.push(ast.expressions[i].visit(this, _Mode.Expression));\r\n }\r\n args.push(o.literal(ast.strings[ast.strings.length - 1]));\r\n return o.importExpr(identifiers_1.Identifiers.interpolate).callFn(args);\r\n };\r\n _AstToIrVisitor.prototype.visitKeyedRead = function (ast, mode) {\r\n return convertToStatementIfNeeded(mode, ast.obj.visit(this, _Mode.Expression).key(ast.key.visit(this, _Mode.Expression)));\r\n };\r\n _AstToIrVisitor.prototype.visitKeyedWrite = function (ast, mode) {\r\n var obj = ast.obj.visit(this, _Mode.Expression);\r\n var key = ast.key.visit(this, _Mode.Expression);\r\n var value = ast.value.visit(this, _Mode.Expression);\r\n return convertToStatementIfNeeded(mode, obj.key(key).set(value));\r\n };\r\n _AstToIrVisitor.prototype.visitLiteralArray = function (ast, mode) {\r\n return convertToStatementIfNeeded(mode, this._nameResolver.createLiteralArray(this.visitAll(ast.expressions, mode)));\r\n };\r\n _AstToIrVisitor.prototype.visitLiteralMap = function (ast, mode) {\r\n var parts = [];\r\n for (var i = 0; i < ast.keys.length; i++) {\r\n parts.push([ast.keys[i], ast.values[i].visit(this, _Mode.Expression)]);\r\n }\r\n return convertToStatementIfNeeded(mode, this._nameResolver.createLiteralMap(parts));\r\n };\r\n _AstToIrVisitor.prototype.visitLiteralPrimitive = function (ast, mode) {\r\n return convertToStatementIfNeeded(mode, o.literal(ast.value));\r\n };\r\n _AstToIrVisitor.prototype.visitMethodCall = function (ast, mode) {\r\n var args = this.visitAll(ast.args, _Mode.Expression);\r\n var result = null;\r\n var receiver = ast.receiver.visit(this, _Mode.Expression);\r\n if (receiver === IMPLICIT_RECEIVER) {\r\n var varExpr = this._nameResolver.getLocal(ast.name);\r\n if (lang_1.isPresent(varExpr)) {\r\n result = varExpr.callFn(args);\r\n }\r\n else {\r\n receiver = this._implicitReceiver;\r\n }\r\n }\r\n if (lang_1.isBlank(result)) {\r\n result = receiver.callMethod(ast.name, args);\r\n }\r\n return convertToStatementIfNeeded(mode, result);\r\n };\r\n _AstToIrVisitor.prototype.visitPrefixNot = function (ast, mode) {\r\n return convertToStatementIfNeeded(mode, o.not(ast.expression.visit(this, _Mode.Expression)));\r\n };\r\n _AstToIrVisitor.prototype.visitPropertyRead = function (ast, mode) {\r\n var result = null;\r\n var receiver = ast.receiver.visit(this, _Mode.Expression);\r\n if (receiver === IMPLICIT_RECEIVER) {\r\n result = this._nameResolver.getLocal(ast.name);\r\n if (lang_1.isBlank(result)) {\r\n receiver = this._implicitReceiver;\r\n }\r\n }\r\n if (lang_1.isBlank(result)) {\r\n result = receiver.prop(ast.name);\r\n }\r\n return convertToStatementIfNeeded(mode, result);\r\n };\r\n _AstToIrVisitor.prototype.visitPropertyWrite = function (ast, mode) {\r\n var receiver = ast.receiver.visit(this, _Mode.Expression);\r\n if (receiver === IMPLICIT_RECEIVER) {\r\n var varExpr = this._nameResolver.getLocal(ast.name);\r\n if (lang_1.isPresent(varExpr)) {\r\n throw new exceptions_1.BaseException('Cannot assign to a reference or variable!');\r\n }\r\n receiver = this._implicitReceiver;\r\n }\r\n return convertToStatementIfNeeded(mode, receiver.prop(ast.name).set(ast.value.visit(this, _Mode.Expression)));\r\n };\r\n _AstToIrVisitor.prototype.visitSafePropertyRead = function (ast, mode) {\r\n var receiver = ast.receiver.visit(this, _Mode.Expression);\r\n return convertToStatementIfNeeded(mode, receiver.isBlank().conditional(o.NULL_EXPR, receiver.prop(ast.name)));\r\n };\r\n _AstToIrVisitor.prototype.visitSafeMethodCall = function (ast, mode) {\r\n var receiver = ast.receiver.visit(this, _Mode.Expression);\r\n var args = this.visitAll(ast.args, _Mode.Expression);\r\n return convertToStatementIfNeeded(mode, receiver.isBlank().conditional(o.NULL_EXPR, receiver.callMethod(ast.name, args)));\r\n };\r\n _AstToIrVisitor.prototype.visitAll = function (asts, mode) {\r\n var _this = this;\r\n return asts.map(function (ast) { return ast.visit(_this, mode); });\r\n };\r\n _AstToIrVisitor.prototype.visitQuote = function (ast, mode) {\r\n throw new exceptions_1.BaseException('Quotes are not supported for evaluation!');\r\n };\r\n return _AstToIrVisitor;\r\n}());\r\nfunction flattenStatements(arg, output) {\r\n if (lang_1.isArray(arg)) {\r\n arg.forEach(function (entry) { return flattenStatements(entry, output); });\r\n }\r\n else {\r\n output.push(arg);\r\n }\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwcmVzc2lvbl9jb252ZXJ0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvdmlld19jb21waWxlci9leHByZXNzaW9uX2NvbnZlcnRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsSUFBWSxDQUFDLFdBQU0sc0JBQXNCLENBQUMsQ0FBQTtBQUMxQyw0QkFBMEIsZ0JBQWdCLENBQUMsQ0FBQTtBQUUzQywyQkFBNEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUM3RCxxQkFBc0QsMEJBQTBCLENBQUMsQ0FBQTtBQUVqRixJQUFJLGlCQUFpQixHQUFHLENBQUMsQ0FBQyxRQUFRLENBQUMsV0FBVyxDQUFDLENBQUM7QUFTaEQ7SUFDRSx3Q0FBbUIsVUFBd0IsRUFBUyxtQkFBNEI7UUFBN0QsZUFBVSxHQUFWLFVBQVUsQ0FBYztRQUFTLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBUztJQUFHLENBQUM7SUFDdEYscUNBQUM7QUFBRCxDQUFDLEFBRkQsSUFFQztBQUZZLHNDQUE4QixpQ0FFMUMsQ0FBQTtBQUVELGlDQUNJLFlBQTBCLEVBQUUsZ0JBQThCLEVBQUUsVUFBcUIsRUFDakYsY0FBNkI7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BlcmF0b3IuRGl2aWRlO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJyUnOlxuICAgICAgICBvcCA9IG8uQmluYXJ5T3BlcmF0b3IuTW9kdWxvO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJyYmJzpcbiAgICAgICAgb3AgPSBvLkJpbmFyeU9wZXJhdG9yLkFuZDtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICd8fCc6XG4gICAgICAgIG9wID0gby5CaW5hcnlPcGVyYXRvci5PcjtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICc9PSc6XG4gICAgICAgIG9wID0gby5CaW5hcnlPcGVyYXRvci5FcXVhbHM7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnIT0nOlxuICAgICAgICBvcCA9IG8uQmluYXJ5T3BlcmF0b3IuTm90RXF1YWxzO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJz09PSc6XG4gICAgICAgIG9wID0gby5CaW5hcnlPcGVyYXRvci5JZGVudGljYWw7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnIT09JzpcbiAgICAgICAgb3AgPSBvLkJpbmFyeU9wZXJhdG9yLk5vdElkZW50aWNhbDtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICc8JzpcbiAgICAgICAgb3AgPSBvLkJpbmFyeU9wZXJhdG9yLkxvd2VyO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJz4nOlxuICAgICAgICBvcCA9IG8uQmluYXJ5T3BlcmF0b3IuQmlnZ2VyO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJzw9JzpcbiAgICAgICAgb3AgPSBvLkJpbmFyeU9wZXJhdG9yLkxvd2VyRXF1YWxzO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJz49JzpcbiAgICAgICAgb3AgPSBvLkJpbmFyeU9wZXJhdG9yLkJpZ2dlckVxdWFscztcbiAgICAgICAgYnJlYW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XR1cm4gYXN0cy5tYXAoYXN0ID0+IGFzdC52aXNpdCh0aGlzLCBtb2RlKSk7IH1cbiAgdmlzaXRRdW90ZShhc3Q6IGNkQXN0LlF1b3RlLCBtb2RlOiBfTW9kZSk6IGFueSB7XG4gICAgdGhyb3cgbmV3IEJhc2VFeGNlcHRpb24oJ1F1b3RlcyBhcmUgbm90IHN1cHBvcnRlZCBmb3IgZXZhbHVhdGlvbiEnKTtcbiAgfVxufVxuXG5mdW5jdGlvbiBmbGF0dGVuU3RhdGVtZW50cyhhcmc6IGFueSwgb3V0cHV0OiBvLlN0YXRlbWVudFtdKSB7XG4gIGlmIChpc0FycmF5KGFyZykpIHtcbiAgICAoPGFueVtdPmFyZykuZm9yRWFjaCgoZW50cnkpID0+IGZsYXR0ZW5TdGF0ZW1lbnRzKGVudHJ5LCBvdXRwdXQpKTtcbiAgfSBlbHNlIHtcbiAgICBvdXRwdXQucHVzaChhcmcpO1xuICB9XG59Il19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar CompileBinding = (function () {\r\n function CompileBinding(node, sourceAst) {\r\n this.node = node;\r\n this.sourceAst = sourceAst;\r\n }\r\n return CompileBinding;\r\n}());\r\nexports.CompileBinding = CompileBinding;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZV9iaW5kaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3ZpZXdfY29tcGlsZXIvY29tcGlsZV9iaW5kaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFHQTtJQUNFLHdCQUFtQixJQUFpQixFQUFTLFNBQXNCO1FBQWhELFNBQUksR0FBSixJQUFJLENBQWE7UUFBUyxjQUFTLEdBQVQsU0FBUyxDQUFhO0lBQUcsQ0FBQztJQUN6RSxxQkFBQztBQUFELENBQUMsQUFGRCxJQUVDO0FBRlksc0JBQWMsaUJBRTFCLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBpbGVOb2RlfSBmcm9tICcuL2NvbXBpbGVfZWxlbWVudCc7XG5pbXBvcnQge1RlbXBsYXRlQXN0fSBmcm9tICcuLi90ZW1wbGF0ZV9hc3QnO1xuXG5leHBvcnQgY2xhc3MgQ29tcGlsZUJpbmRpbmcge1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgbm9kZTogQ29tcGlsZU5vZGUsIHB1YmxpYyBzb3VyY2VBc3Q6IFRlbXBsYXRlQXN0KSB7fVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar constants_1 = require('./constants');\r\nvar o = require('../output/output_ast');\r\nvar compile_method_1 = require('./compile_method');\r\nvar expression_converter_1 = require('./expression_converter');\r\nvar compile_binding_1 = require('./compile_binding');\r\nvar CompileEventListener = (function () {\r\n function CompileEventListener(compileElement, eventTarget, eventName, listenerIndex) {\r\n this.compileElement = compileElement;\r\n this.eventTarget = eventTarget;\r\n this.eventName = eventName;\r\n this._hasComponentHostListener = false;\r\n this._actionResultExprs = [];\r\n this._method = new compile_method_1.CompileMethod(compileElement.view);\r\n this._methodName =\r\n \"_handle_\" + santitizeEventName(eventName) + \"_\" + compileElement.nodeIndex + \"_\" + listenerIndex;\r\n this._eventParam =\r\n new o.FnParam(constants_1.EventHandlerVars.event.name, o.importType(this.compileElement.view.genConfig.renderTypes.renderEvent));\r\n }\r\n CompileEventListener.getOrCreate = function (compileElement, eventTarget, eventName, targetEventListeners) {\r\n var listener = targetEventListeners.find(function (listener) { return listener.eventTarget == eventTarget &&\r\n listener.eventName == eventName; });\r\n if (lang_1.isBlank(listener)) {\r\n listener = new CompileEventListener(compileElement, eventTarget, eventName, targetEventListeners.length);\r\n targetEventListeners.push(listener);\r\n }\r\n return listener;\r\n };\r\n CompileEventListener.prototype.addAction = function (hostEvent, directive, directiveInstance) {\r\n if (lang_1.isPresent(directive) && directive.isComponent) {\r\n this._hasComponentHostListener = true;\r\n }\r\n this._method.resetDebugInfo(this.compileElement.nodeIndex, hostEvent);\r\n var context = lang_1.isPresent(directiveInstance) ? directiveInstance : o.THIS_EXPR.prop('context');\r\n var actionStmts = expression_converter_1.convertCdStatementToIr(this.compileElement.view, context, hostEvent.handler);\r\n var lastIndex = actionStmts.length - 1;\r\n if (lastIndex >= 0) {\r\n var lastStatement = actionStmts[lastIndex];\r\n var returnExpr = convertStmtIntoExpression(lastStatement);\r\n var preventDefaultVar = o.variable(\"pd_\" + this._actionResultExprs.length);\r\n this._actionResultExprs.push(preventDefaultVar);\r\n if (lang_1.isPresent(returnExpr)) {\r\n // Note: We need to cast the result of the method call to dynamic,\r\n // as it might be a void method!\r\n actionStmts[lastIndex] =\r\n preventDefaultVar.set(returnExpr.cast(o.DYNAMIC_TYPE).notIdentical(o.literal(false)))\r\n .toDeclStmt(null, [o.StmtModifier.Final]);\r\n }\r\n }\r\n this._method.addStmts(actionStmts);\r\n };\r\n CompileEventListener.prototype.finishMethod = function () {\r\n var markPathToRootStart = this._hasComponentHostListener ?\r\n this.compileElement.appElement.prop('componentView') :\r\n o.THIS_EXPR;\r\n var resultExpr = o.literal(true);\r\n this._actionResultExprs.forEach(function (expr) { resultExpr = resultExpr.and(expr); });\r\n var stmts = [markPathToRootStart.callMethod('markPathToRootAsCheckOnce', []).toStmt()]\r\n .concat(this._method.finish())\r\n .concat([new o.ReturnStatement(resultExpr)]);\r\n this.compileElement.view.eventHandlerMethods.push(new o.ClassMethod(this._methodName, [this._eventParam], stmts, o.BOOL_TYPE, [o.StmtModifier.Private]));\r\n };\r\n CompileEventListener.prototype.listenToRenderer = function () {\r\n var listenExpr;\r\n var eventListener = o.THIS_EXPR.callMethod('eventHandler', [\r\n o.fn([this._eventParam], [\r\n new o.ReturnStatement(o.THIS_EXPR.callMethod(this._methodName, [constants_1.EventHandlerVars.event]))\r\n ])\r\n ]);\r\n if (lang_1.isPresent(this.eventTarget)) {\r\n listenExpr = constants_1.ViewProperties.renderer.callMethod('listenGlobal', [o.literal(this.eventTarget), o.literal(this.eventName), eventListener]);\r\n }\r\n else {\r\n listenExpr = constants_1.ViewProperties.renderer.callMethod('listen', [this.compileElement.renderNode, o.literal(this.eventName), eventListener]);\r\n }\r\n var disposable = o.variable(\"disposable_\" + this.compileElement.view.disposables.length);\r\n this.compileElement.view.disposables.push(disposable);\r\n this.compileElement.view.createMethod.addStmt(disposable.set(listenExpr).toDeclStmt(o.FUNCTION_TYPE, [o.StmtModifier.Private]));\r\n };\r\n CompileEventListener.prototype.listenToDirective = function (directiveInstance, observablePropName) {\r\n var subscription = o.variable(\"subscription_\" + this.compileElement.view.subscriptions.length);\r\n this.compileElement.view.subscriptions.push(subscription);\r\n var eventListener = o.THIS_EXPR.callMethod('eventHandler', [\r\n o.fn([this._eventParam], [o.THIS_EXPR.callMethod(this._methodName, [constants_1.EventHandlerVars.event]).toStmt()])\r\n ]);\r\n this.compileElement.view.createMethod.addStmt(subscription.set(directiveInstance.prop(observablePropName)\r\n .callMethod(o.BuiltinMethod.SubscribeObservable, [eventListener]))\r\n .toDeclStmt(null, [o.StmtModifier.Final]));\r\n };\r\n return CompileEventListener;\r\n}());\r\nexports.CompileEventListener = CompileEventListener;\r\nfunction collectEventListeners(hostEvents, dirs, compileElement) {\r\n var eventListeners = [];\r\n hostEvents.forEach(function (hostEvent) {\r\n compileElement.view.bindings.push(new compile_binding_1.CompileBinding(compileElement, hostEvent));\r\n var listener = CompileEventListener.getOrCreate(compileElement, hostEvent.target, hostEvent.name, eventListeners);\r\n listener.addAction(hostEvent, null, null);\r\n });\r\n collection_1.ListWrapper.forEachWithIndex(dirs, function (directiveAst, i) {\r\n var directiveInstance = compileElement.directiveInstances[i];\r\n directiveAst.hostEvents.forEach(function (hostEvent) {\r\n compileElement.view.bindings.push(new compile_binding_1.CompileBinding(compileElement, hostEvent));\r\n var listener = CompileEventListener.getOrCreate(compileElement, hostEvent.target, hostEvent.name, eventListeners);\r\n listener.addAction(hostEvent, directiveAst.directive, directiveInstance);\r\n });\r\n });\r\n eventListeners.forEach(function (listener) { return listener.finishMethod(); });\r\n return eventListeners;\r\n}\r\nexports.collectEventListeners = collectEventListeners;\r\nfunction bindDirectiveOutputs(directiveAst, directiveInstance, eventListeners) {\r\n collection_1.StringMapWrapper.forEach(directiveAst.directive.outputs, function (eventName, observablePropName) {\r\n eventListeners.filter(function (listener) { return listener.eventName == eventName; })\r\n .forEach(function (listener) { listener.listenToDirective(directiveInstance, observablePropName); });\r\n });\r\n}\r\nexports.bindDirectiveOutputs = bindDirectiveOutputs;\r\nfunction bindRenderOutputs(eventListeners) {\r\n eventListeners.forEach(function (listener) { return listener.listenToRenderer(); });\r\n}\r\nexports.bindRenderOutputs = bindRenderOutputs;\r\nfunction convertStmtIntoExpression(stmt) {\r\n if (stmt instanceof o.ExpressionStatement) {\r\n return stmt.expr;\r\n }\r\n else if (stmt instanceof o.ReturnStatement) {\r\n return stmt.value;\r\n }\r\n return null;\r\n}\r\nfunction santitizeEventName(name) {\r\n return lang_1.StringWrapper.replaceAll(name, /[^a-zA-Z_]/g, '_');\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnRfYmluZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3ZpZXdfY29tcGlsZXIvZXZlbnRfYmluZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBZ0QsMEJBQTBCLENBQUMsQ0FBQTtBQUMzRSwyQkFBNEMsZ0NBQ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lcigpKTtcbn1cblxuZnVuY3Rpb24gY29udmVydFN0bXRJbnRvRXhwcmVzc2lvbihzdG10OiBvLlN0YXRlbWVudCk6IG8uRXhwcmVzc2lvbiB7XG4gIGlmIChzdG10IGluc3RhbmNlb2Ygby5FeHByZXNzaW9uU3RhdGVtZW50KSB7XG4gICAgcmV0dXJuIHN0bXQuZXhwcjtcbiAgfSBlbHNlIGlmIChzdG10IGluc3RhbmNlb2Ygby5SZXR1cm5TdGF0ZW1lbnQpIHtcbiAgICByZXR1cm4gc3RtdC52YWx1ZTtcbiAgfVxuICByZXR1cm4gbnVsbDtcbn1cblxuZnVuY3Rpb24gc2FudGl0aXplRXZlbnROYW1lKG5hbWU6IHN0cmluZyk6IHN0cmluZyB7XG4gIHJldHVybiBTdHJpbmdXcmFwcGVyLnJlcGxhY2VBbGwobmFtZSwgL1teYS16QS1aX10vZywgJ18nKTtcbn0iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar compile_metadata_1 = require('../compile_metadata');\r\nvar change_detection_1 = require('angular2/src/core/change_detection/change_detection');\r\nvar view_1 = require('angular2/src/core/metadata/view');\r\nvar view_type_1 = require('angular2/src/core/linker/view_type');\r\nvar o = require('../output/output_ast');\r\nvar identifiers_1 = require('../identifiers');\r\nfunction _enumExpression(classIdentifier, value) {\r\n if (lang_1.isBlank(value))\r\n return o.NULL_EXPR;\r\n var name = lang_1.resolveEnumToken(classIdentifier.runtime, value);\r\n return o.importExpr(new compile_metadata_1.CompileIdentifierMetadata({\r\n name: classIdentifier.name + \".\" + name,\r\n moduleUrl: classIdentifier.moduleUrl,\r\n runtime: value\r\n }));\r\n}\r\nvar ViewTypeEnum = (function () {\r\n function ViewTypeEnum() {\r\n }\r\n ViewTypeEnum.fromValue = function (value) {\r\n return _enumExpression(identifiers_1.Identifiers.ViewType, value);\r\n };\r\n ViewTypeEnum.HOST = ViewTypeEnum.fromValue(view_type_1.ViewType.HOST);\r\n ViewTypeEnum.COMPONENT = ViewTypeEnum.fromValue(view_type_1.ViewType.COMPONENT);\r\n ViewTypeEnum.EMBEDDED = ViewTypeEnum.fromValue(view_type_1.ViewType.EMBEDDED);\r\n return ViewTypeEnum;\r\n}());\r\nexports.ViewTypeEnum = ViewTypeEnum;\r\nvar ViewEncapsulationEnum = (function () {\r\n function ViewEncapsulationEnum() {\r\n }\r\n ViewEncapsulationEnum.fromValue = function (value) {\r\n return _enumExpression(identifiers_1.Identifiers.ViewEncapsulation, value);\r\n };\r\n ViewEncapsulationEnum.Emulated = ViewEncapsulationEnum.fromValue(view_1.ViewEncapsulation.Emulated);\r\n ViewEncapsulationEnum.Native = ViewEncapsulationEnum.fromValue(view_1.ViewEncapsulation.Native);\r\n ViewEncapsulationEnum.None = ViewEncapsulationEnum.fromValue(view_1.ViewEncapsulation.None);\r\n return ViewEncapsulationEnum;\r\n}());\r\nexports.ViewEncapsulationEnum = ViewEncapsulationEnum;\r\nvar ChangeDetectorStateEnum = (function () {\r\n function ChangeDetectorStateEnum() {\r\n }\r\n ChangeDetectorStateEnum.fromValue = function (value) {\r\n return _enumExpression(identifiers_1.Identifiers.ChangeDetectorState, value);\r\n };\r\n ChangeDetectorStateEnum.NeverChecked = ChangeDetectorStateEnum.fromValue(change_detection_1.ChangeDetectorState.NeverChecked);\r\n ChangeDetectorStateEnum.CheckedBefore = ChangeDetectorStateEnum.fromValue(change_detection_1.ChangeDetectorState.CheckedBefore);\r\n ChangeDetectorStateEnum.Errored = ChangeDetectorStateEnum.fromValue(change_detection_1.ChangeDetectorState.Errored);\r\n return ChangeDetectorStateEnum;\r\n}());\r\nexports.ChangeDetectorStateEnum = ChangeDetectorStateEnum;\r\nvar ChangeDetectionStrategyEnum = (function () {\r\n function ChangeDetectionStrategyEnum() {\r\n }\r\n ChangeDetectionStrategyEnum.fromValue = function (value) {\r\n return _enumExpression(identifiers_1.Identifiers.ChangeDetectionStrategy, value);\r\n };\r\n ChangeDetectionStrategyEnum.CheckOnce = ChangeDetectionStrategyEnum.fromValue(change_detection_1.ChangeDetectionStrategy.CheckOnce);\r\n ChangeDetectionStrategyEnum.Checked = ChangeDetectionStrategyEnum.fromValue(change_detection_1.ChangeDetectionStrategy.Checked);\r\n ChangeDetectionStrategyEnum.CheckAlways = ChangeDetectionStrategyEnum.fromValue(change_detection_1.ChangeDetectionStrategy.CheckAlways);\r\n ChangeDetectionStrategyEnum.Detached = ChangeDetectionStrategyEnum.fromValue(change_detection_1.ChangeDetectionStrategy.Detached);\r\n ChangeDetectionStrategyEnum.OnPush = ChangeDetectionStrategyEnum.fromValue(change_detection_1.ChangeDetectionStrategy.OnPush);\r\n ChangeDetectionStrategyEnum.Default = ChangeDetectionStrategyEnum.fromValue(change_detection_1.ChangeDetectionStrategy.Default);\r\n return ChangeDetectionStrategyEnum;\r\n}());\r\nexports.ChangeDetectionStrategyEnum = ChangeDetectionStrategyEnum;\r\nvar ViewConstructorVars = (function () {\r\n function ViewConstructorVars() {\r\n }\r\n ViewConstructorVars.viewUtils = o.variable('viewUtils');\r\n ViewConstructorVars.parentInjector = o.variable('parentInjector');\r\n ViewConstructorVars.declarationEl = o.variable('declarationEl');\r\n return ViewConstructorVars;\r\n}());\r\nexports.ViewConstructorVars = ViewConstructorVars;\r\nvar ViewProperties = (function () {\r\n function ViewProperties() {\r\n }\r\n ViewProperties.renderer = o.THIS_EXPR.prop('renderer');\r\n ViewProperties.projectableNodes = o.THIS_EXPR.prop('projectableNodes');\r\n ViewProperties.viewUtils = o.THIS_EXPR.prop('viewUtils');\r\n return ViewProperties;\r\n}());\r\nexports.ViewProperties = ViewProperties;\r\nvar EventHandlerVars = (function () {\r\n function EventHandlerVars() {\r\n }\r\n EventHandlerVars.event = o.variable('$event');\r\n return EventHandlerVars;\r\n}());\r\nexports.EventHandlerVars = EventHandlerVars;\r\nvar InjectMethodVars = (function () {\r\n function InjectMethodVars() {\r\n }\r\n InjectMethodVars.token = o.variable('token');\r\n InjectMethodVars.requestNodeIndex = o.variable('requestNodeIndex');\r\n InjectMethodVars.notFoundResult = o.variable('notFoundResult');\r\n return InjectMethodVars;\r\n}());\r\nexports.InjectMethodVars = InjectMethodVars;\r\nvar DetectChangesVars = (function () {\r\n function DetectChangesVars() {\r\n }\r\n DetectChangesVars.throwOnChange = o.variable(\"throwOnChange\");\r\n DetectChangesVars.changes = o.variable(\"changes\");\r\n DetectChangesVars.changed = o.variable(\"changed\");\r\n DetectChangesVars.valUnwrapper = o.variable(\"valUnwrapper\");\r\n return DetectChangesVars;\r\n}());\r\nexports.DetectChangesVars = DetectChangesVars;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3ZpZXdfY29tcGlsZXIvY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBdUQsMEJBQTBCLENBQUMsQ0FBQTtBQUNsRixpQ0FBOEQscUJBQXFCLENBQUMsQ0FBQTtBQUNwRixpQ0FHTyxxREFBcUQsQ0FBQyxDQUFBO0FBQzdELHFCQUFnQyxpQ0FBaUMsQ0FBQyxDQUFBO0FBQ2xFLDBCQUF1QixvQ0FBb0MsQ0FBQyxDQUFBO0FBQzVELElBQVksQ0FBQyxXQUFNLHNCQUFzQixDQUFDLENBQUE7QUFDMUMsNEJBQTBCLGdCQUFnQixDQUFDLENBQUE7QUFFM0MseUJBQXlCLGVBQTBDLEVBQUUsS0FBVTtJQUM3RSxFQUFFLENBQUMsQ0FBQyxjQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7UUFBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQztJQUN2QyxJQUFJLElBQUksR0FBRyx1Qk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HMgPSBvLlRISVNfRVhQUi5wcm9wKCd2aWV3VXRpbHMnKTtcbn1cblxuZXhwb3J0IGNsYXNzIEV2ZW50SGFuZGxlclZhcnMgeyBzdGF0aWMgZXZlbnQgPSBvLnZhcmlhYmxlKCckZXZlbnQnKTsgfVxuXG5leHBvcnQgY2xhc3MgSW5qZWN0TWV0aG9kVmFycyB7XG4gIHN0YXRpYyB0b2tlbiA9IG8udmFyaWFibGUoJ3Rva2VuJyk7XG4gIHN0YXRpYyByZXF1ZXN0Tm9kZUluZGV4ID0gby52YXJpYWJsZSgncmVxdWVzdE5vZGVJbmRleCcpO1xuICBzdGF0aWMgbm90Rm91bmRSZXN1bHQgPSBvLnZhcmlhYmxlKCdub3RGb3VuZFJlc3VsdCcpO1xufVxuXG5leHBvcnQgY2xhc3MgRGV0ZWN0Q2hhbmdlc1ZhcnMge1xuICBzdGF0aWMgdGhyb3dPbkNoYW5nZSA9IG8udmFyaWFibGUoYHRocm93T25DaGFuZ2VgKTtcbiAgc3RhdGljIGNoYW5nZXMgPSBvLnZhcmlhYmxlKGBjaGFuZ2VzYCk7XG4gIHN0YXRpYyBjaGFuZ2VkID0gby52YXJpYWJsZShgY2hhbmdlZGApO1xuICBzdGF0aWMgdmFsVW53cmFwcGVyID0gby52YXJpYWJsZShgdmFsVW53cmFwcGVyYCk7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar o = require('../output/output_ast');\r\nvar constants_1 = require('./constants');\r\nvar lifecycle_hooks_1 = require('angular2/src/core/metadata/lifecycle_hooks');\r\nvar STATE_IS_NEVER_CHECKED = o.THIS_EXPR.prop('cdState').identical(constants_1.ChangeDetectorStateEnum.NeverChecked);\r\nvar NOT_THROW_ON_CHANGES = o.not(constants_1.DetectChangesVars.throwOnChange);\r\nfunction bindDirectiveDetectChangesLifecycleCallbacks(directiveAst, directiveInstance, compileElement) {\r\n var view = compileElement.view;\r\n var detectChangesInInputsMethod = view.detectChangesInInputsMethod;\r\n var lifecycleHooks = directiveAst.directive.lifecycleHooks;\r\n if (lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.OnChanges) !== -1 && directiveAst.inputs.length > 0) {\r\n detectChangesInInputsMethod.addStmt(new o.IfStmt(constants_1.DetectChangesVars.changes.notIdentical(o.NULL_EXPR), [directiveInstance.callMethod('ngOnChanges', [constants_1.DetectChangesVars.changes]).toStmt()]));\r\n }\r\n if (lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.OnInit) !== -1) {\r\n detectChangesInInputsMethod.addStmt(new o.IfStmt(STATE_IS_NEVER_CHECKED.and(NOT_THROW_ON_CHANGES), [directiveInstance.callMethod('ngOnInit', []).toStmt()]));\r\n }\r\n if (lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.DoCheck) !== -1) {\r\n detectChangesInInputsMethod.addStmt(new o.IfStmt(NOT_THROW_ON_CHANGES, [directiveInstance.callMethod('ngDoCheck', []).toStmt()]));\r\n }\r\n}\r\nexports.bindDirectiveDetectChangesLifecycleCallbacks = bindDirectiveDetectChangesLifecycleCallbacks;\r\nfunction bindDirectiveAfterContentLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\r\n var view = compileElement.view;\r\n var lifecycleHooks = directiveMeta.lifecycleHooks;\r\n var afterContentLifecycleCallbacksMethod = view.afterContentLifecycleCallbacksMethod;\r\n afterContentLifecycleCallbacksMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\r\n if (lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.AfterContentInit) !== -1) {\r\n afterContentLifecycleCallbacksMethod.addStmt(new o.IfStmt(STATE_IS_NEVER_CHECKED, [directiveInstance.callMethod('ngAfterContentInit', []).toStmt()]));\r\n }\r\n if (lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.AfterContentChecked) !== -1) {\r\n afterContentLifecycleCallbacksMethod.addStmt(directiveInstance.callMethod('ngAfterContentChecked', []).toStmt());\r\n }\r\n}\r\nexports.bindDirectiveAfterContentLifecycleCallbacks = bindDirectiveAfterContentLifecycleCallbacks;\r\nfunction bindDirectiveAfterViewLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\r\n var view = compileElement.view;\r\n var lifecycleHooks = directiveMeta.lifecycleHooks;\r\n var afterViewLifecycleCallbacksMethod = view.afterViewLifecycleCallbacksMethod;\r\n afterViewLifecycleCallbacksMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\r\n if (lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.AfterViewInit) !== -1) {\r\n afterViewLifecycleCallbacksMethod.addStmt(new o.IfStmt(STATE_IS_NEVER_CHECKED, [directiveInstance.callMethod('ngAfterViewInit', []).toStmt()]));\r\n }\r\n if (lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.AfterViewChecked) !== -1) {\r\n afterViewLifecycleCallbacksMethod.addStmt(directiveInstance.callMethod('ngAfterViewChecked', []).toStmt());\r\n }\r\n}\r\nexports.bindDirectiveAfterViewLifecycleCallbacks = bindDirectiveAfterViewLifecycleCallbacks;\r\nfunction bindDirectiveDestroyLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\r\n var onDestroyMethod = compileElement.view.destroyMethod;\r\n onDestroyMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\r\n if (directiveMeta.lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.OnDestroy) !== -1) {\r\n onDestroyMethod.addStmt(directiveInstance.callMethod('ngOnDestroy', []).toStmt());\r\n }\r\n}\r\nexports.bindDirectiveDestroyLifecycleCallbacks = bindDirectiveDestroyLifecycleCallbacks;\r\nfunction bindPipeDestroyLifecycleCallbacks(pipeMeta, pipeInstance, view) {\r\n var onDestroyMethod = view.destroyMethod;\r\n if (pipeMeta.lifecycleHooks.indexOf(lifecycle_hooks_1.LifecycleHooks.OnDestroy) !== -1) {\r\n onDestroyMethod.addStmt(pipeInstance.callMethod('ngOnDestroy', []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WxlbWVudCkge1xuICB2YXIgb25EZXN0cm95TWV0aG9kID0gY29tcGlsZUVsZW1lbnQudmlldy5kZXN0cm95TWV0aG9kO1xuICBvbkRlc3Ryb3lNZXRob2QucmVzZXREZWJ1Z0luZm8oY29tcGlsZUVsZW1lbnQubm9kZUluZGV4LCBjb21waWxlRWxlbWVudC5zb3VyY2VBc3QpO1xuICBpZiAoZGlyZWN0aXZlTWV0YS5saWZlY3ljbGVIb29rcy5pbmRleE9mKExpZmVjeWNsZUhvb2tzLk9uRGVzdHJveSkgIT09IC0xKSB7XG4gICAgb25EZXN0cm95TWV0aG9kLmFkZFN0bXQoZGlyZWN0aXZlSW5zdGFuY2UuY2FsbE1ldGhvZCgnbmdPbkRlc3Ryb3knLCBbXSkudG9TdG10KCkpO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBiaW5kUGlwZURlc3Ryb3lMaWZlY3ljbGVDYWxsYmFja3MocGlwZU1ldGE6IENvbXBpbGVQaXBlTWV0YWRhdGEsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBpcGVJbnN0YW5jZTogby5FeHByZXNzaW9uLCB2aWV3OiBDb21waWxlVmlldykge1xuICB2YXIgb25EZXN0cm95TWV0aG9kID0gdmlldy5kZXN0cm95TWV0aG9kO1xuICBpZiAocGlwZU1ldGEubGlmZWN5Y2xlSG9va3MuaW5kZXhPZihMaWZlY3ljbGVIb29rcy5PbkRlc3Ryb3kpICE9PSAtMSkge1xuICAgIG9uRGVzdHJveU1ldGhvZC5hZGRTdG10KHBpcGVJbnN0YW5jZS5jYWxsTWV0aG9kKCduZ09uRGVzdHJveScsIFtdKS50b1N0bXQoKSk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar template_ast_1 = require('../template_ast');\r\nvar property_binder_1 = require('./property_binder');\r\nvar event_binder_1 = require('./event_binder');\r\nvar lifecycle_binder_1 = require('./lifecycle_binder');\r\nfunction bindView(view, parsedTemplate) {\r\n var visitor = new ViewBinderVisitor(view);\r\n template_ast_1.templateVisitAll(visitor, parsedTemplate);\r\n view.pipes.forEach(function (pipe) { lifecycle_binder_1.bindPipeDestroyLifecycleCallbacks(pipe.meta, pipe.instance, pipe.view); });\r\n}\r\nexports.bindView = bindView;\r\nvar ViewBinderVisitor = (function () {\r\n function ViewBinderVisitor(view) {\r\n this.view = view;\r\n this._nodeIndex = 0;\r\n }\r\n ViewBinderVisitor.prototype.visitBoundText = function (ast, parent) {\r\n var node = this.view.nodes[this._nodeIndex++];\r\n property_binder_1.bindRenderText(ast, node, this.view);\r\n return null;\r\n };\r\n ViewBinderVisitor.prototype.visitText = function (ast, parent) {\r\n this._nodeIndex++;\r\n return null;\r\n };\r\n ViewBinderVisitor.prototype.visitNgContent = function (ast, parent) { return null; };\r\n ViewBinderVisitor.prototype.visitElement = function (ast, parent) {\r\n var compileElement = this.view.nodes[this._nodeIndex++];\r\n var eventListeners = event_binder_1.collectEventListeners(ast.outputs, ast.directives, compileElement);\r\n property_binder_1.bindRenderInputs(ast.inputs, compileElement);\r\n event_binder_1.bindRenderOutputs(eventListeners);\r\n collection_1.ListWrapper.forEachWithIndex(ast.directives, function (directiveAst, index) {\r\n var directiveInstance = compileElement.directiveInstances[index];\r\n property_binder_1.bindDirectiveInputs(directiveAst, directiveInstance, compileElement);\r\n lifecycle_binder_1.bindDirectiveDetectChangesLifecycleCallbacks(directiveAst, directiveInstance, compileElement);\r\n property_binder_1.bindDirectiveHostProps(directiveAst, directiveInstance, compileElement);\r\n event_binder_1.bindDirectiveOutputs(directiveAst, directiveInstance, eventListeners);\r\n });\r\n template_ast_1.templateVisitAll(this, ast.children, compileElement);\r\n // afterContent and afterView lifecycles need to be called bottom up\r\n // so that children are notified before parents\r\n collection_1.ListWrapper.forEachWithIndex(ast.directives, function (directiveAst, index) {\r\n var directiveInstance = compileElement.directiveInstances[index];\r\n lifecycle_binder_1.bindDirectiveAfterContentLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\r\n lifecycle_binder_1.bindDirectiveAfterViewLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\r\n lifecycle_binder_1.bindDirectiveDestroyLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\r\n });\r\n return null;\r\n };\r\n ViewBinderVisitor.prototype.visitEmbeddedTemplate = function (ast, parent) {\r\n var compileElement = this.view.nodes[this._nodeIndex++];\r\n var eventListeners = event_binder_1.collectEventListeners(ast.outputs, ast.directives, compileElement);\r\n collection_1.ListWrapper.forEachWithIndex(ast.directives, function (directiveAst, index) {\r\n var directiveInstance = compileElement.directiveInstances[index];\r\n property_binder_1.bindDirectiveInputs(directiveAst, directiveInstance, compileElement);\r\n lifecycle_binder_1.bindDirectiveDetectChangesLifecycleCallbacks(directiveAst, directiveInstance, compileElement);\r\n event_binder_1.bindDirectiveOutputs(directiveAst, directiveInstance, eventListeners);\r\n lifecycle_binder_1.bindDirectiveAfterContentLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\r\n lifecycle_binder_1.bindDirectiveAfterViewLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\r\n lifecycle_binder_1.bindDirectiveDestroyLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\r\n });\r\n bindView(compileElement.embeddedView, ast.children);\r\n return null;\r\n };\r\n ViewBinderVisitor.prototype.visitAttr = function (ast, ctx) { return null; };\r\n ViewBinderVisitor.prototype.visitDirective = function (ast, ctx) { return null; };\r\n ViewBinderVisitor.prototype.visitEvent = function (ast, eventTargetAndNames) {\r\n return null;\r\n };\r\n ViewBinderVisitor.prototype.visitReference = function (ast, ctx) { return null; };\r\n ViewBinderVisitor.prototype.visitVariable = function (ast, ctx) { return null; };\r\n ViewBinderVisitor.prototype.visitDirectiveProperty = function (ast, context) { return null; };\r\n ViewBinderVisitor.prototype.visitElementProperty = function (ast, context) { return null; };\r\n return ViewB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vdW5kRGlyZWN0aXZlUHJvcGVydHlBc3QsIGNvbnRleHQ6IGFueSk6IGFueSB7IHJldHVybiBudWxsOyB9XG4gIHZpc2l0RWxlbWVudFByb3BlcnR5KGFzdDogQm91bmRFbGVtZW50UHJvcGVydHlBc3QsIGNvbnRleHQ6IGFueSk6IGFueSB7IHJldHVybiBudWxsOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar compile_element_1 = require('./compile_element');\r\nvar compile_view_1 = require('./compile_view');\r\nvar view_builder_1 = require('./view_builder');\r\nvar view_binder_1 = require('./view_binder');\r\nvar config_1 = require('../config');\r\nvar ViewCompileResult = (function () {\r\n function ViewCompileResult(statements, viewFactoryVar, dependencies) {\r\n this.statements = statements;\r\n this.viewFactoryVar = viewFactoryVar;\r\n this.dependencies = dependencies;\r\n }\r\n return ViewCompileResult;\r\n}());\r\nexports.ViewCompileResult = ViewCompileResult;\r\nvar ViewCompiler = (function () {\r\n function ViewCompiler(_genConfig) {\r\n this._genConfig = _genConfig;\r\n }\r\n ViewCompiler.prototype.compileComponent = function (component, template, styles, pipes) {\r\n var statements = [];\r\n var dependencies = [];\r\n var view = new compile_view_1.CompileView(component, this._genConfig, pipes, styles, 0, compile_element_1.CompileElement.createNull(), []);\r\n view_builder_1.buildView(view, template, dependencies);\r\n // Need to separate binding from creation to be able to refer to\r\n // variables that have been declared after usage.\r\n view_binder_1.bindView(view, template);\r\n view_builder_1.finishView(view, statements);\r\n return new ViewCompileResult(statements, view.viewFactory.name, dependencies);\r\n };\r\n ViewCompiler = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [config_1.CompilerConfig])\r\n ], ViewCompiler);\r\n return ViewCompiler;\r\n}());\r\nexports.ViewCompiler = ViewCompiler;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld19jb21waWxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci92aWV3X2NvbXBpbGVyL3ZpZXdfY29tcGlsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLG1CQUF5QixzQkFBc0IsQ0FBQyxDQUFBO0FBR2hELGdDQUE2QixtQkFBbUIsQ0FBQyxDQUFBO0FBQ2pELDZCQUEwQixnQkFBZ0IsQ0FBQyxDQUFBO0FBQzNDLDZCQUEyRCxnQkFBZ0IsQ0FBQyxDQUFBO0FBQzVFLDRCQUF1QixlQUFlLENBQUMsQ0FBQTtBQUt2Qyx1QkFBNkIsV0FBVyxDQUFDLENBQUE7QUFFekM7SUFDRSwyQkFBbUIsVUFBeUIsRUFBUyxjQUFzQixFQUN4RCxZQUFxQztRQURyQyxlQUFVLEdBQVYsVUFBVSxDQUFlO1FBQVMsbUJBQWMsR0FBZCxjQUFjLENBQVE7UUFDeEQsaUJBQVksR0FBWixZQUFZLENBQXlCO0lBQUcsQ0FBQztJQUM5RCx3QkFBQztBQUFELENBQUMsQUFIRCxJQUdDO0FBSFkseUJBQWlCLG9CQUc3QixDQ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XBlTWV0YWRhdGFbXSk6IFZpZXdDb21waWxlUmVzdWx0IHtcbiAgICB2YXIgc3RhdGVtZW50cyA9IFtdO1xuICAgIHZhciBkZXBlbmRlbmNpZXMgPSBbXTtcbiAgICB2YXIgdmlldyA9IG5ldyBDb21waWxlVmlldyhjb21wb25lbnQsIHRoaXMuX2dlbkNvbmZpZywgcGlwZXMsIHN0eWxlcywgMCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBDb21waWxlRWxlbWVudC5jcmVhdGVOdWxsKCksIFtdKTtcbiAgICBidWlsZFZpZXcodmlldywgdGVtcGxhdGUsIGRlcGVuZGVuY2llcyk7XG4gICAgLy8gTmVlZCB0byBzZXBhcmF0ZSBiaW5kaW5nIGZyb20gY3JlYXRpb24gdG8gYmUgYWJsZSB0byByZWZlciB0b1xuICAgIC8vIHZhcmlhYmxlcyB0aGF0IGhhdmUgYmVlbiBkZWNsYXJlZCBhZnRlciB1c2FnZS5cbiAgICBiaW5kVmlldyh2aWV3LCB0ZW1wbGF0ZSk7XG4gICAgZmluaXNoVmlldyh2aWV3LCBzdGF0ZW1lbnRzKTtcblxuICAgIHJldHVybiBuZXcgVmlld0NvbXBpbGVSZXN1bHQoc3RhdGVtZW50cywgdmlldy52aWV3RmFjdG9yeS5uYW1lLCBkZXBlbmRlbmNpZXMpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar template_ast_1 = require('./template_ast');\r\nvar compile_metadata_1 = require('./compile_metadata');\r\nvar identifiers_1 = require('./identifiers');\r\nvar parse_util_1 = require('./parse_util');\r\nvar ProviderError = (function (_super) {\r\n __extends(ProviderError, _super);\r\n function ProviderError(message, span) {\r\n _super.call(this, span, message);\r\n }\r\n return ProviderError;\r\n}(parse_util_1.ParseError));\r\nexports.ProviderError = ProviderError;\r\nvar ProviderViewContext = (function () {\r\n function ProviderViewContext(component, sourceSpan) {\r\n var _this = this;\r\n this.component = component;\r\n this.sourceSpan = sourceSpan;\r\n this.errors = [];\r\n this.viewQueries = _getViewQueries(component);\r\n this.viewProviders = new compile_metadata_1.CompileTokenMap();\r\n _normalizeProviders(component.viewProviders, sourceSpan, this.errors)\r\n .forEach(function (provider) {\r\n if (lang_1.isBlank(_this.viewProviders.get(provider.token))) {\r\n _this.viewProviders.add(provider.token, true);\r\n }\r\n });\r\n }\r\n return ProviderViewContext;\r\n}());\r\nexports.ProviderViewContext = ProviderViewContext;\r\nvar ProviderElementContext = (function () {\r\n function ProviderElementContext(_viewContext, _parent, _isViewRoot, _directiveAsts, attrs, refs, _sourceSpan) {\r\n var _this = this;\r\n this._viewContext = _viewContext;\r\n this._parent = _parent;\r\n this._isViewRoot = _isViewRoot;\r\n this._directiveAsts = _directiveAsts;\r\n this._sourceSpan = _sourceSpan;\r\n this._transformedProviders = new compile_metadata_1.CompileTokenMap();\r\n this._seenProviders = new compile_metadata_1.CompileTokenMap();\r\n this._hasViewContainer = false;\r\n this._attrs = {};\r\n attrs.forEach(function (attrAst) { return _this._attrs[attrAst.name] = attrAst.value; });\r\n var directivesMeta = _directiveAsts.map(function (directiveAst) { return directiveAst.directive; });\r\n this._allProviders =\r\n _resolveProvidersFromDirectives(directivesMeta, _sourceSpan, _viewContext.errors);\r\n this._contentQueries = _getContentQueries(directivesMeta);\r\n var queriedTokens = new compile_metadata_1.CompileTokenMap();\r\n this._allProviders.values().forEach(function (provider) { _this._addQueryReadsTo(provider.token, queriedTokens); });\r\n refs.forEach(function (refAst) {\r\n _this._addQueryReadsTo(new compile_metadata_1.CompileTokenMetadata({ value: refAst.name }), queriedTokens);\r\n });\r\n if (lang_1.isPresent(queriedTokens.get(identifiers_1.identifierToken(identifiers_1.Identifiers.ViewContainerRef)))) {\r\n this._hasViewContainer = true;\r\n }\r\n // create the providers that we know are eager first\r\n this._allProviders.values().forEach(function (provider) {\r\n var eager = provider.eager || lang_1.isPresent(queriedTokens.get(provider.token));\r\n if (eager) {\r\n _this._getOrCreateLocalProvider(provider.providerType, provider.token, true);\r\n }\r\n });\r\n }\r\n ProviderElementContext.prototype.afterElement = function () {\r\n var _this = this;\r\n // collect lazy providers\r\n this._allProviders.values().forEach(function (provider) {\r\n _this._getOrCreateLocalProvider(provider.providerType, provider.token, false);\r\n });\r\n };\r\n Object.defineProperty(ProviderElementContext.prototype, \"transformProviders\", {\r\n get: function () { return this._transformedProviders.values(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ProviderElementContext.prototype, \"transformedDirectiveAsts\", {\r\n get: function () {\r\n var sortedProviderTypes = this._transformedProviders.values().map(function (provider) { return provider.token.identifier; });\r\n var sortedDirectives = collection_1.ListWrapper.clone(this._directiveAsts);\r\n collection_1.ListWrapper.sort(sortedDirectives, function (dir1, dir2) { return sortedProviderTypes.indexOf(dir1.directive.type) -\r\n sortedProviderTypes.indexOf(dir2.directive.type); });\r\n return sortedDirectives;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ProviderElementContext.prototype, \"transformedHasViewContainer\", {\r\n get: function () { return this._hasViewContainer; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ProviderElementContext.prototype._addQueryReadsTo = function (token, queryReadTokens) {\r\n this._getQueriesFor(token).forEach(function (query) {\r\n var queryReadToken = lang_1.isPresent(query.read) ? query.read : token;\r\n if (lang_1.isBlank(queryReadTokens.get(queryReadToken))) {\r\n queryReadTokens.add(queryReadToken, true);\r\n }\r\n });\r\n };\r\n ProviderElementContext.prototype._getQueriesFor = function (token) {\r\n var result = [];\r\n var currentEl = this;\r\n var distance = 0;\r\n var queries;\r\n while (currentEl !== null) {\r\n queries = currentEl._contentQueries.get(token);\r\n if (lang_1.isPresent(queries)) {\r\n collection_1.ListWrapper.addAll(result, queries.filter(function (query) { return query.descendants || distance <= 1; }));\r\n }\r\n if (currentEl._directiveAsts.length > 0) {\r\n distance++;\r\n }\r\n currentEl = currentEl._parent;\r\n }\r\n queries = this._viewContext.viewQueries.get(token);\r\n if (lang_1.isPresent(queries)) {\r\n collection_1.ListWrapper.addAll(result, queries);\r\n }\r\n return result;\r\n };\r\n ProviderElementContext.prototype._getOrCreateLocalProvider = function (requestingProviderType, token, eager) {\r\n var _this = this;\r\n var resolvedProvider = this._allProviders.get(token);\r\n if (lang_1.isBlank(resolvedProvider) ||\r\n ((requestingProviderType === template_ast_1.ProviderAstType.Directive ||\r\n requestingProviderType === template_ast_1.ProviderAstType.PublicService) &&\r\n resolvedProvider.providerType === template_ast_1.ProviderAstType.PrivateService) ||\r\n ((requestingProviderType === template_ast_1.ProviderAstType.PrivateService ||\r\n requestingProviderType === template_ast_1.ProviderAstType.PublicService) &&\r\n resolvedProvider.providerType === template_ast_1.ProviderAstType.Builtin)) {\r\n return null;\r\n }\r\n var transformedProviderAst = this._transformedProviders.get(token);\r\n if (lang_1.isPresent(transformedProviderAst)) {\r\n return transformedProviderAst;\r\n }\r\n if (lang_1.isPresent(this._seenProviders.get(token))) {\r\n this._viewContext.errors.push(new ProviderError(\"Cannot instantiate cyclic dependency! \" + token.name, this._sourceSpan));\r\n return null;\r\n }\r\n this._seenProviders.add(token, true);\r\n var transformedProviders = resolvedProvider.providers.map(function (provider) {\r\n var transformedUseValue = provider.useValue;\r\n var transformedUseExisting = provider.useExisting;\r\n var transformedDeps;\r\n if (lang_1.isPresent(provider.useExisting)) {\r\n var existingDiDep = _this._getDependency(resolvedProvider.providerType, new compile_metadata_1.CompileDiDependencyMetadata({ token: provider.useExisting }), eager);\r\n if (lang_1.isPresent(existingDiDep.token)) {\r\n transformedUseExisting = existingDiDep.token;\r\n }\r\n else {\r\n transformedUseExisting = null;\r\n transformedUseValue = existingDiDep.value;\r\n }\r\n }\r\n else if (lang_1.isPresent(provider.useFactory)) {\r\n var deps = lang_1.isPresent(provider.deps) ? provider.deps : provider.useFactory.diDeps;\r\n transformedDeps =\r\n deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep, eager); });\r\n }\r\n else if (lang_1.isPresent(provider.useClass)) {\r\n var deps = lang_1.isPresent(provider.deps) ? provider.deps : provider.useClass.diDeps;\r\n transformedDeps =\r\n deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep, eager); });\r\n }\r\n return _transformProvider(provider, {\r\n useExisting: transformedUseExisting,\r\n useValue: transformedUseValue,\r\n deps: transformedDeps\r\n });\r\n });\r\n transformedProviderAst =\r\n _transformProviderAst(resolvedProvider, { eager: eager, providers: transformedProviders });\r\n this._transformedProviders.add(token, transformedProviderAst);\r\n return transformedProviderAst;\r\n };\r\n ProviderElementContext.prototype._getLocalDependency = function (requestingProviderType, dep, eager) {\r\n if (eager === void 0) { eager = null; }\r\n if (dep.isAttribute) {\r\n var attrValue = this._attrs[dep.token.value];\r\n return new compile_metadata_1.CompileDiDependencyMetadata({ isValue: true, value: lang_1.normalizeBlank(attrValue) });\r\n }\r\n if (lang_1.isPresent(dep.query) || lang_1.isPresent(dep.viewQuery)) {\r\n return dep;\r\n }\r\n if (lang_1.isPresent(dep.token)) {\r\n // access builtints\r\n if ((requestingProviderType === template_ast_1.ProviderAstType.Directive ||\r\n requestingProviderType === template_ast_1.ProviderAstType.Component)) {\r\n if (dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.Renderer)) ||\r\n dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ElementRef)) ||\r\n dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ChangeDetectorRef)) ||\r\n dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.TemplateRef))) {\r\n return dep;\r\n }\r\n if (dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ViewContainerRef))) {\r\n this._hasViewContainer = true;\r\n }\r\n }\r\n // access the injector\r\n if (dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.Injector))) {\r\n return dep;\r\n }\r\n // access providers\r\n if (lang_1.isPresent(this._getOrCreateLocalProvider(requestingProviderType, dep.token, eager))) {\r\n return dep;\r\n }\r\n }\r\n return null;\r\n };\r\n ProviderElementContext.prototype._getDependency = function (requestingProviderType, dep, eager) {\r\n if (eager === void 0) { eager = null; }\r\n var currElement = this;\r\n var currEager = eager;\r\n var result = null;\r\n if (!dep.isSkipSelf) {\r\n result = this._getLocalDependency(requestingProviderType, dep, eager);\r\n }\r\n if (dep.isSelf) {\r\n if (lang_1.isBlank(result) && dep.isOptional) {\r\n result = new compile_metadata_1.CompileDiDependencyMetadata({ isValue: true, value: null });\r\n }\r\n }\r\n else {\r\n // check parent elements\r\n while (lang_1.isBlank(result) && lang_1.isPresent(currElement._parent)) {\r\n var prevElement = currElement;\r\n currElement = currElement._parent;\r\n if (prevElement._isViewRoot) {\r\n currEager = false;\r\n }\r\n result = currElement._getLocalDependency(template_ast_1.ProviderAstType.PublicService, dep, currEager);\r\n }\r\n // check @Host restriction\r\n if (lang_1.isBlank(result)) {\r\n if (!dep.isHost || this._viewContext.component.type.isHost ||\r\n identifiers_1.identifierToken(this._viewContext.component.type).equalsTo(dep.token) ||\r\n lang_1.isPresent(this._viewContext.viewProviders.get(dep.token))) {\r\n result = dep;\r\n }\r\n else {\r\n result = dep.isOptional ?\r\n result = new compile_metadata_1.CompileDiDependencyMetadata({ isValue: true, value: null }) :\r\n null;\r\n }\r\n }\r\n }\r\n if (lang_1.isBlank(result)) {\r\n this._viewContext.errors.push(new ProviderError(\"No provider for \" + dep.token.name, this._sourceSpan));\r\n }\r\n return result;\r\n };\r\n return ProviderElementContext;\r\n}());\r\nexports.ProviderElementContext = ProviderElementContext;\r\nfunction _transformProvider(provider, _a) {\r\n var useExisting = _a.useExisting, useValue = _a.useValue, deps = _a.deps;\r\n return new compile_metadata_1.CompileProviderMetadata({\r\n token: provider.token,\r\n useClass: provider.useClass,\r\n useExisting: useExisting,\r\n useFactory: provider.useFactory,\r\n useValue: useValue,\r\n deps: deps,\r\n multi: provider.multi\r\n });\r\n}\r\nfunction _transformProviderAst(provider, _a) {\r\n var eager = _a.eager, providers = _a.providers;\r\n return new template_ast_1.ProviderAst(provider.token, provider.multiProvider, provider.eager || eager, providers, provider.providerType, provider.sourceSpan);\r\n}\r\nfunction _normalizeProviders(providers, sourceSpan, targetErrors, targetProviders) {\r\n if (targetProviders === void 0) { targetProviders = null; }\r\n if (lang_1.isBlank(targetProviders)) {\r\n targetProviders = [];\r\n }\r\n if (lang_1.isPresent(providers)) {\r\n providers.forEach(function (provider) {\r\n if (lang_1.isArray(provider)) {\r\n _normalizeProviders(provider, sourceSpan, targetErrors, targetProviders);\r\n }\r\n else {\r\n var normalizeProvider;\r\n if (provider instanceof compile_metadata_1.CompileProviderMetadata) {\r\n normalizeProvider = provider;\r\n }\r\n else if (provider instanceof compile_metadata_1.CompileTypeMetadata) {\r\n normalizeProvider = new compile_metadata_1.CompileProviderMetadata({ token: new compile_metadata_1.CompileTokenMetadata({ identifier: provider }), useClass: provider });\r\n }\r\n else {\r\n targetErrors.push(new ProviderError(\"Unknown provider type \" + provider, sourceSpan));\r\n }\r\n if (lang_1.isPresent(normalizeProvider)) {\r\n targetProviders.push(normalizeProvider);\r\n }\r\n }\r\n });\r\n }\r\n return targetProviders;\r\n}\r\nfunction _resolveProvidersFromDirectives(directives, sourceSpan, targetErrors) {\r\n var providersByToken = new compile_metadata_1.CompileTokenMap();\r\n directives.forEach(function (directive) {\r\n var dirProvider = new compile_metadata_1.CompileProviderMetadata({ token: new compile_metadata_1.CompileTokenMetadata({ identifier: directive.type }), useClass: directive.type });\r\n _resolveProviders([dirProvider], directive.isComponent ? template_ast_1.ProviderAstType.Component : template_ast_1.ProviderAstType.Directive, true, sourceSpan, targetErrors, providersByToken);\r\n });\r\n // Note: directives need to be able to overwrite providers of a component!\r\n var directivesWithComponentFirst = directives.filter(function (dir) { return dir.isComponent; }).concat(directives.filter(function (dir) { return !dir.isComponent; }));\r\n directivesWithComponentFirst.forEach(function (directive) {\r\n _resolveProviders(_normalizeProviders(directive.providers, sourceSpan, targetErrors), template_ast_1.ProviderAstType.PublicService, false, sourceSpan, targetErrors, providersByToken);\r\n _resolveProviders(_normalizeProviders(directive.viewProviders, sourceSpan, targetErrors), template_ast_1.ProviderAstType.PrivateService, false, sourceSpan, targetErrors, providersByToken);\r\n });\r\n return providersByToken;\r\n}\r\nfunction _resolveProviders(providers, providerType, eager, sourceSpan, targetErrors, targetProvidersByToken) {\r\n providers.forEach(function (provider) {\r\n var resolvedProvider = targetProvidersByToken.get(provider.token);\r\n if (lang_1.isPresent(resolvedProvider) && resolvedProvider.multiProvider !== provider.multi) {\r\n targetErrors.push(new ProviderError(\"Mixing multi and non multi provider is not possible for token \" + resolvedProvider.token.name, sourceSpan));\r\n }\r\n if (lang_1.isBlank(resolvedProvider)) {\r\n resolvedProvider = new template_ast_1.ProviderAst(provider.token, provider.multi, eager, [provider], providerType, sourceSpan);\r\n targetProvidersByToken.add(provider.token, resolvedProvider);\r\n }\r\n else {\r\n if (!provider.multi) {\r\n collection_1.ListWrapper.clear(resolvedProvider.providers);\r\n }\r\n resolvedProvider.providers.push(provider);\r\n }\r\n });\r\n}\r\nfunction _getViewQueries(component) {\r\n var viewQueries = new compile_metadata_1.CompileTokenMap();\r\n if (lang_1.isPresent(component.viewQueries)) {\r\n component.viewQueries.forEach(function (query) { return _addQueryToTokenMap(viewQueries, query); });\r\n }\r\n component.type.diDeps.forEach(function (dep) {\r\n if (lang_1.isPresent(dep.viewQuery)) {\r\n _addQueryToTokenMap(viewQueries, dep.viewQuery);\r\n }\r\n });\r\n return viewQueries;\r\n}\r\nfunction _getContentQueries(directives) {\r\n var contentQueries = new compile_metadata_1.CompileTokenMap();\r\n directives.forEach(function (directive) {\r\n if (lang_1.isPresent(directive.queries)) {\r\n directive.queries.forEach(function (query) { return _addQueryToTokenMap(contentQueries, query); });\r\n }\r\n directive.type.diDeps.forEach(function (dep) {\r\n if (lang_1.isPresent(dep.query)) {\r\n _addQueryToTokenMap(contentQueries, dep.query);\r\n }\r\n });\r\n });\r\n return contentQueries;\r\n}\r\nfunction _addQueryToTokenMap(map, query) {\r\n query.selectors.forEach(function (token) {\r\n var entry = map.get(token);\r\n if (lang_1.isBlank(entry)) {\r\n entry = [];\r\n map.add(token, entry);\r\n }\r\n entry.push(query);\r\n });\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJfcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3Byb3ZpZGVyX3BhcnNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxxQkFBMEQsMEJBQTBCLENBQUMsQ0FBQTtBQUNyRiwyQkFBMEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUMzRCw2QkFrQk8sZ0JBQWdCLENBQUMsQ0FBQTtBQUN4QixpQ0FRTyxvQkFBb0IsQ0FBQyxDQUFBO0FBQzVCLDRCQUEyQyxlQUFlLENBQUMsQ0FBQTtBQUMzRCwyQkFBeUQsY0FBYyxDQUFDLENBQUE7QUFFeEU7SUFBbUMsaUNBQVU7SUFDM0MsdUJBQVksT0FBZSxFQUFFLElBQXFCO1FBQUksa0JBQU0sSUFBSSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0lBQUMsQ0FBQztJQUMvRSxvQkFBQztBQUFELENBQUMsQUFGRCxDQUFtQyx1QkFBVSxHQUU1QztBQUZZLHFCQUFhLGdCQUV6QixDQUFBO0FBRUQ7SUFXRSw2QkFBbUIsU0FBbUM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hciBub3JtYWxpemVQcm92aWRlcjogQ29tcGlsZVByb3ZpZGVyTWV0YWRhdGE7XG4gICAgICAgIGlmIChwcm92aWRlciBpbnN0YW5jZW9mIENvbXBpbGVQcm92aWRlck1ldGFkYXRhKSB7XG4gICAgICAgICAgbm9ybWFsaXplUHJvdmlkZXIgPSBwcm92aWRlcjtcbiAgICAgICAgfSBlbHNlIGlmIChwcm92aWRlciBpbnN0YW5jZW9mIENvbXBpbGVUeXBlTWV0YWRhdGEpIHtcbiAgICAgICAgICBub3JtYWxpemVQcm92aWRlciA9IG5ldyBDb21waWxlUHJvdmlkZXJNZXRhZGF0YShcbiAgICAgICAgICAgICAge3Rva2VuOiBuZXcgQ29tcGlsZVRva2VuTWV0YWRhdGEoe2lkZW50aWZpZXI6IHByb3ZpZGVyfSksIHVzZUNsYXNzOiBwcm92aWRlcn0pO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIHRhcmdldEVycm9ycy5wdXNoKG5ldyBQcm92aWRlckVycm9yKGBVbmtub3duIHByb3ZpZGVyIHR5cGUgJHtwcm92aWRlcn1gLCBzb3VyY2VTcGFuKSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGlzUHJlc2VudChub3JtYWxpemVQcm92aWRlcikpIHtcbiAgICAgICAgICB0YXJnZXRQcm92aWRlcnMucHVzaChub3JtYWxpemVQcm92aWRlcik7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9KTtcbiAgfVxuICByZXR1cm4gdGFyZ2V0UHJvdmlkZXJzO1xufVxuXG5cbmZ1bmN0aW9uIF9yZXNvbHZlUHJvdmlkZXJzRnJvbURpcmVjdGl2ZXMoZGlyZWN0aXZlczogQ29tcGlsZURpcmVjdGl2ZU1ldGFkYXRhW10sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNvdXJjZVNwYW46IFBhcnNlU291cmNlU3BhbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdG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1xuICAgIH1cbiAgICBkaXJlY3RpdmUudHlwZS5kaURlcHMuZm9yRWFjaCgoZGVwKSA9PiB7XG4gICAgICBpZiAoaXNQcmVzZW50KGRlcC5xdWVyeSkpIHtcbiAgICAgICAgX2FkZFF1ZXJ5VG9Ub2tlbk1hcChjb250ZW50UXVlcmllcywgZGVwLnF1ZXJ5KTtcbiAgICAgIH1cbiAgICB9KTtcbiAgfSk7XG4gIHJldHVybiBjb250ZW50UXVlcmllcztcbn1cblxuZnVuY3Rpb24gX2FkZFF1ZXJ5VG9Ub2tlbk1hcChtYXA6IENvbXBpbGVUb2tlbk1hcDxDb21waWxlUXVlcnlNZXRhZGF0YVtdPixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcXVlcnk6IENvbXBpbGVRdWVyeU1ldGFkYXRhKSB7XG4gIHF1ZXJ5LnNlbGVjdG9ycy5mb3JFYWNoKCh0b2tlbjogQ29tcGlsZVRva2VuTWV0YWRhdGEpID0+IHtcbiAgICB2YXIgZW50cnkgPSBtYXAuZ2V0KHRva2VuKTtcbiAgICBpZiAoaXNCbGFuayhlbnRyeSkpIHtcbiAgICAgIGVudHJ5ID0gW107XG4gICAgICBtYXAuYWRkKHRva2VuLCBlbnRyeSk7XG4gICAgfVxuICAgIGVudHJ5LnB1c2gocXVlcnkpO1xuICB9KTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar core_1 = require('angular2/core');\r\nvar console_1 = require('angular2/src/core/console');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar ast_1 = require('./expression_parser/ast');\r\nvar parser_1 = require('./expression_parser/parser');\r\nvar html_parser_1 = require('./html_parser');\r\nvar html_tags_1 = require('./html_tags');\r\nvar parse_util_1 = require('./parse_util');\r\nvar view_utils_1 = require('angular2/src/core/linker/view_utils');\r\nvar template_ast_1 = require('./template_ast');\r\nvar selector_1 = require('angular2/src/compiler/selector');\r\nvar element_schema_registry_1 = require('angular2/src/compiler/schema/element_schema_registry');\r\nvar template_preparser_1 = require('./template_preparser');\r\nvar style_url_resolver_1 = require('./style_url_resolver');\r\nvar html_ast_1 = require('./html_ast');\r\nvar util_1 = require('./util');\r\nvar identifiers_1 = require('./identifiers');\r\nvar provider_parser_1 = require('./provider_parser');\r\n// Group 1 = \"bind-\"\r\n// Group 2 = \"var-\"\r\n// Group 3 = \"let-\"\r\n// Group 4 = \"ref-/#\"\r\n// Group 5 = \"on-\"\r\n// Group 6 = \"bindon-\"\r\n// Group 7 = the identifier after \"bind-\", \"var-/#\", or \"on-\"\r\n// Group 8 = identifier inside [()]\r\n// Group 9 = identifier inside []\r\n// Group 10 = identifier inside ()\r\nvar BIND_NAME_REGEXP = /^(?:(?:(?:(bind-)|(var-)|(let-)|(ref-|#)|(on-)|(bindon-))(.+))|\\[\\(([^\\)]+)\\)\\]|\\[([^\\]]+)\\]|\\(([^\\)]+)\\))$/g;\r\nvar TEMPLATE_ELEMENT = 'template';\r\nvar TEMPLATE_ATTR = 'template';\r\nvar TEMPLATE_ATTR_PREFIX = '*';\r\nvar CLASS_ATTR = 'class';\r\nvar PROPERTY_PARTS_SEPARATOR = '.';\r\nvar ATTRIBUTE_PREFIX = 'attr';\r\nvar CLASS_PREFIX = 'class';\r\nvar STYLE_PREFIX = 'style';\r\nvar TEXT_CSS_SELECTOR = selector_1.CssSelector.parse('*')[0];\r\n/**\r\n * Provides an array of {@link TemplateAstVisitor}s which will be used to transform\r\n * parsed templates before compilation is invoked, allowing custom expression syntax\r\n * and other advanced transformations.\r\n *\r\n * This is currently an internal-only feature and not meant for general use.\r\n */\r\nexports.TEMPLATE_TRANSFORMS = lang_1.CONST_EXPR(new core_1.OpaqueToken('TemplateTransforms'));\r\nvar TemplateParseError = (function (_super) {\r\n __extends(TemplateParseError, _super);\r\n function TemplateParseError(message, span, level) {\r\n _super.call(this, span, message, level);\r\n }\r\n return TemplateParseError;\r\n}(parse_util_1.ParseError));\r\nexports.TemplateParseError = TemplateParseError;\r\nvar TemplateParseResult = (function () {\r\n function TemplateParseResult(templateAst, errors) {\r\n this.templateAst = templateAst;\r\n this.errors = errors;\r\n }\r\n return TemplateParseResult;\r\n}());\r\nexports.TemplateParseResult = TemplateParseResult;\r\nvar TemplateParser = (function () {\r\n function TemplateParser(_exprParser, _schemaRegistry, _htmlParser, _console, transforms) {\r\n this._exprParser = _exprParser;\r\n this._schemaRegistry = _schemaRegistry;\r\n this._htmlParser = _htmlParser;\r\n this._console = _console;\r\n this.transforms = transforms;\r\n }\r\n TemplateParser.prototype.parse = function (component, template, directives, pipes, templateUrl) {\r\n var result = this.tryParse(component, template, directives, pipes, templateUrl);\r\n var warnings = result.errors.filter(function (error) { return error.level === parse_util_1.ParseErrorLevel.WARNING; });\r\n var errors = result.errors.filter(function (error) { return error.level === parse_util_1.ParseErrorLevel.FATAL; });\r\n if (warnings.length > 0) {\r\n this._console.warn(\"Template parse warnings:\\n\" + warnings.join('\\n'));\r\n }\r\n if (errors.length > 0) {\r\n var errorString = errors.join('\\n');\r\n throw new exceptions_1.BaseException(\"Template parse errors:\\n\" + errorString);\r\n }\r\n return result.templateAst;\r\n };\r\n TemplateParser.prototype.tryParse = function (component, template, directives, pipes, templateUrl) {\r\n var htmlAstWithErrors = this._htmlParser.parse(template, templateUrl);\r\n var errors = htmlAstWithErrors.errors;\r\n var result;\r\n if (htmlAstWithErrors.rootNodes.length > 0) {\r\n var uniqDirectives = removeDuplicates(directives);\r\n var uniqPipes = removeDuplicates(pipes);\r\n var providerViewContext = new provider_parser_1.ProviderViewContext(component, htmlAstWithErrors.rootNodes[0].sourceSpan);\r\n var parseVisitor = new TemplateParseVisitor(providerViewContext, uniqDirectives, uniqPipes, this._exprParser, this._schemaRegistry);\r\n result = html_ast_1.htmlVisitAll(parseVisitor, htmlAstWithErrors.rootNodes, EMPTY_ELEMENT_CONTEXT);\r\n errors = errors.concat(parseVisitor.errors).concat(providerViewContext.errors);\r\n }\r\n else {\r\n result = [];\r\n }\r\n if (errors.length > 0) {\r\n return new TemplateParseResult(result, errors);\r\n }\r\n if (lang_1.isPresent(this.transforms)) {\r\n this.transforms.forEach(function (transform) { result = template_ast_1.templateVisitAll(transform, result); });\r\n }\r\n return new TemplateParseResult(result, errors);\r\n };\r\n TemplateParser = __decorate([\r\n core_1.Injectable(),\r\n __param(4, core_1.Optional()),\r\n __param(4, core_1.Inject(exports.TEMPLATE_TRANSFORMS)), \r\n __metadata('design:paramtypes', [parser_1.Parser, element_schema_registry_1.ElementSchemaRegistry, html_parser_1.HtmlParser, console_1.Console, Array])\r\n ], TemplateParser);\r\n return TemplateParser;\r\n}());\r\nexports.TemplateParser = TemplateParser;\r\nvar TemplateParseVisitor = (function () {\r\n function TemplateParseVisitor(providerViewContext, directives, pipes, _exprParser, _schemaRegistry) {\r\n var _this = this;\r\n this.providerViewContext = providerViewContext;\r\n this._exprParser = _exprParser;\r\n this._schemaRegistry = _schemaRegistry;\r\n this.errors = [];\r\n this.directivesIndex = new Map();\r\n this.ngContentCount = 0;\r\n this.selectorMatcher = new selector_1.SelectorMatcher();\r\n collection_1.ListWrapper.forEachWithIndex(directives, function (directive, index) {\r\n var selector = selector_1.CssSelector.parse(directive.selector);\r\n _this.selectorMatcher.addSelectables(selector, directive);\r\n _this.directivesIndex.set(directive, index);\r\n });\r\n this.pipesByName = new Map();\r\n pipes.forEach(function (pipe) { return _this.pipesByName.set(pipe.name, pipe); });\r\n }\r\n TemplateParseVisitor.prototype._reportError = function (message, sourceSpan, level) {\r\n if (level === void 0) { level = parse_util_1.ParseErrorLevel.FATAL; }\r\n this.errors.push(new TemplateParseError(message, sourceSpan, level));\r\n };\r\n TemplateParseVisitor.prototype._parseInterpolation = function (value, sourceSpan) {\r\n var sourceInfo = sourceSpan.start.toString();\r\n try {\r\n var ast = this._exprParser.parseInterpolation(value, sourceInfo);\r\n this._checkPipes(ast, sourceSpan);\r\n if (lang_1.isPresent(ast) &&\r\n ast.ast.expressions.length > view_utils_1.MAX_INTERPOLATION_VALUES) {\r\n throw new exceptions_1.BaseException(\"Only support at most \" + view_utils_1.MAX_INTERPOLATION_VALUES + \" interpolation values!\");\r\n }\r\n return ast;\r\n }\r\n catch (e) {\r\n this._reportError(\"\" + e, sourceSpan);\r\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\r\n }\r\n };\r\n TemplateParseVisitor.prototype._parseAction = function (value, sourceSpan) {\r\n var sourceInfo = sourceSpan.start.toString();\r\n try {\r\n var ast = this._exprParser.parseAction(value, sourceInfo);\r\n this._checkPipes(ast, sourceSpan);\r\n return ast;\r\n }\r\n catch (e) {\r\n this._reportError(\"\" + e, sourceSpan);\r\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\r\n }\r\n };\r\n TemplateParseVisitor.prototype._parseBinding = function (value, sourceSpan) {\r\n var sourceInfo = sourceSpan.start.toString();\r\n try {\r\n var ast = this._exprParser.parseBinding(value, sourceInfo);\r\n this._checkPipes(ast, sourceSpan);\r\n return ast;\r\n }\r\n catch (e) {\r\n this._reportError(\"\" + e, sourceSpan);\r\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\r\n }\r\n };\r\n TemplateParseVisitor.prototype._parseTemplateBindings = function (value, sourceSpan) {\r\n var _this = this;\r\n var sourceInfo = sourceSpan.start.toString();\r\n try {\r\n var bindingsResult = this._exprParser.parseTemplateBindings(value, sourceInfo);\r\n bindingsResult.templateBindings.forEach(function (binding) {\r\n if (lang_1.isPresent(binding.expression)) {\r\n _this._checkPipes(binding.expression, sourceSpan);\r\n }\r\n });\r\n bindingsResult.warnings.forEach(function (warning) { _this._reportError(warning, sourceSpan, parse_util_1.ParseErrorLevel.WARNING); });\r\n return bindingsResult.templateBindings;\r\n }\r\n catch (e) {\r\n this._reportError(\"\" + e, sourceSpan);\r\n return [];\r\n }\r\n };\r\n TemplateParseVisitor.prototype._checkPipes = function (ast, sourceSpan) {\r\n var _this = this;\r\n if (lang_1.isPresent(ast)) {\r\n var collector = new PipeCollector();\r\n ast.visit(collector);\r\n collector.pipes.forEach(function (pipeName) {\r\n if (!_this.pipesByName.has(pipeName)) {\r\n _this._reportError(\"The pipe '\" + pipeName + \"' could not be found\", sourceSpan);\r\n }\r\n });\r\n }\r\n };\r\n TemplateParseVisitor.prototype.visitExpansion = function (ast, context) { return null; };\r\n TemplateParseVisitor.prototype.visitExpansionCase = function (ast, context) { return null; };\r\n TemplateParseVisitor.prototype.visitText = function (ast, parent) {\r\n var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR);\r\n var expr = this._parseInterpolation(ast.value, ast.sourceSpan);\r\n if (lang_1.isPresent(expr)) {\r\n return new template_ast_1.BoundTextAst(expr, ngContentIndex, ast.sourceSpan);\r\n }\r\n else {\r\n return new template_ast_1.TextAst(ast.value, ngContentIndex, ast.sourceSpan);\r\n }\r\n };\r\n TemplateParseVisitor.prototype.visitAttr = function (ast, contex) {\r\n return new template_ast_1.AttrAst(ast.name, ast.value, ast.sourceSpan);\r\n };\r\n TemplateParseVisitor.prototype.visitComment = function (ast, context) { return null; };\r\n TemplateParseVisitor.prototype.visitElement = function (element, parent) {\r\n var _this = this;\r\n var nodeName = element.name;\r\n var preparsedElement = template_preparser_1.preparseElement(element);\r\n if (preparsedElement.type === template_preparser_1.PreparsedElementType.SCRIPT ||\r\n preparsedElement.type === template_preparser_1.PreparsedElementType.STYLE) {\r\n // Skipping <script> for security reasons\r\n // Skipping <style> as we already processed them\r\n // in the StyleCompiler\r\n return null;\r\n }\r\n if (preparsedElement.type === template_preparser_1.PreparsedElementType.STYLESHEET &&\r\n style_url_resolver_1.isStyleUrlResolvable(preparsedElement.hrefAttr)) {\r\n // Skipping stylesheets with either relative urls or package scheme as we already processed\r\n // them in the StyleCompiler\r\n return null;\r\n }\r\n var matchableAttrs = [];\r\n var elementOrDirectiveProps = [];\r\n var elementOrDirectiveRefs = [];\r\n var elementVars = [];\r\n var events = [];\r\n var templateElementOrDirectiveProps = [];\r\n var templateMatchableAttrs = [];\r\n var templateElementVars = [];\r\n var hasInlineTemplates = false;\r\n var attrs = [];\r\n var lcElName = html_tags_1.splitNsName(nodeName.toLowerCase())[1];\r\n var isTemplateElement = lcElName == TEMPLATE_ELEMENT;\r\n element.attrs.forEach(function (attr) {\r\n var hasBinding = _this._parseAttr(isTemplateElement, attr, matchableAttrs, elementOrDirectiveProps, events, elementOrDirectiveRefs, elementVars);\r\n var hasTemplateBinding = _this._parseInlineTemplateBinding(attr, templateMatchableAttrs, templateElementOrDirectiveProps, templateElementVars);\r\n if (!hasBinding && !hasTemplateBinding) {\r\n // don't include the bindings as attributes as well in the AST\r\n attrs.push(_this.visitAttr(attr, null));\r\n matchableAttrs.push([attr.name, attr.value]);\r\n }\r\n if (hasTemplateBinding) {\r\n hasInlineTemplates = true;\r\n }\r\n });\r\n var elementCssSelector = createElementCssSelector(nodeName, matchableAttrs);\r\n var directiveMetas = this._parseDirectives(this.selectorMatcher, elementCssSelector);\r\n var references = [];\r\n var directiveAsts = this._createDirectiveAsts(isTemplateElement, element.name, directiveMetas, elementOrDirectiveProps, elementOrDirectiveRefs, element.sourceSpan, references);\r\n var elementProps = this._createElementPropertyAsts(element.name, elementOrDirectiveProps, directiveAsts);\r\n var isViewRoot = parent.isTemplateElement || hasInlineTemplates;\r\n var providerContext = new provider_parser_1.ProviderElementContext(this.providerViewContext, parent.providerContext, isViewRoot, directiveAsts, attrs, references, element.sourceSpan);\r\n var children = html_ast_1.htmlVisitAll(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element.children, ElementContext.create(isTemplateElement, directiveAsts, isTemplateElement ? parent.providerContext : providerContext));\r\n providerContext.afterElement();\r\n // Override the actual selector when the `ngProjectAs` attribute is provided\r\n var projectionSelector = lang_1.isPresent(preparsedElement.projectAs) ?\r\n selector_1.CssSelector.parse(preparsedElement.projectAs)[0] :\r\n elementCssSelector;\r\n var ngContentIndex = parent.findNgContentIndex(projectionSelector);\r\n var parsedElement;\r\n if (preparsedElement.type === template_preparser_1.PreparsedElementType.NG_CONTENT) {\r\n if (lang_1.isPresent(element.children) && element.children.length > 0) {\r\n this._reportError(\"<ng-content> element cannot have content. <ng-content> must be immediately followed by </ng-content>\", element.sourceSpan);\r\n }\r\n parsedElement = new template_ast_1.NgContentAst(this.ngContentCount++, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\r\n }\r\n else if (isTemplateElement) {\r\n this._assertAllEventsPublishedByDirectives(directiveAsts, events);\r\n this._assertNoComponentsNorElementBindingsOnTemplate(directiveAsts, elementProps, element.sourceSpan);\r\n parsedElement = new template_ast_1.EmbeddedTemplateAst(attrs, events, references, elementVars, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, children, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\r\n }\r\n else {\r\n this._assertOnlyOneComponent(directiveAsts, element.sourceSpan);\r\n var ngContentIndex_1 = hasInlineTemplates ? null : parent.findNgContentIndex(projectionSelector);\r\n parsedElement = new template_ast_1.ElementAst(nodeName, attrs, elementProps, events, references, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, children, hasInlineTemplates ? null : ngContentIndex_1, element.sourceSpan);\r\n }\r\n if (hasInlineTemplates) {\r\n var templateCssSelector = createElementCssSelector(TEMPLATE_ELEMENT, templateMatchableAttrs);\r\n var templateDirectiveMetas = this._parseDirectives(this.selectorMatcher, templateCssSelector);\r\n var templateDirectiveAsts = this._createDirectiveAsts(true, element.name, templateDirectiveMetas, templateElementOrDirectiveProps, [], element.sourceSpan, []);\r\n var templateElementProps = this._createElementPropertyAsts(element.name, templateElementOrDirectiveProps, templateDirectiveAsts);\r\n this._assertNoComponentsNorElementBindingsOnTemplate(templateDirectiveAsts, templateElementProps, element.sourceSpan);\r\n var templateProviderContext = new provider_parser_1.ProviderElementContext(this.providerViewContext, parent.providerContext, parent.isTemplateElement, templateDirectiveAsts, [], [], element.sourceSpan);\r\n templateProviderContext.afterElement();\r\n parsedElement = new template_ast_1.EmbeddedTemplateAst([], [], [], templateElementVars, templateProviderContext.transformedDirectiveAsts, templateProviderContext.transformProviders, templateProviderContext.transformedHasViewContainer, [parsedElement], ngContentIndex, element.sourceSpan);\r\n }\r\n return parsedElement;\r\n };\r\n TemplateParseVisitor.prototype._parseInlineTemplateBinding = function (attr, targetMatchableAttrs, targetProps, targetVars) {\r\n var templateBindingsSource = null;\r\n if (attr.name == TEMPLATE_ATTR) {\r\n templateBindingsSource = attr.value;\r\n }\r\n else if (attr.name.startsWith(TEMPLATE_ATTR_PREFIX)) {\r\n var key = attr.name.substring(TEMPLATE_ATTR_PREFIX.length); // remove the star\r\n templateBindingsSource = (attr.value.length == 0) ? key : key + ' ' + attr.value;\r\n }\r\n if (lang_1.isPresent(templateBindingsSource)) {\r\n var bindings = this._parseTemplateBindings(templateBindingsSource, attr.sourceSpan);\r\n for (var i = 0; i < bindings.length; i++) {\r\n var binding = bindings[i];\r\n if (binding.keyIsVar) {\r\n targetVars.push(new template_ast_1.VariableAst(binding.key, binding.name, attr.sourceSpan));\r\n }\r\n else if (lang_1.isPresent(binding.expression)) {\r\n this._parsePropertyAst(binding.key, binding.expression, attr.sourceSpan, targetMatchableAttrs, targetProps);\r\n }\r\n else {\r\n targetMatchableAttrs.push([binding.key, '']);\r\n this._parseLiteralAttr(binding.key, null, attr.sourceSpan, targetProps);\r\n }\r\n }\r\n return true;\r\n }\r\n return false;\r\n };\r\n TemplateParseVisitor.prototype._parseAttr = function (isTemplateElement, attr, targetMatchableAttrs, targetProps, targetEvents, targetRefs, targetVars) {\r\n var attrName = this._normalizeAttributeName(attr.name);\r\n var attrValue = attr.value;\r\n var bindParts = lang_1.RegExpWrapper.firstMatch(BIND_NAME_REGEXP, attrName);\r\n var hasBinding = false;\r\n if (lang_1.isPresent(bindParts)) {\r\n hasBinding = true;\r\n if (lang_1.isPresent(bindParts[1])) {\r\n this._parseProperty(bindParts[7], attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\r\n }\r\n else if (lang_1.isPresent(bindParts[2])) {\r\n var identifier = bindParts[7];\r\n if (isTemplateElement) {\r\n this._reportError(\"\\\"var-\\\" on <template> elements is deprecated. Use \\\"let-\\\" instead!\", attr.sourceSpan, parse_util_1.ParseErrorLevel.WARNING);\r\n this._parseVariable(identifier, attrValue, attr.sourceSpan, targetVars);\r\n }\r\n else {\r\n this._reportError(\"\\\"var-\\\" on non <template> elements is deprecated. Use \\\"ref-\\\" instead!\", attr.sourceSpan, parse_util_1.ParseErrorLevel.WARNING);\r\n this._parseReference(identifier, attrValue, attr.sourceSpan, targetRefs);\r\n }\r\n }\r\n else if (lang_1.isPresent(bindParts[3])) {\r\n if (isTemplateElement) {\r\n var identifier = bindParts[7];\r\n this._parseVariable(identifier, attrValue, attr.sourceSpan, targetVars);\r\n }\r\n else {\r\n this._reportError(\"\\\"let-\\\" is only supported on template elements.\", attr.sourceSpan);\r\n }\r\n }\r\n else if (lang_1.isPresent(bindParts[4])) {\r\n var identifier = bindParts[7];\r\n this._parseReference(identifier, attrValue, attr.sourceSpan, targetRefs);\r\n }\r\n else if (lang_1.isPresent(bindParts[5])) {\r\n this._parseEvent(bindParts[7], attrValue, attr.sourceSpan, targetMatchableAttrs, targetEvents);\r\n }\r\n else if (lang_1.isPresent(bindParts[6])) {\r\n this._parseProperty(bindParts[7], attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\r\n this._parseAssignmentEvent(bindParts[7], attrValue, attr.sourceSpan, targetMatchableAttrs, targetEvents);\r\n }\r\n else if (lang_1.isPresent(bindParts[8])) {\r\n this._parseProperty(bindParts[8], attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\r\n this._parseAssignmentEvent(bindParts[8], attrValue, attr.sourceSpan, targetMatchableAttrs, targetEvents);\r\n }\r\n else if (lang_1.isPresent(bindParts[9])) {\r\n this._parseProperty(bindParts[9], attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\r\n }\r\n else if (lang_1.isPresent(bindParts[10])) {\r\n this._parseEvent(bindParts[10], attrValue, attr.sourceSpan, targetMatchableAttrs, targetEvents);\r\n }\r\n }\r\n else {\r\n hasBinding = this._parsePropertyInterpolation(attrName, attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\r\n }\r\n if (!hasBinding) {\r\n this._parseLiteralAttr(attrName, attrValue, attr.sourceSpan, targetProps);\r\n }\r\n return hasBinding;\r\n };\r\n TemplateParseVisitor.prototype._normalizeAttributeName = function (attrName) {\r\n return attrName.toLowerCase().startsWith('data-') ? attrName.substring(5) : attrName;\r\n };\r\n TemplateParseVisitor.prototype._parseVariable = function (identifier, value, sourceSpan, targetVars) {\r\n if (identifier.indexOf('-') > -1) {\r\n this._reportError(\"\\\"-\\\" is not allowed in variable names\", sourceSpan);\r\n }\r\n targetVars.push(new template_ast_1.VariableAst(identifier, value, sourceSpan));\r\n };\r\n TemplateParseVisitor.prototype._parseReference = function (identifier, value, sourceSpan, targetRefs) {\r\n if (identifier.indexOf('-') > -1) {\r\n this._reportError(\"\\\"-\\\" is not allowed in reference names\", sourceSpan);\r\n }\r\n targetRefs.push(new ElementOrDirectiveRef(identifier, value, sourceSpan));\r\n };\r\n TemplateParseVisitor.prototype._parseProperty = function (name, expression, sourceSpan, targetMatchableAttrs, targetProps) {\r\n this._parsePropertyAst(name, this._parseBinding(expression, sourceSpan), sourceSpan, targetMatchableAttrs, targetProps);\r\n };\r\n TemplateParseVisitor.prototype._parsePropertyInterpolation = function (name, value, sourceSpan, targetMatchableAttrs, targetProps) {\r\n var expr = this._parseInterpolation(value, sourceSpan);\r\n if (lang_1.isPresent(expr)) {\r\n this._parsePropertyAst(name, expr, sourceSpan, targetMatchableAttrs, targetProps);\r\n return true;\r\n }\r\n return false;\r\n };\r\n TemplateParseVisitor.prototype._parsePropertyAst = function (name, ast, sourceSpan, targetMatchableAttrs, targetProps) {\r\n targetMatchableAttrs.push([name, ast.source]);\r\n targetProps.push(new BoundElementOrDirectiveProperty(name, ast, false, sourceSpan));\r\n };\r\n TemplateParseVisitor.prototype._parseAssignmentEvent = function (name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\r\n this._parseEvent(name + \"Change\", expression + \"=$event\", sourceSpan, targetMatchableAttrs, targetEvents);\r\n };\r\n TemplateParseVisitor.prototype._parseEvent = function (name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\r\n // long format: 'target: eventName'\r\n var parts = util_1.splitAtColon(name, [null, name]);\r\n var target = parts[0];\r\n var eventName = parts[1];\r\n var ast = this._parseAction(expression, sourceSpan);\r\n targetMatchableAttrs.push([name, ast.source]);\r\n targetEvents.push(new template_ast_1.BoundEventAst(eventName, target, ast, sourceSpan));\r\n // Don't detect directives for event names for now,\r\n // so don't add the event name to the matchableAttrs\r\n };\r\n TemplateParseVisitor.prototype._parseLiteralAttr = function (name, value, sourceSpan, targetProps) {\r\n targetProps.push(new BoundElementOrDirectiveProperty(name, this._exprParser.wrapLiteralPrimitive(value, ''), true, sourceSpan));\r\n };\r\n TemplateParseVisitor.prototype._parseDirectives = function (selectorMatcher, elementCssSelector) {\r\n var _this = this;\r\n // Need to sort the directives so that we get consistent results throughout,\r\n // as selectorMatcher uses Maps inside.\r\n // Also dedupe directives as they might match more than one time!\r\n var directives = collection_1.ListWrapper.createFixedSize(this.directivesIndex.size);\r\n selectorMatcher.match(elementCssSelector, function (selector, directive) {\r\n directives[_this.directivesIndex.get(directive)] = directive;\r\n });\r\n return directives.filter(function (dir) { return lang_1.isPresent(dir); });\r\n };\r\n TemplateParseVisitor.prototype._createDirectiveAsts = function (isTemplateElement, elementName, directives, props, elementOrDirectiveRefs, sourceSpan, targetReferences) {\r\n var _this = this;\r\n var matchedReferences = new Set();\r\n var component = null;\r\n var directiveAsts = directives.map(function (directive) {\r\n if (directive.isComponent) {\r\n component = directive;\r\n }\r\n var hostProperties = [];\r\n var hostEvents = [];\r\n var directiveProperties = [];\r\n _this._createDirectiveHostPropertyAsts(elementName, directive.hostProperties, sourceSpan, hostProperties);\r\n _this._createDirectiveHostEventAsts(directive.hostListeners, sourceSpan, hostEvents);\r\n _this._createDirectivePropertyAsts(directive.inputs, props, directiveProperties);\r\n elementOrDirectiveRefs.forEach(function (elOrDirRef) {\r\n if ((elOrDirRef.value.length === 0 && directive.isComponent) ||\r\n (directive.exportAs == elOrDirRef.value)) {\r\n targetReferences.push(new template_ast_1.ReferenceAst(elOrDirRef.name, identifiers_1.identifierToken(directive.type), elOrDirRef.sourceSpan));\r\n matchedReferences.add(elOrDirRef.name);\r\n }\r\n });\r\n return new template_ast_1.DirectiveAst(directive, directiveProperties, hostProperties, hostEvents, sourceSpan);\r\n });\r\n elementOrDirectiveRefs.forEach(function (elOrDirRef) {\r\n if (elOrDirRef.value.length > 0) {\r\n if (!collection_1.SetWrapper.has(matchedReferences, elOrDirRef.name)) {\r\n _this._reportError(\"There is no directive with \\\"exportAs\\\" set to \\\"\" + elOrDirRef.value + \"\\\"\", elOrDirRef.sourceSpan);\r\n }\r\n ;\r\n }\r\n else if (lang_1.isBlank(component)) {\r\n var refToken = null;\r\n if (isTemplateElement) {\r\n refToken = identifiers_1.identifierToken(identifiers_1.Identifiers.TemplateRef);\r\n }\r\n targetReferences.push(new template_ast_1.ReferenceAst(elOrDirRef.name, refToken, elOrDirRef.sourceSpan));\r\n }\r\n });\r\n return directiveAsts;\r\n };\r\n TemplateParseVisitor.prototype._createDirectiveHostPropertyAsts = function (elementName, hostProps, sourceSpan, targetPropertyAsts) {\r\n var _this = this;\r\n if (lang_1.isPresent(hostProps)) {\r\n collection_1.StringMapWrapper.forEach(hostProps, function (expression, propName) {\r\n var exprAst = _this._parseBinding(expression, sourceSpan);\r\n targetPropertyAsts.push(_this._createElementPropertyAst(elementName, propName, exprAst, sourceSpan));\r\n });\r\n }\r\n };\r\n TemplateParseVisitor.prototype._createDirectiveHostEventAsts = function (hostListeners, sourceSpan, targetEventAsts) {\r\n var _this = this;\r\n if (lang_1.isPresent(hostListeners)) {\r\n collection_1.StringMapWrapper.forEach(hostListeners, function (expression, propName) {\r\n _this._parseEvent(propName, expression, sourceSpan, [], targetEventAsts);\r\n });\r\n }\r\n };\r\n TemplateParseVisitor.prototype._createDirectivePropertyAsts = function (directiveProperties, boundProps, targetBoundDirectiveProps) {\r\n if (lang_1.isPresent(directiveProperties)) {\r\n var boundPropsByName = new Map();\r\n boundProps.forEach(function (boundProp) {\r\n var prevValue = boundPropsByName.get(boundProp.name);\r\n if (lang_1.isBlank(prevValue) || prevValue.isLiteral) {\r\n // give [a]=\"b\" a higher precedence than a=\"b\" on the same element\r\n boundPropsByName.set(boundProp.name, boundProp);\r\n }\r\n });\r\n collection_1.StringMapWrapper.forEach(directiveProperties, function (elProp, dirProp) {\r\n var boundProp = boundPropsByName.get(elProp);\r\n // Bindings are optional, so this binding only needs to be set up if an expression is given.\r\n if (lang_1.isPresent(boundProp)) {\r\n targetBoundDirectiveProps.push(new template_ast_1.BoundDirectivePropertyAst(dirProp, boundProp.name, boundProp.expression, boundProp.sourceSpan));\r\n }\r\n });\r\n }\r\n };\r\n TemplateParseVisitor.prototype._createElementPropertyAsts = function (elementName, props, directives) {\r\n var _this = this;\r\n var boundElementProps = [];\r\n var boundDirectivePropsIndex = new Map();\r\n directives.forEach(function (directive) {\r\n directive.inputs.forEach(function (prop) {\r\n boundDirectivePropsIndex.set(prop.templateName, prop);\r\n });\r\n });\r\n props.forEach(function (prop) {\r\n if (!prop.isLiteral && lang_1.isBlank(boundDirectivePropsIndex.get(prop.name))) {\r\n boundElementProps.push(_this._createElementPropertyAst(elementName, prop.name, prop.expression, prop.sourceSpan));\r\n }\r\n });\r\n return boundElementProps;\r\n };\r\n TemplateParseVisitor.prototype._createElementPropertyAst = function (elementName, name, ast, sourceSpan) {\r\n var unit = null;\r\n var bindingType;\r\n var boundPropertyName;\r\n var parts = name.split(PROPERTY_PARTS_SEPARATOR);\r\n if (parts.length === 1) {\r\n boundPropertyName = this._schemaRegistry.getMappedPropName(parts[0]);\r\n bindingType = template_ast_1.PropertyBindingType.Property;\r\n if (!this._schemaRegistry.hasProperty(elementName, boundPropertyName)) {\r\n this._reportError(\"Can't bind to '\" + boundPropertyName + \"' since it isn't a known native property\", sourceSpan);\r\n }\r\n }\r\n else {\r\n if (parts[0] == ATTRIBUTE_PREFIX) {\r\n boundPropertyName = parts[1];\r\n var nsSeparatorIdx = boundPropertyName.indexOf(':');\r\n if (nsSeparatorIdx > -1) {\r\n var ns = boundPropertyName.substring(0, nsSeparatorIdx);\r\n var name_1 = boundPropertyName.substring(nsSeparatorIdx + 1);\r\n boundPropertyName = html_tags_1.mergeNsAndName(ns, name_1);\r\n }\r\n bindingType = template_ast_1.PropertyBindingType.Attribute;\r\n }\r\n else if (parts[0] == CLASS_PREFIX) {\r\n boundPropertyName = parts[1];\r\n bindingType = template_ast_1.PropertyBindingType.Class;\r\n }\r\n else if (parts[0] == STYLE_PREFIX) {\r\n unit = parts.length > 2 ? parts[2] : null;\r\n boundPropertyName = parts[1];\r\n bindingType = template_ast_1.PropertyBindingType.Style;\r\n }\r\n else {\r\n this._reportError(\"Invalid property name '\" + name + \"'\", sourceSpan);\r\n bindingType = null;\r\n }\r\n }\r\n return new template_ast_1.BoundElementPropertyAst(boundPropertyName, bindingType, ast, unit, sourceSpan);\r\n };\r\n TemplateParseVisitor.prototype._findComponentDirectiveNames = function (directives) {\r\n var componentTypeNames = [];\r\n directives.forEach(function (directive) {\r\n var typeName = directive.directive.type.name;\r\n if (directive.directive.isComponent) {\r\n componentTypeNames.push(typeName);\r\n }\r\n });\r\n return componentTypeNames;\r\n };\r\n TemplateParseVisitor.prototype._assertOnlyOneComponent = function (directives, sourceSpan) {\r\n var componentTypeNames = this._findComponentDirectiveNames(directives);\r\n if (componentTypeNames.length > 1) {\r\n this._reportError(\"More than one component: \" + componentTypeNames.join(','), sourceSpan);\r\n }\r\n };\r\n TemplateParseVisitor.prototype._assertNoComponentsNorElementBindingsOnTemplate = function (directives, elementProps, sourceSpan) {\r\n var _this = this;\r\n var componentTypeNames = this._findComponentDirectiveNames(directives);\r\n if (componentTypeNames.length > 0) {\r\n this._reportError(\"Components on an embedded template: \" + componentTypeNames.join(','), sourceSpan);\r\n }\r\n elementProps.forEach(function (prop) {\r\n _this._reportError(\"Property binding \" + prop.name + \" not used by any directive on an embedded template\", sourceSpan);\r\n });\r\n };\r\n TemplateParseVisitor.prototype._assertAllEventsPublishedByDirectives = function (directives, events) {\r\n var _this = this;\r\n var allDirectiveEvents = new Set();\r\n directives.forEach(function (directive) {\r\n collection_1.StringMapWrapper.forEach(directive.directive.outputs, function (eventName, _) { allDirectiveEvents.add(eventName); });\r\n });\r\n events.forEach(function (event) {\r\n if (lang_1.isPresent(event.target) || !collection_1.SetWrapper.has(allDirectiveEvents, event.name)) {\r\n _this._reportError(\"Event binding \" + event.fullName + \" not emitted by any directive on an embedded template\", event.sourceSpan);\r\n }\r\n });\r\n };\r\n return TemplateParseVisitor;\r\n}());\r\nvar NonBindableVisitor = (function () {\r\n function NonBindableVisitor() {\r\n }\r\n NonBindableVisitor.prototype.visitElement = function (ast, parent) {\r\n var preparsedElement = template_preparser_1.preparseElement(ast);\r\n if (preparsedElement.type === template_preparser_1.PreparsedElementType.SCRIPT ||\r\n preparsedElement.type === template_preparser_1.PreparsedElementType.STYLE ||\r\n preparsedElement.type === template_preparser_1.PreparsedElementType.STYLESHEET) {\r\n // Skipping <script> for security reasons\r\n // Skipping <style> and stylesheets as we already processed them\r\n // in the StyleCompiler\r\n return null;\r\n }\r\n var attrNameAndValues = ast.attrs.map(function (attrAst) { return [attrAst.name, attrAst.value]; });\r\n var selector = createElementCssSelector(ast.name, attrNameAndValues);\r\n var ngContentIndex = parent.findNgContentIndex(selector);\r\n var children = html_ast_1.htmlVisitAll(this, ast.children, EMPTY_ELEMENT_CONTEXT);\r\n return new template_ast_1.ElementAst(ast.name, html_ast_1.htmlVisitAll(this, ast.attrs), [], [], [], [], [], false, children, ngContentIndex, ast.sourceSpan);\r\n };\r\n NonBindableVisitor.prototype.visitComment = function (ast, context) { return null; };\r\n NonBindableVisitor.prototype.visitAttr = function (ast, context) {\r\n return new template_ast_1.AttrAst(ast.name, ast.value, ast.sourceSpan);\r\n };\r\n NonBindableVisitor.prototype.visitText = function (ast, parent) {\r\n var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR);\r\n return new template_ast_1.TextAst(ast.value, ngContentIndex, ast.sourceSpan);\r\n };\r\n NonBindableVisitor.prototype.visitExpansion = function (ast, context) { return ast; };\r\n NonBindableVisitor.prototype.visitExpansionCase = function (ast, context) { return ast; };\r\n return NonBindableVisitor;\r\n}());\r\nvar BoundElementOrDirectiveProperty = (function () {\r\n function BoundElementOrDirectiveProperty(name, expression, isLiteral, sourceSpan) {\r\n this.name = name;\r\n this.expression = expression;\r\n this.isLiteral = isLiteral;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n return BoundElementOrDirectiveProperty;\r\n}());\r\nvar ElementOrDirectiveRef = (function () {\r\n function ElementOrDirectiveRef(name, value, sourceSpan) {\r\n this.name = name;\r\n this.value = value;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n return ElementOrDirectiveRef;\r\n}());\r\nfunction splitClasses(classAttrValue) {\r\n return lang_1.StringWrapper.split(classAttrValue.trim(), /\\s+/g);\r\n}\r\nexports.splitClasses = splitClasses;\r\nvar ElementContext = (function () {\r\n function ElementContext(isTemplateElement, _ngContentIndexMatcher, _wildcardNgContentIndex, providerContext) {\r\n this.isTemplateElement = isTemplateElement;\r\n this._ngContentIndexMatcher = _ngContentIndexMatcher;\r\n this._wildcardNgContentIndex = _wildcardNgContentIndex;\r\n this.providerContext = providerContext;\r\n }\r\n ElementContext.create = function (isTemplateElement, directives, providerContext) {\r\n var matcher = new selector_1.SelectorMatcher();\r\n var wildcardNgContentIndex = null;\r\n if (directives.length > 0 && directives[0].directive.isComponent) {\r\n var ngContentSelectors = directives[0].directive.template.ngContentSelectors;\r\n for (var i = 0; i < ngContentSelectors.length; i++) {\r\n var selector = ngContentSelectors[i];\r\n if (lang_1.StringWrapper.equals(selector, '*')) {\r\n wildcardNgContentIndex = i;\r\n }\r\n else {\r\n matcher.addSelectables(selector_1.CssSelector.parse(ngContentSelectors[i]), i);\r\n }\r\n }\r\n }\r\n return new ElementContext(isTemplateElement, matcher, wildcardNgContentIndex, providerContext);\r\n };\r\n ElementContext.prototype.findNgContentIndex = function (selector) {\r\n var ngContentIndices = [];\r\n this._ngContentIndexMatcher.match(selector, function (selector, ngContentIndex) { ngContentIndices.push(ngContentIndex); });\r\n collection_1.ListWrapper.sort(ngContentIndices);\r\n if (lang_1.isPresent(this._wildcardNgContentIndex)) {\r\n ngContentIndices.push(this._wildcardNgContentIndex);\r\n }\r\n return ngContentIndices.length > 0 ? ngContentIndices[0] : null;\r\n };\r\n return ElementContext;\r\n}());\r\nfunction createElementCssSelector(elementName, matchableAttrs) {\r\n var cssSelector = new selector_1.CssSelector();\r\n var elNameNoNs = html_tags_1.splitNsName(elementName)[1];\r\n cssSelector.setElement(elNameNoNs);\r\n for (var i = 0; i < matchableAttrs.length; i++) {\r\n var attrName = matchableAttrs[i][0];\r\n var attrNameNoNs = html_tags_1.splitNsName(attrName)[1];\r\n var attrValue = matchableAttrs[i][1];\r\n cssSelector.addAttribute(attrNameNoNs, attrValue);\r\n if (attrName.toLowerCase() == CLASS_ATTR) {\r\n var classes = splitClasses(attrValue);\r\n classes.forEach(function (className) { return cssSelector.addClassName(className); });\r\n }\r\n }\r\n return cssSelector;\r\n}\r\nvar EMPTY_ELEMENT_CONTEXT = new ElementContext(true, new selector_1.SelectorMatcher(), null, null);\r\nvar NON_BINDABLE_VISITOR = new NonBindableVisitor();\r\nvar PipeCollector = (function (_super) {\r\n __extends(PipeCollector, _super);\r\n function PipeCollector() {\r\n _super.apply(this, arguments);\r\n this.pipes = new Set();\r\n }\r\n PipeCollector.prototype.visitPipe = function (ast, context) {\r\n this.pipes.add(ast.name);\r\n ast.exp.visit(this);\r\n this.visitAll(ast.args, context);\r\n return null;\r\n };\r\n return PipeCollector;\r\n}(ast_1.RecursiveAstVisitor));\r\nexports.PipeCollector = PipeCollector;\r\nfunction removeDuplicates(items) {\r\n var res = [];\r\n items.forEach(function (item) {\r\n var hasMatch = res.filter(function (r) { return r.type.name == item.type.name && r.type.moduleUrl == item.type.moduleUrl &&\r\n r.type.runtime == item.type.runtime; })\r\n .length > 0;\r\n if (!hasMatch) {\r\n res.push(item);\r\n }\r\n });\r\n return res;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVtcGxhdGVfcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3RlbXBsYXRlX3BhcnNlci50cyJdLCJuYW1lc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biA9IGlkZW50aWZpZXJUb2tlbihJZGVudGlmaWVycy5UZW1wbGF0ZVJlZik7XG4gICAgICAgIH1cbiAgICAgICAgdGFyZ2V0UmVmZXJlbmNlcy5wdXNoKG5ldyBSZWZlcmVuY2VBc3QoZWxPckRpclJlZi5uYW1lLCByZWZUb2tlbiwgZWxPckRpclJlZi5zb3VyY2VTcGFuKSk7XG4gICAgICB9XG4gICAgfSk7XG4gICAgcmV0dXJuIGRpcmVjdGl2ZUFzdHM7XG4gIH1cblxuICBwcml2YXRlIF9jcmVhdGVEaXJlY3RpdmVIb3N0UHJvcGVydHlBc3RzKGVsZW1lbnROYW1lOiBzdHJpbmcsIGhvc3RQcm9wczoge1trZXk6IHN0cmluZ106IHN0cmluZ30sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc291cmNlU3BhbjogUGFyc2VTb3VyY2VTcGFuLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhcmdldFByb3BlcnR5QXN0czogQm91bmRFbGVtZW50UHJvcGVydHlBc3RbXSkge1xuICAgIGlmIChpc1ByZXNlbnQoaG9zdFByb3BzKSkge1xuICAgICAgU3RyaW5nTWFwV3JhcHBlci5mb3JFYWNoKGhvc3RQcm9wcywgKGV4cHJlc3Npb246IHN0cmluZywgcHJvcE5hbWU6IHN0cmluZykgPT4ge1xuICAgICAgICB2YXIgZXhwckFzdCA9IHRoaXMuX3BhcnNlQmluZGluZyhleHByZXNzaW9uLCBzb3VyY2VTcGFuKTtcbiAgICAgICAgdGFyZ2V0UHJvcGVydHlBc3RzLnB1c2goXG4gICAgICAgICAgICB0aGlzLl9jcmVhdGVFbGVtZW50UHJvcGVydHlBc3QoZWxlbWVudE5hbWUsIHByb3BOYW1lLCBleHByQXN0LCBzb3VyY2VTcGFuKSk7XG4gICAgICB9KTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIF9jcmVhdGVEaXJlY3RpdmVIb3N0RXZlbn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XG4gIHJldHVybiByZXM7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';// Some of the code comes from WebComponents.JS\r\n// https://github.com/webcomponents/webcomponentsjs/blob/master/src/HTMLImports/path.js\r\n\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar StyleWithImports = (function () {\r\n function StyleWithImports(style, styleUrls) {\r\n this.style = style;\r\n this.styleUrls = styleUrls;\r\n }\r\n return StyleWithImports;\r\n}());\r\nexports.StyleWithImports = StyleWithImports;\r\nfunction isStyleUrlResolvable(url) {\r\n if (lang_1.isBlank(url) || url.length === 0 || url[0] == '/')\r\n return false;\r\n var schemeMatch = lang_1.RegExpWrapper.firstMatch(_urlWithSchemaRe, url);\r\n return lang_1.isBlank(schemeMatch) || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset';\r\n}\r\nexports.isStyleUrlResolvable = isStyleUrlResolvable;\r\n/**\r\n * Rewrites stylesheets by resolving and removing the @import urls that\r\n * are either relative or don't have a `package:` scheme\r\n */\r\nfunction extractStyleUrls(resolver, baseUrl, cssText) {\r\n var foundUrls = [];\r\n var modifiedCssText = lang_1.StringWrapper.replaceAllMapped(cssText, _cssImportRe, function (m) {\r\n var url = lang_1.isPresent(m[1]) ? m[1] : m[2];\r\n if (!isStyleUrlResolvable(url)) {\r\n // Do not attempt to resolve non-package absolute URLs with URI scheme\r\n return m[0];\r\n }\r\n foundUrls.push(resolver.resolve(baseUrl, url));\r\n return '';\r\n });\r\n return new StyleWithImports(modifiedCssText, foundUrls);\r\n}\r\nexports.extractStyleUrls = extractStyleUrls;\r\nvar _cssImportRe = /@import\\s+(?:url\\()?\\s*(?:(?:['\"]([^'\"]*))|([^;\\)\\s]*))[^;]*;?/g;\r\n// TODO: can't use /^[^:/?#.]+:/g due to clang-format bug:\r\n// https://github.com/angular/angular/issues/4596\r\nvar _urlWithSchemaRe = /^([a-zA-Z\\-\\+\\.]+):/g;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar HtmlTextAst = (function () {\r\n function HtmlTextAst(value, sourceSpan) {\r\n this.value = value;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n HtmlTextAst.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\r\n return HtmlTextAst;\r\n}());\r\nexports.HtmlTextAst = HtmlTextAst;\r\nvar HtmlExpansionAst = (function () {\r\n function HtmlExpansionAst(switchValue, type, cases, sourceSpan, switchValueSourceSpan) {\r\n this.switchValue = switchValue;\r\n this.type = type;\r\n this.cases = cases;\r\n this.sourceSpan = sourceSpan;\r\n this.switchValueSourceSpan = switchValueSourceSpan;\r\n }\r\n HtmlExpansionAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitExpansion(this, context);\r\n };\r\n return HtmlExpansionAst;\r\n}());\r\nexports.HtmlExpansionAst = HtmlExpansionAst;\r\nvar HtmlExpansionCaseAst = (function () {\r\n function HtmlExpansionCaseAst(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {\r\n this.value = value;\r\n this.expression = expression;\r\n this.sourceSpan = sourceSpan;\r\n this.valueSourceSpan = valueSourceSpan;\r\n this.expSourceSpan = expSourceSpan;\r\n }\r\n HtmlExpansionCaseAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitExpansionCase(this, context);\r\n };\r\n return HtmlExpansionCaseAst;\r\n}());\r\nexports.HtmlExpansionCaseAst = HtmlExpansionCaseAst;\r\nvar HtmlAttrAst = (function () {\r\n function HtmlAttrAst(name, value, sourceSpan) {\r\n this.name = name;\r\n this.value = value;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n HtmlAttrAst.prototype.visit = function (visitor, context) { return visitor.visitAttr(this, context); };\r\n return HtmlAttrAst;\r\n}());\r\nexports.HtmlAttrAst = HtmlAttrAst;\r\nvar HtmlElementAst = (function () {\r\n function HtmlElementAst(name, attrs, children, sourceSpan, startSourceSpan, endSourceSpan) {\r\n this.name = name;\r\n this.attrs = attrs;\r\n this.children = children;\r\n this.sourceSpan = sourceSpan;\r\n this.startSourceSpan = startSourceSpan;\r\n this.endSourceSpan = endSourceSpan;\r\n }\r\n HtmlElementAst.prototype.visit = function (visitor, context) { return visitor.visitElement(this, context); };\r\n return HtmlElementAst;\r\n}());\r\nexports.HtmlElementAst = HtmlElementAst;\r\nvar HtmlCommentAst = (function () {\r\n function HtmlCommentAst(value, sourceSpan) {\r\n this.value = value;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n HtmlCommentAst.prototype.visit = function (visitor, context) { return visitor.visitComment(this, context); };\r\n return HtmlCommentAst;\r\n}());\r\nexports.HtmlCommentAst = HtmlCommentAst;\r\nfunction htmlVisitAll(visitor, asts, context) {\r\n if (context === void 0) { context = null; }\r\n var result = [];\r\n asts.forEach(function (ast) {\r\n var astResult = ast.visit(visitor, context);\r\n if (lang_1.isPresent(astResult)) {\r\n result.push(astResult);\r\n }\r\n });\r\n return result;\r\n}\r\nexports.htmlVisitAll = htmlVisitAll;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHRtbF9hc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvaHRtbF9hc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHFCQUF3QiwwQkFBMEIsQ0FBQyxDQUFBO0FBU25EO0lBQ0UscUJBQW1CLEtBQWEsRUFBUyxVQUEyQjtRQUFqRCxVQUFLLEdBQUwsS0FBSyxDQUFRO1FBQVMsZUFBVSxHQUFWLFVBQVUsQ0FBaUI7SUFBRyxDQUFDO0lBQ3hFLDJCQUFLLEdBQUwsVUFBTSxPQUF1QixFQUFFLE9BQVksSUFBUyxNQUFNLENBQUMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxJQ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HZhciByZXN1bHQgPSBbXTtcbiAgYXN0cy5mb3JFYWNoKGFzdCA9PiB7XG4gICAgdmFyIGFzdFJlc3VsdCA9IGFzdC52aXNpdCh2aXNpdG9yLCBjb250ZXh0KTtcbiAgICBpZiAoaXNQcmVzZW50KGFzdFJlc3VsdCkpIHtcbiAgICAgIHJlc3VsdC5wdXNoKGFzdFJlc3VsdCk7XG4gICAgfVxuICB9KTtcbiAgcmV0dXJuIHJlc3VsdDtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar parse_util_1 = require('./parse_util');\r\nvar html_tags_1 = require('./html_tags');\r\n(function (HtmlTokenType) {\r\n HtmlTokenType[HtmlTokenType[\"TAG_OPEN_START\"] = 0] = \"TAG_OPEN_START\";\r\n HtmlTokenType[HtmlTokenType[\"TAG_OPEN_END\"] = 1] = \"TAG_OPEN_END\";\r\n HtmlTokenType[HtmlTokenType[\"TAG_OPEN_END_VOID\"] = 2] = \"TAG_OPEN_END_VOID\";\r\n HtmlTokenType[HtmlTokenType[\"TAG_CLOSE\"] = 3] = \"TAG_CLOSE\";\r\n HtmlTokenType[HtmlTokenType[\"TEXT\"] = 4] = \"TEXT\";\r\n HtmlTokenType[HtmlTokenType[\"ESCAPABLE_RAW_TEXT\"] = 5] = \"ESCAPABLE_RAW_TEXT\";\r\n HtmlTokenType[HtmlTokenType[\"RAW_TEXT\"] = 6] = \"RAW_TEXT\";\r\n HtmlTokenType[HtmlTokenType[\"COMMENT_START\"] = 7] = \"COMMENT_START\";\r\n HtmlTokenType[HtmlTokenType[\"COMMENT_END\"] = 8] = \"COMMENT_END\";\r\n HtmlTokenType[HtmlTokenType[\"CDATA_START\"] = 9] = \"CDATA_START\";\r\n HtmlTokenType[HtmlTokenType[\"CDATA_END\"] = 10] = \"CDATA_END\";\r\n HtmlTokenType[HtmlTokenType[\"ATTR_NAME\"] = 11] = \"ATTR_NAME\";\r\n HtmlTokenType[HtmlTokenType[\"ATTR_VALUE\"] = 12] = \"ATTR_VALUE\";\r\n HtmlTokenType[HtmlTokenType[\"DOC_TYPE\"] = 13] = \"DOC_TYPE\";\r\n HtmlTokenType[HtmlTokenType[\"EXPANSION_FORM_START\"] = 14] = \"EXPANSION_FORM_START\";\r\n HtmlTokenType[HtmlTokenType[\"EXPANSION_CASE_VALUE\"] = 15] = \"EXPANSION_CASE_VALUE\";\r\n HtmlTokenType[HtmlTokenType[\"EXPANSION_CASE_EXP_START\"] = 16] = \"EXPANSION_CASE_EXP_START\";\r\n HtmlTokenType[HtmlTokenType[\"EXPANSION_CASE_EXP_END\"] = 17] = \"EXPANSION_CASE_EXP_END\";\r\n HtmlTokenType[HtmlTokenType[\"EXPANSION_FORM_END\"] = 18] = \"EXPANSION_FORM_END\";\r\n HtmlTokenType[HtmlTokenType[\"EOF\"] = 19] = \"EOF\";\r\n})(exports.HtmlTokenType || (exports.HtmlTokenType = {}));\r\nvar HtmlTokenType = exports.HtmlTokenType;\r\nvar HtmlToken = (function () {\r\n function HtmlToken(type, parts, sourceSpan) {\r\n this.type = type;\r\n this.parts = parts;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n return HtmlToken;\r\n}());\r\nexports.HtmlToken = HtmlToken;\r\nvar HtmlTokenError = (function (_super) {\r\n __extends(HtmlTokenError, _super);\r\n function HtmlTokenError(errorMsg, tokenType, span) {\r\n _super.call(this, span, errorMsg);\r\n this.tokenType = tokenType;\r\n }\r\n return HtmlTokenError;\r\n}(parse_util_1.ParseError));\r\nexports.HtmlTokenError = HtmlTokenError;\r\nvar HtmlTokenizeResult = (function () {\r\n function HtmlTokenizeResult(tokens, errors) {\r\n this.tokens = tokens;\r\n this.errors = errors;\r\n }\r\n return HtmlTokenizeResult;\r\n}());\r\nexports.HtmlTokenizeResult = HtmlTokenizeResult;\r\nfunction tokenizeHtml(sourceContent, sourceUrl, tokenizeExpansionForms) {\r\n if (tokenizeExpansionForms === void 0) { tokenizeExpansionForms = false; }\r\n return new _HtmlTokenizer(new parse_util_1.ParseSourceFile(sourceContent, sourceUrl), tokenizeExpansionForms)\r\n .tokenize();\r\n}\r\nexports.tokenizeHtml = tokenizeHtml;\r\nvar $EOF = 0;\r\nvar $TAB = 9;\r\nvar $LF = 10;\r\nvar $FF = 12;\r\nvar $CR = 13;\r\nvar $SPACE = 32;\r\nvar $BANG = 33;\r\nvar $DQ = 34;\r\nvar $HASH = 35;\r\nvar $$ = 36;\r\nvar $AMPERSAND = 38;\r\nvar $SQ = 39;\r\nvar $MINUS = 45;\r\nvar $SLASH = 47;\r\nvar $0 = 48;\r\nvar $SEMICOLON = 59;\r\nvar $9 = 57;\r\nvar $COLON = 58;\r\nvar $LT = 60;\r\nvar $EQ = 61;\r\nvar $GT = 62;\r\nvar $QUESTION = 63;\r\nvar $LBRACKET = 91;\r\nvar $RBRACKET = 93;\r\nvar $LBRACE = 123;\r\nvar $RBRACE = 125;\r\nvar $COMMA = 44;\r\nvar $A = 65;\r\nvar $F = 70;\r\nvar $X = 88;\r\nvar $Z = 90;\r\nvar $a = 97;\r\nvar $f = 102;\r\nvar $z = 122;\r\nvar $x = 120;\r\nvar $NBSP = 160;\r\nvar CR_OR_CRLF_REGEXP = /\\r\\n?/g;\r\nfunction unexpectedCharacterErrorMsg(charCode) {\r\n var char = charCode === $EOF ? 'EOF' : lang_1.StringWrapper.fromCharCode(charCode);\r\n return \"Unexpected character \\\"\" + char + \"\\\"\";\r\n}\r\nfunction unknownEntityErrorMsg(entitySrc) {\r\n return \"Unknown entity \\\"\" + entitySrc + \"\\\" - use the \\\"&#<decimal>;\\\" or \\\"&#x<hex>;\\\" syntax\";\r\n}\r\nvar ControlFlowError = (function () {\r\n function ControlFlowError(error) {\r\n this.error = error;\r\n }\r\n return ControlFlowError;\r\n}());\r\n// See http://www.w3.org/TR/html51/syntax.html#writing\r\nvar _HtmlTokenizer = (function () {\r\n function _HtmlTokenizer(file, tokenizeExpansionForms) {\r\n this.file = file;\r\n this.tokenizeExpansionForms = tokenizeExpansionForms;\r\n // Note: this is always lowercase!\r\n this.peek = -1;\r\n this.nextPeek = -1;\r\n this.index = -1;\r\n this.line = 0;\r\n this.column = -1;\r\n this.expansionCaseStack = [];\r\n this.tokens = [];\r\n this.errors = [];\r\n this.input = file.content;\r\n this.length = file.content.length;\r\n this._advance();\r\n }\r\n _HtmlTokenizer.prototype._processCarriageReturns = function (content) {\r\n // http://www.w3.org/TR/html5/syntax.html#preprocessing-the-input-stream\r\n // In order to keep the original position in the source, we can not\r\n // pre-process it.\r\n // Instead CRs are processed right before instantiating the tokens.\r\n return lang_1.StringWrapper.replaceAll(content, CR_OR_CRLF_REGEXP, '\\n');\r\n };\r\n _HtmlTokenizer.prototype.tokenize = function () {\r\n while (this.peek !== $EOF) {\r\n var start = this._getLocation();\r\n try {\r\n if (this._attemptCharCode($LT)) {\r\n if (this._attemptCharCode($BANG)) {\r\n if (this._attemptCharCode($LBRACKET)) {\r\n this._consumeCdata(start);\r\n }\r\n else if (this._attemptCharCode($MINUS)) {\r\n this._consumeComment(start);\r\n }\r\n else {\r\n this._consumeDocType(start);\r\n }\r\n }\r\n else if (this._attemptCharCode($SLASH)) {\r\n this._consumeTagClose(start);\r\n }\r\n else {\r\n this._consumeTagOpen(start);\r\n }\r\n }\r\n else if (isSpecialFormStart(this.peek, this.nextPeek) && this.tokenizeExpansionForms) {\r\n this._consumeExpansionFormStart();\r\n }\r\n else if (this.peek === $EQ && this.tokenizeExpansionForms) {\r\n this._consumeExpansionCaseStart();\r\n }\r\n else if (this.peek === $RBRACE && this.isInExpansionCase() &&\r\n this.tokenizeExpansionForms) {\r\n this._consumeExpansionCaseEnd();\r\n }\r\n else if (this.peek === $RBRACE && this.isInExpansionForm() &&\r\n this.tokenizeExpansionForms) {\r\n this._consumeExpansionFormEnd();\r\n }\r\n else {\r\n this._consumeText();\r\n }\r\n }\r\n catch (e) {\r\n if (e instanceof ControlFlowError) {\r\n this.errors.push(e.error);\r\n }\r\n else {\r\n throw e;\r\n }\r\n }\r\n }\r\n this._beginToken(HtmlTokenType.EOF);\r\n this._endToken([]);\r\n return new HtmlTokenizeResult(mergeTextTokens(this.tokens), this.errors);\r\n };\r\n _HtmlTokenizer.prototype._getLocation = function () {\r\n return new parse_util_1.ParseLocation(this.file, this.index, this.line, this.column);\r\n };\r\n _HtmlTokenizer.prototype._getSpan = function (start, end) {\r\n if (lang_1.isBlank(start)) {\r\n start = this._getLocation();\r\n }\r\n if (lang_1.isBlank(end)) {\r\n end = this._getLocation();\r\n }\r\n return new parse_util_1.ParseSourceSpan(start, end);\r\n };\r\n _HtmlTokenizer.prototype._beginToken = function (type, start) {\r\n if (start === void 0) { start = null; }\r\n if (lang_1.isBlank(start)) {\r\n start = this._getLocation();\r\n }\r\n this.currentTokenStart = start;\r\n this.currentTokenType = type;\r\n };\r\n _HtmlTokenizer.prototype._endToken = function (parts, end) {\r\n if (end === void 0) { end = null; }\r\n if (lang_1.isBlank(end)) {\r\n end = this._getLocation();\r\n }\r\n var token = new HtmlToken(this.currentTokenType, parts, new parse_util_1.ParseSourceSpan(this.currentTokenStart, end));\r\n this.tokens.push(token);\r\n this.currentTokenStart = null;\r\n this.currentTokenType = null;\r\n return token;\r\n };\r\n _HtmlTokenizer.prototype._createError = function (msg, span) {\r\n var error = new HtmlTokenError(msg, this.currentTokenType, span);\r\n this.currentTokenStart = null;\r\n this.currentTokenType = null;\r\n return new ControlFlowError(error);\r\n };\r\n _HtmlTokenizer.prototype._advance = function () {\r\n if (this.index >= this.length) {\r\n throw this._createError(unexpectedCharacterErrorMsg($EOF), this._getSpan());\r\n }\r\n if (this.peek === $LF) {\r\n this.line++;\r\n this.column = 0;\r\n }\r\n else if (this.peek !== $LF && this.peek !== $CR) {\r\n this.column++;\r\n }\r\n this.index++;\r\n this.peek = this.index >= this.length ? $EOF : lang_1.StringWrapper.charCodeAt(this.input, this.index);\r\n this.nextPeek =\r\n this.index + 1 >= this.length ? $EOF : lang_1.StringWrapper.charCodeAt(this.input, this.index + 1);\r\n };\r\n _HtmlTokenizer.prototype._attemptCharCode = function (charCode) {\r\n if (this.peek === charCode) {\r\n this._advance();\r\n return true;\r\n }\r\n return false;\r\n };\r\n _HtmlTokenizer.prototype._attemptCharCodeCaseInsensitive = function (charCode) {\r\n if (compareCharCodeCaseInsensitive(this.peek, charCode)) {\r\n this._advance();\r\n return true;\r\n }\r\n return false;\r\n };\r\n _HtmlTokenizer.prototype._requireCharCode = function (charCode) {\r\n var location = this._getLocation();\r\n if (!this._attemptCharCode(charCode)) {\r\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan(location, location));\r\n }\r\n };\r\n _HtmlTokenizer.prototype._attemptStr = function (chars) {\r\n for (var i = 0; i < chars.length; i++) {\r\n if (!this._attemptCharCode(lang_1.StringWrapper.charCodeAt(chars, i))) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n _HtmlTokenizer.prototype._attemptStrCaseInsensitive = function (chars) {\r\n for (var i = 0; i < chars.length; i++) {\r\n if (!this._attemptCharCodeCaseInsensitive(lang_1.StringWrapper.charCodeAt(chars, i))) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n _HtmlTokenizer.prototype._requireStr = function (chars) {\r\n var location = this._getLocation();\r\n if (!this._attemptStr(chars)) {\r\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan(location));\r\n }\r\n };\r\n _HtmlTokenizer.prototype._attemptCharCodeUntilFn = function (predicate) {\r\n while (!predicate(this.peek)) {\r\n this._advance();\r\n }\r\n };\r\n _HtmlTokenizer.prototype._requireCharCodeUntilFn = function (predicate, len) {\r\n var start = this._getLocation();\r\n this._attemptCharCodeUntilFn(predicate);\r\n if (this.index - start.offset < len) {\r\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan(start, start));\r\n }\r\n };\r\n _HtmlTokenizer.prototype._attemptUntilChar = function (char) {\r\n while (this.peek !== char) {\r\n this._advance();\r\n }\r\n };\r\n _HtmlTokenizer.prototype._readChar = function (decodeEntities) {\r\n if (decodeEntities && this.peek === $AMPERSAND) {\r\n return this._decodeEntity();\r\n }\r\n else {\r\n var index = this.index;\r\n this._advance();\r\n return this.input[index];\r\n }\r\n };\r\n _HtmlTokenizer.prototype._decodeEntity = function () {\r\n var start = this._getLocation();\r\n this._advance();\r\n if (this._attemptCharCode($HASH)) {\r\n var isHex = this._attemptCharCode($x) || this._attemptCharCode($X);\r\n var numberStart = this._getLocation().offset;\r\n this._attemptCharCodeUntilFn(isDigitEntityEnd);\r\n if (this.peek != $SEMICOLON) {\r\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan());\r\n }\r\n this._advance();\r\n var strNum = this.input.substring(numberStart, this.index - 1);\r\n try {\r\n var charCode = lang_1.NumberWrapper.parseInt(strNum, isHex ? 16 : 10);\r\n return lang_1.StringWrapper.fromCharCode(charCode);\r\n }\r\n catch (e) {\r\n var entity = this.input.substring(start.offset + 1, this.index - 1);\r\n throw this._createError(unknownEntityErrorMsg(entity), this._getSpan(start));\r\n }\r\n }\r\n else {\r\n var startPosition = this._savePosition();\r\n this._attemptCharCodeUntilFn(isNamedEntityEnd);\r\n if (this.peek != $SEMICOLON) {\r\n this._restorePosition(startPosition);\r\n return '&';\r\n }\r\n this._advance();\r\n var name_1 = this.input.substring(start.offset + 1, this.index - 1);\r\n var char = html_tags_1.NAMED_ENTITIES[name_1];\r\n if (lang_1.isBlank(char)) {\r\n throw this._createError(unknownEntityErrorMsg(name_1), this._getSpan(start));\r\n }\r\n return char;\r\n }\r\n };\r\n _HtmlTokenizer.prototype._consumeRawText = function (decodeEntities, firstCharOfEnd, attemptEndRest) {\r\n var tagCloseStart;\r\n var textStart = this._getLocation();\r\n this._beginToken(decodeEntities ? HtmlTokenType.ESCAPABLE_RAW_TEXT : HtmlTokenType.RAW_TEXT, textStart);\r\n var parts = [];\r\n while (true) {\r\n tagCloseStart = this._getLocation();\r\n if (this._attemptCharCode(firstCharOfEnd) && attemptEndRest()) {\r\n break;\r\n }\r\n if (this.index > tagCloseStart.offset) {\r\n parts.push(this.input.substring(tagCloseStart.offset, this.index));\r\n }\r\n while (this.peek !== firstCharOfEnd) {\r\n parts.push(this._readChar(decodeEntities));\r\n }\r\n }\r\n return this._endToken([this._processCarriageReturns(parts.join(''))], tagCloseStart);\r\n };\r\n _HtmlTokenizer.prototype._consumeComment = function (start) {\r\n var _this = this;\r\n this._beginToken(HtmlTokenType.COMMENT_START, start);\r\n this._requireCharCode($MINUS);\r\n this._endToken([]);\r\n var textToken = this._consumeRawText(false, $MINUS, function () { return _this._attemptStr('->'); });\r\n this._beginToken(HtmlTokenType.COMMENT_END, textToken.sourceSpan.end);\r\n this._endToken([]);\r\n };\r\n _HtmlTokenizer.prototype._consumeCdata = function (start) {\r\n var _this = this;\r\n this._beginToken(HtmlTokenType.CDATA_START, start);\r\n this._requireStr('CDATA[');\r\n this._endToken([]);\r\n var textToken = this._consumeRawText(false, $RBRACKET, function () { return _this._attemptStr(']>'); });\r\n this._beginToken(HtmlTokenType.CDATA_END, textToken.sourceSpan.end);\r\n this._endToken([]);\r\n };\r\n _HtmlTokenizer.prototype._consumeDocType = function (start) {\r\n this._beginToken(HtmlTokenType.DOC_TYPE, start);\r\n this._attemptUntilChar($GT);\r\n this._advance();\r\n this._endToken([this.input.substring(start.offset + 2, this.index - 1)]);\r\n };\r\n _HtmlTokenizer.prototype._consumePrefixAndName = function () {\r\n var nameOrPrefixStart = this.index;\r\n var prefix = null;\r\n while (this.peek !== $COLON && !isPrefixEnd(this.peek)) {\r\n this._advance();\r\n }\r\n var nameStart;\r\n if (this.peek === $COLON) {\r\n this._advance();\r\n prefix = this.input.substring(nameOrPrefixStart, this.index - 1);\r\n nameStart = this.index;\r\n }\r\n else {\r\n nameStart = nameOrPrefixStart;\r\n }\r\n this._requireCharCodeUntilFn(isNameEnd, this.index === nameStart ? 1 : 0);\r\n var name = this.input.substring(nameStart, this.index);\r\n return [prefix, name];\r\n };\r\n _HtmlTokenizer.prototype._consumeTagOpen = function (start) {\r\n var savedPos = this._savePosition();\r\n var lowercaseTagName;\r\n try {\r\n if (!isAsciiLetter(this.peek)) {\r\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan());\r\n }\r\n var nameStart = this.index;\r\n this._consumeTagOpenStart(start);\r\n lowercaseTagName = this.input.substring(nameStart, this.index).toLowerCase();\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n while (this.peek !== $SLASH && this.peek !== $GT) {\r\n this._consumeAttributeName();\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n if (this._attemptCharCode($EQ)) {\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n this._consumeAttributeValue();\r\n }\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n }\r\n this._consumeTagOpenEnd();\r\n }\r\n catch (e) {\r\n if (e instanceof ControlFlowError) {\r\n // When the start tag is invalid, assume we want a \"<\"\r\n this._restorePosition(savedPos);\r\n // Back to back text tokens are merged at the end\r\n this._beginToken(HtmlTokenType.TEXT, start);\r\n this._endToken(['<']);\r\n return;\r\n }\r\n throw e;\r\n }\r\n var contentTokenType = html_tags_1.getHtmlTagDefinition(lowercaseTagName).contentType;\r\n if (contentTokenType === html_tags_1.HtmlTagContentType.RAW_TEXT) {\r\n this._consumeRawTextWithTagClose(lowercaseTagName, false);\r\n }\r\n else if (contentTokenType === html_tags_1.HtmlTagContentType.ESCAPABLE_RAW_TEXT) {\r\n this._consumeRawTextWithTagClose(lowercaseTagName, true);\r\n }\r\n };\r\n _HtmlTokenizer.prototype._consumeRawTextWithTagClose = function (lowercaseTagName, decodeEntities) {\r\n var _this = this;\r\n var textToken = this._consumeRawText(decodeEntities, $LT, function () {\r\n if (!_this._attemptCharCode($SLASH))\r\n return false;\r\n _this._attemptCharCodeUntilFn(isNotWhitespace);\r\n if (!_this._attemptStrCaseInsensitive(lowercaseTagName))\r\n return false;\r\n _this._attemptCharCodeUntilFn(isNotWhitespace);\r\n if (!_this._attemptCharCode($GT))\r\n return false;\r\n return true;\r\n });\r\n this._beginToken(HtmlTokenType.TAG_CLOSE, textToken.sourceSpan.end);\r\n this._endToken([null, lowercaseTagName]);\r\n };\r\n _HtmlTokenizer.prototype._consumeTagOpenStart = function (start) {\r\n this._beginToken(HtmlTokenType.TAG_OPEN_START, start);\r\n var parts = this._consumePrefixAndName();\r\n this._endToken(parts);\r\n };\r\n _HtmlTokenizer.prototype._consumeAttributeName = function () {\r\n this._beginToken(HtmlTokenType.ATTR_NAME);\r\n var prefixAndName = this._consumePrefixAndName();\r\n this._endToken(prefixAndName);\r\n };\r\n _HtmlTokenizer.prototype._consumeAttributeValue = function () {\r\n this._beginToken(HtmlTokenType.ATTR_VALUE);\r\n var value;\r\n if (this.peek === $SQ || this.peek === $DQ) {\r\n var quoteChar = this.peek;\r\n this._advance();\r\n var parts = [];\r\n while (this.peek !== quoteChar) {\r\n parts.push(this._readChar(true));\r\n }\r\n value = parts.join('');\r\n this._advance();\r\n }\r\n else {\r\n var valueStart = this.index;\r\n this._requireCharCodeUntilFn(isNameEnd, 1);\r\n value = this.input.substring(valueStart, this.index);\r\n }\r\n this._endToken([this._processCarriageReturns(value)]);\r\n };\r\n _HtmlTokenizer.prototype._consumeTagOpenEnd = function () {\r\n var tokenType = this._attemptCharCode($SLASH) ? HtmlTokenType.TAG_OPEN_END_VOID :\r\n HtmlTokenType.TAG_OPEN_END;\r\n this._beginToken(tokenType);\r\n this._requireCharCode($GT);\r\n this._endToken([]);\r\n };\r\n _HtmlTokenizer.prototype._consumeTagClose = function (start) {\r\n this._beginToken(HtmlTokenType.TAG_CLOSE, start);\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n var prefixAndName;\r\n prefixAndName = this._consumePrefixAndName();\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n this._requireCharCode($GT);\r\n this._endToken(prefixAndName);\r\n };\r\n _HtmlTokenizer.prototype._consumeExpansionFormStart = function () {\r\n this._beginToken(HtmlTokenType.EXPANSION_FORM_START, this._getLocation());\r\n this._requireCharCode($LBRACE);\r\n this._endToken([]);\r\n this._beginToken(HtmlTokenType.RAW_TEXT, this._getLocation());\r\n var condition = this._readUntil($COMMA);\r\n this._endToken([condition], this._getLocation());\r\n this._requireCharCode($COMMA);\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n this._beginToken(HtmlTokenType.RAW_TEXT, this._getLocation());\r\n var type = this._readUntil($COMMA);\r\n this._endToken([type], this._getLocation());\r\n this._requireCharCode($COMMA);\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n this.expansionCaseStack.push(HtmlTokenType.EXPANSION_FORM_START);\r\n };\r\n _HtmlTokenizer.prototype._consumeExpansionCaseStart = function () {\r\n this._requireCharCode($EQ);\r\n this._beginToken(HtmlTokenType.EXPANSION_CASE_VALUE, this._getLocation());\r\n var value = this._readUntil($LBRACE).trim();\r\n this._endToken([value], this._getLocation());\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n this._beginToken(HtmlTokenType.EXPANSION_CASE_EXP_START, this._getLocation());\r\n this._requireCharCode($LBRACE);\r\n this._endToken([], this._getLocation());\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n this.expansionCaseStack.push(HtmlTokenType.EXPANSION_CASE_EXP_START);\r\n };\r\n _HtmlTokenizer.prototype._consumeExpansionCaseEnd = function () {\r\n this._beginToken(HtmlTokenType.EXPANSION_CASE_EXP_END, this._getLocation());\r\n this._requireCharCode($RBRACE);\r\n this._endToken([], this._getLocation());\r\n this._attemptCharCodeUntilFn(isNotWhitespace);\r\n this.expansionCaseStack.pop();\r\n };\r\n _HtmlTokenizer.prototype._consumeExpansionFormEnd = function () {\r\n this._beginToken(HtmlTokenType.EXPANSION_FORM_END, this._getLocation());\r\n this._requireCharCode($RBRACE);\r\n this._endToken([]);\r\n this.expansionCaseStack.pop();\r\n };\r\n _HtmlTokenizer.prototype._consumeText = function () {\r\n var start = this._getLocation();\r\n this._beginToken(HtmlTokenType.TEXT, start);\r\n var parts = [];\r\n var interpolation = false;\r\n if (this.peek === $LBRACE && this.nextPeek === $LBRACE) {\r\n parts.push(this._readChar(true));\r\n parts.push(this._readChar(true));\r\n interpolation = true;\r\n }\r\n else {\r\n parts.push(this._readChar(true));\r\n }\r\n while (!this.isTextEnd(interpolation)) {\r\n if (this.peek === $LBRACE && this.nextPeek === $LBRACE) {\r\n parts.push(this._readChar(true));\r\n parts.push(this._readChar(true));\r\n interpolation = true;\r\n }\r\n else if (this.peek === $RBRACE && this.nextPeek === $RBRACE && interpolation) {\r\n parts.push(this._readChar(true));\r\n parts.push(this._readChar(true));\r\n interpolation = false;\r\n }\r\n else {\r\n parts.push(this._readChar(true));\r\n }\r\n }\r\n this._endToken([this._processCarriageReturns(parts.join(''))]);\r\n };\r\n _HtmlTokenizer.prototype.isTextEnd = function (interpolation) {\r\n if (this.peek === $LT || this.peek === $EOF)\r\n return true;\r\n if (this.tokenizeExpansionForms) {\r\n if (isSpecialFormStart(this.peek, this.nextPeek))\r\n return true;\r\n if (this.peek === $RBRACE && !interpolation &&\r\n (this.isInExpansionCase() || this.isInExpansionForm()))\r\n return true;\r\n }\r\n return false;\r\n };\r\n _HtmlTokenizer.prototype._savePosition = function () {\r\n return [this.peek, this.index, this.column, this.line, this.tokens.length];\r\n };\r\n _HtmlTokenizer.prototype._readUntil = function (char) {\r\n var start = this.index;\r\n this._attemptUntilChar(char);\r\n return this.input.substring(start, this.index);\r\n };\r\n _HtmlTokenizer.prototype._restorePosition = function (position) {\r\n this.peek = position[0];\r\n this.index = position[1];\r\n this.column = position[2];\r\n this.line = position[3];\r\n var nbTokens = position[4];\r\n if (nbTokens < this.tokens.length) {\r\n // remove any extra tokens\r\n this.tokens = collection_1.ListWrapper.slice(this.tokens, 0, nbTokens);\r\n }\r\n };\r\n _HtmlTokenizer.prototype.isInExpansionCase = function () {\r\n return this.expansionCaseStack.length > 0 &&\r\n this.expansionCaseStack[this.expansionCaseStack.length - 1] ===\r\n HtmlTokenType.EXPANSION_CASE_EXP_START;\r\n };\r\n _HtmlTokenizer.prototype.isInExpansionForm = function () {\r\n return this.expansionCaseStack.length > 0 &&\r\n this.expansionCaseStack[this.expansionCaseStack.length - 1] ===\r\n HtmlTokenType.EXPANSION_FORM_START;\r\n };\r\n return _HtmlTokenizer;\r\n}());\r\nfunction isNotWhitespace(code) {\r\n return !isWhitespace(code) || code === $EOF;\r\n}\r\nfunction isWhitespace(code) {\r\n return (code >= $TAB && code <= $SPACE) || (code === $NBSP);\r\n}\r\nfunction isNameEnd(code) {\r\n return isWhitespace(code) || code === $GT || code === $SLASH || code === $SQ || code === $DQ ||\r\n code === $EQ;\r\n}\r\nfunction isPrefixEnd(code) {\r\n return (code < $a || $z < code) && (code < $A || $Z < code) && (code < $0 || code > $9);\r\n}\r\nfunction isDigitEntityEnd(code) {\r\n return code == $SEMICOLON || code == $EOF || !isAsciiHexDigit(code);\r\n}\r\nfunction isNamedEntityEnd(code) {\r\n return code == $SEMICOLON || code == $EOF || !isAsciiLetter(code);\r\n}\r\nfunction isSpecialFormStart(peek, nextPeek) {\r\n return peek === $LBRACE && nextPeek != $LBRACE;\r\n}\r\nfunction isAsciiLetter(code) {\r\n return code >= $a && code <= $z || code >= $A && code <= $Z;\r\n}\r\nfunction isAsciiHexDigit(code) {\r\n return code >= $a && code <= $f || code >= $A && code <= $F || code >= $0 && code <= $9;\r\n}\r\nfunction compareCharCodeCaseInsensitive(code1, code2) {\r\n return toUpperCaseCharCode(code1) == toUpperCaseCharCode(code2);\r\n}\r\nfunction toUpperCaseCharCode(code) {\r\n return code >= $a && code <= $z ? code - $a + $A : code;\r\n}\r\nfunction mergeTextTokens(srcTokens) {\r\n var dstTokens = [];\r\n var lastDstToken;\r\n for (var i = 0; i < srcTokens.length; i++) {\r\n var token = srcTokens[i];\r\n if (lang_1.isPresent(lastDstToken) && lastDstToken.type == HtmlTokenType.TEXT &&\r\n token.type == HtmlTokenType.TEXT) {\r\n lastDstToken.parts[0] += token.parts[0];\r\n lastDstToken.sourceSpan.end = token.sourceSpan.end;\r\n }\r\n else {\r\n lastDstToken = token;\r\n dstTokens.push(lastDstToken);\r\n }\r\n }\r\n return dstTokens;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHRtbF9sZXhlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci9odG1sX2xleGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHFCQU9PLDBCQUEwQixDQUFDLENBQUE7QUFDbEMsMkJBQTBCLGdDQUFnQyxDQUFDLENBQUE7QUFDM0QsMkJBQTBFLGNBQWMsQ0FBQyxDQUFBO0FBQ3pGLDBCQUF1RSxhQUFhLENBQUMsQ0FBQTtBQUVyRixXQUFZLGFBQWE7SUFDdkIscUVBQWMsQ0FBQTtJQUNkLGlFQUFZLENBQUE7SUFDWiwyRUFBaUIsQ0FBQTtJQUNqQiwyREFBUyxDQUFBO0lBQ1QsaURBQUksQ0FBQTtJQUNKLDZFQUFrQixDQUFBO0lBQ2xCLHlEQUFRLENBQUE7SUFDUixtRUFBYSxDQUFBO0lBQ2IsK0RBQVcsQ0FBQTtJQUNYLCtEQUFXLENBQUE7SUFDWCw0REFBUyxDQUFBO0lBQ1QsNERBQVMsQ0FBQTtJQUNULDhEQUFVLENBQUE7SUFDViwwREFBUSxDQUFBO0lBQ1Isa0ZBQW9CLENBQUE7SUFDcEIsa0ZBQW9CLENBQUE7SUFD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G9rZW5zKHNyY1Rva2VuczogSHRtbFRva2VuW10pOiBIdG1sVG9rZW5bXSB7XG4gIGxldCBkc3RUb2tlbnMgPSBbXTtcbiAgbGV0IGxhc3REc3RUb2tlbjogSHRtbFRva2VuO1xuICBmb3IgKGxldCBpID0gMDsgaSA8IHNyY1Rva2Vucy5sZW5ndGg7IGkrKykge1xuICAgIGxldCB0b2tlbiA9IHNyY1Rva2Vuc1tpXTtcbiAgICBpZiAoaXNQcmVzZW50KGxhc3REc3RUb2tlbikgJiYgbGFzdERzdFRva2VuLnR5cGUgPT0gSHRtbFRva2VuVHlwZS5URVhUICYmXG4gICAgICAgIHRva2VuLnR5cGUgPT0gSHRtbFRva2VuVHlwZS5URVhUKSB7XG4gICAgICBsYXN0RHN0VG9rZW4ucGFydHNbMF0gKz0gdG9rZW4ucGFydHNbMF07XG4gICAgICBsYXN0RHN0VG9rZW4uc291cmNlU3Bhbi5lbmQgPSB0b2tlbi5zb3VyY2VTcGFuLmVuZDtcbiAgICB9IGVsc2Uge1xuICAgICAgbGFzdERzdFRva2VuID0gdG9rZW47XG4gICAgICBkc3RUb2tlbnMucHVzaChsYXN0RHN0VG9rZW4pO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiBkc3RUb2tlbnM7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar ParseLocation = (function () {\r\n function ParseLocation(file, offset, line, col) {\r\n this.file = file;\r\n this.offset = offset;\r\n this.line = line;\r\n this.col = col;\r\n }\r\n ParseLocation.prototype.toString = function () { return this.file.url + \"@\" + this.line + \":\" + this.col; };\r\n return ParseLocation;\r\n}());\r\nexports.ParseLocation = ParseLocation;\r\nvar ParseSourceFile = (function () {\r\n function ParseSourceFile(content, url) {\r\n this.content = content;\r\n this.url = url;\r\n }\r\n return ParseSourceFile;\r\n}());\r\nexports.ParseSourceFile = ParseSourceFile;\r\nvar ParseSourceSpan = (function () {\r\n function ParseSourceSpan(start, end) {\r\n this.start = start;\r\n this.end = end;\r\n }\r\n ParseSourceSpan.prototype.toString = function () {\r\n return this.start.file.content.substring(this.start.offset, this.end.offset);\r\n };\r\n return ParseSourceSpan;\r\n}());\r\nexports.ParseSourceSpan = ParseSourceSpan;\r\n(function (ParseErrorLevel) {\r\n ParseErrorLevel[ParseErrorLevel[\"WARNING\"] = 0] = \"WARNING\";\r\n ParseErrorLevel[ParseErrorLevel[\"FATAL\"] = 1] = \"FATAL\";\r\n})(exports.ParseErrorLevel || (exports.ParseErrorLevel = {}));\r\nvar ParseErrorLevel = exports.ParseErrorLevel;\r\nvar ParseError = (function () {\r\n function ParseError(span, msg, level) {\r\n if (level === void 0) { level = ParseErrorLevel.FATAL; }\r\n this.span = span;\r\n this.msg = msg;\r\n this.level = level;\r\n }\r\n ParseError.prototype.toString = function () {\r\n var source = this.span.start.file.content;\r\n var ctxStart = this.span.start.offset;\r\n if (ctxStart > source.length - 1) {\r\n ctxStart = source.length - 1;\r\n }\r\n var ctxEnd = ctxStart;\r\n var ctxLen = 0;\r\n var ctxLines = 0;\r\n while (ctxLen < 100 && ctxStart > 0) {\r\n ctxStart--;\r\n ctxLen++;\r\n if (source[ctxStart] == \"\\n\") {\r\n if (++ctxLines == 3) {\r\n break;\r\n }\r\n }\r\n }\r\n ctxLen = 0;\r\n ctxLines = 0;\r\n while (ctxLen < 100 && ctxEnd < source.length - 1) {\r\n ctxEnd++;\r\n ctxLen++;\r\n if (source[ctxEnd] == \"\\n\") {\r\n if (++ctxLines == 3) {\r\n break;\r\n }\r\n }\r\n }\r\n var context = source.substring(ctxStart, this.span.start.offset) + '[ERROR ->]' +\r\n source.substring(this.span.start.offset, ctxEnd + 1);\r\n return this.msg + \" (\\\"\" + context + \"\\\"): \" + this.span.start;\r\n };\r\n return ParseError;\r\n}());\r\nexports.ParseError = ParseError;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfdXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiL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B7XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICBsZXQgY29udGV4dCA9IHNvdXJjZS5zdWJzdHJpbmcoY3R4U3RhcnQsIHRoaXMuc3Bhbi5zdGFydC5vZmZzZXQpICsgJ1tFUlJPUiAtPl0nICtcbiAgICAgICAgICAgICAgICAgIHNvdXJjZS5zdWJzdHJpbmcodGhpcy5zcGFuLnN0YXJ0Lm9mZnNldCwgY3R4RW5kICsgMSk7XG5cbiAgICByZXR1cm4gYCR7dGhpcy5tc2d9IChcIiR7Y29udGV4dH1cIik6ICR7dGhpcy5zcGFuLnN0YXJ0fWA7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar html_ast_1 = require('./html_ast');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar html_lexer_1 = require('./html_lexer');\r\nvar parse_util_1 = require('./parse_util');\r\nvar html_tags_1 = require('./html_tags');\r\nvar HtmlTreeError = (function (_super) {\r\n __extends(HtmlTreeError, _super);\r\n function HtmlTreeError(elementName, span, msg) {\r\n _super.call(this, span, msg);\r\n this.elementName = elementName;\r\n }\r\n HtmlTreeError.create = function (elementName, span, msg) {\r\n return new HtmlTreeError(elementName, span, msg);\r\n };\r\n return HtmlTreeError;\r\n}(parse_util_1.ParseError));\r\nexports.HtmlTreeError = HtmlTreeError;\r\nvar HtmlParseTreeResult = (function () {\r\n function HtmlParseTreeResult(rootNodes, errors) {\r\n this.rootNodes = rootNodes;\r\n this.errors = errors;\r\n }\r\n return HtmlParseTreeResult;\r\n}());\r\nexports.HtmlParseTreeResult = HtmlParseTreeResult;\r\nvar HtmlParser = (function () {\r\n function HtmlParser() {\r\n }\r\n HtmlParser.prototype.parse = function (sourceContent, sourceUrl, parseExpansionForms) {\r\n if (parseExpansionForms === void 0) { parseExpansionForms = false; }\r\n var tokensAndErrors = html_lexer_1.tokenizeHtml(sourceContent, sourceUrl, parseExpansionForms);\r\n var treeAndErrors = new TreeBuilder(tokensAndErrors.tokens).build();\r\n return new HtmlParseTreeResult(treeAndErrors.rootNodes, tokensAndErrors.errors\r\n .concat(treeAndErrors.errors));\r\n };\r\n HtmlParser = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], HtmlParser);\r\n return HtmlParser;\r\n}());\r\nexports.HtmlParser = HtmlParser;\r\nvar TreeBuilder = (function () {\r\n function TreeBuilder(tokens) {\r\n this.tokens = tokens;\r\n this.index = -1;\r\n this.rootNodes = [];\r\n this.errors = [];\r\n this.elementStack = [];\r\n this._advance();\r\n }\r\n TreeBuilder.prototype.build = function () {\r\n while (this.peek.type !== html_lexer_1.HtmlTokenType.EOF) {\r\n if (this.peek.type === html_lexer_1.HtmlTokenType.TAG_OPEN_START) {\r\n this._consumeStartTag(this._advance());\r\n }\r\n else if (this.peek.type === html_lexer_1.HtmlTokenType.TAG_CLOSE) {\r\n this._consumeEndTag(this._advance());\r\n }\r\n else if (this.peek.type === html_lexer_1.HtmlTokenType.CDATA_START) {\r\n this._closeVoidElement();\r\n this._consumeCdata(this._advance());\r\n }\r\n else if (this.peek.type === html_lexer_1.HtmlTokenType.COMMENT_START) {\r\n this._closeVoidElement();\r\n this._consumeComment(this._advance());\r\n }\r\n else if (this.peek.type === html_lexer_1.HtmlTokenType.TEXT ||\r\n this.peek.type === html_lexer_1.HtmlTokenType.RAW_TEXT ||\r\n this.peek.type === html_lexer_1.HtmlTokenType.ESCAPABLE_RAW_TEXT) {\r\n this._closeVoidElement();\r\n this._consumeText(this._advance());\r\n }\r\n else if (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_FORM_START) {\r\n this._consumeExpansion(this._advance());\r\n }\r\n else {\r\n // Skip all other tokens...\r\n this._advance();\r\n }\r\n }\r\n return new HtmlParseTreeResult(this.rootNodes, this.errors);\r\n };\r\n TreeBuilder.prototype._advance = function () {\r\n var prev = this.peek;\r\n if (this.index < this.tokens.length - 1) {\r\n // Note: there is always an EOF token at the end\r\n this.index++;\r\n }\r\n this.peek = this.tokens[this.index];\r\n return prev;\r\n };\r\n TreeBuilder.prototype._advanceIf = function (type) {\r\n if (this.peek.type === type) {\r\n return this._advance();\r\n }\r\n return null;\r\n };\r\n TreeBuilder.prototype._consumeCdata = function (startToken) {\r\n this._consumeText(this._advance());\r\n this._advanceIf(html_lexer_1.HtmlTokenType.CDATA_END);\r\n };\r\n TreeBuilder.prototype._consumeComment = function (token) {\r\n var text = this._advanceIf(html_lexer_1.HtmlTokenType.RAW_TEXT);\r\n this._advanceIf(html_lexer_1.HtmlTokenType.COMMENT_END);\r\n var value = lang_1.isPresent(text) ? text.parts[0].trim() : null;\r\n this._addToParent(new html_ast_1.HtmlCommentAst(value, token.sourceSpan));\r\n };\r\n TreeBuilder.prototype._consumeExpansion = function (token) {\r\n var switchValue = this._advance();\r\n var type = this._advance();\r\n var cases = [];\r\n // read =\r\n while (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_CASE_VALUE) {\r\n var expCase = this._parseExpansionCase();\r\n if (lang_1.isBlank(expCase))\r\n return; // error\r\n cases.push(expCase);\r\n }\r\n // read the final }\r\n if (this.peek.type !== html_lexer_1.HtmlTokenType.EXPANSION_FORM_END) {\r\n this.errors.push(HtmlTreeError.create(null, this.peek.sourceSpan, \"Invalid expansion form. Missing '}'.\"));\r\n return;\r\n }\r\n this._advance();\r\n var mainSourceSpan = new parse_util_1.ParseSourceSpan(token.sourceSpan.start, this.peek.sourceSpan.end);\r\n this._addToParent(new html_ast_1.HtmlExpansionAst(switchValue.parts[0], type.parts[0], cases, mainSourceSpan, switchValue.sourceSpan));\r\n };\r\n TreeBuilder.prototype._parseExpansionCase = function () {\r\n var value = this._advance();\r\n // read {\r\n if (this.peek.type !== html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_START) {\r\n this.errors.push(HtmlTreeError.create(null, this.peek.sourceSpan, \"Invalid expansion form. Missing '{'.,\"));\r\n return null;\r\n }\r\n // read until }\r\n var start = this._advance();\r\n var exp = this._collectExpansionExpTokens(start);\r\n if (lang_1.isBlank(exp))\r\n return null;\r\n var end = this._advance();\r\n exp.push(new html_lexer_1.HtmlToken(html_lexer_1.HtmlTokenType.EOF, [], end.sourceSpan));\r\n // parse everything in between { and }\r\n var parsedExp = new TreeBuilder(exp).build();\r\n if (parsedExp.errors.length > 0) {\r\n this.errors = this.errors.concat(parsedExp.errors);\r\n return null;\r\n }\r\n var sourceSpan = new parse_util_1.ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end);\r\n var expSourceSpan = new parse_util_1.ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end);\r\n return new html_ast_1.HtmlExpansionCaseAst(value.parts[0], parsedExp.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);\r\n };\r\n TreeBuilder.prototype._collectExpansionExpTokens = function (start) {\r\n var exp = [];\r\n var expansionFormStack = [html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_START];\r\n while (true) {\r\n if (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_FORM_START ||\r\n this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_START) {\r\n expansionFormStack.push(this.peek.type);\r\n }\r\n if (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_END) {\r\n if (lastOnStack(expansionFormStack, html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_START)) {\r\n expansionFormStack.pop();\r\n if (expansionFormStack.length == 0)\r\n return exp;\r\n }\r\n else {\r\n this.errors.push(HtmlTreeError.create(null, start.sourceSpan, \"Invalid expansion form. Missing '}'.\"));\r\n return null;\r\n }\r\n }\r\n if (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_FORM_END) {\r\n if (lastOnStack(expansionFormStack, html_lexer_1.HtmlTokenType.EXPANSION_FORM_START)) {\r\n expansionFormStack.pop();\r\n }\r\n else {\r\n this.errors.push(HtmlTreeError.create(null, start.sourceSpan, \"Invalid expansion form. Missing '}'.\"));\r\n return null;\r\n }\r\n }\r\n if (this.peek.type === html_lexer_1.HtmlTokenType.EOF) {\r\n this.errors.push(HtmlTreeError.create(null, start.sourceSpan, \"Invalid expansion form. Missing '}'.\"));\r\n return null;\r\n }\r\n exp.push(this._advance());\r\n }\r\n };\r\n TreeBuilder.prototype._consumeText = function (token) {\r\n var text = token.parts[0];\r\n if (text.length > 0 && text[0] == '\\n') {\r\n var parent_1 = this._getParentElement();\r\n if (lang_1.isPresent(parent_1) && parent_1.children.length == 0 &&\r\n html_tags_1.getHtmlTagDefinition(parent_1.name).ignoreFirstLf) {\r\n text = text.substring(1);\r\n }\r\n }\r\n if (text.length > 0) {\r\n this._addToParent(new html_ast_1.HtmlTextAst(text, token.sourceSpan));\r\n }\r\n };\r\n TreeBuilder.prototype._closeVoidElement = function () {\r\n if (this.elementStack.length > 0) {\r\n var el = collection_1.ListWrapper.last(this.elementStack);\r\n if (html_tags_1.getHtmlTagDefinition(el.name).isVoid) {\r\n this.elementStack.pop();\r\n }\r\n }\r\n };\r\n TreeBuilder.prototype._consumeStartTag = function (startTagToken) {\r\n var prefix = startTagToken.parts[0];\r\n var name = startTagToken.parts[1];\r\n var attrs = [];\r\n while (this.peek.type === html_lexer_1.HtmlTokenType.ATTR_NAME) {\r\n attrs.push(this._consumeAttr(this._advance()));\r\n }\r\n var fullName = getElementFullName(prefix, name, this._getParentElement());\r\n var selfClosing = false;\r\n // Note: There could have been a tokenizer error\r\n // so that we don't get a token for the end tag...\r\n if (this.peek.type === html_lexer_1.HtmlTokenType.TAG_OPEN_END_VOID) {\r\n this._advance();\r\n selfClosing = true;\r\n if (html_tags_1.getNsPrefix(fullName) == null && !html_tags_1.getHtmlTagDefinition(fullName).isVoid) {\r\n this.errors.push(HtmlTreeError.create(fullName, startTagToken.sourceSpan, \"Only void and foreign elements can be self closed \\\"\" + startTagToken.parts[1] + \"\\\"\"));\r\n }\r\n }\r\n else if (this.peek.type === html_lexer_1.HtmlTokenType.TAG_OPEN_END) {\r\n this._advance();\r\n selfClosing = false;\r\n }\r\n var end = this.peek.sourceSpan.start;\r\n var span = new parse_util_1.ParseSourceSpan(startTagToken.sourceSpan.start, end);\r\n var el = new html_ast_1.HtmlElementAst(fullName, attrs, [], span, span, null);\r\n this._pushElement(el);\r\n if (selfClosing) {\r\n this._popElement(fullName);\r\n el.endSourceSpan = span;\r\n }\r\n };\r\n TreeBuilder.prototype._pushElement = function (el) {\r\n if (this.elementStack.length > 0) {\r\n var parentEl = collection_1.ListWrapper.last(this.elementStack);\r\n if (html_tags_1.getHtmlTagDefinition(parentEl.name).isClosedByChild(el.name)) {\r\n this.elementStack.pop();\r\n }\r\n }\r\n var tagDef = html_tags_1.getHtmlTagDefinition(el.name);\r\n var parentEl = this._getParentElement();\r\n if (tagDef.requireExtraParent(lang_1.isPresent(parentEl) ? parentEl.name : null)) {\r\n var newParent = new html_ast_1.HtmlElementAst(tagDef.parentToAdd, [], [el], el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\r\n this._addToParent(newParent);\r\n this.elementStack.push(newParent);\r\n this.elementStack.push(el);\r\n }\r\n else {\r\n this._addToParent(el);\r\n this.elementStack.push(el);\r\n }\r\n };\r\n TreeBuilder.prototype._consumeEndTag = function (endTagToken) {\r\n var fullName = getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());\r\n this._getParentElement().endSourceSpan = endTagToken.sourceSpan;\r\n if (html_tags_1.getHtmlTagDefinition(fullName).isVoid) {\r\n this.errors.push(HtmlTreeError.create(fullName, endTagToken.sourceSpan, \"Void elements do not have end tags \\\"\" + endTagToken.parts[1] + \"\\\"\"));\r\n }\r\n else if (!this._popElement(fullName)) {\r\n this.errors.push(HtmlTreeError.create(fullName, endTagToken.sourceSpan, \"Unexpected closing tag \\\"\" + endTagToken.parts[1] + \"\\\"\"));\r\n }\r\n };\r\n TreeBuilder.prototype._popElement = function (fullName) {\r\n for (var stackIndex = this.elementStack.length - 1; stackIndex >= 0; stackIndex--) {\r\n var el = this.elementStack[stackIndex];\r\n if (el.name == fullName) {\r\n collection_1.ListWrapper.splice(this.elementStack, stackIndex, this.elementStack.length - stackIndex);\r\n return true;\r\n }\r\n if (!html_tags_1.getHtmlTagDefinition(el.name).closedByParent) {\r\n return false;\r\n }\r\n }\r\n return false;\r\n };\r\n TreeBuilder.prototype._consumeAttr = function (attrName) {\r\n var fullName = html_tags_1.mergeNsAndName(attrName.parts[0], attrName.parts[1]);\r\n var end = attrName.sourceSpan.end;\r\n var value = '';\r\n if (this.peek.type === html_lexer_1.HtmlTokenType.ATTR_VALUE) {\r\n var valueToken = this._advance();\r\n value = valueToken.parts[0];\r\n end = valueToken.sourceSpan.end;\r\n }\r\n return new html_ast_1.HtmlAttrAst(fullName, value, new parse_util_1.ParseSourceSpan(attrName.sourceSpan.start, end));\r\n };\r\n TreeBuilder.prototype._getParentElement = function () {\r\n return this.elementStack.length > 0 ? collection_1.ListWrapper.last(this.elementStack) : null;\r\n };\r\n TreeBuilder.prototype._addToParent = function (node) {\r\n var parent = this._getParentElement();\r\n if (lang_1.isPresent(parent)) {\r\n parent.children.push(node);\r\n }\r\n else {\r\n this.rootNodes.push(node);\r\n }\r\n };\r\n return TreeBuilder;\r\n}());\r\nfunction getElementFullName(prefix, localName, parentElement) {\r\n if (lang_1.isBlank(prefix)) {\r\n prefix = html_tags_1.getHtmlTagDefinition(localName).implicitNamespacePrefix;\r\n if (lang_1.isBlank(prefix) && lang_1.isPresent(parentElement)) {\r\n prefix = html_tags_1.getNsPrefix(parentElement.name);\r\n }\r\n }\r\n return html_tags_1.mergeNsAndName(prefix, localName);\r\n}\r\nfunction lastOnStack(stack, element) {\r\n return stack.length > 0 && stack[stack.length - 1] === element;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHRtbF9wYXJzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvaHRtbF9wYXJzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUEscUJBU08sMEJBQTBCLENBQUMsQ0FBQTtBQUVsQywyQkFBMEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUUzRCx5QkFRTyxZQUFZLENBQUMsQ0FBQTtBQUVwQixtQkFBeUIsc0JBQXNCLENBQUMsQ0FBQTtBQUNoRCwyQkFBcUQsY0FBYyxDQUFDLENBQUE7QUFDcEUsMkJBQXlELGNBQWMsQ0FBQyxDQUFBO0FBQ3hFLDBCQUFtRixhQUFhLENBQUMsQ0FBQTtBQUVqRztJQUFtQyxpQ0FBVTtJQUszQyx1QkFBbUIsV0FBbUIsRUFBRSxJQUFxQixFQUFFLEdBQVc7UUFBSSxrQkFBTSxJQUFJLEVBQUUsR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1lbnRTdGFjaykgOiBudWxsO1xuICB9XG5cbiAgcHJpdmF0ZSBfYWRkVG9QYXJlbnQobm9kZTogSHRtbEFzdCkge1xuICAgIHZhciBwYXJlbnQgPSB0aGlzLl9nZXRQYXJlbnRFbGVtZW50KCk7XG4gICAgaWYgKGlzUHJlc2VudChwYXJlbnQpKSB7XG4gICAgICBwYXJlbnQuY2hpbGRyZW4ucHVzaChub2RlKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5yb290Tm9kZXMucHVzaChub2RlKTtcbiAgICB9XG4gIH1cbn1cblxuZnVuY3Rpb24gZ2V0RWxlbWVudEZ1bGxOYW1lKHByZWZpeDogc3RyaW5nLCBsb2NhbE5hbWU6IHN0cmluZyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXJlbnRFbGVtZW50OiBIdG1sRWxlbWVudEFzdCk6IHN0cmluZyB7XG4gIGlmIChpc0JsYW5rKHByZWZpeCkpIHtcbiAgICBwcmVmaXggPSBnZXRIdG1sVGFnRGVmaW5pdGlvbihsb2NhbE5hbWUpLmltcGxpY2l0TmFtZXNwYWNlUHJlZml4O1xuICAgIGlmIChpc0JsYW5rKHByZWZpeCkgJiYgaXNQcmVzZW50KHBhcmVudEVsZW1lbnQpKSB7XG4gICAgICBwcmVmaXggPSBnZXROc1ByZWZpeChwYXJlbnRFbGVtZW50Lm5hbWUpO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiBtZXJnZU5zQW5kTmFtZShwcmVmaXgsIGxvY2FsTmFtZSk7XG59XG5cbmZ1bmN0aW9uIGxhc3RPblN0YWNrKHN0YWNrOiBhbnlbXSwgZWxlbWVudDogYW55KTogYm9vbGVhbiB7XG4gIHJldHVybiBzdGFjay5sZW5ndGggPiAwICYmIHN0YWNrW3N0YWNrLmxlbmd0aCAtIDFdID09PSBlbGVtZW50O1xufSJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar html_tags_1 = require('./html_tags');\r\nvar NG_CONTENT_SELECT_ATTR = 'select';\r\nvar NG_CONTENT_ELEMENT = 'ng-content';\r\nvar LINK_ELEMENT = 'link';\r\nvar LINK_STYLE_REL_ATTR = 'rel';\r\nvar LINK_STYLE_HREF_ATTR = 'href';\r\nvar LINK_STYLE_REL_VALUE = 'stylesheet';\r\nvar STYLE_ELEMENT = 'style';\r\nvar SCRIPT_ELEMENT = 'script';\r\nvar NG_NON_BINDABLE_ATTR = 'ngNonBindable';\r\nvar NG_PROJECT_AS = 'ngProjectAs';\r\nfunction preparseElement(ast) {\r\n var selectAttr = null;\r\n var hrefAttr = null;\r\n var relAttr = null;\r\n var nonBindable = false;\r\n var projectAs = null;\r\n ast.attrs.forEach(function (attr) {\r\n var lcAttrName = attr.name.toLowerCase();\r\n if (lcAttrName == NG_CONTENT_SELECT_ATTR) {\r\n selectAttr = attr.value;\r\n }\r\n else if (lcAttrName == LINK_STYLE_HREF_ATTR) {\r\n hrefAttr = attr.value;\r\n }\r\n else if (lcAttrName == LINK_STYLE_REL_ATTR) {\r\n relAttr = attr.value;\r\n }\r\n else if (attr.name == NG_NON_BINDABLE_ATTR) {\r\n nonBindable = true;\r\n }\r\n else if (attr.name == NG_PROJECT_AS) {\r\n if (attr.value.length > 0) {\r\n projectAs = attr.value;\r\n }\r\n }\r\n });\r\n selectAttr = normalizeNgContentSelect(selectAttr);\r\n var nodeName = ast.name.toLowerCase();\r\n var type = PreparsedElementType.OTHER;\r\n if (html_tags_1.splitNsName(nodeName)[1] == NG_CONTENT_ELEMENT) {\r\n type = PreparsedElementType.NG_CONTENT;\r\n }\r\n else if (nodeName == STYLE_ELEMENT) {\r\n type = PreparsedElementType.STYLE;\r\n }\r\n else if (nodeName == SCRIPT_ELEMENT) {\r\n type = PreparsedElementType.SCRIPT;\r\n }\r\n else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) {\r\n type = PreparsedElementType.STYLESHEET;\r\n }\r\n return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs);\r\n}\r\nexports.preparseElement = preparseElement;\r\n(function (PreparsedElementType) {\r\n PreparsedElementType[PreparsedElementType[\"NG_CONTENT\"] = 0] = \"NG_CONTENT\";\r\n PreparsedElementType[PreparsedElementType[\"STYLE\"] = 1] = \"STYLE\";\r\n PreparsedElementType[PreparsedElementType[\"STYLESHEET\"] = 2] = \"STYLESHEET\";\r\n PreparsedElementType[PreparsedElementType[\"SCRIPT\"] = 3] = \"SCRIPT\";\r\n PreparsedElementType[PreparsedElementType[\"OTHER\"] = 4] = \"OTHER\";\r\n})(exports.PreparsedElementType || (exports.PreparsedElementType = {}));\r\nvar PreparsedElementType = exports.PreparsedElementType;\r\nvar PreparsedElement = (function () {\r\n function PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs) {\r\n this.type = type;\r\n this.selectAttr = selectAttr;\r\n this.hrefAttr = hrefAttr;\r\n this.nonBindable = nonBindable;\r\n this.projectAs = projectAs;\r\n }\r\n return PreparsedElement;\r\n}());\r\nexports.PreparsedElement = PreparsedElement;\r\nfunction normalizeNgContentSelect(selectAttr) {\r\n if (lang_1.isBlank(selectAttr) || selectAttr.length === 0) {\r\n return '*';\r\n }\r\n return selectAttr;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVtcGxhdGVfcHJlcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3RlbXBsYXRlX3ByZXBhcnNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EscUJBQWlDLDBCQUEwQixDQUFDLENBQUE7QUFDNUQsMEJBQTBCLGFBQWEsQ0FBQyxDQUFBO0FBRXhDLElBQU0sc0JBQXNCLEdBQUcsUUFBUS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cHVibGljIHByb2plY3RBczogc3RyaW5nKSB7fVxufVxuXG5cbmZ1bmN0aW9uIG5vcm1hbGl6ZU5nQ29udGVudFNlbGVjdChzZWxlY3RBdHRyOiBzdHJpbmcpOiBzdHJpbmcge1xuICBpZiAoaXNCbGFuayhzZWxlY3RBdHRyKSB8fCBzZWxlY3RBdHRyLmxlbmd0aCA9PT0gMCkge1xuICAgIHJldHVybiAnKic7XG4gIH1cbiAgcmV0dXJuIHNlbGVjdEF0dHI7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar compile_metadata_1 = require('./compile_metadata');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar xhr_1 = require('angular2/src/compiler/xhr');\r\nvar url_resolver_1 = require('angular2/src/compiler/url_resolver');\r\nvar style_url_resolver_1 = require('./style_url_resolver');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar view_1 = require('angular2/src/core/metadata/view');\r\nvar html_ast_1 = require('./html_ast');\r\nvar html_parser_1 = require('./html_parser');\r\nvar template_preparser_1 = require('./template_preparser');\r\nvar DirectiveNormalizer = (function () {\r\n function DirectiveNormalizer(_xhr, _urlResolver, _htmlParser) {\r\n this._xhr = _xhr;\r\n this._urlResolver = _urlResolver;\r\n this._htmlParser = _htmlParser;\r\n }\r\n DirectiveNormalizer.prototype.normalizeDirective = function (directive) {\r\n if (!directive.isComponent) {\r\n // For non components there is nothing to be normalized yet.\r\n return async_1.PromiseWrapper.resolve(directive);\r\n }\r\n return this.normalizeTemplate(directive.type, directive.template)\r\n .then(function (normalizedTemplate) { return new compile_metadata_1.CompileDirectiveMetadata({\r\n type: directive.type,\r\n isComponent: directive.isComponent,\r\n selector: directive.selector,\r\n exportAs: directive.exportAs,\r\n changeDetection: directive.changeDetection,\r\n inputs: directive.inputs,\r\n outputs: directive.outputs,\r\n hostListeners: directive.hostListeners,\r\n hostProperties: directive.hostProperties,\r\n hostAttributes: directive.hostAttributes,\r\n lifecycleHooks: directive.lifecycleHooks,\r\n providers: directive.providers,\r\n viewProviders: directive.viewProviders,\r\n queries: directive.queries,\r\n viewQueries: directive.viewQueries,\r\n template: normalizedTemplate\r\n }); });\r\n };\r\n DirectiveNormalizer.prototype.normalizeTemplate = function (directiveType, template) {\r\n var _this = this;\r\n if (lang_1.isPresent(template.template)) {\r\n return async_1.PromiseWrapper.resolve(this.normalizeLoadedTemplate(directiveType, template, template.template, directiveType.moduleUrl));\r\n }\r\n else if (lang_1.isPresent(template.templateUrl)) {\r\n var sourceAbsUrl = this._urlResolver.resolve(directiveType.moduleUrl, template.templateUrl);\r\n return this._xhr.get(sourceAbsUrl)\r\n .then(function (templateContent) { return _this.normalizeLoadedTemplate(directiveType, template, templateContent, sourceAbsUrl); });\r\n }\r\n else {\r\n throw new exceptions_1.BaseException(\"No template specified for component \" + directiveType.name);\r\n }\r\n };\r\n DirectiveNormalizer.prototype.normalizeLoadedTemplate = function (directiveType, templateMeta, template, templateAbsUrl) {\r\n var _this = this;\r\n var rootNodesAndErrors = this._htmlParser.parse(template, directiveType.name);\r\n if (rootNodesAndErrors.errors.length > 0) {\r\n var errorString = rootNodesAndErrors.errors.join('\\n');\r\n throw new exceptions_1.BaseException(\"Template parse errors:\\n\" + errorString);\r\n }\r\n var visitor = new TemplatePreparseVisitor();\r\n html_ast_1.htmlVisitAll(visitor, rootNodesAndErrors.rootNodes);\r\n var allStyles = templateMeta.styles.concat(visitor.styles);\r\n var allStyleAbsUrls = visitor.styleUrls.filter(style_url_resolver_1.isStyleUrlResolvable)\r\n .map(function (url) { return _this._urlResolver.resolve(templateAbsUrl, url); })\r\n .concat(templateMeta.styleUrls.filter(style_url_resolver_1.isStyleUrlResolvable)\r\n .map(function (url) { return _this._urlResolver.resolve(directiveType.moduleUrl, url); }));\r\n var allResolvedStyles = allStyles.map(function (style) {\r\n var styleWithImports = style_url_resolver_1.extractStyleUrls(_this._urlResolver, templateAbsUrl, style);\r\n styleWithImports.styleUrls.forEach(function (styleUrl) { return allStyleAbsUrls.push(styleUrl); });\r\n return styleWithImports.style;\r\n });\r\n var encapsulation = templateMeta.encapsulation;\r\n if (encapsulation === view_1.ViewEncapsulation.Emulated && allResolvedStyles.length === 0 &&\r\n allStyleAbsUrls.length === 0) {\r\n encapsulation = view_1.ViewEncapsulation.None;\r\n }\r\n return new compile_metadata_1.CompileTemplateMetadata({\r\n encapsulation: encapsulation,\r\n template: template,\r\n templateUrl: templateAbsUrl,\r\n styles: allResolvedStyles,\r\n styleUrls: allStyleAbsUrls,\r\n ngContentSelectors: visitor.ngContentSelectors\r\n });\r\n };\r\n DirectiveNormalizer = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [xhr_1.XHR, url_resolver_1.UrlResolver, html_parser_1.HtmlParser])\r\n ], DirectiveNormalizer);\r\n return DirectiveNormalizer;\r\n}());\r\nexports.DirectiveNormalizer = DirectiveNormalizer;\r\nvar TemplatePreparseVisitor = (function () {\r\n function TemplatePreparseVisitor() {\r\n this.ngContentSelectors = [];\r\n this.styles = [];\r\n this.styleUrls = [];\r\n this.ngNonBindableStackCount = 0;\r\n }\r\n TemplatePreparseVisitor.prototype.visitElement = function (ast, context) {\r\n var preparsedElement = template_preparser_1.preparseElement(ast);\r\n switch (preparsedElement.type) {\r\n case template_preparser_1.PreparsedElementType.NG_CONTENT:\r\n if (this.ngNonBindableStackCount === 0) {\r\n this.ngContentSelectors.push(preparsedElement.selectAttr);\r\n }\r\n break;\r\n case template_preparser_1.PreparsedElementType.STYLE:\r\n var textContent = '';\r\n ast.children.forEach(function (child) {\r\n if (child instanceof html_ast_1.HtmlTextAst) {\r\n textContent += child.value;\r\n }\r\n });\r\n this.styles.push(textContent);\r\n break;\r\n case template_preparser_1.PreparsedElementType.STYLESHEET:\r\n this.styleUrls.push(preparsedElement.hrefAttr);\r\n break;\r\n default:\r\n // DDC reports this as error. See:\r\n // https://github.com/dart-lang/dev_compiler/issues/428\r\n break;\r\n }\r\n if (preparsedElement.nonBindable) {\r\n this.ngNonBindableStackCount++;\r\n }\r\n html_ast_1.htmlVisitAll(this, ast.children);\r\n if (preparsedElement.nonBindable) {\r\n this.ngNonBindableStackCount--;\r\n }\r\n return null;\r\n };\r\n TemplatePreparseVisitor.prototype.visitComment = function (ast, context) { return null; };\r\n TemplatePreparseVisitor.prototype.visitAttr = function (ast, context) { return null; };\r\n TemplatePreparseVisitor.prototype.visitText = function (ast, context) { return null; };\r\n TemplatePreparseVisitor.prototype.visitExpansion = function (ast, context) { return null; };\r\n TemplatePreparseVisitor.prototype.visitExpansionCase = function (ast, context) { return null; };\r\n return TemplatePreparseVisitor;\r\n}());\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0aXZlX25vcm1hbGl6ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvZGlyZWN0aXZlX25vcm1hbGl6ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLGlDQU1PL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lvbkNhc2UoYXN0OiBIdG1sRXhwYW5zaW9uQ2FzZUFzdCwgY29udGV4dDogYW55KTogYW55IHsgcmV0dXJuIG51bGw7IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar metadata_1 = require('angular2/src/core/metadata');\r\nvar reflection_1 = require('angular2/src/core/reflection/reflection');\r\nvar reflector_reader_1 = require('angular2/src/core/reflection/reflector_reader');\r\nfunction _isDirectiveMetadata(type) {\r\n return type instanceof metadata_1.DirectiveMetadata;\r\n}\r\n/*\r\n * Resolve a `Type` for {@link DirectiveMetadata}.\r\n *\r\n * This interface can be overridden by the application developer to create custom behavior.\r\n *\r\n * See {@link Compiler}\r\n */\r\nvar DirectiveResolver = (function () {\r\n function DirectiveResolver(_reflector) {\r\n if (lang_1.isPresent(_reflector)) {\r\n this._reflector = _reflector;\r\n }\r\n else {\r\n this._reflector = reflection_1.reflector;\r\n }\r\n }\r\n /**\r\n * Return {@link DirectiveMetadata} for a given `Type`.\r\n */\r\n DirectiveResolver.prototype.resolve = function (type) {\r\n var typeMetadata = this._reflector.annotations(di_1.resolveForwardRef(type));\r\n if (lang_1.isPresent(typeMetadata)) {\r\n var metadata = typeMetadata.find(_isDirectiveMetadata);\r\n if (lang_1.isPresent(metadata)) {\r\n var propertyMetadata = this._reflector.propMetadata(type);\r\n return this._mergeWithPropertyMetadata(metadata, propertyMetadata, type);\r\n }\r\n }\r\n throw new exceptions_1.BaseException(\"No Directive annotation found on \" + lang_1.stringify(type));\r\n };\r\n DirectiveResolver.prototype._mergeWithPropertyMetadata = function (dm, propertyMetadata, directiveType) {\r\n var inputs = [];\r\n var outputs = [];\r\n var host = {};\r\n var queries = {};\r\n collection_1.StringMapWrapper.forEach(propertyMetadata, function (metadata, propName) {\r\n metadata.forEach(function (a) {\r\n if (a instanceof metadata_1.InputMetadata) {\r\n if (lang_1.isPresent(a.bindingPropertyName)) {\r\n inputs.push(propName + \": \" + a.bindingPropertyName);\r\n }\r\n else {\r\n inputs.push(propName);\r\n }\r\n }\r\n if (a instanceof metadata_1.OutputMetadata) {\r\n if (lang_1.isPresent(a.bindingPropertyName)) {\r\n outputs.push(propName + \": \" + a.bindingPropertyName);\r\n }\r\n else {\r\n outputs.push(propName);\r\n }\r\n }\r\n if (a instanceof metadata_1.HostBindingMetadata) {\r\n if (lang_1.isPresent(a.hostPropertyName)) {\r\n host[(\"[\" + a.hostPropertyName + \"]\")] = propName;\r\n }\r\n else {\r\n host[(\"[\" + propName + \"]\")] = propName;\r\n }\r\n }\r\n if (a instanceof metadata_1.HostListenerMetadata) {\r\n var args = lang_1.isPresent(a.args) ? a.args.join(', ') : '';\r\n host[(\"(\" + a.eventName + \")\")] = propName + \"(\" + args + \")\";\r\n }\r\n if (a instanceof metadata_1.ContentChildrenMetadata) {\r\n queries[propName] = a;\r\n }\r\n if (a instanceof metadata_1.ViewChildrenMetadata) {\r\n queries[propName] = a;\r\n }\r\n if (a instanceof metadata_1.ContentChildMetadata) {\r\n queries[propName] = a;\r\n }\r\n if (a instanceof metadata_1.ViewChildMetadata) {\r\n queries[propName] = a;\r\n }\r\n });\r\n });\r\n return this._merge(dm, inputs, outputs, host, queries, directiveType);\r\n };\r\n DirectiveResolver.prototype._merge = function (dm, inputs, outputs, host, queries, directiveType) {\r\n var mergedInputs = lang_1.isPresent(dm.inputs) ? collection_1.ListWrapper.concat(dm.inputs, inputs) : inputs;\r\n var mergedOutputs;\r\n if (lang_1.isPresent(dm.outputs)) {\r\n dm.outputs.forEach(function (propName) {\r\n if (collection_1.ListWrapper.contains(outputs, propName)) {\r\n throw new exceptions_1.BaseException(\"Output event '\" + propName + \"' defined multiple times in '\" + lang_1.stringify(directiveType) + \"'\");\r\n }\r\n });\r\n mergedOutputs = collection_1.ListWrapper.concat(dm.outputs, outputs);\r\n }\r\n else {\r\n mergedOutputs = outputs;\r\n }\r\n var mergedHost = lang_1.isPresent(dm.host) ? collection_1.StringMapWrapper.merge(dm.host, host) : host;\r\n var mergedQueries = lang_1.isPresent(dm.queries) ? collection_1.StringMapWrapper.merge(dm.queries, queries) : queries;\r\n if (dm instanceof metadata_1.ComponentMetadata) {\r\n return new metadata_1.ComponentMetadata({\r\n selector: dm.selector,\r\n inputs: mergedInputs,\r\n outputs: mergedOutputs,\r\n host: mergedHost,\r\n exportAs: dm.exportAs,\r\n moduleId: dm.moduleId,\r\n queries: mergedQueries,\r\n changeDetection: dm.changeDetection,\r\n providers: dm.providers,\r\n viewProviders: dm.viewProviders\r\n });\r\n }\r\n else {\r\n return new metadata_1.DirectiveMetadata({\r\n selector: dm.selector,\r\n inputs: mergedInputs,\r\n outputs: mergedOutputs,\r\n host: mergedHost,\r\n exportAs: dm.exportAs,\r\n queries: mergedQueries,\r\n providers: dm.providers\r\n });\r\n }\r\n };\r\n DirectiveResolver = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [reflector_reader_1.ReflectorReader])\r\n ], DirectiveResolver);\r\n return DirectiveResolver;\r\n}());\r\nexports.DirectiveResolver = DirectiveResolver;\r\nexports.CODEGEN_DIRECTIVE_RESOLVER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fSk7XG4gICAgfVxuICB9XG59XG5cbmV4cG9ydCB2YXIgQ09ERUdFTl9ESVJFQ1RJVkVfUkVTT0xWRVIgPSBuZXcgRGlyZWN0aXZlUmVzb2x2ZXIocmVmbGVjdG9yKTtcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar metadata_1 = require('angular2/src/core/metadata');\r\nvar reflector_reader_1 = require('angular2/src/core/reflection/reflector_reader');\r\nvar reflection_1 = require('angular2/src/core/reflection/reflection');\r\nfunction _isPipeMetadata(type) {\r\n return type instanceof metadata_1.PipeMetadata;\r\n}\r\n/**\r\n * Resolve a `Type` for {@link PipeMetadata}.\r\n *\r\n * This interface can be overridden by the application developer to create custom behavior.\r\n *\r\n * See {@link Compiler}\r\n */\r\nvar PipeResolver = (function () {\r\n function PipeResolver(_reflector) {\r\n if (lang_1.isPresent(_reflector)) {\r\n this._reflector = _reflector;\r\n }\r\n else {\r\n this._reflector = reflection_1.reflector;\r\n }\r\n }\r\n /**\r\n * Return {@link PipeMetadata} for a given `Type`.\r\n */\r\n PipeResolver.prototype.resolve = function (type) {\r\n var metas = this._reflector.annotations(di_1.resolveForwardRef(type));\r\n if (lang_1.isPresent(metas)) {\r\n var annotation = metas.find(_isPipeMetadata);\r\n if (lang_1.isPresent(annotation)) {\r\n return annotation;\r\n }\r\n }\r\n throw new exceptions_1.BaseException(\"No Pipe decorator found on \" + lang_1.stringify(type));\r\n };\r\n PipeResolver = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [reflector_reader_1.ReflectorReader])\r\n ], PipeResolver);\r\n return PipeResolver;\r\n}());\r\nexports.PipeResolver = PipeResolver;\r\nexports.CODEGEN_PIPE_RESOLVER = new PipeResolver(reflection_1.reflector);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZV9yZXNvbHZlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci9waXBlX3Jlc29sdmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxtQkFBNEMsc0JBQXNCLENBQUMsQ0FBQTtBQUNuRSxxQkFBeUMsMEJBQTBCLENBQUMsQ0FBQTtBQUNwRSwyQkFBNEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUM3RCx5QkFBMkIsNEJBQTRCLENBQUMsQ0FBQTtBQUN4RCxpQ0FBOEIsK0NBQStDLENBQUMsQ0FBQTtBQUM5RSwyQkFBd0IseUNBQXlDLENBQUMsQ0FBQTtBQUVsRSx5QkFBeUIsSUFBUztJQUNoQyxNQUFNLENBQUMsSUFBSSxZQUFZLHVCQUFZLENBQUM7QUFDdEMsQ0FBQztBQUVEOzs7Ozs7R0FNRztBQUVIO0lBRUUsc0JBQVksVUFBNEI7UUFDdEMsRUFBRSxDQUFDLENBQUMsZ0JBQVMsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDLENB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mxlY3RvcjtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5fcmVmbGVjdG9yID0gcmVmbGVjdG9yO1xuICAgIH1cbiAgfVxuXG4gIC8qKlxuICAgKiBSZXR1cm4ge0BsaW5rIFBpcGVNZXRhZGF0YX0gZm9yIGEgZ2l2ZW4gYFR5cGVgLlxuICAgKi9cbiAgcmVzb2x2ZSh0eXBlOiBUeXBlKTogUGlwZU1ldGFkYXRhIHtcbiAgICB2YXIgbWV0YXMgPSB0aGlzLl9yZWZsZWN0b3IuYW5ub3RhdGlvbnMocmVzb2x2ZUZvcndhcmRSZWYodHlwZSkpO1xuICAgIGlmIChpc1ByZXNlbnQobWV0YXMpKSB7XG4gICAgICB2YXIgYW5ub3RhdGlvbiA9IG1ldGFzLmZpbmQoX2lzUGlwZU1ldGFkYXRhKTtcbiAgICAgIGlmIChpc1ByZXNlbnQoYW5ub3RhdGlvbikpIHtcbiAgICAgICAgcmV0dXJuIGFubm90YXRpb247XG4gICAgICB9XG4gICAgfVxuICAgIHRocm93IG5ldyBCYXNlRXhjZXB0aW9uKGBObyBQaXBlIGRlY29yYXRvciBmb3VuZCBvbiAke3N0cmluZ2lmeSh0eXBlKX1gKTtcbiAgfVxufVxuXG5leHBvcnQgdmFyIENPREVHRU5fUElQRV9SRVNPTFZFUiA9IG5ldyBQaXBlUmVzb2x2ZXIocmVmbGVjdG9yKTtcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar view_1 = require('angular2/src/core/metadata/view');\r\nvar directives_1 = require('angular2/src/core/metadata/directives');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar reflector_reader_1 = require('angular2/src/core/reflection/reflector_reader');\r\nvar reflection_1 = require('angular2/src/core/reflection/reflection');\r\n/**\r\n * Resolves types to {@link ViewMetadata}.\r\n */\r\nvar ViewResolver = (function () {\r\n function ViewResolver(_reflector) {\r\n /** @internal */\r\n this._cache = new collection_1.Map();\r\n if (lang_1.isPresent(_reflector)) {\r\n this._reflector = _reflector;\r\n }\r\n else {\r\n this._reflector = reflection_1.reflector;\r\n }\r\n }\r\n ViewResolver.prototype.resolve = function (component) {\r\n var view = this._cache.get(component);\r\n if (lang_1.isBlank(view)) {\r\n view = this._resolve(component);\r\n this._cache.set(component, view);\r\n }\r\n return view;\r\n };\r\n /** @internal */\r\n ViewResolver.prototype._resolve = function (component) {\r\n var compMeta;\r\n var viewMeta;\r\n this._reflector.annotations(component).forEach(function (m) {\r\n if (m instanceof view_1.ViewMetadata) {\r\n viewMeta = m;\r\n }\r\n if (m instanceof directives_1.ComponentMetadata) {\r\n compMeta = m;\r\n }\r\n });\r\n if (lang_1.isPresent(compMeta)) {\r\n if (lang_1.isBlank(compMeta.template) && lang_1.isBlank(compMeta.templateUrl) && lang_1.isBlank(viewMeta)) {\r\n throw new exceptions_1.BaseException(\"Component '\" + lang_1.stringify(component) + \"' must have either 'template' or 'templateUrl' set.\");\r\n }\r\n else if (lang_1.isPresent(compMeta.template) && lang_1.isPresent(viewMeta)) {\r\n this._throwMixingViewAndComponent(\"template\", component);\r\n }\r\n else if (lang_1.isPresent(compMeta.templateUrl) && lang_1.isPresent(viewMeta)) {\r\n this._throwMixingViewAndComponent(\"templateUrl\", component);\r\n }\r\n else if (lang_1.isPresent(compMeta.directives) && lang_1.isPresent(viewMeta)) {\r\n this._throwMixingViewAndComponent(\"directives\", component);\r\n }\r\n else if (lang_1.isPresent(compMeta.pipes) && lang_1.isPresent(viewMeta)) {\r\n this._throwMixingViewAndComponent(\"pipes\", component);\r\n }\r\n else if (lang_1.isPresent(compMeta.encapsulation) && lang_1.isPresent(viewMeta)) {\r\n this._throwMixingViewAndComponent(\"encapsulation\", component);\r\n }\r\n else if (lang_1.isPresent(compMeta.styles) && lang_1.isPresent(viewMeta)) {\r\n this._throwMixingViewAndComponent(\"styles\", component);\r\n }\r\n else if (lang_1.isPresent(compMeta.styleUrls) && lang_1.isPresent(viewMeta)) {\r\n this._throwMixingViewAndComponent(\"styleUrls\", component);\r\n }\r\n else if (lang_1.isPresent(viewMeta)) {\r\n return viewMeta;\r\n }\r\n else {\r\n return new view_1.ViewMetadata({\r\n templateUrl: compMeta.templateUrl,\r\n template: compMeta.template,\r\n directives: compMeta.directives,\r\n pipes: compMeta.pipes,\r\n encapsulation: compMeta.encapsulation,\r\n styles: compMeta.styles,\r\n styleUrls: compMeta.styleUrls\r\n });\r\n }\r\n }\r\n else {\r\n if (lang_1.isBlank(viewMeta)) {\r\n throw new exceptions_1.BaseException(\"Could not compile '\" + lang_1.stringify(component) + \"' because it is not a component.\");\r\n }\r\n else {\r\n return viewMeta;\r\n }\r\n }\r\n return null;\r\n };\r\n /** @internal */\r\n ViewResolver.prototype._throwMixingViewAndComponent = function (propertyName, component) {\r\n throw new exceptions_1.BaseException(\"Component '\" + lang_1.stringify(component) + \"' cannot have both '\" + propertyName + \"' and '@View' set at the same time\\\"\");\r\n };\r\n ViewResolver = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [reflector_reader_1.ReflectorReader])\r\n ], ViewResolver);\r\n return ViewResolver;\r\n}());\r\nexports.ViewResolver = ViewResolver;\r\n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IH1cbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG4gIC8qKiBAaW50ZXJuYWwgKi9cbiAgX3Rocm93TWl4aW5nVmlld0FuZENvbXBvbmVudChwcm9wZXJ0eU5hbWU6IHN0cmluZywgY29tcG9uZW50OiBUeXBlKTogdm9pZCB7XG4gICAgdGhyb3cgbmV3IEJhc2VFeGNlcHRpb24oXG4gICAgICAgIGBDb21wb25lbnQgJyR7c3RyaW5naWZ5KGNvbXBvbmVudCl9JyBjYW5ub3QgaGF2ZSBib3RoICcke3Byb3BlcnR5TmFtZX0nIGFuZCAnQFZpZXcnIHNldCBhdCB0aGUgc2FtZSB0aW1lXCJgKTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar lifecycle_hooks_1 = require('angular2/src/core/metadata/lifecycle_hooks');\r\nfunction hasLifecycleHook(lcInterface, token) {\r\n if (!(token instanceof lang_1.Type))\r\n return false;\r\n var proto = token.prototype;\r\n switch (lcInterface) {\r\n case lifecycle_hooks_1.LifecycleHooks.AfterContentInit:\r\n return !!proto.ngAfterContentInit;\r\n case lifecycle_hooks_1.LifecycleHooks.AfterContentChecked:\r\n return !!proto.ngAfterContentChecked;\r\n case lifecycle_hooks_1.LifecycleHooks.AfterViewInit:\r\n return !!proto.ngAfterViewInit;\r\n case lifecycle_hooks_1.LifecycleHooks.AfterViewChecked:\r\n return !!proto.ngAfterViewChecked;\r\n case lifecycle_hooks_1.LifecycleHooks.OnChanges:\r\n return !!proto.ngOnChanges;\r\n case lifecycle_hooks_1.LifecycleHooks.DoCheck:\r\n return !!proto.ngDoCheck;\r\n case lifecycle_hooks_1.LifecycleHooks.OnDestroy:\r\n return !!proto.ngOnDestroy;\r\n case lifecycle_hooks_1.LifecycleHooks.OnInit:\r\n return !!proto.ngOnInit;\r\n default:\r\n return false;\r\n }\r\n}\r\nexports.hasLifecycleHook = hasLifecycleHook;\r\n//# sourceMappingUR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MaWZlY3ljbGVIb29rcy5BZnRlckNvbnRlbnRDaGVja2VkOlxuICAgICAgcmV0dXJuICEhcHJvdG8ubmdBZnRlckNvbnRlbnRDaGVja2VkO1xuICAgIGNhc2UgTGlmZWN5Y2xlSG9va3MuQWZ0ZXJWaWV3SW5pdDpcbiAgICAgIHJldHVybiAhIXByb3RvLm5nQWZ0ZXJWaWV3SW5pdDtcbiAgICBjYXNlIExpZmVjeWNsZUhvb2tzLkFmdGVyVmlld0NoZWNrZWQ6XG4gICAgICByZXR1cm4gISFwcm90by5uZ0FmdGVyVmlld0NoZWNrZWQ7XG4gICAgY2FzZSBMaWZlY3ljbGVIb29rcy5PbkNoYW5nZXM6XG4gICAgICByZXR1cm4gISFwcm90by5uZ09uQ2hhbmdlcztcbiAgICBjYXNlIExpZmVjeWNsZUhvb2tzLkRvQ2hlY2s6XG4gICAgICByZXR1cm4gISFwcm90by5uZ0RvQ2hlY2s7XG4gICAgY2FzZSBMaWZlY3ljbGVIb29rcy5PbkRlc3Ryb3k6XG4gICAgICByZXR1cm4gISFwcm90by5uZ09uRGVzdHJveTtcbiAgICBjYXNlIExpZmVjeWNsZUhvb2tzLk9uSW5pdDpcbiAgICAgIHJldHVybiAhIXByb3RvLm5nT25Jbml0O1xuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gZmFsc2U7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('../facade/lang');\r\nvar exceptions_1 = require('../facade/exceptions');\r\nfunction assertArrayOfStrings(identifier, value) {\r\n if (!lang_1.assertionsEnabled() || lang_1.isBlank(value)) {\r\n return;\r\n }\r\n if (!lang_1.isArray(value)) {\r\n throw new exceptions_1.BaseException(\"Expected '\" + identifier + \"' to be an array of strings.\");\r\n }\r\n for (var i = 0; i < value.length; i += 1) {\r\n if (!lang_1.isString(value[i])) {\r\n throw new exceptions_1.BaseException(\"Expected '\" + identifier + \"' to be an array of strings.\");\r\n }\r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UFDSCxDQUFDO0FBQ0gsQ0FBQztBQVplLDRCQUFvQix1QkFZbkMsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7aXNBcnJheSwgaXNTdHJpbmcsIGlzQmxhbmssIGFzc2VydGlvbnNFbmFibGVkfSBmcm9tICcuLi9mYWNhZGUvbGFuZyc7XG5pbXBvcnQge0Jhc2VFeGNlcHRpb259IGZyb20gJy4uL2ZhY2FkZS9leGNlcHRpb25zJztcblxuZXhwb3J0IGZ1bmN0aW9uIGFzc2VydEFycmF5T2ZTdHJpbmdzKGlkZW50aWZpZXI6IHN0cmluZywgdmFsdWU6IGFueSkge1xuICBpZiAoIWFzc2VydGlvbnNFbmFibGVkKCkgfHwgaXNCbGFuayh2YWx1ZSkpIHtcbiAgICByZXR1cm47XG4gIH1cbiAgaWYgKCFpc0FycmF5KHZhbHVlKSkge1xuICAgIHRocm93IG5ldyBCYXNlRXhjZXB0aW9uKGBFeHBlY3RlZCAnJHtpZGVudGlmaWVyfScgdG8gYmUgYW4gYXJyYXkgb2Ygc3RyaW5ncy5gKTtcbiAgfVxuICBmb3IgKHZhciBpID0gMDsgaSA8IHZhbHVlLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgaWYgKCFpc1N0cmluZyh2YWx1ZVtpXSkpIHtcbiAgICAgIHRocm93IG5ldyBCYXNlRXhjZXB0aW9uKGBFeHBlY3RlZCAnJHtpZGVudGlmaWVyfScgdG8gYmUgYW4gYXJyYXkgb2Ygc3RyaW5ncy5gKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar reflective_exceptions_1 = require('angular2/src/core/di/reflective_exceptions');\r\nvar cpl = require('./compile_metadata');\r\nvar md = require('angular2/src/core/metadata/directives');\r\nvar dimd = require('angular2/src/core/metadata/di');\r\nvar directive_resolver_1 = require('./directive_resolver');\r\nvar pipe_resolver_1 = require('./pipe_resolver');\r\nvar view_resolver_1 = require('./view_resolver');\r\nvar directive_lifecycle_reflector_1 = require('./directive_lifecycle_reflector');\r\nvar lifecycle_hooks_1 = require('angular2/src/core/metadata/lifecycle_hooks');\r\nvar reflection_1 = require('angular2/src/core/reflection/reflection');\r\nvar di_2 = require('angular2/src/core/di');\r\nvar platform_directives_and_pipes_1 = require('angular2/src/core/platform_directives_and_pipes');\r\nvar util_1 = require('./util');\r\nvar assertions_1 = require('./assertions');\r\nvar url_resolver_1 = require('angular2/src/compiler/url_resolver');\r\nvar provider_1 = require('angular2/src/core/di/provider');\r\nvar reflective_provider_1 = require('angular2/src/core/di/reflective_provider');\r\nvar metadata_1 = require('angular2/src/core/di/metadata');\r\nvar reflector_reader_1 = require('angular2/src/core/reflection/reflector_reader');\r\nvar RuntimeMetadataResolver = (function () {\r\n function RuntimeMetadataResolver(_directiveResolver, _pipeResolver, _viewResolver, _platformDirectives, _platformPipes, _reflector) {\r\n this._directiveResolver = _directiveResolver;\r\n this._pipeResolver = _pipeResolver;\r\n this._viewResolver = _viewResolver;\r\n this._platformDirectives = _platformDirectives;\r\n this._platformPipes = _platformPipes;\r\n this._directiveCache = new Map();\r\n this._pipeCache = new Map();\r\n this._anonymousTypes = new Map();\r\n this._anonymousTypeIndex = 0;\r\n if (lang_1.isPresent(_reflector)) {\r\n this._reflector = _reflector;\r\n }\r\n else {\r\n this._reflector = reflection_1.reflector;\r\n }\r\n }\r\n RuntimeMetadataResolver.prototype.sanitizeTokenName = function (token) {\r\n var identifier = lang_1.stringify(token);\r\n if (identifier.indexOf('(') >= 0) {\r\n // case: anonymous functions!\r\n var found = this._anonymousTypes.get(token);\r\n if (lang_1.isBlank(found)) {\r\n this._anonymousTypes.set(token, this._anonymousTypeIndex++);\r\n found = this._anonymousTypes.get(token);\r\n }\r\n identifier = \"anonymous_token_\" + found + \"_\";\r\n }\r\n return util_1.sanitizeIdentifier(identifier);\r\n };\r\n RuntimeMetadataResolver.prototype.getDirectiveMetadata = function (directiveType) {\r\n var meta = this._directiveCache.get(directiveType);\r\n if (lang_1.isBlank(meta)) {\r\n var dirMeta = this._directiveResolver.resolve(directiveType);\r\n var moduleUrl = null;\r\n var templateMeta = null;\r\n var changeDetectionStrategy = null;\r\n var viewProviders = [];\r\n if (dirMeta instanceof md.ComponentMetadata) {\r\n assertions_1.assertArrayOfStrings('styles', dirMeta.styles);\r\n var cmpMeta = dirMeta;\r\n moduleUrl = calcModuleUrl(this._reflector, directiveType, cmpMeta);\r\n var viewMeta = this._viewResolver.resolve(directiveType);\r\n assertions_1.assertArrayOfStrings('styles', viewMeta.styles);\r\n templateMeta = new cpl.CompileTemplateMetadata({\r\n encapsulation: viewMeta.encapsulation,\r\n template: viewMeta.template,\r\n templateUrl: viewMeta.templateUrl,\r\n styles: viewMeta.styles,\r\n styleUrls: viewMeta.styleUrls\r\n });\r\n changeDetectionStrategy = cmpMeta.changeDetection;\r\n if (lang_1.isPresent(dirMeta.viewProviders)) {\r\n viewProviders = this.getProvidersMetadata(dirMeta.viewProviders);\r\n }\r\n }\r\n var providers = [];\r\n if (lang_1.isPresent(dirMeta.providers)) {\r\n providers = this.getProvidersMetadata(dirMeta.providers);\r\n }\r\n var queries = [];\r\n var viewQueries = [];\r\n if (lang_1.isPresent(dirMeta.queries)) {\r\n queries = this.getQueriesMetadata(dirMeta.queries, false);\r\n viewQueries = this.getQueriesMetadata(dirMeta.queries, true);\r\n }\r\n meta = cpl.CompileDirectiveMetadata.create({\r\n selector: dirMeta.selector,\r\n exportAs: dirMeta.exportAs,\r\n isComponent: lang_1.isPresent(templateMeta),\r\n type: this.getTypeMetadata(directiveType, moduleUrl),\r\n template: templateMeta,\r\n changeDetection: changeDetectionStrategy,\r\n inputs: dirMeta.inputs,\r\n outputs: dirMeta.outputs,\r\n host: dirMeta.host,\r\n lifecycleHooks: lifecycle_hooks_1.LIFECYCLE_HOOKS_VALUES.filter(function (hook) { return directive_lifecycle_reflector_1.hasLifecycleHook(hook, directiveType); }),\r\n providers: providers,\r\n viewProviders: viewProviders,\r\n queries: queries,\r\n viewQueries: viewQueries\r\n });\r\n this._directiveCache.set(directiveType, meta);\r\n }\r\n return meta;\r\n };\r\n RuntimeMetadataResolver.prototype.getTypeMetadata = function (type, moduleUrl) {\r\n return new cpl.CompileTypeMetadata({\r\n name: this.sanitizeTokenName(type),\r\n moduleUrl: moduleUrl,\r\n runtime: type,\r\n diDeps: this.getDependenciesMetadata(type, null)\r\n });\r\n };\r\n RuntimeMetadataResolver.prototype.getFactoryMetadata = function (factory, moduleUrl) {\r\n return new cpl.CompileFactoryMetadata({\r\n name: this.sanitizeTokenName(factory),\r\n moduleUrl: moduleUrl,\r\n runtime: factory,\r\n diDeps: this.getDependenciesMetadata(factory, null)\r\n });\r\n };\r\n RuntimeMetadataResolver.prototype.getPipeMetadata = function (pipeType) {\r\n var meta = this._pipeCache.get(pipeType);\r\n if (lang_1.isBlank(meta)) {\r\n var pipeMeta = this._pipeResolver.resolve(pipeType);\r\n var moduleUrl = this._reflector.importUri(pipeType);\r\n meta = new cpl.CompilePipeMetadata({\r\n type: this.getTypeMetadata(pipeType, moduleUrl),\r\n name: pipeMeta.name,\r\n pure: pipeMeta.pure,\r\n lifecycleHooks: lifecycle_hooks_1.LIFECYCLE_HOOKS_VALUES.filter(function (hook) { return directive_lifecycle_reflector_1.hasLifecycleHook(hook, pipeType); }),\r\n });\r\n this._pipeCache.set(pipeType, meta);\r\n }\r\n return meta;\r\n };\r\n RuntimeMetadataResolver.prototype.getViewDirectivesMetadata = function (component) {\r\n var _this = this;\r\n var view = this._viewResolver.resolve(component);\r\n var directives = flattenDirectives(view, this._platformDirectives);\r\n for (var i = 0; i < directives.length; i++) {\r\n if (!isValidType(directives[i])) {\r\n throw new exceptions_1.BaseException(\"Unexpected directive value '\" + lang_1.stringify(directives[i]) + \"' on the View of component '\" + lang_1.stringify(component) + \"'\");\r\n }\r\n }\r\n return directives.map(function (type) { return _this.getDirectiveMetadata(type); });\r\n };\r\n RuntimeMetadataResolver.prototype.getViewPipesMetadata = function (component) {\r\n var _this = this;\r\n var view = this._viewResolver.resolve(component);\r\n var pipes = flattenPipes(view, this._platformPipes);\r\n for (var i = 0; i < pipes.length; i++) {\r\n if (!isValidType(pipes[i])) {\r\n throw new exceptions_1.BaseException(\"Unexpected piped value '\" + lang_1.stringify(pipes[i]) + \"' on the View of component '\" + lang_1.stringify(component) + \"'\");\r\n }\r\n }\r\n return pipes.map(function (type) { return _this.getPipeMetadata(type); });\r\n };\r\n RuntimeMetadataResolver.prototype.getDependenciesMetadata = function (typeOrFunc, dependencies) {\r\n var _this = this;\r\n var deps;\r\n try {\r\n deps = reflective_provider_1.constructDependencies(typeOrFunc, dependencies);\r\n }\r\n catch (e) {\r\n if (e instanceof reflective_exceptions_1.NoAnnotationError) {\r\n deps = [];\r\n }\r\n else {\r\n throw e;\r\n }\r\n }\r\n return deps.map(function (dep) {\r\n var compileToken;\r\n var p = dep.properties.find(function (p) { return p instanceof dimd.AttributeMetadata; });\r\n var isAttribute = false;\r\n if (lang_1.isPresent(p)) {\r\n compileToken = _this.getTokenMetadata(p.attributeName);\r\n isAttribute = true;\r\n }\r\n else {\r\n compileToken = _this.getTokenMetadata(dep.key.token);\r\n }\r\n var compileQuery = null;\r\n var q = dep.properties.find(function (p) { return p instanceof dimd.QueryMetadata; });\r\n if (lang_1.isPresent(q)) {\r\n compileQuery = _this.getQueryMetadata(q, null);\r\n }\r\n return new cpl.CompileDiDependencyMetadata({\r\n isAttribute: isAttribute,\r\n isHost: dep.upperBoundVisibility instanceof metadata_1.HostMetadata,\r\n isSelf: dep.upperBoundVisibility instanceof metadata_1.SelfMetadata,\r\n isSkipSelf: dep.lowerBoundVisibility instanceof metadata_1.SkipSelfMetadata,\r\n isOptional: dep.optional,\r\n query: lang_1.isPresent(q) && !q.isViewQuery ? compileQuery : null,\r\n viewQuery: lang_1.isPresent(q) && q.isViewQuery ? compileQuery : null,\r\n token: compileToken\r\n });\r\n });\r\n };\r\n RuntimeMetadataResolver.prototype.getTokenMetadata = function (token) {\r\n token = di_1.resolveForwardRef(token);\r\n var compileToken;\r\n if (lang_1.isString(token)) {\r\n compileToken = new cpl.CompileTokenMetadata({ value: token });\r\n }\r\n else {\r\n compileToken = new cpl.CompileTokenMetadata({\r\n identifier: new cpl.CompileIdentifierMetadata({ runtime: token, name: this.sanitizeTokenName(token) })\r\n });\r\n }\r\n return compileToken;\r\n };\r\n RuntimeMetadataResolver.prototype.getProvidersMetadata = function (providers) {\r\n var _this = this;\r\n return providers.map(function (provider) {\r\n provider = di_1.resolveForwardRef(provider);\r\n if (lang_1.isArray(provider)) {\r\n return _this.getProvidersMetadata(provider);\r\n }\r\n else if (provider instanceof provider_1.Provider) {\r\n return _this.getProviderMetadata(provider);\r\n }\r\n else {\r\n return _this.getTypeMetadata(provider, null);\r\n }\r\n });\r\n };\r\n RuntimeMetadataResolver.prototype.getProviderMetadata = function (provider) {\r\n var compileDeps;\r\n if (lang_1.isPresent(provider.useClass)) {\r\n compileDeps = this.getDependenciesMetadata(provider.useClass, provider.dependencies);\r\n }\r\n else if (lang_1.isPresent(provider.useFactory)) {\r\n compileDeps = this.getDependenciesMetadata(provider.useFactory, provider.dependencies);\r\n }\r\n return new cpl.CompileProviderMetadata({\r\n token: this.getTokenMetadata(provider.token),\r\n useClass: lang_1.isPresent(provider.useClass) ? this.getTypeMetadata(provider.useClass, null) : null,\r\n useValue: lang_1.isPresent(provider.useValue) ?\r\n new cpl.CompileIdentifierMetadata({ runtime: provider.useValue }) :\r\n null,\r\n useFactory: lang_1.isPresent(provider.useFactory) ?\r\n this.getFactoryMetadata(provider.useFactory, null) :\r\n null,\r\n useExisting: lang_1.isPresent(provider.useExisting) ? this.getTokenMetadata(provider.useExisting) :\r\n null,\r\n deps: compileDeps,\r\n multi: provider.multi\r\n });\r\n };\r\n RuntimeMetadataResolver.prototype.getQueriesMetadata = function (queries, isViewQuery) {\r\n var _this = this;\r\n var compileQueries = [];\r\n collection_1.StringMapWrapper.forEach(queries, function (query, propertyName) {\r\n if (query.isViewQuery === isViewQuery) {\r\n compileQueries.push(_this.getQueryMetadata(query, propertyName));\r\n }\r\n });\r\n return compileQueries;\r\n };\r\n RuntimeMetadataResolver.prototype.getQueryMetadata = function (q, propertyName) {\r\n var _this = this;\r\n var selectors;\r\n if (q.isVarBindingQuery) {\r\n selectors = q.varBindings.map(function (varName) { return _this.getTokenMetadata(varName); });\r\n }\r\n else {\r\n selectors = [this.getTokenMetadata(q.selector)];\r\n }\r\n return new cpl.CompileQueryMetadata({\r\n selectors: selectors,\r\n first: q.first,\r\n descendants: q.descendants,\r\n propertyName: propertyName,\r\n read: lang_1.isPresent(q.read) ? this.getTokenMetadata(q.read) : null\r\n });\r\n };\r\n RuntimeMetadataResolver = __decorate([\r\n di_2.Injectable(),\r\n __param(3, di_2.Optional()),\r\n __param(3, di_2.Inject(platform_directives_and_pipes_1.PLATFORM_DIRECTIVES)),\r\n __param(4, di_2.Optional()),\r\n __param(4, di_2.Inject(platform_directives_and_pipes_1.PLATFORM_PIPES)), \r\n __metadata('design:paramtypes', [directive_resolver_1.DirectiveResolver, pipe_resolver_1.PipeResolver, view_resolver_1.ViewResolver, Array, Array, reflector_reader_1.ReflectorReader])\r\n ], RuntimeMetadataResolver);\r\n return RuntimeMetadataResolver;\r\n}());\r\nexports.RuntimeMetadataResolver = RuntimeMetadataResolver;\r\nfunction flattenDirectives(view, platformDirectives) {\r\n var directives = [];\r\n if (lang_1.isPresent(platformDirectives)) {\r\n flattenArray(platformDirectives, directives);\r\n }\r\n if (lang_1.isPresent(view.directives)) {\r\n flattenArray(view.directives, directives);\r\n }\r\n return directives;\r\n}\r\nfunction flattenPipes(view, platformPipes) {\r\n var pipes = [];\r\n if (lang_1.isPresent(platformPipes)) {\r\n flattenArray(platformPipes, pipes);\r\n }\r\n if (lang_1.isPresent(view.pipes)) {\r\n flattenArray(view.pipes, pipes);\r\n }\r\n return pipes;\r\n}\r\nfunction flattenArray(tree, out) {\r\n for (var i = 0; i < tree.length; i++) {\r\n var item = di_1.resolveForwardRef(tree[i]);\r\n if (lang_1.isArray(item)) {\r\n flattenArray(item, out);\r\n }\r\n else {\r\n out.push(item);\r\n }\r\n }\r\n}\r\nfunction isValidType(value) {\r\n return lang_1.isPresent(value) && (value instanceof lang_1.Type);\r\n}\r\nfunction calcModuleUrl(reflector, type, cmpMetadata) {\r\n var moduleId = cmpMetadata.moduleId;\r\n if (lang_1.isPresent(moduleId)) {\r\n var scheme = url_resolver_1.getUrlScheme(moduleId);\r\n return lang_1.isPresent(scheme) && scheme.length > 0 ? moduleId :\r\n \"package:\" + moduleId + util_1.MODULE_SUFFIX;\r\n }\r\n else {\r\n return reflector.importUri(type);\r\n }\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVudGltZV9tZXRhZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3B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lSWQpO1xuICAgIHJldHVybiBpc1ByZXNlbnQoc2NoZW1lKSAmJiBzY2hlbWUubGVuZ3RoID4gMCA/IG1vZHVsZUlkIDpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBgcGFja2FnZToke21vZHVsZUlkfSR7TU9EVUxFX1NVRkZJWH1gO1xuICB9IGVsc2Uge1xuICAgIHJldHVybiByZWZsZWN0b3IuaW1wb3J0VXJpKHR5cGUpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar _EMPTY_ATTR_VALUE = '';\r\n// TODO: Can't use `const` here as\r\n// in Dart this is not transpiled into `final` yet...\r\nvar _SELECTOR_REGEXP = lang_1.RegExpWrapper.create('(\\\\:not\\\\()|' +\r\n '([-\\\\w]+)|' +\r\n '(?:\\\\.([-\\\\w]+))|' +\r\n '(?:\\\\[([-\\\\w*]+)(?:=([^\\\\]]*))?\\\\])|' +\r\n '(\\\\))|' +\r\n '(\\\\s*,\\\\s*)'); // \",\"\r\n/**\r\n * A css selector contains an element name,\r\n * css classes and attribute/value pairs with the purpose\r\n * of selecting subsets out of them.\r\n */\r\nvar CssSelector = (function () {\r\n function CssSelector() {\r\n this.element = null;\r\n this.classNames = [];\r\n this.attrs = [];\r\n this.notSelectors = [];\r\n }\r\n CssSelector.parse = function (selector) {\r\n var results = [];\r\n var _addResult = function (res, cssSel) {\r\n if (cssSel.notSelectors.length > 0 && lang_1.isBlank(cssSel.element) &&\r\n collection_1.ListWrapper.isEmpty(cssSel.classNames) && collection_1.ListWrapper.isEmpty(cssSel.attrs)) {\r\n cssSel.element = \"*\";\r\n }\r\n res.push(cssSel);\r\n };\r\n var cssSelector = new CssSelector();\r\n var matcher = lang_1.RegExpWrapper.matcher(_SELECTOR_REGEXP, selector);\r\n var match;\r\n var current = cssSelector;\r\n var inNot = false;\r\n while (lang_1.isPresent(match = lang_1.RegExpMatcherWrapper.next(matcher))) {\r\n if (lang_1.isPresent(match[1])) {\r\n if (inNot) {\r\n throw new exceptions_1.BaseException('Nesting :not is not allowed in a selector');\r\n }\r\n inNot = true;\r\n current = new CssSelector();\r\n cssSelector.notSelectors.push(current);\r\n }\r\n if (lang_1.isPresent(match[2])) {\r\n current.setElement(match[2]);\r\n }\r\n if (lang_1.isPresent(match[3])) {\r\n current.addClassName(match[3]);\r\n }\r\n if (lang_1.isPresent(match[4])) {\r\n current.addAttribute(match[4], match[5]);\r\n }\r\n if (lang_1.isPresent(match[6])) {\r\n inNot = false;\r\n current = cssSelector;\r\n }\r\n if (lang_1.isPresent(match[7])) {\r\n if (inNot) {\r\n throw new exceptions_1.BaseException('Multiple selectors in :not are not supported');\r\n }\r\n _addResult(results, cssSelector);\r\n cssSelector = current = new CssSelector();\r\n }\r\n }\r\n _addResult(results, cssSelector);\r\n return results;\r\n };\r\n CssSelector.prototype.isElementSelector = function () {\r\n return lang_1.isPresent(this.element) && collection_1.ListWrapper.isEmpty(this.classNames) &&\r\n collection_1.ListWrapper.isEmpty(this.attrs) && this.notSelectors.length === 0;\r\n };\r\n CssSelector.prototype.setElement = function (element) {\r\n if (element === void 0) { element = null; }\r\n this.element = element;\r\n };\r\n /** Gets a template string for an element that matches the selector. */\r\n CssSelector.prototype.getMatchingElementTemplate = function () {\r\n var tagName = lang_1.isPresent(this.element) ? this.element : 'div';\r\n var classAttr = this.classNames.length > 0 ? \" class=\\\"\" + this.classNames.join(' ') + \"\\\"\" : '';\r\n var attrs = '';\r\n for (var i = 0; i < this.attrs.length; i += 2) {\r\n var attrName = this.attrs[i];\r\n var attrValue = this.attrs[i + 1] !== '' ? \"=\\\"\" + this.attrs[i + 1] + \"\\\"\" : '';\r\n attrs += \" \" + attrName + attrValue;\r\n }\r\n return \"<\" + tagName + classAttr + attrs + \"></\" + tagName + \">\";\r\n };\r\n CssSelector.prototype.addAttribute = function (name, value) {\r\n if (value === void 0) { value = _EMPTY_ATTR_VALUE; }\r\n this.attrs.push(name);\r\n if (lang_1.isPresent(value)) {\r\n value = value.toLowerCase();\r\n }\r\n else {\r\n value = _EMPTY_ATTR_VALUE;\r\n }\r\n this.attrs.push(value);\r\n };\r\n CssSelector.prototype.addClassName = function (name) { this.classNames.push(name.toLowerCase()); };\r\n CssSelector.prototype.toString = function () {\r\n var res = '';\r\n if (lang_1.isPresent(this.element)) {\r\n res += this.element;\r\n }\r\n if (lang_1.isPresent(this.classNames)) {\r\n for (var i = 0; i < this.classNames.length; i++) {\r\n res += '.' + this.classNames[i];\r\n }\r\n }\r\n if (lang_1.isPresent(this.attrs)) {\r\n for (var i = 0; i < this.attrs.length;) {\r\n var attrName = this.attrs[i++];\r\n var attrValue = this.attrs[i++];\r\n res += '[' + attrName;\r\n if (attrValue.length > 0) {\r\n res += '=' + attrValue;\r\n }\r\n res += ']';\r\n }\r\n }\r\n this.notSelectors.forEach(function (notSelector) { return res += \":not(\" + notSelector + \")\"; });\r\n return res;\r\n };\r\n return CssSelector;\r\n}());\r\nexports.CssSelector = CssSelector;\r\n/**\r\n * Reads a list of CssSelectors and allows to calculate which ones\r\n * are contained in a given CssSelector.\r\n */\r\nvar SelectorMatcher = (function () {\r\n function SelectorMatcher() {\r\n this._elementMap = new collection_1.Map();\r\n this._elementPartialMap = new collection_1.Map();\r\n this._classMap = new collection_1.Map();\r\n this._classPartialMap = new collection_1.Map();\r\n this._attrValueMap = new collection_1.Map();\r\n this._attrValuePartialMap = new collection_1.Map();\r\n this._listContexts = [];\r\n }\r\n SelectorMatcher.createNotMatcher = function (notSelectors) {\r\n var notMatcher = new SelectorMatcher();\r\n notMatcher.addSelectables(notSelectors, null);\r\n return notMatcher;\r\n };\r\n SelectorMatcher.prototype.addSelectables = function (cssSelectors, callbackCtxt) {\r\n var listContext = null;\r\n if (cssSelectors.length > 1) {\r\n listContext = new SelectorListContext(cssSelectors);\r\n this._listContexts.push(listContext);\r\n }\r\n for (var i = 0; i < cssSelectors.length; i++) {\r\n this._addSelectable(cssSelectors[i], callbackCtxt, listContext);\r\n }\r\n };\r\n /**\r\n * Add an object that can be found later on by calling `match`.\r\n * @param cssSelector A css selector\r\n * @param callbackCtxt An opaque object that will be given to the callback of the `match` function\r\n */\r\n SelectorMatcher.prototype._addSelectable = function (cssSelector, callbackCtxt, listContext) {\r\n var matcher = this;\r\n var element = cssSelector.element;\r\n var classNames = cssSelector.classNames;\r\n var attrs = cssSelector.attrs;\r\n var selectable = new SelectorContext(cssSelector, callbackCtxt, listContext);\r\n if (lang_1.isPresent(element)) {\r\n var isTerminal = attrs.length === 0 && classNames.length === 0;\r\n if (isTerminal) {\r\n this._addTerminal(matcher._elementMap, element, selectable);\r\n }\r\n else {\r\n matcher = this._addPartial(matcher._elementPartialMap, element);\r\n }\r\n }\r\n if (lang_1.isPresent(classNames)) {\r\n for (var index = 0; index < classNames.length; index++) {\r\n var isTerminal = attrs.length === 0 && index === classNames.length - 1;\r\n var className = classNames[index];\r\n if (isTerminal) {\r\n this._addTerminal(matcher._classMap, className, selectable);\r\n }\r\n else {\r\n matcher = this._addPartial(matcher._classPartialMap, className);\r\n }\r\n }\r\n }\r\n if (lang_1.isPresent(attrs)) {\r\n for (var index = 0; index < attrs.length;) {\r\n var isTerminal = index === attrs.length - 2;\r\n var attrName = attrs[index++];\r\n var attrValue = attrs[index++];\r\n if (isTerminal) {\r\n var terminalMap = matcher._attrValueMap;\r\n var terminalValuesMap = terminalMap.get(attrName);\r\n if (lang_1.isBlank(terminalValuesMap)) {\r\n terminalValuesMap = new collection_1.Map();\r\n terminalMap.set(attrName, terminalValuesMap);\r\n }\r\n this._addTerminal(terminalValuesMap, attrValue, selectable);\r\n }\r\n else {\r\n var parttialMap = matcher._attrValuePartialMap;\r\n var partialValuesMap = parttialMap.get(attrName);\r\n if (lang_1.isBlank(partialValuesMap)) {\r\n partialValuesMap = new collection_1.Map();\r\n parttialMap.set(attrName, partialValuesMap);\r\n }\r\n matcher = this._addPartial(partialValuesMap, attrValue);\r\n }\r\n }\r\n }\r\n };\r\n SelectorMatcher.prototype._addTerminal = function (map, name, selectable) {\r\n var terminalList = map.get(name);\r\n if (lang_1.isBlank(terminalList)) {\r\n terminalList = [];\r\n map.set(name, terminalList);\r\n }\r\n terminalList.push(selectable);\r\n };\r\n SelectorMatcher.prototype._addPartial = function (map, name) {\r\n var matcher = map.get(name);\r\n if (lang_1.isBlank(matcher)) {\r\n matcher = new SelectorMatcher();\r\n map.set(name, matcher);\r\n }\r\n return matcher;\r\n };\r\n /**\r\n * Find the objects that have been added via `addSelectable`\r\n * whose css selector is contained in the given css selector.\r\n * @param cssSelector A css selector\r\n * @param matchedCallback This callback will be called with the object handed into `addSelectable`\r\n * @return boolean true if a match was found\r\n */\r\n SelectorMatcher.prototype.match = function (cssSelector, matchedCallback) {\r\n var result = false;\r\n var element = cssSelector.element;\r\n var classNames = cssSelector.classNames;\r\n var attrs = cssSelector.attrs;\r\n for (var i = 0; i < this._listContexts.length; i++) {\r\n this._listContexts[i].alreadyMatched = false;\r\n }\r\n result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result;\r\n result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) ||\r\n result;\r\n if (lang_1.isPresent(classNames)) {\r\n for (var index = 0; index < classNames.length; index++) {\r\n var className = classNames[index];\r\n result =\r\n this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result;\r\n result =\r\n this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) ||\r\n result;\r\n }\r\n }\r\n if (lang_1.isPresent(attrs)) {\r\n for (var index = 0; index < attrs.length;) {\r\n var attrName = attrs[index++];\r\n var attrValue = attrs[index++];\r\n var terminalValuesMap = this._attrValueMap.get(attrName);\r\n if (!lang_1.StringWrapper.equals(attrValue, _EMPTY_ATTR_VALUE)) {\r\n result = this._matchTerminal(terminalValuesMap, _EMPTY_ATTR_VALUE, cssSelector, matchedCallback) ||\r\n result;\r\n }\r\n result = this._matchTerminal(terminalValuesMap, attrValue, cssSelector, matchedCallback) ||\r\n result;\r\n var partialValuesMap = this._attrValuePartialMap.get(attrName);\r\n if (!lang_1.StringWrapper.equals(attrValue, _EMPTY_ATTR_VALUE)) {\r\n result = this._matchPartial(partialValuesMap, _EMPTY_ATTR_VALUE, cssSelector, matchedCallback) ||\r\n result;\r\n }\r\n result =\r\n this._matchPartial(partialValuesMap, attrValue, cssSelector, matchedCallback) || result;\r\n }\r\n }\r\n return result;\r\n };\r\n /** @internal */\r\n SelectorMatcher.prototype._matchTerminal = function (map, name, cssSelector, matchedCallback) {\r\n if (lang_1.isBlank(map) || lang_1.isBlank(name)) {\r\n return false;\r\n }\r\n var selectables = map.get(name);\r\n var starSelectables = map.get(\"*\");\r\n if (lang_1.isPresent(starSelectables)) {\r\n selectables = selectables.concat(starSelectables);\r\n }\r\n if (lang_1.isBlank(selectables)) {\r\n return false;\r\n }\r\n var selectable;\r\n var result = false;\r\n for (var index = 0; index < selectables.length; index++) {\r\n selectable = selectables[index];\r\n result = selectable.finalize(cssSelector, matchedCallback) || result;\r\n }\r\n return result;\r\n };\r\n /** @internal */\r\n SelectorMatcher.prototype._matchPartial = function (map, name, cssSelector, matchedCallback /*: (c: CssSelector, a: any) => void*/) {\r\n if (lang_1.isBlank(map) || lang_1.isBlank(name)) {\r\n return false;\r\n }\r\n var nestedSelector = map.get(name);\r\n if (lang_1.isBlank(nestedSelector)) {\r\n return false;\r\n }\r\n // TODO(perf): get rid of recursion and measure again\r\n // TODO(perf): don't pass the whole selector into the recursion,\r\n // but only the not processed parts\r\n return nestedSelector.match(cssSelector, matchedCallback);\r\n };\r\n return SelectorMatcher;\r\n}());\r\nexports.SelectorMatcher = SelectorMatcher;\r\nvar SelectorListContext = (function () {\r\n function SelectorListContext(selectors) {\r\n this.selectors = selectors;\r\n this.alreadyMatched = false;\r\n }\r\n return SelectorListContext;\r\n}());\r\nexports.SelectorListContext = SelectorListContext;\r\n// Store context to pass back selector and context when a selector is matched\r\nvar SelectorContext = (function () {\r\n function SelectorContext(selector, cbContext, listContext) {\r\n this.selector = selector;\r\n this.cbContext = cbContext;\r\n this.listContext = listContext;\r\n this.notSelectors = selector.notSelectors;\r\n }\r\n SelectorContext.prototype.finalize = function (cssSelector, callback) {\r\n var result = true;\r\n if (this.notSelectors.length > 0 &&\r\n (lang_1.isBlank(this.listContext) || !this.listContext.alreadyMatched)) {\r\n var notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors);\r\n result = !notMatcher.match(cssSelector, null);\r\n }\r\n if (result && lang_1.isPresent(callback) &&\r\n (lang_1.isBlank(this.listContext) || !this.listContext.alreadyMatched)) {\r\n if (lang_1.isPresent(this.listContext)) {\r\n this.listContext.alreadyMatched = true;\r\n }\r\n callback(this.selector, this.cbContext);\r\n }\r\n return result;\r\n };\r\n return SelectorContext;\r\n}());\r\nexports.SelectorContext = SelectorContext;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvc2VsZWN0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDJCQUEyQyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBQzVFLHFCQU1PLDBCQUEwQixDQUFDLENBQUE7QUFDbEMsMkJBQThDLGdDQUFnQyxDQUFDLENBQUE7QUFFL0UsSUFBTSxpQkFBaUIsR0FBRyxFQUFFLENBQUM7QUFFN0Isa0NBQWtDO0FBQ2xDLHFEQUFxRDtBQUNyRCxJQUFJLGdCQUFnQixHQUFHLG9CQUFhLENBQUMsTUFBTSxDQUN2QyxjQUFjO0lBQ2QsWUFBWTtJQUNaLG1CQUFt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3Rvck1hdGNoZXIuY3JlYXRlTm90TWF0Y2hlcih0aGlzLm5vdFNlbGVjdG9ycyk7XG4gICAgICByZXN1bHQgPSAhbm90TWF0Y2hlci5tYXRjaChjc3NTZWxlY3RvciwgbnVsbCk7XG4gICAgfVxuICAgIGlmIChyZXN1bHQgJiYgaXNQcmVzZW50KGNhbGxiYWNrKSAmJlxuICAgICAgICAoaXNCbGFuayh0aGlzLmxpc3RDb250ZXh0KSB8fCAhdGhpcy5saXN0Q29udGV4dC5hbHJlYWR5TWF0Y2hlZCkpIHtcbiAgICAgIGlmIChpc1ByZXNlbnQodGhpcy5saXN0Q29udGV4dCkpIHtcbiAgICAgICAgdGhpcy5saXN0Q29udGV4dC5hbHJlYWR5TWF0Y2hlZCA9IHRydWU7XG4gICAgICB9XG4gICAgICBjYWxsYmFjayh0aGlzLnNlbGVjdG9yLCB0aGlzLmNiQ29udGV4dCk7XG4gICAgfVxuICAgIHJldHVybiByZXN1bHQ7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n(function (LifecycleHooks) {\r\n LifecycleHooks[LifecycleHooks[\"OnInit\"] = 0] = \"OnInit\";\r\n LifecycleHooks[LifecycleHooks[\"OnDestroy\"] = 1] = \"OnDestroy\";\r\n LifecycleHooks[LifecycleHooks[\"DoCheck\"] = 2] = \"DoCheck\";\r\n LifecycleHooks[LifecycleHooks[\"OnChanges\"] = 3] = \"OnChanges\";\r\n LifecycleHooks[LifecycleHooks[\"AfterContentInit\"] = 4] = \"AfterContentInit\";\r\n LifecycleHooks[LifecycleHooks[\"AfterContentChecked\"] = 5] = \"AfterContentChecked\";\r\n LifecycleHooks[LifecycleHooks[\"AfterViewInit\"] = 6] = \"AfterViewInit\";\r\n LifecycleHooks[LifecycleHooks[\"AfterViewChecked\"] = 7] = \"AfterViewChecked\";\r\n})(exports.LifecycleHooks || (exports.LifecycleHooks = {}));\r\nvar LifecycleHooks = exports.LifecycleHooks;\r\n/**\r\n * @internal\r\n */\r\nexports.LIFECYCLE_HOOKS_VALUES = [\r\n LifecycleHooks.OnInit,\r\n LifecycleHooks.OnDestroy,\r\n LifecycleHooks.DoCheck,\r\n LifecycleHooks.OnChanges,\r\n LifecycleHooks.AfterContentInit,\r\n LifecycleHooks.AfterContentChecked,\r\n LifecycleHooks.AfterViewInit,\r\n LifecycleHooks.AfterViewChecked\r\n];\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlmZWN5Y2xlX2hvb2tzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvbWV0YWRhdGEvbGlmZWN5Y2xlX2hvb2tzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFFQSxXQUFZLGNBQWM7SUFDeEIsdURBQU0sQ0FBQTtJQUNOLDZEQUFTLENBQUE7SUFDVCx5REFBTyxDQUFBO0lBQ1AsNkRBQVMsQ0FBQTtJQUNULDJFQUFnQixDQUFBO0lBQ2hCLGlGQUFtQixDQUFBO0lBQ25CLHFFQUFhLENBQUE7SUFDYiwyRUFBZ0IsQ0FBQTtBQUNsQixDQUFDLEVBVFcsc0JBQWMsS0FBZCxzQkFBYyxRQVN6QjtBQVRELElBQVksY0FBYyxHQUFkLHNCQVNYLENBQUE7QUFFRDs7R0FFRztBQUNRLDhCQUFzQixHQUFHO0lBQ2xDLGNBQWMsQ0FBQyxNQUFNO0lBQ3JCLGNBQWMsQ0FBQyxTQUFTO0lBQ3hCLGNBQWMsQ0FBQyxPQUFPO0lBQ3RCLGNBQWMsQ0FBQyxTQUFTO0lBQ3hCLGNBQWMsQ0FBQyxnQkFBZ0I7SUFDL0IsY0FBYyxDQUFDLG1CQUFtQjtJQUNsQyxjQUFjLENBQUMsYUFBYTtJQUM1QixjQUFjLENBQUMs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BpcyBub3QgaW5pdGlhbGl6ZWQgeWV0XG4gKiAgICAgY29uc29sZS5sb2codGhpcy5nZXRNZXNzYWdlKHRoaXMudmlld0NoaWxkKSk7XG4gKiAgIH1cbiAqXG4gKiAgIG5nQWZ0ZXJWaWV3Q2hlY2tlZCgpIHtcbiAqICAgICAvLyB2aWV3Q2hpbGQgaXMgdXBkYXRlZCBhZnRlciB0aGUgdmlldyBoYXMgYmVlbiBjaGVja2VkXG4gKiAgICAgY29uc29sZS5sb2coJ0FmdGVyVmlld0NoZWNrZWQ6ICcgKyB0aGlzLmdldE1lc3NhZ2UodGhpcy52aWV3Q2hpbGQpKTtcbiAqICAgfVxuICpcbiAqICAgcHJpdmF0ZSBnZXRNZXNzYWdlKGNtcDogQ2hpbGRDb21wb25lbnQpOiBzdHJpbmcge1xuICogICAgIHJldHVybiBjbXAgPyBjbXAud2hlcmUgKyAnIGNoaWxkJyA6ICdubyBjaGlsZCc7XG4gKiAgIH1cbiAqIH1cbiAqXG4gKiBAQ29tcG9uZW50KHtcbiAqICAgc2VsZWN0b3I6ICdhcHAnLFxuICogICB0ZW1wbGF0ZTogYDxwYXJlbnQtY21wPjwvcGFyZW50LWNtcD5gLFxuICogICBkaXJlY3RpdmVzOiBbUGFyZW50Q29tcG9uZW50XVxuICogfSlcbiAqIGV4cG9ydCBjbGFzcyBBcHAge1xuICogfVxuICpcbiAqIGJvb3RzdHJhcChBcHApLmNhdGNoKGVyciA9PiBjb25zb2xlLmVycm9yKGVycikpO1xuICogYGBgXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgQWZ0ZXJWaWV3Q2hlY2tlZCB7IG5nQWZ0ZXJWaWV3Q2hlY2tlZCgpOyB9XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar application_tokens_1 = require('angular2/src/core/application_tokens');\r\nvar _ASSET_SCHEME = 'asset:';\r\n/**\r\n * Create a {@link UrlResolver} with no package prefix.\r\n */\r\nfunction createUrlResolverWithoutPackagePrefix() {\r\n return new UrlResolver();\r\n}\r\nexports.createUrlResolverWithoutPackagePrefix = createUrlResolverWithoutPackagePrefix;\r\nfunction createOfflineCompileUrlResolver() {\r\n return new UrlResolver(_ASSET_SCHEME);\r\n}\r\nexports.createOfflineCompileUrlResolver = createOfflineCompileUrlResolver;\r\n/**\r\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\r\n */\r\nexports.DEFAULT_PACKAGE_URL_PROVIDER = new di_1.Provider(application_tokens_1.PACKAGE_ROOT_URL, { useValue: \"/\" });\r\n/**\r\n * Used by the {@link Compiler} when resolving HTML and CSS template URLs.\r\n *\r\n * This class can be overridden by the application developer to create custom behavior.\r\n *\r\n * See {@link Compiler}\r\n *\r\n * ## Example\r\n *\r\n * {@example compiler/ts/url_resolver/url_resolver.ts region='url_resolver'}\r\n */\r\nvar UrlResolver = (function () {\r\n function UrlResolver(_packagePrefix) {\r\n if (_packagePrefix === void 0) { _packagePrefix = null; }\r\n this._packagePrefix = _packagePrefix;\r\n }\r\n /**\r\n * Resolves the `url` given the `baseUrl`:\r\n * - when the `url` is null, the `baseUrl` is returned,\r\n * - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of\r\n * `baseUrl` and `url`,\r\n * - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is\r\n * returned as is (ignoring the `baseUrl`)\r\n *\r\n * @param {string} baseUrl\r\n * @param {string} url\r\n * @returns {string} the resolved URL\r\n */\r\n UrlResolver.prototype.resolve = function (baseUrl, url) {\r\n var resolvedUrl = url;\r\n if (lang_1.isPresent(baseUrl) && baseUrl.length > 0) {\r\n resolvedUrl = _resolveUrl(baseUrl, resolvedUrl);\r\n }\r\n var resolvedParts = _split(resolvedUrl);\r\n var prefix = this._packagePrefix;\r\n if (lang_1.isPresent(prefix) && lang_1.isPresent(resolvedParts) &&\r\n resolvedParts[_ComponentIndex.Scheme] == \"package\") {\r\n var path = resolvedParts[_ComponentIndex.Path];\r\n if (this._packagePrefix === _ASSET_SCHEME) {\r\n var pathSegements = path.split(/\\//);\r\n resolvedUrl = \"asset:\" + pathSegements[0] + \"/lib/\" + pathSegements.slice(1).join('/');\r\n }\r\n else {\r\n prefix = lang_1.StringWrapper.stripRight(prefix, '/');\r\n path = lang_1.StringWrapper.stripLeft(path, '/');\r\n return prefix + \"/\" + path;\r\n }\r\n }\r\n return resolvedUrl;\r\n };\r\n UrlResolver = __decorate([\r\n di_1.Injectable(),\r\n __param(0, di_1.Inject(application_tokens_1.PACKAGE_ROOT_URL)), \r\n __metadata('design:paramtypes', [String])\r\n ], UrlResolver);\r\n return UrlResolver;\r\n}());\r\nexports.UrlResolver = UrlResolver;\r\n/**\r\n * Extract the scheme of a URL.\r\n */\r\nfunction getUrlScheme(url) {\r\n var match = _split(url);\r\n return (match && match[_ComponentIndex.Scheme]) || \"\";\r\n}\r\nexports.getUrlScheme = getUrlScheme;\r\n// The code below is adapted from Traceur:\r\n// https://github.com/google/traceur-compiler/blob/9511c1dafa972bf0de1202a8a863bad02f0f95a8/src/runtime/url.js\r\n/**\r\n * Builds a URI string from already-encoded parts.\r\n *\r\n * No encoding is performed. Any component may be omitted as either null or\r\n * undefined.\r\n *\r\n * @param {?string=} opt_scheme The scheme such as 'http'.\r\n * @param {?string=} opt_userInfo The user name before the '@'.\r\n * @param {?string=} opt_domain The domain such as 'www.google.com', already\r\n * URI-encoded.\r\n * @param {(string|null)=} opt_port The port number.\r\n * @param {?string=} opt_path The path, already URI-encoded. If it is not\r\n * empty, it must begin with a slash.\r\n * @param {?string=} opt_queryData The URI-encoded query data.\r\n * @param {?string=} opt_fragment The URI-encoded fragment identifier.\r\n * @return {string} The fully combined URI.\r\n */\r\nfunction _buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {\r\n var out = [];\r\n if (lang_1.isPresent(opt_scheme)) {\r\n out.push(opt_scheme + ':');\r\n }\r\n if (lang_1.isPresent(opt_domain)) {\r\n out.push('//');\r\n if (lang_1.isPresent(opt_userInfo)) {\r\n out.push(opt_userInfo + '@');\r\n }\r\n out.push(opt_domain);\r\n if (lang_1.isPresent(opt_port)) {\r\n out.push(':' + opt_port);\r\n }\r\n }\r\n if (lang_1.isPresent(opt_path)) {\r\n out.push(opt_path);\r\n }\r\n if (lang_1.isPresent(opt_queryData)) {\r\n out.push('?' + opt_queryData);\r\n }\r\n if (lang_1.isPresent(opt_fragment)) {\r\n out.push('#' + opt_fragment);\r\n }\r\n return out.join('');\r\n}\r\n/**\r\n * A regular expression for breaking a URI into its component parts.\r\n *\r\n * {@link http://www.gbiv.com/protocols/uri/rfc/rfc3986.html#RFC2234} says\r\n * As the \"first-match-wins\" algorithm is identical to the \"greedy\"\r\n * disambiguation method used by POSIX regular expressions, it is natural and\r\n * commonplace to use a regular expression for parsing the potential five\r\n * components of a URI reference.\r\n *\r\n * The following line is the regular expression for breaking-down a\r\n * well-formed URI reference into its components.\r\n *\r\n * <pre>\r\n * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?\r\n * 12 3 4 5 6 7 8 9\r\n * </pre>\r\n *\r\n * The numbers in the second line above are only to assist readability; they\r\n * indicate the reference points for each subexpression (i.e., each paired\r\n * parenthesis). We refer to the value matched for subexpression <n> as $<n>.\r\n * For example, matching the above expression to\r\n * <pre>\r\n * http://www.ics.uci.edu/pub/ietf/uri/#Related\r\n * </pre>\r\n * results in the following subexpression matches:\r\n * <pre>\r\n * $1 = http:\r\n * $2 = http\r\n * $3 = //www.ics.uci.edu\r\n * $4 = www.ics.uci.edu\r\n * $5 = /pub/ietf/uri/\r\n * $6 = <undefined>\r\n * $7 = <undefined>\r\n * $8 = #Related\r\n * $9 = Related\r\n * </pre>\r\n * where <undefined> indicates that the component is not present, as is the\r\n * case for the query component in the above example. Therefore, we can\r\n * determine the value of the five components as\r\n * <pre>\r\n * scheme = $2\r\n * authority = $4\r\n * path = $5\r\n * query = $7\r\n * fragment = $9\r\n * </pre>\r\n *\r\n * The regular expression has been modified slightly to expose the\r\n * userInfo, domain, and port separately from the authority.\r\n * The modified version yields\r\n * <pre>\r\n * $1 = http scheme\r\n * $2 = <undefined> userInfo -\\\r\n * $3 = www.ics.uci.edu domain | authority\r\n * $4 = <undefined> port -/\r\n * $5 = /pub/ietf/uri/ path\r\n * $6 = <undefined> query without ?\r\n * $7 = Related fragment without #\r\n * </pre>\r\n * @type {!RegExp}\r\n * @internal\r\n */\r\nvar _splitRe = lang_1.RegExpWrapper.create('^' +\r\n '(?:' +\r\n '([^:/?#.]+)' +\r\n // used by other URL parts such as :,\r\n // ?, /, #, and .\r\n ':)?' +\r\n '(?://' +\r\n '(?:([^/?#]*)@)?' +\r\n '([\\\\w\\\\d\\\\-\\\\u0100-\\\\uffff.%]*)' +\r\n // digits, dashes, dots, percent\r\n // escapes, and unicode characters.\r\n '(?::([0-9]+))?' +\r\n ')?' +\r\n '([^?#]+)?' +\r\n '(?:\\\\?([^#]*))?' +\r\n '(?:#(.*))?' +\r\n '$');\r\n/**\r\n * The index of each URI component in the return value of goog.uri.utils.split.\r\n * @enum {number}\r\n */\r\nvar _ComponentIndex;\r\n(function (_ComponentIndex) {\r\n _ComponentIndex[_ComponentIndex[\"Scheme\"] = 1] = \"Scheme\";\r\n _ComponentIndex[_ComponentIndex[\"UserInfo\"] = 2] = \"UserInfo\";\r\n _ComponentIndex[_ComponentIndex[\"Domain\"] = 3] = \"Domain\";\r\n _ComponentIndex[_ComponentIndex[\"Port\"] = 4] = \"Port\";\r\n _ComponentIndex[_ComponentIndex[\"Path\"] = 5] = \"Path\";\r\n _ComponentIndex[_ComponentIndex[\"QueryData\"] = 6] = \"QueryData\";\r\n _ComponentIndex[_ComponentIndex[\"Fragment\"] = 7] = \"Fragment\";\r\n})(_ComponentIndex || (_ComponentIndex = {}));\r\n/**\r\n * Splits a URI into its component parts.\r\n *\r\n * Each component can be accessed via the component indices; for example:\r\n * <pre>\r\n * goog.uri.utils.split(someStr)[goog.uri.utils.CompontentIndex.QUERY_DATA];\r\n * </pre>\r\n *\r\n * @param {string} uri The URI string to examine.\r\n * @return {!Array.<string|undefined>} Each component still URI-encoded.\r\n * Each component that is present will contain the encoded value, whereas\r\n * components that are not present will be undefined or empty, depending\r\n * on the browser's regular expression implementation. Never null, since\r\n * arbitrary strings may still look like path names.\r\n */\r\nfunction _split(uri) {\r\n return lang_1.RegExpWrapper.firstMatch(_splitRe, uri);\r\n}\r\n/**\r\n * Removes dot segments in given path component, as described in\r\n * RFC 3986, section 5.2.4.\r\n *\r\n * @param {string} path A non-empty path component.\r\n * @return {string} Path component with removed dot segments.\r\n */\r\nfunction _removeDotSegments(path) {\r\n if (path == '/')\r\n return '/';\r\n var leadingSlash = path[0] == '/' ? '/' : '';\r\n var trailingSlash = path[path.length - 1] === '/' ? '/' : '';\r\n var segments = path.split('/');\r\n var out = [];\r\n var up = 0;\r\n for (var pos = 0; pos < segments.length; pos++) {\r\n var segment = segments[pos];\r\n switch (segment) {\r\n case '':\r\n case '.':\r\n break;\r\n case '..':\r\n if (out.length > 0) {\r\n out.pop();\r\n }\r\n else {\r\n up++;\r\n }\r\n break;\r\n default:\r\n out.push(segment);\r\n }\r\n }\r\n if (leadingSlash == '') {\r\n while (up-- > 0) {\r\n out.unshift('..');\r\n }\r\n if (out.length === 0)\r\n out.push('.');\r\n }\r\n return leadingSlash + out.join('/') + trailingSlash;\r\n}\r\n/**\r\n * Takes an array of the parts from split and canonicalizes the path part\r\n * and then joins all the parts.\r\n * @param {Array.<string?>} parts\r\n * @return {string}\r\n */\r\nfunction _joinAndCanonicalizePath(parts) {\r\n var path = parts[_ComponentIndex.Path];\r\n path = lang_1.isBlank(path) ? '' : _removeDotSegments(path);\r\n parts[_ComponentIndex.Path] = path;\r\n return _buildFromEncodedParts(parts[_ComponentIndex.Scheme], parts[_ComponentIndex.UserInfo], parts[_ComponentIndex.Domain], parts[_ComponentIndex.Port], path, parts[_ComponentIndex.QueryData], parts[_ComponentIndex.Fragment]);\r\n}\r\n/**\r\n * Resolves a URL.\r\n * @param {string} base The URL acting as the base URL.\r\n * @param {string} to The URL to resolve.\r\n * @return {string}\r\n */\r\nfunction _resolveUrl(base, url) {\r\n var parts = _split(encodeURI(url));\r\n var baseParts = _split(base);\r\n if (lang_1.isPresent(parts[_ComponentIndex.Scheme])) {\r\n return _joinAndCanonicalizePath(parts);\r\n }\r\n else {\r\n parts[_ComponentIndex.Scheme] = baseParts[_ComponentIndex.Scheme];\r\n }\r\n for (var i = _ComponentIndex.Scheme; i <= _ComponentIndex.Port; i++) {\r\n if (lang_1.isBlank(parts[i])) {\r\n parts[i] = baseParts[i];\r\n }\r\n }\r\n if (parts[_ComponentIndex.Path][0] == '/') {\r\n return _joinAndCanonicalizePath(parts);\r\n }\r\n var path = baseParts[_ComponentIndex.Path];\r\n if (lang_1.isBlank(path))\r\n path = '/';\r\n var index = path.lastIndexOf('/');\r\n path = path.substring(0, index + 1) + parts[_ComponentIndex.Path];\r\n parts[_ComponentIndex.Path] = path;\r\n return _joinAndCanonicalizePath(parts);\r\n}\r\n//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ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyB1c2VkIGJ5IG90aGVyIFVSTCBwYXJ0cyBzdWNoIGFzIDosXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyA/LCAvLCAjLCBhbmQgLlxuICAgICAgICAgICAgICAgICAgICAgICAgICc6KT8nICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAnKD86Ly8nICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAnKD86KFteLz8jXSopQCk/JyArICAgICAgICAgICAgICAgICAgLy8gdXNlckluZm9cbiAgICAgICAgICAgICAgICAgICAgICAgICAnKFtcXFxcd1xcXFxkXFxcXC1cXFxcdTAxMDAtXFxcXHVmZmZmLiVdKiknICsgIC8vIGRvbWFpbiAtIHJlc3RyaWN0IHRvIGxldHRlcnMsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGRpZ2l0cywgZGFzaGVzLCBkb3RzLCBwZXJjZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIGVzY2FwZXMsIGFuZCB1bmljb2RlIGNoYXJhY3RlcnMuXG4gICAgICAgICAgICAgICAgICAgICAgICAgJyg/OjooWzAtOV0rKSk/JyArICAgICAgICAgICAgICAgICAgIC8vIHBvcnRcbiAgICAgICAgICAgICAgICAgICAgICAgICAnKT8nICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAnKFtePyNdKyk/JyArICAgICAgICAvLyBwYXRoXG4gICAgICAgICAgICAgICAgICAgICAgICAgJyg/OlxcXFw/KFteI10qKSk/JyArICAvLyBxdWVyeVxuICAgICAgICAgICAgICAgICAgICAgICAgICcoPzojKC4qKSk/JyArICAgICAgIC8vIGZyYWdtZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgJyQnKTtcblxuLyoqXG4gKiBUaGUgaW5kZXggb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UGFydHNbaV07XG4gICAgfVxuICB9XG5cbiAgaWYgKHBhcnRzW19Db21wb25lbnRJbmRleC5QYXRoXVswXSA9PSAnLycpIHtcbiAgICByZXR1cm4gX2pvaW5BbmRDYW5vbmljYWxpemVQYXRoKHBhcnRzKTtcbiAgfVxuXG4gIHZhciBwYXRoID0gYmFzZVBhcnRzW19Db21wb25lbnRJbmRleC5QYXRoXTtcbiAgaWYgKGlzQmxhbmsocGF0aCkpIHBhdGggPSAnLyc7XG4gIHZhciBpbmRleCA9IHBhdGgubGFzdEluZGV4T2YoJy8nKTtcbiAgcGF0aCA9IHBhdGguc3Vic3RyaW5nKDAsIGluZGV4ICsgMSkgKyBwYXJ0c1tfQ29tcG9uZW50SW5kZXguUGF0aF07XG4gIHBhcnRzW19Db21wb25lbnRJbmRleC5QYXRoXSA9IHBhdGg7XG4gIHJldHVybiBfam9pbkFuZENhbm9uaWNhbGl6ZVBhdGgocGFydHMpO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar change_detection_1 = require('angular2/src/core/change_detection/change_detection');\r\nvar view_1 = require('angular2/src/core/metadata/view');\r\nvar selector_1 = require('angular2/src/compiler/selector');\r\nvar util_1 = require('./util');\r\nvar lifecycle_hooks_1 = require('angular2/src/core/metadata/lifecycle_hooks');\r\nvar url_resolver_1 = require('./url_resolver');\r\n// group 1: \"property\" from \"[property]\"\r\n// group 2: \"event\" from \"(event)\"\r\nvar HOST_REG_EXP = /^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))$/g;\r\nvar CompileMetadataWithIdentifier = (function () {\r\n function CompileMetadataWithIdentifier() {\r\n }\r\n Object.defineProperty(CompileMetadataWithIdentifier.prototype, \"identifier\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return CompileMetadataWithIdentifier;\r\n}());\r\nexports.CompileMetadataWithIdentifier = CompileMetadataWithIdentifier;\r\nvar CompileMetadataWithType = (function (_super) {\r\n __extends(CompileMetadataWithType, _super);\r\n function CompileMetadataWithType() {\r\n _super.apply(this, arguments);\r\n }\r\n Object.defineProperty(CompileMetadataWithType.prototype, \"type\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(CompileMetadataWithType.prototype, \"identifier\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return CompileMetadataWithType;\r\n}(CompileMetadataWithIdentifier));\r\nexports.CompileMetadataWithType = CompileMetadataWithType;\r\nfunction metadataFromJson(data) {\r\n return _COMPILE_METADATA_FROM_JSON[data['class']](data);\r\n}\r\nexports.metadataFromJson = metadataFromJson;\r\nvar CompileIdentifierMetadata = (function () {\r\n function CompileIdentifierMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, runtime = _b.runtime, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, value = _b.value;\r\n this.runtime = runtime;\r\n this.name = name;\r\n this.prefix = prefix;\r\n this.moduleUrl = moduleUrl;\r\n this.value = value;\r\n }\r\n CompileIdentifierMetadata.fromJson = function (data) {\r\n var value = lang_1.isArray(data['value']) ? _arrayFromJson(data['value'], metadataFromJson) :\r\n _objFromJson(data['value'], metadataFromJson);\r\n return new CompileIdentifierMetadata({ name: data['name'], prefix: data['prefix'], moduleUrl: data['moduleUrl'], value: value });\r\n };\r\n CompileIdentifierMetadata.prototype.toJson = function () {\r\n var value = lang_1.isArray(this.value) ? _arrayToJson(this.value) : _objToJson(this.value);\r\n return {\r\n // Note: Runtime type can't be serialized...\r\n 'class': 'Identifier',\r\n 'name': this.name,\r\n 'moduleUrl': this.moduleUrl,\r\n 'prefix': this.prefix,\r\n 'value': value\r\n };\r\n };\r\n Object.defineProperty(CompileIdentifierMetadata.prototype, \"identifier\", {\r\n get: function () { return this; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return CompileIdentifierMetadata;\r\n}());\r\nexports.CompileIdentifierMetadata = CompileIdentifierMetadata;\r\nvar CompileDiDependencyMetadata = (function () {\r\n function CompileDiDependencyMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, isAttribute = _b.isAttribute, isSelf = _b.isSelf, isHost = _b.isHost, isSkipSelf = _b.isSkipSelf, isOptional = _b.isOptional, isValue = _b.isValue, query = _b.query, viewQuery = _b.viewQuery, token = _b.token, value = _b.value;\r\n this.isAttribute = lang_1.normalizeBool(isAttribute);\r\n this.isSelf = lang_1.normalizeBool(isSelf);\r\n this.isHost = lang_1.normalizeBool(isHost);\r\n this.isSkipSelf = lang_1.normalizeBool(isSkipSelf);\r\n this.isOptional = lang_1.normalizeBool(isOptional);\r\n this.isValue = lang_1.normalizeBool(isValue);\r\n this.query = query;\r\n this.viewQuery = viewQuery;\r\n this.token = token;\r\n this.value = value;\r\n }\r\n CompileDiDependencyMetadata.fromJson = function (data) {\r\n return new CompileDiDependencyMetadata({\r\n token: _objFromJson(data['token'], CompileTokenMetadata.fromJson),\r\n query: _objFromJson(data['query'], CompileQueryMetadata.fromJson),\r\n viewQuery: _objFromJson(data['viewQuery'], CompileQueryMetadata.fromJson),\r\n value: data['value'],\r\n isAttribute: data['isAttribute'],\r\n isSelf: data['isSelf'],\r\n isHost: data['isHost'],\r\n isSkipSelf: data['isSkipSelf'],\r\n isOptional: data['isOptional'],\r\n isValue: data['isValue']\r\n });\r\n };\r\n CompileDiDependencyMetadata.prototype.toJson = function () {\r\n return {\r\n 'token': _objToJson(this.token),\r\n 'query': _objToJson(this.query),\r\n 'viewQuery': _objToJson(this.viewQuery),\r\n 'value': this.value,\r\n 'isAttribute': this.isAttribute,\r\n 'isSelf': this.isSelf,\r\n 'isHost': this.isHost,\r\n 'isSkipSelf': this.isSkipSelf,\r\n 'isOptional': this.isOptional,\r\n 'isValue': this.isValue\r\n };\r\n };\r\n return CompileDiDependencyMetadata;\r\n}());\r\nexports.CompileDiDependencyMetadata = CompileDiDependencyMetadata;\r\nvar CompileProviderMetadata = (function () {\r\n function CompileProviderMetadata(_a) {\r\n var token = _a.token, useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\r\n this.token = token;\r\n this.useClass = useClass;\r\n this.useValue = useValue;\r\n this.useExisting = useExisting;\r\n this.useFactory = useFactory;\r\n this.deps = lang_1.normalizeBlank(deps);\r\n this.multi = lang_1.normalizeBool(multi);\r\n }\r\n CompileProviderMetadata.fromJson = function (data) {\r\n return new CompileProviderMetadata({\r\n token: _objFromJson(data['token'], CompileTokenMetadata.fromJson),\r\n useClass: _objFromJson(data['useClass'], CompileTypeMetadata.fromJson),\r\n useExisting: _objFromJson(data['useExisting'], CompileTokenMetadata.fromJson),\r\n useValue: _objFromJson(data['useValue'], CompileIdentifierMetadata.fromJson),\r\n useFactory: _objFromJson(data['useFactory'], CompileFactoryMetadata.fromJson),\r\n multi: data['multi'],\r\n deps: _arrayFromJson(data['deps'], CompileDiDependencyMetadata.fromJson)\r\n });\r\n };\r\n CompileProviderMetadata.prototype.toJson = function () {\r\n return {\r\n // Note: Runtime type can't be serialized...\r\n 'class': 'Provider',\r\n 'token': _objToJson(this.token),\r\n 'useClass': _objToJson(this.useClass),\r\n 'useExisting': _objToJson(this.useExisting),\r\n 'useValue': _objToJson(this.useValue),\r\n 'useFactory': _objToJson(this.useFactory),\r\n 'multi': this.multi,\r\n 'deps': _arrayToJson(this.deps)\r\n };\r\n };\r\n return CompileProviderMetadata;\r\n}());\r\nexports.CompileProviderMetadata = CompileProviderMetadata;\r\nvar CompileFactoryMetadata = (function () {\r\n function CompileFactoryMetadata(_a) {\r\n var runtime = _a.runtime, name = _a.name, moduleUrl = _a.moduleUrl, prefix = _a.prefix, diDeps = _a.diDeps, value = _a.value;\r\n this.runtime = runtime;\r\n this.name = name;\r\n this.prefix = prefix;\r\n this.moduleUrl = moduleUrl;\r\n this.diDeps = _normalizeArray(diDeps);\r\n this.value = value;\r\n }\r\n Object.defineProperty(CompileFactoryMetadata.prototype, \"identifier\", {\r\n get: function () { return this; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n CompileFactoryMetadata.fromJson = function (data) {\r\n return new CompileFactoryMetadata({\r\n name: data['name'],\r\n prefix: data['prefix'],\r\n moduleUrl: data['moduleUrl'],\r\n value: data['value'],\r\n diDeps: _arrayFromJson(data['diDeps'], CompileDiDependencyMetadata.fromJson)\r\n });\r\n };\r\n CompileFactoryMetadata.prototype.toJson = function () {\r\n return {\r\n 'class': 'Factory',\r\n 'name': this.name,\r\n 'prefix': this.prefix,\r\n 'moduleUrl': this.moduleUrl,\r\n 'value': this.value,\r\n 'diDeps': _arrayToJson(this.diDeps)\r\n };\r\n };\r\n return CompileFactoryMetadata;\r\n}());\r\nexports.CompileFactoryMetadata = CompileFactoryMetadata;\r\nvar CompileTokenMetadata = (function () {\r\n function CompileTokenMetadata(_a) {\r\n var value = _a.value, identifier = _a.identifier, identifierIsInstance = _a.identifierIsInstance;\r\n this.value = value;\r\n this.identifier = identifier;\r\n this.identifierIsInstance = lang_1.normalizeBool(identifierIsInstance);\r\n }\r\n CompileTokenMetadata.fromJson = function (data) {\r\n return new CompileTokenMetadata({\r\n value: data['value'],\r\n identifier: _objFromJson(data['identifier'], CompileIdentifierMetadata.fromJson),\r\n identifierIsInstance: data['identifierIsInstance']\r\n });\r\n };\r\n CompileTokenMetadata.prototype.toJson = function () {\r\n return {\r\n 'value': this.value,\r\n 'identifier': _objToJson(this.identifier),\r\n 'identifierIsInstance': this.identifierIsInstance\r\n };\r\n };\r\n Object.defineProperty(CompileTokenMetadata.prototype, \"runtimeCacheKey\", {\r\n get: function () {\r\n if (lang_1.isPresent(this.identifier)) {\r\n return this.identifier.runtime;\r\n }\r\n else {\r\n return this.value;\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(CompileTokenMetadata.prototype, \"assetCacheKey\", {\r\n get: function () {\r\n if (lang_1.isPresent(this.identifier)) {\r\n return lang_1.isPresent(this.identifier.moduleUrl) &&\r\n lang_1.isPresent(url_resolver_1.getUrlScheme(this.identifier.moduleUrl)) ?\r\n this.identifier.name + \"|\" + this.identifier.moduleUrl + \"|\" + this.identifierIsInstance :\r\n null;\r\n }\r\n else {\r\n return this.value;\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n CompileTokenMetadata.prototype.equalsTo = function (token2) {\r\n var rk = this.runtimeCacheKey;\r\n var ak = this.assetCacheKey;\r\n return (lang_1.isPresent(rk) && rk == token2.runtimeCacheKey) ||\r\n (lang_1.isPresent(ak) && ak == token2.assetCacheKey);\r\n };\r\n Object.defineProperty(CompileTokenMetadata.prototype, \"name\", {\r\n get: function () {\r\n return lang_1.isPresent(this.value) ? util_1.sanitizeIdentifier(this.value) : this.identifier.name;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return CompileTokenMetadata;\r\n}());\r\nexports.CompileTokenMetadata = CompileTokenMetadata;\r\nvar CompileTokenMap = (function () {\r\n function CompileTokenMap() {\r\n this._valueMap = new Map();\r\n this._values = [];\r\n }\r\n CompileTokenMap.prototype.add = function (token, value) {\r\n var existing = this.get(token);\r\n if (lang_1.isPresent(existing)) {\r\n throw new exceptions_1.BaseException(\"Can only add to a TokenMap! Token: \" + token.name);\r\n }\r\n this._values.push(value);\r\n var rk = token.runtimeCacheKey;\r\n if (lang_1.isPresent(rk)) {\r\n this._valueMap.set(rk, value);\r\n }\r\n var ak = token.assetCacheKey;\r\n if (lang_1.isPresent(ak)) {\r\n this._valueMap.set(ak, value);\r\n }\r\n };\r\n CompileTokenMap.prototype.get = function (token) {\r\n var rk = token.runtimeCacheKey;\r\n var ak = token.assetCacheKey;\r\n var result;\r\n if (lang_1.isPresent(rk)) {\r\n result = this._valueMap.get(rk);\r\n }\r\n if (lang_1.isBlank(result) && lang_1.isPresent(ak)) {\r\n result = this._valueMap.get(ak);\r\n }\r\n return result;\r\n };\r\n CompileTokenMap.prototype.values = function () { return this._values; };\r\n Object.defineProperty(CompileTokenMap.prototype, \"size\", {\r\n get: function () { return this._values.length; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return CompileTokenMap;\r\n}());\r\nexports.CompileTokenMap = CompileTokenMap;\r\n/**\r\n * Metadata regarding compilation of a type.\r\n */\r\nvar CompileTypeMetadata = (function () {\r\n function CompileTypeMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, runtime = _b.runtime, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, isHost = _b.isHost, value = _b.value, diDeps = _b.diDeps;\r\n this.runtime = runtime;\r\n this.name = name;\r\n this.moduleUrl = moduleUrl;\r\n this.prefix = prefix;\r\n this.isHost = lang_1.normalizeBool(isHost);\r\n this.value = value;\r\n this.diDeps = _normalizeArray(diDeps);\r\n }\r\n CompileTypeMetadata.fromJson = function (data) {\r\n return new CompileTypeMetadata({\r\n name: data['name'],\r\n moduleUrl: data['moduleUrl'],\r\n prefix: data['prefix'],\r\n isHost: data['isHost'],\r\n value: data['value'],\r\n diDeps: _arrayFromJson(data['diDeps'], CompileDiDependencyMetadata.fromJson)\r\n });\r\n };\r\n Object.defineProperty(CompileTypeMetadata.prototype, \"identifier\", {\r\n get: function () { return this; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(CompileTypeMetadata.prototype, \"type\", {\r\n get: function () { return this; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n CompileTypeMetadata.prototype.toJson = function () {\r\n return {\r\n // Note: Runtime type can't be serialized...\r\n 'class': 'Type',\r\n 'name': this.name,\r\n 'moduleUrl': this.moduleUrl,\r\n 'prefix': this.prefix,\r\n 'isHost': this.isHost,\r\n 'value': this.value,\r\n 'diDeps': _arrayToJson(this.diDeps)\r\n };\r\n };\r\n return CompileTypeMetadata;\r\n}());\r\nexports.CompileTypeMetadata = CompileTypeMetadata;\r\nvar CompileQueryMetadata = (function () {\r\n function CompileQueryMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, selectors = _b.selectors, descendants = _b.descendants, first = _b.first, propertyName = _b.propertyName, read = _b.read;\r\n this.selectors = selectors;\r\n this.descendants = lang_1.normalizeBool(descendants);\r\n this.first = lang_1.normalizeBool(first);\r\n this.propertyName = propertyName;\r\n this.read = read;\r\n }\r\n CompileQueryMetadata.fromJson = function (data) {\r\n return new CompileQueryMetadata({\r\n selectors: _arrayFromJson(data['selectors'], CompileTokenMetadata.fromJson),\r\n descendants: data['descendants'],\r\n first: data['first'],\r\n propertyName: data['propertyName'],\r\n read: _objFromJson(data['read'], CompileTokenMetadata.fromJson)\r\n });\r\n };\r\n CompileQueryMetadata.prototype.toJson = function () {\r\n return {\r\n 'selectors': _arrayToJson(this.selectors),\r\n 'descendants': this.descendants,\r\n 'first': this.first,\r\n 'propertyName': this.propertyName,\r\n 'read': _objToJson(this.read)\r\n };\r\n };\r\n return CompileQueryMetadata;\r\n}());\r\nexports.CompileQueryMetadata = CompileQueryMetadata;\r\n/**\r\n * Metadata regarding compilation of a template.\r\n */\r\nvar CompileTemplateMetadata = (function () {\r\n function CompileTemplateMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, encapsulation = _b.encapsulation, template = _b.template, templateUrl = _b.templateUrl, styles = _b.styles, styleUrls = _b.styleUrls, ngContentSelectors = _b.ngContentSelectors;\r\n this.encapsulation = lang_1.isPresent(encapsulation) ? encapsulation : view_1.ViewEncapsulation.Emulated;\r\n this.template = template;\r\n this.templateUrl = templateUrl;\r\n this.styles = lang_1.isPresent(styles) ? styles : [];\r\n this.styleUrls = lang_1.isPresent(styleUrls) ? styleUrls : [];\r\n this.ngContentSelectors = lang_1.isPresent(ngContentSelectors) ? ngContentSelectors : [];\r\n }\r\n CompileTemplateMetadata.fromJson = function (data) {\r\n return new CompileTemplateMetadata({\r\n encapsulation: lang_1.isPresent(data['encapsulation']) ?\r\n view_1.VIEW_ENCAPSULATION_VALUES[data['encapsulation']] :\r\n data['encapsulation'],\r\n template: data['template'],\r\n templateUrl: data['templateUrl'],\r\n styles: data['styles'],\r\n styleUrls: data['styleUrls'],\r\n ngContentSelectors: data['ngContentSelectors']\r\n });\r\n };\r\n CompileTemplateMetadata.prototype.toJson = function () {\r\n return {\r\n 'encapsulation': lang_1.isPresent(this.encapsulation) ? lang_1.serializeEnum(this.encapsulation) : this.encapsulation,\r\n 'template': this.template,\r\n 'templateUrl': this.templateUrl,\r\n 'styles': this.styles,\r\n 'styleUrls': this.styleUrls,\r\n 'ngContentSelectors': this.ngContentSelectors\r\n };\r\n };\r\n return CompileTemplateMetadata;\r\n}());\r\nexports.CompileTemplateMetadata = CompileTemplateMetadata;\r\n/**\r\n * Metadata regarding compilation of a directive.\r\n */\r\nvar CompileDirectiveMetadata = (function () {\r\n function CompileDirectiveMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, hostListeners = _b.hostListeners, hostProperties = _b.hostProperties, hostAttributes = _b.hostAttributes, lifecycleHooks = _b.lifecycleHooks, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, template = _b.template;\r\n this.type = type;\r\n this.isComponent = isComponent;\r\n this.selector = selector;\r\n this.exportAs = exportAs;\r\n this.changeDetection = changeDetection;\r\n this.inputs = inputs;\r\n this.outputs = outputs;\r\n this.hostListeners = hostListeners;\r\n this.hostProperties = hostProperties;\r\n this.hostAttributes = hostAttributes;\r\n this.lifecycleHooks = _normalizeArray(lifecycleHooks);\r\n this.providers = _normalizeArray(providers);\r\n this.viewProviders = _normalizeArray(viewProviders);\r\n this.queries = _normalizeArray(queries);\r\n this.viewQueries = _normalizeArray(viewQueries);\r\n this.template = template;\r\n }\r\n CompileDirectiveMetadata.create = function (_a) {\r\n var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, host = _b.host, lifecycleHooks = _b.lifecycleHooks, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, template = _b.template;\r\n var hostListeners = {};\r\n var hostProperties = {};\r\n var hostAttributes = {};\r\n if (lang_1.isPresent(host)) {\r\n collection_1.StringMapWrapper.forEach(host, function (value, key) {\r\n var matches = lang_1.RegExpWrapper.firstMatch(HOST_REG_EXP, key);\r\n if (lang_1.isBlank(matches)) {\r\n hostAttributes[key] = value;\r\n }\r\n else if (lang_1.isPresent(matches[1])) {\r\n hostProperties[matches[1]] = value;\r\n }\r\n else if (lang_1.isPresent(matches[2])) {\r\n hostListeners[matches[2]] = value;\r\n }\r\n });\r\n }\r\n var inputsMap = {};\r\n if (lang_1.isPresent(inputs)) {\r\n inputs.forEach(function (bindConfig) {\r\n // canonical syntax: `dirProp: elProp`\r\n // if there is no `:`, use dirProp = elProp\r\n var parts = util_1.splitAtColon(bindConfig, [bindConfig, bindConfig]);\r\n inputsMap[parts[0]] = parts[1];\r\n });\r\n }\r\n var outputsMap = {};\r\n if (lang_1.isPresent(outputs)) {\r\n outputs.forEach(function (bindConfig) {\r\n // canonical syntax: `dirProp: elProp`\r\n // if there is no `:`, use dirProp = elProp\r\n var parts = util_1.splitAtColon(bindConfig, [bindConfig, bindConfig]);\r\n outputsMap[parts[0]] = parts[1];\r\n });\r\n }\r\n return new CompileDirectiveMetadata({\r\n type: type,\r\n isComponent: lang_1.normalizeBool(isComponent),\r\n selector: selector,\r\n exportAs: exportAs,\r\n changeDetection: changeDetection,\r\n inputs: inputsMap,\r\n outputs: outputsMap,\r\n hostListeners: hostListeners,\r\n hostProperties: hostProperties,\r\n hostAttributes: hostAttributes,\r\n lifecycleHooks: lang_1.isPresent(lifecycleHooks) ? lifecycleHooks : [],\r\n providers: providers,\r\n viewProviders: viewProviders,\r\n queries: queries,\r\n viewQueries: viewQueries,\r\n template: template\r\n });\r\n };\r\n Object.defineProperty(CompileDirectiveMetadata.prototype, \"identifier\", {\r\n get: function () { return this.type; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n CompileDirectiveMetadata.fromJson = function (data) {\r\n return new CompileDirectiveMetadata({\r\n isComponent: data['isComponent'],\r\n selector: data['selector'],\r\n exportAs: data['exportAs'],\r\n type: lang_1.isPresent(data['type']) ? CompileTypeMetadata.fromJson(data['type']) : data['type'],\r\n changeDetection: lang_1.isPresent(data['changeDetection']) ?\r\n change_detection_1.CHANGE_DETECTION_STRATEGY_VALUES[data['changeDetection']] :\r\n data['changeDetection'],\r\n inputs: data['inputs'],\r\n outputs: data['outputs'],\r\n hostListeners: data['hostListeners'],\r\n hostProperties: data['hostProperties'],\r\n hostAttributes: data['hostAttributes'],\r\n lifecycleHooks: data['lifecycleHooks'].map(function (hookValue) { return lifecycle_hooks_1.LIFECYCLE_HOOKS_VALUES[hookValue]; }),\r\n template: lang_1.isPresent(data['template']) ? CompileTemplateMetadata.fromJson(data['template']) :\r\n data['template'],\r\n providers: _arrayFromJson(data['providers'], metadataFromJson),\r\n viewProviders: _arrayFromJson(data['viewProviders'], metadataFromJson),\r\n queries: _arrayFromJson(data['queries'], CompileQueryMetadata.fromJson),\r\n viewQueries: _arrayFromJson(data['viewQueries'], CompileQueryMetadata.fromJson)\r\n });\r\n };\r\n CompileDirectiveMetadata.prototype.toJson = function () {\r\n return {\r\n 'class': 'Directive',\r\n 'isComponent': this.isComponent,\r\n 'selector': this.selector,\r\n 'exportAs': this.exportAs,\r\n 'type': lang_1.isPresent(this.type) ? this.type.toJson() : this.type,\r\n 'changeDetection': lang_1.isPresent(this.changeDetection) ? lang_1.serializeEnum(this.changeDetection) :\r\n this.changeDetection,\r\n 'inputs': this.inputs,\r\n 'outputs': this.outputs,\r\n 'hostListeners': this.hostListeners,\r\n 'hostProperties': this.hostProperties,\r\n 'hostAttributes': this.hostAttributes,\r\n 'lifecycleHooks': this.lifecycleHooks.map(function (hook) { return lang_1.serializeEnum(hook); }),\r\n 'template': lang_1.isPresent(this.template) ? this.template.toJson() : this.template,\r\n 'providers': _arrayToJson(this.providers),\r\n 'viewProviders': _arrayToJson(this.viewProviders),\r\n 'queries': _arrayToJson(this.queries),\r\n 'viewQueries': _arrayToJson(this.viewQueries)\r\n };\r\n };\r\n return CompileDirectiveMetadata;\r\n}());\r\nexports.CompileDirectiveMetadata = CompileDirectiveMetadata;\r\n/**\r\n * Construct {@link CompileDirectiveMetadata} from {@link ComponentTypeMetadata} and a selector.\r\n */\r\nfunction createHostComponentMeta(componentType, componentSelector) {\r\n var template = selector_1.CssSelector.parse(componentSelector)[0].getMatchingElementTemplate();\r\n return CompileDirectiveMetadata.create({\r\n type: new CompileTypeMetadata({\r\n runtime: Object,\r\n name: componentType.name + \"_Host\",\r\n moduleUrl: componentType.moduleUrl,\r\n isHost: true\r\n }),\r\n template: new CompileTemplateMetadata({ template: template, templateUrl: '', styles: [], styleUrls: [], ngContentSelectors: [] }),\r\n changeDetection: change_detection_1.ChangeDetectionStrategy.Default,\r\n inputs: [],\r\n outputs: [],\r\n host: {},\r\n lifecycleHooks: [],\r\n isComponent: true,\r\n selector: '*',\r\n providers: [],\r\n viewProviders: [],\r\n queries: [],\r\n viewQueries: []\r\n });\r\n}\r\nexports.createHostComponentMeta = createHostComponentMeta;\r\nvar CompilePipeMetadata = (function () {\r\n function CompilePipeMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, type = _b.type, name = _b.name, pure = _b.pure, lifecycleHooks = _b.lifecycleHooks;\r\n this.type = type;\r\n this.name = name;\r\n this.pure = lang_1.normalizeBool(pure);\r\n this.lifecycleHooks = _normalizeArray(lifecycleHooks);\r\n }\r\n Object.defineProperty(CompilePipeMetadata.prototype, \"identifier\", {\r\n get: function () { return this.type; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n CompilePipeMetadata.fromJson = function (data) {\r\n return new CompilePipeMetadata({\r\n type: lang_1.isPresent(data['type']) ? CompileTypeMetadata.fromJson(data['type']) : data['type'],\r\n name: data['name'],\r\n pure: data['pure']\r\n });\r\n };\r\n CompilePipeMetadata.prototype.toJson = function () {\r\n return {\r\n 'class': 'Pipe',\r\n 'type': lang_1.isPresent(this.type) ? this.type.toJson() : null,\r\n 'name': this.name,\r\n 'pure': this.pure\r\n };\r\n };\r\n return CompilePipeMetadata;\r\n}());\r\nexports.CompilePipeMetadata = CompilePipeMetadata;\r\nvar _COMPILE_METADATA_FROM_JSON = {\r\n 'Directive': CompileDirectiveMetadata.fromJson,\r\n 'Pipe': CompilePipeMetadata.fromJson,\r\n 'Type': CompileTypeMetadata.fromJson,\r\n 'Provider': CompileProviderMetadata.fromJson,\r\n 'Identifier': CompileIdentifierMetadata.fromJson,\r\n 'Factory': CompileFactoryMetadata.fromJson\r\n};\r\nfunction _arrayFromJson(obj, fn) {\r\n return lang_1.isBlank(obj) ? null : obj.map(function (o) { return _objFromJson(o, fn); });\r\n}\r\nfunction _arrayToJson(obj) {\r\n return lang_1.isBlank(obj) ? null : obj.map(_objToJson);\r\n}\r\nfunction _objFromJson(obj, fn) {\r\n if (lang_1.isArray(obj))\r\n return _arrayFromJson(obj, fn);\r\n if (lang_1.isString(obj) || lang_1.isBlank(obj) || lang_1.isBoolean(obj) || lang_1.isNumber(obj))\r\n return obj;\r\n return fn(obj);\r\n}\r\nfunction _objToJson(obj) {\r\n if (lang_1.isArray(obj))\r\n return _arrayToJson(obj);\r\n if (lang_1.isString(obj) || lang_1.isBlank(obj) || lang_1.isBoolean(obj) || lang_1.isNumber(obj))\r\n return obj;\r\n return obj.toJson();\r\n}\r\nfunction _normalizeArray(obj) {\r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opIHx8IGlzTnVtYmVyKG9iaikpIHJldHVybiBvYmo7XG4gIHJldHVybiBmbihvYmopO1xufVxuXG5mdW5jdGlvbiBfb2JqVG9Kc29uKG9iajogYW55KTogc3RyaW5nIHwge1trZXk6IHN0cmluZ106IGFueX0ge1xuICBpZiAoaXNBcnJheShvYmopKSByZXR1cm4gX2FycmF5VG9Kc29uKG9iaik7XG4gIGlmIChpc1N0cmluZyhvYmopIHx8IGlzQmxhbmsob2JqKSB8fCBpc0Jvb2xlYW4ob2JqKSB8fCBpc051bWJlcihvYmopKSByZXR1cm4gb2JqO1xuICByZXR1cm4gb2JqLnRvSnNvbigpO1xufVxuXG5mdW5jdGlvbiBfbm9ybWFsaXplQXJyYXkob2JqOiBhbnlbXSk6IGFueVtdIHtcbiAgcmV0dXJuIGlzUHJlc2VudChvYmopID8gb2JqIDogW107XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar compile_metadata_1 = require('./compile_metadata');\r\nvar view_1 = require('angular2/src/core/linker/view');\r\nvar debug_context_1 = require('angular2/src/core/linker/debug_context');\r\nvar view_utils_1 = require('angular2/src/core/linker/view_utils');\r\nvar change_detection_1 = require('angular2/src/core/change_detection/change_detection');\r\nvar element_1 = require('angular2/src/core/linker/element');\r\nvar element_ref_1 = require('angular2/src/core/linker/element_ref');\r\nvar view_container_ref_1 = require('angular2/src/core/linker/view_container_ref');\r\nvar api_1 = require('angular2/src/core/render/api');\r\nvar view_2 = require('angular2/src/core/metadata/view');\r\nvar view_type_1 = require('angular2/src/core/linker/view_type');\r\nvar linker_1 = require('angular2/src/core/linker');\r\nvar injector_1 = require('angular2/src/core/di/injector');\r\nvar template_ref_1 = require('angular2/src/core/linker/template_ref');\r\nvar util_1 = require('./util');\r\nvar APP_VIEW_MODULE_URL = 'asset:angular2/lib/src/core/linker/view' + util_1.MODULE_SUFFIX;\r\nvar VIEW_UTILS_MODULE_URL = 'asset:angular2/lib/src/core/linker/view_utils' + util_1.MODULE_SUFFIX;\r\nvar CD_MODULE_URL = 'asset:angular2/lib/src/core/change_detection/change_detection' + util_1.MODULE_SUFFIX;\r\n// Reassign the imports to different variables so we can\r\n// define static variables with the name of the import.\r\n// (only needed for Dart).\r\nvar impViewUtils = view_utils_1.ViewUtils;\r\nvar impAppView = view_1.AppView;\r\nvar impDebugContext = debug_context_1.DebugContext;\r\nvar impAppElement = element_1.AppElement;\r\nvar impElementRef = element_ref_1.ElementRef;\r\nvar impViewContainerRef = view_container_ref_1.ViewContainerRef;\r\nvar impChangeDetectorRef = change_detection_1.ChangeDetectorRef;\r\nvar impRenderComponentType = api_1.RenderComponentType;\r\nvar impQueryList = linker_1.QueryList;\r\nvar impTemplateRef = template_ref_1.TemplateRef;\r\nvar impTemplateRef_ = template_ref_1.TemplateRef_;\r\nvar impValueUnwrapper = change_detection_1.ValueUnwrapper;\r\nvar impInjector = injector_1.Injector;\r\nvar impViewEncapsulation = view_2.ViewEncapsulation;\r\nvar impViewType = view_type_1.ViewType;\r\nvar impChangeDetectionStrategy = change_detection_1.ChangeDetectionStrategy;\r\nvar impStaticNodeDebugInfo = debug_context_1.StaticNodeDebugInfo;\r\nvar impRenderer = api_1.Renderer;\r\nvar impSimpleChange = change_detection_1.SimpleChange;\r\nvar impUninitialized = change_detection_1.uninitialized;\r\nvar impChangeDetectorState = change_detection_1.ChangeDetectorState;\r\nvar impFlattenNestedViewRenderNodes = view_utils_1.flattenNestedViewRenderNodes;\r\nvar impDevModeEqual = change_detection_1.devModeEqual;\r\nvar impInterpolate = view_utils_1.interpolate;\r\nvar impCheckBinding = view_utils_1.checkBinding;\r\nvar impCastByValue = view_utils_1.castByValue;\r\nvar Identifiers = (function () {\r\n function Identifiers() {\r\n }\r\n Identifiers.ViewUtils = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'ViewUtils',\r\n moduleUrl: 'asset:angular2/lib/src/core/linker/view_utils' + util_1.MODULE_SUFFIX,\r\n runtime: impViewUtils\r\n });\r\n Identifiers.AppView = new compile_metadata_1.CompileIdentifierMetadata({ name: 'AppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: impAppView });\r\n Identifiers.AppElement = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'AppElement',\r\n moduleUrl: 'asset:angular2/lib/src/core/linker/element' + util_1.MODULE_SUFFIX,\r\n runtime: impAppElement\r\n });\r\n Identifiers.ElementRef = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'ElementRef',\r\n moduleUrl: 'asset:angular2/lib/src/core/linker/element_ref' + util_1.MODULE_SUFFIX,\r\n runtime: impElementRef\r\n });\r\n Identifiers.ViewContainerRef = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'ViewContainerRef',\r\n moduleUrl: 'asset:angular2/lib/src/core/linker/view_container_ref' + util_1.MODULE_SUFFIX,\r\n runtime: impViewContainerRef\r\n });\r\n Identifiers.ChangeDetectorRef = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'ChangeDetectorRef',\r\n moduleUrl: 'asset:angular2/lib/src/core/change_detection/change_detector_ref' + util_1.MODULE_SUFFIX,\r\n runtime: impChangeDetectorRef\r\n });\r\n Identifiers.RenderComponentType = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'RenderComponentType',\r\n moduleUrl: 'asset:angular2/lib/src/core/render/api' + util_1.MODULE_SUFFIX,\r\n runtime: impRenderComponentType\r\n });\r\n Identifiers.QueryList = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'QueryList',\r\n moduleUrl: 'asset:angular2/lib/src/core/linker/query_list' + util_1.MODULE_SUFFIX,\r\n runtime: impQueryList\r\n });\r\n Identifiers.TemplateRef = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'TemplateRef',\r\n moduleUrl: 'asset:angular2/lib/src/core/linker/template_ref' + util_1.MODULE_SUFFIX,\r\n runtime: impTemplateRef\r\n });\r\n Identifiers.TemplateRef_ = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'TemplateRef_',\r\n moduleUrl: 'asset:angular2/lib/src/core/linker/template_ref' + util_1.MODULE_SUFFIX,\r\n runtime: impTemplateRef_\r\n });\r\n Identifiers.ValueUnwrapper = new compile_metadata_1.CompileIdentifierMetadata({ name: 'ValueUnwrapper', moduleUrl: CD_MODULE_URL, runtime: impValueUnwrapper });\r\n Identifiers.Injector = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'Injector',\r\n moduleUrl: \"asset:angular2/lib/src/core/di/injector\" + util_1.MODULE_SUFFIX,\r\n runtime: impInjector\r\n });\r\n Identifiers.ViewEncapsulation = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'ViewEncapsulation',\r\n moduleUrl: 'asset:angular2/lib/src/core/metadata/view' + util_1.MODULE_SUFFIX,\r\n runtime: impViewEncapsulation\r\n });\r\n Identifiers.ViewType = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'ViewType',\r\n moduleUrl: \"asset:angular2/lib/src/core/linker/view_type\" + util_1.MODULE_SUFFIX,\r\n runtime: impViewType\r\n });\r\n Identifiers.ChangeDetectionStrategy = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'ChangeDetectionStrategy',\r\n moduleUrl: CD_MODULE_URL,\r\n runtime: impChangeDetectionStrategy\r\n });\r\n Identifiers.StaticNodeDebugInfo = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'StaticNodeDebugInfo',\r\n moduleUrl: \"asset:angular2/lib/src/core/linker/debug_context\" + util_1.MODULE_SUFFIX,\r\n runtime: impStaticNodeDebugInfo\r\n });\r\n Identifiers.DebugContext = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'DebugContext',\r\n moduleUrl: \"asset:angular2/lib/src/core/linker/debug_context\" + util_1.MODULE_SUFFIX,\r\n runtime: impDebugContext\r\n });\r\n Identifiers.Renderer = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'Renderer',\r\n moduleUrl: 'asset:angular2/lib/src/core/render/api' + util_1.MODULE_SUFFIX,\r\n runtime: impRenderer\r\n });\r\n Identifiers.SimpleChange = new compile_metadata_1.CompileIdentifierMetadata({ name: 'SimpleChange', moduleUrl: CD_MODULE_URL, runtime: impSimpleChange });\r\n Identifiers.uninitialized = new compile_metadata_1.CompileIdentifierMetadata({ name: 'uninitialized', moduleUrl: CD_MODULE_URL, runtime: impUninitialized });\r\n Identifiers.ChangeDetectorState = new compile_metadata_1.CompileIdentifierMetadata({ name: 'ChangeDetectorState', moduleUrl: CD_MODULE_URL, runtime: impChangeDetectorState });\r\n Identifiers.checkBinding = new compile_metadata_1.CompileIdentifierMetadata({ name: 'checkBinding', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: impCheckBinding });\r\n Identifiers.flattenNestedViewRenderNodes = new compile_metadata_1.CompileIdentifierMetadata({\r\n name: 'flattenNestedViewRenderNodes',\r\n moduleUrl: VIEW_UTILS_MODULE_URL,\r\n runtime: impFlattenNestedViewRenderNodes\r\n });\r\n Identifiers.devModeEqual = new compile_metadata_1.CompileIdentifierMetadata({ name: 'devModeEqual', moduleUrl: CD_MODULE_URL, runtime: impDevModeEqual });\r\n Identifiers.interpolate = new compile_metadata_1.CompileIdentifierMetadata({ name: 'interpolate', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: impInterpolate });\r\n Identifiers.castByValue = new compile_metadata_1.CompileIdentifierMetadata({ name: 'castByValue', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: impCastByValue });\r\n Identifiers.pureProxies = [\r\n null,\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy1', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy1 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy2 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy3', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy3 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy4 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy5', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy5 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy6', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy6 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy7', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy7 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy8 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy9', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy9 }),\r\n new compile_metadata_1.CompileIdentifierMetadata({ name: 'pureProxy10', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils_1.pureProxy10 }),\r\n ];\r\n return Identifiers;\r\n}());\r\nexports.Identifiers = Identifiers;\r\nfunction identifierToken(identifier) {\r\n return new compile_metadata_1.CompileTokenMetadata({ identifier: identifier });\r\n}\r\nexports.identifierToken = identifierToken;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpZmllcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvaWRlbnRpZmllcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLGlDQUE4RCxvQkFBb0IsQ0FBQyxDQUFBO0FBQ25GLHFCQUFzQiwrQkFBK0IsQ0FBQyxDQUFBO0FBQ3RELDhCQUFnRCx3Q0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UVXX1VUSUxTX01PRFVMRV9VUkwsIHJ1bnRpbWU6IHB1cmVQcm94eTh9KSxcbiAgICBuZXcgQ29tcGlsZUlkZW50aWZpZXJNZXRhZGF0YShcbiAgICAgICAge25hbWU6ICdwdXJlUHJveHk5JywgbW9kdWxlVXJsOiBWSUVXX1VUSUxTX01PRFVMRV9VUkwsIHJ1bnRpbWU6IHB1cmVQcm94eTl9KSxcbiAgICBuZXcgQ29tcGlsZUlkZW50aWZpZXJNZXRhZGF0YShcbiAgICAgICAge25hbWU6ICdwdXJlUHJveHkxMCcsIG1vZHVsZVVybDogVklFV19VVElMU19NT0RVTEVfVVJMLCBydW50aW1lOiBwdXJlUHJveHkxMH0pLFxuICBdO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gaWRlbnRpZmllclRva2VuKGlkZW50aWZpZXI6IENvbXBpbGVJZGVudGlmaWVyTWV0YWRhdGEpOiBDb21waWxlVG9rZW5NZXRhZGF0YSB7XG4gIHJldHVybiBuZXcgQ29tcGlsZVRva2VuTWV0YWRhdGEoe2lkZW50aWZpZXI6IGlkZW50aWZpZXJ9KTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar identifiers_1 = require('./identifiers');\r\nvar CompilerConfig = (function () {\r\n function CompilerConfig(genDebugInfo, logBindingUpdate, useJit, renderTypes) {\r\n if (renderTypes === void 0) { renderTypes = null; }\r\n this.genDebugInfo = genDebugInfo;\r\n this.logBindingUpdate = logBindingUpdate;\r\n this.useJit = useJit;\r\n if (lang_1.isBlank(renderTypes)) {\r\n renderTypes = new DefaultRenderTypes();\r\n }\r\n this.renderTypes = renderTypes;\r\n }\r\n return CompilerConfig;\r\n}());\r\nexports.CompilerConfig = CompilerConfig;\r\n/**\r\n * Types used for the renderer.\r\n * Can be replaced to specialize the generated output to a specific renderer\r\n * to help tree shaking.\r\n */\r\nvar RenderTypes = (function () {\r\n function RenderTypes() {\r\n }\r\n Object.defineProperty(RenderTypes.prototype, \"renderer\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderTypes.prototype, \"renderText\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderTypes.prototype, \"renderElement\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderTypes.prototype, \"renderComment\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderTypes.prototype, \"renderNode\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderTypes.prototype, \"renderEvent\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return RenderTypes;\r\n}());\r\nexports.RenderTypes = RenderTypes;\r\nvar DefaultRenderTypes = (function () {\r\n function DefaultRenderTypes() {\r\n this.renderer = identifiers_1.Identifiers.Renderer;\r\n this.renderText = null;\r\n this.renderElement = null;\r\n this.renderComment = null;\r\n this.renderNode = null;\r\n this.renderEvent = null;\r\n }\r\n return DefaultRenderTypes;\r\n}());\r\nexports.DefaultRenderTypes = DefaultRenderTypes;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL2NvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQXNCLDBCQUEwQixDQUFDLENBQUE7QUF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gdW5pbXBsZW1lbnRlZCgpOyB9XG59XG5cbmV4cG9ydCBjbGFzcyBEZWZhdWx0UmVuZGVyVHlwZXMgaW1wbGVtZW50cyBSZW5kZXJUeXBlcyB7XG4gIHJlbmRlcmVyID0gSWRlbnRpZmllcnMuUmVuZGVyZXI7XG4gIHJlbmRlclRleHQgPSBudWxsO1xuICByZW5kZXJFbGVtZW50ID0gbnVsbDtcbiAgcmVuZGVyQ29tbWVudCA9IG51bGw7XG4gIHJlbmRlck5vZGUgPSBudWxsO1xuICByZW5kZXJFdmVudCA9IG51bGw7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar o = require('./output_ast');\r\nvar abstract_emitter_1 = require('./abstract_emitter');\r\nvar AbstractJsEmitterVisitor = (function (_super) {\r\n __extends(AbstractJsEmitterVisitor, _super);\r\n function AbstractJsEmitterVisitor() {\r\n _super.call(this, false);\r\n }\r\n AbstractJsEmitterVisitor.prototype.visitDeclareClassStmt = function (stmt, ctx) {\r\n var _this = this;\r\n ctx.pushClass(stmt);\r\n this._visitClassConstructor(stmt, ctx);\r\n if (lang_1.isPresent(stmt.parent)) {\r\n ctx.print(stmt.name + \".prototype = Object.create(\");\r\n stmt.parent.visitExpression(this, ctx);\r\n ctx.println(\".prototype);\");\r\n }\r\n stmt.getters.forEach(function (getter) { return _this._visitClassGetter(stmt, getter, ctx); });\r\n stmt.methods.forEach(function (method) { return _this._visitClassMethod(stmt, method, ctx); });\r\n ctx.popClass();\r\n return null;\r\n };\r\n AbstractJsEmitterVisitor.prototype._visitClassConstructor = function (stmt, ctx) {\r\n ctx.print(\"function \" + stmt.name + \"(\");\r\n if (lang_1.isPresent(stmt.constructorMethod)) {\r\n this._visitParams(stmt.constructorMethod.params, ctx);\r\n }\r\n ctx.println(\") {\");\r\n ctx.incIndent();\r\n if (lang_1.isPresent(stmt.constructorMethod)) {\r\n if (stmt.constructorMethod.body.length > 0) {\r\n ctx.println(\"var self = this;\");\r\n this.visitAllStatements(stmt.constructorMethod.body, ctx);\r\n }\r\n }\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n };\r\n AbstractJsEmitterVisitor.prototype._visitClassGetter = function (stmt, getter, ctx) {\r\n ctx.println(\"Object.defineProperty(\" + stmt.name + \".prototype, '\" + getter.name + \"', { get: function() {\");\r\n ctx.incIndent();\r\n if (getter.body.length > 0) {\r\n ctx.println(\"var self = this;\");\r\n this.visitAllStatements(getter.body, ctx);\r\n }\r\n ctx.decIndent();\r\n ctx.println(\"}});\");\r\n };\r\n AbstractJsEmitterVisitor.prototype._visitClassMethod = function (stmt, method, ctx) {\r\n ctx.print(stmt.name + \".prototype.\" + method.name + \" = function(\");\r\n this._visitParams(method.params, ctx);\r\n ctx.println(\") {\");\r\n ctx.incIndent();\r\n if (method.body.length > 0) {\r\n ctx.println(\"var self = this;\");\r\n this.visitAllStatements(method.body, ctx);\r\n }\r\n ctx.decIndent();\r\n ctx.println(\"};\");\r\n };\r\n AbstractJsEmitterVisitor.prototype.visitReadVarExpr = function (ast, ctx) {\r\n if (ast.builtin === o.BuiltinVar.This) {\r\n ctx.print('self');\r\n }\r\n else if (ast.builtin === o.BuiltinVar.Super) {\r\n throw new exceptions_1.BaseException(\"'super' needs to be handled at a parent ast node, not at the variable level!\");\r\n }\r\n else {\r\n _super.prototype.visitReadVarExpr.call(this, ast, ctx);\r\n }\r\n return null;\r\n };\r\n AbstractJsEmitterVisitor.prototype.visitDeclareVarStmt = function (stmt, ctx) {\r\n ctx.print(\"var \" + stmt.name + \" = \");\r\n stmt.value.visitExpression(this, ctx);\r\n ctx.println(\";\");\r\n return null;\r\n };\r\n AbstractJsEmitterVisitor.prototype.visitCastExpr = function (ast, ctx) {\r\n ast.value.visitExpression(this, ctx);\r\n return null;\r\n };\r\n AbstractJsEmitterVisitor.prototype.visitInvokeFunctionExpr = function (expr, ctx) {\r\n var fnExpr = expr.fn;\r\n if (fnExpr instanceof o.ReadVarExpr && fnExpr.builtin === o.BuiltinVar.Super) {\r\n ctx.currentClass.parent.visitExpression(this, ctx);\r\n ctx.print(\".call(this\");\r\n if (expr.args.length > 0) {\r\n ctx.print(\", \");\r\n this.visitAllExpressions(expr.args, ctx, ',');\r\n }\r\n ctx.print(\")\");\r\n }\r\n else {\r\n _super.prototype.visitInvokeFunctionExpr.call(this, expr, ctx);\r\n }\r\n return null;\r\n };\r\n AbstractJsEmitterVisitor.prototype.visitFunctionExpr = function (ast, ctx) {\r\n ctx.print(\"function(\");\r\n this._visitParams(ast.params, ctx);\r\n ctx.println(\") {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(ast.statements, ctx);\r\n ctx.decIndent();\r\n ctx.print(\"}\");\r\n return null;\r\n };\r\n AbstractJsEmitterVisitor.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\r\n ctx.print(\"function \" + stmt.name + \"(\");\r\n this._visitParams(stmt.params, ctx);\r\n ctx.println(\") {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.statements, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n return null;\r\n };\r\n AbstractJsEmitterVisitor.prototype.visitTryCatchStmt = function (stmt, ctx) {\r\n ctx.println(\"try {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.bodyStmts, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"} catch (\" + abstract_emitter_1.CATCH_ERROR_VAR.name + \") {\");\r\n ctx.incIndent();\r\n var catchStmts = [\r\n abstract_emitter_1.CATCH_STACK_VAR.set(abstract_emitter_1.CATCH_ERROR_VAR.prop('stack'))\r\n .toDeclStmt(null, [o.StmtModifier.Final])\r\n ].concat(stmt.catchStmts);\r\n this.visitAllStatements(catchStmts, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n return null;\r\n };\r\n AbstractJsEmitterVisitor.prototype._visitParams = function (params, ctx) {\r\n this.visitAllObjects(function (param) { return ctx.print(param.name); }, params, ctx, ',');\r\n };\r\n AbstractJsEmitterVisitor.prototype.getBuiltinMethodName = function (method) {\r\n var name;\r\n switch (method) {\r\n case o.BuiltinMethod.ConcatArray:\r\n name = 'concat';\r\n break;\r\n case o.BuiltinMethod.SubscribeObservable:\r\n name = 'subscribe';\r\n break;\r\n case o.BuiltinMethod.bind:\r\n name = 'bind';\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unknown builtin method: \" + method);\r\n }\r\n return name;\r\n };\r\n return AbstractJsEmitterVisitor;\r\n}(abstract_emitter_1.AbstractEmitterVisitor));\r\nexports.AbstractJsEmitterVisitor = AbstractJsEmitterVisitor;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3RfanNfZW1pdHRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci9vdXRwdXQvYWJzdHJhY3RfanNfZW1pdHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxxQkFBd0IsMEJBQTBCLENBQUMsQ0FBQTtBQUNuRCwyQkFBNEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUM3RCxJQUFZLENBQUMsV0FBTSxjQUFjLENBQUMsQ0FBQTtBQUNsQyxpQ0FLTyxvQkFBb0IsQ0FBQyxDQUFBO0FBRTVCO0lBQXVELDRDQUFzQjtJQUMzRTtRQUFnQixrQkFBTSxLQUFLLENBQUMsQ0FBQztJQUFDLENBQUM7SUFDL0Isd0RBQXFCLEdBQX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NvbmNhdEFycmF5OlxuICAgICAgICBuYW1lID0gJ2NvbmNhdCc7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSBvLkJ1aWx0aW5NZXRob2QuU3Vic2NyaWJlT2JzZXJ2YWJsZTpcbiAgICAgICAgbmFtZSA9ICdzdWJzY3JpYmUnO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2Ugby5CdWlsdGluTWV0aG9kLmJpbmQ6XG4gICAgICAgIG5hbWUgPSAnYmluZCc7XG4gICAgICAgIGJyZWFrO1xuICAgICAgZGVmYXVsdDpcbiAgICAgICAgdGhyb3cgbmV3IEJhc2VFeGNlcHRpb24oYFVua25vd24gYnVpbHRpbiBtZXRob2Q6ICR7bWV0aG9kfWApO1xuICAgIH1cbiAgICByZXR1cm4gbmFtZTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nexports.MODULE_SUFFIX = lang_1.IS_DART ? '.dart' : '';\r\nvar CAMEL_CASE_REGEXP = /([A-Z])/g;\r\nvar DASH_CASE_REGEXP = /-([a-z])/g;\r\nfunction camelCaseToDashCase(input) {\r\n return lang_1.StringWrapper.replaceAllMapped(input, CAMEL_CASE_REGEXP, function (m) { return '-' + m[1].toLowerCase(); });\r\n}\r\nexports.camelCaseToDashCase = camelCaseToDashCase;\r\nfunction dashCaseToCamelCase(input) {\r\n return lang_1.StringWrapper.replaceAllMapped(input, DASH_CASE_REGEXP, function (m) { return m[1].toUpperCase(); });\r\n}\r\nexports.dashCaseToCamelCase = dashCaseToCamelCase;\r\nfunction splitAtColon(input, defaultValues) {\r\n var parts = lang_1.StringWrapper.split(input.trim(), /\\s*:\\s*/g);\r\n if (parts.length > 1) {\r\n return parts;\r\n }\r\n else {\r\n return defaultValues;\r\n }\r\n}\r\nexports.splitAtColon = splitAtColon;\r\nfunction sanitizeIdentifier(name) {\r\n return lang_1.StringWrapper.replaceAll(name, /\\W/g, '_');\r\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7IHJldHVybiAnLScgKyBtWzFdLnRvTG93ZXJDYXNlKCk7IH0pO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gZGFzaENhc2VUb0NhbWVsQ2FzZShpbnB1dDogc3RyaW5nKTogc3RyaW5nIHtcbiAgcmV0dXJuIFN0cmluZ1dyYXBwZXIucmVwbGFjZUFsbE1hcHBlZChpbnB1dCwgREFTSF9DQVNFX1JFR0VYUCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAobSkgPT4geyByZXR1cm4gbVsxXS50b1VwcGVyQ2FzZSgpOyB9KTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHNwbGl0QXRDb2xvbihpbnB1dDogc3RyaW5nLCBkZWZhdWx0VmFsdWVzOiBzdHJpbmdbXSk6IHN0cmluZ1tdIHtcbiAgdmFyIHBhcnRzID0gU3RyaW5nV3JhcHBlci5zcGxpdChpbnB1dC50cmltKCksIC9cXHMqOlxccyovZyk7XG4gIGlmIChwYXJ0cy5sZW5ndGggPiAxKSB7XG4gICAgcmV0dXJuIHBhcnRzO1xuICB9IGVsc2Uge1xuICAgIHJldHVybiBkZWZhdWx0VmFsdWVzO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBzYW5pdGl6ZUlkZW50aWZpZXIobmFtZTogc3RyaW5nKTogc3RyaW5nIHtcbiAgcmV0dXJuIFN0cmluZ1dyYXBwZXIucmVwbGFjZUFsbChuYW1lLCAvXFxXL2csICdfJyk7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar abstract_emitter_1 = require('./abstract_emitter');\r\nvar abstract_js_emitter_1 = require('./abstract_js_emitter');\r\nvar util_1 = require('../util');\r\nfunction jitStatements(sourceUrl, statements, resultVar) {\r\n var converter = new JitEmitterVisitor();\r\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot([resultVar]);\r\n converter.visitAllStatements(statements, ctx);\r\n return lang_1.evalExpression(sourceUrl, resultVar, ctx.toSource(), converter.getArgs());\r\n}\r\nexports.jitStatements = jitStatements;\r\nvar JitEmitterVisitor = (function (_super) {\r\n __extends(JitEmitterVisitor, _super);\r\n function JitEmitterVisitor() {\r\n _super.apply(this, arguments);\r\n this._evalArgNames = [];\r\n this._evalArgValues = [];\r\n }\r\n JitEmitterVisitor.prototype.getArgs = function () {\r\n var result = {};\r\n for (var i = 0; i < this._evalArgNames.length; i++) {\r\n result[this._evalArgNames[i]] = this._evalArgValues[i];\r\n }\r\n return result;\r\n };\r\n JitEmitterVisitor.prototype.visitExternalExpr = function (ast, ctx) {\r\n var value = ast.value.runtime;\r\n var id = this._evalArgValues.indexOf(value);\r\n if (id === -1) {\r\n id = this._evalArgValues.length;\r\n this._evalArgValues.push(value);\r\n var name = lang_1.isPresent(ast.value.name) ? util_1.sanitizeIdentifier(ast.value.name) : 'val';\r\n this._evalArgNames.push(util_1.sanitizeIdentifier(\"jit_\" + name + id));\r\n }\r\n ctx.print(this._evalArgNames[id]);\r\n return null;\r\n };\r\n return JitEmitterVisitor;\r\n}(abstract_js_emitter_1.AbstractJsEmitterVisitor));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0X2ppdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci9vdXRwdXQvb3V0cHV0X2ppdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxxQkFPTywwQkFBMEIsQ0FBQyxDQUFBO0F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BhbnlbXSA9IFtdO1xuXG4gIGdldEFyZ3MoKToge1trZXk6IHN0cmluZ106IGFueX0ge1xuICAgIHZhciByZXN1bHQgPSB7fTtcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IHRoaXMuX2V2YWxBcmdOYW1lcy5sZW5ndGg7IGkrKykge1xuICAgICAgcmVzdWx0W3RoaXMuX2V2YWxBcmdOYW1lc1tpXV0gPSB0aGlzLl9ldmFsQXJnVmFsdWVzW2ldO1xuICAgIH1cbiAgICByZXR1cm4gcmVzdWx0O1xuICB9XG5cbiAgdmlzaXRFeHRlcm5hbEV4cHIoYXN0OiBvLkV4dGVybmFsRXhwciwgY3R4OiBFbWl0dGVyVmlzaXRvckNvbnRleHQpOiBhbnkge1xuICAgIHZhciB2YWx1ZSA9IGFzdC52YWx1ZS5ydW50aW1lO1xuICAgIHZhciBpZCA9IHRoaXMuX2V2YWxBcmdWYWx1ZXMuaW5kZXhPZih2YWx1ZSk7XG4gICAgaWYgKGlkID09PSAtMSkge1xuICAgICAgaWQgPSB0aGlzLl9ldmFsQXJnVmFsdWVzLmxlbmd0aDtcbiAgICAgIHRoaXMuX2V2YWxBcmdWYWx1ZXMucHVzaCh2YWx1ZSk7XG4gICAgICB2YXIgbmFtZSA9IGlzUHJlc2VudChhc3QudmFsdWUubmFtZSkgPyBzYW5pdGl6ZUlkZW50aWZpZXIoYXN0LnZhbHVlLm5hbWUpIDogJ3ZhbCc7XG4gICAgICB0aGlzLl9ldmFsQXJnTmFtZXMucHVzaChzYW5pdGl6ZUlkZW50aWZpZXIoYGppdF8ke25hbWV9JHtpZH1gKSk7XG4gICAgfVxuICAgIGN0eC5wcmludCh0aGlzLl9ldmFsQXJnTmFtZXNbaWRdKTtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar o = require('./output_ast');\r\nvar abstract_emitter_1 = require('./abstract_emitter');\r\nvar path_util_1 = require('./path_util');\r\nvar _debugModuleUrl = 'asset://debug/lib';\r\nfunction debugOutputAstAsDart(ast) {\r\n var converter = new _DartEmitterVisitor(_debugModuleUrl);\r\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot([]);\r\n var asts;\r\n if (lang_1.isArray(ast)) {\r\n asts = ast;\r\n }\r\n else {\r\n asts = [ast];\r\n }\r\n asts.forEach(function (ast) {\r\n if (ast instanceof o.Statement) {\r\n ast.visitStatement(converter, ctx);\r\n }\r\n else if (ast instanceof o.Expression) {\r\n ast.visitExpression(converter, ctx);\r\n }\r\n else if (ast instanceof o.Type) {\r\n ast.visitType(converter, ctx);\r\n }\r\n else {\r\n throw new exceptions_1.BaseException(\"Don't know how to print debug info for \" + ast);\r\n }\r\n });\r\n return ctx.toSource();\r\n}\r\nexports.debugOutputAstAsDart = debugOutputAstAsDart;\r\nvar DartEmitter = (function () {\r\n function DartEmitter() {\r\n }\r\n DartEmitter.prototype.emitStatements = function (moduleUrl, stmts, exportedVars) {\r\n var srcParts = [];\r\n // Note: We are not creating a library here as Dart does not need it.\r\n // Dart analzyer might complain about it though.\r\n var converter = new _DartEmitterVisitor(moduleUrl);\r\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot(exportedVars);\r\n converter.visitAllStatements(stmts, ctx);\r\n converter.importsWithPrefixes.forEach(function (prefix, importedModuleUrl) {\r\n srcParts.push(\"import '\" + path_util_1.getImportModulePath(moduleUrl, importedModuleUrl, path_util_1.ImportEnv.Dart) + \"' as \" + prefix + \";\");\r\n });\r\n srcParts.push(ctx.toSource());\r\n return srcParts.join('\\n');\r\n };\r\n return DartEmitter;\r\n}());\r\nexports.DartEmitter = DartEmitter;\r\nvar _DartEmitterVisitor = (function (_super) {\r\n __extends(_DartEmitterVisitor, _super);\r\n function _DartEmitterVisitor(_moduleUrl) {\r\n _super.call(this, true);\r\n this._moduleUrl = _moduleUrl;\r\n this.importsWithPrefixes = new Map();\r\n }\r\n _DartEmitterVisitor.prototype.visitExternalExpr = function (ast, ctx) {\r\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitDeclareVarStmt = function (stmt, ctx) {\r\n if (stmt.hasModifier(o.StmtModifier.Final)) {\r\n if (isConstType(stmt.type)) {\r\n ctx.print(\"const \");\r\n }\r\n else {\r\n ctx.print(\"final \");\r\n }\r\n }\r\n else if (lang_1.isBlank(stmt.type)) {\r\n ctx.print(\"var \");\r\n }\r\n if (lang_1.isPresent(stmt.type)) {\r\n stmt.type.visitType(this, ctx);\r\n ctx.print(\" \");\r\n }\r\n ctx.print(stmt.name + \" = \");\r\n stmt.value.visitExpression(this, ctx);\r\n ctx.println(\";\");\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitCastExpr = function (ast, ctx) {\r\n ctx.print(\"(\");\r\n ast.value.visitExpression(this, ctx);\r\n ctx.print(\" as \");\r\n ast.type.visitType(this, ctx);\r\n ctx.print(\")\");\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitDeclareClassStmt = function (stmt, ctx) {\r\n var _this = this;\r\n ctx.pushClass(stmt);\r\n ctx.print(\"class \" + stmt.name);\r\n if (lang_1.isPresent(stmt.parent)) {\r\n ctx.print(\" extends \");\r\n stmt.parent.visitExpression(this, ctx);\r\n }\r\n ctx.println(\" {\");\r\n ctx.incIndent();\r\n stmt.fields.forEach(function (field) { return _this._visitClassField(field, ctx); });\r\n if (lang_1.isPresent(stmt.constructorMethod)) {\r\n this._visitClassConstructor(stmt, ctx);\r\n }\r\n stmt.getters.forEach(function (getter) { return _this._visitClassGetter(getter, ctx); });\r\n stmt.methods.forEach(function (method) { return _this._visitClassMethod(method, ctx); });\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n ctx.popClass();\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype._visitClassField = function (field, ctx) {\r\n if (field.hasModifier(o.StmtModifier.Final)) {\r\n ctx.print(\"final \");\r\n }\r\n else if (lang_1.isBlank(field.type)) {\r\n ctx.print(\"var \");\r\n }\r\n if (lang_1.isPresent(field.type)) {\r\n field.type.visitType(this, ctx);\r\n ctx.print(\" \");\r\n }\r\n ctx.println(field.name + \";\");\r\n };\r\n _DartEmitterVisitor.prototype._visitClassGetter = function (getter, ctx) {\r\n if (lang_1.isPresent(getter.type)) {\r\n getter.type.visitType(this, ctx);\r\n ctx.print(\" \");\r\n }\r\n ctx.println(\"get \" + getter.name + \" {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(getter.body, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n };\r\n _DartEmitterVisitor.prototype._visitClassConstructor = function (stmt, ctx) {\r\n ctx.print(stmt.name + \"(\");\r\n this._visitParams(stmt.constructorMethod.params, ctx);\r\n ctx.print(\")\");\r\n var ctorStmts = stmt.constructorMethod.body;\r\n var superCtorExpr = ctorStmts.length > 0 ? getSuperConstructorCallExpr(ctorStmts[0]) : null;\r\n if (lang_1.isPresent(superCtorExpr)) {\r\n ctx.print(\": \");\r\n superCtorExpr.visitExpression(this, ctx);\r\n ctorStmts = ctorStmts.slice(1);\r\n }\r\n ctx.println(\" {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(ctorStmts, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n };\r\n _DartEmitterVisitor.prototype._visitClassMethod = function (method, ctx) {\r\n if (lang_1.isPresent(method.type)) {\r\n method.type.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"void\");\r\n }\r\n ctx.print(\" \" + method.name + \"(\");\r\n this._visitParams(method.params, ctx);\r\n ctx.println(\") {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(method.body, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n };\r\n _DartEmitterVisitor.prototype.visitFunctionExpr = function (ast, ctx) {\r\n ctx.print(\"(\");\r\n this._visitParams(ast.params, ctx);\r\n ctx.println(\") {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(ast.statements, ctx);\r\n ctx.decIndent();\r\n ctx.print(\"}\");\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\r\n if (lang_1.isPresent(stmt.type)) {\r\n stmt.type.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"void\");\r\n }\r\n ctx.print(\" \" + stmt.name + \"(\");\r\n this._visitParams(stmt.params, ctx);\r\n ctx.println(\") {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.statements, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.getBuiltinMethodName = function (method) {\r\n var name;\r\n switch (method) {\r\n case o.BuiltinMethod.ConcatArray:\r\n name = '.addAll';\r\n break;\r\n case o.BuiltinMethod.SubscribeObservable:\r\n name = 'listen';\r\n break;\r\n case o.BuiltinMethod.bind:\r\n name = null;\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unknown builtin method: \" + method);\r\n }\r\n return name;\r\n };\r\n _DartEmitterVisitor.prototype.visitTryCatchStmt = function (stmt, ctx) {\r\n ctx.println(\"try {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.bodyStmts, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"} catch (\" + abstract_emitter_1.CATCH_ERROR_VAR.name + \", \" + abstract_emitter_1.CATCH_STACK_VAR.name + \") {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.catchStmts, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitBinaryOperatorExpr = function (ast, ctx) {\r\n switch (ast.operator) {\r\n case o.BinaryOperator.Identical:\r\n ctx.print(\"identical(\");\r\n ast.lhs.visitExpression(this, ctx);\r\n ctx.print(\", \");\r\n ast.rhs.visitExpression(this, ctx);\r\n ctx.print(\")\");\r\n break;\r\n case o.BinaryOperator.NotIdentical:\r\n ctx.print(\"!identical(\");\r\n ast.lhs.visitExpression(this, ctx);\r\n ctx.print(\", \");\r\n ast.rhs.visitExpression(this, ctx);\r\n ctx.print(\")\");\r\n break;\r\n default:\r\n _super.prototype.visitBinaryOperatorExpr.call(this, ast, ctx);\r\n }\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitLiteralArrayExpr = function (ast, ctx) {\r\n if (isConstType(ast.type)) {\r\n ctx.print(\"const \");\r\n }\r\n return _super.prototype.visitLiteralArrayExpr.call(this, ast, ctx);\r\n };\r\n _DartEmitterVisitor.prototype.visitLiteralMapExpr = function (ast, ctx) {\r\n if (isConstType(ast.type)) {\r\n ctx.print(\"const \");\r\n }\r\n if (lang_1.isPresent(ast.valueType)) {\r\n ctx.print(\"<String, \");\r\n ast.valueType.visitType(this, ctx);\r\n ctx.print(\">\");\r\n }\r\n return _super.prototype.visitLiteralMapExpr.call(this, ast, ctx);\r\n };\r\n _DartEmitterVisitor.prototype.visitInstantiateExpr = function (ast, ctx) {\r\n ctx.print(isConstType(ast.type) ? \"const\" : \"new\");\r\n ctx.print(' ');\r\n ast.classExpr.visitExpression(this, ctx);\r\n ctx.print(\"(\");\r\n this.visitAllExpressions(ast.args, ctx, \",\");\r\n ctx.print(\")\");\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitBuiltintType = function (type, ctx) {\r\n var typeStr;\r\n switch (type.name) {\r\n case o.BuiltinTypeName.Bool:\r\n typeStr = 'bool';\r\n break;\r\n case o.BuiltinTypeName.Dynamic:\r\n typeStr = 'dynamic';\r\n break;\r\n case o.BuiltinTypeName.Function:\r\n typeStr = 'Function';\r\n break;\r\n case o.BuiltinTypeName.Number:\r\n typeStr = 'num';\r\n break;\r\n case o.BuiltinTypeName.Int:\r\n typeStr = 'int';\r\n break;\r\n case o.BuiltinTypeName.String:\r\n typeStr = 'String';\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unsupported builtin type \" + type.name);\r\n }\r\n ctx.print(typeStr);\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitExternalType = function (ast, ctx) {\r\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitArrayType = function (type, ctx) {\r\n ctx.print(\"List<\");\r\n if (lang_1.isPresent(type.of)) {\r\n type.of.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"dynamic\");\r\n }\r\n ctx.print(\">\");\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype.visitMapType = function (type, ctx) {\r\n ctx.print(\"Map<String, \");\r\n if (lang_1.isPresent(type.valueType)) {\r\n type.valueType.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"dynamic\");\r\n }\r\n ctx.print(\">\");\r\n return null;\r\n };\r\n _DartEmitterVisitor.prototype._visitParams = function (params, ctx) {\r\n var _this = this;\r\n this.visitAllObjects(function (param) {\r\n if (lang_1.isPresent(param.type)) {\r\n param.type.visitType(_this, ctx);\r\n ctx.print(' ');\r\n }\r\n ctx.print(param.name);\r\n }, params, ctx, ',');\r\n };\r\n _DartEmitterVisitor.prototype._visitIdentifier = function (value, typeParams, ctx) {\r\n var _this = this;\r\n if (lang_1.isPresent(value.moduleUrl) && value.moduleUrl != this._moduleUrl) {\r\n var prefix = this.importsWithPrefixes.get(value.moduleUrl);\r\n if (lang_1.isBlank(prefix)) {\r\n prefix = \"import\" + this.importsWithPrefixes.size;\r\n this.importsWithPrefixes.set(value.moduleUrl, prefix);\r\n }\r\n ctx.print(prefix + \".\");\r\n }\r\n ctx.print(value.name);\r\n if (lang_1.isPresent(typeParams) && typeParams.length > 0) {\r\n ctx.print(\"<\");\r\n this.visitAllObjects(function (type) { return type.visitType(_this, ctx); }, typeParams, ctx, ',');\r\n ctx.print(\">\");\r\n }\r\n };\r\n return _DartEmitterVisitor;\r\n}(abstract_emitter_1.AbstractEmitterVisitor));\r\nfunction getSuperConstructorCallExpr(stmt) {\r\n if (stmt instanceof o.ExpressionStatement) {\r\n var expr = stmt.expr;\r\n if (expr instanceof o.InvokeFunctionExpr) {\r\n var fn = expr.fn;\r\n if (fn instanceof o.ReadVarExpr) {\r\n if (fn.builtin === o.BuiltinVar.Super) {\r\n return expr;\r\n }\r\n }\r\n }\r\n }\r\n return null;\r\n}\r\nfunction isConstType(type) {\r\n return lang_1.isPresent(type) && type.hasModifier(o.TypeModifier.Const);\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFydF9lbWl0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL291dHB1dC9kYXJ0X2VtaXR0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEscUJBUU8sMEJBQTBCLENBQUMsQ0FBQTtBQUVsQywyQkFBNEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUU3RCxJQUFZLENBQUMsV0FBTSxjQUFjLENBQUMsQ0FBQTtBQUNsQyxpQ0FPTyxvQkFBb0IsQ0FBQyxDQUFBO0FBQzVCLDBCQUE2QyxhQUFhLENBQUMsQ0FBQTtBQUUzRCxJQUFJLGVBQWUsR0FBRyxtQkFBbUIsQ0FBQztBQUUxQyw4QkFBcUMsR0FBZ0Q7SUFDbkYsSUFBSSxTQUFTLEdBQUcsSUFBSSxtQkFBbUIsQ0FBQyxlQUFlLENBQUMsQ0FBQztJQUN6RCxJQUFJLEdBQUcsR0FBRyx3Q0FBcUIsQ0FBQyxVQUFVLENBQUMsRUF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IGApO1xuICAgIH1cbiAgICBpZiAoaXNQcmVzZW50KHN0bXQudHlwZSkpIHtcbiAgICAgIHN0bXQudHlwZS52aXNpdFR5cGUodGhpcywgY3R4KTtcbiAgICAgIGN0eC5wcmludChgIGApO1xuICAgIH1cbiAgICBjdHgucHJpbnQoYCR7c3RtdC5uYW1lfSA9IGApO1xuICAgIHN0bXQudmFsdWUudmlzaXRFeHByZXNzaW9uKHRoaXMsIGN0eCk7XG4gICAgY3R4LnByaW50bG4oYDtgKTtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuICB2aXNpdENhc3RFeHByKGFzdDogby5DYXN0RXhwciwgY3R4OiBFbWl0dGVyVmlzaXRvckNvbnRleHQpOiBhbnkge1xuICAgIGN0eC5wcmludChgKGApO1xuICAgIGFzdC52YWx1ZS52aXNpdEV4cHJlc3Npb24odGhpcywgY3R4KTtcbiAgICBjdHgucHJpbnQoYCBhcyBgKTtcbiAgICBhc3QudHlwZS52aXNpdFR5cGUodGhpcywgY3R4KTtcbiAgICBjdHgucHJpbnQoYClgKTtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuICB2aXNpdERlY2xhcmVDbGFzc1N0bXQoc3RtdDogby5DbGFzc1N0bXQsIGN0eDogRW1pdHRlclZpc2l0b3JDb250ZXh0KTogYW55IHtcbiAgICBjdHgucHVzaENsYXNzKHN0bXQpO1xuICAgIGN0eC5wcmludChgY2xhc3MgJHtzdG10Lm5hbWV9YCk7XG4gICAgaWYgKGlzUHJlc2VudChzdG10LnBhcmVudCkpIHtcbiAgICAgIGN0eC5wcmludChgIGV4dGVuZHMgYCk7XG4gICAgICBzdG10LnBhcmVudC52aXNpdEV4cHJlc3Npb24odGhpcywgY3R4KTtcbiAgICB9XG4gICAgY3R4LnByaW50bG4oYCB7YCk7XG4gICAgY3R4LmluY0luZGVudCgpO1xuICAgIHN0bXQuZmllbGRzLmZvckVhY2goKGZpZWxkKSA9PiB0aGlzLl92aXNpdENsYXNzRmllbGQoZmllbGQs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cGUpICYmIHR5cGUuaGFzTW9kaWZpZXIoby5UeXBlTW9kaWZpZXIuQ29uc3QpO1xufSJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n//// Types\r\n(function (TypeModifier) {\r\n TypeModifier[TypeModifier[\"Const\"] = 0] = \"Const\";\r\n})(exports.TypeModifier || (exports.TypeModifier = {}));\r\nvar TypeModifier = exports.TypeModifier;\r\nvar Type = (function () {\r\n function Type(modifiers) {\r\n if (modifiers === void 0) { modifiers = null; }\r\n this.modifiers = modifiers;\r\n if (lang_1.isBlank(modifiers)) {\r\n this.modifiers = [];\r\n }\r\n }\r\n Type.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\r\n return Type;\r\n}());\r\nexports.Type = Type;\r\n(function (BuiltinTypeName) {\r\n BuiltinTypeName[BuiltinTypeName[\"Dynamic\"] = 0] = \"Dynamic\";\r\n BuiltinTypeName[BuiltinTypeName[\"Bool\"] = 1] = \"Bool\";\r\n BuiltinTypeName[BuiltinTypeName[\"String\"] = 2] = \"String\";\r\n BuiltinTypeName[BuiltinTypeName[\"Int\"] = 3] = \"Int\";\r\n BuiltinTypeName[BuiltinTypeName[\"Number\"] = 4] = \"Number\";\r\n BuiltinTypeName[BuiltinTypeName[\"Function\"] = 5] = \"Function\";\r\n})(exports.BuiltinTypeName || (exports.BuiltinTypeName = {}));\r\nvar BuiltinTypeName = exports.BuiltinTypeName;\r\nvar BuiltinType = (function (_super) {\r\n __extends(BuiltinType, _super);\r\n function BuiltinType(name, modifiers) {\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, modifiers);\r\n this.name = name;\r\n }\r\n BuiltinType.prototype.visitType = function (visitor, context) {\r\n return visitor.visitBuiltintType(this, context);\r\n };\r\n return BuiltinType;\r\n}(Type));\r\nexports.BuiltinType = BuiltinType;\r\nvar ExternalType = (function (_super) {\r\n __extends(ExternalType, _super);\r\n function ExternalType(value, typeParams, modifiers) {\r\n if (typeParams === void 0) { typeParams = null; }\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, modifiers);\r\n this.value = value;\r\n this.typeParams = typeParams;\r\n }\r\n ExternalType.prototype.visitType = function (visitor, context) {\r\n return visitor.visitExternalType(this, context);\r\n };\r\n return ExternalType;\r\n}(Type));\r\nexports.ExternalType = ExternalType;\r\nvar ArrayType = (function (_super) {\r\n __extends(ArrayType, _super);\r\n function ArrayType(of, modifiers) {\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, modifiers);\r\n this.of = of;\r\n }\r\n ArrayType.prototype.visitType = function (visitor, context) {\r\n return visitor.visitArrayType(this, context);\r\n };\r\n return ArrayType;\r\n}(Type));\r\nexports.ArrayType = ArrayType;\r\nvar MapType = (function (_super) {\r\n __extends(MapType, _super);\r\n function MapType(valueType, modifiers) {\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, modifiers);\r\n this.valueType = valueType;\r\n }\r\n MapType.prototype.visitType = function (visitor, context) { return visitor.visitMapType(this, context); };\r\n return MapType;\r\n}(Type));\r\nexports.MapType = MapType;\r\nexports.DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);\r\nexports.BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);\r\nexports.INT_TYPE = new BuiltinType(BuiltinTypeName.Int);\r\nexports.NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);\r\nexports.STRING_TYPE = new BuiltinType(BuiltinTypeName.String);\r\nexports.FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);\r\n///// Expressions\r\n(function (BinaryOperator) {\r\n BinaryOperator[BinaryOperator[\"Equals\"] = 0] = \"Equals\";\r\n BinaryOperator[BinaryOperator[\"NotEquals\"] = 1] = \"NotEquals\";\r\n BinaryOperator[BinaryOperator[\"Identical\"] = 2] = \"Identical\";\r\n BinaryOperator[BinaryOperator[\"NotIdentical\"] = 3] = \"NotIdentical\";\r\n BinaryOperator[BinaryOperator[\"Minus\"] = 4] = \"Minus\";\r\n BinaryOperator[BinaryOperator[\"Plus\"] = 5] = \"Plus\";\r\n BinaryOperator[BinaryOperator[\"Divide\"] = 6] = \"Divide\";\r\n BinaryOperator[BinaryOperator[\"Multiply\"] = 7] = \"Multiply\";\r\n BinaryOperator[BinaryOperator[\"Modulo\"] = 8] = \"Modulo\";\r\n BinaryOperator[BinaryOperator[\"And\"] = 9] = \"And\";\r\n BinaryOperator[BinaryOperator[\"Or\"] = 10] = \"Or\";\r\n BinaryOperator[BinaryOperator[\"Lower\"] = 11] = \"Lower\";\r\n BinaryOperator[BinaryOperator[\"LowerEquals\"] = 12] = \"LowerEquals\";\r\n BinaryOperator[BinaryOperator[\"Bigger\"] = 13] = \"Bigger\";\r\n BinaryOperator[BinaryOperator[\"BiggerEquals\"] = 14] = \"BiggerEquals\";\r\n})(exports.BinaryOperator || (exports.BinaryOperator = {}));\r\nvar BinaryOperator = exports.BinaryOperator;\r\nvar Expression = (function () {\r\n function Expression(type) {\r\n this.type = type;\r\n }\r\n Expression.prototype.prop = function (name) { return new ReadPropExpr(this, name); };\r\n Expression.prototype.key = function (index, type) {\r\n if (type === void 0) { type = null; }\r\n return new ReadKeyExpr(this, index, type);\r\n };\r\n Expression.prototype.callMethod = function (name, params) {\r\n return new InvokeMethodExpr(this, name, params);\r\n };\r\n Expression.prototype.callFn = function (params) { return new InvokeFunctionExpr(this, params); };\r\n Expression.prototype.instantiate = function (params, type) {\r\n if (type === void 0) { type = null; }\r\n return new InstantiateExpr(this, params, type);\r\n };\r\n Expression.prototype.conditional = function (trueCase, falseCase) {\r\n if (falseCase === void 0) { falseCase = null; }\r\n return new ConditionalExpr(this, trueCase, falseCase);\r\n };\r\n Expression.prototype.equals = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs);\r\n };\r\n Expression.prototype.notEquals = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs);\r\n };\r\n Expression.prototype.identical = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs);\r\n };\r\n Expression.prototype.notIdentical = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs);\r\n };\r\n Expression.prototype.minus = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs);\r\n };\r\n Expression.prototype.plus = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs);\r\n };\r\n Expression.prototype.divide = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs);\r\n };\r\n Expression.prototype.multiply = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs);\r\n };\r\n Expression.prototype.modulo = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs);\r\n };\r\n Expression.prototype.and = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.And, this, rhs);\r\n };\r\n Expression.prototype.or = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs);\r\n };\r\n Expression.prototype.lower = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs);\r\n };\r\n Expression.prototype.lowerEquals = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs);\r\n };\r\n Expression.prototype.bigger = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs);\r\n };\r\n Expression.prototype.biggerEquals = function (rhs) {\r\n return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs);\r\n };\r\n Expression.prototype.isBlank = function () {\r\n // Note: We use equals by purpose here to compare to null and undefined in JS.\r\n return this.equals(exports.NULL_EXPR);\r\n };\r\n Expression.prototype.cast = function (type) { return new CastExpr(this, type); };\r\n Expression.prototype.toStmt = function () { return new ExpressionStatement(this); };\r\n return Expression;\r\n}());\r\nexports.Expression = Expression;\r\n(function (BuiltinVar) {\r\n BuiltinVar[BuiltinVar[\"This\"] = 0] = \"This\";\r\n BuiltinVar[BuiltinVar[\"Super\"] = 1] = \"Super\";\r\n BuiltinVar[BuiltinVar[\"CatchError\"] = 2] = \"CatchError\";\r\n BuiltinVar[BuiltinVar[\"CatchStack\"] = 3] = \"CatchStack\";\r\n})(exports.BuiltinVar || (exports.BuiltinVar = {}));\r\nvar BuiltinVar = exports.BuiltinVar;\r\nvar ReadVarExpr = (function (_super) {\r\n __extends(ReadVarExpr, _super);\r\n function ReadVarExpr(name, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n if (lang_1.isString(name)) {\r\n this.name = name;\r\n this.builtin = null;\r\n }\r\n else {\r\n this.name = null;\r\n this.builtin = name;\r\n }\r\n }\r\n ReadVarExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitReadVarExpr(this, context);\r\n };\r\n ReadVarExpr.prototype.set = function (value) { return new WriteVarExpr(this.name, value); };\r\n return ReadVarExpr;\r\n}(Expression));\r\nexports.ReadVarExpr = ReadVarExpr;\r\nvar WriteVarExpr = (function (_super) {\r\n __extends(WriteVarExpr, _super);\r\n function WriteVarExpr(name, value, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, lang_1.isPresent(type) ? type : value.type);\r\n this.name = name;\r\n this.value = value;\r\n }\r\n WriteVarExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitWriteVarExpr(this, context);\r\n };\r\n WriteVarExpr.prototype.toDeclStmt = function (type, modifiers) {\r\n if (type === void 0) { type = null; }\r\n if (modifiers === void 0) { modifiers = null; }\r\n return new DeclareVarStmt(this.name, this.value, type, modifiers);\r\n };\r\n return WriteVarExpr;\r\n}(Expression));\r\nexports.WriteVarExpr = WriteVarExpr;\r\nvar WriteKeyExpr = (function (_super) {\r\n __extends(WriteKeyExpr, _super);\r\n function WriteKeyExpr(receiver, index, value, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, lang_1.isPresent(type) ? type : value.type);\r\n this.receiver = receiver;\r\n this.index = index;\r\n this.value = value;\r\n }\r\n WriteKeyExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitWriteKeyExpr(this, context);\r\n };\r\n return WriteKeyExpr;\r\n}(Expression));\r\nexports.WriteKeyExpr = WriteKeyExpr;\r\nvar WritePropExpr = (function (_super) {\r\n __extends(WritePropExpr, _super);\r\n function WritePropExpr(receiver, name, value, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, lang_1.isPresent(type) ? type : value.type);\r\n this.receiver = receiver;\r\n this.name = name;\r\n this.value = value;\r\n }\r\n WritePropExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitWritePropExpr(this, context);\r\n };\r\n return WritePropExpr;\r\n}(Expression));\r\nexports.WritePropExpr = WritePropExpr;\r\n(function (BuiltinMethod) {\r\n BuiltinMethod[BuiltinMethod[\"ConcatArray\"] = 0] = \"ConcatArray\";\r\n BuiltinMethod[BuiltinMethod[\"SubscribeObservable\"] = 1] = \"SubscribeObservable\";\r\n BuiltinMethod[BuiltinMethod[\"bind\"] = 2] = \"bind\";\r\n})(exports.BuiltinMethod || (exports.BuiltinMethod = {}));\r\nvar BuiltinMethod = exports.BuiltinMethod;\r\nvar InvokeMethodExpr = (function (_super) {\r\n __extends(InvokeMethodExpr, _super);\r\n function InvokeMethodExpr(receiver, method, args, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n this.receiver = receiver;\r\n this.args = args;\r\n if (lang_1.isString(method)) {\r\n this.name = method;\r\n this.builtin = null;\r\n }\r\n else {\r\n this.name = null;\r\n this.builtin = method;\r\n }\r\n }\r\n InvokeMethodExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitInvokeMethodExpr(this, context);\r\n };\r\n return InvokeMethodExpr;\r\n}(Expression));\r\nexports.InvokeMethodExpr = InvokeMethodExpr;\r\nvar InvokeFunctionExpr = (function (_super) {\r\n __extends(InvokeFunctionExpr, _super);\r\n function InvokeFunctionExpr(fn, args, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n this.fn = fn;\r\n this.args = args;\r\n }\r\n InvokeFunctionExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitInvokeFunctionExpr(this, context);\r\n };\r\n return InvokeFunctionExpr;\r\n}(Expression));\r\nexports.InvokeFunctionExpr = InvokeFunctionExpr;\r\nvar InstantiateExpr = (function (_super) {\r\n __extends(InstantiateExpr, _super);\r\n function InstantiateExpr(classExpr, args, type) {\r\n _super.call(this, type);\r\n this.classExpr = classExpr;\r\n this.args = args;\r\n }\r\n InstantiateExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitInstantiateExpr(this, context);\r\n };\r\n return InstantiateExpr;\r\n}(Expression));\r\nexports.InstantiateExpr = InstantiateExpr;\r\nvar LiteralExpr = (function (_super) {\r\n __extends(LiteralExpr, _super);\r\n function LiteralExpr(value, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n this.value = value;\r\n }\r\n LiteralExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitLiteralExpr(this, context);\r\n };\r\n return LiteralExpr;\r\n}(Expression));\r\nexports.LiteralExpr = LiteralExpr;\r\nvar ExternalExpr = (function (_super) {\r\n __extends(ExternalExpr, _super);\r\n function ExternalExpr(value, type, typeParams) {\r\n if (type === void 0) { type = null; }\r\n if (typeParams === void 0) { typeParams = null; }\r\n _super.call(this, type);\r\n this.value = value;\r\n this.typeParams = typeParams;\r\n }\r\n ExternalExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitExternalExpr(this, context);\r\n };\r\n return ExternalExpr;\r\n}(Expression));\r\nexports.ExternalExpr = ExternalExpr;\r\nvar ConditionalExpr = (function (_super) {\r\n __extends(ConditionalExpr, _super);\r\n function ConditionalExpr(condition, trueCase, falseCase, type) {\r\n if (falseCase === void 0) { falseCase = null; }\r\n if (type === void 0) { type = null; }\r\n _super.call(this, lang_1.isPresent(type) ? type : trueCase.type);\r\n this.condition = condition;\r\n this.falseCase = falseCase;\r\n this.trueCase = trueCase;\r\n }\r\n ConditionalExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitConditionalExpr(this, context);\r\n };\r\n return ConditionalExpr;\r\n}(Expression));\r\nexports.ConditionalExpr = ConditionalExpr;\r\nvar NotExpr = (function (_super) {\r\n __extends(NotExpr, _super);\r\n function NotExpr(condition) {\r\n _super.call(this, exports.BOOL_TYPE);\r\n this.condition = condition;\r\n }\r\n NotExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitNotExpr(this, context);\r\n };\r\n return NotExpr;\r\n}(Expression));\r\nexports.NotExpr = NotExpr;\r\nvar CastExpr = (function (_super) {\r\n __extends(CastExpr, _super);\r\n function CastExpr(value, type) {\r\n _super.call(this, type);\r\n this.value = value;\r\n }\r\n CastExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitCastExpr(this, context);\r\n };\r\n return CastExpr;\r\n}(Expression));\r\nexports.CastExpr = CastExpr;\r\nvar FnParam = (function () {\r\n function FnParam(name, type) {\r\n if (type === void 0) { type = null; }\r\n this.name = name;\r\n this.type = type;\r\n }\r\n return FnParam;\r\n}());\r\nexports.FnParam = FnParam;\r\nvar FunctionExpr = (function (_super) {\r\n __extends(FunctionExpr, _super);\r\n function FunctionExpr(params, statements, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n this.params = params;\r\n this.statements = statements;\r\n }\r\n FunctionExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitFunctionExpr(this, context);\r\n };\r\n FunctionExpr.prototype.toDeclStmt = function (name, modifiers) {\r\n if (modifiers === void 0) { modifiers = null; }\r\n return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers);\r\n };\r\n return FunctionExpr;\r\n}(Expression));\r\nexports.FunctionExpr = FunctionExpr;\r\nvar BinaryOperatorExpr = (function (_super) {\r\n __extends(BinaryOperatorExpr, _super);\r\n function BinaryOperatorExpr(operator, lhs, rhs, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, lang_1.isPresent(type) ? type : lhs.type);\r\n this.operator = operator;\r\n this.rhs = rhs;\r\n this.lhs = lhs;\r\n }\r\n BinaryOperatorExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitBinaryOperatorExpr(this, context);\r\n };\r\n return BinaryOperatorExpr;\r\n}(Expression));\r\nexports.BinaryOperatorExpr = BinaryOperatorExpr;\r\nvar ReadPropExpr = (function (_super) {\r\n __extends(ReadPropExpr, _super);\r\n function ReadPropExpr(receiver, name, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n this.receiver = receiver;\r\n this.name = name;\r\n }\r\n ReadPropExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitReadPropExpr(this, context);\r\n };\r\n ReadPropExpr.prototype.set = function (value) {\r\n return new WritePropExpr(this.receiver, this.name, value);\r\n };\r\n return ReadPropExpr;\r\n}(Expression));\r\nexports.ReadPropExpr = ReadPropExpr;\r\nvar ReadKeyExpr = (function (_super) {\r\n __extends(ReadKeyExpr, _super);\r\n function ReadKeyExpr(receiver, index, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n this.receiver = receiver;\r\n this.index = index;\r\n }\r\n ReadKeyExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitReadKeyExpr(this, context);\r\n };\r\n ReadKeyExpr.prototype.set = function (value) {\r\n return new WriteKeyExpr(this.receiver, this.index, value);\r\n };\r\n return ReadKeyExpr;\r\n}(Expression));\r\nexports.ReadKeyExpr = ReadKeyExpr;\r\nvar LiteralArrayExpr = (function (_super) {\r\n __extends(LiteralArrayExpr, _super);\r\n function LiteralArrayExpr(entries, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n this.entries = entries;\r\n }\r\n LiteralArrayExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitLiteralArrayExpr(this, context);\r\n };\r\n return LiteralArrayExpr;\r\n}(Expression));\r\nexports.LiteralArrayExpr = LiteralArrayExpr;\r\nvar LiteralMapExpr = (function (_super) {\r\n __extends(LiteralMapExpr, _super);\r\n function LiteralMapExpr(entries, type) {\r\n if (type === void 0) { type = null; }\r\n _super.call(this, type);\r\n this.entries = entries;\r\n this.valueType = null;\r\n if (lang_1.isPresent(type)) {\r\n this.valueType = type.valueType;\r\n }\r\n }\r\n ;\r\n LiteralMapExpr.prototype.visitExpression = function (visitor, context) {\r\n return visitor.visitLiteralMapExpr(this, context);\r\n };\r\n return LiteralMapExpr;\r\n}(Expression));\r\nexports.LiteralMapExpr = LiteralMapExpr;\r\nexports.THIS_EXPR = new ReadVarExpr(BuiltinVar.This);\r\nexports.SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super);\r\nexports.CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError);\r\nexports.CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack);\r\nexports.NULL_EXPR = new LiteralExpr(null, null);\r\n//// Statements\r\n(function (StmtModifier) {\r\n StmtModifier[StmtModifier[\"Final\"] = 0] = \"Final\";\r\n StmtModifier[StmtModifier[\"Private\"] = 1] = \"Private\";\r\n})(exports.StmtModifier || (exports.StmtModifier = {}));\r\nvar StmtModifier = exports.StmtModifier;\r\nvar Statement = (function () {\r\n function Statement(modifiers) {\r\n if (modifiers === void 0) { modifiers = null; }\r\n this.modifiers = modifiers;\r\n if (lang_1.isBlank(modifiers)) {\r\n this.modifiers = [];\r\n }\r\n }\r\n Statement.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\r\n return Statement;\r\n}());\r\nexports.Statement = Statement;\r\nvar DeclareVarStmt = (function (_super) {\r\n __extends(DeclareVarStmt, _super);\r\n function DeclareVarStmt(name, value, type, modifiers) {\r\n if (type === void 0) { type = null; }\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, modifiers);\r\n this.name = name;\r\n this.value = value;\r\n this.type = lang_1.isPresent(type) ? type : value.type;\r\n }\r\n DeclareVarStmt.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitDeclareVarStmt(this, context);\r\n };\r\n return DeclareVarStmt;\r\n}(Statement));\r\nexports.DeclareVarStmt = DeclareVarStmt;\r\nvar DeclareFunctionStmt = (function (_super) {\r\n __extends(DeclareFunctionStmt, _super);\r\n function DeclareFunctionStmt(name, params, statements, type, modifiers) {\r\n if (type === void 0) { type = null; }\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, modifiers);\r\n this.name = name;\r\n this.params = params;\r\n this.statements = statements;\r\n this.type = type;\r\n }\r\n DeclareFunctionStmt.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitDeclareFunctionStmt(this, context);\r\n };\r\n return DeclareFunctionStmt;\r\n}(Statement));\r\nexports.DeclareFunctionStmt = DeclareFunctionStmt;\r\nvar ExpressionStatement = (function (_super) {\r\n __extends(ExpressionStatement, _super);\r\n function ExpressionStatement(expr) {\r\n _super.call(this);\r\n this.expr = expr;\r\n }\r\n ExpressionStatement.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitExpressionStmt(this, context);\r\n };\r\n return ExpressionStatement;\r\n}(Statement));\r\nexports.ExpressionStatement = ExpressionStatement;\r\nvar ReturnStatement = (function (_super) {\r\n __extends(ReturnStatement, _super);\r\n function ReturnStatement(value) {\r\n _super.call(this);\r\n this.value = value;\r\n }\r\n ReturnStatement.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitReturnStmt(this, context);\r\n };\r\n return ReturnStatement;\r\n}(Statement));\r\nexports.ReturnStatement = ReturnStatement;\r\nvar AbstractClassPart = (function () {\r\n function AbstractClassPart(type, modifiers) {\r\n if (type === void 0) { type = null; }\r\n this.type = type;\r\n this.modifiers = modifiers;\r\n if (lang_1.isBlank(modifiers)) {\r\n this.modifiers = [];\r\n }\r\n }\r\n AbstractClassPart.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\r\n return AbstractClassPart;\r\n}());\r\nexports.AbstractClassPart = AbstractClassPart;\r\nvar ClassField = (function (_super) {\r\n __extends(ClassField, _super);\r\n function ClassField(name, type, modifiers) {\r\n if (type === void 0) { type = null; }\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, type, modifiers);\r\n this.name = name;\r\n }\r\n return ClassField;\r\n}(AbstractClassPart));\r\nexports.ClassField = ClassField;\r\nvar ClassMethod = (function (_super) {\r\n __extends(ClassMethod, _super);\r\n function ClassMethod(name, params, body, type, modifiers) {\r\n if (type === void 0) { type = null; }\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, type, modifiers);\r\n this.name = name;\r\n this.params = params;\r\n this.body = body;\r\n }\r\n return ClassMethod;\r\n}(AbstractClassPart));\r\nexports.ClassMethod = ClassMethod;\r\nvar ClassGetter = (function (_super) {\r\n __extends(ClassGetter, _super);\r\n function ClassGetter(name, body, type, modifiers) {\r\n if (type === void 0) { type = null; }\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, type, modifiers);\r\n this.name = name;\r\n this.body = body;\r\n }\r\n return ClassGetter;\r\n}(AbstractClassPart));\r\nexports.ClassGetter = ClassGetter;\r\nvar ClassStmt = (function (_super) {\r\n __extends(ClassStmt, _super);\r\n function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers) {\r\n if (modifiers === void 0) { modifiers = null; }\r\n _super.call(this, modifiers);\r\n this.name = name;\r\n this.parent = parent;\r\n this.fields = fields;\r\n this.getters = getters;\r\n this.constructorMethod = constructorMethod;\r\n this.methods = methods;\r\n }\r\n ClassStmt.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitDeclareClassStmt(this, context);\r\n };\r\n return ClassStmt;\r\n}(Statement));\r\nexports.ClassStmt = ClassStmt;\r\nvar IfStmt = (function (_super) {\r\n __extends(IfStmt, _super);\r\n function IfStmt(condition, trueCase, falseCase) {\r\n if (falseCase === void 0) { falseCase = lang_1.CONST_EXPR([]); }\r\n _super.call(this);\r\n this.condition = condition;\r\n this.trueCase = trueCase;\r\n this.falseCase = falseCase;\r\n }\r\n IfStmt.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitIfStmt(this, context);\r\n };\r\n return IfStmt;\r\n}(Statement));\r\nexports.IfStmt = IfStmt;\r\nvar CommentStmt = (function (_super) {\r\n __extends(CommentStmt, _super);\r\n function CommentStmt(comment) {\r\n _super.call(this);\r\n this.comment = comment;\r\n }\r\n CommentStmt.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitCommentStmt(this, context);\r\n };\r\n return CommentStmt;\r\n}(Statement));\r\nexports.CommentStmt = CommentStmt;\r\nvar TryCatchStmt = (function (_super) {\r\n __extends(TryCatchStmt, _super);\r\n function TryCatchStmt(bodyStmts, catchStmts) {\r\n _super.call(this);\r\n this.bodyStmts = bodyStmts;\r\n this.catchStmts = catchStmts;\r\n }\r\n TryCatchStmt.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitTryCatchStmt(this, context);\r\n };\r\n return TryCatchStmt;\r\n}(Statement));\r\nexports.TryCatchStmt = TryCatchStmt;\r\nvar ThrowStmt = (function (_super) {\r\n __extends(ThrowStmt, _super);\r\n function ThrowStmt(error) {\r\n _super.call(this);\r\n this.error = error;\r\n }\r\n ThrowStmt.prototype.visitStatement = function (visitor, context) {\r\n return visitor.visitThrowStmt(this, context);\r\n };\r\n return ThrowStmt;\r\n}(Statement));\r\nexports.ThrowStmt = ThrowStmt;\r\nvar ExpressionTransformer = (function () {\r\n function ExpressionTransformer() {\r\n }\r\n ExpressionTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast; };\r\n ExpressionTransformer.prototype.visitWriteVarExpr = function (expr, context) {\r\n return new WriteVarExpr(expr.name, expr.value.visitExpression(this, context));\r\n };\r\n ExpressionTransformer.prototype.visitWriteKeyExpr = function (expr, context) {\r\n return new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context));\r\n };\r\n ExpressionTransformer.prototype.visitWritePropExpr = function (expr, context) {\r\n return new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context));\r\n };\r\n ExpressionTransformer.prototype.visitInvokeMethodExpr = function (ast, context) {\r\n var method = lang_1.isPresent(ast.builtin) ? ast.builtin : ast.name;\r\n return new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type);\r\n };\r\n ExpressionTransformer.prototype.visitInvokeFunctionExpr = function (ast, context) {\r\n return new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\r\n };\r\n ExpressionTransformer.prototype.visitInstantiateExpr = function (ast, context) {\r\n return new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\r\n };\r\n ExpressionTransformer.prototype.visitLiteralExpr = function (ast, context) { return ast; };\r\n ExpressionTransformer.prototype.visitExternalExpr = function (ast, context) { return ast; };\r\n ExpressionTransformer.prototype.visitConditionalExpr = function (ast, context) {\r\n return new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context));\r\n };\r\n ExpressionTransformer.prototype.visitNotExpr = function (ast, context) {\r\n return new NotExpr(ast.condition.visitExpression(this, context));\r\n };\r\n ExpressionTransformer.prototype.visitCastExpr = function (ast, context) {\r\n return new CastExpr(ast.value.visitExpression(this, context), context);\r\n };\r\n ExpressionTransformer.prototype.visitFunctionExpr = function (ast, context) {\r\n // Don't descend into nested functions\r\n return ast;\r\n };\r\n ExpressionTransformer.prototype.visitBinaryOperatorExpr = function (ast, context) {\r\n return new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type);\r\n };\r\n ExpressionTransformer.prototype.visitReadPropExpr = function (ast, context) {\r\n return new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type);\r\n };\r\n ExpressionTransformer.prototype.visitReadKeyExpr = function (ast, context) {\r\n return new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type);\r\n };\r\n ExpressionTransformer.prototype.visitLiteralArrayExpr = function (ast, context) {\r\n return new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context));\r\n };\r\n ExpressionTransformer.prototype.visitLiteralMapExpr = function (ast, context) {\r\n var _this = this;\r\n return new LiteralMapExpr(ast.entries.map(function (entry) { return [entry[0], entry[1].visitExpression(_this, context)]; }));\r\n };\r\n ExpressionTransformer.prototype.visitAllExpressions = function (exprs, context) {\r\n var _this = this;\r\n return exprs.map(function (expr) { return expr.visitExpression(_this, context); });\r\n };\r\n ExpressionTransformer.prototype.visitDeclareVarStmt = function (stmt, context) {\r\n return new DeclareVarStmt(stmt.name, stmt.value.visitExpression(this, context), stmt.type, stmt.modifiers);\r\n };\r\n ExpressionTransformer.prototype.visitDeclareFunctionStmt = function (stmt, context) {\r\n // Don't descend into nested functions\r\n return stmt;\r\n };\r\n ExpressionTransformer.prototype.visitExpressionStmt = function (stmt, context) {\r\n return new ExpressionStatement(stmt.expr.visitExpression(this, context));\r\n };\r\n ExpressionTransformer.prototype.visitReturnStmt = function (stmt, context) {\r\n return new ReturnStatement(stmt.value.visitExpression(this, context));\r\n };\r\n ExpressionTransformer.prototype.visitDeclareClassStmt = function (stmt, context) {\r\n // Don't descend into nested functions\r\n return stmt;\r\n };\r\n ExpressionTransformer.prototype.visitIfStmt = function (stmt, context) {\r\n return new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context));\r\n };\r\n ExpressionTransformer.prototype.visitTryCatchStmt = function (stmt, context) {\r\n return new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context));\r\n };\r\n ExpressionTransformer.prototype.visitThrowStmt = function (stmt, context) {\r\n return new ThrowStmt(stmt.error.visitExpression(this, context));\r\n };\r\n ExpressionTransformer.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\r\n ExpressionTransformer.prototype.visitAllStatements = function (stmts, context) {\r\n var _this = this;\r\n return stmts.map(function (stmt) { return stmt.visitStatement(_this, context); });\r\n };\r\n return ExpressionTransformer;\r\n}());\r\nexports.ExpressionTransformer = ExpressionTransformer;\r\nvar RecursiveExpressionVisitor = (function () {\r\n function RecursiveExpressionVisitor() {\r\n }\r\n RecursiveExpressionVisitor.prototype.visitReadVarExpr = function (ast, context) { return ast; };\r\n RecursiveExpressionVisitor.prototype.visitWriteVarExpr = function (expr, context) {\r\n expr.value.visitExpression(this, context);\r\n return expr;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitWriteKeyExpr = function (expr, context) {\r\n expr.receiver.visitExpression(this, context);\r\n expr.index.visitExpression(this, context);\r\n expr.value.visitExpression(this, context);\r\n return expr;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitWritePropExpr = function (expr, context) {\r\n expr.receiver.visitExpression(this, context);\r\n expr.value.visitExpression(this, context);\r\n return expr;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitInvokeMethodExpr = function (ast, context) {\r\n ast.receiver.visitExpression(this, context);\r\n this.visitAllExpressions(ast.args, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitInvokeFunctionExpr = function (ast, context) {\r\n ast.fn.visitExpression(this, context);\r\n this.visitAllExpressions(ast.args, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitInstantiateExpr = function (ast, context) {\r\n ast.classExpr.visitExpression(this, context);\r\n this.visitAllExpressions(ast.args, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitLiteralExpr = function (ast, context) { return ast; };\r\n RecursiveExpressionVisitor.prototype.visitExternalExpr = function (ast, context) { return ast; };\r\n RecursiveExpressionVisitor.prototype.visitConditionalExpr = function (ast, context) {\r\n ast.condition.visitExpression(this, context);\r\n ast.trueCase.visitExpression(this, context);\r\n ast.falseCase.visitExpression(this, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitNotExpr = function (ast, context) {\r\n ast.condition.visitExpression(this, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitCastExpr = function (ast, context) {\r\n ast.value.visitExpression(this, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitFunctionExpr = function (ast, context) { return ast; };\r\n RecursiveExpressionVisitor.prototype.visitBinaryOperatorExpr = function (ast, context) {\r\n ast.lhs.visitExpression(this, context);\r\n ast.rhs.visitExpression(this, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitReadPropExpr = function (ast, context) {\r\n ast.receiver.visitExpression(this, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitReadKeyExpr = function (ast, context) {\r\n ast.receiver.visitExpression(this, context);\r\n ast.index.visitExpression(this, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitLiteralArrayExpr = function (ast, context) {\r\n this.visitAllExpressions(ast.entries, context);\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitLiteralMapExpr = function (ast, context) {\r\n var _this = this;\r\n ast.entries.forEach(function (entry) { return entry[1].visitExpression(_this, context); });\r\n return ast;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitAllExpressions = function (exprs, context) {\r\n var _this = this;\r\n exprs.forEach(function (expr) { return expr.visitExpression(_this, context); });\r\n };\r\n RecursiveExpressionVisitor.prototype.visitDeclareVarStmt = function (stmt, context) {\r\n stmt.value.visitExpression(this, context);\r\n return stmt;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitDeclareFunctionStmt = function (stmt, context) {\r\n // Don't descend into nested functions\r\n return stmt;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitExpressionStmt = function (stmt, context) {\r\n stmt.expr.visitExpression(this, context);\r\n return stmt;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitReturnStmt = function (stmt, context) {\r\n stmt.value.visitExpression(this, context);\r\n return stmt;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitDeclareClassStmt = function (stmt, context) {\r\n // Don't descend into nested functions\r\n return stmt;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitIfStmt = function (stmt, context) {\r\n stmt.condition.visitExpression(this, context);\r\n this.visitAllStatements(stmt.trueCase, context);\r\n this.visitAllStatements(stmt.falseCase, context);\r\n return stmt;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitTryCatchStmt = function (stmt, context) {\r\n this.visitAllStatements(stmt.bodyStmts, context);\r\n this.visitAllStatements(stmt.catchStmts, context);\r\n return stmt;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitThrowStmt = function (stmt, context) {\r\n stmt.error.visitExpression(this, context);\r\n return stmt;\r\n };\r\n RecursiveExpressionVisitor.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\r\n RecursiveExpressionVisitor.prototype.visitAllStatements = function (stmts, context) {\r\n var _this = this;\r\n stmts.forEach(function (stmt) { return stmt.visitStatement(_this, context); });\r\n };\r\n return RecursiveExpressionVisitor;\r\n}());\r\nexports.RecursiveExpressionVisitor = RecursiveExpressionVisitor;\r\nfunction replaceVarInExpression(varName, newValue, expression) {\r\n var transformer = new _ReplaceVariableTransformer(varName, newValue);\r\n return expression.visitExpression(transformer, null);\r\n}\r\nexports.replaceVarInExpression = replaceVarInExpression;\r\nvar _ReplaceVariableTransformer = (function (_super) {\r\n __extends(_ReplaceVariableTransformer, _super);\r\n function _ReplaceVariableTransformer(_varName, _newValue) {\r\n _super.call(this);\r\n this._varName = _varName;\r\n this._newValue = _newValue;\r\n }\r\n _ReplaceVariableTransformer.prototype.visitReadVarExpr = function (ast, context) {\r\n return ast.name == this._varName ? this._newValue : ast;\r\n };\r\n return _ReplaceVariableTransformer;\r\n}(ExpressionTransformer));\r\nfunction findReadVarNames(stmts) {\r\n var finder = new _VariableFinder();\r\n finder.visitAllStatements(stmts, null);\r\n return finder.varNames;\r\n}\r\nexports.findReadVarNames = findReadVarNames;\r\nvar _VariableFinder = (function (_super) {\r\n __extends(_VariableFinder, _super);\r\n function _VariableFinder() {\r\n _super.apply(this, arguments);\r\n this.varNames = new Set();\r\n }\r\n _VariableFinder.prototype.visitReadVarExpr = function (ast, context) {\r\n this.varNames.add(ast.name);\r\n return null;\r\n };\r\n return _VariableFinder;\r\n}(RecursiveExpressionVisitor));\r\nfunction variable(name, type) {\r\n if (type === void 0) { type = null; }\r\n return new ReadVarExpr(name, type);\r\n}\r\nexports.variable = variable;\r\nfunction importExpr(id, typeParams) {\r\n if (typeParams === void 0) { typeParams = null; }\r\n return new ExternalExpr(id, null, typeParams);\r\n}\r\nexports.importExpr = importExpr;\r\nfunction importType(id, typeParams, typeModifiers) {\r\n if (typeParams === void 0) { typeParams = null; }\r\n if (typeModifiers === void 0) { typeModifiers = null; }\r\n return lang_1.isPresent(id) ? new ExternalType(id, typeParams, typeModifiers) : null;\r\n}\r\nexports.importType = importType;\r\nfunction literal(value, type) {\r\n if (type === void 0) { type = null; }\r\n return new LiteralExpr(value, type);\r\n}\r\nexports.literal = literal;\r\nfunction literalArr(values, type) {\r\n if (type === void 0) { type = null; }\r\n return new LiteralArrayExpr(values, type);\r\n}\r\nexports.literalArr = literalArr;\r\nfunction literalMap(values, type) {\r\n if (type === void 0) { type = null; }\r\n return new LiteralMapExpr(values, type);\r\n}\r\nexports.literalMap = literalMap;\r\nfunction not(expr) {\r\n return new NotExpr(expr);\r\n}\r\nexports.not = not;\r\nfunction fn(params, body, type) {\r\n if (type === void 0) { type = null; }\r\n return new FunctionExpr(params, body, type);\r\n}\r\nexports.fn = fn;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0X2FzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3V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VmlzaXRvciwgRXhwcmVzc2lvblZpc2l0b3Ige1xuICB2aXNpdFJlYWRWYXJFeHByKGFzdDogUmVhZFZhckV4cHIsIGNvbnRleHQ6IGFueSk6IGFueSB7IHJldHVybiBhc3Q7IH1cbiAgdmlzaXRXcml0ZVZhckV4cHIoZXhwcjogV3JpdGVWYXJFeHByLCBjb250ZXh0OiBhbnkpOiBhbnkge1xuICAgIHJldHVybiBuZXcgV3JpdGVWYXJFeHByKGV4cHIubmFtZSwgZXhwci52YWx1ZS52aXNpdEV4cHJlc3Npb24odGhpcywgY29udGV4dCkpO1xuICB9XG4gIHZpc2l0V3JpdGVLZXlFeHByKGV4cHI6IFdyaXRlS2V5RXhwciwgY29udGV4dDogYW55KTogYW55IHtcbiAgICByZXR1cm4gbmV3IFdyaXRlS2V5RXhwcihleHByLnJlY2VpdmVyLnZpc2l0RXhwcmVzc2lvbih0aGlzLCBjb250ZXh0KSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHByLmluZGV4LnZpc2l0RXhwcmVzc2lvbih0aGlzLCBjb250ZXh0KSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHByLnZhbHVlLnZpc2l0RXhwcmVzc2lvbih0aGlzLCBjb250ZXh0KSk7XG4gIH1cbiAgdmlzaXRXcml0ZVByb3BFeHByKGV4cHI6IFdyaXRlUHJvcEV4cHIsIGNvbnRleHQ6IGFueSk6IGFueSB7XG4gICAgcmV0dXJuIG5ldyBXcml0ZVByb3BFeHByKGV4cHIucmVjZWl2ZXIudmlzaXRFeHByZXNzaW9uKHRoaXMsIGNvbnRleHQpLCBleHByLm5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4cHIudmFsdWUudmlzaXRFeHByZXNzaW9uKHRoaXMsIGNvbnRleHQpKTtcbiAgfVxuICB2aXNpdEludm9rZU1ldGhvZEV4cHIoYXN0OiBJbnZva2VNZXRob2RFeHByLCBjb250ZXh0OiBhbnkpOiBhbnkge1xuICAgIHZ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mluYXJ5T3BlcmF0b3JFeHByKGFzdC5vcGVyYXRvciwgYXN0Lmxocy52aXNpdEV4cHJlc3Npb24odGhpcywgY29udGV4dCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXN0LnJocy52aXNpdEV4cHJlc3Npb24odGhpcywgY29udGV4dCksIGFzdC50eXBlKTtcbiAgfVxuICB2aXNpdFJlYWRQcm9wRXhwcihhc3Q6IFJlYWRQcm9wRXhwciwgY29udGV4dDogYW55KTogYW55IHtcbiAgICByZXR1cm4gbmV3IFJlYWRQcm9wRXhwcihhc3QucmVjZWl2ZXIudmlzaXRFeHByZXNzaW9uKHRoaXMsIGNvbnRleHQpLCBhc3QubmFtZSwgYXN0LnR5cGUpO1xuICB9XG4gIHZpc2l0UmVhZEtleUV4cHIoYXN0OiBSZWFkS2V5RXhwciwgY29udGV4dDogYW55KTogYW55IHtcbiAgICByZXR1cm4gbmV3IFJlYWRLZXlFeHByKGFzdC5yZWNlaXZlci52aXNpdEV4cHJlc3Npb24odGhpcywgY29udGV4dCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBhc3QuaW5kZXgudmlzaXRFeHByZXNzaW9uKHRoaXMsIGNvbnRleHQpLCBhc3QudHlwZSk7XG4gIH1cbiAgdmlzaXRMaXRlcmFsQXJyYXlFeHByKGFzdDogTGl0ZXJhbEFycmF5RXhwciwgY29udGV4dDogYW55KTogYW55IHtcbiAgICByZXR1cm4gbmV3IExpdGVyYWxBcnJheUV4cHIodGhpcy52aXNpdEFsbEV4cHJlc3Npb25zKGFzdC5lbnRyaWVzLCBjb250ZXh0KSk7XG4gIH1cbiAgdmlzaXRMaXRlcmFsTWFwRXhwcihhc3Q6IExpdGVyYWxNYXBFeHByLCBjb250ZXh0OiBhbnkpOiBhbnkge1xuICAgIHJldHVybiBuZXcgTGl0ZXJhbE1hcEV4cHIoYXN0LmVudHJpZXMubWFwKFxuICAgICAgICAoZW50cnkpID0+IFtlbnRyeVswXSwgKDxFeHByZX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c2lvbik6IE5vdEV4cHIge1xuICByZXR1cm4gbmV3IE5vdEV4cHIoZXhwcik7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBmbihwYXJhbXM6IEZuUGFyYW1bXSwgYm9keTogU3RhdGVtZW50W10sIHR5cGU6IFR5cGUgPSBudWxsKTogRnVuY3Rpb25FeHByIHtcbiAgcmV0dXJuIG5ldyBGdW5jdGlvbkV4cHIocGFyYW1zLCBib2R5LCB0eXBlKTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar o = require('./output_ast');\r\nvar _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\\\|\\n|\\r|\\$/g;\r\nexports.CATCH_ERROR_VAR = o.variable('error');\r\nexports.CATCH_STACK_VAR = o.variable('stack');\r\nvar OutputEmitter = (function () {\r\n function OutputEmitter() {\r\n }\r\n return OutputEmitter;\r\n}());\r\nexports.OutputEmitter = OutputEmitter;\r\nvar _EmittedLine = (function () {\r\n function _EmittedLine(indent) {\r\n this.indent = indent;\r\n this.parts = [];\r\n }\r\n return _EmittedLine;\r\n}());\r\nvar EmitterVisitorContext = (function () {\r\n function EmitterVisitorContext(_exportedVars, _indent) {\r\n this._exportedVars = _exportedVars;\r\n this._indent = _indent;\r\n this._classes = [];\r\n this._lines = [new _EmittedLine(_indent)];\r\n }\r\n EmitterVisitorContext.createRoot = function (exportedVars) {\r\n return new EmitterVisitorContext(exportedVars, 0);\r\n };\r\n Object.defineProperty(EmitterVisitorContext.prototype, \"_currentLine\", {\r\n get: function () { return this._lines[this._lines.length - 1]; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n EmitterVisitorContext.prototype.isExportedVar = function (varName) { return this._exportedVars.indexOf(varName) !== -1; };\r\n EmitterVisitorContext.prototype.println = function (lastPart) {\r\n if (lastPart === void 0) { lastPart = ''; }\r\n this.print(lastPart, true);\r\n };\r\n EmitterVisitorContext.prototype.lineIsEmpty = function () { return this._currentLine.parts.length === 0; };\r\n EmitterVisitorContext.prototype.print = function (part, newLine) {\r\n if (newLine === void 0) { newLine = false; }\r\n if (part.length > 0) {\r\n this._currentLine.parts.push(part);\r\n }\r\n if (newLine) {\r\n this._lines.push(new _EmittedLine(this._indent));\r\n }\r\n };\r\n EmitterVisitorContext.prototype.removeEmptyLastLine = function () {\r\n if (this.lineIsEmpty()) {\r\n this._lines.pop();\r\n }\r\n };\r\n EmitterVisitorContext.prototype.incIndent = function () {\r\n this._indent++;\r\n this._currentLine.indent = this._indent;\r\n };\r\n EmitterVisitorContext.prototype.decIndent = function () {\r\n this._indent--;\r\n this._currentLine.indent = this._indent;\r\n };\r\n EmitterVisitorContext.prototype.pushClass = function (clazz) { this._classes.push(clazz); };\r\n EmitterVisitorContext.prototype.popClass = function () { return this._classes.pop(); };\r\n Object.defineProperty(EmitterVisitorContext.prototype, \"currentClass\", {\r\n get: function () {\r\n return this._classes.length > 0 ? this._classes[this._classes.length - 1] : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n EmitterVisitorContext.prototype.toSource = function () {\r\n var lines = this._lines;\r\n if (lines[lines.length - 1].parts.length === 0) {\r\n lines = lines.slice(0, lines.length - 1);\r\n }\r\n return lines.map(function (line) {\r\n if (line.parts.length > 0) {\r\n return _createIndent(line.indent) + line.parts.join('');\r\n }\r\n else {\r\n return '';\r\n }\r\n })\r\n .join('\\n');\r\n };\r\n return EmitterVisitorContext;\r\n}());\r\nexports.EmitterVisitorContext = EmitterVisitorContext;\r\nvar AbstractEmitterVisitor = (function () {\r\n function AbstractEmitterVisitor(_escapeDollarInStrings) {\r\n this._escapeDollarInStrings = _escapeDollarInStrings;\r\n }\r\n AbstractEmitterVisitor.prototype.visitExpressionStmt = function (stmt, ctx) {\r\n stmt.expr.visitExpression(this, ctx);\r\n ctx.println(';');\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitReturnStmt = function (stmt, ctx) {\r\n ctx.print(\"return \");\r\n stmt.value.visitExpression(this, ctx);\r\n ctx.println(';');\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitIfStmt = function (stmt, ctx) {\r\n ctx.print(\"if (\");\r\n stmt.condition.visitExpression(this, ctx);\r\n ctx.print(\") {\");\r\n var hasElseCase = lang_1.isPresent(stmt.falseCase) && stmt.falseCase.length > 0;\r\n if (stmt.trueCase.length <= 1 && !hasElseCase) {\r\n ctx.print(\" \");\r\n this.visitAllStatements(stmt.trueCase, ctx);\r\n ctx.removeEmptyLastLine();\r\n ctx.print(\" \");\r\n }\r\n else {\r\n ctx.println();\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.trueCase, ctx);\r\n ctx.decIndent();\r\n if (hasElseCase) {\r\n ctx.println(\"} else {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.falseCase, ctx);\r\n ctx.decIndent();\r\n }\r\n }\r\n ctx.println(\"}\");\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitThrowStmt = function (stmt, ctx) {\r\n ctx.print(\"throw \");\r\n stmt.error.visitExpression(this, ctx);\r\n ctx.println(\";\");\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitCommentStmt = function (stmt, ctx) {\r\n var lines = stmt.comment.split('\\n');\r\n lines.forEach(function (line) { ctx.println(\"// \" + line); });\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitWriteVarExpr = function (expr, ctx) {\r\n var lineWasEmpty = ctx.lineIsEmpty();\r\n if (!lineWasEmpty) {\r\n ctx.print('(');\r\n }\r\n ctx.print(expr.name + \" = \");\r\n expr.value.visitExpression(this, ctx);\r\n if (!lineWasEmpty) {\r\n ctx.print(')');\r\n }\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitWriteKeyExpr = function (expr, ctx) {\r\n var lineWasEmpty = ctx.lineIsEmpty();\r\n if (!lineWasEmpty) {\r\n ctx.print('(');\r\n }\r\n expr.receiver.visitExpression(this, ctx);\r\n ctx.print(\"[\");\r\n expr.index.visitExpression(this, ctx);\r\n ctx.print(\"] = \");\r\n expr.value.visitExpression(this, ctx);\r\n if (!lineWasEmpty) {\r\n ctx.print(')');\r\n }\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitWritePropExpr = function (expr, ctx) {\r\n var lineWasEmpty = ctx.lineIsEmpty();\r\n if (!lineWasEmpty) {\r\n ctx.print('(');\r\n }\r\n expr.receiver.visitExpression(this, ctx);\r\n ctx.print(\".\" + expr.name + \" = \");\r\n expr.value.visitExpression(this, ctx);\r\n if (!lineWasEmpty) {\r\n ctx.print(')');\r\n }\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitInvokeMethodExpr = function (expr, ctx) {\r\n expr.receiver.visitExpression(this, ctx);\r\n var name = expr.name;\r\n if (lang_1.isPresent(expr.builtin)) {\r\n name = this.getBuiltinMethodName(expr.builtin);\r\n if (lang_1.isBlank(name)) {\r\n // some builtins just mean to skip the call.\r\n // e.g. `bind` in Dart.\r\n return null;\r\n }\r\n }\r\n ctx.print(\".\" + name + \"(\");\r\n this.visitAllExpressions(expr.args, ctx, \",\");\r\n ctx.print(\")\");\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitInvokeFunctionExpr = function (expr, ctx) {\r\n expr.fn.visitExpression(this, ctx);\r\n ctx.print(\"(\");\r\n this.visitAllExpressions(expr.args, ctx, ',');\r\n ctx.print(\")\");\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitReadVarExpr = function (ast, ctx) {\r\n var varName = ast.name;\r\n if (lang_1.isPresent(ast.builtin)) {\r\n switch (ast.builtin) {\r\n case o.BuiltinVar.Super:\r\n varName = 'super';\r\n break;\r\n case o.BuiltinVar.This:\r\n varName = 'this';\r\n break;\r\n case o.BuiltinVar.CatchError:\r\n varName = exports.CATCH_ERROR_VAR.name;\r\n break;\r\n case o.BuiltinVar.CatchStack:\r\n varName = exports.CATCH_STACK_VAR.name;\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unknown builtin variable \" + ast.builtin);\r\n }\r\n }\r\n ctx.print(varName);\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitInstantiateExpr = function (ast, ctx) {\r\n ctx.print(\"new \");\r\n ast.classExpr.visitExpression(this, ctx);\r\n ctx.print(\"(\");\r\n this.visitAllExpressions(ast.args, ctx, ',');\r\n ctx.print(\")\");\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitLiteralExpr = function (ast, ctx) {\r\n var value = ast.value;\r\n if (lang_1.isString(value)) {\r\n ctx.print(escapeSingleQuoteString(value, this._escapeDollarInStrings));\r\n }\r\n else if (lang_1.isBlank(value)) {\r\n ctx.print('null');\r\n }\r\n else {\r\n ctx.print(\"\" + value);\r\n }\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitConditionalExpr = function (ast, ctx) {\r\n ctx.print(\"(\");\r\n ast.condition.visitExpression(this, ctx);\r\n ctx.print('? ');\r\n ast.trueCase.visitExpression(this, ctx);\r\n ctx.print(': ');\r\n ast.falseCase.visitExpression(this, ctx);\r\n ctx.print(\")\");\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitNotExpr = function (ast, ctx) {\r\n ctx.print('!');\r\n ast.condition.visitExpression(this, ctx);\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitBinaryOperatorExpr = function (ast, ctx) {\r\n var opStr;\r\n switch (ast.operator) {\r\n case o.BinaryOperator.Equals:\r\n opStr = '==';\r\n break;\r\n case o.BinaryOperator.Identical:\r\n opStr = '===';\r\n break;\r\n case o.BinaryOperator.NotEquals:\r\n opStr = '!=';\r\n break;\r\n case o.BinaryOperator.NotIdentical:\r\n opStr = '!==';\r\n break;\r\n case o.BinaryOperator.And:\r\n opStr = '&&';\r\n break;\r\n case o.BinaryOperator.Or:\r\n opStr = '||';\r\n break;\r\n case o.BinaryOperator.Plus:\r\n opStr = '+';\r\n break;\r\n case o.BinaryOperator.Minus:\r\n opStr = '-';\r\n break;\r\n case o.BinaryOperator.Divide:\r\n opStr = '/';\r\n break;\r\n case o.BinaryOperator.Multiply:\r\n opStr = '*';\r\n break;\r\n case o.BinaryOperator.Modulo:\r\n opStr = '%';\r\n break;\r\n case o.BinaryOperator.Lower:\r\n opStr = '<';\r\n break;\r\n case o.BinaryOperator.LowerEquals:\r\n opStr = '<=';\r\n break;\r\n case o.BinaryOperator.Bigger:\r\n opStr = '>';\r\n break;\r\n case o.BinaryOperator.BiggerEquals:\r\n opStr = '>=';\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unknown operator \" + ast.operator);\r\n }\r\n ctx.print(\"(\");\r\n ast.lhs.visitExpression(this, ctx);\r\n ctx.print(\" \" + opStr + \" \");\r\n ast.rhs.visitExpression(this, ctx);\r\n ctx.print(\")\");\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitReadPropExpr = function (ast, ctx) {\r\n ast.receiver.visitExpression(this, ctx);\r\n ctx.print(\".\");\r\n ctx.print(ast.name);\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitReadKeyExpr = function (ast, ctx) {\r\n ast.receiver.visitExpression(this, ctx);\r\n ctx.print(\"[\");\r\n ast.index.visitExpression(this, ctx);\r\n ctx.print(\"]\");\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitLiteralArrayExpr = function (ast, ctx) {\r\n var useNewLine = ast.entries.length > 1;\r\n ctx.print(\"[\", useNewLine);\r\n ctx.incIndent();\r\n this.visitAllExpressions(ast.entries, ctx, ',', useNewLine);\r\n ctx.decIndent();\r\n ctx.print(\"]\", useNewLine);\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitLiteralMapExpr = function (ast, ctx) {\r\n var _this = this;\r\n var useNewLine = ast.entries.length > 1;\r\n ctx.print(\"{\", useNewLine);\r\n ctx.incIndent();\r\n this.visitAllObjects(function (entry) {\r\n ctx.print(escapeSingleQuoteString(entry[0], _this._escapeDollarInStrings) + \": \");\r\n entry[1].visitExpression(_this, ctx);\r\n }, ast.entries, ctx, ',', useNewLine);\r\n ctx.decIndent();\r\n ctx.print(\"}\", useNewLine);\r\n return null;\r\n };\r\n AbstractEmitterVisitor.prototype.visitAllExpressions = function (expressions, ctx, separator, newLine) {\r\n var _this = this;\r\n if (newLine === void 0) { newLine = false; }\r\n this.visitAllObjects(function (expr) { return expr.visitExpression(_this, ctx); }, expressions, ctx, separator, newLine);\r\n };\r\n AbstractEmitterVisitor.prototype.visitAllObjects = function (handler, expressions, ctx, separator, newLine) {\r\n if (newLine === void 0) { newLine = false; }\r\n for (var i = 0; i < expressions.length; i++) {\r\n if (i > 0) {\r\n ctx.print(separator, newLine);\r\n }\r\n handler(expressions[i]);\r\n }\r\n if (newLine) {\r\n ctx.println();\r\n }\r\n };\r\n AbstractEmitterVisitor.prototype.visitAllStatements = function (statements, ctx) {\r\n var _this = this;\r\n statements.forEach(function (stmt) { return stmt.visitStatement(_this, ctx); });\r\n };\r\n return AbstractEmitterVisitor;\r\n}());\r\nexports.AbstractEmitterVisitor = AbstractEmitterVisitor;\r\nfunction escapeSingleQuoteString(input, escapeDollar) {\r\n if (lang_1.isBlank(input)) {\r\n return null;\r\n }\r\n var body = lang_1.StringWrapper.replaceAllMapped(input, _SINGLE_QUOTE_ESCAPE_STRING_RE, function (match) {\r\n if (match[0] == '$') {\r\n return escapeDollar ? '\\\\$' : '$';\r\n }\r\n else if (match[0] == '\\n') {\r\n return '\\\\n';\r\n }\r\n else if (match[0] == '\\r') {\r\n return '\\\\r';\r\n }\r\n else {\r\n return \"\\\\\" + match[0];\r\n }\r\n });\r\n return \"'\" + body + \"'\";\r\n}\r\nexports.escapeSingleQuoteString = escapeSingleQuoteString;\r\nfunction _createIndent(count) {\r\n var res = '';\r\n for (var i = 0; i < count; i++) {\r\n res += ' ';\r\n }\r\n return res;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY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Fwke21hdGNoWzBdfWA7XG4gICAgfVxuICB9KTtcbiAgcmV0dXJuIGAnJHtib2R5fSdgO1xufVxuXG5mdW5jdGlvbiBfY3JlYXRlSW5kZW50KGNvdW50OiBudW1iZXIpOiBzdHJpbmcge1xuICB2YXIgcmVzID0gJyc7XG4gIGZvciAodmFyIGkgPSAwOyBpIDwgY291bnQ7IGkrKykge1xuICAgIHJlcyArPSAnICAnO1xuICB9XG4gIHJldHVybiByZXM7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n// asset:<package-name>/<realm>/<path-to-module>\r\nvar _ASSET_URL_RE = /asset:([^\\/]+)\\/([^\\/]+)\\/(.+)/g;\r\nvar _PATH_SEP = '/';\r\nvar _PATH_SEP_RE = /\\//g;\r\n(function (ImportEnv) {\r\n ImportEnv[ImportEnv[\"Dart\"] = 0] = \"Dart\";\r\n ImportEnv[ImportEnv[\"JS\"] = 1] = \"JS\";\r\n})(exports.ImportEnv || (exports.ImportEnv = {}));\r\nvar ImportEnv = exports.ImportEnv;\r\n/**\r\n * Returns the module path to use for an import.\r\n */\r\nfunction getImportModulePath(moduleUrlStr, importedUrlStr, importEnv) {\r\n var absolutePathPrefix = importEnv === ImportEnv.Dart ? \"package:\" : '';\r\n var moduleUrl = _AssetUrl.parse(moduleUrlStr, false);\r\n var importedUrl = _AssetUrl.parse(importedUrlStr, true);\r\n if (lang_1.isBlank(importedUrl)) {\r\n return importedUrlStr;\r\n }\r\n // Try to create a relative path first\r\n if (moduleUrl.firstLevelDir == importedUrl.firstLevelDir &&\r\n moduleUrl.packageName == importedUrl.packageName) {\r\n return getRelativePath(moduleUrl.modulePath, importedUrl.modulePath, importEnv);\r\n }\r\n else if (importedUrl.firstLevelDir == 'lib') {\r\n return \"\" + absolutePathPrefix + importedUrl.packageName + \"/\" + importedUrl.modulePath;\r\n }\r\n throw new exceptions_1.BaseException(\"Can't import url \" + importedUrlStr + \" from \" + moduleUrlStr);\r\n}\r\nexports.getImportModulePath = getImportModulePath;\r\nvar _AssetUrl = (function () {\r\n function _AssetUrl(packageName, firstLevelDir, modulePath) {\r\n this.packageName = packageName;\r\n this.firstLevelDir = firstLevelDir;\r\n this.modulePath = modulePath;\r\n }\r\n _AssetUrl.parse = function (url, allowNonMatching) {\r\n var match = lang_1.RegExpWrapper.firstMatch(_ASSET_URL_RE, url);\r\n if (lang_1.isPresent(match)) {\r\n return new _AssetUrl(match[1], match[2], match[3]);\r\n }\r\n if (allowNonMatching) {\r\n return null;\r\n }\r\n throw new exceptions_1.BaseException(\"Url \" + url + \" is not a valid asset: url\");\r\n };\r\n return _AssetUrl;\r\n}());\r\nfunction getRelativePath(modulePath, importedPath, importEnv) {\r\n var moduleParts = modulePath.split(_PATH_SEP_RE);\r\n var importedParts = importedPath.split(_PATH_SEP_RE);\r\n var longestPrefix = getLongestPathSegmentPrefix(moduleParts, importedParts);\r\n var resultParts = [];\r\n var goParentCount = moduleParts.length - 1 - longestPrefix;\r\n for (var i = 0; i < goParentCount; i++) {\r\n resultParts.push('..');\r\n }\r\n if (goParentCount <= 0 && importEnv === ImportEnv.JS) {\r\n resultParts.push('.');\r\n }\r\n for (var i = longestPrefix; i < importedParts.length; i++) {\r\n resultParts.push(importedParts[i]);\r\n }\r\n return resultParts.join(_PATH_SEP);\r\n}\r\nexports.getRelativePath = getRelativePath;\r\nfunction getLongestPathSegmentPrefix(arr1, arr2) {\r\n var prefixSize = 0;\r\n var minLen = lang_1.Math.min(arr1.length, arr2.length);\r\n while (prefixSize < minLen && arr1[prefixSize] == arr2[prefixSize]) {\r\n prefixSize++;\r\n }\r\n return prefixSize;\r\n}\r\nexports.getLongestPathSegmentPrefix = getLongestPathSegmentPrefix;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0aF91dGlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvd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dFBhdGhTZWdtZW50UHJlZml4KGFycjE6IHN0cmluZ1tdLCBhcnIyOiBzdHJpbmdbXSk6IG51bWJlciB7XG4gIHZhciBwcmVmaXhTaXplID0gMDtcbiAgdmFyIG1pbkxlbiA9IE1hdGgubWluKGFycjEubGVuZ3RoLCBhcnIyLmxlbmd0aCk7XG4gIHdoaWxlIChwcmVmaXhTaXplIDwgbWluTGVuICYmIGFycjFbcHJlZml4U2l6ZV0gPT0gYXJyMltwcmVmaXhTaXplXSkge1xuICAgIHByZWZpeFNpemUrKztcbiAgfVxuICByZXR1cm4gcHJlZml4U2l6ZTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar o = require('./output_ast');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar abstract_emitter_1 = require('./abstract_emitter');\r\nvar path_util_1 = require('./path_util');\r\nvar _debugModuleUrl = 'asset://debug/lib';\r\nfunction debugOutputAstAsTypeScript(ast) {\r\n var converter = new _TsEmitterVisitor(_debugModuleUrl);\r\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot([]);\r\n var asts;\r\n if (lang_1.isArray(ast)) {\r\n asts = ast;\r\n }\r\n else {\r\n asts = [ast];\r\n }\r\n asts.forEach(function (ast) {\r\n if (ast instanceof o.Statement) {\r\n ast.visitStatement(converter, ctx);\r\n }\r\n else if (ast instanceof o.Expression) {\r\n ast.visitExpression(converter, ctx);\r\n }\r\n else if (ast instanceof o.Type) {\r\n ast.visitType(converter, ctx);\r\n }\r\n else {\r\n throw new exceptions_1.BaseException(\"Don't know how to print debug info for \" + ast);\r\n }\r\n });\r\n return ctx.toSource();\r\n}\r\nexports.debugOutputAstAsTypeScript = debugOutputAstAsTypeScript;\r\nvar TypeScriptEmitter = (function () {\r\n function TypeScriptEmitter() {\r\n }\r\n TypeScriptEmitter.prototype.emitStatements = function (moduleUrl, stmts, exportedVars) {\r\n var converter = new _TsEmitterVisitor(moduleUrl);\r\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot(exportedVars);\r\n converter.visitAllStatements(stmts, ctx);\r\n var srcParts = [];\r\n converter.importsWithPrefixes.forEach(function (prefix, importedModuleUrl) {\r\n // Note: can't write the real word for import as it screws up system.js auto detection...\r\n srcParts.push(\"imp\" +\r\n (\"ort * as \" + prefix + \" from '\" + path_util_1.getImportModulePath(moduleUrl, importedModuleUrl, path_util_1.ImportEnv.JS) + \"';\"));\r\n });\r\n srcParts.push(ctx.toSource());\r\n return srcParts.join('\\n');\r\n };\r\n return TypeScriptEmitter;\r\n}());\r\nexports.TypeScriptEmitter = TypeScriptEmitter;\r\nvar _TsEmitterVisitor = (function (_super) {\r\n __extends(_TsEmitterVisitor, _super);\r\n function _TsEmitterVisitor(_moduleUrl) {\r\n _super.call(this, false);\r\n this._moduleUrl = _moduleUrl;\r\n this.importsWithPrefixes = new Map();\r\n }\r\n _TsEmitterVisitor.prototype.visitExternalExpr = function (ast, ctx) {\r\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitDeclareVarStmt = function (stmt, ctx) {\r\n if (ctx.isExportedVar(stmt.name)) {\r\n ctx.print(\"export \");\r\n }\r\n if (stmt.hasModifier(o.StmtModifier.Final)) {\r\n ctx.print(\"const\");\r\n }\r\n else {\r\n ctx.print(\"var\");\r\n }\r\n ctx.print(\" \" + stmt.name);\r\n if (lang_1.isPresent(stmt.type)) {\r\n ctx.print(\":\");\r\n stmt.type.visitType(this, ctx);\r\n }\r\n ctx.print(\" = \");\r\n stmt.value.visitExpression(this, ctx);\r\n ctx.println(\";\");\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitCastExpr = function (ast, ctx) {\r\n ctx.print(\"(<\");\r\n ast.type.visitType(this, ctx);\r\n ctx.print(\">\");\r\n ast.value.visitExpression(this, ctx);\r\n ctx.print(\")\");\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitDeclareClassStmt = function (stmt, ctx) {\r\n var _this = this;\r\n ctx.pushClass(stmt);\r\n if (ctx.isExportedVar(stmt.name)) {\r\n ctx.print(\"export \");\r\n }\r\n ctx.print(\"class \" + stmt.name);\r\n if (lang_1.isPresent(stmt.parent)) {\r\n ctx.print(\" extends \");\r\n stmt.parent.visitExpression(this, ctx);\r\n }\r\n ctx.println(\" {\");\r\n ctx.incIndent();\r\n stmt.fields.forEach(function (field) { return _this._visitClassField(field, ctx); });\r\n if (lang_1.isPresent(stmt.constructorMethod)) {\r\n this._visitClassConstructor(stmt, ctx);\r\n }\r\n stmt.getters.forEach(function (getter) { return _this._visitClassGetter(getter, ctx); });\r\n stmt.methods.forEach(function (method) { return _this._visitClassMethod(method, ctx); });\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n ctx.popClass();\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype._visitClassField = function (field, ctx) {\r\n if (field.hasModifier(o.StmtModifier.Private)) {\r\n ctx.print(\"private \");\r\n }\r\n ctx.print(field.name);\r\n if (lang_1.isPresent(field.type)) {\r\n ctx.print(\":\");\r\n field.type.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\": any\");\r\n }\r\n ctx.println(\";\");\r\n };\r\n _TsEmitterVisitor.prototype._visitClassGetter = function (getter, ctx) {\r\n if (getter.hasModifier(o.StmtModifier.Private)) {\r\n ctx.print(\"private \");\r\n }\r\n ctx.print(\"get \" + getter.name + \"()\");\r\n if (lang_1.isPresent(getter.type)) {\r\n ctx.print(\":\");\r\n getter.type.visitType(this, ctx);\r\n }\r\n ctx.println(\" {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(getter.body, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n };\r\n _TsEmitterVisitor.prototype._visitClassConstructor = function (stmt, ctx) {\r\n ctx.print(\"constructor(\");\r\n this._visitParams(stmt.constructorMethod.params, ctx);\r\n ctx.println(\") {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.constructorMethod.body, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n };\r\n _TsEmitterVisitor.prototype._visitClassMethod = function (method, ctx) {\r\n if (method.hasModifier(o.StmtModifier.Private)) {\r\n ctx.print(\"private \");\r\n }\r\n ctx.print(method.name + \"(\");\r\n this._visitParams(method.params, ctx);\r\n ctx.print(\"):\");\r\n if (lang_1.isPresent(method.type)) {\r\n method.type.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"void\");\r\n }\r\n ctx.println(\" {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(method.body, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n };\r\n _TsEmitterVisitor.prototype.visitFunctionExpr = function (ast, ctx) {\r\n ctx.print(\"(\");\r\n this._visitParams(ast.params, ctx);\r\n ctx.print(\"):\");\r\n if (lang_1.isPresent(ast.type)) {\r\n ast.type.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"void\");\r\n }\r\n ctx.println(\" => {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(ast.statements, ctx);\r\n ctx.decIndent();\r\n ctx.print(\"}\");\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\r\n if (ctx.isExportedVar(stmt.name)) {\r\n ctx.print(\"export \");\r\n }\r\n ctx.print(\"function \" + stmt.name + \"(\");\r\n this._visitParams(stmt.params, ctx);\r\n ctx.print(\"):\");\r\n if (lang_1.isPresent(stmt.type)) {\r\n stmt.type.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"void\");\r\n }\r\n ctx.println(\" {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.statements, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitTryCatchStmt = function (stmt, ctx) {\r\n ctx.println(\"try {\");\r\n ctx.incIndent();\r\n this.visitAllStatements(stmt.bodyStmts, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"} catch (\" + abstract_emitter_1.CATCH_ERROR_VAR.name + \") {\");\r\n ctx.incIndent();\r\n var catchStmts = [\r\n abstract_emitter_1.CATCH_STACK_VAR.set(abstract_emitter_1.CATCH_ERROR_VAR.prop('stack'))\r\n .toDeclStmt(null, [o.StmtModifier.Final])\r\n ].concat(stmt.catchStmts);\r\n this.visitAllStatements(catchStmts, ctx);\r\n ctx.decIndent();\r\n ctx.println(\"}\");\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitBuiltintType = function (type, ctx) {\r\n var typeStr;\r\n switch (type.name) {\r\n case o.BuiltinTypeName.Bool:\r\n typeStr = 'boolean';\r\n break;\r\n case o.BuiltinTypeName.Dynamic:\r\n typeStr = 'any';\r\n break;\r\n case o.BuiltinTypeName.Function:\r\n typeStr = 'Function';\r\n break;\r\n case o.BuiltinTypeName.Number:\r\n typeStr = 'number';\r\n break;\r\n case o.BuiltinTypeName.Int:\r\n typeStr = 'number';\r\n break;\r\n case o.BuiltinTypeName.String:\r\n typeStr = 'string';\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unsupported builtin type \" + type.name);\r\n }\r\n ctx.print(typeStr);\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitExternalType = function (ast, ctx) {\r\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitArrayType = function (type, ctx) {\r\n if (lang_1.isPresent(type.of)) {\r\n type.of.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"any\");\r\n }\r\n ctx.print(\"[]\");\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.visitMapType = function (type, ctx) {\r\n ctx.print(\"{[key: string]:\");\r\n if (lang_1.isPresent(type.valueType)) {\r\n type.valueType.visitType(this, ctx);\r\n }\r\n else {\r\n ctx.print(\"any\");\r\n }\r\n ctx.print(\"}\");\r\n return null;\r\n };\r\n _TsEmitterVisitor.prototype.getBuiltinMethodName = function (method) {\r\n var name;\r\n switch (method) {\r\n case o.BuiltinMethod.ConcatArray:\r\n name = 'concat';\r\n break;\r\n case o.BuiltinMethod.SubscribeObservable:\r\n name = 'subscribe';\r\n break;\r\n case o.BuiltinMethod.bind:\r\n name = 'bind';\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unknown builtin method: \" + method);\r\n }\r\n return name;\r\n };\r\n _TsEmitterVisitor.prototype._visitParams = function (params, ctx) {\r\n var _this = this;\r\n this.visitAllObjects(function (param) {\r\n ctx.print(param.name);\r\n if (lang_1.isPresent(param.type)) {\r\n ctx.print(\":\");\r\n param.type.visitType(_this, ctx);\r\n }\r\n }, params, ctx, ',');\r\n };\r\n _TsEmitterVisitor.prototype._visitIdentifier = function (value, typeParams, ctx) {\r\n var _this = this;\r\n if (lang_1.isPresent(value.moduleUrl) && value.moduleUrl != this._moduleUrl) {\r\n var prefix = this.importsWithPrefixes.get(value.moduleUrl);\r\n if (lang_1.isBlank(prefix)) {\r\n prefix = \"import\" + this.importsWithPrefixes.size;\r\n this.importsWithPrefixes.set(value.moduleUrl, prefix);\r\n }\r\n ctx.print(prefix + \".\");\r\n }\r\n ctx.print(value.name);\r\n if (lang_1.isPresent(typeParams) && typeParams.length > 0) {\r\n ctx.print(\"<\");\r\n this.visitAllObjects(function (type) { return type.visitType(_this, ctx); }, typeParams, ctx, ',');\r\n ctx.print(\">\");\r\n }\r\n };\r\n return _TsEmitterVisitor;\r\n}(abstract_emitter_1.AbstractEmitterVisitor));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHNfZW1pdHRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZp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AgIH0sIHBhcmFtcywgY3R4LCAnLCcpO1xuICB9XG5cbiAgcHJpdmF0ZSBfdmlzaXRJZGVudGlmaWVyKHZhbHVlOiBDb21waWxlSWRlbnRpZmllck1ldGFkYXRhLCB0eXBlUGFyYW1zOiBvLlR5cGVbXSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIGN0eDogRW1pdHRlclZpc2l0b3JDb250ZXh0KTogdm9pZCB7XG4gICAgaWYgKGlzUHJlc2VudCh2YWx1ZS5tb2R1bGVVcmwpICYmIHZhbHVlLm1vZHVsZVVybCAhPSB0aGlzLl9tb2R1bGVVcmwpIHtcbiAgICAgIHZhciBwcmVmaXggPSB0aGlzLmltcG9ydHNXaXRoUHJlZml4ZXMuZ2V0KHZhbHVlLm1vZHVsZVVybCk7XG4gICAgICBpZiAoaXNCbGFuayhwcmVmaXgpKSB7XG4gICAgICAgIHByZWZpeCA9IGBpbXBvcnQke3RoaXMuaW1wb3J0c1dpdGhQcmVmaXhlcy5zaXplfWA7XG4gICAgICAgIHRoaXMuaW1wb3J0c1dpdGhQcmVmaXhlcy5zZXQodmFsdWUubW9kdWxlVXJsLCBwcmVmaXgpO1xuICAgICAgfVxuICAgICAgY3R4LnByaW50KGAke3ByZWZpeH0uYCk7XG4gICAgfVxuICAgIGN0eC5wcmludCh2YWx1ZS5uYW1lKTtcbiAgICBpZiAoaXNQcmVzZW50KHR5cGVQYXJhbXMpICYmIHR5cGVQYXJhbXMubGVuZ3RoID4gMCkge1xuICAgICAgY3R4LnByaW50KGA8YCk7XG4gICAgICB0aGlzLnZpc2l0QWxsT2JqZWN0cygodHlwZSkgPT4gdHlwZS52aXNpdFR5cGUodGhpcywgY3R4KSwgdHlwZVBhcmFtcywgY3R4LCAnLCcpO1xuICAgICAgY3R4LnByaW50KGA+YCk7XG4gICAgfVxuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar o = require('./output_ast');\r\nvar reflection_1 = require('angular2/src/core/reflection/reflection');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar dart_emitter_1 = require('./dart_emitter');\r\nvar ts_emitter_1 = require('./ts_emitter');\r\nfunction interpretStatements(statements, resultVar, instanceFactory) {\r\n var stmtsWithReturn = statements.concat([new o.ReturnStatement(o.variable(resultVar))]);\r\n var ctx = new _ExecutionContext(null, null, null, null, new Map(), new Map(), new Map(), new Map(), instanceFactory);\r\n var visitor = new StatementInterpreter();\r\n var result = visitor.visitAllStatements(stmtsWithReturn, ctx);\r\n return lang_1.isPresent(result) ? result.value : null;\r\n}\r\nexports.interpretStatements = interpretStatements;\r\nvar DynamicInstance = (function () {\r\n function DynamicInstance() {\r\n }\r\n Object.defineProperty(DynamicInstance.prototype, \"props\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DynamicInstance.prototype, \"getters\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DynamicInstance.prototype, \"methods\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DynamicInstance.prototype, \"clazz\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return DynamicInstance;\r\n}());\r\nexports.DynamicInstance = DynamicInstance;\r\nfunction isDynamicInstance(instance) {\r\n if (lang_1.IS_DART) {\r\n return instance instanceof DynamicInstance;\r\n }\r\n else {\r\n return lang_1.isPresent(instance) && lang_1.isPresent(instance.props) && lang_1.isPresent(instance.getters) &&\r\n lang_1.isPresent(instance.methods);\r\n }\r\n}\r\nfunction _executeFunctionStatements(varNames, varValues, statements, ctx, visitor) {\r\n var childCtx = ctx.createChildWihtLocalVars();\r\n for (var i = 0; i < varNames.length; i++) {\r\n childCtx.vars.set(varNames[i], varValues[i]);\r\n }\r\n var result = visitor.visitAllStatements(statements, childCtx);\r\n return lang_1.isPresent(result) ? result.value : null;\r\n}\r\nvar _ExecutionContext = (function () {\r\n function _ExecutionContext(parent, superClass, superInstance, className, vars, props, getters, methods, instanceFactory) {\r\n this.parent = parent;\r\n this.superClass = superClass;\r\n this.superInstance = superInstance;\r\n this.className = className;\r\n this.vars = vars;\r\n this.props = props;\r\n this.getters = getters;\r\n this.methods = methods;\r\n this.instanceFactory = instanceFactory;\r\n }\r\n _ExecutionContext.prototype.createChildWihtLocalVars = function () {\r\n return new _ExecutionContext(this, this.superClass, this.superInstance, this.className, new Map(), this.props, this.getters, this.methods, this.instanceFactory);\r\n };\r\n return _ExecutionContext;\r\n}());\r\nvar ReturnValue = (function () {\r\n function ReturnValue(value) {\r\n this.value = value;\r\n }\r\n return ReturnValue;\r\n}());\r\nvar _DynamicClass = (function () {\r\n function _DynamicClass(_classStmt, _ctx, _visitor) {\r\n this._classStmt = _classStmt;\r\n this._ctx = _ctx;\r\n this._visitor = _visitor;\r\n }\r\n _DynamicClass.prototype.instantiate = function (args) {\r\n var _this = this;\r\n var props = new Map();\r\n var getters = new Map();\r\n var methods = new Map();\r\n var superClass = this._classStmt.parent.visitExpression(this._visitor, this._ctx);\r\n var instanceCtx = new _ExecutionContext(this._ctx, superClass, null, this._classStmt.name, this._ctx.vars, props, getters, methods, this._ctx.instanceFactory);\r\n this._classStmt.fields.forEach(function (field) { props.set(field.name, null); });\r\n this._classStmt.getters.forEach(function (getter) {\r\n getters.set(getter.name, function () { return _executeFunctionStatements([], [], getter.body, instanceCtx, _this._visitor); });\r\n });\r\n this._classStmt.methods.forEach(function (method) {\r\n var paramNames = method.params.map(function (param) { return param.name; });\r\n methods.set(method.name, _declareFn(paramNames, method.body, instanceCtx, _this._visitor));\r\n });\r\n var ctorParamNames = this._classStmt.constructorMethod.params.map(function (param) { return param.name; });\r\n _executeFunctionStatements(ctorParamNames, args, this._classStmt.constructorMethod.body, instanceCtx, this._visitor);\r\n return instanceCtx.superInstance;\r\n };\r\n _DynamicClass.prototype.debugAst = function () { return this._visitor.debugAst(this._classStmt); };\r\n return _DynamicClass;\r\n}());\r\nvar StatementInterpreter = (function () {\r\n function StatementInterpreter() {\r\n }\r\n StatementInterpreter.prototype.debugAst = function (ast) {\r\n return lang_1.IS_DART ? dart_emitter_1.debugOutputAstAsDart(ast) : ts_emitter_1.debugOutputAstAsTypeScript(ast);\r\n };\r\n StatementInterpreter.prototype.visitDeclareVarStmt = function (stmt, ctx) {\r\n ctx.vars.set(stmt.name, stmt.value.visitExpression(this, ctx));\r\n return null;\r\n };\r\n StatementInterpreter.prototype.visitWriteVarExpr = function (expr, ctx) {\r\n var value = expr.value.visitExpression(this, ctx);\r\n var currCtx = ctx;\r\n while (currCtx != null) {\r\n if (currCtx.vars.has(expr.name)) {\r\n currCtx.vars.set(expr.name, value);\r\n return value;\r\n }\r\n currCtx = currCtx.parent;\r\n }\r\n throw new exceptions_1.BaseException(\"Not declared variable \" + expr.name);\r\n };\r\n StatementInterpreter.prototype.visitReadVarExpr = function (ast, ctx) {\r\n var varName = ast.name;\r\n if (lang_1.isPresent(ast.builtin)) {\r\n switch (ast.builtin) {\r\n case o.BuiltinVar.Super:\r\n case o.BuiltinVar.This:\r\n return ctx.superInstance;\r\n case o.BuiltinVar.CatchError:\r\n varName = CATCH_ERROR_VAR;\r\n break;\r\n case o.BuiltinVar.CatchStack:\r\n varName = CATCH_STACK_VAR;\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unknown builtin variable \" + ast.builtin);\r\n }\r\n }\r\n var currCtx = ctx;\r\n while (currCtx != null) {\r\n if (currCtx.vars.has(varName)) {\r\n return currCtx.vars.get(varName);\r\n }\r\n currCtx = currCtx.parent;\r\n }\r\n throw new exceptions_1.BaseException(\"Not declared variable \" + varName);\r\n };\r\n StatementInterpreter.prototype.visitWriteKeyExpr = function (expr, ctx) {\r\n var receiver = expr.receiver.visitExpression(this, ctx);\r\n var index = expr.index.visitExpression(this, ctx);\r\n var value = expr.value.visitExpression(this, ctx);\r\n receiver[index] = value;\r\n return value;\r\n };\r\n StatementInterpreter.prototype.visitWritePropExpr = function (expr, ctx) {\r\n var receiver = expr.receiver.visitExpression(this, ctx);\r\n var value = expr.value.visitExpression(this, ctx);\r\n if (isDynamicInstance(receiver)) {\r\n var di = receiver;\r\n if (di.props.has(expr.name)) {\r\n di.props.set(expr.name, value);\r\n }\r\n else {\r\n reflection_1.reflector.setter(expr.name)(receiver, value);\r\n }\r\n }\r\n else {\r\n reflection_1.reflector.setter(expr.name)(receiver, value);\r\n }\r\n return value;\r\n };\r\n StatementInterpreter.prototype.visitInvokeMethodExpr = function (expr, ctx) {\r\n var receiver = expr.receiver.visitExpression(this, ctx);\r\n var args = this.visitAllExpressions(expr.args, ctx);\r\n var result;\r\n if (lang_1.isPresent(expr.builtin)) {\r\n switch (expr.builtin) {\r\n case o.BuiltinMethod.ConcatArray:\r\n result = collection_1.ListWrapper.concat(receiver, args[0]);\r\n break;\r\n case o.BuiltinMethod.SubscribeObservable:\r\n result = async_1.ObservableWrapper.subscribe(receiver, args[0]);\r\n break;\r\n case o.BuiltinMethod.bind:\r\n if (lang_1.IS_DART) {\r\n result = receiver;\r\n }\r\n else {\r\n result = receiver.bind(args[0]);\r\n }\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Unknown builtin method \" + expr.builtin);\r\n }\r\n }\r\n else if (isDynamicInstance(receiver)) {\r\n var di = receiver;\r\n if (di.methods.has(expr.name)) {\r\n result = lang_1.FunctionWrapper.apply(di.methods.get(expr.name), args);\r\n }\r\n else {\r\n result = reflection_1.reflector.method(expr.name)(receiver, args);\r\n }\r\n }\r\n else {\r\n result = reflection_1.reflector.method(expr.name)(receiver, args);\r\n }\r\n return result;\r\n };\r\n StatementInterpreter.prototype.visitInvokeFunctionExpr = function (stmt, ctx) {\r\n var args = this.visitAllExpressions(stmt.args, ctx);\r\n var fnExpr = stmt.fn;\r\n if (fnExpr instanceof o.ReadVarExpr && fnExpr.builtin === o.BuiltinVar.Super) {\r\n ctx.superInstance = ctx.instanceFactory.createInstance(ctx.superClass, ctx.className, args, ctx.props, ctx.getters, ctx.methods);\r\n ctx.parent.superInstance = ctx.superInstance;\r\n return null;\r\n }\r\n else {\r\n var fn = stmt.fn.visitExpression(this, ctx);\r\n return lang_1.FunctionWrapper.apply(fn, args);\r\n }\r\n };\r\n StatementInterpreter.prototype.visitReturnStmt = function (stmt, ctx) {\r\n return new ReturnValue(stmt.value.visitExpression(this, ctx));\r\n };\r\n StatementInterpreter.prototype.visitDeclareClassStmt = function (stmt, ctx) {\r\n var clazz = new _DynamicClass(stmt, ctx, this);\r\n ctx.vars.set(stmt.name, clazz);\r\n return null;\r\n };\r\n StatementInterpreter.prototype.visitExpressionStmt = function (stmt, ctx) {\r\n return stmt.expr.visitExpression(this, ctx);\r\n };\r\n StatementInterpreter.prototype.visitIfStmt = function (stmt, ctx) {\r\n var condition = stmt.condition.visitExpression(this, ctx);\r\n if (condition) {\r\n return this.visitAllStatements(stmt.trueCase, ctx);\r\n }\r\n else if (lang_1.isPresent(stmt.falseCase)) {\r\n return this.visitAllStatements(stmt.falseCase, ctx);\r\n }\r\n return null;\r\n };\r\n StatementInterpreter.prototype.visitTryCatchStmt = function (stmt, ctx) {\r\n try {\r\n return this.visitAllStatements(stmt.bodyStmts, ctx);\r\n }\r\n catch (e) {\r\n var childCtx = ctx.createChildWihtLocalVars();\r\n childCtx.vars.set(CATCH_ERROR_VAR, e);\r\n childCtx.vars.set(CATCH_STACK_VAR, e.stack);\r\n return this.visitAllStatements(stmt.catchStmts, childCtx);\r\n }\r\n };\r\n StatementInterpreter.prototype.visitThrowStmt = function (stmt, ctx) {\r\n throw stmt.error.visitExpression(this, ctx);\r\n };\r\n StatementInterpreter.prototype.visitCommentStmt = function (stmt, context) { return null; };\r\n StatementInterpreter.prototype.visitInstantiateExpr = function (ast, ctx) {\r\n var args = this.visitAllExpressions(ast.args, ctx);\r\n var clazz = ast.classExpr.visitExpression(this, ctx);\r\n if (clazz instanceof _DynamicClass) {\r\n return clazz.instantiate(args);\r\n }\r\n else {\r\n return lang_1.FunctionWrapper.apply(reflection_1.reflector.factory(clazz), args);\r\n }\r\n };\r\n StatementInterpreter.prototype.visitLiteralExpr = function (ast, ctx) { return ast.value; };\r\n StatementInterpreter.prototype.visitExternalExpr = function (ast, ctx) { return ast.value.runtime; };\r\n StatementInterpreter.prototype.visitConditionalExpr = function (ast, ctx) {\r\n if (ast.condition.visitExpression(this, ctx)) {\r\n return ast.trueCase.visitExpression(this, ctx);\r\n }\r\n else if (lang_1.isPresent(ast.falseCase)) {\r\n return ast.falseCase.visitExpression(this, ctx);\r\n }\r\n return null;\r\n };\r\n StatementInterpreter.prototype.visitNotExpr = function (ast, ctx) {\r\n return !ast.condition.visitExpression(this, ctx);\r\n };\r\n StatementInterpreter.prototype.visitCastExpr = function (ast, ctx) {\r\n return ast.value.visitExpression(this, ctx);\r\n };\r\n StatementInterpreter.prototype.visitFunctionExpr = function (ast, ctx) {\r\n var paramNames = ast.params.map(function (param) { return param.name; });\r\n return _declareFn(paramNames, ast.statements, ctx, this);\r\n };\r\n StatementInterpreter.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\r\n var paramNames = stmt.params.map(function (param) { return param.name; });\r\n ctx.vars.set(stmt.name, _declareFn(paramNames, stmt.statements, ctx, this));\r\n return null;\r\n };\r\n StatementInterpreter.prototype.visitBinaryOperatorExpr = function (ast, ctx) {\r\n var _this = this;\r\n var lhs = function () { return ast.lhs.visitExpression(_this, ctx); };\r\n var rhs = function () { return ast.rhs.visitExpression(_this, ctx); };\r\n switch (ast.operator) {\r\n case o.BinaryOperator.Equals:\r\n return lhs() == rhs();\r\n case o.BinaryOperator.Identical:\r\n return lhs() === rhs();\r\n case o.BinaryOperator.NotEquals:\r\n return lhs() != rhs();\r\n case o.BinaryOperator.NotIdentical:\r\n return lhs() !== rhs();\r\n case o.BinaryOperator.And:\r\n return lhs() && rhs();\r\n case o.BinaryOperator.Or:\r\n return lhs() || rhs();\r\n case o.BinaryOperator.Plus:\r\n return lhs() + rhs();\r\n case o.BinaryOperator.Minus:\r\n return lhs() - rhs();\r\n case o.BinaryOperator.Divide:\r\n return lhs() / rhs();\r\n case o.BinaryOperator.Multiply:\r\n return lhs() * rhs();\r\n case o.BinaryOperator.Modulo:\r\n return lhs() % rhs();\r\n case o.BinaryOperator.Lower:\r\n return lhs() < rhs();\r\n case o.BinaryOperator.LowerEquals:\r\n return lhs() <= rhs();\r\n case o.BinaryOperator.Bigger:\r\n return lhs() > rhs();\r\n case o.BinaryOperator.BiggerEquals:\r\n return lhs() >= rhs();\r\n default:\r\n throw new exceptions_1.BaseException(\"Unknown operator \" + ast.operator);\r\n }\r\n };\r\n StatementInterpreter.prototype.visitReadPropExpr = function (ast, ctx) {\r\n var result;\r\n var receiver = ast.receiver.visitExpression(this, ctx);\r\n if (isDynamicInstance(receiver)) {\r\n var di = receiver;\r\n if (di.props.has(ast.name)) {\r\n result = di.props.get(ast.name);\r\n }\r\n else if (di.getters.has(ast.name)) {\r\n result = di.getters.get(ast.name)();\r\n }\r\n else if (di.methods.has(ast.name)) {\r\n result = di.methods.get(ast.name);\r\n }\r\n else {\r\n result = reflection_1.reflector.getter(ast.name)(receiver);\r\n }\r\n }\r\n else {\r\n result = reflection_1.reflector.getter(ast.name)(receiver);\r\n }\r\n return result;\r\n };\r\n StatementInterpreter.prototype.visitReadKeyExpr = function (ast, ctx) {\r\n var receiver = ast.receiver.visitExpression(this, ctx);\r\n var prop = ast.index.visitExpression(this, ctx);\r\n return receiver[prop];\r\n };\r\n StatementInterpreter.prototype.visitLiteralArrayExpr = function (ast, ctx) {\r\n return this.visitAllExpressions(ast.entries, ctx);\r\n };\r\n StatementInterpreter.prototype.visitLiteralMapExpr = function (ast, ctx) {\r\n var _this = this;\r\n var result = {};\r\n ast.entries.forEach(function (entry) { return result[entry[0]] =\r\n entry[1].visitExpression(_this, ctx); });\r\n return result;\r\n };\r\n StatementInterpreter.prototype.visitAllExpressions = function (expressions, ctx) {\r\n var _this = this;\r\n return expressions.map(function (expr) { return expr.visitExpression(_this, ctx); });\r\n };\r\n StatementInterpreter.prototype.visitAllStatements = function (statements, ctx) {\r\n for (var i = 0; i < statements.length; i++) {\r\n var stmt = statements[i];\r\n var val = stmt.visitStatement(this, ctx);\r\n if (val instanceof ReturnValue) {\r\n return val;\r\n }\r\n }\r\n return null;\r\n };\r\n return StatementInterpreter;\r\n}());\r\nfunction _declareFn(varNames, statements, ctx, visitor) {\r\n switch (varNames.length) {\r\n case 0:\r\n return function () { return _executeFunctionStatements(varNames, [], statements, ctx, visitor); };\r\n case 1:\r\n return function (d0) { return _executeFunctionStatements(varNames, [d0], statements, ctx, visitor); };\r\n case 2:\r\n return function (d0, d1) { return _executeFunctionStatements(varNames, [d0, d1], statements, ctx, visitor); };\r\n case 3:\r\n return function (d0, d1, d2) {\r\n return _executeFunctionStatements(varNames, [d0, d1, d2], statements, ctx, visitor);\r\n };\r\n case 4:\r\n return function (d0, d1, d2, d3) {\r\n return _executeFunctionStatements(varNames, [d0, d1, d2, d3], statements, ctx, visitor);\r\n };\r\n case 5:\r\n return function (d0, d1, d2, d3, d4) { return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4], statements, ctx, visitor); };\r\n case 6:\r\n return function (d0, d1, d2, d3, d4, d5) { return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5], statements, ctx, visitor); };\r\n case 7:\r\n return function (d0, d1, d2, d3, d4, d5, d6) { return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5, d6], statements, ctx, visitor); };\r\n case 8:\r\n return function (d0, d1, d2, d3, d4, d5, d6, d7) { return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5, d6, d7], statements, ctx, visitor); };\r\n case 9:\r\n return function (d0, d1, d2, d3, d4, d5, d6, d7, d8) { return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5, d6, d7, d8], statements, ctx, visitor); };\r\n case 10:\r\n return function (d0, d1, d2, d3, d4, d5, d6, d7, d8, d9) { return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5, d6, d7, d8, d9], statements, ctx, visitor); };\r\n default:\r\n throw new exceptions_1.BaseException('Declaring functions with more than 10 arguments is not supported right now');\r\n }\r\n}\r\nvar CATCH_ERROR_VAR = 'error';\r\nvar CATCH_STACK_VAR = 'stack';\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0X2ludGVycHJldGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL291dHB1dC9vdXRwdXRfaW50ZXJwcmV0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHFCQU9PLDBCQUEwQixDQUFDLENBQUE7QUFDbEMsc0JBQWdDLDJCQUEyQixDQUFDLENBQUE7QUFDNUQsSUFBWSxDQUFDLFdBQU0sY0FBYyxDQUFDLENBQUE7QUFDbEMsMkJBQXdCLHlDQUF5QyxDQUFDLENBQUE7QUFDbEUsMkJBQTJDLGdDQUFnQyxDQUFDLENBQUE7QUFDNUUsMkJBQXNDLGdDQUFnQyxDQUFDLENBQUE7QUFDdkUsNkJBQW1DLGdCQUFnQixDQUFDLENBQUE7QUFDcEQsMkJBQXlDLGNBQWMsQ0FBQyxDQUFBO0FBRXhELDZCQUFvQyxVQUF5QixFQUFFLFNBQWlCLEVBQzVDLGVBQWdDO0lBQ2xFLElBQUksZUFBZSxHQUFHLFVBQVUsQ0FBQyxNQUFNLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxlQUFlLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxT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IGQ4XSwgc3RhdGVtZW50cywgY3R4LCB2aXNpdG9yKTtcbiAgICBjYXNlIDEwOlxuICAgICAgcmV0dXJuIChkMCwgZDEsIGQyLCBkMywgZDQsIGQ1LCBkNiwgZDcsIGQ4LCBkOSkgPT4gX2V4ZWN1dGVGdW5jdGlvblN0YXRlbWVudHMoXG4gICAgICAgICAgICAgICAgIHZhck5hbWVzLCBbZDAsIGQxLCBkMiwgZDMsIGQ0LCBkNSwgZDYsIGQ3LCBkOCwgZDldLCBzdGF0ZW1lbnRzLCBjdHgsIHZpc2l0b3IpO1xuICAgIGRlZmF1bHQ6XG4gICAgICB0aHJvdyBuZXcgQmFzZUV4Y2VwdGlvbihcbiAgICAgICAgICAnRGVjbGFyaW5nIGZ1bmN0aW9ucyB3aXRoIG1vcmUgdGhhbiAxMCBhcmd1bWVudHMgaXMgbm90IHN1cHBvcnRlZCByaWdodCBub3cnKTtcbiAgfVxufVxuXG52YXIgQ0FUQ0hfRVJST1JfVkFSID0gJ2Vycm9yJztcbnZhciBDQVRDSF9TVEFDS19WQVIgPSAnc3RhY2snOyJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar view_type_1 = require('./view_type');\r\nvar StaticNodeDebugInfo = (function () {\r\n function StaticNodeDebugInfo(providerTokens, componentToken, refTokens) {\r\n this.providerTokens = providerTokens;\r\n this.componentToken = componentToken;\r\n this.refTokens = refTokens;\r\n }\r\n StaticNodeDebugInfo = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Array, Object, Object])\r\n ], StaticNodeDebugInfo);\r\n return StaticNodeDebugInfo;\r\n}());\r\nexports.StaticNodeDebugInfo = StaticNodeDebugInfo;\r\nvar DebugContext = (function () {\r\n function DebugContext(_view, _nodeIndex, _tplRow, _tplCol) {\r\n this._view = _view;\r\n this._nodeIndex = _nodeIndex;\r\n this._tplRow = _tplRow;\r\n this._tplCol = _tplCol;\r\n }\r\n Object.defineProperty(DebugContext.prototype, \"_staticNodeInfo\", {\r\n get: function () {\r\n return lang_1.isPresent(this._nodeIndex) ? this._view.staticNodeDebugInfos[this._nodeIndex] : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugContext.prototype, \"context\", {\r\n get: function () { return this._view.context; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugContext.prototype, \"component\", {\r\n get: function () {\r\n var staticNodeInfo = this._staticNodeInfo;\r\n if (lang_1.isPresent(staticNodeInfo) && lang_1.isPresent(staticNodeInfo.componentToken)) {\r\n return this.injector.get(staticNodeInfo.componentToken);\r\n }\r\n return null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugContext.prototype, \"componentRenderElement\", {\r\n get: function () {\r\n var componentView = this._view;\r\n while (lang_1.isPresent(componentView.declarationAppElement) &&\r\n componentView.type !== view_type_1.ViewType.COMPONENT) {\r\n componentView = componentView.declarationAppElement.parentView;\r\n }\r\n return lang_1.isPresent(componentView.declarationAppElement) ?\r\n componentView.declarationAppElement.nativeElement :\r\n null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugContext.prototype, \"injector\", {\r\n get: function () { return this._view.injector(this._nodeIndex); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugContext.prototype, \"renderNode\", {\r\n get: function () {\r\n if (lang_1.isPresent(this._nodeIndex) && lang_1.isPresent(this._view.allNodes)) {\r\n return this._view.allNodes[this._nodeIndex];\r\n }\r\n else {\r\n return null;\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugContext.prototype, \"providerTokens\", {\r\n get: function () {\r\n var staticNodeInfo = this._staticNodeInfo;\r\n return lang_1.isPresent(staticNodeInfo) ? staticNodeInfo.providerTokens : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugContext.prototype, \"source\", {\r\n get: function () {\r\n return this._view.componentType.templateUrl + \":\" + this._tplRow + \":\" + this._tplCol;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugContext.prototype, \"locals\", {\r\n get: function () {\r\n var _this = this;\r\n var varValues = {};\r\n // TODO(tbosch): right now, the semantics of debugNode.locals are\r\n // that it contains the variables of all elements, not just\r\n // the given one. We preserve this for now to not have a breaking\r\n // change, but should change this later!\r\n collection_1.ListWrapper.forEachWithIndex(this._view.staticNodeDebugInfos, function (staticNodeInfo, nodeIndex) {\r\n var refs = staticNodeInfo.refTokens;\r\n collection_1.StringMapWrapper.forEach(refs, function (refToken, refName) {\r\n var varValue;\r\n if (lang_1.isBlank(refToken)) {\r\n varValue = lang_1.isPresent(_this._view.allNodes) ? _this._view.allNodes[nodeIndex] : null;\r\n }\r\n else {\r\n varValue = _this._view.injectorGet(refToken, nodeIndex, null);\r\n }\r\n varValues[refName] = varValue;\r\n });\r\n });\r\n collection_1.StringMapWrapper.forEach(this._view.locals, function (localValue, localName) { varValues[localName] = localValue; });\r\n return varValues;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return DebugContext;\r\n}());\r\nexports.DebugContext = DebugContext;\r\n//# sourceMappingURL=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OyB9KTtcbiAgICByZXR1cm4gdmFyVmFsdWVzO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar injector_1 = require('angular2/src/core/di/injector');\r\nvar _UNDEFINED = lang_1.CONST_EXPR(new Object());\r\nvar ElementInjector = (function (_super) {\r\n __extends(ElementInjector, _super);\r\n function ElementInjector(_view, _nodeIndex) {\r\n _super.call(this);\r\n this._view = _view;\r\n this._nodeIndex = _nodeIndex;\r\n }\r\n ElementInjector.prototype.get = function (token, notFoundValue) {\r\n if (notFoundValue === void 0) { notFoundValue = injector_1.THROW_IF_NOT_FOUND; }\r\n var result = _UNDEFINED;\r\n if (result === _UNDEFINED) {\r\n result = this._view.injectorGet(token, this._nodeIndex, _UNDEFINED);\r\n }\r\n if (result === _UNDEFINED) {\r\n result = this._view.parentInjector.get(token, notFoundValue);\r\n }\r\n return result;\r\n };\r\n return ElementInjector;\r\n}(injector_1.Injector));\r\nexports.ElementInjector = ElementInjector;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudF9pbmplY3Rvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2xpbmtlci9lbGVtZW50X2luamVjdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHFCQUE2QywwQkFBMEIsQ0FBQyxDQUFBO0FBQ3hFLHlCQUEyQywrQkFBK0IsQ0FBQyxDQUFBO0FBRzNFLEl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9OT1RfRk9VTkR9IGZyb20gJ2FuZ3VsYXIyL3NyYy9jb3JlL2RpL2luamVjdG9yJztcbmltcG9ydCB7QXBwVmlld30gZnJvbSAnLi92aWV3JztcblxuY29uc3QgX1VOREVGSU5FRCA9IENPTlNUX0VYUFIobmV3IE9iamVjdCgpKTtcblxuZXhwb3J0IGNsYXNzIEVsZW1lbnRJbmplY3RvciBleHRlbmRzIEluamVjdG9yIHtcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBfdmlldzogQXBwVmlldzxhbnk+LCBwcml2YXRlIF9ub2RlSW5kZXg6IG51bWJlcikgeyBzdXBlcigpOyB9XG5cbiAgZ2V0KHRva2VuOiBhbnksIG5vdEZvdW5kVmFsdWU6IGFueSA9IFRIUk9XX0lGX05PVF9GT1VORCk6IGFueSB7XG4gICAgdmFyIHJlc3VsdCA9IF9VTkRFRklORUQ7XG4gICAgaWYgKHJlc3VsdCA9PT0gX1VOREVGSU5FRCkge1xuICAgICAgcmVzdWx0ID0gdGhpcy5fdmlldy5pbmplY3RvckdldCh0b2tlbiwgdGhpcy5fbm9kZUluZGV4LCBfVU5ERUZJTkVEKTtcbiAgICB9XG4gICAgaWYgKHJlc3VsdCA9PT0gX1VOREVGSU5FRCkge1xuICAgICAgcmVzdWx0ID0gdGhpcy5fdmlldy5wYXJlbnRJbmplY3Rvci5nZXQodG9rZW4sIG5vdEZvdW5kVmFsdWUpO1xuICAgIH1cbiAgICByZXR1cm4gcmVzdWx0O1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar element_1 = require('./element');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar view_ref_1 = require('./view_ref');\r\nvar view_type_1 = require('./view_type');\r\nvar view_utils_1 = require('./view_utils');\r\nvar change_detection_1 = require('angular2/src/core/change_detection/change_detection');\r\nvar profile_1 = require('../profile/profile');\r\nvar exceptions_1 = require('./exceptions');\r\nvar debug_context_1 = require('./debug_context');\r\nvar element_injector_1 = require('./element_injector');\r\nvar EMPTY_CONTEXT = lang_1.CONST_EXPR(new Object());\r\nvar _scope_check = profile_1.wtfCreateScope(\"AppView#check(ascii id)\");\r\n/**\r\n * Cost of making objects: http://jsperf.com/instantiate-size-of-object\r\n *\r\n */\r\nvar AppView = (function () {\r\n function AppView(clazz, componentType, type, locals, viewUtils, parentInjector, declarationAppElement, cdMode, staticNodeDebugInfos) {\r\n this.clazz = clazz;\r\n this.componentType = componentType;\r\n this.type = type;\r\n this.locals = locals;\r\n this.viewUtils = viewUtils;\r\n this.parentInjector = parentInjector;\r\n this.declarationAppElement = declarationAppElement;\r\n this.cdMode = cdMode;\r\n this.staticNodeDebugInfos = staticNodeDebugInfos;\r\n this.contentChildren = [];\r\n this.viewChildren = [];\r\n this.viewContainerElement = null;\r\n // The names of the below fields must be kept in sync with codegen_name_util.ts or\r\n // change detection will fail.\r\n this.cdState = change_detection_1.ChangeDetectorState.NeverChecked;\r\n /**\r\n * The context against which data-binding expressions in this view are evaluated against.\r\n * This is always a component instance.\r\n */\r\n this.context = null;\r\n this.destroyed = false;\r\n this._currentDebugContext = null;\r\n this.ref = new view_ref_1.ViewRef_(this);\r\n if (type === view_type_1.ViewType.COMPONENT || type === view_type_1.ViewType.HOST) {\r\n this.renderer = viewUtils.renderComponent(componentType);\r\n }\r\n else {\r\n this.renderer = declarationAppElement.parentView.renderer;\r\n }\r\n }\r\n AppView.prototype.create = function (givenProjectableNodes, rootSelectorOrNode) {\r\n var context;\r\n var projectableNodes;\r\n switch (this.type) {\r\n case view_type_1.ViewType.COMPONENT:\r\n context = this.declarationAppElement.component;\r\n projectableNodes = view_utils_1.ensureSlotCount(givenProjectableNodes, this.componentType.slotCount);\r\n break;\r\n case view_type_1.ViewType.EMBEDDED:\r\n context = this.declarationAppElement.parentView.context;\r\n projectableNodes = this.declarationAppElement.parentView.projectableNodes;\r\n break;\r\n case view_type_1.ViewType.HOST:\r\n context = EMPTY_CONTEXT;\r\n // Note: Don't ensure the slot count for the projectableNodes as we store\r\n // them only for the contained component view (which will later check the slot count...)\r\n projectableNodes = givenProjectableNodes;\r\n break;\r\n }\r\n this._hasExternalHostElement = lang_1.isPresent(rootSelectorOrNode);\r\n this.context = context;\r\n this.projectableNodes = projectableNodes;\r\n if (this.debugMode) {\r\n this._resetDebug();\r\n try {\r\n return this.createInternal(rootSelectorOrNode);\r\n }\r\n catch (e) {\r\n this._rethrowWithContext(e, e.stack);\r\n throw e;\r\n }\r\n }\r\n else {\r\n return this.createInternal(rootSelectorOrNode);\r\n }\r\n };\r\n /**\r\n * Overwritten by implementations.\r\n * Returns the AppElement for the host element for ViewType.HOST.\r\n */\r\n AppView.prototype.createInternal = function (rootSelectorOrNode) { return null; };\r\n AppView.prototype.init = function (rootNodesOrAppElements, allNodes, disposables, subscriptions) {\r\n this.rootNodesOrAppElements = rootNodesOrAppElements;\r\n this.allNodes = allNodes;\r\n this.disposables = disposables;\r\n this.subscriptions = subscriptions;\r\n if (this.type === view_type_1.ViewType.COMPONENT) {\r\n // Note: the render nodes have been attached to their host element\r\n // in the ViewFactory already.\r\n this.declarationAppElement.parentView.viewChildren.push(this);\r\n this.renderParent = this.declarationAppElement.parentView;\r\n this.dirtyParentQueriesInternal();\r\n }\r\n };\r\n AppView.prototype.selectOrCreateHostElement = function (elementName, rootSelectorOrNode, debugCtx) {\r\n var hostElement;\r\n if (lang_1.isPresent(rootSelectorOrNode)) {\r\n hostElement = this.renderer.selectRootElement(rootSelectorOrNode, debugCtx);\r\n }\r\n else {\r\n hostElement = this.renderer.createElement(null, elementName, debugCtx);\r\n }\r\n return hostElement;\r\n };\r\n AppView.prototype.injectorGet = function (token, nodeIndex, notFoundResult) {\r\n if (this.debugMode) {\r\n this._resetDebug();\r\n try {\r\n return this.injectorGetInternal(token, nodeIndex, notFoundResult);\r\n }\r\n catch (e) {\r\n this._rethrowWithContext(e, e.stack);\r\n throw e;\r\n }\r\n }\r\n else {\r\n return this.injectorGetInternal(token, nodeIndex, notFoundResult);\r\n }\r\n };\r\n /**\r\n * Overwritten by implementations\r\n */\r\n AppView.prototype.injectorGetInternal = function (token, nodeIndex, notFoundResult) {\r\n return notFoundResult;\r\n };\r\n AppView.prototype.injector = function (nodeIndex) {\r\n if (lang_1.isPresent(nodeIndex)) {\r\n return new element_injector_1.ElementInjector(this, nodeIndex);\r\n }\r\n else {\r\n return this.parentInjector;\r\n }\r\n };\r\n AppView.prototype.destroy = function () {\r\n if (this._hasExternalHostElement) {\r\n this.renderer.detachView(this.flatRootNodes);\r\n }\r\n else if (lang_1.isPresent(this.viewContainerElement)) {\r\n this.viewContainerElement.detachView(this.viewContainerElement.nestedViews.indexOf(this));\r\n }\r\n this._destroyRecurse();\r\n };\r\n AppView.prototype._destroyRecurse = function () {\r\n if (this.destroyed) {\r\n return;\r\n }\r\n var children = this.contentChildren;\r\n for (var i = 0; i < children.length; i++) {\r\n children[i]._destroyRecurse();\r\n }\r\n children = this.viewChildren;\r\n for (var i = 0; i < children.length; i++) {\r\n children[i]._destroyRecurse();\r\n }\r\n if (this.debugMode) {\r\n this._resetDebug();\r\n try {\r\n this._destroyLocal();\r\n }\r\n catch (e) {\r\n this._rethrowWithContext(e, e.stack);\r\n throw e;\r\n }\r\n }\r\n else {\r\n this._destroyLocal();\r\n }\r\n this.destroyed = true;\r\n };\r\n AppView.prototype._destroyLocal = function () {\r\n var hostElement = this.type === view_type_1.ViewType.COMPONENT ? this.declarationAppElement.nativeElement : null;\r\n for (var i = 0; i < this.disposables.length; i++) {\r\n this.disposables[i]();\r\n }\r\n for (var i = 0; i < this.subscriptions.length; i++) {\r\n async_1.ObservableWrapper.dispose(this.subscriptions[i]);\r\n }\r\n this.destroyInternal();\r\n if (this._hasExternalHostElement) {\r\n this.renderer.detachView(this.flatRootNodes);\r\n }\r\n else if (lang_1.isPresent(this.viewContainerElement)) {\r\n this.viewContainerElement.detachView(this.viewContainerElement.nestedViews.indexOf(this));\r\n }\r\n else {\r\n this.dirtyParentQueriesInternal();\r\n }\r\n this.renderer.destroyView(hostElement, this.allNodes);\r\n };\r\n /**\r\n * Overwritten by implementations\r\n */\r\n AppView.prototype.destroyInternal = function () { };\r\n Object.defineProperty(AppView.prototype, \"debugMode\", {\r\n get: function () { return lang_1.isPresent(this.staticNodeDebugInfos); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AppView.prototype, \"changeDetectorRef\", {\r\n get: function () { return this.ref; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AppView.prototype, \"parent\", {\r\n get: function () {\r\n return lang_1.isPresent(this.declarationAppElement) ? this.declarationAppElement.parentView : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AppView.prototype, \"flatRootNodes\", {\r\n get: function () { return view_utils_1.flattenNestedViewRenderNodes(this.rootNodesOrAppElements); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AppView.prototype, \"lastRootNode\", {\r\n get: function () {\r\n var lastNode = this.rootNodesOrAppElements.length > 0 ?\r\n this.rootNodesOrAppElements[this.rootNodesOrAppElements.length - 1] :\r\n null;\r\n return _findLastRenderNode(lastNode);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n AppView.prototype.hasLocal = function (contextName) {\r\n return collection_1.StringMapWrapper.contains(this.locals, contextName);\r\n };\r\n AppView.prototype.setLocal = function (contextName, value) { this.locals[contextName] = value; };\r\n /**\r\n * Overwritten by implementations\r\n */\r\n AppView.prototype.dirtyParentQueriesInternal = function () { };\r\n AppView.prototype.addRenderContentChild = function (view) {\r\n this.contentChildren.push(view);\r\n view.renderParent = this;\r\n view.dirtyParentQueriesInternal();\r\n };\r\n AppView.prototype.removeContentChild = function (view) {\r\n collection_1.ListWrapper.remove(this.contentChildren, view);\r\n view.dirtyParentQueriesInternal();\r\n view.renderParent = null;\r\n };\r\n AppView.prototype.detectChanges = function (throwOnChange) {\r\n var s = _scope_check(this.clazz);\r\n if (this.cdMode === change_detection_1.ChangeDetectionStrategy.Detached ||\r\n this.cdMode === change_detection_1.ChangeDetectionStrategy.Checked ||\r\n this.cdState === change_detection_1.ChangeDetectorState.Errored)\r\n return;\r\n if (this.destroyed) {\r\n this.throwDestroyedError('detectChanges');\r\n }\r\n if (this.debugMode) {\r\n this._resetDebug();\r\n try {\r\n this.detectChangesInternal(throwOnChange);\r\n }\r\n catch (e) {\r\n this._rethrowWithContext(e, e.stack);\r\n throw e;\r\n }\r\n }\r\n else {\r\n this.detectChangesInternal(throwOnChange);\r\n }\r\n if (this.cdMode === change_detection_1.ChangeDetectionStrategy.CheckOnce)\r\n this.cdMode = change_detection_1.ChangeDetectionStrategy.Checked;\r\n this.cdState = change_detection_1.ChangeDetectorState.CheckedBefore;\r\n profile_1.wtfLeave(s);\r\n };\r\n /**\r\n * Overwritten by implementations\r\n */\r\n AppView.prototype.detectChangesInternal = function (throwOnChange) {\r\n this.detectContentChildrenChanges(throwOnChange);\r\n this.detectViewChildrenChanges(throwOnChange);\r\n };\r\n AppView.prototype.detectContentChildrenChanges = function (throwOnChange) {\r\n for (var i = 0; i < this.contentChildren.length; ++i) {\r\n this.contentChildren[i].detectChanges(throwOnChange);\r\n }\r\n };\r\n AppView.prototype.detectViewChildrenChanges = function (throwOnChange) {\r\n for (var i = 0; i < this.viewChildren.length; ++i) {\r\n this.viewChildren[i].detectChanges(throwOnChange);\r\n }\r\n };\r\n AppView.prototype.addToContentChildren = function (renderAppElement) {\r\n renderAppElement.parentView.contentChildren.push(this);\r\n this.viewContainerElement = renderAppElement;\r\n this.dirtyParentQueriesInternal();\r\n };\r\n AppView.prototype.removeFromContentChildren = function (renderAppElement) {\r\n collection_1.ListWrapper.remove(renderAppElement.parentView.contentChildren, this);\r\n this.dirtyParentQueriesInternal();\r\n this.viewContainerElement = null;\r\n };\r\n AppView.prototype.markAsCheckOnce = function () { this.cdMode = change_detection_1.ChangeDetectionStrategy.CheckOnce; };\r\n AppView.prototype.markPathToRootAsCheckOnce = function () {\r\n var c = this;\r\n while (lang_1.isPresent(c) && c.cdMode !== change_detection_1.ChangeDetectionStrategy.Detached) {\r\n if (c.cdMode === change_detection_1.ChangeDetectionStrategy.Checked) {\r\n c.cdMode = change_detection_1.ChangeDetectionStrategy.CheckOnce;\r\n }\r\n c = c.renderParent;\r\n }\r\n };\r\n AppView.prototype._resetDebug = function () { this._currentDebugContext = null; };\r\n AppView.prototype.debug = function (nodeIndex, rowNum, colNum) {\r\n return this._currentDebugContext = new debug_context_1.DebugContext(this, nodeIndex, rowNum, colNum);\r\n };\r\n AppView.prototype._rethrowWithContext = function (e, stack) {\r\n if (!(e instanceof exceptions_1.ViewWrappedException)) {\r\n if (!(e instanceof exceptions_1.ExpressionChangedAfterItHasBeenCheckedException)) {\r\n this.cdState = change_detection_1.ChangeDetectorState.Errored;\r\n }\r\n if (lang_1.isPresent(this._currentDebugContext)) {\r\n throw new exceptions_1.ViewWrappedException(e, stack, this._currentDebugContext);\r\n }\r\n }\r\n };\r\n AppView.prototype.eventHandler = function (cb) {\r\n var _this = this;\r\n if (this.debugMode) {\r\n return function (event) {\r\n _this._resetDebug();\r\n try {\r\n return cb(event);\r\n }\r\n catch (e) {\r\n _this._rethrowWithContext(e, e.stack);\r\n throw e;\r\n }\r\n };\r\n }\r\n else {\r\n return cb;\r\n }\r\n };\r\n AppView.prototype.throwDestroyedError = function (details) { throw new exceptions_1.ViewDestroyedException(details); };\r\n return AppView;\r\n}());\r\nexports.AppView = AppView;\r\nfunction _findLastRenderNode(node) {\r\n var lastNode;\r\n if (node instanceof element_1.AppElement) {\r\n var appEl = node;\r\n lastNode = appEl.nativeElement;\r\n if (lang_1.isPresent(appEl.nestedViews)) {\r\n // Note: Views might have no root nodes at all!\r\n for (var i = appEl.nestedViews.length - 1; i >= 0; i--) {\r\n var nestedView = appEl.nestedViews[i];\r\n if (nestedView.rootNodesOrAppElements.length > 0) {\r\n lastNode = _findLastRenderNode(nestedView.rootNodesOrAppElements[nestedView.rootNodesOrAppElements.length - 1]);\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n lastNode = node;\r\n }\r\n return lastNode;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2xpbmtlci92aWV3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwyQkFPTyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBR3hDLHdCQUF5QixXQUFXLENBQUMsQ0FBQTtBQUNyQyxxQkFZTywwQkFBMEIsQ0FBQyxDQUFBO0FBRWxDLHNCQUFnQywyQkFBMkIsQ0FBQyxDQUFBO0FBRTVELHlCQUF1QixZQUFZLENBQUMsQ0FBQTtBQUVwQywwQkFBdUIsYUFBYSxDQUFDLENBQUE7QUFDckMsMkJBTU8sY0FBYyxDQUFDLENBQUE7QUFDdEIsaUNBTU8scURBQXFELENBQUMsQ0FBQTtBQUM3RCx3QkFBbUQsb0JBQW9CLENBQUMsQ0FBQTtBQUN4RSwyQkFJTyxjQUFjLENBQUMsQ0FBQTtBQUN0Qiw4QkFBZ0QsaUJBQWlCLENBQUMsQ0FBQTtBQUNsRSxpQ0FBOEIsb0JBQW9CLENBQUMsQ0FBQTtBQUVuRCxJQUFNLGFBQWEsR0FBRyxpQkFBVSxDQUFDLElBQUksTUFBTSxFQUFFLENBQUMsQ0FBQztBQUUvQyxJQUFJLFlBQVksR0FBZSx3QkFBYyxDQUFDLHlCQUF5QixDQUFDLENBQUM7QUFFekU7OztHQUdHO0FBQ0g7SUErQkUsaUJBQW1CLEtBQVUsRUFBUyxhQUFrQyxFQUFTLElBQWMsRUFDNUUsTUFBNEIsRUFBUyxTQUFv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XJOb2RlKFxuICAgICAgICAgICAgICBuZXN0ZWRWaWV3LnJvb3ROb2Rlc09yQXBwRWxlbWVudHNbbmVzdGVkVmlldy5yb290Tm9kZXNPckFwcEVsZW1lbnRzLmxlbmd0aCAtIDFdKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfSBlbHNlIHtcbiAgICBsYXN0Tm9kZSA9IG5vZGU7XG4gIH1cbiAgcmV0dXJuIGxhc3ROb2RlO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar view_1 = require('angular2/src/core/linker/view');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar InterpretiveAppViewInstanceFactory = (function () {\r\n function InterpretiveAppViewInstanceFactory() {\r\n }\r\n InterpretiveAppViewInstanceFactory.prototype.createInstance = function (superClass, clazz, args, props, getters, methods) {\r\n if (superClass === view_1.AppView) {\r\n return new _InterpretiveAppView(args, props, getters, methods);\r\n }\r\n throw new exceptions_1.BaseException(\"Can't instantiate class \" + superClass + \" in interpretative mode\");\r\n };\r\n return InterpretiveAppViewInstanceFactory;\r\n}());\r\nexports.InterpretiveAppViewInstanceFactory = InterpretiveAppViewInstanceFactory;\r\nvar _InterpretiveAppView = (function (_super) {\r\n __extends(_InterpretiveAppView, _super);\r\n function _InterpretiveAppView(args, props, getters, methods) {\r\n _super.call(this, args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7], args[8]);\r\n this.props = props;\r\n this.getters = getters;\r\n this.methods = methods;\r\n }\r\n _InterpretiveAppView.prototype.createInternal = function (rootSelector) {\r\n var m = this.methods.get('createInternal');\r\n if (lang_1.isPresent(m)) {\r\n return m(rootSelector);\r\n }\r\n else {\r\n return _super.prototype.createInternal.call(this, rootSelector);\r\n }\r\n };\r\n _InterpretiveAppView.prototype.injectorGetInternal = function (token, nodeIndex, notFoundResult) {\r\n var m = this.methods.get('injectorGetInternal');\r\n if (lang_1.isPresent(m)) {\r\n return m(token, nodeIndex, notFoundResult);\r\n }\r\n else {\r\n return _super.prototype.injectorGet.call(this, token, nodeIndex, notFoundResult);\r\n }\r\n };\r\n _InterpretiveAppView.prototype.destroyInternal = function () {\r\n var m = this.methods.get('destroyInternal');\r\n if (lang_1.isPresent(m)) {\r\n return m();\r\n }\r\n else {\r\n return _super.prototype.destroyInternal.call(this);\r\n }\r\n };\r\n _InterpretiveAppView.prototype.dirtyParentQueriesInternal = function () {\r\n var m = this.methods.get('dirtyParentQueriesInternal');\r\n if (lang_1.isPresent(m)) {\r\n return m();\r\n }\r\n else {\r\n return _super.prototype.dirtyParentQueriesInternal.call(this);\r\n }\r\n };\r\n _InterpretiveAppView.prototype.detectChangesInternal = function (throwOnChange) {\r\n var m = this.methods.get('detectChangesInternal');\r\n if (lang_1.isPresent(m)) {\r\n return m(throwOnChange);\r\n }\r\n else {\r\n return _super.prototype.detectChangesInternal.call(this, throwOnChange);\r\n }\r\n };\r\n return _InterpretiveAppView;\r\n}(view_1.AppView));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJwcmV0aXZlX3ZpZXcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvb3V0cHV0L2ludGVycHJldGl2ZV92aWV3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHFCQUF3QiwwQkFBMEIsQ0FBQyxDQUFBO0FBQ25ELHFCQUFzQiwrQkFBK0IsQ0FBQyxDQUFBO0FBRXRELDJCQUE0Q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G5vdEZvdW5kUmVzdWx0KTtcbiAgICB9XG4gIH1cbiAgZGVzdHJveUludGVybmFsKCk6IHZvaWQge1xuICAgIHZhciBtID0gdGhpcy5tZXRob2RzLmdldCgnZGVzdHJveUludGVybmFsJyk7XG4gICAgaWYgKGlzUHJlc2VudChtKSkge1xuICAgICAgcmV0dXJuIG0oKTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIHN1cGVyLmRlc3Ryb3lJbnRlcm5hbCgpO1xuICAgIH1cbiAgfVxuICBkaXJ0eVBhcmVudFF1ZXJpZXNJbnRlcm5hbCgpOiB2b2lkIHtcbiAgICB2YXIgbSA9IHRoaXMubWV0aG9kcy5nZXQoJ2RpcnR5UGFyZW50UXVlcmllc0ludGVybmFsJyk7XG4gICAgaWYgKGlzUHJlc2VudChtKSkge1xuICAgICAgcmV0dXJuIG0oKTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIHN1cGVyLmRpcnR5UGFyZW50UXVlcmllc0ludGVybmFsKCk7XG4gICAgfVxuICB9XG4gIGRldGVjdENoYW5nZXNJbnRlcm5hbCh0aHJvd09uQ2hhbmdlOiBib29sZWFuKTogdm9pZCB7XG4gICAgdmFyIG0gPSB0aGlzLm1ldGhvZHMuZ2V0KCdkZXRlY3RDaGFuZ2VzSW50ZXJuYWwnKTtcbiAgICBpZiAoaXNQcmVzZW50KG0pKSB7XG4gICAgICByZXR1cm4gbSh0aHJvd09uQ2hhbmdlKTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIHN1cGVyLmRldGVjdENoYW5nZXNJbnRlcm5hbCh0aHJvd09uQ2hhbmdlKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar compile_metadata_1 = require('./compile_metadata');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar style_compiler_1 = require('./style_compiler');\r\nvar view_compiler_1 = require('./view_compiler/view_compiler');\r\nvar template_parser_1 = require('./template_parser');\r\nvar directive_normalizer_1 = require('./directive_normalizer');\r\nvar runtime_metadata_1 = require('./runtime_metadata');\r\nvar component_factory_1 = require('angular2/src/core/linker/component_factory');\r\nvar config_1 = require('./config');\r\nvar ir = require('./output/output_ast');\r\nvar output_jit_1 = require('./output/output_jit');\r\nvar output_interpreter_1 = require('./output/output_interpreter');\r\nvar interpretive_view_1 = require('./output/interpretive_view');\r\nvar xhr_1 = require('angular2/src/compiler/xhr');\r\n/**\r\n * An internal module of the Angular compiler that begins with component types,\r\n * extracts templates, and eventually produces a compiled version of the component\r\n * ready for linking into an application.\r\n */\r\nvar RuntimeCompiler = (function () {\r\n function RuntimeCompiler(_runtimeMetadataResolver, _templateNormalizer, _templateParser, _styleCompiler, _viewCompiler, _xhr, _genConfig) {\r\n this._runtimeMetadataResolver = _runtimeMetadataResolver;\r\n this._templateNormalizer = _templateNormalizer;\r\n this._templateParser = _templateParser;\r\n this._styleCompiler = _styleCompiler;\r\n this._viewCompiler = _viewCompiler;\r\n this._xhr = _xhr;\r\n this._genConfig = _genConfig;\r\n this._styleCache = new Map();\r\n this._hostCacheKeys = new Map();\r\n this._compiledTemplateCache = new Map();\r\n this._compiledTemplateDone = new Map();\r\n }\r\n RuntimeCompiler.prototype.resolveComponent = function (componentType) {\r\n var compMeta = this._runtimeMetadataResolver.getDirectiveMetadata(componentType);\r\n var hostCacheKey = this._hostCacheKeys.get(componentType);\r\n if (lang_1.isBlank(hostCacheKey)) {\r\n hostCacheKey = new Object();\r\n this._hostCacheKeys.set(componentType, hostCacheKey);\r\n assertComponent(compMeta);\r\n var hostMeta = compile_metadata_1.createHostComponentMeta(compMeta.type, compMeta.selector);\r\n this._loadAndCompileComponent(hostCacheKey, hostMeta, [compMeta], [], []);\r\n }\r\n return this._compiledTemplateDone.get(hostCacheKey)\r\n .then(function (compiledTemplate) { return new component_factory_1.ComponentFactory(compMeta.selector, compiledTemplate.viewFactory, componentType); });\r\n };\r\n RuntimeCompiler.prototype.clearCache = function () {\r\n this._styleCache.clear();\r\n this._compiledTemplateCache.clear();\r\n this._compiledTemplateDone.clear();\r\n this._hostCacheKeys.clear();\r\n };\r\n RuntimeCompiler.prototype._loadAndCompileComponent = function (cacheKey, compMeta, viewDirectives, pipes, compilingComponentsPath) {\r\n var _this = this;\r\n var compiledTemplate = this._compiledTemplateCache.get(cacheKey);\r\n var done = this._compiledTemplateDone.get(cacheKey);\r\n if (lang_1.isBlank(compiledTemplate)) {\r\n compiledTemplate = new CompiledTemplate();\r\n this._compiledTemplateCache.set(cacheKey, compiledTemplate);\r\n done =\r\n async_1.PromiseWrapper.all([this._compileComponentStyles(compMeta)].concat(viewDirectives.map(function (dirMeta) { return _this._templateNormalizer.normalizeDirective(dirMeta); })))\r\n .then(function (stylesAndNormalizedViewDirMetas) {\r\n var normalizedViewDirMetas = stylesAndNormalizedViewDirMetas.slice(1);\r\n var styles = stylesAndNormalizedViewDirMetas[0];\r\n var parsedTemplate = _this._templateParser.parse(compMeta, compMeta.template.template, normalizedViewDirMetas, pipes, compMeta.type.name);\r\n var childPromises = [];\r\n compiledTemplate.init(_this._compileComponent(compMeta, parsedTemplate, styles, pipes, compilingComponentsPath, childPromises));\r\n return async_1.PromiseWrapper.all(childPromises).then(function (_) { return compiledTemplate; });\r\n });\r\n this._compiledTemplateDone.set(cacheKey, done);\r\n }\r\n return compiledTemplate;\r\n };\r\n RuntimeCompiler.prototype._compileComponent = function (compMeta, parsedTemplate, styles, pipes, compilingComponentsPath, childPromises) {\r\n var _this = this;\r\n var compileResult = this._viewCompiler.compileComponent(compMeta, parsedTemplate, new ir.ExternalExpr(new compile_metadata_1.CompileIdentifierMetadata({ runtime: styles })), pipes);\r\n compileResult.dependencies.forEach(function (dep) {\r\n var childCompilingComponentsPath = collection_1.ListWrapper.clone(compilingComponentsPath);\r\n var childCacheKey = dep.comp.type.runtime;\r\n var childViewDirectives = _this._runtimeMetadataResolver.getViewDirectivesMetadata(dep.comp.type.runtime);\r\n var childViewPipes = _this._runtimeMetadataResolver.getViewPipesMetadata(dep.comp.type.runtime);\r\n var childIsRecursive = collection_1.ListWrapper.contains(childCompilingComponentsPath, childCacheKey);\r\n childCompilingComponentsPath.push(childCacheKey);\r\n var childComp = _this._loadAndCompileComponent(dep.comp.type.runtime, dep.comp, childViewDirectives, childViewPipes, childCompilingComponentsPath);\r\n dep.factoryPlaceholder.runtime = childComp.proxyViewFactory;\r\n dep.factoryPlaceholder.name = \"viewFactory_\" + dep.comp.type.name;\r\n if (!childIsRecursive) {\r\n // Only wait for a child if it is not a cycle\r\n childPromises.push(_this._compiledTemplateDone.get(childCacheKey));\r\n }\r\n });\r\n var factory;\r\n if (lang_1.IS_DART || !this._genConfig.useJit) {\r\n factory = output_interpreter_1.interpretStatements(compileResult.statements, compileResult.viewFactoryVar, new interpretive_view_1.InterpretiveAppViewInstanceFactory());\r\n }\r\n else {\r\n factory = output_jit_1.jitStatements(compMeta.type.name + \".template.js\", compileResult.statements, compileResult.viewFactoryVar);\r\n }\r\n return factory;\r\n };\r\n RuntimeCompiler.prototype._compileComponentStyles = function (compMeta) {\r\n var compileResult = this._styleCompiler.compileComponent(compMeta);\r\n return this._resolveStylesCompileResult(compMeta.type.name, compileResult);\r\n };\r\n RuntimeCompiler.prototype._resolveStylesCompileResult = function (sourceUrl, result) {\r\n var _this = this;\r\n var promises = result.dependencies.map(function (dep) { return _this._loadStylesheetDep(dep); });\r\n return async_1.PromiseWrapper.all(promises)\r\n .then(function (cssTexts) {\r\n var nestedCompileResultPromises = [];\r\n for (var i = 0; i < result.dependencies.length; i++) {\r\n var dep = result.dependencies[i];\r\n var cssText = cssTexts[i];\r\n var nestedCompileResult = _this._styleCompiler.compileStylesheet(dep.sourceUrl, cssText, dep.isShimmed);\r\n nestedCompileResultPromises.push(_this._resolveStylesCompileResult(dep.sourceUrl, nestedCompileResult));\r\n }\r\n return async_1.PromiseWrapper.all(nestedCompileResultPromises);\r\n })\r\n .then(function (nestedStylesArr) {\r\n for (var i = 0; i < result.dependencies.length; i++) {\r\n var dep = result.dependencies[i];\r\n dep.valuePlaceholder.runtime = nestedStylesArr[i];\r\n dep.valuePlaceholder.name = \"importedStyles\" + i;\r\n }\r\n if (lang_1.IS_DART || !_this._genConfig.useJit) {\r\n return output_interpreter_1.interpretStatements(result.statements, result.stylesVar, new interpretive_view_1.InterpretiveAppViewInstanceFactory());\r\n }\r\n else {\r\n return output_jit_1.jitStatements(sourceUrl + \".css.js\", result.statements, result.stylesVar);\r\n }\r\n });\r\n };\r\n RuntimeCompiler.prototype._loadStylesheetDep = function (dep) {\r\n var cacheKey = \"\" + dep.sourceUrl + (dep.isShimmed ? '.shim' : '');\r\n var cssTextPromise = this._styleCache.get(cacheKey);\r\n if (lang_1.isBlank(cssTextPromise)) {\r\n cssTextPromise = this._xhr.get(dep.sourceUrl);\r\n this._styleCache.set(cacheKey, cssTextPromise);\r\n }\r\n return cssTextPromise;\r\n };\r\n RuntimeCompiler = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [runtime_metadata_1.RuntimeMetadataResolver, directive_normalizer_1.DirectiveNormalizer, template_parser_1.TemplateParser, style_compiler_1.StyleCompiler, view_compiler_1.ViewCompiler, xhr_1.XHR, config_1.CompilerConfig])\r\n ], RuntimeCompiler);\r\n return RuntimeCompiler;\r\n}());\r\nexports.RuntimeCompiler = RuntimeCompiler;\r\nvar CompiledTemplate = (function () {\r\n function CompiledTemplate() {\r\n var _this = this;\r\n this.viewFactory = null;\r\n this.proxyViewFactory = function (viewUtils, childInjector, contextEl) {\r\n return _this.viewFactory(viewUtils, childInjector, contextEl);\r\n };\r\n }\r\n CompiledTemplate.prototype.init = function (viewFactory) { this.viewFactory = viewFactory; };\r\n return CompiledTemplate;\r\n}());\r\nfunction assertComponent(meta) {\r\n if (!meta.isComponent) {\r\n throw new exceptions_1.BaseException(\"Could not compile '\" + meta.type.name + \"' because it is not a component.\");\r\n }\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVudGltZV9jb21waWxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21waWxlci9ydW50aW1lX2NvbXBpbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxxQkFRTywwQkFBMEIsQ0FBQyxDQUFBO0FBQ2xDLDJCQUE0QixnQ0FBZ0MsQ0FBQyxDQUFBO0FBQzdELDJCQUtPLGdDQUFnQyxDQUFDLENBQUE7QUFDeEMsc0JBQTZCLDJCQUEyQixDQUFDLENBQUE7QUFDekQsaUNBUU8sb0JBQW9CLENBQUMsQ0FBQTtBQWdCNUIsbUJBQXlCLHNCQUFzQixDQUFDLENBQUE7QUFDaEQsK0JBQTBFLGtCQUFrQixDQUFDLENBQUE7QUFDN0YsOEJBQTJCLCtCQUErQixDQUFDLENBQUE7QUFDM0QsZ0NBQTZCLG1CQ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YWxpemVkVmlld0Rpck1ldGFzLnNsaWNlKDEpO1xuICAgICAgICAgICAgICAgIHZhciBzdHlsZXMgPSBzdHlsZXNBbmROb3JtYWxpemVkVmlld0Rpck1ldGFzWzBdO1xuICAgICAgICAgICAgICAgIHZhciBwYXJzZWRUZW1wbGF0ZSA9XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuX3RlbXBsYXRlUGFyc2VyLnBhcnNlKGNvbXBNZXRhLCBjb21wTWV0YS50ZW1wbGF0ZS50ZW1wbGF0ZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbm9ybWFsaXplZFZpZXdEaXJNZXRhcywgcGlwZXMsIGNvbXBNZXRhLnR5cGUubmFtZSk7XG5cbiAgICAgICAgICAgICAgICB2YXIgY2hpbGRQcm9taXNlcyA9IFtdO1xuICAgICAgICAgICAgICAgIGNvbXBpbGVkVGVtcGxhdGUuaW5pdCh0aGlzLl9jb21waWxlQ29tcG9uZW50KGNvbXBNZXRhLCBwYXJzZWRUZW1wbGF0ZSwgc3R5bGVzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBpcGVzLCBjb21waWxpbmdDb21wb25lbnRzUGF0aCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjaGlsZFByb21pc2VzKSk7XG4gICAgICAgICAgICAgICAgcmV0dXJuIFByb21pc2VXcmFwcGVyLmFsbChjaGlsZFByb21pc2VzKS50aGVuKChfKSA9PiB7IHJldHVybiBjb21waWxlZFRlbXBsYXRlOyB9KTtcbiAgICAgICAgICAgICAgfSk7XG4gICAgICB0aGlzLl9jb21waWxlZFRlbXBsYXRlRG9uZS5zZXQoY2FjaGVLZXksIGRvbmUpO1xuICAgIH1cbiAgICByZXR1cm4gY29tcGlsZWRUZW1wbGF0ZTtcbiAgfVxuXG4gIHByaXZhdGUgX2N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biAgICAgIHRoaXMuX3N0eWxlQ2FjaGUuc2V0KGNhY2hlS2V5LCBjc3NUZXh0UHJvbWlzZSk7XG4gICAgfVxuICAgIHJldHVybiBjc3NUZXh0UHJvbWlzZTtcbiAgfVxufVxuXG5jbGFzcyBDb21waWxlZFRlbXBsYXRlIHtcbiAgdmlld0ZhY3Rvcnk6IEZ1bmN0aW9uID0gbnVsbDtcbiAgcHJveHlWaWV3RmFjdG9yeTogRnVuY3Rpb247XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHRoaXMucHJveHlWaWV3RmFjdG9yeSA9ICh2aWV3VXRpbHMsIGNoaWxkSW5qZWN0b3IsIGNvbnRleHRFbCkgPT5cbiAgICAgICAgdGhpcy52aWV3RmFjdG9yeSh2aWV3VXRpbHMsIGNoaWxkSW5qZWN0b3IsIGNvbnRleHRFbCk7XG4gIH1cblxuICBpbml0KHZpZXdGYWN0b3J5OiBGdW5jdGlvbikgeyB0aGlzLnZpZXdGYWN0b3J5ID0gdmlld0ZhY3Rvcnk7IH1cbn1cblxuZnVuY3Rpb24gYXNzZXJ0Q29tcG9uZW50KG1ldGE6IENvbXBpbGVEaXJlY3RpdmVNZXRhZGF0YSkge1xuICBpZiAoIW1ldGEuaXNDb21wb25lbnQpIHtcbiAgICB0aHJvdyBuZXcgQmFzZUV4Y2VwdGlvbihgQ291bGQgbm90IGNvbXBpbGUgJyR7bWV0YS50eXBlLm5hbWV9JyBiZWNhdXNlIGl0IGlzIG5vdCBhIGNvbXBvbmVudC5gKTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nexports.DOM = null;\r\nfunction setRootDomAdapter(adapter) {\r\n if (lang_1.isBlank(exports.DOM)) {\r\n exports.DOM = adapter;\r\n }\r\n}\r\nexports.setRootDomAdapter = setRootDomAdapter;\r\n/* tslint:disable:requireParameterType */\r\n/**\r\n * Provides DOM operations in an environment-agnostic way.\r\n */\r\nvar DomAdapter = (function () {\r\n function DomAdapter() {\r\n }\r\n Object.defineProperty(DomAdapter.prototype, \"attrToPropMap\", {\r\n /**\r\n * Maps attribute names to their corresponding property names for cases\r\n * where attribute name doesn't match property name.\r\n */\r\n get: function () { return this._attrToPropMap; },\r\n set: function (value) { this._attrToPropMap = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n ;\r\n return DomAdapter;\r\n}());\r\nexports.DomAdapter = DomAdapter;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tX2FkYXB0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvcGxhdGZvcm0vZG9tL2RvbV9hZGFwdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBNEIsMEJBQTBCLENBQUMsQ0FBQTtBQUU1QyxXQUFHLEdBQWUsSUFBSSxDQUFDO0FBRWxDLDJCQUFrQyxPQUFtQjtJQUNuRCxFQUFFLENBQUMsQ0FBQyxjQUFPLENBQUMsV0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQ2pCLFdBQUcsR0FBRyxPQUFPLENBQUM7SUFDaEIsQ0FBQztBQUNILENBQUM7QUFKZSx5QkFBaUIsb0JBSWhDLENBQUE7QUFFRCx5Q0FBeUM7QUFDekM7O0dBRUc7QUFDSDtJQUFBO0lBZ0lBLENBQUM7SUE5R0Msc0JBQUkscUNBQWE7UUFKakI7OztXQUdHO2FBQ0gsY0FBK0MsTUFBTSxDQUFDLElBQUksQ0FBQyxjQUFjLENBQUMsQ0FBQyxDQUFDO2FBQzVFLFVBQWtCLEtBQThCLElBQUksSUFBSSxDQUFDLGNBQWMsR0FBRyxLQUFLLENBQUMsQ0FBQyxDQUFDOzs7T0FETjs7O0lBOE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tcbiAgYWJzdHJhY3QgZ2V0QmFzZUhyZWYoKTogc3RyaW5nO1xuICBhYnN0cmFjdCByZXNldEJhc2VFbGVtZW50KCk6IHZvaWQ7XG4gIGFic3RyYWN0IGdldFVzZXJBZ2VudCgpOiBzdHJpbmc7XG4gIGFic3RyYWN0IHNldERhdGEoZWxlbWVudCwgbmFtZTogc3RyaW5nLCB2YWx1ZTogc3RyaW5nKTtcbiAgYWJzdHJhY3QgZ2V0Q29tcHV0ZWRTdHlsZShlbGVtZW50KTogYW55O1xuICBhYnN0cmFjdCBnZXREYXRhKGVsZW1lbnQsIG5hbWU6IHN0cmluZyk6IHN0cmluZztcbiAgYWJzdHJhY3Qgc2V0R2xvYmFsVmFyKG5hbWU6IHN0cmluZywgdmFsdWU6IGFueSk7XG4gIGFic3RyYWN0IHJlcXVlc3RBbmltYXRpb25GcmFtZShjYWxsYmFjayk6IG51bWJlcjtcbiAgYWJzdHJhY3QgY2FuY2VsQW5pbWF0aW9uRnJhbWUoaWQpO1xuICBhYnN0cmFjdCBwZXJmb3JtYW5jZU5vdygpOiBudW1iZXI7XG4gIGFic3RyYWN0IGdldEFuaW1hdGlvblByZWZpeCgpOiBzdHJpbmc7XG4gIGFic3RyYWN0IGdldFRyYW5zaXRpb25FbmQoKTogc3RyaW5nO1xuICBhYnN0cmFjdCBzdXBwb3J0c0FuaW1hdGlvbigpOiBib29sZWFuO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n// see http://www.w3.org/TR/html51/syntax.html#named-character-references\r\n// see https://html.spec.whatwg.org/multipage/entities.json\r\n// This list is not exhaustive to keep the compiler footprint low.\r\n// The `&#123;` / `&#x1ab;` syntax should be used when the named character reference does not exist.\r\nexports.NAMED_ENTITIES = lang_1.CONST_EXPR({\r\n 'Aacute': '\\u00C1',\r\n 'aacute': '\\u00E1',\r\n 'Acirc': '\\u00C2',\r\n 'acirc': '\\u00E2',\r\n 'acute': '\\u00B4',\r\n 'AElig': '\\u00C6',\r\n 'aelig': '\\u00E6',\r\n 'Agrave': '\\u00C0',\r\n 'agrave': '\\u00E0',\r\n 'alefsym': '\\u2135',\r\n 'Alpha': '\\u0391',\r\n 'alpha': '\\u03B1',\r\n 'amp': '&',\r\n 'and': '\\u2227',\r\n 'ang': '\\u2220',\r\n 'apos': '\\u0027',\r\n 'Aring': '\\u00C5',\r\n 'aring': '\\u00E5',\r\n 'asymp': '\\u2248',\r\n 'Atilde': '\\u00C3',\r\n 'atilde': '\\u00E3',\r\n 'Auml': '\\u00C4',\r\n 'auml': '\\u00E4',\r\n 'bdquo': '\\u201E',\r\n 'Beta': '\\u0392',\r\n 'beta': '\\u03B2',\r\n 'brvbar': '\\u00A6',\r\n 'bull': '\\u2022',\r\n 'cap': '\\u2229',\r\n 'Ccedil': '\\u00C7',\r\n 'ccedil': '\\u00E7',\r\n 'cedil': '\\u00B8',\r\n 'cent': '\\u00A2',\r\n 'Chi': '\\u03A7',\r\n 'chi': '\\u03C7',\r\n 'circ': '\\u02C6',\r\n 'clubs': '\\u2663',\r\n 'cong': '\\u2245',\r\n 'copy': '\\u00A9',\r\n 'crarr': '\\u21B5',\r\n 'cup': '\\u222A',\r\n 'curren': '\\u00A4',\r\n 'dagger': '\\u2020',\r\n 'Dagger': '\\u2021',\r\n 'darr': '\\u2193',\r\n 'dArr': '\\u21D3',\r\n 'deg': '\\u00B0',\r\n 'Delta': '\\u0394',\r\n 'delta': '\\u03B4',\r\n 'diams': '\\u2666',\r\n 'divide': '\\u00F7',\r\n 'Eacute': '\\u00C9',\r\n 'eacute': '\\u00E9',\r\n 'Ecirc': '\\u00CA',\r\n 'ecirc': '\\u00EA',\r\n 'Egrave': '\\u00C8',\r\n 'egrave': '\\u00E8',\r\n 'empty': '\\u2205',\r\n 'emsp': '\\u2003',\r\n 'ensp': '\\u2002',\r\n 'Epsilon': '\\u0395',\r\n 'epsilon': '\\u03B5',\r\n 'equiv': '\\u2261',\r\n 'Eta': '\\u0397',\r\n 'eta': '\\u03B7',\r\n 'ETH': '\\u00D0',\r\n 'eth': '\\u00F0',\r\n 'Euml': '\\u00CB',\r\n 'euml': '\\u00EB',\r\n 'euro': '\\u20AC',\r\n 'exist': '\\u2203',\r\n 'fnof': '\\u0192',\r\n 'forall': '\\u2200',\r\n 'frac12': '\\u00BD',\r\n 'frac14': '\\u00BC',\r\n 'frac34': '\\u00BE',\r\n 'frasl': '\\u2044',\r\n 'Gamma': '\\u0393',\r\n 'gamma': '\\u03B3',\r\n 'ge': '\\u2265',\r\n 'gt': '>',\r\n 'harr': '\\u2194',\r\n 'hArr': '\\u21D4',\r\n 'hearts': '\\u2665',\r\n 'hellip': '\\u2026',\r\n 'Iacute': '\\u00CD',\r\n 'iacute': '\\u00ED',\r\n 'Icirc': '\\u00CE',\r\n 'icirc': '\\u00EE',\r\n 'iexcl': '\\u00A1',\r\n 'Igrave': '\\u00CC',\r\n 'igrave': '\\u00EC',\r\n 'image': '\\u2111',\r\n 'infin': '\\u221E',\r\n 'int': '\\u222B',\r\n 'Iota': '\\u0399',\r\n 'iota': '\\u03B9',\r\n 'iquest': '\\u00BF',\r\n 'isin': '\\u2208',\r\n 'Iuml': '\\u00CF',\r\n 'iuml': '\\u00EF',\r\n 'Kappa': '\\u039A',\r\n 'kappa': '\\u03BA',\r\n 'Lambda': '\\u039B',\r\n 'lambda': '\\u03BB',\r\n 'lang': '\\u27E8',\r\n 'laquo': '\\u00AB',\r\n 'larr': '\\u2190',\r\n 'lArr': '\\u21D0',\r\n 'lceil': '\\u2308',\r\n 'ldquo': '\\u201C',\r\n 'le': '\\u2264',\r\n 'lfloor': '\\u230A',\r\n 'lowast': '\\u2217',\r\n 'loz': '\\u25CA',\r\n 'lrm': '\\u200E',\r\n 'lsaquo': '\\u2039',\r\n 'lsquo': '\\u2018',\r\n 'lt': '<',\r\n 'macr': '\\u00AF',\r\n 'mdash': '\\u2014',\r\n 'micro': '\\u00B5',\r\n 'middot': '\\u00B7',\r\n 'minus': '\\u2212',\r\n 'Mu': '\\u039C',\r\n 'mu': '\\u03BC',\r\n 'nabla': '\\u2207',\r\n 'nbsp': '\\u00A0',\r\n 'ndash': '\\u2013',\r\n 'ne': '\\u2260',\r\n 'ni': '\\u220B',\r\n 'not': '\\u00AC',\r\n 'notin': '\\u2209',\r\n 'nsub': '\\u2284',\r\n 'Ntilde': '\\u00D1',\r\n 'ntilde': '\\u00F1',\r\n 'Nu': '\\u039D',\r\n 'nu': '\\u03BD',\r\n 'Oacute': '\\u00D3',\r\n 'oacute': '\\u00F3',\r\n 'Ocirc': '\\u00D4',\r\n 'ocirc': '\\u00F4',\r\n 'OElig': '\\u0152',\r\n 'oelig': '\\u0153',\r\n 'Ograve': '\\u00D2',\r\n 'ograve': '\\u00F2',\r\n 'oline': '\\u203E',\r\n 'Omega': '\\u03A9',\r\n 'omega': '\\u03C9',\r\n 'Omicron': '\\u039F',\r\n 'omicron': '\\u03BF',\r\n 'oplus': '\\u2295',\r\n 'or': '\\u2228',\r\n 'ordf': '\\u00AA',\r\n 'ordm': '\\u00BA',\r\n 'Oslash': '\\u00D8',\r\n 'oslash': '\\u00F8',\r\n 'Otilde': '\\u00D5',\r\n 'otilde': '\\u00F5',\r\n 'otimes': '\\u2297',\r\n 'Ouml': '\\u00D6',\r\n 'ouml': '\\u00F6',\r\n 'para': '\\u00B6',\r\n 'permil': '\\u2030',\r\n 'perp': '\\u22A5',\r\n 'Phi': '\\u03A6',\r\n 'phi': '\\u03C6',\r\n 'Pi': '\\u03A0',\r\n 'pi': '\\u03C0',\r\n 'piv': '\\u03D6',\r\n 'plusmn': '\\u00B1',\r\n 'pound': '\\u00A3',\r\n 'prime': '\\u2032',\r\n 'Prime': '\\u2033',\r\n 'prod': '\\u220F',\r\n 'prop': '\\u221D',\r\n 'Psi': '\\u03A8',\r\n 'psi': '\\u03C8',\r\n 'quot': '\\u0022',\r\n 'radic': '\\u221A',\r\n 'rang': '\\u27E9',\r\n 'raquo': '\\u00BB',\r\n 'rarr': '\\u2192',\r\n 'rArr': '\\u21D2',\r\n 'rceil': '\\u2309',\r\n 'rdquo': '\\u201D',\r\n 'real': '\\u211C',\r\n 'reg': '\\u00AE',\r\n 'rfloor': '\\u230B',\r\n 'Rho': '\\u03A1',\r\n 'rho': '\\u03C1',\r\n 'rlm': '\\u200F',\r\n 'rsaquo': '\\u203A',\r\n 'rsquo': '\\u2019',\r\n 'sbquo': '\\u201A',\r\n 'Scaron': '\\u0160',\r\n 'scaron': '\\u0161',\r\n 'sdot': '\\u22C5',\r\n 'sect': '\\u00A7',\r\n 'shy': '\\u00AD',\r\n 'Sigma': '\\u03A3',\r\n 'sigma': '\\u03C3',\r\n 'sigmaf': '\\u03C2',\r\n 'sim': '\\u223C',\r\n 'spades': '\\u2660',\r\n 'sub': '\\u2282',\r\n 'sube': '\\u2286',\r\n 'sum': '\\u2211',\r\n 'sup': '\\u2283',\r\n 'sup1': '\\u00B9',\r\n 'sup2': '\\u00B2',\r\n 'sup3': '\\u00B3',\r\n 'supe': '\\u2287',\r\n 'szlig': '\\u00DF',\r\n 'Tau': '\\u03A4',\r\n 'tau': '\\u03C4',\r\n 'there4': '\\u2234',\r\n 'Theta': '\\u0398',\r\n 'theta': '\\u03B8',\r\n 'thetasym': '\\u03D1',\r\n 'thinsp': '\\u2009',\r\n 'THORN': '\\u00DE',\r\n 'thorn': '\\u00FE',\r\n 'tilde': '\\u02DC',\r\n 'times': '\\u00D7',\r\n 'trade': '\\u2122',\r\n 'Uacute': '\\u00DA',\r\n 'uacute': '\\u00FA',\r\n 'uarr': '\\u2191',\r\n 'uArr': '\\u21D1',\r\n 'Ucirc': '\\u00DB',\r\n 'ucirc': '\\u00FB',\r\n 'Ugrave': '\\u00D9',\r\n 'ugrave': '\\u00F9',\r\n 'uml': '\\u00A8',\r\n 'upsih': '\\u03D2',\r\n 'Upsilon': '\\u03A5',\r\n 'upsilon': '\\u03C5',\r\n 'Uuml': '\\u00DC',\r\n 'uuml': '\\u00FC',\r\n 'weierp': '\\u2118',\r\n 'Xi': '\\u039E',\r\n 'xi': '\\u03BE',\r\n 'Yacute': '\\u00DD',\r\n 'yacute': '\\u00FD',\r\n 'yen': '\\u00A5',\r\n 'yuml': '\\u00FF',\r\n 'Yuml': '\\u0178',\r\n 'Zeta': '\\u0396',\r\n 'zeta': '\\u03B6',\r\n 'zwj': '\\u200D',\r\n 'zwnj': '\\u200C',\r\n});\r\n(function (HtmlTagContentType) {\r\n HtmlTagContentType[HtmlTagContentType[\"RAW_TEXT\"] = 0] = \"RAW_TEXT\";\r\n HtmlTagContentType[HtmlTagContentType[\"ESCAPABLE_RAW_TEXT\"] = 1] = \"ESCAPABLE_RAW_TEXT\";\r\n HtmlTagContentType[HtmlTagContentType[\"PARSABLE_DATA\"] = 2] = \"PARSABLE_DATA\";\r\n})(exports.HtmlTagContentType || (exports.HtmlTagContentType = {}));\r\nvar HtmlTagContentType = exports.HtmlTagContentType;\r\nvar HtmlTagDefinition = (function () {\r\n function HtmlTagDefinition(_a) {\r\n var _this = this;\r\n var _b = _a === void 0 ? {} : _a, closedByChildren = _b.closedByChildren, requiredParents = _b.requiredParents, implicitNamespacePrefix = _b.implicitNamespacePrefix, contentType = _b.contentType, closedByParent = _b.closedByParent, isVoid = _b.isVoid, ignoreFirstLf = _b.ignoreFirstLf;\r\n this.closedByChildren = {};\r\n this.closedByParent = false;\r\n if (lang_1.isPresent(closedByChildren) && closedByChildren.length > 0) {\r\n closedByChildren.forEach(function (tagName) { return _this.closedByChildren[tagName] = true; });\r\n }\r\n this.isVoid = lang_1.normalizeBool(isVoid);\r\n this.closedByParent = lang_1.normalizeBool(closedByParent) || this.isVoid;\r\n if (lang_1.isPresent(requiredParents) && requiredParents.length > 0) {\r\n this.requiredParents = {};\r\n this.parentToAdd = requiredParents[0];\r\n requiredParents.forEach(function (tagName) { return _this.requiredParents[tagName] = true; });\r\n }\r\n this.implicitNamespacePrefix = implicitNamespacePrefix;\r\n this.contentType = lang_1.isPresent(contentType) ? contentType : HtmlTagContentType.PARSABLE_DATA;\r\n this.ignoreFirstLf = lang_1.normalizeBool(ignoreFirstLf);\r\n }\r\n HtmlTagDefinition.prototype.requireExtraParent = function (currentParent) {\r\n if (lang_1.isBlank(this.requiredParents)) {\r\n return false;\r\n }\r\n if (lang_1.isBlank(currentParent)) {\r\n return true;\r\n }\r\n var lcParent = currentParent.toLowerCase();\r\n return this.requiredParents[lcParent] != true && lcParent != 'template';\r\n };\r\n HtmlTagDefinition.prototype.isClosedByChild = function (name) {\r\n return this.isVoid || lang_1.normalizeBool(this.closedByChildren[name.toLowerCase()]);\r\n };\r\n return HtmlTagDefinition;\r\n}());\r\nexports.HtmlTagDefinition = HtmlTagDefinition;\r\n// see http://www.w3.org/TR/html51/syntax.html#optional-tags\r\n// This implementation does not fully conform to the HTML5 spec.\r\nvar TAG_DEFINITIONS = {\r\n 'base': new HtmlTagDefinition({ isVoid: true }),\r\n 'meta': new HtmlTagDefinition({ isVoid: true }),\r\n 'area': new HtmlTagDefinition({ isVoid: true }),\r\n 'embed': new HtmlTagDefinition({ isVoid: true }),\r\n 'link': new HtmlTagDefinition({ isVoid: true }),\r\n 'img': new HtmlTagDefinition({ isVoid: true }),\r\n 'input': new HtmlTagDefinition({ isVoid: true }),\r\n 'param': new HtmlTagDefinition({ isVoid: true }),\r\n 'hr': new HtmlTagDefinition({ isVoid: true }),\r\n 'br': new HtmlTagDefinition({ isVoid: true }),\r\n 'source': new HtmlTagDefinition({ isVoid: true }),\r\n 'track': new HtmlTagDefinition({ isVoid: true }),\r\n 'wbr': new HtmlTagDefinition({ isVoid: true }),\r\n 'p': new HtmlTagDefinition({\r\n closedByChildren: [\r\n 'address',\r\n 'article',\r\n 'aside',\r\n 'blockquote',\r\n 'div',\r\n 'dl',\r\n 'fieldset',\r\n 'footer',\r\n 'form',\r\n 'h1',\r\n 'h2',\r\n 'h3',\r\n 'h4',\r\n 'h5',\r\n 'h6',\r\n 'header',\r\n 'hgroup',\r\n 'hr',\r\n 'main',\r\n 'nav',\r\n 'ol',\r\n 'p',\r\n 'pre',\r\n 'section',\r\n 'table',\r\n 'ul'\r\n ],\r\n closedByParent: true\r\n }),\r\n 'thead': new HtmlTagDefinition({ closedByChildren: ['tbody', 'tfoot'] }),\r\n 'tbody': new HtmlTagDefinition({ closedByChildren: ['tbody', 'tfoot'], closedByParent: true }),\r\n 'tfoot': new HtmlTagDefinition({ closedByChildren: ['tbody'], closedByParent: true }),\r\n 'tr': new HtmlTagDefinition({\r\n closedByChildren: ['tr'],\r\n requiredParents: ['tbody', 'tfoot', 'thead'],\r\n closedByParent: true\r\n }),\r\n 'td': new HtmlTagDefinition({ closedByChildren: ['td', 'th'], closedByParent: true }),\r\n 'th': new HtmlTagDefinition({ closedByChildren: ['td', 'th'], closedByParent: true }),\r\n 'col': new HtmlTagDefinition({ requiredParents: ['colgroup'], isVoid: true }),\r\n 'svg': new HtmlTagDefinition({ implicitNamespacePrefix: 'svg' }),\r\n 'math': new HtmlTagDefinition({ implicitNamespacePrefix: 'math' }),\r\n 'li': new HtmlTagDefinition({ closedByChildren: ['li'], closedByParent: true }),\r\n 'dt': new HtmlTagDefinition({ closedByChildren: ['dt', 'dd'] }),\r\n 'dd': new HtmlTagDefinition({ closedByChildren: ['dt', 'dd'], closedByParent: true }),\r\n 'rb': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\r\n 'rt': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\r\n 'rtc': new HtmlTagDefinition({ closedByChildren: ['rb', 'rtc', 'rp'], closedByParent: true }),\r\n 'rp': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\r\n 'optgroup': new HtmlTagDefinition({ closedByChildren: ['optgroup'], closedByParent: true }),\r\n 'option': new HtmlTagDefinition({ closedByChildren: ['option', 'optgroup'], closedByParent: true }),\r\n 'pre': new HtmlTagDefinition({ ignoreFirstLf: true }),\r\n 'listing': new HtmlTagDefinition({ ignoreFirstLf: true }),\r\n 'style': new HtmlTagDefinition({ contentType: HtmlTagContentType.RAW_TEXT }),\r\n 'script': new HtmlTagDefinition({ contentType: HtmlTagContentType.RAW_TEXT }),\r\n 'title': new HtmlTagDefinition({ contentType: HtmlTagContentType.ESCAPABLE_RAW_TEXT }),\r\n 'textarea': new HtmlTagDefinition({ contentType: HtmlTagContentType.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }),\r\n};\r\nvar DEFAULT_TAG_DEFINITION = new HtmlTagDefinition();\r\nfunction getHtmlTagDefinition(tagName) {\r\n var result = TAG_DEFINITIONS[tagName.toLowerCase()];\r\n return lang_1.isPresent(result) ? result : DEFAULT_TAG_DEFINITION;\r\n}\r\nexports.getHtmlTagDefinition = getHtmlTagDefinition;\r\nvar NS_PREFIX_RE = /^@([^:]+):(.+)/g;\r\nfunction splitNsName(elementName) {\r\n if (elementName[0] != '@') {\r\n return [null, elementName];\r\n }\r\n var match = lang_1.RegExpWrapper.firstMatch(NS_PREFIX_RE, elementName);\r\n return [match[1], match[2]];\r\n}\r\nexports.splitNsName = splitNsName;\r\nfunction getNsPrefix(elementName) {\r\n return splitNsName(elementName)[0];\r\n}\r\nexports.getNsPrefix = getNsPrefix;\r\nfunction mergeNsAndName(prefix, localName) {\r\n return lang_1.isPresent(prefix) ? \"@\" + prefix + \":\" + localName : localName;\r\n}\r\nexports.mergeNsAndName = mergeNsAndName;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHRtbF90YWdzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL2h0bWxfdGFncy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBTU8sMEJBQ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1xuICByZXR1cm4gc3BsaXROc05hbWUoZWxlbWVudE5hbWUpWzBdO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gbWVyZ2VOc0FuZE5hbWUocHJlZml4OiBzdHJpbmcsIGxvY2FsTmFtZTogc3RyaW5nKTogc3RyaW5nIHtcbiAgcmV0dXJuIGlzUHJlc2VudChwcmVmaXgpID8gYEAke3ByZWZpeH06JHtsb2NhbE5hbWV9YCA6IGxvY2FsTmFtZTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar ElementSchemaRegistry = (function () {\r\n function ElementSchemaRegistry() {\r\n }\r\n ElementSchemaRegistry.prototype.hasProperty = function (tagName, propName) { return true; };\r\n ElementSchemaRegistry.prototype.getMappedPropName = function (propName) { return propName; };\r\n return ElementSchemaRegistry;\r\n}());\r\nexports.ElementSchemaRegistry = ElementSchemaRegistry;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudF9zY2hlbWFfcmVnaXN0cnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvc2NoZW1hL2VsZW1lbnRfc2NoZW1hX3JlZ2lzdHJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTtJQUFBO0lBR0EsQ0FBQztJQUZDLDJDQUFXLEdBQVgsVUFBWSxPQUFlLEVBQUUsUUFBZ0IsSUFBYSxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztJQUN4RSxpREFBaUIsR0FBakIsVUFBa0IsUUFBZ0IsSUFBWSxNQUFNLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQztJQUNsRSw0QkFBQztBQUFELENBQUMsQUFIRCxJQUdDO0FBSFksNkJBQXFCLHdCQUdqQyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEVsZW1lbnRTY2hlbWFSZWdpc3RyeSB7XG4gIGhhc1Byb3BlcnR5KHRhZ05hbWU6IHN0cmluZywgcHJvcE5hbWU6IHN0cmluZyk6IGJvb2xlYW4geyByZXR1cm4gdHJ1ZTsgfVxuICBnZXRNYXBwZWRQcm9wTmFtZShwcm9wTmFtZTogc3RyaW5nKTogc3RyaW5nIHsgcmV0dXJuIHByb3BOYW1lOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter');\r\nvar html_tags_1 = require('angular2/src/compiler/html_tags');\r\nvar element_schema_registry_1 = require('./element_schema_registry');\r\nvar NAMESPACE_URIS = lang_1.CONST_EXPR({ 'xlink': 'http://www.w3.org/1999/xlink', 'svg': 'http://www.w3.org/2000/svg' });\r\nvar DomElementSchemaRegistry = (function (_super) {\r\n __extends(DomElementSchemaRegistry, _super);\r\n function DomElementSchemaRegistry() {\r\n _super.apply(this, arguments);\r\n this._protoElements = new Map();\r\n }\r\n DomElementSchemaRegistry.prototype._getProtoElement = function (tagName) {\r\n var element = this._protoElements.get(tagName);\r\n if (lang_1.isBlank(element)) {\r\n var nsAndName = html_tags_1.splitNsName(tagName);\r\n element = lang_1.isPresent(nsAndName[0]) ?\r\n dom_adapter_1.DOM.createElementNS(NAMESPACE_URIS[nsAndName[0]], nsAndName[1]) :\r\n dom_adapter_1.DOM.createElement(nsAndName[1]);\r\n this._protoElements.set(tagName, element);\r\n }\r\n return element;\r\n };\r\n DomElementSchemaRegistry.prototype.hasProperty = function (tagName, propName) {\r\n if (tagName.indexOf('-') !== -1) {\r\n // can't tell now as we don't know which properties a custom element will get\r\n // once it is instantiated\r\n return true;\r\n }\r\n else {\r\n var elm = this._getProtoElement(tagName);\r\n return dom_adapter_1.DOM.hasProperty(elm, propName);\r\n }\r\n };\r\n DomElementSchemaRegistry.prototype.getMappedPropName = function (propName) {\r\n var mappedPropName = collection_1.StringMapWrapper.get(dom_adapter_1.DOM.attrToPropMap, propName);\r\n return lang_1.isPresent(mappedPropName) ? mappedPropName : propName;\r\n };\r\n DomElementSchemaRegistry = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], DomElementSchemaRegistry);\r\n return DomElementSchemaRegistry;\r\n}(element_schema_registry_1.ElementSchemaRegistry));\r\nexports.DomElementSchemaRegistry = DomElementSchemaRegistry;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tX2VsZW1lbnRfc2NoZW1hX3JlZ2lzdHJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2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9wTWFwLCBwcm9wTmFtZSk7XG4gICAgcmV0dXJuIGlzUHJlc2VudChtYXBwZWRQcm9wTmFtZSkgPyBtYXBwZWRQcm9wTmFtZSA6IHByb3BOYW1lO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar collection_1 = require(\"angular2/src/facade/collection\");\r\nvar AST = (function () {\r\n function AST() {\r\n }\r\n AST.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return null;\r\n };\r\n AST.prototype.toString = function () { return \"AST\"; };\r\n return AST;\r\n}());\r\nexports.AST = AST;\r\n/**\r\n * Represents a quoted expression of the form:\r\n *\r\n * quote = prefix `:` uninterpretedExpression\r\n * prefix = identifier\r\n * uninterpretedExpression = arbitrary string\r\n *\r\n * A quoted expression is meant to be pre-processed by an AST transformer that\r\n * converts it into another AST that no longer contains quoted expressions.\r\n * It is meant to allow third-party developers to extend Angular template\r\n * expression language. The `uninterpretedExpression` part of the quote is\r\n * therefore not interpreted by the Angular's own expression parser.\r\n */\r\nvar Quote = (function (_super) {\r\n __extends(Quote, _super);\r\n function Quote(prefix, uninterpretedExpression, location) {\r\n _super.call(this);\r\n this.prefix = prefix;\r\n this.uninterpretedExpression = uninterpretedExpression;\r\n this.location = location;\r\n }\r\n Quote.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitQuote(this, context);\r\n };\r\n Quote.prototype.toString = function () { return \"Quote\"; };\r\n return Quote;\r\n}(AST));\r\nexports.Quote = Quote;\r\nvar EmptyExpr = (function (_super) {\r\n __extends(EmptyExpr, _super);\r\n function EmptyExpr() {\r\n _super.apply(this, arguments);\r\n }\r\n EmptyExpr.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n // do nothing\r\n };\r\n return EmptyExpr;\r\n}(AST));\r\nexports.EmptyExpr = EmptyExpr;\r\nvar ImplicitReceiver = (function (_super) {\r\n __extends(ImplicitReceiver, _super);\r\n function ImplicitReceiver() {\r\n _super.apply(this, arguments);\r\n }\r\n ImplicitReceiver.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitImplicitReceiver(this, context);\r\n };\r\n return ImplicitReceiver;\r\n}(AST));\r\nexports.ImplicitReceiver = ImplicitReceiver;\r\n/**\r\n * Multiple expressions separated by a semicolon.\r\n */\r\nvar Chain = (function (_super) {\r\n __extends(Chain, _super);\r\n function Chain(expressions) {\r\n _super.call(this);\r\n this.expressions = expressions;\r\n }\r\n Chain.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitChain(this, context);\r\n };\r\n return Chain;\r\n}(AST));\r\nexports.Chain = Chain;\r\nvar Conditional = (function (_super) {\r\n __extends(Conditional, _super);\r\n function Conditional(condition, trueExp, falseExp) {\r\n _super.call(this);\r\n this.condition = condition;\r\n this.trueExp = trueExp;\r\n this.falseExp = falseExp;\r\n }\r\n Conditional.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitConditional(this, context);\r\n };\r\n return Conditional;\r\n}(AST));\r\nexports.Conditional = Conditional;\r\nvar PropertyRead = (function (_super) {\r\n __extends(PropertyRead, _super);\r\n function PropertyRead(receiver, name) {\r\n _super.call(this);\r\n this.receiver = receiver;\r\n this.name = name;\r\n }\r\n PropertyRead.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitPropertyRead(this, context);\r\n };\r\n return PropertyRead;\r\n}(AST));\r\nexports.PropertyRead = PropertyRead;\r\nvar PropertyWrite = (function (_super) {\r\n __extends(PropertyWrite, _super);\r\n function PropertyWrite(receiver, name, value) {\r\n _super.call(this);\r\n this.receiver = receiver;\r\n this.name = name;\r\n this.value = value;\r\n }\r\n PropertyWrite.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitPropertyWrite(this, context);\r\n };\r\n return PropertyWrite;\r\n}(AST));\r\nexports.PropertyWrite = PropertyWrite;\r\nvar SafePropertyRead = (function (_super) {\r\n __extends(SafePropertyRead, _super);\r\n function SafePropertyRead(receiver, name) {\r\n _super.call(this);\r\n this.receiver = receiver;\r\n this.name = name;\r\n }\r\n SafePropertyRead.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitSafePropertyRead(this, context);\r\n };\r\n return SafePropertyRead;\r\n}(AST));\r\nexports.SafePropertyRead = SafePropertyRead;\r\nvar KeyedRead = (function (_super) {\r\n __extends(KeyedRead, _super);\r\n function KeyedRead(obj, key) {\r\n _super.call(this);\r\n this.obj = obj;\r\n this.key = key;\r\n }\r\n KeyedRead.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitKeyedRead(this, context);\r\n };\r\n return KeyedRead;\r\n}(AST));\r\nexports.KeyedRead = KeyedRead;\r\nvar KeyedWrite = (function (_super) {\r\n __extends(KeyedWrite, _super);\r\n function KeyedWrite(obj, key, value) {\r\n _super.call(this);\r\n this.obj = obj;\r\n this.key = key;\r\n this.value = value;\r\n }\r\n KeyedWrite.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitKeyedWrite(this, context);\r\n };\r\n return KeyedWrite;\r\n}(AST));\r\nexports.KeyedWrite = KeyedWrite;\r\nvar BindingPipe = (function (_super) {\r\n __extends(BindingPipe, _super);\r\n function BindingPipe(exp, name, args) {\r\n _super.call(this);\r\n this.exp = exp;\r\n this.name = name;\r\n this.args = args;\r\n }\r\n BindingPipe.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitPipe(this, context);\r\n };\r\n return BindingPipe;\r\n}(AST));\r\nexports.BindingPipe = BindingPipe;\r\nvar LiteralPrimitive = (function (_super) {\r\n __extends(LiteralPrimitive, _super);\r\n function LiteralPrimitive(value) {\r\n _super.call(this);\r\n this.value = value;\r\n }\r\n LiteralPrimitive.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitLiteralPrimitive(this, context);\r\n };\r\n return LiteralPrimitive;\r\n}(AST));\r\nexports.LiteralPrimitive = LiteralPrimitive;\r\nvar LiteralArray = (function (_super) {\r\n __extends(LiteralArray, _super);\r\n function LiteralArray(expressions) {\r\n _super.call(this);\r\n this.expressions = expressions;\r\n }\r\n LiteralArray.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitLiteralArray(this, context);\r\n };\r\n return LiteralArray;\r\n}(AST));\r\nexports.LiteralArray = LiteralArray;\r\nvar LiteralMap = (function (_super) {\r\n __extends(LiteralMap, _super);\r\n function LiteralMap(keys, values) {\r\n _super.call(this);\r\n this.keys = keys;\r\n this.values = values;\r\n }\r\n LiteralMap.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitLiteralMap(this, context);\r\n };\r\n return LiteralMap;\r\n}(AST));\r\nexports.LiteralMap = LiteralMap;\r\nvar Interpolation = (function (_super) {\r\n __extends(Interpolation, _super);\r\n function Interpolation(strings, expressions) {\r\n _super.call(this);\r\n this.strings = strings;\r\n this.expressions = expressions;\r\n }\r\n Interpolation.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitInterpolation(this, context);\r\n };\r\n return Interpolation;\r\n}(AST));\r\nexports.Interpolation = Interpolation;\r\nvar Binary = (function (_super) {\r\n __extends(Binary, _super);\r\n function Binary(operation, left, right) {\r\n _super.call(this);\r\n this.operation = operation;\r\n this.left = left;\r\n this.right = right;\r\n }\r\n Binary.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitBinary(this, context);\r\n };\r\n return Binary;\r\n}(AST));\r\nexports.Binary = Binary;\r\nvar PrefixNot = (function (_super) {\r\n __extends(PrefixNot, _super);\r\n function PrefixNot(expression) {\r\n _super.call(this);\r\n this.expression = expression;\r\n }\r\n PrefixNot.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitPrefixNot(this, context);\r\n };\r\n return PrefixNot;\r\n}(AST));\r\nexports.PrefixNot = PrefixNot;\r\nvar MethodCall = (function (_super) {\r\n __extends(MethodCall, _super);\r\n function MethodCall(receiver, name, args) {\r\n _super.call(this);\r\n this.receiver = receiver;\r\n this.name = name;\r\n this.args = args;\r\n }\r\n MethodCall.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitMethodCall(this, context);\r\n };\r\n return MethodCall;\r\n}(AST));\r\nexports.MethodCall = MethodCall;\r\nvar SafeMethodCall = (function (_super) {\r\n __extends(SafeMethodCall, _super);\r\n function SafeMethodCall(receiver, name, args) {\r\n _super.call(this);\r\n this.receiver = receiver;\r\n this.name = name;\r\n this.args = args;\r\n }\r\n SafeMethodCall.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitSafeMethodCall(this, context);\r\n };\r\n return SafeMethodCall;\r\n}(AST));\r\nexports.SafeMethodCall = SafeMethodCall;\r\nvar FunctionCall = (function (_super) {\r\n __extends(FunctionCall, _super);\r\n function FunctionCall(target, args) {\r\n _super.call(this);\r\n this.target = target;\r\n this.args = args;\r\n }\r\n FunctionCall.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return visitor.visitFunctionCall(this, context);\r\n };\r\n return FunctionCall;\r\n}(AST));\r\nexports.FunctionCall = FunctionCall;\r\nvar ASTWithSource = (function (_super) {\r\n __extends(ASTWithSource, _super);\r\n function ASTWithSource(ast, source, location) {\r\n _super.call(this);\r\n this.ast = ast;\r\n this.source = source;\r\n this.location = location;\r\n }\r\n ASTWithSource.prototype.visit = function (visitor, context) {\r\n if (context === void 0) { context = null; }\r\n return this.ast.visit(visitor, context);\r\n };\r\n ASTWithSource.prototype.toString = function () { return this.source + \" in \" + this.location; };\r\n return ASTWithSource;\r\n}(AST));\r\nexports.ASTWithSource = ASTWithSource;\r\nvar TemplateBinding = (function () {\r\n function TemplateBinding(key, keyIsVar, name, expression) {\r\n this.key = key;\r\n this.keyIsVar = keyIsVar;\r\n this.name = name;\r\n this.expression = expression;\r\n }\r\n return TemplateBinding;\r\n}());\r\nexports.TemplateBinding = TemplateBinding;\r\nvar RecursiveAstVisitor = (function () {\r\n function RecursiveAstVisitor() {\r\n }\r\n RecursiveAstVisitor.prototype.visitBinary = function (ast, context) {\r\n ast.left.visit(this);\r\n ast.right.visit(this);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitChain = function (ast, context) { return this.visitAll(ast.expressions, context); };\r\n RecursiveAstVisitor.prototype.visitConditional = function (ast, context) {\r\n ast.condition.visit(this);\r\n ast.trueExp.visit(this);\r\n ast.falseExp.visit(this);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitPipe = function (ast, context) {\r\n ast.exp.visit(this);\r\n this.visitAll(ast.args, context);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitFunctionCall = function (ast, context) {\r\n ast.target.visit(this);\r\n this.visitAll(ast.args, context);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitImplicitReceiver = function (ast, context) { return null; };\r\n RecursiveAstVisitor.prototype.visitInterpolation = function (ast, context) {\r\n return this.visitAll(ast.expressions, context);\r\n };\r\n RecursiveAstVisitor.prototype.visitKeyedRead = function (ast, context) {\r\n ast.obj.visit(this);\r\n ast.key.visit(this);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitKeyedWrite = function (ast, context) {\r\n ast.obj.visit(this);\r\n ast.key.visit(this);\r\n ast.value.visit(this);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitLiteralArray = function (ast, context) {\r\n return this.visitAll(ast.expressions, context);\r\n };\r\n RecursiveAstVisitor.prototype.visitLiteralMap = function (ast, context) { return this.visitAll(ast.values, context); };\r\n RecursiveAstVisitor.prototype.visitLiteralPrimitive = function (ast, context) { return null; };\r\n RecursiveAstVisitor.prototype.visitMethodCall = function (ast, context) {\r\n ast.receiver.visit(this);\r\n return this.visitAll(ast.args, context);\r\n };\r\n RecursiveAstVisitor.prototype.visitPrefixNot = function (ast, context) {\r\n ast.expression.visit(this);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitPropertyRead = function (ast, context) {\r\n ast.receiver.visit(this);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitPropertyWrite = function (ast, context) {\r\n ast.receiver.visit(this);\r\n ast.value.visit(this);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitSafePropertyRead = function (ast, context) {\r\n ast.receiver.visit(this);\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitSafeMethodCall = function (ast, context) {\r\n ast.receiver.visit(this);\r\n return this.visitAll(ast.args, context);\r\n };\r\n RecursiveAstVisitor.prototype.visitAll = function (asts, context) {\r\n var _this = this;\r\n asts.forEach(function (ast) { return ast.visit(_this, context); });\r\n return null;\r\n };\r\n RecursiveAstVisitor.prototype.visitQuote = function (ast, context) { return null; };\r\n return RecursiveAstVisitor;\r\n}());\r\nexports.RecursiveAstVisitor = RecursiveAstVisitor;\r\nvar AstTransformer = (function () {\r\n function AstTransformer() {\r\n }\r\n AstTransformer.prototype.visitImplicitReceiver = function (ast, context) { return ast; };\r\n AstTransformer.prototype.visitInterpolation = function (ast, context) {\r\n return new Interpolation(ast.strings, this.visitAll(ast.expressions));\r\n };\r\n AstTransformer.prototype.visitLiteralPrimitive = function (ast, context) {\r\n return new LiteralPrimitive(ast.value);\r\n };\r\n AstTransformer.prototype.visitPropertyRead = function (ast, context) {\r\n return new PropertyRead(ast.receiver.visit(this), ast.name);\r\n };\r\n AstTransformer.prototype.visitPropertyWrite = function (ast, context) {\r\n return new PropertyWrite(ast.receiver.visit(this), ast.name, ast.value);\r\n };\r\n AstTransformer.prototype.visitSafePropertyRead = function (ast, context) {\r\n return new SafePropertyRead(ast.receiver.visit(this), ast.name);\r\n };\r\n AstTransformer.prototype.visitMethodCall = function (ast, context) {\r\n return new MethodCall(ast.receiver.visit(this), ast.name, this.visitAll(ast.args));\r\n };\r\n AstTransformer.prototype.visitSafeMethodCall = function (ast, context) {\r\n return new SafeMethodCall(ast.receiver.visit(this), ast.name, this.visitAll(ast.args));\r\n };\r\n AstTransformer.prototype.visitFunctionCall = function (ast, context) {\r\n return new FunctionCall(ast.target.visit(this), this.visitAll(ast.args));\r\n };\r\n AstTransformer.prototype.visitLiteralArray = function (ast, context) {\r\n return new LiteralArray(this.visitAll(ast.expressions));\r\n };\r\n AstTransformer.prototype.visitLiteralMap = function (ast, context) {\r\n return new LiteralMap(ast.keys, this.visitAll(ast.values));\r\n };\r\n AstTransformer.prototype.visitBinary = function (ast, context) {\r\n return new Binary(ast.operation, ast.left.visit(this), ast.right.visit(this));\r\n };\r\n AstTransformer.prototype.visitPrefixNot = function (ast, context) {\r\n return new PrefixNot(ast.expression.visit(this));\r\n };\r\n AstTransformer.prototype.visitConditional = function (ast, context) {\r\n return new Conditional(ast.condition.visit(this), ast.trueExp.visit(this), ast.falseExp.visit(this));\r\n };\r\n AstTransformer.prototype.visitPipe = function (ast, context) {\r\n return new BindingPipe(ast.exp.visit(this), ast.name, this.visitAll(ast.args));\r\n };\r\n AstTransformer.prototype.visitKeyedRead = function (ast, context) {\r\n return new KeyedRead(ast.obj.visit(this), ast.key.visit(this));\r\n };\r\n AstTransformer.prototype.visitKeyedWrite = function (ast, context) {\r\n return new KeyedWrite(ast.obj.visit(this), ast.key.visit(this), ast.value.visit(this));\r\n };\r\n AstTransformer.prototype.visitAll = function (asts) {\r\n var res = collection_1.ListWrapper.createFixedSize(asts.length);\r\n for (var i = 0; i < asts.length; ++i) {\r\n res[i] = asts[i].visit(this);\r\n }\r\n return res;\r\n };\r\n AstTransformer.prototype.visitChain = function (ast, context) { return new Chain(this.visitAll(ast.expressions)); };\r\n AstTransformer.prototype.visitQuote = function (ast, context) {\r\n return new Quote(ast.prefix, ast.uninterpretedExpression, ast.location);\r\n };\r\n return AstTransformer;\r\n}());\r\nexports.AstTransformer = AstTransformer;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL2V4cHJlc3Npb25fcGFyc2VyL2FzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSwyQkFBMEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUUzRDtJQUFBO0lBR0EsQ0FBQztJQUZDLG1CQUFLLEdBQUwsVUFBTSxPQUFtQixFQUFFLE9BQW1CO1FBQW5CLHVCQUFtQixHQUFuQixjQUFtQjtRQUFTLE1BQU0sQ0FBQyxJQUFJLENBQUM7SUFBQyxDQUFDO0lBQ3JFLHNCQUFRLEdBQVIsY0FBcUIsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7SUFDdEMsVUFBQztBQUFELENBQUMsQUFIRCxJQUdDO0FBSFksV0FBRyxNQUdmLENBQUE7QUFFRDs7Ozs7Ozs7Ozs7O0dBWUc7QUFDSDtJQUEyQix5QkFBRztJQUM1QixlQUFtQixNQUFjLEVBQVMsdUJBQStCLEVBQVMsUUFBYTtRQUM3RixpQkFBTyxDQUFDO1FBRFMsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUFTLDRCQUF1QixHQUF2Qix1QkFBdUIsQ0FBUTtRQUFTLGFBQVEsR0FBUixRQUFRLENBQUs7SUFFL0YsQ0FBQztJQUNELHFCQUFLLEdBQUwsVUFBTSxPQUFtQixFQUFFLE9BQW1CO1FBQW5CLHVCQUFtQixHQUFuQixjQUFtQj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c1tpXSA9IGFzdHNbaV0udmlzaXQodGhpcyk7XG4gICAgfVxuICAgIHJldHVybiByZXM7XG4gIH1cblxuICB2aXNpdENoYWluKGFzdDogQ2hhaW4sIGNvbnRleHQ6IGFueSk6IEFTVCB7IHJldHVybiBuZXcgQ2hhaW4odGhpcy52aXNpdEFsbChhc3QuZXhwcmVzc2lvbnMpKTsgfVxuXG4gIHZpc2l0UXVvdGUoYXN0OiBRdW90ZSwgY29udGV4dDogYW55KTogQVNUIHtcbiAgICByZXR1cm4gbmV3IFF1b3RlKGFzdC5wcmVmaXgsIGFzdC51bmludGVycHJldGVkRXhwcmVzc2lvbiwgYXN0LmxvY2F0aW9uKTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar decorators_1 = require('angular2/src/core/di/decorators');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lexer_1 = require('./lexer');\r\nvar ast_1 = require('./ast');\r\nvar _implicitReceiver = new ast_1.ImplicitReceiver();\r\n// TODO(tbosch): Cannot make this const/final right now because of the transpiler...\r\nvar INTERPOLATION_REGEXP = /\\{\\{([\\s\\S]*?)\\}\\}/g;\r\nvar ParseException = (function (_super) {\r\n __extends(ParseException, _super);\r\n function ParseException(message, input, errLocation, ctxLocation) {\r\n _super.call(this, \"Parser Error: \" + message + \" \" + errLocation + \" [\" + input + \"] in \" + ctxLocation);\r\n }\r\n return ParseException;\r\n}(exceptions_1.BaseException));\r\nvar SplitInterpolation = (function () {\r\n function SplitInterpolation(strings, expressions) {\r\n this.strings = strings;\r\n this.expressions = expressions;\r\n }\r\n return SplitInterpolation;\r\n}());\r\nexports.SplitInterpolation = SplitInterpolation;\r\nvar TemplateBindingParseResult = (function () {\r\n function TemplateBindingParseResult(templateBindings, warnings) {\r\n this.templateBindings = templateBindings;\r\n this.warnings = warnings;\r\n }\r\n return TemplateBindingParseResult;\r\n}());\r\nexports.TemplateBindingParseResult = TemplateBindingParseResult;\r\nvar Parser = (function () {\r\n function Parser(/** @internal */ _lexer) {\r\n this._lexer = _lexer;\r\n }\r\n Parser.prototype.parseAction = function (input, location) {\r\n this._checkNoInterpolation(input, location);\r\n var tokens = this._lexer.tokenize(this._stripComments(input));\r\n var ast = new _ParseAST(input, location, tokens, true).parseChain();\r\n return new ast_1.ASTWithSource(ast, input, location);\r\n };\r\n Parser.prototype.parseBinding = function (input, location) {\r\n var ast = this._parseBindingAst(input, location);\r\n return new ast_1.ASTWithSource(ast, input, location);\r\n };\r\n Parser.prototype.parseSimpleBinding = function (input, location) {\r\n var ast = this._parseBindingAst(input, location);\r\n if (!SimpleExpressionChecker.check(ast)) {\r\n throw new ParseException('Host binding expression can only contain field access and constants', input, location);\r\n }\r\n return new ast_1.ASTWithSource(ast, input, location);\r\n };\r\n Parser.prototype._parseBindingAst = function (input, location) {\r\n // Quotes expressions use 3rd-party expression language. We don't want to use\r\n // our lexer or parser for that, so we check for that ahead of time.\r\n var quote = this._parseQuote(input, location);\r\n if (lang_1.isPresent(quote)) {\r\n return quote;\r\n }\r\n this._checkNoInterpolation(input, location);\r\n var tokens = this._lexer.tokenize(this._stripComments(input));\r\n return new _ParseAST(input, location, tokens, false).parseChain();\r\n };\r\n Parser.prototype._parseQuote = function (input, location) {\r\n if (lang_1.isBlank(input))\r\n return null;\r\n var prefixSeparatorIndex = input.indexOf(':');\r\n if (prefixSeparatorIndex == -1)\r\n return null;\r\n var prefix = input.substring(0, prefixSeparatorIndex).trim();\r\n if (!lexer_1.isIdentifier(prefix))\r\n return null;\r\n var uninterpretedExpression = input.substring(prefixSeparatorIndex + 1);\r\n return new ast_1.Quote(prefix, uninterpretedExpression, location);\r\n };\r\n Parser.prototype.parseTemplateBindings = function (input, location) {\r\n var tokens = this._lexer.tokenize(input);\r\n return new _ParseAST(input, location, tokens, false).parseTemplateBindings();\r\n };\r\n Parser.prototype.parseInterpolation = function (input, location) {\r\n var split = this.splitInterpolation(input, location);\r\n if (split == null)\r\n return null;\r\n var expressions = [];\r\n for (var i = 0; i < split.expressions.length; ++i) {\r\n var tokens = this._lexer.tokenize(this._stripComments(split.expressions[i]));\r\n var ast = new _ParseAST(input, location, tokens, false).parseChain();\r\n expressions.push(ast);\r\n }\r\n return new ast_1.ASTWithSource(new ast_1.Interpolation(split.strings, expressions), input, location);\r\n };\r\n Parser.prototype.splitInterpolation = function (input, location) {\r\n var parts = lang_1.StringWrapper.split(input, INTERPOLATION_REGEXP);\r\n if (parts.length <= 1) {\r\n return null;\r\n }\r\n var strings = [];\r\n var expressions = [];\r\n for (var i = 0; i < parts.length; i++) {\r\n var part = parts[i];\r\n if (i % 2 === 0) {\r\n // fixed string\r\n strings.push(part);\r\n }\r\n else if (part.trim().length > 0) {\r\n expressions.push(part);\r\n }\r\n else {\r\n throw new ParseException('Blank expressions are not allowed in interpolated strings', input, \"at column \" + this._findInterpolationErrorColumn(parts, i) + \" in\", location);\r\n }\r\n }\r\n return new SplitInterpolation(strings, expressions);\r\n };\r\n Parser.prototype.wrapLiteralPrimitive = function (input, location) {\r\n return new ast_1.ASTWithSource(new ast_1.LiteralPrimitive(input), input, location);\r\n };\r\n Parser.prototype._stripComments = function (input) {\r\n var i = this._commentStart(input);\r\n return lang_1.isPresent(i) ? input.substring(0, i).trim() : input;\r\n };\r\n Parser.prototype._commentStart = function (input) {\r\n var outerQuote = null;\r\n for (var i = 0; i < input.length - 1; i++) {\r\n var char = lang_1.StringWrapper.charCodeAt(input, i);\r\n var nextChar = lang_1.StringWrapper.charCodeAt(input, i + 1);\r\n if (char === lexer_1.$SLASH && nextChar == lexer_1.$SLASH && lang_1.isBlank(outerQuote))\r\n return i;\r\n if (outerQuote === char) {\r\n outerQuote = null;\r\n }\r\n else if (lang_1.isBlank(outerQuote) && lexer_1.isQuote(char)) {\r\n outerQuote = char;\r\n }\r\n }\r\n return null;\r\n };\r\n Parser.prototype._checkNoInterpolation = function (input, location) {\r\n var parts = lang_1.StringWrapper.split(input, INTERPOLATION_REGEXP);\r\n if (parts.length > 1) {\r\n throw new ParseException('Got interpolation ({{}}) where expression was expected', input, \"at column \" + this._findInterpolationErrorColumn(parts, 1) + \" in\", location);\r\n }\r\n };\r\n Parser.prototype._findInterpolationErrorColumn = function (parts, partInErrIdx) {\r\n var errLocation = '';\r\n for (var j = 0; j < partInErrIdx; j++) {\r\n errLocation += j % 2 === 0 ? parts[j] : \"{{\" + parts[j] + \"}}\";\r\n }\r\n return errLocation.length;\r\n };\r\n Parser = __decorate([\r\n decorators_1.Injectable(), \r\n __metadata('design:paramtypes', [lexer_1.Lexer])\r\n ], Parser);\r\n return Parser;\r\n}());\r\nexports.Parser = Parser;\r\nvar _ParseAST = (function () {\r\n function _ParseAST(input, location, tokens, parseAction) {\r\n this.input = input;\r\n this.location = location;\r\n this.tokens = tokens;\r\n this.parseAction = parseAction;\r\n this.index = 0;\r\n }\r\n _ParseAST.prototype.peek = function (offset) {\r\n var i = this.index + offset;\r\n return i < this.tokens.length ? this.tokens[i] : lexer_1.EOF;\r\n };\r\n Object.defineProperty(_ParseAST.prototype, \"next\", {\r\n get: function () { return this.peek(0); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(_ParseAST.prototype, \"inputIndex\", {\r\n get: function () {\r\n return (this.index < this.tokens.length) ? this.next.index : this.input.length;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n _ParseAST.prototype.advance = function () { this.index++; };\r\n _ParseAST.prototype.optionalCharacter = function (code) {\r\n if (this.next.isCharacter(code)) {\r\n this.advance();\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n _ParseAST.prototype.peekKeywordLet = function () { return this.next.isKeywordLet(); };\r\n _ParseAST.prototype.peekDeprecatedKeywordVar = function () { return this.next.isKeywordDeprecatedVar(); };\r\n _ParseAST.prototype.peekDeprecatedOperatorHash = function () { return this.next.isOperator('#'); };\r\n _ParseAST.prototype.expectCharacter = function (code) {\r\n if (this.optionalCharacter(code))\r\n return;\r\n this.error(\"Missing expected \" + lang_1.StringWrapper.fromCharCode(code));\r\n };\r\n _ParseAST.prototype.optionalOperator = function (op) {\r\n if (this.next.isOperator(op)) {\r\n this.advance();\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n _ParseAST.prototype.expectOperator = function (operator) {\r\n if (this.optionalOperator(operator))\r\n return;\r\n this.error(\"Missing expected operator \" + operator);\r\n };\r\n _ParseAST.prototype.expectIdentifierOrKeyword = function () {\r\n var n = this.next;\r\n if (!n.isIdentifier() && !n.isKeyword()) {\r\n this.error(\"Unexpected token \" + n + \", expected identifier or keyword\");\r\n }\r\n this.advance();\r\n return n.toString();\r\n };\r\n _ParseAST.prototype.expectIdentifierOrKeywordOrString = function () {\r\n var n = this.next;\r\n if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {\r\n this.error(\"Unexpected token \" + n + \", expected identifier, keyword, or string\");\r\n }\r\n this.advance();\r\n return n.toString();\r\n };\r\n _ParseAST.prototype.parseChain = function () {\r\n var exprs = [];\r\n while (this.index < this.tokens.length) {\r\n var expr = this.parsePipe();\r\n exprs.push(expr);\r\n if (this.optionalCharacter(lexer_1.$SEMICOLON)) {\r\n if (!this.parseAction) {\r\n this.error(\"Binding expression cannot contain chained expression\");\r\n }\r\n while (this.optionalCharacter(lexer_1.$SEMICOLON)) {\r\n } // read all semicolons\r\n }\r\n else if (this.index < this.tokens.length) {\r\n this.error(\"Unexpected token '\" + this.next + \"'\");\r\n }\r\n }\r\n if (exprs.length == 0)\r\n return new ast_1.EmptyExpr();\r\n if (exprs.length == 1)\r\n return exprs[0];\r\n return new ast_1.Chain(exprs);\r\n };\r\n _ParseAST.prototype.parsePipe = function () {\r\n var result = this.parseExpression();\r\n if (this.optionalOperator(\"|\")) {\r\n if (this.parseAction) {\r\n this.error(\"Cannot have a pipe in an action expression\");\r\n }\r\n do {\r\n var name = this.expectIdentifierOrKeyword();\r\n var args = [];\r\n while (this.optionalCharacter(lexer_1.$COLON)) {\r\n args.push(this.parseExpression());\r\n }\r\n result = new ast_1.BindingPipe(result, name, args);\r\n } while (this.optionalOperator(\"|\"));\r\n }\r\n return result;\r\n };\r\n _ParseAST.prototype.parseExpression = function () { return this.parseConditional(); };\r\n _ParseAST.prototype.parseConditional = function () {\r\n var start = this.inputIndex;\r\n var result = this.parseLogicalOr();\r\n if (this.optionalOperator('?')) {\r\n var yes = this.parsePipe();\r\n if (!this.optionalCharacter(lexer_1.$COLON)) {\r\n var end = this.inputIndex;\r\n var expression = this.input.substring(start, end);\r\n this.error(\"Conditional expression \" + expression + \" requires all 3 expressions\");\r\n }\r\n var no = this.parsePipe();\r\n return new ast_1.Conditional(result, yes, no);\r\n }\r\n else {\r\n return result;\r\n }\r\n };\r\n _ParseAST.prototype.parseLogicalOr = function () {\r\n // '||'\r\n var result = this.parseLogicalAnd();\r\n while (this.optionalOperator('||')) {\r\n result = new ast_1.Binary('||', result, this.parseLogicalAnd());\r\n }\r\n return result;\r\n };\r\n _ParseAST.prototype.parseLogicalAnd = function () {\r\n // '&&'\r\n var result = this.parseEquality();\r\n while (this.optionalOperator('&&')) {\r\n result = new ast_1.Binary('&&', result, this.parseEquality());\r\n }\r\n return result;\r\n };\r\n _ParseAST.prototype.parseEquality = function () {\r\n // '==','!=','===','!=='\r\n var result = this.parseRelational();\r\n while (true) {\r\n if (this.optionalOperator('==')) {\r\n result = new ast_1.Binary('==', result, this.parseRelational());\r\n }\r\n else if (this.optionalOperator('===')) {\r\n result = new ast_1.Binary('===', result, this.parseRelational());\r\n }\r\n else if (this.optionalOperator('!=')) {\r\n result = new ast_1.Binary('!=', result, this.parseRelational());\r\n }\r\n else if (this.optionalOperator('!==')) {\r\n result = new ast_1.Binary('!==', result, this.parseRelational());\r\n }\r\n else {\r\n return result;\r\n }\r\n }\r\n };\r\n _ParseAST.prototype.parseRelational = function () {\r\n // '<', '>', '<=', '>='\r\n var result = this.parseAdditive();\r\n while (true) {\r\n if (this.optionalOperator('<')) {\r\n result = new ast_1.Binary('<', result, this.parseAdditive());\r\n }\r\n else if (this.optionalOperator('>')) {\r\n result = new ast_1.Binary('>', result, this.parseAdditive());\r\n }\r\n else if (this.optionalOperator('<=')) {\r\n result = new ast_1.Binary('<=', result, this.parseAdditive());\r\n }\r\n else if (this.optionalOperator('>=')) {\r\n result = new ast_1.Binary('>=', result, this.parseAdditive());\r\n }\r\n else {\r\n return result;\r\n }\r\n }\r\n };\r\n _ParseAST.prototype.parseAdditive = function () {\r\n // '+', '-'\r\n var result = this.parseMultiplicative();\r\n while (true) {\r\n if (this.optionalOperator('+')) {\r\n result = new ast_1.Binary('+', result, this.parseMultiplicative());\r\n }\r\n else if (this.optionalOperator('-')) {\r\n result = new ast_1.Binary('-', result, this.parseMultiplicative());\r\n }\r\n else {\r\n return result;\r\n }\r\n }\r\n };\r\n _ParseAST.prototype.parseMultiplicative = function () {\r\n // '*', '%', '/'\r\n var result = this.parsePrefix();\r\n while (true) {\r\n if (this.optionalOperator('*')) {\r\n result = new ast_1.Binary('*', result, this.parsePrefix());\r\n }\r\n else if (this.optionalOperator('%')) {\r\n result = new ast_1.Binary('%', result, this.parsePrefix());\r\n }\r\n else if (this.optionalOperator('/')) {\r\n result = new ast_1.Binary('/', result, this.parsePrefix());\r\n }\r\n else {\r\n return result;\r\n }\r\n }\r\n };\r\n _ParseAST.prototype.parsePrefix = function () {\r\n if (this.optionalOperator('+')) {\r\n return this.parsePrefix();\r\n }\r\n else if (this.optionalOperator('-')) {\r\n return new ast_1.Binary('-', new ast_1.LiteralPrimitive(0), this.parsePrefix());\r\n }\r\n else if (this.optionalOperator('!')) {\r\n return new ast_1.PrefixNot(this.parsePrefix());\r\n }\r\n else {\r\n return this.parseCallChain();\r\n }\r\n };\r\n _ParseAST.prototype.parseCallChain = function () {\r\n var result = this.parsePrimary();\r\n while (true) {\r\n if (this.optionalCharacter(lexer_1.$PERIOD)) {\r\n result = this.parseAccessMemberOrMethodCall(result, false);\r\n }\r\n else if (this.optionalOperator('?.')) {\r\n result = this.parseAccessMemberOrMethodCall(result, true);\r\n }\r\n else if (this.optionalCharacter(lexer_1.$LBRACKET)) {\r\n var key = this.parsePipe();\r\n this.expectCharacter(lexer_1.$RBRACKET);\r\n if (this.optionalOperator(\"=\")) {\r\n var value = this.parseConditional();\r\n result = new ast_1.KeyedWrite(result, key, value);\r\n }\r\n else {\r\n result = new ast_1.KeyedRead(result, key);\r\n }\r\n }\r\n else if (this.optionalCharacter(lexer_1.$LPAREN)) {\r\n var args = this.parseCallArguments();\r\n this.expectCharacter(lexer_1.$RPAREN);\r\n result = new ast_1.FunctionCall(result, args);\r\n }\r\n else {\r\n return result;\r\n }\r\n }\r\n };\r\n _ParseAST.prototype.parsePrimary = function () {\r\n if (this.optionalCharacter(lexer_1.$LPAREN)) {\r\n var result = this.parsePipe();\r\n this.expectCharacter(lexer_1.$RPAREN);\r\n return result;\r\n }\r\n else if (this.next.isKeywordNull() || this.next.isKeywordUndefined()) {\r\n this.advance();\r\n return new ast_1.LiteralPrimitive(null);\r\n }\r\n else if (this.next.isKeywordTrue()) {\r\n this.advance();\r\n return new ast_1.LiteralPrimitive(true);\r\n }\r\n else if (this.next.isKeywordFalse()) {\r\n this.advance();\r\n return new ast_1.LiteralPrimitive(false);\r\n }\r\n else if (this.optionalCharacter(lexer_1.$LBRACKET)) {\r\n var elements = this.parseExpressionList(lexer_1.$RBRACKET);\r\n this.expectCharacter(lexer_1.$RBRACKET);\r\n return new ast_1.LiteralArray(elements);\r\n }\r\n else if (this.next.isCharacter(lexer_1.$LBRACE)) {\r\n return this.parseLiteralMap();\r\n }\r\n else if (this.next.isIdentifier()) {\r\n return this.parseAccessMemberOrMethodCall(_implicitReceiver, false);\r\n }\r\n else if (this.next.isNumber()) {\r\n var value = this.next.toNumber();\r\n this.advance();\r\n return new ast_1.LiteralPrimitive(value);\r\n }\r\n else if (this.next.isString()) {\r\n var literalValue = this.next.toString();\r\n this.advance();\r\n return new ast_1.LiteralPrimitive(literalValue);\r\n }\r\n else if (this.index >= this.tokens.length) {\r\n this.error(\"Unexpected end of expression: \" + this.input);\r\n }\r\n else {\r\n this.error(\"Unexpected token \" + this.next);\r\n }\r\n // error() throws, so we don't reach here.\r\n throw new exceptions_1.BaseException(\"Fell through all cases in parsePrimary\");\r\n };\r\n _ParseAST.prototype.parseExpressionList = function (terminator) {\r\n var result = [];\r\n if (!this.next.isCharacter(terminator)) {\r\n do {\r\n result.push(this.parsePipe());\r\n } while (this.optionalCharacter(lexer_1.$COMMA));\r\n }\r\n return result;\r\n };\r\n _ParseAST.prototype.parseLiteralMap = function () {\r\n var keys = [];\r\n var values = [];\r\n this.expectCharacter(lexer_1.$LBRACE);\r\n if (!this.optionalCharacter(lexer_1.$RBRACE)) {\r\n do {\r\n var key = this.expectIdentifierOrKeywordOrString();\r\n keys.push(key);\r\n this.expectCharacter(lexer_1.$COLON);\r\n values.push(this.parsePipe());\r\n } while (this.optionalCharacter(lexer_1.$COMMA));\r\n this.expectCharacter(lexer_1.$RBRACE);\r\n }\r\n return new ast_1.LiteralMap(keys, values);\r\n };\r\n _ParseAST.prototype.parseAccessMemberOrMethodCall = function (receiver, isSafe) {\r\n if (isSafe === void 0) { isSafe = false; }\r\n var id = this.expectIdentifierOrKeyword();\r\n if (this.optionalCharacter(lexer_1.$LPAREN)) {\r\n var args = this.parseCallArguments();\r\n this.expectCharacter(lexer_1.$RPAREN);\r\n return isSafe ? new ast_1.SafeMethodCall(receiver, id, args) : new ast_1.MethodCall(receiver, id, args);\r\n }\r\n else {\r\n if (isSafe) {\r\n if (this.optionalOperator(\"=\")) {\r\n this.error(\"The '?.' operator cannot be used in the assignment\");\r\n }\r\n else {\r\n return new ast_1.SafePropertyRead(receiver, id);\r\n }\r\n }\r\n else {\r\n if (this.optionalOperator(\"=\")) {\r\n if (!this.parseAction) {\r\n this.error(\"Bindings cannot contain assignments\");\r\n }\r\n var value = this.parseConditional();\r\n return new ast_1.PropertyWrite(receiver, id, value);\r\n }\r\n else {\r\n return new ast_1.PropertyRead(receiver, id);\r\n }\r\n }\r\n }\r\n return null;\r\n };\r\n _ParseAST.prototype.parseCallArguments = function () {\r\n if (this.next.isCharacter(lexer_1.$RPAREN))\r\n return [];\r\n var positionals = [];\r\n do {\r\n positionals.push(this.parsePipe());\r\n } while (this.optionalCharacter(lexer_1.$COMMA));\r\n return positionals;\r\n };\r\n _ParseAST.prototype.parseBlockContent = function () {\r\n if (!this.parseAction) {\r\n this.error(\"Binding expression cannot contain chained expression\");\r\n }\r\n var exprs = [];\r\n while (this.index < this.tokens.length && !this.next.isCharacter(lexer_1.$RBRACE)) {\r\n var expr = this.parseExpression();\r\n exprs.push(expr);\r\n if (this.optionalCharacter(lexer_1.$SEMICOLON)) {\r\n while (this.optionalCharacter(lexer_1.$SEMICOLON)) {\r\n } // read all semicolons\r\n }\r\n }\r\n if (exprs.length == 0)\r\n return new ast_1.EmptyExpr();\r\n if (exprs.length == 1)\r\n return exprs[0];\r\n return new ast_1.Chain(exprs);\r\n };\r\n /**\r\n * An identifier, a keyword, a string with an optional `-` inbetween.\r\n */\r\n _ParseAST.prototype.expectTemplateBindingKey = function () {\r\n var result = '';\r\n var operatorFound = false;\r\n do {\r\n result += this.expectIdentifierOrKeywordOrString();\r\n operatorFound = this.optionalOperator('-');\r\n if (operatorFound) {\r\n result += '-';\r\n }\r\n } while (operatorFound);\r\n return result.toString();\r\n };\r\n _ParseAST.prototype.parseTemplateBindings = function () {\r\n var bindings = [];\r\n var prefix = null;\r\n var warnings = [];\r\n while (this.index < this.tokens.length) {\r\n var keyIsVar = this.peekKeywordLet();\r\n if (!keyIsVar && this.peekDeprecatedKeywordVar()) {\r\n keyIsVar = true;\r\n warnings.push(\"\\\"var\\\" inside of expressions is deprecated. Use \\\"let\\\" instead!\");\r\n }\r\n if (!keyIsVar && this.peekDeprecatedOperatorHash()) {\r\n keyIsVar = true;\r\n warnings.push(\"\\\"#\\\" inside of expressions is deprecated. Use \\\"let\\\" instead!\");\r\n }\r\n if (keyIsVar) {\r\n this.advance();\r\n }\r\n var key = this.expectTemplateBindingKey();\r\n if (!keyIsVar) {\r\n if (prefix == null) {\r\n prefix = key;\r\n }\r\n else {\r\n key = prefix + key[0].toUpperCase() + key.substring(1);\r\n }\r\n }\r\n this.optionalCharacter(lexer_1.$COLON);\r\n var name = null;\r\n var expression = null;\r\n if (keyIsVar) {\r\n if (this.optionalOperator(\"=\")) {\r\n name = this.expectTemplateBindingKey();\r\n }\r\n else {\r\n name = '\\$implicit';\r\n }\r\n }\r\n else if (this.next !== lexer_1.EOF && !this.peekKeywordLet() && !this.peekDeprecatedKeywordVar() &&\r\n !this.peekDeprecatedOperatorHash()) {\r\n var start = this.inputIndex;\r\n var ast = this.parsePipe();\r\n var source = this.input.substring(start, this.inputIndex);\r\n expression = new ast_1.ASTWithSource(ast, source, this.location);\r\n }\r\n bindings.push(new ast_1.TemplateBinding(key, keyIsVar, name, expression));\r\n if (!this.optionalCharacter(lexer_1.$SEMICOLON)) {\r\n this.optionalCharacter(lexer_1.$COMMA);\r\n }\r\n }\r\n return new TemplateBindingParseResult(bindings, warnings);\r\n };\r\n _ParseAST.prototype.error = function (message, index) {\r\n if (index === void 0) { index = null; }\r\n if (lang_1.isBlank(index))\r\n index = this.index;\r\n var location = (index < this.tokens.length) ? \"at column \" + (this.tokens[index].index + 1) + \" in\" :\r\n \"at the end of the expression\";\r\n throw new ParseException(message, this.input, location, this.location);\r\n };\r\n return _ParseAST;\r\n}());\r\nexports._ParseAST = _ParseAST;\r\nvar SimpleExpressionChecker = (function () {\r\n function SimpleExpressionChecker() {\r\n this.simple = true;\r\n }\r\n SimpleExpressionChecker.check = function (ast) {\r\n var s = new SimpleExpressionChecker();\r\n ast.visit(s);\r\n return s.simple;\r\n };\r\n SimpleExpressionChecker.prototype.visitImplicitReceiver = function (ast, context) { };\r\n SimpleExpressionChecker.prototype.visitInterpolation = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitLiteralPrimitive = function (ast, context) { };\r\n SimpleExpressionChecker.prototype.visitPropertyRead = function (ast, context) { };\r\n SimpleExpressionChecker.prototype.visitPropertyWrite = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitSafePropertyRead = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitMethodCall = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitSafeMethodCall = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitFunctionCall = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitLiteralArray = function (ast, context) { this.visitAll(ast.expressions); };\r\n SimpleExpressionChecker.prototype.visitLiteralMap = function (ast, context) { this.visitAll(ast.values); };\r\n SimpleExpressionChecker.prototype.visitBinary = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitPrefixNot = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitConditional = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitPipe = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitKeyedRead = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitKeyedWrite = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitAll = function (asts) {\r\n var res = collection_1.ListWrapper.createFixedSize(asts.length);\r\n for (var i = 0; i < asts.length; ++i) {\r\n res[i] = asts[i].visit(this);\r\n }\r\n return res;\r\n };\r\n SimpleExpressionChecker.prototype.visitChain = function (ast, context) { this.simple = false; };\r\n SimpleExpressionChecker.prototype.visitQuote = function (ast, context) { this.simple = false; };\r\n return SimpleExpressionChecker;\r\n}());\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50b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DogS2V5ZWRXcml0ZSwgY29udGV4dDogYW55KSB7IHRoaXMuc2ltcGxlID0gZmFsc2U7IH1cblxuICB2aXNpdEFsbChhc3RzOiBhbnlbXSk6IGFueVtdIHtcbiAgICB2YXIgcmVzID0gTGlzdFdyYXBwZXIuY3JlYXRlRml4ZWRTaXplKGFzdHMubGVuZ3RoKTtcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IGFzdHMubGVuZ3RoOyArK2kpIHtcbiAgICAgIHJlc1tpXSA9IGFzdHNbaV0udmlzaXQodGhpcyk7XG4gICAgfVxuICAgIHJldHVybiByZXM7XG4gIH1cblxuICB2aXNpdENoYWluKGFzdDogQ2hhaW4sIGNvbnRleHQ6IGFueSkgeyB0aGlzLnNpbXBsZSA9IGZhbHNlOyB9XG5cbiAgdmlzaXRRdW90ZShhc3Q6IFF1b3RlLCBjb250ZXh0OiBhbnkpIHsgdGhpcy5zaW1wbGUgPSBmYWxzZTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar decorators_1 = require('angular2/src/core/di/decorators');\r\nvar collection_1 = require(\"angular2/src/facade/collection\");\r\nvar lang_1 = require(\"angular2/src/facade/lang\");\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\n(function (TokenType) {\r\n TokenType[TokenType[\"Character\"] = 0] = \"Character\";\r\n TokenType[TokenType[\"Identifier\"] = 1] = \"Identifier\";\r\n TokenType[TokenType[\"Keyword\"] = 2] = \"Keyword\";\r\n TokenType[TokenType[\"String\"] = 3] = \"String\";\r\n TokenType[TokenType[\"Operator\"] = 4] = \"Operator\";\r\n TokenType[TokenType[\"Number\"] = 5] = \"Number\";\r\n})(exports.TokenType || (exports.TokenType = {}));\r\nvar TokenType = exports.TokenType;\r\nvar Lexer = (function () {\r\n function Lexer() {\r\n }\r\n Lexer.prototype.tokenize = function (text) {\r\n var scanner = new _Scanner(text);\r\n var tokens = [];\r\n var token = scanner.scanToken();\r\n while (token != null) {\r\n tokens.push(token);\r\n token = scanner.scanToken();\r\n }\r\n return tokens;\r\n };\r\n Lexer = __decorate([\r\n decorators_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], Lexer);\r\n return Lexer;\r\n}());\r\nexports.Lexer = Lexer;\r\nvar Token = (function () {\r\n function Token(index, type, numValue, strValue) {\r\n this.index = index;\r\n this.type = type;\r\n this.numValue = numValue;\r\n this.strValue = strValue;\r\n }\r\n Token.prototype.isCharacter = function (code) {\r\n return (this.type == TokenType.Character && this.numValue == code);\r\n };\r\n Token.prototype.isNumber = function () { return (this.type == TokenType.Number); };\r\n Token.prototype.isString = function () { return (this.type == TokenType.String); };\r\n Token.prototype.isOperator = function (operater) {\r\n return (this.type == TokenType.Operator && this.strValue == operater);\r\n };\r\n Token.prototype.isIdentifier = function () { return (this.type == TokenType.Identifier); };\r\n Token.prototype.isKeyword = function () { return (this.type == TokenType.Keyword); };\r\n Token.prototype.isKeywordDeprecatedVar = function () {\r\n return (this.type == TokenType.Keyword && this.strValue == \"var\");\r\n };\r\n Token.prototype.isKeywordLet = function () { return (this.type == TokenType.Keyword && this.strValue == \"let\"); };\r\n Token.prototype.isKeywordNull = function () { return (this.type == TokenType.Keyword && this.strValue == \"null\"); };\r\n Token.prototype.isKeywordUndefined = function () {\r\n return (this.type == TokenType.Keyword && this.strValue == \"undefined\");\r\n };\r\n Token.prototype.isKeywordTrue = function () { return (this.type == TokenType.Keyword && this.strValue == \"true\"); };\r\n Token.prototype.isKeywordFalse = function () { return (this.type == TokenType.Keyword && this.strValue == \"false\"); };\r\n Token.prototype.toNumber = function () {\r\n // -1 instead of NULL ok?\r\n return (this.type == TokenType.Number) ? this.numValue : -1;\r\n };\r\n Token.prototype.toString = function () {\r\n switch (this.type) {\r\n case TokenType.Character:\r\n case TokenType.Identifier:\r\n case TokenType.Keyword:\r\n case TokenType.Operator:\r\n case TokenType.String:\r\n return this.strValue;\r\n case TokenType.Number:\r\n return this.numValue.toString();\r\n default:\r\n return null;\r\n }\r\n };\r\n return Token;\r\n}());\r\nexports.Token = Token;\r\nfunction newCharacterToken(index, code) {\r\n return new Token(index, TokenType.Character, code, lang_1.StringWrapper.fromCharCode(code));\r\n}\r\nfunction newIdentifierToken(index, text) {\r\n return new Token(index, TokenType.Identifier, 0, text);\r\n}\r\nfunction newKeywordToken(index, text) {\r\n return new Token(index, TokenType.Keyword, 0, text);\r\n}\r\nfunction newOperatorToken(index, text) {\r\n return new Token(index, TokenType.Operator, 0, text);\r\n}\r\nfunction newStringToken(index, text) {\r\n return new Token(index, TokenType.String, 0, text);\r\n}\r\nfunction newNumberToken(index, n) {\r\n return new Token(index, TokenType.Number, n, \"\");\r\n}\r\nexports.EOF = new Token(-1, TokenType.Character, 0, \"\");\r\nexports.$EOF = 0;\r\nexports.$TAB = 9;\r\nexports.$LF = 10;\r\nexports.$VTAB = 11;\r\nexports.$FF = 12;\r\nexports.$CR = 13;\r\nexports.$SPACE = 32;\r\nexports.$BANG = 33;\r\nexports.$DQ = 34;\r\nexports.$HASH = 35;\r\nexports.$$ = 36;\r\nexports.$PERCENT = 37;\r\nexports.$AMPERSAND = 38;\r\nexports.$SQ = 39;\r\nexports.$LPAREN = 40;\r\nexports.$RPAREN = 41;\r\nexports.$STAR = 42;\r\nexports.$PLUS = 43;\r\nexports.$COMMA = 44;\r\nexports.$MINUS = 45;\r\nexports.$PERIOD = 46;\r\nexports.$SLASH = 47;\r\nexports.$COLON = 58;\r\nexports.$SEMICOLON = 59;\r\nexports.$LT = 60;\r\nexports.$EQ = 61;\r\nexports.$GT = 62;\r\nexports.$QUESTION = 63;\r\nvar $0 = 48;\r\nvar $9 = 57;\r\nvar $A = 65, $E = 69, $Z = 90;\r\nexports.$LBRACKET = 91;\r\nexports.$BACKSLASH = 92;\r\nexports.$RBRACKET = 93;\r\nvar $CARET = 94;\r\nvar $_ = 95;\r\nexports.$BT = 96;\r\nvar $a = 97, $e = 101, $f = 102, $n = 110, $r = 114, $t = 116, $u = 117, $v = 118, $z = 122;\r\nexports.$LBRACE = 123;\r\nexports.$BAR = 124;\r\nexports.$RBRACE = 125;\r\nvar $NBSP = 160;\r\nvar ScannerError = (function (_super) {\r\n __extends(ScannerError, _super);\r\n function ScannerError(message) {\r\n _super.call(this);\r\n this.message = message;\r\n }\r\n ScannerError.prototype.toString = function () { return this.message; };\r\n return ScannerError;\r\n}(exceptions_1.BaseException));\r\nexports.ScannerError = ScannerError;\r\nvar _Scanner = (function () {\r\n function _Scanner(input) {\r\n this.input = input;\r\n this.peek = 0;\r\n this.index = -1;\r\n this.length = input.length;\r\n this.advance();\r\n }\r\n _Scanner.prototype.advance = function () {\r\n this.peek =\r\n ++this.index >= this.length ? exports.$EOF : lang_1.StringWrapper.charCodeAt(this.input, this.index);\r\n };\r\n _Scanner.prototype.scanToken = function () {\r\n var input = this.input, length = this.length, peek = this.peek, index = this.index;\r\n // Skip whitespace.\r\n while (peek <= exports.$SPACE) {\r\n if (++index >= length) {\r\n peek = exports.$EOF;\r\n break;\r\n }\r\n else {\r\n peek = lang_1.StringWrapper.charCodeAt(input, index);\r\n }\r\n }\r\n this.peek = peek;\r\n this.index = index;\r\n if (index >= length) {\r\n return null;\r\n }\r\n // Handle identifiers and numbers.\r\n if (isIdentifierStart(peek))\r\n return this.scanIdentifier();\r\n if (isDigit(peek))\r\n return this.scanNumber(index);\r\n var start = index;\r\n switch (peek) {\r\n case exports.$PERIOD:\r\n this.advance();\r\n return isDigit(this.peek) ? this.scanNumber(start) : newCharacterToken(start, exports.$PERIOD);\r\n case exports.$LPAREN:\r\n case exports.$RPAREN:\r\n case exports.$LBRACE:\r\n case exports.$RBRACE:\r\n case exports.$LBRACKET:\r\n case exports.$RBRACKET:\r\n case exports.$COMMA:\r\n case exports.$COLON:\r\n case exports.$SEMICOLON:\r\n return this.scanCharacter(start, peek);\r\n case exports.$SQ:\r\n case exports.$DQ:\r\n return this.scanString();\r\n case exports.$HASH:\r\n case exports.$PLUS:\r\n case exports.$MINUS:\r\n case exports.$STAR:\r\n case exports.$SLASH:\r\n case exports.$PERCENT:\r\n case $CARET:\r\n return this.scanOperator(start, lang_1.StringWrapper.fromCharCode(peek));\r\n case exports.$QUESTION:\r\n return this.scanComplexOperator(start, '?', exports.$PERIOD, '.');\r\n case exports.$LT:\r\n case exports.$GT:\r\n return this.scanComplexOperator(start, lang_1.StringWrapper.fromCharCode(peek), exports.$EQ, '=');\r\n case exports.$BANG:\r\n case exports.$EQ:\r\n return this.scanComplexOperator(start, lang_1.StringWrapper.fromCharCode(peek), exports.$EQ, '=', exports.$EQ, '=');\r\n case exports.$AMPERSAND:\r\n return this.scanComplexOperator(start, '&', exports.$AMPERSAND, '&');\r\n case exports.$BAR:\r\n return this.scanComplexOperator(start, '|', exports.$BAR, '|');\r\n case $NBSP:\r\n while (isWhitespace(this.peek))\r\n this.advance();\r\n return this.scanToken();\r\n }\r\n this.error(\"Unexpected character [\" + lang_1.StringWrapper.fromCharCode(peek) + \"]\", 0);\r\n return null;\r\n };\r\n _Scanner.prototype.scanCharacter = function (start, code) {\r\n this.advance();\r\n return newCharacterToken(start, code);\r\n };\r\n _Scanner.prototype.scanOperator = function (start, str) {\r\n this.advance();\r\n return newOperatorToken(start, str);\r\n };\r\n /**\r\n * Tokenize a 2/3 char long operator\r\n *\r\n * @param start start index in the expression\r\n * @param one first symbol (always part of the operator)\r\n * @param twoCode code point for the second symbol\r\n * @param two second symbol (part of the operator when the second code point matches)\r\n * @param threeCode code point for the third symbol\r\n * @param three third symbol (part of the operator when provided and matches source expression)\r\n * @returns {Token}\r\n */\r\n _Scanner.prototype.scanComplexOperator = function (start, one, twoCode, two, threeCode, three) {\r\n this.advance();\r\n var str = one;\r\n if (this.peek == twoCode) {\r\n this.advance();\r\n str += two;\r\n }\r\n if (lang_1.isPresent(threeCode) && this.peek == threeCode) {\r\n this.advance();\r\n str += three;\r\n }\r\n return newOperatorToken(start, str);\r\n };\r\n _Scanner.prototype.scanIdentifier = function () {\r\n var start = this.index;\r\n this.advance();\r\n while (isIdentifierPart(this.peek))\r\n this.advance();\r\n var str = this.input.substring(start, this.index);\r\n if (collection_1.SetWrapper.has(KEYWORDS, str)) {\r\n return newKeywordToken(start, str);\r\n }\r\n else {\r\n return newIdentifierToken(start, str);\r\n }\r\n };\r\n _Scanner.prototype.scanNumber = function (start) {\r\n var simple = (this.index === start);\r\n this.advance(); // Skip initial digit.\r\n while (true) {\r\n if (isDigit(this.peek)) {\r\n }\r\n else if (this.peek == exports.$PERIOD) {\r\n simple = false;\r\n }\r\n else if (isExponentStart(this.peek)) {\r\n this.advance();\r\n if (isExponentSign(this.peek))\r\n this.advance();\r\n if (!isDigit(this.peek))\r\n this.error('Invalid exponent', -1);\r\n simple = false;\r\n }\r\n else {\r\n break;\r\n }\r\n this.advance();\r\n }\r\n var str = this.input.substring(start, this.index);\r\n // TODO\r\n var value = simple ? lang_1.NumberWrapper.parseIntAutoRadix(str) : lang_1.NumberWrapper.parseFloat(str);\r\n return newNumberToken(start, value);\r\n };\r\n _Scanner.prototype.scanString = function () {\r\n var start = this.index;\r\n var quote = this.peek;\r\n this.advance(); // Skip initial quote.\r\n var buffer;\r\n var marker = this.index;\r\n var input = this.input;\r\n while (this.peek != quote) {\r\n if (this.peek == exports.$BACKSLASH) {\r\n if (buffer == null)\r\n buffer = new lang_1.StringJoiner();\r\n buffer.add(input.substring(marker, this.index));\r\n this.advance();\r\n var unescapedCode;\r\n if (this.peek == $u) {\r\n // 4 character hex code for unicode character.\r\n var hex = input.substring(this.index + 1, this.index + 5);\r\n try {\r\n unescapedCode = lang_1.NumberWrapper.parseInt(hex, 16);\r\n }\r\n catch (e) {\r\n this.error(\"Invalid unicode escape [\\\\u\" + hex + \"]\", 0);\r\n }\r\n for (var i = 0; i < 5; i++) {\r\n this.advance();\r\n }\r\n }\r\n else {\r\n unescapedCode = unescape(this.peek);\r\n this.advance();\r\n }\r\n buffer.add(lang_1.StringWrapper.fromCharCode(unescapedCode));\r\n marker = this.index;\r\n }\r\n else if (this.peek == exports.$EOF) {\r\n this.error('Unterminated quote', 0);\r\n }\r\n else {\r\n this.advance();\r\n }\r\n }\r\n var last = input.substring(marker, this.index);\r\n this.advance(); // Skip terminating quote.\r\n // Compute the unescaped string value.\r\n var unescaped = last;\r\n if (buffer != null) {\r\n buffer.add(last);\r\n unescaped = buffer.toString();\r\n }\r\n return newStringToken(start, unescaped);\r\n };\r\n _Scanner.prototype.error = function (message, offset) {\r\n var position = this.index + offset;\r\n throw new ScannerError(\"Lexer Error: \" + message + \" at column \" + position + \" in expression [\" + this.input + \"]\");\r\n };\r\n return _Scanner;\r\n}());\r\nfunction isWhitespace(code) {\r\n return (code >= exports.$TAB && code <= exports.$SPACE) || (code == $NBSP);\r\n}\r\nfunction isIdentifierStart(code) {\r\n return ($a <= code && code <= $z) || ($A <= code && code <= $Z) || (code == $_) || (code == exports.$$);\r\n}\r\nfunction isIdentifier(input) {\r\n if (input.length == 0)\r\n return false;\r\n var scanner = new _Scanner(input);\r\n if (!isIdentifierStart(scanner.peek))\r\n return false;\r\n scanner.advance();\r\n while (scanner.peek !== exports.$EOF) {\r\n if (!isIdentifierPart(scanner.peek))\r\n return false;\r\n scanner.advance();\r\n }\r\n return true;\r\n}\r\nexports.isIdentifier = isIdentifier;\r\nfunction isIdentifierPart(code) {\r\n return ($a <= code && code <= $z) || ($A <= code && code <= $Z) || ($0 <= code && code <= $9) ||\r\n (code == $_) || (code == exports.$$);\r\n}\r\nfunction isDigit(code) {\r\n return $0 <= code && code <= $9;\r\n}\r\nfunction isExponentStart(code) {\r\n return code == $e || code == $E;\r\n}\r\nfunction isExponentSign(code) {\r\n return code == exports.$MINUS || code == exports.$PLUS;\r\n}\r\nfunction isQuote(code) {\r\n return code === exports.$SQ || code === exports.$DQ || code === exports.$BT;\r\n}\r\nexports.isQuote = isQuote;\r\nfunction unescape(code) {\r\n switch (code) {\r\n case $n:\r\n return exports.$LF;\r\n case $f:\r\n return exports.$FF;\r\n case $r:\r\n return exports.$CR;\r\n case $t:\r\n return exports.$TAB;\r\n case $v:\r\n return exports.$VTAB;\r\n default:\r\n return code;\r\n }\r\n}\r\nvar OPERATORS = collection_1.SetWrapper.createFromList([\r\n '+',\r\n '-',\r\n '*',\r\n '/',\r\n '%',\r\n '^',\r\n '=',\r\n '==',\r\n '!=',\r\n '===',\r\n '!==',\r\n '<',\r\n '>',\r\n '<=',\r\n '>=',\r\n '&&',\r\n '||',\r\n '&',\r\n '|',\r\n '!',\r\n '?',\r\n '#',\r\n '?.'\r\n]);\r\nvar KEYWORDS = collection_1.SetWrapper.createFromList(['var', 'let', 'null', 'undefined', 'true', 'false', 'if', 'else']);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGV4ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvZXhwcmVzc2lvbl9wYXJzZXIvbGV4ZXIudHMiXSwibmFt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1iZXIpOiBudW1iZXIge1xuICBzd2l0Y2ggKGNvZGUpIHtcbiAgICBjYXNlICRuOlxuICAgICAgcmV0dXJuICRMRjtcbiAgICBjYXNlICRmOlxuICAgICAgcmV0dXJuICRGRjtcbiAgICBjYXNlICRyOlxuICAgICAgcmV0dXJuICRDUjtcbiAgICBjYXNlICR0OlxuICAgICAgcmV0dXJuICRUQUI7XG4gICAgY2FzZSAkdjpcbiAgICAgIHJldHVybiAkVlRBQjtcbiAgICBkZWZhdWx0OlxuICAgICAgcmV0dXJuIGNvZGU7XG4gIH1cbn1cblxudmFyIE9QRVJBVE9SUyA9IFNldFdyYXBwZXIuY3JlYXRlRnJvbUxpc3QoW1xuICAnKycsXG4gICctJyxcbiAgJyonLFxuICAnLycsXG4gICclJyxcbiAgJ14nLFxuICAnPScsXG4gICc9PScsXG4gICchPScsXG4gICc9PT0nLFxuICAnIT09JyxcbiAgJzwnLFxuICAnPicsXG4gICc8PScsXG4gICc+PScsXG4gICcmJicsXG4gICd8fCcsXG4gICcmJyxcbiAgJ3wnLFxuICAnIScsXG4gICc/JyxcbiAgJyMnLFxuICAnPy4nXG5dKTtcblxuXG52YXIgS0VZV09SRFMgPVxuICAgIFNldFdyYXBwZXIuY3JlYXRlRnJvbUxpc3QoWyd2YXInLCAnbGV0JywgJ251bGwnLCAndW5kZWZpbmVkJywgJ3RydWUnLCAnZmFsc2UnLCAnaWYnLCAnZWxzZSddKTtcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nvar platform_directives_and_pipes_1 = require('angular2/src/core/platform_directives_and_pipes');\r\nexports.PLATFORM_DIRECTIVES = platform_directives_and_pipes_1.PLATFORM_DIRECTIVES;\r\nexports.PLATFORM_PIPES = platform_directives_and_pipes_1.PLATFORM_PIPES;\r\n__export(require('angular2/src/compiler/template_ast'));\r\nvar template_parser_1 = require('angular2/src/compiler/template_parser');\r\nexports.TEMPLATE_TRANSFORMS = template_parser_1.TEMPLATE_TRANSFORMS;\r\nvar config_1 = require('./config');\r\nexports.CompilerConfig = config_1.CompilerConfig;\r\nexports.RenderTypes = config_1.RenderTypes;\r\n__export(require('./compile_metadata'));\r\n__export(require('./offline_compiler'));\r\nvar runtime_compiler_1 = require('./runtime_compiler');\r\nexports.RuntimeCompiler = runtime_compiler_1.RuntimeCompiler;\r\n__export(require('angular2/src/compiler/url_resolver'));\r\n__export(require('angular2/src/compiler/xhr'));\r\nvar view_resolver_1 = require('./view_resolver');\r\nexports.ViewResolver = view_resolver_1.ViewResolver;\r\nvar directive_resolver_1 = require('./directive_resolver');\r\nexports.DirectiveResolver = directive_resolver_1.DirectiveResolver;\r\nvar pipe_resolver_1 = require('./pipe_resolver');\r\nexports.PipeResolver = pipe_resolver_1.PipeResolver;\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar template_parser_2 = require('angular2/src/compiler/template_parser');\r\nvar html_parser_1 = require('angular2/src/compiler/html_parser');\r\nvar directive_normalizer_1 = require('angular2/src/compiler/directive_normalizer');\r\nvar runtime_metadata_1 = require('angular2/src/compiler/runtime_metadata');\r\nvar style_compiler_1 = require('angular2/src/compiler/style_compiler');\r\nvar view_compiler_1 = require('angular2/src/compiler/view_compiler/view_compiler');\r\nvar config_2 = require('./config');\r\nvar component_resolver_1 = require('angular2/src/core/linker/component_resolver');\r\nvar runtime_compiler_2 = require('angular2/src/compiler/runtime_compiler');\r\nvar element_schema_registry_1 = require('angular2/src/compiler/schema/element_schema_registry');\r\nvar dom_element_schema_registry_1 = require('angular2/src/compiler/schema/dom_element_schema_registry');\r\nvar url_resolver_2 = require('angular2/src/compiler/url_resolver');\r\nvar parser_1 = require('./expression_parser/parser');\r\nvar lexer_1 = require('./expression_parser/lexer');\r\nvar view_resolver_2 = require('./view_resolver');\r\nvar directive_resolver_2 = require('./directive_resolver');\r\nvar pipe_resolver_2 = require('./pipe_resolver');\r\nfunction _createCompilerConfig() {\r\n return new config_2.CompilerConfig(lang_1.assertionsEnabled(), false, true);\r\n}\r\n/**\r\n * A set of providers that provide `RuntimeCompiler` and its dependencies to use for\r\n * template compilation.\r\n */\r\nexports.COMPILER_PROVIDERS = lang_1.CONST_EXPR([\r\n lexer_1.Lexer,\r\n parser_1.Parser,\r\n html_parser_1.HtmlParser,\r\n template_parser_2.TemplateParser,\r\n directive_normalizer_1.DirectiveNormalizer,\r\n runtime_metadata_1.RuntimeMetadataResolver,\r\n url_resolver_2.DEFAULT_PACKAGE_URL_PROVIDER,\r\n style_compiler_1.StyleCompiler,\r\n view_compiler_1.ViewCompiler,\r\n new di_1.Provider(config_2.CompilerConfig, { useFactory: _createCompilerConfig, deps: [] }),\r\n runtime_compiler_2.RuntimeCompiler,\r\n new di_1.Provider(component_resolver_1.ComponentResolver, { useExisting: runtime_compiler_2.RuntimeCompiler }),\r\n dom_element_schema_registry_1.DomElementSchemaRegistry,\r\n new di_1.Provider(element_schema_registry_1.ElementSchemaRegistry, { useExisting: dom_element_schema_registry_1.DomElementSchemaRegistry }),\r\n url_resolver_2.UrlResolver,\r\n view_resolver_2.ViewResolver,\r\n directive_resolver_2.DirectiveResolver,\r\n pipe_resolver_2.PipeResolver\r\n]);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tcGlsZXIvY29tcGlsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLDhDQUFrRCxpREFBaUQsQ0FBQztBQUE1RixrRkFBbUI7QUFBRSx3RUFBdUU7QUFDcEcsaUJBQWMsb0NBQW9DLENBQUMsRUFBQTtBQUNuRCxnQ0FBa0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jdG9yeTogX2NyZWF0ZUNvbXBpbGVyQ29uZmlnLCBkZXBzOiBbXX0pLFxuICBSdW50aW1lQ29tcGlsZXIsXG4gIG5ldyBQcm92aWRlcihDb21wb25lbnRSZXNvbHZlciwge3VzZUV4aXN0aW5nOiBSdW50aW1lQ29tcGlsZXJ9KSxcbiAgRG9tRWxlbWVudFNjaGVtYVJlZ2lzdHJ5LFxuICBuZXcgUHJvdmlkZXIoRWxlbWVudFNjaGVtYVJlZ2lzdHJ5LCB7dXNlRXhpc3Rpbmc6IERvbUVsZW1lbnRTY2hlbWFSZWdpc3RyeX0pLFxuICBVcmxSZXNvbHZlcixcbiAgVmlld1Jlc29sdmVyLFxuICBEaXJlY3RpdmVSZXNvbHZlcixcbiAgUGlwZVJlc29sdmVyXG5dKTtcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * A segment of text within the template.\r\n */\r\nvar TextAst = (function () {\r\n function TextAst(value, ngContentIndex, sourceSpan) {\r\n this.value = value;\r\n this.ngContentIndex = ngContentIndex;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n TextAst.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\r\n return TextAst;\r\n}());\r\nexports.TextAst = TextAst;\r\n/**\r\n * A bound expression within the text of a template.\r\n */\r\nvar BoundTextAst = (function () {\r\n function BoundTextAst(value, ngContentIndex, sourceSpan) {\r\n this.value = value;\r\n this.ngContentIndex = ngContentIndex;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n BoundTextAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitBoundText(this, context);\r\n };\r\n return BoundTextAst;\r\n}());\r\nexports.BoundTextAst = BoundTextAst;\r\n/**\r\n * A plain attribute on an element.\r\n */\r\nvar AttrAst = (function () {\r\n function AttrAst(name, value, sourceSpan) {\r\n this.name = name;\r\n this.value = value;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n AttrAst.prototype.visit = function (visitor, context) { return visitor.visitAttr(this, context); };\r\n return AttrAst;\r\n}());\r\nexports.AttrAst = AttrAst;\r\n/**\r\n * A binding for an element property (e.g. `[property]=\"expression\"`).\r\n */\r\nvar BoundElementPropertyAst = (function () {\r\n function BoundElementPropertyAst(name, type, value, unit, sourceSpan) {\r\n this.name = name;\r\n this.type = type;\r\n this.value = value;\r\n this.unit = unit;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n BoundElementPropertyAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitElementProperty(this, context);\r\n };\r\n return BoundElementPropertyAst;\r\n}());\r\nexports.BoundElementPropertyAst = BoundElementPropertyAst;\r\n/**\r\n * A binding for an element event (e.g. `(event)=\"handler()\"`).\r\n */\r\nvar BoundEventAst = (function () {\r\n function BoundEventAst(name, target, handler, sourceSpan) {\r\n this.name = name;\r\n this.target = target;\r\n this.handler = handler;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n BoundEventAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitEvent(this, context);\r\n };\r\n Object.defineProperty(BoundEventAst.prototype, \"fullName\", {\r\n get: function () {\r\n if (lang_1.isPresent(this.target)) {\r\n return this.target + \":\" + this.name;\r\n }\r\n else {\r\n return this.name;\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return BoundEventAst;\r\n}());\r\nexports.BoundEventAst = BoundEventAst;\r\n/**\r\n * A reference declaration on an element (e.g. `let someName=\"expression\"`).\r\n */\r\nvar ReferenceAst = (function () {\r\n function ReferenceAst(name, value, sourceSpan) {\r\n this.name = name;\r\n this.value = value;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n ReferenceAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitReference(this, context);\r\n };\r\n return ReferenceAst;\r\n}());\r\nexports.ReferenceAst = ReferenceAst;\r\n/**\r\n * A variable declaration on a <template> (e.g. `var-someName=\"someLocalName\"`).\r\n */\r\nvar VariableAst = (function () {\r\n function VariableAst(name, value, sourceSpan) {\r\n this.name = name;\r\n this.value = value;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n VariableAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitVariable(this, context);\r\n };\r\n return VariableAst;\r\n}());\r\nexports.VariableAst = VariableAst;\r\n/**\r\n * An element declaration in a template.\r\n */\r\nvar ElementAst = (function () {\r\n function ElementAst(name, attrs, inputs, outputs, references, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan) {\r\n this.name = name;\r\n this.attrs = attrs;\r\n this.inputs = inputs;\r\n this.outputs = outputs;\r\n this.references = references;\r\n this.directives = directives;\r\n this.providers = providers;\r\n this.hasViewContainer = hasViewContainer;\r\n this.children = children;\r\n this.ngContentIndex = ngContentIndex;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n ElementAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitElement(this, context);\r\n };\r\n /**\r\n * Get the component associated with this element, if any.\r\n */\r\n ElementAst.prototype.getComponent = function () {\r\n for (var i = 0; i < this.directives.length; i++) {\r\n var dirAst = this.directives[i];\r\n if (dirAst.directive.isComponent) {\r\n return dirAst.directive;\r\n }\r\n }\r\n return null;\r\n };\r\n return ElementAst;\r\n}());\r\nexports.ElementAst = ElementAst;\r\n/**\r\n * A `<template>` element included in an Angular template.\r\n */\r\nvar EmbeddedTemplateAst = (function () {\r\n function EmbeddedTemplateAst(attrs, outputs, references, variables, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan) {\r\n this.attrs = attrs;\r\n this.outputs = outputs;\r\n this.references = references;\r\n this.variables = variables;\r\n this.directives = directives;\r\n this.providers = providers;\r\n this.hasViewContainer = hasViewContainer;\r\n this.children = children;\r\n this.ngContentIndex = ngContentIndex;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n EmbeddedTemplateAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitEmbeddedTemplate(this, context);\r\n };\r\n return EmbeddedTemplateAst;\r\n}());\r\nexports.EmbeddedTemplateAst = EmbeddedTemplateAst;\r\n/**\r\n * A directive property with a bound value (e.g. `*ngIf=\"condition\").\r\n */\r\nvar BoundDirectivePropertyAst = (function () {\r\n function BoundDirectivePropertyAst(directiveName, templateName, value, sourceSpan) {\r\n this.directiveName = directiveName;\r\n this.templateName = templateName;\r\n this.value = value;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n BoundDirectivePropertyAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitDirectiveProperty(this, context);\r\n };\r\n return BoundDirectivePropertyAst;\r\n}());\r\nexports.BoundDirectivePropertyAst = BoundDirectivePropertyAst;\r\n/**\r\n * A directive declared on an element.\r\n */\r\nvar DirectiveAst = (function () {\r\n function DirectiveAst(directive, inputs, hostProperties, hostEvents, sourceSpan) {\r\n this.directive = directive;\r\n this.inputs = inputs;\r\n this.hostProperties = hostProperties;\r\n this.hostEvents = hostEvents;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n DirectiveAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitDirective(this, context);\r\n };\r\n return DirectiveAst;\r\n}());\r\nexports.DirectiveAst = DirectiveAst;\r\n/**\r\n * A provider declared on an element\r\n */\r\nvar ProviderAst = (function () {\r\n function ProviderAst(token, multiProvider, eager, providers, providerType, sourceSpan) {\r\n this.token = token;\r\n this.multiProvider = multiProvider;\r\n this.eager = eager;\r\n this.providers = providers;\r\n this.providerType = providerType;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n ProviderAst.prototype.visit = function (visitor, context) {\r\n // No visit method in the visitor for now...\r\n return null;\r\n };\r\n return ProviderAst;\r\n}());\r\nexports.ProviderAst = ProviderAst;\r\n(function (ProviderAstType) {\r\n ProviderAstType[ProviderAstType[\"PublicService\"] = 0] = \"PublicService\";\r\n ProviderAstType[ProviderAstType[\"PrivateService\"] = 1] = \"PrivateService\";\r\n ProviderAstType[ProviderAstType[\"Component\"] = 2] = \"Component\";\r\n ProviderAstType[ProviderAstType[\"Directive\"] = 3] = \"Directive\";\r\n ProviderAstType[ProviderAstType[\"Builtin\"] = 4] = \"Builtin\";\r\n})(exports.ProviderAstType || (exports.ProviderAstType = {}));\r\nvar ProviderAstType = exports.ProviderAstType;\r\n/**\r\n * Position where content is to be projected (instance of `<ng-content>` in a template).\r\n */\r\nvar NgContentAst = (function () {\r\n function NgContentAst(index, ngContentIndex, sourceSpan) {\r\n this.index = index;\r\n this.ngContentIndex = ngContentIndex;\r\n this.sourceSpan = sourceSpan;\r\n }\r\n NgContentAst.prototype.visit = function (visitor, context) {\r\n return visitor.visitNgContent(this, context);\r\n };\r\n return NgContentAst;\r\n}());\r\nexports.NgContentAst = NgContentAst;\r\n/**\r\n * Enumeration of types of property bindings.\r\n */\r\n(function (PropertyBindingType) {\r\n /**\r\n * A normal binding to a property (e.g. `[property]=\"expression\"`).\r\n */\r\n PropertyBindingType[PropertyBindingType[\"Property\"] = 0] = \"Property\";\r\n /**\r\n * A binding to an element attribute (e.g. `[attr.name]=\"expression\"`).\r\n */\r\n PropertyBindingType[PropertyBindingType[\"Attribute\"] = 1] = \"Attribute\";\r\n /**\r\n * A binding to a CSS class (e.g. `[class.name]=\"condition\"`).\r\n */\r\n PropertyBindingType[PropertyBindingType[\"Class\"] = 2] = \"Class\";\r\n /**\r\n * A binding to a style rule (e.g. `[style.rule]=\"expression\"`).\r\n */\r\n PropertyBindingType[PropertyBindingType[\"Style\"] = 3] = \"Style\";\r\n})(exports.PropertyBindingType || (exports.PropertyBindingType = {}));\r\nvar PropertyBindingType = exports.PropertyBindingType;\r\n/**\r\n * Visit every node in a list of {@link TemplateAst}s with the given {@link TemplateAstVisitor}.\r\n */\r\nfunction templateVisitAll(visitor, asts, context) {\r\n if (context === void 0) { context = null; }\r\n var result = [];\r\n asts.forEach(function (ast) {\r\n var astResult = ast.visit(visitor, context);\r\n if (lang_1.isPresent(astResult)) {\r\n result.push(astResult);\r\n }\r\n });\r\n return result;\r\n}\r\nexports.templateVisitAll = templateVisitAll;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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5QXN0LCBjb250ZXh0OiBhbnkpOiBhbnk7XG4gIHZpc2l0QXR0cihhc3Q6IEF0dHJBc3QsIGNvbnRleHQ6IGFueSk6IGFueTtcbiAgdmlzaXRCb3VuZFRleHQoYXN0OiBCb3VuZFRleHRBc3QsIGNvbnRleHQ6IGFueSk6IGFueTtcbiAgdmlzaXRUZXh0KGFzdDogVGV4dEFzdCwgY29udGV4dDogYW55KTogYW55O1xuICB2aXNpdERpcmVjdGl2ZShhc3Q6IERpcmVjdGl2ZUFzdCwgY29udGV4dDogYW55KTogYW55O1xuICB2aXNpdERpcmVjdGl2ZVByb3BlcnR5KGFzdDogQm91bmREaXJlY3RpdmVQcm9wZXJ0eUFzdCwgY29udGV4dDogYW55KTogYW55O1xufVxuXG4vKipcbiAqIFZpc2l0IGV2ZXJ5IG5vZGUgaW4gYSBsaXN0IG9mIHtAbGluayBUZW1wbGF0ZUFzdH1zIHdpdGggdGhlIGdpdmVuIHtAbGluayBUZW1wbGF0ZUFzdFZpc2l0b3J9LlxuICovXG5leHBvcnQgZnVuY3Rpb24gdGVtcGxhdGVWaXNpdEFsbCh2aXNpdG9yOiBUZW1wbGF0ZUFzdFZpc2l0b3IsIGFzdHM6IFRlbXBsYXRlQXN0W10sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZXh0OiBhbnkgPSBudWxsKTogYW55W10ge1xuICB2YXIgcmVzdWx0ID0gW107XG4gIGFzdHMuZm9yRWFjaChhc3QgPT4ge1xuICAgIHZhciBhc3RSZXN1bHQgPSBhc3QudmlzaXQodmlzaXRvciwgY29udGV4dCk7XG4gICAgaWYgKGlzUHJlc2VudChhc3RSZXN1bHQpKSB7XG4gICAgICByZXN1bHQucHVzaChhc3RSZXN1bHQpO1xuICAgIH1cbiAgfSk7XG4gIHJldHVybiByZXN1bHQ7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n/**\r\n * @module\r\n * @description\r\n * Starting point to import all compiler APIs.\r\n */\r\nvar compiler_1 = require('angular2/src/compiler/compiler');\r\nexports.PLATFORM_DIRECTIVES = compiler_1.PLATFORM_DIRECTIVES;\r\nexports.PLATFORM_PIPES = compiler_1.PLATFORM_PIPES;\r\nexports.COMPILER_PROVIDERS = compiler_1.COMPILER_PROVIDERS;\r\nexports.TEMPLATE_TRANSFORMS = compiler_1.TEMPLATE_TRANSFORMS;\r\nexports.CompilerConfig = compiler_1.CompilerConfig;\r\nexports.RenderTypes = compiler_1.RenderTypes;\r\nexports.UrlResolver = compiler_1.UrlResolver;\r\nexports.DEFAULT_PACKAGE_URL_PROVIDER = compiler_1.DEFAULT_PACKAGE_URL_PROVIDER;\r\nexports.createOfflineCompileUrlResolver = compiler_1.createOfflineCompileUrlResolver;\r\nexports.XHR = compiler_1.XHR;\r\nexports.ViewResolver = compiler_1.ViewResolver;\r\nexports.DirectiveResolver = compiler_1.DirectiveResolver;\r\nexports.PipeResolver = compiler_1.PipeResolver;\r\nexports.SourceModule = compiler_1.SourceModule;\r\nexports.NormalizedComponentWithViewDirectives = compiler_1.NormalizedComponentWithViewDirectives;\r\nexports.OfflineCompiler = compiler_1.OfflineCompiler;\r\nexports.CompileMetadataWithIdentifier = compiler_1.CompileMetadataWithIdentifier;\r\nexports.CompileMetadataWithType = compiler_1.CompileMetadataWithType;\r\nexports.CompileIdentifierMetadata = compiler_1.CompileIdentifierMetadata;\r\nexports.CompileDiDependencyMetadata = compiler_1.CompileDiDependencyMetadata;\r\nexports.CompileProviderMetadata = compiler_1.CompileProviderMetadata;\r\nexports.CompileFactoryMetadata = compiler_1.CompileFactoryMetadata;\r\nexports.CompileTokenMetadata = compiler_1.CompileTokenMetadata;\r\nexports.CompileTypeMetadata = compiler_1.CompileTypeMetadata;\r\nexports.CompileQueryMetadata = compiler_1.CompileQueryMetadata;\r\nexports.CompileTemplateMetadata = compiler_1.CompileTemplateMetadata;\r\nexports.CompileDirectiveMetadata = compiler_1.CompileDirectiveMetadata;\r\nexports.CompilePipeMetadata = compiler_1.CompilePipeMetadata;\r\n__export(require('angular2/src/compiler/template_ast'));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9jb21waWxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUE7Ozs7R0FJRztBQUNILHlCQTZCTyxnQ0FBZ0MsQ0FBQztBQTVCdEMsNkRBQW1CO0FBQ25CLG1EQUFjO0FBQ2QsMkRBQWtCO0FBQ2xCLDZEQUFtQjtBQUNuQixtREFBYztBQUNkLDZDQUFXO0FBQ1gsNkNBQVc7QUFDWCwrRUFBNEI7QUFDNUIscUZBQStCO0FBQy9CLDZCQUFHO0FBQ0gsK0NBQVk7QUFDWix5REFBaUI7QUFDakIsK0NBQVk7QUFDWiwrQ0FBWTtBQUNaLGlHQUFxQztBQUNyQyxxREFBZTtBQUNmLGlGQUE2QjtBQUM3QixxRUFBdUI7QUFDdkIseUVBQXlCO0FBQ3pCLDZFQUEyQjtBQUMzQixxRUFBdUI7QUFDdkIsbUVBQXNCO0FBQ3RCLCtEQUFvQjtBQUNwQiw2REFBbUI7QUFDbkIsK0RBQW9CO0FBQ3BCLHFFQUF1QjtBQUN2Qix1RUFBd0I7QUFDeEIsNkRBQ3NDO0FBRXhDLGlCQUFjLG9DQUFvQyxDQUFDLEVBQUEiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBtb2R1bGVcbiAqIEBkZXNjcmlwdGlvblxuICogU3RhcnRpbmcgcG9pbnQgdG8gaW1wb3J0IGFsbCBjb21waWxlciBBUElzLlxuICovXG5leHBvcnQge1xuICBQTEFURk9ST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in rename it into TemplateLoader\r\n/**\r\n * An interface for retrieving documents by URL that the compiler uses\r\n * to load templates.\r\n */\r\nvar XHR = (function () {\r\n function XHR() {\r\n }\r\n XHR.prototype.get = function (url) { return null; };\r\n return XHR;\r\n}());\r\nexports.XHR = XHR;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieGhyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbXBpbGVyL3hoci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsOENBQThDO0FBQzlDOzs7R0FHRztBQUNIO0lBQUE7SUFFQSxDQUFDO0lBREMsaUJBQUcsR0FBSCxVQUFJLEdBQVcsSUFBcUIsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUM7SUFDcEQsVUFBQztBQUFELENBQUMsQUFGRCxJQUVDO0FBRlksV0FBRyxNQUVmLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUT0RPOiB2c2F2a2luIHJlbmFtZSBpdCBpbnRvIFRlbXBsYXRlTG9hZGVyXG4vKipcbiAqIEFuIGludGVyZmFjZSBmb3IgcmV0cmlldmluZyBkb2N1bWVudHMgYnkgVVJMIHRoYXQgdGhlIGNvbXBpbGVyIHVzZXNcbiAqIHRvIGxvYWQgdGVtcGxhdGVzLlxuICovXG5leHBvcnQgY2xhc3MgWEhSIHtcbiAgZ2V0KHVybDogc3RyaW5nKTogUHJvbWlzZTxzdHJpbmc+IHsgcmV0dXJuIG51bGw7IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar promise_1 = require('angular2/src/facade/promise');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar xhr_1 = require('angular2/src/compiler/xhr');\r\nvar XHRImpl = (function (_super) {\r\n __extends(XHRImpl, _super);\r\n function XHRImpl() {\r\n _super.apply(this, arguments);\r\n }\r\n XHRImpl.prototype.get = function (url) {\r\n var completer = promise_1.PromiseWrapper.completer();\r\n var xhr = new XMLHttpRequest();\r\n xhr.open('GET', url, true);\r\n xhr.responseType = 'text';\r\n xhr.onload = function () {\r\n // responseText is the old-school way of retrieving response (supported by IE8 & 9)\r\n // response/responseType properties were introduced in XHR Level2 spec (supported by IE10)\r\n var response = lang_1.isPresent(xhr.response) ? xhr.response : xhr.responseText;\r\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\r\n var status = xhr.status === 1223 ? 204 : xhr.status;\r\n // fix status code when it is 0 (0 status is undocumented).\r\n // Occurs when accessing file resources or on Android 4.1 stock browser\r\n // while retrieving files from application cache.\r\n if (status === 0) {\r\n status = response ? 200 : 0;\r\n }\r\n if (200 <= status && status <= 300) {\r\n completer.resolve(response);\r\n }\r\n else {\r\n completer.reject(\"Failed to load \" + url, null);\r\n }\r\n };\r\n xhr.onerror = function () { completer.reject(\"Failed to load \" + url, null); };\r\n xhr.send();\r\n return completer.promise;\r\n };\r\n return XHRImpl;\r\n}(xhr_1.XHR));\r\nexports.XHRImpl = XHRImpl;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieGhyX2ltcGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvcGxhdGZvcm0vYnJvd3Nlci94aHJfaW1wbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSx3QkFBK0MsNkJB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SAzMDApIHtcbiAgICAgICAgY29tcGxldGVyLnJlc29sdmUocmVzcG9uc2UpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgY29tcGxldGVyLnJlamVjdChgRmFpbGVkIHRvIGxvYWQgJHt1cmx9YCwgbnVsbCk7XG4gICAgICB9XG4gICAgfTtcblxuICAgIHhoci5vbmVycm9yID0gZnVuY3Rpb24oKSB7IGNvbXBsZXRlci5yZWplY3QoYEZhaWxlZCB0byBsb2FkICR7dXJsfWAsIG51bGwpOyB9O1xuXG4gICAgeGhyLnNlbmQoKTtcbiAgICByZXR1cm4gY29tcGxldGVyLnByb21pc2U7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar browser_common_1 = require('angular2/src/platform/browser_common');\r\nexports.BROWSER_PROVIDERS = browser_common_1.BROWSER_PROVIDERS;\r\nexports.CACHED_TEMPLATE_PROVIDER = browser_common_1.CACHED_TEMPLATE_PROVIDER;\r\nexports.ELEMENT_PROBE_PROVIDERS = browser_common_1.ELEMENT_PROBE_PROVIDERS;\r\nexports.ELEMENT_PROBE_PROVIDERS_PROD_MODE = browser_common_1.ELEMENT_PROBE_PROVIDERS_PROD_MODE;\r\nexports.inspectNativeElement = browser_common_1.inspectNativeElement;\r\nexports.BrowserDomAdapter = browser_common_1.BrowserDomAdapter;\r\nexports.By = browser_common_1.By;\r\nexports.Title = browser_common_1.Title;\r\nexports.DOCUMENT = browser_common_1.DOCUMENT;\r\nexports.enableDebugTools = browser_common_1.enableDebugTools;\r\nexports.disableDebugTools = browser_common_1.disableDebugTools;\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar browser_common_2 = require('angular2/src/platform/browser_common');\r\nvar compiler_1 = require('angular2/compiler');\r\nvar core_1 = require('angular2/core');\r\nvar reflection_capabilities_1 = require('angular2/src/core/reflection/reflection_capabilities');\r\nvar xhr_impl_1 = require(\"angular2/src/platform/browser/xhr_impl\");\r\nvar compiler_2 = require('angular2/compiler');\r\nvar di_1 = require('angular2/src/core/di');\r\n/**\r\n * An array of providers that should be passed into `application()` when bootstrapping a component.\r\n */\r\nexports.BROWSER_APP_PROVIDERS = lang_1.CONST_EXPR([\r\n browser_common_2.BROWSER_APP_COMMON_PROVIDERS,\r\n compiler_1.COMPILER_PROVIDERS,\r\n new di_1.Provider(compiler_2.XHR, { useClass: xhr_impl_1.XHRImpl }),\r\n]);\r\nfunction browserPlatform() {\r\n if (lang_1.isBlank(core_1.getPlatform())) {\r\n core_1.createPlatform(core_1.ReflectiveInjector.resolveAndCreate(browser_common_2.BROWSER_PROVIDERS));\r\n }\r\n return core_1.assertPlatform(browser_common_2.BROWSER_PLATFORM_MARKER);\r\n}\r\nexports.browserPlatform = browserPlatform;\r\n/**\r\n * Bootstrapping for Angular applications.\r\n *\r\n * You instantiate an Angular application by explicitly specifying a component to use\r\n * as the root component for your application via the `bootstrap()` method.\r\n *\r\n * ## Simple Example\r\n *\r\n * Assuming this `index.html`:\r\n *\r\n * ```html\r\n * <html>\r\n * <!-- load Angular script tags here. -->\r\n * <body>\r\n * <my-app>loading...</my-app>\r\n * </body>\r\n * </html>\r\n * ```\r\n *\r\n * An application is bootstrapped inside an existing browser DOM, typically `index.html`.\r\n * Unlike Angular 1, Angular 2 does not compile/process providers in `index.html`. This is\r\n * mainly for security reasons, as well as architectural changes in Angular 2. This means\r\n * that `index.html` can safely be processed using server-side technologies such as\r\n * providers. Bindings can thus use double-curly `{{ syntax }}` without collision from\r\n * Angular 2 component double-curly `{{ syntax }}`.\r\n *\r\n * We can use this script code:\r\n *\r\n * {@example core/ts/bootstrap/bootstrap.ts region='bootstrap'}\r\n *\r\n * When the app developer invokes `bootstrap()` with the root component `MyApp` as its\r\n * argument, Angular performs the following tasks:\r\n *\r\n * 1. It uses the component's `selector` property to locate the DOM element which needs\r\n * to be upgraded into the angular component.\r\n * 2. It creates a new child injector (from the platform injector). Optionally, you can\r\n * also override the injector configuration for an app by invoking `bootstrap` with the\r\n * `componentInjectableBindings` argument.\r\n * 3. It creates a new `Zone` and connects it to the angular application's change detection\r\n * domain instance.\r\n * 4. It creates an emulated or shadow DOM on the selected component's host element and loads the\r\n * template into it.\r\n * 5. It instantiates the specified component.\r\n * 6. Finally, Angular performs change detection to apply the initial data providers for the\r\n * application.\r\n *\r\n *\r\n * ## Bootstrapping Multiple Applications\r\n *\r\n * When working within a browser window, there are many singleton resources: cookies, title,\r\n * location, and others. Angular services that represent these resources must likewise be\r\n * shared across all Angular applications that occupy the same browser window. For this\r\n * reason, Angular creates exactly one global platform object which stores all shared\r\n * services, and each angular application injector has the platform injector as its parent.\r\n *\r\n * Each application has its own private injector as well. When there are multiple\r\n * applications on a page, Angular treats each application injector's services as private\r\n * to that application.\r\n *\r\n * ## API\r\n *\r\n * - `appComponentType`: The root component which should act as the application. This is\r\n * a reference to a `Type` which is annotated with `@Component(...)`.\r\n * - `customProviders`: An additional set of providers that can be added to the\r\n * app injector to override default injection behavior.\r\n *\r\n * Returns a `Promise` of {@link ComponentRef}.\r\n */\r\nfunction bootstrap(appComponentType, customProviders) {\r\n core_1.reflector.reflectionCapabilities = new reflection_capabilities_1.ReflectionCapabilities();\r\n var appInjector = core_1.ReflectiveInjector.resolveAndCreate([exports.BROWSER_APP_PROVIDERS, lang_1.isPresent(customProviders) ? customProviders : []], browserPlatform().injector);\r\n return core_1.coreLoadAndBootstrap(appInjector, appComponentType);\r\n}\r\nexports.bootstrap = bootstrap;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJvd3Nlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3BsYXRmb3JtL2Jyb3dzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLCtCQVlPLHNDQUFzQyxDQUFDO0FBWDVDLCtEQ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mVuY2UgdG8gYSBgVHlwZWAgd2hpY2ggaXMgYW5ub3RhdGVkIHdpdGggYEBDb21wb25lbnQoLi4uKWAuXG4gKiAtIGBjdXN0b21Qcm92aWRlcnNgOiBBbiBhZGRpdGlvbmFsIHNldCBvZiBwcm92aWRlcnMgdGhhdCBjYW4gYmUgYWRkZWQgdG8gdGhlXG4gKiAgIGFwcCBpbmplY3RvciB0byBvdmVycmlkZSBkZWZhdWx0IGluamVjdGlvbiBiZWhhdmlvci5cbiAqXG4gKiBSZXR1cm5zIGEgYFByb21pc2VgIG9mIHtAbGluayBDb21wb25lbnRSZWZ9LlxuICovXG5leHBvcnQgZnVuY3Rpb24gYm9vdHN0cmFwKFxuICAgIGFwcENvbXBvbmVudFR5cGU6IFR5cGUsXG4gICAgY3VzdG9tUHJvdmlkZXJzPzogQXJyYXk8YW55IC8qVHlwZSB8IFByb3ZpZGVyIHwgYW55W10qLz4pOiBQcm9taXNlPENvbXBvbmVudFJlZj4ge1xuICByZWZsZWN0b3IucmVmbGVjdGlvbkNhcGFiaWxpdGllcyA9IG5ldyBSZWZsZWN0aW9uQ2FwYWJpbGl0aWVzKCk7XG4gIHZhciBhcHBJbmplY3RvciA9IFJlZmxlY3RpdmVJbmplY3Rvci5yZXNvbHZlQW5kQ3JlYXRlKFxuICAgICAgW0JST1dTRVJfQVBQX1BST1ZJREVSUywgaXNQcmVzZW50KGN1c3RvbVByb3ZpZGVycykgPyBjdXN0b21Qcm92aWRlcnMgOiBbXV0sXG4gICAgICBicm93c2VyUGxhdGZvcm0oKS5pbmplY3Rvcik7XG4gIHJldHVybiBjb3JlTG9hZEFuZEJvb3RzdHJhcChhcHBJbmplY3RvciwgYXBwQ29tcG9uZW50VHlwZSk7XG59XG4iXX0=","'use strict';\n\nimport {isFunction, isString} from 'angular2/src/facade/lang';\nimport {BrowserDomAdapter} from 'angular2/platform/browser';\nimport {global} from 'angular2/src/facade/lang';\n\nvar defaults = {\n scrollYOffset: 0,\n disableLazySchemas: false,\n debugMode: global.redocDebugMode\n};\n\nvar OPTION_NAMES = new Set(['scrollYOffset', 'disableLazySchemas', 'specUrl']);\n\n@Reflect.metadata('parameters', [[BrowserDomAdapter]])\nexport default class OptionsManager {\n constructor() {\n this._options = defaults;\n this.dom = new BrowserDomAdapter();\n }\n\n get options() {\n return this._options;\n }\n\n set options(opts) {\n this._options = Object.assign(this._options, opts);\n }\n\n parseOptions(el) {\n let parsedOpts;\n let attributesMap = this.dom.attributeMap(el);\n parsedOpts = {};\n Array.from(attributesMap.keys())\n //camelCasify\n .map(k => ({\n attrName: k,\n name: k.replace(/-(.)/g, (m, $1) => $1.toUpperCase())\n })\n )\n .filter(option => OPTION_NAMES.has(option.name))\n .forEach(option => {\n parsedOpts[option.name] = attributesMap.get(option.attrName);\n });\n\n this.options = parsedOpts;\n this._normalizeOptions();\n }\n\n _normalizeOptions() {\n // modify scrollYOffset to always be a function\n if (!isFunction(this._options.scrollYOffset)) {\n if (isFinite(this._options.scrollYOffset)) {\n // if number specified create function that returns this value\n let numberOffset = parseFloat(this._options.scrollYOffset);\n this.options.scrollYOffset = () => numberOffset;\n } else {\n // if selector or node function that returns bottom offset of this node\n let el = this._options.scrollYOffset;\n if (!(el instanceof Node)) {\n el = this.dom.query(el);\n }\n if (!el) {\n this._options.scrollYOffset = () => 0;\n } else {\n this._options.scrollYOffset = () => el.offsetTop + el.offsetHeight;\n }\n }\n }\n\n if (isString(this._options.disableLazySchemas)) this._options.disableLazySchemas = true;\n }\n}\n","'use strict';\n\nimport {ChangeDetectorRef, ChangeDetectionStrategy, ElementRef} from 'angular2/core';\nimport {document} from 'angular2/src/facade/browser';\nimport {BrowserDomAdapter} from 'angular2/platform/browser';\nimport {global} from 'angular2/src/facade/lang';\n\nimport {RedocComponent, BaseComponent, SchemaManager} from '../base';\nimport {redocEvents} from '../../events';\nimport OptionsManager from '../../options';\n\nconst CHANGE = {\n NEXT : 1,\n BACK : -1,\n INITIAL : 0\n};\n\nconst INVIEW_POSITION = {\n ABOVE : 1,\n BELLOW: -1,\n INVIEW: 0\n};\n\n@RedocComponent({\n selector: 'side-menu',\n template: `\n <div class=\"mobile-nav\" (click)=\"toggleMobileNav()\">\n <span class=\"menu-header\"> API Reference: </span>\n <span class=\"selected-item-info\">\n <span class=\"selected-tag\"> {{activeCatCaption}} </span>\n <span class=\"selected-endpoint\">{{activeItemCaption}}</span>\n </span>\n </div>\n <div id=\"resources-nav\">\n <h5 class=\"menu-header\"> API reference </h5>\n <div *ngFor=\"let cat of data.menu; let idx = index\" class=\"menu-cat\">\n\n <label class=\"menu-cat-header\" (click)=\"activateAndScroll(idx, -1)\" [ngClass]=\"{active: cat.active}\"> {{cat.name}}</label>\n <ul class=\"menu-subitems\" [ngClass]=\"{active: cat.active}\">\n <li *ngFor=\"let method of cat.methods; let methIdx = index\"\n [ngClass]=\"{active: method.active}\"\n (click)=\"activateAndScroll(idx, methIdx)\">\n {{method.summary}}\n </li>\n </ul>\n\n </div>\n </div>\n `,\n styles: [`\n .menu-header{text-transform:uppercase;color:#0033a0;padding:0 20px;margin:10px 0}.menu-cat-header{font-size:0.929em;font-family:Montserrat,sans-serif;font-weight:300;cursor:pointer;color:rgba(38,50,56,0.6);text-transform:uppercase;background-color:#FAFAFA;-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-ms-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out;display:block;padding:12.5px 20px}.menu-cat-header:hover,.menu-cat-header.active{color:#0033a0;background-color:#f0f0f0}.menu-subitems{margin:0;font-size:0.929em;line-height:1.2em;font-weight:300;color:rgba(38,50,56,0.9);padding:0;height:0;overflow:hidden}.menu-subitems.active{height:auto}.menu-subitems li{-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-ms-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out;list-style:none inside none;cursor:pointer;background-color:#f0f0f0;padding:10px 40px;padding-left:40px;overflow:hidden;text-overflow:ellipsis}.menu-subitems li:hover,.menu-subitems li.active{background:#e1e1e1}.mobile-nav{display:none;height:3em;line-height:3em;box-sizing:border-box;border-bottom:1px solid #ccc;cursor:pointer}.mobile-nav:after{content:\"\";display:inline-block;width:3em;height:3em;background:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" enable-background=\"new 0 0 100 100\" version=\"1.1\" viewBox=\"0 0 100 100\" xml:space=\"preserve\"><polygon fill=\"#010101\" points=\"23.1 34.1 51.5 61.7 80 34.1 81.5 35 51.5 64.1 21.5 35 23.1 34.1 \"/></svg>');background-size:70%;background-repeat:no-repeat;background-position:center;float:right;vertical-align:middle}.mobile-nav .menu-header{padding:0 10px 0 20px;font-size:0.95em}@media (max-width: 550px){.mobile-nav .menu-header{display:none}}@media (max-width: 1000px){.mobile-nav{display:block}#resources-nav{height:0;overflow-y:auto;transition:all 0.3s ease}#resources-nav .menu-header{display:none}.menu-subitems{height:auto}}.selected-tag{text-transform:capitalize}.selected-endpoint:before{content:\"/\";padding:0 2px;color:#ccc}.selected-endpoint:empty:before{display:none}.selected-item-info{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;box-sizing:border-box;max-width:350px}@media (max-width: 550px){.selected-item-info{display:inline-block;padding:0 20px;max-width:80%;max-width:calc(100% - 4em)}}\n `],\n changeDetection: ChangeDetectionStrategy.Default\n})\n@Reflect.metadata('parameters', [[SchemaManager], [ElementRef],\n [BrowserDomAdapter], [ChangeDetectorRef], [OptionsManager]])\nexport default class SideMenu extends BaseComponent {\n constructor(schemaMgr, elementRef, dom, changeDetectorRef, optionsMgr) {\n super(schemaMgr);\n this.$element = elementRef.nativeElement;\n this.changeDetector = changeDetectorRef;\n this.dom = dom;\n this.options = optionsMgr.options;\n this.$scrollParent = this.options.$scrollParent;\n this.bindEvents();\n this.activeCatIdx = 0;\n this.activeMethodIdx = -1;\n this.prevOffsetY = null;\n\n redocEvents.bootstrapped.subscribe(() => this.hashScroll());\n\n this.activeCatCaption = '';\n this.activeItemCaption = '';\n }\n\n scrollY() {\n return (this.$scrollParent.pageYOffset != null) ? this.$scrollParent.pageYOffset : this.$scrollParent.scrollTop;\n }\n\n hashScroll(evt) {\n let hash = this.dom.getLocation().hash;\n if (!hash) return;\n\n let $el;\n hash = hash.substr(1);\n let namespace = hash.split('/')[0];\n let ptr = decodeURIComponent(hash.substr(namespace.length + 1));\n if (namespace === 'operation') {\n $el = this.getMethodElByOperId(ptr);\n } else if (namespace === 'tag') {\n let tag = ptr.split('/')[0];\n ptr = ptr.substr(tag.length);\n $el = this.getMethodElByPtr(ptr, tag);\n }\n\n if ($el) this.scrollTo($el);\n if (evt) evt.preventDefault();\n }\n\n bindEvents() {\n this.prevOffsetY = this.scrollY();\n\n //decorate option.scrollYOffset to account mobile nav\n this.scrollYOffset = () => {\n let mobileNavOffset = this.$mobileNav.clientHeight;\n return this.options.scrollYOffset() + mobileNavOffset;\n };\n this._cancel = {};\n this._cancel.scroll = this.dom.onAndCancel(this.$scrollParent, 'scroll', () => { this.scrollHandler(); });\n this._cancel.hash = this.dom.onAndCancel(global, 'hashchange', evt => this.hashScroll(evt));\n }\n\n destroy() {\n this._cancel.scroll();\n this._cancel.hash();\n }\n\n activateAndScroll(idx, methodIdx) {\n if (this.mobileMode()) {\n this.toggleMobileNav();\n }\n this.activate(idx, methodIdx);\n this.scrollToActive();\n }\n\n scrollTo($el) {\n // TODO: rewrite this to use offsetTop as more reliable solution\n let subjRect = $el.getBoundingClientRect();\n let offset = this.scrollY() + subjRect.top - this.scrollYOffset() + 1;\n if (this.$scrollParent.scrollTo) {\n this.$scrollParent.scrollTo(0, offset);\n } else {\n this.$scrollParent.scrollTop = offset;\n }\n }\n\n scrollToActive() {\n this.scrollTo(this.getCurrentMethodEl());\n }\n\n activate(catIdx, methodIdx) {\n let menu = this.data.menu;\n\n this.activeCatCaption = '';\n this.activeItemCaption = '';\n\n menu[this.activeCatIdx].active = false;\n if (menu[this.activeCatIdx].methods.length) {\n if (this.activeMethodIdx >= 0) {\n menu[this.activeCatIdx].methods[this.activeMethodIdx].active = false;\n }\n }\n\n this.activeCatIdx = catIdx;\n this.activeMethodIdx = methodIdx;\n menu[catIdx].active = true;\n this.activeCatCaption = menu[catIdx].name;\n this.activeMethodPtr = null;\n if (menu[catIdx].methods.length && (methodIdx > -1)) {\n let currentItem = menu[catIdx].methods[methodIdx];\n currentItem.active = true;\n this.activeMethodPtr = currentItem.pointer;\n this.activeItemCaption = currentItem.summary;\n }\n }\n\n _calcActiveIndexes(offset) {\n let menu = this.data.menu;\n let catCount = menu.length;\n let catLength = menu[this.activeCatIdx].methods.length;\n\n let resMethodIdx = this.activeMethodIdx + offset;\n let resCatIdx = this.activeCatIdx;\n\n if (resMethodIdx > catLength - 1) {\n resCatIdx++;\n resMethodIdx = -1;\n }\n if (resMethodIdx < -1) {\n let prevCatIdx = --resCatIdx;\n catLength = menu[Math.max(prevCatIdx, 0)].methods.length;\n resMethodIdx = catLength - 1;\n }\n if (resCatIdx > catCount - 1) {\n resCatIdx = catCount - 1;\n resMethodIdx = catLength - 1;\n }\n if (resCatIdx < 0) {\n resCatIdx = 0;\n resMethodIdx = 0;\n }\n\n return [resCatIdx, resMethodIdx];\n }\n\n changeActive(offset = 1) {\n let [catIdx, methodIdx] = this._calcActiveIndexes(offset);\n this.activate(catIdx, methodIdx);\n return (methodIdx === 0 && catIdx === 0);\n }\n\n getMethodElByPtr(ptr, tag) {\n let selector = ptr ? `[pointer=\"${ptr}\"][tag=\"${tag}\"]` : `[tag=\"${tag}\"]`;\n return document.querySelector(selector);\n }\n\n getMethodElByOperId(operationId) {\n let selector =`[operation-id=\"${operationId}\"]`;\n return document.querySelector(selector);\n }\n\n getCurrentMethodEl() {\n return this.getMethodElByPtr(this.activeMethodPtr, this.data.menu[this.activeCatIdx].name);\n }\n\n /* returns 1 if element if above the view, 0 if in view and -1 below the view */\n getElementInViewPos($el) {\n if (Math.floor($el.getBoundingClientRect().top) > this.scrollYOffset()) {\n return INVIEW_POSITION.ABOVE;\n }\n\n if ($el.getBoundingClientRect().bottom <= this.scrollYOffset()) {\n return INVIEW_POSITION.BELLOW;\n }\n return INVIEW_POSITION.INVIEW;\n }\n\n scrollHandler() {\n let isScrolledDown = (this.scrollY() - this.prevOffsetY > 0);\n this.prevOffsetY = this.scrollY();\n let stable = false;\n while(!stable) {\n let $activeMethodHost = this.getCurrentMethodEl();\n if (!$activeMethodHost) return;\n var elementInViewPos = this.getElementInViewPos($activeMethodHost);\n if(isScrolledDown && elementInViewPos === INVIEW_POSITION.BELLOW) {\n stable = this.changeActive(CHANGE.NEXT);\n continue;\n }\n if(!isScrolledDown && elementInViewPos === INVIEW_POSITION.ABOVE ) {\n stable = this.changeActive(CHANGE.BACK);\n continue;\n }\n stable = true;\n }\n this.changeDetector.detectChanges();\n }\n\n prepareModel() {\n this.data = {};\n this.data.menu = Array.from(this.schemaMgr.buildMenuTree().entries()).map(\n el => ({name: el[0], description: el[1].description, methods: el[1].methods})\n );\n }\n\n mobileMode() {\n return this.$mobileNav.clientHeight > 0;\n }\n\n toggleMobileNav() {\n let dom = this.dom;\n let $overflowParent = (this.$scrollParent === global) ? dom.defaultDoc().body : this.$scrollParent;\n if (dom.hasStyle(this.$resourcesNav, 'height')) {\n dom.removeStyle(this.$resourcesNav, 'height');\n dom.removeStyle($overflowParent, 'overflow-y');\n } else {\n let viewportHeight = this.$scrollParent.innerHeight || this.$scrollParent.clientHeight;\n let height = viewportHeight - this.$mobileNav.getBoundingClientRect().bottom;\n dom.setStyle($overflowParent, 'overflow-y', 'hidden');\n dom.setStyle(this.$resourcesNav, 'height', height + 'px');\n }\n }\n\n init() {\n this.$mobileNav = this.dom.querySelector(this.$element, '.mobile-nav');\n this.$resourcesNav = this.dom.querySelector(this.$element, '#resources-nav');\n this.changeActive(CHANGE.INITIAL);\n }\n}\n","/* */ \n'use strict';\nvar ctx = require('./$.ctx'),\n $export = require('./$.export'),\n toObject = require('./$.to-object'),\n call = require('./$.iter-call'),\n isArrayIter = require('./$.is-array-iter'),\n toLength = require('./$.to-length'),\n getIterFn = require('./core.get-iterator-method');\n$export($export.S + $export.F * !require('./$.iter-detect')(function(iter) {\n Array.from(iter);\n}), 'Array', {from: function from(arrayLike) {\n var O = toObject(arrayLike),\n C = typeof this == 'function' ? this : Array,\n $$ = arguments,\n $$len = $$.length,\n mapfn = $$len > 1 ? $$[1] : undefined,\n mapping = mapfn !== undefined,\n index = 0,\n iterFn = getIterFn(O),\n length,\n result,\n step,\n iterator;\n if (mapping)\n mapfn = ctx(mapfn, $$len > 2 ? $$[2] : undefined, 2);\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++) {\n result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value;\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n result[index] = mapping ? mapfn(O[index], index) : O[index];\n }\n }\n result.length = index;\n return result;\n }});\n","/* */ \nrequire('../../modules/es6.string.iterator');\nrequire('../../modules/es6.array.from');\nmodule.exports = require('../../modules/$.core').Array.from;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/array/from\"), __esModule: true };","/* */ \n\"use strict\";\nvar _Array$from = require('../core-js/array/from')[\"default\"];\nexports[\"default\"] = function(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0,\n arr2 = Array(arr.length); i < arr.length; i++)\n arr2[i] = arr[i];\n return arr2;\n } else {\n return _Array$from(arr);\n }\n};\nexports.__esModule = true;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y){\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};","/* */ \nvar anObject = require('./$.an-object'),\n aFunction = require('./$.a-function'),\n SPECIES = require('./$.wks')('species');\nmodule.exports = function(O, D) {\n var C = anObject(O).constructor,\n S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function(fn, args, that){\n var un = that === undefined;\n switch(args.length){\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};","/* */ \nmodule.exports = require('./$.global').document && document.documentElement;\n","/* */ \nvar isObject = require('./$.is-object'),\n document = require('./$.global').document,\n is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it) {\n return is ? document.createElement(it) : {};\n};\n","/* */ \n(function(process) {\n var ctx = require('./$.ctx'),\n invoke = require('./$.invoke'),\n html = require('./$.html'),\n cel = require('./$.dom-create'),\n global = require('./$.global'),\n process = global.process,\n setTask = global.setImmediate,\n clearTask = global.clearImmediate,\n MessageChannel = global.MessageChannel,\n counter = 0,\n queue = {},\n ONREADYSTATECHANGE = 'onreadystatechange',\n defer,\n channel,\n port;\n var run = function() {\n var id = +this;\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n };\n var listner = function(event) {\n run.call(event.data);\n };\n if (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [],\n i = 1;\n while (arguments.length > i)\n args.push(arguments[i++]);\n queue[++counter] = function() {\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n if (require('./$.cof')(process) == 'process') {\n defer = function(id) {\n process.nextTick(ctx(run, id, 1));\n };\n } else if (MessageChannel) {\n channel = new MessageChannel;\n port = channel.port2;\n channel.port1.onmessage = listner;\n defer = ctx(port.postMessage, port, 1);\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function(id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listner, false);\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function(id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function() {\n html.removeChild(this);\n run.call(id);\n };\n };\n } else {\n defer = function(id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n }\n module.exports = {\n set: setTask,\n clear: clearTask\n };\n})(require('process'));\n","/* */ \n(function(process) {\n var global = require('./$.global'),\n macrotask = require('./$.task').set,\n Observer = global.MutationObserver || global.WebKitMutationObserver,\n process = global.process,\n Promise = global.Promise,\n isNode = require('./$.cof')(process) == 'process',\n head,\n last,\n notify;\n var flush = function() {\n var parent,\n domain,\n fn;\n if (isNode && (parent = process.domain)) {\n process.domain = null;\n parent.exit();\n }\n while (head) {\n domain = head.domain;\n fn = head.fn;\n if (domain)\n domain.enter();\n fn();\n if (domain)\n domain.exit();\n head = head.next;\n }\n last = undefined;\n if (parent)\n parent.enter();\n };\n if (isNode) {\n notify = function() {\n process.nextTick(flush);\n };\n } else if (Observer) {\n var toggle = 1,\n node = document.createTextNode('');\n new Observer(flush).observe(node, {characterData: true});\n notify = function() {\n node.data = toggle = -toggle;\n };\n } else if (Promise && Promise.resolve) {\n notify = function() {\n Promise.resolve().then(flush);\n };\n } else {\n notify = function() {\n macrotask.call(global, flush);\n };\n }\n module.exports = function asap(fn) {\n var task = {\n fn: fn,\n next: undefined,\n domain: isNode && process.domain\n };\n if (last)\n last.next = task;\n if (!head) {\n head = task;\n notify();\n }\n last = task;\n };\n})(require('process'));\n","/* */ \nvar ITERATOR = require('./$.wks')('iterator'),\n SAFE_CLOSING = false;\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function() {\n SAFE_CLOSING = true;\n };\n Array.from(riter, function() {\n throw 2;\n });\n} catch (e) {}\nmodule.exports = function(exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING)\n return false;\n var safe = false;\n try {\n var arr = [7],\n iter = arr[ITERATOR]();\n iter.next = function() {\n safe = true;\n };\n arr[ITERATOR] = function() {\n return iter;\n };\n exec(arr);\n } catch (e) {}\n return safe;\n};\n","/* */ \n(function(process) {\n 'use strict';\n var $ = require('./$'),\n LIBRARY = require('./$.library'),\n global = require('./$.global'),\n ctx = require('./$.ctx'),\n classof = require('./$.classof'),\n $export = require('./$.export'),\n isObject = require('./$.is-object'),\n anObject = require('./$.an-object'),\n aFunction = require('./$.a-function'),\n strictNew = require('./$.strict-new'),\n forOf = require('./$.for-of'),\n setProto = require('./$.set-proto').set,\n same = require('./$.same-value'),\n SPECIES = require('./$.wks')('species'),\n speciesConstructor = require('./$.species-constructor'),\n asap = require('./$.microtask'),\n PROMISE = 'Promise',\n process = global.process,\n isNode = classof(process) == 'process',\n P = global[PROMISE],\n Wrapper;\n var testResolve = function(sub) {\n var test = new P(function() {});\n if (sub)\n test.constructor = Object;\n return P.resolve(test) === test;\n };\n var USE_NATIVE = function() {\n var works = false;\n function P2(x) {\n var self = new P(x);\n setProto(self, P2.prototype);\n return self;\n }\n try {\n works = P && P.resolve && testResolve();\n setProto(P2, P);\n P2.prototype = $.create(P.prototype, {constructor: {value: P2}});\n if (!(P2.resolve(5).then(function() {}) instanceof P2)) {\n works = false;\n }\n if (works && require('./$.descriptors')) {\n var thenableThenGotten = false;\n P.resolve($.setDesc({}, 'then', {get: function() {\n thenableThenGotten = true;\n }}));\n works = thenableThenGotten;\n }\n } catch (e) {\n works = false;\n }\n return works;\n }();\n var sameConstructor = function(a, b) {\n if (LIBRARY && a === P && b === Wrapper)\n return true;\n return same(a, b);\n };\n var getConstructor = function(C) {\n var S = anObject(C)[SPECIES];\n return S != undefined ? S : C;\n };\n var isThenable = function(it) {\n var then;\n return isObject(it) && typeof(then = it.then) == 'function' ? then : false;\n };\n var PromiseCapability = function(C) {\n var resolve,\n reject;\n this.promise = new C(function($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined)\n throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve), this.reject = aFunction(reject);\n };\n var perform = function(exec) {\n try {\n exec();\n } catch (e) {\n return {error: e};\n }\n };\n var notify = function(record, isReject) {\n if (record.n)\n return;\n record.n = true;\n var chain = record.c;\n asap(function() {\n var value = record.v,\n ok = record.s == 1,\n i = 0;\n var run = function(reaction) {\n var handler = ok ? reaction.ok : reaction.fail,\n resolve = reaction.resolve,\n reject = reaction.reject,\n result,\n then;\n try {\n if (handler) {\n if (!ok)\n record.h = true;\n result = handler === true ? value : handler(value);\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else\n resolve(result);\n } else\n reject(value);\n } catch (e) {\n reject(e);\n }\n };\n while (chain.length > i)\n run(chain[i++]);\n chain.length = 0;\n record.n = false;\n if (isReject)\n setTimeout(function() {\n var promise = record.p,\n handler,\n console;\n if (isUnhandled(promise)) {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({\n promise: promise,\n reason: value\n });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n }\n record.a = undefined;\n }, 1);\n });\n };\n var isUnhandled = function(promise) {\n var record = promise._d,\n chain = record.a || record.c,\n i = 0,\n reaction;\n if (record.h)\n return false;\n while (chain.length > i) {\n reaction = chain[i++];\n if (reaction.fail || !isUnhandled(reaction.promise))\n return false;\n }\n return true;\n };\n var $reject = function(value) {\n var record = this;\n if (record.d)\n return;\n record.d = true;\n record = record.r || record;\n record.v = value;\n record.s = 2;\n record.a = record.c.slice();\n notify(record, true);\n };\n var $resolve = function(value) {\n var record = this,\n then;\n if (record.d)\n return;\n record.d = true;\n record = record.r || record;\n try {\n if (record.p === value)\n throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n asap(function() {\n var wrapper = {\n r: record,\n d: false\n };\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n record.v = value;\n record.s = 1;\n notify(record, false);\n }\n } catch (e) {\n $reject.call({\n r: record,\n d: false\n }, e);\n }\n };\n if (!USE_NATIVE) {\n P = function Promise(executor) {\n aFunction(executor);\n var record = this._d = {\n p: strictNew(this, P, PROMISE),\n c: [],\n a: undefined,\n s: 0,\n d: false,\n v: undefined,\n h: false,\n n: false\n };\n try {\n executor(ctx($resolve, record, 1), ctx($reject, record, 1));\n } catch (err) {\n $reject.call(record, err);\n }\n };\n require('./$.redefine-all')(P.prototype, {\n then: function then(onFulfilled, onRejected) {\n var reaction = new PromiseCapability(speciesConstructor(this, P)),\n promise = reaction.promise,\n record = this._d;\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n record.c.push(reaction);\n if (record.a)\n record.a.push(reaction);\n if (record.s)\n notify(record, false);\n return promise;\n },\n 'catch': function(onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n }\n $export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});\n require('./$.set-to-string-tag')(P, PROMISE);\n require('./$.set-species')(PROMISE);\n Wrapper = require('./$.core')[PROMISE];\n $export($export.S + $export.F * !USE_NATIVE, PROMISE, {reject: function reject(r) {\n var capability = new PromiseCapability(this),\n $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }});\n $export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {resolve: function resolve(x) {\n if (x instanceof P && sameConstructor(x.constructor, this))\n return x;\n var capability = new PromiseCapability(this),\n $$resolve = capability.resolve;\n $$resolve(x);\n return capability.promise;\n }});\n $export($export.S + $export.F * !(USE_NATIVE && require('./$.iter-detect')(function(iter) {\n P.all(iter)['catch'](function() {});\n })), PROMISE, {\n all: function all(iterable) {\n var C = getConstructor(this),\n capability = new PromiseCapability(C),\n resolve = capability.resolve,\n reject = capability.reject,\n values = [];\n var abrupt = perform(function() {\n forOf(iterable, false, values.push, values);\n var remaining = values.length,\n results = Array(remaining);\n if (remaining)\n $.each.call(values, function(promise, index) {\n var alreadyCalled = false;\n C.resolve(promise).then(function(value) {\n if (alreadyCalled)\n return;\n alreadyCalled = true;\n results[index] = value;\n --remaining || resolve(results);\n }, reject);\n });\n else\n resolve(results);\n });\n if (abrupt)\n reject(abrupt.error);\n return capability.promise;\n },\n race: function race(iterable) {\n var C = getConstructor(this),\n capability = new PromiseCapability(C),\n reject = capability.reject;\n var abrupt = perform(function() {\n forOf(iterable, false, function(promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (abrupt)\n reject(abrupt.error);\n return capability.promise;\n }\n });\n})(require('process'));\n","/* */ \nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.promise');\nmodule.exports = require('../modules/$.core').Promise;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/promise\"), __esModule: true };","/* */ \nvar anObject = require('./$.an-object'),\n get = require('./core.get-iterator-method');\nmodule.exports = require('./$.core').getIterator = function(it) {\n var iterFn = get(it);\n if (typeof iterFn != 'function')\n throw TypeError(it + ' is not iterable!');\n return anObject(iterFn.call(it));\n};\n","/* */ \nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.string.iterator');\nmodule.exports = require('../modules/core.get-iterator');\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/get-iterator\"), __esModule: true };","/* */ \n'use strict';\nvar strong = require('./$.collection-strong');\nrequire('./$.collection')('Map', function(get) {\n return function Map() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n}, {\n get: function get(key) {\n var entry = strong.getEntry(this, key);\n return entry && entry.v;\n },\n set: function set(key, value) {\n return strong.def(this, key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","/* */ \nvar $export = require('./$.export');\n$export($export.P, 'Map', {toJSON: require('./$.collection-to-json')('Map')});\n","/* */ \nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.map');\nrequire('../modules/es7.map.to-json');\nmodule.exports = require('../modules/$.core').Map;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/map\"), __esModule: true };","/* */ \n\"format cjs\";\n// Number.isFinite polyfill\n// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite\nif (typeof Number.isFinite !== \"function\") {\n Number.isFinite = function isFinite(value) {\n // 1. If Type(number) is not Number, return false.\n if (typeof value !== \"number\") {\n return false;\n }\n // 2. If number is NaN, +∞, or −∞, return false.\n if (value !== value || value === Infinity || value === -Infinity) {\n return false;\n }\n // 3. Otherwise, return true.\n return true;\n };\n}\n","/* */ \n(function(process) {\n \"use strict\";\n var Report = require('./Report');\n var SchemaCompilation = require('./SchemaCompilation');\n var SchemaValidation = require('./SchemaValidation');\n var Utils = require('./Utils');\n function decodeJSONPointer(str) {\n return decodeURIComponent(str).replace(/~[0-1]/g, function(x) {\n return x === \"~1\" ? \"/\" : \"~\";\n });\n }\n function getRemotePath(uri) {\n var io = uri.indexOf(\"#\");\n return io === -1 ? uri : uri.slice(0, io);\n }\n function getQueryPath(uri) {\n var io = uri.indexOf(\"#\");\n var res = io === -1 ? undefined : uri.slice(io + 1);\n return res;\n }\n function findId(schema, id) {\n if (typeof schema !== \"object\" || schema === null) {\n return;\n }\n if (!id) {\n return schema;\n }\n if (schema.id) {\n if (schema.id === id || schema.id[0] === \"#\" && schema.id.substring(1) === id) {\n return schema;\n }\n }\n var idx,\n result;\n if (Array.isArray(schema)) {\n idx = schema.length;\n while (idx--) {\n result = findId(schema[idx], id);\n if (result) {\n return result;\n }\n }\n } else {\n var keys = Object.keys(schema);\n idx = keys.length;\n while (idx--) {\n var k = keys[idx];\n if (k.indexOf(\"__$\") === 0) {\n continue;\n }\n result = findId(schema[k], id);\n if (result) {\n return result;\n }\n }\n }\n }\n exports.cacheSchemaByUri = function(uri, schema) {\n var remotePath = getRemotePath(uri);\n if (remotePath) {\n this.cache[remotePath] = schema;\n }\n };\n exports.removeFromCacheByUri = function(uri) {\n var remotePath = getRemotePath(uri);\n if (remotePath) {\n delete this.cache[remotePath];\n }\n };\n exports.checkCacheForUri = function(uri) {\n var remotePath = getRemotePath(uri);\n return remotePath ? this.cache[remotePath] != null : false;\n };\n exports.getSchema = function(report, schema) {\n if (typeof schema === \"object\") {\n schema = exports.getSchemaByReference.call(this, report, schema);\n }\n if (typeof schema === \"string\") {\n schema = exports.getSchemaByUri.call(this, report, schema);\n }\n return schema;\n };\n exports.getSchemaByReference = function(report, key) {\n var i = this.referenceCache.length;\n while (i--) {\n if (this.referenceCache[i][0] === key) {\n return this.referenceCache[i][1];\n }\n }\n var schema = Utils.cloneDeep(key);\n this.referenceCache.push([key, schema]);\n return schema;\n };\n exports.getSchemaByUri = function(report, uri, root) {\n var remotePath = getRemotePath(uri),\n queryPath = getQueryPath(uri),\n result = remotePath ? this.cache[remotePath] : root;\n if (result && remotePath) {\n var compileRemote = result !== root;\n if (compileRemote) {\n report.path.push(remotePath);\n var remoteReport = new Report(report);\n if (SchemaCompilation.compileSchema.call(this, remoteReport, result)) {\n SchemaValidation.validateSchema.call(this, remoteReport, result);\n }\n var remoteReportIsValid = remoteReport.isValid();\n if (!remoteReportIsValid) {\n report.addError(\"REMOTE_NOT_VALID\", [uri], remoteReport);\n }\n report.path.pop();\n if (!remoteReportIsValid) {\n return undefined;\n }\n }\n }\n if (result && queryPath) {\n var parts = queryPath.split(\"/\");\n for (var idx = 0,\n lim = parts.length; result && idx < lim; idx++) {\n var key = decodeJSONPointer(parts[idx]);\n if (idx === 0) {\n result = findId(result, key);\n } else {\n result = result[key];\n }\n }\n }\n return result;\n };\n exports.getRemotePath = getRemotePath;\n})(require('process'));\n","/* */ \n\"use strict\";\nvar Report = require('./Report');\nvar SchemaCache = require('./SchemaCache');\nvar Utils = require('./Utils');\nfunction mergeReference(scope, ref) {\n if (Utils.isAbsoluteUri(ref)) {\n return ref;\n }\n var joinedScope = scope.join(\"\"),\n isScopeAbsolute = Utils.isAbsoluteUri(joinedScope),\n isScopeRelative = Utils.isRelativeUri(joinedScope),\n isRefRelative = Utils.isRelativeUri(ref),\n toRemove;\n if (isScopeAbsolute && isRefRelative) {\n toRemove = joinedScope.match(/\\/[^\\/]*$/);\n if (toRemove) {\n joinedScope = joinedScope.slice(0, toRemove.index + 1);\n }\n } else if (isScopeRelative && isRefRelative) {\n joinedScope = \"\";\n } else {\n toRemove = joinedScope.match(/[^#/]+$/);\n if (toRemove) {\n joinedScope = joinedScope.slice(0, toRemove.index);\n }\n }\n var res = joinedScope + ref;\n res = res.replace(/##/, \"#\");\n return res;\n}\nfunction collectReferences(obj, results, scope, path) {\n results = results || [];\n scope = scope || [];\n path = path || [];\n if (typeof obj !== \"object\" || obj === null) {\n return results;\n }\n if (typeof obj.id === \"string\") {\n scope.push(obj.id);\n }\n if (typeof obj.$ref === \"string\" && typeof obj.__$refResolved === \"undefined\") {\n results.push({\n ref: mergeReference(scope, obj.$ref),\n key: \"$ref\",\n obj: obj,\n path: path.slice(0)\n });\n }\n if (typeof obj.$schema === \"string\" && typeof obj.__$schemaResolved === \"undefined\") {\n results.push({\n ref: mergeReference(scope, obj.$schema),\n key: \"$schema\",\n obj: obj,\n path: path.slice(0)\n });\n }\n var idx;\n if (Array.isArray(obj)) {\n idx = obj.length;\n while (idx--) {\n path.push(idx.toString());\n collectReferences(obj[idx], results, scope, path);\n path.pop();\n }\n } else {\n var keys = Object.keys(obj);\n idx = keys.length;\n while (idx--) {\n if (keys[idx].indexOf(\"__$\") === 0) {\n continue;\n }\n path.push(keys[idx]);\n collectReferences(obj[keys[idx]], results, scope, path);\n path.pop();\n }\n }\n if (typeof obj.id === \"string\") {\n scope.pop();\n }\n return results;\n}\nvar compileArrayOfSchemasLoop = function(mainReport, arr) {\n var idx = arr.length,\n compiledCount = 0;\n while (idx--) {\n var report = new Report(mainReport);\n var isValid = exports.compileSchema.call(this, report, arr[idx]);\n if (isValid) {\n compiledCount++;\n }\n mainReport.errors = mainReport.errors.concat(report.errors);\n }\n return compiledCount;\n};\nfunction findId(arr, id) {\n var idx = arr.length;\n while (idx--) {\n if (arr[idx].id === id) {\n return arr[idx];\n }\n }\n return null;\n}\nvar compileArrayOfSchemas = function(report, arr) {\n var compiled = 0,\n lastLoopCompiled;\n do {\n var idx = report.errors.length;\n while (idx--) {\n if (report.errors[idx].code === \"UNRESOLVABLE_REFERENCE\") {\n report.errors.splice(idx, 1);\n }\n }\n lastLoopCompiled = compiled;\n compiled = compileArrayOfSchemasLoop.call(this, report, arr);\n idx = arr.length;\n while (idx--) {\n var sch = arr[idx];\n if (sch.__$missingReferences) {\n var idx2 = sch.__$missingReferences.length;\n while (idx2--) {\n var refObj = sch.__$missingReferences[idx2];\n var response = findId(arr, refObj.ref);\n if (response) {\n refObj.obj[\"__\" + refObj.key + \"Resolved\"] = response;\n sch.__$missingReferences.splice(idx2, 1);\n }\n }\n if (sch.__$missingReferences.length === 0) {\n delete sch.__$missingReferences;\n }\n }\n }\n } while (compiled !== arr.length && compiled !== lastLoopCompiled);\n return report.isValid();\n};\nexports.compileSchema = function(report, schema) {\n report.commonErrorMessage = \"SCHEMA_COMPILATION_FAILED\";\n if (typeof schema === \"string\") {\n var loadedSchema = SchemaCache.getSchemaByUri.call(this, report, schema);\n if (!loadedSchema) {\n report.addError(\"SCHEMA_NOT_REACHABLE\", [schema]);\n return false;\n }\n schema = loadedSchema;\n }\n if (Array.isArray(schema)) {\n return compileArrayOfSchemas.call(this, report, schema);\n }\n if (schema.__$compiled && schema.id && SchemaCache.checkCacheForUri.call(this, schema.id) === false) {\n schema.__$compiled = undefined;\n }\n if (schema.__$compiled) {\n return true;\n }\n if (schema.id && typeof schema.id === \"string\") {\n SchemaCache.cacheSchemaByUri.call(this, schema.id, schema);\n }\n var isRoot = false;\n if (!report.rootSchema) {\n report.rootSchema = schema;\n isRoot = true;\n }\n var isValidExceptReferences = report.isValid();\n delete schema.__$missingReferences;\n var refs = collectReferences.call(this, schema),\n idx = refs.length;\n while (idx--) {\n var refObj = refs[idx];\n var response = SchemaCache.getSchemaByUri.call(this, report, refObj.ref, schema);\n if (!response) {\n var schemaReader = this.getSchemaReader();\n if (schemaReader) {\n var s = schemaReader(refObj.ref);\n if (s) {\n s.id = refObj.ref;\n var subreport = new Report(report);\n if (!exports.compileSchema.call(this, subreport, s)) {\n report.errors = report.errors.concat(subreport.errors);\n } else {\n response = SchemaCache.getSchemaByUri.call(this, report, refObj.ref, schema);\n }\n }\n }\n }\n if (!response) {\n var hasNotValid = report.hasError(\"REMOTE_NOT_VALID\", [refObj.ref]);\n var isAbsolute = Utils.isAbsoluteUri(refObj.ref);\n var isDownloaded = false;\n var ignoreUnresolvableRemotes = this.options.ignoreUnresolvableReferences === true;\n if (isAbsolute) {\n isDownloaded = SchemaCache.checkCacheForUri.call(this, refObj.ref);\n }\n if (hasNotValid) {} else if (ignoreUnresolvableRemotes && isAbsolute) {} else if (isDownloaded) {} else {\n Array.prototype.push.apply(report.path, refObj.path);\n report.addError(\"UNRESOLVABLE_REFERENCE\", [refObj.ref]);\n report.path = report.path.slice(0, -refObj.path.length);\n if (isValidExceptReferences) {\n schema.__$missingReferences = schema.__$missingReferences || [];\n schema.__$missingReferences.push(refObj);\n }\n }\n }\n refObj.obj[\"__\" + refObj.key + \"Resolved\"] = response;\n }\n var isValid = report.isValid();\n if (isValid) {\n schema.__$compiled = true;\n } else {\n if (schema.id && typeof schema.id === \"string\") {\n SchemaCache.removeFromCacheByUri.call(this, schema.id);\n }\n }\n if (isRoot) {\n report.rootSchema = undefined;\n }\n return isValid;\n};\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = toInt;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction toInt(str, radix) {\n (0, _assertString2.default)(str);\n return parseInt(str, radix || 10);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = toBoolean;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction toBoolean(str, strict) {\n (0, _assertString2.default)(str);\n if (strict) {\n return str === '1' || str === 'true';\n }\n return str !== '0' && str !== 'false' && str !== '';\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = equals;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction equals(str, comparison) {\n (0, _assertString2.default)(str);\n return str === comparison;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = contains;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toString = require('./util/toString');\nvar _toString2 = _interopRequireDefault(_toString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction contains(str, elem) {\n (0, _assertString2.default)(str);\n return str.indexOf((0, _toString2.default)(elem)) >= 0;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = matches;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction matches(str, pattern, modifiers) {\n (0, _assertString2.default)(str);\n if (Object.prototype.toString.call(pattern) !== '[object RegExp]') {\n pattern = new RegExp(pattern, modifiers);\n }\n return pattern.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isURL;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _isFQDN = require('./isFQDN');\nvar _isFQDN2 = _interopRequireDefault(_isFQDN);\nvar _isIP = require('./isIP');\nvar _isIP2 = _interopRequireDefault(_isIP);\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar default_url_options = {\n protocols: ['http', 'https', 'ftp'],\n require_tld: true,\n require_protocol: false,\n require_valid_protocol: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_protocol_relative_urls: false\n};\nfunction isURL(url, options) {\n (0, _assertString2.default)(url);\n if (!url || url.length >= 2083 || /\\s/.test(url)) {\n return false;\n }\n if (url.indexOf('mailto:') === 0) {\n return false;\n }\n options = (0, _merge2.default)(options, default_url_options);\n var protocol = void 0,\n auth = void 0,\n host = void 0,\n hostname = void 0,\n port = void 0,\n port_str = void 0,\n split = void 0;\n split = url.split('#');\n url = split.shift();\n split = url.split('?');\n url = split.shift();\n split = url.split('://');\n if (split.length > 1) {\n protocol = split.shift();\n if (options.require_valid_protocol && options.protocols.indexOf(protocol) === -1) {\n return false;\n }\n } else if (options.require_protocol) {\n return false;\n } else if (options.allow_protocol_relative_urls && url.substr(0, 2) === '//') {\n split[0] = url.substr(2);\n }\n url = split.join('://');\n split = url.split('/');\n url = split.shift();\n split = url.split('@');\n if (split.length > 1) {\n auth = split.shift();\n if (auth.indexOf(':') >= 0 && auth.split(':').length > 2) {\n return false;\n }\n }\n hostname = split.join('@');\n split = hostname.split(':');\n host = split.shift();\n if (split.length) {\n port_str = split.join(':');\n port = parseInt(port_str, 10);\n if (!/^[0-9]+$/.test(port_str) || port <= 0 || port > 65535) {\n return false;\n }\n }\n if (!(0, _isIP2.default)(host) && !(0, _isFQDN2.default)(host, options) && host !== 'localhost') {\n return false;\n }\n if (options.host_whitelist && options.host_whitelist.indexOf(host) === -1) {\n return false;\n }\n if (options.host_blacklist && options.host_blacklist.indexOf(host) !== -1) {\n return false;\n }\n return true;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isMACAddress;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar macAddress = /^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;\nfunction isMACAddress(str) {\n (0, _assertString2.default)(str);\n return macAddress.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isIP;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar ipv4Maybe = /^(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})$/;\nvar ipv6Block = /^[0-9A-F]{1,4}$/i;\nfunction isIP(str) {\n var version = arguments.length <= 1 || arguments[1] === undefined ? '' : arguments[1];\n (0, _assertString2.default)(str);\n version = String(version);\n if (!version) {\n return isIP(str, 4) || isIP(str, 6);\n } else if (version === '4') {\n if (!ipv4Maybe.test(str)) {\n return false;\n }\n var parts = str.split('.').sort(function(a, b) {\n return a - b;\n });\n return parts[3] <= 255;\n } else if (version === '6') {\n var blocks = str.split(':');\n var foundOmissionBlock = false;\n var foundIPv4TransitionBlock = isIP(blocks[blocks.length - 1], 4);\n var expectedNumberOfBlocks = foundIPv4TransitionBlock ? 7 : 8;\n if (blocks.length > expectedNumberOfBlocks) {\n return false;\n }\n if (str === '::') {\n return true;\n } else if (str.substr(0, 2) === '::') {\n blocks.shift();\n blocks.shift();\n foundOmissionBlock = true;\n } else if (str.substr(str.length - 2) === '::') {\n blocks.pop();\n blocks.pop();\n foundOmissionBlock = true;\n }\n for (var i = 0; i < blocks.length; ++i) {\n if (blocks[i] === '' && i > 0 && i < blocks.length - 1) {\n if (foundOmissionBlock) {\n return false;\n }\n foundOmissionBlock = true;\n } else if (foundIPv4TransitionBlock && i === blocks.length - 1) {} else if (!ipv6Block.test(blocks[i])) {\n return false;\n }\n }\n if (foundOmissionBlock) {\n return blocks.length >= 1;\n }\n return blocks.length === expectedNumberOfBlocks;\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isBoolean;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isBoolean(str) {\n (0, _assertString2.default)(str);\n return ['true', 'false', '1', '0'].indexOf(str) >= 0;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isAlpha;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _alpha = require('./alpha');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isAlpha(str) {\n var locale = arguments.length <= 1 || arguments[1] === undefined ? 'en-US' : arguments[1];\n (0, _assertString2.default)(str);\n if (locale in _alpha.alpha) {\n return _alpha.alpha[locale].test(str);\n }\n throw new Error('Invalid locale \\'' + locale + '\\'');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar alpha = exports.alpha = {\n 'en-US': /^[A-Z]+$/i,\n 'cs-CZ': /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,\n 'de-DE': /^[A-ZÄÖÜß]+$/i,\n 'es-ES': /^[A-ZÁÉÍÑÓÚÜ]+$/i,\n 'fr-FR': /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,\n 'nl-NL': /^[A-ZÉËÏÓÖÜ]+$/i,\n 'pl-PL': /^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,\n 'pt-PT': /^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,\n 'ru-RU': /^[А-ЯЁа-яё]+$/i,\n 'tr-TR': /^[A-ZÇĞİıÖŞÜ]+$/i,\n ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/\n};\n\nvar alphanumeric = exports.alphanumeric = {\n 'en-US': /^[0-9A-Z]+$/i,\n 'cs-CZ': /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,\n 'de-DE': /^[0-9A-ZÄÖÜß]+$/i,\n 'es-ES': /^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,\n 'fr-FR': /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,\n 'nl-NL': /^[0-9A-ZÉËÏÓÖÜ]+$/i,\n 'pl-PL': /^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,\n 'pt-PT': /^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,\n 'ru-RU': /^[0-9А-ЯЁа-яё]+$/i,\n 'tr-TR': /^[0-9A-ZÇĞİıÖŞÜ]+$/i,\n ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/\n};\n\nvar englishLocales = exports.englishLocales = ['AU', 'GB', 'HK', 'IN', 'NZ', 'ZA', 'ZM'];\n\nfor (var locale, i = 0; i < englishLocales.length; i++) {\n locale = 'en-' + englishLocales[i];\n alpha[locale] = alpha['en-US'];\n alphanumeric[locale] = alphanumeric['en-US'];\n}\n\n// Source: http://www.localeplanet.com/java/\nvar arabicLocales = exports.arabicLocales = ['AE', 'BH', 'DZ', 'EG', 'IQ', 'JO', 'KW', 'LB', 'LY', 'MA', 'QM', 'QA', 'SA', 'SD', 'SY', 'TN', 'YE'];\n\nfor (var _locale, _i = 0; _i < arabicLocales.length; _i++) {\n _locale = 'ar-' + arabicLocales[_i];\n alpha[_locale] = alpha.ar;\n alphanumeric[_locale] = alphanumeric.ar;\n}","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isAlphanumeric;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _alpha = require('./alpha');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isAlphanumeric(str) {\n var locale = arguments.length <= 1 || arguments[1] === undefined ? 'en-US' : arguments[1];\n (0, _assertString2.default)(str);\n if (locale in _alpha.alphanumeric) {\n return _alpha.alphanumeric[locale].test(str);\n }\n throw new Error('Invalid locale \\'' + locale + '\\'');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isNumeric;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar numeric = /^[-+]?[0-9]+$/;\nfunction isNumeric(str) {\n (0, _assertString2.default)(str);\n return numeric.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isLowercase;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isLowercase(str) {\n (0, _assertString2.default)(str);\n return str === str.toLowerCase();\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isUppercase;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isUppercase(str) {\n (0, _assertString2.default)(str);\n return str === str.toUpperCase();\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isAscii;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar ascii = /^[\\x00-\\x7F]+$/;\nfunction isAscii(str) {\n (0, _assertString2.default)(str);\n return ascii.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.fullWidth = undefined;\nexports.default = isFullWidth;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar fullWidth = exports.fullWidth = /[^\\u0020-\\u007E\\uFF61-\\uFF9F\\uFFA0-\\uFFDC\\uFFE8-\\uFFEE0-9a-zA-Z]/;\nfunction isFullWidth(str) {\n (0, _assertString2.default)(str);\n return fullWidth.test(str);\n}\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.halfWidth = undefined;\nexports.default = isHalfWidth;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar halfWidth = exports.halfWidth = /[\\u0020-\\u007E\\uFF61-\\uFF9F\\uFFA0-\\uFFDC\\uFFE8-\\uFFEE0-9a-zA-Z]/;\nfunction isHalfWidth(str) {\n (0, _assertString2.default)(str);\n return halfWidth.test(str);\n}\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isVariableWidth;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _isFullWidth = require('./isFullWidth');\nvar _isHalfWidth = require('./isHalfWidth');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isVariableWidth(str) {\n (0, _assertString2.default)(str);\n return _isFullWidth.fullWidth.test(str) && _isHalfWidth.halfWidth.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isMultibyte;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar multibyte = /[^\\x00-\\x7F]/;\nfunction isMultibyte(str) {\n (0, _assertString2.default)(str);\n return multibyte.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isSurrogatePair;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar surrogatePair = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/;\nfunction isSurrogatePair(str) {\n (0, _assertString2.default)(str);\n return surrogatePair.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isInt;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar int = /^(?:[-+]?(?:0|[1-9][0-9]*))$/;\nfunction isInt(str, options) {\n (0, _assertString2.default)(str);\n options = options || {};\n return int.test(str) && (!options.hasOwnProperty('min') || str >= options.min) && (!options.hasOwnProperty('max') || str <= options.max);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isFloat;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar float = /^(?:[-+]?(?:[0-9]+))?(?:\\.[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$/;\nfunction isFloat(str, options) {\n (0, _assertString2.default)(str);\n options = options || {};\n if (str === '' || str === '.') {\n return false;\n }\n return float.test(str) && (!options.hasOwnProperty('min') || str >= options.min) && (!options.hasOwnProperty('max') || str <= options.max);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isDecimal;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar decimal = /^[-+]?([0-9]+|\\.[0-9]+|[0-9]+\\.[0-9]+)$/;\nfunction isDecimal(str) {\n (0, _assertString2.default)(str);\n return str !== '' && decimal.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = toFloat;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction toFloat(str) {\n (0, _assertString2.default)(str);\n return parseFloat(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isDivisibleBy;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toFloat = require('./toFloat');\nvar _toFloat2 = _interopRequireDefault(_toFloat);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isDivisibleBy(str, num) {\n (0, _assertString2.default)(str);\n return (0, _toFloat2.default)(str) % parseInt(num, 10) === 0;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isHexColor;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar hexcolor = /^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;\nfunction isHexColor(str) {\n (0, _assertString2.default)(str);\n return hexcolor.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function(obj) {\n return typeof obj;\n} : function(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\nexports.default = isJSON;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isJSON(str) {\n (0, _assertString2.default)(str);\n try {\n var obj = JSON.parse(str);\n return !!obj && (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object';\n } catch (e) {}\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isNull;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isNull(str) {\n (0, _assertString2.default)(str);\n return str.length === 0;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function(obj) {\n return typeof obj;\n} : function(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\nexports.default = isLength;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isLength(str, options) {\n (0, _assertString2.default)(str);\n var min = void 0;\n var max = void 0;\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n min = arguments[1];\n max = arguments[2];\n }\n var surrogatePairs = str.match(/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g) || [];\n var len = str.length - surrogatePairs.length;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isUUID;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar uuid = {\n 3: /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,\n 4: /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n 5: /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n all: /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i\n};\nfunction isUUID(str) {\n var version = arguments.length <= 1 || arguments[1] === undefined ? 'all' : arguments[1];\n (0, _assertString2.default)(str);\n var pattern = uuid[version];\n return pattern && pattern.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isHexadecimal;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar hexadecimal = /^[0-9A-F]+$/i;\nfunction isHexadecimal(str) {\n (0, _assertString2.default)(str);\n return hexadecimal.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isMongoId;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _isHexadecimal = require('./isHexadecimal');\nvar _isHexadecimal2 = _interopRequireDefault(_isHexadecimal);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isMongoId(str) {\n (0, _assertString2.default)(str);\n return (0, _isHexadecimal2.default)(str) && str.length === 24;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isDate;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _isISO = require('./isISO8601');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction getTimezoneOffset(str) {\n var iso8601Parts = str.match(_isISO.iso8601);\n var timezone = void 0,\n sign = void 0,\n hours = void 0,\n minutes = void 0;\n if (!iso8601Parts) {\n str = str.toLowerCase();\n timezone = str.match(/(?:\\s|gmt\\s*)(-|\\+)(\\d{1,4})(\\s|$)/);\n if (!timezone) {\n return str.indexOf('gmt') !== -1 ? 0 : null;\n }\n sign = timezone[1];\n var offset = timezone[2];\n if (offset.length === 3) {\n offset = '0' + offset;\n }\n if (offset.length <= 2) {\n hours = 0;\n minutes = parseInt(offset, 10);\n } else {\n hours = parseInt(offset.slice(0, 2), 10);\n minutes = parseInt(offset.slice(2, 4), 10);\n }\n } else {\n timezone = iso8601Parts[21];\n if (!timezone) {\n return !iso8601Parts[12] ? 0 : null;\n }\n if (timezone === 'z' || timezone === 'Z') {\n return 0;\n }\n sign = iso8601Parts[22];\n if (timezone.indexOf(':') !== -1) {\n hours = parseInt(iso8601Parts[23], 10);\n minutes = parseInt(iso8601Parts[24], 10);\n } else {\n hours = 0;\n minutes = parseInt(iso8601Parts[23], 10);\n }\n }\n return (hours * 60 + minutes) * (sign === '-' ? 1 : -1);\n}\nfunction isDate(str) {\n (0, _assertString2.default)(str);\n var normalizedDate = new Date(Date.parse(str));\n if (isNaN(normalizedDate)) {\n return false;\n }\n var timezoneOffset = getTimezoneOffset(str);\n if (timezoneOffset !== null) {\n var timezoneDifference = normalizedDate.getTimezoneOffset() - timezoneOffset;\n normalizedDate = new Date(normalizedDate.getTime() + 60000 * timezoneDifference);\n }\n var day = String(normalizedDate.getDate());\n var dayOrYear = void 0,\n dayOrYearMatches = void 0,\n year = void 0;\n dayOrYearMatches = str.match(/(^|[^:\\d])[23]\\d([^:\\d]|$)/g);\n if (!dayOrYearMatches) {\n return true;\n }\n dayOrYear = dayOrYearMatches.map(function(digitString) {\n return digitString.match(/\\d+/g)[0];\n }).join('/');\n year = String(normalizedDate.getFullYear()).slice(-2);\n if (dayOrYear === day || dayOrYear === year) {\n return true;\n } else if (dayOrYear === '' + day / year || dayOrYear === '' + year / day) {\n return true;\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isAfter;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toDate = require('./toDate');\nvar _toDate2 = _interopRequireDefault(_toDate);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isAfter(str) {\n var date = arguments.length <= 1 || arguments[1] === undefined ? String(new Date()) : arguments[1];\n (0, _assertString2.default)(str);\n var comparison = (0, _toDate2.default)(date);\n var original = (0, _toDate2.default)(str);\n return !!(original && comparison && original > comparison);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = toDate;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction toDate(date) {\n (0, _assertString2.default)(date);\n date = Date.parse(date);\n return !isNaN(date) ? new Date(date) : null;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isBefore;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toDate = require('./toDate');\nvar _toDate2 = _interopRequireDefault(_toDate);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isBefore(str) {\n var date = arguments.length <= 1 || arguments[1] === undefined ? String(new Date()) : arguments[1];\n (0, _assertString2.default)(str);\n var comparison = (0, _toDate2.default)(date);\n var original = (0, _toDate2.default)(str);\n return !!(original && comparison && original < comparison);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function(obj) {\n return typeof obj;\n} : function(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\nexports.default = isIn;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toString = require('./util/toString');\nvar _toString2 = _interopRequireDefault(_toString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isIn(str, options) {\n (0, _assertString2.default)(str);\n var i = void 0;\n if (Object.prototype.toString.call(options) === '[object Array]') {\n var array = [];\n for (i in options) {\n if ({}.hasOwnProperty.call(options, i)) {\n array[i] = (0, _toString2.default)(options[i]);\n }\n }\n return array.indexOf(str) >= 0;\n } else if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n return options.hasOwnProperty(str);\n } else if (options && typeof options.indexOf === 'function') {\n return options.indexOf(str) >= 0;\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isCreditCard;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar creditCard = /^(?: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})$/;\nfunction isCreditCard(str) {\n (0, _assertString2.default)(str);\n var sanitized = str.replace(/[^0-9]+/g, '');\n if (!creditCard.test(sanitized)) {\n return false;\n }\n var sum = 0;\n var digit = void 0;\n var tmpNum = void 0;\n var shouldDouble = void 0;\n for (var i = sanitized.length - 1; i >= 0; i--) {\n digit = sanitized.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n if (shouldDouble) {\n tmpNum *= 2;\n if (tmpNum >= 10) {\n sum += tmpNum % 10 + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n shouldDouble = !shouldDouble;\n }\n return !!(sum % 10 === 0 ? sanitized : false);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isISIN;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar isin = /^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;\nfunction isISIN(str) {\n (0, _assertString2.default)(str);\n if (!isin.test(str)) {\n return false;\n }\n var checksumStr = str.replace(/[A-Z]/g, function(character) {\n return parseInt(character, 36);\n });\n var sum = 0;\n var digit = void 0;\n var tmpNum = void 0;\n var shouldDouble = true;\n for (var i = checksumStr.length - 2; i >= 0; i--) {\n digit = checksumStr.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n if (shouldDouble) {\n tmpNum *= 2;\n if (tmpNum >= 10) {\n sum += tmpNum + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n shouldDouble = !shouldDouble;\n }\n return parseInt(str.substr(str.length - 1), 10) === (10000 - sum) % 10;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isISBN;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar isbn10Maybe = /^(?:[0-9]{9}X|[0-9]{10})$/;\nvar isbn13Maybe = /^(?:[0-9]{13})$/;\nvar factor = [1, 3];\nfunction isISBN(str) {\n var version = arguments.length <= 1 || arguments[1] === undefined ? '' : arguments[1];\n (0, _assertString2.default)(str);\n version = String(version);\n if (!version) {\n return isISBN(str, 10) || isISBN(str, 13);\n }\n var sanitized = str.replace(/[\\s-]+/g, '');\n var checksum = 0;\n var i = void 0;\n if (version === '10') {\n if (!isbn10Maybe.test(sanitized)) {\n return false;\n }\n for (i = 0; i < 9; i++) {\n checksum += (i + 1) * sanitized.charAt(i);\n }\n if (sanitized.charAt(9) === 'X') {\n checksum += 10 * 10;\n } else {\n checksum += 10 * sanitized.charAt(9);\n }\n if (checksum % 11 === 0) {\n return !!sanitized;\n }\n } else if (version === '13') {\n if (!isbn13Maybe.test(sanitized)) {\n return false;\n }\n for (i = 0; i < 12; i++) {\n checksum += factor[i % 2] * sanitized.charAt(i);\n }\n if (sanitized.charAt(12) - (10 - checksum % 10) % 10 === 0) {\n return !!sanitized;\n }\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isMobilePhone;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar phones = {\n 'ar-SY': /^(!?(\\+?963)|0)?9\\d{8}$/,\n 'en-US': /^(\\+?1)?[2-9]\\d{2}[2-9](?!11)\\d{6}$/,\n 'cs-CZ': /^(\\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,\n 'de-DE': /^(\\+?49[ \\.\\-])?([\\(]{1}[0-9]{1,6}[\\)])?([0-9 \\.\\-\\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,\n 'el-GR': /^(\\+?30)?(69\\d{8})$/,\n 'en-AU': /^(\\+?61|0)4\\d{8}$/,\n 'en-GB': /^(\\+?44|0)7\\d{9}$/,\n 'en-HK': /^(\\+?852\\-?)?[569]\\d{3}\\-?\\d{4}$/,\n 'en-IN': /^(\\+?91|0)?[789]\\d{9}$/,\n 'en-NZ': /^(\\+?64|0)2\\d{7,9}$/,\n 'en-ZA': /^(\\+?27|0)\\d{9}$/,\n 'en-ZM': /^(\\+?26)?09[567]\\d{7}$/,\n 'es-ES': /^(\\+?34)?(6\\d{1}|7[1234])\\d{7}$/,\n 'fi-FI': /^(\\+?358|0)\\s?(4(0|1|2|4|5)?|50)\\s?(\\d\\s?){4,8}\\d$/,\n 'fr-FR': /^(\\+?33|0)[67]\\d{8}$/,\n 'ms-MY': /^(\\+?6?01){1}(([145]{1}(\\-|\\s)?\\d{7,8})|([236789]{1}(\\s|\\-)?\\d{7}))$/,\n 'nb-NO': /^(\\+?47)?[49]\\d{7}$/,\n 'nn-NO': /^(\\+?47)?[49]\\d{7}$/,\n 'pt-BR': /^(\\+?55|0)\\-?[1-9]{2}\\-?[2-9]{1}\\d{3,4}\\-?\\d{4}$/,\n 'pt-PT': /^(\\+?351)?9[1236]\\d{7}$/,\n 'ru-RU': /^(\\+?7|8)?9\\d{9}$/,\n 'tr-TR': /^(\\+?90|0)?5\\d{9}$/,\n 'vi-VN': /^(\\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,\n 'zh-CN': /^(\\+?0?86\\-?)?((13\\d|14[57]|15[^4,\\D]|17[678]|18\\d)\\d{8}|170[059]\\d{7})$/,\n 'zh-TW': /^(\\+?886\\-?|0)?9\\d{8}$/\n};\nfunction isMobilePhone(str, locale) {\n (0, _assertString2.default)(str);\n if (locale in phones) {\n return phones[locale].test(str);\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isCurrency;\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction currencyRegex(options) {\n var symbol = '(\\\\' + options.symbol.replace(/\\./g, '\\\\.') + ')' + (options.require_symbol ? '' : '?'),\n negative = '-?',\n whole_dollar_amount_without_sep = '[1-9]\\\\d*',\n whole_dollar_amount_with_sep = '[1-9]\\\\d{0,2}(\\\\' + options.thousands_separator + '\\\\d{3})*',\n valid_whole_dollar_amounts = ['0', whole_dollar_amount_without_sep, whole_dollar_amount_with_sep],\n whole_dollar_amount = '(' + valid_whole_dollar_amounts.join('|') + ')?',\n decimal_amount = '(\\\\' + options.decimal_separator + '\\\\d{2})?';\n var pattern = whole_dollar_amount + decimal_amount;\n if (options.allow_negatives && !options.parens_for_negatives) {\n if (options.negative_sign_after_digits) {\n pattern += negative;\n } else if (options.negative_sign_before_digits) {\n pattern = negative + pattern;\n }\n }\n if (options.allow_negative_sign_placeholder) {\n pattern = '( (?!\\\\-))?' + pattern;\n } else if (options.allow_space_after_symbol) {\n pattern = ' ?' + pattern;\n } else if (options.allow_space_after_digits) {\n pattern += '( (?!$))?';\n }\n if (options.symbol_after_digits) {\n pattern += symbol;\n } else {\n pattern = symbol + pattern;\n }\n if (options.allow_negatives) {\n if (options.parens_for_negatives) {\n pattern = '(\\\\(' + pattern + '\\\\)|' + pattern + ')';\n } else if (!(options.negative_sign_before_digits || options.negative_sign_after_digits)) {\n pattern = negative + pattern;\n }\n }\n return new RegExp('^' + '(?!-? )(?=.*\\\\d)' + pattern + '$');\n}\nvar default_currency_options = {\n symbol: '$',\n require_symbol: false,\n allow_space_after_symbol: false,\n symbol_after_digits: false,\n allow_negatives: true,\n parens_for_negatives: false,\n negative_sign_before_digits: false,\n negative_sign_after_digits: false,\n allow_negative_sign_placeholder: false,\n thousands_separator: ',',\n decimal_separator: '.',\n allow_space_after_digits: false\n};\nfunction isCurrency(str, options) {\n (0, _assertString2.default)(str);\n options = (0, _merge2.default)(options, default_currency_options);\n return currencyRegex(options).test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.iso8601 = undefined;\nexports.default = function(str) {\n (0, _assertString2.default)(str);\n return iso8601.test(str);\n};\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar iso8601 = exports.iso8601 = /^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$/;\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isBase64;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar notBase64 = /[^A-Z0-9+\\/=]/i;\nfunction isBase64(str) {\n (0, _assertString2.default)(str);\n var len = str.length;\n if (!len || len % 4 !== 0 || notBase64.test(str)) {\n return false;\n }\n var firstPaddingChar = str.indexOf('=');\n return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && str[len - 1] === '=';\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isDataURI;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar dataURI = /^\\s*data:([a-z]+\\/[a-z0-9\\-\\+]+(;[a-z\\-]+\\=[a-z0-9\\-]+)?)?(;base64)?,[a-z0-9\\!\\$\\&\\'\\,\\(\\)\\*\\+\\,\\;\\=\\-\\.\\_\\~\\:\\@\\/\\?\\%\\s]*\\s*$/i;\nfunction isDataURI(str) {\n (0, _assertString2.default)(str);\n return dataURI.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = ltrim;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction ltrim(str, chars) {\n (0, _assertString2.default)(str);\n var pattern = chars ? new RegExp('^[' + chars + ']+', 'g') : /^\\s+/g;\n return str.replace(pattern, '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = rtrim;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction rtrim(str, chars) {\n (0, _assertString2.default)(str);\n var pattern = chars ? new RegExp('[' + chars + ']+$', 'g') : /\\s+$/g;\n return str.replace(pattern, '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = trim;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction trim(str, chars) {\n (0, _assertString2.default)(str);\n var pattern = chars ? new RegExp('^[' + chars + ']+|[' + chars + ']+$', 'g') : /^\\s+|\\s+$/g;\n return str.replace(pattern, '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = escape;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction escape(str) {\n (0, _assertString2.default)(str);\n return str.replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/'/g, '&#x27;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\\//g, '&#x2F;').replace(/\\`/g, '&#96;');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = unescape;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction unescape(str) {\n (0, _assertString2.default)(str);\n return str.replace(/&amp;/g, '&').replace(/&quot;/g, '\"').replace(/&#x27;/g, \"'\").replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&#x2F;/g, '\\/').replace(/&#96;/g, '\\`');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = stripLow;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _blacklist = require('./blacklist');\nvar _blacklist2 = _interopRequireDefault(_blacklist);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction stripLow(str, keep_new_lines) {\n (0, _assertString2.default)(str);\n var chars = keep_new_lines ? '\\\\x00-\\\\x09\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F' : '\\\\x00-\\\\x1F\\\\x7F';\n return (0, _blacklist2.default)(str, chars);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = whitelist;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction whitelist(str, chars) {\n (0, _assertString2.default)(str);\n return str.replace(new RegExp('[^' + chars + ']+', 'g'), '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = blacklist;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction blacklist(str, chars) {\n (0, _assertString2.default)(str);\n return str.replace(new RegExp('[' + chars + ']+', 'g'), '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isWhitelisted;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isWhitelisted(str, chars) {\n (0, _assertString2.default)(str);\n for (var i = str.length - 1; i >= 0; i--) {\n if (chars.indexOf(str[i]) === -1) {\n return false;\n }\n }\n return true;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function(obj) {\n return typeof obj;\n} : function(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\nexports.default = isByteLength;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isByteLength(str, options) {\n (0, _assertString2.default)(str);\n var min = void 0;\n var max = void 0;\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n min = arguments[1];\n max = arguments[2];\n }\n var len = encodeURI(str).split(/%..|./).length - 1;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = assertString;\nfunction assertString(input) {\n if (typeof input !== 'string') {\n throw new TypeError('This library (validator.js) validates strings only');\n }\n}\nmodule.exports = exports['default'];","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isFDQN;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar default_fqdn_options = {\n require_tld: true,\n allow_underscores: false,\n allow_trailing_dot: false\n};\nfunction isFDQN(str, options) {\n (0, _assertString2.default)(str);\n options = (0, _merge2.default)(options, default_fqdn_options);\n if (options.allow_trailing_dot && str[str.length - 1] === '.') {\n str = str.substring(0, str.length - 1);\n }\n var parts = str.split('.');\n if (options.require_tld) {\n var tld = parts.pop();\n if (!parts.length || !/^([a-z\\u00a1-\\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {\n return false;\n }\n }\n for (var part,\n i = 0; i < parts.length; i++) {\n part = parts[i];\n if (options.allow_underscores) {\n part = part.replace(/_/g, '');\n }\n if (!/^[a-z\\u00a1-\\uffff0-9-]+$/i.test(part)) {\n return false;\n }\n if (/[\\uff01-\\uff5e]/.test(part)) {\n return false;\n }\n if (part[0] === '-' || part[part.length - 1] === '-') {\n return false;\n }\n }\n return true;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isEmail;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nvar _isByteLength = require('./isByteLength');\nvar _isByteLength2 = _interopRequireDefault(_isByteLength);\nvar _isFQDN = require('./isFQDN');\nvar _isFQDN2 = _interopRequireDefault(_isFQDN);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar default_email_options = {\n allow_display_name: false,\n allow_utf8_local_part: true,\n require_tld: true\n};\nvar displayName = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\.\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\.\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF\\s]*<(.+)>$/i;\nvar emailUserPart = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]+$/i;\nvar quotedEmailUser = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]))*$/i;\nvar emailUserUtf8Part = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+$/i;\nvar quotedEmailUserUtf8 = /^([\\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;\nfunction isEmail(str, options) {\n (0, _assertString2.default)(str);\n options = (0, _merge2.default)(options, default_email_options);\n if (options.allow_display_name) {\n var display_email = str.match(displayName);\n if (display_email) {\n str = display_email[1];\n }\n }\n var parts = str.split('@');\n var domain = parts.pop();\n var user = parts.join('@');\n var lower_domain = domain.toLowerCase();\n if (lower_domain === 'gmail.com' || lower_domain === 'googlemail.com') {\n user = user.replace(/\\./g, '').toLowerCase();\n }\n if (!(0, _isByteLength2.default)(user, {max: 64}) || !(0, _isByteLength2.default)(domain, {max: 256})) {\n return false;\n }\n if (!(0, _isFQDN2.default)(domain, {require_tld: options.require_tld})) {\n return false;\n }\n if (user[0] === '\"') {\n user = user.slice(1, user.length - 1);\n return options.allow_utf8_local_part ? quotedEmailUserUtf8.test(user) : quotedEmailUser.test(user);\n }\n var pattern = options.allow_utf8_local_part ? emailUserUtf8Part : emailUserPart;\n var user_parts = user.split('.');\n for (var i = 0; i < user_parts.length; i++) {\n if (!pattern.test(user_parts[i])) {\n return false;\n }\n }\n return true;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = merge;\nfunction merge() {\n var obj = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n var defaults = arguments[1];\n\n for (var key in defaults) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = defaults[key];\n }\n }\n return obj;\n}\nmodule.exports = exports['default'];","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = normalizeEmail;\nvar _isEmail = require('./isEmail');\nvar _isEmail2 = _interopRequireDefault(_isEmail);\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar default_normalize_email_options = {\n lowercase: true,\n remove_dots: true,\n remove_extension: true\n};\nfunction normalizeEmail(email, options) {\n options = (0, _merge2.default)(options, default_normalize_email_options);\n if (!(0, _isEmail2.default)(email)) {\n return false;\n }\n var parts = email.split('@', 2);\n parts[1] = parts[1].toLowerCase();\n if (parts[1] === 'gmail.com' || parts[1] === 'googlemail.com') {\n if (options.remove_extension) {\n parts[0] = parts[0].split('+')[0];\n }\n if (options.remove_dots) {\n parts[0] = parts[0].replace(/\\./g, '');\n }\n if (!parts[0].length) {\n return false;\n }\n parts[0] = parts[0].toLowerCase();\n parts[1] = 'gmail.com';\n } else if (options.lowercase) {\n parts[0] = parts[0].toLowerCase();\n }\n return parts.join('@');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\nexports.default = toString;\nfunction toString(input) {\n if ((typeof input === 'undefined' ? 'undefined' : _typeof(input)) === 'object' && input !== null) {\n if (typeof input.toString === 'function') {\n input = input.toString();\n } else {\n input = '[object Object]';\n }\n } else if (input === null || typeof input === 'undefined' || isNaN(input) && !input.length) {\n input = '';\n }\n return String(input);\n}\nmodule.exports = exports['default'];","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _toDate = require('./lib/toDate');\nvar _toDate2 = _interopRequireDefault(_toDate);\nvar _toFloat = require('./lib/toFloat');\nvar _toFloat2 = _interopRequireDefault(_toFloat);\nvar _toInt = require('./lib/toInt');\nvar _toInt2 = _interopRequireDefault(_toInt);\nvar _toBoolean = require('./lib/toBoolean');\nvar _toBoolean2 = _interopRequireDefault(_toBoolean);\nvar _equals = require('./lib/equals');\nvar _equals2 = _interopRequireDefault(_equals);\nvar _contains = require('./lib/contains');\nvar _contains2 = _interopRequireDefault(_contains);\nvar _matches = require('./lib/matches');\nvar _matches2 = _interopRequireDefault(_matches);\nvar _isEmail = require('./lib/isEmail');\nvar _isEmail2 = _interopRequireDefault(_isEmail);\nvar _isURL = require('./lib/isURL');\nvar _isURL2 = _interopRequireDefault(_isURL);\nvar _isMACAddress = require('./lib/isMACAddress');\nvar _isMACAddress2 = _interopRequireDefault(_isMACAddress);\nvar _isIP = require('./lib/isIP');\nvar _isIP2 = _interopRequireDefault(_isIP);\nvar _isFQDN = require('./lib/isFQDN');\nvar _isFQDN2 = _interopRequireDefault(_isFQDN);\nvar _isBoolean = require('./lib/isBoolean');\nvar _isBoolean2 = _interopRequireDefault(_isBoolean);\nvar _isAlpha = require('./lib/isAlpha');\nvar _isAlpha2 = _interopRequireDefault(_isAlpha);\nvar _isAlphanumeric = require('./lib/isAlphanumeric');\nvar _isAlphanumeric2 = _interopRequireDefault(_isAlphanumeric);\nvar _isNumeric = require('./lib/isNumeric');\nvar _isNumeric2 = _interopRequireDefault(_isNumeric);\nvar _isLowercase = require('./lib/isLowercase');\nvar _isLowercase2 = _interopRequireDefault(_isLowercase);\nvar _isUppercase = require('./lib/isUppercase');\nvar _isUppercase2 = _interopRequireDefault(_isUppercase);\nvar _isAscii = require('./lib/isAscii');\nvar _isAscii2 = _interopRequireDefault(_isAscii);\nvar _isFullWidth = require('./lib/isFullWidth');\nvar _isFullWidth2 = _interopRequireDefault(_isFullWidth);\nvar _isHalfWidth = require('./lib/isHalfWidth');\nvar _isHalfWidth2 = _interopRequireDefault(_isHalfWidth);\nvar _isVariableWidth = require('./lib/isVariableWidth');\nvar _isVariableWidth2 = _interopRequireDefault(_isVariableWidth);\nvar _isMultibyte = require('./lib/isMultibyte');\nvar _isMultibyte2 = _interopRequireDefault(_isMultibyte);\nvar _isSurrogatePair = require('./lib/isSurrogatePair');\nvar _isSurrogatePair2 = _interopRequireDefault(_isSurrogatePair);\nvar _isInt = require('./lib/isInt');\nvar _isInt2 = _interopRequireDefault(_isInt);\nvar _isFloat = require('./lib/isFloat');\nvar _isFloat2 = _interopRequireDefault(_isFloat);\nvar _isDecimal = require('./lib/isDecimal');\nvar _isDecimal2 = _interopRequireDefault(_isDecimal);\nvar _isHexadecimal = require('./lib/isHexadecimal');\nvar _isHexadecimal2 = _interopRequireDefault(_isHexadecimal);\nvar _isDivisibleBy = require('./lib/isDivisibleBy');\nvar _isDivisibleBy2 = _interopRequireDefault(_isDivisibleBy);\nvar _isHexColor = require('./lib/isHexColor');\nvar _isHexColor2 = _interopRequireDefault(_isHexColor);\nvar _isJSON = require('./lib/isJSON');\nvar _isJSON2 = _interopRequireDefault(_isJSON);\nvar _isNull = require('./lib/isNull');\nvar _isNull2 = _interopRequireDefault(_isNull);\nvar _isLength = require('./lib/isLength');\nvar _isLength2 = _interopRequireDefault(_isLength);\nvar _isByteLength = require('./lib/isByteLength');\nvar _isByteLength2 = _interopRequireDefault(_isByteLength);\nvar _isUUID = require('./lib/isUUID');\nvar _isUUID2 = _interopRequireDefault(_isUUID);\nvar _isMongoId = require('./lib/isMongoId');\nvar _isMongoId2 = _interopRequireDefault(_isMongoId);\nvar _isDate = require('./lib/isDate');\nvar _isDate2 = _interopRequireDefault(_isDate);\nvar _isAfter = require('./lib/isAfter');\nvar _isAfter2 = _interopRequireDefault(_isAfter);\nvar _isBefore = require('./lib/isBefore');\nvar _isBefore2 = _interopRequireDefault(_isBefore);\nvar _isIn = require('./lib/isIn');\nvar _isIn2 = _interopRequireDefault(_isIn);\nvar _isCreditCard = require('./lib/isCreditCard');\nvar _isCreditCard2 = _interopRequireDefault(_isCreditCard);\nvar _isISIN = require('./lib/isISIN');\nvar _isISIN2 = _interopRequireDefault(_isISIN);\nvar _isISBN = require('./lib/isISBN');\nvar _isISBN2 = _interopRequireDefault(_isISBN);\nvar _isMobilePhone = require('./lib/isMobilePhone');\nvar _isMobilePhone2 = _interopRequireDefault(_isMobilePhone);\nvar _isCurrency = require('./lib/isCurrency');\nvar _isCurrency2 = _interopRequireDefault(_isCurrency);\nvar _isISO = require('./lib/isISO8601');\nvar _isISO2 = _interopRequireDefault(_isISO);\nvar _isBase = require('./lib/isBase64');\nvar _isBase2 = _interopRequireDefault(_isBase);\nvar _isDataURI = require('./lib/isDataURI');\nvar _isDataURI2 = _interopRequireDefault(_isDataURI);\nvar _ltrim = require('./lib/ltrim');\nvar _ltrim2 = _interopRequireDefault(_ltrim);\nvar _rtrim = require('./lib/rtrim');\nvar _rtrim2 = _interopRequireDefault(_rtrim);\nvar _trim = require('./lib/trim');\nvar _trim2 = _interopRequireDefault(_trim);\nvar _escape = require('./lib/escape');\nvar _escape2 = _interopRequireDefault(_escape);\nvar _unescape = require('./lib/unescape');\nvar _unescape2 = _interopRequireDefault(_unescape);\nvar _stripLow = require('./lib/stripLow');\nvar _stripLow2 = _interopRequireDefault(_stripLow);\nvar _whitelist = require('./lib/whitelist');\nvar _whitelist2 = _interopRequireDefault(_whitelist);\nvar _blacklist = require('./lib/blacklist');\nvar _blacklist2 = _interopRequireDefault(_blacklist);\nvar _isWhitelisted = require('./lib/isWhitelisted');\nvar _isWhitelisted2 = _interopRequireDefault(_isWhitelisted);\nvar _normalizeEmail = require('./lib/normalizeEmail');\nvar _normalizeEmail2 = _interopRequireDefault(_normalizeEmail);\nvar _toString = require('./lib/util/toString');\nvar _toString2 = _interopRequireDefault(_toString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar version = '5.2.0';\nvar validator = {\n version: version,\n toDate: _toDate2.default,\n toFloat: _toFloat2.default,\n toInt: _toInt2.default,\n toBoolean: _toBoolean2.default,\n equals: _equals2.default,\n contains: _contains2.default,\n matches: _matches2.default,\n isEmail: _isEmail2.default,\n isURL: _isURL2.default,\n isMACAddress: _isMACAddress2.default,\n isIP: _isIP2.default,\n isFQDN: _isFQDN2.default,\n isBoolean: _isBoolean2.default,\n isAlpha: _isAlpha2.default,\n isAlphanumeric: _isAlphanumeric2.default,\n isNumeric: _isNumeric2.default,\n isLowercase: _isLowercase2.default,\n isUppercase: _isUppercase2.default,\n isAscii: _isAscii2.default,\n isFullWidth: _isFullWidth2.default,\n isHalfWidth: _isHalfWidth2.default,\n isVariableWidth: _isVariableWidth2.default,\n isMultibyte: _isMultibyte2.default,\n isSurrogatePair: _isSurrogatePair2.default,\n isInt: _isInt2.default,\n isFloat: _isFloat2.default,\n isDecimal: _isDecimal2.default,\n isHexadecimal: _isHexadecimal2.default,\n isDivisibleBy: _isDivisibleBy2.default,\n isHexColor: _isHexColor2.default,\n isJSON: _isJSON2.default,\n isNull: _isNull2.default,\n isLength: _isLength2.default,\n isByteLength: _isByteLength2.default,\n isUUID: _isUUID2.default,\n isMongoId: _isMongoId2.default,\n isDate: _isDate2.default,\n isAfter: _isAfter2.default,\n isBefore: _isBefore2.default,\n isIn: _isIn2.default,\n isCreditCard: _isCreditCard2.default,\n isISIN: _isISIN2.default,\n isISBN: _isISBN2.default,\n isMobilePhone: _isMobilePhone2.default,\n isCurrency: _isCurrency2.default,\n isISO8601: _isISO2.default,\n isBase64: _isBase2.default,\n isDataURI: _isDataURI2.default,\n ltrim: _ltrim2.default,\n rtrim: _rtrim2.default,\n trim: _trim2.default,\n escape: _escape2.default,\n unescape: _unescape2.default,\n stripLow: _stripLow2.default,\n whitelist: _whitelist2.default,\n blacklist: _blacklist2.default,\n isWhitelisted: _isWhitelisted2.default,\n normalizeEmail: _normalizeEmail2.default,\n toString: _toString2.default\n};\nexports.default = validator;\nmodule.exports = exports['default'];\n","module.exports = require(\"npm:validator@5.2.0/index.js\");","/*jshint maxlen: false*/\n\nvar validator = require(\"validator\");\n\nvar FormatValidators = {\n \"date\": function (date) {\n if (typeof date !== \"string\") {\n return true;\n }\n // full-date from http://tools.ietf.org/html/rfc3339#section-5.6\n var matches = /^([0-9]{4})-([0-9]{2})-([0-9]{2})$/.exec(date);\n if (matches === null) {\n return false;\n }\n // var year = matches[1];\n // var month = matches[2];\n // var day = matches[3];\n if (matches[2] < \"01\" || matches[2] > \"12\" || matches[3] < \"01\" || matches[3] > \"31\") {\n return false;\n }\n return true;\n },\n \"date-time\": function (dateTime) {\n if (typeof dateTime !== \"string\") {\n return true;\n }\n // date-time from http://tools.ietf.org/html/rfc3339#section-5.6\n var s = dateTime.toLowerCase().split(\"t\");\n if (!FormatValidators.date(s[0])) {\n return false;\n }\n var matches = /^([0-9]{2}):([0-9]{2}):([0-9]{2})(.[0-9]+)?(z|([+-][0-9]{2}:[0-9]{2}))$/.exec(s[1]);\n if (matches === null) {\n return false;\n }\n // var hour = matches[1];\n // var minute = matches[2];\n // var second = matches[3];\n // var fraction = matches[4];\n // var timezone = matches[5];\n if (matches[1] > \"23\" || matches[2] > \"59\" || matches[3] > \"59\") {\n return false;\n }\n return true;\n },\n \"email\": function (email) {\n if (typeof email !== \"string\") {\n return true;\n }\n return validator.isEmail(email, { \"require_tld\": true });\n },\n \"hostname\": function (hostname) {\n if (typeof hostname !== \"string\") {\n return true;\n }\n /*\n http://json-schema.org/latest/json-schema-validation.html#anchor114\n A string instance is valid against this attribute if it is a valid\n representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034].\n\n http://tools.ietf.org/html/rfc1034#section-3.5\n\n <digit> ::= any one of the ten digits 0 through 9\n var digit = /[0-9]/;\n\n <letter> ::= any one of the 52 alphabetic characters A through Z in upper case and a through z in lower case\n var letter = /[a-zA-Z]/;\n\n <let-dig> ::= <letter> | <digit>\n var letDig = /[0-9a-zA-Z]/;\n\n <let-dig-hyp> ::= <let-dig> | \"-\"\n var letDigHyp = /[-0-9a-zA-Z]/;\n\n <ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str>\n var ldhStr = /[-0-9a-zA-Z]+/;\n\n <label> ::= <letter> [ [ <ldh-str> ] <let-dig> ]\n var label = /[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?/;\n\n <subdomain> ::= <label> | <subdomain> \".\" <label>\n var subdomain = /^[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?(\\.[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?)*$/;\n\n <domain> ::= <subdomain> | \" \"\n var domain = null;\n */\n var valid = /^[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?(\\.[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?)*$/.test(hostname);\n if (valid) {\n // the sum of all label octets and label lengths is limited to 255.\n if (hostname.length > 255) { return false; }\n // Each node has a label, which is zero to 63 octets in length\n var labels = hostname.split(\".\");\n for (var i = 0; i < labels.length; i++) { if (labels[i].length > 63) { return false; } }\n }\n return valid;\n },\n \"host-name\": function (hostname) {\n return FormatValidators.hostname.call(this, hostname);\n },\n \"ipv4\": function (ipv4) {\n if (typeof ipv4 !== \"string\") { return true; }\n return validator.isIP(ipv4, 4);\n },\n \"ipv6\": function (ipv6) {\n if (typeof ipv6 !== \"string\") { return true; }\n return validator.isIP(ipv6, 6);\n },\n \"regex\": function (str) {\n try {\n RegExp(str);\n return true;\n } catch (e) {\n return false;\n }\n },\n \"uri\": function (uri) {\n if (this.options.strictUris) {\n return FormatValidators[\"strict-uri\"].apply(this, arguments);\n }\n // https://github.com/zaggino/z-schema/issues/18\n // RegExp from http://tools.ietf.org/html/rfc3986#appendix-B\n return typeof uri !== \"string\" || RegExp(\"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\\\?([^#]*))?(#(.*))?\").test(uri);\n },\n \"strict-uri\": function (uri) {\n return typeof uri !== \"string\" || validator.isURL(uri);\n }\n};\n\nmodule.exports = FormatValidators;\n","/* */ \n\"use strict\";\nvar FormatValidators = require('./FormatValidators'),\n Report = require('./Report'),\n Utils = require('./Utils');\nvar JsonValidators = {\n multipleOf: function(report, schema, json) {\n if (typeof json !== \"number\") {\n return;\n }\n if (Utils.whatIs(json / schema.multipleOf) !== \"integer\") {\n report.addError(\"MULTIPLE_OF\", [json, schema.multipleOf], null, schema.description);\n }\n },\n maximum: function(report, schema, json) {\n if (typeof json !== \"number\") {\n return;\n }\n if (schema.exclusiveMaximum !== true) {\n if (json > schema.maximum) {\n report.addError(\"MAXIMUM\", [json, schema.maximum], null, schema.description);\n }\n } else {\n if (json >= schema.maximum) {\n report.addError(\"MAXIMUM_EXCLUSIVE\", [json, schema.maximum], null, schema.description);\n }\n }\n },\n exclusiveMaximum: function() {},\n minimum: function(report, schema, json) {\n if (typeof json !== \"number\") {\n return;\n }\n if (schema.exclusiveMinimum !== true) {\n if (json < schema.minimum) {\n report.addError(\"MINIMUM\", [json, schema.minimum], null, schema.description);\n }\n } else {\n if (json <= schema.minimum) {\n report.addError(\"MINIMUM_EXCLUSIVE\", [json, schema.minimum], null, schema.description);\n }\n }\n },\n exclusiveMinimum: function() {},\n maxLength: function(report, schema, json) {\n if (typeof json !== \"string\") {\n return;\n }\n if (Utils.ucs2decode(json).length > schema.maxLength) {\n report.addError(\"MAX_LENGTH\", [json.length, schema.maxLength], null, schema.description);\n }\n },\n minLength: function(report, schema, json) {\n if (typeof json !== \"string\") {\n return;\n }\n if (Utils.ucs2decode(json).length < schema.minLength) {\n report.addError(\"MIN_LENGTH\", [json.length, schema.minLength], null, schema.description);\n }\n },\n pattern: function(report, schema, json) {\n if (typeof json !== \"string\") {\n return;\n }\n if (RegExp(schema.pattern).test(json) === false) {\n report.addError(\"PATTERN\", [schema.pattern, json], null, schema.description);\n }\n },\n additionalItems: function(report, schema, json) {\n if (!Array.isArray(json)) {\n return;\n }\n if (schema.additionalItems === false && Array.isArray(schema.items)) {\n if (json.length > schema.items.length) {\n report.addError(\"ARRAY_ADDITIONAL_ITEMS\", null, null, schema.description);\n }\n }\n },\n items: function() {},\n maxItems: function(report, schema, json) {\n if (!Array.isArray(json)) {\n return;\n }\n if (json.length > schema.maxItems) {\n report.addError(\"ARRAY_LENGTH_LONG\", [json.length, schema.maxItems], null, schema.description);\n }\n },\n minItems: function(report, schema, json) {\n if (!Array.isArray(json)) {\n return;\n }\n if (json.length < schema.minItems) {\n report.addError(\"ARRAY_LENGTH_SHORT\", [json.length, schema.minItems], null, schema.description);\n }\n },\n uniqueItems: function(report, schema, json) {\n if (!Array.isArray(json)) {\n return;\n }\n if (schema.uniqueItems === true) {\n var matches = [];\n if (Utils.isUniqueArray(json, matches) === false) {\n report.addError(\"ARRAY_UNIQUE\", matches, null, schema.description);\n }\n }\n },\n maxProperties: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var keysCount = Object.keys(json).length;\n if (keysCount > schema.maxProperties) {\n report.addError(\"OBJECT_PROPERTIES_MAXIMUM\", [keysCount, schema.maxProperties], null, schema.description);\n }\n },\n minProperties: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var keysCount = Object.keys(json).length;\n if (keysCount < schema.minProperties) {\n report.addError(\"OBJECT_PROPERTIES_MINIMUM\", [keysCount, schema.minProperties], null, schema.description);\n }\n },\n required: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var idx = schema.required.length;\n while (idx--) {\n var requiredPropertyName = schema.required[idx];\n if (json[requiredPropertyName] === undefined) {\n report.addError(\"OBJECT_MISSING_REQUIRED_PROPERTY\", [requiredPropertyName], null, schema.description);\n }\n }\n },\n additionalProperties: function(report, schema, json) {\n if (schema.properties === undefined && schema.patternProperties === undefined) {\n return JsonValidators.properties.call(this, report, schema, json);\n }\n },\n patternProperties: function(report, schema, json) {\n if (schema.properties === undefined) {\n return JsonValidators.properties.call(this, report, schema, json);\n }\n },\n properties: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var properties = schema.properties !== undefined ? schema.properties : {};\n var patternProperties = schema.patternProperties !== undefined ? schema.patternProperties : {};\n if (schema.additionalProperties === false) {\n var s = Object.keys(json);\n var p = Object.keys(properties);\n var pp = Object.keys(patternProperties);\n s = Utils.difference(s, p);\n var idx = pp.length;\n while (idx--) {\n var regExp = RegExp(pp[idx]),\n idx2 = s.length;\n while (idx2--) {\n if (regExp.test(s[idx2]) === true) {\n s.splice(idx2, 1);\n }\n }\n }\n if (s.length > 0) {\n var idx3 = this.options.assumeAdditional.length;\n if (idx3) {\n while (idx3--) {\n var io = s.indexOf(this.options.assumeAdditional[idx3]);\n if (io !== -1) {\n s.splice(io, 1);\n }\n }\n }\n if (s.length > 0) {\n report.addError(\"OBJECT_ADDITIONAL_PROPERTIES\", [s], null, schema.description);\n }\n }\n }\n },\n dependencies: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var keys = Object.keys(schema.dependencies),\n idx = keys.length;\n while (idx--) {\n var dependencyName = keys[idx];\n if (json[dependencyName]) {\n var dependencyDefinition = schema.dependencies[dependencyName];\n if (Utils.whatIs(dependencyDefinition) === \"object\") {\n exports.validate.call(this, report, dependencyDefinition, json);\n } else {\n var idx2 = dependencyDefinition.length;\n while (idx2--) {\n var requiredPropertyName = dependencyDefinition[idx2];\n if (json[requiredPropertyName] === undefined) {\n report.addError(\"OBJECT_DEPENDENCY_KEY\", [requiredPropertyName, dependencyName], null, schema.description);\n }\n }\n }\n }\n }\n },\n enum: function(report, schema, json) {\n var match = false,\n idx = schema.enum.length;\n while (idx--) {\n if (Utils.areEqual(json, schema.enum[idx])) {\n match = true;\n break;\n }\n }\n if (match === false) {\n report.addError(\"ENUM_MISMATCH\", [json], null, schema.description);\n }\n },\n allOf: function(report, schema, json) {\n var idx = schema.allOf.length;\n while (idx--) {\n var validateResult = exports.validate.call(this, report, schema.allOf[idx], json);\n if (this.options.breakOnFirstError && validateResult === false) {\n break;\n }\n }\n },\n anyOf: function(report, schema, json) {\n var subReports = [],\n passed = false,\n idx = schema.anyOf.length;\n while (idx-- && passed === false) {\n var subReport = new Report(report);\n subReports.push(subReport);\n passed = exports.validate.call(this, subReport, schema.anyOf[idx], json);\n }\n if (passed === false) {\n report.addError(\"ANY_OF_MISSING\", undefined, subReports, schema.description);\n }\n },\n oneOf: function(report, schema, json) {\n var passes = 0,\n subReports = [],\n idx = schema.oneOf.length;\n while (idx--) {\n var subReport = new Report(report, {maxErrors: 1});\n subReports.push(subReport);\n if (exports.validate.call(this, subReport, schema.oneOf[idx], json) === true) {\n passes++;\n }\n }\n if (passes === 0) {\n report.addError(\"ONE_OF_MISSING\", undefined, subReports, schema.description);\n } else if (passes > 1) {\n report.addError(\"ONE_OF_MULTIPLE\", null, null, schema.description);\n }\n },\n not: function(report, schema, json) {\n var subReport = new Report(report);\n if (exports.validate.call(this, subReport, schema.not, json) === true) {\n report.addError(\"NOT_PASSED\", null, null, schema.description);\n }\n },\n definitions: function() {},\n format: function(report, schema, json) {\n var formatValidatorFn = FormatValidators[schema.format];\n if (typeof formatValidatorFn === \"function\") {\n if (formatValidatorFn.length === 2) {\n report.addAsyncTask(formatValidatorFn, [json], function(result) {\n if (result !== true) {\n report.addError(\"INVALID_FORMAT\", [schema.format, json], null, schema.description);\n }\n });\n } else {\n if (formatValidatorFn.call(this, json) !== true) {\n report.addError(\"INVALID_FORMAT\", [schema.format, json], null, schema.description);\n }\n }\n } else if (this.options.ignoreUnknownFormats !== true) {\n report.addError(\"UNKNOWN_FORMAT\", [schema.format], null, schema.description);\n }\n }\n};\nvar recurseArray = function(report, schema, json) {\n var idx = json.length;\n if (Array.isArray(schema.items)) {\n while (idx--) {\n if (idx < schema.items.length) {\n report.path.push(idx.toString());\n exports.validate.call(this, report, schema.items[idx], json[idx]);\n report.path.pop();\n } else {\n if (typeof schema.additionalItems === \"object\") {\n report.path.push(idx.toString());\n exports.validate.call(this, report, schema.additionalItems, json[idx]);\n report.path.pop();\n }\n }\n }\n } else if (typeof schema.items === \"object\") {\n while (idx--) {\n report.path.push(idx.toString());\n exports.validate.call(this, report, schema.items, json[idx]);\n report.path.pop();\n }\n }\n};\nvar recurseObject = function(report, schema, json) {\n var additionalProperties = schema.additionalProperties;\n if (additionalProperties === true || additionalProperties === undefined) {\n additionalProperties = {};\n }\n var p = schema.properties ? Object.keys(schema.properties) : [];\n var pp = schema.patternProperties ? Object.keys(schema.patternProperties) : [];\n var keys = Object.keys(json),\n idx = keys.length;\n while (idx--) {\n var m = keys[idx],\n propertyValue = json[m];\n var s = [];\n if (p.indexOf(m) !== -1) {\n s.push(schema.properties[m]);\n }\n var idx2 = pp.length;\n while (idx2--) {\n var regexString = pp[idx2];\n if (RegExp(regexString).test(m) === true) {\n s.push(schema.patternProperties[regexString]);\n }\n }\n if (s.length === 0 && additionalProperties !== false) {\n s.push(additionalProperties);\n }\n idx2 = s.length;\n while (idx2--) {\n report.path.push(m);\n exports.validate.call(this, report, s[idx2], propertyValue);\n report.path.pop();\n }\n }\n};\nexports.validate = function(report, schema, json) {\n report.commonErrorMessage = \"JSON_OBJECT_VALIDATION_FAILED\";\n var to = Utils.whatIs(schema);\n if (to !== \"object\") {\n report.addError(\"SCHEMA_NOT_AN_OBJECT\", [to], null, schema.description);\n return false;\n }\n var keys = Object.keys(schema);\n if (keys.length === 0) {\n return true;\n }\n var isRoot = false;\n if (!report.rootSchema) {\n report.rootSchema = schema;\n isRoot = true;\n }\n if (schema.$ref !== undefined) {\n var maxRefs = 99;\n while (schema.$ref && maxRefs > 0) {\n if (!schema.__$refResolved) {\n report.addError(\"REF_UNRESOLVED\", [schema.$ref], null, schema.description);\n break;\n } else if (schema.__$refResolved === schema) {\n break;\n } else {\n schema = schema.__$refResolved;\n keys = Object.keys(schema);\n }\n maxRefs--;\n }\n if (maxRefs === 0) {\n throw new Error(\"Circular dependency by $ref references!\");\n }\n }\n var jsonType = Utils.whatIs(json);\n if (schema.type) {\n if (typeof schema.type === \"string\") {\n if (jsonType !== schema.type && (jsonType !== \"integer\" || schema.type !== \"number\")) {\n report.addError(\"INVALID_TYPE\", [schema.type, jsonType], null, schema.description);\n if (this.options.breakOnFirstError) {\n return false;\n }\n }\n } else {\n if (schema.type.indexOf(jsonType) === -1 && (jsonType !== \"integer\" || schema.type.indexOf(\"number\") === -1)) {\n report.addError(\"INVALID_TYPE\", [schema.type, jsonType], null, schema.description);\n if (this.options.breakOnFirstError) {\n return false;\n }\n }\n }\n }\n var idx = keys.length;\n while (idx--) {\n if (JsonValidators[keys[idx]]) {\n JsonValidators[keys[idx]].call(this, report, schema, json);\n if (report.errors.length && this.options.breakOnFirstError) {\n break;\n }\n }\n }\n if (report.errors.length === 0 || this.options.breakOnFirstError === false) {\n if (jsonType === \"array\") {\n recurseArray.call(this, report, schema, json);\n } else if (jsonType === \"object\") {\n recurseObject.call(this, report, schema, json);\n }\n }\n if (typeof this.options.customValidator === \"function\") {\n this.options.customValidator(report, schema, json);\n }\n if (isRoot) {\n report.rootSchema = undefined;\n }\n return report.errors.length === 0;\n};\n","/* */ \n(function(process) {\n var FUNC_ERROR_TEXT = 'Expected a function';\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n var INFINITY = 1 / 0;\n var funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n symbolTag = '[object Symbol]';\n var rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g;\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n var reEscapeChar = /\\\\(\\\\)?/g;\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n var objectTypes = {\n 'function': true,\n 'object': true\n };\n var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType) ? exports : undefined;\n var freeModule = (objectTypes[typeof module] && module && !module.nodeType) ? module : undefined;\n var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);\n var freeSelf = checkGlobal(objectTypes[typeof self] && self);\n var freeWindow = checkGlobal(objectTypes[typeof window] && window);\n var thisGlobal = checkGlobal(objectTypes[typeof this] && this);\n var root = freeGlobal || ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) || freeSelf || thisGlobal || Function('return this')();\n function checkGlobal(value) {\n return (value && value.Object === Object) ? value : null;\n }\n function isHostObject(value) {\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n }\n var arrayProto = Array.prototype,\n objectProto = Object.prototype;\n var funcToString = Function.prototype.toString;\n var hasOwnProperty = objectProto.hasOwnProperty;\n var objectToString = objectProto.toString;\n var reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n var Symbol = root.Symbol,\n splice = arrayProto.splice;\n var Map = getNative(root, 'Map'),\n nativeCreate = getNative(Object, 'create');\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n function Hash() {}\n function hashDelete(hash, key) {\n return hashHas(hash, key) && delete hash[key];\n }\n function hashGet(hash, key) {\n if (nativeCreate) {\n var result = hash[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(hash, key) ? hash[key] : undefined;\n }\n function hashHas(hash, key) {\n return nativeCreate ? hash[key] !== undefined : hasOwnProperty.call(hash, key);\n }\n function hashSet(hash, key, value) {\n hash[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n }\n Hash.prototype = nativeCreate ? nativeCreate(null) : objectProto;\n function MapCache(values) {\n var index = -1,\n length = values ? values.length : 0;\n this.clear();\n while (++index < length) {\n var entry = values[index];\n this.set(entry[0], entry[1]);\n }\n }\n function mapClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': Map ? new Map : [],\n 'string': new Hash\n };\n }\n function mapDelete(key) {\n var data = this.__data__;\n if (isKeyable(key)) {\n return hashDelete(typeof key == 'string' ? data.string : data.hash, key);\n }\n return Map ? data.map['delete'](key) : assocDelete(data.map, key);\n }\n function mapGet(key) {\n var data = this.__data__;\n if (isKeyable(key)) {\n return hashGet(typeof key == 'string' ? data.string : data.hash, key);\n }\n return Map ? data.map.get(key) : assocGet(data.map, key);\n }\n function mapHas(key) {\n var data = this.__data__;\n if (isKeyable(key)) {\n return hashHas(typeof key == 'string' ? data.string : data.hash, key);\n }\n return Map ? data.map.has(key) : assocHas(data.map, key);\n }\n function mapSet(key, value) {\n var data = this.__data__;\n if (isKeyable(key)) {\n hashSet(typeof key == 'string' ? data.string : data.hash, key, value);\n } else if (Map) {\n data.map.set(key, value);\n } else {\n assocSet(data.map, key, value);\n }\n return this;\n }\n MapCache.prototype.clear = mapClear;\n MapCache.prototype['delete'] = mapDelete;\n MapCache.prototype.get = mapGet;\n MapCache.prototype.has = mapHas;\n MapCache.prototype.set = mapSet;\n function assocDelete(array, key) {\n var index = assocIndexOf(array, key);\n if (index < 0) {\n return false;\n }\n var lastIndex = array.length - 1;\n if (index == lastIndex) {\n array.pop();\n } else {\n splice.call(array, index, 1);\n }\n return true;\n }\n function assocGet(array, key) {\n var index = assocIndexOf(array, key);\n return index < 0 ? undefined : array[index][1];\n }\n function assocHas(array, key) {\n return assocIndexOf(array, key) > -1;\n }\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n function assocSet(array, key, value) {\n var index = assocIndexOf(array, key);\n if (index < 0) {\n array.push([key, value]);\n } else {\n array[index][1] = value;\n }\n }\n function getNative(object, key) {\n var value = object[key];\n return isNative(value) ? value : undefined;\n }\n function isKeyable(value) {\n var type = typeof value;\n return type == 'number' || type == 'boolean' || (type == 'string' && value != '__proto__') || value == null;\n }\n var stringToPath = memoize(function(string) {\n var result = [];\n toString(string).replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n memoize.Cache = MapCache;\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n function isFunction(value) {\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n }\n function isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n }\n function isObjectLike(value) {\n return !!value && typeof value == 'object';\n }\n function isNative(value) {\n if (!isObject(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n function isSymbol(value) {\n return typeof value == 'symbol' || (isObjectLike(value) && objectToString.call(value) == symbolTag);\n }\n function toString(value) {\n if (typeof value == 'string') {\n return value;\n }\n if (value == null) {\n return '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n module.exports = stringToPath;\n})(require('process'));\n","module.exports = require(\"npm:lodash._stringtopath@4.7.1/index\");","/**\n * lodash 4.2.1 (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\nvar stringToPath = require('lodash._stringtopath');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = isKey(path, object) ? [path] : castPath(path);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[path[index++]];\n }\n return (index && index == length) ? object : undefined;\n}\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value) {\n return isArray(value) ? value : stringToPath(value);\n}\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n var type = typeof value;\n if (type == 'number' || type == 'symbol') {\n return true;\n }\n return !isArray(value) &&\n (isSymbol(value) || reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object)));\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @type {Function}\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is used in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","module.exports = require(\"npm:lodash.get@4.2.1/index\");","/* */ \n\"use strict\";\n\nmodule.exports = {\n\n INVALID_TYPE: \"Expected type {0} but found type {1}\",\n INVALID_FORMAT: \"Object didn't pass validation for format {0}: {1}\",\n ENUM_MISMATCH: \"No enum match for: {0}\",\n ANY_OF_MISSING: \"Data does not match any schemas from 'anyOf'\",\n ONE_OF_MISSING: \"Data does not match any schemas from 'oneOf'\",\n ONE_OF_MULTIPLE: \"Data is valid against more than one schema from 'oneOf'\",\n NOT_PASSED: \"Data matches schema from 'not'\",\n\n // Array errors\n ARRAY_LENGTH_SHORT: \"Array is too short ({0}), minimum {1}\",\n ARRAY_LENGTH_LONG: \"Array is too long ({0}), maximum {1}\",\n ARRAY_UNIQUE: \"Array items are not unique (indexes {0} and {1})\",\n ARRAY_ADDITIONAL_ITEMS: \"Additional items not allowed\",\n\n // Numeric errors\n MULTIPLE_OF: \"Value {0} is not a multiple of {1}\",\n MINIMUM: \"Value {0} is less than minimum {1}\",\n MINIMUM_EXCLUSIVE: \"Value {0} is equal or less than exclusive minimum {1}\",\n MAXIMUM: \"Value {0} is greater than maximum {1}\",\n MAXIMUM_EXCLUSIVE: \"Value {0} is equal or greater than exclusive maximum {1}\",\n\n // Object errors\n OBJECT_PROPERTIES_MINIMUM: \"Too few properties defined ({0}), minimum {1}\",\n OBJECT_PROPERTIES_MAXIMUM: \"Too many properties defined ({0}), maximum {1}\",\n OBJECT_MISSING_REQUIRED_PROPERTY: \"Missing required property: {0}\",\n OBJECT_ADDITIONAL_PROPERTIES: \"Additional properties not allowed: {0}\",\n OBJECT_DEPENDENCY_KEY: \"Dependency failed - key must exist: {0} (due to key: {1})\",\n\n // String errors\n MIN_LENGTH: \"String is too short ({0} chars), minimum {1}\",\n MAX_LENGTH: \"String is too long ({0} chars), maximum {1}\",\n PATTERN: \"String does not match pattern {0}: {1}\",\n\n // Schema validation errors\n KEYWORD_TYPE_EXPECTED: \"Keyword '{0}' is expected to be of type '{1}'\",\n KEYWORD_UNDEFINED_STRICT: \"Keyword '{0}' must be defined in strict mode\",\n KEYWORD_UNEXPECTED: \"Keyword '{0}' is not expected to appear in the schema\",\n KEYWORD_MUST_BE: \"Keyword '{0}' must be {1}\",\n KEYWORD_DEPENDENCY: \"Keyword '{0}' requires keyword '{1}'\",\n KEYWORD_PATTERN: \"Keyword '{0}' is not a valid RegExp pattern: {1}\",\n KEYWORD_VALUE_TYPE: \"Each element of keyword '{0}' array must be a '{1}'\",\n UNKNOWN_FORMAT: \"There is no validation function for format '{0}'\",\n CUSTOM_MODE_FORCE_PROPERTIES: \"{0} must define at least one property if present\",\n\n // Remote errors\n REF_UNRESOLVED: \"Reference has not been resolved during compilation: {0}\",\n UNRESOLVABLE_REFERENCE: \"Reference could not be resolved: {0}\",\n SCHEMA_NOT_REACHABLE: \"Validator was not able to read schema with uri: {0}\",\n SCHEMA_TYPE_EXPECTED: \"Schema is expected to be of type 'object'\",\n SCHEMA_NOT_AN_OBJECT: \"Schema is not an object: {0}\",\n ASYNC_TIMEOUT: \"{0} asynchronous task(s) have timed out after {1} ms\",\n PARENT_SCHEMA_VALIDATION_FAILED: \"Schema failed to validate against its parent schema, see inner errors for details.\",\n REMOTE_NOT_VALID: \"Remote reference didn't compile successfully: {0}\"\n\n};\n","/* */ \n(function(process) {\n \"use strict\";\n var get = require('lodash.get');\n var Errors = require('./Errors');\n var Utils = require('./Utils');\n function Report(parentOrOptions, reportOptions) {\n this.parentReport = parentOrOptions instanceof Report ? parentOrOptions : undefined;\n this.options = parentOrOptions instanceof Report ? parentOrOptions.options : parentOrOptions || {};\n this.reportOptions = reportOptions || {};\n this.errors = [];\n this.path = [];\n this.asyncTasks = [];\n }\n Report.prototype.isValid = function() {\n if (this.asyncTasks.length > 0) {\n throw new Error(\"Async tasks pending, can't answer isValid\");\n }\n return this.errors.length === 0;\n };\n Report.prototype.addAsyncTask = function(fn, args, asyncTaskResultProcessFn) {\n this.asyncTasks.push([fn, args, asyncTaskResultProcessFn]);\n };\n Report.prototype.processAsyncTasks = function(timeout, callback) {\n var validationTimeout = timeout || 2000,\n tasksCount = this.asyncTasks.length,\n idx = tasksCount,\n timedOut = false,\n self = this;\n function finish() {\n process.nextTick(function() {\n var valid = self.errors.length === 0,\n err = valid ? undefined : self.errors;\n callback(err, valid);\n });\n }\n function respond(asyncTaskResultProcessFn) {\n return function(asyncTaskResult) {\n if (timedOut) {\n return;\n }\n asyncTaskResultProcessFn(asyncTaskResult);\n if (--tasksCount === 0) {\n finish();\n }\n };\n }\n if (tasksCount === 0 || this.errors.length > 0) {\n finish();\n return;\n }\n while (idx--) {\n var task = this.asyncTasks[idx];\n task[0].apply(null, task[1].concat(respond(task[2])));\n }\n setTimeout(function() {\n if (tasksCount > 0) {\n timedOut = true;\n self.addError(\"ASYNC_TIMEOUT\", [tasksCount, validationTimeout]);\n callback(self.errors, false);\n }\n }, validationTimeout);\n };\n Report.prototype.getPath = function(returnPathAsString) {\n var path = [];\n if (this.parentReport) {\n path = path.concat(this.parentReport.path);\n }\n path = path.concat(this.path);\n if (returnPathAsString !== true) {\n path = \"#/\" + path.map(function(segment) {\n if (Utils.isAbsoluteUri(segment)) {\n return \"uri(\" + segment + \")\";\n }\n return segment.replace(/\\~/g, \"~0\").replace(/\\//g, \"~1\");\n }).join(\"/\");\n }\n return path;\n };\n Report.prototype.getSchemaId = function() {\n if (!this.rootSchema) {\n return null;\n }\n var path = [];\n if (this.parentReport) {\n path = path.concat(this.parentReport.path);\n }\n path = path.concat(this.path);\n while (path.length > 0) {\n var obj = get(this.rootSchema, path);\n if (obj && obj.id) {\n return obj.id;\n }\n path.pop();\n }\n return this.rootSchema.id;\n };\n Report.prototype.hasError = function(errorCode, params) {\n var idx = this.errors.length;\n while (idx--) {\n if (this.errors[idx].code === errorCode) {\n var match = true;\n var idx2 = this.errors[idx].params.length;\n while (idx2--) {\n if (this.errors[idx].params[idx2] !== params[idx2]) {\n match = false;\n }\n }\n if (match) {\n return match;\n }\n }\n }\n return false;\n };\n Report.prototype.addError = function(errorCode, params, subReports, schemaDescription) {\n if (!errorCode) {\n throw new Error(\"No errorCode passed into addError()\");\n }\n this.addCustomError(errorCode, Errors[errorCode], params, subReports, schemaDescription);\n };\n Report.prototype.addCustomError = function(errorCode, errorMessage, params, subReports, schemaDescription) {\n if (this.errors.length >= this.reportOptions.maxErrors) {\n return;\n }\n if (!errorMessage) {\n throw new Error(\"No errorMessage known for code \" + errorCode);\n }\n params = params || [];\n var idx = params.length;\n while (idx--) {\n var whatIs = Utils.whatIs(params[idx]);\n var param = (whatIs === \"object\" || whatIs === \"null\") ? JSON.stringify(params[idx]) : params[idx];\n errorMessage = errorMessage.replace(\"{\" + idx + \"}\", param);\n }\n var err = {\n code: errorCode,\n params: params,\n message: errorMessage,\n path: this.getPath(this.options.reportPathAsArray),\n schemaId: this.getSchemaId()\n };\n if (schemaDescription) {\n err.description = schemaDescription;\n }\n if (subReports != null) {\n if (!Array.isArray(subReports)) {\n subReports = [subReports];\n }\n err.inner = [];\n idx = subReports.length;\n while (idx--) {\n var subReport = subReports[idx],\n idx2 = subReport.errors.length;\n while (idx2--) {\n err.inner.push(subReport.errors[idx2]);\n }\n }\n if (err.inner.length === 0) {\n err.inner = undefined;\n }\n }\n this.errors.push(err);\n };\n module.exports = Report;\n})(require('process'));\n","/* */ \n\"use strict\";\nvar FormatValidators = require('./FormatValidators'),\n JsonValidation = require('./JsonValidation'),\n Report = require('./Report'),\n Utils = require('./Utils');\nvar SchemaValidators = {\n $ref: function(report, schema) {\n if (typeof schema.$ref !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"$ref\", \"string\"]);\n }\n },\n $schema: function(report, schema) {\n if (typeof schema.$schema !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"$schema\", \"string\"]);\n }\n },\n multipleOf: function(report, schema) {\n if (typeof schema.multipleOf !== \"number\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"multipleOf\", \"number\"]);\n } else if (schema.multipleOf <= 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"multipleOf\", \"strictly greater than 0\"]);\n }\n },\n maximum: function(report, schema) {\n if (typeof schema.maximum !== \"number\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"maximum\", \"number\"]);\n }\n },\n exclusiveMaximum: function(report, schema) {\n if (typeof schema.exclusiveMaximum !== \"boolean\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"exclusiveMaximum\", \"boolean\"]);\n } else if (schema.maximum === undefined) {\n report.addError(\"KEYWORD_DEPENDENCY\", [\"exclusiveMaximum\", \"maximum\"]);\n }\n },\n minimum: function(report, schema) {\n if (typeof schema.minimum !== \"number\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"minimum\", \"number\"]);\n }\n },\n exclusiveMinimum: function(report, schema) {\n if (typeof schema.exclusiveMinimum !== \"boolean\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"exclusiveMinimum\", \"boolean\"]);\n } else if (schema.minimum === undefined) {\n report.addError(\"KEYWORD_DEPENDENCY\", [\"exclusiveMinimum\", \"minimum\"]);\n }\n },\n maxLength: function(report, schema) {\n if (Utils.whatIs(schema.maxLength) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"maxLength\", \"integer\"]);\n } else if (schema.maxLength < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"maxLength\", \"greater than, or equal to 0\"]);\n }\n },\n minLength: function(report, schema) {\n if (Utils.whatIs(schema.minLength) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"minLength\", \"integer\"]);\n } else if (schema.minLength < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"minLength\", \"greater than, or equal to 0\"]);\n }\n },\n pattern: function(report, schema) {\n if (typeof schema.pattern !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"pattern\", \"string\"]);\n } else {\n try {\n RegExp(schema.pattern);\n } catch (e) {\n report.addError(\"KEYWORD_PATTERN\", [\"pattern\", schema.pattern]);\n }\n }\n },\n additionalItems: function(report, schema) {\n var type = Utils.whatIs(schema.additionalItems);\n if (type !== \"boolean\" && type !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"additionalItems\", [\"boolean\", \"object\"]]);\n } else if (type === \"object\") {\n report.path.push(\"additionalItems\");\n exports.validateSchema.call(this, report, schema.additionalItems);\n report.path.pop();\n }\n },\n items: function(report, schema) {\n var type = Utils.whatIs(schema.items);\n if (type === \"object\") {\n report.path.push(\"items\");\n exports.validateSchema.call(this, report, schema.items);\n report.path.pop();\n } else if (type === \"array\") {\n var idx = schema.items.length;\n while (idx--) {\n report.path.push(\"items\");\n report.path.push(idx.toString());\n exports.validateSchema.call(this, report, schema.items[idx]);\n report.path.pop();\n report.path.pop();\n }\n } else {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"items\", [\"array\", \"object\"]]);\n }\n if (this.options.forceAdditional === true && schema.additionalItems === undefined && Array.isArray(schema.items)) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"additionalItems\"]);\n }\n if (this.options.assumeAdditional && schema.additionalItems === undefined && Array.isArray(schema.items)) {\n schema.additionalItems = false;\n }\n },\n maxItems: function(report, schema) {\n if (typeof schema.maxItems !== \"number\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"maxItems\", \"integer\"]);\n } else if (schema.maxItems < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"maxItems\", \"greater than, or equal to 0\"]);\n }\n },\n minItems: function(report, schema) {\n if (Utils.whatIs(schema.minItems) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"minItems\", \"integer\"]);\n } else if (schema.minItems < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"minItems\", \"greater than, or equal to 0\"]);\n }\n },\n uniqueItems: function(report, schema) {\n if (typeof schema.uniqueItems !== \"boolean\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"uniqueItems\", \"boolean\"]);\n }\n },\n maxProperties: function(report, schema) {\n if (Utils.whatIs(schema.maxProperties) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"maxProperties\", \"integer\"]);\n } else if (schema.maxProperties < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"maxProperties\", \"greater than, or equal to 0\"]);\n }\n },\n minProperties: function(report, schema) {\n if (Utils.whatIs(schema.minProperties) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"minProperties\", \"integer\"]);\n } else if (schema.minProperties < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"minProperties\", \"greater than, or equal to 0\"]);\n }\n },\n required: function(report, schema) {\n if (Utils.whatIs(schema.required) !== \"array\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"required\", \"array\"]);\n } else if (schema.required.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"required\", \"an array with at least one element\"]);\n } else {\n var idx = schema.required.length;\n while (idx--) {\n if (typeof schema.required[idx] !== \"string\") {\n report.addError(\"KEYWORD_VALUE_TYPE\", [\"required\", \"string\"]);\n }\n }\n if (Utils.isUniqueArray(schema.required) === false) {\n report.addError(\"KEYWORD_MUST_BE\", [\"required\", \"an array with unique items\"]);\n }\n }\n },\n additionalProperties: function(report, schema) {\n var type = Utils.whatIs(schema.additionalProperties);\n if (type !== \"boolean\" && type !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"additionalProperties\", [\"boolean\", \"object\"]]);\n } else if (type === \"object\") {\n report.path.push(\"additionalProperties\");\n exports.validateSchema.call(this, report, schema.additionalProperties);\n report.path.pop();\n }\n },\n properties: function(report, schema) {\n if (Utils.whatIs(schema.properties) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"properties\", \"object\"]);\n return;\n }\n var keys = Object.keys(schema.properties),\n idx = keys.length;\n while (idx--) {\n var key = keys[idx],\n val = schema.properties[key];\n report.path.push(\"properties\");\n report.path.push(key);\n exports.validateSchema.call(this, report, val);\n report.path.pop();\n report.path.pop();\n }\n if (this.options.forceAdditional === true && schema.additionalProperties === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"additionalProperties\"]);\n }\n if (this.options.assumeAdditional && schema.additionalProperties === undefined) {\n schema.additionalProperties = false;\n }\n if (this.options.forceProperties === true && keys.length === 0) {\n report.addError(\"CUSTOM_MODE_FORCE_PROPERTIES\", [\"properties\"]);\n }\n },\n patternProperties: function(report, schema) {\n if (Utils.whatIs(schema.patternProperties) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"patternProperties\", \"object\"]);\n return;\n }\n var keys = Object.keys(schema.patternProperties),\n idx = keys.length;\n while (idx--) {\n var key = keys[idx],\n val = schema.patternProperties[key];\n try {\n RegExp(key);\n } catch (e) {\n report.addError(\"KEYWORD_PATTERN\", [\"patternProperties\", key]);\n }\n report.path.push(\"patternProperties\");\n report.path.push(key.toString());\n exports.validateSchema.call(this, report, val);\n report.path.pop();\n report.path.pop();\n }\n if (this.options.forceProperties === true && keys.length === 0) {\n report.addError(\"CUSTOM_MODE_FORCE_PROPERTIES\", [\"patternProperties\"]);\n }\n },\n dependencies: function(report, schema) {\n if (Utils.whatIs(schema.dependencies) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"dependencies\", \"object\"]);\n } else {\n var keys = Object.keys(schema.dependencies),\n idx = keys.length;\n while (idx--) {\n var schemaKey = keys[idx],\n schemaDependency = schema.dependencies[schemaKey],\n type = Utils.whatIs(schemaDependency);\n if (type === \"object\") {\n report.path.push(\"dependencies\");\n report.path.push(schemaKey);\n exports.validateSchema.call(this, report, schemaDependency);\n report.path.pop();\n report.path.pop();\n } else if (type === \"array\") {\n var idx2 = schemaDependency.length;\n if (idx2 === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"dependencies\", \"not empty array\"]);\n }\n while (idx2--) {\n if (typeof schemaDependency[idx2] !== \"string\") {\n report.addError(\"KEYWORD_VALUE_TYPE\", [\"dependensices\", \"string\"]);\n }\n }\n if (Utils.isUniqueArray(schemaDependency) === false) {\n report.addError(\"KEYWORD_MUST_BE\", [\"dependencies\", \"an array with unique items\"]);\n }\n } else {\n report.addError(\"KEYWORD_VALUE_TYPE\", [\"dependencies\", \"object or array\"]);\n }\n }\n }\n },\n enum: function(report, schema) {\n if (Array.isArray(schema.enum) === false) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"enum\", \"array\"]);\n } else if (schema.enum.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"enum\", \"an array with at least one element\"]);\n } else if (Utils.isUniqueArray(schema.enum) === false) {\n report.addError(\"KEYWORD_MUST_BE\", [\"enum\", \"an array with unique elements\"]);\n }\n },\n type: function(report, schema) {\n var primitiveTypes = [\"array\", \"boolean\", \"integer\", \"number\", \"null\", \"object\", \"string\"],\n primitiveTypeStr = primitiveTypes.join(\",\"),\n isArray = Array.isArray(schema.type);\n if (isArray) {\n var idx = schema.type.length;\n while (idx--) {\n if (primitiveTypes.indexOf(schema.type[idx]) === -1) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"type\", primitiveTypeStr]);\n }\n }\n if (Utils.isUniqueArray(schema.type) === false) {\n report.addError(\"KEYWORD_MUST_BE\", [\"type\", \"an object with unique properties\"]);\n }\n } else if (typeof schema.type === \"string\") {\n if (primitiveTypes.indexOf(schema.type) === -1) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"type\", primitiveTypeStr]);\n }\n } else {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"type\", [\"string\", \"array\"]]);\n }\n if (this.options.noEmptyStrings === true) {\n if (schema.type === \"string\" || isArray && schema.type.indexOf(\"string\") !== -1) {\n if (schema.minLength === undefined && schema.enum === undefined && schema.format === undefined) {\n schema.minLength = 1;\n }\n }\n }\n if (this.options.noEmptyArrays === true) {\n if (schema.type === \"array\" || isArray && schema.type.indexOf(\"array\") !== -1) {\n if (schema.minItems === undefined) {\n schema.minItems = 1;\n }\n }\n }\n if (this.options.forceProperties === true) {\n if (schema.type === \"object\" || isArray && schema.type.indexOf(\"object\") !== -1) {\n if (schema.properties === undefined && schema.patternProperties === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"properties\"]);\n }\n }\n }\n if (this.options.forceItems === true) {\n if (schema.type === \"array\" || isArray && schema.type.indexOf(\"array\") !== -1) {\n if (schema.items === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"items\"]);\n }\n }\n }\n if (this.options.forceMinItems === true) {\n if (schema.type === \"array\" || isArray && schema.type.indexOf(\"array\") !== -1) {\n if (schema.minItems === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"minItems\"]);\n }\n }\n }\n if (this.options.forceMaxItems === true) {\n if (schema.type === \"array\" || isArray && schema.type.indexOf(\"array\") !== -1) {\n if (schema.maxItems === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"maxItems\"]);\n }\n }\n }\n if (this.options.forceMinLength === true) {\n if (schema.type === \"string\" || isArray && schema.type.indexOf(\"string\") !== -1) {\n if (schema.minLength === undefined && schema.format === undefined && schema.enum === undefined && schema.pattern === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"minLength\"]);\n }\n }\n }\n if (this.options.forceMaxLength === true) {\n if (schema.type === \"string\" || isArray && schema.type.indexOf(\"string\") !== -1) {\n if (schema.maxLength === undefined && schema.format === undefined && schema.enum === undefined && schema.pattern === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"maxLength\"]);\n }\n }\n }\n },\n allOf: function(report, schema) {\n if (Array.isArray(schema.allOf) === false) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"allOf\", \"array\"]);\n } else if (schema.allOf.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"allOf\", \"an array with at least one element\"]);\n } else {\n var idx = schema.allOf.length;\n while (idx--) {\n report.path.push(\"allOf\");\n report.path.push(idx.toString());\n exports.validateSchema.call(this, report, schema.allOf[idx]);\n report.path.pop();\n report.path.pop();\n }\n }\n },\n anyOf: function(report, schema) {\n if (Array.isArray(schema.anyOf) === false) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"anyOf\", \"array\"]);\n } else if (schema.anyOf.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"anyOf\", \"an array with at least one element\"]);\n } else {\n var idx = schema.anyOf.length;\n while (idx--) {\n report.path.push(\"anyOf\");\n report.path.push(idx.toString());\n exports.validateSchema.call(this, report, schema.anyOf[idx]);\n report.path.pop();\n report.path.pop();\n }\n }\n },\n oneOf: function(report, schema) {\n if (Array.isArray(schema.oneOf) === false) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"oneOf\", \"array\"]);\n } else if (schema.oneOf.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"oneOf\", \"an array with at least one element\"]);\n } else {\n var idx = schema.oneOf.length;\n while (idx--) {\n report.path.push(\"oneOf\");\n report.path.push(idx.toString());\n exports.validateSchema.call(this, report, schema.oneOf[idx]);\n report.path.pop();\n report.path.pop();\n }\n }\n },\n not: function(report, schema) {\n if (Utils.whatIs(schema.not) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"not\", \"object\"]);\n } else {\n report.path.push(\"not\");\n exports.validateSchema.call(this, report, schema.not);\n report.path.pop();\n }\n },\n definitions: function(report, schema) {\n if (Utils.whatIs(schema.definitions) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"definitions\", \"object\"]);\n } else {\n var keys = Object.keys(schema.definitions),\n idx = keys.length;\n while (idx--) {\n var key = keys[idx],\n val = schema.definitions[key];\n report.path.push(\"definitions\");\n report.path.push(key);\n exports.validateSchema.call(this, report, val);\n report.path.pop();\n report.path.pop();\n }\n }\n },\n format: function(report, schema) {\n if (typeof schema.format !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"format\", \"string\"]);\n } else {\n if (FormatValidators[schema.format] === undefined && this.options.ignoreUnknownFormats !== true) {\n report.addError(\"UNKNOWN_FORMAT\", [schema.format]);\n }\n }\n },\n id: function(report, schema) {\n if (typeof schema.id !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"id\", \"string\"]);\n }\n },\n title: function(report, schema) {\n if (typeof schema.title !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"title\", \"string\"]);\n }\n },\n description: function(report, schema) {\n if (typeof schema.description !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"description\", \"string\"]);\n }\n },\n \"default\": function() {}\n};\nvar validateArrayOfSchemas = function(report, arr) {\n var idx = arr.length;\n while (idx--) {\n exports.validateSchema.call(this, report, arr[idx]);\n }\n return report.isValid();\n};\nexports.validateSchema = function(report, schema) {\n report.commonErrorMessage = \"SCHEMA_VALIDATION_FAILED\";\n if (Array.isArray(schema)) {\n return validateArrayOfSchemas.call(this, report, schema);\n }\n if (schema.__$validated) {\n return true;\n }\n var hasParentSchema = schema.$schema && schema.id !== schema.$schema;\n if (hasParentSchema) {\n if (schema.__$schemaResolved && schema.__$schemaResolved !== schema) {\n var subReport = new Report(report);\n var valid = JsonValidation.validate.call(this, subReport, schema.__$schemaResolved, schema);\n if (valid === false) {\n report.addError(\"PARENT_SCHEMA_VALIDATION_FAILED\", null, subReport);\n }\n } else {\n if (this.options.ignoreUnresolvableReferences !== true) {\n report.addError(\"REF_UNRESOLVED\", [schema.$schema]);\n }\n }\n }\n if (this.options.noTypeless === true) {\n if (schema.type !== undefined) {\n var schemas = [];\n if (Array.isArray(schema.anyOf)) {\n schemas = schemas.concat(schema.anyOf);\n }\n if (Array.isArray(schema.oneOf)) {\n schemas = schemas.concat(schema.oneOf);\n }\n if (Array.isArray(schema.allOf)) {\n schemas = schemas.concat(schema.allOf);\n }\n schemas.forEach(function(sch) {\n if (!sch.type) {\n sch.type = schema.type;\n }\n });\n }\n if (schema.enum === undefined && schema.type === undefined && schema.anyOf === undefined && schema.oneOf === undefined && schema.not === undefined && schema.$ref === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"type\"]);\n }\n }\n var keys = Object.keys(schema),\n idx = keys.length;\n while (idx--) {\n var key = keys[idx];\n if (key.indexOf(\"__\") === 0) {\n continue;\n }\n if (SchemaValidators[key] !== undefined) {\n SchemaValidators[key].call(this, report, schema);\n } else if (!hasParentSchema) {\n if (this.options.noExtraKeywords === true) {\n report.addError(\"KEYWORD_UNEXPECTED\", [key]);\n }\n }\n }\n if (this.options.pedanticCheck === true) {\n if (schema.enum) {\n var tmpSchema = Utils.clone(schema);\n delete tmpSchema.enum;\n delete tmpSchema.default;\n report.path.push(\"enum\");\n idx = schema.enum.length;\n while (idx--) {\n report.path.push(idx.toString());\n JsonValidation.validate.call(this, report, tmpSchema, schema.enum[idx]);\n report.path.pop();\n }\n report.path.pop();\n }\n if (schema.default) {\n report.path.push(\"default\");\n JsonValidation.validate.call(this, report, schema, schema.default);\n report.path.pop();\n }\n }\n var isValid = report.isValid();\n if (isValid) {\n schema.__$validated = true;\n }\n return isValid;\n};\n","/* */ \n\"use strict\";\n\nexports.isAbsoluteUri = function (uri) {\n return /^https?:\\/\\//.test(uri);\n};\n\nexports.isRelativeUri = function (uri) {\n // relative URIs that end with a hash sign, issue #56\n return /.+#/.test(uri);\n};\n\nexports.whatIs = function (what) {\n\n var to = typeof what;\n\n if (to === \"object\") {\n if (what === null) {\n return \"null\";\n }\n if (Array.isArray(what)) {\n return \"array\";\n }\n return \"object\"; // typeof what === 'object' && what === Object(what) && !Array.isArray(what);\n }\n\n if (to === \"number\") {\n if (Number.isFinite(what)) {\n if (what % 1 === 0) {\n return \"integer\";\n } else {\n return \"number\";\n }\n }\n if (Number.isNaN(what)) {\n return \"not-a-number\";\n }\n return \"unknown-number\";\n }\n\n return to; // undefined, boolean, string, function\n\n};\n\nexports.areEqual = function areEqual(json1, json2) {\n // http://json-schema.org/latest/json-schema-core.html#rfc.section.3.6\n\n // Two JSON values are said to be equal if and only if:\n // both are nulls; or\n // both are booleans, and have the same value; or\n // both are strings, and have the same value; or\n // both are numbers, and have the same mathematical value; or\n if (json1 === json2) {\n return true;\n }\n\n var i, len;\n\n // both are arrays, and:\n if (Array.isArray(json1) && Array.isArray(json2)) {\n // have the same number of items; and\n if (json1.length !== json2.length) {\n return false;\n }\n // items at the same index are equal according to this definition; or\n len = json1.length;\n for (i = 0; i < len; i++) {\n if (!areEqual(json1[i], json2[i])) {\n return false;\n }\n }\n return true;\n }\n\n // both are objects, and:\n if (exports.whatIs(json1) === \"object\" && exports.whatIs(json2) === \"object\") {\n // have the same set of property names; and\n var keys1 = Object.keys(json1);\n var keys2 = Object.keys(json2);\n if (!areEqual(keys1, keys2)) {\n return false;\n }\n // values for a same property name are equal according to this definition.\n len = keys1.length;\n for (i = 0; i < len; i++) {\n if (!areEqual(json1[keys1[i]], json2[keys1[i]])) {\n return false;\n }\n }\n return true;\n }\n\n return false;\n};\n\nexports.isUniqueArray = function (arr, indexes) {\n var i, j, l = arr.length;\n for (i = 0; i < l; i++) {\n for (j = i + 1; j < l; j++) {\n if (exports.areEqual(arr[i], arr[j])) {\n if (indexes) { indexes.push(i, j); }\n return false;\n }\n }\n }\n return true;\n};\n\nexports.difference = function (bigSet, subSet) {\n var arr = [],\n idx = bigSet.length;\n while (idx--) {\n if (subSet.indexOf(bigSet[idx]) === -1) {\n arr.push(bigSet[idx]);\n }\n }\n return arr;\n};\n\n// NOT a deep version of clone\nexports.clone = function (src) {\n if (typeof src === \"undefined\") { return void 0; }\n if (typeof src !== \"object\" || src === null) { return src; }\n var res, idx;\n if (Array.isArray(src)) {\n res = [];\n idx = src.length;\n while (idx--) {\n res[idx] = src[idx];\n }\n } else {\n res = {};\n var keys = Object.keys(src);\n idx = keys.length;\n while (idx--) {\n var key = keys[idx];\n res[key] = src[key];\n }\n }\n return res;\n};\n\nexports.cloneDeep = function (src) {\n var visited = [], cloned = [];\n function cloneDeep(src) {\n if (typeof src !== \"object\" || src === null) { return src; }\n var res, idx, cidx;\n\n cidx = visited.indexOf(src);\n if (cidx !== -1) { return cloned[cidx]; }\n\n visited.push(src);\n if (Array.isArray(src)) {\n res = [];\n cloned.push(res);\n idx = src.length;\n while (idx--) {\n res[idx] = cloneDeep(src[idx]);\n }\n } else {\n res = {};\n cloned.push(res);\n var keys = Object.keys(src);\n idx = keys.length;\n while (idx--) {\n var key = keys[idx];\n res[key] = cloneDeep(src[key]);\n }\n }\n return res;\n }\n return cloneDeep(src);\n};\n\n/*\n following function comes from punycode.js library\n see: https://github.com/bestiejs/punycode.js\n*/\n/*jshint -W016*/\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nexports.ucs2decode = function (string) {\n var output = [],\n counter = 0,\n length = string.length,\n value,\n extra;\n while (counter < length) {\n value = string.charCodeAt(counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n // high surrogate, and there is a next character\n extra = string.charCodeAt(counter++);\n if ((extra & 0xFC00) == 0xDC00) { // low surrogate\n output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n // unmatched surrogate; only append this code unit, in case the next\n // code unit is the high surrogate of a surrogate pair\n output.push(value);\n counter--;\n }\n } else {\n output.push(value);\n }\n }\n return output;\n};\n/*jshint +W016*/\n","{\n \"id\": \"http://json-schema.org/draft-04/schema#\",\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"description\": \"Core schema meta-schema\",\n \"definitions\": {\n \"schemaArray\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#\" }\n },\n \"positiveInteger\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"positiveIntegerDefault0\": {\n \"allOf\": [ { \"$ref\": \"#/definitions/positiveInteger\" }, { \"default\": 0 } ]\n },\n \"simpleTypes\": {\n \"enum\": [ \"array\", \"boolean\", \"integer\", \"null\", \"number\", \"object\", \"string\" ]\n },\n \"stringArray\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" },\n \"minItems\": 1,\n \"uniqueItems\": true\n }\n },\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"$schema\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"default\": {},\n \"multipleOf\": {\n \"type\": \"number\",\n \"minimum\": 0,\n \"exclusiveMinimum\": true\n },\n \"maximum\": {\n \"type\": \"number\"\n },\n \"exclusiveMaximum\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"minimum\": {\n \"type\": \"number\"\n },\n \"exclusiveMinimum\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"maxLength\": { \"$ref\": \"#/definitions/positiveInteger\" },\n \"minLength\": { \"$ref\": \"#/definitions/positiveIntegerDefault0\" },\n \"pattern\": {\n \"type\": \"string\",\n \"format\": \"regex\"\n },\n \"additionalItems\": {\n \"anyOf\": [\n { \"type\": \"boolean\" },\n { \"$ref\": \"#\" }\n ],\n \"default\": {}\n },\n \"items\": {\n \"anyOf\": [\n { \"$ref\": \"#\" },\n { \"$ref\": \"#/definitions/schemaArray\" }\n ],\n \"default\": {}\n },\n \"maxItems\": { \"$ref\": \"#/definitions/positiveInteger\" },\n \"minItems\": { \"$ref\": \"#/definitions/positiveIntegerDefault0\" },\n \"uniqueItems\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"maxProperties\": { \"$ref\": \"#/definitions/positiveInteger\" },\n \"minProperties\": { \"$ref\": \"#/definitions/positiveIntegerDefault0\" },\n \"required\": { \"$ref\": \"#/definitions/stringArray\" },\n \"additionalProperties\": {\n \"anyOf\": [\n { \"type\": \"boolean\" },\n { \"$ref\": \"#\" }\n ],\n \"default\": {}\n },\n \"definitions\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#\" },\n \"default\": {}\n },\n \"properties\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#\" },\n \"default\": {}\n },\n \"patternProperties\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#\" },\n \"default\": {}\n },\n \"dependencies\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"anyOf\": [\n { \"$ref\": \"#\" },\n { \"$ref\": \"#/definitions/stringArray\" }\n ]\n }\n },\n \"enum\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"uniqueItems\": true\n },\n \"type\": {\n \"anyOf\": [\n { \"$ref\": \"#/definitions/simpleTypes\" },\n {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/definitions/simpleTypes\" },\n \"minItems\": 1,\n \"uniqueItems\": true\n }\n ]\n },\n \"format\": { \"type\": \"string\" },\n \"allOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n \"anyOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n \"oneOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n \"not\": { \"$ref\": \"#\" }\n },\n \"dependencies\": {\n \"exclusiveMaximum\": [ \"maximum\" ],\n \"exclusiveMinimum\": [ \"minimum\" ]\n },\n \"default\": {}\n}\n","{\n \"$schema\": \"http://json-schema.org/draft-04/hyper-schema#\",\n \"id\": \"http://json-schema.org/draft-04/hyper-schema#\",\n \"title\": \"JSON Hyper-Schema\",\n \"allOf\": [\n {\n \"$ref\": \"http://json-schema.org/draft-04/schema#\"\n }\n ],\n \"properties\": {\n \"additionalItems\": {\n \"anyOf\": [\n {\n \"type\": \"boolean\"\n },\n {\n \"$ref\": \"#\"\n }\n ]\n },\n \"additionalProperties\": {\n \"anyOf\": [\n {\n \"type\": \"boolean\"\n },\n {\n \"$ref\": \"#\"\n }\n ]\n },\n \"dependencies\": {\n \"additionalProperties\": {\n \"anyOf\": [\n {\n \"$ref\": \"#\"\n },\n {\n \"type\": \"array\"\n }\n ]\n }\n },\n \"items\": {\n \"anyOf\": [\n {\n \"$ref\": \"#\"\n },\n {\n \"$ref\": \"#/definitions/schemaArray\"\n }\n ]\n },\n \"definitions\": {\n \"additionalProperties\": {\n \"$ref\": \"#\"\n }\n },\n \"patternProperties\": {\n \"additionalProperties\": {\n \"$ref\": \"#\"\n }\n },\n \"properties\": {\n \"additionalProperties\": {\n \"$ref\": \"#\"\n }\n },\n \"allOf\": {\n \"$ref\": \"#/definitions/schemaArray\"\n },\n \"anyOf\": {\n \"$ref\": \"#/definitions/schemaArray\"\n },\n \"oneOf\": {\n \"$ref\": \"#/definitions/schemaArray\"\n },\n \"not\": {\n \"$ref\": \"#\"\n },\n\n \"links\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/linkDescription\"\n }\n },\n \"fragmentResolution\": {\n \"type\": \"string\"\n },\n \"media\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"description\": \"A media type, as described in RFC 2046\",\n \"type\": \"string\"\n },\n \"binaryEncoding\": {\n \"description\": \"A content encoding scheme, as described in RFC 2045\",\n \"type\": \"string\"\n }\n }\n },\n \"pathStart\": {\n \"description\": \"Instances' URIs must start with this value for this schema to apply to them\",\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"definitions\": {\n \"schemaArray\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#\"\n }\n },\n \"linkDescription\": {\n \"title\": \"Link Description Object\",\n \"type\": \"object\",\n \"required\": [ \"href\", \"rel\" ],\n \"properties\": {\n \"href\": {\n \"description\": \"a URI template, as defined by RFC 6570, with the addition of the $, ( and ) characters for pre-processing\",\n \"type\": \"string\"\n },\n \"rel\": {\n \"description\": \"relation to the target resource of the link\",\n \"type\": \"string\"\n },\n \"title\": {\n \"description\": \"a title for the link\",\n \"type\": \"string\"\n },\n \"targetSchema\": {\n \"description\": \"JSON Schema describing the link target\",\n \"$ref\": \"#\"\n },\n \"mediaType\": {\n \"description\": \"media type (as defined by RFC 2046) describing the link target\",\n \"type\": \"string\"\n },\n \"method\": {\n \"description\": \"method for requesting the target of the link (e.g. for HTTP this might be \\\"GET\\\" or \\\"DELETE\\\")\",\n \"type\": \"string\"\n },\n \"encType\": {\n \"description\": \"The media type in which to submit data along with the request\",\n \"type\": \"string\",\n \"default\": \"application/json\"\n },\n \"schema\": {\n \"description\": \"Schema describing the data to submit along with the request\",\n \"$ref\": \"#\"\n }\n }\n }\n }\n}\n\n","/* */ \n(function(process) {\n \"use strict\";\n require('./Polyfills');\n var get = require('lodash.get');\n var Report = require('./Report');\n var FormatValidators = require('./FormatValidators');\n var JsonValidation = require('./JsonValidation');\n var SchemaCache = require('./SchemaCache');\n var SchemaCompilation = require('./SchemaCompilation');\n var SchemaValidation = require('./SchemaValidation');\n var Utils = require('./Utils');\n var Draft4Schema = require('./schemas/schema.json!systemjs-json');\n var Draft4HyperSchema = require('./schemas/hyper-schema.json!systemjs-json');\n var defaultOptions = {\n asyncTimeout: 2000,\n forceAdditional: false,\n assumeAdditional: false,\n forceItems: false,\n forceMinItems: false,\n forceMaxItems: false,\n forceMinLength: false,\n forceMaxLength: false,\n forceProperties: false,\n ignoreUnresolvableReferences: false,\n noExtraKeywords: false,\n noTypeless: false,\n noEmptyStrings: false,\n noEmptyArrays: false,\n strictUris: false,\n strictMode: false,\n reportPathAsArray: false,\n breakOnFirstError: true,\n pedanticCheck: false,\n ignoreUnknownFormats: false,\n customValidator: null\n };\n function ZSchema(options) {\n this.cache = {};\n this.referenceCache = [];\n this.setRemoteReference(\"http://json-schema.org/draft-04/schema\", Draft4Schema);\n this.setRemoteReference(\"http://json-schema.org/draft-04/hyper-schema\", Draft4HyperSchema);\n if (typeof options === \"object\") {\n var keys = Object.keys(options),\n idx = keys.length,\n key;\n while (idx--) {\n key = keys[idx];\n if (defaultOptions[key] === undefined) {\n throw new Error(\"Unexpected option passed to constructor: \" + key);\n }\n }\n keys = Object.keys(defaultOptions);\n idx = keys.length;\n while (idx--) {\n key = keys[idx];\n if (options[key] === undefined) {\n options[key] = Utils.clone(defaultOptions[key]);\n }\n }\n this.options = options;\n } else {\n this.options = Utils.clone(defaultOptions);\n }\n if (this.options.strictMode === true) {\n this.options.forceAdditional = true;\n this.options.forceItems = true;\n this.options.forceMaxLength = true;\n this.options.forceProperties = true;\n this.options.noExtraKeywords = true;\n this.options.noTypeless = true;\n this.options.noEmptyStrings = true;\n this.options.noEmptyArrays = true;\n }\n }\n ZSchema.prototype.compileSchema = function(schema) {\n var report = new Report(this.options);\n schema = SchemaCache.getSchema.call(this, report, schema);\n SchemaCompilation.compileSchema.call(this, report, schema);\n this.lastReport = report;\n return report.isValid();\n };\n ZSchema.prototype.validateSchema = function(schema) {\n if (Array.isArray(schema) && schema.length === 0) {\n throw new Error(\".validateSchema was called with an empty array\");\n }\n var report = new Report(this.options);\n schema = SchemaCache.getSchema.call(this, report, schema);\n var compiled = SchemaCompilation.compileSchema.call(this, report, schema);\n if (compiled) {\n SchemaValidation.validateSchema.call(this, report, schema);\n }\n this.lastReport = report;\n return report.isValid();\n };\n ZSchema.prototype.validate = function(json, schema, options, callback) {\n if (Utils.whatIs(options) === \"function\") {\n callback = options;\n options = {};\n }\n if (!options) {\n options = {};\n }\n var whatIs = Utils.whatIs(schema);\n if (whatIs !== \"string\" && whatIs !== \"object\") {\n var e = new Error(\"Invalid .validate call - schema must be an string or object but \" + whatIs + \" was passed!\");\n if (callback) {\n process.nextTick(function() {\n callback(e, false);\n });\n return;\n }\n throw e;\n }\n var foundError = false;\n var report = new Report(this.options);\n if (typeof schema === \"string\") {\n var schemaName = schema;\n schema = SchemaCache.getSchema.call(this, report, schemaName);\n if (!schema) {\n throw new Error(\"Schema with id '\" + schemaName + \"' wasn't found in the validator cache!\");\n }\n } else {\n schema = SchemaCache.getSchema.call(this, report, schema);\n }\n var compiled = false;\n if (!foundError) {\n compiled = SchemaCompilation.compileSchema.call(this, report, schema);\n }\n if (!compiled) {\n this.lastReport = report;\n foundError = true;\n }\n var validated = false;\n if (!foundError) {\n validated = SchemaValidation.validateSchema.call(this, report, schema);\n }\n if (!validated) {\n this.lastReport = report;\n foundError = true;\n }\n if (options.schemaPath) {\n report.rootSchema = schema;\n schema = get(schema, options.schemaPath);\n if (!schema) {\n throw new Error(\"Schema path '\" + options.schemaPath + \"' wasn't found in the schema!\");\n }\n }\n if (!foundError) {\n JsonValidation.validate.call(this, report, schema, json);\n }\n if (callback) {\n report.processAsyncTasks(this.options.asyncTimeout, callback);\n return;\n } else if (report.asyncTasks.length > 0) {\n throw new Error(\"This validation has async tasks and cannot be done in sync mode, please provide callback argument.\");\n }\n this.lastReport = report;\n return report.isValid();\n };\n ZSchema.prototype.getLastError = function() {\n if (this.lastReport.errors.length === 0) {\n return null;\n }\n var e = new Error();\n e.name = \"z-schema validation error\";\n e.message = this.lastReport.commonErrorMessage;\n e.details = this.lastReport.errors;\n return e;\n };\n ZSchema.prototype.getLastErrors = function() {\n return this.lastReport && this.lastReport.errors.length > 0 ? this.lastReport.errors : undefined;\n };\n ZSchema.prototype.getMissingReferences = function(arr) {\n arr = arr || this.lastReport.errors;\n var res = [],\n idx = arr.length;\n while (idx--) {\n var error = arr[idx];\n if (error.code === \"UNRESOLVABLE_REFERENCE\") {\n var reference = error.params[0];\n if (res.indexOf(reference) === -1) {\n res.push(reference);\n }\n }\n if (error.inner) {\n res = res.concat(this.getMissingReferences(error.inner));\n }\n }\n return res;\n };\n ZSchema.prototype.getMissingRemoteReferences = function() {\n var missingReferences = this.getMissingReferences(),\n missingRemoteReferences = [],\n idx = missingReferences.length;\n while (idx--) {\n var remoteReference = SchemaCache.getRemotePath(missingReferences[idx]);\n if (remoteReference && missingRemoteReferences.indexOf(remoteReference) === -1) {\n missingRemoteReferences.push(remoteReference);\n }\n }\n return missingRemoteReferences;\n };\n ZSchema.prototype.setRemoteReference = function(uri, schema) {\n if (typeof schema === \"string\") {\n schema = JSON.parse(schema);\n } else {\n schema = Utils.cloneDeep(schema);\n }\n SchemaCache.cacheSchemaByUri.call(this, uri, schema);\n };\n ZSchema.prototype.getResolvedSchema = function(schema) {\n var report = new Report(this.options);\n schema = SchemaCache.getSchema.call(this, report, schema);\n schema = Utils.cloneDeep(schema);\n var visited = [];\n var cleanup = function(schema) {\n var key,\n typeOf = Utils.whatIs(schema);\n if (typeOf !== \"object\" && typeOf !== \"array\") {\n return;\n }\n if (schema.___$visited) {\n return;\n }\n schema.___$visited = true;\n visited.push(schema);\n if (schema.$ref && schema.__$refResolved) {\n var from = schema.__$refResolved;\n var to = schema;\n delete schema.$ref;\n delete schema.__$refResolved;\n for (key in from) {\n if (from.hasOwnProperty(key)) {\n to[key] = from[key];\n }\n }\n }\n for (key in schema) {\n if (schema.hasOwnProperty(key)) {\n if (key.indexOf(\"__$\") === 0) {\n delete schema[key];\n } else {\n cleanup(schema[key]);\n }\n }\n }\n };\n cleanup(schema);\n visited.forEach(function(s) {\n delete s.___$visited;\n });\n this.lastReport = report;\n if (report.isValid()) {\n return schema;\n } else {\n throw this.getLastError();\n }\n };\n ZSchema.prototype.setSchemaReader = function(schemaReader) {\n return ZSchema.setSchemaReader(schemaReader);\n };\n ZSchema.prototype.getSchemaReader = function() {\n return ZSchema.schemaReader;\n };\n ZSchema.setSchemaReader = function(schemaReader) {\n ZSchema.schemaReader = schemaReader;\n };\n ZSchema.registerFormat = function(formatName, validatorFunction) {\n FormatValidators[formatName] = validatorFunction;\n };\n ZSchema.unregisterFormat = function(formatName) {\n delete FormatValidators[formatName];\n };\n ZSchema.getRegisteredFormats = function() {\n return Object.keys(FormatValidators);\n };\n ZSchema.getDefaultOptions = function() {\n return Utils.cloneDeep(defaultOptions);\n };\n module.exports = ZSchema;\n})(require('process'));\n","module.exports = require(\"npm:z-schema@3.17.0/src/ZSchema.js\");","{\n \"title\": \"A JSON Schema for Swagger 2.0 API.\",\n \"id\": \"http://swagger.io/v2/schema.json#\",\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"type\": \"object\",\n \"required\": [\n \"swagger\",\n \"info\",\n \"paths\"\n ],\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"swagger\": {\n \"type\": \"string\",\n \"enum\": [\n \"2.0\"\n ],\n \"description\": \"The Swagger version of this document.\"\n },\n \"info\": {\n \"$ref\": \"#/definitions/info\"\n },\n \"host\": {\n \"type\": \"string\",\n \"pattern\": \"^[^{}/ :\\\\\\\\]+(?::\\\\d+)?$\",\n \"description\": \"The host (name or ip) of the API. Example: 'swagger.io'\"\n },\n \"basePath\": {\n \"type\": \"string\",\n \"pattern\": \"^/\",\n \"description\": \"The base path to the API. Example: '/api'.\"\n },\n \"schemes\": {\n \"$ref\": \"#/definitions/schemesList\"\n },\n \"consumes\": {\n \"description\": \"A list of MIME types accepted by the API.\",\n \"$ref\": \"#/definitions/mediaTypeList\"\n },\n \"produces\": {\n \"description\": \"A list of MIME types the API can produce.\",\n \"$ref\": \"#/definitions/mediaTypeList\"\n },\n \"paths\": {\n \"$ref\": \"#/definitions/paths\"\n },\n \"definitions\": {\n \"$ref\": \"#/definitions/definitions\"\n },\n \"parameters\": {\n \"$ref\": \"#/definitions/parameterDefinitions\"\n },\n \"responses\": {\n \"$ref\": \"#/definitions/responseDefinitions\"\n },\n \"security\": {\n \"$ref\": \"#/definitions/security\"\n },\n \"securityDefinitions\": {\n \"$ref\": \"#/definitions/securityDefinitions\"\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/tag\"\n },\n \"uniqueItems\": true\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n }\n },\n \"definitions\": {\n \"info\": {\n \"type\": \"object\",\n \"description\": \"General information about the API.\",\n \"required\": [\n \"version\",\n \"title\"\n ],\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"A unique and precise title of the API.\"\n },\n \"version\": {\n \"type\": \"string\",\n \"description\": \"A semantic version number of the API.\"\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed.\"\n },\n \"termsOfService\": {\n \"type\": \"string\",\n \"description\": \"The terms of service for the API.\"\n },\n \"contact\": {\n \"$ref\": \"#/definitions/contact\"\n },\n \"license\": {\n \"$ref\": \"#/definitions/license\"\n }\n }\n },\n \"contact\": {\n \"type\": \"object\",\n \"description\": \"Contact information for the owners of the API.\",\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The identifying name of the contact person/organization.\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"The URL pointing to the contact information.\",\n \"format\": \"uri\"\n },\n \"email\": {\n \"type\": \"string\",\n \"description\": \"The email address of the contact person/organization.\",\n \"format\": \"email\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"license\": {\n \"type\": \"object\",\n \"required\": [\n \"name\"\n ],\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the license type. It's encouraged to use an OSI compatible license.\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"The URL pointing to the license.\",\n \"format\": \"uri\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"paths\": {\n \"type\": \"object\",\n \"description\": \"Relative paths to the individual endpoints. They must be relative to the 'basePath'.\",\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n },\n \"^/\": {\n \"$ref\": \"#/definitions/pathItem\"\n }\n },\n \"additionalProperties\": false\n },\n \"definitions\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/schema\"\n },\n \"description\": \"One or more JSON objects describing the schemas being consumed and produced by the API.\"\n },\n \"parameterDefinitions\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/parameter\"\n },\n \"description\": \"One or more JSON representations for parameters\"\n },\n \"responseDefinitions\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/response\"\n },\n \"description\": \"One or more JSON representations for parameters\"\n },\n \"externalDocs\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"description\": \"information about external documentation\",\n \"required\": [\n \"url\"\n ],\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"examples\": {\n \"type\": \"object\",\n \"additionalProperties\": true\n },\n \"mimeType\": {\n \"type\": \"string\",\n \"description\": \"The MIME type of the HTTP message.\"\n },\n \"operation\": {\n \"type\": \"object\",\n \"required\": [\n \"responses\"\n ],\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"tags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"uniqueItems\": true\n },\n \"summary\": {\n \"type\": \"string\",\n \"description\": \"A brief summary of the operation.\"\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A longer description of the operation, GitHub Flavored Markdown is allowed.\"\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n },\n \"operationId\": {\n \"type\": \"string\",\n \"description\": \"A unique identifier of the operation.\"\n },\n \"produces\": {\n \"description\": \"A list of MIME types the API can produce.\",\n \"$ref\": \"#/definitions/mediaTypeList\"\n },\n \"consumes\": {\n \"description\": \"A list of MIME types the API can consume.\",\n \"$ref\": \"#/definitions/mediaTypeList\"\n },\n \"parameters\": {\n \"$ref\": \"#/definitions/parametersList\"\n },\n \"responses\": {\n \"$ref\": \"#/definitions/responses\"\n },\n \"schemes\": {\n \"$ref\": \"#/definitions/schemesList\"\n },\n \"deprecated\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"security\": {\n \"$ref\": \"#/definitions/security\"\n }\n }\n },\n \"pathItem\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"$ref\": {\n \"type\": \"string\"\n },\n \"get\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"put\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"post\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"delete\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"options\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"head\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"patch\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"parameters\": {\n \"$ref\": \"#/definitions/parametersList\"\n }\n }\n },\n \"responses\": {\n \"type\": \"object\",\n \"description\": \"Response objects names can either be any valid HTTP status code or 'default'.\",\n \"minProperties\": 1,\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^([0-9]{3})$|^(default)$\": {\n \"$ref\": \"#/definitions/responseValue\"\n },\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"not\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n }\n },\n \"responseValue\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/response\"\n },\n {\n \"$ref\": \"#/definitions/jsonReference\"\n }\n ]\n },\n \"response\": {\n \"type\": \"object\",\n \"required\": [\n \"description\"\n ],\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/schema\"\n },\n {\n \"$ref\": \"#/definitions/fileSchema\"\n }\n ]\n },\n \"headers\": {\n \"$ref\": \"#/definitions/headers\"\n },\n \"examples\": {\n \"$ref\": \"#/definitions/examples\"\n }\n },\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/header\"\n }\n },\n \"header\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"integer\",\n \"boolean\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormat\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"vendorExtension\": {\n \"description\": \"Any property starting with x- is valid.\",\n \"additionalProperties\": true,\n \"additionalItems\": true\n },\n \"bodyParameter\": {\n \"type\": \"object\",\n \"required\": [\n \"name\",\n \"in\",\n \"schema\"\n ],\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"body\"\n ]\n },\n \"required\": {\n \"type\": \"boolean\",\n \"description\": \"Determines whether or not this parameter is required or optional.\",\n \"default\": false\n },\n \"schema\": {\n \"$ref\": \"#/definitions/schema\"\n }\n },\n \"additionalProperties\": false\n },\n \"headerParameterSubSchema\": {\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"required\": {\n \"type\": \"boolean\",\n \"description\": \"Determines whether or not this parameter is required or optional.\",\n \"default\": false\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"header\"\n ]\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"boolean\",\n \"integer\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormat\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n }\n },\n \"queryParameterSubSchema\": {\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"required\": {\n \"type\": \"boolean\",\n \"description\": \"Determines whether or not this parameter is required or optional.\",\n \"default\": false\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"query\"\n ]\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"allowEmptyValue\": {\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"allows sending a parameter by name only or with an empty value.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"boolean\",\n \"integer\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormatWithMulti\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n }\n },\n \"formDataParameterSubSchema\": {\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"required\": {\n \"type\": \"boolean\",\n \"description\": \"Determines whether or not this parameter is required or optional.\",\n \"default\": false\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"formData\"\n ]\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"allowEmptyValue\": {\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"allows sending a parameter by name only or with an empty value.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"boolean\",\n \"integer\",\n \"array\",\n \"file\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormatWithMulti\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n }\n },\n \"pathParameterSubSchema\": {\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"required\": [\n \"required\"\n ],\n \"properties\": {\n \"required\": {\n \"type\": \"boolean\",\n \"enum\": [\n true\n ],\n \"description\": \"Determines whether or not this parameter is required or optional.\"\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"path\"\n ]\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"boolean\",\n \"integer\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormat\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n }\n },\n \"nonBodyParameter\": {\n \"type\": \"object\",\n \"required\": [\n \"name\",\n \"in\",\n \"type\"\n ],\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/headerParameterSubSchema\"\n },\n {\n \"$ref\": \"#/definitions/formDataParameterSubSchema\"\n },\n {\n \"$ref\": \"#/definitions/queryParameterSubSchema\"\n },\n {\n \"$ref\": \"#/definitions/pathParameterSubSchema\"\n }\n ]\n },\n \"parameter\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/bodyParameter\"\n },\n {\n \"$ref\": \"#/definitions/nonBodyParameter\"\n }\n ]\n },\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"A deterministic version of a JSON Schema object.\",\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"$ref\": {\n \"type\": \"string\"\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/title\"\n },\n \"description\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/description\"\n },\n \"default\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/default\"\n },\n \"multipleOf\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/multipleOf\"\n },\n \"maximum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minLength\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"pattern\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"uniqueItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/uniqueItems\"\n },\n \"maxProperties\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minProperties\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"required\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/stringArray\"\n },\n \"enum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/enum\"\n },\n \"additionalProperties\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/schema\"\n },\n {\n \"type\": \"boolean\"\n }\n ],\n \"default\": {}\n },\n \"type\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/type\"\n },\n \"items\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/schema\"\n },\n {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": {\n \"$ref\": \"#/definitions/schema\"\n }\n }\n ],\n \"default\": {}\n },\n \"allOf\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": {\n \"$ref\": \"#/definitions/schema\"\n }\n },\n \"properties\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/schema\"\n },\n \"default\": {}\n },\n \"discriminator\": {\n \"type\": \"string\"\n },\n \"readOnly\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"xml\": {\n \"$ref\": \"#/definitions/xml\"\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n },\n \"example\": {}\n },\n \"additionalProperties\": false\n },\n \"fileSchema\": {\n \"type\": \"object\",\n \"description\": \"A deterministic version of a JSON Schema object.\",\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"required\": [\n \"type\"\n ],\n \"properties\": {\n \"format\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/title\"\n },\n \"description\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/description\"\n },\n \"default\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/default\"\n },\n \"required\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/stringArray\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"file\"\n ]\n },\n \"readOnly\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n },\n \"example\": {}\n },\n \"additionalProperties\": false\n },\n \"primitivesItems\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"integer\",\n \"boolean\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormat\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"security\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/securityRequirement\"\n },\n \"uniqueItems\": true\n },\n \"securityRequirement\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"uniqueItems\": true\n }\n },\n \"xml\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"namespace\": {\n \"type\": \"string\"\n },\n \"prefix\": {\n \"type\": \"string\"\n },\n \"attribute\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"wrapped\": {\n \"type\": \"boolean\",\n \"default\": false\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"tag\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"name\"\n ],\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"securityDefinitions\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/basicAuthenticationSecurity\"\n },\n {\n \"$ref\": \"#/definitions/apiKeySecurity\"\n },\n {\n \"$ref\": \"#/definitions/oauth2ImplicitSecurity\"\n },\n {\n \"$ref\": \"#/definitions/oauth2PasswordSecurity\"\n },\n {\n \"$ref\": \"#/definitions/oauth2ApplicationSecurity\"\n },\n {\n \"$ref\": \"#/definitions/oauth2AccessCodeSecurity\"\n }\n ]\n }\n },\n \"basicAuthenticationSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"basic\"\n ]\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"apiKeySecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"name\",\n \"in\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"apiKey\"\n ]\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"in\": {\n \"type\": \"string\",\n \"enum\": [\n \"header\",\n \"query\"\n ]\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2ImplicitSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"flow\",\n \"authorizationUrl\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"oauth2\"\n ]\n },\n \"flow\": {\n \"type\": \"string\",\n \"enum\": [\n \"implicit\"\n ]\n },\n \"scopes\": {\n \"$ref\": \"#/definitions/oauth2Scopes\"\n },\n \"authorizationUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2PasswordSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"flow\",\n \"tokenUrl\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"oauth2\"\n ]\n },\n \"flow\": {\n \"type\": \"string\",\n \"enum\": [\n \"password\"\n ]\n },\n \"scopes\": {\n \"$ref\": \"#/definitions/oauth2Scopes\"\n },\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2ApplicationSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"flow\",\n \"tokenUrl\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"oauth2\"\n ]\n },\n \"flow\": {\n \"type\": \"string\",\n \"enum\": [\n \"application\"\n ]\n },\n \"scopes\": {\n \"$ref\": \"#/definitions/oauth2Scopes\"\n },\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2AccessCodeSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"flow\",\n \"authorizationUrl\",\n \"tokenUrl\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"oauth2\"\n ]\n },\n \"flow\": {\n \"type\": \"string\",\n \"enum\": [\n \"accessCode\"\n ]\n },\n \"scopes\": {\n \"$ref\": \"#/definitions/oauth2Scopes\"\n },\n \"authorizationUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2Scopes\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"mediaTypeList\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/mimeType\"\n },\n \"uniqueItems\": true\n },\n \"parametersList\": {\n \"type\": \"array\",\n \"description\": \"The parameters needed to send a valid API call.\",\n \"additionalItems\": false,\n \"items\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/parameter\"\n },\n {\n \"$ref\": \"#/definitions/jsonReference\"\n }\n ]\n },\n \"uniqueItems\": true\n },\n \"schemesList\": {\n \"type\": \"array\",\n \"description\": \"The transfer protocol of the API.\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"http\",\n \"https\",\n \"ws\",\n \"wss\"\n ]\n },\n \"uniqueItems\": true\n },\n \"collectionFormat\": {\n \"type\": \"string\",\n \"enum\": [\n \"csv\",\n \"ssv\",\n \"tsv\",\n \"pipes\"\n ],\n \"default\": \"csv\"\n },\n \"collectionFormatWithMulti\": {\n \"type\": \"string\",\n \"enum\": [\n \"csv\",\n \"ssv\",\n \"tsv\",\n \"pipes\",\n \"multi\"\n ],\n \"default\": \"csv\"\n },\n \"title\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/title\"\n },\n \"description\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/description\"\n },\n \"default\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/default\"\n },\n \"multipleOf\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/multipleOf\"\n },\n \"maximum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minLength\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"pattern\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"uniqueItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/enum\"\n },\n \"jsonReference\": {\n \"type\": \"object\",\n \"required\": [\n \"$ref\"\n ],\n \"additionalProperties\": false,\n \"properties\": {\n \"$ref\": {\n \"type\": \"string\"\n }\n }\n }\n }\n}","/* */ \n'use strict';\nvar util = require('./util'),\n ono = require('ono'),\n ZSchema = require('z-schema'),\n swaggerSchema = require('swagger-schema-official/schema');\nmodule.exports = validateSchema;\ninitializeZSchema();\nfunction validateSchema(api) {\n util.debug('Validating against the Swagger 2.0 schema');\n var isValid = ZSchema.validate(api, swaggerSchema);\n if (isValid) {\n util.debug(' Validated successfully');\n } else {\n var err = ZSchema.getLastError();\n var message = 'Swagger schema validation failed. \\n' + formatZSchemaError(err.details);\n throw ono.syntax(err, {details: err.details}, message);\n }\n}\nfunction initializeZSchema() {\n ZSchema = new ZSchema({\n breakOnFirstError: true,\n noExtraKeywords: true,\n ignoreUnknownFormats: false,\n reportPathAsArray: true\n });\n}\nfunction formatZSchemaError(errors, indent) {\n indent = indent || ' ';\n var message = '';\n errors.forEach(function(error, index) {\n message += util.format('%s%s at #/%s\\n', indent, error.message, error.path.join('/'));\n if (error.inner) {\n message += formatZSchemaError(error.inner, indent + ' ');\n }\n });\n return message;\n}\n","/* */ \nmodule.exports = ['get', 'put', 'post', 'delete', 'options', 'head', 'patch'];\n","module.exports = require(\"npm:swagger-methods@1.0.0/lib/index.js\");","/* */ \n'use strict';\nvar util = require('./util'),\n ono = require('ono'),\n swaggerMethods = require('swagger-methods'),\n primitiveTypes = ['array', 'boolean', 'integer', 'number', 'string'],\n schemaTypes = ['array', 'boolean', 'integer', 'number', 'string', 'object', 'null', undefined];\nmodule.exports = validateSpec;\nfunction validateSpec(api) {\n util.debug('Validating against the Swagger 2.0 spec');\n var paths = Object.keys(api.paths || {});\n paths.forEach(function(pathName) {\n var path = api.paths[pathName];\n var pathId = '/paths' + pathName;\n if (path && pathName.indexOf('/') === 0) {\n validatePath(api, path, pathId);\n }\n });\n util.debug(' Validated successfully');\n}\nfunction validatePath(api, path, pathId) {\n swaggerMethods.forEach(function(operationName) {\n var operation = path[operationName];\n var operationId = pathId + '/' + operationName;\n if (operation) {\n validateParameters(api, path, pathId, operation, operationId);\n var responses = Object.keys(operation.responses || {});\n responses.forEach(function(responseName) {\n var response = operation.responses[responseName];\n var responseId = operationId + '/responses/' + responseName;\n validateResponse(responseName, response, responseId);\n });\n }\n });\n}\nfunction validateParameters(api, path, pathId, operation, operationId) {\n var pathParams = path.parameters || [];\n var operationParams = operation.parameters || [];\n try {\n checkForDuplicates(pathParams);\n } catch (e) {\n throw ono.syntax(e, 'Validation failed. %s has duplicate parameters', pathId);\n }\n try {\n checkForDuplicates(operationParams);\n } catch (e) {\n throw ono.syntax(e, 'Validation failed. %s has duplicate parameters', operationId);\n }\n var params = pathParams.reduce(function(combinedParams, value) {\n var duplicate = combinedParams.some(function(param) {\n return param.in === value.in && param.name === value.name;\n });\n if (!duplicate) {\n combinedParams.push(value);\n }\n return combinedParams;\n }, operationParams.slice());\n validateBodyParameters(params, operationId);\n validatePathParameters(params, pathId, operationId);\n validateParameterTypes(params, api, operation, operationId);\n}\nfunction validateBodyParameters(params, operationId) {\n var bodyParams = params.filter(function(param) {\n return param.in === 'body';\n });\n var formParams = params.filter(function(param) {\n return param.in === 'formData';\n });\n if (bodyParams.length > 1) {\n throw ono.syntax('Validation failed. %s has %d body parameters. Only one is allowed.', operationId, bodyParams.length);\n } else if (bodyParams.length > 0 && formParams.length > 0) {\n throw ono.syntax('Validation failed. %s has body parameters and formData parameters. Only one or the other is allowed.', operationId);\n }\n}\nfunction validatePathParameters(params, pathId, operationId) {\n var placeholders = pathId.match(util.swaggerParamRegExp) || [];\n for (var i = 0; i < placeholders.length; i++) {\n for (var j = i + 1; j < placeholders.length; j++) {\n if (placeholders[i] === placeholders[j]) {\n throw ono.syntax('Validation failed. %s has multiple path placeholders named %s', operationId, placeholders[i]);\n }\n }\n }\n params.filter(function(param) {\n return param.in === 'path';\n }).forEach(function(param) {\n if (param.required !== true) {\n throw ono.syntax('Validation failed. Path parameters cannot be optional. Set required=true for the \"%s\" parameter at %s', param.name, operationId);\n }\n var match = placeholders.indexOf('{' + param.name + '}');\n if (match === -1) {\n throw ono.syntax('Validation failed. %s has a path parameter named \"%s\", ' + 'but there is no corresponding {%s} in the path string', operationId, param.name, param.name);\n }\n placeholders.splice(match, 1);\n });\n if (placeholders.length > 0) {\n throw ono.syntax('Validation failed. %s is missing path parameter(s) for %s', operationId, placeholders);\n }\n}\nfunction validateParameterTypes(params, api, operation, operationId) {\n params.forEach(function(param) {\n var parameterId = operationId + '/parameters/' + param.name;\n var schema,\n validTypes;\n switch (param.in) {\n case 'body':\n schema = param.schema;\n validTypes = schemaTypes;\n break;\n case 'formData':\n schema = param;\n validTypes = primitiveTypes.concat('file');\n break;\n default:\n schema = param;\n validTypes = primitiveTypes;\n }\n validateSchema(schema, parameterId, validTypes);\n if (schema.type === 'file') {\n var consumes = operation.consumes || api.consumes || [];\n if (consumes.indexOf('multipart/form-data') === -1 && consumes.indexOf('application/x-www-form-urlencoded') === -1) {\n throw ono.syntax('Validation failed. %s has a file parameter, so it must consume multipart/form-data ' + 'or application/x-www-form-urlencoded', operationId);\n }\n }\n });\n}\nfunction checkForDuplicates(params) {\n for (var i = 0; i < params.length - 1; i++) {\n var outer = params[i];\n for (var j = i + 1; j < params.length; j++) {\n var inner = params[j];\n if (outer.name === inner.name && outer.in === inner.in) {\n throw ono.syntax('Validation failed. Found multiple %s parameters named \"%s\"', outer.in, outer.name);\n }\n }\n }\n}\nfunction validateResponse(code, response, responseId) {\n if (code !== 'default' && (code < 100 || code > 599)) {\n throw ono.syntax('Validation failed. %s has an invalid response code (%s)', responseId, code);\n }\n var headers = Object.keys(response.headers || {});\n headers.forEach(function(headerName) {\n var header = response.headers[headerName];\n var headerId = responseId + '/headers/' + headerName;\n validateSchema(header, headerId, primitiveTypes);\n });\n if (response.schema) {\n var validTypes = schemaTypes.concat('file');\n if (validTypes.indexOf(response.schema.type) === -1) {\n throw ono.syntax('Validation failed. %s has an invalid response schema type (%s)', responseId, response.schema.type);\n }\n }\n}\nfunction validateSchema(schema, schemaId, validTypes) {\n if (validTypes.indexOf(schema.type) === -1) {\n throw ono.syntax('Validation failed. %s has an invalid type (%s)', schemaId, schema.type);\n }\n if (schema.type === 'array' && !schema.items) {\n throw ono.syntax('Validation failed. %s is an array, so it must include an \"items\" schema', schemaId);\n }\n}\n","/* */ \n'use strict';\nvar debug = require('debug'),\n util = require('util');\nexports.format = util.format;\nexports.inherits = util.inherits;\nexports.debug = debug('swagger:parser');\nexports.swaggerParamRegExp = /\\{([^/}]+)}/g;\n","/* */ \n'use strict';\nvar $RefParserOptions = require('json-schema-ref-parser/lib/options'),\n util = require('util');\nmodule.exports = ParserOptions;\nfunction ParserOptions(options) {\n $RefParserOptions.call(this, ParserOptions.defaults);\n $RefParserOptions.apply(this, arguments);\n}\nParserOptions.defaults = {validate: {\n schema: {order: 1},\n spec: {order: 2}\n }};\nutil.inherits(ParserOptions, $RefParserOptions);\n","/* */ \n'use strict';\n\n/** @type {Promise} **/\nmodule.exports = typeof Promise === 'function' ? Promise : require('es6-promise').Promise;\n","/* */ \n(function(Buffer) {\n 'use strict';\n var Promise = require('../util/promise');\n module.exports = {\n order: 100,\n allowEmpty: true,\n canParse: '.json',\n parse: function parseJSON(file) {\n return new Promise(function(resolve, reject) {\n var data = file.data;\n if (Buffer.isBuffer(data)) {\n data = data.toString();\n }\n if (typeof data === 'string') {\n if (data.trim().length === 0) {\n resolve(undefined);\n } else {\n resolve(JSON.parse(data));\n }\n } else {\n resolve(data);\n }\n });\n }\n };\n})(require('buffer').Buffer);\n","/* */ \n(function(Buffer) {\n 'use strict';\n var Promise = require('../util/promise'),\n YAML = require('../util/yaml');\n module.exports = {\n order: 200,\n allowEmpty: true,\n canParse: ['.yaml', '.yml', '.json'],\n parse: function parseYAML(file) {\n return new Promise(function(resolve, reject) {\n var data = file.data;\n if (Buffer.isBuffer(data)) {\n data = data.toString();\n }\n if (typeof data === 'string') {\n resolve(YAML.parse(data));\n } else {\n resolve(data);\n }\n });\n }\n };\n})(require('buffer').Buffer);\n","/* */ \n(function(Buffer) {\n 'use strict';\n var TEXT_REGEXP = /\\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;\n module.exports = {\n order: 300,\n allowEmpty: true,\n encoding: 'utf8',\n canParse: function isText(file) {\n return (typeof file.data === 'string' || Buffer.isBuffer(file.data)) && TEXT_REGEXP.test(file.url);\n },\n parse: function parseText(file) {\n if (typeof file.data === 'string') {\n return file.data;\n } else if (Buffer.isBuffer(file.data)) {\n return file.data.toString(this.encoding);\n } else {\n throw new Error('data is not text');\n }\n }\n };\n})(require('buffer').Buffer);\n","/* */ \n(function(Buffer) {\n 'use strict';\n var BINARY_REGEXP = /\\.(jpeg|jpg|gif|png|bmp|ico)$/i;\n module.exports = {\n order: 400,\n allowEmpty: true,\n canParse: function isBinary(file) {\n return Buffer.isBuffer(file.data) && BINARY_REGEXP.test(file.url);\n },\n parse: function parseBinary(file) {\n if (Buffer.isBuffer(file.data)) {\n return file.data;\n } else {\n return new Buffer(file.data);\n }\n }\n };\n})(require('buffer').Buffer);\n","/* */ \nif (System._nodeRequire) {\n module.exports = System._nodeRequire('fs');\n}\nelse {\n\n exports.readFileSync = function(address) {\n var output;\n var xhr = new XMLHttpRequest();\n xhr.open('GET', address, false);\n xhr.onreadystatechange = function(e) {\n if (xhr.readyState == 4) {\n var status = xhr.status;\n if ((status > 399 && status < 600) || status == 400) {\n throw 'File read error on ' + address;\n }\n else\n output = xhr.responseText;\n }\n }\n xhr.send(null);\n return output;\n };\n\n}\n","module.exports = require(\"github:jspm/nodelibs-fs@0.1.2/index\");","/* */ \n(function(Buffer) {\n 'use strict';\n var fs = require('fs'),\n ono = require('ono'),\n Promise = require('../util/promise'),\n url = require('../util/url'),\n debug = require('../util/debug');\n module.exports = {\n order: 100,\n canRead: function isFile(file) {\n return url.isFileSystemPath(file.url);\n },\n read: function readFile(file) {\n return new Promise(function(resolve, reject) {\n var path;\n try {\n path = url.toFileSystemPath(file.url);\n } catch (err) {\n reject(ono.uri(err, 'Malformed URI: %s', file.url));\n }\n debug('Opening file: %s', path);\n try {\n fs.readFile(path, function(err, data) {\n if (err) {\n reject(ono(err, 'Error opening file \"%s\"', path));\n } else {\n resolve(data);\n }\n });\n } catch (err) {\n reject(ono(err, 'Error opening file \"%s\"', path));\n }\n });\n }\n };\n})(require('buffer').Buffer);\n","/* */ \nexports.fetch = isFunction(global.fetch) && isFunction(global.ReadableByteStream)\n\nexports.blobConstructor = false\ntry {\n\tnew Blob([new ArrayBuffer(1)])\n\texports.blobConstructor = true\n} catch (e) {}\n\nvar xhr = new global.XMLHttpRequest()\n// If location.host is empty, e.g. if this page/worker was loaded\n// from a Blob, then use example.com to avoid an error\nxhr.open('GET', global.location.host ? '/' : 'https://example.com')\n\nfunction checkTypeSupport (type) {\n\ttry {\n\t\txhr.responseType = type\n\t\treturn xhr.responseType === type\n\t} catch (e) {}\n\treturn false\n}\n\n// For some strange reason, Safari 7.0 reports typeof global.ArrayBuffer === 'object'.\n// Safari 7.1 appears to have fixed this bug.\nvar haveArrayBuffer = typeof global.ArrayBuffer !== 'undefined'\nvar haveSlice = haveArrayBuffer && isFunction(global.ArrayBuffer.prototype.slice)\n\nexports.arraybuffer = haveArrayBuffer && checkTypeSupport('arraybuffer')\n// These next two tests unavoidably show warnings in Chrome. Since fetch will always\n// be used if it's available, just return false for these to avoid the warnings.\nexports.msstream = !exports.fetch && haveSlice && checkTypeSupport('ms-stream')\nexports.mozchunkedarraybuffer = !exports.fetch && haveArrayBuffer &&\n\tcheckTypeSupport('moz-chunked-arraybuffer')\nexports.overrideMimeType = isFunction(xhr.overrideMimeType)\nexports.vbArray = isFunction(global.VBArray)\n\nfunction isFunction (value) {\n return typeof value === 'function'\n}\n\nxhr = null // Help gc\n","/* */ \n(function(Buffer, process) {\n var capability = require('./capability');\n var inherits = require('inherits');\n var stream = require('readable-stream');\n var rStates = exports.readyStates = {\n UNSENT: 0,\n OPENED: 1,\n HEADERS_RECEIVED: 2,\n LOADING: 3,\n DONE: 4\n };\n var IncomingMessage = exports.IncomingMessage = function(xhr, response, mode) {\n var self = this;\n stream.Readable.call(self);\n self._mode = mode;\n self.headers = {};\n self.rawHeaders = [];\n self.trailers = {};\n self.rawTrailers = [];\n self.on('end', function() {\n process.nextTick(function() {\n self.emit('close');\n });\n });\n if (mode === 'fetch') {\n self._fetchResponse = response;\n self.url = response.url;\n self.statusCode = response.status;\n self.statusMessage = response.statusText;\n for (var header,\n _i,\n _it = response.headers[Symbol.iterator](); header = (_i = _it.next()).value, !_i.done; ) {\n self.headers[header[0].toLowerCase()] = header[1];\n self.rawHeaders.push(header[0], header[1]);\n }\n var reader = response.body.getReader();\n function read() {\n reader.read().then(function(result) {\n if (self._destroyed)\n return;\n if (result.done) {\n self.push(null);\n return;\n }\n self.push(new Buffer(result.value));\n read();\n });\n }\n read();\n } else {\n self._xhr = xhr;\n self._pos = 0;\n self.url = xhr.responseURL;\n self.statusCode = xhr.status;\n self.statusMessage = xhr.statusText;\n var headers = xhr.getAllResponseHeaders().split(/\\r?\\n/);\n headers.forEach(function(header) {\n var matches = header.match(/^([^:]+):\\s*(.*)/);\n if (matches) {\n var key = matches[1].toLowerCase();\n if (key === 'set-cookie') {\n if (self.headers[key] === undefined) {\n self.headers[key] = [];\n }\n self.headers[key].push(matches[2]);\n } else if (self.headers[key] !== undefined) {\n self.headers[key] += ', ' + matches[2];\n } else {\n self.headers[key] = matches[2];\n }\n self.rawHeaders.push(matches[1], matches[2]);\n }\n });\n self._charset = 'x-user-defined';\n if (!capability.overrideMimeType) {\n var mimeType = self.rawHeaders['mime-type'];\n if (mimeType) {\n var charsetMatch = mimeType.match(/;\\s*charset=([^;])(;|$)/);\n if (charsetMatch) {\n self._charset = charsetMatch[1].toLowerCase();\n }\n }\n if (!self._charset)\n self._charset = 'utf-8';\n }\n }\n };\n inherits(IncomingMessage, stream.Readable);\n IncomingMessage.prototype._read = function() {};\n IncomingMessage.prototype._onXHRProgress = function() {\n var self = this;\n var xhr = self._xhr;\n var response = null;\n switch (self._mode) {\n case 'text:vbarray':\n if (xhr.readyState !== rStates.DONE)\n break;\n try {\n response = new global.VBArray(xhr.responseBody).toArray();\n } catch (e) {}\n if (response !== null) {\n self.push(new Buffer(response));\n break;\n }\n case 'text':\n try {\n response = xhr.responseText;\n } catch (e) {\n self._mode = 'text:vbarray';\n break;\n }\n if (response.length > self._pos) {\n var newData = response.substr(self._pos);\n if (self._charset === 'x-user-defined') {\n var buffer = new Buffer(newData.length);\n for (var i = 0; i < newData.length; i++)\n buffer[i] = newData.charCodeAt(i) & 0xff;\n self.push(buffer);\n } else {\n self.push(newData, self._charset);\n }\n self._pos = response.length;\n }\n break;\n case 'arraybuffer':\n if (xhr.readyState !== rStates.DONE)\n break;\n response = xhr.response;\n self.push(new Buffer(new Uint8Array(response)));\n break;\n case 'moz-chunked-arraybuffer':\n response = xhr.response;\n if (xhr.readyState !== rStates.LOADING || !response)\n break;\n self.push(new Buffer(new Uint8Array(response)));\n break;\n case 'ms-stream':\n response = xhr.response;\n if (xhr.readyState !== rStates.LOADING)\n break;\n var reader = new global.MSStreamReader();\n reader.onprogress = function() {\n if (reader.result.byteLength > self._pos) {\n self.push(new Buffer(new Uint8Array(reader.result.slice(self._pos))));\n self._pos = reader.result.byteLength;\n }\n };\n reader.onload = function() {\n self.push(null);\n };\n reader.readAsArrayBuffer(response);\n break;\n }\n if (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') {\n self.push(null);\n }\n };\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(Buffer, process) {\n 'use strict';\n module.exports = Readable;\n var processNextTick = require('process-nextick-args');\n var isArray = require('isarray');\n var Buffer = require('buffer').Buffer;\n Readable.ReadableState = ReadableState;\n var EE = require('events');\n var EElistenerCount = function(emitter, type) {\n return emitter.listeners(type).length;\n };\n var Stream;\n (function() {\n try {\n Stream = require('st' + 'ream');\n } catch (_) {} finally {\n if (!Stream)\n Stream = require('events').EventEmitter;\n }\n })();\n var Buffer = require('buffer').Buffer;\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var debugUtil = require('@empty');\n var debug = undefined;\n if (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n } else {\n debug = function() {};\n }\n var StringDecoder;\n util.inherits(Readable, Stream);\n var Duplex;\n function ReadableState(options, stream) {\n Duplex = Duplex || require('./_stream_duplex');\n options = options || {};\n this.objectMode = !!options.objectMode;\n if (stream instanceof Duplex)\n this.objectMode = this.objectMode || !!options.readableObjectMode;\n var hwm = options.highWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm;\n this.highWaterMark = ~~this.highWaterMark;\n this.buffer = [];\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n this.sync = true;\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n this.ranOut = false;\n this.awaitDrain = 0;\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n }\n var Duplex;\n function Readable(options) {\n Duplex = Duplex || require('./_stream_duplex');\n if (!(this instanceof Readable))\n return new Readable(options);\n this._readableState = new ReadableState(options, this);\n this.readable = true;\n if (options && typeof options.read === 'function')\n this._read = options.read;\n Stream.call(this);\n }\n Readable.prototype.push = function(chunk, encoding) {\n var state = this._readableState;\n if (!state.objectMode && typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = new Buffer(chunk, encoding);\n encoding = '';\n }\n }\n return readableAddChunk(this, state, chunk, encoding, false);\n };\n Readable.prototype.unshift = function(chunk) {\n var state = this._readableState;\n return readableAddChunk(this, state, chunk, '', true);\n };\n Readable.prototype.isPaused = function() {\n return this._readableState.flowing === false;\n };\n function readableAddChunk(stream, state, chunk, encoding, addToFront) {\n var er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (state.ended && !addToFront) {\n var e = new Error('stream.push() after EOF');\n stream.emit('error', e);\n } else if (state.endEmitted && addToFront) {\n var e = new Error('stream.unshift() after end event');\n stream.emit('error', e);\n } else {\n var skipAdd;\n if (state.decoder && !addToFront && !encoding) {\n chunk = state.decoder.write(chunk);\n skipAdd = !state.objectMode && chunk.length === 0;\n }\n if (!addToFront)\n state.reading = false;\n if (!skipAdd) {\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront)\n state.buffer.unshift(chunk);\n else\n state.buffer.push(chunk);\n if (state.needReadable)\n emitReadable(stream);\n }\n }\n maybeReadMore(stream, state);\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n return needMoreData(state);\n }\n function needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n }\n Readable.prototype.setEncoding = function(enc) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n };\n var MAX_HWM = 0x800000;\n function computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n }\n function howMuchToRead(n, state) {\n if (state.length === 0 && state.ended)\n return 0;\n if (state.objectMode)\n return n === 0 ? 0 : 1;\n if (n === null || isNaN(n)) {\n if (state.flowing && state.buffer.length)\n return state.buffer[0].length;\n else\n return state.length;\n }\n if (n <= 0)\n return 0;\n if (n > state.highWaterMark)\n state.highWaterMark = computeNewHighWaterMark(n);\n if (n > state.length) {\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n } else {\n return state.length;\n }\n }\n return n;\n }\n Readable.prototype.read = function(n) {\n debug('read', n);\n var state = this._readableState;\n var nOrig = n;\n if (typeof n !== 'number' || n > 0)\n state.emittedReadable = false;\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended)\n endReadable(this);\n else\n emitReadable(this);\n return null;\n }\n n = howMuchToRead(n, state);\n if (n === 0 && state.ended) {\n if (state.length === 0)\n endReadable(this);\n return null;\n }\n var doRead = state.needReadable;\n debug('need readable', doRead);\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n }\n if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n if (state.length === 0)\n state.needReadable = true;\n this._read(state.highWaterMark);\n state.sync = false;\n }\n if (doRead && !state.reading)\n n = howMuchToRead(nOrig, state);\n var ret;\n if (n > 0)\n ret = fromList(n, state);\n else\n ret = null;\n if (ret === null) {\n state.needReadable = true;\n n = 0;\n }\n state.length -= n;\n if (state.length === 0 && !state.ended)\n state.needReadable = true;\n if (nOrig !== n && state.ended && state.length === 0)\n endReadable(this);\n if (ret !== null)\n this.emit('data', ret);\n return ret;\n };\n function chunkInvalid(state, chunk) {\n var er = null;\n if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== null && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n }\n function onEofChunk(stream, state) {\n if (state.ended)\n return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n emitReadable(stream);\n }\n function emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync)\n processNextTick(emitReadable_, stream);\n else\n emitReadable_(stream);\n }\n }\n function emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n }\n function maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n processNextTick(maybeReadMore_, stream, state);\n }\n }\n function maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n break;\n else\n len = state.length;\n }\n state.readingMore = false;\n }\n Readable.prototype._read = function(n) {\n this.emit('error', new Error('not implemented'));\n };\n Readable.prototype.pipe = function(dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n var endFn = doEnd ? onend : cleanup;\n if (state.endEmitted)\n processNextTick(endFn);\n else\n src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n function onunpipe(readable) {\n debug('onunpipe');\n if (readable === src) {\n cleanup();\n }\n }\n function onend() {\n debug('onend');\n dest.end();\n }\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', cleanup);\n src.removeListener('data', ondata);\n cleanedUp = true;\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain))\n ondrain();\n }\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n if (false === ret) {\n if (state.pipesCount === 1 && state.pipes[0] === dest && src.listenerCount('data') === 1 && !cleanedUp) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n }\n src.pause();\n }\n }\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0)\n dest.emit('error', er);\n }\n if (!dest._events || !dest._events.error)\n dest.on('error', onerror);\n else if (isArray(dest._events.error))\n dest._events.error.unshift(onerror);\n else\n dest._events.error = [onerror, dest._events.error];\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n dest.emit('pipe', src);\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n return dest;\n };\n function pipeOnDrain(src) {\n return function() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain)\n state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n }\n Readable.prototype.unpipe = function(dest) {\n var state = this._readableState;\n if (state.pipesCount === 0)\n return this;\n if (state.pipesCount === 1) {\n if (dest && dest !== state.pipes)\n return this;\n if (!dest)\n dest = state.pipes;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest)\n dest.emit('unpipe', this);\n return this;\n }\n if (!dest) {\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n for (var _i = 0; _i < len; _i++) {\n dests[_i].emit('unpipe', this);\n }\n return this;\n }\n var i = indexOf(state.pipes, dest);\n if (i === -1)\n return this;\n state.pipes.splice(i, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1)\n state.pipes = state.pipes[0];\n dest.emit('unpipe', this);\n return this;\n };\n Readable.prototype.on = function(ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n if (ev === 'data' && false !== this._readableState.flowing) {\n this.resume();\n }\n if (ev === 'readable' && !this._readableState.endEmitted) {\n var state = this._readableState;\n if (!state.readableListening) {\n state.readableListening = true;\n state.emittedReadable = false;\n state.needReadable = true;\n if (!state.reading) {\n processNextTick(nReadingNextTick, this);\n } else if (state.length) {\n emitReadable(this, state);\n }\n }\n }\n return res;\n };\n Readable.prototype.addListener = Readable.prototype.on;\n function nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n }\n Readable.prototype.resume = function() {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n resume(this, state);\n }\n return this;\n };\n function resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n processNextTick(resume_, stream, state);\n }\n }\n function resume_(stream, state) {\n if (!state.reading) {\n debug('resume read 0');\n stream.read(0);\n }\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading)\n stream.read(0);\n }\n Readable.prototype.pause = function() {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n };\n function flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n if (state.flowing) {\n do {\n var chunk = stream.read();\n } while (null !== chunk && state.flowing);\n }\n }\n Readable.prototype.wrap = function(stream) {\n var state = this._readableState;\n var paused = false;\n var self = this;\n stream.on('end', function() {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length)\n self.push(chunk);\n }\n self.push(null);\n });\n stream.on('data', function(chunk) {\n debug('wrapped data');\n if (state.decoder)\n chunk = state.decoder.write(chunk);\n if (state.objectMode && (chunk === null || chunk === undefined))\n return;\n else if (!state.objectMode && (!chunk || !chunk.length))\n return;\n var ret = self.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function(method) {\n return function() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n var events = ['error', 'close', 'destroy', 'pause', 'resume'];\n forEach(events, function(ev) {\n stream.on(ev, self.emit.bind(self, ev));\n });\n self._read = function(n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n return self;\n };\n Readable._fromList = fromList;\n function fromList(n, state) {\n var list = state.buffer;\n var length = state.length;\n var stringMode = !!state.decoder;\n var objectMode = !!state.objectMode;\n var ret;\n if (list.length === 0)\n return null;\n if (length === 0)\n ret = null;\n else if (objectMode)\n ret = list.shift();\n else if (!n || n >= length) {\n if (stringMode)\n ret = list.join('');\n else if (list.length === 1)\n ret = list[0];\n else\n ret = Buffer.concat(list, length);\n list.length = 0;\n } else {\n if (n < list[0].length) {\n var buf = list[0];\n ret = buf.slice(0, n);\n list[0] = buf.slice(n);\n } else if (n === list[0].length) {\n ret = list.shift();\n } else {\n if (stringMode)\n ret = '';\n else\n ret = new Buffer(n);\n var c = 0;\n for (var i = 0,\n l = list.length; i < l && c < n; i++) {\n var buf = list[0];\n var cpy = Math.min(n - c, buf.length);\n if (stringMode)\n ret += buf.slice(0, cpy);\n else\n buf.copy(ret, c, 0, cpy);\n if (cpy < buf.length)\n list[0] = buf.slice(cpy);\n else\n list.shift();\n c += cpy;\n }\n }\n }\n return ret;\n }\n function endReadable(stream) {\n var state = stream._readableState;\n if (state.length > 0)\n throw new Error('endReadable called on non-empty stream');\n if (!state.endEmitted) {\n state.ended = true;\n processNextTick(endReadableNT, state, stream);\n }\n }\n function endReadableNT(state, stream) {\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n }\n function forEach(xs, f) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n }\n function indexOf(xs, x) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n if (xs[i] === x)\n return i;\n }\n return -1;\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(process) {\n 'use strict';\n if (!process.version || process.version.indexOf('v0.') === 0 || process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {\n module.exports = nextTick;\n } else {\n module.exports = process.nextTick;\n }\n function nextTick(fn) {\n var args = new Array(arguments.length - 1);\n var i = 0;\n while (i < args.length) {\n args[i++] = arguments[i];\n }\n process.nextTick(function afterTick() {\n fn.apply(null, args);\n });\n }\n})(require('process'));\n","module.exports = require(\"npm:process-nextick-args@1.0.6/index.js\");","\n/**\n * Module exports.\n */\n\nmodule.exports = deprecate;\n\n/**\n * Mark that a method should not be used.\n * Returns a modified function which warns once by default.\n *\n * If `localStorage.noDeprecation = true` is set, then it is a no-op.\n *\n * If `localStorage.throwDeprecation = true` is set, then deprecated functions\n * will throw an Error when invoked.\n *\n * If `localStorage.traceDeprecation = true` is set, then deprecated functions\n * will invoke `console.trace()` instead of `console.error()`.\n *\n * @param {Function} fn - the function to deprecate\n * @param {String} msg - the string to print to the console when `fn` is invoked\n * @returns {Function} a new \"deprecated\" version of `fn`\n * @api public\n */\n\nfunction deprecate (fn, msg) {\n if (config('noDeprecation')) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (config('throwDeprecation')) {\n throw new Error(msg);\n } else if (config('traceDeprecation')) {\n console.trace(msg);\n } else {\n console.warn(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n}\n\n/**\n * Checks `localStorage` for boolean values for the given `name`.\n *\n * @param {String} name\n * @returns {Boolean}\n * @api private\n */\n\nfunction config (name) {\n // accessing global.localStorage can trigger a DOMException in sandboxed iframes\n try {\n if (!global.localStorage) return false;\n } catch (_) {\n return false;\n }\n var val = global.localStorage[name];\n if (null == val) return false;\n return String(val).toLowerCase() === 'true';\n}\n","module.exports = require(\"npm:util-deprecate@1.0.2/browser.js\");","/* */ \n(function(Buffer, process) {\n 'use strict';\n module.exports = Writable;\n var processNextTick = require('process-nextick-args');\n var asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : processNextTick;\n var Buffer = require('buffer').Buffer;\n Writable.WritableState = WritableState;\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var internalUtil = {deprecate: require('util-deprecate')};\n var Stream;\n (function() {\n try {\n Stream = require('st' + 'ream');\n } catch (_) {} finally {\n if (!Stream)\n Stream = require('events').EventEmitter;\n }\n })();\n var Buffer = require('buffer').Buffer;\n util.inherits(Writable, Stream);\n function nop() {}\n function WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n }\n var Duplex;\n function WritableState(options, stream) {\n Duplex = Duplex || require('./_stream_duplex');\n options = options || {};\n this.objectMode = !!options.objectMode;\n if (stream instanceof Duplex)\n this.objectMode = this.objectMode || !!options.writableObjectMode;\n var hwm = options.highWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm;\n this.highWaterMark = ~~this.highWaterMark;\n this.needDrain = false;\n this.ending = false;\n this.ended = false;\n this.finished = false;\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n this.length = 0;\n this.writing = false;\n this.corked = 0;\n this.sync = true;\n this.bufferProcessing = false;\n this.onwrite = function(er) {\n onwrite(stream, er);\n };\n this.writecb = null;\n this.writelen = 0;\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n this.pendingcb = 0;\n this.prefinished = false;\n this.errorEmitted = false;\n this.bufferedRequestCount = 0;\n this.corkedRequestsFree = new CorkedRequest(this);\n this.corkedRequestsFree.next = new CorkedRequest(this);\n }\n WritableState.prototype.getBuffer = function writableStateGetBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n };\n (function() {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {get: internalUtil.deprecate(function() {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.')});\n } catch (_) {}\n })();\n var Duplex;\n function Writable(options) {\n Duplex = Duplex || require('./_stream_duplex');\n if (!(this instanceof Writable) && !(this instanceof Duplex))\n return new Writable(options);\n this._writableState = new WritableState(options, this);\n this.writable = true;\n if (options) {\n if (typeof options.write === 'function')\n this._write = options.write;\n if (typeof options.writev === 'function')\n this._writev = options.writev;\n }\n Stream.call(this);\n }\n Writable.prototype.pipe = function() {\n this.emit('error', new Error('Cannot pipe. Not readable.'));\n };\n function writeAfterEnd(stream, cb) {\n var er = new Error('write after end');\n stream.emit('error', er);\n processNextTick(cb, er);\n }\n function validChunk(stream, state, chunk, cb) {\n var valid = true;\n if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== null && chunk !== undefined && !state.objectMode) {\n var er = new TypeError('Invalid non-string/buffer chunk');\n stream.emit('error', er);\n processNextTick(cb, er);\n valid = false;\n }\n return valid;\n }\n Writable.prototype.write = function(chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (Buffer.isBuffer(chunk))\n encoding = 'buffer';\n else if (!encoding)\n encoding = state.defaultEncoding;\n if (typeof cb !== 'function')\n cb = nop;\n if (state.ended)\n writeAfterEnd(this, cb);\n else if (validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, chunk, encoding, cb);\n }\n return ret;\n };\n Writable.prototype.cork = function() {\n var state = this._writableState;\n state.corked++;\n };\n Writable.prototype.uncork = function() {\n var state = this._writableState;\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest)\n clearBuffer(this, state);\n }\n };\n Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n if (typeof encoding === 'string')\n encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1))\n throw new TypeError('Unknown encoding: ' + encoding);\n this._writableState.defaultEncoding = encoding;\n };\n function decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = new Buffer(chunk, encoding);\n }\n return chunk;\n }\n function writeOrBuffer(stream, state, chunk, encoding, cb) {\n chunk = decodeChunk(state, chunk, encoding);\n if (Buffer.isBuffer(chunk))\n encoding = 'buffer';\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark;\n if (!ret)\n state.needDrain = true;\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = new WriteReq(chunk, encoding, cb);\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n return ret;\n }\n function doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev)\n stream._writev(chunk, state.onwrite);\n else\n stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n }\n function onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n if (sync)\n processNextTick(cb, er);\n else\n cb(er);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n }\n function onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n }\n function onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n onwriteStateUpdate(state);\n if (er)\n onwriteError(stream, state, sync, er, cb);\n else {\n var finished = needFinish(state);\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n if (sync) {\n asyncWrite(afterWrite, stream, state, finished, cb);\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n }\n function afterWrite(stream, state, finished, cb) {\n if (!finished)\n onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n }\n function onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n }\n function clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n if (stream._writev && entry && entry.next) {\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n var count = 0;\n while (entry) {\n buffer[count] = entry;\n entry = entry.next;\n count += 1;\n }\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n state.pendingcb++;\n state.lastBufferedRequest = null;\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n if (state.writing) {\n break;\n }\n }\n if (entry === null)\n state.lastBufferedRequest = null;\n }\n state.bufferedRequestCount = 0;\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n }\n Writable.prototype._write = function(chunk, encoding, cb) {\n cb(new Error('not implemented'));\n };\n Writable.prototype._writev = null;\n Writable.prototype.end = function(chunk, encoding, cb) {\n var state = this._writableState;\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (chunk !== null && chunk !== undefined)\n this.write(chunk, encoding);\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n if (!state.ending && !state.finished)\n endWritable(this, state, cb);\n };\n function needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n }\n function prefinish(stream, state) {\n if (!state.prefinished) {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n function finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n if (state.pendingcb === 0) {\n prefinish(stream, state);\n state.finished = true;\n stream.emit('finish');\n } else {\n prefinish(stream, state);\n }\n }\n return need;\n }\n function endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished)\n processNextTick(cb);\n else\n stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n }\n function CorkedRequest(state) {\n var _this = this;\n this.next = null;\n this.entry = null;\n this.finish = function(err) {\n var entry = _this.entry;\n _this.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n if (state.corkedRequestsFree) {\n state.corkedRequestsFree.next = _this;\n } else {\n state.corkedRequestsFree = _this;\n }\n };\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(process) {\n 'use strict';\n var objectKeys = Object.keys || function(obj) {\n var keys = [];\n for (var key in obj) {\n keys.push(key);\n }\n return keys;\n };\n module.exports = Duplex;\n var processNextTick = require('process-nextick-args');\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var Readable = require('./_stream_readable');\n var Writable = require('./_stream_writable');\n util.inherits(Duplex, Readable);\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method])\n Duplex.prototype[method] = Writable.prototype[method];\n }\n function Duplex(options) {\n if (!(this instanceof Duplex))\n return new Duplex(options);\n Readable.call(this, options);\n Writable.call(this, options);\n if (options && options.readable === false)\n this.readable = false;\n if (options && options.writable === false)\n this.writable = false;\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false)\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n function onend() {\n if (this.allowHalfOpen || this._writableState.ended)\n return;\n processNextTick(onEndNT, this);\n }\n function onEndNT(self) {\n self.end();\n }\n function forEach(xs, f) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n }\n})(require('process'));\n","/* */ \n(function(process) {\n 'use strict';\n module.exports = Transform;\n var Duplex = require('./_stream_duplex');\n var util = require('core-util-is');\n util.inherits = require('inherits');\n util.inherits(Transform, Duplex);\n function TransformState(stream) {\n this.afterTransform = function(er, data) {\n return afterTransform(stream, er, data);\n };\n this.needTransform = false;\n this.transforming = false;\n this.writecb = null;\n this.writechunk = null;\n this.writeencoding = null;\n }\n function afterTransform(stream, er, data) {\n var ts = stream._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n if (!cb)\n return stream.emit('error', new Error('no writecb in Transform class'));\n ts.writechunk = null;\n ts.writecb = null;\n if (data !== null && data !== undefined)\n stream.push(data);\n cb(er);\n var rs = stream._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n stream._read(rs.highWaterMark);\n }\n }\n function Transform(options) {\n if (!(this instanceof Transform))\n return new Transform(options);\n Duplex.call(this, options);\n this._transformState = new TransformState(this);\n var stream = this;\n this._readableState.needReadable = true;\n this._readableState.sync = false;\n if (options) {\n if (typeof options.transform === 'function')\n this._transform = options.transform;\n if (typeof options.flush === 'function')\n this._flush = options.flush;\n }\n this.once('prefinish', function() {\n if (typeof this._flush === 'function')\n this._flush(function(er) {\n done(stream, er);\n });\n else\n done(stream);\n });\n }\n Transform.prototype.push = function(chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n };\n Transform.prototype._transform = function(chunk, encoding, cb) {\n throw new Error('not implemented');\n };\n Transform.prototype._write = function(chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark)\n this._read(rs.highWaterMark);\n }\n };\n Transform.prototype._read = function(n) {\n var ts = this._transformState;\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n ts.needTransform = true;\n }\n };\n function done(stream, er) {\n if (er)\n return stream.emit('error', er);\n var ws = stream._writableState;\n var ts = stream._transformState;\n if (ws.length)\n throw new Error('calling transform done when ws.length != 0');\n if (ts.transforming)\n throw new Error('calling transform done when still transforming');\n return stream.push(null);\n }\n})(require('process'));\n","/* */ \n'use strict';\nmodule.exports = PassThrough;\nvar Transform = require('./_stream_transform');\nvar util = require('core-util-is');\nutil.inherits = require('inherits');\nutil.inherits(PassThrough, Transform);\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough))\n return new PassThrough(options);\n Transform.call(this, options);\n}\nPassThrough.prototype._transform = function(chunk, encoding, cb) {\n cb(null, chunk);\n};\n","/* */ \n(function(process) {\n var Stream = (function() {\n try {\n return require('st' + 'ream');\n } catch (_) {}\n }());\n exports = module.exports = require('./lib/_stream_readable');\n exports.Stream = Stream || exports;\n exports.Readable = exports;\n exports.Writable = require('./lib/_stream_writable');\n exports.Duplex = require('./lib/_stream_duplex');\n exports.Transform = require('./lib/_stream_transform');\n exports.PassThrough = require('./lib/_stream_passthrough');\n if (!process.browser && process.env.READABLE_STREAM === 'disable' && Stream) {\n module.exports = Stream;\n }\n})(require('process'));\n","module.exports = require(\"npm:readable-stream@2.1.2/readable.js\");","/* */ \n(function(Buffer) {\n var Buffer = require('buffer').Buffer;\n module.exports = function(buf) {\n if (buf instanceof Uint8Array) {\n if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {\n return buf.buffer;\n } else if (typeof buf.buffer.slice === 'function') {\n return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n }\n }\n if (Buffer.isBuffer(buf)) {\n var arrayCopy = new Uint8Array(buf.length);\n var len = buf.length;\n for (var i = 0; i < len; i++) {\n arrayCopy[i] = buf[i];\n }\n return arrayCopy.buffer;\n } else {\n throw new Error('Argument must be a Buffer');\n }\n };\n})(require('buffer').Buffer);\n","module.exports = require(\"npm:to-arraybuffer@1.0.1/index.js\");","/* */ \n(function(Buffer, process) {\n var capability = require('./capability');\n var inherits = require('inherits');\n var response = require('./response');\n var stream = require('readable-stream');\n var toArrayBuffer = require('to-arraybuffer');\n var IncomingMessage = response.IncomingMessage;\n var rStates = response.readyStates;\n function decideMode(preferBinary) {\n if (capability.fetch) {\n return 'fetch';\n } else if (capability.mozchunkedarraybuffer) {\n return 'moz-chunked-arraybuffer';\n } else if (capability.msstream) {\n return 'ms-stream';\n } else if (capability.arraybuffer && preferBinary) {\n return 'arraybuffer';\n } else if (capability.vbArray && preferBinary) {\n return 'text:vbarray';\n } else {\n return 'text';\n }\n }\n var ClientRequest = module.exports = function(opts) {\n var self = this;\n stream.Writable.call(self);\n self._opts = opts;\n self._body = [];\n self._headers = {};\n if (opts.auth)\n self.setHeader('Authorization', 'Basic ' + new Buffer(opts.auth).toString('base64'));\n Object.keys(opts.headers).forEach(function(name) {\n self.setHeader(name, opts.headers[name]);\n });\n var preferBinary;\n if (opts.mode === 'prefer-streaming') {\n preferBinary = false;\n } else if (opts.mode === 'allow-wrong-content-type') {\n preferBinary = !capability.overrideMimeType;\n } else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') {\n preferBinary = true;\n } else {\n throw new Error('Invalid value for opts.mode');\n }\n self._mode = decideMode(preferBinary);\n self.on('finish', function() {\n self._onFinish();\n });\n };\n inherits(ClientRequest, stream.Writable);\n ClientRequest.prototype.setHeader = function(name, value) {\n var self = this;\n var lowerName = name.toLowerCase();\n if (unsafeHeaders.indexOf(lowerName) !== -1)\n return;\n self._headers[lowerName] = {\n name: name,\n value: value\n };\n };\n ClientRequest.prototype.getHeader = function(name) {\n var self = this;\n return self._headers[name.toLowerCase()].value;\n };\n ClientRequest.prototype.removeHeader = function(name) {\n var self = this;\n delete self._headers[name.toLowerCase()];\n };\n ClientRequest.prototype._onFinish = function() {\n var self = this;\n if (self._destroyed)\n return;\n var opts = self._opts;\n var headersObj = self._headers;\n var body;\n if (opts.method === 'POST' || opts.method === 'PUT' || opts.method === 'PATCH') {\n if (capability.blobConstructor) {\n body = new global.Blob(self._body.map(function(buffer) {\n return toArrayBuffer(buffer);\n }), {type: (headersObj['content-type'] || {}).value || ''});\n } else {\n body = Buffer.concat(self._body).toString();\n }\n }\n if (self._mode === 'fetch') {\n var headers = Object.keys(headersObj).map(function(name) {\n return [headersObj[name].name, headersObj[name].value];\n });\n global.fetch(self._opts.url, {\n method: self._opts.method,\n headers: headers,\n body: body,\n mode: 'cors',\n credentials: opts.withCredentials ? 'include' : 'same-origin'\n }).then(function(response) {\n self._fetchResponse = response;\n self._connect();\n }, function(reason) {\n self.emit('error', reason);\n });\n } else {\n var xhr = self._xhr = new global.XMLHttpRequest();\n try {\n xhr.open(self._opts.method, self._opts.url, true);\n } catch (err) {\n process.nextTick(function() {\n self.emit('error', err);\n });\n return;\n }\n if ('responseType' in xhr)\n xhr.responseType = self._mode.split(':')[0];\n if ('withCredentials' in xhr)\n xhr.withCredentials = !!opts.withCredentials;\n if (self._mode === 'text' && 'overrideMimeType' in xhr)\n xhr.overrideMimeType('text/plain; charset=x-user-defined');\n Object.keys(headersObj).forEach(function(name) {\n xhr.setRequestHeader(headersObj[name].name, headersObj[name].value);\n });\n self._response = null;\n xhr.onreadystatechange = function() {\n switch (xhr.readyState) {\n case rStates.LOADING:\n case rStates.DONE:\n self._onXHRProgress();\n break;\n }\n };\n if (self._mode === 'moz-chunked-arraybuffer') {\n xhr.onprogress = function() {\n self._onXHRProgress();\n };\n }\n xhr.onerror = function() {\n if (self._destroyed)\n return;\n self.emit('error', new Error('XHR error'));\n };\n try {\n xhr.send(body);\n } catch (err) {\n process.nextTick(function() {\n self.emit('error', err);\n });\n return;\n }\n }\n };\n function statusValid(xhr) {\n try {\n var status = xhr.status;\n return (status !== null && status !== 0);\n } catch (e) {\n return false;\n }\n }\n ClientRequest.prototype._onXHRProgress = function() {\n var self = this;\n if (!statusValid(self._xhr) || self._destroyed)\n return;\n if (!self._response)\n self._connect();\n self._response._onXHRProgress();\n };\n ClientRequest.prototype._connect = function() {\n var self = this;\n if (self._destroyed)\n return;\n self._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode);\n self.emit('response', self._response);\n };\n ClientRequest.prototype._write = function(chunk, encoding, cb) {\n var self = this;\n self._body.push(chunk);\n cb();\n };\n ClientRequest.prototype.abort = ClientRequest.prototype.destroy = function() {\n var self = this;\n self._destroyed = true;\n if (self._response)\n self._response._destroyed = true;\n if (self._xhr)\n self._xhr.abort();\n };\n ClientRequest.prototype.end = function(data, encoding, cb) {\n var self = this;\n if (typeof data === 'function') {\n cb = data;\n data = undefined;\n }\n stream.Writable.prototype.end.call(self, data, encoding, cb);\n };\n ClientRequest.prototype.flushHeaders = function() {};\n ClientRequest.prototype.setTimeout = function() {};\n ClientRequest.prototype.setNoDelay = function() {};\n ClientRequest.prototype.setSocketKeepAlive = function() {};\n var unsafeHeaders = ['accept-charset', 'accept-encoding', 'access-control-request-headers', 'access-control-request-method', 'connection', 'content-length', 'cookie', 'cookie2', 'date', 'dnt', 'expect', 'host', 'keep-alive', 'origin', 'referer', 'te', 'trailer', 'transfer-encoding', 'upgrade', 'user-agent', 'via'];\n})(require('buffer').Buffer, require('process'));\n","/* */ \nmodule.exports = extend\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction extend() {\n var target = {}\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i]\n\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n target[key] = source[key]\n }\n }\n }\n\n return target\n}\n","module.exports = require(\"npm:xtend@4.0.1/immutable\");","/* */ \nmodule.exports = {\n \"100\": \"Continue\",\n \"101\": \"Switching Protocols\",\n \"102\": \"Processing\",\n \"200\": \"OK\",\n \"201\": \"Created\",\n \"202\": \"Accepted\",\n \"203\": \"Non-Authoritative Information\",\n \"204\": \"No Content\",\n \"205\": \"Reset Content\",\n \"206\": \"Partial Content\",\n \"207\": \"Multi-Status\",\n \"208\": \"Already Reported\",\n \"226\": \"IM Used\",\n \"300\": \"Multiple Choices\",\n \"301\": \"Moved Permanently\",\n \"302\": \"Found\",\n \"303\": \"See Other\",\n \"304\": \"Not Modified\",\n \"305\": \"Use Proxy\",\n \"307\": \"Temporary Redirect\",\n \"308\": \"Permanent Redirect\",\n \"400\": \"Bad Request\",\n \"401\": \"Unauthorized\",\n \"402\": \"Payment Required\",\n \"403\": \"Forbidden\",\n \"404\": \"Not Found\",\n \"405\": \"Method Not Allowed\",\n \"406\": \"Not Acceptable\",\n \"407\": \"Proxy Authentication Required\",\n \"408\": \"Request Timeout\",\n \"409\": \"Conflict\",\n \"410\": \"Gone\",\n \"411\": \"Length Required\",\n \"412\": \"Precondition Failed\",\n \"413\": \"Payload Too Large\",\n \"414\": \"URI Too Long\",\n \"415\": \"Unsupported Media Type\",\n \"416\": \"Range Not Satisfiable\",\n \"417\": \"Expectation Failed\",\n \"418\": \"I'm a teapot\",\n \"421\": \"Misdirected Request\",\n \"422\": \"Unprocessable Entity\",\n \"423\": \"Locked\",\n \"424\": \"Failed Dependency\",\n \"425\": \"Unordered Collection\",\n \"426\": \"Upgrade Required\",\n \"428\": \"Precondition Required\",\n \"429\": \"Too Many Requests\",\n \"431\": \"Request Header Fields Too Large\",\n \"500\": \"Internal Server Error\",\n \"501\": \"Not Implemented\",\n \"502\": \"Bad Gateway\",\n \"503\": \"Service Unavailable\",\n \"504\": \"Gateway Timeout\",\n \"505\": \"HTTP Version Not Supported\",\n \"506\": \"Variant Also Negotiates\",\n \"507\": \"Insufficient Storage\",\n \"508\": \"Loop Detected\",\n \"509\": \"Bandwidth Limit Exceeded\",\n \"510\": \"Not Extended\",\n \"511\": \"Network Authentication Required\"\n}\n","module.exports = require(\"npm:builtin-status-codes@2.0.0/browser.js\");","/* */ \nvar ClientRequest = require('./lib/request');\nvar extend = require('xtend');\nvar statusCodes = require('builtin-status-codes');\nvar url = require('url');\nvar http = exports;\nhttp.request = function(opts, cb) {\n if (typeof opts === 'string')\n opts = url.parse(opts);\n else\n opts = extend(opts);\n var defaultProtocol = global.location.protocol.search(/^https?:$/) === -1 ? 'http:' : '';\n var protocol = opts.protocol || defaultProtocol;\n var host = opts.hostname || opts.host;\n var port = opts.port;\n var path = opts.path || '/';\n if (host && host.indexOf(':') !== -1)\n host = '[' + host + ']';\n opts.url = (host ? (protocol + '//' + host) : '') + (port ? ':' + port : '') + path;\n opts.method = (opts.method || 'GET').toUpperCase();\n opts.headers = opts.headers || {};\n var req = new ClientRequest(opts);\n if (cb)\n req.on('response', cb);\n return req;\n};\nhttp.get = function get(opts, cb) {\n var req = http.request(opts, cb);\n req.end();\n return req;\n};\nhttp.Agent = function() {};\nhttp.Agent.defaultMaxSockets = 4;\nhttp.STATUS_CODES = statusCodes;\nhttp.METHODS = ['CHECKOUT', 'CONNECT', 'COPY', 'DELETE', 'GET', 'HEAD', 'LOCK', 'M-SEARCH', 'MERGE', 'MKACTIVITY', 'MKCOL', 'MOVE', 'NOTIFY', 'OPTIONS', 'PATCH', 'POST', 'PROPFIND', 'PROPPATCH', 'PURGE', 'PUT', 'REPORT', 'SEARCH', 'SUBSCRIBE', 'TRACE', 'UNLOCK', 'UNSUBSCRIBE'];\n","module.exports = require(\"npm:stream-http@2.3.0/index.js\");","/* */ \n(function(process) {\n exports = module.exports = require('./lib/_stream_readable');\n exports.Stream = require('stream-browserify/index');\n exports.Readable = exports;\n exports.Writable = require('./lib/_stream_writable');\n exports.Duplex = require('./lib/_stream_duplex');\n exports.Transform = require('./lib/_stream_transform');\n exports.PassThrough = require('./lib/_stream_passthrough');\n if (!process.browser && process.env.READABLE_STREAM === 'disable') {\n module.exports = require('stream-browserify/index');\n }\n})(require('process'));\n","/* */ \nmodule.exports = require('./lib/_stream_writable');\n","/* */ \nmodule.exports = require('./lib/_stream_duplex');\n","/* */ \nmodule.exports = require('./lib/_stream_transform');\n","/* */ \nmodule.exports = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n","module.exports = require(\"npm:isarray@0.0.1/index.js\");","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n }\n throw TypeError('Uncaught, unspecified \"error\" event.');\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n len = arguments.length;\n args = new Array(len - 1);\n for (i = 1; i < len; i++)\n args[i - 1] = arguments[i];\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n len = arguments.length;\n args = new Array(len - 1);\n for (i = 1; i < len; i++)\n args[i - 1] = arguments[i];\n\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n var m;\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n var ret;\n if (!emitter._events || !emitter._events[type])\n ret = 0;\n else if (isFunction(emitter._events[type]))\n ret = 1;\n else\n ret = emitter._events[type].length;\n return ret;\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n","module.exports = require(\"npm:events@1.0.2/events.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('events') : require('events');","module.exports = require(\"github:jspm/nodelibs-events@0.1.1/index\");","/* */ \n(function(Buffer) {\n var Buffer = require('buffer').Buffer;\n var isBufferEncoding = Buffer.isEncoding || function(encoding) {\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n case 'raw':\n return true;\n default:\n return false;\n }\n };\n function assertEncoding(encoding) {\n if (encoding && !isBufferEncoding(encoding)) {\n throw new Error('Unknown encoding: ' + encoding);\n }\n }\n var StringDecoder = exports.StringDecoder = function(encoding) {\n this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, '');\n assertEncoding(encoding);\n switch (this.encoding) {\n case 'utf8':\n this.surrogateSize = 3;\n break;\n case 'ucs2':\n case 'utf16le':\n this.surrogateSize = 2;\n this.detectIncompleteChar = utf16DetectIncompleteChar;\n break;\n case 'base64':\n this.surrogateSize = 3;\n this.detectIncompleteChar = base64DetectIncompleteChar;\n break;\n default:\n this.write = passThroughWrite;\n return;\n }\n this.charBuffer = new Buffer(6);\n this.charReceived = 0;\n this.charLength = 0;\n };\n StringDecoder.prototype.write = function(buffer) {\n var charStr = '';\n while (this.charLength) {\n var available = (buffer.length >= this.charLength - this.charReceived) ? this.charLength - this.charReceived : buffer.length;\n buffer.copy(this.charBuffer, this.charReceived, 0, available);\n this.charReceived += available;\n if (this.charReceived < this.charLength) {\n return '';\n }\n buffer = buffer.slice(available, buffer.length);\n charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding);\n var charCode = charStr.charCodeAt(charStr.length - 1);\n if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n this.charLength += this.surrogateSize;\n charStr = '';\n continue;\n }\n this.charReceived = this.charLength = 0;\n if (buffer.length === 0) {\n return charStr;\n }\n break;\n }\n this.detectIncompleteChar(buffer);\n var end = buffer.length;\n if (this.charLength) {\n buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end);\n end -= this.charReceived;\n }\n charStr += buffer.toString(this.encoding, 0, end);\n var end = charStr.length - 1;\n var charCode = charStr.charCodeAt(end);\n if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n var size = this.surrogateSize;\n this.charLength += size;\n this.charReceived += size;\n this.charBuffer.copy(this.charBuffer, size, 0, size);\n buffer.copy(this.charBuffer, 0, 0, size);\n return charStr.substring(0, end);\n }\n return charStr;\n };\n StringDecoder.prototype.detectIncompleteChar = function(buffer) {\n var i = (buffer.length >= 3) ? 3 : buffer.length;\n for (; i > 0; i--) {\n var c = buffer[buffer.length - i];\n if (i == 1 && c >> 5 == 0x06) {\n this.charLength = 2;\n break;\n }\n if (i <= 2 && c >> 4 == 0x0E) {\n this.charLength = 3;\n break;\n }\n if (i <= 3 && c >> 3 == 0x1E) {\n this.charLength = 4;\n break;\n }\n }\n this.charReceived = i;\n };\n StringDecoder.prototype.end = function(buffer) {\n var res = '';\n if (buffer && buffer.length)\n res = this.write(buffer);\n if (this.charReceived) {\n var cr = this.charReceived;\n var buf = this.charBuffer;\n var enc = this.encoding;\n res += buf.slice(0, cr).toString(enc);\n }\n return res;\n };\n function passThroughWrite(buffer) {\n return buffer.toString(this.encoding);\n }\n function utf16DetectIncompleteChar(buffer) {\n this.charReceived = buffer.length % 2;\n this.charLength = this.charReceived ? 2 : 0;\n }\n function base64DetectIncompleteChar(buffer) {\n this.charReceived = buffer.length % 3;\n this.charLength = this.charReceived ? 3 : 0;\n }\n})(require('buffer').Buffer);\n","module.exports = require(\"npm:string_decoder@0.10.31/index.js\");","/* */ \n(function(Buffer, process) {\n module.exports = Readable;\n var isArray = require('isarray');\n var Buffer = require('buffer').Buffer;\n Readable.ReadableState = ReadableState;\n var EE = require('events').EventEmitter;\n if (!EE.listenerCount)\n EE.listenerCount = function(emitter, type) {\n return emitter.listeners(type).length;\n };\n var Stream = require('stream-browserify/index');\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var StringDecoder;\n var debug = require('@empty');\n if (debug && debug.debuglog) {\n debug = debug.debuglog('stream');\n } else {\n debug = function() {};\n }\n util.inherits(Readable, Stream);\n function ReadableState(options, stream) {\n var Duplex = require('./_stream_duplex');\n options = options || {};\n var hwm = options.highWaterMark;\n var defaultHwm = options.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = (hwm || hwm === 0) ? hwm : defaultHwm;\n this.highWaterMark = ~~this.highWaterMark;\n this.buffer = [];\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n this.sync = true;\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.objectMode = !!options.objectMode;\n if (stream instanceof Duplex)\n this.objectMode = this.objectMode || !!options.readableObjectMode;\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n this.ranOut = false;\n this.awaitDrain = 0;\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n }\n function Readable(options) {\n var Duplex = require('./_stream_duplex');\n if (!(this instanceof Readable))\n return new Readable(options);\n this._readableState = new ReadableState(options, this);\n this.readable = true;\n Stream.call(this);\n }\n Readable.prototype.push = function(chunk, encoding) {\n var state = this._readableState;\n if (util.isString(chunk) && !state.objectMode) {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = new Buffer(chunk, encoding);\n encoding = '';\n }\n }\n return readableAddChunk(this, state, chunk, encoding, false);\n };\n Readable.prototype.unshift = function(chunk) {\n var state = this._readableState;\n return readableAddChunk(this, state, chunk, '', true);\n };\n function readableAddChunk(stream, state, chunk, encoding, addToFront) {\n var er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (util.isNullOrUndefined(chunk)) {\n state.reading = false;\n if (!state.ended)\n onEofChunk(stream, state);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (state.ended && !addToFront) {\n var e = new Error('stream.push() after EOF');\n stream.emit('error', e);\n } else if (state.endEmitted && addToFront) {\n var e = new Error('stream.unshift() after end event');\n stream.emit('error', e);\n } else {\n if (state.decoder && !addToFront && !encoding)\n chunk = state.decoder.write(chunk);\n if (!addToFront)\n state.reading = false;\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront)\n state.buffer.unshift(chunk);\n else\n state.buffer.push(chunk);\n if (state.needReadable)\n emitReadable(stream);\n }\n maybeReadMore(stream, state);\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n return needMoreData(state);\n }\n function needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n }\n Readable.prototype.setEncoding = function(enc) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n };\n var MAX_HWM = 0x800000;\n function roundUpToNextPowerOf2(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n n--;\n for (var p = 1; p < 32; p <<= 1)\n n |= n >> p;\n n++;\n }\n return n;\n }\n function howMuchToRead(n, state) {\n if (state.length === 0 && state.ended)\n return 0;\n if (state.objectMode)\n return n === 0 ? 0 : 1;\n if (isNaN(n) || util.isNull(n)) {\n if (state.flowing && state.buffer.length)\n return state.buffer[0].length;\n else\n return state.length;\n }\n if (n <= 0)\n return 0;\n if (n > state.highWaterMark)\n state.highWaterMark = roundUpToNextPowerOf2(n);\n if (n > state.length) {\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n } else\n return state.length;\n }\n return n;\n }\n Readable.prototype.read = function(n) {\n debug('read', n);\n var state = this._readableState;\n var nOrig = n;\n if (!util.isNumber(n) || n > 0)\n state.emittedReadable = false;\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended)\n endReadable(this);\n else\n emitReadable(this);\n return null;\n }\n n = howMuchToRead(n, state);\n if (n === 0 && state.ended) {\n if (state.length === 0)\n endReadable(this);\n return null;\n }\n var doRead = state.needReadable;\n debug('need readable', doRead);\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n }\n if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n if (state.length === 0)\n state.needReadable = true;\n this._read(state.highWaterMark);\n state.sync = false;\n }\n if (doRead && !state.reading)\n n = howMuchToRead(nOrig, state);\n var ret;\n if (n > 0)\n ret = fromList(n, state);\n else\n ret = null;\n if (util.isNull(ret)) {\n state.needReadable = true;\n n = 0;\n }\n state.length -= n;\n if (state.length === 0 && !state.ended)\n state.needReadable = true;\n if (nOrig !== n && state.ended && state.length === 0)\n endReadable(this);\n if (!util.isNull(ret))\n this.emit('data', ret);\n return ret;\n };\n function chunkInvalid(state, chunk) {\n var er = null;\n if (!util.isBuffer(chunk) && !util.isString(chunk) && !util.isNullOrUndefined(chunk) && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n }\n function onEofChunk(stream, state) {\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n emitReadable(stream);\n }\n function emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync)\n process.nextTick(function() {\n emitReadable_(stream);\n });\n else\n emitReadable_(stream);\n }\n }\n function emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n }\n function maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n process.nextTick(function() {\n maybeReadMore_(stream, state);\n });\n }\n }\n function maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n break;\n else\n len = state.length;\n }\n state.readingMore = false;\n }\n Readable.prototype._read = function(n) {\n this.emit('error', new Error('not implemented'));\n };\n Readable.prototype.pipe = function(dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n var endFn = doEnd ? onend : cleanup;\n if (state.endEmitted)\n process.nextTick(endFn);\n else\n src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n function onunpipe(readable) {\n debug('onunpipe');\n if (readable === src) {\n cleanup();\n }\n }\n function onend() {\n debug('onend');\n dest.end();\n }\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n function cleanup() {\n debug('cleanup');\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', cleanup);\n src.removeListener('data', ondata);\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain))\n ondrain();\n }\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n if (false === ret) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n src.pause();\n }\n }\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EE.listenerCount(dest, 'error') === 0)\n dest.emit('error', er);\n }\n if (!dest._events || !dest._events.error)\n dest.on('error', onerror);\n else if (isArray(dest._events.error))\n dest._events.error.unshift(onerror);\n else\n dest._events.error = [onerror, dest._events.error];\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n dest.emit('pipe', src);\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n return dest;\n };\n function pipeOnDrain(src) {\n return function() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain)\n state.awaitDrain--;\n if (state.awaitDrain === 0 && EE.listenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n }\n Readable.prototype.unpipe = function(dest) {\n var state = this._readableState;\n if (state.pipesCount === 0)\n return this;\n if (state.pipesCount === 1) {\n if (dest && dest !== state.pipes)\n return this;\n if (!dest)\n dest = state.pipes;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest)\n dest.emit('unpipe', this);\n return this;\n }\n if (!dest) {\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n for (var i = 0; i < len; i++)\n dests[i].emit('unpipe', this);\n return this;\n }\n var i = indexOf(state.pipes, dest);\n if (i === -1)\n return this;\n state.pipes.splice(i, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1)\n state.pipes = state.pipes[0];\n dest.emit('unpipe', this);\n return this;\n };\n Readable.prototype.on = function(ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n if (ev === 'data' && false !== this._readableState.flowing) {\n this.resume();\n }\n if (ev === 'readable' && this.readable) {\n var state = this._readableState;\n if (!state.readableListening) {\n state.readableListening = true;\n state.emittedReadable = false;\n state.needReadable = true;\n if (!state.reading) {\n var self = this;\n process.nextTick(function() {\n debug('readable nexttick read 0');\n self.read(0);\n });\n } else if (state.length) {\n emitReadable(this, state);\n }\n }\n }\n return res;\n };\n Readable.prototype.addListener = Readable.prototype.on;\n Readable.prototype.resume = function() {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n if (!state.reading) {\n debug('resume read 0');\n this.read(0);\n }\n resume(this, state);\n }\n return this;\n };\n function resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n process.nextTick(function() {\n resume_(stream, state);\n });\n }\n }\n function resume_(stream, state) {\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading)\n stream.read(0);\n }\n Readable.prototype.pause = function() {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n };\n function flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n if (state.flowing) {\n do {\n var chunk = stream.read();\n } while (null !== chunk && state.flowing);\n }\n }\n Readable.prototype.wrap = function(stream) {\n var state = this._readableState;\n var paused = false;\n var self = this;\n stream.on('end', function() {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length)\n self.push(chunk);\n }\n self.push(null);\n });\n stream.on('data', function(chunk) {\n debug('wrapped data');\n if (state.decoder)\n chunk = state.decoder.write(chunk);\n if (!chunk || !state.objectMode && !chunk.length)\n return;\n var ret = self.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n for (var i in stream) {\n if (util.isFunction(stream[i]) && util.isUndefined(this[i])) {\n this[i] = function(method) {\n return function() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n var events = ['error', 'close', 'destroy', 'pause', 'resume'];\n forEach(events, function(ev) {\n stream.on(ev, self.emit.bind(self, ev));\n });\n self._read = function(n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n return self;\n };\n Readable._fromList = fromList;\n function fromList(n, state) {\n var list = state.buffer;\n var length = state.length;\n var stringMode = !!state.decoder;\n var objectMode = !!state.objectMode;\n var ret;\n if (list.length === 0)\n return null;\n if (length === 0)\n ret = null;\n else if (objectMode)\n ret = list.shift();\n else if (!n || n >= length) {\n if (stringMode)\n ret = list.join('');\n else\n ret = Buffer.concat(list, length);\n list.length = 0;\n } else {\n if (n < list[0].length) {\n var buf = list[0];\n ret = buf.slice(0, n);\n list[0] = buf.slice(n);\n } else if (n === list[0].length) {\n ret = list.shift();\n } else {\n if (stringMode)\n ret = '';\n else\n ret = new Buffer(n);\n var c = 0;\n for (var i = 0,\n l = list.length; i < l && c < n; i++) {\n var buf = list[0];\n var cpy = Math.min(n - c, buf.length);\n if (stringMode)\n ret += buf.slice(0, cpy);\n else\n buf.copy(ret, c, 0, cpy);\n if (cpy < buf.length)\n list[0] = buf.slice(cpy);\n else\n list.shift();\n c += cpy;\n }\n }\n }\n return ret;\n }\n function endReadable(stream) {\n var state = stream._readableState;\n if (state.length > 0)\n throw new Error('endReadable called on non-empty stream');\n if (!state.endEmitted) {\n state.ended = true;\n process.nextTick(function() {\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n });\n }\n }\n function forEach(xs, f) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n }\n function indexOf(xs, x) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n if (xs[i] === x)\n return i;\n }\n return -1;\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(Buffer, process) {\n module.exports = Writable;\n var Buffer = require('buffer').Buffer;\n Writable.WritableState = WritableState;\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var Stream = require('stream-browserify/index');\n util.inherits(Writable, Stream);\n function WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n }\n function WritableState(options, stream) {\n var Duplex = require('./_stream_duplex');\n options = options || {};\n var hwm = options.highWaterMark;\n var defaultHwm = options.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = (hwm || hwm === 0) ? hwm : defaultHwm;\n this.objectMode = !!options.objectMode;\n if (stream instanceof Duplex)\n this.objectMode = this.objectMode || !!options.writableObjectMode;\n this.highWaterMark = ~~this.highWaterMark;\n this.needDrain = false;\n this.ending = false;\n this.ended = false;\n this.finished = false;\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n this.length = 0;\n this.writing = false;\n this.corked = 0;\n this.sync = true;\n this.bufferProcessing = false;\n this.onwrite = function(er) {\n onwrite(stream, er);\n };\n this.writecb = null;\n this.writelen = 0;\n this.buffer = [];\n this.pendingcb = 0;\n this.prefinished = false;\n this.errorEmitted = false;\n }\n function Writable(options) {\n var Duplex = require('./_stream_duplex');\n if (!(this instanceof Writable) && !(this instanceof Duplex))\n return new Writable(options);\n this._writableState = new WritableState(options, this);\n this.writable = true;\n Stream.call(this);\n }\n Writable.prototype.pipe = function() {\n this.emit('error', new Error('Cannot pipe. Not readable.'));\n };\n function writeAfterEnd(stream, state, cb) {\n var er = new Error('write after end');\n stream.emit('error', er);\n process.nextTick(function() {\n cb(er);\n });\n }\n function validChunk(stream, state, chunk, cb) {\n var valid = true;\n if (!util.isBuffer(chunk) && !util.isString(chunk) && !util.isNullOrUndefined(chunk) && !state.objectMode) {\n var er = new TypeError('Invalid non-string/buffer chunk');\n stream.emit('error', er);\n process.nextTick(function() {\n cb(er);\n });\n valid = false;\n }\n return valid;\n }\n Writable.prototype.write = function(chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n if (util.isFunction(encoding)) {\n cb = encoding;\n encoding = null;\n }\n if (util.isBuffer(chunk))\n encoding = 'buffer';\n else if (!encoding)\n encoding = state.defaultEncoding;\n if (!util.isFunction(cb))\n cb = function() {};\n if (state.ended)\n writeAfterEnd(this, state, cb);\n else if (validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, chunk, encoding, cb);\n }\n return ret;\n };\n Writable.prototype.cork = function() {\n var state = this._writableState;\n state.corked++;\n };\n Writable.prototype.uncork = function() {\n var state = this._writableState;\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.buffer.length)\n clearBuffer(this, state);\n }\n };\n function decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && util.isString(chunk)) {\n chunk = new Buffer(chunk, encoding);\n }\n return chunk;\n }\n function writeOrBuffer(stream, state, chunk, encoding, cb) {\n chunk = decodeChunk(state, chunk, encoding);\n if (util.isBuffer(chunk))\n encoding = 'buffer';\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark;\n if (!ret)\n state.needDrain = true;\n if (state.writing || state.corked)\n state.buffer.push(new WriteReq(chunk, encoding, cb));\n else\n doWrite(stream, state, false, len, chunk, encoding, cb);\n return ret;\n }\n function doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev)\n stream._writev(chunk, state.onwrite);\n else\n stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n }\n function onwriteError(stream, state, sync, er, cb) {\n if (sync)\n process.nextTick(function() {\n state.pendingcb--;\n cb(er);\n });\n else {\n state.pendingcb--;\n cb(er);\n }\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n }\n function onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n }\n function onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n onwriteStateUpdate(state);\n if (er)\n onwriteError(stream, state, sync, er, cb);\n else {\n var finished = needFinish(stream, state);\n if (!finished && !state.corked && !state.bufferProcessing && state.buffer.length) {\n clearBuffer(stream, state);\n }\n if (sync) {\n process.nextTick(function() {\n afterWrite(stream, state, finished, cb);\n });\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n }\n function afterWrite(stream, state, finished, cb) {\n if (!finished)\n onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n }\n function onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n }\n function clearBuffer(stream, state) {\n state.bufferProcessing = true;\n if (stream._writev && state.buffer.length > 1) {\n var cbs = [];\n for (var c = 0; c < state.buffer.length; c++)\n cbs.push(state.buffer[c].callback);\n state.pendingcb++;\n doWrite(stream, state, true, state.length, state.buffer, '', function(err) {\n for (var i = 0; i < cbs.length; i++) {\n state.pendingcb--;\n cbs[i](err);\n }\n });\n state.buffer = [];\n } else {\n for (var c = 0; c < state.buffer.length; c++) {\n var entry = state.buffer[c];\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n if (state.writing) {\n c++;\n break;\n }\n }\n if (c < state.buffer.length)\n state.buffer = state.buffer.slice(c);\n else\n state.buffer.length = 0;\n }\n state.bufferProcessing = false;\n }\n Writable.prototype._write = function(chunk, encoding, cb) {\n cb(new Error('not implemented'));\n };\n Writable.prototype._writev = null;\n Writable.prototype.end = function(chunk, encoding, cb) {\n var state = this._writableState;\n if (util.isFunction(chunk)) {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (util.isFunction(encoding)) {\n cb = encoding;\n encoding = null;\n }\n if (!util.isNullOrUndefined(chunk))\n this.write(chunk, encoding);\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n if (!state.ending && !state.finished)\n endWritable(this, state, cb);\n };\n function needFinish(stream, state) {\n return (state.ending && state.length === 0 && !state.finished && !state.writing);\n }\n function prefinish(stream, state) {\n if (!state.prefinished) {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n function finishMaybe(stream, state) {\n var need = needFinish(stream, state);\n if (need) {\n if (state.pendingcb === 0) {\n prefinish(stream, state);\n state.finished = true;\n stream.emit('finish');\n } else\n prefinish(stream, state);\n }\n return need;\n }\n function endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished)\n process.nextTick(cb);\n else\n stream.once('finish', cb);\n }\n state.ended = true;\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(process) {\n module.exports = Duplex;\n var objectKeys = Object.keys || function(obj) {\n var keys = [];\n for (var key in obj)\n keys.push(key);\n return keys;\n };\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var Readable = require('./_stream_readable');\n var Writable = require('./_stream_writable');\n util.inherits(Duplex, Readable);\n forEach(objectKeys(Writable.prototype), function(method) {\n if (!Duplex.prototype[method])\n Duplex.prototype[method] = Writable.prototype[method];\n });\n function Duplex(options) {\n if (!(this instanceof Duplex))\n return new Duplex(options);\n Readable.call(this, options);\n Writable.call(this, options);\n if (options && options.readable === false)\n this.readable = false;\n if (options && options.writable === false)\n this.writable = false;\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false)\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n function onend() {\n if (this.allowHalfOpen || this._writableState.ended)\n return;\n process.nextTick(this.end.bind(this));\n }\n function forEach(xs, f) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n }\n})(require('process'));\n","/* */ \n(function(process) {\n module.exports = Transform;\n var Duplex = require('./_stream_duplex');\n var util = require('core-util-is');\n util.inherits = require('inherits');\n util.inherits(Transform, Duplex);\n function TransformState(options, stream) {\n this.afterTransform = function(er, data) {\n return afterTransform(stream, er, data);\n };\n this.needTransform = false;\n this.transforming = false;\n this.writecb = null;\n this.writechunk = null;\n }\n function afterTransform(stream, er, data) {\n var ts = stream._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n if (!cb)\n return stream.emit('error', new Error('no writecb in Transform class'));\n ts.writechunk = null;\n ts.writecb = null;\n if (!util.isNullOrUndefined(data))\n stream.push(data);\n if (cb)\n cb(er);\n var rs = stream._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n stream._read(rs.highWaterMark);\n }\n }\n function Transform(options) {\n if (!(this instanceof Transform))\n return new Transform(options);\n Duplex.call(this, options);\n this._transformState = new TransformState(options, this);\n var stream = this;\n this._readableState.needReadable = true;\n this._readableState.sync = false;\n this.once('prefinish', function() {\n if (util.isFunction(this._flush))\n this._flush(function(er) {\n done(stream, er);\n });\n else\n done(stream);\n });\n }\n Transform.prototype.push = function(chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n };\n Transform.prototype._transform = function(chunk, encoding, cb) {\n throw new Error('not implemented');\n };\n Transform.prototype._write = function(chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark)\n this._read(rs.highWaterMark);\n }\n };\n Transform.prototype._read = function(n) {\n var ts = this._transformState;\n if (!util.isNull(ts.writechunk) && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n ts.needTransform = true;\n }\n };\n function done(stream, er) {\n if (er)\n return stream.emit('error', er);\n var ws = stream._writableState;\n var ts = stream._transformState;\n if (ws.length)\n throw new Error('calling transform done when ws.length != 0');\n if (ts.transforming)\n throw new Error('calling transform done when still transforming');\n return stream.push(null);\n }\n})(require('process'));\n","/* */ \n(function(Buffer) {\n function isArray(arg) {\n if (Array.isArray) {\n return Array.isArray(arg);\n }\n return objectToString(arg) === '[object Array]';\n }\n exports.isArray = isArray;\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n exports.isBoolean = isBoolean;\n function isNull(arg) {\n return arg === null;\n }\n exports.isNull = isNull;\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n exports.isNullOrUndefined = isNullOrUndefined;\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n exports.isNumber = isNumber;\n function isString(arg) {\n return typeof arg === 'string';\n }\n exports.isString = isString;\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n exports.isSymbol = isSymbol;\n function isUndefined(arg) {\n return arg === void 0;\n }\n exports.isUndefined = isUndefined;\n function isRegExp(re) {\n return objectToString(re) === '[object RegExp]';\n }\n exports.isRegExp = isRegExp;\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n exports.isObject = isObject;\n function isDate(d) {\n return objectToString(d) === '[object Date]';\n }\n exports.isDate = isDate;\n function isError(e) {\n return (objectToString(e) === '[object Error]' || e instanceof Error);\n }\n exports.isError = isError;\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n exports.isFunction = isFunction;\n function isPrimitive(arg) {\n return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || typeof arg === 'symbol' || typeof arg === 'undefined';\n }\n exports.isPrimitive = isPrimitive;\n exports.isBuffer = Buffer.isBuffer;\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n})(require('buffer').Buffer);\n","module.exports = require(\"npm:core-util-is@1.0.2/lib/util.js\");","/* */ \nmodule.exports = PassThrough;\nvar Transform = require('./_stream_transform');\nvar util = require('core-util-is');\nutil.inherits = require('inherits');\nutil.inherits(PassThrough, Transform);\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough))\n return new PassThrough(options);\n Transform.call(this, options);\n}\nPassThrough.prototype._transform = function(chunk, encoding, cb) {\n cb(null, chunk);\n};\n","/* */ \nmodule.exports = require('./lib/_stream_passthrough');\n","/* */ \nmodule.exports = Stream;\nvar EE = require('events').EventEmitter;\nvar inherits = require('inherits');\ninherits(Stream, EE);\nStream.Readable = require('readable-stream/readable');\nStream.Writable = require('readable-stream/writable');\nStream.Duplex = require('readable-stream/duplex');\nStream.Transform = require('readable-stream/transform');\nStream.PassThrough = require('readable-stream/passthrough');\nStream.Stream = Stream;\nfunction Stream() {\n EE.call(this);\n}\nStream.prototype.pipe = function(dest, options) {\n var source = this;\n function ondata(chunk) {\n if (dest.writable) {\n if (false === dest.write(chunk) && source.pause) {\n source.pause();\n }\n }\n }\n source.on('data', ondata);\n function ondrain() {\n if (source.readable && source.resume) {\n source.resume();\n }\n }\n dest.on('drain', ondrain);\n if (!dest._isStdio && (!options || options.end !== false)) {\n source.on('end', onend);\n source.on('close', onclose);\n }\n var didOnEnd = false;\n function onend() {\n if (didOnEnd)\n return;\n didOnEnd = true;\n dest.end();\n }\n function onclose() {\n if (didOnEnd)\n return;\n didOnEnd = true;\n if (typeof dest.destroy === 'function')\n dest.destroy();\n }\n function onerror(er) {\n cleanup();\n if (EE.listenerCount(this, 'error') === 0) {\n throw er;\n }\n }\n source.on('error', onerror);\n dest.on('error', onerror);\n function cleanup() {\n source.removeListener('data', ondata);\n dest.removeListener('drain', ondrain);\n source.removeListener('end', onend);\n source.removeListener('close', onclose);\n source.removeListener('error', onerror);\n dest.removeListener('error', onerror);\n source.removeListener('end', cleanup);\n source.removeListener('close', cleanup);\n dest.removeListener('close', cleanup);\n }\n source.on('end', cleanup);\n source.on('close', cleanup);\n dest.on('close', cleanup);\n dest.emit('pipe', source);\n return dest;\n};\n","module.exports = require(\"npm:stream-browserify@1.0.0/index.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('stream') : require('stream-browserify');","module.exports = require(\"github:jspm/nodelibs-stream@0.1.0/index\");","/* */ \nvar Stream = require('stream');\nvar util = require('util');\nvar Response = module.exports = function(res) {\n this.offset = 0;\n this.readable = true;\n};\nutil.inherits(Response, Stream);\nvar capable = {\n streaming: true,\n status2: true\n};\nfunction parseHeaders(res) {\n var lines = res.getAllResponseHeaders().split(/\\r?\\n/);\n var headers = {};\n for (var i = 0; i < lines.length; i++) {\n var line = lines[i];\n if (line === '')\n continue;\n var m = line.match(/^([^:]+):\\s*(.*)/);\n if (m) {\n var key = m[1].toLowerCase(),\n value = m[2];\n if (headers[key] !== undefined) {\n if (isArray(headers[key])) {\n headers[key].push(value);\n } else {\n headers[key] = [headers[key], value];\n }\n } else {\n headers[key] = value;\n }\n } else {\n headers[line] = true;\n }\n }\n return headers;\n}\nResponse.prototype.getResponse = function(xhr) {\n var respType = String(xhr.responseType).toLowerCase();\n if (respType === 'blob')\n return xhr.responseBlob || xhr.response;\n if (respType === 'arraybuffer')\n return xhr.response;\n return xhr.responseText;\n};\nResponse.prototype.getHeader = function(key) {\n return this.headers[key.toLowerCase()];\n};\nResponse.prototype.handle = function(res) {\n if (res.readyState === 2 && capable.status2) {\n try {\n this.statusCode = res.status;\n this.headers = parseHeaders(res);\n } catch (err) {\n capable.status2 = false;\n }\n if (capable.status2) {\n this.emit('ready');\n }\n } else if (capable.streaming && res.readyState === 3) {\n try {\n if (!this.statusCode) {\n this.statusCode = res.status;\n this.headers = parseHeaders(res);\n this.emit('ready');\n }\n } catch (err) {}\n try {\n this._emitData(res);\n } catch (err) {\n capable.streaming = false;\n }\n } else if (res.readyState === 4) {\n if (!this.statusCode) {\n this.statusCode = res.status;\n this.emit('ready');\n }\n this._emitData(res);\n if (res.error) {\n this.emit('error', this.getResponse(res));\n } else\n this.emit('end');\n this.emit('close');\n }\n};\nResponse.prototype._emitData = function(res) {\n var respBody = this.getResponse(res);\n if (respBody.toString().match(/ArrayBuffer/)) {\n this.emit('data', new Uint8Array(respBody, this.offset));\n this.offset = respBody.byteLength;\n return;\n }\n if (respBody.length > this.offset) {\n this.emit('data', respBody.slice(this.offset));\n this.offset = respBody.length;\n }\n};\nvar isArray = Array.isArray || function(xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n","/* */ \n\"format cjs\";\n;(function () {\n\n var object = typeof exports != 'undefined' ? exports : this; // #8: web workers\n var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\n function InvalidCharacterError(message) {\n this.message = message;\n }\n InvalidCharacterError.prototype = new Error;\n InvalidCharacterError.prototype.name = 'InvalidCharacterError';\n\n // encoder\n // [https://gist.github.com/999166] by [https://github.com/nignag]\n object.btoa || (\n object.btoa = function (input) {\n for (\n // initialize result and counter\n var block, charCode, idx = 0, map = chars, output = '';\n // if the next input index does not exist:\n // change the mapping table to \"=\"\n // check if d has no fractional digits\n input.charAt(idx | 0) || (map = '=', idx % 1);\n // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n output += map.charAt(63 & block >> 8 - idx % 1 * 8)\n ) {\n charCode = input.charCodeAt(idx += 3/4);\n if (charCode > 0xFF) {\n throw new InvalidCharacterError(\"'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.\");\n }\n block = block << 8 | charCode;\n }\n return output;\n });\n\n // decoder\n // [https://gist.github.com/1020396] by [https://github.com/atk]\n object.atob || (\n object.atob = function (input) {\n input = input.replace(/=+$/, '');\n if (input.length % 4 == 1) {\n throw new InvalidCharacterError(\"'atob' failed: The string to be decoded is not correctly encoded.\");\n }\n for (\n // initialize result and counters\n var bc = 0, bs, buffer, idx = 0, output = '';\n // get next character\n buffer = input.charAt(idx++);\n // character found in table? initialize bit storage and add its ascii value;\n ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n // and if not first of each 4 characters,\n // convert the first 8 bits to one ascii character\n bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0\n ) {\n // try to find character in table (0-63, not found => -1)\n buffer = chars.indexOf(buffer);\n }\n return output;\n });\n\n}());\n","module.exports = require(\"npm:Base64@0.2.1/base64.js\");","/* */ \nvar Stream = require('stream');\nvar Response = require('./response');\nvar Base64 = require('Base64');\nvar inherits = require('inherits');\nvar Request = module.exports = function(xhr, params) {\n var self = this;\n self.writable = true;\n self.xhr = xhr;\n self.body = [];\n self.uri = (params.protocol || 'http:') + '//' + params.host + (params.port ? ':' + params.port : '') + (params.path || '/');\n ;\n if (typeof params.withCredentials === 'undefined') {\n params.withCredentials = true;\n }\n try {\n xhr.withCredentials = params.withCredentials;\n } catch (e) {}\n if (params.responseType)\n try {\n xhr.responseType = params.responseType;\n } catch (e) {}\n xhr.open(params.method || 'GET', self.uri, true);\n xhr.onerror = function(event) {\n self.emit('error', new Error('Network error'));\n };\n self._headers = {};\n if (params.headers) {\n var keys = objectKeys(params.headers);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!self.isSafeRequestHeader(key))\n continue;\n var value = params.headers[key];\n self.setHeader(key, value);\n }\n }\n if (params.auth) {\n this.setHeader('Authorization', 'Basic ' + Base64.btoa(params.auth));\n }\n var res = new Response;\n res.on('close', function() {\n self.emit('close');\n });\n res.on('ready', function() {\n self.emit('response', res);\n });\n res.on('error', function(err) {\n self.emit('error', err);\n });\n xhr.onreadystatechange = function() {\n if (xhr.__aborted)\n return;\n res.handle(xhr);\n };\n};\ninherits(Request, Stream);\nRequest.prototype.setHeader = function(key, value) {\n this._headers[key.toLowerCase()] = value;\n};\nRequest.prototype.getHeader = function(key) {\n return this._headers[key.toLowerCase()];\n};\nRequest.prototype.removeHeader = function(key) {\n delete this._headers[key.toLowerCase()];\n};\nRequest.prototype.write = function(s) {\n this.body.push(s);\n};\nRequest.prototype.destroy = function(s) {\n this.xhr.__aborted = true;\n this.xhr.abort();\n this.emit('close');\n};\nRequest.prototype.end = function(s) {\n if (s !== undefined)\n this.body.push(s);\n var keys = objectKeys(this._headers);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = this._headers[key];\n if (isArray(value)) {\n for (var j = 0; j < value.length; j++) {\n this.xhr.setRequestHeader(key, value[j]);\n }\n } else\n this.xhr.setRequestHeader(key, value);\n }\n if (this.body.length === 0) {\n this.xhr.send('');\n } else if (typeof this.body[0] === 'string') {\n this.xhr.send(this.body.join(''));\n } else if (isArray(this.body[0])) {\n var body = [];\n for (var i = 0; i < this.body.length; i++) {\n body.push.apply(body, this.body[i]);\n }\n this.xhr.send(body);\n } else if (/Array/.test(Object.prototype.toString.call(this.body[0]))) {\n var len = 0;\n for (var i = 0; i < this.body.length; i++) {\n len += this.body[i].length;\n }\n var body = new (this.body[0].constructor)(len);\n var k = 0;\n for (var i = 0; i < this.body.length; i++) {\n var b = this.body[i];\n for (var j = 0; j < b.length; j++) {\n body[k++] = b[j];\n }\n }\n this.xhr.send(body);\n } else if (isXHR2Compatible(this.body[0])) {\n this.xhr.send(this.body[0]);\n } else {\n var body = '';\n for (var i = 0; i < this.body.length; i++) {\n body += this.body[i].toString();\n }\n this.xhr.send(body);\n }\n};\nRequest.unsafeHeaders = [\"accept-charset\", \"accept-encoding\", \"access-control-request-headers\", \"access-control-request-method\", \"connection\", \"content-length\", \"cookie\", \"cookie2\", \"content-transfer-encoding\", \"date\", \"expect\", \"host\", \"keep-alive\", \"origin\", \"referer\", \"te\", \"trailer\", \"transfer-encoding\", \"upgrade\", \"user-agent\", \"via\"];\nRequest.prototype.isSafeRequestHeader = function(headerName) {\n if (!headerName)\n return false;\n return indexOf(Request.unsafeHeaders, headerName.toLowerCase()) === -1;\n};\nvar objectKeys = Object.keys || function(obj) {\n var keys = [];\n for (var key in obj)\n keys.push(key);\n return keys;\n};\nvar isArray = Array.isArray || function(xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\nvar indexOf = function(xs, x) {\n if (xs.indexOf)\n return xs.indexOf(x);\n for (var i = 0; i < xs.length; i++) {\n if (xs[i] === x)\n return i;\n }\n return -1;\n};\nvar isXHR2Compatible = function(obj) {\n if (typeof Blob !== 'undefined' && obj instanceof Blob)\n return true;\n if (typeof ArrayBuffer !== 'undefined' && obj instanceof ArrayBuffer)\n return true;\n if (typeof FormData !== 'undefined' && obj instanceof FormData)\n return true;\n};\n","/* */ \nif (System._nodeRequire) {\n module.exports = System._nodeRequire('http');\n} else {\n var http = module.exports;\n var EventEmitter = require('events').EventEmitter;\n var Request = require('./lib/request');\n var url = require('url');\n http.request = function(params, cb) {\n if (typeof params === 'string') {\n params = url.parse(params);\n }\n if (!params)\n params = {};\n if (!params.host && !params.port) {\n params.port = parseInt(window.location.port, 10);\n }\n if (!params.host && params.hostname) {\n params.host = params.hostname;\n }\n if (!params.protocol) {\n if (params.scheme) {\n params.protocol = params.scheme + ':';\n } else {\n params.protocol = window.location.protocol;\n }\n }\n if (!params.host) {\n params.host = window.location.hostname || window.location.host;\n }\n if (/:/.test(params.host)) {\n if (!params.port) {\n params.port = params.host.split(':')[1];\n }\n params.host = params.host.split(':')[0];\n }\n if (!params.port)\n params.port = params.protocol == 'https:' ? 443 : 80;\n var req = new Request(new xhrHttp, params);\n if (cb)\n req.on('response', cb);\n return req;\n };\n http.get = function(params, cb) {\n params.method = 'GET';\n var req = http.request(params, cb);\n req.end();\n return req;\n };\n http.Agent = function() {};\n http.Agent.defaultMaxSockets = 4;\n var xhrHttp = (function() {\n if (typeof window === 'undefined') {\n throw new Error('no window object present');\n } else if (window.XMLHttpRequest) {\n return window.XMLHttpRequest;\n } else if (window.ActiveXObject) {\n var axs = ['Msxml2.XMLHTTP.6.0', 'Msxml2.XMLHTTP.3.0', 'Microsoft.XMLHTTP'];\n for (var i = 0; i < axs.length; i++) {\n try {\n var ax = new (window.ActiveXObject)(axs[i]);\n return function() {\n if (ax) {\n var ax_ = ax;\n ax = null;\n return ax_;\n } else {\n return new (window.ActiveXObject)(axs[i]);\n }\n };\n } catch (e) {}\n }\n throw new Error('ajax not supported in this browser');\n } else {\n throw new Error('ajax not supported in this browser');\n }\n })();\n http.STATUS_CODES = {\n 100: 'Continue',\n 101: 'Switching Protocols',\n 102: 'Processing',\n 200: 'OK',\n 201: 'Created',\n 202: 'Accepted',\n 203: 'Non-Authoritative Information',\n 204: 'No Content',\n 205: 'Reset Content',\n 206: 'Partial Content',\n 207: 'Multi-Status',\n 300: 'Multiple Choices',\n 301: 'Moved Permanently',\n 302: 'Moved Temporarily',\n 303: 'See Other',\n 304: 'Not Modified',\n 305: 'Use Proxy',\n 307: 'Temporary Redirect',\n 400: 'Bad Request',\n 401: 'Unauthorized',\n 402: 'Payment Required',\n 403: 'Forbidden',\n 404: 'Not Found',\n 405: 'Method Not Allowed',\n 406: 'Not Acceptable',\n 407: 'Proxy Authentication Required',\n 408: 'Request Time-out',\n 409: 'Conflict',\n 410: 'Gone',\n 411: 'Length Required',\n 412: 'Precondition Failed',\n 413: 'Request Entity Too Large',\n 414: 'Request-URI Too Large',\n 415: 'Unsupported Media Type',\n 416: 'Requested Range Not Satisfiable',\n 417: 'Expectation Failed',\n 418: 'I\\'m a teapot',\n 422: 'Unprocessable Entity',\n 423: 'Locked',\n 424: 'Failed Dependency',\n 425: 'Unordered Collection',\n 426: 'Upgrade Required',\n 428: 'Precondition Required',\n 429: 'Too Many Requests',\n 431: 'Request Header Fields Too Large',\n 500: 'Internal Server Error',\n 501: 'Not Implemented',\n 502: 'Bad Gateway',\n 503: 'Service Unavailable',\n 504: 'Gateway Time-out',\n 505: 'HTTP Version Not Supported',\n 506: 'Variant Also Negotiates',\n 507: 'Insufficient Storage',\n 509: 'Bandwidth Limit Exceeded',\n 510: 'Not Extended',\n 511: 'Network Authentication Required'\n };\n}\n","module.exports = require(\"github:jspm/nodelibs-http@1.7.1/index.js\");","/* */ \nvar http = require('http');\nvar https = module.exports;\nfor (var key in http) {\n if (http.hasOwnProperty(key))\n https[key] = http[key];\n}\n;\nhttps.request = function(params, cb) {\n if (!params)\n params = {};\n params.scheme = 'https';\n return http.request.call(this, params, cb);\n};\n","module.exports = require(\"npm:https-browserify@0.0.0/index.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('https') : require('https-browserify');","module.exports = require(\"github:jspm/nodelibs-https@0.1.0/index\");","/* */ \n(function(Buffer, process) {\n 'use strict';\n var http = require('npm:stream-http@2.3.0'),\n https = require('https'),\n ono = require('ono'),\n url = require('../util/url'),\n debug = require('../util/debug'),\n Promise = require('../util/promise');\n module.exports = {\n order: 200,\n headers: null,\n timeout: 5000,\n redirects: 5,\n withCredentials: false,\n canRead: function isHttp(file) {\n return url.isHttp(file.url);\n },\n read: function readHttp(file) {\n var u = url.parse(file.url);\n if (process.browser && !u.protocol) {\n u.protocol = url.parse(location.href).protocol;\n }\n return download(u, this);\n }\n };\n function download(u, httpOptions, redirects) {\n return new Promise(function(resolve, reject) {\n u = url.parse(u);\n redirects = redirects || [];\n redirects.push(u.href);\n get(u, httpOptions).then(function(res) {\n if (res.statusCode >= 400) {\n throw ono({status: res.statusCode}, 'HTTP ERROR %d', res.statusCode);\n } else if (res.statusCode >= 300) {\n if (redirects.length > httpOptions.redirects) {\n reject(ono({status: res.statusCode}, 'Error downloading %s. \\nToo many redirects: \\n %s', redirects[0], redirects.join(' \\n ')));\n } else if (!res.headers.location) {\n throw ono({status: res.statusCode}, 'HTTP %d redirect with no location header', res.statusCode);\n } else {\n debug('HTTP %d redirect %s -> %s', res.statusCode, u.href, res.headers.location);\n var redirectTo = url.resolve(u, res.headers.location);\n download(redirectTo, httpOptions, redirects).then(resolve, reject);\n }\n } else {\n resolve(res.body || new Buffer(0));\n }\n }).catch(function(err) {\n reject(ono(err, 'Error downloading', u.href));\n });\n });\n }\n function get(u, httpOptions) {\n return new Promise(function(resolve, reject) {\n debug('GET', u.href);\n var protocol = u.protocol === 'https:' ? https : http;\n var req = protocol.get({\n hostname: u.hostname,\n port: u.port,\n path: u.path,\n auth: u.auth,\n headers: httpOptions.headers || {},\n withCredentials: httpOptions.withCredentials\n });\n if (typeof req.setTimeout === 'function') {\n req.setTimeout(httpOptions.timeout);\n }\n req.on('timeout', function() {\n req.abort();\n });\n req.on('error', reject);\n req.once('response', function(res) {\n res.body = new Buffer(0);\n res.on('data', function(data) {\n res.body = Buffer.concat([res.body, new Buffer(data)]);\n });\n res.on('error', reject);\n res.on('end', function() {\n resolve(res);\n });\n });\n });\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(Buffer, process) {\n 'use strict';\n module.exports = {\n order: 100,\n canValidate: function canValidate(file) {\n return !!file.resolved;\n },\n validate: function validate(file) {}\n };\n})(require('buffer').Buffer, require('process'));\n","/* */ \n'use strict';\nvar jsonParser = require('./parsers/json'),\n yamlParser = require('./parsers/yaml'),\n textParser = require('./parsers/text'),\n binaryParser = require('./parsers/binary'),\n fileResolver = require('./resolvers/file'),\n httpResolver = require('./resolvers/http'),\n zschemaValidator = require('./validators/z-schema');\nmodule.exports = $RefParserOptions;\nfunction $RefParserOptions(options) {\n merge(this, $RefParserOptions.defaults);\n merge(this, options);\n}\n$RefParserOptions.defaults = {\n parse: {\n json: jsonParser,\n yaml: yamlParser,\n text: textParser,\n binary: binaryParser\n },\n resolve: {\n file: fileResolver,\n http: httpResolver,\n external: true\n },\n dereference: {circular: true},\n validate: {zschema: zschemaValidator}\n};\nfunction merge(target, source) {\n if (isMergeable(source)) {\n var keys = Object.keys(source);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var sourceSetting = source[key];\n var targetSetting = target[key];\n if (isMergeable(sourceSetting)) {\n target[key] = merge(targetSetting || {}, sourceSetting);\n } else if (sourceSetting !== undefined) {\n target[key] = sourceSetting;\n }\n }\n }\n return target;\n}\nfunction isMergeable(val) {\n return val && (typeof val === 'object') && !Array.isArray(val) && !(val instanceof RegExp) && !(val instanceof Date);\n}\n","/* */ \n'use strict';\nvar ono = require('ono'),\n $Ref = require('./ref'),\n url = require('./util/url');\nmodule.exports = $Refs;\nfunction $Refs() {\n this.circular = false;\n this._$refs = {};\n this._root$Ref = null;\n}\n$Refs.prototype.paths = function(types) {\n var paths = getPaths(this._$refs, arguments);\n return paths.map(function(path) {\n return path.decoded;\n });\n};\n$Refs.prototype.values = function(types) {\n var $refs = this._$refs;\n var paths = getPaths($refs, arguments);\n return paths.reduce(function(obj, path) {\n obj[path.decoded] = $refs[path.encoded].value;\n return obj;\n }, {});\n};\n$Refs.prototype.toJSON = $Refs.prototype.values;\n$Refs.prototype.exists = function(path, options) {\n try {\n this._resolve(path, options);\n return true;\n } catch (e) {\n return false;\n }\n};\n$Refs.prototype.get = function(path, options) {\n return this._resolve(path, options).value;\n};\n$Refs.prototype.set = function(path, value) {\n path = url.resolve(this._root$Ref.path, path);\n var withoutHash = url.stripHash(path);\n var $ref = this._$refs[withoutHash];\n if (!$ref) {\n throw ono('Error resolving $ref pointer \"%s\". \\n\"%s\" not found.', path, withoutHash);\n }\n $ref.set(path, value);\n};\n$Refs.prototype._add = function(path, value) {\n var withoutHash = url.stripHash(path);\n var $ref = new $Ref();\n $ref.path = withoutHash;\n $ref.value = value;\n $ref.$refs = this;\n this._$refs[withoutHash] = $ref;\n this._root$Ref = this._root$Ref || $ref;\n return $ref;\n};\n$Refs.prototype._resolve = function(path, options) {\n path = url.resolve(this._root$Ref.path, path);\n var withoutHash = url.stripHash(path);\n var $ref = this._$refs[withoutHash];\n if (!$ref) {\n throw ono('Error resolving $ref pointer \"%s\". \\n\"%s\" not found.', path, withoutHash);\n }\n return $ref.resolve(path, options);\n};\n$Refs.prototype._get$Ref = function(path) {\n path = url.resolve(this._root$Ref.path, path);\n var withoutHash = url.stripHash(path);\n return this._$refs[withoutHash];\n};\nfunction getPaths($refs, types) {\n var paths = Object.keys($refs);\n types = Array.isArray(types[0]) ? types[0] : Array.prototype.slice.call(types);\n if (types.length > 0 && types[0]) {\n paths = paths.filter(function(key) {\n return types.indexOf($refs[key].pathType) !== -1;\n });\n }\n return paths.map(function(path) {\n return {\n encoded: path,\n decoded: $refs[path].pathType === 'file' ? url.toFileSystemPath(path, true) : path\n };\n });\n}\n","/* */ \n'use strict';\nvar Promise = require('./promise'),\n debug = require('./debug');\nexports.all = function(plugins) {\n return Object.keys(plugins).filter(function(key) {\n return typeof plugins[key] === 'object';\n }).map(function(key) {\n plugins[key].name = key;\n return plugins[key];\n });\n};\nexports.filter = function(plugins, method, file) {\n return plugins.filter(function(plugin) {\n return !!getResult(plugin, method, file);\n });\n};\nexports.sort = function(plugins) {\n plugins.forEach(function(plugin) {\n plugin.order = plugin.order || Number.MAX_SAFE_INTEGER;\n });\n return plugins.sort(function(a, b) {\n return a.order - b.order;\n });\n};\nexports.run = function(plugins, method, file) {\n var plugin,\n lastError,\n index = 0;\n return new Promise(function(resolve, reject) {\n runNextPlugin();\n function runNextPlugin() {\n plugin = plugins[index++];\n if (!plugin) {\n return reject(lastError);\n }\n try {\n debug(' %s', plugin.name);\n var result = getResult(plugin, method, file, callback);\n if (result && typeof result.then === 'function') {\n result.then(onSuccess, onError);\n } else if (result !== undefined) {\n onSuccess(result);\n }\n } catch (e) {\n onError(e);\n }\n }\n function callback(err, result) {\n if (err) {\n onError(err);\n } else {\n onSuccess(result);\n }\n }\n function onSuccess(result) {\n debug(' success');\n resolve({\n plugin: plugin,\n result: result\n });\n }\n function onError(err) {\n debug(' %s', err.message || err);\n lastError = err;\n runNextPlugin();\n }\n });\n};\nfunction getResult(obj, prop, file, callback) {\n var value = obj[prop];\n if (typeof value === 'function') {\n return value.apply(obj, [file, callback]);\n }\n if (!callback) {\n if (value instanceof RegExp) {\n return value.test(file.url);\n } else if (typeof value === 'string') {\n return value === file.extension;\n } else if (Array.isArray(value)) {\n return value.indexOf(file.extension) !== -1;\n }\n }\n return value;\n}\n","/* */ \n\"format cjs\";\n(function(process) {\n (function() {\n \"use strict\";\n function lib$es6$promise$utils$$objectOrFunction(x) {\n return typeof x === 'function' || (typeof x === 'object' && x !== null);\n }\n function lib$es6$promise$utils$$isFunction(x) {\n return typeof x === 'function';\n }\n function lib$es6$promise$utils$$isMaybeThenable(x) {\n return typeof x === 'object' && x !== null;\n }\n var lib$es6$promise$utils$$_isArray;\n if (!Array.isArray) {\n lib$es6$promise$utils$$_isArray = function(x) {\n return Object.prototype.toString.call(x) === '[object Array]';\n };\n } else {\n lib$es6$promise$utils$$_isArray = Array.isArray;\n }\n var lib$es6$promise$utils$$isArray = lib$es6$promise$utils$$_isArray;\n var lib$es6$promise$asap$$len = 0;\n var lib$es6$promise$asap$$vertxNext;\n var lib$es6$promise$asap$$customSchedulerFn;\n var lib$es6$promise$asap$$asap = function asap(callback, arg) {\n lib$es6$promise$asap$$queue[lib$es6$promise$asap$$len] = callback;\n lib$es6$promise$asap$$queue[lib$es6$promise$asap$$len + 1] = arg;\n lib$es6$promise$asap$$len += 2;\n if (lib$es6$promise$asap$$len === 2) {\n if (lib$es6$promise$asap$$customSchedulerFn) {\n lib$es6$promise$asap$$customSchedulerFn(lib$es6$promise$asap$$flush);\n } else {\n lib$es6$promise$asap$$scheduleFlush();\n }\n }\n };\n function lib$es6$promise$asap$$setScheduler(scheduleFn) {\n lib$es6$promise$asap$$customSchedulerFn = scheduleFn;\n }\n function lib$es6$promise$asap$$setAsap(asapFn) {\n lib$es6$promise$asap$$asap = asapFn;\n }\n var lib$es6$promise$asap$$browserWindow = (typeof window !== 'undefined') ? window : undefined;\n var lib$es6$promise$asap$$browserGlobal = lib$es6$promise$asap$$browserWindow || {};\n var lib$es6$promise$asap$$BrowserMutationObserver = lib$es6$promise$asap$$browserGlobal.MutationObserver || lib$es6$promise$asap$$browserGlobal.WebKitMutationObserver;\n var lib$es6$promise$asap$$isNode = typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n var lib$es6$promise$asap$$isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n function lib$es6$promise$asap$$useNextTick() {\n return function() {\n process.nextTick(lib$es6$promise$asap$$flush);\n };\n }\n function lib$es6$promise$asap$$useVertxTimer() {\n return function() {\n lib$es6$promise$asap$$vertxNext(lib$es6$promise$asap$$flush);\n };\n }\n function lib$es6$promise$asap$$useMutationObserver() {\n var iterations = 0;\n var observer = new lib$es6$promise$asap$$BrowserMutationObserver(lib$es6$promise$asap$$flush);\n var node = document.createTextNode('');\n observer.observe(node, {characterData: true});\n return function() {\n node.data = (iterations = ++iterations % 2);\n };\n }\n function lib$es6$promise$asap$$useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = lib$es6$promise$asap$$flush;\n return function() {\n channel.port2.postMessage(0);\n };\n }\n function lib$es6$promise$asap$$useSetTimeout() {\n return function() {\n setTimeout(lib$es6$promise$asap$$flush, 1);\n };\n }\n var lib$es6$promise$asap$$queue = new Array(1000);\n function lib$es6$promise$asap$$flush() {\n for (var i = 0; i < lib$es6$promise$asap$$len; i += 2) {\n var callback = lib$es6$promise$asap$$queue[i];\n var arg = lib$es6$promise$asap$$queue[i + 1];\n callback(arg);\n lib$es6$promise$asap$$queue[i] = undefined;\n lib$es6$promise$asap$$queue[i + 1] = undefined;\n }\n lib$es6$promise$asap$$len = 0;\n }\n function lib$es6$promise$asap$$attemptVertx() {\n try {\n var r = require;\n var vertx = r('vertx');\n lib$es6$promise$asap$$vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return lib$es6$promise$asap$$useVertxTimer();\n } catch (e) {\n return lib$es6$promise$asap$$useSetTimeout();\n }\n }\n var lib$es6$promise$asap$$scheduleFlush;\n if (lib$es6$promise$asap$$isNode) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useNextTick();\n } else if (lib$es6$promise$asap$$BrowserMutationObserver) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useMutationObserver();\n } else if (lib$es6$promise$asap$$isWorker) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useMessageChannel();\n } else if (lib$es6$promise$asap$$browserWindow === undefined && typeof require === 'function') {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$attemptVertx();\n } else {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useSetTimeout();\n }\n function lib$es6$promise$then$$then(onFulfillment, onRejection) {\n var parent = this;\n var state = parent._state;\n if (state === lib$es6$promise$$internal$$FULFILLED && !onFulfillment || state === lib$es6$promise$$internal$$REJECTED && !onRejection) {\n return this;\n }\n var child = new this.constructor(lib$es6$promise$$internal$$noop);\n var result = parent._result;\n if (state) {\n var callback = arguments[state - 1];\n lib$es6$promise$asap$$asap(function() {\n lib$es6$promise$$internal$$invokeCallback(state, child, callback, result);\n });\n } else {\n lib$es6$promise$$internal$$subscribe(parent, child, onFulfillment, onRejection);\n }\n return child;\n }\n var lib$es6$promise$then$$default = lib$es6$promise$then$$then;\n function lib$es6$promise$promise$resolve$$resolve(object) {\n var Constructor = this;\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n var promise = new Constructor(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$resolve(promise, object);\n return promise;\n }\n var lib$es6$promise$promise$resolve$$default = lib$es6$promise$promise$resolve$$resolve;\n function lib$es6$promise$$internal$$noop() {}\n var lib$es6$promise$$internal$$PENDING = void 0;\n var lib$es6$promise$$internal$$FULFILLED = 1;\n var lib$es6$promise$$internal$$REJECTED = 2;\n var lib$es6$promise$$internal$$GET_THEN_ERROR = new lib$es6$promise$$internal$$ErrorObject();\n function lib$es6$promise$$internal$$selfFulfillment() {\n return new TypeError(\"You cannot resolve a promise with itself\");\n }\n function lib$es6$promise$$internal$$cannotReturnOwn() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n function lib$es6$promise$$internal$$getThen(promise) {\n try {\n return promise.then;\n } catch (error) {\n lib$es6$promise$$internal$$GET_THEN_ERROR.error = error;\n return lib$es6$promise$$internal$$GET_THEN_ERROR;\n }\n }\n function lib$es6$promise$$internal$$tryThen(then, value, fulfillmentHandler, rejectionHandler) {\n try {\n then.call(value, fulfillmentHandler, rejectionHandler);\n } catch (e) {\n return e;\n }\n }\n function lib$es6$promise$$internal$$handleForeignThenable(promise, thenable, then) {\n lib$es6$promise$asap$$asap(function(promise) {\n var sealed = false;\n var error = lib$es6$promise$$internal$$tryThen(then, thenable, function(value) {\n if (sealed) {\n return;\n }\n sealed = true;\n if (thenable !== value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n } else {\n lib$es6$promise$$internal$$fulfill(promise, value);\n }\n }, function(reason) {\n if (sealed) {\n return;\n }\n sealed = true;\n lib$es6$promise$$internal$$reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n if (!sealed && error) {\n sealed = true;\n lib$es6$promise$$internal$$reject(promise, error);\n }\n }, promise);\n }\n function lib$es6$promise$$internal$$handleOwnThenable(promise, thenable) {\n if (thenable._state === lib$es6$promise$$internal$$FULFILLED) {\n lib$es6$promise$$internal$$fulfill(promise, thenable._result);\n } else if (thenable._state === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, thenable._result);\n } else {\n lib$es6$promise$$internal$$subscribe(thenable, undefined, function(value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n }, function(reason) {\n lib$es6$promise$$internal$$reject(promise, reason);\n });\n }\n }\n function lib$es6$promise$$internal$$handleMaybeThenable(promise, maybeThenable, then) {\n if (maybeThenable.constructor === promise.constructor && then === lib$es6$promise$then$$default && constructor.resolve === lib$es6$promise$promise$resolve$$default) {\n lib$es6$promise$$internal$$handleOwnThenable(promise, maybeThenable);\n } else {\n if (then === lib$es6$promise$$internal$$GET_THEN_ERROR) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$GET_THEN_ERROR.error);\n } else if (then === undefined) {\n lib$es6$promise$$internal$$fulfill(promise, maybeThenable);\n } else if (lib$es6$promise$utils$$isFunction(then)) {\n lib$es6$promise$$internal$$handleForeignThenable(promise, maybeThenable, then);\n } else {\n lib$es6$promise$$internal$$fulfill(promise, maybeThenable);\n }\n }\n }\n function lib$es6$promise$$internal$$resolve(promise, value) {\n if (promise === value) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$selfFulfillment());\n } else if (lib$es6$promise$utils$$objectOrFunction(value)) {\n lib$es6$promise$$internal$$handleMaybeThenable(promise, value, lib$es6$promise$$internal$$getThen(value));\n } else {\n lib$es6$promise$$internal$$fulfill(promise, value);\n }\n }\n function lib$es6$promise$$internal$$publishRejection(promise) {\n if (promise._onerror) {\n promise._onerror(promise._result);\n }\n lib$es6$promise$$internal$$publish(promise);\n }\n function lib$es6$promise$$internal$$fulfill(promise, value) {\n if (promise._state !== lib$es6$promise$$internal$$PENDING) {\n return;\n }\n promise._result = value;\n promise._state = lib$es6$promise$$internal$$FULFILLED;\n if (promise._subscribers.length !== 0) {\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publish, promise);\n }\n }\n function lib$es6$promise$$internal$$reject(promise, reason) {\n if (promise._state !== lib$es6$promise$$internal$$PENDING) {\n return;\n }\n promise._state = lib$es6$promise$$internal$$REJECTED;\n promise._result = reason;\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publishRejection, promise);\n }\n function lib$es6$promise$$internal$$subscribe(parent, child, onFulfillment, onRejection) {\n var subscribers = parent._subscribers;\n var length = subscribers.length;\n parent._onerror = null;\n subscribers[length] = child;\n subscribers[length + lib$es6$promise$$internal$$FULFILLED] = onFulfillment;\n subscribers[length + lib$es6$promise$$internal$$REJECTED] = onRejection;\n if (length === 0 && parent._state) {\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publish, parent);\n }\n }\n function lib$es6$promise$$internal$$publish(promise) {\n var subscribers = promise._subscribers;\n var settled = promise._state;\n if (subscribers.length === 0) {\n return;\n }\n var child,\n callback,\n detail = promise._result;\n for (var i = 0; i < subscribers.length; i += 3) {\n child = subscribers[i];\n callback = subscribers[i + settled];\n if (child) {\n lib$es6$promise$$internal$$invokeCallback(settled, child, callback, detail);\n } else {\n callback(detail);\n }\n }\n promise._subscribers.length = 0;\n }\n function lib$es6$promise$$internal$$ErrorObject() {\n this.error = null;\n }\n var lib$es6$promise$$internal$$TRY_CATCH_ERROR = new lib$es6$promise$$internal$$ErrorObject();\n function lib$es6$promise$$internal$$tryCatch(callback, detail) {\n try {\n return callback(detail);\n } catch (e) {\n lib$es6$promise$$internal$$TRY_CATCH_ERROR.error = e;\n return lib$es6$promise$$internal$$TRY_CATCH_ERROR;\n }\n }\n function lib$es6$promise$$internal$$invokeCallback(settled, promise, callback, detail) {\n var hasCallback = lib$es6$promise$utils$$isFunction(callback),\n value,\n error,\n succeeded,\n failed;\n if (hasCallback) {\n value = lib$es6$promise$$internal$$tryCatch(callback, detail);\n if (value === lib$es6$promise$$internal$$TRY_CATCH_ERROR) {\n failed = true;\n error = value.error;\n value = null;\n } else {\n succeeded = true;\n }\n if (promise === value) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$cannotReturnOwn());\n return;\n }\n } else {\n value = detail;\n succeeded = true;\n }\n if (promise._state !== lib$es6$promise$$internal$$PENDING) {} else if (hasCallback && succeeded) {\n lib$es6$promise$$internal$$resolve(promise, value);\n } else if (failed) {\n lib$es6$promise$$internal$$reject(promise, error);\n } else if (settled === lib$es6$promise$$internal$$FULFILLED) {\n lib$es6$promise$$internal$$fulfill(promise, value);\n } else if (settled === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, value);\n }\n }\n function lib$es6$promise$$internal$$initializePromise(promise, resolver) {\n try {\n resolver(function resolvePromise(value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n }, function rejectPromise(reason) {\n lib$es6$promise$$internal$$reject(promise, reason);\n });\n } catch (e) {\n lib$es6$promise$$internal$$reject(promise, e);\n }\n }\n function lib$es6$promise$promise$all$$all(entries) {\n return new lib$es6$promise$enumerator$$default(this, entries).promise;\n }\n var lib$es6$promise$promise$all$$default = lib$es6$promise$promise$all$$all;\n function lib$es6$promise$promise$race$$race(entries) {\n var Constructor = this;\n var promise = new Constructor(lib$es6$promise$$internal$$noop);\n if (!lib$es6$promise$utils$$isArray(entries)) {\n lib$es6$promise$$internal$$reject(promise, new TypeError('You must pass an array to race.'));\n return promise;\n }\n var length = entries.length;\n function onFulfillment(value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n }\n function onRejection(reason) {\n lib$es6$promise$$internal$$reject(promise, reason);\n }\n for (var i = 0; promise._state === lib$es6$promise$$internal$$PENDING && i < length; i++) {\n lib$es6$promise$$internal$$subscribe(Constructor.resolve(entries[i]), undefined, onFulfillment, onRejection);\n }\n return promise;\n }\n var lib$es6$promise$promise$race$$default = lib$es6$promise$promise$race$$race;\n function lib$es6$promise$promise$reject$$reject(reason) {\n var Constructor = this;\n var promise = new Constructor(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$reject(promise, reason);\n return promise;\n }\n var lib$es6$promise$promise$reject$$default = lib$es6$promise$promise$reject$$reject;\n var lib$es6$promise$promise$$counter = 0;\n function lib$es6$promise$promise$$needsResolver() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n }\n function lib$es6$promise$promise$$needsNew() {\n throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n }\n var lib$es6$promise$promise$$default = lib$es6$promise$promise$$Promise;\n function lib$es6$promise$promise$$Promise(resolver) {\n this._id = lib$es6$promise$promise$$counter++;\n this._state = undefined;\n this._result = undefined;\n this._subscribers = [];\n if (lib$es6$promise$$internal$$noop !== resolver) {\n typeof resolver !== 'function' && lib$es6$promise$promise$$needsResolver();\n this instanceof lib$es6$promise$promise$$Promise ? lib$es6$promise$$internal$$initializePromise(this, resolver) : lib$es6$promise$promise$$needsNew();\n }\n }\n lib$es6$promise$promise$$Promise.all = lib$es6$promise$promise$all$$default;\n lib$es6$promise$promise$$Promise.race = lib$es6$promise$promise$race$$default;\n lib$es6$promise$promise$$Promise.resolve = lib$es6$promise$promise$resolve$$default;\n lib$es6$promise$promise$$Promise.reject = lib$es6$promise$promise$reject$$default;\n lib$es6$promise$promise$$Promise._setScheduler = lib$es6$promise$asap$$setScheduler;\n lib$es6$promise$promise$$Promise._setAsap = lib$es6$promise$asap$$setAsap;\n lib$es6$promise$promise$$Promise._asap = lib$es6$promise$asap$$asap;\n lib$es6$promise$promise$$Promise.prototype = {\n constructor: lib$es6$promise$promise$$Promise,\n then: lib$es6$promise$then$$default,\n 'catch': function(onRejection) {\n return this.then(null, onRejection);\n }\n };\n var lib$es6$promise$enumerator$$default = lib$es6$promise$enumerator$$Enumerator;\n function lib$es6$promise$enumerator$$Enumerator(Constructor, input) {\n this._instanceConstructor = Constructor;\n this.promise = new Constructor(lib$es6$promise$$internal$$noop);\n if (Array.isArray(input)) {\n this._input = input;\n this.length = input.length;\n this._remaining = input.length;\n this._result = new Array(this.length);\n if (this.length === 0) {\n lib$es6$promise$$internal$$fulfill(this.promise, this._result);\n } else {\n this.length = this.length || 0;\n this._enumerate();\n if (this._remaining === 0) {\n lib$es6$promise$$internal$$fulfill(this.promise, this._result);\n }\n }\n } else {\n lib$es6$promise$$internal$$reject(this.promise, this._validationError());\n }\n }\n lib$es6$promise$enumerator$$Enumerator.prototype._validationError = function() {\n return new Error('Array Methods must be provided an Array');\n };\n lib$es6$promise$enumerator$$Enumerator.prototype._enumerate = function() {\n var length = this.length;\n var input = this._input;\n for (var i = 0; this._state === lib$es6$promise$$internal$$PENDING && i < length; i++) {\n this._eachEntry(input[i], i);\n }\n };\n lib$es6$promise$enumerator$$Enumerator.prototype._eachEntry = function(entry, i) {\n var c = this._instanceConstructor;\n var resolve = c.resolve;\n if (resolve === lib$es6$promise$promise$resolve$$default) {\n var then = lib$es6$promise$$internal$$getThen(entry);\n if (then === lib$es6$promise$then$$default && entry._state !== lib$es6$promise$$internal$$PENDING) {\n this._settledAt(entry._state, i, entry._result);\n } else if (typeof then !== 'function') {\n this._remaining--;\n this._result[i] = entry;\n } else if (c === lib$es6$promise$promise$$default) {\n var promise = new c(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$handleMaybeThenable(promise, entry, then);\n this._willSettleAt(promise, i);\n } else {\n this._willSettleAt(new c(function(resolve) {\n resolve(entry);\n }), i);\n }\n } else {\n this._willSettleAt(resolve(entry), i);\n }\n };\n lib$es6$promise$enumerator$$Enumerator.prototype._settledAt = function(state, i, value) {\n var promise = this.promise;\n if (promise._state === lib$es6$promise$$internal$$PENDING) {\n this._remaining--;\n if (state === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, value);\n } else {\n this._result[i] = value;\n }\n }\n if (this._remaining === 0) {\n lib$es6$promise$$internal$$fulfill(promise, this._result);\n }\n };\n lib$es6$promise$enumerator$$Enumerator.prototype._willSettleAt = function(promise, i) {\n var enumerator = this;\n lib$es6$promise$$internal$$subscribe(promise, undefined, function(value) {\n enumerator._settledAt(lib$es6$promise$$internal$$FULFILLED, i, value);\n }, function(reason) {\n enumerator._settledAt(lib$es6$promise$$internal$$REJECTED, i, reason);\n });\n };\n function lib$es6$promise$polyfill$$polyfill() {\n var local;\n if (typeof global !== 'undefined') {\n local = global;\n } else if (typeof self !== 'undefined') {\n local = self;\n } else {\n try {\n local = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n }\n var P = local.Promise;\n if (P && Object.prototype.toString.call(P.resolve()) === '[object Promise]' && !P.cast) {\n return;\n }\n local.Promise = lib$es6$promise$promise$$default;\n }\n var lib$es6$promise$polyfill$$default = lib$es6$promise$polyfill$$polyfill;\n var lib$es6$promise$umd$$ES6Promise = {\n 'Promise': lib$es6$promise$promise$$default,\n 'polyfill': lib$es6$promise$polyfill$$default\n };\n if (typeof define === 'function' && define['amd']) {\n define(function() {\n return lib$es6$promise$umd$$ES6Promise;\n });\n } else if (typeof module !== 'undefined' && module['exports']) {\n module['exports'] = lib$es6$promise$umd$$ES6Promise;\n } else if (typeof this !== 'undefined') {\n this['ES6Promise'] = lib$es6$promise$umd$$ES6Promise;\n }\n lib$es6$promise$polyfill$$default();\n }).call(this);\n})(require('process'));\n","module.exports = require(\"npm:es6-promise@3.1.2/dist/es6-promise.js\");","/* */ \n'use strict';\n\n/** @type {Promise} **/\nmodule.exports = typeof Promise === 'function' ? Promise : require('es6-promise').Promise;\n","/* */ \n(function(Buffer) {\n 'use strict';\n var ono = require('ono'),\n debug = require('./util/debug'),\n url = require('./util/url'),\n plugins = require('./util/plugins'),\n Promise = require('./util/promise');\n module.exports = parse;\n function parse(path, $refs, options) {\n try {\n path = url.stripHash(path);\n var $ref = $refs._add(path);\n var file = {\n url: path,\n extension: url.getExtension(path)\n };\n return readFile(file, options).then(function(resolver) {\n $ref.pathType = resolver.plugin.name;\n file.data = resolver.result;\n return parseFile(file, options);\n }).then(function(parser) {\n $ref.value = parser.result;\n return parser.result;\n });\n } catch (e) {\n return Promise.reject(e);\n }\n }\n function readFile(file, options) {\n return new Promise(function(resolve, reject) {\n debug('Reading %s', file.url);\n var resolvers = plugins.all(options.resolve);\n resolvers = plugins.filter(resolvers, 'canRead', file);\n plugins.sort(resolvers);\n plugins.run(resolvers, 'read', file).then(resolve, onError);\n function onError(err) {\n if (err && !(err instanceof SyntaxError)) {\n reject(err);\n } else {\n reject(ono.syntax('Unable to resolve $ref pointer \"%s\"', file.url));\n }\n }\n });\n }\n function parseFile(file, options) {\n return new Promise(function(resolve, reject) {\n debug('Parsing %s', file.url);\n var allParsers = plugins.all(options.parse);\n var filteredParsers = plugins.filter(allParsers, 'canParse', file);\n var parsers = filteredParsers.length > 0 ? filteredParsers : allParsers;\n plugins.sort(parsers);\n plugins.run(parsers, 'parse', file).then(onParsed, onError);\n function onParsed(parser) {\n if (!parser.plugin.allowEmpty && isEmpty(parser.result)) {\n reject(ono.syntax('Error parsing \"%s\" as %s. \\nParsed value is empty', file.url, parser.plugin.name));\n } else {\n resolve(parser);\n }\n }\n function onError(err) {\n if (err) {\n err = err instanceof Error ? err : new Error(err);\n reject(ono.syntax(err, 'Error parsing %s', file.url));\n } else {\n reject(ono.syntax('Unable to parse %s', file.url));\n }\n }\n });\n }\n function isEmpty(value) {\n return value === undefined || (typeof value === 'object' && Object.keys(value).length === 0) || (typeof value === 'string' && value.trim().length === 0) || (Buffer.isBuffer(value) && value.length === 0);\n }\n})(require('buffer').Buffer);\n","/* */ \n'use strict';\nvar Promise = require('./util/promise'),\n $Ref = require('./ref'),\n Pointer = require('./pointer'),\n parse = require('./parse'),\n debug = require('./util/debug'),\n url = require('./util/url');\nmodule.exports = resolveExternal;\nfunction resolveExternal(parser, options) {\n if (!options.resolve.external) {\n return Promise.resolve();\n }\n try {\n debug('Resolving $ref pointers in %s', parser.$refs._root$Ref.path);\n var promises = crawl(parser.schema, parser.$refs._root$Ref.path + '#', parser.$refs, options);\n return Promise.all(promises);\n } catch (e) {\n return Promise.reject(e);\n }\n}\nfunction crawl(obj, path, $refs, options) {\n var promises = [];\n if (obj && typeof obj === 'object') {\n if ($Ref.isExternal$Ref(obj)) {\n promises.push(resolve$Ref(obj, path, $refs, options));\n } else {\n Object.keys(obj).forEach(function(key) {\n var keyPath = Pointer.join(path, key);\n var value = obj[key];\n if ($Ref.isExternal$Ref(value)) {\n promises.push(resolve$Ref(value, keyPath, $refs, options));\n } else {\n promises = promises.concat(crawl(value, keyPath, $refs, options));\n }\n });\n }\n }\n return promises;\n}\nfunction resolve$Ref($ref, path, $refs, options) {\n debug('Resolving $ref pointer \"%s\" at %s', $ref.$ref, path);\n var resolvedPath = url.resolve(path, $ref.$ref);\n var withoutHash = url.stripHash(resolvedPath);\n $ref = $refs._$refs[withoutHash];\n if ($ref) {\n return Promise.resolve($ref.value);\n }\n return parse(resolvedPath, $refs, options).then(function(result) {\n debug('Resolving $ref pointers in %s', withoutHash);\n var promises = crawl(result, withoutHash + '#', $refs, options);\n return Promise.all(promises);\n });\n}\n","/* */ \n(function(process) {\n 'use strict';\n var $Ref = require('./ref'),\n Pointer = require('./pointer'),\n debug = require('./util/debug'),\n url = require('./util/url');\n module.exports = bundle;\n function bundle(parser, options) {\n debug('Bundling $ref pointers in %s', parser.$refs._root$Ref.path);\n var inventory = [];\n crawl(parser, 'schema', parser.$refs._root$Ref.path + '#', '#', inventory, parser.$refs, options);\n remap(inventory);\n }\n function crawl(parent, key, path, pathFromRoot, inventory, $refs, options) {\n var obj = key === null ? parent : parent[key];\n if (obj && typeof obj === 'object') {\n if ($Ref.is$Ref(obj)) {\n inventory$Ref(parent, key, path, pathFromRoot, inventory, $refs, options);\n } else {\n var keys = Object.keys(obj);\n var defs = keys.indexOf('definitions');\n if (defs > 0) {\n keys.splice(0, 0, keys.splice(defs, 1)[0]);\n }\n keys.forEach(function(key) {\n var keyPath = Pointer.join(path, key);\n var keyPathFromRoot = Pointer.join(pathFromRoot, key);\n var value = obj[key];\n if ($Ref.is$Ref(value)) {\n inventory$Ref(obj, key, path, keyPathFromRoot, inventory, $refs, options);\n } else {\n crawl(obj, key, keyPath, keyPathFromRoot, inventory, $refs, options);\n }\n });\n }\n }\n }\n function inventory$Ref($refParent, $refKey, path, pathFromRoot, inventory, $refs, options) {\n if (inventory.some(function(i) {\n return i.parent === $refParent && i.key === $refKey;\n })) {\n return;\n }\n var $ref = $refKey === null ? $refParent : $refParent[$refKey];\n var $refPath = url.resolve(path, $ref.$ref);\n var pointer = $refs._resolve($refPath, options);\n var depth = Pointer.parse(pathFromRoot).length;\n var file = url.stripHash(pointer.path);\n var hash = url.getHash(pointer.path);\n var external = file !== $refs._root$Ref.path;\n var extended = $Ref.isExtended$Ref($ref);\n inventory.push({\n $ref: $ref,\n parent: $refParent,\n key: $refKey,\n pathFromRoot: pathFromRoot,\n depth: depth,\n file: file,\n hash: hash,\n value: pointer.value,\n circular: pointer.circular,\n extended: extended,\n external: external\n });\n crawl(pointer.value, null, pointer.path, pathFromRoot, inventory, $refs, options);\n }\n function remap(inventory) {\n inventory.sort(function(a, b) {\n if (a.file !== b.file) {\n return a.file < b.file ? -1 : +1;\n } else if (a.hash !== b.hash) {\n return a.hash < b.hash ? -1 : +1;\n } else if (a.circular !== b.circular) {\n return a.circular ? -1 : +1;\n } else if (a.extended !== b.extended) {\n return a.extended ? +1 : -1;\n } else if (a.depth !== b.depth) {\n return a.depth - b.depth;\n } else {\n return b.pathFromRoot.lastIndexOf('/definitions') - a.pathFromRoot.lastIndexOf('/definitions');\n }\n });\n var file,\n hash,\n pathFromRoot;\n inventory.forEach(function(i) {\n debug('Re-mapping $ref pointer \"%s\" at %s', i.$ref.$ref, i.pathFromRoot);\n if (!i.external) {\n i.$ref.$ref = i.hash;\n } else if (i.file === file && i.hash === hash) {\n i.$ref.$ref = pathFromRoot;\n } else if (i.file === file && i.hash.indexOf(hash + '/') === 0) {\n i.$ref.$ref = Pointer.join(pathFromRoot, Pointer.parse(i.hash));\n } else {\n file = i.file;\n hash = i.hash;\n pathFromRoot = i.pathFromRoot;\n i.$ref = i.parent[i.key] = $Ref.dereference(i.$ref, i.value);\n if (i.circular) {\n i.$ref.$ref = i.pathFromRoot;\n }\n }\n debug(' new value: %s', (i.$ref && i.$ref.$ref) ? i.$ref.$ref : '[object Object]');\n });\n }\n})(require('process'));\n","/* */ \n(function(process) {\n \"use strict\";\n var next = (global.process && process.nextTick) || global.setImmediate || function(f) {\n setTimeout(f, 0);\n };\n module.exports = function maybe(cb, promise) {\n if (cb) {\n promise.then(function(result) {\n next(function() {\n cb(null, result);\n });\n }, function(err) {\n next(function() {\n cb(err);\n });\n });\n return undefined;\n } else {\n return promise;\n }\n };\n})(require('process'));\n","module.exports = require(\"npm:call-me-maybe@1.0.1/index.js\");","/* */ \n'use strict';\nvar common = require('./common');\nfunction Mark(name, buffer, position, line, column) {\n this.name = name;\n this.buffer = buffer;\n this.position = position;\n this.line = line;\n this.column = column;\n}\nMark.prototype.getSnippet = function getSnippet(indent, maxLength) {\n var head,\n start,\n tail,\n end,\n snippet;\n if (!this.buffer)\n return null;\n indent = indent || 4;\n maxLength = maxLength || 75;\n head = '';\n start = this.position;\n while (start > 0 && '\\x00\\r\\n\\x85\\u2028\\u2029'.indexOf(this.buffer.charAt(start - 1)) === -1) {\n start -= 1;\n if (this.position - start > (maxLength / 2 - 1)) {\n head = ' ... ';\n start += 5;\n break;\n }\n }\n tail = '';\n end = this.position;\n while (end < this.buffer.length && '\\x00\\r\\n\\x85\\u2028\\u2029'.indexOf(this.buffer.charAt(end)) === -1) {\n end += 1;\n if (end - this.position > (maxLength / 2 - 1)) {\n tail = ' ... ';\n end -= 5;\n break;\n }\n }\n snippet = this.buffer.slice(start, end);\n return common.repeat(' ', indent) + head + snippet + tail + '\\n' + common.repeat(' ', indent + this.position - start + head.length) + '^';\n};\nMark.prototype.toString = function toString(compact) {\n var snippet,\n where = '';\n if (this.name) {\n where += 'in \"' + this.name + '\" ';\n }\n where += 'at line ' + (this.line + 1) + ', column ' + (this.column + 1);\n if (!compact) {\n snippet = this.getSnippet();\n if (snippet) {\n where += ':\\n' + snippet;\n }\n }\n return where;\n};\nmodule.exports = Mark;\n","/* */ \n'use strict';\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar Mark = require('./mark');\nvar DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');\nvar DEFAULT_FULL_SCHEMA = require('./schema/default_full');\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar CONTEXT_FLOW_IN = 1;\nvar CONTEXT_FLOW_OUT = 2;\nvar CONTEXT_BLOCK_IN = 3;\nvar CONTEXT_BLOCK_OUT = 4;\nvar CHOMPING_CLIP = 1;\nvar CHOMPING_STRIP = 2;\nvar CHOMPING_KEEP = 3;\nvar PATTERN_NON_PRINTABLE = /[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\nvar PATTERN_NON_ASCII_LINE_BREAKS = /[\\x85\\u2028\\u2029]/;\nvar PATTERN_FLOW_INDICATORS = /[,\\[\\]\\{\\}]/;\nvar PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\\-]+!)$/i;\nvar PATTERN_TAG_URI = /^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;\nfunction is_EOL(c) {\n return (c === 0x0A) || (c === 0x0D);\n}\nfunction is_WHITE_SPACE(c) {\n return (c === 0x09) || (c === 0x20);\n}\nfunction is_WS_OR_EOL(c) {\n return (c === 0x09) || (c === 0x20) || (c === 0x0A) || (c === 0x0D);\n}\nfunction is_FLOW_INDICATOR(c) {\n return c === 0x2C || c === 0x5B || c === 0x5D || c === 0x7B || c === 0x7D;\n}\nfunction fromHexCode(c) {\n var lc;\n if ((0x30 <= c) && (c <= 0x39)) {\n return c - 0x30;\n }\n lc = c | 0x20;\n if ((0x61 <= lc) && (lc <= 0x66)) {\n return lc - 0x61 + 10;\n }\n return -1;\n}\nfunction escapedHexLen(c) {\n if (c === 0x78) {\n return 2;\n }\n if (c === 0x75) {\n return 4;\n }\n if (c === 0x55) {\n return 8;\n }\n return 0;\n}\nfunction fromDecimalCode(c) {\n if ((0x30 <= c) && (c <= 0x39)) {\n return c - 0x30;\n }\n return -1;\n}\nfunction simpleEscapeSequence(c) {\n return (c === 0x30) ? '\\x00' : (c === 0x61) ? '\\x07' : (c === 0x62) ? '\\x08' : (c === 0x74) ? '\\x09' : (c === 0x09) ? '\\x09' : (c === 0x6E) ? '\\x0A' : (c === 0x76) ? '\\x0B' : (c === 0x66) ? '\\x0C' : (c === 0x72) ? '\\x0D' : (c === 0x65) ? '\\x1B' : (c === 0x20) ? ' ' : (c === 0x22) ? '\\x22' : (c === 0x2F) ? '/' : (c === 0x5C) ? '\\x5C' : (c === 0x4E) ? '\\x85' : (c === 0x5F) ? '\\xA0' : (c === 0x4C) ? '\\u2028' : (c === 0x50) ? '\\u2029' : '';\n}\nfunction charFromCodepoint(c) {\n if (c <= 0xFFFF) {\n return String.fromCharCode(c);\n }\n return String.fromCharCode(((c - 0x010000) >> 10) + 0xD800, ((c - 0x010000) & 0x03FF) + 0xDC00);\n}\nvar simpleEscapeCheck = new Array(256);\nvar simpleEscapeMap = new Array(256);\nfor (var i = 0; i < 256; i++) {\n simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;\n simpleEscapeMap[i] = simpleEscapeSequence(i);\n}\nfunction State(input, options) {\n this.input = input;\n this.filename = options['filename'] || null;\n this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;\n this.onWarning = options['onWarning'] || null;\n this.legacy = options['legacy'] || false;\n this.json = options['json'] || false;\n this.listener = options['listener'] || null;\n this.implicitTypes = this.schema.compiledImplicit;\n this.typeMap = this.schema.compiledTypeMap;\n this.length = input.length;\n this.position = 0;\n this.line = 0;\n this.lineStart = 0;\n this.lineIndent = 0;\n this.documents = [];\n}\nfunction generateError(state, message) {\n return new YAMLException(message, new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart)));\n}\nfunction throwError(state, message) {\n throw generateError(state, message);\n}\nfunction throwWarning(state, message) {\n if (state.onWarning) {\n state.onWarning.call(null, generateError(state, message));\n }\n}\nvar directiveHandlers = {\n YAML: function handleYamlDirective(state, name, args) {\n var match,\n major,\n minor;\n if (state.version !== null) {\n throwError(state, 'duplication of %YAML directive');\n }\n if (args.length !== 1) {\n throwError(state, 'YAML directive accepts exactly one argument');\n }\n match = /^([0-9]+)\\.([0-9]+)$/.exec(args[0]);\n if (match === null) {\n throwError(state, 'ill-formed argument of the YAML directive');\n }\n major = parseInt(match[1], 10);\n minor = parseInt(match[2], 10);\n if (major !== 1) {\n throwError(state, 'unacceptable YAML version of the document');\n }\n state.version = args[0];\n state.checkLineBreaks = (minor < 2);\n if (minor !== 1 && minor !== 2) {\n throwWarning(state, 'unsupported YAML version of the document');\n }\n },\n TAG: function handleTagDirective(state, name, args) {\n var handle,\n prefix;\n if (args.length !== 2) {\n throwError(state, 'TAG directive accepts exactly two arguments');\n }\n handle = args[0];\n prefix = args[1];\n if (!PATTERN_TAG_HANDLE.test(handle)) {\n throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');\n }\n if (_hasOwnProperty.call(state.tagMap, handle)) {\n throwError(state, 'there is a previously declared suffix for \"' + handle + '\" tag handle');\n }\n if (!PATTERN_TAG_URI.test(prefix)) {\n throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');\n }\n state.tagMap[handle] = prefix;\n }\n};\nfunction captureSegment(state, start, end, checkJson) {\n var _position,\n _length,\n _character,\n _result;\n if (start < end) {\n _result = state.input.slice(start, end);\n if (checkJson) {\n for (_position = 0, _length = _result.length; _position < _length; _position += 1) {\n _character = _result.charCodeAt(_position);\n if (!(_character === 0x09 || (0x20 <= _character && _character <= 0x10FFFF))) {\n throwError(state, 'expected valid JSON character');\n }\n }\n } else if (PATTERN_NON_PRINTABLE.test(_result)) {\n throwError(state, 'the stream contains non-printable characters');\n }\n state.result += _result;\n }\n}\nfunction mergeMappings(state, destination, source, overridableKeys) {\n var sourceKeys,\n key,\n index,\n quantity;\n if (!common.isObject(source)) {\n throwError(state, 'cannot merge mappings; the provided source object is unacceptable');\n }\n sourceKeys = Object.keys(source);\n for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {\n key = sourceKeys[index];\n if (!_hasOwnProperty.call(destination, key)) {\n destination[key] = source[key];\n overridableKeys[key] = true;\n }\n }\n}\nfunction storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode) {\n var index,\n quantity;\n keyNode = String(keyNode);\n if (_result === null) {\n _result = {};\n }\n if (keyTag === 'tag:yaml.org,2002:merge') {\n if (Array.isArray(valueNode)) {\n for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {\n mergeMappings(state, _result, valueNode[index], overridableKeys);\n }\n } else {\n mergeMappings(state, _result, valueNode, overridableKeys);\n }\n } else {\n if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {\n throwError(state, 'duplicated mapping key');\n }\n _result[keyNode] = valueNode;\n delete overridableKeys[keyNode];\n }\n return _result;\n}\nfunction readLineBreak(state) {\n var ch;\n ch = state.input.charCodeAt(state.position);\n if (ch === 0x0A) {\n state.position++;\n } else if (ch === 0x0D) {\n state.position++;\n if (state.input.charCodeAt(state.position) === 0x0A) {\n state.position++;\n }\n } else {\n throwError(state, 'a line break is expected');\n }\n state.line += 1;\n state.lineStart = state.position;\n}\nfunction skipSeparationSpace(state, allowComments, checkIndent) {\n var lineBreaks = 0,\n ch = state.input.charCodeAt(state.position);\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (allowComments && ch === 0x23) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0x0A && ch !== 0x0D && ch !== 0);\n }\n if (is_EOL(ch)) {\n readLineBreak(state);\n ch = state.input.charCodeAt(state.position);\n lineBreaks++;\n state.lineIndent = 0;\n while (ch === 0x20) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n } else {\n break;\n }\n }\n if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {\n throwWarning(state, 'deficient indentation');\n }\n return lineBreaks;\n}\nfunction testDocumentSeparator(state) {\n var _position = state.position,\n ch;\n ch = state.input.charCodeAt(_position);\n if ((ch === 0x2D || ch === 0x2E) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {\n _position += 3;\n ch = state.input.charCodeAt(_position);\n if (ch === 0 || is_WS_OR_EOL(ch)) {\n return true;\n }\n }\n return false;\n}\nfunction writeFoldedLines(state, count) {\n if (count === 1) {\n state.result += ' ';\n } else if (count > 1) {\n state.result += common.repeat('\\n', count - 1);\n }\n}\nfunction readPlainScalar(state, nodeIndent, withinFlowCollection) {\n var preceding,\n following,\n captureStart,\n captureEnd,\n hasPendingContent,\n _line,\n _lineStart,\n _lineIndent,\n _kind = state.kind,\n _result = state.result,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 0x23 || ch === 0x26 || ch === 0x2A || ch === 0x21 || ch === 0x7C || ch === 0x3E || ch === 0x27 || ch === 0x22 || ch === 0x25 || ch === 0x40 || ch === 0x60) {\n return false;\n }\n if (ch === 0x3F || ch === 0x2D) {\n following = state.input.charCodeAt(state.position + 1);\n if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) {\n return false;\n }\n }\n state.kind = 'scalar';\n state.result = '';\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n while (ch !== 0) {\n if (ch === 0x3A) {\n following = state.input.charCodeAt(state.position + 1);\n if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) {\n break;\n }\n } else if (ch === 0x23) {\n preceding = state.input.charCodeAt(state.position - 1);\n if (is_WS_OR_EOL(preceding)) {\n break;\n }\n } else if ((state.position === state.lineStart && testDocumentSeparator(state)) || withinFlowCollection && is_FLOW_INDICATOR(ch)) {\n break;\n } else if (is_EOL(ch)) {\n _line = state.line;\n _lineStart = state.lineStart;\n _lineIndent = state.lineIndent;\n skipSeparationSpace(state, false, -1);\n if (state.lineIndent >= nodeIndent) {\n hasPendingContent = true;\n ch = state.input.charCodeAt(state.position);\n continue;\n } else {\n state.position = captureEnd;\n state.line = _line;\n state.lineStart = _lineStart;\n state.lineIndent = _lineIndent;\n break;\n }\n }\n if (hasPendingContent) {\n captureSegment(state, captureStart, captureEnd, false);\n writeFoldedLines(state, state.line - _line);\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n }\n if (!is_WHITE_SPACE(ch)) {\n captureEnd = state.position + 1;\n }\n ch = state.input.charCodeAt(++state.position);\n }\n captureSegment(state, captureStart, captureEnd, false);\n if (state.result) {\n return true;\n }\n state.kind = _kind;\n state.result = _result;\n return false;\n}\nfunction readSingleQuotedScalar(state, nodeIndent) {\n var ch,\n captureStart,\n captureEnd;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x27) {\n return false;\n }\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x27) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n if (ch === 0x27) {\n captureStart = captureEnd = state.position;\n state.position++;\n } else {\n return true;\n }\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a single quoted scalar');\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n throwError(state, 'unexpected end of the stream within a single quoted scalar');\n}\nfunction readDoubleQuotedScalar(state, nodeIndent) {\n var captureStart,\n captureEnd,\n hexLength,\n hexResult,\n tmp,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x22) {\n return false;\n }\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x22) {\n captureSegment(state, captureStart, state.position, true);\n state.position++;\n return true;\n } else if (ch === 0x5C) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n if (is_EOL(ch)) {\n skipSeparationSpace(state, false, nodeIndent);\n } else if (ch < 256 && simpleEscapeCheck[ch]) {\n state.result += simpleEscapeMap[ch];\n state.position++;\n } else if ((tmp = escapedHexLen(ch)) > 0) {\n hexLength = tmp;\n hexResult = 0;\n for (; hexLength > 0; hexLength--) {\n ch = state.input.charCodeAt(++state.position);\n if ((tmp = fromHexCode(ch)) >= 0) {\n hexResult = (hexResult << 4) + tmp;\n } else {\n throwError(state, 'expected hexadecimal character');\n }\n }\n state.result += charFromCodepoint(hexResult);\n state.position++;\n } else {\n throwError(state, 'unknown escape sequence');\n }\n captureStart = captureEnd = state.position;\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a double quoted scalar');\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n throwError(state, 'unexpected end of the stream within a double quoted scalar');\n}\nfunction readFlowCollection(state, nodeIndent) {\n var readNext = true,\n _line,\n _tag = state.tag,\n _result,\n _anchor = state.anchor,\n following,\n terminator,\n isPair,\n isExplicitPair,\n isMapping,\n overridableKeys = {},\n keyNode,\n keyTag,\n valueNode,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch === 0x5B) {\n terminator = 0x5D;\n isMapping = false;\n _result = [];\n } else if (ch === 0x7B) {\n terminator = 0x7D;\n isMapping = true;\n _result = {};\n } else {\n return false;\n }\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n ch = state.input.charCodeAt(++state.position);\n while (ch !== 0) {\n skipSeparationSpace(state, true, nodeIndent);\n ch = state.input.charCodeAt(state.position);\n if (ch === terminator) {\n state.position++;\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = isMapping ? 'mapping' : 'sequence';\n state.result = _result;\n return true;\n } else if (!readNext) {\n throwError(state, 'missed comma between flow collection entries');\n }\n keyTag = keyNode = valueNode = null;\n isPair = isExplicitPair = false;\n if (ch === 0x3F) {\n following = state.input.charCodeAt(state.position + 1);\n if (is_WS_OR_EOL(following)) {\n isPair = isExplicitPair = true;\n state.position++;\n skipSeparationSpace(state, true, nodeIndent);\n }\n }\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n keyTag = state.tag;\n keyNode = state.result;\n skipSeparationSpace(state, true, nodeIndent);\n ch = state.input.charCodeAt(state.position);\n if ((isExplicitPair || state.line === _line) && ch === 0x3A) {\n isPair = true;\n ch = state.input.charCodeAt(++state.position);\n skipSeparationSpace(state, true, nodeIndent);\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n valueNode = state.result;\n }\n if (isMapping) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);\n } else if (isPair) {\n _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode));\n } else {\n _result.push(keyNode);\n }\n skipSeparationSpace(state, true, nodeIndent);\n ch = state.input.charCodeAt(state.position);\n if (ch === 0x2C) {\n readNext = true;\n ch = state.input.charCodeAt(++state.position);\n } else {\n readNext = false;\n }\n }\n throwError(state, 'unexpected end of the stream within a flow collection');\n}\nfunction readBlockScalar(state, nodeIndent) {\n var captureStart,\n folding,\n chomping = CHOMPING_CLIP,\n didReadContent = false,\n detectedIndent = false,\n textIndent = nodeIndent,\n emptyLines = 0,\n atMoreIndented = false,\n tmp,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch === 0x7C) {\n folding = false;\n } else if (ch === 0x3E) {\n folding = true;\n } else {\n return false;\n }\n state.kind = 'scalar';\n state.result = '';\n while (ch !== 0) {\n ch = state.input.charCodeAt(++state.position);\n if (ch === 0x2B || ch === 0x2D) {\n if (CHOMPING_CLIP === chomping) {\n chomping = (ch === 0x2B) ? CHOMPING_KEEP : CHOMPING_STRIP;\n } else {\n throwError(state, 'repeat of a chomping mode identifier');\n }\n } else if ((tmp = fromDecimalCode(ch)) >= 0) {\n if (tmp === 0) {\n throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');\n } else if (!detectedIndent) {\n textIndent = nodeIndent + tmp - 1;\n detectedIndent = true;\n } else {\n throwError(state, 'repeat of an indentation width identifier');\n }\n } else {\n break;\n }\n }\n if (is_WHITE_SPACE(ch)) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (is_WHITE_SPACE(ch));\n if (ch === 0x23) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (!is_EOL(ch) && (ch !== 0));\n }\n }\n while (ch !== 0) {\n readLineBreak(state);\n state.lineIndent = 0;\n ch = state.input.charCodeAt(state.position);\n while ((!detectedIndent || state.lineIndent < textIndent) && (ch === 0x20)) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n if (!detectedIndent && state.lineIndent > textIndent) {\n textIndent = state.lineIndent;\n }\n if (is_EOL(ch)) {\n emptyLines++;\n continue;\n }\n if (state.lineIndent < textIndent) {\n if (chomping === CHOMPING_KEEP) {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (chomping === CHOMPING_CLIP) {\n if (didReadContent) {\n state.result += '\\n';\n }\n }\n break;\n }\n if (folding) {\n if (is_WHITE_SPACE(ch)) {\n atMoreIndented = true;\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (atMoreIndented) {\n atMoreIndented = false;\n state.result += common.repeat('\\n', emptyLines + 1);\n } else if (emptyLines === 0) {\n if (didReadContent) {\n state.result += ' ';\n }\n } else {\n state.result += common.repeat('\\n', emptyLines);\n }\n } else {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n }\n didReadContent = true;\n detectedIndent = true;\n emptyLines = 0;\n captureStart = state.position;\n while (!is_EOL(ch) && (ch !== 0)) {\n ch = state.input.charCodeAt(++state.position);\n }\n captureSegment(state, captureStart, state.position, false);\n }\n return true;\n}\nfunction readBlockSequence(state, nodeIndent) {\n var _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = [],\n following,\n detected = false,\n ch;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n ch = state.input.charCodeAt(state.position);\n while (ch !== 0) {\n if (ch !== 0x2D) {\n break;\n }\n following = state.input.charCodeAt(state.position + 1);\n if (!is_WS_OR_EOL(following)) {\n break;\n }\n detected = true;\n state.position++;\n if (skipSeparationSpace(state, true, -1)) {\n if (state.lineIndent <= nodeIndent) {\n _result.push(null);\n ch = state.input.charCodeAt(state.position);\n continue;\n }\n }\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);\n _result.push(state.result);\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a sequence entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'sequence';\n state.result = _result;\n return true;\n }\n return false;\n}\nfunction readBlockMapping(state, nodeIndent, flowIndent) {\n var following,\n allowCompact,\n _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = {},\n overridableKeys = {},\n keyTag = null,\n keyNode = null,\n valueNode = null,\n atExplicitKey = false,\n detected = false,\n ch;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n ch = state.input.charCodeAt(state.position);\n while (ch !== 0) {\n following = state.input.charCodeAt(state.position + 1);\n _line = state.line;\n if ((ch === 0x3F || ch === 0x3A) && is_WS_OR_EOL(following)) {\n if (ch === 0x3F) {\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n keyTag = keyNode = valueNode = null;\n }\n detected = true;\n atExplicitKey = true;\n allowCompact = true;\n } else if (atExplicitKey) {\n atExplicitKey = false;\n allowCompact = true;\n } else {\n throwError(state, 'incomplete explicit mapping pair; a key node is missed');\n }\n state.position += 1;\n ch = following;\n } else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {\n if (state.line === _line) {\n ch = state.input.charCodeAt(state.position);\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (ch === 0x3A) {\n ch = state.input.charCodeAt(++state.position);\n if (!is_WS_OR_EOL(ch)) {\n throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');\n }\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n keyTag = keyNode = valueNode = null;\n }\n detected = true;\n atExplicitKey = false;\n allowCompact = false;\n keyTag = state.tag;\n keyNode = state.result;\n } else if (detected) {\n throwError(state, 'can not read an implicit mapping pair; a colon is missed');\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true;\n }\n } else if (detected) {\n throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true;\n }\n } else {\n break;\n }\n if (state.line === _line || state.lineIndent > nodeIndent) {\n if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {\n if (atExplicitKey) {\n keyNode = state.result;\n } else {\n valueNode = state.result;\n }\n }\n if (!atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);\n keyTag = keyNode = valueNode = null;\n }\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n }\n if (state.lineIndent > nodeIndent && (ch !== 0)) {\n throwError(state, 'bad indentation of a mapping entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n }\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'mapping';\n state.result = _result;\n }\n return detected;\n}\nfunction readTagProperty(state) {\n var _position,\n isVerbatim = false,\n isNamed = false,\n tagHandle,\n tagName,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x21)\n return false;\n if (state.tag !== null) {\n throwError(state, 'duplication of a tag property');\n }\n ch = state.input.charCodeAt(++state.position);\n if (ch === 0x3C) {\n isVerbatim = true;\n ch = state.input.charCodeAt(++state.position);\n } else if (ch === 0x21) {\n isNamed = true;\n tagHandle = '!!';\n ch = state.input.charCodeAt(++state.position);\n } else {\n tagHandle = '!';\n }\n _position = state.position;\n if (isVerbatim) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0 && ch !== 0x3E);\n if (state.position < state.length) {\n tagName = state.input.slice(_position, state.position);\n ch = state.input.charCodeAt(++state.position);\n } else {\n throwError(state, 'unexpected end of the stream within a verbatim tag');\n }\n } else {\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n if (ch === 0x21) {\n if (!isNamed) {\n tagHandle = state.input.slice(_position - 1, state.position + 1);\n if (!PATTERN_TAG_HANDLE.test(tagHandle)) {\n throwError(state, 'named tag handle cannot contain such characters');\n }\n isNamed = true;\n _position = state.position + 1;\n } else {\n throwError(state, 'tag suffix cannot contain exclamation marks');\n }\n }\n ch = state.input.charCodeAt(++state.position);\n }\n tagName = state.input.slice(_position, state.position);\n if (PATTERN_FLOW_INDICATORS.test(tagName)) {\n throwError(state, 'tag suffix cannot contain flow indicator characters');\n }\n }\n if (tagName && !PATTERN_TAG_URI.test(tagName)) {\n throwError(state, 'tag name cannot contain such characters: ' + tagName);\n }\n if (isVerbatim) {\n state.tag = tagName;\n } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {\n state.tag = state.tagMap[tagHandle] + tagName;\n } else if (tagHandle === '!') {\n state.tag = '!' + tagName;\n } else if (tagHandle === '!!') {\n state.tag = 'tag:yaml.org,2002:' + tagName;\n } else {\n throwError(state, 'undeclared tag handle \"' + tagHandle + '\"');\n }\n return true;\n}\nfunction readAnchorProperty(state) {\n var _position,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x26)\n return false;\n if (state.anchor !== null) {\n throwError(state, 'duplication of an anchor property');\n }\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (state.position === _position) {\n throwError(state, 'name of an anchor node must contain at least one character');\n }\n state.anchor = state.input.slice(_position, state.position);\n return true;\n}\nfunction readAlias(state) {\n var _position,\n alias,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x2A)\n return false;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (state.position === _position) {\n throwError(state, 'name of an alias node must contain at least one character');\n }\n alias = state.input.slice(_position, state.position);\n if (!state.anchorMap.hasOwnProperty(alias)) {\n throwError(state, 'unidentified alias \"' + alias + '\"');\n }\n state.result = state.anchorMap[alias];\n skipSeparationSpace(state, true, -1);\n return true;\n}\nfunction composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {\n var allowBlockStyles,\n allowBlockScalars,\n allowBlockCollections,\n indentStatus = 1,\n atNewLine = false,\n hasContent = false,\n typeIndex,\n typeQuantity,\n type,\n flowIndent,\n blockIndent;\n if (state.listener !== null) {\n state.listener('open', state);\n }\n state.tag = null;\n state.anchor = null;\n state.kind = null;\n state.result = null;\n allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;\n if (allowToSeek) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n }\n }\n if (indentStatus === 1) {\n while (readTagProperty(state) || readAnchorProperty(state)) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n allowBlockCollections = allowBlockStyles;\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n } else {\n allowBlockCollections = false;\n }\n }\n }\n if (allowBlockCollections) {\n allowBlockCollections = atNewLine || allowCompact;\n }\n if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {\n if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {\n flowIndent = parentIndent;\n } else {\n flowIndent = parentIndent + 1;\n }\n blockIndent = state.position - state.lineStart;\n if (indentStatus === 1) {\n if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) {\n hasContent = true;\n } else {\n if ((allowBlockScalars && readBlockScalar(state, flowIndent)) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) {\n hasContent = true;\n } else if (readAlias(state)) {\n hasContent = true;\n if (state.tag !== null || state.anchor !== null) {\n throwError(state, 'alias node should not have any properties');\n }\n } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {\n hasContent = true;\n if (state.tag === null) {\n state.tag = '?';\n }\n }\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else if (indentStatus === 0) {\n hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);\n }\n }\n if (state.tag !== null && state.tag !== '!') {\n if (state.tag === '?') {\n for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {\n type = state.implicitTypes[typeIndex];\n if (type.resolve(state.result)) {\n state.result = type.construct(state.result);\n state.tag = type.tag;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n break;\n }\n }\n } else if (_hasOwnProperty.call(state.typeMap, state.tag)) {\n type = state.typeMap[state.tag];\n if (state.result !== null && type.kind !== state.kind) {\n throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be \"' + type.kind + '\", not \"' + state.kind + '\"');\n }\n if (!type.resolve(state.result)) {\n throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');\n } else {\n state.result = type.construct(state.result);\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else {\n throwError(state, 'unknown tag !<' + state.tag + '>');\n }\n }\n if (state.listener !== null) {\n state.listener('close', state);\n }\n return state.tag !== null || state.anchor !== null || hasContent;\n}\nfunction readDocument(state) {\n var documentStart = state.position,\n _position,\n directiveName,\n directiveArgs,\n hasDirectives = false,\n ch;\n state.version = null;\n state.checkLineBreaks = state.legacy;\n state.tagMap = {};\n state.anchorMap = {};\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n if (state.lineIndent > 0 || ch !== 0x25) {\n break;\n }\n hasDirectives = true;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n directiveName = state.input.slice(_position, state.position);\n directiveArgs = [];\n if (directiveName.length < 1) {\n throwError(state, 'directive name must not be less than one character in length');\n }\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (ch === 0x23) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0 && !is_EOL(ch));\n break;\n }\n if (is_EOL(ch))\n break;\n _position = state.position;\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n directiveArgs.push(state.input.slice(_position, state.position));\n }\n if (ch !== 0)\n readLineBreak(state);\n if (_hasOwnProperty.call(directiveHandlers, directiveName)) {\n directiveHandlers[directiveName](state, directiveName, directiveArgs);\n } else {\n throwWarning(state, 'unknown document directive \"' + directiveName + '\"');\n }\n }\n skipSeparationSpace(state, true, -1);\n if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 0x2D && state.input.charCodeAt(state.position + 1) === 0x2D && state.input.charCodeAt(state.position + 2) === 0x2D) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n } else if (hasDirectives) {\n throwError(state, 'directives end mark is expected');\n }\n composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);\n skipSeparationSpace(state, true, -1);\n if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {\n throwWarning(state, 'non-ASCII line breaks are interpreted as content');\n }\n state.documents.push(state.result);\n if (state.position === state.lineStart && testDocumentSeparator(state)) {\n if (state.input.charCodeAt(state.position) === 0x2E) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n }\n return;\n }\n if (state.position < (state.length - 1)) {\n throwError(state, 'end of the stream or a document separator is expected');\n } else {\n return;\n }\n}\nfunction loadDocuments(input, options) {\n input = String(input);\n options = options || {};\n if (input.length !== 0) {\n if (input.charCodeAt(input.length - 1) !== 0x0A && input.charCodeAt(input.length - 1) !== 0x0D) {\n input += '\\n';\n }\n if (input.charCodeAt(0) === 0xFEFF) {\n input = input.slice(1);\n }\n }\n var state = new State(input, options);\n state.input += '\\0';\n while (state.input.charCodeAt(state.position) === 0x20) {\n state.lineIndent += 1;\n state.position += 1;\n }\n while (state.position < (state.length - 1)) {\n readDocument(state);\n }\n return state.documents;\n}\nfunction loadAll(input, iterator, options) {\n var documents = loadDocuments(input, options),\n index,\n length;\n for (index = 0, length = documents.length; index < length; index += 1) {\n iterator(documents[index]);\n }\n}\nfunction load(input, options) {\n var documents = loadDocuments(input, options);\n if (documents.length === 0) {\n return undefined;\n } else if (documents.length === 1) {\n return documents[0];\n }\n throw new YAMLException('expected a single document in the stream, but found more');\n}\nfunction safeLoadAll(input, output, options) {\n loadAll(input, output, common.extend({schema: DEFAULT_SAFE_SCHEMA}, options));\n}\nfunction safeLoad(input, options) {\n return load(input, common.extend({schema: DEFAULT_SAFE_SCHEMA}, options));\n}\nmodule.exports.loadAll = loadAll;\nmodule.exports.load = load;\nmodule.exports.safeLoadAll = safeLoadAll;\nmodule.exports.safeLoad = safeLoad;\n","/* */ \n'use strict';\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar DEFAULT_FULL_SCHEMA = require('./schema/default_full');\nvar DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');\nvar _toString = Object.prototype.toString;\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar CHAR_TAB = 0x09;\nvar CHAR_LINE_FEED = 0x0A;\nvar CHAR_SPACE = 0x20;\nvar CHAR_EXCLAMATION = 0x21;\nvar CHAR_DOUBLE_QUOTE = 0x22;\nvar CHAR_SHARP = 0x23;\nvar CHAR_PERCENT = 0x25;\nvar CHAR_AMPERSAND = 0x26;\nvar CHAR_SINGLE_QUOTE = 0x27;\nvar CHAR_ASTERISK = 0x2A;\nvar CHAR_COMMA = 0x2C;\nvar CHAR_MINUS = 0x2D;\nvar CHAR_COLON = 0x3A;\nvar CHAR_GREATER_THAN = 0x3E;\nvar CHAR_QUESTION = 0x3F;\nvar CHAR_COMMERCIAL_AT = 0x40;\nvar CHAR_LEFT_SQUARE_BRACKET = 0x5B;\nvar CHAR_RIGHT_SQUARE_BRACKET = 0x5D;\nvar CHAR_GRAVE_ACCENT = 0x60;\nvar CHAR_LEFT_CURLY_BRACKET = 0x7B;\nvar CHAR_VERTICAL_LINE = 0x7C;\nvar CHAR_RIGHT_CURLY_BRACKET = 0x7D;\nvar ESCAPE_SEQUENCES = {};\nESCAPE_SEQUENCES[0x00] = '\\\\0';\nESCAPE_SEQUENCES[0x07] = '\\\\a';\nESCAPE_SEQUENCES[0x08] = '\\\\b';\nESCAPE_SEQUENCES[0x09] = '\\\\t';\nESCAPE_SEQUENCES[0x0A] = '\\\\n';\nESCAPE_SEQUENCES[0x0B] = '\\\\v';\nESCAPE_SEQUENCES[0x0C] = '\\\\f';\nESCAPE_SEQUENCES[0x0D] = '\\\\r';\nESCAPE_SEQUENCES[0x1B] = '\\\\e';\nESCAPE_SEQUENCES[0x22] = '\\\\\"';\nESCAPE_SEQUENCES[0x5C] = '\\\\\\\\';\nESCAPE_SEQUENCES[0x85] = '\\\\N';\nESCAPE_SEQUENCES[0xA0] = '\\\\_';\nESCAPE_SEQUENCES[0x2028] = '\\\\L';\nESCAPE_SEQUENCES[0x2029] = '\\\\P';\nvar DEPRECATED_BOOLEANS_SYNTAX = ['y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON', 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'];\nfunction compileStyleMap(schema, map) {\n var result,\n keys,\n index,\n length,\n tag,\n style,\n type;\n if (map === null)\n return {};\n result = {};\n keys = Object.keys(map);\n for (index = 0, length = keys.length; index < length; index += 1) {\n tag = keys[index];\n style = String(map[tag]);\n if (tag.slice(0, 2) === '!!') {\n tag = 'tag:yaml.org,2002:' + tag.slice(2);\n }\n type = schema.compiledTypeMap[tag];\n if (type && _hasOwnProperty.call(type.styleAliases, style)) {\n style = type.styleAliases[style];\n }\n result[tag] = style;\n }\n return result;\n}\nfunction encodeHex(character) {\n var string,\n handle,\n length;\n string = character.toString(16).toUpperCase();\n if (character <= 0xFF) {\n handle = 'x';\n length = 2;\n } else if (character <= 0xFFFF) {\n handle = 'u';\n length = 4;\n } else if (character <= 0xFFFFFFFF) {\n handle = 'U';\n length = 8;\n } else {\n throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF');\n }\n return '\\\\' + handle + common.repeat('0', length - string.length) + string;\n}\nfunction State(options) {\n this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;\n this.indent = Math.max(1, (options['indent'] || 2));\n this.skipInvalid = options['skipInvalid'] || false;\n this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);\n this.styleMap = compileStyleMap(this.schema, options['styles'] || null);\n this.sortKeys = options['sortKeys'] || false;\n this.lineWidth = options['lineWidth'] || 80;\n this.noRefs = options['noRefs'] || false;\n this.noCompatMode = options['noCompatMode'] || false;\n this.implicitTypes = this.schema.compiledImplicit;\n this.explicitTypes = this.schema.compiledExplicit;\n this.tag = null;\n this.result = '';\n this.duplicates = [];\n this.usedDuplicates = null;\n}\nfunction indentString(string, spaces) {\n var ind = common.repeat(' ', spaces),\n position = 0,\n next = -1,\n result = '',\n line,\n length = string.length;\n while (position < length) {\n next = string.indexOf('\\n', position);\n if (next === -1) {\n line = string.slice(position);\n position = length;\n } else {\n line = string.slice(position, next + 1);\n position = next + 1;\n }\n if (line.length && line !== '\\n')\n result += ind;\n result += line;\n }\n return result;\n}\nfunction generateNextLine(state, level) {\n return '\\n' + common.repeat(' ', state.indent * level);\n}\nfunction testImplicitResolving(state, str) {\n var index,\n length,\n type;\n for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {\n type = state.implicitTypes[index];\n if (type.resolve(str)) {\n return true;\n }\n }\n return false;\n}\nfunction isWhitespace(c) {\n return c === CHAR_SPACE || c === CHAR_TAB;\n}\nfunction isPrintable(c) {\n return (0x00020 <= c && c <= 0x00007E) || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029) || ((0x0E000 <= c && c <= 0x00FFFD) && c !== 0xFEFF) || (0x10000 <= c && c <= 0x10FFFF);\n}\nfunction isPlainSafe(c) {\n return isPrintable(c) && c !== 0xFEFF && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_COLON && c !== CHAR_SHARP;\n}\nfunction isPlainSafeFirst(c) {\n return isPrintable(c) && c !== 0xFEFF && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;\n}\nvar STYLE_PLAIN = 1,\n STYLE_SINGLE = 2,\n STYLE_LITERAL = 3,\n STYLE_FOLDED = 4,\n STYLE_DOUBLE = 5;\nfunction chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType) {\n var i;\n var char;\n var hasLineBreak = false;\n var hasFoldableLine = false;\n var shouldTrackWidth = lineWidth !== -1;\n var previousLineBreak = -1;\n var plain = isPlainSafeFirst(string.charCodeAt(0)) && !isWhitespace(string.charCodeAt(string.length - 1));\n if (singleLineOnly) {\n for (i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char);\n }\n } else {\n for (i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n if (char === CHAR_LINE_FEED) {\n hasLineBreak = true;\n if (shouldTrackWidth) {\n hasFoldableLine = hasFoldableLine || (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== ' ');\n previousLineBreak = i;\n }\n } else if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char);\n }\n hasFoldableLine = hasFoldableLine || (shouldTrackWidth && (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== ' '));\n }\n if (!hasLineBreak && !hasFoldableLine) {\n return plain && !testAmbiguousType(string) ? STYLE_PLAIN : STYLE_SINGLE;\n }\n if (string[0] === ' ' && indentPerLevel > 9) {\n return STYLE_DOUBLE;\n }\n return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;\n}\nfunction writeScalar(state, string, level, iskey) {\n state.dump = (function() {\n if (string.length === 0) {\n return \"''\";\n }\n if (!state.noCompatMode && DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1) {\n return \"'\" + string + \"'\";\n }\n var indent = state.indent * Math.max(1, level);\n var lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);\n var singleLineOnly = iskey || (state.flowLevel > -1 && level >= state.flowLevel);\n function testAmbiguity(string) {\n return testImplicitResolving(state, string);\n }\n switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, testAmbiguity)) {\n case STYLE_PLAIN:\n return string;\n case STYLE_SINGLE:\n return \"'\" + string.replace(/'/g, \"''\") + \"'\";\n case STYLE_LITERAL:\n return '|' + blockHeader(string, state.indent) + dropEndingNewline(indentString(string, indent));\n case STYLE_FOLDED:\n return '>' + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent));\n case STYLE_DOUBLE:\n return '\"' + escapeString(string, lineWidth) + '\"';\n default:\n throw new YAMLException('impossible error: invalid scalar style');\n }\n }());\n}\nfunction blockHeader(string, indentPerLevel) {\n var indentIndicator = (string[0] === ' ') ? String(indentPerLevel) : '';\n var clip = string[string.length - 1] === '\\n';\n var keep = clip && (string[string.length - 2] === '\\n' || string === '\\n');\n var chomp = keep ? '+' : (clip ? '' : '-');\n return indentIndicator + chomp + '\\n';\n}\nfunction dropEndingNewline(string) {\n return string[string.length - 1] === '\\n' ? string.slice(0, -1) : string;\n}\nfunction foldString(string, width) {\n var lineRe = /(\\n+)([^\\n]*)/g;\n var result = (function() {\n var nextLF = string.indexOf('\\n');\n nextLF = nextLF !== -1 ? nextLF : string.length;\n lineRe.lastIndex = nextLF;\n return foldLine(string.slice(0, nextLF), width);\n }());\n var prevMoreIndented = string[0] === '\\n' || string[0] === ' ';\n var moreIndented;\n var match;\n while ((match = lineRe.exec(string))) {\n var prefix = match[1],\n line = match[2];\n moreIndented = (line[0] === ' ');\n result += prefix + (!prevMoreIndented && !moreIndented && line !== '' ? '\\n' : '') + foldLine(line, width);\n prevMoreIndented = moreIndented;\n }\n return result;\n}\nfunction foldLine(line, width) {\n if (line === '' || line[0] === ' ')\n return line;\n var breakRe = / [^ ]/g;\n var match;\n var start = 0,\n end,\n curr = 0,\n next = 0;\n var result = '';\n while ((match = breakRe.exec(line))) {\n next = match.index;\n if (next - start > width) {\n end = (curr > start) ? curr : next;\n result += '\\n' + line.slice(start, end);\n start = end + 1;\n }\n curr = next;\n }\n result += '\\n';\n if (line.length - start > width && curr > start) {\n result += line.slice(start, curr) + '\\n' + line.slice(curr + 1);\n } else {\n result += line.slice(start);\n }\n return result.slice(1);\n}\nfunction escapeString(string) {\n var result = '';\n var char;\n var escapeSeq;\n for (var i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n escapeSeq = ESCAPE_SEQUENCES[char];\n result += !escapeSeq && isPrintable(char) ? string[i] : escapeSeq || encodeHex(char);\n }\n return result;\n}\nfunction writeFlowSequence(state, level, object) {\n var _result = '',\n _tag = state.tag,\n index,\n length;\n for (index = 0, length = object.length; index < length; index += 1) {\n if (writeNode(state, level, object[index], false, false)) {\n if (index !== 0)\n _result += ', ';\n _result += state.dump;\n }\n }\n state.tag = _tag;\n state.dump = '[' + _result + ']';\n}\nfunction writeBlockSequence(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n index,\n length;\n for (index = 0, length = object.length; index < length; index += 1) {\n if (writeNode(state, level + 1, object[index], true, true)) {\n if (!compact || index !== 0) {\n _result += generateNextLine(state, level);\n }\n _result += '- ' + state.dump;\n }\n }\n state.tag = _tag;\n state.dump = _result || '[]';\n}\nfunction writeFlowMapping(state, level, object) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n pairBuffer;\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n if (index !== 0)\n pairBuffer += ', ';\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n if (!writeNode(state, level, objectKey, false, false)) {\n continue;\n }\n if (state.dump.length > 1024)\n pairBuffer += '? ';\n pairBuffer += state.dump + ': ';\n if (!writeNode(state, level, objectValue, false, false)) {\n continue;\n }\n pairBuffer += state.dump;\n _result += pairBuffer;\n }\n state.tag = _tag;\n state.dump = '{' + _result + '}';\n}\nfunction writeBlockMapping(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n explicitPair,\n pairBuffer;\n if (state.sortKeys === true) {\n objectKeyList.sort();\n } else if (typeof state.sortKeys === 'function') {\n objectKeyList.sort(state.sortKeys);\n } else if (state.sortKeys) {\n throw new YAMLException('sortKeys must be a boolean or a function');\n }\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n if (!compact || index !== 0) {\n pairBuffer += generateNextLine(state, level);\n }\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n if (!writeNode(state, level + 1, objectKey, true, true, true)) {\n continue;\n }\n explicitPair = (state.tag !== null && state.tag !== '?') || (state.dump && state.dump.length > 1024);\n if (explicitPair) {\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += '?';\n } else {\n pairBuffer += '? ';\n }\n }\n pairBuffer += state.dump;\n if (explicitPair) {\n pairBuffer += generateNextLine(state, level);\n }\n if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {\n continue;\n }\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += ':';\n } else {\n pairBuffer += ': ';\n }\n pairBuffer += state.dump;\n _result += pairBuffer;\n }\n state.tag = _tag;\n state.dump = _result || '{}';\n}\nfunction detectType(state, object, explicit) {\n var _result,\n typeList,\n index,\n length,\n type,\n style;\n typeList = explicit ? state.explicitTypes : state.implicitTypes;\n for (index = 0, length = typeList.length; index < length; index += 1) {\n type = typeList[index];\n if ((type.instanceOf || type.predicate) && (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) && (!type.predicate || type.predicate(object))) {\n state.tag = explicit ? type.tag : '?';\n if (type.represent) {\n style = state.styleMap[type.tag] || type.defaultStyle;\n if (_toString.call(type.represent) === '[object Function]') {\n _result = type.represent(object, style);\n } else if (_hasOwnProperty.call(type.represent, style)) {\n _result = type.represent[style](object, style);\n } else {\n throw new YAMLException('!<' + type.tag + '> tag resolver accepts not \"' + style + '\" style');\n }\n state.dump = _result;\n }\n return true;\n }\n }\n return false;\n}\nfunction writeNode(state, level, object, block, compact, iskey) {\n state.tag = null;\n state.dump = object;\n if (!detectType(state, object, false)) {\n detectType(state, object, true);\n }\n var type = _toString.call(state.dump);\n if (block) {\n block = (state.flowLevel < 0 || state.flowLevel > level);\n }\n var objectOrArray = type === '[object Object]' || type === '[object Array]',\n duplicateIndex,\n duplicate;\n if (objectOrArray) {\n duplicateIndex = state.duplicates.indexOf(object);\n duplicate = duplicateIndex !== -1;\n }\n if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {\n compact = false;\n }\n if (duplicate && state.usedDuplicates[duplicateIndex]) {\n state.dump = '*ref_' + duplicateIndex;\n } else {\n if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {\n state.usedDuplicates[duplicateIndex] = true;\n }\n if (type === '[object Object]') {\n if (block && (Object.keys(state.dump).length !== 0)) {\n writeBlockMapping(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowMapping(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object Array]') {\n if (block && (state.dump.length !== 0)) {\n writeBlockSequence(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowSequence(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object String]') {\n if (state.tag !== '?') {\n writeScalar(state, state.dump, level, iskey);\n }\n } else {\n if (state.skipInvalid)\n return false;\n throw new YAMLException('unacceptable kind of an object to dump ' + type);\n }\n if (state.tag !== null && state.tag !== '?') {\n state.dump = '!<' + state.tag + '> ' + state.dump;\n }\n }\n return true;\n}\nfunction getDuplicateReferences(object, state) {\n var objects = [],\n duplicatesIndexes = [],\n index,\n length;\n inspectNode(object, objects, duplicatesIndexes);\n for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {\n state.duplicates.push(objects[duplicatesIndexes[index]]);\n }\n state.usedDuplicates = new Array(length);\n}\nfunction inspectNode(object, objects, duplicatesIndexes) {\n var objectKeyList,\n index,\n length;\n if (object !== null && typeof object === 'object') {\n index = objects.indexOf(object);\n if (index !== -1) {\n if (duplicatesIndexes.indexOf(index) === -1) {\n duplicatesIndexes.push(index);\n }\n } else {\n objects.push(object);\n if (Array.isArray(object)) {\n for (index = 0, length = object.length; index < length; index += 1) {\n inspectNode(object[index], objects, duplicatesIndexes);\n }\n } else {\n objectKeyList = Object.keys(object);\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);\n }\n }\n }\n }\n}\nfunction dump(input, options) {\n options = options || {};\n var state = new State(options);\n if (!state.noRefs)\n getDuplicateReferences(input, state);\n if (writeNode(state, 0, input, true, true))\n return state.dump + '\\n';\n return '';\n}\nfunction safeDump(input, options) {\n return dump(input, common.extend({schema: DEFAULT_SAFE_SCHEMA}, options));\n}\nmodule.exports.dump = dump;\nmodule.exports.safeDump = safeDump;\n","/* */ \n'use strict';\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar Type = require('./type');\nfunction compileList(schema, name, result) {\n var exclude = [];\n schema.include.forEach(function(includedSchema) {\n result = compileList(includedSchema, name, result);\n });\n schema[name].forEach(function(currentType) {\n result.forEach(function(previousType, previousIndex) {\n if (previousType.tag === currentType.tag) {\n exclude.push(previousIndex);\n }\n });\n result.push(currentType);\n });\n return result.filter(function(type, index) {\n return exclude.indexOf(index) === -1;\n });\n}\nfunction compileMap() {\n var result = {},\n index,\n length;\n function collectType(type) {\n result[type.tag] = type;\n }\n for (index = 0, length = arguments.length; index < length; index += 1) {\n arguments[index].forEach(collectType);\n }\n return result;\n}\nfunction Schema(definition) {\n this.include = definition.include || [];\n this.implicit = definition.implicit || [];\n this.explicit = definition.explicit || [];\n this.implicit.forEach(function(type) {\n if (type.loadKind && type.loadKind !== 'scalar') {\n throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');\n }\n });\n this.compiledImplicit = compileList(this, 'implicit', []);\n this.compiledExplicit = compileList(this, 'explicit', []);\n this.compiledTypeMap = compileMap(this.compiledImplicit, this.compiledExplicit);\n}\nSchema.DEFAULT = null;\nSchema.create = function createSchema() {\n var schemas,\n types;\n switch (arguments.length) {\n case 1:\n schemas = Schema.DEFAULT;\n types = arguments[0];\n break;\n case 2:\n schemas = arguments[0];\n types = arguments[1];\n break;\n default:\n throw new YAMLException('Wrong number of arguments for Schema.create function');\n }\n schemas = common.toArray(schemas);\n types = common.toArray(types);\n if (!schemas.every(function(schema) {\n return schema instanceof Schema;\n })) {\n throw new YAMLException('Specified list of super schemas (or a single Schema object) contains a non-Schema object.');\n }\n if (!types.every(function(type) {\n return type instanceof Type;\n })) {\n throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n return new Schema({\n include: schemas,\n explicit: types\n });\n};\nmodule.exports = Schema;\n","/* */ \n'use strict';\nvar Type = require('../type');\nmodule.exports = new Type('tag:yaml.org,2002:str', {\n kind: 'scalar',\n construct: function(data) {\n return data !== null ? data : '';\n }\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nmodule.exports = new Type('tag:yaml.org,2002:seq', {\n kind: 'sequence',\n construct: function(data) {\n return data !== null ? data : [];\n }\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nmodule.exports = new Type('tag:yaml.org,2002:map', {\n kind: 'mapping',\n construct: function(data) {\n return data !== null ? data : {};\n }\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = new Schema({explicit: [require('../type/str'), require('../type/seq'), require('../type/map')]});\n","/* */ \n'use strict';\nvar Type = require('../type');\nfunction resolveYamlNull(data) {\n if (data === null)\n return true;\n var max = data.length;\n return (max === 1 && data === '~') || (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));\n}\nfunction constructYamlNull() {\n return null;\n}\nfunction isNull(object) {\n return object === null;\n}\nmodule.exports = new Type('tag:yaml.org,2002:null', {\n kind: 'scalar',\n resolve: resolveYamlNull,\n construct: constructYamlNull,\n predicate: isNull,\n represent: {\n canonical: function() {\n return '~';\n },\n lowercase: function() {\n return 'null';\n },\n uppercase: function() {\n return 'NULL';\n },\n camelcase: function() {\n return 'Null';\n }\n },\n defaultStyle: 'lowercase'\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nfunction resolveYamlBoolean(data) {\n if (data === null)\n return false;\n var max = data.length;\n return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) || (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));\n}\nfunction constructYamlBoolean(data) {\n return data === 'true' || data === 'True' || data === 'TRUE';\n}\nfunction isBoolean(object) {\n return Object.prototype.toString.call(object) === '[object Boolean]';\n}\nmodule.exports = new Type('tag:yaml.org,2002:bool', {\n kind: 'scalar',\n resolve: resolveYamlBoolean,\n construct: constructYamlBoolean,\n predicate: isBoolean,\n represent: {\n lowercase: function(object) {\n return object ? 'true' : 'false';\n },\n uppercase: function(object) {\n return object ? 'TRUE' : 'FALSE';\n },\n camelcase: function(object) {\n return object ? 'True' : 'False';\n }\n },\n defaultStyle: 'lowercase'\n});\n","/* */ \n'use strict';\nvar common = require('../common');\nvar Type = require('../type');\nfunction isHexCode(c) {\n return ((0x30 <= c) && (c <= 0x39)) || ((0x41 <= c) && (c <= 0x46)) || ((0x61 <= c) && (c <= 0x66));\n}\nfunction isOctCode(c) {\n return ((0x30 <= c) && (c <= 0x37));\n}\nfunction isDecCode(c) {\n return ((0x30 <= c) && (c <= 0x39));\n}\nfunction resolveYamlInteger(data) {\n if (data === null)\n return false;\n var max = data.length,\n index = 0,\n hasDigits = false,\n ch;\n if (!max)\n return false;\n ch = data[index];\n if (ch === '-' || ch === '+') {\n ch = data[++index];\n }\n if (ch === '0') {\n if (index + 1 === max)\n return true;\n ch = data[++index];\n if (ch === 'b') {\n index++;\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_')\n continue;\n if (ch !== '0' && ch !== '1')\n return false;\n hasDigits = true;\n }\n return hasDigits;\n }\n if (ch === 'x') {\n index++;\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_')\n continue;\n if (!isHexCode(data.charCodeAt(index)))\n return false;\n hasDigits = true;\n }\n return hasDigits;\n }\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_')\n continue;\n if (!isOctCode(data.charCodeAt(index)))\n return false;\n hasDigits = true;\n }\n return hasDigits;\n }\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_')\n continue;\n if (ch === ':')\n break;\n if (!isDecCode(data.charCodeAt(index))) {\n return false;\n }\n hasDigits = true;\n }\n if (!hasDigits)\n return false;\n if (ch !== ':')\n return true;\n return /^(:[0-5]?[0-9])+$/.test(data.slice(index));\n}\nfunction constructYamlInteger(data) {\n var value = data,\n sign = 1,\n ch,\n base,\n digits = [];\n if (value.indexOf('_') !== -1) {\n value = value.replace(/_/g, '');\n }\n ch = value[0];\n if (ch === '-' || ch === '+') {\n if (ch === '-')\n sign = -1;\n value = value.slice(1);\n ch = value[0];\n }\n if (value === '0')\n return 0;\n if (ch === '0') {\n if (value[1] === 'b')\n return sign * parseInt(value.slice(2), 2);\n if (value[1] === 'x')\n return sign * parseInt(value, 16);\n return sign * parseInt(value, 8);\n }\n if (value.indexOf(':') !== -1) {\n value.split(':').forEach(function(v) {\n digits.unshift(parseInt(v, 10));\n });\n value = 0;\n base = 1;\n digits.forEach(function(d) {\n value += (d * base);\n base *= 60;\n });\n return sign * value;\n }\n return sign * parseInt(value, 10);\n}\nfunction isInteger(object) {\n return (Object.prototype.toString.call(object)) === '[object Number]' && (object % 1 === 0 && !common.isNegativeZero(object));\n}\nmodule.exports = new Type('tag:yaml.org,2002:int', {\n kind: 'scalar',\n resolve: resolveYamlInteger,\n construct: constructYamlInteger,\n predicate: isInteger,\n represent: {\n binary: function(object) {\n return '0b' + object.toString(2);\n },\n octal: function(object) {\n return '0' + object.toString(8);\n },\n decimal: function(object) {\n return object.toString(10);\n },\n hexadecimal: function(object) {\n return '0x' + object.toString(16).toUpperCase();\n }\n },\n defaultStyle: 'decimal',\n styleAliases: {\n binary: [2, 'bin'],\n octal: [8, 'oct'],\n decimal: [10, 'dec'],\n hexadecimal: [16, 'hex']\n }\n});\n","/* */ \n'use strict';\n\n\nfunction isNothing(subject) {\n return (typeof subject === 'undefined') || (subject === null);\n}\n\n\nfunction isObject(subject) {\n return (typeof subject === 'object') && (subject !== null);\n}\n\n\nfunction toArray(sequence) {\n if (Array.isArray(sequence)) return sequence;\n else if (isNothing(sequence)) return [];\n\n return [ sequence ];\n}\n\n\nfunction extend(target, source) {\n var index, length, key, sourceKeys;\n\n if (source) {\n sourceKeys = Object.keys(source);\n\n for (index = 0, length = sourceKeys.length; index < length; index += 1) {\n key = sourceKeys[index];\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\n\nfunction repeat(string, count) {\n var result = '', cycle;\n\n for (cycle = 0; cycle < count; cycle += 1) {\n result += string;\n }\n\n return result;\n}\n\n\nfunction isNegativeZero(number) {\n return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);\n}\n\n\nmodule.exports.isNothing = isNothing;\nmodule.exports.isObject = isObject;\nmodule.exports.toArray = toArray;\nmodule.exports.repeat = repeat;\nmodule.exports.isNegativeZero = isNegativeZero;\nmodule.exports.extend = extend;\n","/* */ \n'use strict';\nvar common = require('../common');\nvar Type = require('../type');\nvar YAML_FLOAT_PATTERN = new RegExp('^(?:[-+]?(?:[0-9][0-9_]*)\\\\.[0-9_]*(?:[eE][-+][0-9]+)?' + '|\\\\.[0-9_]+(?:[eE][-+][0-9]+)?' + '|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*' + '|[-+]?\\\\.(?:inf|Inf|INF)' + '|\\\\.(?:nan|NaN|NAN))$');\nfunction resolveYamlFloat(data) {\n if (data === null)\n return false;\n if (!YAML_FLOAT_PATTERN.test(data))\n return false;\n return true;\n}\nfunction constructYamlFloat(data) {\n var value,\n sign,\n base,\n digits;\n value = data.replace(/_/g, '').toLowerCase();\n sign = value[0] === '-' ? -1 : 1;\n digits = [];\n if ('+-'.indexOf(value[0]) >= 0) {\n value = value.slice(1);\n }\n if (value === '.inf') {\n return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;\n } else if (value === '.nan') {\n return NaN;\n } else if (value.indexOf(':') >= 0) {\n value.split(':').forEach(function(v) {\n digits.unshift(parseFloat(v, 10));\n });\n value = 0.0;\n base = 1;\n digits.forEach(function(d) {\n value += d * base;\n base *= 60;\n });\n return sign * value;\n }\n return sign * parseFloat(value, 10);\n}\nvar SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;\nfunction representYamlFloat(object, style) {\n var res;\n if (isNaN(object)) {\n switch (style) {\n case 'lowercase':\n return '.nan';\n case 'uppercase':\n return '.NAN';\n case 'camelcase':\n return '.NaN';\n }\n } else if (Number.POSITIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase':\n return '.inf';\n case 'uppercase':\n return '.INF';\n case 'camelcase':\n return '.Inf';\n }\n } else if (Number.NEGATIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase':\n return '-.inf';\n case 'uppercase':\n return '-.INF';\n case 'camelcase':\n return '-.Inf';\n }\n } else if (common.isNegativeZero(object)) {\n return '-0.0';\n }\n res = object.toString(10);\n return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;\n}\nfunction isFloat(object) {\n return (Object.prototype.toString.call(object) === '[object Number]') && (object % 1 !== 0 || common.isNegativeZero(object));\n}\nmodule.exports = new Type('tag:yaml.org,2002:float', {\n kind: 'scalar',\n resolve: resolveYamlFloat,\n construct: constructYamlFloat,\n predicate: isFloat,\n represent: representYamlFloat,\n defaultStyle: 'lowercase'\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = new Schema({\n include: [require('./failsafe')],\n implicit: [require('../type/null'), require('../type/bool'), require('../type/int'), require('../type/float')]\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = new Schema({include: [require('./json')]});\n","/* */ \n'use strict';\nvar Type = require('../type');\nvar YAML_DATE_REGEXP = new RegExp('^([0-9][0-9][0-9][0-9])' + '-([0-9][0-9])' + '-([0-9][0-9])$');\nvar YAML_TIMESTAMP_REGEXP = new RegExp('^([0-9][0-9][0-9][0-9])' + '-([0-9][0-9]?)' + '-([0-9][0-9]?)' + '(?:[Tt]|[ \\\\t]+)' + '([0-9][0-9]?)' + ':([0-9][0-9])' + ':([0-9][0-9])' + '(?:\\\\.([0-9]*))?' + '(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)' + '(?::([0-9][0-9]))?))?$');\nfunction resolveYamlTimestamp(data) {\n if (data === null)\n return false;\n if (YAML_DATE_REGEXP.exec(data) !== null)\n return true;\n if (YAML_TIMESTAMP_REGEXP.exec(data) !== null)\n return true;\n return false;\n}\nfunction constructYamlTimestamp(data) {\n var match,\n year,\n month,\n day,\n hour,\n minute,\n second,\n fraction = 0,\n delta = null,\n tz_hour,\n tz_minute,\n date;\n match = YAML_DATE_REGEXP.exec(data);\n if (match === null)\n match = YAML_TIMESTAMP_REGEXP.exec(data);\n if (match === null)\n throw new Error('Date resolve error');\n year = +(match[1]);\n month = +(match[2]) - 1;\n day = +(match[3]);\n if (!match[4]) {\n return new Date(Date.UTC(year, month, day));\n }\n hour = +(match[4]);\n minute = +(match[5]);\n second = +(match[6]);\n if (match[7]) {\n fraction = match[7].slice(0, 3);\n while (fraction.length < 3) {\n fraction += '0';\n }\n fraction = +fraction;\n }\n if (match[9]) {\n tz_hour = +(match[10]);\n tz_minute = +(match[11] || 0);\n delta = (tz_hour * 60 + tz_minute) * 60000;\n if (match[9] === '-')\n delta = -delta;\n }\n date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));\n if (delta)\n date.setTime(date.getTime() - delta);\n return date;\n}\nfunction representYamlTimestamp(object) {\n return object.toISOString();\n}\nmodule.exports = new Type('tag:yaml.org,2002:timestamp', {\n kind: 'scalar',\n resolve: resolveYamlTimestamp,\n construct: constructYamlTimestamp,\n instanceOf: Date,\n represent: representYamlTimestamp\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nfunction resolveYamlMerge(data) {\n return data === '<<' || data === null;\n}\nmodule.exports = new Type('tag:yaml.org,2002:merge', {\n kind: 'scalar',\n resolve: resolveYamlMerge\n});\n","/* */ \n(function(Buffer) {\n 'use strict';\n var NodeBuffer;\n try {\n var _require = require;\n NodeBuffer = _require('buffer').Buffer;\n } catch (__) {}\n var Type = require('../type');\n var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\\n\\r';\n function resolveYamlBinary(data) {\n if (data === null)\n return false;\n var code,\n idx,\n bitlen = 0,\n max = data.length,\n map = BASE64_MAP;\n for (idx = 0; idx < max; idx++) {\n code = map.indexOf(data.charAt(idx));\n if (code > 64)\n continue;\n if (code < 0)\n return false;\n bitlen += 6;\n }\n return (bitlen % 8) === 0;\n }\n function constructYamlBinary(data) {\n var idx,\n tailbits,\n input = data.replace(/[\\r\\n=]/g, ''),\n max = input.length,\n map = BASE64_MAP,\n bits = 0,\n result = [];\n for (idx = 0; idx < max; idx++) {\n if ((idx % 4 === 0) && idx) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n }\n bits = (bits << 6) | map.indexOf(input.charAt(idx));\n }\n tailbits = (max % 4) * 6;\n if (tailbits === 0) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n } else if (tailbits === 18) {\n result.push((bits >> 10) & 0xFF);\n result.push((bits >> 2) & 0xFF);\n } else if (tailbits === 12) {\n result.push((bits >> 4) & 0xFF);\n }\n if (NodeBuffer)\n return new NodeBuffer(result);\n return result;\n }\n function representYamlBinary(object) {\n var result = '',\n bits = 0,\n idx,\n tail,\n max = object.length,\n map = BASE64_MAP;\n for (idx = 0; idx < max; idx++) {\n if ((idx % 3 === 0) && idx) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n }\n bits = (bits << 8) + object[idx];\n }\n tail = max % 3;\n if (tail === 0) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n } else if (tail === 2) {\n result += map[(bits >> 10) & 0x3F];\n result += map[(bits >> 4) & 0x3F];\n result += map[(bits << 2) & 0x3F];\n result += map[64];\n } else if (tail === 1) {\n result += map[(bits >> 2) & 0x3F];\n result += map[(bits << 4) & 0x3F];\n result += map[64];\n result += map[64];\n }\n return result;\n }\n function isBinary(object) {\n return NodeBuffer && NodeBuffer.isBuffer(object);\n }\n module.exports = new Type('tag:yaml.org,2002:binary', {\n kind: 'scalar',\n resolve: resolveYamlBinary,\n construct: constructYamlBinary,\n predicate: isBinary,\n represent: representYamlBinary\n });\n})(require('buffer').Buffer);\n","/* */ \n'use strict';\nvar Type = require('../type');\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar _toString = Object.prototype.toString;\nfunction resolveYamlOmap(data) {\n if (data === null)\n return true;\n var objectKeys = [],\n index,\n length,\n pair,\n pairKey,\n pairHasKey,\n object = data;\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n pairHasKey = false;\n if (_toString.call(pair) !== '[object Object]')\n return false;\n for (pairKey in pair) {\n if (_hasOwnProperty.call(pair, pairKey)) {\n if (!pairHasKey)\n pairHasKey = true;\n else\n return false;\n }\n }\n if (!pairHasKey)\n return false;\n if (objectKeys.indexOf(pairKey) === -1)\n objectKeys.push(pairKey);\n else\n return false;\n }\n return true;\n}\nfunction constructYamlOmap(data) {\n return data !== null ? data : [];\n}\nmodule.exports = new Type('tag:yaml.org,2002:omap', {\n kind: 'sequence',\n resolve: resolveYamlOmap,\n construct: constructYamlOmap\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nvar _toString = Object.prototype.toString;\nfunction resolveYamlPairs(data) {\n if (data === null)\n return true;\n var index,\n length,\n pair,\n keys,\n result,\n object = data;\n result = new Array(object.length);\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n if (_toString.call(pair) !== '[object Object]')\n return false;\n keys = Object.keys(pair);\n if (keys.length !== 1)\n return false;\n result[index] = [keys[0], pair[keys[0]]];\n }\n return true;\n}\nfunction constructYamlPairs(data) {\n if (data === null)\n return [];\n var index,\n length,\n pair,\n keys,\n result,\n object = data;\n result = new Array(object.length);\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n keys = Object.keys(pair);\n result[index] = [keys[0], pair[keys[0]]];\n }\n return result;\n}\nmodule.exports = new Type('tag:yaml.org,2002:pairs', {\n kind: 'sequence',\n resolve: resolveYamlPairs,\n construct: constructYamlPairs\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction resolveYamlSet(data) {\n if (data === null)\n return true;\n var key,\n object = data;\n for (key in object) {\n if (_hasOwnProperty.call(object, key)) {\n if (object[key] !== null)\n return false;\n }\n }\n return true;\n}\nfunction constructYamlSet(data) {\n return data !== null ? data : {};\n}\nmodule.exports = new Type('tag:yaml.org,2002:set', {\n kind: 'mapping',\n resolve: resolveYamlSet,\n construct: constructYamlSet\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = new Schema({\n include: [require('./core')],\n implicit: [require('../type/timestamp'), require('../type/merge')],\n explicit: [require('../type/binary'), require('../type/omap'), require('../type/pairs'), require('../type/set')]\n});\n","/* */ \n'use strict';\nvar Type = require('../../type');\nfunction resolveJavascriptUndefined() {\n return true;\n}\nfunction constructJavascriptUndefined() {\n return undefined;\n}\nfunction representJavascriptUndefined() {\n return '';\n}\nfunction isUndefined(object) {\n return typeof object === 'undefined';\n}\nmodule.exports = new Type('tag:yaml.org,2002:js/undefined', {\n kind: 'scalar',\n resolve: resolveJavascriptUndefined,\n construct: constructJavascriptUndefined,\n predicate: isUndefined,\n represent: representJavascriptUndefined\n});\n","/* */ \n'use strict';\nvar Type = require('../../type');\nfunction resolveJavascriptRegExp(data) {\n if (data === null)\n return false;\n if (data.length === 0)\n return false;\n var regexp = data,\n tail = /\\/([gim]*)$/.exec(data),\n modifiers = '';\n if (regexp[0] === '/') {\n if (tail)\n modifiers = tail[1];\n if (modifiers.length > 3)\n return false;\n if (regexp[regexp.length - modifiers.length - 1] !== '/')\n return false;\n }\n return true;\n}\nfunction constructJavascriptRegExp(data) {\n var regexp = data,\n tail = /\\/([gim]*)$/.exec(data),\n modifiers = '';\n if (regexp[0] === '/') {\n if (tail)\n modifiers = tail[1];\n regexp = regexp.slice(1, regexp.length - modifiers.length - 1);\n }\n return new RegExp(regexp, modifiers);\n}\nfunction representJavascriptRegExp(object) {\n var result = '/' + object.source + '/';\n if (object.global)\n result += 'g';\n if (object.multiline)\n result += 'm';\n if (object.ignoreCase)\n result += 'i';\n return result;\n}\nfunction isRegExp(object) {\n return Object.prototype.toString.call(object) === '[object RegExp]';\n}\nmodule.exports = new Type('tag:yaml.org,2002:js/regexp', {\n kind: 'scalar',\n resolve: resolveJavascriptRegExp,\n construct: constructJavascriptRegExp,\n predicate: isRegExp,\n represent: representJavascriptRegExp\n});\n","/* */ \n'use strict';\nvar YAMLException = require('./exception');\nvar TYPE_CONSTRUCTOR_OPTIONS = ['kind', 'resolve', 'construct', 'instanceOf', 'predicate', 'represent', 'defaultStyle', 'styleAliases'];\nvar YAML_NODE_KINDS = ['scalar', 'sequence', 'mapping'];\nfunction compileStyleAliases(map) {\n var result = {};\n if (map !== null) {\n Object.keys(map).forEach(function(style) {\n map[style].forEach(function(alias) {\n result[String(alias)] = style;\n });\n });\n }\n return result;\n}\nfunction Type(tag, options) {\n options = options || {};\n Object.keys(options).forEach(function(name) {\n if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {\n throw new YAMLException('Unknown option \"' + name + '\" is met in definition of \"' + tag + '\" YAML type.');\n }\n });\n this.tag = tag;\n this.kind = options['kind'] || null;\n this.resolve = options['resolve'] || function() {\n return true;\n };\n this.construct = options['construct'] || function(data) {\n return data;\n };\n this.instanceOf = options['instanceOf'] || null;\n this.predicate = options['predicate'] || null;\n this.represent = options['represent'] || null;\n this.defaultStyle = options['defaultStyle'] || null;\n this.styleAliases = compileStyleAliases(options['styleAliases'] || null);\n if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {\n throw new YAMLException('Unknown kind \"' + this.kind + '\" is specified for \"' + tag + '\" YAML type.');\n }\n}\nmodule.exports = Type;\n","/* */ \n'use strict';\nvar esprima;\ntry {\n var _require = require;\n esprima = _require('esprima');\n} catch (_) {\n if (typeof window !== 'undefined')\n esprima = window.esprima;\n}\nvar Type = require('../../type');\nfunction resolveJavascriptFunction(data) {\n if (data === null)\n return false;\n try {\n var source = '(' + data + ')',\n ast = esprima.parse(source, {range: true});\n if (ast.type !== 'Program' || ast.body.length !== 1 || ast.body[0].type !== 'ExpressionStatement' || ast.body[0].expression.type !== 'FunctionExpression') {\n return false;\n }\n return true;\n } catch (err) {\n return false;\n }\n}\nfunction constructJavascriptFunction(data) {\n var source = '(' + data + ')',\n ast = esprima.parse(source, {range: true}),\n params = [],\n body;\n if (ast.type !== 'Program' || ast.body.length !== 1 || ast.body[0].type !== 'ExpressionStatement' || ast.body[0].expression.type !== 'FunctionExpression') {\n throw new Error('Failed to resolve function');\n }\n ast.body[0].expression.params.forEach(function(param) {\n params.push(param.name);\n });\n body = ast.body[0].expression.body.range;\n return new Function(params, source.slice(body[0] + 1, body[1] - 1));\n}\nfunction representJavascriptFunction(object) {\n return object.toString();\n}\nfunction isFunction(object) {\n return Object.prototype.toString.call(object) === '[object Function]';\n}\nmodule.exports = new Type('tag:yaml.org,2002:js/function', {\n kind: 'scalar',\n resolve: resolveJavascriptFunction,\n construct: constructJavascriptFunction,\n predicate: isFunction,\n represent: representJavascriptFunction\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = Schema.DEFAULT = new Schema({\n include: [require('./default_safe')],\n explicit: [require('../type/js/undefined'), require('../type/js/regexp'), require('../type/js/function')]\n});\n","// YAML error class. http://stackoverflow.com/questions/8458984\n//\n'use strict';\n\nfunction YAMLException(reason, mark) {\n // Super constructor\n Error.call(this);\n\n // Include stack trace in error object\n if (Error.captureStackTrace) {\n // Chrome and NodeJS\n Error.captureStackTrace(this, this.constructor);\n } else {\n // FF, IE 10+ and Safari 6+. Fallback for others\n this.stack = (new Error()).stack || '';\n }\n\n this.name = 'YAMLException';\n this.reason = reason;\n this.mark = mark;\n this.message = (this.reason || '(unknown reason)') + (this.mark ? ' ' + this.mark.toString() : '');\n}\n\n\n// Inherit from Error\nYAMLException.prototype = Object.create(Error.prototype);\nYAMLException.prototype.constructor = YAMLException;\n\n\nYAMLException.prototype.toString = function toString(compact) {\n var result = this.name + ': ';\n\n result += this.reason || '(unknown reason)';\n\n if (!compact && this.mark) {\n result += ' ' + this.mark.toString();\n }\n\n return result;\n};\n\n\nmodule.exports = YAMLException;\n","/* */ \n'use strict';\nvar loader = require('./js-yaml/loader');\nvar dumper = require('./js-yaml/dumper');\nfunction deprecated(name) {\n return function() {\n throw new Error('Function ' + name + ' is deprecated and cannot be used.');\n };\n}\nmodule.exports.Type = require('./js-yaml/type');\nmodule.exports.Schema = require('./js-yaml/schema');\nmodule.exports.FAILSAFE_SCHEMA = require('./js-yaml/schema/failsafe');\nmodule.exports.JSON_SCHEMA = require('./js-yaml/schema/json');\nmodule.exports.CORE_SCHEMA = require('./js-yaml/schema/core');\nmodule.exports.DEFAULT_SAFE_SCHEMA = require('./js-yaml/schema/default_safe');\nmodule.exports.DEFAULT_FULL_SCHEMA = require('./js-yaml/schema/default_full');\nmodule.exports.load = loader.load;\nmodule.exports.loadAll = loader.loadAll;\nmodule.exports.safeLoad = loader.safeLoad;\nmodule.exports.safeLoadAll = loader.safeLoadAll;\nmodule.exports.dump = dumper.dump;\nmodule.exports.safeDump = dumper.safeDump;\nmodule.exports.YAMLException = require('./js-yaml/exception');\nmodule.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/failsafe');\nmodule.exports.SAFE_SCHEMA = require('./js-yaml/schema/default_safe');\nmodule.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default_full');\nmodule.exports.scan = deprecated('scan');\nmodule.exports.parse = deprecated('parse');\nmodule.exports.compose = deprecated('compose');\nmodule.exports.addConstructor = deprecated('addConstructor');\n","/* */ \n'use strict';\nvar yaml = require('./lib/js-yaml');\nmodule.exports = yaml;\n","module.exports = require(\"npm:js-yaml@3.6.0/index\");","/* eslint lines-around-comment: [2, {beforeBlockComment: false}] */\n'use strict';\n\nvar yaml = require('js-yaml'),\n ono = require('ono');\n\n/**\n * Simple YAML parsing functions, similar to {@link JSON.parse} and {@link JSON.stringify}\n */\nmodule.exports = {\n /**\n * Parses a YAML string and returns the value.\n *\n * @param {string} text - The YAML string to be parsed\n * @param {function} [reviver] - Not currently supported. Provided for consistency with {@link JSON.parse}\n * @returns {*}\n */\n parse: function yamlParse(text, reviver) {\n try {\n return yaml.safeLoad(text);\n }\n catch (e) {\n if (e instanceof Error) {\n throw e;\n }\n else {\n // https://github.com/nodeca/js-yaml/issues/153\n throw ono(e, e.message);\n }\n }\n },\n\n /**\n * Converts a JavaScript value to a YAML string.\n *\n * @param {*} value - The value to convert to YAML\n * @param {function|array} replacer - Not currently supported. Provided for consistency with {@link JSON.stringify}\n * @param {string|number} space - The number of spaces to use for indentation, or a string containing the number of spaces.\n * @returns {string}\n */\n stringify: function yamlStringify(value, replacer, space) {\n try {\n var indent = (typeof space === 'string' ? space.length : space) || 2;\n return yaml.safeDump(value, {indent: indent});\n }\n catch (e) {\n if (e instanceof Error) {\n throw e;\n }\n else {\n // https://github.com/nodeca/js-yaml/issues/153\n throw ono(e, e.message);\n }\n }\n }\n};\n","/* */ \n(function(Buffer) {\n 'use strict';\n var Promise = require('./util/promise'),\n Options = require('./options'),\n $Refs = require('./refs'),\n parse = require('./parse'),\n resolveExternal = require('./resolve-external'),\n bundle = require('./bundle'),\n dereference = require('./dereference'),\n url = require('./util/url'),\n maybe = require('call-me-maybe'),\n ono = require('ono');\n module.exports = $RefParser;\n module.exports.YAML = require('./util/yaml');\n function $RefParser() {\n this.schema = null;\n this.$refs = new $Refs();\n }\n $RefParser.parse = function(schema, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.parse.apply(instance, arguments);\n };\n $RefParser.prototype.parse = function(schema, options, callback) {\n var args = normalizeArgs(arguments);\n var promise;\n if (!args.path && !args.schema) {\n var err = ono('Expected a file path, URL, or object. Got %s', args.path || args.schema);\n return maybe(args.callback, Promise.reject(err));\n }\n this.schema = null;\n this.$refs = new $Refs();\n if (url.isFileSystemPath(args.path)) {\n args.path = url.fromFileSystemPath(args.path);\n }\n args.path = url.resolve(url.cwd(), args.path);\n if (args.schema && typeof args.schema === 'object') {\n this.$refs._add(args.path, args.schema);\n promise = Promise.resolve(args.schema);\n } else {\n promise = parse(args.path, this.$refs, args.options);\n }\n var me = this;\n return promise.then(function(result) {\n if (!result || typeof result !== 'object' || Buffer.isBuffer(result)) {\n throw ono.syntax('\"%s\" is not a valid JSON Schema', me.$refs._root$Ref.path || result);\n } else {\n me.schema = result;\n return maybe(args.callback, Promise.resolve(me.schema));\n }\n }).catch(function(e) {\n return maybe(args.callback, Promise.reject(e));\n });\n };\n $RefParser.resolve = function(schema, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.resolve.apply(instance, arguments);\n };\n $RefParser.prototype.resolve = function(schema, options, callback) {\n var me = this;\n var args = normalizeArgs(arguments);\n return this.parse(args.path, args.schema, args.options).then(function() {\n return resolveExternal(me, args.options);\n }).then(function() {\n return maybe(args.callback, Promise.resolve(me.$refs));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n };\n $RefParser.bundle = function(schema, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.bundle.apply(instance, arguments);\n };\n $RefParser.prototype.bundle = function(schema, options, callback) {\n var me = this;\n var args = normalizeArgs(arguments);\n return this.resolve(args.path, args.schema, args.options).then(function() {\n bundle(me, args.options);\n return maybe(args.callback, Promise.resolve(me.schema));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n };\n $RefParser.dereference = function(schema, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.dereference.apply(instance, arguments);\n };\n $RefParser.prototype.dereference = function(schema, options, callback) {\n var me = this;\n var args = normalizeArgs(arguments);\n return this.resolve(args.path, args.schema, args.options).then(function() {\n dereference(me, args.options);\n return maybe(args.callback, Promise.resolve(me.schema));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n };\n function normalizeArgs(args) {\n var path,\n schema,\n options,\n callback;\n args = Array.prototype.slice.call(args);\n if (typeof args[args.length - 1] === 'function') {\n callback = args.pop();\n }\n if (typeof args[0] === 'string') {\n path = args[0];\n if (typeof args[2] === 'object') {\n schema = args[1];\n options = args[2];\n } else {\n schema = undefined;\n options = args[1];\n }\n } else {\n path = '';\n schema = args[0];\n options = args[1];\n }\n if (!(options instanceof Options)) {\n options = new Options(options);\n }\n return {\n path: path,\n schema: schema,\n options: options,\n callback: callback\n };\n }\n})(require('buffer').Buffer);\n","module.exports = require(\"npm:json-schema-ref-parser@3.1.2/lib/index.js\");","/* */ \n(function(Buffer) {\n 'use strict';\n module.exports = $Ref;\n var Pointer = require('./pointer');\n function $Ref() {\n this.path = undefined;\n this.value = undefined;\n this.$refs = undefined;\n this.pathType = undefined;\n }\n $Ref.prototype.exists = function(path, options) {\n try {\n this.resolve(path, options);\n return true;\n } catch (e) {\n return false;\n }\n };\n $Ref.prototype.get = function(path, options) {\n return this.resolve(path, options).value;\n };\n $Ref.prototype.resolve = function(path, options) {\n var pointer = new Pointer(this, path);\n return pointer.resolve(this.value, options);\n };\n $Ref.prototype.set = function(path, value) {\n var pointer = new Pointer(this, path);\n this.value = pointer.set(this.value, value);\n };\n $Ref.is$Ref = function(value) {\n return value && typeof value === 'object' && typeof value.$ref === 'string' && value.$ref.length > 0;\n };\n $Ref.isExternal$Ref = function(value) {\n return $Ref.is$Ref(value) && value.$ref[0] !== '#';\n };\n $Ref.isAllowed$Ref = function(value, options) {\n if ($Ref.is$Ref(value)) {\n if (value.$ref[0] === '#' || !options || options.resolve.external) {\n return true;\n }\n }\n };\n $Ref.isExtended$Ref = function(value) {\n return $Ref.is$Ref(value) && Object.keys(value).length > 1;\n };\n $Ref.dereference = function($ref, resolvedValue) {\n if (resolvedValue && typeof resolvedValue === 'object' && $Ref.isExtended$Ref($ref)) {\n var merged = {};\n Object.keys($ref).forEach(function(key) {\n if (key !== '$ref') {\n merged[key] = $ref[key];\n }\n });\n Object.keys(resolvedValue).forEach(function(key) {\n if (!(key in merged)) {\n merged[key] = resolvedValue[key];\n }\n });\n return merged;\n } else {\n return resolvedValue;\n }\n };\n})(require('buffer').Buffer);\n","/* */ \nvar lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\n;(function (exports) {\n\t'use strict';\n\n var Arr = (typeof Uint8Array !== 'undefined')\n ? Uint8Array\n : Array\n\n\tvar PLUS = '+'.charCodeAt(0)\n\tvar SLASH = '/'.charCodeAt(0)\n\tvar NUMBER = '0'.charCodeAt(0)\n\tvar LOWER = 'a'.charCodeAt(0)\n\tvar UPPER = 'A'.charCodeAt(0)\n\tvar PLUS_URL_SAFE = '-'.charCodeAt(0)\n\tvar SLASH_URL_SAFE = '_'.charCodeAt(0)\n\n\tfunction decode (elt) {\n\t\tvar code = elt.charCodeAt(0)\n\t\tif (code === PLUS ||\n\t\t code === PLUS_URL_SAFE)\n\t\t\treturn 62 // '+'\n\t\tif (code === SLASH ||\n\t\t code === SLASH_URL_SAFE)\n\t\t\treturn 63 // '/'\n\t\tif (code < NUMBER)\n\t\t\treturn -1 //no match\n\t\tif (code < NUMBER + 10)\n\t\t\treturn code - NUMBER + 26 + 26\n\t\tif (code < UPPER + 26)\n\t\t\treturn code - UPPER\n\t\tif (code < LOWER + 26)\n\t\t\treturn code - LOWER + 26\n\t}\n\n\tfunction b64ToByteArray (b64) {\n\t\tvar i, j, l, tmp, placeHolders, arr\n\n\t\tif (b64.length % 4 > 0) {\n\t\t\tthrow new Error('Invalid string. Length must be a multiple of 4')\n\t\t}\n\n\t\t// the number of equal signs (place holders)\n\t\t// if there are two placeholders, than the two characters before it\n\t\t// represent one byte\n\t\t// if there is only one, then the three characters before it represent 2 bytes\n\t\t// this is just a cheap hack to not do indexOf twice\n\t\tvar len = b64.length\n\t\tplaceHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 0\n\n\t\t// base64 is 4/3 + up to two characters of the original data\n\t\tarr = new Arr(b64.length * 3 / 4 - placeHolders)\n\n\t\t// if there are placeholders, only get up to the last complete 4 chars\n\t\tl = placeHolders > 0 ? b64.length - 4 : b64.length\n\n\t\tvar L = 0\n\n\t\tfunction push (v) {\n\t\t\tarr[L++] = v\n\t\t}\n\n\t\tfor (i = 0, j = 0; i < l; i += 4, j += 3) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3))\n\t\t\tpush((tmp & 0xFF0000) >> 16)\n\t\t\tpush((tmp & 0xFF00) >> 8)\n\t\t\tpush(tmp & 0xFF)\n\t\t}\n\n\t\tif (placeHolders === 2) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4)\n\t\t\tpush(tmp & 0xFF)\n\t\t} else if (placeHolders === 1) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2)\n\t\t\tpush((tmp >> 8) & 0xFF)\n\t\t\tpush(tmp & 0xFF)\n\t\t}\n\n\t\treturn arr\n\t}\n\n\tfunction uint8ToBase64 (uint8) {\n\t\tvar i,\n\t\t\textraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes\n\t\t\toutput = \"\",\n\t\t\ttemp, length\n\n\t\tfunction encode (num) {\n\t\t\treturn lookup.charAt(num)\n\t\t}\n\n\t\tfunction tripletToBase64 (num) {\n\t\t\treturn encode(num >> 18 & 0x3F) + encode(num >> 12 & 0x3F) + encode(num >> 6 & 0x3F) + encode(num & 0x3F)\n\t\t}\n\n\t\t// go through the array every three bytes, we'll deal with trailing stuff later\n\t\tfor (i = 0, length = uint8.length - extraBytes; i < length; i += 3) {\n\t\t\ttemp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])\n\t\t\toutput += tripletToBase64(temp)\n\t\t}\n\n\t\t// pad the end with zeros, but make sure to not forget the extra bytes\n\t\tswitch (extraBytes) {\n\t\t\tcase 1:\n\t\t\t\ttemp = uint8[uint8.length - 1]\n\t\t\t\toutput += encode(temp >> 2)\n\t\t\t\toutput += encode((temp << 4) & 0x3F)\n\t\t\t\toutput += '=='\n\t\t\t\tbreak\n\t\t\tcase 2:\n\t\t\t\ttemp = (uint8[uint8.length - 2] << 8) + (uint8[uint8.length - 1])\n\t\t\t\toutput += encode(temp >> 10)\n\t\t\t\toutput += encode((temp >> 4) & 0x3F)\n\t\t\t\toutput += encode((temp << 2) & 0x3F)\n\t\t\t\toutput += '='\n\t\t\t\tbreak\n\t\t}\n\n\t\treturn output\n\t}\n\n\texports.toByteArray = b64ToByteArray\n\texports.fromByteArray = uint8ToBase64\n}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))\n","module.exports = require(\"npm:base64-js@0.0.8/lib/b64.js\");","/* */ \nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","module.exports = require(\"npm:ieee754@1.1.6/index.js\");","/* */ \nvar toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n","module.exports = require(\"npm:isarray@1.0.0/index.js\");","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nvar base64 = require('base64-js')\nvar ieee754 = require('ieee754')\nvar isArray = require('isarray')\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\nBuffer.poolSize = 8192 // not used by this implementation\n\nvar rootParent = {}\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Safari 5-7 lacks support for changing the `Object.prototype.constructor` property\n * on objects.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\nfunction typedArraySupport () {\n function Bar () {}\n try {\n var arr = new Uint8Array(1)\n arr.foo = function () { return 42 }\n arr.constructor = Bar\n return arr.foo() === 42 && // typed array instances can be augmented\n arr.constructor === Bar && // constructor can be set\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\n/**\n * Class: Buffer\n * =============\n *\n * The Buffer constructor returns instances of `Uint8Array` that are augmented\n * with function properties for all the node `Buffer` API functions. We use\n * `Uint8Array` so that square bracket notation works as expected -- it returns\n * a single octet.\n *\n * By augmenting the instances, we can avoid modifying the `Uint8Array`\n * prototype.\n */\nfunction Buffer (arg) {\n if (!(this instanceof Buffer)) {\n // Avoid going through an ArgumentsAdaptorTrampoline in the common case.\n if (arguments.length > 1) return new Buffer(arg, arguments[1])\n return new Buffer(arg)\n }\n\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n this.length = 0\n this.parent = undefined\n }\n\n // Common case.\n if (typeof arg === 'number') {\n return fromNumber(this, arg)\n }\n\n // Slightly less common case.\n if (typeof arg === 'string') {\n return fromString(this, arg, arguments.length > 1 ? arguments[1] : 'utf8')\n }\n\n // Unusual.\n return fromObject(this, arg)\n}\n\nfunction fromNumber (that, length) {\n that = allocate(that, length < 0 ? 0 : checked(length) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < length; i++) {\n that[i] = 0\n }\n }\n return that\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') encoding = 'utf8'\n\n // Assumption: byteLength() return value is always < kMaxLength.\n var length = byteLength(string, encoding) | 0\n that = allocate(that, length)\n\n that.write(string, encoding)\n return that\n}\n\nfunction fromObject (that, object) {\n if (Buffer.isBuffer(object)) return fromBuffer(that, object)\n\n if (isArray(object)) return fromArray(that, object)\n\n if (object == null) {\n throw new TypeError('must start with number, buffer, array or string')\n }\n\n if (typeof ArrayBuffer !== 'undefined') {\n if (object.buffer instanceof ArrayBuffer) {\n return fromTypedArray(that, object)\n }\n if (object instanceof ArrayBuffer) {\n return fromArrayBuffer(that, object)\n }\n }\n\n if (object.length) return fromArrayLike(that, object)\n\n return fromJsonObject(that, object)\n}\n\nfunction fromBuffer (that, buffer) {\n var length = checked(buffer.length) | 0\n that = allocate(that, length)\n buffer.copy(that, 0, 0, length)\n return that\n}\n\nfunction fromArray (that, array) {\n var length = checked(array.length) | 0\n that = allocate(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\n// Duplicate of fromArray() to keep fromArray() monomorphic.\nfunction fromTypedArray (that, array) {\n var length = checked(array.length) | 0\n that = allocate(that, length)\n // Truncating the elements is probably not what people expect from typed\n // arrays with BYTES_PER_ELEMENT > 1 but it's compatible with the behavior\n // of the old Buffer constructor.\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array) {\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n array.byteLength\n that = Buffer._augment(new Uint8Array(array))\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromTypedArray(that, new Uint8Array(array))\n }\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = checked(array.length) | 0\n that = allocate(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\n// Deserialize { type: 'Buffer', data: [1,2,3,...] } into a Buffer object.\n// Returns a zero-length buffer for inputs that don't conform to the spec.\nfunction fromJsonObject (that, object) {\n var array\n var length = 0\n\n if (object.type === 'Buffer' && isArray(object.data)) {\n array = object.data\n length = checked(array.length) | 0\n }\n that = allocate(that, length)\n\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n} else {\n // pre-set for values that may exist in the future\n Buffer.prototype.length = undefined\n Buffer.prototype.parent = undefined\n}\n\nfunction allocate (that, length) {\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = Buffer._augment(new Uint8Array(length))\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that.length = length\n that._isBuffer = true\n }\n\n var fromPool = length !== 0 && length <= Buffer.poolSize >>> 1\n if (fromPool) that.parent = rootParent\n\n return that\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (subject, encoding) {\n if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding)\n\n var buf = new Buffer(subject, encoding)\n delete buf.parent\n return buf\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n var i = 0\n var len = Math.min(x, y)\n while (i < len) {\n if (a[i] !== b[i]) break\n\n ++i\n }\n\n if (i !== len) {\n x = a[i]\n y = b[i]\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'binary':\n case 'base64':\n case 'raw':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) throw new TypeError('list argument must be an Array of Buffers.')\n\n if (list.length === 0) {\n return new Buffer(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; i++) {\n length += list[i].length\n }\n }\n\n var buf = new Buffer(length)\n var pos = 0\n for (i = 0; i < list.length; i++) {\n var item = list[i]\n item.copy(buf, pos)\n pos += item.length\n }\n return buf\n}\n\nfunction byteLength (string, encoding) {\n if (typeof string !== 'string') string = '' + string\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'binary':\n // Deprecated\n case 'raw':\n case 'raws':\n return len\n case 'utf8':\n case 'utf-8':\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n start = start | 0\n end = end === undefined || end === Infinity ? this.length : end | 0\n\n if (!encoding) encoding = 'utf8'\n if (start < 0) start = 0\n if (end > this.length) end = this.length\n if (end <= start) return ''\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'binary':\n return binarySlice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return '<Buffer ' + str + '>'\n}\n\nBuffer.prototype.compare = function compare (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return 0\n return Buffer.compare(this, b)\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset) {\n if (byteOffset > 0x7fffffff) byteOffset = 0x7fffffff\n else if (byteOffset < -0x80000000) byteOffset = -0x80000000\n byteOffset >>= 0\n\n if (this.length === 0) return -1\n if (byteOffset >= this.length) return -1\n\n // Negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = Math.max(this.length + byteOffset, 0)\n\n if (typeof val === 'string') {\n if (val.length === 0) return -1 // special case: looking for empty string always fails\n return String.prototype.indexOf.call(this, val, byteOffset)\n }\n if (Buffer.isBuffer(val)) {\n return arrayIndexOf(this, val, byteOffset)\n }\n if (typeof val === 'number') {\n if (Buffer.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === 'function') {\n return Uint8Array.prototype.indexOf.call(this, val, byteOffset)\n }\n return arrayIndexOf(this, [ val ], byteOffset)\n }\n\n function arrayIndexOf (arr, val, byteOffset) {\n var foundIndex = -1\n for (var i = 0; byteOffset + i < arr.length; i++) {\n if (arr[byteOffset + i] === val[foundIndex === -1 ? 0 : i - foundIndex]) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === val.length) return byteOffset + foundIndex\n } else {\n foundIndex = -1\n }\n }\n return -1\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\n// `get` is deprecated\nBuffer.prototype.get = function get (offset) {\n console.log('.get() is deprecated. Access using array indexes instead.')\n return this.readUInt8(offset)\n}\n\n// `set` is deprecated\nBuffer.prototype.set = function set (v, offset) {\n console.log('.set() is deprecated. Access using array indexes instead.')\n return this.writeUInt8(v, offset)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new Error('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; i++) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) throw new Error('Invalid hex string')\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction binaryWrite (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n var swap = encoding\n encoding = offset\n offset = length | 0\n length = swap\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'binary':\n return binaryWrite(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; i++) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction binarySlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; i++) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; i++) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = Buffer._augment(this.subarray(start, end))\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; i++) {\n newBuf[i] = this[i + start]\n }\n }\n\n if (newBuf.length) newBuf.parent = this.parent || this\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('buffer must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('value is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0)\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0)\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; i++) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; i++) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = value < 0 ? 1 : 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = value < 0 ? 1 : 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (value > max || value < min) throw new RangeError('value is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('index out of range')\n if (offset < 0) throw new RangeError('index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; i--) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; i++) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n target._set(this.subarray(start, start + len), targetStart)\n }\n\n return len\n}\n\n// fill(value, start=0, end=buffer.length)\nBuffer.prototype.fill = function fill (value, start, end) {\n if (!value) value = 0\n if (!start) start = 0\n if (!end) end = this.length\n\n if (end < start) throw new RangeError('end < start')\n\n // Fill 0 bytes; we're done\n if (end === start) return\n if (this.length === 0) return\n\n if (start < 0 || start >= this.length) throw new RangeError('start out of bounds')\n if (end < 0 || end > this.length) throw new RangeError('end out of bounds')\n\n var i\n if (typeof value === 'number') {\n for (i = start; i < end; i++) {\n this[i] = value\n }\n } else {\n var bytes = utf8ToBytes(value.toString())\n var len = bytes.length\n for (i = start; i < end; i++) {\n this[i] = bytes[i % len]\n }\n }\n\n return this\n}\n\n/**\n * Creates a new `ArrayBuffer` with the *copied* memory of the buffer instance.\n * Added in Node 0.12. Only available in browsers that support ArrayBuffer.\n */\nBuffer.prototype.toArrayBuffer = function toArrayBuffer () {\n if (typeof Uint8Array !== 'undefined') {\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n return (new Buffer(this)).buffer\n } else {\n var buf = new Uint8Array(this.length)\n for (var i = 0, len = buf.length; i < len; i += 1) {\n buf[i] = this[i]\n }\n return buf.buffer\n }\n } else {\n throw new TypeError('Buffer.toArrayBuffer not supported in this browser')\n }\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar BP = Buffer.prototype\n\n/**\n * Augment a Uint8Array *instance* (not the Uint8Array class!) with Buffer methods\n */\nBuffer._augment = function _augment (arr) {\n arr.constructor = Buffer\n arr._isBuffer = true\n\n // save reference to original Uint8Array set method before overwriting\n arr._set = arr.set\n\n // deprecated\n arr.get = BP.get\n arr.set = BP.set\n\n arr.write = BP.write\n arr.toString = BP.toString\n arr.toLocaleString = BP.toString\n arr.toJSON = BP.toJSON\n arr.equals = BP.equals\n arr.compare = BP.compare\n arr.indexOf = BP.indexOf\n arr.copy = BP.copy\n arr.slice = BP.slice\n arr.readUIntLE = BP.readUIntLE\n arr.readUIntBE = BP.readUIntBE\n arr.readUInt8 = BP.readUInt8\n arr.readUInt16LE = BP.readUInt16LE\n arr.readUInt16BE = BP.readUInt16BE\n arr.readUInt32LE = BP.readUInt32LE\n arr.readUInt32BE = BP.readUInt32BE\n arr.readIntLE = BP.readIntLE\n arr.readIntBE = BP.readIntBE\n arr.readInt8 = BP.readInt8\n arr.readInt16LE = BP.readInt16LE\n arr.readInt16BE = BP.readInt16BE\n arr.readInt32LE = BP.readInt32LE\n arr.readInt32BE = BP.readInt32BE\n arr.readFloatLE = BP.readFloatLE\n arr.readFloatBE = BP.readFloatBE\n arr.readDoubleLE = BP.readDoubleLE\n arr.readDoubleBE = BP.readDoubleBE\n arr.writeUInt8 = BP.writeUInt8\n arr.writeUIntLE = BP.writeUIntLE\n arr.writeUIntBE = BP.writeUIntBE\n arr.writeUInt16LE = BP.writeUInt16LE\n arr.writeUInt16BE = BP.writeUInt16BE\n arr.writeUInt32LE = BP.writeUInt32LE\n arr.writeUInt32BE = BP.writeUInt32BE\n arr.writeIntLE = BP.writeIntLE\n arr.writeIntBE = BP.writeIntBE\n arr.writeInt8 = BP.writeInt8\n arr.writeInt16LE = BP.writeInt16LE\n arr.writeInt16BE = BP.writeInt16BE\n arr.writeInt32LE = BP.writeInt32LE\n arr.writeInt32BE = BP.writeInt32BE\n arr.writeFloatLE = BP.writeFloatLE\n arr.writeFloatBE = BP.writeFloatBE\n arr.writeDoubleLE = BP.writeDoubleLE\n arr.writeDoubleBE = BP.writeDoubleBE\n arr.fill = BP.fill\n arr.inspect = BP.inspect\n arr.toArrayBuffer = BP.toArrayBuffer\n\n return arr\n}\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; i++) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; i++) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; i++) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; i++) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n","module.exports = require(\"npm:buffer@3.6.0/index.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('buffer') : require('buffer');","module.exports = require(\"github:jspm/nodelibs-buffer@0.1.0/index\");","/* */ \n(function(Buffer) {\n 'use strict';\n module.exports = Pointer;\n var $Ref = require('./ref'),\n url = require('./util/url'),\n ono = require('ono'),\n slashes = /\\//g,\n tildes = /~/g,\n escapedSlash = /~1/g,\n escapedTilde = /~0/g;\n function Pointer($ref, path) {\n this.$ref = $ref;\n this.path = path;\n this.value = undefined;\n this.circular = false;\n }\n Pointer.prototype.resolve = function(obj, options) {\n var tokens = Pointer.parse(this.path);\n this.value = obj;\n for (var i = 0; i < tokens.length; i++) {\n if (resolveIf$Ref(this, options)) {\n this.path = Pointer.join(this.path, tokens.slice(i));\n }\n var token = tokens[i];\n if (this.value[token] === undefined) {\n throw ono.syntax('Error resolving $ref pointer \"%s\". \\nToken \"%s\" does not exist.', this.path, token);\n } else {\n this.value = this.value[token];\n }\n }\n resolveIf$Ref(this, options);\n return this;\n };\n Pointer.prototype.set = function(obj, value, options) {\n var tokens = Pointer.parse(this.path);\n var token;\n if (tokens.length === 0) {\n this.value = value;\n return value;\n }\n this.value = obj;\n for (var i = 0; i < tokens.length - 1; i++) {\n resolveIf$Ref(this, options);\n token = tokens[i];\n if (this.value && this.value[token] !== undefined) {\n this.value = this.value[token];\n } else {\n this.value = setValue(this, token, {});\n }\n }\n resolveIf$Ref(this, options);\n token = tokens[tokens.length - 1];\n setValue(this, token, value);\n return obj;\n };\n Pointer.parse = function(path) {\n var pointer = url.getHash(path).substr(1);\n if (!pointer) {\n return [];\n }\n pointer = pointer.split('/');\n for (var i = 0; i < pointer.length; i++) {\n pointer[i] = decodeURI(pointer[i].replace(escapedSlash, '/').replace(escapedTilde, '~'));\n }\n if (pointer[0] !== '') {\n throw ono.syntax('Invalid $ref pointer \"%s\". Pointers must begin with \"#/\"', pointer);\n }\n return pointer.slice(1);\n };\n Pointer.join = function(base, tokens) {\n if (base.indexOf('#') === -1) {\n base += '#';\n }\n tokens = Array.isArray(tokens) ? tokens : [tokens];\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n base += '/' + encodeURI(token.replace(tildes, '~0').replace(slashes, '~1'));\n }\n return base;\n };\n function resolveIf$Ref(pointer, options) {\n if ($Ref.isAllowed$Ref(pointer.value, options)) {\n var $refPath = url.resolve(pointer.path, pointer.value.$ref);\n if ($refPath === pointer.path) {\n pointer.circular = true;\n } else {\n var resolved = pointer.$ref.$refs._resolve($refPath, options);\n if ($Ref.isExtended$Ref(pointer.value)) {\n pointer.value = $Ref.dereference(pointer.value, resolved.value);\n } else {\n pointer.$ref = resolved.$ref;\n pointer.path = resolved.path;\n pointer.value = resolved.value;\n }\n return true;\n }\n }\n }\n function setValue(pointer, token, value) {\n if (pointer.value && typeof pointer.value === 'object') {\n if (token === '-' && Array.isArray(pointer.value)) {\n pointer.value.push(value);\n } else {\n pointer.value[token] = value;\n }\n } else {\n throw ono.syntax('Error assigning $ref pointer \"%s\". \\nCannot set \"%s\" of a non-object.', pointer.path, token);\n }\n return value;\n }\n})(require('buffer').Buffer);\n","/* */ \nmodule.exports = function isBuffer(arg) {\n return arg && typeof arg === 'object'\n && typeof arg.copy === 'function'\n && typeof arg.fill === 'function'\n && typeof arg.readUInt8 === 'function';\n}","/* */ \nif (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n}\n","module.exports = require(\"npm:inherits@2.0.1/inherits_browser.js\");","/* */ \n(function(process) {\n var formatRegExp = /%[sdj%]/g;\n exports.format = function(f) {\n if (!isString(f)) {\n var objects = [];\n for (var i = 0; i < arguments.length; i++) {\n objects.push(inspect(arguments[i]));\n }\n return objects.join(' ');\n }\n var i = 1;\n var args = arguments;\n var len = args.length;\n var str = String(f).replace(formatRegExp, function(x) {\n if (x === '%%')\n return '%';\n if (i >= len)\n return x;\n switch (x) {\n case '%s':\n return String(args[i++]);\n case '%d':\n return Number(args[i++]);\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n default:\n return x;\n }\n });\n for (var x = args[i]; i < len; x = args[++i]) {\n if (isNull(x) || !isObject(x)) {\n str += ' ' + x;\n } else {\n str += ' ' + inspect(x);\n }\n }\n return str;\n };\n exports.deprecate = function(fn, msg) {\n if (isUndefined(global.process)) {\n return function() {\n return exports.deprecate(fn, msg).apply(this, arguments);\n };\n }\n if (process.noDeprecation === true) {\n return fn;\n }\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (process.throwDeprecation) {\n throw new Error(msg);\n } else if (process.traceDeprecation) {\n console.trace(msg);\n } else {\n console.error(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n return deprecated;\n };\n var debugs = {};\n var debugEnviron;\n exports.debuglog = function(set) {\n if (isUndefined(debugEnviron))\n debugEnviron = process.env.NODE_DEBUG || '';\n set = set.toUpperCase();\n if (!debugs[set]) {\n if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n var pid = process.pid;\n debugs[set] = function() {\n var msg = exports.format.apply(exports, arguments);\n console.error('%s %d: %s', set, pid, msg);\n };\n } else {\n debugs[set] = function() {};\n }\n }\n return debugs[set];\n };\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n stylize: stylizeNoColor\n };\n if (arguments.length >= 3)\n ctx.depth = arguments[2];\n if (arguments.length >= 4)\n ctx.colors = arguments[3];\n if (isBoolean(opts)) {\n ctx.showHidden = opts;\n } else if (opts) {\n exports._extend(ctx, opts);\n }\n if (isUndefined(ctx.showHidden))\n ctx.showHidden = false;\n if (isUndefined(ctx.depth))\n ctx.depth = 2;\n if (isUndefined(ctx.colors))\n ctx.colors = false;\n if (isUndefined(ctx.customInspect))\n ctx.customInspect = true;\n if (ctx.colors)\n ctx.stylize = stylizeWithColor;\n return formatValue(ctx, obj, ctx.depth);\n }\n exports.inspect = inspect;\n inspect.colors = {\n 'bold': [1, 22],\n 'italic': [3, 23],\n 'underline': [4, 24],\n 'inverse': [7, 27],\n 'white': [37, 39],\n 'grey': [90, 39],\n 'black': [30, 39],\n 'blue': [34, 39],\n 'cyan': [36, 39],\n 'green': [32, 39],\n 'magenta': [35, 39],\n 'red': [31, 39],\n 'yellow': [33, 39]\n };\n inspect.styles = {\n 'special': 'cyan',\n 'number': 'yellow',\n 'boolean': 'yellow',\n 'undefined': 'grey',\n 'null': 'bold',\n 'string': 'green',\n 'date': 'magenta',\n 'regexp': 'red'\n };\n function stylizeWithColor(str, styleType) {\n var style = inspect.styles[styleType];\n if (style) {\n return '\\u001b[' + inspect.colors[style][0] + 'm' + str + '\\u001b[' + inspect.colors[style][1] + 'm';\n } else {\n return str;\n }\n }\n function stylizeNoColor(str, styleType) {\n return str;\n }\n function arrayToHash(array) {\n var hash = {};\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n return hash;\n }\n function formatValue(ctx, value, recurseTimes) {\n if (ctx.customInspect && value && isFunction(value.inspect) && value.inspect !== exports.inspect && !(value.constructor && value.constructor.prototype === value)) {\n var ret = value.inspect(recurseTimes, ctx);\n if (!isString(ret)) {\n ret = formatValue(ctx, ret, recurseTimes);\n }\n return ret;\n }\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n if (ctx.showHidden) {\n keys = Object.getOwnPropertyNames(value);\n }\n if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n return formatError(value);\n }\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n var base = '',\n array = false,\n braces = ['{', '}'];\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n ctx.seen.push(value);\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n });\n }\n ctx.seen.pop();\n return reduceToSingleString(output, base, braces);\n }\n function formatPrimitive(ctx, value) {\n if (isUndefined(value))\n return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '').replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"') + '\\'';\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value))\n return ctx.stylize('' + value, 'number');\n if (isBoolean(value))\n return ctx.stylize('' + value, 'boolean');\n if (isNull(value))\n return ctx.stylize('null', 'null');\n }\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0,\n l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true));\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true));\n }\n });\n return output;\n }\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name,\n str,\n desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n').substr(2);\n } else {\n str = '\\n' + str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name.replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"').replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n return name + ': ' + str;\n }\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0)\n numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n if (length > 60) {\n return braces[0] + (base === '' ? '' : base + '\\n ') + ' ' + output.join(',\\n ') + ' ' + braces[1];\n }\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n function isArray(ar) {\n return Array.isArray(ar);\n }\n exports.isArray = isArray;\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n exports.isBoolean = isBoolean;\n function isNull(arg) {\n return arg === null;\n }\n exports.isNull = isNull;\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n exports.isNullOrUndefined = isNullOrUndefined;\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n exports.isNumber = isNumber;\n function isString(arg) {\n return typeof arg === 'string';\n }\n exports.isString = isString;\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n exports.isSymbol = isSymbol;\n function isUndefined(arg) {\n return arg === void 0;\n }\n exports.isUndefined = isUndefined;\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n exports.isRegExp = isRegExp;\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n exports.isObject = isObject;\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n exports.isDate = isDate;\n function isError(e) {\n return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error);\n }\n exports.isError = isError;\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n exports.isFunction = isFunction;\n function isPrimitive(arg) {\n return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || typeof arg === 'symbol' || typeof arg === 'undefined';\n }\n exports.isPrimitive = isPrimitive;\n exports.isBuffer = require('./support/isBufferBrowser');\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n function pad(n) {\n return n < 10 ? '0' + n.toString(10) : n.toString(10);\n }\n var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n function timestamp() {\n var d = new Date();\n var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':');\n return [d.getDate(), months[d.getMonth()], time].join(' ');\n }\n exports.log = function() {\n console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n };\n exports.inherits = require('inherits');\n exports._extend = function(origin, add) {\n if (!add || !isObject(add))\n return origin;\n var keys = Object.keys(add);\n var i = keys.length;\n while (i--) {\n origin[keys[i]] = add[keys[i]];\n }\n return origin;\n };\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n})(require('process'));\n","module.exports = require(\"npm:util@0.10.3/util.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('util') : require('util');","module.exports = require(\"github:jspm/nodelibs-util@0.1.0/index\");","/**!\n * Ono v2.2.1\n *\n * @link https://github.com/BigstickCarpet/ono\n * @license MIT\n */\n'use strict';\n\nvar util = require('util'),\n slice = Array.prototype.slice,\n vendorSpecificErrorProperties = [\n 'name', 'message', 'description', 'number', 'fileName', 'lineNumber', 'columnNumber',\n 'sourceURL', 'line', 'column', 'stack'\n ];\n\nmodule.exports = create(Error);\nmodule.exports.error = create(Error);\nmodule.exports.eval = create(EvalError);\nmodule.exports.range = create(RangeError);\nmodule.exports.reference = create(ReferenceError);\nmodule.exports.syntax = create(SyntaxError);\nmodule.exports.type = create(TypeError);\nmodule.exports.uri = create(URIError);\nmodule.exports.formatter = util.format;\n\n/**\n * Creates a new {@link ono} function that creates the given Error class.\n *\n * @param {Class} Klass - The Error subclass to create\n * @returns {ono}\n */\nfunction create(Klass) {\n /**\n * @param {Error} [err] - The original error, if any\n * @param {object} [props] - An object whose properties will be added to the error object\n * @param {string} [message] - The error message. May contain {@link util#format} placeholders\n * @param {...*} [params] - Parameters that map to the `message` placeholders\n * @returns {Error}\n */\n return function ono(err, props, message, params) {\n var formattedMessage;\n var formatter = module.exports.formatter;\n\n if (typeof(err) === 'string') {\n formattedMessage = formatter.apply(null, arguments);\n err = props = undefined;\n }\n else if (typeof(props) === 'string') {\n formattedMessage = formatter.apply(null, slice.call(arguments, 1));\n }\n else {\n formattedMessage = formatter.apply(null, slice.call(arguments, 2));\n }\n\n if (!(err instanceof Error)) {\n props = err;\n err = undefined;\n }\n\n if (err) {\n // The inner-error's message will be added to the new message\n formattedMessage += (formattedMessage ? ' \\n' : '') + err.message;\n }\n\n // Create the new error\n // NOTE: DON'T move this to a separate function! We don't want to pollute the stack trace\n var newError = new Klass(formattedMessage);\n\n // Extend the new error with the additional properties\n extendError(newError, err); // Copy properties of the original error\n extendToJSON(newError); // Replace the original toJSON method\n extend(newError, props); // Copy custom properties, possibly including a custom toJSON method\n\n return newError;\n };\n}\n\n/**\n * Extends the targetError with the properties of the source error.\n *\n * @param {Error} targetError - The error object to extend\n * @param {?Error} sourceError - The source error object, if any\n */\nfunction extendError(targetError, sourceError) {\n if (sourceError) {\n extendStack(targetError, sourceError);\n extend(targetError, sourceError, true);\n }\n}\n\n/**\n * JavaScript engines differ in how errors are serialized to JSON - especially when it comes\n * to custom error properties and stack traces. So we add our own toJSON method that ALWAYS\n * outputs every property of the error.\n */\nfunction extendToJSON(error) {\n error.toJSON = errorToJSON;\n\n // Also add an inspect() method, for compatibility with Node.js' `util.inspect()` method\n error.inspect = errorToString;\n}\n\n/**\n * Extends the target object with the properties of the source object.\n *\n * @param {object} target - The object to extend\n * @param {?source} source - The object whose properties are copied\n * @param {boolean} omitVendorSpecificProperties - Skip vendor-specific Error properties\n */\nfunction extend(target, source, omitVendorSpecificProperties) {\n if (source && typeof(source) === 'object') {\n var keys = Object.keys(source);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n // Don't bother trying to copy read-only vendor-specific Error properties\n if (omitVendorSpecificProperties && vendorSpecificErrorProperties.indexOf(key) >= 0) {\n continue;\n }\n\n try {\n target[key] = source[key];\n }\n catch (e) {\n // This property is read-only, so it can't be copied\n }\n }\n }\n}\n\n/**\n * Custom JSON serializer for Error objects.\n * Returns all built-in error properties, as well as extended properties.\n *\n * @returns {object}\n */\nfunction errorToJSON() {\n // jshint -W040\n var json = {};\n\n // Get all the properties of this error\n var keys = Object.keys(this);\n\n // Also include vendor-specific properties from the prototype\n keys = keys.concat(vendorSpecificErrorProperties);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = this[key];\n var type = typeof value;\n if (type !== 'undefined' && type !== 'function') {\n json[key] = value;\n }\n }\n\n return json;\n}\n\n/**\n * Serializes Error objects as human-readable JSON strings for debugging/logging purposes.\n *\n * @returns {string}\n */\nfunction errorToString() {\n // jshint -W040\n return JSON.stringify(this, null, 2).replace(/\\\\n/g, '\\n');\n}\n\n/**\n * Extend the error stack to include its cause\n */\nfunction extendStack(targetError, sourceError) {\n if (hasLazyStack(sourceError)) {\n extendStackProperty(targetError, sourceError);\n }\n else {\n var stack = sourceError.stack;\n if (stack) {\n targetError.stack += ' \\n\\n' + sourceError.stack;\n }\n }\n}\n\n/**\n * Does a one-time determination of whether this JavaScript engine\n * supports lazy `Error.stack` properties.\n */\nvar supportsLazyStack = (function() {\n return !!(\n // ES5 property descriptors must be supported\n Object.getOwnPropertyDescriptor && Object.defineProperty &&\n\n // Chrome on Android doesn't support lazy stacks :(\n (typeof navigator === 'undefined' || !/Android/.test(navigator.userAgent))\n );\n})();\n\n/**\n * Does this error have a lazy stack property?\n *\n * @returns {boolean}\n */\nfunction hasLazyStack(err) {\n if (!supportsLazyStack) {\n return false;\n }\n var descriptor = Object.getOwnPropertyDescriptor(err, 'stack');\n if (!descriptor) {\n return false;\n }\n return typeof descriptor.get === 'function';\n}\n\n/**\n * Extend the error stack to include its cause, lazily\n */\nfunction extendStackProperty(targetError, sourceError) {\n var sourceStack = Object.getOwnPropertyDescriptor(sourceError, 'stack');\n if (sourceStack) {\n var targetStack = Object.getOwnPropertyDescriptor(targetError, 'stack');\n Object.defineProperty(targetError, 'stack', {\n get: function() {\n return targetStack.get.apply(targetError) + ' \\n\\n' + sourceError.stack;\n },\n enumerable: false,\n configurable: true\n });\n }\n}\n","module.exports = require(\"npm:ono@2.2.1/lib/index.js\");","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} options\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options){\n options = options || {};\n if ('string' == typeof val) return parse(val);\n return options.long\n ? long(val)\n : short(val);\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = '' + str;\n if (str.length > 10000) return;\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);\n if (!match) return;\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction short(ms) {\n if (ms >= d) return Math.round(ms / d) + 'd';\n if (ms >= h) return Math.round(ms / h) + 'h';\n if (ms >= m) return Math.round(ms / m) + 'm';\n if (ms >= s) return Math.round(ms / s) + 's';\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction long(ms) {\n return plural(ms, d, 'day')\n || plural(ms, h, 'hour')\n || plural(ms, m, 'minute')\n || plural(ms, s, 'second')\n || ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) return;\n if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name;\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","module.exports = require(\"npm:ms@0.7.1/index\");","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = debug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lowercased letter, i.e. \"n\".\n */\n\nexports.formatters = {};\n\n/**\n * Previously assigned color.\n */\n\nvar prevColor = 0;\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n *\n * @return {Number}\n * @api private\n */\n\nfunction selectColor() {\n return exports.colors[prevColor++ % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction debug(namespace) {\n\n // define the `disabled` version\n function disabled() {\n }\n disabled.enabled = false;\n\n // define the `enabled` version\n function enabled() {\n\n var self = enabled;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // add the `color` if not set\n if (null == self.useColors) self.useColors = exports.useColors();\n if (null == self.color && self.useColors) self.color = selectColor();\n\n var args = Array.prototype.slice.call(arguments);\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %o\n args = ['%o'].concat(args);\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n if ('function' === typeof exports.formatArgs) {\n args = exports.formatArgs.apply(self, args);\n }\n var logFn = enabled.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n enabled.enabled = true;\n\n var fn = exports.enabled(namespace) ? enabled : disabled;\n\n fn.namespace = namespace;\n\n return fn;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n var split = (namespaces || '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/* */ \nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome && 'undefined' != typeof chrome.storage ? chrome.storage.local : localstorage();\nexports.colors = ['lightseagreen', 'forestgreen', 'goldenrod', 'dodgerblue', 'darkorchid', 'crimson'];\nfunction useColors() {\n return ('WebkitAppearance' in document.documentElement.style) || (window.console && (console.firebug || (console.exception && console.table))) || (navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31);\n}\nexports.formatters.j = function(v) {\n return JSON.stringify(v);\n};\nfunction formatArgs() {\n var args = arguments;\n var useColors = this.useColors;\n args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff);\n if (!useColors)\n return args;\n var c = 'color: ' + this.color;\n args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-z%]/g, function(match) {\n if ('%%' === match)\n return;\n index++;\n if ('%c' === match) {\n lastC = index;\n }\n });\n args.splice(lastC, 0, c);\n return args;\n}\nfunction log() {\n return 'object' === typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);\n}\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch (e) {}\n}\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch (e) {}\n return r;\n}\nexports.enable(load());\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","module.exports = require(\"npm:debug@2.2.0/browser.js\");","/* */ \n'use strict';\n\nvar debug = require('debug');\n\n/**\n * Writes messages to stdout.\n * Log messages are suppressed by default, but can be enabled by setting the DEBUG variable.\n * @type {function}\n */\nmodule.exports = debug('json-schema-ref-parser');\n","/* */ \n\"format cjs\";\n(function(process) {\n ;\n (function(root) {\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n var freeModule = typeof module == 'object' && module && !module.nodeType && module;\n var freeGlobal = typeof global == 'object' && global;\n if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal) {\n root = freeGlobal;\n }\n var punycode,\n maxInt = 2147483647,\n base = 36,\n tMin = 1,\n tMax = 26,\n skew = 38,\n damp = 700,\n initialBias = 72,\n initialN = 128,\n delimiter = '-',\n regexPunycode = /^xn--/,\n regexNonASCII = /[^\\x20-\\x7E]/,\n regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g,\n errors = {\n 'overflow': 'Overflow: input needs wider integers to process',\n 'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n 'invalid-input': 'Invalid input'\n },\n baseMinusTMin = base - tMin,\n floor = Math.floor,\n stringFromCharCode = String.fromCharCode,\n key;\n function error(type) {\n throw RangeError(errors[type]);\n }\n function map(array, fn) {\n var length = array.length;\n var result = [];\n while (length--) {\n result[length] = fn(array[length]);\n }\n return result;\n }\n function mapDomain(string, fn) {\n var parts = string.split('@');\n var result = '';\n if (parts.length > 1) {\n result = parts[0] + '@';\n string = parts[1];\n }\n string = string.replace(regexSeparators, '\\x2E');\n var labels = string.split('.');\n var encoded = map(labels, fn).join('.');\n return result + encoded;\n }\n function ucs2decode(string) {\n var output = [],\n counter = 0,\n length = string.length,\n value,\n extra;\n while (counter < length) {\n value = string.charCodeAt(counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n extra = string.charCodeAt(counter++);\n if ((extra & 0xFC00) == 0xDC00) {\n output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n output.push(value);\n counter--;\n }\n } else {\n output.push(value);\n }\n }\n return output;\n }\n function ucs2encode(array) {\n return map(array, function(value) {\n var output = '';\n if (value > 0xFFFF) {\n value -= 0x10000;\n output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n value = 0xDC00 | value & 0x3FF;\n }\n output += stringFromCharCode(value);\n return output;\n }).join('');\n }\n function basicToDigit(codePoint) {\n if (codePoint - 48 < 10) {\n return codePoint - 22;\n }\n if (codePoint - 65 < 26) {\n return codePoint - 65;\n }\n if (codePoint - 97 < 26) {\n return codePoint - 97;\n }\n return base;\n }\n function digitToBasic(digit, flag) {\n return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n }\n function adapt(delta, numPoints, firstTime) {\n var k = 0;\n delta = firstTime ? floor(delta / damp) : delta >> 1;\n delta += floor(delta / numPoints);\n for (; delta > baseMinusTMin * tMax >> 1; k += base) {\n delta = floor(delta / baseMinusTMin);\n }\n return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n }\n function decode(input) {\n var output = [],\n inputLength = input.length,\n out,\n i = 0,\n n = initialN,\n bias = initialBias,\n basic,\n j,\n index,\n oldi,\n w,\n k,\n digit,\n t,\n baseMinusT;\n basic = input.lastIndexOf(delimiter);\n if (basic < 0) {\n basic = 0;\n }\n for (j = 0; j < basic; ++j) {\n if (input.charCodeAt(j) >= 0x80) {\n error('not-basic');\n }\n output.push(input.charCodeAt(j));\n }\n for (index = basic > 0 ? basic + 1 : 0; index < inputLength; ) {\n for (oldi = i, w = 1, k = base; ; k += base) {\n if (index >= inputLength) {\n error('invalid-input');\n }\n digit = basicToDigit(input.charCodeAt(index++));\n if (digit >= base || digit > floor((maxInt - i) / w)) {\n error('overflow');\n }\n i += digit * w;\n t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n if (digit < t) {\n break;\n }\n baseMinusT = base - t;\n if (w > floor(maxInt / baseMinusT)) {\n error('overflow');\n }\n w *= baseMinusT;\n }\n out = output.length + 1;\n bias = adapt(i - oldi, out, oldi == 0);\n if (floor(i / out) > maxInt - n) {\n error('overflow');\n }\n n += floor(i / out);\n i %= out;\n output.splice(i++, 0, n);\n }\n return ucs2encode(output);\n }\n function encode(input) {\n var n,\n delta,\n handledCPCount,\n basicLength,\n bias,\n j,\n m,\n q,\n k,\n t,\n currentValue,\n output = [],\n inputLength,\n handledCPCountPlusOne,\n baseMinusT,\n qMinusT;\n input = ucs2decode(input);\n inputLength = input.length;\n n = initialN;\n delta = 0;\n bias = initialBias;\n for (j = 0; j < inputLength; ++j) {\n currentValue = input[j];\n if (currentValue < 0x80) {\n output.push(stringFromCharCode(currentValue));\n }\n }\n handledCPCount = basicLength = output.length;\n if (basicLength) {\n output.push(delimiter);\n }\n while (handledCPCount < inputLength) {\n for (m = maxInt, j = 0; j < inputLength; ++j) {\n currentValue = input[j];\n if (currentValue >= n && currentValue < m) {\n m = currentValue;\n }\n }\n handledCPCountPlusOne = handledCPCount + 1;\n if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n error('overflow');\n }\n delta += (m - n) * handledCPCountPlusOne;\n n = m;\n for (j = 0; j < inputLength; ++j) {\n currentValue = input[j];\n if (currentValue < n && ++delta > maxInt) {\n error('overflow');\n }\n if (currentValue == n) {\n for (q = delta, k = base; ; k += base) {\n t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n if (q < t) {\n break;\n }\n qMinusT = q - t;\n baseMinusT = base - t;\n output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)));\n q = floor(qMinusT / baseMinusT);\n }\n output.push(stringFromCharCode(digitToBasic(q, 0)));\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n delta = 0;\n ++handledCPCount;\n }\n }\n ++delta;\n ++n;\n }\n return output.join('');\n }\n function toUnicode(input) {\n return mapDomain(input, function(string) {\n return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string;\n });\n }\n function toASCII(input) {\n return mapDomain(input, function(string) {\n return regexNonASCII.test(string) ? 'xn--' + encode(string) : string;\n });\n }\n punycode = {\n 'version': '1.3.2',\n 'ucs2': {\n 'decode': ucs2decode,\n 'encode': ucs2encode\n },\n 'decode': decode,\n 'encode': encode,\n 'toASCII': toASCII,\n 'toUnicode': toUnicode\n };\n if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {\n define('punycode', function() {\n return punycode;\n });\n } else if (freeExports && freeModule) {\n if (module.exports == freeExports) {\n freeModule.exports = punycode;\n } else {\n for (key in punycode) {\n punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);\n }\n }\n } else {\n root.punycode = punycode;\n }\n }(this));\n})(require('process'));\n","module.exports = require(\"npm:punycode@1.3.2/punycode.js\");","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (Array.isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return Object.keys(obj).map(function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (Array.isArray(obj[k])) {\n return obj[k].map(function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n","/* */ \n'use strict';\nexports.decode = exports.parse = require('./decode');\nexports.encode = exports.stringify = require('./encode');\n","module.exports = require(\"npm:querystring@0.2.0/index\");","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar punycode = require('punycode');\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = require('querystring');\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a puny coded representation of \"domain\".\n // It only converts the part of the domain name that\n // has non ASCII characters. I.e. it dosent matter if\n // you call it with a domain that already is in ASCII.\n var domainArray = this.hostname.split('.');\n var newOut = [];\n for (var i = 0; i < domainArray.length; ++i) {\n var s = domainArray[i];\n newOut.push(s.match(/[^A-Za-z0-9_-]/) ?\n 'xn--' + punycode.encode(s) : s);\n }\n this.hostname = newOut.join('.');\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n Object.keys(this).forEach(function(k) {\n result[k] = this[k];\n }, this);\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n Object.keys(relative).forEach(function(k) {\n if (k !== 'protocol')\n result[k] = relative[k];\n });\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n Object.keys(relative).forEach(function(k) {\n result[k] = relative[k];\n });\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especialy happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!isNull(result.pathname) || !isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host) && (last === '.' || last === '..') ||\n last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last == '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especialy happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!isNull(result.pathname) || !isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\nfunction isString(arg) {\n return typeof arg === \"string\";\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isNull(arg) {\n return arg === null;\n}\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\n","module.exports = require(\"npm:url@0.10.3/url.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('url') : require('url');","module.exports = require(\"github:jspm/nodelibs-url@0.1.0/index\");","/* */ \n(function(process) {\n 'use strict';\n var isWindows = /^win/.test(process.platform),\n forwardSlashPattern = /\\//g,\n protocolPattern = /^([a-z0-9.+-]+):\\/\\//i,\n url = module.exports;\n var urlEncodePatterns = [/\\?/g, '%3F', /\\#/g, '%23', isWindows ? /\\\\/g : /\\//, '/'];\n var urlDecodePatterns = [/\\%23/g, '#', /\\%24/g, '$', /\\%26/g, '&', /\\%2C/g, ',', /\\%40/g, '@'];\n exports.parse = require('url').parse;\n exports.resolve = require('url').resolve;\n exports.cwd = function cwd() {\n return process.browser ? location.href : process.cwd() + '/';\n };\n exports.getProtocol = function getProtocol(path) {\n var match = protocolPattern.exec(path);\n if (match) {\n return match[1].toLowerCase();\n }\n };\n exports.getExtension = function getExtension(path) {\n var lastDot = path.lastIndexOf('.');\n if (lastDot >= 0) {\n return path.substr(lastDot).toLowerCase();\n }\n return '';\n };\n exports.getHash = function getHash(path) {\n var hashIndex = path.indexOf('#');\n if (hashIndex >= 0) {\n return path.substr(hashIndex);\n }\n return '#';\n };\n exports.stripHash = function stripHash(path) {\n var hashIndex = path.indexOf('#');\n if (hashIndex >= 0) {\n path = path.substr(0, hashIndex);\n }\n return path;\n };\n exports.isHttp = function isHttp(path) {\n var protocol = url.getProtocol(path);\n if (protocol === 'http' || protocol === 'https') {\n return true;\n } else if (protocol === undefined) {\n return process.browser;\n } else {\n return false;\n }\n };\n exports.isFileSystemPath = function isFileSystemPath(path) {\n if (process.browser) {\n return false;\n }\n var protocol = url.getProtocol(path);\n return protocol === undefined || protocol === 'file';\n };\n exports.fromFileSystemPath = function fromFileSystemPath(path) {\n for (var i = 0; i < urlEncodePatterns.length; i += 2) {\n path = path.replace(urlEncodePatterns[i], urlEncodePatterns[i + 1]);\n }\n return encodeURI(path);\n };\n exports.toFileSystemPath = function toFileSystemPath(path, keepFileProtocol) {\n path = decodeURI(path);\n for (var i = 0; i < urlDecodePatterns.length; i += 2) {\n path = path.replace(urlDecodePatterns[i], urlDecodePatterns[i + 1]);\n }\n var isFileUrl = path.substr(0, 7).toLowerCase() === 'file://';\n if (isFileUrl) {\n path = path[7] === '/' ? path.substr(8) : path.substr(7);\n if (isWindows && path[1] === '/') {\n path = path[0] + ':' + path.substr(1);\n }\n if (keepFileProtocol) {\n path = 'file:///' + path;\n } else {\n isFileUrl = false;\n path = isWindows ? path : '/' + path;\n }\n }\n if (isWindows && !isFileUrl) {\n path = path.replace(forwardSlashPattern, '\\\\');\n }\n return path;\n };\n})(require('process'));\n","/* */ \n'use strict';\nvar $Ref = require('./ref'),\n Pointer = require('./pointer'),\n ono = require('ono'),\n debug = require('./util/debug'),\n url = require('./util/url');\nmodule.exports = dereference;\nfunction dereference(parser, options) {\n debug('Dereferencing $ref pointers in %s', parser.$refs._root$Ref.path);\n var dereferenced = crawl(parser.schema, parser.$refs._root$Ref.path, '#', [], parser.$refs, options);\n parser.$refs.circular = dereferenced.circular;\n parser.schema = dereferenced.value;\n}\nfunction crawl(obj, path, pathFromRoot, parents, $refs, options) {\n var dereferenced;\n var result = {\n value: obj,\n circular: false\n };\n if (obj && typeof obj === 'object') {\n parents.push(obj);\n if ($Ref.isAllowed$Ref(obj, options)) {\n dereferenced = dereference$Ref(obj, path, pathFromRoot, parents, $refs, options);\n result.circular = dereferenced.circular;\n result.value = dereferenced.value;\n } else {\n Object.keys(obj).forEach(function(key) {\n var keyPath = Pointer.join(path, key);\n var keyPathFromRoot = Pointer.join(pathFromRoot, key);\n var value = obj[key];\n var circular = false;\n if ($Ref.isAllowed$Ref(value, options)) {\n dereferenced = dereference$Ref(value, keyPath, keyPathFromRoot, parents, $refs, options);\n circular = dereferenced.circular;\n obj[key] = dereferenced.value;\n } else {\n if (parents.indexOf(value) === -1) {\n dereferenced = crawl(value, keyPath, keyPathFromRoot, parents, $refs, options);\n circular = dereferenced.circular;\n obj[key] = dereferenced.value;\n } else {\n circular = foundCircularReference(keyPath, $refs, options);\n }\n }\n result.circular = result.circular || circular;\n });\n }\n parents.pop();\n }\n return result;\n}\nfunction dereference$Ref($ref, path, pathFromRoot, parents, $refs, options) {\n debug('Dereferencing $ref pointer \"%s\" at %s', $ref.$ref, path);\n var $refPath = url.resolve(path, $ref.$ref);\n var pointer = $refs._resolve($refPath, options);\n var directCircular = pointer.circular;\n var circular = directCircular || parents.indexOf(pointer.value) !== -1;\n circular && foundCircularReference(path, $refs, options);\n var dereferencedValue = $Ref.dereference($ref, pointer.value);\n if (!circular) {\n var dereferenced = crawl(dereferencedValue, pointer.path, pathFromRoot, parents, $refs, options);\n circular = dereferenced.circular;\n dereferencedValue = dereferenced.value;\n }\n if (circular && !directCircular && options.dereference.circular === 'ignore') {\n dereferencedValue = $ref;\n }\n if (directCircular) {\n dereferencedValue.$ref = pathFromRoot;\n }\n return {\n circular: circular,\n value: dereferencedValue\n };\n}\nfunction foundCircularReference(keyPath, $refs, options) {\n $refs.circular = true;\n if (!options.dereference.circular) {\n throw ono.reference('Circular $ref pointer found at %s', keyPath);\n }\n return true;\n}\n","/* */ \n'use strict';\nvar validateSchema = require('./validate-schema'),\n validateSpec = require('./validate-spec'),\n util = require('./util'),\n Options = require('./options'),\n Promise = require('./promise'),\n maybe = require('call-me-maybe'),\n ono = require('ono'),\n $RefParser = require('json-schema-ref-parser'),\n dereference = require('json-schema-ref-parser/lib/dereference');\nmodule.exports = SwaggerParser;\nfunction SwaggerParser() {\n $RefParser.apply(this, arguments);\n}\nutil.inherits(SwaggerParser, $RefParser);\nSwaggerParser.YAML = $RefParser.YAML;\nSwaggerParser.parse = $RefParser.parse;\nSwaggerParser.resolve = $RefParser.resolve;\nSwaggerParser.bundle = $RefParser.bundle;\nSwaggerParser.dereference = $RefParser.dereference;\nObject.defineProperty(SwaggerParser.prototype, 'api', {\n configurable: true,\n enumerable: true,\n get: function() {\n return this.schema;\n }\n});\nSwaggerParser.prototype.parse = function(api, options, callback) {\n var args = normalizeArgs(arguments);\n return $RefParser.prototype.parse.call(this, args.path, args.api, args.options).then(function(schema) {\n var supportedSwaggerVersions = ['2.0'];\n if (schema.swagger === undefined || schema.info === undefined || schema.paths === undefined) {\n throw ono.syntax('%s is not a valid Swagger API definition', args.path || args.api);\n } else if (typeof schema.swagger === 'number') {\n throw ono.syntax('Swagger version number must be a string (e.g. \"2.0\") not a number.');\n } else if (typeof schema.info.version === 'number') {\n throw ono.syntax('API version number must be a string (e.g. \"1.0.0\") not a number.');\n } else if (supportedSwaggerVersions.indexOf(schema.swagger) === -1) {\n throw ono.syntax('Unsupported Swagger version: %d. Swagger Parser only supports version %s', schema.swagger, supportedSwaggerVersions.join(', '));\n }\n return maybe(args.callback, Promise.resolve(schema));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n};\nSwaggerParser.validate = function(api, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.validate.apply(instance, arguments);\n};\nSwaggerParser.prototype.validate = function(api, options, callback) {\n var me = this;\n var args = normalizeArgs(arguments);\n var circular$RefOption = args.options.dereference.circular;\n args.options.validate.schema && (args.options.dereference.circular = 'ignore');\n return this.dereference(args.path, args.api, args.options).then(function() {\n args.options.dereference.circular = circular$RefOption;\n if (args.options.validate.schema) {\n validateSchema(me.api);\n if (me.$refs.circular) {\n if (circular$RefOption === true) {\n dereference(me, args.options);\n } else if (circular$RefOption === false) {\n throw ono.reference('The API contains circular references');\n }\n }\n }\n if (args.options.validate.spec) {\n validateSpec(me.api);\n }\n return maybe(args.callback, Promise.resolve(me.schema));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n};\nfunction normalizeArgs(args) {\n var path,\n api,\n options,\n callback;\n args = Array.prototype.slice.call(args);\n if (typeof args[args.length - 1] === 'function') {\n callback = args.pop();\n }\n if (typeof args[0] === 'string') {\n path = args[0];\n if (typeof args[2] === 'object') {\n api = args[1];\n options = args[2];\n } else {\n api = undefined;\n options = args[1];\n }\n } else {\n path = '';\n api = args[0];\n options = args[1];\n }\n if (!(options instanceof Options)) {\n options = new Options(options);\n }\n return {\n path: path,\n api: api,\n options: options,\n callback: callback\n };\n}\n","module.exports = require(\"npm:swagger-parser@4.0.0-beta.2/lib/index.js\");","/* */ \n\"format cjs\";\n","/* */ \nvar toInteger = require('./$.to-integer'),\n defined = require('./$.defined');\nmodule.exports = function(TO_STRING) {\n return function(that, pos) {\n var s = String(defined(that)),\n i = toInteger(pos),\n l = s.length,\n a,\n b;\n if (i < 0 || i >= l)\n return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","/* */ \n'use strict';\nvar $at = require('./$.string-at')(true);\nrequire('./$.iter-define')(String, 'String', function(iterated) {\n this._t = String(iterated);\n this._i = 0;\n}, function() {\n var O = this._t,\n index = this._i,\n point;\n if (index >= O.length)\n return {\n value: undefined,\n done: true\n };\n point = $at(O, index);\n this._i += point.length;\n return {\n value: point,\n done: false\n };\n});\n","/* */ \nmodule.exports = function(){ /* empty */ };","/* */ \n'use strict';\nvar addToUnscopables = require('./$.add-to-unscopables'),\n step = require('./$.iter-step'),\n Iterators = require('./$.iterators'),\n toIObject = require('./$.to-iobject');\nmodule.exports = require('./$.iter-define')(Array, 'Array', function(iterated, kind) {\n this._t = toIObject(iterated);\n this._i = 0;\n this._k = kind;\n}, function() {\n var O = this._t,\n kind = this._k,\n index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys')\n return step(0, index);\n if (kind == 'values')\n return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\nIterators.Arguments = Iterators.Array;\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","/* */ \nrequire('./es6.array.iterator');\nvar Iterators = require('./$.iterators');\nIterators.NodeList = Iterators.HTMLCollection = Iterators.Array;\n","/* */ \nmodule.exports = true;","/* */ \n'use strict';\nvar $ = require('./$'),\n descriptor = require('./$.property-desc'),\n setToStringTag = require('./$.set-to-string-tag'),\n IteratorPrototype = {};\nrequire('./$.hide')(IteratorPrototype, require('./$.wks')('iterator'), function() {\n return this;\n});\nmodule.exports = function(Constructor, NAME, next) {\n Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","/* */ \n'use strict';\nvar LIBRARY = require('./$.library'),\n $export = require('./$.export'),\n redefine = require('./$.redefine'),\n hide = require('./$.hide'),\n has = require('./$.has'),\n Iterators = require('./$.iterators'),\n $iterCreate = require('./$.iter-create'),\n setToStringTag = require('./$.set-to-string-tag'),\n getProto = require('./$').getProto,\n ITERATOR = require('./$.wks')('iterator'),\n BUGGY = !([].keys && 'next' in [].keys()),\n FF_ITERATOR = '@@iterator',\n KEYS = 'keys',\n VALUES = 'values';\nvar returnThis = function() {\n return this;\n};\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function(kind) {\n if (!BUGGY && kind in proto)\n return proto[kind];\n switch (kind) {\n case KEYS:\n return function keys() {\n return new Constructor(this, kind);\n };\n case VALUES:\n return function values() {\n return new Constructor(this, kind);\n };\n }\n return function entries() {\n return new Constructor(this, kind);\n };\n };\n var TAG = NAME + ' Iterator',\n DEF_VALUES = DEFAULT == VALUES,\n VALUES_BUG = false,\n proto = Base.prototype,\n $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT],\n $default = $native || getMethod(DEFAULT),\n methods,\n key;\n if ($native) {\n var IteratorPrototype = getProto($default.call(new Base));\n setToStringTag(IteratorPrototype, TAG, true);\n if (!LIBRARY && has(proto, FF_ITERATOR))\n hide(IteratorPrototype, ITERATOR, returnThis);\n if (DEF_VALUES && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() {\n return $native.call(this);\n };\n }\n }\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: !DEF_VALUES ? $default : getMethod('entries')\n };\n if (FORCED)\n for (key in methods) {\n if (!(key in proto))\n redefine(proto, key, methods[key]);\n }\n else\n $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","/* */ \nmodule.exports = function(done, value){\n return {value: value, done: !!done};\n};","/* */ \n'use strict';\nvar core = require('./$.core'),\n $ = require('./$'),\n DESCRIPTORS = require('./$.descriptors'),\n SPECIES = require('./$.wks')('species');\nmodule.exports = function(KEY) {\n var C = core[KEY];\n if (DESCRIPTORS && C && !C[SPECIES])\n $.setDesc(C, SPECIES, {\n configurable: true,\n get: function() {\n return this;\n }\n });\n};\n","/* */ \n'use strict';\nvar $ = require('./$'),\n hide = require('./$.hide'),\n redefineAll = require('./$.redefine-all'),\n ctx = require('./$.ctx'),\n strictNew = require('./$.strict-new'),\n defined = require('./$.defined'),\n forOf = require('./$.for-of'),\n $iterDefine = require('./$.iter-define'),\n step = require('./$.iter-step'),\n ID = require('./$.uid')('id'),\n $has = require('./$.has'),\n isObject = require('./$.is-object'),\n setSpecies = require('./$.set-species'),\n DESCRIPTORS = require('./$.descriptors'),\n isExtensible = Object.isExtensible || isObject,\n SIZE = DESCRIPTORS ? '_s' : 'size',\n id = 0;\nvar fastKey = function(it, create) {\n if (!isObject(it))\n return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!$has(it, ID)) {\n if (!isExtensible(it))\n return 'F';\n if (!create)\n return 'E';\n hide(it, ID, ++id);\n }\n return 'O' + it[ID];\n};\nvar getEntry = function(that, key) {\n var index = fastKey(key),\n entry;\n if (index !== 'F')\n return that._i[index];\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key)\n return entry;\n }\n};\nmodule.exports = {\n getConstructor: function(wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function(that, iterable) {\n strictNew(that, C, NAME);\n that._i = $.create(null);\n that._f = undefined;\n that._l = undefined;\n that[SIZE] = 0;\n if (iterable != undefined)\n forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n clear: function clear() {\n for (var that = this,\n data = that._i,\n entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p)\n entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n 'delete': function(key) {\n var that = this,\n entry = getEntry(that, key);\n if (entry) {\n var next = entry.n,\n prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev)\n prev.n = next;\n if (next)\n next.p = prev;\n if (that._f == entry)\n that._f = next;\n if (that._l == entry)\n that._l = prev;\n that[SIZE]--;\n }\n return !!entry;\n },\n forEach: function forEach(callbackfn) {\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3),\n entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n while (entry && entry.r)\n entry = entry.p;\n }\n },\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n if (DESCRIPTORS)\n $.setDesc(C.prototype, 'size', {get: function() {\n return defined(this[SIZE]);\n }});\n return C;\n },\n def: function(that, key, value) {\n var entry = getEntry(that, key),\n prev,\n index;\n if (entry) {\n entry.v = value;\n } else {\n that._l = entry = {\n i: index = fastKey(key, true),\n k: key,\n v: value,\n p: prev = that._l,\n n: undefined,\n r: false\n };\n if (!that._f)\n that._f = entry;\n if (prev)\n prev.n = entry;\n that[SIZE]++;\n if (index !== 'F')\n that._i[index] = entry;\n }\n return that;\n },\n getEntry: getEntry,\n setStrong: function(C, NAME, IS_MAP) {\n $iterDefine(C, NAME, function(iterated, kind) {\n this._t = iterated;\n this._k = kind;\n this._l = undefined;\n }, function() {\n var that = this,\n kind = that._k,\n entry = that._l;\n while (entry && entry.r)\n entry = entry.p;\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n that._t = undefined;\n return step(1);\n }\n if (kind == 'keys')\n return step(0, entry.k);\n if (kind == 'values')\n return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n setSpecies(NAME);\n }\n};\n","/* */ \nmodule.exports = function(bitmap, value){\n return {\n enumerable : !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable : !(bitmap & 4),\n value : value\n };\n};","/* */ \nvar $ = require('./$'),\n createDesc = require('./$.property-desc');\nmodule.exports = require('./$.descriptors') ? function(object, key, value) {\n return $.setDesc(object, key, createDesc(1, value));\n} : function(object, key, value) {\n object[key] = value;\n return object;\n};\n","/* */ \nmodule.exports = require('./$.hide');\n","/* */ \nvar redefine = require('./$.redefine');\nmodule.exports = function(target, src) {\n for (var key in src)\n redefine(target, key, src[key]);\n return target;\n};\n","/* */ \nmodule.exports = function(it, Constructor, name){\n if(!(it instanceof Constructor))throw TypeError(name + \": use the 'new' operator!\");\n return it;\n};","/* */ \nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};","/* */ \nvar def = require('./$').setDesc,\n has = require('./$.has'),\n TAG = require('./$.wks')('toStringTag');\nmodule.exports = function(it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG))\n def(it, TAG, {\n configurable: true,\n value: tag\n });\n};\n","/* */ \nmodule.exports = !require('./$.fails')(function() {\n return Object.defineProperty({}, 'a', {get: function() {\n return 7;\n }}).a != 7;\n});\n","/* */ \n'use strict';\nvar $ = require('./$'),\n global = require('./$.global'),\n $export = require('./$.export'),\n fails = require('./$.fails'),\n hide = require('./$.hide'),\n redefineAll = require('./$.redefine-all'),\n forOf = require('./$.for-of'),\n strictNew = require('./$.strict-new'),\n isObject = require('./$.is-object'),\n setToStringTag = require('./$.set-to-string-tag'),\n DESCRIPTORS = require('./$.descriptors');\nmodule.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME],\n C = Base,\n ADDER = IS_MAP ? 'set' : 'add',\n proto = C && C.prototype,\n O = {};\n if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function() {\n new C().entries().next();\n }))) {\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n } else {\n C = wrapper(function(target, iterable) {\n strictNew(target, C, NAME);\n target._c = new Base;\n if (iterable != undefined)\n forOf(iterable, IS_MAP, target[ADDER], target);\n });\n $.each.call('add,clear,delete,forEach,get,has,set,keys,values,entries'.split(','), function(KEY) {\n var IS_ADDER = KEY == 'add' || KEY == 'set';\n if (KEY in proto && !(IS_WEAK && KEY == 'clear'))\n hide(C.prototype, KEY, function(a, b) {\n if (!IS_ADDER && IS_WEAK && !isObject(a))\n return KEY == 'get' ? undefined : false;\n var result = this._c[KEY](a === 0 ? 0 : a, b);\n return IS_ADDER ? this : result;\n });\n });\n if ('size' in proto)\n $.setDesc(C.prototype, 'size', {get: function() {\n return this._c.size;\n }});\n }\n setToStringTag(C, NAME);\n O[NAME] = C;\n $export($export.G + $export.W + $export.F, O);\n if (!IS_WEAK)\n common.setStrong(C, NAME, IS_MAP);\n return C;\n};\n","/* */ \n'use strict';\nvar strong = require('./$.collection-strong');\nrequire('./$.collection')('Set', function(get) {\n return function Set() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n}, {add: function add(value) {\n return strong.def(this, value = value === 0 ? 0 : value, value);\n }}, strong);\n","/* */ \nvar anObject = require('./$.an-object');\nmodule.exports = function(iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined)\n anObject(ret.call(iterator));\n throw e;\n }\n};\n","/* */ \nvar Iterators = require('./$.iterators'),\n ITERATOR = require('./$.wks')('iterator'),\n ArrayProto = Array.prototype;\nmodule.exports = function(it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil\n , floor = Math.floor;\nmodule.exports = function(it){\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};","/* */ \nvar toInteger = require('./$.to-integer'),\n min = Math.min;\nmodule.exports = function(it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0;\n};\n","/* */ \nmodule.exports = {};","/* */ \nvar classof = require('./$.classof'),\n ITERATOR = require('./$.wks')('iterator'),\n Iterators = require('./$.iterators');\nmodule.exports = require('./$.core').getIteratorMethod = function(it) {\n if (it != undefined)\n return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)];\n};\n","/* */ \nvar ctx = require('./$.ctx'),\n call = require('./$.iter-call'),\n isArrayIter = require('./$.is-array-iter'),\n anObject = require('./$.an-object'),\n toLength = require('./$.to-length'),\n getIterFn = require('./core.get-iterator-method');\nmodule.exports = function(iterable, entries, fn, that) {\n var iterFn = getIterFn(iterable),\n f = ctx(fn, that, entries ? 2 : 1),\n index = 0,\n length,\n step,\n iterator;\n if (typeof iterFn != 'function')\n throw TypeError(iterable + ' is not iterable!');\n if (isArrayIter(iterFn))\n for (length = toLength(iterable.length); length > index; index++) {\n entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n }\n else\n for (iterator = iterFn.call(iterable); !(step = iterator.next()).done; ) {\n call(iterator, f, step.value, entries);\n }\n};\n","/* */ \nvar global = require('./$.global'),\n SHARED = '__core-js_shared__',\n store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key) {\n return store[key] || (store[key] = {});\n};\n","/* */ \nvar id = 0\n , px = Math.random();\nmodule.exports = function(key){\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};","/* */ \nvar store = require('./$.shared')('wks'),\n uid = require('./$.uid'),\n Symbol = require('./$.global').Symbol;\nmodule.exports = function(name) {\n return store[name] || (store[name] = Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));\n};\n","/* */ \nvar cof = require('./$.cof'),\n TAG = require('./$.wks')('toStringTag'),\n ARG = cof(function() {\n return arguments;\n }()) == 'Arguments';\nmodule.exports = function(it) {\n var O,\n T,\n B;\n return it === undefined ? 'Undefined' : it === null ? 'Null' : typeof(T = (O = Object(it))[TAG]) == 'string' ? T : ARG ? cof(O) : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","/* */ \nvar forOf = require('./$.for-of'),\n classof = require('./$.classof');\nmodule.exports = function(NAME) {\n return function toJSON() {\n if (classof(this) != NAME)\n throw TypeError(NAME + \"#toJSON isn't generic\");\n var arr = [];\n forOf(this, false, arr.push, arr);\n return arr;\n };\n};\n","/* */ \nvar $export = require('./$.export');\n$export($export.P, 'Set', {toJSON: require('./$.collection-to-json')('Set')});\n","/* */ \nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.set');\nrequire('../modules/es7.set.to-json');\nmodule.exports = require('../modules/$.core').Set;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/set\"), __esModule: true };","'use strict';\n\nexport var methods = new Set(['get', 'put', 'post', 'delete', 'options', 'head', 'patch']);\n","'use strict';\nimport SwaggerParser from 'swagger-parser';\nimport JsonPointer from './JsonPointer';\nimport {methods as swaggerMethods} from './swagger-defs';\n\nexport default class SchemaManager {\n constructor() {\n if (SchemaManager.prototype._instance) {\n return SchemaManager.prototype._instance;\n }\n\n SchemaManager.prototype._instance = this;\n\n this._schema = {};\n }\n\n static instance() {\n return new SchemaManager();\n }\n\n load(url) {\n let promise = new Promise((resolve, reject) => {\n this._schema = {};\n\n SwaggerParser.bundle(url, {http: {withCredentials: false}})\n .then(\n (schema) => {\n this._schema = schema;\n resolve(this._schema);\n this.init();\n },\n (err) => reject(err)\n );\n });\n\n return promise;\n }\n\n /* calculate common used values */\n init() {\n if (!this._schema || !this._schema.schemes) return;\n this.apiUrl = this._schema.schemes[0] + '://' + this._schema.host + this._schema.basePath;\n if (this.apiUrl.endsWith('/')) {\n this.apiUrl = this.apiUrl.substr(0, this.apiUrl.length - 1);\n }\n }\n\n get schema() {\n // TODO: consider returning promise\n return this._schema;\n }\n\n byPointer(pointer) {\n let res = null;\n try {\n // TODO: remove decodeURIComponent after this issue is fixed: https://github.com/BigstickCarpet/swagger-parser/issues/31\n res = JsonPointer.get(this._schema, decodeURIComponent(pointer));\n } catch(e) {/*skip*/ }\n return res;\n }\n\n resolveRefs(obj) {\n Object.keys(obj).forEach(key => {\n if (obj[key].$ref) {\n let resolved = this.byPointer(obj[key].$ref);\n resolved._pointer = obj[key].$ref;\n obj[key] = resolved;\n }\n });\n return obj;\n }\n\n getMethodParams(methodPtr, resolveRefs) {\n /* inject JsonPointer into array elements */\n function injectPointers(array, root) {\n if (!Array.isArray(array)) {\n throw new Error(`parameters must be an array. Got ${typeof array} at ${root}`);\n }\n return array.map((element, idx) => {\n element._pointer = JsonPointer.join(root, idx);\n return element;\n });\n }\n\n // accept pointer directly to parameters as well\n if (JsonPointer.baseName(methodPtr) === 'parameters') {\n methodPtr = JsonPointer.dirName(methodPtr);\n }\n\n //get path params\n let pathParamsPtr = JsonPointer.join(JsonPointer.dirName(methodPtr), ['parameters']);\n let pathParams = this.byPointer(pathParamsPtr) || [];\n\n let methodParamsPtr = JsonPointer.join(methodPtr, ['parameters']);\n let methodParams = this.byPointer(methodParamsPtr) || [];\n pathParams = injectPointers(pathParams, pathParamsPtr);\n methodParams = injectPointers(methodParams, methodParamsPtr);\n\n if (resolveRefs) {\n methodParams = this.resolveRefs(methodParams);\n pathParams = this.resolveRefs(pathParams);\n }\n return methodParams.concat(pathParams);\n }\n\n getTagsMap() {\n let tags = this._schema.tags || [];\n var tagsMap = {};\n for (let tag of tags) {\n tagsMap[tag.name] = {\n description: tag.description,\n 'x-traitTag': tag['x-traitTag'] || false\n };\n }\n\n return tagsMap;\n }\n\n /* returns ES6 Map */\n buildMenuTree() {\n let tag2MethodMapping = new Map();\n\n let definedTags = this._schema.tags || [];\n // add tags into map to preserve order\n for (let tag of definedTags) {\n tag2MethodMapping.set(tag.name, {\n 'description': tag.description,\n 'x-traitTag': tag['x-traitTag'],\n 'methods': []\n });\n }\n\n let paths = this._schema.paths;\n for (let path of Object.keys(paths)) {\n let methods = Object.keys(paths[path]).filter((k) => swaggerMethods.has(k));\n for (let method of methods) {\n let methodInfo = paths[path][method];\n let tags = methodInfo.tags;\n\n //TODO: mb need to do something cleverer\n if (!tags || !tags.length) {\n tags = ['[Other]'];\n }\n let methodPointer = JsonPointer.compile(['paths', path, method]);\n let methodSummary = methodInfo.summary;\n for (let tag of tags) {\n let tagDetails = tag2MethodMapping.get(tag);\n if (!tagDetails) {\n tagDetails = {};\n tag2MethodMapping.set(tag, tagDetails);\n }\n if (tagDetails['x-traitTag']) continue;\n if (!tagDetails.methods) tagDetails.methods = [];\n tagDetails.methods.push({\n pointer: methodPointer,\n summary: methodSummary,\n operationId: methodInfo.operationId\n });\n }\n }\n }\n return tag2MethodMapping;\n }\n\n findDerivedDefinitions(defPointer) {\n let definition = this.byPointer(defPointer);\n if (!definition) throw new Error(`Can't load schema at ${defPointer}`);\n if (!definition.discriminator) return [];\n\n let globalDefs = this._schema.definitions || {};\n let res = [];\n for (let defName of Object.keys(globalDefs)) {\n if (!globalDefs[defName].allOf) continue;\n\n let subTypes = globalDefs[defName].allOf;\n let idx = subTypes.findIndex((subType) => {\n if (subType.$ref === defPointer) return true;\n return false;\n });\n if (idx < 0) continue;\n\n let empty = false;\n if (subTypes.length === 1) {\n empty = true;\n }\n res.push({name: defName, $ref: `#/definitions/${defName}`, empty});\n }\n return res;\n }\n\n}\n","/* */ \nvar toObject = require('./$.to-object');\nrequire('./$.object-sap')('keys', function($keys) {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","/* */ \nrequire('../../modules/es6.object.keys');\nmodule.exports = require('../../modules/$.core').Object.keys;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/keys\"), __esModule: true };","\n/* **********************************************\n Begin prism-core.js\n********************************************** */\n\nvar _self = (typeof window !== 'undefined')\n\t? window // if in browser\n\t: (\n\t\t(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)\n\t\t? self // if in worker\n\t\t: {} // if in node js\n\t);\n\n/**\n * Prism: Lightweight, robust, elegant syntax highlighting\n * MIT license http://www.opensource.org/licenses/mit-license.php/\n * @author Lea Verou http://lea.verou.me\n */\n\nvar Prism = (function(){\n\n// Private helper vars\nvar lang = /\\blang(?:uage)?-(?!\\*)(\\w+)\\b/i;\n\nvar _ = _self.Prism = {\n\tutil: {\n\t\tencode: function (tokens) {\n\t\t\tif (tokens instanceof Token) {\n\t\t\t\treturn new Token(tokens.type, _.util.encode(tokens.content), tokens.alias);\n\t\t\t} else if (_.util.type(tokens) === 'Array') {\n\t\t\t\treturn tokens.map(_.util.encode);\n\t\t\t} else {\n\t\t\t\treturn tokens.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/\\u00a0/g, ' ');\n\t\t\t}\n\t\t},\n\n\t\ttype: function (o) {\n\t\t\treturn Object.prototype.toString.call(o).match(/\\[object (\\w+)\\]/)[1];\n\t\t},\n\n\t\t// Deep clone a language definition (e.g. to extend it)\n\t\tclone: function (o) {\n\t\t\tvar type = _.util.type(o);\n\n\t\t\tswitch (type) {\n\t\t\t\tcase 'Object':\n\t\t\t\t\tvar clone = {};\n\n\t\t\t\t\tfor (var key in o) {\n\t\t\t\t\t\tif (o.hasOwnProperty(key)) {\n\t\t\t\t\t\t\tclone[key] = _.util.clone(o[key]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn clone;\n\n\t\t\t\tcase 'Array':\n\t\t\t\t\t// Check for existence for IE8\n\t\t\t\t\treturn o.map && o.map(function(v) { return _.util.clone(v); });\n\t\t\t}\n\n\t\t\treturn o;\n\t\t}\n\t},\n\n\tlanguages: {\n\t\textend: function (id, redef) {\n\t\t\tvar lang = _.util.clone(_.languages[id]);\n\n\t\t\tfor (var key in redef) {\n\t\t\t\tlang[key] = redef[key];\n\t\t\t}\n\n\t\t\treturn lang;\n\t\t},\n\n\t\t/**\n\t\t * Insert a token before another token in a language literal\n\t\t * As this needs to recreate the object (we cannot actually insert before keys in object literals),\n\t\t * we cannot just provide an object, we need anobject and a key.\n\t\t * @param inside The key (or language id) of the parent\n\t\t * @param before The key to insert before. If not provided, the function appends instead.\n\t\t * @param insert Object with the key/value pairs to insert\n\t\t * @param root The object that contains `inside`. If equal to Prism.languages, it can be omitted.\n\t\t */\n\t\tinsertBefore: function (inside, before, insert, root) {\n\t\t\troot = root || _.languages;\n\t\t\tvar grammar = root[inside];\n\t\t\t\n\t\t\tif (arguments.length == 2) {\n\t\t\t\tinsert = arguments[1];\n\t\t\t\t\n\t\t\t\tfor (var newToken in insert) {\n\t\t\t\t\tif (insert.hasOwnProperty(newToken)) {\n\t\t\t\t\t\tgrammar[newToken] = insert[newToken];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn grammar;\n\t\t\t}\n\t\t\t\n\t\t\tvar ret = {};\n\n\t\t\tfor (var token in grammar) {\n\n\t\t\t\tif (grammar.hasOwnProperty(token)) {\n\n\t\t\t\t\tif (token == before) {\n\n\t\t\t\t\t\tfor (var newToken in insert) {\n\n\t\t\t\t\t\t\tif (insert.hasOwnProperty(newToken)) {\n\t\t\t\t\t\t\t\tret[newToken] = insert[newToken];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tret[token] = grammar[token];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t// Update references in other language definitions\n\t\t\t_.languages.DFS(_.languages, function(key, value) {\n\t\t\t\tif (value === root[inside] && key != inside) {\n\t\t\t\t\tthis[key] = ret;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn root[inside] = ret;\n\t\t},\n\n\t\t// Traverse a language definition with Depth First Search\n\t\tDFS: function(o, callback, type) {\n\t\t\tfor (var i in o) {\n\t\t\t\tif (o.hasOwnProperty(i)) {\n\t\t\t\t\tcallback.call(o, i, o[i], type || i);\n\n\t\t\t\t\tif (_.util.type(o[i]) === 'Object') {\n\t\t\t\t\t\t_.languages.DFS(o[i], callback);\n\t\t\t\t\t}\n\t\t\t\t\telse if (_.util.type(o[i]) === 'Array') {\n\t\t\t\t\t\t_.languages.DFS(o[i], callback, i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tplugins: {},\n\t\n\thighlightAll: function(async, callback) {\n\t\tvar elements = document.querySelectorAll('code[class*=\"language-\"], [class*=\"language-\"] code, code[class*=\"lang-\"], [class*=\"lang-\"] code');\n\n\t\tfor (var i=0, element; element = elements[i++];) {\n\t\t\t_.highlightElement(element, async === true, callback);\n\t\t}\n\t},\n\n\thighlightElement: function(element, async, callback) {\n\t\t// Find language\n\t\tvar language, grammar, parent = element;\n\n\t\twhile (parent && !lang.test(parent.className)) {\n\t\t\tparent = parent.parentNode;\n\t\t}\n\n\t\tif (parent) {\n\t\t\tlanguage = (parent.className.match(lang) || [,''])[1];\n\t\t\tgrammar = _.languages[language];\n\t\t}\n\n\t\t// Set language on the element, if not present\n\t\telement.className = element.className.replace(lang, '').replace(/\\s+/g, ' ') + ' language-' + language;\n\n\t\t// Set language on the parent, for styling\n\t\tparent = element.parentNode;\n\n\t\tif (/pre/i.test(parent.nodeName)) {\n\t\t\tparent.className = parent.className.replace(lang, '').replace(/\\s+/g, ' ') + ' language-' + language;\n\t\t}\n\n\t\tvar code = element.textContent;\n\n\t\tvar env = {\n\t\t\telement: element,\n\t\t\tlanguage: language,\n\t\t\tgrammar: grammar,\n\t\t\tcode: code\n\t\t};\n\n\t\tif (!code || !grammar) {\n\t\t\t_.hooks.run('complete', env);\n\t\t\treturn;\n\t\t}\n\n\t\t_.hooks.run('before-highlight', env);\n\n\t\tif (async && _self.Worker) {\n\t\t\tvar worker = new Worker(_.filename);\n\n\t\t\tworker.onmessage = function(evt) {\n\t\t\t\tenv.highlightedCode = evt.data;\n\n\t\t\t\t_.hooks.run('before-insert', env);\n\n\t\t\t\tenv.element.innerHTML = env.highlightedCode;\n\n\t\t\t\tcallback && callback.call(env.element);\n\t\t\t\t_.hooks.run('after-highlight', env);\n\t\t\t\t_.hooks.run('complete', env);\n\t\t\t};\n\n\t\t\tworker.postMessage(JSON.stringify({\n\t\t\t\tlanguage: env.language,\n\t\t\t\tcode: env.code,\n\t\t\t\timmediateClose: true\n\t\t\t}));\n\t\t}\n\t\telse {\n\t\t\tenv.highlightedCode = _.highlight(env.code, env.grammar, env.language);\n\n\t\t\t_.hooks.run('before-insert', env);\n\n\t\t\tenv.element.innerHTML = env.highlightedCode;\n\n\t\t\tcallback && callback.call(element);\n\n\t\t\t_.hooks.run('after-highlight', env);\n\t\t\t_.hooks.run('complete', env);\n\t\t}\n\t},\n\n\thighlight: function (text, grammar, language) {\n\t\tvar tokens = _.tokenize(text, grammar);\n\t\treturn Token.stringify(_.util.encode(tokens), language);\n\t},\n\n\ttokenize: function(text, grammar, language) {\n\t\tvar Token = _.Token;\n\n\t\tvar strarr = [text];\n\n\t\tvar rest = grammar.rest;\n\n\t\tif (rest) {\n\t\t\tfor (var token in rest) {\n\t\t\t\tgrammar[token] = rest[token];\n\t\t\t}\n\n\t\t\tdelete grammar.rest;\n\t\t}\n\n\t\ttokenloop: for (var token in grammar) {\n\t\t\tif(!grammar.hasOwnProperty(token) || !grammar[token]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tvar patterns = grammar[token];\n\t\t\tpatterns = (_.util.type(patterns) === \"Array\") ? patterns : [patterns];\n\n\t\t\tfor (var j = 0; j < patterns.length; ++j) {\n\t\t\t\tvar pattern = patterns[j],\n\t\t\t\t\tinside = pattern.inside,\n\t\t\t\t\tlookbehind = !!pattern.lookbehind,\n\t\t\t\t\tlookbehindLength = 0,\n\t\t\t\t\talias = pattern.alias;\n\n\t\t\t\tpattern = pattern.pattern || pattern;\n\n\t\t\t\tfor (var i=0; i<strarr.length; i++) { // Dont cache length as it changes during the loop\n\n\t\t\t\t\tvar str = strarr[i];\n\n\t\t\t\t\tif (strarr.length > text.length) {\n\t\t\t\t\t\t// Something went terribly wrong, ABORT, ABORT!\n\t\t\t\t\t\tbreak tokenloop;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (str instanceof Token) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tpattern.lastIndex = 0;\n\n\t\t\t\t\tvar match = pattern.exec(str);\n\n\t\t\t\t\tif (match) {\n\t\t\t\t\t\tif(lookbehind) {\n\t\t\t\t\t\t\tlookbehindLength = match[1].length;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar from = match.index - 1 + lookbehindLength,\n\t\t\t\t\t\t\tmatch = match[0].slice(lookbehindLength),\n\t\t\t\t\t\t\tlen = match.length,\n\t\t\t\t\t\t\tto = from + len,\n\t\t\t\t\t\t\tbefore = str.slice(0, from + 1),\n\t\t\t\t\t\t\tafter = str.slice(to + 1);\n\n\t\t\t\t\t\tvar args = [i, 1];\n\n\t\t\t\t\t\tif (before) {\n\t\t\t\t\t\t\targs.push(before);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar wrapped = new Token(token, inside? _.tokenize(match, inside) : match, alias);\n\n\t\t\t\t\t\targs.push(wrapped);\n\n\t\t\t\t\t\tif (after) {\n\t\t\t\t\t\t\targs.push(after);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tArray.prototype.splice.apply(strarr, args);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn strarr;\n\t},\n\n\thooks: {\n\t\tall: {},\n\n\t\tadd: function (name, callback) {\n\t\t\tvar hooks = _.hooks.all;\n\n\t\t\thooks[name] = hooks[name] || [];\n\n\t\t\thooks[name].push(callback);\n\t\t},\n\n\t\trun: function (name, env) {\n\t\t\tvar callbacks = _.hooks.all[name];\n\n\t\t\tif (!callbacks || !callbacks.length) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (var i=0, callback; callback = callbacks[i++];) {\n\t\t\t\tcallback(env);\n\t\t\t}\n\t\t}\n\t}\n};\n\nvar Token = _.Token = function(type, content, alias) {\n\tthis.type = type;\n\tthis.content = content;\n\tthis.alias = alias;\n};\n\nToken.stringify = function(o, language, parent) {\n\tif (typeof o == 'string') {\n\t\treturn o;\n\t}\n\n\tif (_.util.type(o) === 'Array') {\n\t\treturn o.map(function(element) {\n\t\t\treturn Token.stringify(element, language, o);\n\t\t}).join('');\n\t}\n\n\tvar env = {\n\t\ttype: o.type,\n\t\tcontent: Token.stringify(o.content, language, parent),\n\t\ttag: 'span',\n\t\tclasses: ['token', o.type],\n\t\tattributes: {},\n\t\tlanguage: language,\n\t\tparent: parent\n\t};\n\n\tif (env.type == 'comment') {\n\t\tenv.attributes['spellcheck'] = 'true';\n\t}\n\n\tif (o.alias) {\n\t\tvar aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias];\n\t\tArray.prototype.push.apply(env.classes, aliases);\n\t}\n\n\t_.hooks.run('wrap', env);\n\n\tvar attributes = '';\n\n\tfor (var name in env.attributes) {\n\t\tattributes += (attributes ? ' ' : '') + name + '=\"' + (env.attributes[name] || '') + '\"';\n\t}\n\n\treturn '<' + env.tag + ' class=\"' + env.classes.join(' ') + '\" ' + attributes + '>' + env.content + '</' + env.tag + '>';\n\n};\n\nif (!_self.document) {\n\tif (!_self.addEventListener) {\n\t\t// in Node.js\n\t\treturn _self.Prism;\n\t}\n \t// In worker\n\t_self.addEventListener('message', function(evt) {\n\t\tvar message = JSON.parse(evt.data),\n\t\t lang = message.language,\n\t\t code = message.code,\n\t\t immediateClose = message.immediateClose;\n\n\t\t_self.postMessage(_.highlight(code, _.languages[lang], lang));\n\t\tif (immediateClose) {\n\t\t\t_self.close();\n\t\t}\n\t}, false);\n\n\treturn _self.Prism;\n}\n\n// Get current script and highlight\nvar script = document.getElementsByTagName('script');\n\nscript = script[script.length - 1];\n\nif (script) {\n\t_.filename = script.src;\n\n\tif (document.addEventListener && !script.hasAttribute('data-manual')) {\n\t\tdocument.addEventListener('DOMContentLoaded', _.highlightAll);\n\t}\n}\n\nreturn _self.Prism;\n\n})();\n\nif (typeof module !== 'undefined' && module.exports) {\n\tmodule.exports = Prism;\n}\n\n// hack for components to work correctly in node.js\nif (typeof global !== 'undefined') {\n\tglobal.Prism = Prism;\n}\n\n\n/* **********************************************\n Begin prism-markup.js\n********************************************** */\n\nPrism.languages.markup = {\n\t'comment': /<!--[\\w\\W]*?-->/,\n\t'prolog': /<\\?[\\w\\W]+?\\?>/,\n\t'doctype': /<!DOCTYPE[\\w\\W]+?>/,\n\t'cdata': /<!\\[CDATA\\[[\\w\\W]*?]]>/i,\n\t'tag': {\n\t\tpattern: /<\\/?(?!\\d)[^\\s>\\/=.$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\w\\W])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,\n\t\tinside: {\n\t\t\t'tag': {\n\t\t\t\tpattern: /^<\\/?[^\\s>\\/]+/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': /^<\\/?/,\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t},\n\t\t\t'attr-value': {\n\t\t\t\tpattern: /=(?:('|\")[\\w\\W]*?(\\1)|[^\\s>]+)/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': /[=>\"']/\n\t\t\t\t}\n\t\t\t},\n\t\t\t'punctuation': /\\/?>/,\n\t\t\t'attr-name': {\n\t\t\t\tpattern: /[^\\s>\\/]+/,\n\t\t\t\tinside: {\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t},\n\t'entity': /&#?[\\da-z]{1,8};/i\n};\n\n// Plugin to make entity title show the real entity, idea by Roman Komarov\nPrism.hooks.add('wrap', function(env) {\n\n\tif (env.type === 'entity') {\n\t\tenv.attributes['title'] = env.content.replace(/&amp;/, '&');\n\t}\n});\n\nPrism.languages.xml = Prism.languages.markup;\nPrism.languages.html = Prism.languages.markup;\nPrism.languages.mathml = Prism.languages.markup;\nPrism.languages.svg = Prism.languages.markup;\n\n\n/* **********************************************\n Begin prism-css.js\n********************************************** */\n\nPrism.languages.css = {\n\t'comment': /\\/\\*[\\w\\W]*?\\*\\//,\n\t'atrule': {\n\t\tpattern: /@[\\w-]+?.*?(;|(?=\\s*\\{))/i,\n\t\tinside: {\n\t\t\t'rule': /@[\\w-]+/\n\t\t\t// See rest below\n\t\t}\n\t},\n\t'url': /url\\((?:([\"'])(\\\\(?:\\r\\n|[\\w\\W])|(?!\\1)[^\\\\\\r\\n])*\\1|.*?)\\)/i,\n\t'selector': /[^\\{\\}\\s][^\\{\\};]*?(?=\\s*\\{)/,\n\t'string': /(\"|')(\\\\(?:\\r\\n|[\\w\\W])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t'property': /(\\b|\\B)[\\w-]+(?=\\s*:)/i,\n\t'important': /\\B!important\\b/i,\n\t'function': /[-a-z0-9]+(?=\\()/i,\n\t'punctuation': /[(){};:]/\n};\n\nPrism.languages.css['atrule'].inside.rest = Prism.util.clone(Prism.languages.css);\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('markup', 'tag', {\n\t\t'style': {\n\t\t\tpattern: /(<style[\\w\\W]*?>)[\\w\\W]*?(?=<\\/style>)/i,\n\t\t\tlookbehind: true,\n\t\t\tinside: Prism.languages.css,\n\t\t\talias: 'language-css'\n\t\t}\n\t});\n\t\n\tPrism.languages.insertBefore('inside', 'attr-value', {\n\t\t'style-attr': {\n\t\t\tpattern: /\\s*style=(\"|').*?\\1/i,\n\t\t\tinside: {\n\t\t\t\t'attr-name': {\n\t\t\t\t\tpattern: /^\\s*style/i,\n\t\t\t\t\tinside: Prism.languages.markup.tag.inside\n\t\t\t\t},\n\t\t\t\t'punctuation': /^\\s*=\\s*['\"]|['\"]\\s*$/,\n\t\t\t\t'attr-value': {\n\t\t\t\t\tpattern: /.+/i,\n\t\t\t\t\tinside: Prism.languages.css\n\t\t\t\t}\n\t\t\t},\n\t\t\talias: 'language-css'\n\t\t}\n\t}, Prism.languages.markup.tag);\n}\n\n/* **********************************************\n Begin prism-clike.js\n********************************************** */\n\nPrism.languages.clike = {\n\t'comment': [\n\t\t{\n\t\t\tpattern: /(^|[^\\\\])\\/\\*[\\w\\W]*?\\*\\//,\n\t\t\tlookbehind: true\n\t\t},\n\t\t{\n\t\t\tpattern: /(^|[^\\\\:])\\/\\/.*/,\n\t\t\tlookbehind: true\n\t\t}\n\t],\n\t'string': /([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t'class-name': {\n\t\tpattern: /((?:\\b(?:class|interface|extends|implements|trait|instanceof|new)\\s+)|(?:catch\\s+\\())[a-z0-9_\\.\\\\]+/i,\n\t\tlookbehind: true,\n\t\tinside: {\n\t\t\tpunctuation: /(\\.|\\\\)/\n\t\t}\n\t},\n\t'keyword': /\\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\\b/,\n\t'boolean': /\\b(true|false)\\b/,\n\t'function': /[a-z0-9_]+(?=\\()/i,\n\t'number': /\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)\\b/i,\n\t'operator': /--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&?|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,\n\t'punctuation': /[{}[\\];(),.:]/\n};\n\n\n/* **********************************************\n Begin prism-javascript.js\n********************************************** */\n\nPrism.languages.javascript = Prism.languages.extend('clike', {\n\t'keyword': /\\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b/,\n\t'number': /\\b-?(0x[\\dA-Fa-f]+|0b[01]+|0o[0-7]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?|NaN|Infinity)\\b/,\n\t// Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)\n\t'function': /[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*(?=\\()/i\n});\n\nPrism.languages.insertBefore('javascript', 'keyword', {\n\t'regex': {\n\t\tpattern: /(^|[^/])\\/(?!\\/)(\\[.+?]|\\\\.|[^/\\\\\\r\\n])+\\/[gimyu]{0,5}(?=\\s*($|[\\r\\n,.;})]))/,\n\t\tlookbehind: true\n\t}\n});\n\nPrism.languages.insertBefore('javascript', 'class-name', {\n\t'template-string': {\n\t\tpattern: /`(?:\\\\`|\\\\?[^`])*`/,\n\t\tinside: {\n\t\t\t'interpolation': {\n\t\t\t\tpattern: /\\$\\{[^}]+\\}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation-punctuation': {\n\t\t\t\t\t\tpattern: /^\\$\\{|\\}$/,\n\t\t\t\t\t\talias: 'punctuation'\n\t\t\t\t\t},\n\t\t\t\t\trest: Prism.languages.javascript\n\t\t\t\t}\n\t\t\t},\n\t\t\t'string': /[\\s\\S]+/\n\t\t}\n\t}\n});\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('markup', 'tag', {\n\t\t'script': {\n\t\t\tpattern: /(<script[\\w\\W]*?>)[\\w\\W]*?(?=<\\/script>)/i,\n\t\t\tlookbehind: true,\n\t\t\tinside: Prism.languages.javascript,\n\t\t\talias: 'language-javascript'\n\t\t}\n\t});\n}\n\nPrism.languages.js = Prism.languages.javascript;\n\n/* **********************************************\n Begin prism-file-highlight.js\n********************************************** */\n\n(function () {\n\tif (typeof self === 'undefined' || !self.Prism || !self.document || !document.querySelector) {\n\t\treturn;\n\t}\n\n\tself.Prism.fileHighlight = function() {\n\n\t\tvar Extensions = {\n\t\t\t'js': 'javascript',\n\t\t\t'html': 'markup',\n\t\t\t'svg': 'markup',\n\t\t\t'xml': 'markup',\n\t\t\t'py': 'python',\n\t\t\t'rb': 'ruby',\n\t\t\t'ps1': 'powershell',\n\t\t\t'psm1': 'powershell'\n\t\t};\n\n\t\tif(Array.prototype.forEach) { // Check to prevent error in IE8\n\t\t\tArray.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {\n\t\t\t\tvar src = pre.getAttribute('data-src');\n\n\t\t\t\tvar language, parent = pre;\n\t\t\t\tvar lang = /\\blang(?:uage)?-(?!\\*)(\\w+)\\b/i;\n\t\t\t\twhile (parent && !lang.test(parent.className)) {\n\t\t\t\t\tparent = parent.parentNode;\n\t\t\t\t}\n\n\t\t\t\tif (parent) {\n\t\t\t\t\tlanguage = (pre.className.match(lang) || [, ''])[1];\n\t\t\t\t}\n\n\t\t\t\tif (!language) {\n\t\t\t\t\tvar extension = (src.match(/\\.(\\w+)$/) || [, ''])[1];\n\t\t\t\t\tlanguage = Extensions[extension] || extension;\n\t\t\t\t}\n\n\t\t\t\tvar code = document.createElement('code');\n\t\t\t\tcode.className = 'language-' + language;\n\n\t\t\t\tpre.textContent = '';\n\n\t\t\t\tcode.textContent = 'Loading…';\n\n\t\t\t\tpre.appendChild(code);\n\n\t\t\t\tvar xhr = new XMLHttpRequest();\n\n\t\t\t\txhr.open('GET', src, true);\n\n\t\t\t\txhr.onreadystatechange = function () {\n\t\t\t\t\tif (xhr.readyState == 4) {\n\n\t\t\t\t\t\tif (xhr.status < 400 && xhr.responseText) {\n\t\t\t\t\t\t\tcode.textContent = xhr.responseText;\n\n\t\t\t\t\t\t\tPrism.highlightElement(code);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (xhr.status >= 400) {\n\t\t\t\t\t\t\tcode.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tcode.textContent = '✖ Error: File does not exist or is empty';\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\txhr.send(null);\n\t\t\t});\n\t\t}\n\n\t};\n\n\tself.Prism.fileHighlight();\n\n})();\n\n/* */ \n\"format cjs\";\nPrism.languages.actionscript = Prism.languages.extend('javascript', {\n\t'keyword': /\\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\\b/,\n\t'operator': /\\+\\+|--|(?:[+\\-*\\/%^]|&&?|\\|\\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/\n});\nPrism.languages.actionscript['class-name'].alias = 'function';\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('actionscript', 'string', {\n\t\t'xml': {\n\t\t\tpattern: /(^|[^.])<\\/?\\w+(?:\\s+[^\\s>\\/=]+=(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\w\\W])*\\2)*\\s*\\/?>/,\n\t\t\tlookbehind: true,\n\t\t\tinside: {\n\t\t\t\trest: Prism.languages.markup\n\t\t\t}\n\t\t}\n\t});\n}\n/* */ \n\"format cjs\";\nPrism.languages.c = Prism.languages.extend('clike', {\n\t'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)\\b/,\n\t'operator': /\\-[>-]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|?\\||[~^%?*\\/]/,\n\t'number': /\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)[ful]*\\b/i\n});\n\nPrism.languages.insertBefore('c', 'string', {\n\t'macro': {\n\t\t// allow for multiline macro definitions\n\t\t// spaces after the # character compile fine with gcc\n\t\tpattern: /(^\\s*)#\\s*[a-z]+([^\\r\\n\\\\]|\\\\.|\\\\(?:\\r\\n?|\\n))*/im,\n\t\tlookbehind: true,\n\t\talias: 'property',\n\t\tinside: {\n\t\t\t// highlight the path of the include statement as a string\n\t\t\t'string': {\n\t\t\t\tpattern: /(#\\s*include\\s*)(<.+?>|(\"|')(\\\\?.)+?\\3)/,\n\t\t\t\tlookbehind: true\n\t\t\t},\n\t\t\t// highlight macro directives as keywords\n\t\t\t'directive': {\n\t\t\t\tpattern: /(#\\s*)\\b(define|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\\b/,\n\t\t\t\tlookbehind: true,\n\t\t\t\talias: 'keyword'\n\t\t\t}\n\t\t}\n\t},\n\t// highlight predefined macros as constants\n\t'constant': /\\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|stdin|stdout|stderr)\\b/\n});\n\ndelete Prism.languages.c['class-name'];\ndelete Prism.languages.c['boolean'];\n\n/* */ \n\"format cjs\";\nPrism.languages.cpp = Prism.languages.extend('c', {\n\t'keyword': /\\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\\b/,\n\t'boolean': /\\b(true|false)\\b/,\n\t'operator': /[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\\->|:{1,2}|={1,2}|\\^|~|%|&{1,2}|\\|?\\||\\?|\\*|\\/|\\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\\b/\n});\n\nPrism.languages.insertBefore('cpp', 'keyword', {\n\t'class-name': {\n\t\tpattern: /(class\\s+)[a-z0-9_]+/i,\n\t\tlookbehind: true\n\t}\n});\n/* */ \n\"format cjs\";\nPrism.languages.csharp = Prism.languages.extend('clike', {\n\t'keyword': /\\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\\b/,\n\t'string': [\n\t\t/@(\"|')(\\1\\1|\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1/,\n\t\t/(\"|')(\\\\?.)*?\\1/\n\t],\n\t'number': /\\b-?(0x[\\da-f]+|\\d*\\.?\\d+f?)\\b/i\n});\n\nPrism.languages.insertBefore('csharp', 'keyword', {\n\t'preprocessor': {\n\t\tpattern: /(^\\s*)#.*/m,\n\t\tlookbehind: true,\n\t\talias: 'property',\n\t\tinside: {\n\t\t\t// highlight preprocessor directives as keywords\n\t\t\t'directive': {\n\t\t\t\tpattern: /(\\s*#)\\b(define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\\b/,\n\t\t\t\tlookbehind: true,\n\t\t\t\talias: 'keyword'\n\t\t\t}\n\t\t}\n\t}\n});\n\n/* */ \n\"format cjs\";\n/**\n * Original by Aaron Harun: http://aahacreative.com/2012/07/31/php-syntax-highlighting-prism/\n * Modified by Miles Johnson: http://milesj.me\n *\n * Supports the following:\n * \t\t- Extends clike syntax\n * \t\t- Support for PHP 5.3+ (namespaces, traits, generators, etc)\n * \t\t- Smarter constant and function matching\n *\n * Adds the following new token classes:\n * \t\tconstant, delimiter, variable, function, package\n */\n\nPrism.languages.php = Prism.languages.extend('clike', {\n\t'keyword': /\\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\\b/i,\n\t'constant': /\\b[A-Z0-9_]{2,}\\b/,\n\t'comment': {\n\t\tpattern: /(^|[^\\\\])(?:\\/\\*[\\w\\W]*?\\*\\/|\\/\\/.*)/,\n\t\tlookbehind: true\n\t}\n});\n\n// Shell-like comments are matched after strings, because they are less\n// common than strings containing hashes...\nPrism.languages.insertBefore('php', 'class-name', {\n\t'shell-comment': {\n\t\tpattern: /(^|[^\\\\])#.*/,\n\t\tlookbehind: true,\n\t\talias: 'comment'\n\t}\n});\n\nPrism.languages.insertBefore('php', 'keyword', {\n\t'delimiter': /\\?>|<\\?(?:php)?/i,\n\t'variable': /\\$\\w+\\b/i,\n\t'package': {\n\t\tpattern: /(\\\\|namespace\\s+|use\\s+)[\\w\\\\]+/,\n\t\tlookbehind: true,\n\t\tinside: {\n\t\t\tpunctuation: /\\\\/\n\t\t}\n\t}\n});\n\n// Must be defined after the function pattern\nPrism.languages.insertBefore('php', 'operator', {\n\t'property': {\n\t\tpattern: /(->)[\\w]+/,\n\t\tlookbehind: true\n\t}\n});\n\n// Add HTML support of the markup language exists\nif (Prism.languages.markup) {\n\n\t// Tokenize all inline PHP blocks that are wrapped in <?php ?>\n\t// This allows for easy PHP + markup highlighting\n\tPrism.hooks.add('before-highlight', function(env) {\n\t\tif (env.language !== 'php') {\n\t\t\treturn;\n\t\t}\n\n\t\tenv.tokenStack = [];\n\n\t\tenv.backupCode = env.code;\n\t\tenv.code = env.code.replace(/(?:<\\?php|<\\?)[\\w\\W]*?(?:\\?>)/ig, function(match) {\n\t\t\tenv.tokenStack.push(match);\n\n\t\t\treturn '{{{PHP' + env.tokenStack.length + '}}}';\n\t\t});\n\t});\n\n\t// Restore env.code for other plugins (e.g. line-numbers)\n\tPrism.hooks.add('before-insert', function(env) {\n\t\tif (env.language === 'php') {\n\t\t\tenv.code = env.backupCode;\n\t\t\tdelete env.backupCode;\n\t\t}\n\t});\n\n\t// Re-insert the tokens after highlighting\n\tPrism.hooks.add('after-highlight', function(env) {\n\t\tif (env.language !== 'php') {\n\t\t\treturn;\n\t\t}\n\n\t\tfor (var i = 0, t; t = env.tokenStack[i]; i++) {\n\t\t\t// The replace prevents $$, $&, $`, $', $n, $nn from being interpreted as special patterns\n\t\t\tenv.highlightedCode = env.highlightedCode.replace('{{{PHP' + (i + 1) + '}}}', Prism.highlight(t, env.grammar, 'php').replace(/\\$/g, '$$$$'));\n\t\t}\n\n\t\tenv.element.innerHTML = env.highlightedCode;\n\t});\n\n\t// Wrap tokens in classes that are missing them\n\tPrism.hooks.add('wrap', function(env) {\n\t\tif (env.language === 'php' && env.type === 'markup') {\n\t\t\tenv.content = env.content.replace(/(\\{\\{\\{PHP[0-9]+\\}\\}\\})/g, \"<span class=\\\"token php\\\">$1</span>\");\n\t\t}\n\t});\n\n\t// Add the rules before all others\n\tPrism.languages.insertBefore('php', 'comment', {\n\t\t'markup': {\n\t\t\tpattern: /<[^?]\\/?(.*?)>/,\n\t\t\tinside: Prism.languages.markup\n\t\t},\n\t\t'php': /\\{\\{\\{PHP[0-9]+\\}\\}\\}/\n\t});\n}\n\n/* */ \n\"format cjs\";\n(function(Prism) {\n\n// Ignore comments starting with { to privilege string interpolation highlighting\nvar comment = /#(?!\\{).+/,\n interpolation = {\n \tpattern: /#\\{[^}]+\\}/,\n \talias: 'variable'\n };\n\nPrism.languages.coffeescript = Prism.languages.extend('javascript', {\n\t'comment': comment,\n\t'string': [\n\n\t\t// Strings are multiline\n\t\t/'(?:\\\\?[^\\\\])*?'/,\n\n\t\t{\n\t\t\t// Strings are multiline\n\t\t\tpattern: /\"(?:\\\\?[^\\\\])*?\"/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t}\n\t],\n\t'keyword': /\\b(and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\\b/,\n\t'class-member': {\n\t\tpattern: /@(?!\\d)\\w+/,\n\t\talias: 'variable'\n\t}\n});\n\nPrism.languages.insertBefore('coffeescript', 'comment', {\n\t'multiline-comment': {\n\t\tpattern: /###[\\s\\S]+?###/,\n\t\talias: 'comment'\n\t},\n\n\t// Block regexp can contain comments and interpolation\n\t'block-regex': {\n\t\tpattern: /\\/{3}[\\s\\S]*?\\/{3}/,\n\t\talias: 'regex',\n\t\tinside: {\n\t\t\t'comment': comment,\n\t\t\t'interpolation': interpolation\n\t\t}\n\t}\n});\n\nPrism.languages.insertBefore('coffeescript', 'string', {\n\t'inline-javascript': {\n\t\tpattern: /`(?:\\\\?[\\s\\S])*?`/,\n\t\tinside: {\n\t\t\t'delimiter': {\n\t\t\t\tpattern: /^`|`$/,\n\t\t\t\talias: 'punctuation'\n\t\t\t},\n\t\t\trest: Prism.languages.javascript\n\t\t}\n\t},\n\n\t// Block strings\n\t'multiline-string': [\n\t\t{\n\t\t\tpattern: /'''[\\s\\S]*?'''/,\n\t\t\talias: 'string'\n\t\t},\n\t\t{\n\t\t\tpattern: /\"\"\"[\\s\\S]*?\"\"\"/,\n\t\t\talias: 'string',\n\t\t\tinside: {\n\t\t\t\tinterpolation: interpolation\n\t\t\t}\n\t\t}\n\t]\n\n});\n\nPrism.languages.insertBefore('coffeescript', 'keyword', {\n\t// Object property\n\t'property': /(?!\\d)\\w+(?=\\s*:(?!:))/\n});\n\n}(Prism));\n/* */ \n\"format cjs\";\nPrism.languages.go = Prism.languages.extend('clike', {\n\t'keyword': /\\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\\b/,\n\t'builtin': /\\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\\b/,\n\t'boolean': /\\b(_|iota|nil|true|false)\\b/,\n\t'operator': /[*\\/%^!=]=?|\\+[=+]?|-[=-]?|\\|[=|]?|&(?:=|&|\\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\\.\\.\\./,\n\t'number': /\\b(-?(0x[a-f\\d]+|(\\d+\\.?\\d*|\\.\\d+)(e[-+]?\\d+)?)i?)\\b/i,\n\t'string': /(\"|'|`)(\\\\?.|\\r|\\n)*?\\1/\n});\ndelete Prism.languages.go['class-name'];\n\n/* */ \n\"format cjs\";\nPrism.languages.haskell= {\n\t'comment': {\n\t\tpattern: /(^|[^-!#$%*+=?&@|~.:<>^\\\\\\/])(--[^-!#$%*+=?&@|~.:<>^\\\\\\/].*|{-[\\w\\W]*?-})/m,\n\t\tlookbehind: true\n\t},\n\t'char': /'([^\\\\']|\\\\([abfnrtv\\\\\"'&]|\\^[A-Z@[\\]\\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\\d+|o[0-7]+|x[0-9a-fA-F]+))'/,\n\t'string': /\"([^\\\\\"]|\\\\([abfnrtv\\\\\"'&]|\\^[A-Z@[\\]\\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\\\\s+\\\\)*\"/,\n\t'keyword' : /\\b(case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\\b/,\n\t'import_statement' : {\n\t\t// The imported or hidden names are not included in this import\n\t\t// statement. This is because we want to highlight those exactly like\n\t\t// we do for the names in the program.\n\t\tpattern: /(\\r?\\n|\\r|^)\\s*import\\s+(qualified\\s+)?([A-Z][_a-zA-Z0-9']*)(\\.[A-Z][_a-zA-Z0-9']*)*(\\s+as\\s+([A-Z][_a-zA-Z0-9']*)(\\.[A-Z][_a-zA-Z0-9']*)*)?(\\s+hiding\\b)?/m,\n\t\tinside: {\n\t\t\t'keyword': /\\b(import|qualified|as|hiding)\\b/\n\t\t}\n\t},\n\t// These are builtin variables only. Constructors are highlighted later as a constant.\n\t'builtin': /\\b(abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\\b/,\n\t// decimal integers and floating point numbers | octal integers | hexadecimal integers\n\t'number' : /\\b(\\d+(\\.\\d+)?(e[+-]?\\d+)?|0o[0-7]+|0x[0-9a-f]+)\\b/i,\n\t// Most of this is needed because of the meaning of a single '.'.\n\t// If it stands alone freely, it is the function composition.\n\t// It may also be a separator between a module name and an identifier => no\n\t// operator. If it comes together with other special characters it is an\n\t// operator too.\n\t'operator' : /\\s\\.\\s|[-!#$%*+=?&@|~.:<>^\\\\\\/]*\\.[-!#$%*+=?&@|~.:<>^\\\\\\/]+|[-!#$%*+=?&@|~.:<>^\\\\\\/]+\\.[-!#$%*+=?&@|~.:<>^\\\\\\/]*|[-!#$%*+=?&@|~:<>^\\\\\\/]+|`([A-Z][_a-zA-Z0-9']*\\.)*[_a-z][_a-zA-Z0-9']*`/,\n\t// In Haskell, nearly everything is a variable, do not highlight these.\n\t'hvariable': /\\b([A-Z][_a-zA-Z0-9']*\\.)*[_a-z][_a-zA-Z0-9']*\\b/,\n\t'constant': /\\b([A-Z][_a-zA-Z0-9']*\\.)*[A-Z][_a-zA-Z0-9']*\\b/,\n\t'punctuation' : /[{}[\\];(),.:]/\n};\n\n/* */ \n\"format cjs\";\nPrism.languages.java = Prism.languages.extend('clike', {\n\t'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/,\n\t'number': /\\b0b[01]+\\b|\\b0x[\\da-f]*\\.?[\\da-fp\\-]+\\b|\\b\\d*\\.?\\d+(?:e[+-]?\\d+)?[df]?\\b/i,\n\t'operator': {\n\t\tpattern: /(^|[^.])(?:\\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\\|[|=]?|\\*=?|\\/=?|%=?|\\^=?|[?:~])/m,\n\t\tlookbehind: true\n\t}\n});\n/* */ \n\"format cjs\";\nPrism.languages.lua = {\n\t'comment': /^#!.+|--(?:\\[(=*)\\[[\\s\\S]*?\\]\\1\\]|.*)/m,\n\t// \\z may be used to skip the following space\n\t'string': /([\"'])(?:(?!\\1)[^\\\\\\r\\n]|\\\\z(?:\\r\\n|\\s)|\\\\(?:\\r\\n|[\\s\\S]))*\\1|\\[(=*)\\[[\\s\\S]*?\\]\\2\\]/,\n\t'number': /\\b0x[a-f\\d]+\\.?[a-f\\d]*(?:p[+-]?\\d+)?\\b|\\b\\d+(?:\\.\\B|\\.?\\d*(?:e[+-]?\\d+)?\\b)|\\B\\.\\d+(?:e[+-]?\\d+)?\\b/i,\n\t'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/,\n\t'function': /(?!\\d)\\w+(?=\\s*(?:[({]))/,\n\t'operator': [\n\t\t/[-+*%^&|#]|\\/\\/?|<[<=]?|>[>=]?|[=~]=?/,\n\t\t{\n\t\t\t// Match \"..\" but don't break \"...\"\n\t\t\tpattern: /(^|[^.])\\.\\.(?!\\.)/,\n\t\t\tlookbehind: true\n\t\t}\n\t],\n\t'punctuation': /[\\[\\](){},;]|\\.+|:+/\n};\n/* */ \n\"format cjs\";\nPrism.languages.matlab = {\n\t// We put string before comment, because of printf() patterns that contain \"%\"\n\t'string': /\\B'(?:''|[^'\\n])*'/,\n\t'comment': [\n\t\t/%\\{[\\s\\S]*?\\}%/,\n\t\t/%.+/\n\t],\n\t// FIXME We could handle imaginary numbers as a whole\n\t'number': /\\b-?(?:\\d*\\.?\\d+(?:[eE][+-]?\\d+)?(?:[ij])?|[ij])\\b/,\n\t'keyword': /\\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\\b/,\n\t'function': /(?!\\d)\\w+(?=\\s*\\()/,\n\t'operator': /\\.?[*^\\/\\\\']|[+\\-:@]|[<>=~]=?|&&?|\\|\\|?/,\n\t'punctuation': /\\.{3}|[.,;\\[\\](){}!]/\n};\n/* */ \n\"format cjs\";\nPrism.languages.perl = {\n\t'comment': [\n\t\t{\n\t\t\t// POD\n\t\t\tpattern: /(^\\s*)=\\w+[\\s\\S]*?=cut.*/m,\n\t\t\tlookbehind: true\n\t\t},\n\t\t{\n\t\t\tpattern: /(^|[^\\\\$])#.*/,\n\t\t\tlookbehind: true\n\t\t}\n\t],\n\t// TODO Could be nice to handle Heredoc too.\n\t'string': [\n\t\t// q/.../\n\t\t/\\b(?:q|qq|qx|qw)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,\n\t\n\t\t// q a...a\n\t\t/\\b(?:q|qq|qx|qw)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,\n\t\n\t\t// q(...)\n\t\t/\\b(?:q|qq|qx|qw)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,\n\t\n\t\t// q{...}\n\t\t/\\b(?:q|qq|qx|qw)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}/,\n\t\n\t\t// q[...]\n\t\t/\\b(?:q|qq|qx|qw)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]/,\n\t\n\t\t// q<...>\n\t\t/\\b(?:q|qq|qx|qw)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,\n\n\t\t// \"...\", `...`\n\t\t/(\"|`)(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,\n\n\t\t// '...'\n\t\t// FIXME Multi-line single-quoted strings are not supported as they would break variables containing '\n\t\t/'(?:[^'\\\\\\r\\n]|\\\\.)*'/\n\t],\n\t'regex': [\n\t\t// m/.../\n\t\t/\\b(?:m|qr)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1[msixpodualngc]*/,\n\t\n\t\t// m a...a\n\t\t/\\b(?:m|qr)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\.)*?\\1[msixpodualngc]*/,\n\t\n\t\t// m(...)\n\t\t/\\b(?:m|qr)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngc]*/,\n\t\n\t\t// m{...}\n\t\t/\\b(?:m|qr)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngc]*/,\n\t\n\t\t// m[...]\n\t\t/\\b(?:m|qr)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngc]*/,\n\t\n\t\t// m<...>\n\t\t/\\b(?:m|qr)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngc]*/,\n\n\t\t// The lookbehinds prevent -s from breaking\n\t\t// FIXME We don't handle change of separator like s(...)[...]\n\t\t// s/.../.../\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\2(?:[^\\\\]|\\\\[\\s\\S])*?\\2[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s a...a...a\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\[\\s\\S])*?\\2(?:[^\\\\]|\\\\[\\s\\S])*?\\2[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s(...)(...)\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s{...}{...}\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s[...][...]\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s<...><...>\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// /.../\n\t\t// The look-ahead tries to prevent two divisions on\n\t\t// the same line from being highlighted as regex.\n\t\t// This does not support multi-line regex.\n\t\t/\\/(?:[^\\/\\\\\\r\\n]|\\\\.)*\\/[msixpodualngc]*(?=\\s*(?:$|[\\r\\n,.;})&|\\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\\b))/\n\t],\n\n\t// FIXME Not sure about the handling of ::, ', and #\n\t'variable': [\n\t\t// ${^POSTMATCH}\n\t\t/[&*$@%]\\{\\^[A-Z]+\\}/,\n\t\t// $^V\n\t\t/[&*$@%]\\^[A-Z_]/,\n\t\t// ${...}\n\t\t/[&*$@%]#?(?=\\{)/,\n\t\t// $foo\n\t\t/[&*$@%]#?((::)*'?(?!\\d)[\\w$]+)+(::)*/i,\n\t\t// $1\n\t\t/[&*$@%]\\d+/,\n\t\t// $_, @_, %!\n\t\t// The negative lookahead prevents from breaking the %= operator\n\t\t/(?!%=)[$@%][!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~]/\n\t],\n\t'filehandle': {\n\t\t// <>, <FOO>, _\n\t\tpattern: /<(?![<=])\\S*>|\\b_\\b/,\n\t\talias: 'symbol'\n\t},\n\t'vstring': {\n\t\t// v1.2, 1.2.3\n\t\tpattern: /v\\d+(\\.\\d+)*|\\d+(\\.\\d+){2,}/,\n\t\talias: 'string'\n\t},\n\t'function': {\n\t\tpattern: /sub [a-z0-9_]+/i,\n\t\tinside: {\n\t\t\tkeyword: /sub/\n\t\t}\n\t},\n\t'keyword': /\\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|say|state|sub|switch|undef|unless|until|use|when|while)\\b/,\n\t'number': /\\b-?(0x[\\dA-Fa-f](_?[\\dA-Fa-f])*|0b[01](_?[01])*|(\\d(_?\\d)*)?\\.?\\d(_?\\d)*([Ee][+-]?\\d+)?)\\b/,\n\t'operator': /-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b|\\+[+=]?|-[-=>]?|\\*\\*?=?|\\/\\/?=?|=[=~>]?|~[~=]?|\\|\\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\\.(?:=|\\.\\.?)?|[\\\\?]|\\bx(?:=|\\b)|\\b(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\\b/,\n\t'punctuation': /[{}[\\];(),:]/\n};\n\n/* */ \n\"format cjs\";\nPrism.languages.python= {\n\t'triple-quoted-string': {\n\t\tpattern: /\"\"\"[\\s\\S]+?\"\"\"|'''[\\s\\S]+?'''/,\n\t\talias: 'string'\n\t},\n\t'comment': {\n\t\tpattern: /(^|[^\\\\])#.*/,\n\t\tlookbehind: true\n\t},\n\t'string': /(\"|')(?:\\\\?.)*?\\1/,\n\t'function' : {\n\t\tpattern: /((?:^|\\s)def[ \\t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\\()/g,\n\t\tlookbehind: true\n\t},\n\t'class-name': {\n\t\tpattern: /(\\bclass\\s+)[a-z0-9_]+/i,\n\t\tlookbehind: true\n\t},\n\t'keyword' : /\\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\\b/,\n\t'boolean' : /\\b(?:True|False)\\b/,\n\t'number' : /\\b-?(?:0[bo])?(?:(?:\\d|0x[\\da-f])[\\da-f]*\\.?\\d*|\\.\\d+)(?:e[+-]?\\d+)?j?\\b/i,\n\t'operator' : /[-+%=]=?|!=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]|\\b(?:or|and|not)\\b/,\n\t'punctuation' : /[{}[\\];(),.:]/\n};\n\n/* */ \n\"format cjs\";\nPrism.languages.r = {\n\t'comment': /#.*/,\n\t'string': /(['\"])(?:\\\\?.)*?\\1/,\n\t'percent-operator': {\n\t\t// Includes user-defined operators\n\t\t// and %%, %*%, %/%, %in%, %o%, %x%\n\t\tpattern: /%[^%\\s]*%/,\n\t\talias: 'operator'\n\t},\n\t'boolean': /\\b(?:TRUE|FALSE)\\b/,\n\t'ellipsis': /\\.\\.(?:\\.|\\d+)/,\n\t'number': [\n\t\t/\\b(?:NaN|Inf)\\b/,\n\t\t/\\b(?:0x[\\dA-Fa-f]+(?:\\.\\d*)?|\\d*\\.?\\d+)(?:[EePp][+-]?\\d+)?[iL]?\\b/\n\t],\n\t'keyword': /\\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\\b/,\n\t'operator': /->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\\|\\|?|[+*\\/^$@~]/,\n\t'punctuation': /[(){}\\[\\],;]/\n};\n/* */ \n\"format cjs\";\n/**\n * Original by Samuel Flores\n *\n * Adds the following new token classes:\n * \t\tconstant, builtin, variable, symbol, regex\n */\n(function(Prism) {\n\tPrism.languages.ruby = Prism.languages.extend('clike', {\n\t\t'comment': /#(?!\\{[^\\r\\n]*?\\}).*/,\n\t\t'keyword': /\\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\\b/\n\t});\n\n\tvar interpolation = {\n\t\tpattern: /#\\{[^}]+\\}/,\n\t\tinside: {\n\t\t\t'delimiter': {\n\t\t\t\tpattern: /^#\\{|\\}$/,\n\t\t\t\talias: 'tag'\n\t\t\t},\n\t\t\trest: Prism.util.clone(Prism.languages.ruby)\n\t\t}\n\t};\n\n\tPrism.languages.insertBefore('ruby', 'keyword', {\n\t\t'regex': [\n\t\t\t{\n\t\t\t\tpattern: /%r([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1[gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /%r\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\t// Here we need to specifically allow interpolation\n\t\t\t\tpattern: /%r\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}[gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /%r\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\][gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /%r<(?:[^<>\\\\]|\\\\[\\s\\S])*>[gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /(^|[^/])\\/(?!\\/)(\\[.+?]|\\\\.|[^/\\r\\n])+\\/[gim]{0,3}(?=\\s*($|[\\r\\n,.;})]))/,\n\t\t\t\tlookbehind: true\n\t\t\t}\n\t\t],\n\t\t'variable': /[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\\b)/,\n\t\t'symbol': /:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\\b)/\n\t});\n\n\tPrism.languages.insertBefore('ruby', 'number', {\n\t\t'builtin': /\\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\\b/,\n\t\t'constant': /\\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\\b)/\n\t});\n\n\tPrism.languages.ruby.string = [\n\t\t{\n\t\t\tpattern: /%[qQiIwWxs]?([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tpattern: /%[qQiIwWxs]?\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t// Here we need to specifically allow interpolation\n\t\t\tpattern: /%[qQiIwWxs]?\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tpattern: /%[qQiIwWxs]?\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\]/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tpattern: /%[qQiIwWxs]?<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tpattern: /(\"|')(#\\{[^}]+\\}|\\\\(?:\\r?\\n|\\r)|\\\\?.)*?\\1/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t}\n\t];\n}(Prism));\n/* */ \n\"format cjs\";\n(function(Prism) {\n\tvar insideString = {\n\t\tvariable: [\n\t\t\t// Arithmetic Environment\n\t\t\t{\n\t\t\t\tpattern: /\\$?\\(\\([\\w\\W]+?\\)\\)/,\n\t\t\t\tinside: {\n\t\t\t\t\t// If there is a $ sign at the beginning highlight $(( and )) as variable\n\t\t\t\t\tvariable: [{\n\t\t\t\t\t\t\tpattern: /(^\\$\\(\\([\\w\\W]+)\\)\\)/,\n\t\t\t\t\t\t\tlookbehind: true\n\t\t\t\t\t\t},\n\t\t\t\t\t\t/^\\$\\(\\(/,\n\t\t\t\t\t],\n\t\t\t\t\tnumber: /\\b-?(?:0x[\\dA-Fa-f]+|\\d*\\.?\\d+(?:[Ee]-?\\d+)?)\\b/,\n\t\t\t\t\t// Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic\n\t\t\t\t\toperator: /--?|-=|\\+\\+?|\\+=|!=?|~|\\*\\*?|\\*=|\\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\\^=?|\\|\\|?|\\|=|\\?|:/,\n\t\t\t\t\t// If there is no $ sign at the beginning highlight (( and )) as punctuation\n\t\t\t\t\tpunctuation: /\\(\\(?|\\)\\)?|,|;/\n\t\t\t\t}\n\t\t\t},\n\t\t\t// Command Substitution\n\t\t\t{\n\t\t\t\tpattern: /\\$\\([^)]+\\)|`[^`]+`/,\n\t\t\t\tinside: {\n\t\t\t\t\tvariable: /^\\$\\(|^`|\\)$|`$/\n\t\t\t\t}\n\t\t\t},\n\t\t\t/\\$(?:[a-z0-9_#\\?\\*!@]+|\\{[^}]+\\})/i\n\t\t],\n\t};\n\n\tPrism.languages.bash = {\n\t\t'shebang': {\n\t\t\tpattern: /^#!\\s*\\/bin\\/bash|^#!\\s*\\/bin\\/sh/,\n\t\t\talias: 'important'\n\t\t},\n\t\t'comment': {\n\t\t\tpattern: /(^|[^\"{\\\\])#.*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t'string': [\n\t\t\t//Support for Here-Documents https://en.wikipedia.org/wiki/Here_document\n\t\t\t{\n\t\t\t\tpattern: /((?:^|[^<])<<\\s*)(?:\"|')?(\\w+?)(?:\"|')?\\s*\\r?\\n(?:[\\s\\S])*?\\r?\\n\\2/g,\n\t\t\t\tlookbehind: true,\n\t\t\t\tinside: insideString\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /(\"|')(?:\\\\?[\\s\\S])*?\\1/g,\n\t\t\t\tinside: insideString\n\t\t\t}\n\t\t],\n\t\t'variable': insideString.variable,\n\t\t// Originally based on http://ss64.com/bash/\n\t\t'function': {\n\t\t\tpattern: /(^|\\s|;|\\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\\s|;|\\||&)/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t'keyword': {\n\t\t\tpattern: /(^|\\s|;|\\||&)(?:let|:|\\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\\s|;|\\||&)/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t'boolean': {\n\t\t\tpattern: /(^|\\s|;|\\||&)(?:true|false)(?=$|\\s|;|\\||&)/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t'operator': /&&?|\\|\\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,\n\t\t'punctuation': /\\$?\\(\\(?|\\)\\)?|\\.\\.|[{}[\\];]/\n\t};\n\n\tvar inside = insideString.variable[1].inside;\n\tinside['function'] = Prism.languages.bash['function'];\n\tinside.keyword = Prism.languages.bash.keyword;\n\tinside.boolean = Prism.languages.bash.boolean;\n\tinside.operator = Prism.languages.bash.operator;\n\tinside.punctuation = Prism.languages.bash.punctuation;\n})(Prism);\n/* */ \n\"format cjs\";\n// issues: nested multiline comments\nPrism.languages.swift = Prism.languages.extend('clike', {\n\t'string': {\n\t\tpattern: /(\"|')(\\\\(?:\\((?:[^()]|\\([^)]+\\))+\\)|\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t\tinside: {\n\t\t\t'interpolation': {\n\t\t\t\tpattern: /\\\\\\((?:[^()]|\\([^)]+\\))+\\)/,\n\t\t\t\tinside: {\n\t\t\t\t\tdelimiter: {\n\t\t\t\t\t\tpattern: /^\\\\\\(|\\)$/,\n\t\t\t\t\t\talias: 'variable'\n\t\t\t\t\t}\n\t\t\t\t\t// See rest below\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t'keyword': /\\b(as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|Protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\\b/,\n\t'number': /\\b([\\d_]+(\\.[\\de_]+)?|0x[a-f0-9_]+(\\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b/i,\n\t'constant': /\\b(nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\\b/,\n\t'atrule': /@\\b(IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\\b/,\n\t'builtin': /\\b([A-Z]\\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\\b/\n});\nPrism.languages.swift['string'].inside['interpolation'].inside.rest = Prism.util.clone(Prism.languages.swift);\n/* */ \n\"format cjs\";\nPrism.languages.objectivec = Prism.languages.extend('c', {\n\t'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/,\n\t'string': /(\"|')(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|@\"(\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,\n\t'operator': /-[->]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|\\|?|[~^%?*\\/@]/\n});\n\n/* */ \n\"format cjs\";\nPrism.languages.scala = Prism.languages.extend('java', {\n\t'keyword': /<-|=>|\\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\\b/,\n\t'string': /\"\"\"[\\W\\w]*?\"\"\"|\"(?:[^\"\\\\\\r\\n]|\\\\.)*\"|'(?:[^\\\\\\r\\n']|\\\\.[^\\\\']*)'/,\n\t'builtin': /\\b(?:String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\\b/,\n\t'number': /\\b(?:0x[\\da-f]*\\.?[\\da-f]+|\\d*\\.?\\d+e?\\d*[dfl]?)\\b/i,\n\t'symbol': /'[^\\d\\s\\\\]\\w*/\n});\ndelete Prism.languages.scala['class-name'];\ndelete Prism.languages.scala['function'];\n","/* */ \n\"format cjs\";\n/**\n * marked - a markdown parser\n * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed)\n * https://github.com/chjj/marked\n */\n\n;(function() {\n\n/**\n * Block-Level Grammar\n */\n\nvar block = {\n newline: /^\\n+/,\n code: /^( {4}[^\\n]+\\n*)+/,\n fences: noop,\n hr: /^( *[-*_]){3,} *(?:\\n+|$)/,\n heading: /^ *(#{1,6}) *([^\\n]+?) *#* *(?:\\n+|$)/,\n nptable: noop,\n lheading: /^([^\\n]+)\\n *(=|-){2,} *(?:\\n+|$)/,\n blockquote: /^( *>[^\\n]+(\\n(?!def)[^\\n]+)*\\n*)+/,\n list: /^( *)(bull) [\\s\\S]+?(?:hr|def|\\n{2,}(?! )(?!\\1bull )\\n*|\\s*$)/,\n html: /^ *(?:comment *(?:\\n|\\s*$)|closed *(?:\\n{2,}|\\s*$)|closing *(?:\\n{2,}|\\s*$))/,\n def: /^ *\\[([^\\]]+)\\]: *<?([^\\s>]+)>?(?: +[\"(]([^\\n]+)[\")])? *(?:\\n+|$)/,\n table: noop,\n paragraph: /^((?:[^\\n]+\\n?(?!hr|heading|lheading|blockquote|tag|def))+)\\n*/,\n text: /^[^\\n]+/\n};\n\nblock.bullet = /(?:[*+-]|\\d+\\.)/;\nblock.item = /^( *)(bull) [^\\n]*(?:\\n(?!\\1bull )[^\\n]*)*/;\nblock.item = replace(block.item, 'gm')\n (/bull/g, block.bullet)\n ();\n\nblock.list = replace(block.list)\n (/bull/g, block.bullet)\n ('hr', '\\\\n+(?=\\\\1?(?:[-*_] *){3,}(?:\\\\n+|$))')\n ('def', '\\\\n+(?=' + block.def.source + ')')\n ();\n\nblock.blockquote = replace(block.blockquote)\n ('def', block.def)\n ();\n\nblock._tag = '(?!(?:'\n + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'\n + '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'\n + '|span|br|wbr|ins|del|img)\\\\b)\\\\w+(?!:/|[^\\\\w\\\\s@]*@)\\\\b';\n\nblock.html = replace(block.html)\n ('comment', /<!--[\\s\\S]*?-->/)\n ('closed', /<(tag)[\\s\\S]+?<\\/\\1>/)\n ('closing', /<tag(?:\"[^\"]*\"|'[^']*'|[^'\">])*?>/)\n (/tag/g, block._tag)\n ();\n\nblock.paragraph = replace(block.paragraph)\n ('hr', block.hr)\n ('heading', block.heading)\n ('lheading', block.lheading)\n ('blockquote', block.blockquote)\n ('tag', '<' + block._tag)\n ('def', block.def)\n ();\n\n/**\n * Normal Block Grammar\n */\n\nblock.normal = merge({}, block);\n\n/**\n * GFM Block Grammar\n */\n\nblock.gfm = merge({}, block.normal, {\n fences: /^ *(`{3,}|~{3,})[ \\.]*(\\S+)? *\\n([\\s\\S]*?)\\s*\\1 *(?:\\n+|$)/,\n paragraph: /^/,\n heading: /^ *(#{1,6}) +([^\\n]+?) *#* *(?:\\n+|$)/\n});\n\nblock.gfm.paragraph = replace(block.paragraph)\n ('(?!', '(?!'\n + block.gfm.fences.source.replace('\\\\1', '\\\\2') + '|'\n + block.list.source.replace('\\\\1', '\\\\3') + '|')\n ();\n\n/**\n * GFM + Tables Block Grammar\n */\n\nblock.tables = merge({}, block.gfm, {\n nptable: /^ *(\\S.*\\|.*)\\n *([-:]+ *\\|[-| :]*)\\n((?:.*\\|.*(?:\\n|$))*)\\n*/,\n table: /^ *\\|(.+)\\n *\\|( *[-:]+[-| :]*)\\n((?: *\\|.*(?:\\n|$))*)\\n*/\n});\n\n/**\n * Block Lexer\n */\n\nfunction Lexer(options) {\n this.tokens = [];\n this.tokens.links = {};\n this.options = options || marked.defaults;\n this.rules = block.normal;\n\n if (this.options.gfm) {\n if (this.options.tables) {\n this.rules = block.tables;\n } else {\n this.rules = block.gfm;\n }\n }\n}\n\n/**\n * Expose Block Rules\n */\n\nLexer.rules = block;\n\n/**\n * Static Lex Method\n */\n\nLexer.lex = function(src, options) {\n var lexer = new Lexer(options);\n return lexer.lex(src);\n};\n\n/**\n * Preprocessing\n */\n\nLexer.prototype.lex = function(src) {\n src = src\n .replace(/\\r\\n|\\r/g, '\\n')\n .replace(/\\t/g, ' ')\n .replace(/\\u00a0/g, ' ')\n .replace(/\\u2424/g, '\\n');\n\n return this.token(src, true);\n};\n\n/**\n * Lexing\n */\n\nLexer.prototype.token = function(src, top, bq) {\n var src = src.replace(/^ +$/gm, '')\n , next\n , loose\n , cap\n , bull\n , b\n , item\n , space\n , i\n , l;\n\n while (src) {\n // newline\n if (cap = this.rules.newline.exec(src)) {\n src = src.substring(cap[0].length);\n if (cap[0].length > 1) {\n this.tokens.push({\n type: 'space'\n });\n }\n }\n\n // code\n if (cap = this.rules.code.exec(src)) {\n src = src.substring(cap[0].length);\n cap = cap[0].replace(/^ {4}/gm, '');\n this.tokens.push({\n type: 'code',\n text: !this.options.pedantic\n ? cap.replace(/\\n+$/, '')\n : cap\n });\n continue;\n }\n\n // fences (gfm)\n if (cap = this.rules.fences.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'code',\n lang: cap[2],\n text: cap[3] || ''\n });\n continue;\n }\n\n // heading\n if (cap = this.rules.heading.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'heading',\n depth: cap[1].length,\n text: cap[2]\n });\n continue;\n }\n\n // table no leading pipe (gfm)\n if (top && (cap = this.rules.nptable.exec(src))) {\n src = src.substring(cap[0].length);\n\n item = {\n type: 'table',\n header: cap[1].replace(/^ *| *\\| *$/g, '').split(/ *\\| */),\n align: cap[2].replace(/^ *|\\| *$/g, '').split(/ *\\| */),\n cells: cap[3].replace(/\\n$/, '').split('\\n')\n };\n\n for (i = 0; i < item.align.length; i++) {\n if (/^ *-+: *$/.test(item.align[i])) {\n item.align[i] = 'right';\n } else if (/^ *:-+: *$/.test(item.align[i])) {\n item.align[i] = 'center';\n } else if (/^ *:-+ *$/.test(item.align[i])) {\n item.align[i] = 'left';\n } else {\n item.align[i] = null;\n }\n }\n\n for (i = 0; i < item.cells.length; i++) {\n item.cells[i] = item.cells[i].split(/ *\\| */);\n }\n\n this.tokens.push(item);\n\n continue;\n }\n\n // lheading\n if (cap = this.rules.lheading.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'heading',\n depth: cap[2] === '=' ? 1 : 2,\n text: cap[1]\n });\n continue;\n }\n\n // hr\n if (cap = this.rules.hr.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'hr'\n });\n continue;\n }\n\n // blockquote\n if (cap = this.rules.blockquote.exec(src)) {\n src = src.substring(cap[0].length);\n\n this.tokens.push({\n type: 'blockquote_start'\n });\n\n cap = cap[0].replace(/^ *> ?/gm, '');\n\n // Pass `top` to keep the current\n // \"toplevel\" state. This is exactly\n // how markdown.pl works.\n this.token(cap, top, true);\n\n this.tokens.push({\n type: 'blockquote_end'\n });\n\n continue;\n }\n\n // list\n if (cap = this.rules.list.exec(src)) {\n src = src.substring(cap[0].length);\n bull = cap[2];\n\n this.tokens.push({\n type: 'list_start',\n ordered: bull.length > 1\n });\n\n // Get each top-level item.\n cap = cap[0].match(this.rules.item);\n\n next = false;\n l = cap.length;\n i = 0;\n\n for (; i < l; i++) {\n item = cap[i];\n\n // Remove the list item's bullet\n // so it is seen as the next token.\n space = item.length;\n item = item.replace(/^ *([*+-]|\\d+\\.) +/, '');\n\n // Outdent whatever the\n // list item contains. Hacky.\n if (~item.indexOf('\\n ')) {\n space -= item.length;\n item = !this.options.pedantic\n ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '')\n : item.replace(/^ {1,4}/gm, '');\n }\n\n // Determine whether the next list item belongs here.\n // Backpedal if it does not belong in this list.\n if (this.options.smartLists && i !== l - 1) {\n b = block.bullet.exec(cap[i + 1])[0];\n if (bull !== b && !(bull.length > 1 && b.length > 1)) {\n src = cap.slice(i + 1).join('\\n') + src;\n i = l - 1;\n }\n }\n\n // Determine whether item is loose or not.\n // Use: /(^|\\n)(?! )[^\\n]+\\n\\n(?!\\s*$)/\n // for discount behavior.\n loose = next || /\\n\\n(?!\\s*$)/.test(item);\n if (i !== l - 1) {\n next = item.charAt(item.length - 1) === '\\n';\n if (!loose) loose = next;\n }\n\n this.tokens.push({\n type: loose\n ? 'loose_item_start'\n : 'list_item_start'\n });\n\n // Recurse.\n this.token(item, false, bq);\n\n this.tokens.push({\n type: 'list_item_end'\n });\n }\n\n this.tokens.push({\n type: 'list_end'\n });\n\n continue;\n }\n\n // html\n if (cap = this.rules.html.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: this.options.sanitize\n ? 'paragraph'\n : 'html',\n pre: !this.options.sanitizer\n && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),\n text: cap[0]\n });\n continue;\n }\n\n // def\n if ((!bq && top) && (cap = this.rules.def.exec(src))) {\n src = src.substring(cap[0].length);\n this.tokens.links[cap[1].toLowerCase()] = {\n href: cap[2],\n title: cap[3]\n };\n continue;\n }\n\n // table (gfm)\n if (top && (cap = this.rules.table.exec(src))) {\n src = src.substring(cap[0].length);\n\n item = {\n type: 'table',\n header: cap[1].replace(/^ *| *\\| *$/g, '').split(/ *\\| */),\n align: cap[2].replace(/^ *|\\| *$/g, '').split(/ *\\| */),\n cells: cap[3].replace(/(?: *\\| *)?\\n$/, '').split('\\n')\n };\n\n for (i = 0; i < item.align.length; i++) {\n if (/^ *-+: *$/.test(item.align[i])) {\n item.align[i] = 'right';\n } else if (/^ *:-+: *$/.test(item.align[i])) {\n item.align[i] = 'center';\n } else if (/^ *:-+ *$/.test(item.align[i])) {\n item.align[i] = 'left';\n } else {\n item.align[i] = null;\n }\n }\n\n for (i = 0; i < item.cells.length; i++) {\n item.cells[i] = item.cells[i]\n .replace(/^ *\\| *| *\\| *$/g, '')\n .split(/ *\\| */);\n }\n\n this.tokens.push(item);\n\n continue;\n }\n\n // top-level paragraph\n if (top && (cap = this.rules.paragraph.exec(src))) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'paragraph',\n text: cap[1].charAt(cap[1].length - 1) === '\\n'\n ? cap[1].slice(0, -1)\n : cap[1]\n });\n continue;\n }\n\n // text\n if (cap = this.rules.text.exec(src)) {\n // Top-level should never reach here.\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'text',\n text: cap[0]\n });\n continue;\n }\n\n if (src) {\n throw new\n Error('Infinite loop on byte: ' + src.charCodeAt(0));\n }\n }\n\n return this.tokens;\n};\n\n/**\n * Inline-Level Grammar\n */\n\nvar inline = {\n escape: /^\\\\([\\\\`*{}\\[\\]()#+\\-.!_>])/,\n autolink: /^<([^ >]+(@|:\\/)[^ >]+)>/,\n url: noop,\n tag: /^<!--[\\s\\S]*?-->|^<\\/?\\w+(?:\"[^\"]*\"|'[^']*'|[^'\">])*?>/,\n link: /^!?\\[(inside)\\]\\(href\\)/,\n reflink: /^!?\\[(inside)\\]\\s*\\[([^\\]]*)\\]/,\n nolink: /^!?\\[((?:\\[[^\\]]*\\]|[^\\[\\]])*)\\]/,\n strong: /^__([\\s\\S]+?)__(?!_)|^\\*\\*([\\s\\S]+?)\\*\\*(?!\\*)/,\n em: /^\\b_((?:[^_]|__)+?)_\\b|^\\*((?:\\*\\*|[\\s\\S])+?)\\*(?!\\*)/,\n code: /^(`+)\\s*([\\s\\S]*?[^`])\\s*\\1(?!`)/,\n br: /^ {2,}\\n(?!\\s*$)/,\n del: noop,\n text: /^[\\s\\S]+?(?=[\\\\<!\\[_*`]| {2,}\\n|$)/\n};\n\ninline._inside = /(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*/;\ninline._href = /\\s*<?([\\s\\S]*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*/;\n\ninline.link = replace(inline.link)\n ('inside', inline._inside)\n ('href', inline._href)\n ();\n\ninline.reflink = replace(inline.reflink)\n ('inside', inline._inside)\n ();\n\n/**\n * Normal Inline Grammar\n */\n\ninline.normal = merge({}, inline);\n\n/**\n * Pedantic Inline Grammar\n */\n\ninline.pedantic = merge({}, inline.normal, {\n strong: /^__(?=\\S)([\\s\\S]*?\\S)__(?!_)|^\\*\\*(?=\\S)([\\s\\S]*?\\S)\\*\\*(?!\\*)/,\n em: /^_(?=\\S)([\\s\\S]*?\\S)_(?!_)|^\\*(?=\\S)([\\s\\S]*?\\S)\\*(?!\\*)/\n});\n\n/**\n * GFM Inline Grammar\n */\n\ninline.gfm = merge({}, inline.normal, {\n escape: replace(inline.escape)('])', '~|])')(),\n url: /^(https?:\\/\\/[^\\s<]+[^<.,:;\"')\\]\\s])/,\n del: /^~~(?=\\S)([\\s\\S]*?\\S)~~/,\n text: replace(inline.text)\n (']|', '~]|')\n ('|', '|https?://|')\n ()\n});\n\n/**\n * GFM + Line Breaks Inline Grammar\n */\n\ninline.breaks = merge({}, inline.gfm, {\n br: replace(inline.br)('{2,}', '*')(),\n text: replace(inline.gfm.text)('{2,}', '*')()\n});\n\n/**\n * Inline Lexer & Compiler\n */\n\nfunction InlineLexer(links, options) {\n this.options = options || marked.defaults;\n this.links = links;\n this.rules = inline.normal;\n this.renderer = this.options.renderer || new Renderer;\n this.renderer.options = this.options;\n\n if (!this.links) {\n throw new\n Error('Tokens array requires a `links` property.');\n }\n\n if (this.options.gfm) {\n if (this.options.breaks) {\n this.rules = inline.breaks;\n } else {\n this.rules = inline.gfm;\n }\n } else if (this.options.pedantic) {\n this.rules = inline.pedantic;\n }\n}\n\n/**\n * Expose Inline Rules\n */\n\nInlineLexer.rules = inline;\n\n/**\n * Static Lexing/Compiling Method\n */\n\nInlineLexer.output = function(src, links, options) {\n var inline = new InlineLexer(links, options);\n return inline.output(src);\n};\n\n/**\n * Lexing/Compiling\n */\n\nInlineLexer.prototype.output = function(src) {\n var out = ''\n , link\n , text\n , href\n , cap;\n\n while (src) {\n // escape\n if (cap = this.rules.escape.exec(src)) {\n src = src.substring(cap[0].length);\n out += cap[1];\n continue;\n }\n\n // autolink\n if (cap = this.rules.autolink.exec(src)) {\n src = src.substring(cap[0].length);\n if (cap[2] === '@') {\n text = cap[1].charAt(6) === ':'\n ? this.mangle(cap[1].substring(7))\n : this.mangle(cap[1]);\n href = this.mangle('mailto:') + text;\n } else {\n text = escape(cap[1]);\n href = text;\n }\n out += this.renderer.link(href, null, text);\n continue;\n }\n\n // url (gfm)\n if (!this.inLink && (cap = this.rules.url.exec(src))) {\n src = src.substring(cap[0].length);\n text = escape(cap[1]);\n href = text;\n out += this.renderer.link(href, null, text);\n continue;\n }\n\n // tag\n if (cap = this.rules.tag.exec(src)) {\n if (!this.inLink && /^<a /i.test(cap[0])) {\n this.inLink = true;\n } else if (this.inLink && /^<\\/a>/i.test(cap[0])) {\n this.inLink = false;\n }\n src = src.substring(cap[0].length);\n out += this.options.sanitize\n ? this.options.sanitizer\n ? this.options.sanitizer(cap[0])\n : escape(cap[0])\n : cap[0]\n continue;\n }\n\n // link\n if (cap = this.rules.link.exec(src)) {\n src = src.substring(cap[0].length);\n this.inLink = true;\n out += this.outputLink(cap, {\n href: cap[2],\n title: cap[3]\n });\n this.inLink = false;\n continue;\n }\n\n // reflink, nolink\n if ((cap = this.rules.reflink.exec(src))\n || (cap = this.rules.nolink.exec(src))) {\n src = src.substring(cap[0].length);\n link = (cap[2] || cap[1]).replace(/\\s+/g, ' ');\n link = this.links[link.toLowerCase()];\n if (!link || !link.href) {\n out += cap[0].charAt(0);\n src = cap[0].substring(1) + src;\n continue;\n }\n this.inLink = true;\n out += this.outputLink(cap, link);\n this.inLink = false;\n continue;\n }\n\n // strong\n if (cap = this.rules.strong.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.strong(this.output(cap[2] || cap[1]));\n continue;\n }\n\n // em\n if (cap = this.rules.em.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.em(this.output(cap[2] || cap[1]));\n continue;\n }\n\n // code\n if (cap = this.rules.code.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.codespan(escape(cap[2], true));\n continue;\n }\n\n // br\n if (cap = this.rules.br.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.br();\n continue;\n }\n\n // del (gfm)\n if (cap = this.rules.del.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.del(this.output(cap[1]));\n continue;\n }\n\n // text\n if (cap = this.rules.text.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.text(escape(this.smartypants(cap[0])));\n continue;\n }\n\n if (src) {\n throw new\n Error('Infinite loop on byte: ' + src.charCodeAt(0));\n }\n }\n\n return out;\n};\n\n/**\n * Compile Link\n */\n\nInlineLexer.prototype.outputLink = function(cap, link) {\n var href = escape(link.href)\n , title = link.title ? escape(link.title) : null;\n\n return cap[0].charAt(0) !== '!'\n ? this.renderer.link(href, title, this.output(cap[1]))\n : this.renderer.image(href, title, escape(cap[1]));\n};\n\n/**\n * Smartypants Transformations\n */\n\nInlineLexer.prototype.smartypants = function(text) {\n if (!this.options.smartypants) return text;\n return text\n // em-dashes\n .replace(/---/g, '\\u2014')\n // en-dashes\n .replace(/--/g, '\\u2013')\n // opening singles\n .replace(/(^|[-\\u2014/(\\[{\"\\s])'/g, '$1\\u2018')\n // closing singles & apostrophes\n .replace(/'/g, '\\u2019')\n // opening doubles\n .replace(/(^|[-\\u2014/(\\[{\\u2018\\s])\"/g, '$1\\u201c')\n // closing doubles\n .replace(/\"/g, '\\u201d')\n // ellipses\n .replace(/\\.{3}/g, '\\u2026');\n};\n\n/**\n * Mangle Links\n */\n\nInlineLexer.prototype.mangle = function(text) {\n if (!this.options.mangle) return text;\n var out = ''\n , l = text.length\n , i = 0\n , ch;\n\n for (; i < l; i++) {\n ch = text.charCodeAt(i);\n if (Math.random() > 0.5) {\n ch = 'x' + ch.toString(16);\n }\n out += '&#' + ch + ';';\n }\n\n return out;\n};\n\n/**\n * Renderer\n */\n\nfunction Renderer(options) {\n this.options = options || {};\n}\n\nRenderer.prototype.code = function(code, lang, escaped) {\n if (this.options.highlight) {\n var out = this.options.highlight(code, lang);\n if (out != null && out !== code) {\n escaped = true;\n code = out;\n }\n }\n\n if (!lang) {\n return '<pre><code>'\n + (escaped ? code : escape(code, true))\n + '\\n</code></pre>';\n }\n\n return '<pre><code class=\"'\n + this.options.langPrefix\n + escape(lang, true)\n + '\">'\n + (escaped ? code : escape(code, true))\n + '\\n</code></pre>\\n';\n};\n\nRenderer.prototype.blockquote = function(quote) {\n return '<blockquote>\\n' + quote + '</blockquote>\\n';\n};\n\nRenderer.prototype.html = function(html) {\n return html;\n};\n\nRenderer.prototype.heading = function(text, level, raw) {\n return '<h'\n + level\n + ' id=\"'\n + this.options.headerPrefix\n + raw.toLowerCase().replace(/[^\\w]+/g, '-')\n + '\">'\n + text\n + '</h'\n + level\n + '>\\n';\n};\n\nRenderer.prototype.hr = function() {\n return this.options.xhtml ? '<hr/>\\n' : '<hr>\\n';\n};\n\nRenderer.prototype.list = function(body, ordered) {\n var type = ordered ? 'ol' : 'ul';\n return '<' + type + '>\\n' + body + '</' + type + '>\\n';\n};\n\nRenderer.prototype.listitem = function(text) {\n return '<li>' + text + '</li>\\n';\n};\n\nRenderer.prototype.paragraph = function(text) {\n return '<p>' + text + '</p>\\n';\n};\n\nRenderer.prototype.table = function(header, body) {\n return '<table>\\n'\n + '<thead>\\n'\n + header\n + '</thead>\\n'\n + '<tbody>\\n'\n + body\n + '</tbody>\\n'\n + '</table>\\n';\n};\n\nRenderer.prototype.tablerow = function(content) {\n return '<tr>\\n' + content + '</tr>\\n';\n};\n\nRenderer.prototype.tablecell = function(content, flags) {\n var type = flags.header ? 'th' : 'td';\n var tag = flags.align\n ? '<' + type + ' style=\"text-align:' + flags.align + '\">'\n : '<' + type + '>';\n return tag + content + '</' + type + '>\\n';\n};\n\n// span level renderer\nRenderer.prototype.strong = function(text) {\n return '<strong>' + text + '</strong>';\n};\n\nRenderer.prototype.em = function(text) {\n return '<em>' + text + '</em>';\n};\n\nRenderer.prototype.codespan = function(text) {\n return '<code>' + text + '</code>';\n};\n\nRenderer.prototype.br = function() {\n return this.options.xhtml ? '<br/>' : '<br>';\n};\n\nRenderer.prototype.del = function(text) {\n return '<del>' + text + '</del>';\n};\n\nRenderer.prototype.link = function(href, title, text) {\n if (this.options.sanitize) {\n try {\n var prot = decodeURIComponent(unescape(href))\n .replace(/[^\\w:]/g, '')\n .toLowerCase();\n } catch (e) {\n return '';\n }\n if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0) {\n return '';\n }\n }\n var out = '<a href=\"' + href + '\"';\n if (title) {\n out += ' title=\"' + title + '\"';\n }\n out += '>' + text + '</a>';\n return out;\n};\n\nRenderer.prototype.image = function(href, title, text) {\n var out = '<img src=\"' + href + '\" alt=\"' + text + '\"';\n if (title) {\n out += ' title=\"' + title + '\"';\n }\n out += this.options.xhtml ? '/>' : '>';\n return out;\n};\n\nRenderer.prototype.text = function(text) {\n return text;\n};\n\n/**\n * Parsing & Compiling\n */\n\nfunction Parser(options) {\n this.tokens = [];\n this.token = null;\n this.options = options || marked.defaults;\n this.options.renderer = this.options.renderer || new Renderer;\n this.renderer = this.options.renderer;\n this.renderer.options = this.options;\n}\n\n/**\n * Static Parse Method\n */\n\nParser.parse = function(src, options, renderer) {\n var parser = new Parser(options, renderer);\n return parser.parse(src);\n};\n\n/**\n * Parse Loop\n */\n\nParser.prototype.parse = function(src) {\n this.inline = new InlineLexer(src.links, this.options, this.renderer);\n this.tokens = src.reverse();\n\n var out = '';\n while (this.next()) {\n out += this.tok();\n }\n\n return out;\n};\n\n/**\n * Next Token\n */\n\nParser.prototype.next = function() {\n return this.token = this.tokens.pop();\n};\n\n/**\n * Preview Next Token\n */\n\nParser.prototype.peek = function() {\n return this.tokens[this.tokens.length - 1] || 0;\n};\n\n/**\n * Parse Text Tokens\n */\n\nParser.prototype.parseText = function() {\n var body = this.token.text;\n\n while (this.peek().type === 'text') {\n body += '\\n' + this.next().text;\n }\n\n return this.inline.output(body);\n};\n\n/**\n * Parse Current Token\n */\n\nParser.prototype.tok = function() {\n switch (this.token.type) {\n case 'space': {\n return '';\n }\n case 'hr': {\n return this.renderer.hr();\n }\n case 'heading': {\n return this.renderer.heading(\n this.inline.output(this.token.text),\n this.token.depth,\n this.token.text);\n }\n case 'code': {\n return this.renderer.code(this.token.text,\n this.token.lang,\n this.token.escaped);\n }\n case 'table': {\n var header = ''\n , body = ''\n , i\n , row\n , cell\n , flags\n , j;\n\n // header\n cell = '';\n for (i = 0; i < this.token.header.length; i++) {\n flags = { header: true, align: this.token.align[i] };\n cell += this.renderer.tablecell(\n this.inline.output(this.token.header[i]),\n { header: true, align: this.token.align[i] }\n );\n }\n header += this.renderer.tablerow(cell);\n\n for (i = 0; i < this.token.cells.length; i++) {\n row = this.token.cells[i];\n\n cell = '';\n for (j = 0; j < row.length; j++) {\n cell += this.renderer.tablecell(\n this.inline.output(row[j]),\n { header: false, align: this.token.align[j] }\n );\n }\n\n body += this.renderer.tablerow(cell);\n }\n return this.renderer.table(header, body);\n }\n case 'blockquote_start': {\n var body = '';\n\n while (this.next().type !== 'blockquote_end') {\n body += this.tok();\n }\n\n return this.renderer.blockquote(body);\n }\n case 'list_start': {\n var body = ''\n , ordered = this.token.ordered;\n\n while (this.next().type !== 'list_end') {\n body += this.tok();\n }\n\n return this.renderer.list(body, ordered);\n }\n case 'list_item_start': {\n var body = '';\n\n while (this.next().type !== 'list_item_end') {\n body += this.token.type === 'text'\n ? this.parseText()\n : this.tok();\n }\n\n return this.renderer.listitem(body);\n }\n case 'loose_item_start': {\n var body = '';\n\n while (this.next().type !== 'list_item_end') {\n body += this.tok();\n }\n\n return this.renderer.listitem(body);\n }\n case 'html': {\n var html = !this.token.pre && !this.options.pedantic\n ? this.inline.output(this.token.text)\n : this.token.text;\n return this.renderer.html(html);\n }\n case 'paragraph': {\n return this.renderer.paragraph(this.inline.output(this.token.text));\n }\n case 'text': {\n return this.renderer.paragraph(this.parseText());\n }\n }\n};\n\n/**\n * Helpers\n */\n\nfunction escape(html, encode) {\n return html\n .replace(!encode ? /&(?!#?\\w+;)/g : /&/g, '&amp;')\n .replace(/</g, '&lt;')\n .replace(/>/g, '&gt;')\n .replace(/\"/g, '&quot;')\n .replace(/'/g, '&#39;');\n}\n\nfunction unescape(html) {\n return html.replace(/&([#\\w]+);/g, function(_, n) {\n n = n.toLowerCase();\n if (n === 'colon') return ':';\n if (n.charAt(0) === '#') {\n return n.charAt(1) === 'x'\n ? String.fromCharCode(parseInt(n.substring(2), 16))\n : String.fromCharCode(+n.substring(1));\n }\n return '';\n });\n}\n\nfunction replace(regex, opt) {\n regex = regex.source;\n opt = opt || '';\n return function self(name, val) {\n if (!name) return new RegExp(regex, opt);\n val = val.source || val;\n val = val.replace(/(^|[^\\[])\\^/g, '$1');\n regex = regex.replace(name, val);\n return self;\n };\n}\n\nfunction noop() {}\nnoop.exec = noop;\n\nfunction merge(obj) {\n var i = 1\n , target\n , key;\n\n for (; i < arguments.length; i++) {\n target = arguments[i];\n for (key in target) {\n if (Object.prototype.hasOwnProperty.call(target, key)) {\n obj[key] = target[key];\n }\n }\n }\n\n return obj;\n}\n\n\n/**\n * Marked\n */\n\nfunction marked(src, opt, callback) {\n if (callback || typeof opt === 'function') {\n if (!callback) {\n callback = opt;\n opt = null;\n }\n\n opt = merge({}, marked.defaults, opt || {});\n\n var highlight = opt.highlight\n , tokens\n , pending\n , i = 0;\n\n try {\n tokens = Lexer.lex(src, opt)\n } catch (e) {\n return callback(e);\n }\n\n pending = tokens.length;\n\n var done = function(err) {\n if (err) {\n opt.highlight = highlight;\n return callback(err);\n }\n\n var out;\n\n try {\n out = Parser.parse(tokens, opt);\n } catch (e) {\n err = e;\n }\n\n opt.highlight = highlight;\n\n return err\n ? callback(err)\n : callback(null, out);\n };\n\n if (!highlight || highlight.length < 3) {\n return done();\n }\n\n delete opt.highlight;\n\n if (!pending) return done();\n\n for (; i < tokens.length; i++) {\n (function(token) {\n if (token.type !== 'code') {\n return --pending || done();\n }\n return highlight(token.text, token.lang, function(err, code) {\n if (err) return done(err);\n if (code == null || code === token.text) {\n return --pending || done();\n }\n token.text = code;\n token.escaped = true;\n --pending || done();\n });\n })(tokens[i]);\n }\n\n return;\n }\n try {\n if (opt) opt = merge({}, marked.defaults, opt);\n return Parser.parse(Lexer.lex(src, opt), opt);\n } catch (e) {\n e.message += '\\nPlease report this to https://github.com/chjj/marked.';\n if ((opt || marked.defaults).silent) {\n return '<p>An error occured:</p><pre>'\n + escape(e.message + '', true)\n + '</pre>';\n }\n throw e;\n }\n}\n\n/**\n * Options\n */\n\nmarked.options =\nmarked.setOptions = function(opt) {\n merge(marked.defaults, opt);\n return marked;\n};\n\nmarked.defaults = {\n gfm: true,\n tables: true,\n breaks: false,\n pedantic: false,\n sanitize: false,\n sanitizer: null,\n mangle: true,\n smartLists: false,\n silent: false,\n highlight: null,\n langPrefix: 'lang-',\n smartypants: false,\n headerPrefix: '',\n renderer: new Renderer,\n xhtml: false\n};\n\n/**\n * Expose\n */\n\nmarked.Parser = Parser;\nmarked.parser = Parser.parse;\n\nmarked.Renderer = Renderer;\n\nmarked.Lexer = Lexer;\nmarked.lexer = Lexer.lex;\n\nmarked.InlineLexer = InlineLexer;\nmarked.inlineLexer = InlineLexer.output;\n\nmarked.parse = marked;\n\nif (typeof module !== 'undefined' && typeof exports === 'object') {\n module.exports = marked;\n} else if (typeof define === 'function' && define.amd) {\n define(function() { return marked; });\n} else {\n this.marked = marked;\n}\n\n}).call(function() {\n return this || (typeof window !== 'undefined' ? window : global);\n}());\n","module.exports = require(\"npm:marked@0.3.5/lib/marked.js\");","'use strict';\n\nimport {Pipe} from 'angular2/core';\nimport {isString, stringify, isBlank} from 'angular2/src/facade/lang';\nimport {BaseException} from 'angular2/src/facade/exceptions';\nimport {JsonPointer} from './JsonPointer';\n\nimport Prism from '../../prismjs-bundle';\n\nimport 'prismjs/themes/prism-dark.css!css';\nimport 'hint.css/hint.base.css!css';\n\nimport marked from 'marked';\n\n// in gfm mode marked doesn't parse #Heading (without space after #) as heading\n// https://github.com/chjj/marked/issues/642\nmarked.Lexer.rules.gfm.heading = marked.Lexer.rules.normal.heading;\nmarked.Lexer.rules.tables.heading = marked.Lexer.rules.normal.heading;\n\nmarked.setOptions({\n renderer: new marked.Renderer(),\n gfm: true,\n tables: true,\n breaks: false,\n pedantic: false,\n smartLists: true,\n smartypants: false\n});\n\nclass InvalidPipeArgumentException extends BaseException {\n constructor(type, value) {\n super(`Invalid argument '${value}' for pipe '${stringify(type)}'`);\n }\n}\n\n@Pipe({ name: 'keys' })\nexport class KeysPipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (typeof value !== 'object') {\n throw new InvalidPipeArgumentException(ValuesPipe, value);\n }\n return Object.keys(value);\n }\n}\n\n@Pipe({ name: 'values' })\nexport class ValuesPipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (typeof value !== 'object') {\n throw new InvalidPipeArgumentException(ValuesPipe, value);\n }\n return Object.keys(value).map(key => value[key]);\n }\n}\n\n@Pipe({ name: 'jsonPointerEscape' })\nexport class JsonPointerEscapePipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (!isString(value)) {\n throw new InvalidPipeArgumentException(JsonPointerEscapePipe, value);\n }\n return JsonPointer.escape(value);\n }\n}\n\n@Pipe({ name: 'marked' })\nexport class MarkedPipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (!isString(value)) {\n throw new InvalidPipeArgumentException(JsonPointerEscapePipe, value);\n }\n return `<span class=\"redoc-markdown-block\">${marked(value)}</span>`;\n }\n}\n\nconst langMap = {\n 'c++': 'cpp',\n 'c#': 'csharp',\n 'objective-c': 'objectivec',\n 'shell': 'bash',\n 'viml': 'vim'\n};\n\n@Pipe({ name: 'prism' })\nexport class PrismPipe {\n transform(value, args) {\n if (isBlank(args) || args.length === 0) {\n throw new BaseException('Prism pipe requires one argument');\n }\n if (isBlank(value)) return value;\n if (!isString(value)) {\n throw new InvalidPipeArgumentException(JsonPointerEscapePipe, value);\n }\n let lang = args[0].toString().trim().toLowerCase();\n if (langMap[lang]) lang = langMap[lang];\n\n let grammar = Prism.languages[lang];\n //fallback to clike\n if (!grammar) grammar = Prism.languages.clike;\n return Prism.highlight(value, grammar);\n }\n}\n\n@Pipe({ name: 'encodeURIComponent' })\nexport class EncodeURIComponentPipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (!isString(value)) {\n throw new InvalidPipeArgumentException(EncodeURIComponentPipe, value);\n }\n return encodeURIComponent(value);\n }\n}\n","'use strict';\nimport {Component, ChangeDetectionStrategy} from 'angular2/core';\nimport {CORE_DIRECTIVES, JsonPipe, AsyncPipe} from 'angular2/common';\nimport SchemaManager from '../utils/SchemaManager';\nimport JsonPointer from '../utils/JsonPointer';\nimport {MarkedPipe, JsonPointerEscapePipe} from '../utils/pipes';\n\nexport { SchemaManager };\n\n// common inputs for all components\nlet commonInputs = ['pointer']; // json pointer to the schema chunk\n\n// internal helper function\nfunction safeConcat(a, b) {\n let res = a && a.slice() || [];\n b = (b == null) ? [] : b;\n return res.concat(b);\n}\n\nfunction defaults(target, src) {\n var props = Object.keys(src);\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n if (target[key] === undefined) {\n target[key] = src[key];\n }\n }\n return target;\n}\n\nfunction snapshot(obj) {\n if(obj == null || typeof(obj) != 'object') {\n return obj;\n }\n\n var temp = new obj.constructor();\n\n for(var key in obj) {\n if (obj.hasOwnProperty(key)) {\n temp[key] = snapshot(obj[key]);\n }\n }\n\n return temp;\n}\n\n/**\n * Class decorator\n * Simplifies setup of component metainfo\n * All options are options from either Component or View angular2 decorator\n * For detailed info look angular2 doc\n * @param {Object} options - component options\n * @param {string[]} options.inputs - component inputs\n * @param {*[]} options.directives - directives used by component\n * (except CORE_DIRECTIVES)\n * @param {*[]} options.pipes - pipes used by component\n * @param {*[]} options.providers - component providers\n * @param {string} options.templateUrl - path to component template\n * @param {string} options.template - component template html\n * @param {string} options.styles - component css styles\n */\nexport function RedocComponent(options) {\n let inputs = safeConcat(options.inputs, commonInputs);\n let directives = safeConcat(options.directives, CORE_DIRECTIVES);\n let pipes = safeConcat(options.pipes, [JsonPointerEscapePipe, MarkedPipe, JsonPipe, AsyncPipe]);\n\n return function decorator(target) {\n\n let componentDecorator = Component({\n selector: options.selector,\n inputs: inputs,\n outputs: options.outputs,\n providers: options.providers,\n changeDetection: options.changeDetection || ChangeDetectionStrategy.Default,\n templateUrl: options.templateUrl,\n template: options.template,\n styles: options.styles,\n directives: directives,\n pipes: pipes\n });\n\n return componentDecorator(target) || target;\n };\n}\n\n/**\n * Generic Component\n * @class\n */\n@Reflect.metadata('parameters', [[SchemaManager]])\nexport class BaseComponent {\n constructor(schemaMgr) {\n this.schemaMgr = schemaMgr;\n this.componentSchema = null;\n }\n\n /**\n * onInit method is run by angular2 after all component inputs are resolved\n */\n ngOnInit() {\n this.componentSchema = snapshot(this.schemaMgr.byPointer(this.pointer || ''));\n this.prepareModel();\n this.init();\n }\n\n ngOnDestroy() {\n this.destroy();\n }\n\n /**\n * simple in-place schema dereferencing. Schema is already bundled so no need in global dereferencing.\n */\n dereference(schema = Object.assign({}, this.componentSchema)) {\n let dereferencedCache = {};\n\n let resolve = (schema) => {\n let resolvedRef;\n if (schema && schema.$ref) {\n resolvedRef = schema.$ref;\n let resolved = this.schemaMgr.byPointer(schema.$ref);\n let baseName = JsonPointer.baseName(schema.$ref);\n if (!dereferencedCache[schema.$ref]) {\n // if resolved schema doesn't have title use name from ref\n resolved = Object.assign({}, resolved);\n resolved._pointer = schema.$ref;\n } else {\n // for circular referenced save only title and type\n resolved = {\n title: resolved.title,\n type: resolved.type\n };\n }\n\n dereferencedCache[schema.$ref] = dereferencedCache[schema.$ref] ? dereferencedCache[schema.$ref] + 1 : 1;\n\n resolved.title = resolved.title || baseName;\n\n let keysCount = Object.keys(schema).length;\n if ( keysCount > 2 || (keysCount === 2 && !schema.description) ) {\n // allow only description field on the same level as $ref because it is\n // common pattern over specs in the wild\n console.warn(`other properties defined at the same level as $ref at '${this.pointer}'.\n They are IGNORRED according to JsonSchema spec`);\n }\n\n schema = schema.description ? {\n description: schema.description\n } : {};\n Object.assign(schema, resolved);\n }\n\n Object.keys(schema).forEach((key) => {\n let value = schema[key];\n if (value && typeof value === 'object') {\n schema[key] = resolve(value);\n }\n });\n if (resolvedRef) dereferencedCache[resolvedRef] = dereferencedCache[resolvedRef] ? dereferencedCache[resolvedRef] - 1 : 0;\n return schema;\n };\n\n this.componentSchema = snapshot(resolve(schema, 1));\n }\n\n static joinAllOf(schema, opts) {\n function merge(into, schemas) {\n for (let subSchema of schemas) {\n if (opts && opts.omitParent && subSchema.discriminator) continue;\n // TODO: add support for merge array schemas\n if (typeof subSchema !== 'object') {\n let errMessage = `Items of allOf should be Object: ${typeof subSchema} found\n ${subSchema}`;\n throw new Error(errMessage);\n }\n\n if (into.type && subSchema.type && into.type !== subSchema.type) {\n let errMessage = `allOf merging error: schemas with different types can't be merged`;\n throw new Error(errMessage);\n }\n\n\n if (into.type === 'array') {\n console.warn('allOf: subschemas with type array are not supported yet');\n }\n\n // TODO: add check if can be merged correctly (no different properties with the same name)\n into.type = into.type || subSchema.type;\n if (into.type === 'object' && subSchema.properties) {\n into.properties || (into.properties = {});\n Object.assign(into.properties, subSchema.properties);\n Object.keys(subSchema.properties).forEach(propName => {\n if (!subSchema.properties[propName]._pointer) {\n subSchema.properties[propName]._pointer = subSchema._pointer ?\n JsonPointer.join(subSchema._pointer, ['properties', propName]) : null;\n }\n });\n }\n if (into.type === 'object' && subSchema.required) {\n into.required || (into.required = []);\n into.required.push(...subSchema.required);\n }\n // don't merge _pointer\n subSchema._pointer = null;\n defaults(into, subSchema);\n }\n into.allOf = null;\n }\n\n function traverse(obj) {\n if (obj === null || typeof(obj) !== 'object') {\n return;\n }\n\n for(var key in obj) {\n if (obj.hasOwnProperty(key)) {\n traverse(obj[key]);\n }\n }\n\n if (obj.allOf) {\n merge(obj, obj.allOf);\n }\n }\n\n traverse(schema);\n }\n\n /**\n * Used to prepare model based on component schema\n * @abstract\n */\n prepareModel() {}\n\n /**\n * Used to initialize component. Run after prepareModel\n * @abstract\n */\n init() {}\n\n /**\n + Used to destroy component\n * @abstract\n */\n destroy() {}\n}\n","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar core_1 = require('angular2/core');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\nvar ObservableStrategy = (function () {\r\n function ObservableStrategy() {\r\n }\r\n ObservableStrategy.prototype.createSubscription = function (async, updateLatestValue) {\r\n return async_1.ObservableWrapper.subscribe(async, updateLatestValue, function (e) { throw e; });\r\n };\r\n ObservableStrategy.prototype.dispose = function (subscription) { async_1.ObservableWrapper.dispose(subscription); };\r\n ObservableStrategy.prototype.onDestroy = function (subscription) { async_1.ObservableWrapper.dispose(subscription); };\r\n return ObservableStrategy;\r\n}());\r\nvar PromiseStrategy = (function () {\r\n function PromiseStrategy() {\r\n }\r\n PromiseStrategy.prototype.createSubscription = function (async, updateLatestValue) {\r\n return async.then(updateLatestValue);\r\n };\r\n PromiseStrategy.prototype.dispose = function (subscription) { };\r\n PromiseStrategy.prototype.onDestroy = function (subscription) { };\r\n return PromiseStrategy;\r\n}());\r\nvar _promiseStrategy = new PromiseStrategy();\r\nvar _observableStrategy = new ObservableStrategy();\r\nvar __unused; // avoid unused import when Promise union types are erased\r\n/**\r\n * The `async` pipe subscribes to an Observable or Promise and returns the latest value it has\r\n * emitted.\r\n * When a new value is emitted, the `async` pipe marks the component to be checked for changes.\r\n *\r\n * ### Example\r\n *\r\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\r\n * promise.\r\n *\r\n * {@example core/pipes/ts/async_pipe/async_pipe_example.ts region='AsyncPipe'}\r\n *\r\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\r\n * to the view. Every 500ms, the `time` Observable updates the view with the current time.\r\n *\r\n * ```typescript\r\n * ```\r\n */\r\nvar AsyncPipe = (function () {\r\n function AsyncPipe(_ref) {\r\n /** @internal */\r\n this._latestValue = null;\r\n /** @internal */\r\n this._latestReturnedValue = null;\r\n /** @internal */\r\n this._subscription = null;\r\n /** @internal */\r\n this._obj = null;\r\n this._strategy = null;\r\n this._ref = _ref;\r\n }\r\n AsyncPipe.prototype.ngOnDestroy = function () {\r\n if (lang_1.isPresent(this._subscription)) {\r\n this._dispose();\r\n }\r\n };\r\n AsyncPipe.prototype.transform = function (obj) {\r\n if (lang_1.isBlank(this._obj)) {\r\n if (lang_1.isPresent(obj)) {\r\n this._subscribe(obj);\r\n }\r\n this._latestReturnedValue = this._latestValue;\r\n return this._latestValue;\r\n }\r\n if (obj !== this._obj) {\r\n this._dispose();\r\n return this.transform(obj);\r\n }\r\n if (this._latestValue === this._latestReturnedValue) {\r\n return this._latestReturnedValue;\r\n }\r\n else {\r\n this._latestReturnedValue = this._latestValue;\r\n return core_1.WrappedValue.wrap(this._latestValue);\r\n }\r\n };\r\n /** @internal */\r\n AsyncPipe.prototype._subscribe = function (obj) {\r\n var _this = this;\r\n this._obj = obj;\r\n this._strategy = this._selectStrategy(obj);\r\n this._subscription = this._strategy.createSubscription(obj, function (value) { return _this._updateLatestValue(obj, value); });\r\n };\r\n /** @internal */\r\n AsyncPipe.prototype._selectStrategy = function (obj) {\r\n if (lang_1.isPromise(obj)) {\r\n return _promiseStrategy;\r\n }\r\n else if (async_1.ObservableWrapper.isObservable(obj)) {\r\n return _observableStrategy;\r\n }\r\n else {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(AsyncPipe, obj);\r\n }\r\n };\r\n /** @internal */\r\n AsyncPipe.prototype._dispose = function () {\r\n this._strategy.dispose(this._subscription);\r\n this._latestValue = null;\r\n this._latestReturnedValue = null;\r\n this._subscription = null;\r\n this._obj = null;\r\n };\r\n /** @internal */\r\n AsyncPipe.prototype._updateLatestValue = function (async, value) {\r\n if (async === this._obj) {\r\n this._latestValue = value;\r\n this._ref.markForCheck();\r\n }\r\n };\r\n AsyncPipe = __decorate([\r\n // avoid unused import when Promise union types are erased\r\n core_1.Pipe({ name: 'async', pure: false }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [core_1.ChangeDetectorRef])\r\n ], AsyncPipe);\r\n return AsyncPipe;\r\n}());\r\nexports.AsyncPipe = AsyncPipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN5bmNfcGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vcGlwZXMvYXN5bmNfcGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEscUJBQW1ELDBCQUEwQixDQUFDLENBQUE7QUFDOUUsc0JBQTBELDJCQUEyQixDQUFDLENBQUE7QUFDdEYscUJBQTJFLGVBQWUsQ0FBQyxDQUFBO0FBRTNGLGdEQUEyQyxtQ0FBbUMsQ0FBQyxDQUFBO0FBRS9FO0lBQUE7SUFRQSxDQUFDO0lBUEMsK0NBQWtCLEdBQWxCLFVBQW1CLEtBQVUsRUFBRSxpQkFBc0I7UUFDbkQsTUFBT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IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar core_1 = require('angular2/core');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\n/**\r\n * Implements uppercase transforms to text.\r\n *\r\n * ### Example\r\n *\r\n * {@example core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts region='LowerUpperPipe'}\r\n */\r\nvar UpperCasePipe = (function () {\r\n function UpperCasePipe() {\r\n }\r\n UpperCasePipe.prototype.transform = function (value) {\r\n if (lang_1.isBlank(value))\r\n return value;\r\n if (!lang_1.isString(value)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(UpperCasePipe, value);\r\n }\r\n return value.toUpperCase();\r\n };\r\n UpperCasePipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'uppercase' }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], UpperCasePipe);\r\n return UpperCasePipe;\r\n}());\r\nexports.UpperCasePipe = UpperCasePipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBwZXJjYXNlX3BpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6Wy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IEluamVjdGFibGUsIFBpcGV9IGZyb20gJ2FuZ3VsYXIyL2NvcmUnO1xuaW1wb3J0IHtJbnZhbGlkUGlwZUFyZ3VtZW50RXhjZXB0aW9ufSBmcm9tICcuL2ludmFsaWRfcGlwZV9hcmd1bWVudF9leGNlcHRpb24nO1xuXG4vKipcbiAqIEltcGxlbWVudHMgdXBwZXJjYXNlIHRyYW5zZm9ybXMgdG8gdGV4dC5cbiAqXG4gKiAjIyMgRXhhbXBsZVxuICpcbiAqIHtAZXhhbXBsZSBjb3JlL3BpcGVzL3RzL2xvd2VydXBwZXJfcGlwZS9sb3dlcnVwcGVyX3BpcGVfZXhhbXBsZS50cyByZWdpb249J0xvd2VyVXBwZXJQaXBlJ31cbiAqL1xuQENPTlNUKClcbkBQaXBlKHtuYW1lOiAndXBwZXJjYXNlJ30pXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgVXBwZXJDYXNlUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICB0cmFuc2Zvcm0odmFsdWU6IHN0cmluZyk6IHN0cmluZyB7XG4gICAgaWYgKGlzQmxhbmsodmFsdWUpKSByZXR1cm4gdmFsdWU7XG4gICAgaWYgKCFpc1N0cmluZyh2YWx1ZSkpIHtcbiAgICAgIHRocm93IG5ldyBJbnZhbGlkUGlwZUFyZ3VtZW50RXhjZXB0aW9uKFVwcGVyQ2FzZVBpcGUsIHZhbHVlKTtcbiAgICB9XG4gICAgcmV0dXJuIHZhbHVlLnRvVXBwZXJDYXNlKCk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar core_1 = require('angular2/core');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\n/**\r\n * Transforms text to lowercase.\r\n *\r\n * ### Example\r\n *\r\n * {@example core/pipes/ts/lowerupper_pipe/lowerupper_pipe_example.ts region='LowerUpperPipe'}\r\n */\r\nvar LowerCasePipe = (function () {\r\n function LowerCasePipe() {\r\n }\r\n LowerCasePipe.prototype.transform = function (value) {\r\n if (lang_1.isBlank(value))\r\n return value;\r\n if (!lang_1.isString(value)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(LowerCasePipe, value);\r\n }\r\n return value.toLowerCase();\r\n };\r\n LowerCasePipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'lowercase' }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], LowerCasePipe);\r\n return LowerCasePipe;\r\n}());\r\nexports.LowerCasePipe = LowerCasePipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG93ZXJjYXNlX3BpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL3BpcGVzL2xvd2VyY2FzZV9waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxxQkFBdUMsMEJBQTBCLENBQUMsQ0FBQTtBQUNsRSxxQkFBNEQs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EV4YW1wbGVcbiAqXG4gKiB7QGV4YW1wbGUgY29yZS9waXBlcy90cy9sb3dlcnVwcGVyX3BpcGUvbG93ZXJ1cHBlcl9waXBlX2V4YW1wbGUudHMgcmVnaW9uPSdMb3dlclVwcGVyUGlwZSd9XG4gKi9cbkBDT05TVCgpXG5AUGlwZSh7bmFtZTogJ2xvd2VyY2FzZSd9KVxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIExvd2VyQ2FzZVBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgdHJhbnNmb3JtKHZhbHVlOiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIGlmIChpc0JsYW5rKHZhbHVlKSkgcmV0dXJuIHZhbHVlO1xuICAgIGlmICghaXNTdHJpbmcodmFsdWUpKSB7XG4gICAgICB0aHJvdyBuZXcgSW52YWxpZFBpcGVBcmd1bWVudEV4Y2VwdGlvbihMb3dlckNhc2VQaXBlLCB2YWx1ZSk7XG4gICAgfVxuICAgIHJldHVybiB2YWx1ZS50b0xvd2VyQ2FzZSgpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar core_1 = require('angular2/core');\r\n/**\r\n * Transforms any input value using `JSON.stringify`. Useful for debugging.\r\n *\r\n * ### Example\r\n * {@example core/pipes/ts/json_pipe/json_pipe_example.ts region='JsonPipe'}\r\n */\r\nvar JsonPipe = (function () {\r\n function JsonPipe() {\r\n }\r\n JsonPipe.prototype.transform = function (value) { return lang_1.Json.stringify(value); };\r\n JsonPipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'json', pure: false }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], JsonPipe);\r\n return JsonPipe;\r\n}());\r\nexports.JsonPipe = JsonPipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbl9waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9waXBlcy9qc29uX3BpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHFCQUE4QywwQkFBMEIsQ0FBQyxDQUFBO0FBQ3pFLHFCQUE0RCxlQUFlLENBQUMsQ0FBQTtBQUU1RTs7Ozs7R0FLRztBQUlIO0lBQUE7SUFFQSxDQUFDO0lBREMsNEJBQVMsR0FBVCxVQUFVLEtBQVUsSUFBWSxNQUFNLENBQUMsV0FBSSxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFKakU7UUFBQyxZQUFLLEVBQUU7UUFDUCxXQUFJLENBQUMsRUFBQyxJQUFJLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUMsQ0FBQztRQUNqQyxpQkFBVSxFQUFFOztnQkFBQTtJQUdiLGVBQUM7QUFBRCxDQUFDLEFBRkQsSUFFQztBQUZZLGdCQUFRLFdBRXBCLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge2lzQmxhbmssIGlzUHJlc2VudCwgSnNvbiwgQ09OU1R9IGZyb20gJ2FuZ3VsYXIyL3NyYy9mYWNhZGUvbGFuZyc7XG5pbXBvcnQge0luamVjdGFibGUsIFBpcGVUcmFuc2Zvcm0sIFdyYXBwZWRWYWx1ZSwgUGlwZX0gZnJvbSAnYW5ndWxhcjIvY29yZSc7XG5cbi8qKlxuICogVHJhbnNmb3JtcyBhbnkgaW5wdXQgdmFsdWUgdXNpbmcgYEpTT04uc3RyaW5naWZ5YC4gVXNlZnVsIGZvciBkZWJ1Z2dpbmcuXG4gKlxuICogIyMjIEV4YW1wbGVcbiAqIHtAZXhhbXBsZSBjb3JlL3BpcGVzL3RzL2pzb25fcGlwZS9qc29uX3BpcGVfZXhhbXBsZS50cyByZWdpb249J0pzb25QaXBlJ31cbiAqL1xuQENPTlNUKClcbkBQaXBlKHtuYW1lOiAnanNvbicsIHB1cmU6IGZhbHNlfSlcbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBKc29uUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICB0cmFuc2Zvcm0odmFsdWU6IGFueSk6IHN0cmluZyB7IHJldHVybiBKc29uLnN0cmluZ2lmeSh2YWx1ZSk7IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar core_1 = require('angular2/core');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\n/**\r\n * Creates a new List or String containing only a subset (slice) of the\r\n * elements.\r\n *\r\n * The starting index of the subset to return is specified by the `start` parameter.\r\n *\r\n * The ending index of the subset to return is specified by the optional `end` parameter.\r\n *\r\n * ### Usage\r\n *\r\n * expression | slice:start[:end]\r\n *\r\n * All behavior is based on the expected behavior of the JavaScript API\r\n * Array.prototype.slice() and String.prototype.slice()\r\n *\r\n * Where the input expression is a [List] or [String], and `start` is:\r\n *\r\n * - **a positive integer**: return the item at _start_ index and all items after\r\n * in the list or string expression.\r\n * - **a negative integer**: return the item at _start_ index from the end and all items after\r\n * in the list or string expression.\r\n * - **`|start|` greater than the size of the expression**: return an empty list or string.\r\n * - **`|start|` negative greater than the size of the expression**: return entire list or\r\n * string expression.\r\n *\r\n * and where `end` is:\r\n *\r\n * - **omitted**: return all items until the end of the input\r\n * - **a positive integer**: return all items before _end_ index of the list or string\r\n * expression.\r\n * - **a negative integer**: return all items before _end_ index from the end of the list\r\n * or string expression.\r\n *\r\n * When operating on a [List], the returned list is always a copy even when all\r\n * the elements are being returned.\r\n *\r\n * ## List Example\r\n *\r\n * This `ngFor` example:\r\n *\r\n * {@example core/pipes/ts/slice_pipe/slice_pipe_example.ts region='SlicePipe_list'}\r\n *\r\n * produces the following:\r\n *\r\n * <li>b</li>\r\n * <li>c</li>\r\n *\r\n * ## String Examples\r\n *\r\n * {@example core/pipes/ts/slice_pipe/slice_pipe_example.ts region='SlicePipe_string'}\r\n */\r\nvar SlicePipe = (function () {\r\n function SlicePipe() {\r\n }\r\n SlicePipe.prototype.transform = function (value, start, end) {\r\n if (end === void 0) { end = null; }\r\n if (!this.supports(value)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(SlicePipe, value);\r\n }\r\n if (lang_1.isBlank(value))\r\n return value;\r\n if (lang_1.isString(value)) {\r\n return lang_1.StringWrapper.slice(value, start, end);\r\n }\r\n return collection_1.ListWrapper.slice(value, start, end);\r\n };\r\n SlicePipe.prototype.supports = function (obj) { return lang_1.isString(obj) || lang_1.isArray(obj); };\r\n SlicePipe = __decorate([\r\n core_1.Pipe({ name: 'slice', pure: false }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], SlicePipe);\r\n return SlicePipe;\r\n}());\r\nexports.SlicePipe = SlicePipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpY2VfcGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vcGlwZXMvc2xpY2VfcGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEscUJBQStELDBCQUEwQixDQUFDLENBQUE7QUFDMUYsMkJBQTBCLGdDQUFnQyxDQUFDLENBQUE7QUFDM0QscUJBQTRELGVBQWUsQ0FBQyxDQUFBO0FBQzVFLGdEQUEyQyxtQ0FBbUMsQ0FBQyxDQUFBO0FBRS9FOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtERztBQUlIO0lBQUE7SUFhQSxDQUFDO0lBWkMsNkJBQVMsR0FBVCxVQUFVLEtBQVUsRUFBRSxLQUFhLEVBQUUsR0FBa0I7UUFBbEIsbUJBQWtCLEdBQWxCLFVBQWtCO1FBQ3JELEVBQUUsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQU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2YXRlIHN1cHBvcnRzKG9iajogYW55KTogYm9vbGVhbiB7IHJldHVybiBpc1N0cmluZyhvYmopIHx8IGlzQXJyYXkob2JqKTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar intl_1 = require('angular2/src/facade/intl');\r\nvar core_1 = require('angular2/core');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\n// TODO: move to a global configurable location along with other i18n components.\r\nvar defaultLocale = 'en-US';\r\n/**\r\n * Formats a date value to a string based on the requested format.\r\n *\r\n * WARNINGS:\r\n * - this pipe is marked as pure hence it will not be re-evaluated when the input is mutated.\r\n * Instead users should treat the date as an immutable object and change the reference when the\r\n * pipe needs to re-run (this is to avoid reformatting the date on every change detection run\r\n * which would be an expensive operation).\r\n * - this pipe uses the Internationalization API. Therefore it is only reliable in Chrome and Opera\r\n * browsers.\r\n *\r\n * ## Usage\r\n *\r\n * expression | date[:format]\r\n *\r\n * where `expression` is a date object or a number (milliseconds since UTC epoch) and\r\n * `format` indicates which date/time components to include:\r\n *\r\n * | Component | Symbol | Short Form | Long Form | Numeric | 2-digit |\r\n * |-----------|:------:|--------------|-------------------|-----------|-----------|\r\n * | era | G | G (AD) | GGGG (Anno Domini)| - | - |\r\n * | year | y | - | - | y (2015) | yy (15) |\r\n * | month | M | MMM (Sep) | MMMM (September) | M (9) | MM (09) |\r\n * | day | d | - | - | d (3) | dd (03) |\r\n * | weekday | E | EEE (Sun) | EEEE (Sunday) | - | - |\r\n * | hour | j | - | - | j (13) | jj (13) |\r\n * | hour12 | h | - | - | h (1 PM) | hh (01 PM)|\r\n * | hour24 | H | - | - | H (13) | HH (13) |\r\n * | minute | m | - | - | m (5) | mm (05) |\r\n * | second | s | - | - | s (9) | ss (09) |\r\n * | timezone | z | - | z (Pacific Standard Time)| - | - |\r\n * | timezone | Z | Z (GMT-8:00) | - | - | - |\r\n *\r\n * In javascript, only the components specified will be respected (not the ordering,\r\n * punctuations, ...) and details of the formatting will be dependent on the locale.\r\n * On the other hand in Dart version, you can also include quoted text as well as some extra\r\n * date/time components such as quarter. For more information see:\r\n * https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/intl/intl.DateFormat.\r\n *\r\n * `format` can also be one of the following predefined formats:\r\n *\r\n * - `'medium'`: equivalent to `'yMMMdjms'` (e.g. Sep 3, 2010, 12:05:08 PM for en-US)\r\n * - `'short'`: equivalent to `'yMdjm'` (e.g. 9/3/2010, 12:05 PM for en-US)\r\n * - `'fullDate'`: equivalent to `'yMMMMEEEEd'` (e.g. Friday, September 3, 2010 for en-US)\r\n * - `'longDate'`: equivalent to `'yMMMMd'` (e.g. September 3, 2010)\r\n * - `'mediumDate'`: equivalent to `'yMMMd'` (e.g. Sep 3, 2010 for en-US)\r\n * - `'shortDate'`: equivalent to `'yMd'` (e.g. 9/3/2010 for en-US)\r\n * - `'mediumTime'`: equivalent to `'jms'` (e.g. 12:05:08 PM for en-US)\r\n * - `'shortTime'`: equivalent to `'jm'` (e.g. 12:05 PM for en-US)\r\n *\r\n * Timezone of the formatted text will be the local system timezone of the end-users machine.\r\n *\r\n * ### Examples\r\n *\r\n * Assuming `dateObj` is (year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11)\r\n * in the _local_ time and locale is 'en-US':\r\n *\r\n * ```\r\n * {{ dateObj | date }} // output is 'Jun 15, 2015'\r\n * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'\r\n * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'\r\n * {{ dateObj | date:'mmss' }} // output is '43:11'\r\n * ```\r\n *\r\n * {@example core/pipes/ts/date_pipe/date_pipe_example.ts region='DatePipe'}\r\n */\r\nvar DatePipe = (function () {\r\n function DatePipe() {\r\n }\r\n DatePipe.prototype.transform = function (value, pattern) {\r\n if (pattern === void 0) { pattern = 'mediumDate'; }\r\n if (lang_1.isBlank(value))\r\n return null;\r\n if (!this.supports(value)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(DatePipe, value);\r\n }\r\n if (lang_1.isNumber(value)) {\r\n value = lang_1.DateWrapper.fromMillis(value);\r\n }\r\n if (collection_1.StringMapWrapper.contains(DatePipe._ALIASES, pattern)) {\r\n pattern = collection_1.StringMapWrapper.get(DatePipe._ALIASES, pattern);\r\n }\r\n return intl_1.DateFormatter.format(value, defaultLocale, pattern);\r\n };\r\n DatePipe.prototype.supports = function (obj) { return lang_1.isDate(obj) || lang_1.isNumber(obj); };\r\n /** @internal */\r\n DatePipe._ALIASES = {\r\n 'medium': 'yMMMdjms',\r\n 'short': 'yMdjm',\r\n 'fullDate': 'yMMMMEEEEd',\r\n 'longDate': 'yMMMMd',\r\n 'mediumDate': 'yMMMd',\r\n 'shortDate': 'yMd',\r\n 'mediumTime': 'jms',\r\n 'shortTime': 'jm'\r\n };\r\n DatePipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'date', pure: true }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], DatePipe);\r\n return DatePipe;\r\n}());\r\nexports.DatePipe = DatePipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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bm5vIERvbWluaSl8IC0gICAgICAgICB8IC0gICAgICAgICB8XG4gKiAgfCB5ZWFyICAgICAgfCAgIHkgICAgfCAtICAgICAgICAgICAgfCAtICAgICAgICAgICAgICAgICB8IHkgKDIwMTUpICB8IHl5ICgxNSkgICB8XG4gKiAgfCBtb250aCAgICAgfCAgIE0gICAgfCBNTU0gKFNlcCkgICAgfCBNTU1NIChTZXB0ZW1iZXIpICB8IE0gKDkpICAgICB8IE1NICgwOSkgICB8XG4gKiAgfCBkYXkgICAgICAgfCAgIGQgICAgfCAtICAgICAgICAgICAgfCAtICAgICAgICAgICAgICAgICB8IGQgKDMpICAgICB8IGRkICgwMykgICB8XG4gKiAgfCB3ZWVrZGF5ICAgfCAgIEUgICAgfCBFRUUgKFN1bikgICAgfCBFRUVFIChTdW5kYXkpICAgICB8IC0gICAgICAgICB8IC0gICAgICAgICB8XG4gKiAgfCBob3VyICAgICAgfCAgIGogICAgfCAtICAgICAgICAgICAgfCAtICAgICAgICAgICAgICAgICB8IGogKDEzKSAgICB8IGpqICgxMykgICB8XG4gKiAgfCBob3VyMTIgICAgfCAgIGggICAgfCAtICAgICAgICAgICAgfCAtICAgICAgICAgICAgICAgICB8IGggKDEgUE0pICB8IGhoICgwMSBQTSl8XG4gKiAgfCBob3VyMjQgICAgfCAgIEggICAgfCAtICAgICAgICAgICAgfCAtICAgICAgICAgICAgICAgICB8IEggKDEzKSAgICB8IEhIICgxMykgICB8XG4gKiAgfCBtaW51dGUgICAgfCAgIG0gICAgfCAtICAgICAgICAgICAgfCAtICAgICAgICAgICAgICAgICB8IG0gKDUpICAgICB8IG1tICgwNSkgICB8XG4gKiAgfCBzZWNvbmQgICAgfCAgIHMgICAgfCAtICAgICAgICAgICAgfCAtICAgICAgICAgICAgICAgICB8IHMgKDkpICAgICB8IHNzICgwOSkgICB8XG4gKiAgfCB0aW1lem9uZSAgfCAgIHogICAgfCAtICAgICAgICAgICAgfCB6IChQYWNpZmljIFN0YW5kYXJkIFRpbWU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Ghyb3cgbmV3IEludmFsaWRQaXBlQXJndW1lbnRFeGNlcHRpb24oRGF0ZVBpcGUsIHZhbHVlKTtcbiAgICB9XG5cbiAgICBpZiAoaXNOdW1iZXIodmFsdWUpKSB7XG4gICAgICB2YWx1ZSA9IERhdGVXcmFwcGVyLmZyb21NaWxsaXModmFsdWUpO1xuICAgIH1cbiAgICBpZiAoU3RyaW5nTWFwV3JhcHBlci5jb250YWlucyhEYXRlUGlwZS5fQUxJQVNFUywgcGF0dGVybikpIHtcbiAgICAgIHBhdHRlcm4gPSA8c3RyaW5nPlN0cmluZ01hcFdyYXBwZXIuZ2V0KERhdGVQaXBlLl9BTElBU0VTLCBwYXR0ZXJuKTtcbiAgICB9XG4gICAgcmV0dXJuIERhdGVGb3JtYXR0ZXIuZm9ybWF0KHZhbHVlLCBkZWZhdWx0TG9jYWxlLCBwYXR0ZXJuKTtcbiAgfVxuXG4gIHN1cHBvcnRzKG9iajogYW55KTogYm9vbGVhbiB7IHJldHVybiBpc0RhdGUob2JqKSB8fCBpc051bWJlcihvYmopOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n(function (NumberFormatStyle) {\r\n NumberFormatStyle[NumberFormatStyle[\"Decimal\"] = 0] = \"Decimal\";\r\n NumberFormatStyle[NumberFormatStyle[\"Percent\"] = 1] = \"Percent\";\r\n NumberFormatStyle[NumberFormatStyle[\"Currency\"] = 2] = \"Currency\";\r\n})(exports.NumberFormatStyle || (exports.NumberFormatStyle = {}));\r\nvar NumberFormatStyle = exports.NumberFormatStyle;\r\nvar NumberFormatter = (function () {\r\n function NumberFormatter() {\r\n }\r\n NumberFormatter.format = function (num, locale, style, _a) {\r\n var _b = _a === void 0 ? {} : _a, _c = _b.minimumIntegerDigits, minimumIntegerDigits = _c === void 0 ? 1 : _c, _d = _b.minimumFractionDigits, minimumFractionDigits = _d === void 0 ? 0 : _d, _e = _b.maximumFractionDigits, maximumFractionDigits = _e === void 0 ? 3 : _e, currency = _b.currency, _f = _b.currencyAsSymbol, currencyAsSymbol = _f === void 0 ? false : _f;\r\n var intlOptions = {\r\n minimumIntegerDigits: minimumIntegerDigits,\r\n minimumFractionDigits: minimumFractionDigits,\r\n maximumFractionDigits: maximumFractionDigits\r\n };\r\n intlOptions.style = NumberFormatStyle[style].toLowerCase();\r\n if (style == NumberFormatStyle.Currency) {\r\n intlOptions.currency = currency;\r\n intlOptions.currencyDisplay = currencyAsSymbol ? 'symbol' : 'code';\r\n }\r\n return new Intl.NumberFormat(locale, intlOptions).format(num);\r\n };\r\n return NumberFormatter;\r\n}());\r\nexports.NumberFormatter = NumberFormatter;\r\nfunction digitCondition(len) {\r\n return len == 2 ? '2-digit' : 'numeric';\r\n}\r\nfunction nameCondition(len) {\r\n return len < 4 ? 'short' : 'long';\r\n}\r\nfunction extractComponents(pattern) {\r\n var ret = {};\r\n var i = 0, j;\r\n while (i < pattern.length) {\r\n j = i;\r\n while (j < pattern.length && pattern[j] == pattern[i])\r\n j++;\r\n var len = j - i;\r\n switch (pattern[i]) {\r\n case 'G':\r\n ret.era = nameCondition(len);\r\n break;\r\n case 'y':\r\n ret.year = digitCondition(len);\r\n break;\r\n case 'M':\r\n if (len >= 3)\r\n ret.month = nameCondition(len);\r\n else\r\n ret.month = digitCondition(len);\r\n break;\r\n case 'd':\r\n ret.day = digitCondition(len);\r\n break;\r\n case 'E':\r\n ret.weekday = nameCondition(len);\r\n break;\r\n case 'j':\r\n ret.hour = digitCondition(len);\r\n break;\r\n case 'h':\r\n ret.hour = digitCondition(len);\r\n ret.hour12 = true;\r\n break;\r\n case 'H':\r\n ret.hour = digitCondition(len);\r\n ret.hour12 = false;\r\n break;\r\n case 'm':\r\n ret.minute = digitCondition(len);\r\n break;\r\n case 's':\r\n ret.second = digitCondition(len);\r\n break;\r\n case 'z':\r\n ret.timeZoneName = 'long';\r\n break;\r\n case 'Z':\r\n ret.timeZoneName = 'short';\r\n break;\r\n }\r\n i = j;\r\n }\r\n return ret;\r\n}\r\nvar dateFormatterCache = new Map();\r\nvar DateFormatter = (function () {\r\n function DateFormatter() {\r\n }\r\n DateFormatter.format = function (date, locale, pattern) {\r\n var key = locale + pattern;\r\n if (dateFormatterCache.has(key)) {\r\n return dateFormatterCache.get(key).format(date);\r\n }\r\n var formatter = new Intl.DateTimeFormat(locale, extractComponents(pattern));\r\n dateFormatterCache.set(key, formatter);\r\n return formatter.format(date);\r\n };\r\n return DateFormatter;\r\n}());\r\nexports.DateFormatter = DateFormatter;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50bC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9mYWNhZGUvaW50bC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBMkNBLFdBQVksaUJBQWlCO0lBQzNCLCtEQUFPLENBQUE7SUFDUCwrREFBTyxDQUFBO0lBQ1AsaUVBQVEsQ0FBQTtBQUNWLENBQUMsRUFKVyx5QkFBaUIsS0FBakIseUJBQWlCLFFBSTVCO0FBSkQsSUFBWSxpQkFBaUIsR0FBakIseUJBSVgsQ0FBQTtBQUVEO0lBQUE7SUFzQkEsQ0FBQztJQXJCUSxzQkFBTSxHQUFiLFVBQWMsR0FBVyxFQUFFLE1BQWMsRUFBRSxLQUF3QixFQUNyRCxFQU9NO1lBUE4sNEJBT00sRUFQTCw0QkFBd0IsRUFBeEIsNkNBQXdCLEVBQUUsNkJBQXlCLEVBQXpCLDhDQUF5QixFQUFFLDZCQUF5QixFQUF6Qiw4Q0FBeUIsRUFDOUUsc0JBQVEsRUFBRSx3QkFBd0IsRUFBeEIsNkNBQXdCO1FBTy9DLElBQUksV0FBVyxHQUE2QjtZQUMxQyxvQkFBb0IsRUFBRSxvQkFBb0I7WUFDMUMscUJBQXFCLEVBQUUscU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cbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdNJzpcbiAgICAgICAgaWYgKGxlbiA+PSAzKVxuICAgICAgICAgIHJldC5tb250aCA9IG5hbWVDb25kaXRpb24obGVuKTtcbiAgICAgICAgZWxzZVxuICAgICAgICAgIHJldC5tb250aCA9IGRpZ2l0Q29uZGl0aW9uKGxlbik7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnZCc6XG4gICAgICAgIHJldC5kYXkgPSBkaWdpdENvbmRpdGlvbihsZW4pO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ0UnOlxuICAgICAgICByZXQud2Vla2RheSA9IG5hbWVDb25kaXRpb24obGVuKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdqJzpcbiAgICAgICAgcmV0LmhvdXIgPSBkaWdpdENvbmRpdGlvbihsZW4pO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ2gnOlxuICAgICAgICByZXQuaG91ciA9IGRpZ2l0Q29uZGl0aW9uKGxlbik7XG4gICAgICAgIHJldC5ob3VyMTIgPSB0cnVlO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ0gnOlxuICAgICAgICByZXQuaG91ciA9IGRpZ2l0Q29uZGl0aW9uKGxlbik7XG4gICAgICAgIHJldC5ob3VyMTIgPSBmYWxzZTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdtJzpcbiAgICAgICAgcmV0Lm1pbnV0ZSA9IGRpZ2l0Q29uZGl0aW9uKGxlbik7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAncyc6XG4gICAgICAgIHJldC5zZWNvbmQgPSBkaWdpdENvbmRpdGlvbihsZW4pO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ3onOlxuICAgICAgICByZXQudGltZVpvbmVOYW1lID0gJ2xvbmcnO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ1onOlxuICAgICAgICByZXQudGltZVpvbmVOYW1lID0gJ3Nob3J0JztcbiAgICAgICAgYnJlYWs7XG4gICAgfVxuICAgIGkgPSBqO1xuICB9XG4gIHJldHVybiByZXQ7XG59XG5cbnZhciBkYXRlRm9ybWF0dGVyQ2FjaGU6IE1hcDxzdHJpbmcsIEludGwuRGF0ZVRpbWVGb3JtYXQ+ID0gbmV3IE1hcDxzdHJpbmcsIEludGwuRGF0ZVRpbWVGb3JtYXQ+KCk7XG5cbmV4cG9ydCBjbGFzcyBEYXRlRm9ybWF0dGVyIHtcbiAgc3RhdGljIGZvcm1hdChkYXRlOiBEYXRlLCBsb2NhbGU6IHN0cmluZywgcGF0dGVybjogc3RyaW5nKTogc3RyaW5nIHtcbiAgICB2YXIga2V5ID0gbG9jYWxlICsgcGF0dGVybjtcbiAgICBpZiAoZGF0ZUZvcm1hdHRlckNhY2hlLmhhcyhrZXkpKSB7XG4gICAgICByZXR1cm4gZGF0ZUZvcm1hdHRlckNhY2hlLmdldChrZXkpLmZvcm1hdChkYXRlKTtcbiAgICB9XG4gICAgdmFyIGZvcm1hdHRlciA9IG5ldyBJbnRsLkRhdGVUaW1lRm9ybWF0KGxvY2FsZSwgZXh0cmFjdENvbXBvbmVudHMocGF0dGVybikpO1xuICAgIGRhdGVGb3JtYXR0ZXJDYWNoZS5zZXQoa2V5LCBmb3JtYXR0ZXIpO1xuICAgIHJldHVybiBmb3JtYXR0ZXIuZm9ybWF0KGRhdGUpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar intl_1 = require('angular2/src/facade/intl');\r\nvar core_1 = require('angular2/core');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\nvar defaultLocale = 'en-US';\r\nvar _re = lang_1.RegExpWrapper.create('^(\\\\d+)?\\\\.((\\\\d+)(\\\\-(\\\\d+))?)?$');\r\n/**\r\n * Internal base class for numeric pipes.\r\n */\r\nvar NumberPipe = (function () {\r\n function NumberPipe() {\r\n }\r\n /** @internal */\r\n NumberPipe._format = function (value, style, digits, currency, currencyAsSymbol) {\r\n if (currency === void 0) { currency = null; }\r\n if (currencyAsSymbol === void 0) { currencyAsSymbol = false; }\r\n if (lang_1.isBlank(value))\r\n return null;\r\n if (!lang_1.isNumber(value)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(NumberPipe, value);\r\n }\r\n var minInt = 1, minFraction = 0, maxFraction = 3;\r\n if (lang_1.isPresent(digits)) {\r\n var parts = lang_1.RegExpWrapper.firstMatch(_re, digits);\r\n if (lang_1.isBlank(parts)) {\r\n throw new exceptions_1.BaseException(digits + \" is not a valid digit info for number pipes\");\r\n }\r\n if (lang_1.isPresent(parts[1])) {\r\n minInt = lang_1.NumberWrapper.parseIntAutoRadix(parts[1]);\r\n }\r\n if (lang_1.isPresent(parts[3])) {\r\n minFraction = lang_1.NumberWrapper.parseIntAutoRadix(parts[3]);\r\n }\r\n if (lang_1.isPresent(parts[5])) {\r\n maxFraction = lang_1.NumberWrapper.parseIntAutoRadix(parts[5]);\r\n }\r\n }\r\n return intl_1.NumberFormatter.format(value, defaultLocale, style, {\r\n minimumIntegerDigits: minInt,\r\n minimumFractionDigits: minFraction,\r\n maximumFractionDigits: maxFraction,\r\n currency: currency,\r\n currencyAsSymbol: currencyAsSymbol\r\n });\r\n };\r\n NumberPipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], NumberPipe);\r\n return NumberPipe;\r\n}());\r\nexports.NumberPipe = NumberPipe;\r\n/**\r\n * WARNING: this pipe uses the Internationalization API.\r\n * Therefore it is only reliable in Chrome and Opera browsers.\r\n *\r\n * Formats a number as local text. i.e. group sizing and separator and other locale-specific\r\n * configurations are based on the active locale.\r\n *\r\n * ### Usage\r\n *\r\n * expression | number[:digitInfo]\r\n *\r\n * where `expression` is a number and `digitInfo` has the following format:\r\n *\r\n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}\r\n *\r\n * - minIntegerDigits is the minimum number of integer digits to use. Defaults to 1.\r\n * - minFractionDigits is the minimum number of digits after fraction. Defaults to 0.\r\n * - maxFractionDigits is the maximum number of digits after fraction. Defaults to 3.\r\n *\r\n * For more information on the acceptable range for each of these numbers and other\r\n * details see your native internationalization library.\r\n *\r\n * ### Example\r\n *\r\n * {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='NumberPipe'}\r\n */\r\nvar DecimalPipe = (function (_super) {\r\n __extends(DecimalPipe, _super);\r\n function DecimalPipe() {\r\n _super.apply(this, arguments);\r\n }\r\n DecimalPipe.prototype.transform = function (value, digits) {\r\n if (digits === void 0) { digits = null; }\r\n return NumberPipe._format(value, intl_1.NumberFormatStyle.Decimal, digits);\r\n };\r\n DecimalPipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'number' }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], DecimalPipe);\r\n return DecimalPipe;\r\n}(NumberPipe));\r\nexports.DecimalPipe = DecimalPipe;\r\n/**\r\n * WARNING: this pipe uses the Internationalization API.\r\n * Therefore it is only reliable in Chrome and Opera browsers.\r\n *\r\n * Formats a number as local percent.\r\n *\r\n * ### Usage\r\n *\r\n * expression | percent[:digitInfo]\r\n *\r\n * For more information about `digitInfo` see {@link DecimalPipe}\r\n *\r\n * ### Example\r\n *\r\n * {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='PercentPipe'}\r\n */\r\nvar PercentPipe = (function (_super) {\r\n __extends(PercentPipe, _super);\r\n function PercentPipe() {\r\n _super.apply(this, arguments);\r\n }\r\n PercentPipe.prototype.transform = function (value, digits) {\r\n if (digits === void 0) { digits = null; }\r\n return NumberPipe._format(value, intl_1.NumberFormatStyle.Percent, digits);\r\n };\r\n PercentPipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'percent' }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], PercentPipe);\r\n return PercentPipe;\r\n}(NumberPipe));\r\nexports.PercentPipe = PercentPipe;\r\n/**\r\n * WARNING: this pipe uses the Internationalization API.\r\n * Therefore it is only reliable in Chrome and Opera browsers.\r\n *\r\n * Formats a number as local currency.\r\n *\r\n * ### Usage\r\n *\r\n * expression | currency[:currencyCode[:symbolDisplay[:digitInfo]]]\r\n *\r\n * where `currencyCode` is the ISO 4217 currency code, such as \"USD\" for the US dollar and\r\n * \"EUR\" for the euro. `symbolDisplay` is a boolean indicating whether to use the currency\r\n * symbol (e.g. $) or the currency code (e.g. USD) in the output. The default for this value\r\n * is `false`.\r\n * For more information about `digitInfo` see {@link DecimalPipe}\r\n *\r\n * ### Example\r\n *\r\n * {@example core/pipes/ts/number_pipe/number_pipe_example.ts region='CurrencyPipe'}\r\n */\r\nvar CurrencyPipe = (function (_super) {\r\n __extends(CurrencyPipe, _super);\r\n function CurrencyPipe() {\r\n _super.apply(this, arguments);\r\n }\r\n CurrencyPipe.prototype.transform = function (value, currencyCode, symbolDisplay, digits) {\r\n if (currencyCode === void 0) { currencyCode = 'USD'; }\r\n if (symbolDisplay === void 0) { symbolDisplay = false; }\r\n if (digits === void 0) { digits = null; }\r\n return NumberPipe._format(value, intl_1.NumberFormatStyle.Currency, digits, currencyCode, symbolDisplay);\r\n };\r\n CurrencyPipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'currency' }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], CurrencyPipe);\r\n return CurrencyPipe;\r\n}(NumberPipe));\r\nexports.CurrencyPipe = CurrencyPipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyX3BpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL3BpcGVzL251bWJlcl9waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHFCQVNPLDBCQUEwQixDQUFDLENBQUE7QUFDbEMsMkJBQThDLGdDQUFnQyxDQUFDLENBQUE7QUFDL0UscUJBQWlELDBCQUEwQixDQUFDLENBQUE7QUFDNUUscUJBQTRELGVBQWUsQ0FBQyxDQUFBO0FBRTVFLGdEQUEyQyxtQ0FBbUMsQ0FBQyxDQUFBO0FBRS9FLElBQUksYUFBYSxHQUFXLE9BQU8sQ0FBQztBQUNwQyxJQUFJLEdBQUcsR0FBRyxvQkFBYSxDQUFDLE1BQU0sQ0FBQyxtQ0FBbUMsQ0FBQyxDQUFDO0FBRXBFOztHQUVHO0FBR0g7SUFBQTtJQWdDQSxDQUFDO0lBL0JDLGdCQUFnQjtJQUNULGtCQUFPLEdBQWQsVUFBZSxLQUFhLEVBQUUsS0FBd0IsRUFBRSxNQUFjLEVBQUUsU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lxuICogRm9yIG1vcmUgaW5mb3JtYXRpb24gYWJvdXQgYGRpZ2l0SW5mb2Agc2VlIHtAbGluayBEZWNpbWFsUGlwZX1cbiAqXG4gKiAjIyMgRXhhbXBsZVxuICpcbiAqIHtAZXhhbXBsZSBjb3JlL3BpcGVzL3RzL251bWJlcl9waXBlL251bWJlcl9waXBlX2V4YW1wbGUudHMgcmVnaW9uPSdDdXJyZW5jeVBpcGUnfVxuICovXG5AQ09OU1QoKVxuQFBpcGUoe25hbWU6ICdjdXJyZW5jeSd9KVxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEN1cnJlbmN5UGlwZSBleHRlbmRzIE51bWJlclBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgdHJhbnNmb3JtKHZhbHVlOiBhbnksIGN1cnJlbmN5Q29kZTogc3RyaW5nID0gJ1VTRCcsIHN5bWJvbERpc3BsYXk6IGJvb2xlYW4gPSBmYWxzZSxcbiAgICAgICAgICAgIGRpZ2l0czogc3RyaW5nID0gbnVsbCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIE51bWJlclBpcGUuX2Zvcm1hdCh2YWx1ZSwgTnVtYmVyRm9ybWF0U3R5bGUuQ3VycmVuY3ksIGRpZ2l0cywgY3VycmVuY3lDb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3ltYm9sRGlzcGxheSk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar core_1 = require('angular2/core');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\n/**\r\n * Creates a new String with some or all of the matches of a pattern replaced by\r\n * a replacement.\r\n *\r\n * The pattern to be matched is specified by the 'pattern' parameter.\r\n *\r\n * The replacement to be set is specified by the 'replacement' parameter.\r\n *\r\n * An optional 'flags' parameter can be set.\r\n *\r\n * ### Usage\r\n *\r\n * expression | replace:pattern:replacement\r\n *\r\n * All behavior is based on the expected behavior of the JavaScript API\r\n * String.prototype.replace() function.\r\n *\r\n * Where the input expression is a [String] or [Number] (to be treated as a string),\r\n * the `pattern` is a [String] or [RegExp],\r\n * the 'replacement' is a [String] or [Function].\r\n *\r\n * --Note--: The 'pattern' parameter will be converted to a RegExp instance. Make sure to escape the\r\n * string properly if you are matching for regular expression special characters like parenthesis,\r\n * brackets etc.\r\n */\r\nvar ReplacePipe = (function () {\r\n function ReplacePipe() {\r\n }\r\n ReplacePipe.prototype.transform = function (value, pattern, replacement) {\r\n if (lang_1.isBlank(value)) {\r\n return value;\r\n }\r\n if (!this._supportedInput(value)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(ReplacePipe, value);\r\n }\r\n var input = value.toString();\r\n if (!this._supportedPattern(pattern)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(ReplacePipe, pattern);\r\n }\r\n if (!this._supportedReplacement(replacement)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(ReplacePipe, replacement);\r\n }\r\n // template fails with literal RegExp e.g /pattern/igm\r\n // var rgx = pattern instanceof RegExp ? pattern : RegExpWrapper.create(pattern);\r\n if (lang_1.isFunction(replacement)) {\r\n var rgxPattern = lang_1.isString(pattern) ? lang_1.RegExpWrapper.create(pattern) : pattern;\r\n return lang_1.StringWrapper.replaceAllMapped(input, rgxPattern, replacement);\r\n }\r\n if (pattern instanceof RegExp) {\r\n // use the replaceAll variant\r\n return lang_1.StringWrapper.replaceAll(input, pattern, replacement);\r\n }\r\n return lang_1.StringWrapper.replace(input, pattern, replacement);\r\n };\r\n ReplacePipe.prototype._supportedInput = function (input) { return lang_1.isString(input) || lang_1.isNumber(input); };\r\n ReplacePipe.prototype._supportedPattern = function (pattern) {\r\n return lang_1.isString(pattern) || pattern instanceof RegExp;\r\n };\r\n ReplacePipe.prototype._supportedReplacement = function (replacement) {\r\n return lang_1.isString(replacement) || lang_1.isFunction(replacement);\r\n };\r\n ReplacePipe = __decorate([\r\n core_1.Pipe({ name: 'replace' }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], ReplacePipe);\r\n return ReplacePipe;\r\n}());\r\nexports.ReplacePipe = ReplacePipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGFjZV9waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9waXBlcy9yZXBsYWNlX3BpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHFCQU9PLDBCQUEwQixDQUFDLENBQUE7QUFDbEMscUJBQThDLGVBQWUsQ0FBQyxDQUFBO0FBQzlELGdEQUEyQyxtQ0FBbUMsQ0FBQyxDQUFBO0FBRS9FOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0F3Qkc7QUFJSDtJQUFBO0lBMkNBLENBQUM7SUExQ0MsK0JBQVMsR0FBVCxVQUFVLEtBQVUsRUFBRSxPQUF3QixFQUFFLFdBQThCO1FBQzVFL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cblxuICBwcml2YXRlIF9zdXBwb3J0ZWRJbnB1dChpbnB1dDogYW55KTogYm9vbGVhbiB7IHJldHVybiBpc1N0cmluZyhpbnB1dCkgfHwgaXNOdW1iZXIoaW5wdXQpOyB9XG5cbiAgcHJpdmF0ZSBfc3VwcG9ydGVkUGF0dGVybihwYXR0ZXJuOiBhbnkpOiBib29sZWFuIHtcbiAgICByZXR1cm4gaXNTdHJpbmcocGF0dGVybikgfHwgcGF0dGVybiBpbnN0YW5jZW9mIFJlZ0V4cDtcbiAgfVxuXG4gIHByaXZhdGUgX3N1cHBvcnRlZFJlcGxhY2VtZW50KHJlcGxhY2VtZW50OiBhbnkpOiBib29sZWFuIHtcbiAgICByZXR1cm4gaXNTdHJpbmcocmVwbGFjZW1lbnQpIHx8IGlzRnVuY3Rpb24ocmVwbGFjZW1lbnQpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar core_1 = require('angular2/core');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\nvar interpolationExp = lang_1.RegExpWrapper.create('#');\r\n/**\r\n *\r\n * Maps a value to a string that pluralizes the value properly.\r\n *\r\n * ## Usage\r\n *\r\n * expression | i18nPlural:mapping\r\n *\r\n * where `expression` is a number and `mapping` is an object that indicates the proper text for\r\n * when the `expression` evaluates to 0, 1, or some other number. You can interpolate the actual\r\n * value into the text using the `#` sign.\r\n *\r\n * ## Example\r\n *\r\n * ```\r\n * <div>\r\n * {{ messages.length | i18nPlural: messageMapping }}\r\n * </div>\r\n *\r\n * class MyApp {\r\n * messages: any[];\r\n * messageMapping: any = {\r\n * '=0': 'No messages.',\r\n * '=1': 'One message.',\r\n * 'other': '# messages.'\r\n * }\r\n * ...\r\n * }\r\n * ```\r\n *\r\n */\r\nvar I18nPluralPipe = (function () {\r\n function I18nPluralPipe() {\r\n }\r\n I18nPluralPipe.prototype.transform = function (value, pluralMap) {\r\n var key;\r\n var valueStr;\r\n if (!lang_1.isStringMap(pluralMap)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(I18nPluralPipe, pluralMap);\r\n }\r\n key = value === 0 || value === 1 ? \"=\" + value : 'other';\r\n valueStr = lang_1.isPresent(value) ? value.toString() : '';\r\n return lang_1.StringWrapper.replaceAll(pluralMap[key], interpolationExp, valueStr);\r\n };\r\n I18nPluralPipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'i18nPlural', pure: true }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], I18nPluralPipe);\r\n return I18nPluralPipe;\r\n}());\r\nexports.I18nPluralPipe = I18nPluralPipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaTE4bl9wbHVyYWxfcGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vcGlwZXMvaTE4bl9wbHVyYWxfcGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEscUJBTU8s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RyaW5nV3JhcHBlci5yZXBsYWNlQWxsKHBsdXJhbE1hcFtrZXldLCBpbnRlcnBvbGF0aW9uRXhwLCB2YWx1ZVN0cik7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar InvalidPipeArgumentException = (function (_super) {\r\n __extends(InvalidPipeArgumentException, _super);\r\n function InvalidPipeArgumentException(type, value) {\r\n _super.call(this, \"Invalid argument '\" + value + \"' for pipe '\" + lang_1.stringify(type) + \"'\");\r\n }\r\n return InvalidPipeArgumentException;\r\n}(exceptions_1.BaseException));\r\nexports.InvalidPipeArgumentException = InvalidPipeArgumentException;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZF9waXBlX2FyZ3VtZW50X2V4Y2VwdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vcGlwZXMvaW52YWxpZF9waXBlX2FyZ3VtZW50X2V4Y2VwdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxxQkFBcUMsMEJBQTBCLENBQUMsQ0FBQTtBQUNoRSwyQkFBOEMsZ0NBQWdDLENBQUMsQ0FBQTtBQUUvRTtJQUFrRCxnREFBYTtJQUM3RCxzQ0FBWSxJQUFVLEVBQUUsS0FBYTtRQUNuQyxrQkFBTSx1QkFBcUIsS0FBSyxvQkFBZSxnQkFBUyxDQUFDLElBQUksQ0FBQyxNQUFHLENBQUMsQ0FBQztJQUNyRSxDQUFDO0lBQ0gsbUNBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBa0QsMEJBQWEsR0FJOUQ7QUFKWSxvQ0FBNEIsK0JBSXhDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NPTlNULCBUeXBlLCBzdHJpbmdpZnl9IGZyb20gJ2FuZ3VsYXIyL3NyYy9mYWNhZGUvbGFuZyc7XG5pbXBvcnQge0Jhc2VFeGNlcHRpb24sIFdyYXBwZWRFeGNlcHRpb259IGZyb20gJ2FuZ3VsYXIyL3NyYy9mYWNhZGUvZXhjZXB0aW9ucyc7XG5cbmV4cG9ydCBjbGFzcyBJbnZhbGlkUGlwZUFyZ3VtZW50RXhjZXB0aW9uIGV4dGVuZHMgQmFzZUV4Y2VwdGlvbiB7XG4gIGNvbnN0cnVjdG9yKHR5cGU6IFR5cGUsIHZhbHVlOiBPYmplY3QpIHtcbiAgICBzdXBlcihgSW52YWxpZCBhcmd1bWVudCAnJHt2YWx1ZX0nIGZvciBwaXBlICcke3N0cmluZ2lmeSh0eXBlKX0nYCk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar core_1 = require('angular2/core');\r\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\r\n/**\r\n *\r\n * Generic selector that displays the string that matches the current value.\r\n *\r\n * ## Usage\r\n *\r\n * expression | i18nSelect:mapping\r\n *\r\n * where `mapping` is an object that indicates the text that should be displayed\r\n * for different values of the provided `expression`.\r\n *\r\n * ## Example\r\n *\r\n * ```\r\n * <div>\r\n * {{ gender | i18nSelect: inviteMap }}\r\n * </div>\r\n *\r\n * class MyApp {\r\n * gender: string = 'male';\r\n * inviteMap: any = {\r\n * 'male': 'Invite her.',\r\n * 'female': 'Invite him.',\r\n * 'other': 'Invite them.'\r\n * }\r\n * ...\r\n * }\r\n * ```\r\n */\r\nvar I18nSelectPipe = (function () {\r\n function I18nSelectPipe() {\r\n }\r\n I18nSelectPipe.prototype.transform = function (value, mapping) {\r\n if (!lang_1.isStringMap(mapping)) {\r\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(I18nSelectPipe, mapping);\r\n }\r\n return collection_1.StringMapWrapper.contains(mapping, value) ? mapping[value] : mapping['other'];\r\n };\r\n I18nSelectPipe = __decorate([\r\n lang_1.CONST(),\r\n core_1.Pipe({ name: 'i18nSelect', pure: true }),\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], I18nSelectPipe);\r\n return I18nSelectPipe;\r\n}());\r\nexports.I18nSelectPipe = I18nSelectPipe;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaTE4bl9zZWxlY3RfcGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vcGlwZXMvaTE4bl9zZWxlY3RfcGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcH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HVyZTogdHJ1ZX0pXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgSTE4blNlbGVjdFBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgdHJhbnNmb3JtKHZhbHVlOiBzdHJpbmcsIG1hcHBpbmc6IHtba2V5OiBzdHJpbmddOiBzdHJpbmd9KTogc3RyaW5nIHtcbiAgICBpZiAoIWlzU3RyaW5nTWFwKG1hcHBpbmcpKSB7XG4gICAgICB0aHJvdyBuZXcgSW52YWxpZFBpcGVBcmd1bWVudEV4Y2VwdGlvbihJMThuU2VsZWN0UGlwZSwgbWFwcGluZyk7XG4gICAgfVxuXG4gICAgcmV0dXJuIFN0cmluZ01hcFdyYXBwZXIuY29udGFpbnMobWFwcGluZywgdmFsdWUpID8gbWFwcGluZ1t2YWx1ZV0gOiBtYXBwaW5nWydvdGhlciddO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n/**\r\n * @module\r\n * @description\r\n * This module provides a set of common Pipes.\r\n */\r\nvar async_pipe_1 = require('./async_pipe');\r\nvar uppercase_pipe_1 = require('./uppercase_pipe');\r\nvar lowercase_pipe_1 = require('./lowercase_pipe');\r\nvar json_pipe_1 = require('./json_pipe');\r\nvar slice_pipe_1 = require('./slice_pipe');\r\nvar date_pipe_1 = require('./date_pipe');\r\nvar number_pipe_1 = require('./number_pipe');\r\nvar replace_pipe_1 = require('./replace_pipe');\r\nvar i18n_plural_pipe_1 = require('./i18n_plural_pipe');\r\nvar i18n_select_pipe_1 = require('./i18n_select_pipe');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * A collection of Angular core pipes that are likely to be used in each and every\r\n * application.\r\n *\r\n * This collection can be used to quickly enumerate all the built-in pipes in the `pipes`\r\n * property of the `@Component` decorator.\r\n */\r\nexports.COMMON_PIPES = lang_1.CONST_EXPR([\r\n async_pipe_1.AsyncPipe,\r\n uppercase_pipe_1.UpperCasePipe,\r\n lowercase_pipe_1.LowerCasePipe,\r\n json_pipe_1.JsonPipe,\r\n slice_pipe_1.SlicePipe,\r\n number_pipe_1.DecimalPipe,\r\n number_pipe_1.PercentPipe,\r\n number_pipe_1.CurrencyPipe,\r\n date_pipe_1.DatePipe,\r\n replace_pipe_1.ReplacePipe,\r\n i18n_plural_pipe_1.I18nPluralPipe,\r\n i18n_select_pipe_1.I18nSelectPipe\r\n]);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uX3BpcGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9waXBlcy9jb21tb25fcGlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7O0dBSUc7QUFDSCwyQkFBd0IsY0FBYyxDQUFDLENBQUE7QUFDdkMsK0JBQTRCLGtCQUFrQixDQUFDLENBQUE7QUFDL0MsK0JBQTRCLGtCQUFrQixDQUFDLENBQUE7QUFDL0MsMEJBQXVCLGFBQWEsQ0FBQyxDQUFBO0FBQ3JDLDJCQUF3QixjQUFjLENBQUMsQ0FBQTtBQUN2QywwQkFBdUIsYUFBYSxDQUFDLENBQUE7QUFDckMsNEJBQXFELGVBQWUsQ0FBQyxDQUFBO0FBQ3JFLDZCQUEwQixnQkFBZ0IsQ0FBQyxDQUFBO0FBQzNDLGlDQUE2QixvQkFBb0IsQ0FBQyxDQUFBO0FBQ2xELGlDQUE2QixvQkFBb0IsQ0FBQyxDQUFBO0FBQ2xELHFCQUF5QiwwQkFBMEIsQ0FBQyxDQUFBO0FBRXBEOzs7Ozs7R0FNRztBQUNVLG9CQUFZLEdBQUcsaUJBQVUsQ0FBQztJQUNyQyxzQkFBUztJQUNULDhCQUFhO0lBQ2IsOEJBQWE7SUFDYixvQkFBUT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IHRvIGJlIHVzZWQgaW4gZWFjaCBhbmQgZXZlcnlcbiAqIGFwcGxpY2F0aW9uLlxuICpcbiAqIFRoaXMgY29sbGVjdGlvbiBjYW4gYmUgdXNlZCB0byBxdWlja2x5IGVudW1lcmF0ZSBhbGwgdGhlIGJ1aWx0LWluIHBpcGVzIGluIHRoZSBgcGlwZXNgXG4gKiBwcm9wZXJ0eSBvZiB0aGUgYEBDb21wb25lbnRgIGRlY29yYXRvci5cbiAqL1xuZXhwb3J0IGNvbnN0IENPTU1PTl9QSVBFUyA9IENPTlNUX0VYUFIoW1xuICBBc3luY1BpcGUsXG4gIFVwcGVyQ2FzZVBpcGUsXG4gIExvd2VyQ2FzZVBpcGUsXG4gIEpzb25QaXBlLFxuICBTbGljZVBpcGUsXG4gIERlY2ltYWxQaXBlLFxuICBQZXJjZW50UGlwZSxcbiAgQ3VycmVuY3lQaXBlLFxuICBEYXRlUGlwZSxcbiAgUmVwbGFjZVBpcGUsXG4gIEkxOG5QbHVyYWxQaXBlLFxuICBJMThuU2VsZWN0UGlwZVxuXSk7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';/**\r\n * @module\r\n * @description\r\n * This module provides a set of common Pipes.\r\n */\r\n\"use strict\";\r\nvar async_pipe_1 = require('./pipes/async_pipe');\r\nexports.AsyncPipe = async_pipe_1.AsyncPipe;\r\nvar date_pipe_1 = require('./pipes/date_pipe');\r\nexports.DatePipe = date_pipe_1.DatePipe;\r\nvar json_pipe_1 = require('./pipes/json_pipe');\r\nexports.JsonPipe = json_pipe_1.JsonPipe;\r\nvar slice_pipe_1 = require('./pipes/slice_pipe');\r\nexports.SlicePipe = slice_pipe_1.SlicePipe;\r\nvar lowercase_pipe_1 = require('./pipes/lowercase_pipe');\r\nexports.LowerCasePipe = lowercase_pipe_1.LowerCasePipe;\r\nvar number_pipe_1 = require('./pipes/number_pipe');\r\nexports.NumberPipe = number_pipe_1.NumberPipe;\r\nexports.DecimalPipe = number_pipe_1.DecimalPipe;\r\nexports.PercentPipe = number_pipe_1.PercentPipe;\r\nexports.CurrencyPipe = number_pipe_1.CurrencyPipe;\r\nvar uppercase_pipe_1 = require('./pipes/uppercase_pipe');\r\nexports.UpperCasePipe = uppercase_pipe_1.UpperCasePipe;\r\nvar replace_pipe_1 = require('./pipes/replace_pipe');\r\nexports.ReplacePipe = replace_pipe_1.ReplacePipe;\r\nvar i18n_plural_pipe_1 = require('./pipes/i18n_plural_pipe');\r\nexports.I18nPluralPipe = i18n_plural_pipe_1.I18nPluralPipe;\r\nvar i18n_select_pipe_1 = require('./pipes/i18n_select_pipe');\r\nexports.I18nSelectPipe = i18n_select_pipe_1.I18nSelectPipe;\r\nvar common_pipes_1 = require('./pipes/common_pipes');\r\nexports.COMMON_PIPES = common_pipes_1.COMMON_PIPES;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL3BpcGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7O0dBSUc7O0FBRUgsMkJBQXdCLG9CQUFvQixDQUFDO0FBQXJDLDJDQUFxQztBQUM3QywwQkFBdUIsbUJBQW1CLENBQUM7QUFBbkMsd0NBQW1DO0FBQzNDLDBCQUF1QixtQkFBbUIsQ0FBQztBQUFuQyx3Q0FBbUM7QUFDM0MsMkJBQXdCLG9CQUFvQixDQUFDO0FBQXJDLDJDQUFxQztBQUM3QywrQkFBNEIsd0JBQXdCLENBQUM7QUFBN0MsdURBQTZDO0FBQ3JELDRCQUFpRSxxQkFBcUIsQ0FBQztBQUEvRSw4Q0FBVTtBQUFFLGdEQUFXO0FBQUUsZ0RBQVc7QUFBRSxrREFBeUM7QUFDdkYsK0JBQTRCLHdCQUF3QixDQUFD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pcGVzL2kxOG5fc2VsZWN0X3BpcGUnO1xuZXhwb3J0IHtDT01NT05fUElQRVN9IGZyb20gJy4vcGlwZXMvY29tbW9uX3BpcGVzJztcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar core_1 = require('angular2/core');\r\nvar control_container_1 = require('./control_container');\r\nvar ng_control_1 = require('./ng_control');\r\nvar control_value_accessor_1 = require('./control_value_accessor');\r\nvar shared_1 = require('./shared');\r\nvar validators_1 = require('../validators');\r\nvar controlNameBinding = lang_1.CONST_EXPR(new core_1.Provider(ng_control_1.NgControl, { useExisting: core_1.forwardRef(function () { return NgControlName; }) }));\r\n/**\r\n * Creates and binds a control with a specified name to a DOM element.\r\n *\r\n * This directive can only be used as a child of {@link NgForm} or {@link NgFormModel}.\r\n\r\n * ### Example\r\n *\r\n * In this example, we create the login and password controls.\r\n * We can work with each control separately: check its validity, get its value, listen to its\r\n * changes.\r\n *\r\n * ```\r\n * @Component({\r\n * selector: \"login-comp\",\r\n * directives: [FORM_DIRECTIVES],\r\n * template: `\r\n * <form #f=\"ngForm\" (submit)='onLogIn(f.value)'>\r\n * Login <input type='text' ngControl='login' #l=\"form\">\r\n * <div *ngIf=\"!l.valid\">Login is invalid</div>\r\n *\r\n * Password <input type='password' ngControl='password'>\r\n * <button type='submit'>Log in!</button>\r\n * </form>\r\n * `})\r\n * class LoginComp {\r\n * onLogIn(value): void {\r\n * // value === {login: 'some login', password: 'some password'}\r\n * }\r\n * }\r\n * ```\r\n *\r\n * We can also use ngModel to bind a domain model to the form.\r\n *\r\n * ```\r\n * @Component({\r\n * selector: \"login-comp\",\r\n * directives: [FORM_DIRECTIVES],\r\n * template: `\r\n * <form (submit)='onLogIn()'>\r\n * Login <input type='text' ngControl='login' [(ngModel)]=\"credentials.login\">\r\n * Password <input type='password' ngControl='password'\r\n * [(ngModel)]=\"credentials.password\">\r\n * <button type='submit'>Log in!</button>\r\n * </form>\r\n * `})\r\n * class LoginComp {\r\n * credentials: {login:string, password:string};\r\n *\r\n * onLogIn(): void {\r\n * // this.credentials.login === \"some login\"\r\n * // this.credentials.password === \"some password\"\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar NgControlName = (function (_super) {\r\n __extends(NgControlName, _super);\r\n function NgControlName(_parent, _validators, _asyncValidators, valueAccessors) {\r\n _super.call(this);\r\n this._parent = _parent;\r\n this._validators = _validators;\r\n this._asyncValidators = _asyncValidators;\r\n /** @internal */\r\n this.update = new async_1.EventEmitter();\r\n this._added = false;\r\n this.valueAccessor = shared_1.selectValueAccessor(this, valueAccessors);\r\n }\r\n NgControlName.prototype.ngOnChanges = function (changes) {\r\n if (!this._added) {\r\n this.formDirective.addControl(this);\r\n this._added = true;\r\n }\r\n if (shared_1.isPropertyUpdated(changes, this.viewModel)) {\r\n this.viewModel = this.model;\r\n this.formDirective.updateModel(this, this.model);\r\n }\r\n };\r\n NgControlName.prototype.ngOnDestroy = function () { this.formDirective.removeControl(this); };\r\n NgControlName.prototype.viewToModelUpdate = function (newValue) {\r\n this.viewModel = newValue;\r\n async_1.ObservableWrapper.callEmit(this.update, newValue);\r\n };\r\n Object.defineProperty(NgControlName.prototype, \"path\", {\r\n get: function () { return shared_1.controlPath(this.name, this._parent); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlName.prototype, \"formDirective\", {\r\n get: function () { return this._parent.formDirective; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlName.prototype, \"validator\", {\r\n get: function () { return shared_1.composeValidators(this._validators); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlName.prototype, \"asyncValidator\", {\r\n get: function () { return shared_1.composeAsyncValidators(this._asyncValidators); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlName.prototype, \"control\", {\r\n get: function () { return this.formDirective.getControl(this); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgControlName = __decorate([\r\n core_1.Directive({\r\n selector: '[ngControl]',\r\n bindings: [controlNameBinding],\r\n inputs: ['name: ngControl', 'model: ngModel'],\r\n outputs: ['update: ngModelChange'],\r\n exportAs: 'ngForm'\r\n }),\r\n __param(0, core_1.Host()),\r\n __param(0, core_1.SkipSelf()),\r\n __param(1, core_1.Optional()),\r\n __param(1, core_1.Self()),\r\n __param(1, core_1.Inject(validators_1.NG_VALIDATORS)),\r\n __param(2, core_1.Optional()),\r\n __param(2, core_1.Self()),\r\n __param(2, core_1.Inject(validators_1.NG_ASYNC_VALIDATORS)),\r\n __param(3, core_1.Optional()),\r\n __param(3, core_1.Self()),\r\n __param(3, core_1.Inject(control_value_accessor_1.NG_VALUE_ACCESSOR)), \r\n __metadata('design:paramtypes', [control_container_1.ControlContainer, Array, Array, Array])\r\n ], NgControlName);\r\n return NgControlName;\r\n}(ng_control_1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= (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar core_1 = require('angular2/core');\r\nvar ng_control_1 = require('./ng_control');\r\nvar validators_1 = require('../validators');\r\nvar control_value_accessor_1 = require('./control_value_accessor');\r\nvar shared_1 = require('./shared');\r\nvar formControlBinding = lang_1.CONST_EXPR(new core_1.Provider(ng_control_1.NgControl, { useExisting: core_1.forwardRef(function () { return NgFormControl; }) }));\r\n/**\r\n * Binds an existing {@link Control} to a DOM element.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/jcQlZ2tTh22BZZ2ucNAT?p=preview))\r\n *\r\n * In this example, we bind the control to an input element. When the value of the input element\r\n * changes, the value of the control will reflect that change. Likewise, if the value of the\r\n * control changes, the input element reflects that change.\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'my-app',\r\n * template: `\r\n * <div>\r\n * <h2>NgFormControl Example</h2>\r\n * <form>\r\n * <p>Element with existing control: <input type=\"text\"\r\n * [ngFormControl]=\"loginControl\"></p>\r\n * <p>Value of existing control: {{loginControl.value}}</p>\r\n * </form>\r\n * </div>\r\n * `,\r\n * directives: [CORE_DIRECTIVES, FORM_DIRECTIVES]\r\n * })\r\n * export class App {\r\n * loginControl: Control = new Control('');\r\n * }\r\n * ```\r\n *\r\n * ### ngModel\r\n *\r\n * We can also use `ngModel` to bind a domain model to the form.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/yHMLuHO7DNgT8XvtjTDH?p=preview))\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: \"login-comp\",\r\n * directives: [FORM_DIRECTIVES],\r\n * template: \"<input type='text' [ngFormControl]='loginControl' [(ngModel)]='login'>\"\r\n * })\r\n * class LoginComp {\r\n * loginControl: Control = new Control('');\r\n * login:string;\r\n * }\r\n * ```\r\n */\r\nvar NgFormControl = (function (_super) {\r\n __extends(NgFormControl, _super);\r\n function NgFormControl(_validators, _asyncValidators, valueAccessors) {\r\n _super.call(this);\r\n this._validators = _validators;\r\n this._asyncValidators = _asyncValidators;\r\n this.update = new async_1.EventEmitter();\r\n this.valueAccessor = shared_1.selectValueAccessor(this, valueAccessors);\r\n }\r\n NgFormControl.prototype.ngOnChanges = function (changes) {\r\n if (this._isControlChanged(changes)) {\r\n shared_1.setUpControl(this.form, this);\r\n this.form.updateValueAndValidity({ emitEvent: false });\r\n }\r\n if (shared_1.isPropertyUpdated(changes, this.viewModel)) {\r\n this.form.updateValue(this.model);\r\n this.viewModel = this.model;\r\n }\r\n };\r\n Object.defineProperty(NgFormControl.prototype, \"path\", {\r\n get: function () { return []; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgFormControl.prototype, \"validator\", {\r\n get: function () { return shared_1.composeValidators(this._validators); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgFormControl.prototype, \"asyncValidator\", {\r\n get: function () { return shared_1.composeAsyncValidators(this._asyncValidators); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgFormControl.prototype, \"control\", {\r\n get: function () { return this.form; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgFormControl.prototype.viewToModelUpdate = function (newValue) {\r\n this.viewModel = newValue;\r\n async_1.ObservableWrapper.callEmit(this.update, newValue);\r\n };\r\n NgFormControl.prototype._isControlChanged = function (changes) {\r\n return collection_1.StringMapWrapper.contains(changes, \"form\");\r\n };\r\n NgFormControl = __decorate([\r\n core_1.Directive({\r\n selector: '[ngFormControl]',\r\n bindings: [formControlBinding],\r\n inputs: ['form: ngFormControl', 'model: ngModel'],\r\n outputs: ['update: ngModelChange'],\r\n exportAs: 'ngForm'\r\n }),\r\n __param(0, core_1.Optional()),\r\n __param(0, core_1.Self()),\r\n __param(0, core_1.Inject(validators_1.NG_VALIDATORS)),\r\n __param(1, core_1.Optional()),\r\n __param(1, core_1.Self()),\r\n __param(1, core_1.Inject(validators_1.NG_ASYNC_VALIDATORS)),\r\n __param(2, core_1.Optional()),\r\n __param(2, core_1.Self()),\r\n __param(2, core_1.Inject(control_value_accessor_1.NG_VALUE_ACCESSOR)), \r\n __metadata('design:paramtypes', [Array, Array, Array])\r\n ], NgFormControl);\r\n return NgFormControl;\r\n}(ng_control_1.NgControl));\r\nexports.NgFormControl = NgFormControl;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfZm9ybV9jb250cm9sLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9mb3Jtcy9kaXJlY3RpdmVzL25nX2Zvcm1fY29udHJvbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxxQk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b2RlbCkpIHtcbiAgICAgIHRoaXMuZm9ybS51cGRhdGVWYWx1ZSh0aGlzLm1vZGVsKTtcbiAgICAgIHRoaXMudmlld01vZGVsID0gdGhpcy5tb2RlbDtcbiAgICB9XG4gIH1cblxuICBnZXQgcGF0aCgpOiBzdHJpbmdbXSB7IHJldHVybiBbXTsgfVxuXG4gIGdldCB2YWxpZGF0b3IoKTogVmFsaWRhdG9yRm4geyByZXR1cm4gY29tcG9zZVZhbGlkYXRvcnModGhpcy5fdmFsaWRhdG9ycyk7IH1cblxuICBnZXQgYXN5bmNWYWxpZGF0b3IoKTogQXN5bmNWYWxpZGF0b3JGbiB7IHJldHVybiBjb21wb3NlQXN5bmNWYWxpZGF0b3JzKHRoaXMuX2FzeW5jVmFsaWRhdG9ycyk7IH1cblxuICBnZXQgY29udHJvbCgpOiBDb250cm9sIHsgcmV0dXJuIHRoaXMuZm9ybTsgfVxuXG4gIHZpZXdUb01vZGVsVXBkYXRlKG5ld1ZhbHVlOiBhbnkpOiB2b2lkIHtcbiAgICB0aGlzLnZpZXdNb2RlbCA9IG5ld1ZhbHVlO1xuICAgIE9ic2VydmFibGVXcmFwcGVyLmNhbGxFbWl0KHRoaXMudXBkYXRlLCBuZXdWYWx1ZSk7XG4gIH1cblxuICBwcml2YXRlIF9pc0NvbnRyb2xDaGFuZ2VkKGNoYW5nZXM6IHtba2V5OiBzdHJpbmddOiBhbnl9KTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIFN0cmluZ01hcFdyYXBwZXIuY29udGFpbnMoY2hhbmdlcywgXCJmb3JtXCIpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar core_1 = require('angular2/core');\r\nvar control_value_accessor_1 = require('./control_value_accessor');\r\nvar ng_control_1 = require('./ng_control');\r\nvar model_1 = require('../model');\r\nvar validators_1 = require('../validators');\r\nvar shared_1 = require('./shared');\r\nvar formControlBinding = lang_1.CONST_EXPR(new core_1.Provider(ng_control_1.NgControl, { useExisting: core_1.forwardRef(function () { return NgModel; }) }));\r\n/**\r\n * Binds a domain model to a form control.\r\n *\r\n * ### Usage\r\n *\r\n * `ngModel` binds an existing domain model to a form control. For a\r\n * two-way binding, use `[(ngModel)]` to ensure the model updates in\r\n * both directions.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/R3UX5qDaUqFO2VYR0UzH?p=preview))\r\n * ```typescript\r\n * @Component({\r\n * selector: \"search-comp\",\r\n * directives: [FORM_DIRECTIVES],\r\n * template: `<input type='text' [(ngModel)]=\"searchQuery\">`\r\n * })\r\n * class SearchComp {\r\n * searchQuery: string;\r\n * }\r\n * ```\r\n */\r\nvar NgModel = (function (_super) {\r\n __extends(NgModel, _super);\r\n function NgModel(_validators, _asyncValidators, valueAccessors) {\r\n _super.call(this);\r\n this._validators = _validators;\r\n this._asyncValidators = _asyncValidators;\r\n /** @internal */\r\n this._control = new model_1.Control();\r\n /** @internal */\r\n this._added = false;\r\n this.update = new async_1.EventEmitter();\r\n this.valueAccessor = shared_1.selectValueAccessor(this, valueAccessors);\r\n }\r\n NgModel.prototype.ngOnChanges = function (changes) {\r\n if (!this._added) {\r\n shared_1.setUpControl(this._control, this);\r\n this._control.updateValueAndValidity({ emitEvent: false });\r\n this._added = true;\r\n }\r\n if (shared_1.isPropertyUpdated(changes, this.viewModel)) {\r\n this._control.updateValue(this.model);\r\n this.viewModel = this.model;\r\n }\r\n };\r\n Object.defineProperty(NgModel.prototype, \"control\", {\r\n get: function () { return this._control; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgModel.prototype, \"path\", {\r\n get: function () { return []; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgModel.prototype, \"validator\", {\r\n get: function () { return shared_1.composeValidators(this._validators); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgModel.prototype, \"asyncValidator\", {\r\n get: function () { return shared_1.composeAsyncValidators(this._asyncValidators); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgModel.prototype.viewToModelUpdate = function (newValue) {\r\n this.viewModel = newValue;\r\n async_1.ObservableWrapper.callEmit(this.update, newValue);\r\n };\r\n NgModel = __decorate([\r\n core_1.Directive({\r\n selector: '[ngModel]:not([ngControl]):not([ngFormControl])',\r\n bindings: [formControlBinding],\r\n inputs: ['model: ngModel'],\r\n outputs: ['update: ngModelChange'],\r\n exportAs: 'ngForm'\r\n }),\r\n __param(0, core_1.Optional()),\r\n __param(0, core_1.Self()),\r\n __param(0, core_1.Inject(validators_1.NG_VALIDATORS)),\r\n __param(1, core_1.Optional()),\r\n __param(1, core_1.Self()),\r\n __param(1, core_1.Inject(validators_1.NG_ASYNC_VALIDATORS)),\r\n __param(2, core_1.Optional()),\r\n __param(2, core_1.Self()),\r\n __param(2, core_1.Inject(control_value_accessor_1.NG_VALUE_ACCESSOR)), \r\n __metadata('design:paramtypes', [Array, Array, Array])\r\n ], NgModel);\r\n return NgModel;\r\n}(ng_control_1.NgControl));\r\nexports.NgModel = NgModel;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfbW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2Zvcm1zL2RpcmVjdGl2ZXMvbmdfbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEscUJBQXlCLDBCQUEwQixDQUFDLENBQUE7QUFDcEQsc0JBQThDLDJCQUEyQixDQUFDLENBQUE7QUFDMUUscUJBU08sZUFBZSxDQUFDLENBQUE7QUFDdkIsdUNBQXNELDBCQUEwQixDQUFDLENBQUE7QUFDakYsMkJBQXdCLGNBQWMsQ0FBQyxDQUFBO0FBQ3ZDLHNCQUFzQixVQUFVLENBQUMsQ0FBQTtBQUNqQywyQkFBaUQsZUFBZSxDQUFDLENBQUE7QUFDakUsdUJBTU8sVUFBVSxDQUFDLENBQUE7QUFHbEIsSUFBTSxrQkFBa0IsR0FDcEIsaUJBQVUsQ0FBQyxJQUFJLGVBQVEsQ0FBQyxzQkFBUyxFQUFFLEVBQUMsV0FBVyxFQUFFLGlCQUFVLENBQUMsY0FBTSxPQUFBLE9BQU8sRUFBUCxDQUFPLENBQUMsRUFBQyxDQUFDLENBQUMsQ0FBQztBQUVsRjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FvQkc7QUFRSDtJQUE2QiwyQkFBUztJQVNwQyxpQkFBK0QsV0FBa0IsRUFDWixnQkFBdUIsRUFFaEYsY0FBc0M7UUFDaEQsaUJBQU8sQ0FBQztRQUpxRCxnQk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IGZhbHNlfSk7XG4gICAgICB0aGlzLl9hZGRlZCA9IHRydWU7XG4gICAgfVxuXG4gICAgaWYgKGlzUHJvcGVydHlVcGRhdGVkKGNoYW5nZXMsIHRoaXMudmlld01vZGVsKSkge1xuICAgICAgdGhpcy5fY29udHJvbC51cGRhdGVWYWx1ZSh0aGlzLm1vZGVsKTtcbiAgICAgIHRoaXMudmlld01vZGVsID0gdGhpcy5tb2RlbDtcbiAgICB9XG4gIH1cblxuICBnZXQgY29udHJvbCgpOiBDb250cm9sIHsgcmV0dXJuIHRoaXMuX2NvbnRyb2w7IH1cblxuICBnZXQgcGF0aCgpOiBzdHJpbmdbXSB7IHJldHVybiBbXTsgfVxuXG4gIGdldCB2YWxpZGF0b3IoKTogVmFsaWRhdG9yRm4geyByZXR1cm4gY29tcG9zZVZhbGlkYXRvcnModGhpcy5fdmFsaWRhdG9ycyk7IH1cblxuICBnZXQgYXN5bmNWYWxpZGF0b3IoKTogQXN5bmNWYWxpZGF0b3JGbiB7IHJldHVybiBjb21wb3NlQXN5bmNWYWxpZGF0b3JzKHRoaXMuX2FzeW5jVmFsaWRhdG9ycyk7IH1cblxuICB2aWV3VG9Nb2RlbFVwZGF0ZShuZXdWYWx1ZTogYW55KTogdm9pZCB7XG4gICAgdGhpcy52aWV3TW9kZWwgPSBuZXdWYWx1ZTtcbiAgICBPYnNlcnZhYmxlV3JhcHBlci5jYWxsRW1pdCh0aGlzLnVwZGF0ZSwgbmV3VmFsdWUpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar control_container_1 = require('./control_container');\r\nvar shared_1 = require('./shared');\r\nvar validators_1 = require('../validators');\r\nvar controlGroupProvider = lang_1.CONST_EXPR(new core_1.Provider(control_container_1.ControlContainer, { useExisting: core_1.forwardRef(function () { return NgControlGroup; }) }));\r\n/**\r\n * Creates and binds a control group to a DOM element.\r\n *\r\n * This directive can only be used as a child of {@link NgForm} or {@link NgFormModel}.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/7EJ11uGeaggViYM6T5nq?p=preview))\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'my-app',\r\n * directives: [FORM_DIRECTIVES],\r\n * template: `\r\n * <div>\r\n * <h2>Angular2 Control &amp; ControlGroup Example</h2>\r\n * <form #f=\"ngForm\">\r\n * <div ngControlGroup=\"name\" #cg-name=\"form\">\r\n * <h3>Enter your name:</h3>\r\n * <p>First: <input ngControl=\"first\" required></p>\r\n * <p>Middle: <input ngControl=\"middle\"></p>\r\n * <p>Last: <input ngControl=\"last\" required></p>\r\n * </div>\r\n * <h3>Name value:</h3>\r\n * <pre>{{valueOf(cgName)}}</pre>\r\n * <p>Name is {{cgName?.control?.valid ? \"valid\" : \"invalid\"}}</p>\r\n * <h3>What's your favorite food?</h3>\r\n * <p><input ngControl=\"food\"></p>\r\n * <h3>Form value</h3>\r\n * <pre>{{valueOf(f)}}</pre>\r\n * </form>\r\n * </div>\r\n * `\r\n * })\r\n * export class App {\r\n * valueOf(cg: NgControlGroup): string {\r\n * if (cg.control == null) {\r\n * return null;\r\n * }\r\n * return JSON.stringify(cg.control.value, null, 2);\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This example declares a control group for a user's name. The value and validation state of\r\n * this group can be accessed separately from the overall form.\r\n */\r\nvar NgControlGroup = (function (_super) {\r\n __extends(NgControlGroup, _super);\r\n function NgControlGroup(parent, _validators, _asyncValidators) {\r\n _super.call(this);\r\n this._validators = _validators;\r\n this._asyncValidators = _asyncValidators;\r\n this._parent = parent;\r\n }\r\n NgControlGroup.prototype.ngOnInit = function () { this.formDirective.addControlGroup(this); };\r\n NgControlGroup.prototype.ngOnDestroy = function () { this.formDirective.removeControlGroup(this); };\r\n Object.defineProperty(NgControlGroup.prototype, \"control\", {\r\n /**\r\n * Get the {@link ControlGroup} backing this binding.\r\n */\r\n get: function () { return this.formDirective.getControlGroup(this); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlGroup.prototype, \"path\", {\r\n /**\r\n * Get the path to this control group.\r\n */\r\n get: function () { return shared_1.controlPath(this.name, this._parent); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlGroup.prototype, \"formDirective\", {\r\n /**\r\n * Get the {@link Form} to which this group belongs.\r\n */\r\n get: function () { return this._parent.formDirective; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlGroup.prototype, \"validator\", {\r\n get: function () { return shared_1.composeValidators(this._validators); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlGroup.prototype, \"asyncValidator\", {\r\n get: function () { return shared_1.composeAsyncValidators(this._asyncValidators); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgControlGroup = __decorate([\r\n core_1.Directive({\r\n selector: '[ngControlGroup]',\r\n providers: [controlGroupProvider],\r\n inputs: ['name: ngControlGroup'],\r\n exportAs: 'ngForm'\r\n }),\r\n __param(0, core_1.Host()),\r\n __param(0, core_1.SkipSelf()),\r\n __param(1, core_1.Optional()),\r\n __param(1, core_1.Self()),\r\n __param(1, core_1.Inject(validators_1.NG_VALIDATORS)),\r\n __param(2, core_1.Optional()),\r\n __param(2, core_1.Self()),\r\n __param(2, core_1.Inject(validators_1.NG_ASYNC_VALIDATORS)), \r\n __metadata('design:paramtypes', [control_container_1.ControlContainer, Array, Array])\r\n ], NgControlGroup);\r\n return NgControlGroup;\r\n}(control_container_1.ControlContainer));\r\nexports.NgControlGroup = NgControlGroup;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfY29udHJvbF9ncm91cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvZGlyZWN0aXZlcy9uZ19jb250cm9sX2dyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHFCQVdPLGVBQWUsQ0FBQyxDQUFBO0FBQ3ZCLHFCQUF5QiwwQkFBMEIsQ0FBQyxDQUFBO0FBRXBELGtDQUErQixxQkFBcUIsQ0FBQyxDQUFBO0FBQ3JELHVCQUFxRSxVQUFVLENBQUMsQ0FBQTtBQUdoRiwyQkFBaUQsZUFBZSxDQUFDLENBQUE7QUFHakUsSUFBTSxvQkFBb0IsR0FDdEIsaUJBQVUsQ0FBQyxJQUFJLGVBQVEsQ0FBQyxvQ0FBZ0IsRUFBRSxFQUFDLFdBQVcsRUFBRSxpQkFBVSxDQUFDLGNBQU0sT0FBQSxjQUFjLEVBQWQsQ0FBYyxDQUFDLEVBQUMsQ0FBQyxDQUF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RvcnModGhpcy5fYXN5bmNWYWxpZGF0b3JzKTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar core_1 = require('angular2/core');\r\nvar control_container_1 = require('./control_container');\r\nvar shared_1 = require('./shared');\r\nvar validators_1 = require('../validators');\r\nvar formDirectiveProvider = lang_1.CONST_EXPR(new core_1.Provider(control_container_1.ControlContainer, { useExisting: core_1.forwardRef(function () { return NgFormModel; }) }));\r\n/**\r\n * Binds an existing control group to a DOM element.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/jqrVirudY8anJxTMUjTP?p=preview))\r\n *\r\n * In this example, we bind the control group to the form element, and we bind the login and\r\n * password controls to the login and password elements.\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'my-app',\r\n * template: `\r\n * <div>\r\n * <h2>NgFormModel Example</h2>\r\n * <form [ngFormModel]=\"loginForm\">\r\n * <p>Login: <input type=\"text\" ngControl=\"login\"></p>\r\n * <p>Password: <input type=\"password\" ngControl=\"password\"></p>\r\n * </form>\r\n * <p>Value:</p>\r\n * <pre>{{value}}</pre>\r\n * </div>\r\n * `,\r\n * directives: [FORM_DIRECTIVES]\r\n * })\r\n * export class App {\r\n * loginForm: ControlGroup;\r\n *\r\n * constructor() {\r\n * this.loginForm = new ControlGroup({\r\n * login: new Control(\"\"),\r\n * password: new Control(\"\")\r\n * });\r\n * }\r\n *\r\n * get value(): string {\r\n * return JSON.stringify(this.loginForm.value, null, 2);\r\n * }\r\n * }\r\n * ```\r\n *\r\n * We can also use ngModel to bind a domain model to the form.\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: \"login-comp\",\r\n * directives: [FORM_DIRECTIVES],\r\n * template: `\r\n * <form [ngFormModel]='loginForm'>\r\n * Login <input type='text' ngControl='login' [(ngModel)]='credentials.login'>\r\n * Password <input type='password' ngControl='password'\r\n * [(ngModel)]='credentials.password'>\r\n * <button (click)=\"onLogin()\">Login</button>\r\n * </form>`\r\n * })\r\n * class LoginComp {\r\n * credentials: {login: string, password: string};\r\n * loginForm: ControlGroup;\r\n *\r\n * constructor() {\r\n * this.loginForm = new ControlGroup({\r\n * login: new Control(\"\"),\r\n * password: new Control(\"\")\r\n * });\r\n * }\r\n *\r\n * onLogin(): void {\r\n * // this.credentials.login === 'some login'\r\n * // this.credentials.password === 'some password'\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar NgFormModel = (function (_super) {\r\n __extends(NgFormModel, _super);\r\n function NgFormModel(_validators, _asyncValidators) {\r\n _super.call(this);\r\n this._validators = _validators;\r\n this._asyncValidators = _asyncValidators;\r\n this.form = null;\r\n this.directives = [];\r\n this.ngSubmit = new async_1.EventEmitter();\r\n }\r\n NgFormModel.prototype.ngOnChanges = function (changes) {\r\n this._checkFormPresent();\r\n if (collection_1.StringMapWrapper.contains(changes, \"form\")) {\r\n var sync = shared_1.composeValidators(this._validators);\r\n this.form.validator = validators_1.Validators.compose([this.form.validator, sync]);\r\n var async = shared_1.composeAsyncValidators(this._asyncValidators);\r\n this.form.asyncValidator = validators_1.Validators.composeAsync([this.form.asyncValidator, async]);\r\n this.form.updateValueAndValidity({ onlySelf: true, emitEvent: false });\r\n }\r\n this._updateDomValue();\r\n };\r\n Object.defineProperty(NgFormModel.prototype, \"formDirective\", {\r\n get: function () { return this; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgFormModel.prototype, \"control\", {\r\n get: function () { return this.form; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgFormModel.prototype, \"path\", {\r\n get: function () { return []; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgFormModel.prototype.addControl = function (dir) {\r\n var ctrl = this.form.find(dir.path);\r\n shared_1.setUpControl(ctrl, dir);\r\n ctrl.updateValueAndValidity({ emitEvent: false });\r\n this.directives.push(dir);\r\n };\r\n NgFormModel.prototype.getControl = function (dir) { return this.form.find(dir.path); };\r\n NgFormModel.prototype.removeControl = function (dir) { collection_1.ListWrapper.remove(this.directives, dir); };\r\n NgFormModel.prototype.addControlGroup = function (dir) {\r\n var ctrl = this.form.find(dir.path);\r\n shared_1.setUpControlGroup(ctrl, dir);\r\n ctrl.updateValueAndValidity({ emitEvent: false });\r\n };\r\n NgFormModel.prototype.removeControlGroup = function (dir) { };\r\n NgFormModel.prototype.getControlGroup = function (dir) {\r\n return this.form.find(dir.path);\r\n };\r\n NgFormModel.prototype.updateModel = function (dir, value) {\r\n var ctrl = this.form.find(dir.path);\r\n ctrl.updateValue(value);\r\n };\r\n NgFormModel.prototype.onSubmit = function () {\r\n async_1.ObservableWrapper.callEmit(this.ngSubmit, null);\r\n return false;\r\n };\r\n /** @internal */\r\n NgFormModel.prototype._updateDomValue = function () {\r\n var _this = this;\r\n this.directives.forEach(function (dir) {\r\n var ctrl = _this.form.find(dir.path);\r\n dir.valueAccessor.writeValue(ctrl.value);\r\n });\r\n };\r\n NgFormModel.prototype._checkFormPresent = function () {\r\n if (lang_1.isBlank(this.form)) {\r\n throw new exceptions_1.BaseException(\"ngFormModel expects a form. Please pass one in. Example: <form [ngFormModel]=\\\"myCoolForm\\\">\");\r\n }\r\n };\r\n NgFormModel = __decorate([\r\n core_1.Directive({\r\n selector: '[ngFormModel]',\r\n bindings: [formDirectiveProvider],\r\n inputs: ['form: ngFormModel'],\r\n host: { '(submit)': 'onSubmit()' },\r\n outputs: ['ngSubmit'],\r\n exportAs: 'ngForm'\r\n }),\r\n __param(0, core_1.Optional()),\r\n __param(0, core_1.Self()),\r\n __param(0, core_1.Inject(validators_1.NG_VALIDATORS)),\r\n __param(1, core_1.Optional()),\r\n __param(1, core_1.Self()),\r\n __param(1, core_1.Inject(validators_1.NG_ASYNC_VALIDATORS)), \r\n __metadata('design:paramtypes', [Array, Array])\r\n ], NgFormModel);\r\n return NgFormModel;\r\n}(control_container_1.ControlContainer));\r\nexports.NgFormModel = NgFormModel;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfZm9ybV9tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvZGlyZWN0aXZlcy9uZ19mb3JtX21vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHFCQUFrQywwQkFBMEIsQ0FBQyxDQUFBO0FBQzdELDJCQUE0QyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBQzdFLDJCQUE0QixnQ0FBZ0MsQ0FBQyxDQUFBO0FBQzdELH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GRpci5wYXRoKTtcbiAgICAgIGRpci52YWx1ZUFjY2Vzc29yLndyaXRlVmFsdWUoY3RybC52YWx1ZSk7XG4gICAgfSk7XG4gIH1cblxuICBwcml2YXRlIF9jaGVja0Zvcm1QcmVzZW50KCkge1xuICAgIGlmIChpc0JsYW5rKHRoaXMuZm9ybSkpIHtcbiAgICAgIHRocm93IG5ldyBCYXNlRXhjZXB0aW9uKFxuICAgICAgICAgIGBuZ0Zvcm1Nb2RlbCBleHBlY3RzIGEgZm9ybS4gUGxlYXNlIHBhc3Mgb25lIGluLiBFeGFtcGxlOiA8Zm9ybSBbbmdGb3JtTW9kZWxdPVwibXlDb29sRm9ybVwiPmApO1xuICAgIH1cbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar abstract_control_directive_1 = require('./abstract_control_directive');\r\n/**\r\n * A directive that contains multiple {@link NgControl}s.\r\n *\r\n * Only used by the forms module.\r\n */\r\nvar ControlContainer = (function (_super) {\r\n __extends(ControlContainer, _super);\r\n function ControlContainer() {\r\n _super.apply(this, arguments);\r\n }\r\n Object.defineProperty(ControlContainer.prototype, \"formDirective\", {\r\n /**\r\n * Get the form to which this container belongs.\r\n */\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ControlContainer.prototype, \"path\", {\r\n /**\r\n * Get the path to this container.\r\n */\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return ControlContainer;\r\n}(abstract_control_directive_1.AbstractControlDirective));\r\nexports.ControlContainer = ControlContainer;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbF9jb250YWluZXIuanMiLCJzb3VyY2VSb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iAgLyoqXG4gICAqIEdldCB0aGUgZm9ybSB0byB3aGljaCB0aGlzIGNvbnRhaW5lciBiZWxvbmdzLlxuICAgKi9cbiAgZ2V0IGZvcm1EaXJlY3RpdmUoKTogRm9ybSB7IHJldHVybiBudWxsOyB9XG5cbiAgLyoqXG4gICAqIEdldCB0aGUgcGF0aCB0byB0aGlzIGNvbnRhaW5lci5cbiAgICovXG4gIGdldCBwYXRoKCk6IHN0cmluZ1tdIHsgcmV0dXJuIG51bGw7IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nfunction normalizeValidator(validator) {\r\n if (validator.validate !== undefined) {\r\n return function (c) { return validator.validate(c); };\r\n }\r\n else {\r\n return validator;\r\n }\r\n}\r\nexports.normalizeValidator = normalizeValidator;\r\nfunction normalizeAsyncValidator(validator) {\r\n if (validator.validate !== undefined) {\r\n return function (c) { return Promise.resolve(validator.validate(c)); };\r\n }\r\n else {\r\n return validator;\r\n }\r\n}\r\nexports.normalizeAsyncValidator = normalizeAsyncValidator;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9ybWFsaXplX3ZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvZGlyZWN0aXZlcy9ub3JtYWxpemVfdmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFHQSw0QkFBbUMsU0FBa0M7SUFDbkUsRUFBRSxDQUFDLENBQWEsU0FBVSxDQUFDLFFBQVEsS0FBSyxTQUFTLENBQUMsQ0FBQyxDQUFDO1FBQ2xELE1BQU0sQ0FBQyxVQUFDLENBQWtCLElBQUssT0FBWSxTQUFVLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxFQU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0b3JGbj52YWxpZGF0b3I7XG4gIH1cbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG5vcm1hbGl6ZUFzeW5jVmFsaWRhdG9yKHZhbGlkYXRvcjogQXN5bmNWYWxpZGF0b3JGbiB8IFZhbGlkYXRvcik6IEFzeW5jVmFsaWRhdG9yRm4ge1xuICBpZiAoKDxWYWxpZGF0b3I+dmFsaWRhdG9yKS52YWxpZGF0ZSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgcmV0dXJuIChjOiBBYnN0cmFjdENvbnRyb2wpID0+IFByb21pc2UucmVzb2x2ZSgoPFZhbGlkYXRvcj52YWxpZGF0b3IpLnZhbGlkYXRlKGMpKTtcbiAgfSBlbHNlIHtcbiAgICByZXR1cm4gPEFzeW5jVmFsaWRhdG9yRm4+dmFsaWRhdG9yO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar validators_1 = require('../validators');\r\nvar default_value_accessor_1 = require('./default_value_accessor');\r\nvar number_value_accessor_1 = require('./number_value_accessor');\r\nvar checkbox_value_accessor_1 = require('./checkbox_value_accessor');\r\nvar select_control_value_accessor_1 = require('./select_control_value_accessor');\r\nvar radio_control_value_accessor_1 = require('./radio_control_value_accessor');\r\nvar normalize_validator_1 = require('./normalize_validator');\r\nfunction controlPath(name, parent) {\r\n var p = collection_1.ListWrapper.clone(parent.path);\r\n p.push(name);\r\n return p;\r\n}\r\nexports.controlPath = controlPath;\r\nfunction setUpControl(control, dir) {\r\n if (lang_1.isBlank(control))\r\n _throwError(dir, \"Cannot find control\");\r\n if (lang_1.isBlank(dir.valueAccessor))\r\n _throwError(dir, \"No value accessor for\");\r\n control.validator = validators_1.Validators.compose([control.validator, dir.validator]);\r\n control.asyncValidator = validators_1.Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\r\n dir.valueAccessor.writeValue(control.value);\r\n // view -> model\r\n dir.valueAccessor.registerOnChange(function (newValue) {\r\n dir.viewToModelUpdate(newValue);\r\n control.updateValue(newValue, { emitModelToViewChange: false });\r\n control.markAsDirty();\r\n });\r\n // model -> view\r\n control.registerOnChange(function (newValue) { return dir.valueAccessor.writeValue(newValue); });\r\n // touched\r\n dir.valueAccessor.registerOnTouched(function () { return control.markAsTouched(); });\r\n}\r\nexports.setUpControl = setUpControl;\r\nfunction setUpControlGroup(control, dir) {\r\n if (lang_1.isBlank(control))\r\n _throwError(dir, \"Cannot find control\");\r\n control.validator = validators_1.Validators.compose([control.validator, dir.validator]);\r\n control.asyncValidator = validators_1.Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\r\n}\r\nexports.setUpControlGroup = setUpControlGroup;\r\nfunction _throwError(dir, message) {\r\n var path = dir.path.join(\" -> \");\r\n throw new exceptions_1.BaseException(message + \" '\" + path + \"'\");\r\n}\r\nfunction composeValidators(validators) {\r\n return lang_1.isPresent(validators) ? validators_1.Validators.compose(validators.map(normalize_validator_1.normalizeValidator)) : null;\r\n}\r\nexports.composeValidators = composeValidators;\r\nfunction composeAsyncValidators(validators) {\r\n return lang_1.isPresent(validators) ? validators_1.Validators.composeAsync(validators.map(normalize_validator_1.normalizeAsyncValidator)) :\r\n null;\r\n}\r\nexports.composeAsyncValidators = composeAsyncValidators;\r\nfunction isPropertyUpdated(changes, viewModel) {\r\n if (!collection_1.StringMapWrapper.contains(changes, \"model\"))\r\n return false;\r\n var change = changes[\"model\"];\r\n if (change.isFirstChange())\r\n return true;\r\n return !lang_1.looseIdentical(viewModel, change.currentValue);\r\n}\r\nexports.isPropertyUpdated = isPropertyUpdated;\r\n// TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented\r\nfunction selectValueAccessor(dir, valueAccessors) {\r\n if (lang_1.isBlank(valueAccessors))\r\n return null;\r\n var defaultAccessor;\r\n var builtinAccessor;\r\n var customAccessor;\r\n valueAccessors.forEach(function (v) {\r\n if (lang_1.hasConstructor(v, default_value_accessor_1.DefaultValueAccessor)) {\r\n defaultAccessor = v;\r\n }\r\n else if (lang_1.hasConstructor(v, checkbox_value_accessor_1.CheckboxControlValueAccessor) ||\r\n lang_1.hasConstructor(v, number_value_accessor_1.NumberValueAccessor) ||\r\n lang_1.hasConstructor(v, select_control_value_accessor_1.SelectControlValueAccessor) ||\r\n lang_1.hasConstructor(v, radio_control_value_accessor_1.RadioControlValueAccessor)) {\r\n if (lang_1.isPresent(builtinAccessor))\r\n _throwError(dir, \"More than one built-in value accessor matches\");\r\n builtinAccessor = v;\r\n }\r\n else {\r\n if (lang_1.isPresent(customAccessor))\r\n _throwError(dir, \"More than one custom value accessor matches\");\r\n customAccessor = v;\r\n }\r\n });\r\n if (lang_1.isPresent(customAccessor))\r\n return customAccessor;\r\n if (lang_1.isPresent(builtinAccessor))\r\n return builtinAccessor;\r\n if (lang_1.isPresent(defaultAccessor))\r\n return defaultAccessor;\r\n _throwError(dir, \"No valid value accessor for\");\r\n return null;\r\n}\r\nexports.selectValueAccessor = selectValueAccessor;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9mb3Jtcy9kaXJlY3RpdmVzL3NoYXJlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsMkJBQTRDLGdDQUFnQyxDQUFDLENBQUE7QUFDN0UscUJBQWlFLDBCQUEwQixDQUFDLENBQUE7QUFDNUYsMkJBQThDLGdDQUFnQyxDQUFDLENBQUE7QUFPL0UsMkJBQXlCLGVBQWUsQ0FBQyxDQUFBO0FBRXpDLHVDQUFtQywwQkFBMEIsQ0FBQyxDQUFBO0FBQzlELHND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Y2Vzc29yKSkge1xuICAgICAgaWYgKGlzUHJlc2VudChidWlsdGluQWNjZXNzb3IpKVxuICAgICAgICBfdGhyb3dFcnJvcihkaXIsIFwiTW9yZSB0aGFuIG9uZSBidWlsdC1pbiB2YWx1ZSBhY2Nlc3NvciBtYXRjaGVzXCIpO1xuICAgICAgYnVpbHRpbkFjY2Vzc29yID0gdjtcblxuICAgIH0gZWxzZSB7XG4gICAgICBpZiAoaXNQcmVzZW50KGN1c3RvbUFjY2Vzc29yKSlcbiAgICAgICAgX3Rocm93RXJyb3IoZGlyLCBcIk1vcmUgdGhhbiBvbmUgY3VzdG9tIHZhbHVlIGFjY2Vzc29yIG1hdGNoZXNcIik7XG4gICAgICBjdXN0b21BY2Nlc3NvciA9IHY7XG4gICAgfVxuICB9KTtcblxuICBpZiAoaXNQcmVzZW50KGN1c3RvbUFjY2Vzc29yKSkgcmV0dXJuIGN1c3RvbUFjY2Vzc29yO1xuICBpZiAoaXNQcmVzZW50KGJ1aWx0aW5BY2Nlc3NvcikpIHJldHVybiBidWlsdGluQWNjZXNzb3I7XG4gIGlmIChpc1ByZXNlbnQoZGVmYXVsdEFjY2Vzc29yKSkgcmV0dXJuIGRlZmF1bHRBY2Nlc3NvcjtcblxuICBfdGhyb3dFcnJvcihkaXIsIFwiTm8gdmFsaWQgdmFsdWUgYWNjZXNzb3IgZm9yXCIpO1xuICByZXR1cm4gbnVsbDtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar core_1 = require('angular2/core');\r\nvar control_container_1 = require('./control_container');\r\nvar model_1 = require('../model');\r\nvar shared_1 = require('./shared');\r\nvar validators_1 = require('../validators');\r\nvar formDirectiveProvider = lang_1.CONST_EXPR(new core_1.Provider(control_container_1.ControlContainer, { useExisting: core_1.forwardRef(function () { return NgForm; }) }));\r\n/**\r\n * If `NgForm` is bound in a component, `<form>` elements in that component will be\r\n * upgraded to use the Angular form system.\r\n *\r\n * ### Typical Use\r\n *\r\n * Include `FORM_DIRECTIVES` in the `directives` section of a {@link View} annotation\r\n * to use `NgForm` and its associated controls.\r\n *\r\n * ### Structure\r\n *\r\n * An Angular form is a collection of `Control`s in some hierarchy.\r\n * `Control`s can be at the top level or can be organized in `ControlGroup`s\r\n * or `ControlArray`s. This hierarchy is reflected in the form's `value`, a\r\n * JSON object that mirrors the form structure.\r\n *\r\n * ### Submission\r\n *\r\n * The `ngSubmit` event signals when the user triggers a form submission.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/ltdgYj4P0iY64AR71EpL?p=preview))\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'my-app',\r\n * template: `\r\n * <div>\r\n * <p>Submit the form to see the data object Angular builds</p>\r\n * <h2>NgForm demo</h2>\r\n * <form #f=\"ngForm\" (ngSubmit)=\"onSubmit(f.value)\">\r\n * <h3>Control group: credentials</h3>\r\n * <div ngControlGroup=\"credentials\">\r\n * <p>Login: <input type=\"text\" ngControl=\"login\"></p>\r\n * <p>Password: <input type=\"password\" ngControl=\"password\"></p>\r\n * </div>\r\n * <h3>Control group: person</h3>\r\n * <div ngControlGroup=\"person\">\r\n * <p>First name: <input type=\"text\" ngControl=\"firstName\"></p>\r\n * <p>Last name: <input type=\"text\" ngControl=\"lastName\"></p>\r\n * </div>\r\n * <button type=\"submit\">Submit Form</button>\r\n * <p>Form data submitted:</p>\r\n * </form>\r\n * <pre>{{data}}</pre>\r\n * </div>\r\n * `,\r\n * directives: [CORE_DIRECTIVES, FORM_DIRECTIVES]\r\n * })\r\n * export class App {\r\n * constructor() {}\r\n *\r\n * data: string;\r\n *\r\n * onSubmit(data) {\r\n * this.data = JSON.stringify(data, null, 2);\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar NgForm = (function (_super) {\r\n __extends(NgForm, _super);\r\n function NgForm(validators, asyncValidators) {\r\n _super.call(this);\r\n this.ngSubmit = new async_1.EventEmitter();\r\n this.form = new model_1.ControlGroup({}, null, shared_1.composeValidators(validators), shared_1.composeAsyncValidators(asyncValidators));\r\n }\r\n Object.defineProperty(NgForm.prototype, \"formDirective\", {\r\n get: function () { return this; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgForm.prototype, \"control\", {\r\n get: function () { return this.form; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgForm.prototype, \"path\", {\r\n get: function () { return []; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgForm.prototype, \"controls\", {\r\n get: function () { return this.form.controls; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgForm.prototype.addControl = function (dir) {\r\n var _this = this;\r\n async_1.PromiseWrapper.scheduleMicrotask(function () {\r\n var container = _this._findContainer(dir.path);\r\n var ctrl = new model_1.Control();\r\n shared_1.setUpControl(ctrl, dir);\r\n container.addControl(dir.name, ctrl);\r\n ctrl.updateValueAndValidity({ emitEvent: false });\r\n });\r\n };\r\n NgForm.prototype.getControl = function (dir) { return this.form.find(dir.path); };\r\n NgForm.prototype.removeControl = function (dir) {\r\n var _this = this;\r\n async_1.PromiseWrapper.scheduleMicrotask(function () {\r\n var container = _this._findContainer(dir.path);\r\n if (lang_1.isPresent(container)) {\r\n container.removeControl(dir.name);\r\n container.updateValueAndValidity({ emitEvent: false });\r\n }\r\n });\r\n };\r\n NgForm.prototype.addControlGroup = function (dir) {\r\n var _this = this;\r\n async_1.PromiseWrapper.scheduleMicrotask(function () {\r\n var container = _this._findContainer(dir.path);\r\n var group = new model_1.ControlGroup({});\r\n shared_1.setUpControlGroup(group, dir);\r\n container.addControl(dir.name, group);\r\n group.updateValueAndValidity({ emitEvent: false });\r\n });\r\n };\r\n NgForm.prototype.removeControlGroup = function (dir) {\r\n var _this = this;\r\n async_1.PromiseWrapper.scheduleMicrotask(function () {\r\n var container = _this._findContainer(dir.path);\r\n if (lang_1.isPresent(container)) {\r\n container.removeControl(dir.name);\r\n container.updateValueAndValidity({ emitEvent: false });\r\n }\r\n });\r\n };\r\n NgForm.prototype.getControlGroup = function (dir) {\r\n return this.form.find(dir.path);\r\n };\r\n NgForm.prototype.updateModel = function (dir, value) {\r\n var _this = this;\r\n async_1.PromiseWrapper.scheduleMicrotask(function () {\r\n var ctrl = _this.form.find(dir.path);\r\n ctrl.updateValue(value);\r\n });\r\n };\r\n NgForm.prototype.onSubmit = function () {\r\n async_1.ObservableWrapper.callEmit(this.ngSubmit, null);\r\n return false;\r\n };\r\n /** @internal */\r\n NgForm.prototype._findContainer = function (path) {\r\n path.pop();\r\n return collection_1.ListWrapper.isEmpty(path) ? this.form : this.form.find(path);\r\n };\r\n NgForm = __decorate([\r\n core_1.Directive({\r\n selector: 'form:not([ngNoForm]):not([ngFormModel]),ngForm,[ngForm]',\r\n bindings: [formDirectiveProvider],\r\n host: {\r\n '(submit)': 'onSubmit()',\r\n },\r\n outputs: ['ngSubmit'],\r\n exportAs: 'ngForm'\r\n }),\r\n __param(0, core_1.Optional()),\r\n __param(0, core_1.Self()),\r\n __param(0, core_1.Inject(validators_1.NG_VALIDATORS)),\r\n __param(1, core_1.Optional()),\r\n __param(1, core_1.Self()),\r\n __param(1, core_1.Inject(validators_1.NG_ASYNC_VALIDATORS)), \r\n __metadata('design:paramtypes', [Array, Array])\r\n ], NgForm);\r\n return NgForm;\r\n}(control_container_1.ControlContainer));\r\nexports.NgForm = NgForm;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvZGlyZWN0aXZlcy9uZ19mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHNCQUtPLDJCQUEyQixDQUFDLENBQUE7QUFDbkMsMkJBQTRDLGdDQUFnQyxDQUFDLENBQUE7QUFDN0UscUJBQTZDLDBCQUEwQixDQUFDLENBQUE7QUFDeEUscUJBQXNFLGVBQWUsQ0FBQyxDQUFBO0FBSXRGLGtDQUErQixxQkFBcUIsQ0FBQyxDQUFBO0FBQ3JELHNCQUFxRCxVQUFVLENBQUMsQ0FBQTtBQUNoRSx1QkFBeUYsVUFBVSxDQUFDLENBQUE7QUFDcEcsMkJBQTZELGVBQWUsQ0FBQyxDQUFBO0FBRTdFLElBQU0scUJBQXFCLEdBQ3ZCLGlCQUFVLENBQUMsSUFBSSxlQUFRLENBQUMsb0NBQWdCLEVBQUUsRUFBQyxXQUFXLEVBQUUsaUJBQVUsQ0FBQyxjQUFNLE9BQUEsTUFBTSxFQUFOLENBQU0sQ0FBQy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zZTtcbiAgfVxuXG4gIC8qKiBAaW50ZXJuYWwgKi9cbiAgX2ZpbmRDb250YWluZXIocGF0aDogc3RyaW5nW10pOiBDb250cm9sR3JvdXAge1xuICAgIHBhdGgucG9wKCk7XG4gICAgcmV0dXJuIExpc3RXcmFwcGVyLmlzRW1wdHkocGF0aCkgPyB0aGlzLmZvcm0gOiA8Q29udHJvbEdyb3VwPnRoaXMuZm9ybS5maW5kKHBhdGgpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar control_value_accessor_1 = require('./control_value_accessor');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar DEFAULT_VALUE_ACCESSOR = lang_1.CONST_EXPR(new core_1.Provider(control_value_accessor_1.NG_VALUE_ACCESSOR, { useExisting: core_1.forwardRef(function () { return DefaultValueAccessor; }), multi: true }));\r\n/**\r\n * The default accessor for writing a value and listening to changes that is used by the\r\n * {@link NgModel}, {@link NgFormControl}, and {@link NgControlName} directives.\r\n *\r\n * ### Example\r\n * ```\r\n * <input type=\"text\" ngControl=\"searchQuery\">\r\n * ```\r\n */\r\nvar DefaultValueAccessor = (function () {\r\n function DefaultValueAccessor(_renderer, _elementRef) {\r\n this._renderer = _renderer;\r\n this._elementRef = _elementRef;\r\n this.onChange = function (_) { };\r\n this.onTouched = function () { };\r\n }\r\n DefaultValueAccessor.prototype.writeValue = function (value) {\r\n var normalizedValue = lang_1.isBlank(value) ? '' : value;\r\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', normalizedValue);\r\n };\r\n DefaultValueAccessor.prototype.registerOnChange = function (fn) { this.onChange = fn; };\r\n DefaultValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\r\n DefaultValueAccessor = __decorate([\r\n core_1.Directive({\r\n selector: 'input:not([type=checkbox])[ngControl],textarea[ngControl],input:not([type=checkbox])[ngFormControl],textarea[ngFormControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',\r\n // TODO: vsavkin replace the above selector with the one below it once\r\n // https://github.com/angular/angular/issues/3011 is implemented\r\n // selector: '[ngControl],[ngModel],[ngFormControl]',\r\n host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\r\n bindings: [DEFAULT_VALUE_ACCESSOR]\r\n }), \r\n __metadata('design:paramtypes', [core_1.Renderer, core_1.ElementRef])\r\n ], DefaultValueAccessor);\r\n return DefaultValueAccessor;\r\n}());\r\nexports.DefaultValueAccessor = DefaultValueAccessor;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdF92YWx1ZV9hY2Nlc3Nvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvZGlyZWN0aXZlcy9kZWZhdWx0X3ZhbHVlX2FjY2Vzc29yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxxQkFBMEUsZUFBZSxDQUFDLENBQUE7QUFDMUYsdUNBQXNELDBCQUEwQixDQUFDLENBQUE7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SBfcmVuZGVyZXI6IFJlbmRlcmVyLCBwcml2YXRlIF9lbGVtZW50UmVmOiBFbGVtZW50UmVmKSB7fVxuXG4gIHdyaXRlVmFsdWUodmFsdWU6IGFueSk6IHZvaWQge1xuICAgIHZhciBub3JtYWxpemVkVmFsdWUgPSBpc0JsYW5rKHZhbHVlKSA/ICcnIDogdmFsdWU7XG4gICAgdGhpcy5fcmVuZGVyZXIuc2V0RWxlbWVudFByb3BlcnR5KHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ3ZhbHVlJywgbm9ybWFsaXplZFZhbHVlKTtcbiAgfVxuXG4gIHJlZ2lzdGVyT25DaGFuZ2UoZm46IChfOiBhbnkpID0+IHZvaWQpOiB2b2lkIHsgdGhpcy5vbkNoYW5nZSA9IGZuOyB9XG4gIHJlZ2lzdGVyT25Ub3VjaGVkKGZuOiAoKSA9PiB2b2lkKTogdm9pZCB7IHRoaXMub25Ub3VjaGVkID0gZm47IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar control_value_accessor_1 = require('./control_value_accessor');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar CHECKBOX_VALUE_ACCESSOR = lang_1.CONST_EXPR(new core_1.Provider(control_value_accessor_1.NG_VALUE_ACCESSOR, { useExisting: core_1.forwardRef(function () { return CheckboxControlValueAccessor; }), multi: true }));\r\n/**\r\n * The accessor for writing a value and listening to changes on a checkbox input element.\r\n *\r\n * ### Example\r\n * ```\r\n * <input type=\"checkbox\" ngControl=\"rememberLogin\">\r\n * ```\r\n */\r\nvar CheckboxControlValueAccessor = (function () {\r\n function CheckboxControlValueAccessor(_renderer, _elementRef) {\r\n this._renderer = _renderer;\r\n this._elementRef = _elementRef;\r\n this.onChange = function (_) { };\r\n this.onTouched = function () { };\r\n }\r\n CheckboxControlValueAccessor.prototype.writeValue = function (value) {\r\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'checked', value);\r\n };\r\n CheckboxControlValueAccessor.prototype.registerOnChange = function (fn) { this.onChange = fn; };\r\n CheckboxControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\r\n CheckboxControlValueAccessor = __decorate([\r\n core_1.Directive({\r\n selector: 'input[type=checkbox][ngControl],input[type=checkbox][ngFormControl],input[type=checkbox][ngModel]',\r\n host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },\r\n providers: [CHECKBOX_VALUE_ACCESSOR]\r\n }), \r\n __metadata('design:paramtypes', [core_1.Renderer, core_1.ElementRef])\r\n ], CheckboxControlValueAccessor);\r\n return CheckboxControlValueAccessor;\r\n}());\r\nexports.CheckboxControlValueAccessor = CheckboxControlValueAccessor;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3hfdmFsdWVfYWNjZXNzb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2Zvcm1zL2RpcmVjdGl2ZXMvY2hlY2tib3hfdmFsdWVfYWNjZXNzb3IudHMiXSwibmFtZXMiOltdLCJ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e1xuICBzZWxlY3RvcjpcbiAgICAgICdpbnB1dFt0eXBlPWNoZWNrYm94XVtuZ0NvbnRyb2xdLGlucHV0W3R5cGU9Y2hlY2tib3hdW25nRm9ybUNvbnRyb2xdLGlucHV0W3R5cGU9Y2hlY2tib3hdW25nTW9kZWxdJyxcbiAgaG9zdDogeycoY2hhbmdlKSc6ICdvbkNoYW5nZSgkZXZlbnQudGFyZ2V0LmNoZWNrZWQpJywgJyhibHVyKSc6ICdvblRvdWNoZWQoKSd9LFxuICBwcm92aWRlcnM6IFtDSEVDS0JPWF9WQUxVRV9BQ0NFU1NPUl1cbn0pXG5leHBvcnQgY2xhc3MgQ2hlY2tib3hDb250cm9sVmFsdWVBY2Nlc3NvciBpbXBsZW1lbnRzIENvbnRyb2xWYWx1ZUFjY2Vzc29yIHtcbiAgb25DaGFuZ2UgPSAoXzogYW55KSA9PiB7fTtcbiAgb25Ub3VjaGVkID0gKCkgPT4ge307XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSBfcmVuZGVyZXI6IFJlbmRlcmVyLCBwcml2YXRlIF9lbGVtZW50UmVmOiBFbGVtZW50UmVmKSB7fVxuXG4gIHdyaXRlVmFsdWUodmFsdWU6IGFueSk6IHZvaWQge1xuICAgIHRoaXMuX3JlbmRlcmVyLnNldEVsZW1lbnRQcm9wZXJ0eSh0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsICdjaGVja2VkJywgdmFsdWUpO1xuICB9XG4gIHJlZ2lzdGVyT25DaGFuZ2UoZm46IChfOiBhbnkpID0+IHt9KTogdm9pZCB7IHRoaXMub25DaGFuZ2UgPSBmbjsgfVxuICByZWdpc3Rlck9uVG91Y2hlZChmbjogKCkgPT4ge30pOiB2b2lkIHsgdGhpcy5vblRvdWNoZWQgPSBmbjsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar control_value_accessor_1 = require('./control_value_accessor');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar NUMBER_VALUE_ACCESSOR = lang_1.CONST_EXPR(new core_1.Provider(control_value_accessor_1.NG_VALUE_ACCESSOR, { useExisting: core_1.forwardRef(function () { return NumberValueAccessor; }), multi: true }));\r\n/**\r\n * The accessor for writing a number value and listening to changes that is used by the\r\n * {@link NgModel}, {@link NgFormControl}, and {@link NgControlName} directives.\r\n *\r\n * ### Example\r\n * ```\r\n * <input type=\"number\" [(ngModel)]=\"age\">\r\n * ```\r\n */\r\nvar NumberValueAccessor = (function () {\r\n function NumberValueAccessor(_renderer, _elementRef) {\r\n this._renderer = _renderer;\r\n this._elementRef = _elementRef;\r\n this.onChange = function (_) { };\r\n this.onTouched = function () { };\r\n }\r\n NumberValueAccessor.prototype.writeValue = function (value) {\r\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', value);\r\n };\r\n NumberValueAccessor.prototype.registerOnChange = function (fn) {\r\n this.onChange = function (value) { fn(value == '' ? null : lang_1.NumberWrapper.parseFloat(value)); };\r\n };\r\n NumberValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\r\n NumberValueAccessor = __decorate([\r\n core_1.Directive({\r\n selector: 'input[type=number][ngControl],input[type=number][ngFormControl],input[type=number][ngModel]',\r\n host: {\r\n '(change)': 'onChange($event.target.value)',\r\n '(input)': 'onChange($event.target.value)',\r\n '(blur)': 'onTouched()'\r\n },\r\n bindings: [NUMBER_VALUE_ACCESSOR]\r\n }), \r\n __metadata('design:paramtypes', [core_1.Renderer, core_1.ElementRef])\r\n ], NumberValueAccessor);\r\n return NumberValueAccessor;\r\n}());\r\nexports.NumberValueAccessor = NumberValueAccessor;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyX3ZhbHVlX2FjY2Vzc29yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9mb3Jtcy9kaXJlY3RpdmVzL251bWJlcl92YWx1ZV9hY2Nlc3Nvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEscUJBQTBFLGVBQWUsQ0FBQyxDQUFBO0FBQzFGLHVDQUFzRCwwQkFBMEIsQ0FBQyxDQUFBO0FBQ2pGLHFCQUFpRCwwQkFBMEIsQ0FBQyxDQUFBO0FBRTVFLElBQU0scUJBQXFCLEdBQUcsaUJBQVUsQ0FBQyxJQUFJLGVBQVEsQ0FDakQsMENBQWlCLEVBQUUsRUFBQyxXQUFXLEVBQUUsaUJBQVUsQ0FBQyxjQUFNLE9BQUEsbUJBQW1CLEVBQW5CLENBQW1CLENBQUMsRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFDLENBQUMsQ0FBQyxDQUFDO0FBRTNGOzs7Ozs7OztHQVFHO0FBV0g7SUFJRSw2QkFBb0IsU0FBbUIsRUFBVSxXQUF1QjtRQUFwRCxjQUFTLEdBQVQsU0FBUyxDQUFVO1FBQVUsZ0JBQVcsR0FBWCxXQUFXLENBQVk7UUFIeEUsYUFBUSxHQUFHLFVBQUMsQ0FBTSxJQUFNLENBQUMsQ0FBQztR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Wx1ZSknLFxuICAgICcoYmx1ciknOiAnb25Ub3VjaGVkKCknXG4gIH0sXG4gIGJpbmRpbmdzOiBbTlVNQkVSX1ZBTFVFX0FDQ0VTU09SXVxufSlcbmV4cG9ydCBjbGFzcyBOdW1iZXJWYWx1ZUFjY2Vzc29yIGltcGxlbWVudHMgQ29udHJvbFZhbHVlQWNjZXNzb3Ige1xuICBvbkNoYW5nZSA9IChfOiBhbnkpID0+IHt9O1xuICBvblRvdWNoZWQgPSAoKSA9PiB7fTtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIF9yZW5kZXJlcjogUmVuZGVyZXIsIHByaXZhdGUgX2VsZW1lbnRSZWY6IEVsZW1lbnRSZWYpIHt9XG5cbiAgd3JpdGVWYWx1ZSh2YWx1ZTogbnVtYmVyKTogdm9pZCB7XG4gICAgdGhpcy5fcmVuZGVyZXIuc2V0RWxlbWVudFByb3BlcnR5KHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ3ZhbHVlJywgdmFsdWUpO1xuICB9XG5cbiAgcmVnaXN0ZXJPbkNoYW5nZShmbjogKF86IG51bWJlcikgPT4gdm9pZCk6IHZvaWQge1xuICAgIHRoaXMub25DaGFuZ2UgPSAodmFsdWUpID0+IHsgZm4odmFsdWUgPT0gJycgPyBudWxsIDogTnVtYmVyV3JhcHBlci5wYXJzZUZsb2F0KHZhbHVlKSk7IH07XG4gIH1cbiAgcmVnaXN0ZXJPblRvdWNoZWQoZm46ICgpID0+IHZvaWQpOiB2b2lkIHsgdGhpcy5vblRvdWNoZWQgPSBmbjsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar ng_control_1 = require('./ng_control');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Directive automatically applied to Angular forms that sets CSS classes\r\n * based on control status (valid/invalid/dirty/etc).\r\n */\r\nvar NgControlStatus = (function () {\r\n function NgControlStatus(cd) {\r\n this._cd = cd;\r\n }\r\n Object.defineProperty(NgControlStatus.prototype, \"ngClassUntouched\", {\r\n get: function () {\r\n return lang_1.isPresent(this._cd.control) ? this._cd.control.untouched : false;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlStatus.prototype, \"ngClassTouched\", {\r\n get: function () {\r\n return lang_1.isPresent(this._cd.control) ? this._cd.control.touched : false;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlStatus.prototype, \"ngClassPristine\", {\r\n get: function () {\r\n return lang_1.isPresent(this._cd.control) ? this._cd.control.pristine : false;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlStatus.prototype, \"ngClassDirty\", {\r\n get: function () {\r\n return lang_1.isPresent(this._cd.control) ? this._cd.control.dirty : false;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlStatus.prototype, \"ngClassValid\", {\r\n get: function () {\r\n return lang_1.isPresent(this._cd.control) ? this._cd.control.valid : false;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControlStatus.prototype, \"ngClassInvalid\", {\r\n get: function () {\r\n return lang_1.isPresent(this._cd.control) ? !this._cd.control.valid : false;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgControlStatus = __decorate([\r\n core_1.Directive({\r\n selector: '[ngControl],[ngModel],[ngFormControl]',\r\n host: {\r\n '[class.ng-untouched]': 'ngClassUntouched',\r\n '[class.ng-touched]': 'ngClassTouched',\r\n '[class.ng-pristine]': 'ngClassPristine',\r\n '[class.ng-dirty]': 'ngClassDirty',\r\n '[class.ng-valid]': 'ngClassValid',\r\n '[class.ng-invalid]': 'ngClassInvalid'\r\n }\r\n }),\r\n __param(0, core_1.Self()), \r\n __metadata('design:paramtypes', [ng_control_1.NgControl])\r\n ], NgControlStatus);\r\n return NgControlStatus;\r\n}());\r\nexports.NgControlStatus = NgControlStatus;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfY29udHJvbF9zdGF0dXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2Zvcm1zL2RpcmVjdGl2ZXMvbmdfY29udHJvbF9zdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBLHFCQUE4QixlQUFlLENBQUMsQ0FBQTtBQUM5QywyQkFBd0IsY0FBYyxDQUFDLENBQUE7QUFDdkMscUJBQWlDLDBCQUEwQixDQUFDLENBQUE7QUFFNUQ7OztHQUdHO0FBWUg7SUFHRSx5QkFBb0IsRUFBYTtRQUFJLElBQUksQ0FBQyxHQUFHLEdBQUcsRUFBRSxDQUFDO0lBQUMsQ0FBQztJQUVyRCxzQkFBSSw2Q0FBZ0I7YUFBcEI7WUFDRSxNQUFNLENBQUMsZ0JBQVMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQU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kgPyB0aGlzLl9jZC5jb250cm9sLmRpcnR5IDogZmFsc2U7XG4gIH1cbiAgZ2V0IG5nQ2xhc3NWYWxpZCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gaXNQcmVzZW50KHRoaXMuX2NkLmNvbnRyb2wpID8gdGhpcy5fY2QuY29udHJvbC52YWxpZCA6IGZhbHNlO1xuICB9XG4gIGdldCBuZ0NsYXNzSW52YWxpZCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gaXNQcmVzZW50KHRoaXMuX2NkLmNvbnRyb2wpID8gIXRoaXMuX2NkLmNvbnRyb2wudmFsaWQgOiBmYWxzZTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar control_value_accessor_1 = require('./control_value_accessor');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar SELECT_VALUE_ACCESSOR = lang_1.CONST_EXPR(new core_1.Provider(control_value_accessor_1.NG_VALUE_ACCESSOR, { useExisting: core_1.forwardRef(function () { return SelectControlValueAccessor; }), multi: true }));\r\nfunction _buildValueString(id, value) {\r\n if (lang_1.isBlank(id))\r\n return \"\" + value;\r\n if (!lang_1.isPrimitive(value))\r\n value = \"Object\";\r\n return lang_1.StringWrapper.slice(id + \": \" + value, 0, 50);\r\n}\r\nfunction _extractId(valueString) {\r\n return valueString.split(\":\")[0];\r\n}\r\n/**\r\n * The accessor for writing a value and listening to changes on a select element.\r\n *\r\n * Note: We have to listen to the 'change' event because 'input' events aren't fired\r\n * for selects in Firefox and IE:\r\n * https://bugzilla.mozilla.org/show_bug.cgi?id=1024350\r\n * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4660045/\r\n *\r\n */\r\nvar SelectControlValueAccessor = (function () {\r\n function SelectControlValueAccessor(_renderer, _elementRef) {\r\n this._renderer = _renderer;\r\n this._elementRef = _elementRef;\r\n /** @internal */\r\n this._optionMap = new Map();\r\n /** @internal */\r\n this._idCounter = 0;\r\n this.onChange = function (_) { };\r\n this.onTouched = function () { };\r\n }\r\n SelectControlValueAccessor.prototype.writeValue = function (value) {\r\n this.value = value;\r\n var valueString = _buildValueString(this._getOptionId(value), value);\r\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', valueString);\r\n };\r\n SelectControlValueAccessor.prototype.registerOnChange = function (fn) {\r\n var _this = this;\r\n this.onChange = function (valueString) { fn(_this._getOptionValue(valueString)); };\r\n };\r\n SelectControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\r\n /** @internal */\r\n SelectControlValueAccessor.prototype._registerOption = function () { return (this._idCounter++).toString(); };\r\n /** @internal */\r\n SelectControlValueAccessor.prototype._getOptionId = function (value) {\r\n for (var _i = 0, _a = collection_1.MapWrapper.keys(this._optionMap); _i < _a.length; _i++) {\r\n var id = _a[_i];\r\n if (lang_1.looseIdentical(this._optionMap.get(id), value))\r\n return id;\r\n }\r\n return null;\r\n };\r\n /** @internal */\r\n SelectControlValueAccessor.prototype._getOptionValue = function (valueString) {\r\n var value = this._optionMap.get(_extractId(valueString));\r\n return lang_1.isPresent(value) ? value : valueString;\r\n };\r\n SelectControlValueAccessor = __decorate([\r\n core_1.Directive({\r\n selector: 'select[ngControl],select[ngFormControl],select[ngModel]',\r\n host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\r\n providers: [SELECT_VALUE_ACCESSOR]\r\n }), \r\n __metadata('design:paramtypes', [core_1.Renderer, core_1.ElementRef])\r\n ], SelectControlValueAccessor);\r\n return SelectControlValueAccessor;\r\n}());\r\nexports.SelectControlValueAccessor = SelectControlValueAccessor;\r\n/**\r\n * Marks `<option>` as dynamic, so Angular can be notified when options change.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * <select ngControl=\"city\">\r\n * <option *ngFor=\"let c of cities\" [value]=\"c\"></option>\r\n * </select>\r\n * ```\r\n */\r\nvar NgSelectOption = (function () {\r\n function NgSelectOption(_element, _renderer, _select) {\r\n this._element = _element;\r\n this._renderer = _renderer;\r\n this._select = _select;\r\n if (lang_1.isPresent(this._select))\r\n this.id = this._select._registerOption();\r\n }\r\n Object.defineProperty(NgSelectOption.prototype, \"ngValue\", {\r\n set: function (value) {\r\n if (this._select == null)\r\n return;\r\n this._select._optionMap.set(this.id, value);\r\n this._setElementValue(_buildValueString(this.id, value));\r\n this._select.writeValue(this._select.value);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgSelectOption.prototype, \"value\", {\r\n set: function (value) {\r\n this._setElementValue(value);\r\n if (lang_1.isPresent(this._select))\r\n this._select.writeValue(this._select.value);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /** @internal */\r\n NgSelectOption.prototype._setElementValue = function (value) {\r\n this._renderer.setElementProperty(this._element.nativeElement, 'value', value);\r\n };\r\n NgSelectOption.prototype.ngOnDestroy = function () {\r\n if (lang_1.isPresent(this._select)) {\r\n this._select._optionMap.delete(this.id);\r\n this._select.writeValue(this._select.value);\r\n }\r\n };\r\n __decorate([\r\n core_1.Input('ngValue'), \r\n __metadata('design:type', Object), \r\n __metadata('design:paramtypes', [Object])\r\n ], NgSelectOption.prototype, \"ngValue\", null);\r\n __decorate([\r\n core_1.Input('value'), \r\n __metadata('design:type', Object), \r\n __metadata('design:paramtypes', [Object])\r\n ], NgSelectOption.prototype, \"value\", null);\r\n NgSelectOption = __decorate([\r\n core_1.Directive({ selector: 'option' }),\r\n __param(2, core_1.Optional()),\r\n __param(2, core_1.Host()), \r\n __metadata('design:paramtypes', [core_1.ElementRef, core_1.Renderer, SelectControlValueAccessor])\r\n ], NgSelectOption);\r\n return NgSelectOption;\r\n}());\r\nexports.NgSelectOption = NgSelectOption;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0X2NvbnRyb2xfdmFsdWVfYWNjZXNzb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2Zvcm1zL2RpcmVjdGl2ZXMvc2VsZWN0X2NvbnRyb2xfdmFsdWVfYWNjZXNzb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBLHFCQVVPLGVBQWUsQ0FBQyxDQUFBO0FBQ3ZCLHVDQUFzRCwwQkFBMEIsQ0FBQyxDQUFBO0FBQ2pGLHFCQU9PLDBCQUEwQixDQUFDLENBQUE7QUFFbEMsMkJBQXlCLGdDQUFnQyxDQUFDLENBQUE7QUFFMUQsSUFBTSxxQkFBcUIsR0FBRyxpQkFBVSxDQUFDLElBQUksZUFBUSxDQUNqRCwwQ0FBaUIsRUFBRSxFQUFDLFdBQVcsRUFBRSxpQkFBVSxDQUFDLGNBQU0sT0FBQSwwQkFBMEIsRUFBMUIsQ0FBMEIsQ0FBQyxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUMsQ0FBQyxDQUFDLENBQUM7QUFFbEcsMkJBQTJCLEVBQ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0aGlzLl9zZXRFbGVtZW50VmFsdWUodmFsdWUpO1xuICAgIGlmIChpc1ByZXNlbnQodGhpcy5fc2VsZWN0KSkgdGhpcy5fc2VsZWN0LndyaXRlVmFsdWUodGhpcy5fc2VsZWN0LnZhbHVlKTtcbiAgfVxuXG4gIC8qKiBAaW50ZXJuYWwgKi9cbiAgX3NldEVsZW1lbnRWYWx1ZSh2YWx1ZTogc3RyaW5nKTogdm9pZCB7XG4gICAgdGhpcy5fcmVuZGVyZXIuc2V0RWxlbWVudFByb3BlcnR5KHRoaXMuX2VsZW1lbnQubmF0aXZlRWxlbWVudCwgJ3ZhbHVlJywgdmFsdWUpO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgaWYgKGlzUHJlc2VudCh0aGlzLl9zZWxlY3QpKSB7XG4gICAgICB0aGlzLl9zZWxlY3QuX29wdGlvbk1hcC5kZWxldGUodGhpcy5pZCk7XG4gICAgICB0aGlzLl9zZWxlY3Qud3JpdGVWYWx1ZSh0aGlzLl9zZWxlY3QudmFsdWUpO1xuICAgIH1cbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar ng_control_name_1 = require('./directives/ng_control_name');\r\nvar ng_form_control_1 = require('./directives/ng_form_control');\r\nvar ng_model_1 = require('./directives/ng_model');\r\nvar ng_control_group_1 = require('./directives/ng_control_group');\r\nvar ng_form_model_1 = require('./directives/ng_form_model');\r\nvar ng_form_1 = require('./directives/ng_form');\r\nvar default_value_accessor_1 = require('./directives/default_value_accessor');\r\nvar checkbox_value_accessor_1 = require('./directives/checkbox_value_accessor');\r\nvar number_value_accessor_1 = require('./directives/number_value_accessor');\r\nvar radio_control_value_accessor_1 = require('./directives/radio_control_value_accessor');\r\nvar ng_control_status_1 = require('./directives/ng_control_status');\r\nvar select_control_value_accessor_1 = require('./directives/select_control_value_accessor');\r\nvar validators_1 = require('./directives/validators');\r\nvar ng_control_name_2 = require('./directives/ng_control_name');\r\nexports.NgControlName = ng_control_name_2.NgControlName;\r\nvar ng_form_control_2 = require('./directives/ng_form_control');\r\nexports.NgFormControl = ng_form_control_2.NgFormControl;\r\nvar ng_model_2 = require('./directives/ng_model');\r\nexports.NgModel = ng_model_2.NgModel;\r\nvar ng_control_group_2 = require('./directives/ng_control_group');\r\nexports.NgControlGroup = ng_control_group_2.NgControlGroup;\r\nvar ng_form_model_2 = require('./directives/ng_form_model');\r\nexports.NgFormModel = ng_form_model_2.NgFormModel;\r\nvar ng_form_2 = require('./directives/ng_form');\r\nexports.NgForm = ng_form_2.NgForm;\r\nvar default_value_accessor_2 = require('./directives/default_value_accessor');\r\nexports.DefaultValueAccessor = default_value_accessor_2.DefaultValueAccessor;\r\nvar checkbox_value_accessor_2 = require('./directives/checkbox_value_accessor');\r\nexports.CheckboxControlValueAccessor = checkbox_value_accessor_2.CheckboxControlValueAccessor;\r\nvar radio_control_value_accessor_2 = require('./directives/radio_control_value_accessor');\r\nexports.RadioControlValueAccessor = radio_control_value_accessor_2.RadioControlValueAccessor;\r\nexports.RadioButtonState = radio_control_value_accessor_2.RadioButtonState;\r\nvar number_value_accessor_2 = require('./directives/number_value_accessor');\r\nexports.NumberValueAccessor = number_value_accessor_2.NumberValueAccessor;\r\nvar ng_control_status_2 = require('./directives/ng_control_status');\r\nexports.NgControlStatus = ng_control_status_2.NgControlStatus;\r\nvar select_control_value_accessor_2 = require('./directives/select_control_value_accessor');\r\nexports.SelectControlValueAccessor = select_control_value_accessor_2.SelectControlValueAccessor;\r\nexports.NgSelectOption = select_control_value_accessor_2.NgSelectOption;\r\nvar validators_2 = require('./directives/validators');\r\nexports.RequiredValidator = validators_2.RequiredValidator;\r\nexports.MinLengthValidator = validators_2.MinLengthValidator;\r\nexports.MaxLengthValidator = validators_2.MaxLengthValidator;\r\nexports.PatternValidator = validators_2.PatternValidator;\r\nvar ng_control_1 = require('./directives/ng_control');\r\nexports.NgControl = ng_control_1.NgControl;\r\n/**\r\n *\r\n * A list of all the form directives used as part of a `@Component` annotation.\r\n *\r\n * This is a shorthand for importing them each individually.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'my-app',\r\n * directives: [FORM_DIRECTIVES]\r\n * })\r\n * class MyApp {}\r\n * ```\r\n */\r\nexports.FORM_DIRECTIVES = lang_1.CONST_EXPR([\r\n ng_control_name_1.NgControlName,\r\n ng_control_group_1.NgControlGroup,\r\n ng_form_control_1.NgFormControl,\r\n ng_model_1.NgModel,\r\n ng_form_model_1.NgFormModel,\r\n ng_form_1.NgForm,\r\n select_control_value_accessor_1.NgSelectOption,\r\n default_value_accessor_1.DefaultValueAccessor,\r\n number_value_accessor_1.NumberValueAccessor,\r\n checkbox_value_accessor_1.CheckboxControlValueAccessor,\r\n select_control_value_accessor_1.SelectControlValueAccessor,\r\n radio_control_value_accessor_1.RadioControlValueAccessor,\r\n ng_control_status_1.NgControlStatus,\r\n validators_1.RequiredValidator,\r\n validators_1.MinLengthValidator,\r\n validators_1.MaxLengthValidator,\r\n validators_1.PatternValidator\r\n]);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0aXZlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvZGlyZWN0aXZlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQStCLDBCQUEwQixDQUFDLENBQUE7QUFDMUQsZ0NBQTRCLDhCQUE4QixDQUFDLENBQUE7QUFDM0QsZ0NBQTRCLDhCQUE4QixDQUFDLENBQUE7QUFDM0QseUJBQXNCLHVCQUF1QixDQUFDLENBQUE7QUFDOUMsaUNBQTZCLCtCQUErQixDQUFDLENBQUE7QUFDN0QsOEJBQTBC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0dXMsXG5cbiAgUmVxdWlyZWRWYWxpZGF0b3IsXG4gIE1pbkxlbmd0aFZhbGlkYXRvcixcbiAgTWF4TGVuZ3RoVmFsaWRhdG9yLFxuICBQYXR0ZXJuVmFsaWRhdG9yXG5dKTtcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar promise_1 = require('angular2/src/facade/promise');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar core_1 = require('angular2/core');\r\n/**\r\n * Providers for validators to be used for {@link Control}s in a form.\r\n *\r\n * Provide this using `multi: true` to add validators.\r\n *\r\n * ### Example\r\n *\r\n * {@example core/forms/ts/ng_validators/ng_validators.ts region='ng_validators'}\r\n */\r\nexports.NG_VALIDATORS = lang_1.CONST_EXPR(new core_1.OpaqueToken(\"NgValidators\"));\r\n/**\r\n * Providers for asynchronous validators to be used for {@link Control}s\r\n * in a form.\r\n *\r\n * Provide this using `multi: true` to add validators.\r\n *\r\n * See {@link NG_VALIDATORS} for more details.\r\n */\r\nexports.NG_ASYNC_VALIDATORS = lang_1.CONST_EXPR(new core_1.OpaqueToken(\"NgAsyncValidators\"));\r\n/**\r\n * Provides a set of validators used by form controls.\r\n *\r\n * A validator is a function that processes a {@link Control} or collection of\r\n * controls and returns a map of errors. A null map means that validation has passed.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * var loginControl = new Control(\"\", Validators.required)\r\n * ```\r\n */\r\nvar Validators = (function () {\r\n function Validators() {\r\n }\r\n /**\r\n * Validator that requires controls to have a non-empty value.\r\n */\r\n Validators.required = function (control) {\r\n return lang_1.isBlank(control.value) || (lang_1.isString(control.value) && control.value == \"\") ?\r\n { \"required\": true } :\r\n null;\r\n };\r\n /**\r\n * Validator that requires controls to have a value of a minimum length.\r\n */\r\n Validators.minLength = function (minLength) {\r\n return function (control) {\r\n if (lang_1.isPresent(Validators.required(control)))\r\n return null;\r\n var v = control.value;\r\n return v.length < minLength ?\r\n { \"minlength\": { \"requiredLength\": minLength, \"actualLength\": v.length } } :\r\n null;\r\n };\r\n };\r\n /**\r\n * Validator that requires controls to have a value of a maximum length.\r\n */\r\n Validators.maxLength = function (maxLength) {\r\n return function (control) {\r\n if (lang_1.isPresent(Validators.required(control)))\r\n return null;\r\n var v = control.value;\r\n return v.length > maxLength ?\r\n { \"maxlength\": { \"requiredLength\": maxLength, \"actualLength\": v.length } } :\r\n null;\r\n };\r\n };\r\n /**\r\n * Validator that requires a control to match a regex to its value.\r\n */\r\n Validators.pattern = function (pattern) {\r\n return function (control) {\r\n if (lang_1.isPresent(Validators.required(control)))\r\n return null;\r\n var regex = new RegExp(\"^\" + pattern + \"$\");\r\n var v = control.value;\r\n return regex.test(v) ? null :\r\n { \"pattern\": { \"requiredPattern\": \"^\" + pattern + \"$\", \"actualValue\": v } };\r\n };\r\n };\r\n /**\r\n * No-op validator.\r\n */\r\n Validators.nullValidator = function (c) { return null; };\r\n /**\r\n * Compose multiple validators into a single function that returns the union\r\n * of the individual error maps.\r\n */\r\n Validators.compose = function (validators) {\r\n if (lang_1.isBlank(validators))\r\n return null;\r\n var presentValidators = validators.filter(lang_1.isPresent);\r\n if (presentValidators.length == 0)\r\n return null;\r\n return function (control) {\r\n return _mergeErrors(_executeValidators(control, presentValidators));\r\n };\r\n };\r\n Validators.composeAsync = function (validators) {\r\n if (lang_1.isBlank(validators))\r\n return null;\r\n var presentValidators = validators.filter(lang_1.isPresent);\r\n if (presentValidators.length == 0)\r\n return null;\r\n return function (control) {\r\n var promises = _executeAsyncValidators(control, presentValidators).map(_convertToPromise);\r\n return promise_1.PromiseWrapper.all(promises).then(_mergeErrors);\r\n };\r\n };\r\n return Validators;\r\n}());\r\nexports.Validators = Validators;\r\nfunction _convertToPromise(obj) {\r\n return promise_1.PromiseWrapper.isPromise(obj) ? obj : async_1.ObservableWrapper.toPromise(obj);\r\n}\r\nfunction _executeValidators(control, validators) {\r\n return validators.map(function (v) { return v(control); });\r\n}\r\nfunction _executeAsyncValidators(control, validators) {\r\n return validators.map(function (v) { return v(control); });\r\n}\r\nfunction _mergeErrors(arrayOfErrors) {\r\n var res = arrayOfErrors.reduce(function (res, errors) {\r\n return lang_1.isPresent(errors) ? collection_1.StringMapWrapper.merge(res, errors) : res;\r\n }, {});\r\n return collection_1.StringMapWrapper.isEmpty(res) ? null : res;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvdmFsaWRhdG9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQXVELDBCQUEwQixDQUFDLENBQUE7QUFDbEYsd0JBQTZCLDZCQUE2QixDQUFDLENBQUE7QUFDM0Qsc0JBQWdDLDJCQUEyQixDQUFDLENBQUE7QUFDNUQsMkJBQTRDLGdDQUFnQyxDQUFDLENBQUE7QUFDN0UscUJBQTBCLGVBQWUsQ0FBQyxDQUFBO0FBSzFDOzs7Ozs7OztHQVFHO0FBQ1UscUJBQWEsR0FBZ0IsaUJBQVUsQ0FBQyxJQUFJLGtCQUFXLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQztBQUV0Rjs7Ozs7OztHQU9HO0FBQ1UsMkJBQW1CLEdBQWdCLGlCQUFVLENBQUMsSUFBSSxrQkFBVyxDQUFDLG1CQUFtQixDQUFDLENBQUMsQ0FBQztBQUVqRzs7Ozs7Ozs7Ozs7R0FXRztBQUNIO0lBQUE7SUE4RUEsQ0FBQztJQTdFQzs7T0FFRztJQUNJLG1CQUFRLEdBQWYsVUFBZ0IsT0FBb0M7UUFDbEQsTUFBTSxDQUFDLGNBQU8sQ0FBQy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tba2V5OiBzdHJpbmddOiBhbnl9LCBlcnJvcnM6IHtba2V5OiBzdHJpbmddOiBhbnl9KSA9PiB7XG4gICAgICAgIHJldHVybiBpc1ByZXNlbnQoZXJyb3JzKSA/IFN0cmluZ01hcFdyYXBwZXIubWVyZ2UocmVzLCBlcnJvcnMpIDogcmVzO1xuICAgICAgfSwge30pO1xuICByZXR1cm4gU3RyaW5nTWFwV3JhcHBlci5pc0VtcHR5KHJlcykgPyBudWxsIDogcmVzO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar validators_1 = require('../validators');\r\nvar REQUIRED = validators_1.Validators.required;\r\nvar REQUIRED_VALIDATOR = lang_1.CONST_EXPR(new core_1.Provider(validators_1.NG_VALIDATORS, { useValue: REQUIRED, multi: true }));\r\n/**\r\n * A Directive that adds the `required` validator to any controls marked with the\r\n * `required` attribute, via the {@link NG_VALIDATORS} binding.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * <input ngControl=\"fullName\" required>\r\n * ```\r\n */\r\nvar RequiredValidator = (function () {\r\n function RequiredValidator() {\r\n }\r\n RequiredValidator = __decorate([\r\n core_1.Directive({\r\n selector: '[required][ngControl],[required][ngFormControl],[required][ngModel]',\r\n providers: [REQUIRED_VALIDATOR]\r\n }), \r\n __metadata('design:paramtypes', [])\r\n ], RequiredValidator);\r\n return RequiredValidator;\r\n}());\r\nexports.RequiredValidator = RequiredValidator;\r\n/**\r\n * Provivder which adds {@link MinLengthValidator} to {@link NG_VALIDATORS}.\r\n *\r\n * ## Example:\r\n *\r\n * {@example common/forms/ts/validators/validators.ts region='min'}\r\n */\r\nvar MIN_LENGTH_VALIDATOR = lang_1.CONST_EXPR(new core_1.Provider(validators_1.NG_VALIDATORS, { useExisting: core_1.forwardRef(function () { return MinLengthValidator; }), multi: true }));\r\n/**\r\n * A directive which installs the {@link MinLengthValidator} for any `ngControl`,\r\n * `ngFormControl`, or control with `ngModel` that also has a `minlength` attribute.\r\n */\r\nvar MinLengthValidator = (function () {\r\n function MinLengthValidator(minLength) {\r\n this._validator = validators_1.Validators.minLength(lang_1.NumberWrapper.parseInt(minLength, 10));\r\n }\r\n MinLengthValidator.prototype.validate = function (c) { return this._validator(c); };\r\n MinLengthValidator = __decorate([\r\n core_1.Directive({\r\n selector: '[minlength][ngControl],[minlength][ngFormControl],[minlength][ngModel]',\r\n providers: [MIN_LENGTH_VALIDATOR]\r\n }),\r\n __param(0, core_1.Attribute(\"minlength\")), \r\n __metadata('design:paramtypes', [String])\r\n ], MinLengthValidator);\r\n return MinLengthValidator;\r\n}());\r\nexports.MinLengthValidator = MinLengthValidator;\r\n/**\r\n * Provider which adds {@link MaxLengthValidator} to {@link NG_VALIDATORS}.\r\n *\r\n * ## Example:\r\n *\r\n * {@example common/forms/ts/validators/validators.ts region='max'}\r\n */\r\nvar MAX_LENGTH_VALIDATOR = lang_1.CONST_EXPR(new core_1.Provider(validators_1.NG_VALIDATORS, { useExisting: core_1.forwardRef(function () { return MaxLengthValidator; }), multi: true }));\r\n/**\r\n * A directive which installs the {@link MaxLengthValidator} for any `ngControl, `ngFormControl`,\r\n * or control with `ngModel` that also has a `maxlength` attribute.\r\n */\r\nvar MaxLengthValidator = (function () {\r\n function MaxLengthValidator(maxLength) {\r\n this._validator = validators_1.Validators.maxLength(lang_1.NumberWrapper.parseInt(maxLength, 10));\r\n }\r\n MaxLengthValidator.prototype.validate = function (c) { return this._validator(c); };\r\n MaxLengthValidator = __decorate([\r\n core_1.Directive({\r\n selector: '[maxlength][ngControl],[maxlength][ngFormControl],[maxlength][ngModel]',\r\n providers: [MAX_LENGTH_VALIDATOR]\r\n }),\r\n __param(0, core_1.Attribute(\"maxlength\")), \r\n __metadata('design:paramtypes', [String])\r\n ], MaxLengthValidator);\r\n return MaxLengthValidator;\r\n}());\r\nexports.MaxLengthValidator = MaxLengthValidator;\r\n/**\r\n * A Directive that adds the `pattern` validator to any controls marked with the\r\n * `pattern` attribute, via the {@link NG_VALIDATORS} binding. Uses attribute value\r\n * as the regex to validate Control value against. Follows pattern attribute\r\n * semantics; i.e. regex must match entire Control value.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * <input [ngControl]=\"fullName\" pattern=\"[a-zA-Z ]*\">\r\n * ```\r\n */\r\nvar PATTERN_VALIDATOR = lang_1.CONST_EXPR(new core_1.Provider(validators_1.NG_VALIDATORS, { useExisting: core_1.forwardRef(function () { return PatternValidator; }), multi: true }));\r\nvar PatternValidator = (function () {\r\n function PatternValidator(pattern) {\r\n this._validator = validators_1.Validators.pattern(pattern);\r\n }\r\n PatternValidator.prototype.validate = function (c) { return this._validator(c); };\r\n PatternValidator = __decorate([\r\n core_1.Directive({\r\n selector: '[pattern][ngControl],[pattern][ngFormControl],[pattern][ngModel]',\r\n providers: [PATTERN_VALIDATOR]\r\n }),\r\n __param(0, core_1.Attribute(\"pattern\")), \r\n __metadata('design:paramtypes', [String])\r\n ], PatternValidator);\r\n return PatternValidator;\r\n}());\r\nexports.PatternValidator = PatternValidator;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJ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j5cbiAqIGBgYFxuICovXG5jb25zdCBQQVRURVJOX1ZBTElEQVRPUiA9IENPTlNUX0VYUFIoXG4gICAgbmV3IFByb3ZpZGVyKE5HX1ZBTElEQVRPUlMsIHt1c2VFeGlzdGluZzogZm9yd2FyZFJlZigoKSA9PiBQYXR0ZXJuVmFsaWRhdG9yKSwgbXVsdGk6IHRydWV9KSk7XG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbcGF0dGVybl1bbmdDb250cm9sXSxbcGF0dGVybl1bbmdGb3JtQ29udHJvbF0sW3BhdHRlcm5dW25nTW9kZWxdJyxcbiAgcHJvdmlkZXJzOiBbUEFUVEVSTl9WQUxJREFUT1JdXG59KVxuZXhwb3J0IGNsYXNzIFBhdHRlcm5WYWxpZGF0b3IgaW1wbGVtZW50cyBWYWxpZGF0b3Ige1xuICBwcml2YXRlIF92YWxpZGF0b3I6IFZhbGlkYXRvckZuO1xuXG4gIGNvbnN0cnVjdG9yKEBBdHRyaWJ1dGUoXCJwYXR0ZXJuXCIpIHBhdHRlcm46IHN0cmluZykge1xuICAgIHRoaXMuX3ZhbGlkYXRvciA9IFZhbGlkYXRvcnMucGF0dGVybihwYXR0ZXJuKTtcbiAgfVxuXG4gIHZhbGlkYXRlKGM6IEFic3RyYWN0Q29udHJvbCk6IHtba2V5OiBzdHJpbmddOiBhbnl9IHsgcmV0dXJuIHRoaXMuX3ZhbGlkYXRvcihjKTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar promise_1 = require('angular2/src/facade/promise');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\n/**\r\n * Indicates that a Control is valid, i.e. that no errors exist in the input value.\r\n */\r\nexports.VALID = \"VALID\";\r\n/**\r\n * Indicates that a Control is invalid, i.e. that an error exists in the input value.\r\n */\r\nexports.INVALID = \"INVALID\";\r\n/**\r\n * Indicates that a Control is pending, i.e. that async validation is occurring and\r\n * errors are not yet available for the input value.\r\n */\r\nexports.PENDING = \"PENDING\";\r\nfunction isControl(control) {\r\n return control instanceof AbstractControl;\r\n}\r\nexports.isControl = isControl;\r\nfunction _find(control, path) {\r\n if (lang_1.isBlank(path))\r\n return null;\r\n if (!(path instanceof Array)) {\r\n path = path.split(\"/\");\r\n }\r\n if (path instanceof Array && collection_1.ListWrapper.isEmpty(path))\r\n return null;\r\n return path\r\n .reduce(function (v, name) {\r\n if (v instanceof ControlGroup) {\r\n return lang_1.isPresent(v.controls[name]) ? v.controls[name] : null;\r\n }\r\n else if (v instanceof ControlArray) {\r\n var index = name;\r\n return lang_1.isPresent(v.at(index)) ? v.at(index) : null;\r\n }\r\n else {\r\n return null;\r\n }\r\n }, control);\r\n}\r\nfunction toObservable(r) {\r\n return promise_1.PromiseWrapper.isPromise(r) ? async_1.ObservableWrapper.fromPromise(r) : r;\r\n}\r\n/**\r\n *\r\n */\r\nvar AbstractControl = (function () {\r\n function AbstractControl(validator, asyncValidator) {\r\n this.validator = validator;\r\n this.asyncValidator = asyncValidator;\r\n this._pristine = true;\r\n this._touched = false;\r\n }\r\n Object.defineProperty(AbstractControl.prototype, \"value\", {\r\n get: function () { return this._value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"status\", {\r\n get: function () { return this._status; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"valid\", {\r\n get: function () { return this._status === exports.VALID; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"errors\", {\r\n /**\r\n * Returns the errors of this control.\r\n */\r\n get: function () { return this._errors; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"pristine\", {\r\n get: function () { return this._pristine; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"dirty\", {\r\n get: function () { return !this.pristine; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"touched\", {\r\n get: function () { return this._touched; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"untouched\", {\r\n get: function () { return !this._touched; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"valueChanges\", {\r\n get: function () { return this._valueChanges; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"statusChanges\", {\r\n get: function () { return this._statusChanges; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControl.prototype, \"pending\", {\r\n get: function () { return this._status == exports.PENDING; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n AbstractControl.prototype.markAsTouched = function () { this._touched = true; };\r\n AbstractControl.prototype.markAsDirty = function (_a) {\r\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\r\n onlySelf = lang_1.normalizeBool(onlySelf);\r\n this._pristine = false;\r\n if (lang_1.isPresent(this._parent) && !onlySelf) {\r\n this._parent.markAsDirty({ onlySelf: onlySelf });\r\n }\r\n };\r\n AbstractControl.prototype.markAsPending = function (_a) {\r\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\r\n onlySelf = lang_1.normalizeBool(onlySelf);\r\n this._status = exports.PENDING;\r\n if (lang_1.isPresent(this._parent) && !onlySelf) {\r\n this._parent.markAsPending({ onlySelf: onlySelf });\r\n }\r\n };\r\n AbstractControl.prototype.setParent = function (parent) { this._parent = parent; };\r\n AbstractControl.prototype.updateValueAndValidity = function (_a) {\r\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\r\n onlySelf = lang_1.normalizeBool(onlySelf);\r\n emitEvent = lang_1.isPresent(emitEvent) ? emitEvent : true;\r\n this._updateValue();\r\n this._errors = this._runValidator();\r\n this._status = this._calculateStatus();\r\n if (this._status == exports.VALID || this._status == exports.PENDING) {\r\n this._runAsyncValidator(emitEvent);\r\n }\r\n if (emitEvent) {\r\n async_1.ObservableWrapper.callEmit(this._valueChanges, this._value);\r\n async_1.ObservableWrapper.callEmit(this._statusChanges, this._status);\r\n }\r\n if (lang_1.isPresent(this._parent) && !onlySelf) {\r\n this._parent.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\r\n }\r\n };\r\n AbstractControl.prototype._runValidator = function () {\r\n return lang_1.isPresent(this.validator) ? this.validator(this) : null;\r\n };\r\n AbstractControl.prototype._runAsyncValidator = function (emitEvent) {\r\n var _this = this;\r\n if (lang_1.isPresent(this.asyncValidator)) {\r\n this._status = exports.PENDING;\r\n this._cancelExistingSubscription();\r\n var obs = toObservable(this.asyncValidator(this));\r\n this._asyncValidationSubscription = async_1.ObservableWrapper.subscribe(obs, function (res) { return _this.setErrors(res, { emitEvent: emitEvent }); });\r\n }\r\n };\r\n AbstractControl.prototype._cancelExistingSubscription = function () {\r\n if (lang_1.isPresent(this._asyncValidationSubscription)) {\r\n async_1.ObservableWrapper.dispose(this._asyncValidationSubscription);\r\n }\r\n };\r\n /**\r\n * Sets errors on a control.\r\n *\r\n * This is used when validations are run not automatically, but manually by the user.\r\n *\r\n * Calling `setErrors` will also update the validity of the parent control.\r\n *\r\n * ## Usage\r\n *\r\n * ```\r\n * var login = new Control(\"someLogin\");\r\n * login.setErrors({\r\n * \"notUnique\": true\r\n * });\r\n *\r\n * expect(login.valid).toEqual(false);\r\n * expect(login.errors).toEqual({\"notUnique\": true});\r\n *\r\n * login.updateValue(\"someOtherLogin\");\r\n *\r\n * expect(login.valid).toEqual(true);\r\n * ```\r\n */\r\n AbstractControl.prototype.setErrors = function (errors, _a) {\r\n var emitEvent = (_a === void 0 ? {} : _a).emitEvent;\r\n emitEvent = lang_1.isPresent(emitEvent) ? emitEvent : true;\r\n this._errors = errors;\r\n this._status = this._calculateStatus();\r\n if (emitEvent) {\r\n async_1.ObservableWrapper.callEmit(this._statusChanges, this._status);\r\n }\r\n if (lang_1.isPresent(this._parent)) {\r\n this._parent._updateControlsErrors();\r\n }\r\n };\r\n AbstractControl.prototype.find = function (path) { return _find(this, path); };\r\n AbstractControl.prototype.getError = function (errorCode, path) {\r\n if (path === void 0) { path = null; }\r\n var control = lang_1.isPresent(path) && !collection_1.ListWrapper.isEmpty(path) ? this.find(path) : this;\r\n if (lang_1.isPresent(control) && lang_1.isPresent(control._errors)) {\r\n return collection_1.StringMapWrapper.get(control._errors, errorCode);\r\n }\r\n else {\r\n return null;\r\n }\r\n };\r\n AbstractControl.prototype.hasError = function (errorCode, path) {\r\n if (path === void 0) { path = null; }\r\n return lang_1.isPresent(this.getError(errorCode, path));\r\n };\r\n Object.defineProperty(AbstractControl.prototype, \"root\", {\r\n get: function () {\r\n var x = this;\r\n while (lang_1.isPresent(x._parent)) {\r\n x = x._parent;\r\n }\r\n return x;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /** @internal */\r\n AbstractControl.prototype._updateControlsErrors = function () {\r\n this._status = this._calculateStatus();\r\n if (lang_1.isPresent(this._parent)) {\r\n this._parent._updateControlsErrors();\r\n }\r\n };\r\n /** @internal */\r\n AbstractControl.prototype._initObservables = function () {\r\n this._valueChanges = new async_1.EventEmitter();\r\n this._statusChanges = new async_1.EventEmitter();\r\n };\r\n AbstractControl.prototype._calculateStatus = function () {\r\n if (lang_1.isPresent(this._errors))\r\n return exports.INVALID;\r\n if (this._anyControlsHaveStatus(exports.PENDING))\r\n return exports.PENDING;\r\n if (this._anyControlsHaveStatus(exports.INVALID))\r\n return exports.INVALID;\r\n return exports.VALID;\r\n };\r\n return AbstractControl;\r\n}());\r\nexports.AbstractControl = AbstractControl;\r\n/**\r\n * Defines a part of a form that cannot be divided into other controls. `Control`s have values and\r\n * validation state, which is determined by an optional validation function.\r\n *\r\n * `Control` is one of the three fundamental building blocks used to define forms in Angular, along\r\n * with {@link ControlGroup} and {@link ControlArray}.\r\n *\r\n * ## Usage\r\n *\r\n * By default, a `Control` is created for every `<input>` or other form component.\r\n * With {@link NgFormControl} or {@link NgFormModel} an existing {@link Control} can be\r\n * bound to a DOM element instead. This `Control` can be configured with a custom\r\n * validation function.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/23DESOpbNnBpBHZt1BR4?p=preview))\r\n */\r\nvar Control = (function (_super) {\r\n __extends(Control, _super);\r\n function Control(value, validator, asyncValidator) {\r\n if (value === void 0) { value = null; }\r\n if (validator === void 0) { validator = null; }\r\n if (asyncValidator === void 0) { asyncValidator = null; }\r\n _super.call(this, validator, asyncValidator);\r\n this._value = value;\r\n this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\r\n this._initObservables();\r\n }\r\n /**\r\n * Set the value of the control to `value`.\r\n *\r\n * If `onlySelf` is `true`, this change will only affect the validation of this `Control`\r\n * and not its parent component. If `emitEvent` is `true`, this change will cause a\r\n * `valueChanges` event on the `Control` to be emitted. Both of these options default to\r\n * `false`.\r\n *\r\n * If `emitModelToViewChange` is `true`, the view will be notified about the new value\r\n * via an `onChange` event. This is the default behavior if `emitModelToViewChange` is not\r\n * specified.\r\n */\r\n Control.prototype.updateValue = function (value, _a) {\r\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent, emitModelToViewChange = _b.emitModelToViewChange;\r\n emitModelToViewChange = lang_1.isPresent(emitModelToViewChange) ? emitModelToViewChange : true;\r\n this._value = value;\r\n if (lang_1.isPresent(this._onChange) && emitModelToViewChange)\r\n this._onChange(this._value);\r\n this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\r\n };\r\n /**\r\n * @internal\r\n */\r\n Control.prototype._updateValue = function () { };\r\n /**\r\n * @internal\r\n */\r\n Control.prototype._anyControlsHaveStatus = function (status) { return false; };\r\n /**\r\n * Register a listener for change events.\r\n */\r\n Control.prototype.registerOnChange = function (fn) { this._onChange = fn; };\r\n return Control;\r\n}(AbstractControl));\r\nexports.Control = Control;\r\n/**\r\n * Defines a part of a form, of fixed length, that can contain other controls.\r\n *\r\n * A `ControlGroup` aggregates the values of each {@link Control} in the group.\r\n * The status of a `ControlGroup` depends on the status of its children.\r\n * If one of the controls in a group is invalid, the entire group is invalid.\r\n * Similarly, if a control changes its value, the entire group changes as well.\r\n *\r\n * `ControlGroup` is one of the three fundamental building blocks used to define forms in Angular,\r\n * along with {@link Control} and {@link ControlArray}. {@link ControlArray} can also contain other\r\n * controls, but is of variable length.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/23DESOpbNnBpBHZt1BR4?p=preview))\r\n */\r\nvar ControlGroup = (function (_super) {\r\n __extends(ControlGroup, _super);\r\n function ControlGroup(controls, optionals, validator, asyncValidator) {\r\n if (optionals === void 0) { optionals = null; }\r\n if (validator === void 0) { validator = null; }\r\n if (asyncValidator === void 0) { asyncValidator = null; }\r\n _super.call(this, validator, asyncValidator);\r\n this.controls = controls;\r\n this._optionals = lang_1.isPresent(optionals) ? optionals : {};\r\n this._initObservables();\r\n this._setParentForControls();\r\n this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\r\n }\r\n /**\r\n * Add a control to this group.\r\n */\r\n ControlGroup.prototype.addControl = function (name, control) {\r\n this.controls[name] = control;\r\n control.setParent(this);\r\n };\r\n /**\r\n * Remove a control from this group.\r\n */\r\n ControlGroup.prototype.removeControl = function (name) { collection_1.StringMapWrapper.delete(this.controls, name); };\r\n /**\r\n * Mark the named control as non-optional.\r\n */\r\n ControlGroup.prototype.include = function (controlName) {\r\n collection_1.StringMapWrapper.set(this._optionals, controlName, true);\r\n this.updateValueAndValidity();\r\n };\r\n /**\r\n * Mark the named control as optional.\r\n */\r\n ControlGroup.prototype.exclude = function (controlName) {\r\n collection_1.StringMapWrapper.set(this._optionals, controlName, false);\r\n this.updateValueAndValidity();\r\n };\r\n /**\r\n * Check whether there is a control with the given name in the group.\r\n */\r\n ControlGroup.prototype.contains = function (controlName) {\r\n var c = collection_1.StringMapWrapper.contains(this.controls, controlName);\r\n return c && this._included(controlName);\r\n };\r\n /** @internal */\r\n ControlGroup.prototype._setParentForControls = function () {\r\n var _this = this;\r\n collection_1.StringMapWrapper.forEach(this.controls, function (control, name) { control.setParent(_this); });\r\n };\r\n /** @internal */\r\n ControlGroup.prototype._updateValue = function () { this._value = this._reduceValue(); };\r\n /** @internal */\r\n ControlGroup.prototype._anyControlsHaveStatus = function (status) {\r\n var _this = this;\r\n var res = false;\r\n collection_1.StringMapWrapper.forEach(this.controls, function (control, name) {\r\n res = res || (_this.contains(name) && control.status == status);\r\n });\r\n return res;\r\n };\r\n /** @internal */\r\n ControlGroup.prototype._reduceValue = function () {\r\n return this._reduceChildren({}, function (acc, control, name) {\r\n acc[name] = control.value;\r\n return acc;\r\n });\r\n };\r\n /** @internal */\r\n ControlGroup.prototype._reduceChildren = function (initValue, fn) {\r\n var _this = this;\r\n var res = initValue;\r\n collection_1.StringMapWrapper.forEach(this.controls, function (control, name) {\r\n if (_this._included(name)) {\r\n res = fn(res, control, name);\r\n }\r\n });\r\n return res;\r\n };\r\n /** @internal */\r\n ControlGroup.prototype._included = function (controlName) {\r\n var isOptional = collection_1.StringMapWrapper.contains(this._optionals, controlName);\r\n return !isOptional || collection_1.StringMapWrapper.get(this._optionals, controlName);\r\n };\r\n return ControlGroup;\r\n}(AbstractControl));\r\nexports.ControlGroup = ControlGroup;\r\n/**\r\n * Defines a part of a form, of variable length, that can contain other controls.\r\n *\r\n * A `ControlArray` aggregates the values of each {@link Control} in the group.\r\n * The status of a `ControlArray` depends on the status of its children.\r\n * If one of the controls in a group is invalid, the entire array is invalid.\r\n * Similarly, if a control changes its value, the entire array changes as well.\r\n *\r\n * `ControlArray` is one of the three fundamental building blocks used to define forms in Angular,\r\n * along with {@link Control} and {@link ControlGroup}. {@link ControlGroup} can also contain\r\n * other controls, but is of fixed length.\r\n *\r\n * ## Adding or removing controls\r\n *\r\n * To change the controls in the array, use the `push`, `insert`, or `removeAt` methods\r\n * in `ControlArray` itself. These methods ensure the controls are properly tracked in the\r\n * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate\r\n * the `ControlArray` directly, as that will result in strange and unexpected behavior such\r\n * as broken change detection.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/23DESOpbNnBpBHZt1BR4?p=preview))\r\n */\r\nvar ControlArray = (function (_super) {\r\n __extends(ControlArray, _super);\r\n function ControlArray(controls, validator, asyncValidator) {\r\n if (validator === void 0) { validator = null; }\r\n if (asyncValidator === void 0) { asyncValidator = null; }\r\n _super.call(this, validator, asyncValidator);\r\n this.controls = controls;\r\n this._initObservables();\r\n this._setParentForControls();\r\n this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\r\n }\r\n /**\r\n * Get the {@link AbstractControl} at the given `index` in the array.\r\n */\r\n ControlArray.prototype.at = function (index) { return this.controls[index]; };\r\n /**\r\n * Insert a new {@link AbstractControl} at the end of the array.\r\n */\r\n ControlArray.prototype.push = function (control) {\r\n this.controls.push(control);\r\n control.setParent(this);\r\n this.updateValueAndValidity();\r\n };\r\n /**\r\n * Insert a new {@link AbstractControl} at the given `index` in the array.\r\n */\r\n ControlArray.prototype.insert = function (index, control) {\r\n collection_1.ListWrapper.insert(this.controls, index, control);\r\n control.setParent(this);\r\n this.updateValueAndValidity();\r\n };\r\n /**\r\n * Remove the control at the given `index` in the array.\r\n */\r\n ControlArray.prototype.removeAt = function (index) {\r\n collection_1.ListWrapper.removeAt(this.controls, index);\r\n this.updateValueAndValidity();\r\n };\r\n Object.defineProperty(ControlArray.prototype, \"length\", {\r\n /**\r\n * Length of the control array.\r\n */\r\n get: function () { return this.controls.length; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /** @internal */\r\n ControlArray.prototype._updateValue = function () { this._value = this.controls.map(function (control) { return control.value; }); };\r\n /** @internal */\r\n ControlArray.prototype._anyControlsHaveStatus = function (status) {\r\n return this.controls.some(function (c) { return c.status == status; });\r\n };\r\n /** @internal */\r\n ControlArray.prototype._setParentForControls = function () {\r\n var _this = this;\r\n this.controls.forEach(function (control) { control.setParent(_this); });\r\n };\r\n return ControlArray;\r\n}(AbstractControl));\r\nexports.ControlArray = ControlArray;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2Zvcm1zL21vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHFCQUFnRCwwQkFBMEIsQ0FBQyxDQUFBO0FBQzNFLHNCQUEwRCwyQkFBMkIsQ0FBQyxDQUFBO0FBQ3RGLHdCQUE2Qiw2QkFBNkIsQ0FBQyxDQUFBO0FBQzNELDJCQUE0QyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBRzdFOztHQUVHO0FBQ1UsYUFBSyxHQUFHLE9BQU8sQ0FBQztBQUU3Qjs7R0FFRztBQUNVLGVBQU8sR0FBRyxTQUFTLENBQUM7QUFFakM7OztHQUdHO0FBQ1UsZUFBTyxHQUFHLFNBQVMsQ0FBQztBQUVqQyxtQkFBMEIsT0FBZTtJQUN2QyxNQUFNLENBQUMsT0FBTyxZQUFZLGVBQWUsQ0FBQztBQUM1QyxDQUFDO0FBRmUsaUJBQVMsWUFFeEIsQ0FBQTtBQUVELGVBQWUsT0FBd0IsRUFBRSxJQUFvQztJQUMzRSxFQUFFLENBQUMsQ0FBQyxjQUFPLENBQUMsSUFBSSxDQUFDLENBQUM7UUFBQyxNQUFNLENBQUMsSUFBSSxDQUFDO0lBRS9CLEVBQUUsQ0FB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KiBAaW50ZXJuYWwgKi9cbiAgX3NldFBhcmVudEZvckNvbnRyb2xzKCk6IHZvaWQge1xuICAgIHRoaXMuY29udHJvbHMuZm9yRWFjaCgoY29udHJvbCkgPT4geyBjb250cm9sLnNldFBhcmVudCh0aGlzKTsgfSk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar modelModule = require('./model');\r\n/**\r\n * Creates a form object from a user-specified configuration.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/ENgZo8EuIECZNensZCVr?p=preview))\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'my-app',\r\n * viewBindings: [FORM_BINDINGS]\r\n * template: `\r\n * <form [ngFormModel]=\"loginForm\">\r\n * <p>Login <input ngControl=\"login\"></p>\r\n * <div ngControlGroup=\"passwordRetry\">\r\n * <p>Password <input type=\"password\" ngControl=\"password\"></p>\r\n * <p>Confirm password <input type=\"password\" ngControl=\"passwordConfirmation\"></p>\r\n * </div>\r\n * </form>\r\n * <h3>Form value:</h3>\r\n * <pre>{{value}}</pre>\r\n * `,\r\n * directives: [FORM_DIRECTIVES]\r\n * })\r\n * export class App {\r\n * loginForm: ControlGroup;\r\n *\r\n * constructor(builder: FormBuilder) {\r\n * this.loginForm = builder.group({\r\n * login: [\"\", Validators.required],\r\n * passwordRetry: builder.group({\r\n * password: [\"\", Validators.required],\r\n * passwordConfirmation: [\"\", Validators.required, asyncValidator]\r\n * })\r\n * });\r\n * }\r\n *\r\n * get value(): string {\r\n * return JSON.stringify(this.loginForm.value, null, 2);\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar FormBuilder = (function () {\r\n function FormBuilder() {\r\n }\r\n /**\r\n * Construct a new {@link ControlGroup} with the given map of configuration.\r\n * Valid keys for the `extra` parameter map are `optionals` and `validator`.\r\n *\r\n * See the {@link ControlGroup} constructor for more details.\r\n */\r\n FormBuilder.prototype.group = function (controlsConfig, extra) {\r\n if (extra === void 0) { extra = null; }\r\n var controls = this._reduceControls(controlsConfig);\r\n var optionals = (lang_1.isPresent(extra) ? collection_1.StringMapWrapper.get(extra, \"optionals\") : null);\r\n var validator = lang_1.isPresent(extra) ? collection_1.StringMapWrapper.get(extra, \"validator\") : null;\r\n var asyncValidator = lang_1.isPresent(extra) ? collection_1.StringMapWrapper.get(extra, \"asyncValidator\") : null;\r\n return new modelModule.ControlGroup(controls, optionals, validator, asyncValidator);\r\n };\r\n /**\r\n * Construct a new {@link Control} with the given `value`,`validator`, and `asyncValidator`.\r\n */\r\n FormBuilder.prototype.control = function (value, validator, asyncValidator) {\r\n if (validator === void 0) { validator = null; }\r\n if (asyncValidator === void 0) { asyncValidator = null; }\r\n return new modelModule.Control(value, validator, asyncValidator);\r\n };\r\n /**\r\n * Construct an array of {@link Control}s from the given `controlsConfig` array of\r\n * configuration, with the given optional `validator` and `asyncValidator`.\r\n */\r\n FormBuilder.prototype.array = function (controlsConfig, validator, asyncValidator) {\r\n var _this = this;\r\n if (validator === void 0) { validator = null; }\r\n if (asyncValidator === void 0) { asyncValidator = null; }\r\n var controls = controlsConfig.map(function (c) { return _this._createControl(c); });\r\n return new modelModule.ControlArray(controls, validator, asyncValidator);\r\n };\r\n /** @internal */\r\n FormBuilder.prototype._reduceControls = function (controlsConfig) {\r\n var _this = this;\r\n var controls = {};\r\n collection_1.StringMapWrapper.forEach(controlsConfig, function (controlConfig, controlName) {\r\n controls[controlName] = _this._createControl(controlConfig);\r\n });\r\n return controls;\r\n };\r\n /** @internal */\r\n FormBuilder.prototype._createControl = function (controlConfig) {\r\n if (controlConfig instanceof modelModule.Control ||\r\n controlConfig instanceof modelModule.ControlGroup ||\r\n controlConfig instanceof modelModule.ControlArray) {\r\n return controlConfig;\r\n }\r\n else if (lang_1.isArray(controlConfig)) {\r\n var value = controlConfig[0];\r\n var validator = controlConfig.length > 1 ? controlConfig[1] : null;\r\n var asyncValidator = controlConfig.length > 2 ? controlConfig[2] : null;\r\n return this.control(value, validator, asyncValidator);\r\n }\r\n else {\r\n return this.control(controlConfig);\r\n }\r\n };\r\n FormBuilder = __decorate([\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], FormBuilder);\r\n return FormBuilder;\r\n}());\r\nexports.FormBuilder = FormBuilder;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybV9idWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9mb3Jtcy9mb3JtX2J1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHFCQUF5QixlQUFlLENBQUMsQ0FBQTtBQUN6QywyQkFBK0IsZ0NBQWdDLENBQUMsQ0FBQTtBQUNoRSxxQkFBbUQsMEJBQTBCLENBQUMsQ0FBQTtBQUM5RSxJQUFZLFdBQVcsV0FBTSxTQUFTLENBQUMsQ0FBQTtBQUl2Qzs7Ozs7Ozs7Ozs7Ozs7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uQWJzdHJhY3RDb250cm9sfSA9IHt9O1xuICAgIFN0cmluZ01hcFdyYXBwZXIuZm9yRWFjaChjb250cm9sc0NvbmZpZywgKGNvbnRyb2xDb25maWc6IGFueSwgY29udHJvbE5hbWU6IHN0cmluZykgPT4ge1xuICAgICAgY29udHJvbHNbY29udHJvbE5hbWVdID0gdGhpcy5fY3JlYXRlQ29udHJvbChjb250cm9sQ29uZmlnKTtcbiAgICB9KTtcbiAgICByZXR1cm4gY29udHJvbHM7XG4gIH1cblxuICAvKiogQGludGVybmFsICovXG4gIF9jcmVhdGVDb250cm9sKGNvbnRyb2xDb25maWc6IGFueSk6IG1vZGVsTW9kdWxlLkFic3RyYWN0Q29udHJvbCB7XG4gICAgaWYgKGNvbnRyb2xDb25maWcgaW5zdGFuY2VvZiBtb2RlbE1vZHVsZS5Db250cm9sIHx8XG4gICAgICAgIGNvbnRyb2xDb25maWcgaW5zdGFuY2VvZiBtb2RlbE1vZHVsZS5Db250cm9sR3JvdXAgfHxcbiAgICAgICAgY29udHJvbENvbmZpZyBpbnN0YW5jZW9mIG1vZGVsTW9kdWxlLkNvbnRyb2xBcnJheSkge1xuICAgICAgcmV0dXJuIGNvbnRyb2xDb25maWc7XG5cbiAgICB9IGVsc2UgaWYgKGlzQXJyYXkoY29udHJvbENvbmZpZykpIHtcbiAgICAgIHZhciB2YWx1ZSA9IGNvbnRyb2xDb25maWdbMF07XG4gICAgICB2YXIgdmFsaWRhdG9yOiBWYWxpZGF0b3JGbiA9IGNvbnRyb2xDb25maWcubGVuZ3RoID4gMSA/IGNvbnRyb2xDb25maWdbMV0gOiBudWxsO1xuICAgICAgdmFyIGFzeW5jVmFsaWRhdG9yOiBBc3luY1ZhbGlkYXRvckZuID0gY29udHJvbENvbmZpZy5sZW5ndGggPiAyID8gY29udHJvbENvbmZpZ1syXSA6IG51bGw7XG4gICAgICByZXR1cm4gdGhpcy5jb250cm9sKHZhbHVlLCB2YWxpZGF0b3IsIGFzeW5jVmFsaWRhdG9yKTtcblxuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gdGhpcy5jb250cm9sKGNvbnRyb2xDb25maWcpO1xuICAgIH1cbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Used to provide a {@link ControlValueAccessor} for form controls.\r\n *\r\n * See {@link DefaultValueAccessor} for how to implement one.\r\n */\r\nexports.NG_VALUE_ACCESSOR = lang_1.CONST_EXPR(new core_1.OpaqueToken(\"NgValueAccessor\"));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbF92YWx1ZV9hY2Nlc3Nvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvZGlyZWN0aXZlcy9jb250cm9sX3ZhbHVlX2FjY2Vzc29yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBMEIsZUFBZSxDQUFDLENBQUE7QUFDMUMscUJBQXlCLDBCQUEwQixDQUFDLENBQUE7QUEyQnBEOzs7O0dBSUc7QUFDVSx5QkFBaUIsR0FBZ0IsaUJBQVUsQ0FBQyxJQUFJLGtCQUFXLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtPcGFxdWVUb2tlbn0gZnJvbSAnYW5ndWxhcjIvY29yZSc7XG5pbXBvcnQge0NPTlNUX0VYUFJ9IGZyb20gJ2FuZ3VsYXIyL3NyYy9mYWNhZGUvbGFuZyc7XG5cbi8qKlxuICogQSBicmlkZ2UgYmV0d2VlbiBhIGNvbnRyb2wgYW5kIGEgbmF0aXZlIGVsZW1lbnQuXG4g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xdWVUb2tlbihcIk5nVmFsdWVBY2Nlc3NvclwiKSk7Il19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\n/**\r\n * Base class for control directives.\r\n *\r\n * Only used internally in the forms module.\r\n */\r\nvar AbstractControlDirective = (function () {\r\n function AbstractControlDirective() {\r\n }\r\n Object.defineProperty(AbstractControlDirective.prototype, \"control\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControlDirective.prototype, \"value\", {\r\n get: function () { return lang_1.isPresent(this.control) ? this.control.value : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControlDirective.prototype, \"valid\", {\r\n get: function () { return lang_1.isPresent(this.control) ? this.control.valid : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControlDirective.prototype, \"errors\", {\r\n get: function () {\r\n return lang_1.isPresent(this.control) ? this.control.errors : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControlDirective.prototype, \"pristine\", {\r\n get: function () { return lang_1.isPresent(this.control) ? this.control.pristine : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControlDirective.prototype, \"dirty\", {\r\n get: function () { return lang_1.isPresent(this.control) ? this.control.dirty : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControlDirective.prototype, \"touched\", {\r\n get: function () { return lang_1.isPresent(this.control) ? this.control.touched : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControlDirective.prototype, \"untouched\", {\r\n get: function () { return lang_1.isPresent(this.control) ? this.control.untouched : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AbstractControlDirective.prototype, \"path\", {\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return AbstractControlDirective;\r\n}());\r\nexports.AbstractControlDirective = AbstractControlDirective;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3RfY29udHJvbF9kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2Zvcm1zL2RpcmVjdGl2ZXMvYWJzdHJhY3RfY29udHJvbF9kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLHFCQUF3QiwwQkFBMEIsQ0FBQyxDQUFBO0FBQ25ELDJCQUE0QixnQ0FBZ0MsQ0FBQyxDQUFBO0FBRTdEOzs7O0dBSUc7QUFDSDtJQUFBO0lBb0JBLENBQUM7SUFuQkMsc0JBQUksNkNBQU87YUFBWCxjQUFpQyxNQUFNLENBQUMsMEJBQWEsRUFBRSxDQUFDLENBQUMsQ0FBQzs7O09BQUE7SUFFMUQsc0JBQUksMkNBQUs7YUFBVCxjQUFtQixNQUFNLENBQUMsZ0JBQVMsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLENBQUMsQ0FBQzs7O09BQUE7SUFFaEYsc0JBQUksMkNBQUs7YUFBVCxjQUF1QixNQUFNLENBQUMsZ0JBQVMsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLENBQUMsQ0FBQzs7O09BQUE7SUFFcEYsc0JBQUksNENBQU07YUFBVjtZQUNFLE1BQU0sQ0FBQyxnQkFBUyxDQUFDLElBQUksQ0FBQyxPQUFPL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VjaGVkKCk6IGJvb2xlYW4geyByZXR1cm4gaXNQcmVzZW50KHRoaXMuY29udHJvbCkgPyB0aGlzLmNvbnRyb2wudG91Y2hlZCA6IG51bGw7IH1cblxuICBnZXQgdW50b3VjaGVkKCk6IGJvb2xlYW4geyByZXR1cm4gaXNQcmVzZW50KHRoaXMuY29udHJvbCkgPyB0aGlzLmNvbnRyb2wudW50b3VjaGVkIDogbnVsbDsgfVxuXG4gIGdldCBwYXRoKCk6IHN0cmluZ1tdIHsgcmV0dXJuIG51bGw7IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar abstract_control_directive_1 = require('./abstract_control_directive');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\n/**\r\n * A base class that all control directive extend.\r\n * It binds a {@link Control} object to a DOM element.\r\n *\r\n * Used internally by Angular forms.\r\n */\r\nvar NgControl = (function (_super) {\r\n __extends(NgControl, _super);\r\n function NgControl() {\r\n _super.apply(this, arguments);\r\n this.name = null;\r\n this.valueAccessor = null;\r\n }\r\n Object.defineProperty(NgControl.prototype, \"validator\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgControl.prototype, \"asyncValidator\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return NgControl;\r\n}(abstract_control_directive_1.AbstractControlDirective));\r\nexports.NgControl = NgControl;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfY29udHJvbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0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GFzcyB0aGF0IGFsbCBjb250cm9sIGRpcmVjdGl2ZSBleHRlbmQuXG4gKiBJdCBiaW5kcyBhIHtAbGluayBDb250cm9sfSBvYmplY3QgdG8gYSBET00gZWxlbWVudC5cbiAqXG4gKiBVc2VkIGludGVybmFsbHkgYnkgQW5ndWxhciBmb3Jtcy5cbiAqL1xuZXhwb3J0IGFic3RyYWN0IGNsYXNzIE5nQ29udHJvbCBleHRlbmRzIEFic3RyYWN0Q29udHJvbERpcmVjdGl2ZSB7XG4gIG5hbWU6IHN0cmluZyA9IG51bGw7XG4gIHZhbHVlQWNjZXNzb3I6IENvbnRyb2xWYWx1ZUFjY2Vzc29yID0gbnVsbDtcblxuICBnZXQgdmFsaWRhdG9yKCk6IFZhbGlkYXRvckZuIHsgcmV0dXJuIDxWYWxpZGF0b3JGbj51bmltcGxlbWVudGVkKCk7IH1cbiAgZ2V0IGFzeW5jVmFsaWRhdG9yKCk6IEFzeW5jVmFsaWRhdG9yRm4geyByZXR1cm4gPEFzeW5jVmFsaWRhdG9yRm4+dW5pbXBsZW1lbnRlZCgpOyB9XG5cbiAgYWJzdHJhY3Qgdmlld1RvTW9kZWxVcGRhdGUobmV3VmFsdWU6IGFueSk6IHZvaWQ7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar control_value_accessor_1 = require('angular2/src/common/forms/directives/control_value_accessor');\r\nvar ng_control_1 = require('angular2/src/common/forms/directives/ng_control');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar RADIO_VALUE_ACCESSOR = lang_1.CONST_EXPR(new core_1.Provider(control_value_accessor_1.NG_VALUE_ACCESSOR, { useExisting: core_1.forwardRef(function () { return RadioControlValueAccessor; }), multi: true }));\r\n/**\r\n * Internal class used by Angular to uncheck radio buttons with the matching name.\r\n */\r\nvar RadioControlRegistry = (function () {\r\n function RadioControlRegistry() {\r\n this._accessors = [];\r\n }\r\n RadioControlRegistry.prototype.add = function (control, accessor) {\r\n this._accessors.push([control, accessor]);\r\n };\r\n RadioControlRegistry.prototype.remove = function (accessor) {\r\n var indexToRemove = -1;\r\n for (var i = 0; i < this._accessors.length; ++i) {\r\n if (this._accessors[i][1] === accessor) {\r\n indexToRemove = i;\r\n }\r\n }\r\n collection_1.ListWrapper.removeAt(this._accessors, indexToRemove);\r\n };\r\n RadioControlRegistry.prototype.select = function (accessor) {\r\n this._accessors.forEach(function (c) {\r\n if (c[0].control.root === accessor._control.control.root && c[1] !== accessor) {\r\n c[1].fireUncheck();\r\n }\r\n });\r\n };\r\n RadioControlRegistry = __decorate([\r\n core_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], RadioControlRegistry);\r\n return RadioControlRegistry;\r\n}());\r\nexports.RadioControlRegistry = RadioControlRegistry;\r\n/**\r\n * The value provided by the forms API for radio buttons.\r\n */\r\nvar RadioButtonState = (function () {\r\n function RadioButtonState(checked, value) {\r\n this.checked = checked;\r\n this.value = value;\r\n }\r\n return RadioButtonState;\r\n}());\r\nexports.RadioButtonState = RadioButtonState;\r\n/**\r\n * The accessor for writing a radio control value and listening to changes that is used by the\r\n * {@link NgModel}, {@link NgFormControl}, and {@link NgControlName} directives.\r\n *\r\n * ### Example\r\n * ```\r\n * @Component({\r\n * template: `\r\n * <input type=\"radio\" name=\"food\" [(ngModel)]=\"foodChicken\">\r\n * <input type=\"radio\" name=\"food\" [(ngModel)]=\"foodFish\">\r\n * `\r\n * })\r\n * class FoodCmp {\r\n * foodChicken = new RadioButtonState(true, \"chicken\");\r\n * foodFish = new RadioButtonState(false, \"fish\");\r\n * }\r\n * ```\r\n */\r\nvar RadioControlValueAccessor = (function () {\r\n function RadioControlValueAccessor(_renderer, _elementRef, _registry, _injector) {\r\n this._renderer = _renderer;\r\n this._elementRef = _elementRef;\r\n this._registry = _registry;\r\n this._injector = _injector;\r\n this.onChange = function () { };\r\n this.onTouched = function () { };\r\n }\r\n RadioControlValueAccessor.prototype.ngOnInit = function () {\r\n this._control = this._injector.get(ng_control_1.NgControl);\r\n this._registry.add(this._control, this);\r\n };\r\n RadioControlValueAccessor.prototype.ngOnDestroy = function () { this._registry.remove(this); };\r\n RadioControlValueAccessor.prototype.writeValue = function (value) {\r\n this._state = value;\r\n if (lang_1.isPresent(value) && value.checked) {\r\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'checked', true);\r\n }\r\n };\r\n RadioControlValueAccessor.prototype.registerOnChange = function (fn) {\r\n var _this = this;\r\n this._fn = fn;\r\n this.onChange = function () {\r\n fn(new RadioButtonState(true, _this._state.value));\r\n _this._registry.select(_this);\r\n };\r\n };\r\n RadioControlValueAccessor.prototype.fireUncheck = function () { this._fn(new RadioButtonState(false, this._state.value)); };\r\n RadioControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\r\n __decorate([\r\n core_1.Input(), \r\n __metadata('design:type', String)\r\n ], RadioControlValueAccessor.prototype, \"name\", void 0);\r\n RadioControlValueAccessor = __decorate([\r\n core_1.Directive({\r\n selector: 'input[type=radio][ngControl],input[type=radio][ngFormControl],input[type=radio][ngModel]',\r\n host: { '(change)': 'onChange()', '(blur)': 'onTouched()' },\r\n providers: [RADIO_VALUE_ACCESSOR]\r\n }), \r\n __metadata('design:paramtypes', [core_1.Renderer, core_1.ElementRef, RadioControlRegistry, core_1.Injector])\r\n ], RadioControlValueAccessor);\r\n return RadioControlValueAccessor;\r\n}());\r\nexports.RadioControlValueAccessor = RadioControlValueAccessor;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW9fY29udHJvbF92YWx1ZV9hY2Nlc3Nvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZm9ybXMvZGlyZWN0aXZlcy9yYWRpb19jb250cm9sX3ZhbHVlX2FjY2Vzc29yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxxQkFhTyxlQUFlLENBQUMsQ0FBQTtBQUN2Qix1Q0FHTyw2REFBNkQsQ0FBQyxDQUFBO0FBQ3JFLDJCQUF3QixpREFBaUQsQ0FBQyxDQUFBO0FBQzFFLHFCQUFvRCwwQkFBMEIsQ0FBQyxDQUFBO0FBQy9FLDJCQUEwQixnQ0FBZ0MsQ0FBQyxDQUFBO0FBRTNELElBQU0sb0JBQW9CLEdBQUcsaUJBQVUsQ0FBQyxJQUFJLGVBQVEsQ0FDaEQsMENBQWlCLEVBQUUsRUFBQyxXQUFXLEVBQUUsaUJBQVUsQ0FBQyxjQUFNLE9BQUEseUJBQXlCLEVBQXpCLENBQXlCLENBQUMsRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFDLENBQUMsQ0FBQyxDQUFDO0FBR2pHOztHQUVHO0FBRUg7SUFBQTtRQUNVLGVBQVUsR0FBVSxFQUFFLENBQUM7SUF1QmpDLENBQUM7SUFyQkMsa0NBQUcsR0FBSCxVQUFJLE9BQWtCLEVBQUUsUUFBbUM7UUFDekQsSUFBSSxDQUFDLFVBQVUsQ0FBQyxJQUFJLEN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B9XG5cbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7IHRoaXMuX3JlZ2lzdHJ5LnJlbW92ZSh0aGlzKTsgfVxuXG4gIHdyaXRlVmFsdWUodmFsdWU6IGFueSk6IHZvaWQge1xuICAgIHRoaXMuX3N0YXRlID0gdmFsdWU7XG4gICAgaWYgKGlzUHJlc2VudCh2YWx1ZSkgJiYgdmFsdWUuY2hlY2tlZCkge1xuICAgICAgdGhpcy5fcmVuZGVyZXIuc2V0RWxlbWVudFByb3BlcnR5KHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ2NoZWNrZWQnLCB0cnVlKTtcbiAgICB9XG4gIH1cblxuICByZWdpc3Rlck9uQ2hhbmdlKGZuOiAoXzogYW55KSA9PiB7fSk6IHZvaWQge1xuICAgIHRoaXMuX2ZuID0gZm47XG4gICAgdGhpcy5vbkNoYW5nZSA9ICgpID0+IHtcbiAgICAgIGZuKG5ldyBSYWRpb0J1dHRvblN0YXRlKHRydWUsIHRoaXMuX3N0YXRlLnZhbHVlKSk7XG4gICAgICB0aGlzLl9yZWdpc3RyeS5zZWxlY3QodGhpcyk7XG4gICAgfTtcbiAgfVxuXG4gIGZpcmVVbmNoZWNrKCk6IHZvaWQgeyB0aGlzLl9mbihuZXcgUmFkaW9CdXR0b25TdGF0ZShmYWxzZSwgdGhpcy5fc3RhdGUudmFsdWUpKTsgfVxuXG4gIHJlZ2lzdGVyT25Ub3VjaGVkKGZuOiAoKSA9PiB7fSk6IHZvaWQgeyB0aGlzLm9uVG91Y2hlZCA9IGZuOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n/**\r\n * @module\r\n * @description\r\n * This module is used for handling user input, by defining and building a {@link ControlGroup} that\r\n * consists of\r\n * {@link Control} objects, and mapping them onto the DOM. {@link Control} objects can then be used\r\n * to read information\r\n * from the form DOM elements.\r\n *\r\n * This module is not included in the `angular2` module; you must import the forms module\r\n * explicitly.\r\n *\r\n */\r\nvar model_1 = require('./forms/model');\r\nexports.AbstractControl = model_1.AbstractControl;\r\nexports.Control = model_1.Control;\r\nexports.ControlGroup = model_1.ControlGroup;\r\nexports.ControlArray = model_1.ControlArray;\r\nvar abstract_control_directive_1 = require('./forms/directives/abstract_control_directive');\r\nexports.AbstractControlDirective = abstract_control_directive_1.AbstractControlDirective;\r\nvar control_container_1 = require('./forms/directives/control_container');\r\nexports.ControlContainer = control_container_1.ControlContainer;\r\nvar ng_control_name_1 = require('./forms/directives/ng_control_name');\r\nexports.NgControlName = ng_control_name_1.NgControlName;\r\nvar ng_form_control_1 = require('./forms/directives/ng_form_control');\r\nexports.NgFormControl = ng_form_control_1.NgFormControl;\r\nvar ng_model_1 = require('./forms/directives/ng_model');\r\nexports.NgModel = ng_model_1.NgModel;\r\nvar ng_control_1 = require('./forms/directives/ng_control');\r\nexports.NgControl = ng_control_1.NgControl;\r\nvar ng_control_group_1 = require('./forms/directives/ng_control_group');\r\nexports.NgControlGroup = ng_control_group_1.NgControlGroup;\r\nvar ng_form_model_1 = require('./forms/directives/ng_form_model');\r\nexports.NgFormModel = ng_form_model_1.NgFormModel;\r\nvar ng_form_1 = require('./forms/directives/ng_form');\r\nexports.NgForm = ng_form_1.NgForm;\r\nvar control_value_accessor_1 = require('./forms/directives/control_value_accessor');\r\nexports.NG_VALUE_ACCESSOR = control_value_accessor_1.NG_VALUE_ACCESSOR;\r\nvar default_value_accessor_1 = require('./forms/directives/default_value_accessor');\r\nexports.DefaultValueAccessor = default_value_accessor_1.DefaultValueAccessor;\r\nvar ng_control_status_1 = require('./forms/directives/ng_control_status');\r\nexports.NgControlStatus = ng_control_status_1.NgControlStatus;\r\nvar checkbox_value_accessor_1 = require('./forms/directives/checkbox_value_accessor');\r\nexports.CheckboxControlValueAccessor = checkbox_value_accessor_1.CheckboxControlValueAccessor;\r\nvar select_control_value_accessor_1 = require('./forms/directives/select_control_value_accessor');\r\nexports.NgSelectOption = select_control_value_accessor_1.NgSelectOption;\r\nexports.SelectControlValueAccessor = select_control_value_accessor_1.SelectControlValueAccessor;\r\nvar directives_1 = require('./forms/directives');\r\nexports.FORM_DIRECTIVES = directives_1.FORM_DIRECTIVES;\r\nexports.RadioButtonState = directives_1.RadioButtonState;\r\nvar validators_1 = require('./forms/validators');\r\nexports.NG_VALIDATORS = validators_1.NG_VALIDATORS;\r\nexports.NG_ASYNC_VALIDATORS = validators_1.NG_ASYNC_VALIDATORS;\r\nexports.Validators = validators_1.Validators;\r\nvar validators_2 = require('./forms/directives/validators');\r\nexports.RequiredValidator = validators_2.RequiredValidator;\r\nexports.MinLengthValidator = validators_2.MinLengthValidator;\r\nexports.MaxLengthValidator = validators_2.MaxLengthValidator;\r\nexports.PatternValidator = validators_2.PatternValidator;\r\nvar form_builder_1 = require('./forms/form_builder');\r\nexports.FormBuilder = form_builder_1.FormBuilder;\r\nvar form_builder_2 = require('./forms/form_builder');\r\nvar radio_control_value_accessor_1 = require('./forms/directives/radio_control_value_accessor');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Shorthand set of providers used for building Angular forms.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * bootstrap(MyApp, [FORM_PROVIDERS]);\r\n * ```\r\n */\r\nexports.FORM_PROVIDERS = lang_1.CONST_EXPR([form_builder_2.FormBuilder, radio_control_value_accessor_1.RadioControlRegistry]);\r\n/**\r\n * See {@link FORM_PROVIDERS} instead.\r\n *\r\n * @deprecated\r\n */\r\nexports.FORM_BINDINGS = exports.FORM_PROVIDERS;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2Zvcm1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs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YWRpb19jb250cm9sX3ZhbHVlX2FjY2Vzc29yJztcbmltcG9ydCB7VHlwZSwgQ09OU1RfRVhQUn0gZnJvbSAnYW5ndWxhcjIvc3JjL2ZhY2FkZS9sYW5nJztcblxuLyoqXG4gKiBTaG9ydGhhbmQgc2V0IG9mIHByb3ZpZGVycyB1c2VkIGZvciBidWlsZGluZyBBbmd1bGFyIGZvcm1zLlxuICpcbiAqICMjIyBFeGFtcGxlXG4gKlxuICogYGBgdHlwZXNjcmlwdFxuICogYm9vdHN0cmFwKE15QXBwLCBbRk9STV9QUk9WSURFUlNdKTtcbiAqIGBgYFxuICovXG5leHBvcnQgY29uc3QgRk9STV9QUk9WSURFUlM6IFR5cGVbXSA9IENPTlNUX0VYUFIoW0Zvcm1CdWlsZGVyLCBSYWRpb0NvbnRyb2xSZWdpc3RyeV0pO1xuXG4vKipcbiAqIFNlZSB7QGxpbmsgRk9STV9QUk9WSURFUlN9IGluc3RlYWQuXG4gKlxuICogQGRlcHJlY2F0ZWRcbiAqL1xuZXhwb3J0IGNvbnN0IEZPUk1fQklORElOR1MgPSBGT1JNX1BST1ZJREVSUztcbiJdfQ==","/* */ \n\"format global\";\n'use strict';// TS does not have Observables\r\n\"use strict\";\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JzZXJ2YWJsZV9saXN0X2RpZmYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2RpcmVjdGl2ZXMvb2JzZXJ2YWJsZV9saXN0X2RpZmYudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0JBQStCOztBQVN1QiIsInNvdXJjZXNDb250ZW50IjpbIi8vIFRTIGRvZXMgbm90IGhhdmUgT2JzZXJ2YWJsZXNcblxuLy8gSSBuZWVkIHRvIGJlIGhlcmUgdG8gbWFrZSBUeXBlU2NyaXB0IHRoaW5rIHRoaXMgaXMgYSBtb2R1bGUuXG5pbXBvcnQge30gZnJvbSAnYW5ndWxhcjIvc3JjL2ZhY2FkZS9sYW5nJztcblxuLyoqXG4gKiBUaGlzIG1vZHVsZSBleGlzdHMgaW4gRGFydCwgYnV0IG5vdCBpbiBUeXBlc2NyaXB0LiBUaGlzIGV4cG9ydGVkIHN5bWJvbFxuICogaXMgb25seSBoZXJlIHRvIGhlbHAgVHlwZXNjcmlwdCB0aGluayB0aGlzIGlzIGEgbW9kdWxlLlxuICovXG5leHBvcnQgdmFyIHdvcmthcm91bmRfZW1wdHlfb2JzZXJ2YWJsZV9saXN0X2RpZmY6IGFueTtcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar core_1 = require('angular2/core');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\n/**\r\n * The `NgClass` directive conditionally adds and removes CSS classes on an HTML element based on\r\n * an expression's evaluation result.\r\n *\r\n * The result of an expression evaluation is interpreted differently depending on type of\r\n * the expression evaluation result:\r\n * - `string` - all the CSS classes listed in a string (space delimited) are added\r\n * - `Array` - all the CSS classes (Array elements) are added\r\n * - `Object` - each key corresponds to a CSS class name while values are interpreted as expressions\r\n * evaluating to `Boolean`. If a given expression evaluates to `true` a corresponding CSS class\r\n * is added - otherwise it is removed.\r\n *\r\n * While the `NgClass` directive can interpret expressions evaluating to `string`, `Array`\r\n * or `Object`, the `Object`-based version is the most often used and has an advantage of keeping\r\n * all the CSS class names in a template.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/a4YdtmWywhJ33uqfpPPn?p=preview)):\r\n *\r\n * ```\r\n * import {Component} from 'angular2/core';\r\n * import {NgClass} from 'angular2/common';\r\n *\r\n * @Component({\r\n * selector: 'toggle-button',\r\n * inputs: ['isDisabled'],\r\n * template: `\r\n * <div class=\"button\" [ngClass]=\"{active: isOn, disabled: isDisabled}\"\r\n * (click)=\"toggle(!isOn)\">\r\n * Click me!\r\n * </div>`,\r\n * styles: [`\r\n * .button {\r\n * width: 120px;\r\n * border: medium solid black;\r\n * }\r\n *\r\n * .active {\r\n * background-color: red;\r\n * }\r\n *\r\n * .disabled {\r\n * color: gray;\r\n * border: medium solid gray;\r\n * }\r\n * `]\r\n * directives: [NgClass]\r\n * })\r\n * class ToggleButton {\r\n * isOn = false;\r\n * isDisabled = false;\r\n *\r\n * toggle(newState) {\r\n * if (!this.isDisabled) {\r\n * this.isOn = newState;\r\n * }\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar NgClass = (function () {\r\n function NgClass(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\r\n this._iterableDiffers = _iterableDiffers;\r\n this._keyValueDiffers = _keyValueDiffers;\r\n this._ngEl = _ngEl;\r\n this._renderer = _renderer;\r\n this._initialClasses = [];\r\n }\r\n Object.defineProperty(NgClass.prototype, \"initialClasses\", {\r\n set: function (v) {\r\n this._applyInitialClasses(true);\r\n this._initialClasses = lang_1.isPresent(v) && lang_1.isString(v) ? v.split(' ') : [];\r\n this._applyInitialClasses(false);\r\n this._applyClasses(this._rawClass, false);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgClass.prototype, \"rawClass\", {\r\n set: function (v) {\r\n this._cleanupClasses(this._rawClass);\r\n if (lang_1.isString(v)) {\r\n v = v.split(' ');\r\n }\r\n this._rawClass = v;\r\n this._iterableDiffer = null;\r\n this._keyValueDiffer = null;\r\n if (lang_1.isPresent(v)) {\r\n if (collection_1.isListLikeIterable(v)) {\r\n this._iterableDiffer = this._iterableDiffers.find(v).create(null);\r\n }\r\n else {\r\n this._keyValueDiffer = this._keyValueDiffers.find(v).create(null);\r\n }\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgClass.prototype.ngDoCheck = function () {\r\n if (lang_1.isPresent(this._iterableDiffer)) {\r\n var changes = this._iterableDiffer.diff(this._rawClass);\r\n if (lang_1.isPresent(changes)) {\r\n this._applyIterableChanges(changes);\r\n }\r\n }\r\n if (lang_1.isPresent(this._keyValueDiffer)) {\r\n var changes = this._keyValueDiffer.diff(this._rawClass);\r\n if (lang_1.isPresent(changes)) {\r\n this._applyKeyValueChanges(changes);\r\n }\r\n }\r\n };\r\n NgClass.prototype.ngOnDestroy = function () { this._cleanupClasses(this._rawClass); };\r\n NgClass.prototype._cleanupClasses = function (rawClassVal) {\r\n this._applyClasses(rawClassVal, true);\r\n this._applyInitialClasses(false);\r\n };\r\n NgClass.prototype._applyKeyValueChanges = function (changes) {\r\n var _this = this;\r\n changes.forEachAddedItem(function (record) { _this._toggleClass(record.key, record.currentValue); });\r\n changes.forEachChangedItem(function (record) { _this._toggleClass(record.key, record.currentValue); });\r\n changes.forEachRemovedItem(function (record) {\r\n if (record.previousValue) {\r\n _this._toggleClass(record.key, false);\r\n }\r\n });\r\n };\r\n NgClass.prototype._applyIterableChanges = function (changes) {\r\n var _this = this;\r\n changes.forEachAddedItem(function (record) { _this._toggleClass(record.item, true); });\r\n changes.forEachRemovedItem(function (record) { _this._toggleClass(record.item, false); });\r\n };\r\n NgClass.prototype._applyInitialClasses = function (isCleanup) {\r\n var _this = this;\r\n this._initialClasses.forEach(function (className) { return _this._toggleClass(className, !isCleanup); });\r\n };\r\n NgClass.prototype._applyClasses = function (rawClassVal, isCleanup) {\r\n var _this = this;\r\n if (lang_1.isPresent(rawClassVal)) {\r\n if (lang_1.isArray(rawClassVal)) {\r\n rawClassVal.forEach(function (className) { return _this._toggleClass(className, !isCleanup); });\r\n }\r\n else if (rawClassVal instanceof Set) {\r\n rawClassVal.forEach(function (className) { return _this._toggleClass(className, !isCleanup); });\r\n }\r\n else {\r\n collection_1.StringMapWrapper.forEach(rawClassVal, function (expVal, className) {\r\n if (lang_1.isPresent(expVal))\r\n _this._toggleClass(className, !isCleanup);\r\n });\r\n }\r\n }\r\n };\r\n NgClass.prototype._toggleClass = function (className, enabled) {\r\n className = className.trim();\r\n if (className.length > 0) {\r\n if (className.indexOf(' ') > -1) {\r\n var classes = className.split(/\\s+/g);\r\n for (var i = 0, len = classes.length; i < len; i++) {\r\n this._renderer.setElementClass(this._ngEl.nativeElement, classes[i], enabled);\r\n }\r\n }\r\n else {\r\n this._renderer.setElementClass(this._ngEl.nativeElement, className, enabled);\r\n }\r\n }\r\n };\r\n NgClass = __decorate([\r\n core_1.Directive({ selector: '[ngClass]', inputs: ['rawClass: ngClass', 'initialClasses: class'] }), \r\n __metadata('design:paramtypes', [core_1.IterableDiffers, core_1.KeyValueDiffers, core_1.ElementRef, core_1.Renderer])\r\n ], NgClass);\r\n return NgClass;\r\n}());\r\nexports.NgClass = NgClass;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfY2xhc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2RpcmVjdGl2ZXMvbmdfY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHFCQUEyQywwQkFBMEIsQ0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 \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require(\"../../facade/exceptions\");\r\n/**\r\n * The `NgFor` directive instantiates a template once per item from an iterable. The context for\r\n * each instantiated template inherits from the outer context with the given loop variable set\r\n * to the current item from the iterable.\r\n *\r\n * ### Local Variables\r\n *\r\n * `NgFor` provides several exported values that can be aliased to local variables:\r\n *\r\n * * `index` will be set to the current loop iteration for each template context.\r\n * * `first` will be set to a boolean value indicating whether the item is the first one in the\r\n * iteration.\r\n * * `last` will be set to a boolean value indicating whether the item is the last one in the\r\n * iteration.\r\n * * `even` will be set to a boolean value indicating whether this item has an even index.\r\n * * `odd` will be set to a boolean value indicating whether this item has an odd index.\r\n *\r\n * ### Change Propagation\r\n *\r\n * When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM:\r\n *\r\n * * When an item is added, a new instance of the template is added to the DOM.\r\n * * When an item is removed, its template instance is removed from the DOM.\r\n * * When items are reordered, their respective templates are reordered in the DOM.\r\n * * Otherwise, the DOM element for that item will remain the same.\r\n *\r\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\r\n * those changes in the DOM. This has important implications for animations and any stateful\r\n * controls\r\n * (such as `<input>` elements which accept user input) that are present. Inserted rows can be\r\n * animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state such\r\n * as user input.\r\n *\r\n * It is possible for the identities of elements in the iterator to change while the data does not.\r\n * This can happen, for example, if the iterator produced from an RPC to the server, and that\r\n * RPC is re-run. Even if the data hasn't changed, the second response will produce objects with\r\n * different identities, and Angular will tear down the entire DOM and rebuild it (as if all old\r\n * elements were deleted and all new elements inserted). This is an expensive operation and should\r\n * be avoided if possible.\r\n *\r\n * ### Syntax\r\n *\r\n * - `<li *ngFor=\"let item of items; #i = index\">...</li>`\r\n * - `<li template=\"ngFor #item of items; #i = index\">...</li>`\r\n * - `<template ngFor #item [ngForOf]=\"items\" #i=\"index\"><li>...</li></template>`\r\n *\r\n * ### Example\r\n *\r\n * See a [live demo](http://plnkr.co/edit/KVuXxDp0qinGDyo307QW?p=preview) for a more detailed\r\n * example.\r\n */\r\nvar NgFor = (function () {\r\n function NgFor(_viewContainer, _templateRef, _iterableDiffers, _cdr) {\r\n this._viewContainer = _viewContainer;\r\n this._templateRef = _templateRef;\r\n this._iterableDiffers = _iterableDiffers;\r\n this._cdr = _cdr;\r\n }\r\n Object.defineProperty(NgFor.prototype, \"ngForOf\", {\r\n set: function (value) {\r\n this._ngForOf = value;\r\n if (lang_1.isBlank(this._differ) && lang_1.isPresent(value)) {\r\n try {\r\n this._differ = this._iterableDiffers.find(value).create(this._cdr, this._ngForTrackBy);\r\n }\r\n catch (e) {\r\n throw new exceptions_1.BaseException(\"Cannot find a differ supporting object '\" + value + \"' of type '\" + lang_1.getTypeNameForDebugging(value) + \"'. NgFor only supports binding to Iterables such as Arrays.\");\r\n }\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgFor.prototype, \"ngForTemplate\", {\r\n set: function (value) {\r\n if (lang_1.isPresent(value)) {\r\n this._templateRef = value;\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgFor.prototype, \"ngForTrackBy\", {\r\n set: function (value) { this._ngForTrackBy = value; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgFor.prototype.ngDoCheck = function () {\r\n if (lang_1.isPresent(this._differ)) {\r\n var changes = this._differ.diff(this._ngForOf);\r\n if (lang_1.isPresent(changes))\r\n this._applyChanges(changes);\r\n }\r\n };\r\n NgFor.prototype._applyChanges = function (changes) {\r\n var _this = this;\r\n // TODO(rado): check if change detection can produce a change record that is\r\n // easier to consume than current.\r\n var recordViewTuples = [];\r\n changes.forEachRemovedItem(function (removedRecord) {\r\n return recordViewTuples.push(new RecordViewTuple(removedRecord, null));\r\n });\r\n changes.forEachMovedItem(function (movedRecord) {\r\n return recordViewTuples.push(new RecordViewTuple(movedRecord, null));\r\n });\r\n var insertTuples = this._bulkRemove(recordViewTuples);\r\n changes.forEachAddedItem(function (addedRecord) {\r\n return insertTuples.push(new RecordViewTuple(addedRecord, null));\r\n });\r\n this._bulkInsert(insertTuples);\r\n for (var i = 0; i < insertTuples.length; i++) {\r\n this._perViewChange(insertTuples[i].view, insertTuples[i].record);\r\n }\r\n for (var i = 0, ilen = this._viewContainer.length; i < ilen; i++) {\r\n var viewRef = this._viewContainer.get(i);\r\n viewRef.setLocal('first', i === 0);\r\n viewRef.setLocal('last', i === ilen - 1);\r\n }\r\n changes.forEachIdentityChange(function (record) {\r\n var viewRef = _this._viewContainer.get(record.currentIndex);\r\n viewRef.setLocal('\\$implicit', record.item);\r\n });\r\n };\r\n NgFor.prototype._perViewChange = function (view, record) {\r\n view.setLocal('\\$implicit', record.item);\r\n view.setLocal('index', record.currentIndex);\r\n view.setLocal('even', (record.currentIndex % 2 == 0));\r\n view.setLocal('odd', (record.currentIndex % 2 == 1));\r\n };\r\n NgFor.prototype._bulkRemove = function (tuples) {\r\n tuples.sort(function (a, b) {\r\n return a.record.previousIndex - b.record.previousIndex;\r\n });\r\n var movedTuples = [];\r\n for (var i = tuples.length - 1; i >= 0; i--) {\r\n var tuple = tuples[i];\r\n // separate moved views from removed views.\r\n if (lang_1.isPresent(tuple.record.currentIndex)) {\r\n tuple.view = this._viewContainer.detach(tuple.record.previousIndex);\r\n movedTuples.push(tuple);\r\n }\r\n else {\r\n this._viewContainer.remove(tuple.record.previousIndex);\r\n }\r\n }\r\n return movedTuples;\r\n };\r\n NgFor.prototype._bulkInsert = function (tuples) {\r\n tuples.sort(function (a, b) { return a.record.currentIndex - b.record.currentIndex; });\r\n for (var i = 0; i < tuples.length; i++) {\r\n var tuple = tuples[i];\r\n if (lang_1.isPresent(tuple.view)) {\r\n this._viewContainer.insert(tuple.view, tuple.record.currentIndex);\r\n }\r\n else {\r\n tuple.view =\r\n this._viewContainer.createEmbeddedView(this._templateRef, tuple.record.currentIndex);\r\n }\r\n }\r\n return tuples;\r\n };\r\n NgFor = __decorate([\r\n core_1.Directive({ selector: '[ngFor][ngForOf]', inputs: ['ngForTrackBy', 'ngForOf', 'ngForTemplate'] }), \r\n __metadata('design:paramtypes', [core_1.ViewContainerRef, core_1.TemplateRef, core_1.IterableDiffers, core_1.ChangeDetectorRef])\r\n ], NgFor);\r\n return NgFor;\r\n}());\r\nexports.NgFor = NgFor;\r\nvar RecordViewTuple = (function () {\r\n function RecordViewTuple(record, view) {\r\n this.record = record;\r\n this.view = view;\r\n }\r\n return RecordViewTuple;\r\n}());\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfZm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9kaXJlY3RpdmVzL25nX2Zvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEscUJBVU8sZUFBZSxDQUFDLENBQUE7QUFDdkIscUJBQXFFLDBCQUEwQixDQUFDLENBQUE7QUFLaEcsMkJBQTRCLHlCQUF5QixDQUFDL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dXBsZS5yZWNvcmQuY3VycmVudEluZGV4KTtcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIHR1cGxlcztcbiAgfVxufVxuXG5jbGFzcyBSZWNvcmRWaWV3VHVwbGUge1xuICB2aWV3OiBFbWJlZGRlZFZpZXdSZWY7XG4gIHJlY29yZDogYW55O1xuICBjb25zdHJ1Y3RvcihyZWNvcmQ6IGFueSwgdmlldzogRW1iZWRkZWRWaWV3UmVmKSB7XG4gICAgdGhpcy5yZWNvcmQgPSByZWNvcmQ7XG4gICAgdGhpcy52aWV3ID0gdmlldztcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Removes or recreates a portion of the DOM tree based on an {expression}.\r\n *\r\n * If the expression assigned to `ngIf` evaluates to a false value then the element\r\n * is removed from the DOM, otherwise a clone of the element is reinserted into the DOM.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/fe0kgemFBtmQOY31b4tw?p=preview)):\r\n *\r\n * ```\r\n * <div *ngIf=\"errorCount > 0\" class=\"error\">\r\n * <!-- Error message displayed when the errorCount property on the current context is greater\r\n * than 0. -->\r\n * {{errorCount}} errors detected\r\n * </div>\r\n * ```\r\n *\r\n * ### Syntax\r\n *\r\n * - `<div *ngIf=\"condition\">...</div>`\r\n * - `<div template=\"ngIf condition\">...</div>`\r\n * - `<template [ngIf]=\"condition\"><div>...</div></template>`\r\n */\r\nvar NgIf = (function () {\r\n function NgIf(_viewContainer, _templateRef) {\r\n this._viewContainer = _viewContainer;\r\n this._templateRef = _templateRef;\r\n this._prevCondition = null;\r\n }\r\n Object.defineProperty(NgIf.prototype, \"ngIf\", {\r\n set: function (newCondition /* boolean */) {\r\n if (newCondition && (lang_1.isBlank(this._prevCondition) || !this._prevCondition)) {\r\n this._prevCondition = true;\r\n this._viewContainer.createEmbeddedView(this._templateRef);\r\n }\r\n else if (!newCondition && (lang_1.isBlank(this._prevCondition) || this._prevCondition)) {\r\n this._prevCondition = false;\r\n this._viewContainer.clear();\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgIf = __decorate([\r\n core_1.Directive({ selector: '[ngIf]', inputs: ['ngIf'] }), \r\n __metadata('design:paramtypes', [core_1.ViewContainerRef, core_1.TemplateRef])\r\n ], NgIf);\r\n return NgIf;\r\n}());\r\nexports.NgIf = NgIf;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfaWYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2RpcmVjdGl2ZXMvbmdfaWYudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHFCQUF1RCxlQUFlLENBQUMsQ0FBQTtBQUN2RSxxQkFBc0IsMEJBQTBCLENBQUMsQ0FBQTtBQUVqRDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBcUJHO0FBRUg7SUFHRSxjQUFvQixjQUFnQyxFQUFVLFlBQXlCO1FBQW5FLG1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iY29uZGl0aW9uXCI+PGRpdj4uLi48L2Rpdj48L3RlbXBsYXRlPmBcbiAqL1xuQERpcmVjdGl2ZSh7c2VsZWN0b3I6ICdbbmdJZl0nLCBpbnB1dHM6IFsnbmdJZiddfSlcbmV4cG9ydCBjbGFzcyBOZ0lmIHtcbiAgcHJpdmF0ZSBfcHJldkNvbmRpdGlvbjogYm9vbGVhbiA9IG51bGw7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSBfdmlld0NvbnRhaW5lcjogVmlld0NvbnRhaW5lclJlZiwgcHJpdmF0ZSBfdGVtcGxhdGVSZWY6IFRlbXBsYXRlUmVmKSB7fVxuXG4gIHNldCBuZ0lmKG5ld0NvbmRpdGlvbjogYW55IC8qIGJvb2xlYW4gKi8pIHtcbiAgICBpZiAobmV3Q29uZGl0aW9uICYmIChpc0JsYW5rKHRoaXMuX3ByZXZDb25kaXRpb24pIHx8ICF0aGlzLl9wcmV2Q29uZGl0aW9uKSkge1xuICAgICAgdGhpcy5fcHJldkNvbmRpdGlvbiA9IHRydWU7XG4gICAgICB0aGlzLl92aWV3Q29udGFpbmVyLmNyZWF0ZUVtYmVkZGVkVmlldyh0aGlzLl90ZW1wbGF0ZVJlZik7XG4gICAgfSBlbHNlIGlmICghbmV3Q29uZGl0aW9uICYmIChpc0JsYW5rKHRoaXMuX3ByZXZDb25kaXRpb24pIHx8IHRoaXMuX3ByZXZDb25kaXRpb24pKSB7XG4gICAgICB0aGlzLl9wcmV2Q29uZGl0aW9uID0gZmFsc2U7XG4gICAgICB0aGlzLl92aWV3Q29udGFpbmVyLmNsZWFyKCk7XG4gICAgfVxuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Creates and inserts an embedded view based on a prepared `TemplateRef`.\r\n *\r\n * ### Syntax\r\n * - `<template [ngTemplateOutlet]=\"templateRefExpression\"></template>`\r\n */\r\nvar NgTemplateOutlet = (function () {\r\n function NgTemplateOutlet(_viewContainerRef) {\r\n this._viewContainerRef = _viewContainerRef;\r\n }\r\n Object.defineProperty(NgTemplateOutlet.prototype, \"ngTemplateOutlet\", {\r\n set: function (templateRef) {\r\n if (lang_1.isPresent(this._insertedViewRef)) {\r\n this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._insertedViewRef));\r\n }\r\n if (lang_1.isPresent(templateRef)) {\r\n this._insertedViewRef = this._viewContainerRef.createEmbeddedView(templateRef);\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n __decorate([\r\n core_1.Input(), \r\n __metadata('design:type', core_1.TemplateRef), \r\n __metadata('design:paramtypes', [core_1.TemplateRef])\r\n ], NgTemplateOutlet.prototype, \"ngTemplateOutlet\", null);\r\n NgTemplateOutlet = __decorate([\r\n core_1.Directive({ selector: '[ngTemplateOutlet]' }), \r\n __metadata('design:paramtypes', [core_1.ViewContainerRef])\r\n ], NgTemplateOutlet);\r\n return NgTemplateOutlet;\r\n}());\r\nexports.NgTemplateOutlet = NgTemplateOutlet;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfdGVtcGxhdGVfb3V0bGV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdX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5faW5zZXJ0ZWRWaWV3UmVmID0gdGhpcy5fdmlld0NvbnRhaW5lclJlZi5jcmVhdGVFbWJlZGRlZFZpZXcodGVtcGxhdGVSZWYpO1xuICAgIH1cbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * The `NgStyle` directive changes styles based on a result of expression evaluation.\r\n *\r\n * An expression assigned to the `ngStyle` property must evaluate to an object and the\r\n * corresponding element styles are updated based on changes to this object. Style names to update\r\n * are taken from the object's keys, and values - from the corresponding object's values.\r\n *\r\n * ### Syntax\r\n *\r\n * - `<div [ngStyle]=\"{'font-style': style}\"></div>`\r\n * - `<div [ngStyle]=\"styleExp\"></div>` - here the `styleExp` must evaluate to an object\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/YamGS6GkUh9GqWNQhCyM?p=preview)):\r\n *\r\n * ```\r\n * import {Component} from 'angular2/core';\r\n * import {NgStyle} from 'angular2/common';\r\n *\r\n * @Component({\r\n * selector: 'ngStyle-example',\r\n * template: `\r\n * <h1 [ngStyle]=\"{'font-style': style, 'font-size': size, 'font-weight': weight}\">\r\n * Change style of this text!\r\n * </h1>\r\n *\r\n * <hr>\r\n *\r\n * <label>Italic: <input type=\"checkbox\" (change)=\"changeStyle($event)\"></label>\r\n * <label>Bold: <input type=\"checkbox\" (change)=\"changeWeight($event)\"></label>\r\n * <label>Size: <input type=\"text\" [value]=\"size\" (change)=\"size = $event.target.value\"></label>\r\n * `,\r\n * directives: [NgStyle]\r\n * })\r\n * export class NgStyleExample {\r\n * style = 'normal';\r\n * weight = 'normal';\r\n * size = '20px';\r\n *\r\n * changeStyle($event: any) {\r\n * this.style = $event.target.checked ? 'italic' : 'normal';\r\n * }\r\n *\r\n * changeWeight($event: any) {\r\n * this.weight = $event.target.checked ? 'bold' : 'normal';\r\n * }\r\n * }\r\n * ```\r\n *\r\n * In this example the `font-style`, `font-size` and `font-weight` styles will be updated\r\n * based on the `style` property's value changes.\r\n */\r\nvar NgStyle = (function () {\r\n function NgStyle(_differs, _ngEl, _renderer) {\r\n this._differs = _differs;\r\n this._ngEl = _ngEl;\r\n this._renderer = _renderer;\r\n }\r\n Object.defineProperty(NgStyle.prototype, \"rawStyle\", {\r\n set: function (v) {\r\n this._rawStyle = v;\r\n if (lang_1.isBlank(this._differ) && lang_1.isPresent(v)) {\r\n this._differ = this._differs.find(this._rawStyle).create(null);\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgStyle.prototype.ngDoCheck = function () {\r\n if (lang_1.isPresent(this._differ)) {\r\n var changes = this._differ.diff(this._rawStyle);\r\n if (lang_1.isPresent(changes)) {\r\n this._applyChanges(changes);\r\n }\r\n }\r\n };\r\n NgStyle.prototype._applyChanges = function (changes) {\r\n var _this = this;\r\n changes.forEachAddedItem(function (record) { _this._setStyle(record.key, record.currentValue); });\r\n changes.forEachChangedItem(function (record) { _this._setStyle(record.key, record.currentValue); });\r\n changes.forEachRemovedItem(function (record) { _this._setStyle(record.key, null); });\r\n };\r\n NgStyle.prototype._setStyle = function (name, val) {\r\n this._renderer.setElementStyle(this._ngEl.nativeElement, name, val);\r\n };\r\n NgStyle = __decorate([\r\n core_1.Directive({ selector: '[ngStyle]', inputs: ['rawStyle: ngStyle'] }), \r\n __metadata('design:paramtypes', [core_1.KeyValueDiffers, core_1.ElementRef, core_1.Renderer])\r\n ], NgStyle);\r\n return NgStyle;\r\n}());\r\nexports.NgStyle = NgStyle;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfc3R5bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2RpcmVjdGl2ZXMvbmdfc3R5bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHFCQU9PLGVBQWUsQ0FBQyxDQUFBO0FBQ3ZCLHFCQUF3QywwQkFBMEIsQ0FBQyxDQUFBO0FBR25FOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtERztBQUVIO0lBTUUsaUJBQW9CLFFBQXlCLEVBQVUsS0FBaUIsRUFDcEQsU0FBbUI7UUFEbkIsYUFBUSxHQUFSLFFBQVEsQ0FBaUI7UUFBVSxVQUFLLEdBQUwsS0FBSyxDQUFZO1FBQ3BELGNBQVMsR0FBVCxTQUFTLENBQVU7SUFBRyxDQUFDO0lBRTNDLHNCQUFJLDZCQUFRO2FBQVosVUFBYSxDQUEwQjtZQUNyQyxJQUFJLENBQUMsU0FBUyxHQUFHLENBQUMsQ0FBQztZQUNuQixFQUFFLENBQUMsQ0FBQyxjQUFPLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLGdCQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO2dCQUMxQyxJQUFJLENBQUMsT0FBTyxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDL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JFYWNoQWRkZWRJdGVtKFxuICAgICAgICAocmVjb3JkOiBLZXlWYWx1ZUNoYW5nZVJlY29yZCkgPT4geyB0aGlzLl9zZXRTdHlsZShyZWNvcmQua2V5LCByZWNvcmQuY3VycmVudFZhbHVlKTsgfSk7XG4gICAgY2hhbmdlcy5mb3JFYWNoQ2hhbmdlZEl0ZW0oXG4gICAgICAgIChyZWNvcmQ6IEtleVZhbHVlQ2hhbmdlUmVjb3JkKSA9PiB7IHRoaXMuX3NldFN0eWxlKHJlY29yZC5rZXksIHJlY29yZC5jdXJyZW50VmFsdWUpOyB9KTtcbiAgICBjaGFuZ2VzLmZvckVhY2hSZW1vdmVkSXRlbShcbiAgICAgICAgKHJlY29yZDogS2V5VmFsdWVDaGFuZ2VSZWNvcmQpID0+IHsgdGhpcy5fc2V0U3R5bGUocmVjb3JkLmtleSwgbnVsbCk7IH0pO1xuICB9XG5cbiAgcHJpdmF0ZSBfc2V0U3R5bGUobmFtZTogc3RyaW5nLCB2YWw6IHN0cmluZyk6IHZvaWQge1xuICAgIHRoaXMuX3JlbmRlcmVyLnNldEVsZW1lbnRTdHlsZSh0aGlzLl9uZ0VsLm5hdGl2ZUVsZW1lbnQsIG5hbWUsIHZhbCk7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar metadata_1 = require('angular2/src/core/di/metadata');\r\n/**\r\n * Specifies that a constant attribute value should be injected.\r\n *\r\n * The directive can inject constant string literals of host element attributes.\r\n *\r\n * ### Example\r\n *\r\n * Suppose we have an `<input>` element and want to know its `type`.\r\n *\r\n * ```html\r\n * <input type=\"text\">\r\n * ```\r\n *\r\n * A decorator can inject string literal `text` like so:\r\n *\r\n * {@example core/ts/metadata/metadata.ts region='attributeMetadata'}\r\n */\r\nvar AttributeMetadata = (function (_super) {\r\n __extends(AttributeMetadata, _super);\r\n function AttributeMetadata(attributeName) {\r\n _super.call(this);\r\n this.attributeName = attributeName;\r\n }\r\n Object.defineProperty(AttributeMetadata.prototype, \"token\", {\r\n get: function () {\r\n // Normally one would default a token to a type of an injected value but here\r\n // the type of a variable is \"string\" and we can't use primitive type as a return value\r\n // so we use instance of Attribute instead. This doesn't matter much in practice as arguments\r\n // with @Attribute annotation are injected by ElementInjector that doesn't take tokens into\r\n // account.\r\n return this;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n AttributeMetadata.prototype.toString = function () { return \"@Attribute(\" + lang_1.stringify(this.attributeName) + \")\"; };\r\n AttributeMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [String])\r\n ], AttributeMetadata);\r\n return AttributeMetadata;\r\n}(metadata_1.DependencyMetadata));\r\nexports.AttributeMetadata = AttributeMetadata;\r\n/**\r\n * Declares an injectable parameter to be a live list of directives or variable\r\n * bindings from the content children of a directive.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/lY9m8HLy7z06vDoUaSN2?p=preview))\r\n *\r\n * Assume that `<tabs>` component would like to get a list its children `<pane>`\r\n * components as shown in this example:\r\n *\r\n * ```html\r\n * <tabs>\r\n * <pane title=\"Overview\">...</pane>\r\n * <pane *ngFor=\"let o of objects\" [title]=\"o.title\">{{o.text}}</pane>\r\n * </tabs>\r\n * ```\r\n *\r\n * The preferred solution is to query for `Pane` directives using this decorator.\r\n *\r\n * ```javascript\r\n * @Component({\r\n * selector: 'pane',\r\n * inputs: ['title']\r\n * })\r\n * class Pane {\r\n * title:string;\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'tabs',\r\n * template: `\r\n * <ul>\r\n * <li *ngFor=\"let pane of panes\">{{pane.title}}</li>\r\n * </ul>\r\n * <ng-content></ng-content>\r\n * `\r\n * })\r\n * class Tabs {\r\n * panes: QueryList<Pane>;\r\n * constructor(@Query(Pane) panes:QueryList<Pane>) {\r\n * this.panes = panes;\r\n * }\r\n * }\r\n * ```\r\n *\r\n * A query can look for variable bindings by passing in a string with desired binding symbol.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/sT2j25cH1dURAyBRCKx1?p=preview))\r\n * ```html\r\n * <seeker>\r\n * <div #findme>...</div>\r\n * </seeker>\r\n *\r\n * @Component({ selector: 'seeker' })\r\n * class Seeker {\r\n * constructor(@Query('findme') elList: QueryList<ElementRef>) {...}\r\n * }\r\n * ```\r\n *\r\n * In this case the object that is injected depend on the type of the variable\r\n * binding. It can be an ElementRef, a directive or a component.\r\n *\r\n * Passing in a comma separated list of variable bindings will query for all of them.\r\n *\r\n * ```html\r\n * <seeker>\r\n * <div #find-me>...</div>\r\n * <div #find-me-too>...</div>\r\n * </seeker>\r\n *\r\n * @Component({\r\n * selector: 'seeker'\r\n * })\r\n * class Seeker {\r\n * constructor(@Query('findMe, findMeToo') elList: QueryList<ElementRef>) {...}\r\n * }\r\n * ```\r\n *\r\n * Configure whether query looks for direct children or all descendants\r\n * of the querying element, by using the `descendants` parameter.\r\n * It is set to `false` by default.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/wtGeB977bv7qvA5FTYl9?p=preview))\r\n * ```html\r\n * <container #first>\r\n * <item>a</item>\r\n * <item>b</item>\r\n * <container #second>\r\n * <item>c</item>\r\n * </container>\r\n * </container>\r\n * ```\r\n *\r\n * When querying for items, the first container will see only `a` and `b` by default,\r\n * but with `Query(TextDirective, {descendants: true})` it will see `c` too.\r\n *\r\n * The queried directives are kept in a depth-first pre-order with respect to their\r\n * positions in the DOM.\r\n *\r\n * Query does not look deep into any subcomponent views.\r\n *\r\n * Query is updated as part of the change-detection cycle. Since change detection\r\n * happens after construction of a directive, QueryList will always be empty when observed in the\r\n * constructor.\r\n *\r\n * The injected object is an unmodifiable live list.\r\n * See {@link QueryList} for more details.\r\n */\r\nvar QueryMetadata = (function (_super) {\r\n __extends(QueryMetadata, _super);\r\n function QueryMetadata(_selector, _a) {\r\n var _b = _a === void 0 ? {} : _a, _c = _b.descendants, descendants = _c === void 0 ? false : _c, _d = _b.first, first = _d === void 0 ? false : _d, _e = _b.read, read = _e === void 0 ? null : _e;\r\n _super.call(this);\r\n this._selector = _selector;\r\n this.descendants = descendants;\r\n this.first = first;\r\n this.read = read;\r\n }\r\n Object.defineProperty(QueryMetadata.prototype, \"isViewQuery\", {\r\n /**\r\n * always `false` to differentiate it with {@link ViewQueryMetadata}.\r\n */\r\n get: function () { return false; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(QueryMetadata.prototype, \"selector\", {\r\n /**\r\n * what this is querying for.\r\n */\r\n get: function () { return di_1.resolveForwardRef(this._selector); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(QueryMetadata.prototype, \"isVarBindingQuery\", {\r\n /**\r\n * whether this is querying for a variable binding or a directive.\r\n */\r\n get: function () { return lang_1.isString(this.selector); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(QueryMetadata.prototype, \"varBindings\", {\r\n /**\r\n * returns a list of variable bindings this is querying for.\r\n * Only applicable if this is a variable bindings query.\r\n */\r\n get: function () { return this.selector.split(','); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n QueryMetadata.prototype.toString = function () { return \"@Query(\" + lang_1.stringify(this.selector) + \")\"; };\r\n QueryMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object, Object])\r\n ], QueryMetadata);\r\n return QueryMetadata;\r\n}(metadata_1.DependencyMetadata));\r\nexports.QueryMetadata = QueryMetadata;\r\n// TODO: add an example after ContentChildren and ViewChildren are in master\r\n/**\r\n * Configures a content query.\r\n *\r\n * Content queries are set before the `ngAfterContentInit` callback is called.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * @Directive({\r\n * selector: 'someDir'\r\n * })\r\n * class SomeDir {\r\n * @ContentChildren(ChildDirective) contentChildren: QueryList<ChildDirective>;\r\n *\r\n * ngAfterContentInit() {\r\n * // contentChildren is set\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar ContentChildrenMetadata = (function (_super) {\r\n __extends(ContentChildrenMetadata, _super);\r\n function ContentChildrenMetadata(_selector, _a) {\r\n var _b = _a === void 0 ? {} : _a, _c = _b.descendants, descendants = _c === void 0 ? false : _c, _d = _b.read, read = _d === void 0 ? null : _d;\r\n _super.call(this, _selector, { descendants: descendants, read: read });\r\n }\r\n ContentChildrenMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object, Object])\r\n ], ContentChildrenMetadata);\r\n return ContentChildrenMetadata;\r\n}(QueryMetadata));\r\nexports.ContentChildrenMetadata = ContentChildrenMetadata;\r\n// TODO: add an example after ContentChild and ViewChild are in master\r\n/**\r\n * Configures a content query.\r\n *\r\n * Content queries are set before the `ngAfterContentInit` callback is called.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * @Directive({\r\n * selector: 'someDir'\r\n * })\r\n * class SomeDir {\r\n * @ContentChild(ChildDirective) contentChild;\r\n *\r\n * ngAfterContentInit() {\r\n * // contentChild is set\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar ContentChildMetadata = (function (_super) {\r\n __extends(ContentChildMetadata, _super);\r\n function ContentChildMetadata(_selector, _a) {\r\n var _b = (_a === void 0 ? {} : _a).read, read = _b === void 0 ? null : _b;\r\n _super.call(this, _selector, { descendants: true, first: true, read: read });\r\n }\r\n ContentChildMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object, Object])\r\n ], ContentChildMetadata);\r\n return ContentChildMetadata;\r\n}(QueryMetadata));\r\nexports.ContentChildMetadata = ContentChildMetadata;\r\n/**\r\n * Similar to {@link QueryMetadata}, but querying the component view, instead of\r\n * the content children.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/eNsFHDf7YjyM6IzKxM1j?p=preview))\r\n *\r\n * ```javascript\r\n * @Component({\r\n * ...,\r\n * template: `\r\n * <item> a </item>\r\n * <item> b </item>\r\n * <item> c </item>\r\n * `\r\n * })\r\n * class MyComponent {\r\n * shown: boolean;\r\n *\r\n * constructor(private @ViewQuery(Item) items:QueryList<Item>) {\r\n * items.changes.subscribe(() => console.log(items.length));\r\n * }\r\n * }\r\n * ```\r\n *\r\n * Supports the same querying parameters as {@link QueryMetadata}, except\r\n * `descendants`. This always queries the whole view.\r\n *\r\n * As `shown` is flipped between true and false, items will contain zero of one\r\n * items.\r\n *\r\n * Specifies that a {@link QueryList} should be injected.\r\n *\r\n * The injected object is an iterable and observable live list.\r\n * See {@link QueryList} for more details.\r\n */\r\nvar ViewQueryMetadata = (function (_super) {\r\n __extends(ViewQueryMetadata, _super);\r\n function ViewQueryMetadata(_selector, _a) {\r\n var _b = _a === void 0 ? {} : _a, _c = _b.descendants, descendants = _c === void 0 ? false : _c, _d = _b.first, first = _d === void 0 ? false : _d, _e = _b.read, read = _e === void 0 ? null : _e;\r\n _super.call(this, _selector, { descendants: descendants, first: first, read: read });\r\n }\r\n Object.defineProperty(ViewQueryMetadata.prototype, \"isViewQuery\", {\r\n /**\r\n * always `true` to differentiate it with {@link QueryMetadata}.\r\n */\r\n get: function () { return true; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ViewQueryMetadata.prototype.toString = function () { return \"@ViewQuery(\" + lang_1.stringify(this.selector) + \")\"; };\r\n ViewQueryMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object, Object])\r\n ], ViewQueryMetadata);\r\n return ViewQueryMetadata;\r\n}(QueryMetadata));\r\nexports.ViewQueryMetadata = ViewQueryMetadata;\r\n/**\r\n * Declares a list of child element references.\r\n *\r\n * Angular automatically updates the list when the DOM is updated.\r\n *\r\n * `ViewChildren` takes an argument to select elements.\r\n *\r\n * - If the argument is a type, directives or components with the type will be bound.\r\n *\r\n * - If the argument is a string, the string is interpreted as a list of comma-separated selectors.\r\n * For each selector, an element containing the matching template variable (e.g. `#child`) will be\r\n * bound.\r\n *\r\n * View children are set before the `ngAfterViewInit` callback is called.\r\n *\r\n * ### Example\r\n *\r\n * With type selector:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'child-cmp',\r\n * template: '<p>child</p>'\r\n * })\r\n * class ChildCmp {\r\n * doSomething() {}\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'some-cmp',\r\n * template: `\r\n * <child-cmp></child-cmp>\r\n * <child-cmp></child-cmp>\r\n * <child-cmp></child-cmp>\r\n * `,\r\n * directives: [ChildCmp]\r\n * })\r\n * class SomeCmp {\r\n * @ViewChildren(ChildCmp) children:QueryList<ChildCmp>;\r\n *\r\n * ngAfterViewInit() {\r\n * // children are set\r\n * this.children.toArray().forEach((child)=>child.doSomething());\r\n * }\r\n * }\r\n * ```\r\n *\r\n * With string selector:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'child-cmp',\r\n * template: '<p>child</p>'\r\n * })\r\n * class ChildCmp {\r\n * doSomething() {}\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'some-cmp',\r\n * template: `\r\n * <child-cmp #child1></child-cmp>\r\n * <child-cmp #child2></child-cmp>\r\n * <child-cmp #child3></child-cmp>\r\n * `,\r\n * directives: [ChildCmp]\r\n * })\r\n * class SomeCmp {\r\n * @ViewChildren('child1,child2,child3') children:QueryList<ChildCmp>;\r\n *\r\n * ngAfterViewInit() {\r\n * // children are set\r\n * this.children.toArray().forEach((child)=>child.doSomething());\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar ViewChildrenMetadata = (function (_super) {\r\n __extends(ViewChildrenMetadata, _super);\r\n function ViewChildrenMetadata(_selector, _a) {\r\n var _b = (_a === void 0 ? {} : _a).read, read = _b === void 0 ? null : _b;\r\n _super.call(this, _selector, { descendants: true, read: read });\r\n }\r\n ViewChildrenMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object, Object])\r\n ], ViewChildrenMetadata);\r\n return ViewChildrenMetadata;\r\n}(ViewQueryMetadata));\r\nexports.ViewChildrenMetadata = ViewChildrenMetadata;\r\n/**\r\n *\r\n * Declares a reference of child element.\r\n *\r\n * `ViewChildren` takes an argument to select elements.\r\n *\r\n * - If the argument is a type, a directive or a component with the type will be bound.\r\n *\r\n If the argument is a string, the string is interpreted as a selector. An element containing the\r\n matching template variable (e.g. `#child`) will be bound.\r\n *\r\n * In either case, `@ViewChild()` assigns the first (looking from above) element if there are\r\n multiple matches.\r\n *\r\n * View child is set before the `ngAfterViewInit` callback is called.\r\n *\r\n * ### Example\r\n *\r\n * With type selector:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'child-cmp',\r\n * template: '<p>child</p>'\r\n * })\r\n * class ChildCmp {\r\n * doSomething() {}\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'some-cmp',\r\n * template: '<child-cmp></child-cmp>',\r\n * directives: [ChildCmp]\r\n * })\r\n * class SomeCmp {\r\n * @ViewChild(ChildCmp) child:ChildCmp;\r\n *\r\n * ngAfterViewInit() {\r\n * // child is set\r\n * this.child.doSomething();\r\n * }\r\n * }\r\n * ```\r\n *\r\n * With string selector:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'child-cmp',\r\n * template: '<p>child</p>'\r\n * })\r\n * class ChildCmp {\r\n * doSomething() {}\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'some-cmp',\r\n * template: '<child-cmp #child></child-cmp>',\r\n * directives: [ChildCmp]\r\n * })\r\n * class SomeCmp {\r\n * @ViewChild('child') child:ChildCmp;\r\n *\r\n * ngAfterViewInit() {\r\n * // child is set\r\n * this.child.doSomething();\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar ViewChildMetadata = (function (_super) {\r\n __extends(ViewChildMetadata, _super);\r\n function ViewChildMetadata(_selector, _a) {\r\n var _b = (_a === void 0 ? {} : _a).read, read = _b === void 0 ? null : _b;\r\n _super.call(this, _selector, { descendants: true, first: true, read: read });\r\n }\r\n ViewChildMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object, Object])\r\n ], ViewChildMetadata);\r\n return ViewChildMetadata;\r\n}(ViewQueryMetadata));\r\nexports.ViewChildMetadata = ViewChildMetadata;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9tZXRhZGF0YS9kaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBQSxxQkFBMEQsMEJBQTBCLENBQUMsQ0FBQTtBQUNyRixtQkFBZ0Msc0JBQXNCLENBQUMsQ0FBQTtBQUN2RCx5QkFBaUMsK0JBQStCLENBQUMsQ0FBQTtBQUVqRTs7Ozs7Ozs7Ozs7Ozs7OztHQWdCRztBQUVIO0lBQXVDLHFDQUFrQjtJQUN2RCwyQkFBbUIsYUFBcUI7UUFBSSxpQkFBTyxDQUFDO1FBQWpDLGtCQUFhLEdBQWIsYUFBYSxDQUFRO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29tcG9uZW50KHtcbiAqICAgc2VsZWN0b3I6ICdjaGlsZC1jbXAnLFxuICogICB0ZW1wbGF0ZTogJzxwPmNoaWxkPC9wPidcbiAqIH0pXG4gKiBjbGFzcyBDaGlsZENtcCB7XG4gKiAgIGRvU29tZXRoaW5nKCkge31cbiAqIH1cbiAqXG4gKiBAQ29tcG9uZW50KHtcbiAqICAgc2VsZWN0b3I6ICdzb21lLWNtcCcsXG4gKiAgIHRlbXBsYXRlOiAnPGNoaWxkLWNtcCAjY2hpbGQ+PC9jaGlsZC1jbXA+JyxcbiAqICAgZGlyZWN0aXZlczogW0NoaWxkQ21wXVxuICogfSlcbiAqIGNsYXNzIFNvbWVDbXAge1xuICogICBAVmlld0NoaWxkKCdjaGlsZCcpIGNoaWxkOkNoaWxkQ21wO1xuICpcbiAqICAgbmdBZnRlclZpZXdJbml0KCkge1xuICogICAgIC8vIGNoaWxkIGlzIHNldFxuICogICAgIHRoaXMuY2hpbGQuZG9Tb21ldGhpbmcoKTtcbiAqICAgfVxuICogfVxuICogYGBgXG4gKi9cbkBDT05TVCgpXG5leHBvcnQgY2xhc3MgVmlld0NoaWxkTWV0YWRhdGEgZXh0ZW5kcyBWaWV3UXVlcnlNZXRhZGF0YSB7XG4gIGNvbnN0cnVjdG9yKF9zZWxlY3RvcjogVHlwZSB8IHN0cmluZywge3JlYWQgPSBudWxsfToge3JlYWQ/OiBhbnl9ID0ge30pIHtcbiAgICBzdXBlcihfc2VsZWN0b3IsIHtkZXNjZW5kYW50czogdHJ1ZSwgZmlyc3Q6IHRydWUsIHJlYWQ6IHJlYWR9KTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar metadata_1 = require('angular2/src/core/di/metadata');\r\nvar change_detection_1 = require('angular2/src/core/change_detection');\r\n/**\r\n * Directives allow you to attach behavior to elements in the DOM.\r\n *\r\n * {@link DirectiveMetadata}s with an embedded view are called {@link ComponentMetadata}s.\r\n *\r\n * A directive consists of a single directive annotation and a controller class. When the\r\n * directive's `selector` matches\r\n * elements in the DOM, the following steps occur:\r\n *\r\n * 1. For each directive, the `ElementInjector` attempts to resolve the directive's constructor\r\n * arguments.\r\n * 2. Angular instantiates directives for each matched element using `ElementInjector` in a\r\n * depth-first order,\r\n * as declared in the HTML.\r\n *\r\n * ## Understanding How Injection Works\r\n *\r\n * There are three stages of injection resolution.\r\n * - *Pre-existing Injectors*:\r\n * - The terminal {@link Injector} cannot resolve dependencies. It either throws an error or, if\r\n * the dependency was\r\n * specified as `@Optional`, returns `null`.\r\n * - The platform injector resolves browser singleton resources, such as: cookies, title,\r\n * location, and others.\r\n * - *Component Injectors*: Each component instance has its own {@link Injector}, and they follow\r\n * the same parent-child hierarchy\r\n * as the component instances in the DOM.\r\n * - *Element Injectors*: Each component instance has a Shadow DOM. Within the Shadow DOM each\r\n * element has an `ElementInjector`\r\n * which follow the same parent-child hierarchy as the DOM elements themselves.\r\n *\r\n * When a template is instantiated, it also must instantiate the corresponding directives in a\r\n * depth-first order. The\r\n * current `ElementInjector` resolves the constructor dependencies for each directive.\r\n *\r\n * Angular then resolves dependencies as follows, according to the order in which they appear in the\r\n * {@link ViewMetadata}:\r\n *\r\n * 1. Dependencies on the current element\r\n * 2. Dependencies on element injectors and their parents until it encounters a Shadow DOM boundary\r\n * 3. Dependencies on component injectors and their parents until it encounters the root component\r\n * 4. Dependencies on pre-existing injectors\r\n *\r\n *\r\n * The `ElementInjector` can inject other directives, element-specific special objects, or it can\r\n * delegate to the parent\r\n * injector.\r\n *\r\n * To inject other directives, declare the constructor parameter as:\r\n * - `directive:DirectiveType`: a directive on the current element only\r\n * - `@Host() directive:DirectiveType`: any directive that matches the type between the current\r\n * element and the\r\n * Shadow DOM root.\r\n * - `@Query(DirectiveType) query:QueryList<DirectiveType>`: A live collection of direct child\r\n * directives.\r\n * - `@QueryDescendants(DirectiveType) query:QueryList<DirectiveType>`: A live collection of any\r\n * child directives.\r\n *\r\n * To inject element-specific special objects, declare the constructor parameter as:\r\n * - `element: ElementRef` to obtain a reference to logical element in the view.\r\n * - `viewContainer: ViewContainerRef` to control child template instantiation, for\r\n * {@link DirectiveMetadata} directives only\r\n * - `bindingPropagation: BindingPropagation` to control change detection in a more granular way.\r\n *\r\n * ### Example\r\n *\r\n * The following example demonstrates how dependency injection resolves constructor arguments in\r\n * practice.\r\n *\r\n *\r\n * Assume this HTML template:\r\n *\r\n * ```\r\n * <div dependency=\"1\">\r\n * <div dependency=\"2\">\r\n * <div dependency=\"3\" my-directive>\r\n * <div dependency=\"4\">\r\n * <div dependency=\"5\"></div>\r\n * </div>\r\n * <div dependency=\"6\"></div>\r\n * </div>\r\n * </div>\r\n * </div>\r\n * ```\r\n *\r\n * With the following `dependency` decorator and `SomeService` injectable class.\r\n *\r\n * ```\r\n * @Injectable()\r\n * class SomeService {\r\n * }\r\n *\r\n * @Directive({\r\n * selector: '[dependency]',\r\n * inputs: [\r\n * 'id: dependency'\r\n * ]\r\n * })\r\n * class Dependency {\r\n * id:string;\r\n * }\r\n * ```\r\n *\r\n * Let's step through the different ways in which `MyDirective` could be declared...\r\n *\r\n *\r\n * ### No injection\r\n *\r\n * Here the constructor is declared with no arguments, therefore nothing is injected into\r\n * `MyDirective`.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor() {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with no dependencies.\r\n *\r\n *\r\n * ### Component-level injection\r\n *\r\n * Directives can inject any injectable instance from the closest component injector or any of its\r\n * parents.\r\n *\r\n * Here, the constructor declares a parameter, `someService`, and injects the `SomeService` type\r\n * from the parent\r\n * component's injector.\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(someService: SomeService) {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with a dependency on `SomeService`.\r\n *\r\n *\r\n * ### Injecting a directive from the current element\r\n *\r\n * Directives can inject other directives declared on the current element.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(dependency: Dependency) {\r\n * expect(dependency.id).toEqual(3);\r\n * }\r\n * }\r\n * ```\r\n * This directive would be instantiated with `Dependency` declared at the same element, in this case\r\n * `dependency=\"3\"`.\r\n *\r\n * ### Injecting a directive from any ancestor elements\r\n *\r\n * Directives can inject other directives declared on any ancestor element (in the current Shadow\r\n * DOM), i.e. on the current element, the\r\n * parent element, or its parents.\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(@Host() dependency: Dependency) {\r\n * expect(dependency.id).toEqual(2);\r\n * }\r\n * }\r\n * ```\r\n *\r\n * `@Host` checks the current element, the parent, as well as its parents recursively. If\r\n * `dependency=\"2\"` didn't\r\n * exist on the direct parent, this injection would\r\n * have returned\r\n * `dependency=\"1\"`.\r\n *\r\n *\r\n * ### Injecting a live collection of direct child directives\r\n *\r\n *\r\n * A directive can also query for other child directives. Since parent directives are instantiated\r\n * before child directives, a directive can't simply inject the list of child directives. Instead,\r\n * the directive injects a {@link QueryList}, which updates its contents as children are added,\r\n * removed, or moved by a directive that uses a {@link ViewContainerRef} such as a `ngFor`, an\r\n * `ngIf`, or an `ngSwitch`.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(@Query(Dependency) dependencies:QueryList<Dependency>) {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with a {@link QueryList} which contains `Dependency` 4 and\r\n * `Dependency` 6. Here, `Dependency` 5 would not be included, because it is not a direct child.\r\n *\r\n * ### Injecting a live collection of descendant directives\r\n *\r\n * By passing the descendant flag to `@Query` above, we can include the children of the child\r\n * elements.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(@Query(Dependency, {descendants: true}) dependencies:QueryList<Dependency>) {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with a Query which would contain `Dependency` 4, 5 and 6.\r\n *\r\n * ### Optional injection\r\n *\r\n * The normal behavior of directives is to return an error when a specified dependency cannot be\r\n * resolved. If you\r\n * would like to inject `null` on unresolved dependency instead, you can annotate that dependency\r\n * with `@Optional()`.\r\n * This explicitly permits the author of a template to treat some of the surrounding directives as\r\n * optional.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(@Optional() dependency:Dependency) {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with a `Dependency` directive found on the current element.\r\n * If none can be\r\n * found, the injector supplies `null` instead of throwing an error.\r\n *\r\n * ### Example\r\n *\r\n * Here we use a decorator directive to simply define basic tool-tip behavior.\r\n *\r\n * ```\r\n * @Directive({\r\n * selector: '[tooltip]',\r\n * inputs: [\r\n * 'text: tooltip'\r\n * ],\r\n * host: {\r\n * '(mouseenter)': 'onMouseEnter()',\r\n * '(mouseleave)': 'onMouseLeave()'\r\n * }\r\n * })\r\n * class Tooltip{\r\n * text:string;\r\n * overlay:Overlay; // NOT YET IMPLEMENTED\r\n * overlayManager:OverlayManager; // NOT YET IMPLEMENTED\r\n *\r\n * constructor(overlayManager:OverlayManager) {\r\n * this.overlay = overlay;\r\n * }\r\n *\r\n * onMouseEnter() {\r\n * // exact signature to be determined\r\n * this.overlay = this.overlayManager.open(text, ...);\r\n * }\r\n *\r\n * onMouseLeave() {\r\n * this.overlay.close();\r\n * this.overlay = null;\r\n * }\r\n * }\r\n * ```\r\n * In our HTML template, we can then add this behavior to a `<div>` or any other element with the\r\n * `tooltip` selector,\r\n * like so:\r\n *\r\n * ```\r\n * <div tooltip=\"some text here\"></div>\r\n * ```\r\n *\r\n * Directives can also control the instantiation, destruction, and positioning of inline template\r\n * elements:\r\n *\r\n * A directive uses a {@link ViewContainerRef} to instantiate, insert, move, and destroy views at\r\n * runtime.\r\n * The {@link ViewContainerRef} is created as a result of `<template>` element, and represents a\r\n * location in the current view\r\n * where these actions are performed.\r\n *\r\n * Views are always created as children of the current {@link ViewMetadata}, and as siblings of the\r\n * `<template>` element. Thus a\r\n * directive in a child view cannot inject the directive that created it.\r\n *\r\n * Since directives that create views via ViewContainers are common in Angular, and using the full\r\n * `<template>` element syntax is wordy, Angular\r\n * also supports a shorthand notation: `<li *foo=\"bar\">` and `<li template=\"foo: bar\">` are\r\n * equivalent.\r\n *\r\n * Thus,\r\n *\r\n * ```\r\n * <ul>\r\n * <li *foo=\"bar\" title=\"text\"></li>\r\n * </ul>\r\n * ```\r\n *\r\n * Expands in use to:\r\n *\r\n * ```\r\n * <ul>\r\n * <template [foo]=\"bar\">\r\n * <li title=\"text\"></li>\r\n * </template>\r\n * </ul>\r\n * ```\r\n *\r\n * Notice that although the shorthand places `*foo=\"bar\"` within the `<li>` element, the binding for\r\n * the directive\r\n * controller is correctly instantiated on the `<template>` element rather than the `<li>` element.\r\n *\r\n * ## Lifecycle hooks\r\n *\r\n * When the directive class implements some {@link ../../guide/lifecycle-hooks.html} the callbacks\r\n * are called by the change detection at defined points in time during the life of the directive.\r\n *\r\n * ### Example\r\n *\r\n * Let's suppose we want to implement the `unless` behavior, to conditionally include a template.\r\n *\r\n * Here is a simple directive that triggers on an `unless` selector:\r\n *\r\n * ```\r\n * @Directive({\r\n * selector: '[unless]',\r\n * inputs: ['unless']\r\n * })\r\n * export class Unless {\r\n * viewContainer: ViewContainerRef;\r\n * templateRef: TemplateRef;\r\n * prevCondition: boolean;\r\n *\r\n * constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef) {\r\n * this.viewContainer = viewContainer;\r\n * this.templateRef = templateRef;\r\n * this.prevCondition = null;\r\n * }\r\n *\r\n * set unless(newCondition) {\r\n * if (newCondition && (isBlank(this.prevCondition) || !this.prevCondition)) {\r\n * this.prevCondition = true;\r\n * this.viewContainer.clear();\r\n * } else if (!newCondition && (isBlank(this.prevCondition) || this.prevCondition)) {\r\n * this.prevCondition = false;\r\n * this.viewContainer.create(this.templateRef);\r\n * }\r\n * }\r\n * }\r\n * ```\r\n *\r\n * We can then use this `unless` selector in a template:\r\n * ```\r\n * <ul>\r\n * <li *unless=\"expr\"></li>\r\n * </ul>\r\n * ```\r\n *\r\n * Once the directive instantiates the child view, the shorthand notation for the template expands\r\n * and the result is:\r\n *\r\n * ```\r\n * <ul>\r\n * <template [unless]=\"exp\">\r\n * <li></li>\r\n * </template>\r\n * <li></li>\r\n * </ul>\r\n * ```\r\n *\r\n * Note also that although the `<li></li>` template still exists inside the `<template></template>`,\r\n * the instantiated\r\n * view occurs on the second `<li></li>` which is a sibling to the `<template>` element.\r\n */\r\nvar DirectiveMetadata = (function (_super) {\r\n __extends(DirectiveMetadata, _super);\r\n function DirectiveMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, selector = _b.selector, inputs = _b.inputs, outputs = _b.outputs, properties = _b.properties, events = _b.events, host = _b.host, bindings = _b.bindings, providers = _b.providers, exportAs = _b.exportAs, queries = _b.queries;\r\n _super.call(this);\r\n this.selector = selector;\r\n this._inputs = inputs;\r\n this._properties = properties;\r\n this._outputs = outputs;\r\n this._events = events;\r\n this.host = host;\r\n this.exportAs = exportAs;\r\n this.queries = queries;\r\n this._providers = providers;\r\n this._bindings = bindings;\r\n }\r\n Object.defineProperty(DirectiveMetadata.prototype, \"inputs\", {\r\n /**\r\n * Enumerates the set of data-bound input properties for a directive\r\n *\r\n * Angular automatically updates input properties during change detection.\r\n *\r\n * The `inputs` property defines a set of `directiveProperty` to `bindingProperty`\r\n * configuration:\r\n *\r\n * - `directiveProperty` specifies the component property where the value is written.\r\n * - `bindingProperty` specifies the DOM property where the value is read from.\r\n *\r\n * When `bindingProperty` is not provided, it is assumed to be equal to `directiveProperty`.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/ivhfXY?p=preview))\r\n *\r\n * The following example creates a component with two data-bound properties.\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'bank-account',\r\n * inputs: ['bankName', 'id: account-id'],\r\n * template: `\r\n * Bank Name: {{bankName}}\r\n * Account Id: {{id}}\r\n * `\r\n * })\r\n * class BankAccount {\r\n * bankName: string;\r\n * id: string;\r\n *\r\n * // this property is not bound, and won't be automatically updated by Angular\r\n * normalizedBankName: string;\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `\r\n * <bank-account bank-name=\"RBC\" account-id=\"4747\"></bank-account>\r\n * `,\r\n * directives: [BankAccount]\r\n * })\r\n * class App {}\r\n *\r\n * bootstrap(App);\r\n * ```\r\n *\r\n */\r\n get: function () {\r\n return lang_1.isPresent(this._properties) && this._properties.length > 0 ? this._properties :\r\n this._inputs;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DirectiveMetadata.prototype, \"properties\", {\r\n get: function () { return this.inputs; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DirectiveMetadata.prototype, \"outputs\", {\r\n /**\r\n * Enumerates the set of event-bound output properties.\r\n *\r\n * When an output property emits an event, an event handler attached to that event\r\n * the template is invoked.\r\n *\r\n * The `outputs` property defines a set of `directiveProperty` to `bindingProperty`\r\n * configuration:\r\n *\r\n * - `directiveProperty` specifies the component property that emits events.\r\n * - `bindingProperty` specifies the DOM property the event handler is attached to.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/d5CNq7?p=preview))\r\n *\r\n * ```typescript\r\n * @Directive({\r\n * selector: 'interval-dir',\r\n * outputs: ['everySecond', 'five5Secs: everyFiveSeconds']\r\n * })\r\n * class IntervalDir {\r\n * everySecond = new EventEmitter();\r\n * five5Secs = new EventEmitter();\r\n *\r\n * constructor() {\r\n * setInterval(() => this.everySecond.emit(\"event\"), 1000);\r\n * setInterval(() => this.five5Secs.emit(\"event\"), 5000);\r\n * }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `\r\n * <interval-dir (everySecond)=\"everySecond()\" (everyFiveSeconds)=\"everyFiveSeconds()\">\r\n * </interval-dir>\r\n * `,\r\n * directives: [IntervalDir]\r\n * })\r\n * class App {\r\n * everySecond() { console.log('second'); }\r\n * everyFiveSeconds() { console.log('five seconds'); }\r\n * }\r\n * bootstrap(App);\r\n * ```\r\n *\r\n */\r\n get: function () {\r\n return lang_1.isPresent(this._events) && this._events.length > 0 ? this._events : this._outputs;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DirectiveMetadata.prototype, \"events\", {\r\n get: function () { return this.outputs; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DirectiveMetadata.prototype, \"providers\", {\r\n /**\r\n * Defines the set of injectable objects that are visible to a Directive and its light DOM\r\n * children.\r\n *\r\n * ## Simple Example\r\n *\r\n * Here is an example of a class that can be injected:\r\n *\r\n * ```\r\n * class Greeter {\r\n * greet(name:string) {\r\n * return 'Hello ' + name + '!';\r\n * }\r\n * }\r\n *\r\n * @Directive({\r\n * selector: 'greet',\r\n * bindings: [\r\n * Greeter\r\n * ]\r\n * })\r\n * class HelloWorld {\r\n * greeter:Greeter;\r\n *\r\n * constructor(greeter:Greeter) {\r\n * this.greeter = greeter;\r\n * }\r\n * }\r\n * ```\r\n */\r\n get: function () {\r\n return lang_1.isPresent(this._bindings) && this._bindings.length > 0 ? this._bindings :\r\n this._providers;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DirectiveMetadata.prototype, \"bindings\", {\r\n /** @deprecated */\r\n get: function () { return this.providers; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n DirectiveMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object])\r\n ], DirectiveMetadata);\r\n return DirectiveMetadata;\r\n}(metadata_1.InjectableMetadata));\r\nexports.DirectiveMetadata = DirectiveMetadata;\r\n/**\r\n * Declare reusable UI building blocks for an application.\r\n *\r\n * Each Angular component requires a single `@Component` annotation. The\r\n * `@Component`\r\n * annotation specifies when a component is instantiated, and which properties and hostListeners it\r\n * binds to.\r\n *\r\n * When a component is instantiated, Angular\r\n * - creates a shadow DOM for the component.\r\n * - loads the selected template into the shadow DOM.\r\n * - creates all the injectable objects configured with `providers` and `viewProviders`.\r\n *\r\n * All template expressions and statements are then evaluated against the component instance.\r\n *\r\n * For details on the `@View` annotation, see {@link ViewMetadata}.\r\n *\r\n * ## Lifecycle hooks\r\n *\r\n * When the component class implements some {@link ../../guide/lifecycle-hooks.html} the callbacks\r\n * are called by the change detection at defined points in time during the life of the component.\r\n *\r\n * ### Example\r\n *\r\n * {@example core/ts/metadata/metadata.ts region='component'}\r\n */\r\nvar ComponentMetadata = (function (_super) {\r\n __extends(ComponentMetadata, _super);\r\n function ComponentMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, selector = _b.selector, inputs = _b.inputs, outputs = _b.outputs, properties = _b.properties, events = _b.events, host = _b.host, exportAs = _b.exportAs, moduleId = _b.moduleId, bindings = _b.bindings, providers = _b.providers, viewBindings = _b.viewBindings, viewProviders = _b.viewProviders, _c = _b.changeDetection, changeDetection = _c === void 0 ? change_detection_1.ChangeDetectionStrategy.Default : _c, queries = _b.queries, templateUrl = _b.templateUrl, template = _b.template, styleUrls = _b.styleUrls, styles = _b.styles, directives = _b.directives, pipes = _b.pipes, encapsulation = _b.encapsulation;\r\n _super.call(this, {\r\n selector: selector,\r\n inputs: inputs,\r\n outputs: outputs,\r\n properties: properties,\r\n events: events,\r\n host: host,\r\n exportAs: exportAs,\r\n bindings: bindings,\r\n providers: providers,\r\n queries: queries\r\n });\r\n this.changeDetection = changeDetection;\r\n this._viewProviders = viewProviders;\r\n this._viewBindings = viewBindings;\r\n this.templateUrl = templateUrl;\r\n this.template = template;\r\n this.styleUrls = styleUrls;\r\n this.styles = styles;\r\n this.directives = directives;\r\n this.pipes = pipes;\r\n this.encapsulation = encapsulation;\r\n this.moduleId = moduleId;\r\n }\r\n Object.defineProperty(ComponentMetadata.prototype, \"viewProviders\", {\r\n /**\r\n * Defines the set of injectable objects that are visible to its view DOM children.\r\n *\r\n * ## Simple Example\r\n *\r\n * Here is an example of a class that can be injected:\r\n *\r\n * ```\r\n * class Greeter {\r\n * greet(name:string) {\r\n * return 'Hello ' + name + '!';\r\n * }\r\n * }\r\n *\r\n * @Directive({\r\n * selector: 'needs-greeter'\r\n * })\r\n * class NeedsGreeter {\r\n * greeter:Greeter;\r\n *\r\n * constructor(greeter:Greeter) {\r\n * this.greeter = greeter;\r\n * }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'greet',\r\n * viewProviders: [\r\n * Greeter\r\n * ],\r\n * template: `<needs-greeter></needs-greeter>`,\r\n * directives: [NeedsGreeter]\r\n * })\r\n * class HelloWorld {\r\n * }\r\n *\r\n * ```\r\n */\r\n get: function () {\r\n return lang_1.isPresent(this._viewBindings) && this._viewBindings.length > 0 ? this._viewBindings :\r\n this._viewProviders;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ComponentMetadata.prototype, \"viewBindings\", {\r\n get: function () { return this.viewProviders; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ComponentMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object])\r\n ], ComponentMetadata);\r\n return ComponentMetadata;\r\n}(DirectiveMetadata));\r\nexports.ComponentMetadata = ComponentMetadata;\r\n/**\r\n * Declare reusable pipe function.\r\n *\r\n * A \"pure\" pipe is only re-evaluated when either the input or any of the arguments change.\r\n *\r\n * When not specified, pipes default to being pure.\r\n *\r\n * ### Example\r\n *\r\n * {@example core/ts/metadata/metadata.ts region='pipe'}\r\n */\r\nvar PipeMetadata = (function (_super) {\r\n __extends(PipeMetadata, _super);\r\n function PipeMetadata(_a) {\r\n var name = _a.name, pure = _a.pure;\r\n _super.call(this);\r\n this.name = name;\r\n this._pure = pure;\r\n }\r\n Object.defineProperty(PipeMetadata.prototype, \"pure\", {\r\n get: function () { return lang_1.isPresent(this._pure) ? this._pure : true; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n PipeMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object])\r\n ], PipeMetadata);\r\n return PipeMetadata;\r\n}(metadata_1.InjectableMetadata));\r\nexports.PipeMetadata = PipeMetadata;\r\n/**\r\n * Declares a data-bound input property.\r\n *\r\n * Angular automatically updates data-bound properties during change detection.\r\n *\r\n * `InputMetadata` takes an optional parameter that specifies the name\r\n * used when instantiating a component in the template. When not provided,\r\n * the name of the decorated property is used.\r\n *\r\n * ### Example\r\n *\r\n * The following example creates a component with two input properties.\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'bank-account',\r\n * template: `\r\n * Bank Name: {{bankName}}\r\n * Account Id: {{id}}\r\n * `\r\n * })\r\n * class BankAccount {\r\n * @Input() bankName: string;\r\n * @Input('account-id') id: string;\r\n *\r\n * // this property is not bound, and won't be automatically updated by Angular\r\n * normalizedBankName: string;\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `\r\n * <bank-account bank-name=\"RBC\" account-id=\"4747\"></bank-account>\r\n * `,\r\n * directives: [BankAccount]\r\n * })\r\n * class App {}\r\n *\r\n * bootstrap(App);\r\n * ```\r\n */\r\nvar InputMetadata = (function () {\r\n function InputMetadata(\r\n /**\r\n * Name used when instantiating a component in the template.\r\n */\r\n bindingPropertyName) {\r\n this.bindingPropertyName = bindingPropertyName;\r\n }\r\n InputMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [String])\r\n ], InputMetadata);\r\n return InputMetadata;\r\n}());\r\nexports.InputMetadata = InputMetadata;\r\n/**\r\n * Declares an event-bound output property.\r\n *\r\n * When an output property emits an event, an event handler attached to that event\r\n * the template is invoked.\r\n *\r\n * `OutputMetadata` takes an optional parameter that specifies the name\r\n * used when instantiating a component in the template. When not provided,\r\n * the name of the decorated property is used.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * @Directive({\r\n * selector: 'interval-dir',\r\n * })\r\n * class IntervalDir {\r\n * @Output() everySecond = new EventEmitter();\r\n * @Output('everyFiveSeconds') five5Secs = new EventEmitter();\r\n *\r\n * constructor() {\r\n * setInterval(() => this.everySecond.emit(\"event\"), 1000);\r\n * setInterval(() => this.five5Secs.emit(\"event\"), 5000);\r\n * }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `\r\n * <interval-dir (everySecond)=\"everySecond()\" (everyFiveSeconds)=\"everyFiveSeconds()\">\r\n * </interval-dir>\r\n * `,\r\n * directives: [IntervalDir]\r\n * })\r\n * class App {\r\n * everySecond() { console.log('second'); }\r\n * everyFiveSeconds() { console.log('five seconds'); }\r\n * }\r\n * bootstrap(App);\r\n * ```\r\n */\r\nvar OutputMetadata = (function () {\r\n function OutputMetadata(bindingPropertyName) {\r\n this.bindingPropertyName = bindingPropertyName;\r\n }\r\n OutputMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [String])\r\n ], OutputMetadata);\r\n return OutputMetadata;\r\n}());\r\nexports.OutputMetadata = OutputMetadata;\r\n/**\r\n * Declares a host property binding.\r\n *\r\n * Angular automatically checks host property bindings during change detection.\r\n * If a binding changes, it will update the host element of the directive.\r\n *\r\n * `HostBindingMetadata` takes an optional parameter that specifies the property\r\n * name of the host element that will be updated. When not provided,\r\n * the class property name is used.\r\n *\r\n * ### Example\r\n *\r\n * The following example creates a directive that sets the `valid` and `invalid` classes\r\n * on the DOM element that has ngModel directive on it.\r\n *\r\n * ```typescript\r\n * @Directive({selector: '[ngModel]'})\r\n * class NgModelStatus {\r\n * constructor(public control:NgModel) {}\r\n * @HostBinding('class.valid') get valid { return this.control.valid; }\r\n * @HostBinding('class.invalid') get invalid { return this.control.invalid; }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `<input [(ngModel)]=\"prop\">`,\r\n * directives: [FORM_DIRECTIVES, NgModelStatus]\r\n * })\r\n * class App {\r\n * prop;\r\n * }\r\n *\r\n * bootstrap(App);\r\n * ```\r\n */\r\nvar HostBindingMetadata = (function () {\r\n function HostBindingMetadata(hostPropertyName) {\r\n this.hostPropertyName = hostPropertyName;\r\n }\r\n HostBindingMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [String])\r\n ], HostBindingMetadata);\r\n return HostBindingMetadata;\r\n}());\r\nexports.HostBindingMetadata = HostBindingMetadata;\r\n/**\r\n * Declares a host listener.\r\n *\r\n * Angular will invoke the decorated method when the host element emits the specified event.\r\n *\r\n * If the decorated method returns `false`, then `preventDefault` is applied on the DOM\r\n * event.\r\n *\r\n * ### Example\r\n *\r\n * The following example declares a directive that attaches a click listener to the button and\r\n * counts clicks.\r\n *\r\n * ```typescript\r\n * @Directive({selector: 'button[counting]'})\r\n * class CountClicks {\r\n * numberOfClicks = 0;\r\n *\r\n * @HostListener('click', ['$event.target'])\r\n * onClick(btn) {\r\n * console.log(\"button\", btn, \"number of clicks:\", this.numberOfClicks++);\r\n * }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `<button counting>Increment</button>`,\r\n * directives: [CountClicks]\r\n * })\r\n * class App {}\r\n *\r\n * bootstrap(App);\r\n * ```\r\n */\r\nvar HostListenerMetadata = (function () {\r\n function HostListenerMetadata(eventName, args) {\r\n this.eventName = eventName;\r\n this.args = args;\r\n }\r\n HostListenerMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [String, Array])\r\n ], HostListenerMetadata);\r\n return HostListenerMetadata;\r\n}());\r\nexports.HostListenerMetadata = HostListenerMetadata;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0aXZlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL21ldGFkYXRhL2RpcmVjdGl2ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUEscUJBQWlELDBCQUEwQixDQUFDLENBQUE7QUFDNUUseUJBQWlDLCtCQUErQixDQUFDLENBQUE7QUFDakUsaUNBQXNDLG9DQUFvQyxDQUFDLENBQUE7QUFHM0U7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz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uICpcbiAqIEBDb21wb25lbnQoe1xuICogICBzZWxlY3RvcjogJ2FwcCcsXG4gKiAgIHRlbXBsYXRlOiBgPGJ1dHRvbiBjb3VudGluZz5JbmNyZW1lbnQ8L2J1dHRvbj5gLFxuICogICBkaXJlY3RpdmVzOiBbQ291bnRDbGlja3NdXG4gKiB9KVxuICogY2xhc3MgQXBwIHt9XG4gKlxuICogYm9vdHN0cmFwKEFwcCk7XG4gKiBgYGBcbiAqL1xuQENPTlNUKClcbmV4cG9ydCBjbGFzcyBIb3N0TGlzdGVuZXJNZXRhZGF0YSB7XG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBldmVudE5hbWU6IHN0cmluZywgcHVibGljIGFyZ3M/OiBzdHJpbmdbXSkge31cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Defines template and style encapsulation options available for Component's {@link View}.\r\n *\r\n * See {@link ViewMetadata#encapsulation}.\r\n */\r\n(function (ViewEncapsulation) {\r\n /**\r\n * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host\r\n * Element and pre-processing the style rules provided via\r\n * {@link ViewMetadata#styles} or {@link ViewMetadata#stylesUrls}, and adding the new Host Element\r\n * attribute to all selectors.\r\n *\r\n * This is the default option.\r\n */\r\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\r\n /**\r\n * Use the native encapsulation mechanism of the renderer.\r\n *\r\n * For the DOM this means using [Shadow DOM](https://w3c.github.io/webcomponents/spec/shadow/) and\r\n * creating a ShadowRoot for Component's Host Element.\r\n */\r\n ViewEncapsulation[ViewEncapsulation[\"Native\"] = 1] = \"Native\";\r\n /**\r\n * Don't provide any template or style encapsulation.\r\n */\r\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\r\n})(exports.ViewEncapsulation || (exports.ViewEncapsulation = {}));\r\nvar ViewEncapsulation = exports.ViewEncapsulation;\r\nexports.VIEW_ENCAPSULATION_VALUES = [ViewEncapsulation.Emulated, ViewEncapsulation.Native, ViewEncapsulation.None];\r\n/**\r\n * Metadata properties available for configuring Views.\r\n *\r\n * Each Angular component requires a single `@Component` and at least one `@View` annotation. The\r\n * `@View` annotation specifies the HTML template to use, and lists the directives that are active\r\n * within the template.\r\n *\r\n * When a component is instantiated, the template is loaded into the component's shadow root, and\r\n * the expressions and statements in the template are evaluated against the component.\r\n *\r\n * For details on the `@Component` annotation, see {@link ComponentMetadata}.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'greet',\r\n * template: 'Hello {{name}}!',\r\n * directives: [GreetUser, Bold]\r\n * })\r\n * class Greet {\r\n * name: string;\r\n *\r\n * constructor() {\r\n * this.name = 'World';\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar ViewMetadata = (function () {\r\n function ViewMetadata(_a) {\r\n var _b = _a === void 0 ? {} : _a, templateUrl = _b.templateUrl, template = _b.template, directives = _b.directives, pipes = _b.pipes, encapsulation = _b.encapsulation, styles = _b.styles, styleUrls = _b.styleUrls;\r\n this.templateUrl = templateUrl;\r\n this.template = template;\r\n this.styleUrls = styleUrls;\r\n this.styles = styles;\r\n this.directives = directives;\r\n this.pipes = pipes;\r\n this.encapsulation = encapsulation;\r\n }\r\n ViewMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object])\r\n ], ViewMetadata);\r\n return ViewMetadata;\r\n}());\r\nexports.ViewMetadata = ViewMetadata;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL21ldGFkYXRhL3ZpZXcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHFCQUEwQiwwQkFBMEIsQ0FBQyxDQUFBO0FBRXJEOzs7O0dBSUc7QUFDSCxXQUFZLGlCQUFpQjtJQUMzQjs7Ozs7OztPQU9HO0lBQ0gsaUVBQVEsQ0FBQTtJQUNSOzs7OztPQUtHO0lBQ0gsNkRBQU0sQ0FBQTtJQUNOOztPQUVHO0lBQ0gseURBQUksQ0FBQTtBQUNOLENBQUMsRUFyQlcseUJBQWlCLEtBQWpCLHlCQUFpQixRQXFCNUI7QUFyQkQsSUFBWSxpQkFBaUIsR0FBakIseUJBcUJYLENBQUE7QUFFVSxpQ0FBeUIsR0FDaEMsQ0FBQyxpQkFBaUIsQ0FBQyxRQUFRLEVBQUUsaUJBQWlCLENBQUMsTUFBTSxFQUFFLGlCQUFpQixDQUFDLElBQUksQ0FBQyxDQUFDO0FBR25GOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBNEJHO0FBRUg7SUE2REUsc0JBQVksRUFRTjtZQVJNLDRCQVFOLEVBUk8sNEJBQVcsRUFBRSxzQkFBUSxFQUFFLDBCQUFVLEVBQUUsZ0JBQUssRUFBRSxnQ0FBYSxFQUFFLGtCQUFNLEVBQUUsd0JBQVM7UUFTckYsSUFBSSxDQUFDLFdBQVcsR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gICBlbmNhcHN1bGF0aW9uPzogVmlld0VuY2Fwc3VsYXRpb24sXG4gICAgc3R5bGVzPzogc3RyaW5nW10sXG4gICAgc3R5bGVVcmxzPzogc3RyaW5nW10sXG4gIH0gPSB7fSkge1xuICAgIHRoaXMudGVtcGxhdGVVcmwgPSB0ZW1wbGF0ZVVybDtcbiAgICB0aGlzLnRlbXBsYXRlID0gdGVtcGxhdGU7XG4gICAgdGhpcy5zdHlsZVVybHMgPSBzdHlsZVVybHM7XG4gICAgdGhpcy5zdHlsZXMgPSBzdHlsZXM7XG4gICAgdGhpcy5kaXJlY3RpdmVzID0gZGlyZWN0aXZlcztcbiAgICB0aGlzLnBpcGVzID0gcGlwZXM7XG4gICAgdGhpcy5lbmNhcHN1bGF0aW9uID0gZW5jYXBzdWxhdGlvbjtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';/**\r\n * This indirection is needed to free up Component, etc symbols in the public API\r\n * to be used by the decorator versions of these annotations.\r\n */\r\n\"use strict\";\r\nvar di_1 = require('./metadata/di');\r\nexports.QueryMetadata = di_1.QueryMetadata;\r\nexports.ContentChildrenMetadata = di_1.ContentChildrenMetadata;\r\nexports.ContentChildMetadata = di_1.ContentChildMetadata;\r\nexports.ViewChildrenMetadata = di_1.ViewChildrenMetadata;\r\nexports.ViewQueryMetadata = di_1.ViewQueryMetadata;\r\nexports.ViewChildMetadata = di_1.ViewChildMetadata;\r\nexports.AttributeMetadata = di_1.AttributeMetadata;\r\nvar directives_1 = require('./metadata/directives');\r\nexports.ComponentMetadata = directives_1.ComponentMetadata;\r\nexports.DirectiveMetadata = directives_1.DirectiveMetadata;\r\nexports.PipeMetadata = directives_1.PipeMetadata;\r\nexports.InputMetadata = directives_1.InputMetadata;\r\nexports.OutputMetadata = directives_1.OutputMetadata;\r\nexports.HostBindingMetadata = directives_1.HostBindingMetadata;\r\nexports.HostListenerMetadata = directives_1.HostListenerMetadata;\r\nvar view_1 = require('./metadata/view');\r\nexports.ViewMetadata = view_1.ViewMetadata;\r\nexports.ViewEncapsulation = view_1.ViewEncapsulation;\r\nvar di_2 = require('./metadata/di');\r\nvar directives_2 = require('./metadata/directives');\r\nvar view_2 = require('./metadata/view');\r\nvar decorators_1 = require('./util/decorators');\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ComponentMetadata.\r\n/**\r\n * Declare reusable UI building blocks for an application.\r\n *\r\n * Each Angular component requires a single `@Component` annotation. The `@Component`\r\n * annotation specifies when a component is instantiated, and which properties and hostListeners it\r\n * binds to.\r\n *\r\n * When a component is instantiated, Angular\r\n * - creates a shadow DOM for the component.\r\n * - loads the selected template into the shadow DOM.\r\n * - creates all the injectable objects configured with `providers` and `viewProviders`.\r\n *\r\n * All template expressions and statements are then evaluated against the component instance.\r\n *\r\n * ## Lifecycle hooks\r\n *\r\n * When the component class implements some {@link ../../guide/lifecycle-hooks.html} the callbacks\r\n * are called by the change detection at defined points in time during the life of the component.\r\n *\r\n * ### Example\r\n *\r\n * {@example core/ts/metadata/metadata.ts region='component'}\r\n */\r\nexports.Component = decorators_1.makeDecorator(directives_2.ComponentMetadata, function (fn) { return fn.View = View; });\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from DirectiveMetadata.\r\n/**\r\n * Directives allow you to attach behavior to elements in the DOM.\r\n *\r\n * {@link DirectiveMetadata}s with an embedded view are called {@link ComponentMetadata}s.\r\n *\r\n * A directive consists of a single directive annotation and a controller class. When the\r\n * directive's `selector` matches\r\n * elements in the DOM, the following steps occur:\r\n *\r\n * 1. For each directive, the `ElementInjector` attempts to resolve the directive's constructor\r\n * arguments.\r\n * 2. Angular instantiates directives for each matched element using `ElementInjector` in a\r\n * depth-first order,\r\n * as declared in the HTML.\r\n *\r\n * ## Understanding How Injection Works\r\n *\r\n * There are three stages of injection resolution.\r\n * - *Pre-existing Injectors*:\r\n * - The terminal {@link Injector} cannot resolve dependencies. It either throws an error or, if\r\n * the dependency was\r\n * specified as `@Optional`, returns `null`.\r\n * - The platform injector resolves browser singleton resources, such as: cookies, title,\r\n * location, and others.\r\n * - *Component Injectors*: Each component instance has its own {@link Injector}, and they follow\r\n * the same parent-child hierarchy\r\n * as the component instances in the DOM.\r\n * - *Element Injectors*: Each component instance has a Shadow DOM. Within the Shadow DOM each\r\n * element has an `ElementInjector`\r\n * which follow the same parent-child hierarchy as the DOM elements themselves.\r\n *\r\n * When a template is instantiated, it also must instantiate the corresponding directives in a\r\n * depth-first order. The\r\n * current `ElementInjector` resolves the constructor dependencies for each directive.\r\n *\r\n * Angular then resolves dependencies as follows, according to the order in which they appear in the\r\n * {@link ViewMetadata}:\r\n *\r\n * 1. Dependencies on the current element\r\n * 2. Dependencies on element injectors and their parents until it encounters a Shadow DOM boundary\r\n * 3. Dependencies on component injectors and their parents until it encounters the root component\r\n * 4. Dependencies on pre-existing injectors\r\n *\r\n *\r\n * The `ElementInjector` can inject other directives, element-specific special objects, or it can\r\n * delegate to the parent\r\n * injector.\r\n *\r\n * To inject other directives, declare the constructor parameter as:\r\n * - `directive:DirectiveType`: a directive on the current element only\r\n * - `@Host() directive:DirectiveType`: any directive that matches the type between the current\r\n * element and the\r\n * Shadow DOM root.\r\n * - `@Query(DirectiveType) query:QueryList<DirectiveType>`: A live collection of direct child\r\n * directives.\r\n * - `@QueryDescendants(DirectiveType) query:QueryList<DirectiveType>`: A live collection of any\r\n * child directives.\r\n *\r\n * To inject element-specific special objects, declare the constructor parameter as:\r\n * - `element: ElementRef` to obtain a reference to logical element in the view.\r\n * - `viewContainer: ViewContainerRef` to control child template instantiation, for\r\n * {@link DirectiveMetadata} directives only\r\n * - `bindingPropagation: BindingPropagation` to control change detection in a more granular way.\r\n *\r\n * ### Example\r\n *\r\n * The following example demonstrates how dependency injection resolves constructor arguments in\r\n * practice.\r\n *\r\n *\r\n * Assume this HTML template:\r\n *\r\n * ```\r\n * <div dependency=\"1\">\r\n * <div dependency=\"2\">\r\n * <div dependency=\"3\" my-directive>\r\n * <div dependency=\"4\">\r\n * <div dependency=\"5\"></div>\r\n * </div>\r\n * <div dependency=\"6\"></div>\r\n * </div>\r\n * </div>\r\n * </div>\r\n * ```\r\n *\r\n * With the following `dependency` decorator and `SomeService` injectable class.\r\n *\r\n * ```\r\n * @Injectable()\r\n * class SomeService {\r\n * }\r\n *\r\n * @Directive({\r\n * selector: '[dependency]',\r\n * inputs: [\r\n * 'id: dependency'\r\n * ]\r\n * })\r\n * class Dependency {\r\n * id:string;\r\n * }\r\n * ```\r\n *\r\n * Let's step through the different ways in which `MyDirective` could be declared...\r\n *\r\n *\r\n * ### No injection\r\n *\r\n * Here the constructor is declared with no arguments, therefore nothing is injected into\r\n * `MyDirective`.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor() {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with no dependencies.\r\n *\r\n *\r\n * ### Component-level injection\r\n *\r\n * Directives can inject any injectable instance from the closest component injector or any of its\r\n * parents.\r\n *\r\n * Here, the constructor declares a parameter, `someService`, and injects the `SomeService` type\r\n * from the parent\r\n * component's injector.\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(someService: SomeService) {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with a dependency on `SomeService`.\r\n *\r\n *\r\n * ### Injecting a directive from the current element\r\n *\r\n * Directives can inject other directives declared on the current element.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(dependency: Dependency) {\r\n * expect(dependency.id).toEqual(3);\r\n * }\r\n * }\r\n * ```\r\n * This directive would be instantiated with `Dependency` declared at the same element, in this case\r\n * `dependency=\"3\"`.\r\n *\r\n * ### Injecting a directive from any ancestor elements\r\n *\r\n * Directives can inject other directives declared on any ancestor element (in the current Shadow\r\n * DOM), i.e. on the current element, the\r\n * parent element, or its parents.\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(@Host() dependency: Dependency) {\r\n * expect(dependency.id).toEqual(2);\r\n * }\r\n * }\r\n * ```\r\n *\r\n * `@Host` checks the current element, the parent, as well as its parents recursively. If\r\n * `dependency=\"2\"` didn't\r\n * exist on the direct parent, this injection would\r\n * have returned\r\n * `dependency=\"1\"`.\r\n *\r\n *\r\n * ### Injecting a live collection of direct child directives\r\n *\r\n *\r\n * A directive can also query for other child directives. Since parent directives are instantiated\r\n * before child directives, a directive can't simply inject the list of child directives. Instead,\r\n * the directive injects a {@link QueryList}, which updates its contents as children are added,\r\n * removed, or moved by a directive that uses a {@link ViewContainerRef} such as a `ngFor`, an\r\n * `ngIf`, or an `ngSwitch`.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(@Query(Dependency) dependencies:QueryList<Dependency>) {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with a {@link QueryList} which contains `Dependency` 4 and\r\n * 6. Here, `Dependency` 5 would not be included, because it is not a direct child.\r\n *\r\n * ### Injecting a live collection of descendant directives\r\n *\r\n * By passing the descendant flag to `@Query` above, we can include the children of the child\r\n * elements.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(@Query(Dependency, {descendants: true}) dependencies:QueryList<Dependency>) {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with a Query which would contain `Dependency` 4, 5 and 6.\r\n *\r\n * ### Optional injection\r\n *\r\n * The normal behavior of directives is to return an error when a specified dependency cannot be\r\n * resolved. If you\r\n * would like to inject `null` on unresolved dependency instead, you can annotate that dependency\r\n * with `@Optional()`.\r\n * This explicitly permits the author of a template to treat some of the surrounding directives as\r\n * optional.\r\n *\r\n * ```\r\n * @Directive({ selector: '[my-directive]' })\r\n * class MyDirective {\r\n * constructor(@Optional() dependency:Dependency) {\r\n * }\r\n * }\r\n * ```\r\n *\r\n * This directive would be instantiated with a `Dependency` directive found on the current element.\r\n * If none can be\r\n * found, the injector supplies `null` instead of throwing an error.\r\n *\r\n * ### Example\r\n *\r\n * Here we use a decorator directive to simply define basic tool-tip behavior.\r\n *\r\n * ```\r\n * @Directive({\r\n * selector: '[tooltip]',\r\n * inputs: [\r\n * 'text: tooltip'\r\n * ],\r\n * host: {\r\n * '(mouseenter)': 'onMouseEnter()',\r\n * '(mouseleave)': 'onMouseLeave()'\r\n * }\r\n * })\r\n * class Tooltip{\r\n * text:string;\r\n * overlay:Overlay; // NOT YET IMPLEMENTED\r\n * overlayManager:OverlayManager; // NOT YET IMPLEMENTED\r\n *\r\n * constructor(overlayManager:OverlayManager) {\r\n * this.overlay = overlay;\r\n * }\r\n *\r\n * onMouseEnter() {\r\n * // exact signature to be determined\r\n * this.overlay = this.overlayManager.open(text, ...);\r\n * }\r\n *\r\n * onMouseLeave() {\r\n * this.overlay.close();\r\n * this.overlay = null;\r\n * }\r\n * }\r\n * ```\r\n * In our HTML template, we can then add this behavior to a `<div>` or any other element with the\r\n * `tooltip` selector,\r\n * like so:\r\n *\r\n * ```\r\n * <div tooltip=\"some text here\"></div>\r\n * ```\r\n *\r\n * Directives can also control the instantiation, destruction, and positioning of inline template\r\n * elements:\r\n *\r\n * A directive uses a {@link ViewContainerRef} to instantiate, insert, move, and destroy views at\r\n * runtime.\r\n * The {@link ViewContainerRef} is created as a result of `<template>` element, and represents a\r\n * location in the current view\r\n * where these actions are performed.\r\n *\r\n * Views are always created as children of the current {@link ViewMetadata}, and as siblings of the\r\n * `<template>` element. Thus a\r\n * directive in a child view cannot inject the directive that created it.\r\n *\r\n * Since directives that create views via ViewContainers are common in Angular, and using the full\r\n * `<template>` element syntax is wordy, Angular\r\n * also supports a shorthand notation: `<li *foo=\"bar\">` and `<li template=\"foo: bar\">` are\r\n * equivalent.\r\n *\r\n * Thus,\r\n *\r\n * ```\r\n * <ul>\r\n * <li *foo=\"bar\" title=\"text\"></li>\r\n * </ul>\r\n * ```\r\n *\r\n * Expands in use to:\r\n *\r\n * ```\r\n * <ul>\r\n * <template [foo]=\"bar\">\r\n * <li title=\"text\"></li>\r\n * </template>\r\n * </ul>\r\n * ```\r\n *\r\n * Notice that although the shorthand places `*foo=\"bar\"` within the `<li>` element, the binding for\r\n * the directive\r\n * controller is correctly instantiated on the `<template>` element rather than the `<li>` element.\r\n *\r\n * ## Lifecycle hooks\r\n *\r\n * When the directive class implements some {@link ../../guide/lifecycle-hooks.html} the callbacks\r\n * are called by the change detection at defined points in time during the life of the directive.\r\n *\r\n * ### Example\r\n *\r\n * Let's suppose we want to implement the `unless` behavior, to conditionally include a template.\r\n *\r\n * Here is a simple directive that triggers on an `unless` selector:\r\n *\r\n * ```\r\n * @Directive({\r\n * selector: '[unless]',\r\n * inputs: ['unless']\r\n * })\r\n * export class Unless {\r\n * viewContainer: ViewContainerRef;\r\n * templateRef: TemplateRef;\r\n * prevCondition: boolean;\r\n *\r\n * constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef) {\r\n * this.viewContainer = viewContainer;\r\n * this.templateRef = templateRef;\r\n * this.prevCondition = null;\r\n * }\r\n *\r\n * set unless(newCondition) {\r\n * if (newCondition && (isBlank(this.prevCondition) || !this.prevCondition)) {\r\n * this.prevCondition = true;\r\n * this.viewContainer.clear();\r\n * } else if (!newCondition && (isBlank(this.prevCondition) || this.prevCondition)) {\r\n * this.prevCondition = false;\r\n * this.viewContainer.create(this.templateRef);\r\n * }\r\n * }\r\n * }\r\n * ```\r\n *\r\n * We can then use this `unless` selector in a template:\r\n * ```\r\n * <ul>\r\n * <li *unless=\"expr\"></li>\r\n * </ul>\r\n * ```\r\n *\r\n * Once the directive instantiates the child view, the shorthand notation for the template expands\r\n * and the result is:\r\n *\r\n * ```\r\n * <ul>\r\n * <template [unless]=\"exp\">\r\n * <li></li>\r\n * </template>\r\n * <li></li>\r\n * </ul>\r\n * ```\r\n *\r\n * Note also that although the `<li></li>` template still exists inside the `<template></template>`,\r\n * the instantiated\r\n * view occurs on the second `<li></li>` which is a sibling to the `<template>` element.\r\n */\r\nexports.Directive = decorators_1.makeDecorator(directives_2.DirectiveMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewMetadata.\r\n/**\r\n * Metadata properties available for configuring Views.\r\n *\r\n * Each Angular component requires a single `@Component` and at least one `@View` annotation. The\r\n * `@View` annotation specifies the HTML template to use, and lists the directives that are active\r\n * within the template.\r\n *\r\n * When a component is instantiated, the template is loaded into the component's shadow root, and\r\n * the expressions and statements in the template are evaluated against the component.\r\n *\r\n * For details on the `@Component` annotation, see {@link ComponentMetadata}.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'greet',\r\n * template: 'Hello {{name}}!',\r\n * directives: [GreetUser, Bold]\r\n * })\r\n * class Greet {\r\n * name: string;\r\n *\r\n * constructor() {\r\n * this.name = 'World';\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar View = decorators_1.makeDecorator(view_2.ViewMetadata, function (fn) { return fn.View = View; });\r\n/**\r\n * Specifies that a constant attribute value should be injected.\r\n *\r\n * The directive can inject constant string literals of host element attributes.\r\n *\r\n * ### Example\r\n *\r\n * Suppose we have an `<input>` element and want to know its `type`.\r\n *\r\n * ```html\r\n * <input type=\"text\">\r\n * ```\r\n *\r\n * A decorator can inject string literal `text` like so:\r\n *\r\n * {@example core/ts/metadata/metadata.ts region='attributeMetadata'}\r\n */\r\nexports.Attribute = decorators_1.makeParamDecorator(di_2.AttributeMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from QueryMetadata.\r\n/**\r\n * Declares an injectable parameter to be a live list of directives or variable\r\n * bindings from the content children of a directive.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/lY9m8HLy7z06vDoUaSN2?p=preview))\r\n *\r\n * Assume that `<tabs>` component would like to get a list its children `<pane>`\r\n * components as shown in this example:\r\n *\r\n * ```html\r\n * <tabs>\r\n * <pane title=\"Overview\">...</pane>\r\n * <pane *ngFor=\"let o of objects\" [title]=\"o.title\">{{o.text}}</pane>\r\n * </tabs>\r\n * ```\r\n *\r\n * The preferred solution is to query for `Pane` directives using this decorator.\r\n *\r\n * ```javascript\r\n * @Component({\r\n * selector: 'pane',\r\n * inputs: ['title']\r\n * })\r\n * class Pane {\r\n * title:string;\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'tabs',\r\n * template: `\r\n * <ul>\r\n * <li *ngFor=\"let pane of panes\">{{pane.title}}</li>\r\n * </ul>\r\n * <ng-content></ng-content>\r\n * `\r\n * })\r\n * class Tabs {\r\n * panes: QueryList<Pane>;\r\n * constructor(@Query(Pane) panes:QueryList<Pane>) {\r\n * this.panes = panes;\r\n * }\r\n * }\r\n * ```\r\n *\r\n * A query can look for variable bindings by passing in a string with desired binding symbol.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/sT2j25cH1dURAyBRCKx1?p=preview))\r\n * ```html\r\n * <seeker>\r\n * <div #findme>...</div>\r\n * </seeker>\r\n *\r\n * @Component({ selector: 'seeker' })\r\n * class seeker {\r\n * constructor(@Query('findme') elList: QueryList<ElementRef>) {...}\r\n * }\r\n * ```\r\n *\r\n * In this case the object that is injected depend on the type of the variable\r\n * binding. It can be an ElementRef, a directive or a component.\r\n *\r\n * Passing in a comma separated list of variable bindings will query for all of them.\r\n *\r\n * ```html\r\n * <seeker>\r\n * <div #findMe>...</div>\r\n * <div #findMeToo>...</div>\r\n * </seeker>\r\n *\r\n * @Component({\r\n * selector: 'seeker'\r\n * })\r\n * class Seeker {\r\n * constructor(@Query('findMe, findMeToo') elList: QueryList<ElementRef>) {...}\r\n * }\r\n * ```\r\n *\r\n * Configure whether query looks for direct children or all descendants\r\n * of the querying element, by using the `descendants` parameter.\r\n * It is set to `false` by default.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/wtGeB977bv7qvA5FTYl9?p=preview))\r\n * ```html\r\n * <container #first>\r\n * <item>a</item>\r\n * <item>b</item>\r\n * <container #second>\r\n * <item>c</item>\r\n * </container>\r\n * </container>\r\n * ```\r\n *\r\n * When querying for items, the first container will see only `a` and `b` by default,\r\n * but with `Query(TextDirective, {descendants: true})` it will see `c` too.\r\n *\r\n * The queried directives are kept in a depth-first pre-order with respect to their\r\n * positions in the DOM.\r\n *\r\n * Query does not look deep into any subcomponent views.\r\n *\r\n * Query is updated as part of the change-detection cycle. Since change detection\r\n * happens after construction of a directive, QueryList will always be empty when observed in the\r\n * constructor.\r\n *\r\n * The injected object is an unmodifiable live list.\r\n * See {@link QueryList} for more details.\r\n */\r\nexports.Query = decorators_1.makeParamDecorator(di_2.QueryMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ContentChildrenMetadata.\r\n/**\r\n * Configures a content query.\r\n *\r\n * Content queries are set before the `ngAfterContentInit` callback is called.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * @Directive({\r\n * selector: 'someDir'\r\n * })\r\n * class SomeDir {\r\n * @ContentChildren(ChildDirective) contentChildren: QueryList<ChildDirective>;\r\n *\r\n * ngAfterContentInit() {\r\n * // contentChildren is set\r\n * }\r\n * }\r\n * ```\r\n */\r\nexports.ContentChildren = decorators_1.makePropDecorator(di_2.ContentChildrenMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ContentChildMetadata.\r\n/**\r\n * Configures a content query.\r\n *\r\n * Content queries are set before the `ngAfterContentInit` callback is called.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * @Directive({\r\n * selector: 'someDir'\r\n * })\r\n * class SomeDir {\r\n * @ContentChild(ChildDirective) contentChild;\r\n *\r\n * ngAfterContentInit() {\r\n * // contentChild is set\r\n * }\r\n * }\r\n * ```\r\n */\r\nexports.ContentChild = decorators_1.makePropDecorator(di_2.ContentChildMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewChildrenMetadata.\r\n/**\r\n * Declares a list of child element references.\r\n *\r\n * Angular automatically updates the list when the DOM is updated.\r\n *\r\n * `ViewChildren` takes a argument to select elements.\r\n *\r\n * - If the argument is a type, directives or components with the type will be bound.\r\n *\r\n * - If the argument is a string, the string is interpreted as a list of comma-separated selectors.\r\n * For each selector, an element containing the matching template variable (e.g. `#child`) will be\r\n * bound.\r\n *\r\n * View children are set before the `ngAfterViewInit` callback is called.\r\n *\r\n * ### Example\r\n *\r\n * With type selector:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'child-cmp',\r\n * template: '<p>child</p>'\r\n * })\r\n * class ChildCmp {\r\n * doSomething() {}\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'some-cmp',\r\n * template: `\r\n * <child-cmp></child-cmp>\r\n * <child-cmp></child-cmp>\r\n * <child-cmp></child-cmp>\r\n * `,\r\n * directives: [ChildCmp]\r\n * })\r\n * class SomeCmp {\r\n * @ViewChildren(ChildCmp) children:QueryList<ChildCmp>;\r\n *\r\n * ngAfterViewInit() {\r\n * // children are set\r\n * this.children.toArray().forEach((child)=>child.doSomething());\r\n * }\r\n * }\r\n * ```\r\n *\r\n * With string selector:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'child-cmp',\r\n * template: '<p>child</p>'\r\n * })\r\n * class ChildCmp {\r\n * doSomething() {}\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'some-cmp',\r\n * template: `\r\n * <child-cmp #child1></child-cmp>\r\n * <child-cmp #child2></child-cmp>\r\n * <child-cmp #child3></child-cmp>\r\n * `,\r\n * directives: [ChildCmp]\r\n * })\r\n * class SomeCmp {\r\n * @ViewChildren('child1,child2,child3') children:QueryList<ChildCmp>;\r\n *\r\n * ngAfterViewInit() {\r\n * // children are set\r\n * this.children.toArray().forEach((child)=>child.doSomething());\r\n * }\r\n * }\r\n * ```\r\n *\r\n * See also: [ViewChildrenMetadata]\r\n */\r\nexports.ViewChildren = decorators_1.makePropDecorator(di_2.ViewChildrenMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewChildMetadata.\r\n/**\r\n * Declares a reference to a child element.\r\n *\r\n * `ViewChildren` takes a argument to select elements.\r\n *\r\n * - If the argument is a type, a directive or a component with the type will be bound.\r\n *\r\n * - If the argument is a string, the string is interpreted as a selector. An element containing the\r\n * matching template variable (e.g. `#child`) will be bound.\r\n *\r\n * In either case, `@ViewChild()` assigns the first (looking from above) element if there are\r\n * multiple matches.\r\n *\r\n * View child is set before the `ngAfterViewInit` callback is called.\r\n *\r\n * ### Example\r\n *\r\n * With type selector:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'child-cmp',\r\n * template: '<p>child</p>'\r\n * })\r\n * class ChildCmp {\r\n * doSomething() {}\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'some-cmp',\r\n * template: '<child-cmp></child-cmp>',\r\n * directives: [ChildCmp]\r\n * })\r\n * class SomeCmp {\r\n * @ViewChild(ChildCmp) child:ChildCmp;\r\n *\r\n * ngAfterViewInit() {\r\n * // child is set\r\n * this.child.doSomething();\r\n * }\r\n * }\r\n * ```\r\n *\r\n * With string selector:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'child-cmp',\r\n * template: '<p>child</p>'\r\n * })\r\n * class ChildCmp {\r\n * doSomething() {}\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'some-cmp',\r\n * template: '<child-cmp #child></child-cmp>',\r\n * directives: [ChildCmp]\r\n * })\r\n * class SomeCmp {\r\n * @ViewChild('child') child:ChildCmp;\r\n *\r\n * ngAfterViewInit() {\r\n * // child is set\r\n * this.child.doSomething();\r\n * }\r\n * }\r\n * ```\r\n * See also: [ViewChildMetadata]\r\n */\r\nexports.ViewChild = decorators_1.makePropDecorator(di_2.ViewChildMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewQueryMetadata.\r\n/**\r\n * Similar to {@link QueryMetadata}, but querying the component view, instead of\r\n * the content children.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/eNsFHDf7YjyM6IzKxM1j?p=preview))\r\n *\r\n * ```javascript\r\n * @Component({\r\n * ...,\r\n * template: `\r\n * <item> a </item>\r\n * <item> b </item>\r\n * <item> c </item>\r\n * `\r\n * })\r\n * class MyComponent {\r\n * shown: boolean;\r\n *\r\n * constructor(private @Query(Item) items:QueryList<Item>) {\r\n * items.changes.subscribe(() => console.log(items.length));\r\n * }\r\n * }\r\n * ```\r\n *\r\n * Supports the same querying parameters as {@link QueryMetadata}, except\r\n * `descendants`. This always queries the whole view.\r\n *\r\n * As `shown` is flipped between true and false, items will contain zero of one\r\n * items.\r\n *\r\n * Specifies that a {@link QueryList} should be injected.\r\n *\r\n * The injected object is an iterable and observable live list.\r\n * See {@link QueryList} for more details.\r\n */\r\nexports.ViewQuery = decorators_1.makeParamDecorator(di_2.ViewQueryMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from PipeMetadata.\r\n/**\r\n * Declare reusable pipe function.\r\n *\r\n * ### Example\r\n *\r\n * {@example core/ts/metadata/metadata.ts region='pipe'}\r\n */\r\nexports.Pipe = decorators_1.makeDecorator(directives_2.PipeMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from InputMetadata.\r\n/**\r\n * Declares a data-bound input property.\r\n *\r\n * Angular automatically updates data-bound properties during change detection.\r\n *\r\n * `InputMetadata` takes an optional parameter that specifies the name\r\n * used when instantiating a component in the template. When not provided,\r\n * the name of the decorated property is used.\r\n *\r\n * ### Example\r\n *\r\n * The following example creates a component with two input properties.\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'bank-account',\r\n * template: `\r\n * Bank Name: {{bankName}}\r\n * Account Id: {{id}}\r\n * `\r\n * })\r\n * class BankAccount {\r\n * @Input() bankName: string;\r\n * @Input('account-id') id: string;\r\n *\r\n * // this property is not bound, and won't be automatically updated by Angular\r\n * normalizedBankName: string;\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `\r\n * <bank-account bank-name=\"RBC\" account-id=\"4747\"></bank-account>\r\n * `,\r\n * directives: [BankAccount]\r\n * })\r\n * class App {}\r\n *\r\n * bootstrap(App);\r\n * ```\r\n */\r\nexports.Input = decorators_1.makePropDecorator(directives_2.InputMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from OutputMetadata.\r\n/**\r\n * Declares an event-bound output property.\r\n *\r\n * When an output property emits an event, an event handler attached to that event\r\n * the template is invoked.\r\n *\r\n * `OutputMetadata` takes an optional parameter that specifies the name\r\n * used when instantiating a component in the template. When not provided,\r\n * the name of the decorated property is used.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * @Directive({\r\n * selector: 'interval-dir',\r\n * })\r\n * class IntervalDir {\r\n * @Output() everySecond = new EventEmitter();\r\n * @Output('everyFiveSeconds') five5Secs = new EventEmitter();\r\n *\r\n * constructor() {\r\n * setInterval(() => this.everySecond.emit(\"event\"), 1000);\r\n * setInterval(() => this.five5Secs.emit(\"event\"), 5000);\r\n * }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `\r\n * <interval-dir (everySecond)=\"everySecond()\" (everyFiveSeconds)=\"everyFiveSeconds()\">\r\n * </interval-dir>\r\n * `,\r\n * directives: [IntervalDir]\r\n * })\r\n * class App {\r\n * everySecond() { console.log('second'); }\r\n * everyFiveSeconds() { console.log('five seconds'); }\r\n * }\r\n * bootstrap(App);\r\n * ```\r\n */\r\nexports.Output = decorators_1.makePropDecorator(directives_2.OutputMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from HostBindingMetadata.\r\n/**\r\n * Declares a host property binding.\r\n *\r\n * Angular automatically checks host property bindings during change detection.\r\n * If a binding changes, it will update the host element of the directive.\r\n *\r\n * `HostBindingMetadata` takes an optional parameter that specifies the property\r\n * name of the host element that will be updated. When not provided,\r\n * the class property name is used.\r\n *\r\n * ### Example\r\n *\r\n * The following example creates a directive that sets the `valid` and `invalid` classes\r\n * on the DOM element that has ngModel directive on it.\r\n *\r\n * ```typescript\r\n * @Directive({selector: '[ngModel]'})\r\n * class NgModelStatus {\r\n * constructor(public control:NgModel) {}\r\n * @HostBinding('[class.valid]') get valid { return this.control.valid; }\r\n * @HostBinding('[class.invalid]') get invalid { return this.control.invalid; }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `<input [(ngModel)]=\"prop\">`,\r\n * directives: [FORM_DIRECTIVES, NgModelStatus]\r\n * })\r\n * class App {\r\n * prop;\r\n * }\r\n *\r\n * bootstrap(App);\r\n * ```\r\n */\r\nexports.HostBinding = decorators_1.makePropDecorator(directives_2.HostBindingMetadata);\r\n// TODO(alexeagle): remove the duplication of this doc. It is copied from HostListenerMetadata.\r\n/**\r\n * Declares a host listener.\r\n *\r\n * Angular will invoke the decorated method when the host element emits the specified event.\r\n *\r\n * If the decorated method returns `false`, then `preventDefault` is applied on the DOM\r\n * event.\r\n *\r\n * ### Example\r\n *\r\n * The following example declares a directive that attaches a click listener to the button and\r\n * counts clicks.\r\n *\r\n * ```typescript\r\n * @Directive({selector: 'button[counting]'})\r\n * class CountClicks {\r\n * numberOfClicks = 0;\r\n *\r\n * @HostListener('click', ['$event.target'])\r\n * onClick(btn) {\r\n * console.log(\"button\", btn, \"number of clicks:\", this.numberOfClicks++);\r\n * }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * template: `<button counting>Increment</button>`,\r\n * directives: [CountClicks]\r\n * })\r\n * class App {}\r\n *\r\n * bootstrap(App);\r\n * ```\r\n */\r\nexports.HostListener = decorators_1.makePropDecorator(directives_2.HostListenerMetadata);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9tZXRhZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7O0FBRUgsbUJBUU8sZUFBZSxDQUFDO0FBUHJCLDJDQUFhO0FBQ2IsK0RBQXVCO0FBQ3Z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iAgIG9uQ2xpY2soYnRuKSB7XG4gKiAgICAgY29uc29sZS5sb2coXCJidXR0b25cIiwgYnRuLCBcIm51bWJlciBvZiBjbGlja3M6XCIsIHRoaXMubnVtYmVyT2ZDbGlja3MrKyk7XG4gKiAgIH1cbiAqIH1cbiAqXG4gKiBAQ29tcG9uZW50KHtcbiAqICAgc2VsZWN0b3I6ICdhcHAnLFxuICogICB0ZW1wbGF0ZTogYDxidXR0b24gY291bnRpbmc+SW5jcmVtZW50PC9idXR0b24+YCxcbiAqICAgZGlyZWN0aXZlczogW0NvdW50Q2xpY2tzXVxuICogfSlcbiAqIGNsYXNzIEFwcCB7fVxuICpcbiAqIGJvb3RzdHJhcChBcHApO1xuICogYGBgXG4gKi9cbmV4cG9ydCB2YXIgSG9zdExpc3RlbmVyOiBIb3N0TGlzdGVuZXJNZXRhZGF0YUZhY3RvcnkgPSBtYWtlUHJvcERlY29yYXRvcihIb3N0TGlzdGVuZXJNZXRhZGF0YSk7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n// Public API for util\r\nvar decorators_1 = require('./util/decorators');\r\nexports.Class = decorators_1.Class;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL3V0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNCQUFzQjtBQUN0QiwyQkFBb0QsbUJBQW1CLENBQUM7QUFBaEUsbUNBQWdFIiwic291cmNlc0NvbnRlbnQiOlsiLy8gUHVibGljIEFQSSBmb3IgdXRpbFxuZXhwb3J0IHtDbGFzcywgQ2xhc3NEZWZpbml0aW9uLCBUeXBlRGVjb3JhdG9yfSBmcm9tICcuL3V0aWwvZGVjb3JhdG9ycyc7Il19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nexports.enableProdMode = lang_1.enableProdMode;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZF9tb2RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvcHJvZF9tb2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBNkIsMEJBQTBCLENBQUM7QUFBaEQsK0NBQWdEIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHtlbmFibGVQcm9kTW9kZX0gZnJvbSAnYW5ndWxhcjIvc3JjL2ZhY2FkZS9sYW5nJzsiXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n// Public API for Facade\r\nvar lang_1 = require('./lang');\r\nexports.Type = lang_1.Type;\r\nvar async_1 = require('./async');\r\nexports.EventEmitter = async_1.EventEmitter;\r\nvar exceptions_1 = require('./exceptions');\r\nexports.WrappedException = exceptions_1.WrappedException;\r\nvar exception_handler_1 = require('./exception_handler');\r\nexports.ExceptionHandler = exception_handler_1.ExceptionHandler;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFjYWRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2ZhY2FkZS9mYWNhZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdCQUF3QjtBQUN4QixxQkFBaUMsUUFBUSxDQUFDO0FBQXBCLDJCQUFvQjtBQUMxQyxzQkFBMkIsU0FBUyxDQUFDO0FBQTdCLDRDQUE2QjtBQUNyQywyQkFBK0IsY0FBYyxDQUFDO0FBQXRDLHlEQUFzQztBQUM5QyxrQ0FBK0IscUJBQXFCLENBQUM7QUFBN0MsZ0VBQTZDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gUHVibGljIEFQSSBmb3IgRmFjYWRlXG5leHBvcnQge0NvbmNyZXRlVHlwZSwgVHlwZX0gZnJvbSAnLi9sYW5nJztcbmV4cG9ydCB7RXZlbnRFbWl0dGVyfSBmcm9tICcuL2FzeW5jJztcbmV4cG9ydCB7V3JhcHBlZEV4Y2VwdGlvbn0gZnJvbSAnLi9leGNlcHRpb25zJztcbmV4cG9ydCB7RXhjZXB0aW9uSGFuZGxlcn0gZnJvbSAnLi9leGNlcHRpb25faGFuZGxlcic7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n// Public API for Zone\r\nvar ng_zone_1 = require('./zone/ng_zone');\r\nexports.NgZone = ng_zone_1.NgZone;\r\nexports.NgZoneError = ng_zone_1.NgZoneError;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9uZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL3pvbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNCQUFzQjtBQUN0Qix3QkFBa0MsZ0JBQWdCLENBQUM7QUFBM0Msa0NBQU07QUFBRSw0Q0FBbUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBQdWJsaWMgQVBJIGZvciBab25lXG5leHBvcnQge05nWm9uZSwgTmdab25lRXJyb3J9IGZyb20gJy4vem9uZS9uZ196b25lJztcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n// Public API for render\r\nvar api_1 = require('./render/api');\r\nexports.RootRenderer = api_1.RootRenderer;\r\nexports.Renderer = api_1.Renderer;\r\nexports.RenderComponentType = api_1.RenderComponentType;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvcmVuZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx3QkFBd0I7QUFDeEIsb0JBQTBELGNBQWMsQ0FBQztBQUFqRSwwQ0FBWTtBQUFFLGtDQUFRO0FBQUUsd0RBQXlDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gUHVibGljIEFQSSBmb3IgcmVuZGVyXG5leHBvcnQge1Jvb3RSZW5kZXJlciwgUmVuZGVyZXIsIFJlbmRlckNvbXBvbmVudFR5cGV9IGZyb20gJy4vcmVuZGVyL2FwaSc7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar async_1 = require('angular2/src/facade/async');\r\n/**\r\n * An unmodifiable list of items that Angular keeps up to date when the state\r\n * of the application changes.\r\n *\r\n * The type of object that {@link QueryMetadata} and {@link ViewQueryMetadata} provide.\r\n *\r\n * Implements an iterable interface, therefore it can be used in both ES6\r\n * javascript `for (var i of items)` loops as well as in Angular templates with\r\n * `*ngFor=\"let i of myList\"`.\r\n *\r\n * Changes can be observed by subscribing to the changes `Observable`.\r\n *\r\n * NOTE: In the future this class will implement an `Observable` interface.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/RX8sJnQYl9FWuSCWme5z?p=preview))\r\n * ```typescript\r\n * @Component({...})\r\n * class Container {\r\n * constructor(@Query(Item) items: QueryList<Item>) {\r\n * items.changes.subscribe(_ => console.log(items.length));\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar QueryList = (function () {\r\n function QueryList() {\r\n this._dirty = true;\r\n this._results = [];\r\n this._emitter = new async_1.EventEmitter();\r\n }\r\n Object.defineProperty(QueryList.prototype, \"changes\", {\r\n get: function () { return this._emitter; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(QueryList.prototype, \"length\", {\r\n get: function () { return this._results.length; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(QueryList.prototype, \"first\", {\r\n get: function () { return collection_1.ListWrapper.first(this._results); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(QueryList.prototype, \"last\", {\r\n get: function () { return collection_1.ListWrapper.last(this._results); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * returns a new array with the passed in function applied to each element.\r\n */\r\n QueryList.prototype.map = function (fn) { return this._results.map(fn); };\r\n /**\r\n * returns a filtered array.\r\n */\r\n QueryList.prototype.filter = function (fn) { return this._results.filter(fn); };\r\n /**\r\n * returns a reduced value.\r\n */\r\n QueryList.prototype.reduce = function (fn, init) { return this._results.reduce(fn, init); };\r\n /**\r\n * executes function for each element in a query.\r\n */\r\n QueryList.prototype.forEach = function (fn) { this._results.forEach(fn); };\r\n /**\r\n * converts QueryList into an array\r\n */\r\n QueryList.prototype.toArray = function () { return collection_1.ListWrapper.clone(this._results); };\r\n QueryList.prototype[lang_1.getSymbolIterator()] = function () { return this._results[lang_1.getSymbolIterator()](); };\r\n QueryList.prototype.toString = function () { return this._results.toString(); };\r\n /**\r\n * @internal\r\n */\r\n QueryList.prototype.reset = function (res) {\r\n this._results = collection_1.ListWrapper.flatten(res);\r\n this._dirty = false;\r\n };\r\n /** @internal */\r\n QueryList.prototype.notifyOnChanges = function () { this._emitter.emit(this); };\r\n /** internal */\r\n QueryList.prototype.setDirty = function () { this._dirty = true; };\r\n Object.defineProperty(QueryList.prototype, \"dirty\", {\r\n /** internal */\r\n get: function () { return this._dirty; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return QueryList;\r\n}());\r\nexports.QueryList = QueryList;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnlfbGlzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2xpbmtlci9xdWVyeV9saXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwyQkFBc0MsZ0NBQWdDLENBQUMsQ0FBQTtBQUN2RSxxQkFBZ0MsMEJBQTBCLENBQUMsQ0FBQTtBQUMzRCxzQkFBdUMsMkJBQTJCLENBQUMsQ0FBQTtBQUduRTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0F1Qkc7QUFDSDtJQUFBO1FBQ1UsV0FBTSxHQUFHLElBQUksQ0FBQztRQUNkLGFBQVEsR0FBYSxFQUFFLENBQUM7UUFDeEIsYUFBUSxHQUFHLElBQUksb0JBQVksRUFBRSxDQUFDO0lBb0R4QyxDQUFDO0lBbERDLHNCQUFJLDhCQUFPO2FBQVgsY0FBaUMsTUFBTSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDOzs7T0FBQTtJQUN4RCxzQkFBSSw2QkFBTTthQUFWLGNBQXVCLE1BQU0sQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7OztPQUFBO0lBQ3JELHNCQUFJLDRCQUFLO2FBQVQsY0FBaUIsTUFBTSxDQUFDLHdCQUFXLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUM7OztPQUFBO0lBQzNELHNCQUFJLDJCQUFJO2FBQVIs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V4ZWN1dGVzIGZ1bmN0aW9uIGZvciBlYWNoIGVsZW1lbnQgaW4gYSBxdWVyeS5cbiAgICovXG4gIGZvckVhY2goZm46IChpdGVtOiBUKSA9PiB2b2lkKTogdm9pZCB7IHRoaXMuX3Jlc3VsdHMuZm9yRWFjaChmbik7IH1cblxuICAvKipcbiAgICogY29udmVydHMgUXVlcnlMaXN0IGludG8gYW4gYXJyYXlcbiAgICovXG4gIHRvQXJyYXkoKTogVFtdIHsgcmV0dXJuIExpc3RXcmFwcGVyLmNsb25lKHRoaXMuX3Jlc3VsdHMpOyB9XG5cbiAgW2dldFN5bWJvbEl0ZXJhdG9yKCldKCk6IGFueSB7IHJldHVybiB0aGlzLl9yZXN1bHRzW2dldFN5bWJvbEl0ZXJhdG9yKCldKCk7IH1cblxuICB0b1N0cmluZygpOiBzdHJpbmcgeyByZXR1cm4gdGhpcy5fcmVzdWx0cy50b1N0cmluZygpOyB9XG5cbiAgLyoqXG4gICAqIEBpbnRlcm5hbFxuICAgKi9cbiAgcmVzZXQocmVzOiBBcnJheTxUIHwgYW55W10+KTogdm9pZCB7XG4gICAgdGhpcy5fcmVzdWx0cyA9IExpc3RXcmFwcGVyLmZsYXR0ZW4ocmVzKTtcbiAgICB0aGlzLl9kaXJ0eSA9IGZhbHNlO1xuICB9XG5cbiAgLyoqIEBpbnRlcm5hbCAqL1xuICBub3RpZnlPbkNoYW5nZXMoKTogdm9pZCB7IHRoaXMuX2VtaXR0ZXIuZW1pdCh0aGlzKTsgfVxuXG4gIC8qKiBpbnRlcm5hbCAqL1xuICBzZXREaXJ0eSgpIHsgdGhpcy5fZGlydHkgPSB0cnVlOyB9XG5cbiAgLyoqIGludGVybmFsICovXG4gIGdldCBkaXJ0eSgpIHsgcmV0dXJuIHRoaXMuX2RpcnR5OyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\n/**\r\n * Represents an Embedded Template that can be used to instantiate Embedded Views.\r\n *\r\n * You can access a `TemplateRef`, in two ways. Via a directive placed on a `<template>` element (or\r\n * directive prefixed with `*`) and have the `TemplateRef` for this Embedded View injected into the\r\n * constructor of the directive using the `TemplateRef` Token. Alternatively you can query for the\r\n * `TemplateRef` from a Component or a Directive via {@link Query}.\r\n *\r\n * To instantiate Embedded Views based on a Template, use\r\n * {@link ViewContainerRef#createEmbeddedView}, which will create the View and attach it to the\r\n * View Container.\r\n */\r\nvar TemplateRef = (function () {\r\n function TemplateRef() {\r\n }\r\n Object.defineProperty(TemplateRef.prototype, \"elementRef\", {\r\n /**\r\n * The location in the View where the Embedded View logically belongs to.\r\n *\r\n * The data-binding and injection contexts of Embedded Views created from this `TemplateRef`\r\n * inherit from the contexts of this location.\r\n *\r\n * Typically new Embedded Views are attached to the View Container of this location, but in\r\n * advanced use-cases, the View can be attached to a different container while keeping the\r\n * data-binding and injection context from the original location.\r\n *\r\n */\r\n // TODO(i): rename to anchor or location\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return TemplateRef;\r\n}());\r\nexports.TemplateRef = TemplateRef;\r\nvar TemplateRef_ = (function (_super) {\r\n __extends(TemplateRef_, _super);\r\n function TemplateRef_(_appElement, _viewFactory) {\r\n _super.call(this);\r\n this._appElement = _appElement;\r\n this._viewFactory = _viewFactory;\r\n }\r\n TemplateRef_.prototype.createEmbeddedView = function () {\r\n var view = this._viewFactory(this._appElement.parentView.viewUtils, this._appElement.parentInjector, this._appElement);\r\n view.create(null, null);\r\n return view.ref;\r\n };\r\n Object.defineProperty(TemplateRef_.prototype, \"elementRef\", {\r\n get: function () { return this._appElement.elementRef; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return TemplateRef_;\r\n}(TemplateRef));\r\nexports.TemplateRef_ = TemplateRef_;\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VmIHsgcmV0dXJuIG51bGw7IH1cblxuICBhYnN0cmFjdCBjcmVhdGVFbWJlZGRlZFZpZXcoKTogRW1iZWRkZWRWaWV3UmVmO1xufVxuXG5leHBvcnQgY2xhc3MgVGVtcGxhdGVSZWZfIGV4dGVuZHMgVGVtcGxhdGVSZWYge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIF9hcHBFbGVtZW50OiBBcHBFbGVtZW50LCBwcml2YXRlIF92aWV3RmFjdG9yeTogRnVuY3Rpb24pIHsgc3VwZXIoKTsgfVxuXG4gIGNyZWF0ZUVtYmVkZGVkVmlldygpOiBFbWJlZGRlZFZpZXdSZWYge1xuICAgIHZhciB2aWV3OiBBcHBWaWV3PGFueT4gPSB0aGlzLl92aWV3RmFjdG9yeSh0aGlzLl9hcHBFbGVtZW50LnBhcmVudFZpZXcudmlld1V0aWxzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9hcHBFbGVtZW50LnBhcmVudEluamVjdG9yLCB0aGlzLl9hcHBFbGVtZW50KTtcbiAgICB2aWV3LmNyZWF0ZShudWxsLCBudWxsKTtcbiAgICByZXR1cm4gdmlldy5yZWY7XG4gIH1cblxuICBnZXQgZWxlbWVudFJlZigpOiBFbGVtZW50UmVmIHsgcmV0dXJuIHRoaXMuX2FwcEVsZW1lbnQuZWxlbWVudFJlZjsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar change_detector_ref_1 = require('../change_detection/change_detector_ref');\r\nvar constants_1 = require('angular2/src/core/change_detection/constants');\r\nvar ViewRef = (function (_super) {\r\n __extends(ViewRef, _super);\r\n function ViewRef() {\r\n _super.apply(this, arguments);\r\n }\r\n Object.defineProperty(ViewRef.prototype, \"changeDetectorRef\", {\r\n /**\r\n * @internal\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(ViewRef.prototype, \"destroyed\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return ViewRef;\r\n}(change_detector_ref_1.ChangeDetectorRef));\r\nexports.ViewRef = ViewRef;\r\n/**\r\n * Represents an Angular View.\r\n *\r\n * <!-- TODO: move the next two paragraphs to the dev guide -->\r\n * A View is a fundamental building block of the application UI. It is the smallest grouping of\r\n * Elements which are created and destroyed together.\r\n *\r\n * Properties of elements in a View can change, but the structure (number and order) of elements in\r\n * a View cannot. Changing the structure of Elements can only be done by inserting, moving or\r\n * removing nested Views via a {@link ViewContainerRef}. Each View can contain many View Containers.\r\n * <!-- /TODO -->\r\n *\r\n * ### Example\r\n *\r\n * Given this template...\r\n *\r\n * ```\r\n * Count: {{items.length}}\r\n * <ul>\r\n * <li *ngFor=\"let item of items\">{{item}}</li>\r\n * </ul>\r\n * ```\r\n *\r\n * ... we have two {@link ProtoViewRef}s:\r\n *\r\n * Outer {@link ProtoViewRef}:\r\n * ```\r\n * Count: {{items.length}}\r\n * <ul>\r\n * <template ngFor let-item [ngForOf]=\"items\"></template>\r\n * </ul>\r\n * ```\r\n *\r\n * Inner {@link ProtoViewRef}:\r\n * ```\r\n * <li>{{item}}</li>\r\n * ```\r\n *\r\n * Notice that the original template is broken down into two separate {@link ProtoViewRef}s.\r\n *\r\n * The outer/inner {@link ProtoViewRef}s are then assembled into views like so:\r\n *\r\n * ```\r\n * <!-- ViewRef: outer-0 -->\r\n * Count: 2\r\n * <ul>\r\n * <template view-container-ref></template>\r\n * <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->\r\n * <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->\r\n * </ul>\r\n * <!-- /ViewRef: outer-0 -->\r\n * ```\r\n */\r\nvar EmbeddedViewRef = (function (_super) {\r\n __extends(EmbeddedViewRef, _super);\r\n function EmbeddedViewRef() {\r\n _super.apply(this, arguments);\r\n }\r\n Object.defineProperty(EmbeddedViewRef.prototype, \"rootNodes\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n return EmbeddedViewRef;\r\n}(ViewRef));\r\nexports.EmbeddedViewRef = EmbeddedViewRef;\r\nvar ViewRef_ = (function () {\r\n function ViewRef_(_view) {\r\n this._view = _view;\r\n this._view = _view;\r\n }\r\n Object.defineProperty(ViewRef_.prototype, \"internalView\", {\r\n get: function () { return this._view; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ViewRef_.prototype, \"changeDetectorRef\", {\r\n /**\r\n * Return `ChangeDetectorRef`\r\n */\r\n get: function () { return this; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ViewRef_.prototype, \"rootNodes\", {\r\n get: function () { return this._view.flatRootNodes; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ViewRef_.prototype.setLocal = function (variableName, value) { this._view.setLocal(variableName, value); };\r\n ViewRef_.prototype.hasLocal = function (variableName) { return this._view.hasLocal(variableName); };\r\n Object.defineProperty(ViewRef_.prototype, \"destroyed\", {\r\n get: function () { return this._view.destroyed; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ViewRef_.prototype.markForCheck = function () { this._view.markPathToRootAsCheckOnce(); };\r\n ViewRef_.prototype.detach = function () { this._view.cdMode = constants_1.ChangeDetectionStrategy.Detached; };\r\n ViewRef_.prototype.detectChanges = function () { this._view.detectChanges(false); };\r\n ViewRef_.prototype.checkNoChanges = function () { this._view.detectChanges(true); };\r\n ViewRef_.prototype.reattach = function () {\r\n this._view.cdMode = constants_1.ChangeDetectionStrategy.CheckAlways;\r\n this.markForCheck();\r\n };\r\n ViewRef_.prototype.onDestroy = function (callback) { this._view.disposables.push(callback); };\r\n ViewRef_.prototype.destroy = function () { this._view.destroy(); };\r\n return ViewRef_;\r\n}());\r\nexports.ViewRef_ = ViewRef_;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld19yZWYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9saW5rZXIvdmlld19yZWYudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsMkJBQTRCLGdDQUFnQyxDQUFDLENBQUE7QUFFN0Qsb0NBQWdDLHlDQUF5QyxDQUFDLENBQUE7QUFFMUUsMEJBQXNDLDhDQUE4QyxDQUFDLENBQUE7QUFFckY7SUFBc0MsMkJBQWlCO0lBQXZEO1FBQXNDLDhCQUFpQjtJQVN2RCxDQUFDO0lBTEMsc0JBQUksc0NBQWlCO1FBSHJCOztXQUVHO2FBQ0gsY0FBNkMsTUFBTSxDQUFvQiwwQkFBYSxFQUFFLENBQUMsQ0FBQyxDQUFDOzs7T0FBQTs7SUFFekYsc0JBQUksOEJBQVM7YUFBYixjQUEyQixNQUFNLENBQVUsMEJBQWEsRUFBRSxDQUFDLENBQUMsQ0FBQzs7O09BQUE7SUFHL0QsY0FBQztBQUFELENBQUMsQUFURCxDQUFzQyx1Q0FBaUIsR0FTdEQ7QUFUcUIsZUFBTyxVQVM1QixDQUFBO0FBRUQ7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FvREc7QUFDSDtJQUE4QyxtQ0FBTztJQUFyRDtRQUE4Qyw4QkFBTztJQWlCckQsQ0FBQztJQU5DLHNCQUFJLHNDQUFTO2FBQWIsY0FBe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XMuX3ZpZXcuY2RNb2RlID0gQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuRGV0YWNoZWQ7IH1cbiAgZGV0ZWN0Q2hhbmdlcygpOiB2b2lkIHsgdGhpcy5fdmlldy5kZXRlY3RDaGFuZ2VzKGZhbHNlKTsgfVxuICBjaGVja05vQ2hhbmdlcygpOiB2b2lkIHsgdGhpcy5fdmlldy5kZXRlY3RDaGFuZ2VzKHRydWUpOyB9XG4gIHJlYXR0YWNoKCk6IHZvaWQge1xuICAgIHRoaXMuX3ZpZXcuY2RNb2RlID0gQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuQ2hlY2tBbHdheXM7XG4gICAgdGhpcy5tYXJrRm9yQ2hlY2soKTtcbiAgfVxuXG4gIG9uRGVzdHJveShjYWxsYmFjazogRnVuY3Rpb24pIHsgdGhpcy5fdmlldy5kaXNwb3NhYmxlcy5wdXNoKGNhbGxiYWNrKTsgfVxuXG4gIGRlc3Ryb3koKSB7IHRoaXMuX3ZpZXcuZGVzdHJveSgpOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n// Public API for compiler\r\nvar component_resolver_1 = require('./linker/component_resolver');\r\nexports.ComponentResolver = component_resolver_1.ComponentResolver;\r\nvar query_list_1 = require('./linker/query_list');\r\nexports.QueryList = query_list_1.QueryList;\r\nvar dynamic_component_loader_1 = require('./linker/dynamic_component_loader');\r\nexports.DynamicComponentLoader = dynamic_component_loader_1.DynamicComponentLoader;\r\nvar element_ref_1 = require('./linker/element_ref');\r\nexports.ElementRef = element_ref_1.ElementRef;\r\nvar template_ref_1 = require('./linker/template_ref');\r\nexports.TemplateRef = template_ref_1.TemplateRef;\r\nvar view_ref_1 = require('./linker/view_ref');\r\nexports.EmbeddedViewRef = view_ref_1.EmbeddedViewRef;\r\nexports.ViewRef = view_ref_1.ViewRef;\r\nvar view_container_ref_1 = require('./linker/view_container_ref');\r\nexports.ViewContainerRef = view_container_ref_1.ViewContainerRef;\r\nvar component_factory_1 = require('./linker/component_factory');\r\nexports.ComponentRef = component_factory_1.ComponentRef;\r\nexports.ComponentFactory = component_factory_1.ComponentFactory;\r\nvar exceptions_1 = require('./linker/exceptions');\r\nexports.ExpressionChangedAfterItHasBeenCheckedException = exceptions_1.ExpressionChangedAfterItHasBeenCheckedException;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlua2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvbGlua2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwwQkFBMEI7QUFDMUIsbUNBQWdDLDZCQUE2QixDQUFDO0FBQXRELG1FQUFzRDtBQUM5RCwyQkFBd0IscUJBQXFCLENBQUM7QUFBdEMsMkNBQXNDO0FBQzlDLHlDQUFxQyxtQ0FBbUMsQ0FBQztBQUFqRSxtRkFBaUU7QUFDekUsNEJBQXlCLHNCQUFzQixDQUFDO0FBQXhDLDhDQUF3QztBQUNoRCw2QkFBMEIsdUJBQXVCLENBQUM7QUFBMUMsaURBQTBDO0FBQ2xELHlCQUF1QyxtQkFBbUIsQ0FBQztBQUFuRCxxREFBZTtBQUFFLHFDQUFrQztBQUMzRCxtQ0FBK0IsNkJBQTZCLENBQUM7QUFBckQsaUVBQXFEO0FBQzdELGtDQUE2Qyw0QkFBNEIsQ0FBQztBQUFsRSx3REFBWTtBQUFFLGdFQUFvRDtBQUMxRSwyQkFBOEQscUJBQXFCLENBQUM7QUFBNUUsdUhBQTRFIiwic291cmNlc0NvbnRlbnQiOlsiLy8gUHVibGljIEFQSSBmb3IgY29tcGlsZXJcbmV4cG9ydCB7Q29tcG9uZW50UmVzb2x2ZXJ9IGZyb20gJy4vbGlua2VyL2NvbXBvbmVudF9yZXNvbHZlcic7XG5leHBvcnQge1F1ZXJ5TGlzdH0gZnJvbSAnLi9saW5rZXIvcXVlcnlfbGlzdCc7XG5leHBvcnQge0R5bmFtaWNDb21wb25lbnRMb2FkZXJ9IGZyb20gJy4vbGlua2VyL2R5bmFtaWNfY29tcG9uZW50X2xvYWRlcic7XG5leHBvcnQge0VsZW1lbnRSZWZ9IGZyb20gJy4vbGlua2VyL2VsZW1lbnRfcmVmJztcbmV4cG9ydCB7VGVtcGxhdGVSZWZ9IGZyb20gJy4vbGlua2VyL3RlbXBsYXRlX3JlZic7XG5leHBvcnQge0VtYmVkZGVkVmlld1JlZiwgVmlld1JlZn0gZnJvbSAnLi9saW5rZXIvdmlld19yZWYnO1xuZXhwb3J0IHtWaWV3Q29udGFpbmVyUmVmfSBmcm9tICcuL2xpbmtlci92aWV3X2NvbnRhaW5lcl9yZWYnO1xuZXhwb3J0IHtDb21wb25lbnRSZWYsIENvbXBvbmVudEZhY3Rvcnl9IGZyb20gJy4vbGlua2VyL2NvbXBvbmVudF9mYWN0b3J5JztcbmV4cG9ydCB7RXhwcmVzc2lvbkNoYW5nZWRBZnRlckl0SGFzQmVlbkNoZWNrZWRFeGNlcHRpb259IGZyb20gJy4vbGlua2VyL2V4Y2VwdGlvbnMnOyJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar EventListener = (function () {\r\n function EventListener(name, callback) {\r\n this.name = name;\r\n this.callback = callback;\r\n }\r\n ;\r\n return EventListener;\r\n}());\r\nexports.EventListener = EventListener;\r\nvar DebugNode = (function () {\r\n function DebugNode(nativeNode, parent, _debugInfo) {\r\n this._debugInfo = _debugInfo;\r\n this.nativeNode = nativeNode;\r\n if (lang_1.isPresent(parent) && parent instanceof DebugElement) {\r\n parent.addChild(this);\r\n }\r\n else {\r\n this.parent = null;\r\n }\r\n this.listeners = [];\r\n }\r\n Object.defineProperty(DebugNode.prototype, \"injector\", {\r\n get: function () { return lang_1.isPresent(this._debugInfo) ? this._debugInfo.injector : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugNode.prototype, \"componentInstance\", {\r\n get: function () {\r\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.component : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugNode.prototype, \"locals\", {\r\n get: function () {\r\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.locals : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugNode.prototype, \"providerTokens\", {\r\n get: function () {\r\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.providerTokens : null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DebugNode.prototype, \"source\", {\r\n get: function () { return lang_1.isPresent(this._debugInfo) ? this._debugInfo.source : null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n DebugNode.prototype.inject = function (token) { return this.injector.get(token); };\r\n DebugNode.prototype.getLocal = function (name) { return this.locals[name]; };\r\n return DebugNode;\r\n}());\r\nexports.DebugNode = DebugNode;\r\nvar DebugElement = (function (_super) {\r\n __extends(DebugElement, _super);\r\n function DebugElement(nativeNode, parent, _debugInfo) {\r\n _super.call(this, nativeNode, parent, _debugInfo);\r\n this.properties = {};\r\n this.attributes = {};\r\n this.childNodes = [];\r\n this.nativeElement = nativeNode;\r\n }\r\n DebugElement.prototype.addChild = function (child) {\r\n if (lang_1.isPresent(child)) {\r\n this.childNodes.push(child);\r\n child.parent = this;\r\n }\r\n };\r\n DebugElement.prototype.removeChild = function (child) {\r\n var childIndex = this.childNodes.indexOf(child);\r\n if (childIndex !== -1) {\r\n child.parent = null;\r\n this.childNodes.splice(childIndex, 1);\r\n }\r\n };\r\n DebugElement.prototype.insertChildrenAfter = function (child, newChildren) {\r\n var siblingIndex = this.childNodes.indexOf(child);\r\n if (siblingIndex !== -1) {\r\n var previousChildren = this.childNodes.slice(0, siblingIndex + 1);\r\n var nextChildren = this.childNodes.slice(siblingIndex + 1);\r\n this.childNodes =\r\n collection_1.ListWrapper.concat(collection_1.ListWrapper.concat(previousChildren, newChildren), nextChildren);\r\n for (var i = 0; i < newChildren.length; ++i) {\r\n var newChild = newChildren[i];\r\n if (lang_1.isPresent(newChild.parent)) {\r\n newChild.parent.removeChild(newChild);\r\n }\r\n newChild.parent = this;\r\n }\r\n }\r\n };\r\n DebugElement.prototype.query = function (predicate) {\r\n var results = this.queryAll(predicate);\r\n return results.length > 0 ? results[0] : null;\r\n };\r\n DebugElement.prototype.queryAll = function (predicate) {\r\n var matches = [];\r\n _queryElementChildren(this, predicate, matches);\r\n return matches;\r\n };\r\n DebugElement.prototype.queryAllNodes = function (predicate) {\r\n var matches = [];\r\n _queryNodeChildren(this, predicate, matches);\r\n return matches;\r\n };\r\n Object.defineProperty(DebugElement.prototype, \"children\", {\r\n get: function () {\r\n var children = [];\r\n this.childNodes.forEach(function (node) {\r\n if (node instanceof DebugElement) {\r\n children.push(node);\r\n }\r\n });\r\n return children;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n DebugElement.prototype.triggerEventHandler = function (eventName, eventObj) {\r\n this.listeners.forEach(function (listener) {\r\n if (listener.name == eventName) {\r\n listener.callback(eventObj);\r\n }\r\n });\r\n };\r\n return DebugElement;\r\n}(DebugNode));\r\nexports.DebugElement = DebugElement;\r\nfunction asNativeElements(debugEls) {\r\n return debugEls.map(function (el) { return el.nativeElement; });\r\n}\r\nexports.asNativeElements = asNativeElements;\r\nfunction _queryElementChildren(element, predicate, matches) {\r\n element.childNodes.forEach(function (node) {\r\n if (node instanceof DebugElement) {\r\n if (predicate(node)) {\r\n matches.push(node);\r\n }\r\n _queryElementChildren(node, predicate, matches);\r\n }\r\n });\r\n}\r\nfunction _queryNodeChildren(parentNode, predicate, matches) {\r\n if (parentNode instanceof DebugElement) {\r\n parentNode.childNodes.forEach(function (node) {\r\n if (predicate(node)) {\r\n matches.push(node);\r\n }\r\n if (node instanceof DebugElement) {\r\n _queryNodeChildren(node, predicate, matches);\r\n }\r\n });\r\n }\r\n}\r\n// Need to keep the nodes in a global Map so that multiple angular apps are supported.\r\nvar _nativeNodeToDebugNode = new Map();\r\nfunction getDebugNode(nativeNode) {\r\n return _nativeNodeToDebugNode.get(nativeNode);\r\n}\r\nexports.getDebugNode = getDebugNode;\r\nfunction getAllDebugNodes() {\r\n return collection_1.MapWrapper.values(_nativeNodeToDebugNode);\r\n}\r\nexports.getAllDebugNodes = getAllDebugNodes;\r\nfunction indexDebugNode(node) {\r\n _nativeNodeToDebugNode.set(node.nativeNode, node);\r\n}\r\nexports.indexDebugNode = indexDebugNode;\r\nfunction removeDebugNodeFromIndex(node) {\r\n _nativeNodeToDebugNode.delete(node.nativeNode);\r\n}\r\nexports.removeDebugNodeFromIndex = removeDebugNodeFromIndex;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVidWdfbm9kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2RlYnVnL2RlYnVnX25vZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEscUJBQThCLDBCQUEwQixDQUFDLENBQUE7QUFDekQsMkJBQWlELGdDQUFnQyxDQUFDLENBQUE7QUFJbEY7SUFBNkIsdUJBQW1CLElBQVksRUFBUyxRQUFrQjtRQUF2QyxTQUFJLEdBQUosSUFBSSxDQUFRO1FBQVMsYUFBUSxHQUFSLFF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wZXIudmFsdWVzKF9uYXRpdmVOb2RlVG9EZWJ1Z05vZGUpO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gaW5kZXhEZWJ1Z05vZGUobm9kZTogRGVidWdOb2RlKSB7XG4gIF9uYXRpdmVOb2RlVG9EZWJ1Z05vZGUuc2V0KG5vZGUubmF0aXZlTm9kZSwgbm9kZSk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiByZW1vdmVEZWJ1Z05vZGVGcm9tSW5kZXgobm9kZTogRGVidWdOb2RlKSB7XG4gIF9uYXRpdmVOb2RlVG9EZWJ1Z05vZGUuZGVsZXRlKG5vZGUubmF0aXZlTm9kZSk7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';/**\r\n * @module\r\n * @description\r\n * Change detection enables data binding in Angular.\r\n */\r\n\"use strict\";\r\nvar change_detection_1 = require('./change_detection/change_detection');\r\nexports.ChangeDetectionStrategy = change_detection_1.ChangeDetectionStrategy;\r\nexports.ChangeDetectorRef = change_detection_1.ChangeDetectorRef;\r\nexports.WrappedValue = change_detection_1.WrappedValue;\r\nexports.SimpleChange = change_detection_1.SimpleChange;\r\nexports.IterableDiffers = change_detection_1.IterableDiffers;\r\nexports.KeyValueDiffers = change_detection_1.KeyValueDiffers;\r\nexports.CollectionChangeRecord = change_detection_1.CollectionChangeRecord;\r\nexports.KeyValueChangeRecord = change_detection_1.KeyValueChangeRecord;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlX2RldGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2NoYW5nZV9kZXRlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7R0FJRzs7QUFFSCxpQ0FpQk8scUNBQXFDLENBQUM7QUFoQjNDLDZFQUF1QjtBQUV2QixpRUFBaUI7QUFFakIsdURBQVk7QUFDWix1REFBWTtBQUVaLDZEQUFlO0FBR2YsNkRBQWU7QUFHZiwyRUFBc0I7QUFDdEIsdUVBRTJDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbW9kdWxlXG4gKiBAZGVzY3JpcHRpb25cbiAqIENoYW5nZSBkZXRlY3Rpb24gZW5hYmxlcyBkYXRhIGJpbmRpbmcgaW4gQW5ndWxhci5cbiAqL1xuXG5leHBvcnQge1xuICBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSxcblxuICBDaGFuZ2VEZXRlY3RvclJlZixcblxuICBXcmFwcGVkVmFsdWUsXG4gIFNpbXBsZUNoYW5nZSxcbiAgUGlwZVRyYW5zZm9ybSxcbiAgSXRlcmFibGVEaWZmZXJzLFxuICBJdGVyYWJsZURpZmZlcixcbiAgSXRlcmFibGVEaWZmZXJGYWN0b3J5LFxuICBLZXlWYWx1ZURpZmZlcnMsXG4gIEtleVZhbHVlRGlmZmVyLFxuICBLZXlWYWx1ZURpZmZlckZhY3RvcnksXG4gIENvbGxlY3Rpb25DaGFuZ2VSZWNvcmQsXG4gIEtleVZhbHVlQ2hhbmdlUmVjb3JkLFxuICBUcmFja0J5Rm5cbn0gZnJvbSAnLi9jaGFuZ2VfZGV0ZWN0aW9uL2NoYW5nZV9kZXRlY3Rpb24nO1xuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar di_1 = require(\"angular2/src/core/di\");\r\nvar lang_1 = require(\"angular2/src/facade/lang\");\r\n/**\r\n * A token that can be provided when bootstraping an application to make an array of directives\r\n * available in every component of the application.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * import {PLATFORM_DIRECTIVES} from 'angular2/core';\r\n * import {OtherDirective} from './myDirectives';\r\n *\r\n * @Component({\r\n * selector: 'my-component',\r\n * template: `\r\n * <!-- can use other directive even though the component does not list it in `directives` -->\r\n * <other-directive></other-directive>\r\n * `\r\n * })\r\n * export class MyComponent {\r\n * ...\r\n * }\r\n *\r\n * bootstrap(MyComponent, [provide(PLATFORM_DIRECTIVES, {useValue: [OtherDirective], multi:true})]);\r\n * ```\r\n */\r\nexports.PLATFORM_DIRECTIVES = lang_1.CONST_EXPR(new di_1.OpaqueToken(\"Platform Directives\"));\r\n/**\r\n * A token that can be provided when bootstraping an application to make an array of pipes\r\n * available in every component of the application.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * import {PLATFORM_PIPES} from 'angular2/core';\r\n * import {OtherPipe} from './myPipe';\r\n *\r\n * @Component({\r\n * selector: 'my-component',\r\n * template: `\r\n * {{123 | other-pipe}}\r\n * `\r\n * })\r\n * export class MyComponent {\r\n * ...\r\n * }\r\n *\r\n * bootstrap(MyComponent, [provide(PLATFORM_PIPES, {useValue: [OtherPipe], multi:true})]);\r\n * ```\r\n */\r\nexports.PLATFORM_PIPES = lang_1.CONST_EXPR(new di_1.OpaqueToken(\"Platform Pipes\"));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm1fZGlyZWN0aXZlc19hbmRfcGlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9wbGF0Zm9ybV9kaXJlY3RpdmVzX2FuZF9waXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsbUJBQTBCLHNCQUFzQixDQUFDLENBQUE7QUFDakQscUJBQXlCLDBCQUEwQixDQUFDLENBQUE7QUFFcEQ7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBdUJHO0FBQ1UsMkJBQW1CLEdBQWdCLGlCQUFVLENBQUMsSUFBSSxnQkFBVyxDQUFDLHFCQUFxQixDQUFDLENBQU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E9wYXF1ZVRva2VuID0gQ09OU1RfRVhQUihuZXcgT3BhcXVlVG9rZW4oXCJQbGF0Zm9ybSBQaXBlc1wiKSk7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar console_1 = require('angular2/src/core/console');\r\nvar reflection_1 = require('./reflection/reflection');\r\nvar reflector_reader_1 = require('./reflection/reflector_reader');\r\nvar testability_1 = require('angular2/src/core/testability/testability');\r\nvar application_ref_1 = require('./application_ref');\r\nfunction _reflector() {\r\n return reflection_1.reflector;\r\n}\r\n/**\r\n * A default set of providers which should be included in any Angular platform.\r\n */\r\nexports.PLATFORM_COMMON_PROVIDERS = lang_1.CONST_EXPR([\r\n application_ref_1.PLATFORM_CORE_PROVIDERS,\r\n new di_1.Provider(reflection_1.Reflector, { useFactory: _reflector, deps: [] }),\r\n new di_1.Provider(reflector_reader_1.ReflectorReader, { useExisting: reflection_1.Reflector }),\r\n testability_1.TestabilityRegistry,\r\n console_1.Console\r\n]);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm1fY29tbW9uX3Byb3ZpZGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL3BsYXRmb3JtX2NvbW1vbl9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHFCQUFzRSwwQkFBMEIsQ0FBQyxDQUFBO0FBQ2pHLG1CQUF1RCxzQkFBc0IsQ0FBQyxDQUFBO0FBQzlFLHdCQUFzQiwyQkFBMkIsQ0FBQyxDQUFBO0FBQ2xELDJCQUFtQyx5QkFBeUIsQ0FBQyxDQUFBO0FBQzdELGlDQUE4QiwrQk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MvY29yZS90ZXN0YWJpbGl0eS90ZXN0YWJpbGl0eSc7XG5pbXBvcnQge1BMQVRGT1JNX0NPUkVfUFJPVklERVJTfSBmcm9tICcuL2FwcGxpY2F0aW9uX3JlZic7XG5cbmZ1bmN0aW9uIF9yZWZsZWN0b3IoKTogUmVmbGVjdG9yIHtcbiAgcmV0dXJuIHJlZmxlY3Rvcjtcbn1cblxuLyoqXG4gKiBBIGRlZmF1bHQgc2V0IG9mIHByb3ZpZGVycyB3aGljaCBzaG91bGQgYmUgaW5jbHVkZWQgaW4gYW55IEFuZ3VsYXIgcGxhdGZvcm0uXG4gKi9cbmV4cG9ydCBjb25zdCBQTEFURk9STV9DT01NT05fUFJPVklERVJTOiBBcnJheTxUeXBlIHwgUHJvdmlkZXIgfCBhbnlbXT4gPSBDT05TVF9FWFBSKFtcbiAgUExBVEZPUk1fQ09SRV9QUk9WSURFUlMsXG4gIG5ldyBQcm92aWRlcihSZWZsZWN0b3IsIHt1c2VGYWN0b3J5OiBfcmVmbGVjdG9yLCBkZXBzOiBbXX0pLFxuICBuZXcgUHJvdmlkZXIoUmVmbGVjdG9yUmVhZGVyLCB7dXNlRXhpc3Rpbmc6IFJlZmxlY3Rvcn0pLFxuICBUZXN0YWJpbGl0eVJlZ2lzdHJ5LFxuICBDb25zb2xlXG5dKTsiXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n/**\r\n * Stores error information; delivered via [NgZone.onError] stream.\r\n */\r\nvar NgZoneError = (function () {\r\n function NgZoneError(error, stackTrace) {\r\n this.error = error;\r\n this.stackTrace = stackTrace;\r\n }\r\n return NgZoneError;\r\n}());\r\nexports.NgZoneError = NgZoneError;\r\nvar NgZoneImpl = (function () {\r\n function NgZoneImpl(_a) {\r\n var _this = this;\r\n var trace = _a.trace, onEnter = _a.onEnter, onLeave = _a.onLeave, setMicrotask = _a.setMicrotask, setMacrotask = _a.setMacrotask, onError = _a.onError;\r\n this.onEnter = onEnter;\r\n this.onLeave = onLeave;\r\n this.setMicrotask = setMicrotask;\r\n this.setMacrotask = setMacrotask;\r\n this.onError = onError;\r\n if (Zone) {\r\n this.outer = this.inner = Zone.current;\r\n if (Zone['wtfZoneSpec']) {\r\n this.inner = this.inner.fork(Zone['wtfZoneSpec']);\r\n }\r\n if (trace && Zone['longStackTraceZoneSpec']) {\r\n this.inner = this.inner.fork(Zone['longStackTraceZoneSpec']);\r\n }\r\n this.inner = this.inner.fork({\r\n name: 'angular',\r\n properties: { 'isAngularZone': true },\r\n onInvokeTask: function (delegate, current, target, task, applyThis, applyArgs) {\r\n try {\r\n _this.onEnter();\r\n return delegate.invokeTask(target, task, applyThis, applyArgs);\r\n }\r\n finally {\r\n _this.onLeave();\r\n }\r\n },\r\n onInvoke: function (delegate, current, target, callback, applyThis, applyArgs, source) {\r\n try {\r\n _this.onEnter();\r\n return delegate.invoke(target, callback, applyThis, applyArgs, source);\r\n }\r\n finally {\r\n _this.onLeave();\r\n }\r\n },\r\n onHasTask: function (delegate, current, target, hasTaskState) {\r\n delegate.hasTask(target, hasTaskState);\r\n if (current == target) {\r\n // We are only interested in hasTask events which originate from our zone\r\n // (A child hasTask event is not interesting to us)\r\n if (hasTaskState.change == 'microTask') {\r\n _this.setMicrotask(hasTaskState.microTask);\r\n }\r\n else if (hasTaskState.change == 'macroTask') {\r\n _this.setMacrotask(hasTaskState.macroTask);\r\n }\r\n }\r\n },\r\n onHandleError: function (delegate, current, target, error) {\r\n delegate.handleError(target, error);\r\n _this.onError(new NgZoneError(error, error.stack));\r\n return false;\r\n }\r\n });\r\n }\r\n else {\r\n throw new Error('Angular2 needs to be run with Zone.js polyfill.');\r\n }\r\n }\r\n NgZoneImpl.isInAngularZone = function () { return Zone.current.get('isAngularZone') === true; };\r\n NgZoneImpl.prototype.runInner = function (fn) { return this.inner.run(fn); };\r\n ;\r\n NgZoneImpl.prototype.runInnerGuarded = function (fn) { return this.inner.runGuarded(fn); };\r\n ;\r\n NgZoneImpl.prototype.runOuter = function (fn) { return this.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ICAgICAgICBhcHBseVRoaXM6IGFueSwgYXBwbHlBcmdzOiBhbnkpOiBhbnkgPT4ge1xuICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICB0aGlzLm9uRW50ZXIoKTtcbiAgICAgICAgICAgIHJldHVybiBkZWxlZ2F0ZS5pbnZva2VUYXNrKHRhcmdldCwgdGFzaywgYXBwbHlUaGlzLCBhcHBseUFyZ3MpO1xuICAgICAgICAgIH0gZmluYWxseSB7XG4gICAgICAgICAgICB0aGlzLm9uTGVhdmUoKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG5cblxuICAgICAgICBvbkludm9rZTogKGRlbGVnYXRlOiBab25lRGVsZWdhdGUsIGN1cnJlbnQ6IFpvbmUsIHRhcmdldDogWm9uZSwgY2FsbGJhY2s6IEZ1bmN0aW9uLFxuICAgICAgICAgICAgICAgICAgIGFwcGx5VGhpczogYW55LCBhcHBseUFyZ3M6IGFueVtdLCBzb3VyY2U6IHN0cmluZyk6IGFueSA9PiB7XG4gICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgIHRoaXMub25FbnRlcigpO1xuICAgICAgICAgICAgcmV0dXJuIGRlbGVnYXRlLmludm9rZSh0YXJnZXQsIGNhbGxiYWNrLCBhcHBseVRoaXMsIGFwcGx5QXJncywgc291cmNlKTtcbiAgICAgICAgICB9IGZpbmFsbHkge1xuICAgICAgICAgICAgdGhpcy5vbkxlYXZlKCk7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuXG4gICAgICAgIG9uSGFzVGFzazpcbiAgICAgICAgICAgIChkZWxlZ2F0ZTogWm9uZURlbGVnYXRlLCBjdXJyZW50OiBab25lLCB0YXJnZXQ6IFpvbmUsIGhhc1Rhc2tTdGF0ZTogSGFzVGFza1N0YXRlKSA9PiB7XG4gICAgICAgICAgICAgIGRlbGVnYXRlLmhhc1Rhc2sodGFyZ2V0LCBoYXNUYXNrU3RhdGUpO1xuICAgICAgICAgICAgICBpZiAoY3VycmVudCA9PSB0YXJnZXQpIHtcbiAgICAgICAgICAgICAgICAvLyBXZSBhcmUgb25seSBpbnRlcmVzdGVkIGluIGhhc1Rhc2sgZXZlbnRzIHdoaWNoIG9yaWdpbmF0ZSBmcm9tIG91ciB6b25lXG4gICAgICAgICAgICAgICAgLy8gKEEgY2hpbGQgaGFzVGFzayBldmVudCBpcyBub3QgaW50ZXJlc3RpbmcgdG8gdXMpXG4gICAgICAgICAgICAgICAgaWYgKGhhc1Rhc2tTdGF0ZS5jaGFuZ2UgPT0gJ21pY3JvVGFzaycpIHtcbiAgICAgICAgICAgICAgICAgIHRoaXMuc2V0TWljcm90YXNrKGhhc1Rhc2tTdGF0ZS5taWNyb1Rhc2spO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoaGFzVGFza1N0YXRlLmNoYW5nZSA9PSAnbWFjcm9UYXNrJykge1xuICAgICAgICAgICAgICAgICAgdGhpcy5zZXRNYWNyb3Rhc2soaGFzVGFza1N0YXRlLm1hY3JvVGFzayk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuXG4gICAgICAgIG9uSGFuZGxlRXJyb3I6IChkZWxlZ2F0ZTogWm9uZURlbGVnYXRlLCBjdXJyZW50OiBab25lLCB0YXJnZXQ6IFpvbmUsIGVycm9yOiBhbnkpOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9vbGVhbiA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlbGVnYXRlLmhhbmRsZUVycm9yKHRhcmdldCwgZXJyb3IpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uRXJyb3IobmV3IE5nWm9uZUVycm9yKGVycm9yLCBlcnJvci5zdGFjaykpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICB9KTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdBbmd1bGFyMiBuZWVkcyB0byBiZSBydW4gd2l0aCBab25lLmpzIHBvbHlmaWxsLicpO1xuICAgIH1cbiAgfVxuXG4gIHJ1bklubmVyKGZuOiAoKSA9PiBhbnkpOiBhbnkgeyByZXR1cm4gdGhpcy5pbm5lci5ydW4oZm4pOyB9O1xuICBydW5Jbm5lckd1YXJkZWQoZm46ICgpID0+IGFueSk6IGFueSB7IHJldHVybiB0aGlzLmlubmVyLnJ1bkd1YXJkZWQoZm4pOyB9O1xuICBydW5PdXRlcihmbjogKCkgPT4gYW55KTogYW55IHsgcmV0dXJuIHRoaXMub3V0ZXIucnVuKGZuKTsgfTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar ng_zone_impl_1 = require('./ng_zone_impl');\r\nvar exceptions_1 = require('../../facade/exceptions');\r\nvar ng_zone_impl_2 = require('./ng_zone_impl');\r\nexports.NgZoneError = ng_zone_impl_2.NgZoneError;\r\n/**\r\n * An injectable service for executing work inside or outside of the Angular zone.\r\n *\r\n * The most common use of this service is to optimize performance when starting a work consisting of\r\n * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\r\n * Angular. Such tasks can be kicked off via {@link #runOutsideAngular} and if needed, these tasks\r\n * can reenter the Angular zone via {@link #run}.\r\n *\r\n * <!-- TODO: add/fix links to:\r\n * - docs explaining zones and the use of zones in Angular and change-detection\r\n * - link to runOutsideAngular/run (throughout this file!)\r\n * -->\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/lY9m8HLy7z06vDoUaSN2?p=preview))\r\n * ```\r\n * import {Component, View, NgZone} from 'angular2/core';\r\n * import {NgIf} from 'angular2/common';\r\n *\r\n * @Component({\r\n * selector: 'ng-zone-demo'.\r\n * template: `\r\n * <h2>Demo: NgZone</h2>\r\n *\r\n * <p>Progress: {{progress}}%</p>\r\n * <p *ngIf=\"progress >= 100\">Done processing {{label}} of Angular zone!</p>\r\n *\r\n * <button (click)=\"processWithinAngularZone()\">Process within Angular zone</button>\r\n * <button (click)=\"processOutsideOfAngularZone()\">Process outside of Angular zone</button>\r\n * `,\r\n * directives: [NgIf]\r\n * })\r\n * export class NgZoneDemo {\r\n * progress: number = 0;\r\n * label: string;\r\n *\r\n * constructor(private _ngZone: NgZone) {}\r\n *\r\n * // Loop inside the Angular zone\r\n * // so the UI DOES refresh after each setTimeout cycle\r\n * processWithinAngularZone() {\r\n * this.label = 'inside';\r\n * this.progress = 0;\r\n * this._increaseProgress(() => console.log('Inside Done!'));\r\n * }\r\n *\r\n * // Loop outside of the Angular zone\r\n * // so the UI DOES NOT refresh after each setTimeout cycle\r\n * processOutsideOfAngularZone() {\r\n * this.label = 'outside';\r\n * this.progress = 0;\r\n * this._ngZone.runOutsideAngular(() => {\r\n * this._increaseProgress(() => {\r\n * // reenter the Angular zone and display done\r\n * this._ngZone.run(() => {console.log('Outside Done!') });\r\n * }}));\r\n * }\r\n *\r\n *\r\n * _increaseProgress(doneCallback: () => void) {\r\n * this.progress += 1;\r\n * console.log(`Current progress: ${this.progress}%`);\r\n *\r\n * if (this.progress < 100) {\r\n * window.setTimeout(() => this._increaseProgress(doneCallback)), 10)\r\n * } else {\r\n * doneCallback();\r\n * }\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar NgZone = (function () {\r\n /**\r\n * @param {bool} enableLongStackTrace whether to enable long stack trace. They should only be\r\n * enabled in development mode as they significantly impact perf.\r\n */\r\n function NgZone(_a) {\r\n var _this = this;\r\n var _b = _a.enableLongStackTrace, enableLongStackTrace = _b === void 0 ? false : _b;\r\n this._hasPendingMicrotasks = false;\r\n this._hasPendingMacrotasks = false;\r\n /** @internal */\r\n this._isStable = true;\r\n /** @internal */\r\n this._nesting = 0;\r\n /** @internal */\r\n this._onUnstable = new async_1.EventEmitter(false);\r\n /** @internal */\r\n this._onMicrotaskEmpty = new async_1.EventEmitter(false);\r\n /** @internal */\r\n this._onStable = new async_1.EventEmitter(false);\r\n /** @internal */\r\n this._onErrorEvents = new async_1.EventEmitter(false);\r\n this._zoneImpl = new ng_zone_impl_1.NgZoneImpl({\r\n trace: enableLongStackTrace,\r\n onEnter: function () {\r\n // console.log('ZONE.enter', this._nesting, this._isStable);\r\n _this._nesting++;\r\n if (_this._isStable) {\r\n _this._isStable = false;\r\n _this._onUnstable.emit(null);\r\n }\r\n },\r\n onLeave: function () {\r\n _this._nesting--;\r\n // console.log('ZONE.leave', this._nesting, this._isStable);\r\n _this._checkStable();\r\n },\r\n setMicrotask: function (hasMicrotasks) {\r\n _this._hasPendingMicrotasks = hasMicrotasks;\r\n _this._checkStable();\r\n },\r\n setMacrotask: function (hasMacrotasks) { _this._hasPendingMacrotasks = hasMacrotasks; },\r\n onError: function (error) { return _this._onErrorEvents.emit(error); }\r\n });\r\n }\r\n NgZone.isInAngularZone = function () { return ng_zone_impl_1.NgZoneImpl.isInAngularZone(); };\r\n NgZone.assertInAngularZone = function () {\r\n if (!ng_zone_impl_1.NgZoneImpl.isInAngularZone()) {\r\n throw new exceptions_1.BaseException('Expected to be in Angular Zone, but it is not!');\r\n }\r\n };\r\n NgZone.assertNotInAngularZone = function () {\r\n if (ng_zone_impl_1.NgZoneImpl.isInAngularZone()) {\r\n throw new exceptions_1.BaseException('Expected to not be in Angular Zone, but it is!');\r\n }\r\n };\r\n NgZone.prototype._checkStable = function () {\r\n var _this = this;\r\n if (this._nesting == 0) {\r\n if (!this._hasPendingMicrotasks && !this._isStable) {\r\n try {\r\n // console.log('ZONE.microtaskEmpty');\r\n this._nesting++;\r\n this._onMicrotaskEmpty.emit(null);\r\n }\r\n finally {\r\n this._nesting--;\r\n if (!this._hasPendingMicrotasks) {\r\n try {\r\n // console.log('ZONE.stable', this._nesting, this._isStable);\r\n this.runOutsideAngular(function () { return _this._onStable.emit(null); });\r\n }\r\n finally {\r\n this._isStable = true;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n };\r\n ;\r\n Object.defineProperty(NgZone.prototype, \"onUnstable\", {\r\n /**\r\n * Notifies when code enters Angular Zone. This gets fired first on VM Turn.\r\n */\r\n get: function () { return this._onUnstable; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgZone.prototype, \"onMicrotaskEmpty\", {\r\n /**\r\n * Notifies when there is no more microtasks enqueue in the current VM Turn.\r\n * This is a hint for Angular to do change detection, which may enqueue more microtasks.\r\n * For this reason this event can fire multiple times per VM Turn.\r\n */\r\n get: function () { return this._onMicrotaskEmpty; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgZone.prototype, \"onStable\", {\r\n /**\r\n * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which\r\n * implies we are about to relinquish VM turn.\r\n * This event gets called just once.\r\n */\r\n get: function () { return this._onStable; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgZone.prototype, \"onError\", {\r\n /**\r\n * Notify that an error has been delivered.\r\n */\r\n get: function () { return this._onErrorEvents; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgZone.prototype, \"hasPendingMicrotasks\", {\r\n /**\r\n * Whether there are any outstanding microtasks.\r\n */\r\n get: function () { return this._hasPendingMicrotasks; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(NgZone.prototype, \"hasPendingMacrotasks\", {\r\n /**\r\n * Whether there are any outstanding microtasks.\r\n */\r\n get: function () { return this._hasPendingMacrotasks; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * Executes the `fn` function synchronously within the Angular zone and returns value returned by\r\n * the function.\r\n *\r\n * Running functions via `run` allows you to reenter Angular zone from a task that was executed\r\n * outside of the Angular zone (typically started via {@link #runOutsideAngular}).\r\n *\r\n * Any future tasks or microtasks scheduled from within this function will continue executing from\r\n * within the Angular zone.\r\n *\r\n * If a synchronous error happens it will be rethrown and not reported via `onError`.\r\n */\r\n NgZone.prototype.run = function (fn) { return this._zoneImpl.runInner(fn); };\r\n /**\r\n * Same as #run, except that synchronous errors are caught and forwarded\r\n * via `onError` and not rethrown.\r\n */\r\n NgZone.prototype.runGuarded = function (fn) { return this._zoneImpl.runInnerGuarded(fn); };\r\n /**\r\n * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by\r\n * the function.\r\n *\r\n * Running functions via `runOutsideAngular` allows you to escape Angular's zone and do work that\r\n * doesn't trigger Angular change-detection or is subject to Angular's error handling.\r\n *\r\n * Any future tasks or microtasks scheduled from within this function will continue executing from\r\n * outside of the Angular zone.\r\n *\r\n * Use {@link #run} to reenter the Angular zone and do work that updates the application model.\r\n */\r\n NgZone.prototype.runOutsideAngular = function (fn) { return this._zoneImpl.runOuter(fn); };\r\n return NgZone;\r\n}());\r\nexports.NgZone = NgZone;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfem9uZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL3pvbmUvbmdfem9uZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0JBQTJCLDJCQUEyQixDQUFDLENBQUE7QUFDdkQsNkJBQXNDLGdCQUFnQixDQUFDLENBQUE7QUFDdkQsMkJBQTRCLHlCQUF5QixDQUFDLENBQUE7QUFDdEQsNkJBQTBCLGdCQUFnQixDQUFDO0FBQW5DLGlEQUFtQztBQUczQzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNFRztBQUNIO0lBK0JFOzs7T0FHRztJQUNILGdCQUFZLEVBQThCO1FBbkM1QyxpQkFxSkM7WUFsSGMsNEJBQTRCLEVBQTVCLGlEQUE0Q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mV0dXJuIHRoaXMuX3pvbmVJbXBsLnJ1bklubmVyR3VhcmRlZChmbik7IH1cblxuICAvKipcbiAgICogRXhlY3V0ZXMgdGhlIGBmbmAgZnVuY3Rpb24gc3luY2hyb25vdXNseSBpbiBBbmd1bGFyJ3MgcGFyZW50IHpvbmUgYW5kIHJldHVybnMgdmFsdWUgcmV0dXJuZWQgYnlcbiAgICogdGhlIGZ1bmN0aW9uLlxuICAgKlxuICAgKiBSdW5uaW5nIGZ1bmN0aW9ucyB2aWEgYHJ1bk91dHNpZGVBbmd1bGFyYCBhbGxvd3MgeW91IHRvIGVzY2FwZSBBbmd1bGFyJ3Mgem9uZSBhbmQgZG8gd29yayB0aGF0XG4gICAqIGRvZXNuJ3QgdHJpZ2dlciBBbmd1bGFyIGNoYW5nZS1kZXRlY3Rpb24gb3IgaXMgc3ViamVjdCB0byBBbmd1bGFyJ3MgZXJyb3IgaGFuZGxpbmcuXG4gICAqXG4gICAqIEFueSBmdXR1cmUgdGFza3Mgb3IgbWljcm90YXNrcyBzY2hlZHVsZWQgZnJvbSB3aXRoaW4gdGhpcyBmdW5jdGlvbiB3aWxsIGNvbnRpbnVlIGV4ZWN1dGluZyBmcm9tXG4gICAqIG91dHNpZGUgb2YgdGhlIEFuZ3VsYXIgem9uZS5cbiAgICpcbiAgICogVXNlIHtAbGluayAjcnVufSB0byByZWVudGVyIHRoZSBBbmd1bGFyIHpvbmUgYW5kIGRvIHdvcmsgdGhhdCB1cGRhdGVzIHRoZSBhcHBsaWNhdGlvbiBtb2RlbC5cbiAgICovXG4gIHJ1bk91dHNpZGVBbmd1bGFyKGZuOiAoKSA9PiBhbnkpOiBhbnkgeyByZXR1cm4gdGhpcy5fem9uZUltcGwucnVuT3V0ZXIoZm4pOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar ng_zone_1 = require('../zone/ng_zone');\r\nvar async_1 = require('angular2/src/facade/async');\r\n/**\r\n * The Testability service provides testing hooks that can be accessed from\r\n * the browser and by services such as Protractor. Each bootstrapped Angular\r\n * application on the page will have an instance of Testability.\r\n */\r\nvar Testability = (function () {\r\n function Testability(_ngZone) {\r\n this._ngZone = _ngZone;\r\n /** @internal */\r\n this._pendingCount = 0;\r\n /** @internal */\r\n this._isZoneStable = true;\r\n /**\r\n * Whether any work was done since the last 'whenStable' callback. This is\r\n * useful to detect if this could have potentially destabilized another\r\n * component while it is stabilizing.\r\n * @internal\r\n */\r\n this._didWork = false;\r\n /** @internal */\r\n this._callbacks = [];\r\n this._watchAngularEvents();\r\n }\r\n /** @internal */\r\n Testability.prototype._watchAngularEvents = function () {\r\n var _this = this;\r\n async_1.ObservableWrapper.subscribe(this._ngZone.onUnstable, function (_) {\r\n _this._didWork = true;\r\n _this._isZoneStable = false;\r\n });\r\n this._ngZone.runOutsideAngular(function () {\r\n async_1.ObservableWrapper.subscribe(_this._ngZone.onStable, function (_) {\r\n ng_zone_1.NgZone.assertNotInAngularZone();\r\n lang_1.scheduleMicroTask(function () {\r\n _this._isZoneStable = true;\r\n _this._runCallbacksIfReady();\r\n });\r\n });\r\n });\r\n };\r\n Testability.prototype.increasePendingRequestCount = function () {\r\n this._pendingCount += 1;\r\n this._didWork = true;\r\n return this._pendingCount;\r\n };\r\n Testability.prototype.decreasePendingRequestCount = function () {\r\n this._pendingCount -= 1;\r\n if (this._pendingCount < 0) {\r\n throw new exceptions_1.BaseException('pending async requests below zero');\r\n }\r\n this._runCallbacksIfReady();\r\n return this._pendingCount;\r\n };\r\n Testability.prototype.isStable = function () {\r\n return this._isZoneStable && this._pendingCount == 0 && !this._ngZone.hasPendingMacrotasks;\r\n };\r\n /** @internal */\r\n Testability.prototype._runCallbacksIfReady = function () {\r\n var _this = this;\r\n if (this.isStable()) {\r\n // Schedules the call backs in a new frame so that it is always async.\r\n lang_1.scheduleMicroTask(function () {\r\n while (_this._callbacks.length !== 0) {\r\n (_this._callbacks.pop())(_this._didWork);\r\n }\r\n _this._didWork = false;\r\n });\r\n }\r\n else {\r\n // Not Ready\r\n this._didWork = true;\r\n }\r\n };\r\n Testability.prototype.whenStable = function (callback) {\r\n this._callbacks.push(callback);\r\n this._runCallbacksIfReady();\r\n };\r\n Testability.prototype.getPendingRequestCount = function () { return this._pendingCount; };\r\n Testability.prototype.findBindings = function (using, provider, exactMatch) {\r\n // TODO(juliemr): implement.\r\n return [];\r\n };\r\n Testability.prototype.findProviders = function (using, provider, exactMatch) {\r\n // TODO(juliemr): implement.\r\n return [];\r\n };\r\n Testability = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [ng_zone_1.NgZone])\r\n ], Testability);\r\n return Testability;\r\n}());\r\nexports.Testability = Testability;\r\n/**\r\n * A global registry of {@link Testability} instances for specific elements.\r\n */\r\nvar TestabilityRegistry = (function () {\r\n function TestabilityRegistry() {\r\n /** @internal */\r\n this._applications = new collection_1.Map();\r\n _testabilityGetter.addToWindow(this);\r\n }\r\n TestabilityRegistry.prototype.registerApplication = function (token, testability) {\r\n this._applications.set(token, testability);\r\n };\r\n TestabilityRegistry.prototype.getTestability = function (elem) { return this._applications.get(elem); };\r\n TestabilityRegistry.prototype.getAllTestabilities = function () { return collection_1.MapWrapper.values(this._applications); };\r\n TestabilityRegistry.prototype.getAllRootElements = function () { return collection_1.MapWrapper.keys(this._applications); };\r\n TestabilityRegistry.prototype.findTestabilityInTree = function (elem, findInAncestors) {\r\n if (findInAncestors === void 0) { findInAncestors = true; }\r\n return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors);\r\n };\r\n TestabilityRegistry = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], TestabilityRegistry);\r\n return TestabilityRegistry;\r\n}());\r\nexports.TestabilityRegistry = TestabilityRegistry;\r\nvar _NoopGetTestability = (function () {\r\n function _NoopGetTestability() {\r\n }\r\n _NoopGetTestability.prototype.addToWindow = function (registry) { };\r\n _NoopGetTestability.prototype.findTestabilityInTree = function (registry, elem, findInAncestors) {\r\n return null;\r\n };\r\n _NoopGetTestability = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], _NoopGetTestability);\r\n return _NoopGetTestability;\r\n}());\r\n/**\r\n * Set the {@link GetTestability} implementation used by the Angular testing framework.\r\n */\r\nfunction setTestabilityGetter(getter) {\r\n _testabilityGetter = getter;\r\n}\r\nexports.setTestabilityGetter = setTestabilityGetter;\r\nvar _testabilityGetter = lang_1.CONST_EXPR(new _NoopGetTestability());\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdGFiaWxpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS90ZXN0YWJpbGl0eS90ZXN0YWJpbGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsbUJBQXlCLHNCQUFzQixDQUFDLENBQUE7QUFDaEQsMkJ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VzdGluZyBmcmFtZXdvcmsuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBzZXRUZXN0YWJpbGl0eUdldHRlcihnZXR0ZXI6IEdldFRlc3RhYmlsaXR5KTogdm9pZCB7XG4gIF90ZXN0YWJpbGl0eUdldHRlciA9IGdldHRlcjtcbn1cblxudmFyIF90ZXN0YWJpbGl0eUdldHRlcjogR2V0VGVzdGFiaWxpdHkgPSBDT05TVF9FWFBSKG5ldyBfTm9vcEdldFRlc3RhYmlsaXR5KCkpO1xuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n// Note: Need to rename warn as in Dart\r\n// class members and imports can't use the same name.\r\nvar _warnImpl = lang_1.warn;\r\nvar Console = (function () {\r\n function Console() {\r\n }\r\n Console.prototype.log = function (message) { lang_1.print(message); };\r\n // Note: for reporting errors use `DOM.logError()` as it is platform specific\r\n Console.prototype.warn = function (message) { _warnImpl(message); };\r\n Console = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], Console);\r\n return Console;\r\n}());\r\nexports.Console = Console;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc29sZS5qcy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XG4gIGxvZyhtZXNzYWdlOiBzdHJpbmcpOiB2b2lkIHsgcHJpbnQobWVzc2FnZSk7IH1cbiAgLy8gTm90ZTogZm9yIHJlcG9ydGluZyBlcnJvcnMgdXNlIGBET00ubG9nRXJyb3IoKWAgYXMgaXQgaXMgcGxhdGZvcm0gc3BlY2lmaWNcbiAgd2FybihtZXNzYWdlOiBzdHJpbmcpOiB2b2lkIHsgX3dhcm5JbXBsKG1lc3NhZ2UpOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar ng_zone_1 = require('angular2/src/core/zone/ng_zone');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar application_tokens_1 = require('./application_tokens');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar testability_1 = require('angular2/src/core/testability/testability');\r\nvar component_resolver_1 = require('angular2/src/core/linker/component_resolver');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar console_1 = require('angular2/src/core/console');\r\nvar profile_1 = require('./profile/profile');\r\n/**\r\n * Create an Angular zone.\r\n */\r\nfunction createNgZone() {\r\n return new ng_zone_1.NgZone({ enableLongStackTrace: lang_1.assertionsEnabled() });\r\n}\r\nexports.createNgZone = createNgZone;\r\nvar _platform;\r\nvar _inPlatformCreate = false;\r\n/**\r\n * Creates a platform.\r\n * Platforms have to be eagerly created via this function.\r\n */\r\nfunction createPlatform(injector) {\r\n if (_inPlatformCreate) {\r\n throw new exceptions_1.BaseException('Already creating a platform...');\r\n }\r\n if (lang_1.isPresent(_platform) && !_platform.disposed) {\r\n throw new exceptions_1.BaseException(\"There can be only one platform. Destroy the previous one to create a new one.\");\r\n }\r\n lang_1.lockMode();\r\n _inPlatformCreate = true;\r\n try {\r\n _platform = injector.get(PlatformRef);\r\n }\r\n finally {\r\n _inPlatformCreate = false;\r\n }\r\n return _platform;\r\n}\r\nexports.createPlatform = createPlatform;\r\n/**\r\n * Checks that there currently is a platform\r\n * which contains the given token as a provider.\r\n */\r\nfunction assertPlatform(requiredToken) {\r\n var platform = getPlatform();\r\n if (lang_1.isBlank(platform)) {\r\n throw new exceptions_1.BaseException('Not platform exists!');\r\n }\r\n if (lang_1.isPresent(platform) && lang_1.isBlank(platform.injector.get(requiredToken, null))) {\r\n throw new exceptions_1.BaseException('A platform with a different configuration has been created. Please destroy it first.');\r\n }\r\n return platform;\r\n}\r\nexports.assertPlatform = assertPlatform;\r\n/**\r\n * Dispose the existing platform.\r\n */\r\nfunction disposePlatform() {\r\n if (lang_1.isPresent(_platform) && !_platform.disposed) {\r\n _platform.dispose();\r\n }\r\n}\r\nexports.disposePlatform = disposePlatform;\r\n/**\r\n * Returns the current platform.\r\n */\r\nfunction getPlatform() {\r\n return lang_1.isPresent(_platform) && !_platform.disposed ? _platform : null;\r\n}\r\nexports.getPlatform = getPlatform;\r\n/**\r\n * Shortcut for ApplicationRef.bootstrap.\r\n * Requires a platform the be created first.\r\n */\r\nfunction coreBootstrap(injector, componentFactory) {\r\n var appRef = injector.get(ApplicationRef);\r\n return appRef.bootstrap(componentFactory);\r\n}\r\nexports.coreBootstrap = coreBootstrap;\r\n/**\r\n * Resolves the componentFactory for the given component,\r\n * waits for asynchronous initializers and bootstraps the component.\r\n * Requires a platform the be created first.\r\n */\r\nfunction coreLoadAndBootstrap(injector, componentType) {\r\n var appRef = injector.get(ApplicationRef);\r\n return appRef.run(function () {\r\n var componentResolver = injector.get(component_resolver_1.ComponentResolver);\r\n return async_1.PromiseWrapper\r\n .all([componentResolver.resolveComponent(componentType), appRef.waitForAsyncInitializers()])\r\n .then(function (arr) { return appRef.bootstrap(arr[0]); });\r\n });\r\n}\r\nexports.coreLoadAndBootstrap = coreLoadAndBootstrap;\r\n/**\r\n * The Angular platform is the entry point for Angular on a web page. Each page\r\n * has exactly one platform, and services (such as reflection) which are common\r\n * to every Angular application running on the page are bound in its scope.\r\n *\r\n * A page's platform is initialized implicitly when {@link bootstrap}() is called, or\r\n * explicitly by calling {@link createPlatform}().\r\n */\r\nvar PlatformRef = (function () {\r\n function PlatformRef() {\r\n }\r\n Object.defineProperty(PlatformRef.prototype, \"injector\", {\r\n /**\r\n * Retrieve the platform {@link Injector}, which is the parent injector for\r\n * every Angular application on the page and provides singleton providers.\r\n */\r\n get: function () { throw exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(PlatformRef.prototype, \"disposed\", {\r\n get: function () { throw exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return PlatformRef;\r\n}());\r\nexports.PlatformRef = PlatformRef;\r\nvar PlatformRef_ = (function (_super) {\r\n __extends(PlatformRef_, _super);\r\n function PlatformRef_(_injector) {\r\n _super.call(this);\r\n this._injector = _injector;\r\n /** @internal */\r\n this._applications = [];\r\n /** @internal */\r\n this._disposeListeners = [];\r\n this._disposed = false;\r\n if (!_inPlatformCreate) {\r\n throw new exceptions_1.BaseException('Platforms have to be created via `createPlatform`!');\r\n }\r\n var inits = _injector.get(application_tokens_1.PLATFORM_INITIALIZER, null);\r\n if (lang_1.isPresent(inits))\r\n inits.forEach(function (init) { return init(); });\r\n }\r\n PlatformRef_.prototype.registerDisposeListener = function (dispose) { this._disposeListeners.push(dispose); };\r\n Object.defineProperty(PlatformRef_.prototype, \"injector\", {\r\n get: function () { return this._injector; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(PlatformRef_.prototype, \"disposed\", {\r\n get: function () { return this._disposed; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n PlatformRef_.prototype.addApplication = function (appRef) { this._applications.push(appRef); };\r\n PlatformRef_.prototype.dispose = function () {\r\n collection_1.ListWrapper.clone(this._applications).forEach(function (app) { return app.dispose(); });\r\n this._disposeListeners.forEach(function (dispose) { return dispose(); });\r\n this._disposed = true;\r\n };\r\n /** @internal */\r\n PlatformRef_.prototype._applicationDisposed = function (app) { collection_1.ListWrapper.remove(this._applications, app); };\r\n PlatformRef_ = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [di_1.Injector])\r\n ], PlatformRef_);\r\n return PlatformRef_;\r\n}(PlatformRef));\r\nexports.PlatformRef_ = PlatformRef_;\r\n/**\r\n * A reference to an Angular application running on a page.\r\n *\r\n * For more about Angular applications, see the documentation for {@link bootstrap}.\r\n */\r\nvar ApplicationRef = (function () {\r\n function ApplicationRef() {\r\n }\r\n Object.defineProperty(ApplicationRef.prototype, \"injector\", {\r\n /**\r\n * Retrieve the application {@link Injector}.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(ApplicationRef.prototype, \"zone\", {\r\n /**\r\n * Retrieve the application {@link NgZone}.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(ApplicationRef.prototype, \"componentTypes\", {\r\n /**\r\n * Get a list of component types registered to this application.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n return ApplicationRef;\r\n}());\r\nexports.ApplicationRef = ApplicationRef;\r\nvar ApplicationRef_ = (function (_super) {\r\n __extends(ApplicationRef_, _super);\r\n function ApplicationRef_(_platform, _zone, _injector) {\r\n var _this = this;\r\n _super.call(this);\r\n this._platform = _platform;\r\n this._zone = _zone;\r\n this._injector = _injector;\r\n /** @internal */\r\n this._bootstrapListeners = [];\r\n /** @internal */\r\n this._disposeListeners = [];\r\n /** @internal */\r\n this._rootComponents = [];\r\n /** @internal */\r\n this._rootComponentTypes = [];\r\n /** @internal */\r\n this._changeDetectorRefs = [];\r\n /** @internal */\r\n this._runningTick = false;\r\n /** @internal */\r\n this._enforceNoNewChanges = false;\r\n var zone = _injector.get(ng_zone_1.NgZone);\r\n this._enforceNoNewChanges = lang_1.assertionsEnabled();\r\n zone.run(function () { _this._exceptionHandler = _injector.get(exceptions_1.ExceptionHandler); });\r\n this._asyncInitDonePromise = this.run(function () {\r\n var inits = _injector.get(application_tokens_1.APP_INITIALIZER, null);\r\n var asyncInitResults = [];\r\n var asyncInitDonePromise;\r\n if (lang_1.isPresent(inits)) {\r\n for (var i = 0; i < inits.length; i++) {\r\n var initResult = inits[i]();\r\n if (lang_1.isPromise(initResult)) {\r\n asyncInitResults.push(initResult);\r\n }\r\n }\r\n }\r\n if (asyncInitResults.length > 0) {\r\n asyncInitDonePromise =\r\n async_1.PromiseWrapper.all(asyncInitResults).then(function (_) { return _this._asyncInitDone = true; });\r\n _this._asyncInitDone = false;\r\n }\r\n else {\r\n _this._asyncInitDone = true;\r\n asyncInitDonePromise = async_1.PromiseWrapper.resolve(true);\r\n }\r\n return asyncInitDonePromise;\r\n });\r\n async_1.ObservableWrapper.subscribe(zone.onError, function (error) {\r\n _this._exceptionHandler.call(error.error, error.stackTrace);\r\n });\r\n async_1.ObservableWrapper.subscribe(this._zone.onMicrotaskEmpty, function (_) { _this._zone.run(function () { _this.tick(); }); });\r\n }\r\n ApplicationRef_.prototype.registerBootstrapListener = function (listener) {\r\n this._bootstrapListeners.push(listener);\r\n };\r\n ApplicationRef_.prototype.registerDisposeListener = function (dispose) { this._disposeListeners.push(dispose); };\r\n ApplicationRef_.prototype.registerChangeDetector = function (changeDetector) {\r\n this._changeDetectorRefs.push(changeDetector);\r\n };\r\n ApplicationRef_.prototype.unregisterChangeDetector = function (changeDetector) {\r\n collection_1.ListWrapper.remove(this._changeDetectorRefs, changeDetector);\r\n };\r\n ApplicationRef_.prototype.waitForAsyncInitializers = function () { return this._asyncInitDonePromise; };\r\n ApplicationRef_.prototype.run = function (callback) {\r\n var _this = this;\r\n var zone = this.injector.get(ng_zone_1.NgZone);\r\n var result;\r\n // Note: Don't use zone.runGuarded as we want to know about\r\n // the thrown exception!\r\n // Note: the completer needs to be created outside\r\n // of `zone.run` as Dart swallows rejected promises\r\n // via the onError callback of the promise.\r\n var completer = async_1.PromiseWrapper.completer();\r\n zone.run(function () {\r\n try {\r\n result = callback();\r\n if (lang_1.isPromise(result)) {\r\n async_1.PromiseWrapper.then(result, function (ref) { completer.resolve(ref); }, function (err, stackTrace) {\r\n completer.reject(err, stackTrace);\r\n _this._exceptionHandler.call(err, stackTrace);\r\n });\r\n }\r\n }\r\n catch (e) {\r\n _this._exceptionHandler.call(e, e.stack);\r\n throw e;\r\n }\r\n });\r\n return lang_1.isPromise(result) ? completer.promise : result;\r\n };\r\n ApplicationRef_.prototype.bootstrap = function (componentFactory) {\r\n var _this = this;\r\n if (!this._asyncInitDone) {\r\n throw new exceptions_1.BaseException('Cannot bootstrap as there are still asynchronous initializers running. Wait for them using waitForAsyncInitializers().');\r\n }\r\n return this.run(function () {\r\n _this._rootComponentTypes.push(componentFactory.componentType);\r\n var compRef = componentFactory.create(_this._injector, [], componentFactory.selector);\r\n compRef.onDestroy(function () { _this._unloadComponent(compRef); });\r\n var testability = compRef.injector.get(testability_1.Testability, null);\r\n if (lang_1.isPresent(testability)) {\r\n compRef.injector.get(testability_1.TestabilityRegistry)\r\n .registerApplication(compRef.location.nativeElement, testability);\r\n }\r\n _this._loadComponent(compRef);\r\n var c = _this._injector.get(console_1.Console);\r\n if (lang_1.assertionsEnabled()) {\r\n c.log(\"Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.\");\r\n }\r\n return compRef;\r\n });\r\n };\r\n /** @internal */\r\n ApplicationRef_.prototype._loadComponent = function (componentRef) {\r\n this._changeDetectorRefs.push(componentRef.changeDetectorRef);\r\n this.tick();\r\n this._rootComponents.push(componentRef);\r\n this._bootstrapListeners.forEach(function (listener) { return listener(componentRef); });\r\n };\r\n /** @internal */\r\n ApplicationRef_.prototype._unloadComponent = function (componentRef) {\r\n if (!collection_1.ListWrapper.contains(this._rootComponents, componentRef)) {\r\n return;\r\n }\r\n this.unregisterChangeDetector(componentRef.changeDetectorRef);\r\n collection_1.ListWrapper.remove(this._rootComponents, componentRef);\r\n };\r\n Object.defineProperty(ApplicationRef_.prototype, \"injector\", {\r\n get: function () { return this._injector; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ApplicationRef_.prototype, \"zone\", {\r\n get: function () { return this._zone; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ApplicationRef_.prototype.tick = function () {\r\n if (this._runningTick) {\r\n throw new exceptions_1.BaseException(\"ApplicationRef.tick is called recursively\");\r\n }\r\n var s = ApplicationRef_._tickScope();\r\n try {\r\n this._runningTick = true;\r\n this._changeDetectorRefs.forEach(function (detector) { return detector.detectChanges(); });\r\n if (this._enforceNoNewChanges) {\r\n this._changeDetectorRefs.forEach(function (detector) { return detector.checkNoChanges(); });\r\n }\r\n }\r\n finally {\r\n this._runningTick = false;\r\n profile_1.wtfLeave(s);\r\n }\r\n };\r\n ApplicationRef_.prototype.dispose = function () {\r\n // TODO(alxhub): Dispose of the NgZone.\r\n collection_1.ListWrapper.clone(this._rootComponents).forEach(function (ref) { return ref.destroy(); });\r\n this._disposeListeners.forEach(function (dispose) { return dispose(); });\r\n this._platform._applicationDisposed(this);\r\n };\r\n Object.defineProperty(ApplicationRef_.prototype, \"componentTypes\", {\r\n get: function () { return this._rootComponentTypes; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /** @internal */\r\n ApplicationRef_._tickScope = profile_1.wtfCreateScope('ApplicationRef#tick()');\r\n ApplicationRef_ = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [PlatformRef_, ng_zone_1.NgZone, di_1.Injector])\r\n ], ApplicationRef_);\r\n return ApplicationRef_;\r\n}(ApplicationRef));\r\nexports.ApplicationRef_ = ApplicationRef_;\r\n/**\r\n * @internal\r\n */\r\nexports.PLATFORM_CORE_PROVIDERS = lang_1.CONST_EXPR([PlatformRef_, lang_1.CONST_EXPR(new di_1.Provider(PlatformRef, { useExisting: PlatformRef_ }))]);\r\n/**\r\n * @internal\r\n */\r\nexports.APPLICATION_CORE_PROVIDERS = lang_1.CONST_EXPR([\r\n lang_1.CONST_EXPR(new di_1.Provider(ng_zone_1.NgZone, { useFactory: createNgZone, deps: lang_1.CONST_EXPR([]) })),\r\n ApplicationRef_,\r\n lang_1.CONST_EXPR(new di_1.Provider(ApplicationRef, { useExisting: ApplicationRef_ }))\r\n]);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb25fcmVmLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvYXBwbGljYXRpb25fcmVmLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHdCQUFrQyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBQ25FLHFCQVVPLDBCQUEwQixDQUFDLENBQUE7QUFDbEMsbUJBQXNELHNCQUF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Ryb3koKSk7XG4gICAgdGhpcy5fZGlzcG9zZUxpc3RlbmVycy5mb3JFYWNoKChkaXNwb3NlKSA9PiBkaXNwb3NlKCkpO1xuICAgIHRoaXMuX3BsYXRmb3JtLl9hcHBsaWNhdGlvbkRpc3Bvc2VkKHRoaXMpO1xuICB9XG5cbiAgZ2V0IGNvbXBvbmVudFR5cGVzKCk6IFR5cGVbXSB7IHJldHVybiB0aGlzLl9yb290Q29tcG9uZW50VHlwZXM7IH1cbn1cblxuLyoqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGNvbnN0IFBMQVRGT1JNX0NPUkVfUFJPVklERVJTID1cbiAgICBDT05TVF9FWFBSKFtQbGF0Zm9ybVJlZl8sIENPTlNUX0VYUFIobmV3IFByb3ZpZGVyKFBsYXRmb3JtUmVmLCB7dXNlRXhpc3Rpbmc6IFBsYXRmb3JtUmVmX30pKV0pO1xuXG4vKipcbiAqIEBpbnRlcm5hbFxuICovXG5leHBvcnQgY29uc3QgQVBQTElDQVRJT05fQ09SRV9QUk9WSURFUlMgPSBDT05TVF9FWFBSKFtcbiAgQ09OU1RfRVhQUihuZXcgUHJvdmlkZXIoTmdab25lLCB7dXNlRmFjdG9yeTogY3JlYXRlTmdab25lLCBkZXBzOiBDT05TVF9FWFBSKFtdKX0pKSxcbiAgQXBwbGljYXRpb25SZWZfLFxuICBDT05TVF9FWFBSKG5ldyBQcm92aWRlcihBcHBsaWNhdGlvblJlZiwge3VzZUV4aXN0aW5nOiBBcHBsaWNhdGlvblJlZl99KSlcbl0pO1xuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar PromiseCompleter = (function () {\r\n function PromiseCompleter() {\r\n var _this = this;\r\n this.promise = new Promise(function (res, rej) {\r\n _this.resolve = res;\r\n _this.reject = rej;\r\n });\r\n }\r\n return PromiseCompleter;\r\n}());\r\nexports.PromiseCompleter = PromiseCompleter;\r\nvar PromiseWrapper = (function () {\r\n function PromiseWrapper() {\r\n }\r\n PromiseWrapper.resolve = function (obj) { return Promise.resolve(obj); };\r\n PromiseWrapper.reject = function (obj, _) { return Promise.reject(obj); };\r\n // Note: We can't rename this method into `catch`, as this is not a valid\r\n // method name in Dart.\r\n PromiseWrapper.catchError = function (promise, onError) {\r\n return promise.catch(onError);\r\n };\r\n PromiseWrapper.all = function (promises) {\r\n if (promises.length == 0)\r\n return Promise.resolve([]);\r\n return Promise.all(promises);\r\n };\r\n PromiseWrapper.then = function (promise, success, rejection) {\r\n return promise.then(success, rejection);\r\n };\r\n PromiseWrapper.wrap = function (computation) {\r\n return new Promise(function (res, rej) {\r\n try {\r\n res(computation());\r\n }\r\n catch (e) {\r\n rej(e);\r\n }\r\n });\r\n };\r\n PromiseWrapper.scheduleMicrotask = function (computation) {\r\n PromiseWrapper.then(PromiseWrapper.resolve(null), computation, function (_) { });\r\n };\r\n PromiseWrapper.isPromise = function (obj) { return obj instanceof Promise; };\r\n PromiseWrapper.completer = function () { return new PromiseCompleter(); };\r\n return PromiseWrapper;\r\n}());\r\nexports.PromiseWrapper = PromiseWrapper;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvbWlzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9mYWNhZGUvcHJvbWlzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0E7SUFLRTtRQUxGLGlCQVdDO1FBTEcsSUFBSSxDQUFDLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxVQUFDLEdBQUcsRUFBRSxHQUFHO1lBQ2xDLEtBQUksQ0FBQyxPQUFPLEdBQUcsR0FBRyxDQUFDO1lBQ25CLEtBQUksQ0FBQyxNQUFNLEdBQUcsR0FBRyxDQUFDO1FBQ3BCLENBQUMsQ0FBQyxD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OiBhbnkpID0+IFUgfCBQcm9taXNlTGlrZTxVPik6IFByb21pc2U8VT4ge1xuICAgIHJldHVybiBwcm9taXNlLnRoZW4oc3VjY2VzcywgcmVqZWN0aW9uKTtcbiAgfVxuXG4gIHN0YXRpYyB3cmFwPFQ+KGNvbXB1dGF0aW9uOiAoKSA9PiBUKTogUHJvbWlzZTxUPiB7XG4gICAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXMsIHJlaikgPT4ge1xuICAgICAgdHJ5IHtcbiAgICAgICAgcmVzKGNvbXB1dGF0aW9uKCkpO1xuICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICByZWooZSk7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cblxuICBzdGF0aWMgc2NoZWR1bGVNaWNyb3Rhc2soY29tcHV0YXRpb246ICgpID0+IGFueSk6IHZvaWQge1xuICAgIFByb21pc2VXcmFwcGVyLnRoZW4oUHJvbWlzZVdyYXBwZXIucmVzb2x2ZShudWxsKSwgY29tcHV0YXRpb24sIChfKSA9PiB7fSk7XG4gIH1cblxuICBzdGF0aWMgaXNQcm9taXNlKG9iajogYW55KTogYm9vbGVhbiB7IHJldHVybiBvYmogaW5zdGFuY2VvZiBQcm9taXNlOyB9XG5cbiAgc3RhdGljIGNvbXBsZXRlcjxUPigpOiBQcm9taXNlQ29tcGxldGVyPFQ+IHsgcmV0dXJuIG5ldyBQcm9taXNlQ29tcGxldGVyPFQ+KCk7IH1cbn1cbiJdfQ==","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscription_1 = require('./Subscription');\nvar SubjectSubscription = (function(_super) {\n __extends(SubjectSubscription, _super);\n function SubjectSubscription(subject, observer) {\n _super.call(this);\n this.subject = subject;\n this.observer = observer;\n this.isUnsubscribed = false;\n }\n SubjectSubscription.prototype.unsubscribe = function() {\n if (this.isUnsubscribed) {\n return;\n }\n this.isUnsubscribed = true;\n var subject = this.subject;\n var observers = subject.observers;\n this.subject = null;\n if (!observers || observers.length === 0 || subject.isUnsubscribed) {\n return;\n }\n var subscriberIndex = observers.indexOf(this.observer);\n if (subscriberIndex !== -1) {\n observers.splice(subscriberIndex, 1);\n }\n };\n return SubjectSubscription;\n}(Subscription_1.Subscription));\nexports.SubjectSubscription = SubjectSubscription;\n","/* */ \n\"use strict\";\nfunction throwError(e) { throw e; }\nexports.throwError = throwError;\n//# sourceMappingURL=throwError.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * An error thrown when an action is invalid because the object has been\n * unsubscribed.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n *\n * @class ObjectUnsubscribedError\n */\nvar ObjectUnsubscribedError = (function (_super) {\n __extends(ObjectUnsubscribedError, _super);\n function ObjectUnsubscribedError() {\n _super.call(this, 'object unsubscribed');\n this.name = 'ObjectUnsubscribedError';\n }\n return ObjectUnsubscribedError;\n}(Error));\nexports.ObjectUnsubscribedError = ObjectUnsubscribedError;\n//# sourceMappingURL=ObjectUnsubscribedError.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('./Observable');\nvar Subscriber_1 = require('./Subscriber');\nvar Subscription_1 = require('./Subscription');\nvar SubjectSubscription_1 = require('./SubjectSubscription');\nvar rxSubscriber_1 = require('./symbol/rxSubscriber');\nvar throwError_1 = require('./util/throwError');\nvar ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError');\nvar Subject = (function(_super) {\n __extends(Subject, _super);\n function Subject(destination, source) {\n _super.call(this);\n this.destination = destination;\n this.source = source;\n this.observers = [];\n this.isUnsubscribed = false;\n this.isStopped = false;\n this.hasErrored = false;\n this.dispatching = false;\n this.hasCompleted = false;\n this.source = source;\n }\n Subject.prototype.lift = function(operator) {\n var subject = new Subject(this.destination || this, this);\n subject.operator = operator;\n return subject;\n };\n Subject.prototype.add = function(subscription) {\n return Subscription_1.Subscription.prototype.add.call(this, subscription);\n };\n Subject.prototype.remove = function(subscription) {\n Subscription_1.Subscription.prototype.remove.call(this, subscription);\n };\n Subject.prototype.unsubscribe = function() {\n Subscription_1.Subscription.prototype.unsubscribe.call(this);\n };\n Subject.prototype._subscribe = function(subscriber) {\n if (this.source) {\n return this.source.subscribe(subscriber);\n } else {\n if (subscriber.isUnsubscribed) {\n return;\n } else if (this.hasErrored) {\n return subscriber.error(this.errorValue);\n } else if (this.hasCompleted) {\n return subscriber.complete();\n }\n this.throwIfUnsubscribed();\n var subscription = new SubjectSubscription_1.SubjectSubscription(this, subscriber);\n this.observers.push(subscriber);\n return subscription;\n }\n };\n Subject.prototype._unsubscribe = function() {\n this.source = null;\n this.isStopped = true;\n this.observers = null;\n this.destination = null;\n };\n Subject.prototype.next = function(value) {\n this.throwIfUnsubscribed();\n if (this.isStopped) {\n return;\n }\n this.dispatching = true;\n this._next(value);\n this.dispatching = false;\n if (this.hasErrored) {\n this._error(this.errorValue);\n } else if (this.hasCompleted) {\n this._complete();\n }\n };\n Subject.prototype.error = function(err) {\n this.throwIfUnsubscribed();\n if (this.isStopped) {\n return;\n }\n this.isStopped = true;\n this.hasErrored = true;\n this.errorValue = err;\n if (this.dispatching) {\n return;\n }\n this._error(err);\n };\n Subject.prototype.complete = function() {\n this.throwIfUnsubscribed();\n if (this.isStopped) {\n return;\n }\n this.isStopped = true;\n this.hasCompleted = true;\n if (this.dispatching) {\n return;\n }\n this._complete();\n };\n Subject.prototype.asObservable = function() {\n var observable = new SubjectObservable(this);\n return observable;\n };\n Subject.prototype._next = function(value) {\n if (this.destination) {\n this.destination.next(value);\n } else {\n this._finalNext(value);\n }\n };\n Subject.prototype._finalNext = function(value) {\n var index = -1;\n var observers = this.observers.slice(0);\n var len = observers.length;\n while (++index < len) {\n observers[index].next(value);\n }\n };\n Subject.prototype._error = function(err) {\n if (this.destination) {\n this.destination.error(err);\n } else {\n this._finalError(err);\n }\n };\n Subject.prototype._finalError = function(err) {\n var index = -1;\n var observers = this.observers;\n this.observers = null;\n this.isUnsubscribed = true;\n if (observers) {\n var len = observers.length;\n while (++index < len) {\n observers[index].error(err);\n }\n }\n this.isUnsubscribed = false;\n this.unsubscribe();\n };\n Subject.prototype._complete = function() {\n if (this.destination) {\n this.destination.complete();\n } else {\n this._finalComplete();\n }\n };\n Subject.prototype._finalComplete = function() {\n var index = -1;\n var observers = this.observers;\n this.observers = null;\n this.isUnsubscribed = true;\n if (observers) {\n var len = observers.length;\n while (++index < len) {\n observers[index].complete();\n }\n }\n this.isUnsubscribed = false;\n this.unsubscribe();\n };\n Subject.prototype.throwIfUnsubscribed = function() {\n if (this.isUnsubscribed) {\n throwError_1.throwError(new ObjectUnsubscribedError_1.ObjectUnsubscribedError());\n }\n };\n Subject.prototype[rxSubscriber_1.$$rxSubscriber] = function() {\n return new Subscriber_1.Subscriber(this);\n };\n Subject.create = function(destination, source) {\n return new Subject(destination, source);\n };\n return Subject;\n}(Observable_1.Observable));\nexports.Subject = Subject;\nvar SubjectObservable = (function(_super) {\n __extends(SubjectObservable, _super);\n function SubjectObservable(source) {\n _super.call(this);\n this.source = source;\n }\n return SubjectObservable;\n}(Observable_1.Observable));\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar root_1 = require('../util/root');\nvar Observable_1 = require('../Observable');\nvar PromiseObservable = (function(_super) {\n __extends(PromiseObservable, _super);\n function PromiseObservable(promise, scheduler) {\n if (scheduler === void 0) {\n scheduler = null;\n }\n _super.call(this);\n this.promise = promise;\n this.scheduler = scheduler;\n }\n PromiseObservable.create = function(promise, scheduler) {\n if (scheduler === void 0) {\n scheduler = null;\n }\n return new PromiseObservable(promise, scheduler);\n };\n PromiseObservable.prototype._subscribe = function(subscriber) {\n var _this = this;\n var promise = this.promise;\n var scheduler = this.scheduler;\n if (scheduler == null) {\n if (this._isScalar) {\n if (!subscriber.isUnsubscribed) {\n subscriber.next(this.value);\n subscriber.complete();\n }\n } else {\n promise.then(function(value) {\n _this.value = value;\n _this._isScalar = true;\n if (!subscriber.isUnsubscribed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, function(err) {\n if (!subscriber.isUnsubscribed) {\n subscriber.error(err);\n }\n }).then(null, function(err) {\n root_1.root.setTimeout(function() {\n throw err;\n });\n });\n }\n } else {\n if (this._isScalar) {\n if (!subscriber.isUnsubscribed) {\n return scheduler.schedule(dispatchNext, 0, {\n value: this.value,\n subscriber: subscriber\n });\n }\n } else {\n promise.then(function(value) {\n _this.value = value;\n _this._isScalar = true;\n if (!subscriber.isUnsubscribed) {\n subscriber.add(scheduler.schedule(dispatchNext, 0, {\n value: value,\n subscriber: subscriber\n }));\n }\n }, function(err) {\n if (!subscriber.isUnsubscribed) {\n subscriber.add(scheduler.schedule(dispatchError, 0, {\n err: err,\n subscriber: subscriber\n }));\n }\n }).then(null, function(err) {\n root_1.root.setTimeout(function() {\n throw err;\n });\n });\n }\n }\n };\n return PromiseObservable;\n}(Observable_1.Observable));\nexports.PromiseObservable = PromiseObservable;\nfunction dispatchNext(arg) {\n var value = arg.value,\n subscriber = arg.subscriber;\n if (!subscriber.isUnsubscribed) {\n subscriber.next(value);\n subscriber.complete();\n }\n}\nfunction dispatchError(arg) {\n var err = arg.err,\n subscriber = arg.subscriber;\n if (!subscriber.isUnsubscribed) {\n subscriber.error(err);\n }\n}\n","/* */ \n\"use strict\";\nvar root_1 = require('../util/root');\nfunction toPromise(PromiseCtor) {\n var _this = this;\n if (!PromiseCtor) {\n if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n PromiseCtor = root_1.root.Rx.config.Promise;\n } else if (root_1.root.Promise) {\n PromiseCtor = root_1.root.Promise;\n }\n }\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n return new PromiseCtor(function(resolve, reject) {\n var value;\n _this.subscribe(function(x) {\n return value = x;\n }, function(err) {\n return reject(err);\n }, function() {\n return resolve(value);\n });\n });\n}\nexports.toPromise = toPromise;\n","/* */ \n\"use strict\";\nexports.isArray = Array.isArray || (function (x) { return x && typeof x.length === 'number'; });\n//# sourceMappingURL=isArray.js.map","/* */ \n\"use strict\";\nfunction isObject(x) {\n return x != null && typeof x === 'object';\n}\nexports.isObject = isObject;\n//# sourceMappingURL=isObject.js.map","/* */ \n\"use strict\";\nfunction isFunction(x) {\n return typeof x === 'function';\n}\nexports.isFunction = isFunction;\n//# sourceMappingURL=isFunction.js.map","/* */ \n\"use strict\";\nvar errorObject_1 = require('./errorObject');\nvar tryCatchTarget;\nfunction tryCatcher() {\n try {\n return tryCatchTarget.apply(this, arguments);\n } catch (e) {\n errorObject_1.errorObject.e = e;\n return errorObject_1.errorObject;\n }\n}\nfunction tryCatch(fn) {\n tryCatchTarget = fn;\n return tryCatcher;\n}\nexports.tryCatch = tryCatch;\n;\n","/* */ \n\"use strict\";\n// typeof any so that it we don't have to cast when comparing a result to the error object\nexports.errorObject = { e: {} };\n//# sourceMappingURL=errorObject.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * An error thrown when one or more errors have occurred during the\n * `unsubscribe` of a {@link Subscription}.\n */\nvar UnsubscriptionError = (function (_super) {\n __extends(UnsubscriptionError, _super);\n function UnsubscriptionError(errors) {\n _super.call(this);\n this.errors = errors;\n this.name = 'UnsubscriptionError';\n this.message = errors ? errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function (err, i) { return ((i + 1) + \") \" + err.toString()); }).join('\\n') : '';\n }\n return UnsubscriptionError;\n}(Error));\nexports.UnsubscriptionError = UnsubscriptionError;\n//# sourceMappingURL=UnsubscriptionError.js.map","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","module.exports = require(\"npm:process@0.11.2/browser.js\");","module.exports = System._nodeRequire ? process : require('process');","module.exports = require(\"github:jspm/nodelibs-process@0.1.2/index\");","/* */ \n(function(process) {\n \"use strict\";\n var isArray_1 = require('./util/isArray');\n var isObject_1 = require('./util/isObject');\n var isFunction_1 = require('./util/isFunction');\n var tryCatch_1 = require('./util/tryCatch');\n var errorObject_1 = require('./util/errorObject');\n var UnsubscriptionError_1 = require('./util/UnsubscriptionError');\n var Subscription = (function() {\n function Subscription(unsubscribe) {\n this.isUnsubscribed = false;\n if (unsubscribe) {\n this._unsubscribe = unsubscribe;\n }\n }\n Subscription.prototype.unsubscribe = function() {\n var hasErrors = false;\n var errors;\n if (this.isUnsubscribed) {\n return;\n }\n this.isUnsubscribed = true;\n var _a = this,\n _unsubscribe = _a._unsubscribe,\n _subscriptions = _a._subscriptions;\n this._subscriptions = null;\n if (isFunction_1.isFunction(_unsubscribe)) {\n var trial = tryCatch_1.tryCatch(_unsubscribe).call(this);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n (errors = errors || []).push(errorObject_1.errorObject.e);\n }\n }\n if (isArray_1.isArray(_subscriptions)) {\n var index = -1;\n var len = _subscriptions.length;\n while (++index < len) {\n var sub = _subscriptions[index];\n if (isObject_1.isObject(sub)) {\n var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n errors = errors || [];\n var err = errorObject_1.errorObject.e;\n if (err instanceof UnsubscriptionError_1.UnsubscriptionError) {\n errors = errors.concat(err.errors);\n } else {\n errors.push(err);\n }\n }\n }\n }\n }\n if (hasErrors) {\n throw new UnsubscriptionError_1.UnsubscriptionError(errors);\n }\n };\n Subscription.prototype.add = function(teardown) {\n if (!teardown || (teardown === this) || (teardown === Subscription.EMPTY)) {\n return;\n }\n var sub = teardown;\n switch (typeof teardown) {\n case 'function':\n sub = new Subscription(teardown);\n case 'object':\n if (sub.isUnsubscribed || typeof sub.unsubscribe !== 'function') {\n break;\n } else if (this.isUnsubscribed) {\n sub.unsubscribe();\n } else {\n (this._subscriptions || (this._subscriptions = [])).push(sub);\n }\n break;\n default:\n throw new Error('Unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n return sub;\n };\n Subscription.prototype.remove = function(subscription) {\n if (subscription == null || (subscription === this) || (subscription === Subscription.EMPTY)) {\n return;\n }\n var subscriptions = this._subscriptions;\n if (subscriptions) {\n var subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n };\n Subscription.EMPTY = (function(empty) {\n empty.isUnsubscribed = true;\n return empty;\n }(new Subscription()));\n return Subscription;\n }());\n exports.Subscription = Subscription;\n})(require('process'));\n","/* */ \n\"use strict\";\nexports.empty = {\n isUnsubscribed: true,\n next: function (value) { },\n error: function (err) { throw err; },\n complete: function () { }\n};\n//# sourceMappingURL=Observer.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar isFunction_1 = require('./util/isFunction');\nvar Subscription_1 = require('./Subscription');\nvar rxSubscriber_1 = require('./symbol/rxSubscriber');\nvar Observer_1 = require('./Observer');\nvar Subscriber = (function(_super) {\n __extends(Subscriber, _super);\n function Subscriber(destinationOrNext, error, complete) {\n _super.call(this);\n this.syncErrorValue = null;\n this.syncErrorThrown = false;\n this.syncErrorThrowable = false;\n this.isStopped = false;\n switch (arguments.length) {\n case 0:\n this.destination = Observer_1.empty;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = Observer_1.empty;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.destination = destinationOrNext;\n this.destination.add(this);\n } else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n break;\n }\n }\n Subscriber.create = function(next, error, complete) {\n var subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n };\n Subscriber.prototype.next = function(value) {\n if (!this.isStopped) {\n this._next(value);\n }\n };\n Subscriber.prototype.error = function(err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n };\n Subscriber.prototype.complete = function() {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function() {\n if (this.isUnsubscribed) {\n return;\n }\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n };\n Subscriber.prototype._next = function(value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function(err) {\n this.destination.error(err);\n this.unsubscribe();\n };\n Subscriber.prototype._complete = function() {\n this.destination.complete();\n this.unsubscribe();\n };\n Subscriber.prototype[rxSubscriber_1.$$rxSubscriber] = function() {\n return this;\n };\n return Subscriber;\n}(Subscription_1.Subscription));\nexports.Subscriber = Subscriber;\nvar SafeSubscriber = (function(_super) {\n __extends(SafeSubscriber, _super);\n function SafeSubscriber(_parent, observerOrNext, error, complete) {\n _super.call(this);\n this._parent = _parent;\n var next;\n var context = this;\n if (isFunction_1.isFunction(observerOrNext)) {\n next = observerOrNext;\n } else if (observerOrNext) {\n context = observerOrNext;\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (isFunction_1.isFunction(context.unsubscribe)) {\n this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n SafeSubscriber.prototype.next = function(value) {\n if (!this.isStopped && this._next) {\n var _parent = this._parent;\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n } else if (this.__tryOrSetError(_parent, this._next, value)) {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.error = function(err) {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._error) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n } else {\n this.__tryOrSetError(_parent, this._error, err);\n this.unsubscribe();\n }\n } else if (!_parent.syncErrorThrowable) {\n this.unsubscribe();\n throw err;\n } else {\n _parent.syncErrorValue = err;\n _parent.syncErrorThrown = true;\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.complete = function() {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._complete) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._complete);\n this.unsubscribe();\n } else {\n this.__tryOrSetError(_parent, this._complete);\n this.unsubscribe();\n }\n } else {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.__tryOrUnsub = function(fn, value) {\n try {\n fn.call(this._context, value);\n } catch (err) {\n this.unsubscribe();\n throw err;\n }\n };\n SafeSubscriber.prototype.__tryOrSetError = function(parent, fn, value) {\n try {\n fn.call(this._context, value);\n } catch (err) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n return false;\n };\n SafeSubscriber.prototype._unsubscribe = function() {\n var _parent = this._parent;\n this._context = null;\n this._parent = null;\n _parent.unsubscribe();\n };\n return SafeSubscriber;\n}(Subscriber));\n","/* */ \n\"use strict\";\nvar objectTypes = {\n 'boolean': false,\n 'function': true,\n 'object': true,\n 'number': false,\n 'string': false,\n 'undefined': false\n};\nexports.root = (objectTypes[typeof self] && self) || (objectTypes[typeof window] && window);\n/* tslint:disable:no-unused-variable */\nvar freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;\nvar freeModule = objectTypes[typeof module] && module && !module.nodeType && module;\nvar freeGlobal = objectTypes[typeof global] && global;\nif (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal)) {\n exports.root = freeGlobal;\n}\n//# sourceMappingURL=root.js.map","/* */ \n\"use strict\";\nvar root_1 = require('../util/root');\nvar Symbol = root_1.root.Symbol;\nexports.$$rxSubscriber = (typeof Symbol === 'function' && typeof Symbol.for === 'function') ? Symbol.for('rxSubscriber') : '@@rxSubscriber';\n","/* */ \n\"use strict\";\nvar Subscriber_1 = require('../Subscriber');\nvar rxSubscriber_1 = require('../symbol/rxSubscriber');\nfunction toSubscriber(nextOrObserver, error, complete) {\n if (nextOrObserver && typeof nextOrObserver === 'object') {\n if (nextOrObserver instanceof Subscriber_1.Subscriber) {\n return nextOrObserver;\n } else if (typeof nextOrObserver[rxSubscriber_1.$$rxSubscriber] === 'function') {\n return nextOrObserver[rxSubscriber_1.$$rxSubscriber]();\n }\n }\n return new Subscriber_1.Subscriber(nextOrObserver, error, complete);\n}\nexports.toSubscriber = toSubscriber;\n","/* */ \n'use strict';\n\nmodule.exports = function symbolObservablePonyfill(root) {\n\tvar result;\n\tvar Symbol = root.Symbol;\n\n\tif (typeof Symbol === 'function') {\n\t\tif (Symbol.observable) {\n\t\t\tresult = Symbol.observable;\n\t\t} else {\n\t\t\tresult = Symbol('observable');\n\t\t\tSymbol.observable = result;\n\t\t}\n\t} else {\n\t\tresult = '@@observable';\n\t}\n\n\treturn result;\n};\n","/* */ \n'use strict';\nmodule.exports = require('./ponyfill')(global || window || this);\n","module.exports = require(\"npm:symbol-observable@0.2.4/index\");","/* */ \n\"use strict\";\nvar root_1 = require('./util/root');\nvar toSubscriber_1 = require('./util/toSubscriber');\nvar $$observable = require('symbol-observable');\nvar Observable = (function() {\n function Observable(subscribe) {\n this._isScalar = false;\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n Observable.prototype.lift = function(operator) {\n var observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n };\n Observable.prototype.subscribe = function(observerOrNext, error, complete) {\n var operator = this.operator;\n var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete);\n sink.add(operator ? operator.call(sink, this) : this._subscribe(sink));\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n return sink;\n };\n Observable.prototype.forEach = function(next, PromiseCtor) {\n var _this = this;\n if (!PromiseCtor) {\n if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n PromiseCtor = root_1.root.Rx.config.Promise;\n } else if (root_1.root.Promise) {\n PromiseCtor = root_1.root.Promise;\n }\n }\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n return new PromiseCtor(function(resolve, reject) {\n var subscription = _this.subscribe(function(value) {\n if (subscription) {\n try {\n next(value);\n } catch (err) {\n reject(err);\n subscription.unsubscribe();\n }\n } else {\n next(value);\n }\n }, reject, resolve);\n });\n };\n Observable.prototype._subscribe = function(subscriber) {\n return this.source.subscribe(subscriber);\n };\n Observable.prototype[$$observable] = function() {\n return this;\n };\n Observable.create = function(subscribe) {\n return new Observable(subscribe);\n };\n return Observable;\n}());\nexports.Observable = Observable;\n","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar promise_1 = require('angular2/src/facade/promise');\r\nexports.PromiseWrapper = promise_1.PromiseWrapper;\r\nexports.PromiseCompleter = promise_1.PromiseCompleter;\r\nvar Subject_1 = require('rxjs/Subject');\r\nvar PromiseObservable_1 = require('rxjs/observable/PromiseObservable');\r\nvar toPromise_1 = require('rxjs/operator/toPromise');\r\nvar Observable_1 = require('rxjs/Observable');\r\nexports.Observable = Observable_1.Observable;\r\nvar Subject_2 = require('rxjs/Subject');\r\nexports.Subject = Subject_2.Subject;\r\nvar TimerWrapper = (function () {\r\n function TimerWrapper() {\r\n }\r\n TimerWrapper.setTimeout = function (fn, millis) {\r\n return lang_1.global.setTimeout(fn, millis);\r\n };\r\n TimerWrapper.clearTimeout = function (id) { lang_1.global.clearTimeout(id); };\r\n TimerWrapper.setInterval = function (fn, millis) {\r\n return lang_1.global.setInterval(fn, millis);\r\n };\r\n TimerWrapper.clearInterval = function (id) { lang_1.global.clearInterval(id); };\r\n return TimerWrapper;\r\n}());\r\nexports.TimerWrapper = TimerWrapper;\r\nvar ObservableWrapper = (function () {\r\n function ObservableWrapper() {\r\n }\r\n // TODO(vsavkin): when we use rxnext, try inferring the generic type from the first arg\r\n ObservableWrapper.subscribe = function (emitter, onNext, onError, onComplete) {\r\n if (onComplete === void 0) { onComplete = function () { }; }\r\n onError = (typeof onError === \"function\") && onError || lang_1.noop;\r\n onComplete = (typeof onComplete === \"function\") && onComplete || lang_1.noop;\r\n return emitter.subscribe({ next: onNext, error: onError, complete: onComplete });\r\n };\r\n ObservableWrapper.isObservable = function (obs) { return !!obs.subscribe; };\r\n /**\r\n * Returns whether `obs` has any subscribers listening to events.\r\n */\r\n ObservableWrapper.hasSubscribers = function (obs) { return obs.observers.length > 0; };\r\n ObservableWrapper.dispose = function (subscription) { subscription.unsubscribe(); };\r\n /**\r\n * @deprecated - use callEmit() instead\r\n */\r\n ObservableWrapper.callNext = function (emitter, value) { emitter.next(value); };\r\n ObservableWrapper.callEmit = function (emitter, value) { emitter.emit(value); };\r\n ObservableWrapper.callError = function (emitter, error) { emitter.error(error); };\r\n ObservableWrapper.callComplete = function (emitter) { emitter.complete(); };\r\n ObservableWrapper.fromPromise = function (promise) {\r\n return PromiseObservable_1.PromiseObservable.create(promise);\r\n };\r\n ObservableWrapper.toPromise = function (obj) { return toPromise_1.toPromise.call(obj); };\r\n return ObservableWrapper;\r\n}());\r\nexports.ObservableWrapper = ObservableWrapper;\r\n/**\r\n * Use by directives and components to emit custom Events.\r\n *\r\n * ### Examples\r\n *\r\n * In the following example, `Zippy` alternatively emits `open` and `close` events when its\r\n * title gets clicked:\r\n *\r\n * ```\r\n * @Component({\r\n * selector: 'zippy',\r\n * template: `\r\n * <div class=\"zippy\">\r\n * <div (click)=\"toggle()\">Toggle</div>\r\n * <div [hidden]=\"!visible\">\r\n * <ng-content></ng-content>\r\n * </div>\r\n * </div>`})\r\n * export class Zippy {\r\n * visible: boolean = true;\r\n * @Output() open: EventEmitter<any> = new EventEmitter();\r\n * @Output() close: EventEmitter<any> = new EventEmitter();\r\n *\r\n * toggle() {\r\n * this.visible = !this.visible;\r\n * if (this.visible) {\r\n * this.open.emit(null);\r\n * } else {\r\n * this.close.emit(null);\r\n * }\r\n * }\r\n * }\r\n * ```\r\n *\r\n * Use Rx.Observable but provides an adapter to make it work as specified here:\r\n * https://github.com/jhusain/observable-spec\r\n *\r\n * Once a reference implementation of the spec is available, switch to it.\r\n */\r\nvar EventEmitter = (function (_super) {\r\n __extends(EventEmitter, _super);\r\n /**\r\n * Creates an instance of [EventEmitter], which depending on [isAsync],\r\n * delivers events synchronously or asynchronously.\r\n */\r\n function EventEmitter(isAsync) {\r\n if (isAsync === void 0) { isAsync = true; }\r\n _super.call(this);\r\n this._isAsync = isAsync;\r\n }\r\n EventEmitter.prototype.emit = function (value) { _super.prototype.next.call(this, value); };\r\n /**\r\n * @deprecated - use .emit(value) instead\r\n */\r\n EventEmitter.prototype.next = function (value) { _super.prototype.next.call(this, value); };\r\n EventEmitter.prototype.subscribe = function (generatorOrNext, error, complete) {\r\n var schedulerFn;\r\n var errorFn = function (err) { return null; };\r\n var completeFn = function () { return null; };\r\n if (generatorOrNext && typeof generatorOrNext === 'object') {\r\n schedulerFn = this._isAsync ? function (value) { setTimeout(function () { return generatorOrNext.next(value); }); } :\r\n function (value) { generatorOrNext.next(value); };\r\n if (generatorOrNext.error) {\r\n errorFn = this._isAsync ? function (err) { setTimeout(function () { return generatorOrNext.error(err); }); } :\r\n function (err) { generatorOrNext.error(err); };\r\n }\r\n if (generatorOrNext.complete) {\r\n completeFn = this._isAsync ? function () { setTimeout(function () { return generatorOrNext.complete(); }); } :\r\n function () { generatorOrNext.complete(); };\r\n }\r\n }\r\n else {\r\n schedulerFn = this._isAsync ? function (value) { setTimeout(function () { return generatorOrNext(value); }); } :\r\n function (value) { generatorOrNext(value); };\r\n if (error) {\r\n errorFn =\r\n this._isAsync ? function (err) { setTimeout(function () { return error(err); }); } : function (err) { error(err); };\r\n }\r\n if (complete) {\r\n completeFn =\r\n this._isAsync ? function () { setTimeout(function () { return complete(); }); } : function () { complete(); };\r\n }\r\n }\r\n return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\r\n };\r\n return EventEmitter;\r\n}(Subject_1.Subject));\r\nexports.EventEmitter = EventEmitter;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN5bmMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvZmFjYWRlL2FzeW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHFCQUEyQiwwQkFBMEIsQ0FBQyxDQUFBO0FBQ3RELHdCQUErQyw2QkFBNkIsQ0FBQztBQUFyRSxrREFBYztBQUFFLHNEQUFxRDtBQUc3RSx3QkFBc0IsY0FBYyxDQUFDLENBQUE7QUFFckMsa0NBQWdDLG1DQUFtQyxDQUFDLENBQUE7QUFDcEUsMEJBQXdCLHlCQUF5QixDQUFDLENBQUE7QUFFbEQsMkJBQXlCLGlCQUFpQixDQUFDO0FBQW5DLDZDQUFtQztBQUMzQyx3QkFBc0IsY0FBYyxDQUFDO0FBQTdCLG9DQUE2QjtBQUVyQztJQUFBO0lBVUEsQ0FBQztJQVRRL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k7IH0gOiAoZXJyKSA9PiB7IGVycm9yKGVycik7IH07XG4gICAgICB9XG5cbiAgICAgIGlmIChjb21wbGV0ZSkge1xuICAgICAgICBjb21wbGV0ZUZuID1cbiAgICAgICAgICAgIHRoaXMuX2lzQXN5bmMgPyAoKSA9PiB7IHNldFRpbWVvdXQoKCkgPT4gY29tcGxldGUoKSk7IH0gOiAoKSA9PiB7IGNvbXBsZXRlKCk7IH07XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIHN1cGVyLnN1YnNjcmliZShzY2hlZHVsZXJGbiwgZXJyb3JGbiwgY29tcGxldGVGbik7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n(function (ViewType) {\r\n // A view that contains the host element with bound component directive.\r\n // Contains a COMPONENT view\r\n ViewType[ViewType[\"HOST\"] = 0] = \"HOST\";\r\n // The view of the component\r\n // Can contain 0 to n EMBEDDED views\r\n ViewType[ViewType[\"COMPONENT\"] = 1] = \"COMPONENT\";\r\n // A view that is embedded into another View via a <template> element\r\n // inside of a COMPONENT view\r\n ViewType[ViewType[\"EMBEDDED\"] = 2] = \"EMBEDDED\";\r\n})(exports.ViewType || (exports.ViewType = {}));\r\nvar ViewType = exports.ViewType;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld190eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvbGlua2VyL3ZpZXdfdHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsV0FBWSxRQUFRO0lBQ2xCLHdFQUF3RTtJQUN4RSw0QkFBNEI7SUFDNUIsdUNBQUksQ0FBQTtJQUNKLDRCQUE0QjtJQUM1QixvQ0FBb0M7SUFDcEMsaURBQVMsQ0FBQTtJQUNULHFFQUFxRTtJQUNyRSw2QkFBNkI7SUFDN0IsK0NBQVEsQ0FBQTtBQUNWLENBQUMsRUFWVyxnQkFBUSxLQUFSLGdCQUFRLFFBVW5CO0FBVkQsSUFBWSxRQUFRLEdBQVIsZ0JBVVgsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFZpZXdUeXBlIHtcbiAgLy8gQSB2aWV3IHRoYXQgY29udGFpbnMgdGhlIGhvc3QgZWxlbWVudCB3aXRoIGJvdW5kIGNvbXBvbmVudCBkaXJlY3RpdmUuXG4gIC8vIENvbnRhaW5zIGEgQ09NUE9ORU5UIHZpZXdcbiAgSE9TVCxcbiAgLy8gVGhlIHZpZXcgb2YgdGhlIGNvbXBvbmVudFxuICAvLyBDYW4gY29udGFpbiAwIHRvIG4gRU1CRURERUQgdmlld3NcbiAgQ09NUE9ORU5ULFxuICAvLyBBIHZpZXcgdGhhdCBpcyBlbWJlZGRlZCBpbnRvIGFub3RoZXIgVmlldyB2aWEgYSA8dGVtcGxhdGU+IGVsZW1lbnRcbiAgLy8gaW5zaWRlIG9mIGEgQ09NUE9ORU5UIHZpZXdcbiAgRU1CRURERURcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n/**\r\n * A wrapper around a native element inside of a View.\r\n *\r\n * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\r\n * element.\r\n */\r\n// Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\r\n// i.e. users have to ask for what they need. With that, we can build better analysis tools\r\n// and could do better codegen in the future.\r\nvar ElementRef = (function () {\r\n function ElementRef(nativeElement) {\r\n this.nativeElement = nativeElement;\r\n }\r\n return ElementRef;\r\n}());\r\nexports.ElementRef = ElementRef;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudF9yZWYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5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YXRpdmVFbGVtZW50OiBhbnk7XG5cbiAgY29uc3RydWN0b3IobmF0aXZlRWxlbWVudDogYW55KSB7IHRoaXMubmF0aXZlRWxlbWVudCA9IG5hdGl2ZUVsZW1lbnQ7IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar trace;\r\nvar events;\r\nfunction detectWTF() {\r\n var wtf = lang_1.global['wtf'];\r\n if (wtf) {\r\n trace = wtf['trace'];\r\n if (trace) {\r\n events = trace['events'];\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\nexports.detectWTF = detectWTF;\r\nfunction createScope(signature, flags) {\r\n if (flags === void 0) { flags = null; }\r\n return events.createScope(signature, flags);\r\n}\r\nexports.createScope = createScope;\r\nfunction leave(scope, returnValue) {\r\n trace.leaveScope(scope, returnValue);\r\n return returnValue;\r\n}\r\nexports.leave = leave;\r\nfunction startTimeRange(rangeType, action) {\r\n return trace.beginTimeRange(rangeType, action);\r\n}\r\nexports.startTimeRange = startTimeRange;\r\nfunction endTimeRange(range) {\r\n trace.endTimeRange(range);\r\n}\r\nexports.endTimeRange = endTimeRange;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3RmX2ltcGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9wcm9maWxlL3d0Zl9pbXBsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBcUIsMEJBQTBCLENBQUMsQ0FBQTtBQTBCaEQsSUFBSSxLQUFZLENBQUM7QUFDakIsSUFBSSxNQUFjLENBQUM7QUFFbkI7SUFDRSxJQUFJLEdBQUcsR0FBUSxhQUFNLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDN0IsRU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vcnQgZnVuY3Rpb24gY3JlYXRlU2NvcGUoc2lnbmF0dXJlOiBzdHJpbmcsIGZsYWdzOiBhbnkgPSBudWxsKTogYW55IHtcbiAgcmV0dXJuIGV2ZW50cy5jcmVhdGVTY29wZShzaWduYXR1cmUsIGZsYWdzKTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGxlYXZlPFQ+KHNjb3BlOiBTY29wZSwgcmV0dXJuVmFsdWU/OiBUKTogVCB7XG4gIHRyYWNlLmxlYXZlU2NvcGUoc2NvcGUsIHJldHVyblZhbHVlKTtcbiAgcmV0dXJuIHJldHVyblZhbHVlO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gc3RhcnRUaW1lUmFuZ2UocmFuZ2VUeXBlOiBzdHJpbmcsIGFjdGlvbjogc3RyaW5nKTogUmFuZ2Uge1xuICByZXR1cm4gdHJhY2UuYmVnaW5UaW1lUmFuZ2UocmFuZ2VUeXBlLCBhY3Rpb24pO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gZW5kVGltZVJhbmdlKHJhbmdlOiBSYW5nZSk6IHZvaWQge1xuICB0cmFjZS5lbmRUaW1lUmFuZ2UocmFuZ2UpO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar impl = require(\"./wtf_impl\");\r\n// Change exports to const once https://github.com/angular/ts2dart/issues/150\r\n/**\r\n * True if WTF is enabled.\r\n */\r\nexports.wtfEnabled = impl.detectWTF();\r\nfunction noopScope(arg0, arg1) {\r\n return null;\r\n}\r\n/**\r\n * Create trace scope.\r\n *\r\n * Scopes must be strictly nested and are analogous to stack frames, but\r\n * do not have to follow the stack frames. Instead it is recommended that they follow logical\r\n * nesting. You may want to use\r\n * [Event\r\n * Signatures](http://google.github.io/tracing-framework/instrumenting-code.html#custom-events)\r\n * as they are defined in WTF.\r\n *\r\n * Used to mark scope entry. The return value is used to leave the scope.\r\n *\r\n * var myScope = wtfCreateScope('MyClass#myMethod(ascii someVal)');\r\n *\r\n * someMethod() {\r\n * var s = myScope('Foo'); // 'Foo' gets stored in tracing UI\r\n * // DO SOME WORK HERE\r\n * return wtfLeave(s, 123); // Return value 123\r\n * }\r\n *\r\n * Note, adding try-finally block around the work to ensure that `wtfLeave` gets called can\r\n * negatively impact the performance of your application. For this reason we recommend that\r\n * you don't add them to ensure that `wtfLeave` gets called. In production `wtfLeave` is a noop and\r\n * so try-finally block has no value. When debugging perf issues, skipping `wtfLeave`, do to\r\n * exception, will produce incorrect trace, but presence of exception signifies logic error which\r\n * needs to be fixed before the app should be profiled. Add try-finally only when you expect that\r\n * an exception is expected during normal execution while profiling.\r\n *\r\n */\r\nexports.wtfCreateScope = exports.wtfEnabled ? impl.createScope : function (signature, flags) { return noopScope; };\r\n/**\r\n * Used to mark end of Scope.\r\n *\r\n * - `scope` to end.\r\n * - `returnValue` (optional) to be passed to the WTF.\r\n *\r\n * Returns the `returnValue for easy chaining.\r\n */\r\nexports.wtfLeave = exports.wtfEnabled ? impl.leave : function (s, r) { return r; };\r\n/**\r\n * Used to mark Async start. Async are similar to scope but they don't have to be strictly nested.\r\n * The return value is used in the call to [endAsync]. Async ranges only work if WTF has been\r\n * enabled.\r\n *\r\n * someMethod() {\r\n * var s = wtfStartTimeRange('HTTP:GET', 'some.url');\r\n * var future = new Future.delay(5).then((_) {\r\n * wtfEndTimeRange(s);\r\n * });\r\n * }\r\n */\r\nexports.wtfStartTimeRange = exports.wtfEnabled ? impl.startTimeRange : function (rangeType, action) { return null; };\r\n/**\r\n * Ends a async time range operation.\r\n * [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been\r\n * enabled.\r\n */\r\nexports.wtfEndTimeRange = exports.wtfEnabled ? impl.endTimeRange : function (r) {\r\n return null;\r\n};\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb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gdmFyIHMgPSB3dGZTdGFydFRpbWVSYW5nZSgnSFRUUDpHRVQnLCAnc29tZS51cmwnKTtcbiAqICAgICAgICB2YXIgZnV0dXJlID0gbmV3IEZ1dHVyZS5kZWxheSg1KS50aGVuKChfKSB7XG4gKiAgICAgICAgICB3dGZFbmRUaW1lUmFuZ2Uocyk7XG4gKiAgICAgICAgfSk7XG4gKiAgICAgfVxuICovXG5leHBvcnQgdmFyIHd0ZlN0YXJ0VGltZVJhbmdlOiAocmFuZ2VUeXBlOiBzdHJpbmcsIGFjdGlvbjogc3RyaW5nKSA9PiBhbnkgPVxuICAgIHd0ZkVuYWJsZWQgPyBpbXBsLnN0YXJ0VGltZVJhbmdlIDogKHJhbmdlVHlwZTogc3RyaW5nLCBhY3Rpb246IHN0cmluZykgPT4gbnVsbDtcblxuLyoqXG4gKiBFbmRzIGEgYXN5bmMgdGltZSByYW5nZSBvcGVyYXRpb24uXG4gKiBbcmFuZ2VdIGlzIHRoZSByZXR1cm4gdmFsdWUgZnJvbSBbd3RmU3RhcnRUaW1lUmFuZ2VdIEFzeW5jIHJhbmdlcyBvbmx5IHdvcmsgaWYgV1RGIGhhcyBiZWVuXG4gKiBlbmFibGVkLlxuICovXG5leHBvcnQgdmFyIHd0ZkVuZFRpbWVSYW5nZTogKHJhbmdlOiBhbnkpID0+IHZvaWQgPSB3dGZFbmFibGVkID8gaW1wbC5lbmRUaW1lUmFuZ2UgOiAocjogYW55KSA9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG51bGw7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar profile_1 = require('../profile/profile');\r\n/**\r\n * Represents a container where one or more Views can be attached.\r\n *\r\n * The container can contain two kinds of Views. Host Views, created by instantiating a\r\n * {@link Component} via {@link #createComponent}, and Embedded Views, created by instantiating an\r\n * {@link TemplateRef Embedded Template} via {@link #createEmbeddedView}.\r\n *\r\n * The location of the View Container within the containing View is specified by the Anchor\r\n * `element`. Each View Container can have only one Anchor Element and each Anchor Element can only\r\n * have a single View Container.\r\n *\r\n * Root elements of Views attached to this container become siblings of the Anchor Element in\r\n * the Rendered View.\r\n *\r\n * To access a `ViewContainerRef` of an Element, you can either place a {@link Directive} injected\r\n * with `ViewContainerRef` on the Element, or you obtain it via a {@link ViewChild} query.\r\n */\r\nvar ViewContainerRef = (function () {\r\n function ViewContainerRef() {\r\n }\r\n Object.defineProperty(ViewContainerRef.prototype, \"element\", {\r\n /**\r\n * Anchor element that specifies the location of this container in the containing View.\r\n * <!-- TODO: rename to anchorElement -->\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ViewContainerRef.prototype, \"injector\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ViewContainerRef.prototype, \"parentInjector\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ViewContainerRef.prototype, \"length\", {\r\n /**\r\n * Returns the number of Views currently attached to this container.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n return ViewContainerRef;\r\n}());\r\nexports.ViewContainerRef = ViewContainerRef;\r\nvar ViewContainerRef_ = (function () {\r\n function ViewContainerRef_(_element) {\r\n this._element = _element;\r\n /** @internal */\r\n this._createComponentInContainerScope = profile_1.wtfCreateScope('ViewContainerRef#createComponent()');\r\n /** @internal */\r\n this._insertScope = profile_1.wtfCreateScope('ViewContainerRef#insert()');\r\n /** @internal */\r\n this._removeScope = profile_1.wtfCreateScope('ViewContainerRef#remove()');\r\n /** @internal */\r\n this._detachScope = profile_1.wtfCreateScope('ViewContainerRef#detach()');\r\n }\r\n ViewContainerRef_.prototype.get = function (index) { return this._element.nestedViews[index].ref; };\r\n Object.defineProperty(ViewContainerRef_.prototype, \"length\", {\r\n get: function () {\r\n var views = this._element.nestedViews;\r\n return lang_1.isPresent(views) ? views.length : 0;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ViewContainerRef_.prototype, \"element\", {\r\n get: function () { return this._element.elementRef; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ViewContainerRef_.prototype, \"injector\", {\r\n get: function () { return this._element.injector; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ViewContainerRef_.prototype, \"parentInjector\", {\r\n get: function () { return this._element.parentInjector; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // TODO(rado): profile and decide whether bounds checks should be added\r\n // to the methods below.\r\n ViewContainerRef_.prototype.createEmbeddedView = function (templateRef, index) {\r\n if (index === void 0) { index = -1; }\r\n var viewRef = templateRef.createEmbeddedView();\r\n this.insert(viewRef, index);\r\n return viewRef;\r\n };\r\n ViewContainerRef_.prototype.createComponent = function (componentFactory, index, injector, projectableNodes) {\r\n if (index === void 0) { index = -1; }\r\n if (injector === void 0) { injector = null; }\r\n if (projectableNodes === void 0) { projectableNodes = null; }\r\n var s = this._createComponentInContainerScope();\r\n var contextInjector = lang_1.isPresent(injector) ? injector : this._element.parentInjector;\r\n var componentRef = componentFactory.create(contextInjector, projectableNodes);\r\n this.insert(componentRef.hostView, index);\r\n return profile_1.wtfLeave(s, componentRef);\r\n };\r\n // TODO(i): refactor insert+remove into move\r\n ViewContainerRef_.prototype.insert = function (viewRef, index) {\r\n if (index === void 0) { index = -1; }\r\n var s = this._insertScope();\r\n if (index == -1)\r\n index = this.length;\r\n var viewRef_ = viewRef;\r\n this._element.attachView(viewRef_.internalView, index);\r\n return profile_1.wtfLeave(s, viewRef_);\r\n };\r\n ViewContainerRef_.prototype.indexOf = function (viewRef) {\r\n return collection_1.ListWrapper.indexOf(this._element.nestedViews, viewRef.internalView);\r\n };\r\n // TODO(i): rename to destroy\r\n ViewContainerRef_.prototype.remove = function (index) {\r\n if (index === void 0) { index = -1; }\r\n var s = this._removeScope();\r\n if (index == -1)\r\n index = this.length - 1;\r\n var view = this._element.detachView(index);\r\n view.destroy();\r\n // view is intentionally not returned to the client.\r\n profile_1.wtfLeave(s);\r\n };\r\n // TODO(i): refactor insert+remove into move\r\n ViewContainerRef_.prototype.detach = function (index) {\r\n if (index === void 0) { index = -1; }\r\n var s = this._detachScope();\r\n if (index == -1)\r\n index = this.length - 1;\r\n var view = this._element.detachView(index);\r\n return profile_1.wtfLeave(s, view.ref);\r\n };\r\n ViewContainerRef_.prototype.clear = function () {\r\n for (var i = this.length - 1; i >= 0; i--) {\r\n this.remove(i);\r\n }\r\n };\r\n return ViewContainerRef_;\r\n}());\r\nexports.ViewContainerRef_ = ViewContainerRef_;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld19jb250YWluZXJfcmVmLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvbGlua2VyL3ZpZXdfY29udGFpbmVyX3JlZi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsMkJBQTBCLGdDQUFnQyxDQUFDLENBQUE7QUFDM0QsMkJBQTRCLGdDQUFnQyxDQUFDLENBQUE7QUFFN0QscUJBQWlDLDBCQUEwQixDQUFDLENBQUE7QUFDNUQsd0JBQW1ELG9CQUFvQixDQUFDLENBQUE7QUFTeEU7Ozs7Ozs7Ozs7Ozs7Ozs7R0FnQkc7QUFDSDtJQUFBO0lBZ0ZBLENBQUM7SUEzRUMsc0JBQUkscUNBQU87U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U2NvcGUoKTtcbiAgICBpZiAoaW5kZXggPT0gLTEpIGluZGV4ID0gdGhpcy5sZW5ndGggLSAxO1xuICAgIHZhciB2aWV3ID0gdGhpcy5fZWxlbWVudC5kZXRhY2hWaWV3KGluZGV4KTtcbiAgICByZXR1cm4gd3RmTGVhdmUocywgdmlldy5yZWYpO1xuICB9XG5cbiAgY2xlYXIoKSB7XG4gICAgZm9yICh2YXIgaSA9IHRoaXMubGVuZ3RoIC0gMTsgaSA+PSAwOyBpLS0pIHtcbiAgICAgIHRoaXMucmVtb3ZlKGkpO1xuICAgIH1cbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar view_type_1 = require('./view_type');\r\nvar element_ref_1 = require('./element_ref');\r\nvar view_container_ref_1 = require('./view_container_ref');\r\n/**\r\n * An AppElement is created for elements that have a ViewContainerRef,\r\n * a nested component or a <template> element to keep data around\r\n * that is needed for later instantiations.\r\n */\r\nvar AppElement = (function () {\r\n function AppElement(index, parentIndex, parentView, nativeElement) {\r\n this.index = index;\r\n this.parentIndex = parentIndex;\r\n this.parentView = parentView;\r\n this.nativeElement = nativeElement;\r\n this.nestedViews = null;\r\n this.componentView = null;\r\n }\r\n Object.defineProperty(AppElement.prototype, \"elementRef\", {\r\n get: function () { return new element_ref_1.ElementRef(this.nativeElement); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AppElement.prototype, \"vcRef\", {\r\n get: function () { return new view_container_ref_1.ViewContainerRef_(this); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n AppElement.prototype.initComponent = function (component, componentConstructorViewQueries, view) {\r\n this.component = component;\r\n this.componentConstructorViewQueries = componentConstructorViewQueries;\r\n this.componentView = view;\r\n };\r\n Object.defineProperty(AppElement.prototype, \"parentInjector\", {\r\n get: function () { return this.parentView.injector(this.parentIndex); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AppElement.prototype, \"injector\", {\r\n get: function () { return this.parentView.injector(this.index); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n AppElement.prototype.mapNestedViews = function (nestedViewClass, callback) {\r\n var result = [];\r\n if (lang_1.isPresent(this.nestedViews)) {\r\n this.nestedViews.forEach(function (nestedView) {\r\n if (nestedView.clazz === nestedViewClass) {\r\n result.push(callback(nestedView));\r\n }\r\n });\r\n }\r\n return result;\r\n };\r\n AppElement.prototype.attachView = function (view, viewIndex) {\r\n if (view.type === view_type_1.ViewType.COMPONENT) {\r\n throw new exceptions_1.BaseException(\"Component views can't be moved!\");\r\n }\r\n var nestedViews = this.nestedViews;\r\n if (nestedViews == null) {\r\n nestedViews = [];\r\n this.nestedViews = nestedViews;\r\n }\r\n collection_1.ListWrapper.insert(nestedViews, viewIndex, view);\r\n var refRenderNode;\r\n if (viewIndex > 0) {\r\n var prevView = nestedViews[viewIndex - 1];\r\n refRenderNode = prevView.lastRootNode;\r\n }\r\n else {\r\n refRenderNode = this.nativeElement;\r\n }\r\n if (lang_1.isPresent(refRenderNode)) {\r\n view.renderer.attachViewAfter(refRenderNode, view.flatRootNodes);\r\n }\r\n view.addToContentChildren(this);\r\n };\r\n AppElement.prototype.detachView = function (viewIndex) {\r\n var view = collection_1.ListWrapper.removeAt(this.nestedViews, viewIndex);\r\n if (view.type === view_type_1.ViewType.COMPONENT) {\r\n throw new exceptions_1.BaseException(\"Component views can't be moved!\");\r\n }\r\n view.renderer.detachView(view.flatRootNodes);\r\n view.removeFromContentChildren(this);\r\n return view;\r\n };\r\n return AppElement;\r\n}());\r\nexports.AppElement = AppElement;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV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uZXcgQmFzZUV4Y2VwdGlvbihgQ29tcG9uZW50IHZpZXdzIGNhbid0IGJlIG1vdmVkIWApO1xuICAgIH1cblxuICAgIHZpZXcucmVuZGVyZXIuZGV0YWNoVmlldyh2aWV3LmZsYXRSb290Tm9kZXMpO1xuXG4gICAgdmlldy5yZW1vdmVGcm9tQ29udGVudENoaWxkcmVuKHRoaXMpO1xuICAgIHJldHVybiB2aWV3O1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar exceptions_1 = require(\"angular2/src/facade/exceptions\");\r\n/**\r\n * An error thrown if application changes model breaking the top-down data flow.\r\n *\r\n * This exception is only thrown in dev mode.\r\n *\r\n * <!-- TODO: Add a link once the dev mode option is configurable -->\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'parent',\r\n * template: `\r\n * <child [prop]=\"parentProp\"></child>\r\n * `,\r\n * directives: [forwardRef(() => Child)]\r\n * })\r\n * class Parent {\r\n * parentProp = \"init\";\r\n * }\r\n *\r\n * @Directive({selector: 'child', inputs: ['prop']})\r\n * class Child {\r\n * constructor(public parent: Parent) {}\r\n *\r\n * set prop(v) {\r\n * // this updates the parent property, which is disallowed during change detection\r\n * // this will result in ExpressionChangedAfterItHasBeenCheckedException\r\n * this.parent.parentProp = \"updated\";\r\n * }\r\n * }\r\n * ```\r\n */\r\nvar ExpressionChangedAfterItHasBeenCheckedException = (function (_super) {\r\n __extends(ExpressionChangedAfterItHasBeenCheckedException, _super);\r\n function ExpressionChangedAfterItHasBeenCheckedException(oldValue, currValue, context) {\r\n _super.call(this, \"Expression has changed after it was checked. \" +\r\n (\"Previous value: '\" + oldValue + \"'. Current value: '\" + currValue + \"'\"));\r\n }\r\n return ExpressionChangedAfterItHasBeenCheckedException;\r\n}(exceptions_1.BaseException));\r\nexports.ExpressionChangedAfterItHasBeenCheckedException = ExpressionChangedAfterItHasBeenCheckedException;\r\n/**\r\n * Thrown when an exception was raised during view creation, change detection or destruction.\r\n *\r\n * This error wraps the original exception to attach additional contextual information that can\r\n * be useful for debugging.\r\n */\r\nvar ViewWrappedException = (function (_super) {\r\n __extends(ViewWrappedException, _super);\r\n function ViewWrappedException(originalException, originalStack, context) {\r\n _super.call(this, \"Error in \" + context.source, originalException, originalStack, context);\r\n }\r\n return ViewWrappedException;\r\n}(exceptions_1.WrappedException));\r\nexports.ViewWrappedException = ViewWrappedException;\r\n/**\r\n * Thrown when a destroyed view is used.\r\n *\r\n * This error indicates a bug in the framework.\r\n *\r\n * This is an internal Angular error.\r\n */\r\nvar ViewDestroyedException = (function (_super) {\r\n __extends(ViewDestroyedException, _super);\r\n function ViewDestroyedException(details) {\r\n _super.call(this, \"Attempt to use a destroyed view: \" + details);\r\n }\r\n return ViewDestroyedException;\r\n}(exceptions_1.BaseException));\r\nexports.ViewDestroyedException = ViewDestroyedException;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhjZXB0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2xpbmtlci9leGNlcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDJCQUE4QyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBRS9FOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWdDRztBQUNIO0lBQXFFLG1FQUFhO0lBQ2hGLHlEQUFZLFFBQWEsRUFBRSxTQUFjLEVBQUUsT0FBWTtRQUNyRCx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5leHBvcnQgY2xhc3MgVmlld0Rlc3Ryb3llZEV4Y2VwdGlvbiBleHRlbmRzIEJhc2VFeGNlcHRpb24ge1xuICBjb25zdHJ1Y3RvcihkZXRhaWxzOiBzdHJpbmcpIHsgc3VwZXIoYEF0dGVtcHQgdG8gdXNlIGEgZGVzdHJveWVkIHZpZXc6ICR7ZGV0YWlsc31gKTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar di_1 = require('angular2/src/core/di');\r\n/**\r\n * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.\r\n */\r\nvar IterableDiffers = (function () {\r\n function IterableDiffers(factories) {\r\n this.factories = factories;\r\n }\r\n IterableDiffers.create = function (factories, parent) {\r\n if (lang_1.isPresent(parent)) {\r\n var copied = collection_1.ListWrapper.clone(parent.factories);\r\n factories = factories.concat(copied);\r\n return new IterableDiffers(factories);\r\n }\r\n else {\r\n return new IterableDiffers(factories);\r\n }\r\n };\r\n /**\r\n * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the\r\n * inherited {@link IterableDiffers} instance with the provided factories and return a new\r\n * {@link IterableDiffers} instance.\r\n *\r\n * The following example shows how to extend an existing list of factories,\r\n * which will only be applied to the injector for this component and its children.\r\n * This step is all that's required to make a new {@link IterableDiffer} available.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * @Component({\r\n * viewProviders: [\r\n * IterableDiffers.extend([new ImmutableListDiffer()])\r\n * ]\r\n * })\r\n * ```\r\n */\r\n IterableDiffers.extend = function (factories) {\r\n return new di_1.Provider(IterableDiffers, {\r\n useFactory: function (parent) {\r\n if (lang_1.isBlank(parent)) {\r\n // Typically would occur when calling IterableDiffers.extend inside of dependencies passed\r\n // to\r\n // bootstrap(), which would override default pipes instead of extending them.\r\n throw new exceptions_1.BaseException('Cannot extend IterableDiffers without a parent injector');\r\n }\r\n return IterableDiffers.create(factories, parent);\r\n },\r\n // Dependency technically isn't optional, but we can provide a better error message this way.\r\n deps: [[IterableDiffers, new di_1.SkipSelfMetadata(), new di_1.OptionalMetadata()]]\r\n });\r\n };\r\n IterableDiffers.prototype.find = function (iterable) {\r\n var factory = this.factories.find(function (f) { return f.supports(iterable); });\r\n if (lang_1.isPresent(factory)) {\r\n return factory;\r\n }\r\n else {\r\n throw new exceptions_1.BaseException(\"Cannot find a differ supporting object '\" + iterable + \"' of type '\" + lang_1.getTypeNameForDebugging(iterable) + \"'\");\r\n }\r\n };\r\n IterableDiffers = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Array])\r\n ], IterableDiffers);\r\n return IterableDiffers;\r\n}());\r\nexports.IterableDiffers = IterableDiffers;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXRlcmFibGVfZGlmZmVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2NoYW5nZV9kZXRlY3Rpb24vZGlmZmVycy9pdGVyYWJsZV9kaW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gcmV0dXJuIGZhY3Rvcnk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBCYXNlRXhjZXB0aW9uKFxuICAgICAgICAgIGBDYW5ub3QgZmluZCBhIGRpZmZlciBzdXBwb3J0aW5nIG9iamVjdCAnJHtpdGVyYWJsZX0nIG9mIHR5cGUgJyR7Z2V0VHlwZU5hbWVGb3JEZWJ1Z2dpbmcoaXRlcmFibGUpfSdgKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar DefaultIterableDifferFactory = (function () {\r\n function DefaultIterableDifferFactory() {\r\n }\r\n DefaultIterableDifferFactory.prototype.supports = function (obj) { return collection_1.isListLikeIterable(obj); };\r\n DefaultIterableDifferFactory.prototype.create = function (cdRef, trackByFn) {\r\n return new DefaultIterableDiffer(trackByFn);\r\n };\r\n DefaultIterableDifferFactory = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], DefaultIterableDifferFactory);\r\n return DefaultIterableDifferFactory;\r\n}());\r\nexports.DefaultIterableDifferFactory = DefaultIterableDifferFactory;\r\nvar trackByIdentity = function (index, item) { return item; };\r\nvar DefaultIterableDiffer = (function () {\r\n function DefaultIterableDiffer(_trackByFn) {\r\n this._trackByFn = _trackByFn;\r\n this._length = null;\r\n this._collection = null;\r\n // Keeps track of the used records at any point in time (during & across `_check()` calls)\r\n this._linkedRecords = null;\r\n // Keeps track of the removed records at any point in time during `_check()` calls.\r\n this._unlinkedRecords = null;\r\n this._previousItHead = null;\r\n this._itHead = null;\r\n this._itTail = null;\r\n this._additionsHead = null;\r\n this._additionsTail = null;\r\n this._movesHead = null;\r\n this._movesTail = null;\r\n this._removalsHead = null;\r\n this._removalsTail = null;\r\n // Keeps track of records where custom track by is the same, but item identity has changed\r\n this._identityChangesHead = null;\r\n this._identityChangesTail = null;\r\n this._trackByFn = lang_1.isPresent(this._trackByFn) ? this._trackByFn : trackByIdentity;\r\n }\r\n Object.defineProperty(DefaultIterableDiffer.prototype, \"collection\", {\r\n get: function () { return this._collection; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DefaultIterableDiffer.prototype, \"length\", {\r\n get: function () { return this._length; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n DefaultIterableDiffer.prototype.forEachItem = function (fn) {\r\n var record;\r\n for (record = this._itHead; record !== null; record = record._next) {\r\n fn(record);\r\n }\r\n };\r\n DefaultIterableDiffer.prototype.forEachPreviousItem = function (fn) {\r\n var record;\r\n for (record = this._previousItHead; record !== null; record = record._nextPrevious) {\r\n fn(record);\r\n }\r\n };\r\n DefaultIterableDiffer.prototype.forEachAddedItem = function (fn) {\r\n var record;\r\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\r\n fn(record);\r\n }\r\n };\r\n DefaultIterableDiffer.prototype.forEachMovedItem = function (fn) {\r\n var record;\r\n for (record = this._movesHead; record !== null; record = record._nextMoved) {\r\n fn(record);\r\n }\r\n };\r\n DefaultIterableDiffer.prototype.forEachRemovedItem = function (fn) {\r\n var record;\r\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\r\n fn(record);\r\n }\r\n };\r\n DefaultIterableDiffer.prototype.forEachIdentityChange = function (fn) {\r\n var record;\r\n for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {\r\n fn(record);\r\n }\r\n };\r\n DefaultIterableDiffer.prototype.diff = function (collection) {\r\n if (lang_1.isBlank(collection))\r\n collection = [];\r\n if (!collection_1.isListLikeIterable(collection)) {\r\n throw new exceptions_1.BaseException(\"Error trying to diff '\" + collection + \"'\");\r\n }\r\n if (this.check(collection)) {\r\n return this;\r\n }\r\n else {\r\n return null;\r\n }\r\n };\r\n DefaultIterableDiffer.prototype.onDestroy = function () { };\r\n // todo(vicb): optim for UnmodifiableListView (frozen arrays)\r\n DefaultIterableDiffer.prototype.check = function (collection) {\r\n var _this = this;\r\n this._reset();\r\n var record = this._itHead;\r\n var mayBeDirty = false;\r\n var index;\r\n var item;\r\n var itemTrackBy;\r\n if (lang_1.isArray(collection)) {\r\n var list = collection;\r\n this._length = collection.length;\r\n for (index = 0; index < this._length; index++) {\r\n item = list[index];\r\n itemTrackBy = this._trackByFn(index, item);\r\n if (record === null || !lang_1.looseIdentical(record.trackById, itemTrackBy)) {\r\n record = this._mismatch(record, item, itemTrackBy, index);\r\n mayBeDirty = true;\r\n }\r\n else {\r\n if (mayBeDirty) {\r\n // TODO(misko): can we limit this to duplicates only?\r\n record = this._verifyReinsertion(record, item, itemTrackBy, index);\r\n }\r\n if (!lang_1.looseIdentical(record.item, item))\r\n this._addIdentityChange(record, item);\r\n }\r\n record = record._next;\r\n }\r\n }\r\n else {\r\n index = 0;\r\n collection_1.iterateListLike(collection, function (item) {\r\n itemTrackBy = _this._trackByFn(index, item);\r\n if (record === null || !lang_1.looseIdentical(record.trackById, itemTrackBy)) {\r\n record = _this._mismatch(record, item, itemTrackBy, index);\r\n mayBeDirty = true;\r\n }\r\n else {\r\n if (mayBeDirty) {\r\n // TODO(misko): can we limit this to duplicates only?\r\n record = _this._verifyReinsertion(record, item, itemTrackBy, index);\r\n }\r\n if (!lang_1.looseIdentical(record.item, item))\r\n _this._addIdentityChange(record, item);\r\n }\r\n record = record._next;\r\n index++;\r\n });\r\n this._length = index;\r\n }\r\n this._truncate(record);\r\n this._collection = collection;\r\n return this.isDirty;\r\n };\r\n Object.defineProperty(DefaultIterableDiffer.prototype, \"isDirty\", {\r\n /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity\r\n * changes.\r\n */\r\n get: function () {\r\n return this._additionsHead !== null || this._movesHead !== null ||\r\n this._removalsHead !== null || this._identityChangesHead !== null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * Reset the state of the change objects to show no changes. This means set previousKey to\r\n * currentKey, and clear all of the queues (additions, moves, removals).\r\n * Set the previousIndexes of moved and added items to their currentIndexes\r\n * Reset the list of additions, moves and removals\r\n *\r\n * @internal\r\n */\r\n DefaultIterableDiffer.prototype._reset = function () {\r\n if (this.isDirty) {\r\n var record;\r\n var nextRecord;\r\n for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {\r\n record._nextPrevious = record._next;\r\n }\r\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\r\n record.previousIndex = record.currentIndex;\r\n }\r\n this._additionsHead = this._additionsTail = null;\r\n for (record = this._movesHead; record !== null; record = nextRecord) {\r\n record.previousIndex = record.currentIndex;\r\n nextRecord = record._nextMoved;\r\n }\r\n this._movesHead = this._movesTail = null;\r\n this._removalsHead = this._removalsTail = null;\r\n this._identityChangesHead = this._identityChangesTail = null;\r\n }\r\n };\r\n /**\r\n * This is the core function which handles differences between collections.\r\n *\r\n * - `record` is the record which we saw at this position last time. If null then it is a new\r\n * item.\r\n * - `item` is the current item in the collection\r\n * - `index` is the position of the item in the collection\r\n *\r\n * @internal\r\n */\r\n DefaultIterableDiffer.prototype._mismatch = function (record, item, itemTrackBy, index) {\r\n // The previous record after which we will append the current one.\r\n var previousRecord;\r\n if (record === null) {\r\n previousRecord = this._itTail;\r\n }\r\n else {\r\n previousRecord = record._prev;\r\n // Remove the record from the collection since we know it does not match the item.\r\n this._remove(record);\r\n }\r\n // Attempt to see if we have seen the item before.\r\n record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);\r\n if (record !== null) {\r\n // We have seen this before, we need to move it forward in the collection.\r\n // But first we need to check if identity changed, so we can update in view if necessary\r\n if (!lang_1.looseIdentical(record.item, item))\r\n this._addIdentityChange(record, item);\r\n this._moveAfter(record, previousRecord, index);\r\n }\r\n else {\r\n // Never seen it, check evicted list.\r\n record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy);\r\n if (record !== null) {\r\n // It is an item which we have evicted earlier: reinsert it back into the list.\r\n // But first we need to check if identity changed, so we can update in view if necessary\r\n if (!lang_1.looseIdentical(record.item, item))\r\n this._addIdentityChange(record, item);\r\n this._reinsertAfter(record, previousRecord, index);\r\n }\r\n else {\r\n // It is a new item: add it.\r\n record =\r\n this._addAfter(new CollectionChangeRecord(item, itemTrackBy), previousRecord, index);\r\n }\r\n }\r\n return record;\r\n };\r\n /**\r\n * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)\r\n *\r\n * Use case: `[a, a]` => `[b, a, a]`\r\n *\r\n * If we did not have this check then the insertion of `b` would:\r\n * 1) evict first `a`\r\n * 2) insert `b` at `0` index.\r\n * 3) leave `a` at index `1` as is. <-- this is wrong!\r\n * 3) reinsert `a` at index 2. <-- this is wrong!\r\n *\r\n * The correct behavior is:\r\n * 1) evict first `a`\r\n * 2) insert `b` at `0` index.\r\n * 3) reinsert `a` at index 1.\r\n * 3) move `a` at from `1` to `2`.\r\n *\r\n *\r\n * Double check that we have not evicted a duplicate item. We need to check if the item type may\r\n * have already been removed:\r\n * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted\r\n * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a\r\n * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'\r\n * at the end.\r\n *\r\n * @internal\r\n */\r\n DefaultIterableDiffer.prototype._verifyReinsertion = function (record, item, itemTrackBy, index) {\r\n var reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy);\r\n if (reinsertRecord !== null) {\r\n record = this._reinsertAfter(reinsertRecord, record._prev, index);\r\n }\r\n else if (record.currentIndex != index) {\r\n record.currentIndex = index;\r\n this._addToMoves(record, index);\r\n }\r\n return record;\r\n };\r\n /**\r\n * Get rid of any excess {@link CollectionChangeRecord}s from the previous collection\r\n *\r\n * - `record` The first excess {@link CollectionChangeRecord}.\r\n *\r\n * @internal\r\n */\r\n DefaultIterableDiffer.prototype._truncate = function (record) {\r\n // Anything after that needs to be removed;\r\n while (record !== null) {\r\n var nextRecord = record._next;\r\n this._addToRemovals(this._unlink(record));\r\n record = nextRecord;\r\n }\r\n if (this._unlinkedRecords !== null) {\r\n this._unlinkedRecords.clear();\r\n }\r\n if (this._additionsTail !== null) {\r\n this._additionsTail._nextAdded = null;\r\n }\r\n if (this._movesTail !== null) {\r\n this._movesTail._nextMoved = null;\r\n }\r\n if (this._itTail !== null) {\r\n this._itTail._next = null;\r\n }\r\n if (this._removalsTail !== null) {\r\n this._removalsTail._nextRemoved = null;\r\n }\r\n if (this._identityChangesTail !== null) {\r\n this._identityChangesTail._nextIdentityChange = null;\r\n }\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._reinsertAfter = function (record, prevRecord, index) {\r\n if (this._unlinkedRecords !== null) {\r\n this._unlinkedRecords.remove(record);\r\n }\r\n var prev = record._prevRemoved;\r\n var next = record._nextRemoved;\r\n if (prev === null) {\r\n this._removalsHead = next;\r\n }\r\n else {\r\n prev._nextRemoved = next;\r\n }\r\n if (next === null) {\r\n this._removalsTail = prev;\r\n }\r\n else {\r\n next._prevRemoved = prev;\r\n }\r\n this._insertAfter(record, prevRecord, index);\r\n this._addToMoves(record, index);\r\n return record;\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._moveAfter = function (record, prevRecord, index) {\r\n this._unlink(record);\r\n this._insertAfter(record, prevRecord, index);\r\n this._addToMoves(record, index);\r\n return record;\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._addAfter = function (record, prevRecord, index) {\r\n this._insertAfter(record, prevRecord, index);\r\n if (this._additionsTail === null) {\r\n // todo(vicb)\r\n // assert(this._additionsHead === null);\r\n this._additionsTail = this._additionsHead = record;\r\n }\r\n else {\r\n // todo(vicb)\r\n // assert(_additionsTail._nextAdded === null);\r\n // assert(record._nextAdded === null);\r\n this._additionsTail = this._additionsTail._nextAdded = record;\r\n }\r\n return record;\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._insertAfter = function (record, prevRecord, index) {\r\n // todo(vicb)\r\n // assert(record != prevRecord);\r\n // assert(record._next === null);\r\n // assert(record._prev === null);\r\n var next = prevRecord === null ? this._itHead : prevRecord._next;\r\n // todo(vicb)\r\n // assert(next != record);\r\n // assert(prevRecord != record);\r\n record._next = next;\r\n record._prev = prevRecord;\r\n if (next === null) {\r\n this._itTail = record;\r\n }\r\n else {\r\n next._prev = record;\r\n }\r\n if (prevRecord === null) {\r\n this._itHead = record;\r\n }\r\n else {\r\n prevRecord._next = record;\r\n }\r\n if (this._linkedRecords === null) {\r\n this._linkedRecords = new _DuplicateMap();\r\n }\r\n this._linkedRecords.put(record);\r\n record.currentIndex = index;\r\n return record;\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._remove = function (record) {\r\n return this._addToRemovals(this._unlink(record));\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._unlink = function (record) {\r\n if (this._linkedRecords !== null) {\r\n this._linkedRecords.remove(record);\r\n }\r\n var prev = record._prev;\r\n var next = record._next;\r\n // todo(vicb)\r\n // assert((record._prev = null) === null);\r\n // assert((record._next = null) === null);\r\n if (prev === null) {\r\n this._itHead = next;\r\n }\r\n else {\r\n prev._next = next;\r\n }\r\n if (next === null) {\r\n this._itTail = prev;\r\n }\r\n else {\r\n next._prev = prev;\r\n }\r\n return record;\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._addToMoves = function (record, toIndex) {\r\n // todo(vicb)\r\n // assert(record._nextMoved === null);\r\n if (record.previousIndex === toIndex) {\r\n return record;\r\n }\r\n if (this._movesTail === null) {\r\n // todo(vicb)\r\n // assert(_movesHead === null);\r\n this._movesTail = this._movesHead = record;\r\n }\r\n else {\r\n // todo(vicb)\r\n // assert(_movesTail._nextMoved === null);\r\n this._movesTail = this._movesTail._nextMoved = record;\r\n }\r\n return record;\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._addToRemovals = function (record) {\r\n if (this._unlinkedRecords === null) {\r\n this._unlinkedRecords = new _DuplicateMap();\r\n }\r\n this._unlinkedRecords.put(record);\r\n record.currentIndex = null;\r\n record._nextRemoved = null;\r\n if (this._removalsTail === null) {\r\n // todo(vicb)\r\n // assert(_removalsHead === null);\r\n this._removalsTail = this._removalsHead = record;\r\n record._prevRemoved = null;\r\n }\r\n else {\r\n // todo(vicb)\r\n // assert(_removalsTail._nextRemoved === null);\r\n // assert(record._nextRemoved === null);\r\n record._prevRemoved = this._removalsTail;\r\n this._removalsTail = this._removalsTail._nextRemoved = record;\r\n }\r\n return record;\r\n };\r\n /** @internal */\r\n DefaultIterableDiffer.prototype._addIdentityChange = function (record, item) {\r\n record.item = item;\r\n if (this._identityChangesTail === null) {\r\n this._identityChangesTail = this._identityChangesHead = record;\r\n }\r\n else {\r\n this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;\r\n }\r\n return record;\r\n };\r\n DefaultIterableDiffer.prototype.toString = function () {\r\n var list = [];\r\n this.forEachItem(function (record) { return list.push(record); });\r\n var previous = [];\r\n this.forEachPreviousItem(function (record) { return previous.push(record); });\r\n var additions = [];\r\n this.forEachAddedItem(function (record) { return additions.push(record); });\r\n var moves = [];\r\n this.forEachMovedItem(function (record) { return moves.push(record); });\r\n var removals = [];\r\n this.forEachRemovedItem(function (record) { return removals.push(record); });\r\n var identityChanges = [];\r\n this.forEachIdentityChange(function (record) { return identityChanges.push(record); });\r\n return \"collection: \" + list.join(', ') + \"\\n\" + \"previous: \" + previous.join(', ') + \"\\n\" +\r\n \"additions: \" + additions.join(', ') + \"\\n\" + \"moves: \" + moves.join(', ') + \"\\n\" +\r\n \"removals: \" + removals.join(', ') + \"\\n\" + \"identityChanges: \" +\r\n identityChanges.join(', ') + \"\\n\";\r\n };\r\n return DefaultIterableDiffer;\r\n}());\r\nexports.DefaultIterableDiffer = DefaultIterableDiffer;\r\nvar CollectionChangeRecord = (function () {\r\n function CollectionChangeRecord(item, trackById) {\r\n this.item = item;\r\n this.trackById = trackById;\r\n this.currentIndex = null;\r\n this.previousIndex = null;\r\n /** @internal */\r\n this._nextPrevious = null;\r\n /** @internal */\r\n this._prev = null;\r\n /** @internal */\r\n this._next = null;\r\n /** @internal */\r\n this._prevDup = null;\r\n /** @internal */\r\n this._nextDup = null;\r\n /** @internal */\r\n this._prevRemoved = null;\r\n /** @internal */\r\n this._nextRemoved = null;\r\n /** @internal */\r\n this._nextAdded = null;\r\n /** @internal */\r\n this._nextMoved = null;\r\n /** @internal */\r\n this._nextIdentityChange = null;\r\n }\r\n CollectionChangeRecord.prototype.toString = function () {\r\n return this.previousIndex === this.currentIndex ?\r\n lang_1.stringify(this.item) :\r\n lang_1.stringify(this.item) + '[' + lang_1.stringify(this.previousIndex) + '->' +\r\n lang_1.stringify(this.currentIndex) + ']';\r\n };\r\n return CollectionChangeRecord;\r\n}());\r\nexports.CollectionChangeRecord = CollectionChangeRecord;\r\n// A linked list of CollectionChangeRecords with the same CollectionChangeRecord.item\r\nvar _DuplicateItemRecordList = (function () {\r\n function _DuplicateItemRecordList() {\r\n /** @internal */\r\n this._head = null;\r\n /** @internal */\r\n this._tail = null;\r\n }\r\n /**\r\n * Append the record to the list of duplicates.\r\n *\r\n * Note: by design all records in the list of duplicates hold the same value in record.item.\r\n */\r\n _DuplicateItemRecordList.prototype.add = function (record) {\r\n if (this._head === null) {\r\n this._head = this._tail = record;\r\n record._nextDup = null;\r\n record._prevDup = null;\r\n }\r\n else {\r\n // todo(vicb)\r\n // assert(record.item == _head.item ||\r\n // record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);\r\n this._tail._nextDup = record;\r\n record._prevDup = this._tail;\r\n record._nextDup = null;\r\n this._tail = record;\r\n }\r\n };\r\n // Returns a CollectionChangeRecord having CollectionChangeRecord.trackById == trackById and\r\n // CollectionChangeRecord.currentIndex >= afterIndex\r\n _DuplicateItemRecordList.prototype.get = function (trackById, afterIndex) {\r\n var record;\r\n for (record = this._head; record !== null; record = record._nextDup) {\r\n if ((afterIndex === null || afterIndex < record.currentIndex) &&\r\n lang_1.looseIdentical(record.trackById, trackById)) {\r\n return record;\r\n }\r\n }\r\n return null;\r\n };\r\n /**\r\n * Remove one {@link CollectionChangeRecord} from the list of duplicates.\r\n *\r\n * Returns whether the list of duplicates is empty.\r\n */\r\n _DuplicateItemRecordList.prototype.remove = function (record) {\r\n // todo(vicb)\r\n // assert(() {\r\n // // verify that the record being removed is in the list.\r\n // for (CollectionChangeRecord cursor = _head; cursor != null; cursor = cursor._nextDup) {\r\n // if (identical(cursor, record)) return true;\r\n // }\r\n // return false;\r\n //});\r\n var prev = record._prevDup;\r\n var next = record._nextDup;\r\n if (prev === null) {\r\n this._head = next;\r\n }\r\n else {\r\n prev._nextDup = next;\r\n }\r\n if (next === null) {\r\n this._tail = prev;\r\n }\r\n else {\r\n next._prevDup = prev;\r\n }\r\n return this._head === null;\r\n };\r\n return _DuplicateItemRecordList;\r\n}());\r\nvar _DuplicateMap = (function () {\r\n function _DuplicateMap() {\r\n this.map = new Map();\r\n }\r\n _DuplicateMap.prototype.put = function (record) {\r\n // todo(vicb) handle corner cases\r\n var key = lang_1.getMapKey(record.trackById);\r\n var duplicates = this.map.get(key);\r\n if (!lang_1.isPresent(duplicates)) {\r\n duplicates = new _DuplicateItemRecordList();\r\n this.map.set(key, duplicates);\r\n }\r\n duplicates.add(record);\r\n };\r\n /**\r\n * Retrieve the `value` using key. Because the CollectionChangeRecord value may be one which we\r\n * have already iterated over, we use the afterIndex to pretend it is not there.\r\n *\r\n * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we\r\n * have any more `a`s needs to return the last `a` not the first or second.\r\n */\r\n _DuplicateMap.prototype.get = function (trackById, afterIndex) {\r\n if (afterIndex === void 0) { afterIndex = null; }\r\n var key = lang_1.getMapKey(trackById);\r\n var recordList = this.map.get(key);\r\n return lang_1.isBlank(recordList) ? null : recordList.get(trackById, afterIndex);\r\n };\r\n /**\r\n * Removes a {@link CollectionChangeRecord} from the list of duplicates.\r\n *\r\n * The list of duplicates also is removed from the map if it gets empty.\r\n */\r\n _DuplicateMap.prototype.remove = function (record) {\r\n var key = lang_1.getMapKey(record.trackById);\r\n // todo(vicb)\r\n // assert(this.map.containsKey(key));\r\n var recordList = this.map.get(key);\r\n // Remove the list of duplicates when it gets empty\r\n if (recordList.remove(record)) {\r\n this.map.delete(key);\r\n }\r\n return record;\r\n };\r\n Object.defineProperty(_DuplicateMap.prototype, \"isEmpty\", {\r\n get: function () { return this.map.size === 0; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n _DuplicateMap.prototype.clear = function () { this.map.clear(); };\r\n _DuplicateMap.prototype.toString = function () { return '_DuplicateMap(' + lang_1.stringify(this.map) + ')'; };\r\n return _DuplicateMap;\r\n}());\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdF9pdGVyYWJsZV9kaWZmZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9jaGFuZ2VfZGV0ZWN0aW9uL2RpZmZlcnMvZGVmYXVsdF9pdGVyYWJsZV9kaWZmZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7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OiBzdHJpbmcgeyByZXR1cm4gJ19EdXBsaWNhdGVNYXAoJyArIHN0cmluZ2lmeSh0aGlzLm1hcCkgKyAnKSc7IH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar di_1 = require('angular2/src/core/di');\r\n/**\r\n * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.\r\n */\r\nvar KeyValueDiffers = (function () {\r\n function KeyValueDiffers(factories) {\r\n this.factories = factories;\r\n }\r\n KeyValueDiffers.create = function (factories, parent) {\r\n if (lang_1.isPresent(parent)) {\r\n var copied = collection_1.ListWrapper.clone(parent.factories);\r\n factories = factories.concat(copied);\r\n return new KeyValueDiffers(factories);\r\n }\r\n else {\r\n return new KeyValueDiffers(factories);\r\n }\r\n };\r\n /**\r\n * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the\r\n * inherited {@link KeyValueDiffers} instance with the provided factories and return a new\r\n * {@link KeyValueDiffers} instance.\r\n *\r\n * The following example shows how to extend an existing list of factories,\r\n * which will only be applied to the injector for this component and its children.\r\n * This step is all that's required to make a new {@link KeyValueDiffer} available.\r\n *\r\n * ### Example\r\n *\r\n * ```\r\n * @Component({\r\n * viewProviders: [\r\n * KeyValueDiffers.extend([new ImmutableMapDiffer()])\r\n * ]\r\n * })\r\n * ```\r\n */\r\n KeyValueDiffers.extend = function (factories) {\r\n return new di_1.Provider(KeyValueDiffers, {\r\n useFactory: function (parent) {\r\n if (lang_1.isBlank(parent)) {\r\n // Typically would occur when calling KeyValueDiffers.extend inside of dependencies passed\r\n // to\r\n // bootstrap(), which would override default pipes instead of extending them.\r\n throw new exceptions_1.BaseException('Cannot extend KeyValueDiffers without a parent injector');\r\n }\r\n return KeyValueDiffers.create(factories, parent);\r\n },\r\n // Dependency technically isn't optional, but we can provide a better error message this way.\r\n deps: [[KeyValueDiffers, new di_1.SkipSelfMetadata(), new di_1.OptionalMetadata()]]\r\n });\r\n };\r\n KeyValueDiffers.prototype.find = function (kv) {\r\n var factory = this.factories.find(function (f) { return f.supports(kv); });\r\n if (lang_1.isPresent(factory)) {\r\n return factory;\r\n }\r\n else {\r\n throw new exceptions_1.BaseException(\"Cannot find a differ supporting object '\" + kv + \"'\");\r\n }\r\n };\r\n KeyValueDiffers = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Array])\r\n ], KeyValueDiffers);\r\n return KeyValueDiffers;\r\n}());\r\nexports.KeyValueDiffers = KeyValueDiffers;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5dmFsdWVfZGlmZmVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2NoYW5nZV9kZXRlY3Rpb24vZGlmZmVycy9rZXl2YWx1ZV9kaWZmZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxxQkFBd0MsMEJBQTBCLENBQUMsQ0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XNuJ3Qgb3B0aW9uYWwsIGJ1dCB3ZSBjYW4gcHJvdmlkZSBhIGJldHRlciBlcnJvciBtZXNzYWdlIHRoaXMgd2F5LlxuICAgICAgZGVwczogW1tLZXlWYWx1ZURpZmZlcnMsIG5ldyBTa2lwU2VsZk1ldGFkYXRhKCksIG5ldyBPcHRpb25hbE1ldGFkYXRhKCldXVxuICAgIH0pO1xuICB9XG5cbiAgZmluZChrdjogT2JqZWN0KTogS2V5VmFsdWVEaWZmZXJGYWN0b3J5IHtcbiAgICB2YXIgZmFjdG9yeSA9IHRoaXMuZmFjdG9yaWVzLmZpbmQoZiA9PiBmLnN1cHBvcnRzKGt2KSk7XG4gICAgaWYgKGlzUHJlc2VudChmYWN0b3J5KSkge1xuICAgICAgcmV0dXJuIGZhY3Rvcnk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBCYXNlRXhjZXB0aW9uKGBDYW5ub3QgZmluZCBhIGRpZmZlciBzdXBwb3J0aW5nIG9iamVjdCAnJHtrdn0nYCk7XG4gICAgfVxuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar DefaultKeyValueDifferFactory = (function () {\r\n function DefaultKeyValueDifferFactory() {\r\n }\r\n DefaultKeyValueDifferFactory.prototype.supports = function (obj) { return obj instanceof Map || lang_1.isJsObject(obj); };\r\n DefaultKeyValueDifferFactory.prototype.create = function (cdRef) { return new DefaultKeyValueDiffer(); };\r\n DefaultKeyValueDifferFactory = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], DefaultKeyValueDifferFactory);\r\n return DefaultKeyValueDifferFactory;\r\n}());\r\nexports.DefaultKeyValueDifferFactory = DefaultKeyValueDifferFactory;\r\nvar DefaultKeyValueDiffer = (function () {\r\n function DefaultKeyValueDiffer() {\r\n this._records = new Map();\r\n this._mapHead = null;\r\n this._previousMapHead = null;\r\n this._changesHead = null;\r\n this._changesTail = null;\r\n this._additionsHead = null;\r\n this._additionsTail = null;\r\n this._removalsHead = null;\r\n this._removalsTail = null;\r\n }\r\n Object.defineProperty(DefaultKeyValueDiffer.prototype, \"isDirty\", {\r\n get: function () {\r\n return this._additionsHead !== null || this._changesHead !== null ||\r\n this._removalsHead !== null;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n DefaultKeyValueDiffer.prototype.forEachItem = function (fn) {\r\n var record;\r\n for (record = this._mapHead; record !== null; record = record._next) {\r\n fn(record);\r\n }\r\n };\r\n DefaultKeyValueDiffer.prototype.forEachPreviousItem = function (fn) {\r\n var record;\r\n for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\r\n fn(record);\r\n }\r\n };\r\n DefaultKeyValueDiffer.prototype.forEachChangedItem = function (fn) {\r\n var record;\r\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\r\n fn(record);\r\n }\r\n };\r\n DefaultKeyValueDiffer.prototype.forEachAddedItem = function (fn) {\r\n var record;\r\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\r\n fn(record);\r\n }\r\n };\r\n DefaultKeyValueDiffer.prototype.forEachRemovedItem = function (fn) {\r\n var record;\r\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\r\n fn(record);\r\n }\r\n };\r\n DefaultKeyValueDiffer.prototype.diff = function (map) {\r\n if (lang_1.isBlank(map))\r\n map = collection_1.MapWrapper.createFromPairs([]);\r\n if (!(map instanceof Map || lang_1.isJsObject(map))) {\r\n throw new exceptions_1.BaseException(\"Error trying to diff '\" + map + \"'\");\r\n }\r\n if (this.check(map)) {\r\n return this;\r\n }\r\n else {\r\n return null;\r\n }\r\n };\r\n DefaultKeyValueDiffer.prototype.onDestroy = function () { };\r\n DefaultKeyValueDiffer.prototype.check = function (map) {\r\n var _this = this;\r\n this._reset();\r\n var records = this._records;\r\n var oldSeqRecord = this._mapHead;\r\n var lastOldSeqRecord = null;\r\n var lastNewSeqRecord = null;\r\n var seqChanged = false;\r\n this._forEach(map, function (value, key) {\r\n var newSeqRecord;\r\n if (oldSeqRecord !== null && key === oldSeqRecord.key) {\r\n newSeqRecord = oldSeqRecord;\r\n if (!lang_1.looseIdentical(value, oldSeqRecord.currentValue)) {\r\n oldSeqRecord.previousValue = oldSeqRecord.currentValue;\r\n oldSeqRecord.currentValue = value;\r\n _this._addToChanges(oldSeqRecord);\r\n }\r\n }\r\n else {\r\n seqChanged = true;\r\n if (oldSeqRecord !== null) {\r\n oldSeqRecord._next = null;\r\n _this._removeFromSeq(lastOldSeqRecord, oldSeqRecord);\r\n _this._addToRemovals(oldSeqRecord);\r\n }\r\n if (records.has(key)) {\r\n newSeqRecord = records.get(key);\r\n }\r\n else {\r\n newSeqRecord = new KeyValueChangeRecord(key);\r\n records.set(key, newSeqRecord);\r\n newSeqRecord.currentValue = value;\r\n _this._addToAdditions(newSeqRecord);\r\n }\r\n }\r\n if (seqChanged) {\r\n if (_this._isInRemovals(newSeqRecord)) {\r\n _this._removeFromRemovals(newSeqRecord);\r\n }\r\n if (lastNewSeqRecord == null) {\r\n _this._mapHead = newSeqRecord;\r\n }\r\n else {\r\n lastNewSeqRecord._next = newSeqRecord;\r\n }\r\n }\r\n lastOldSeqRecord = oldSeqRecord;\r\n lastNewSeqRecord = newSeqRecord;\r\n oldSeqRecord = oldSeqRecord === null ? null : oldSeqRecord._next;\r\n });\r\n this._truncate(lastOldSeqRecord, oldSeqRecord);\r\n return this.isDirty;\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._reset = function () {\r\n if (this.isDirty) {\r\n var record;\r\n // Record the state of the mapping\r\n for (record = this._previousMapHead = this._mapHead; record !== null; record = record._next) {\r\n record._nextPrevious = record._next;\r\n }\r\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\r\n record.previousValue = record.currentValue;\r\n }\r\n for (record = this._additionsHead; record != null; record = record._nextAdded) {\r\n record.previousValue = record.currentValue;\r\n }\r\n // todo(vicb) once assert is supported\r\n // assert(() {\r\n // var r = _changesHead;\r\n // while (r != null) {\r\n // var nextRecord = r._nextChanged;\r\n // r._nextChanged = null;\r\n // r = nextRecord;\r\n // }\r\n //\r\n // r = _additionsHead;\r\n // while (r != null) {\r\n // var nextRecord = r._nextAdded;\r\n // r._nextAdded = null;\r\n // r = nextRecord;\r\n // }\r\n //\r\n // r = _removalsHead;\r\n // while (r != null) {\r\n // var nextRecord = r._nextRemoved;\r\n // r._nextRemoved = null;\r\n // r = nextRecord;\r\n // }\r\n //\r\n // return true;\r\n //});\r\n this._changesHead = this._changesTail = null;\r\n this._additionsHead = this._additionsTail = null;\r\n this._removalsHead = this._removalsTail = null;\r\n }\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._truncate = function (lastRecord, record) {\r\n while (record !== null) {\r\n if (lastRecord === null) {\r\n this._mapHead = null;\r\n }\r\n else {\r\n lastRecord._next = null;\r\n }\r\n var nextRecord = record._next;\r\n // todo(vicb) assert\r\n // assert((() {\r\n // record._next = null;\r\n // return true;\r\n //}));\r\n this._addToRemovals(record);\r\n lastRecord = record;\r\n record = nextRecord;\r\n }\r\n for (var rec = this._removalsHead; rec !== null; rec = rec._nextRemoved) {\r\n rec.previousValue = rec.currentValue;\r\n rec.currentValue = null;\r\n this._records.delete(rec.key);\r\n }\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._isInRemovals = function (record) {\r\n return record === this._removalsHead || record._nextRemoved !== null ||\r\n record._prevRemoved !== null;\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._addToRemovals = function (record) {\r\n // todo(vicb) assert\r\n // assert(record._next == null);\r\n // assert(record._nextAdded == null);\r\n // assert(record._nextChanged == null);\r\n // assert(record._nextRemoved == null);\r\n // assert(record._prevRemoved == null);\r\n if (this._removalsHead === null) {\r\n this._removalsHead = this._removalsTail = record;\r\n }\r\n else {\r\n this._removalsTail._nextRemoved = record;\r\n record._prevRemoved = this._removalsTail;\r\n this._removalsTail = record;\r\n }\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._removeFromSeq = function (prev, record) {\r\n var next = record._next;\r\n if (prev === null) {\r\n this._mapHead = next;\r\n }\r\n else {\r\n prev._next = next;\r\n }\r\n // todo(vicb) assert\r\n // assert((() {\r\n // record._next = null;\r\n // return true;\r\n //})());\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._removeFromRemovals = function (record) {\r\n // todo(vicb) assert\r\n // assert(record._next == null);\r\n // assert(record._nextAdded == null);\r\n // assert(record._nextChanged == null);\r\n var prev = record._prevRemoved;\r\n var next = record._nextRemoved;\r\n if (prev === null) {\r\n this._removalsHead = next;\r\n }\r\n else {\r\n prev._nextRemoved = next;\r\n }\r\n if (next === null) {\r\n this._removalsTail = prev;\r\n }\r\n else {\r\n next._prevRemoved = prev;\r\n }\r\n record._prevRemoved = record._nextRemoved = null;\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._addToAdditions = function (record) {\r\n // todo(vicb): assert\r\n // assert(record._next == null);\r\n // assert(record._nextAdded == null);\r\n // assert(record._nextChanged == null);\r\n // assert(record._nextRemoved == null);\r\n // assert(record._prevRemoved == null);\r\n if (this._additionsHead === null) {\r\n this._additionsHead = this._additionsTail = record;\r\n }\r\n else {\r\n this._additionsTail._nextAdded = record;\r\n this._additionsTail = record;\r\n }\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._addToChanges = function (record) {\r\n // todo(vicb) assert\r\n // assert(record._nextAdded == null);\r\n // assert(record._nextChanged == null);\r\n // assert(record._nextRemoved == null);\r\n // assert(record._prevRemoved == null);\r\n if (this._changesHead === null) {\r\n this._changesHead = this._changesTail = record;\r\n }\r\n else {\r\n this._changesTail._nextChanged = record;\r\n this._changesTail = record;\r\n }\r\n };\r\n DefaultKeyValueDiffer.prototype.toString = function () {\r\n var items = [];\r\n var previous = [];\r\n var changes = [];\r\n var additions = [];\r\n var removals = [];\r\n var record;\r\n for (record = this._mapHead; record !== null; record = record._next) {\r\n items.push(lang_1.stringify(record));\r\n }\r\n for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\r\n previous.push(lang_1.stringify(record));\r\n }\r\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\r\n changes.push(lang_1.stringify(record));\r\n }\r\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\r\n additions.push(lang_1.stringify(record));\r\n }\r\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\r\n removals.push(lang_1.stringify(record));\r\n }\r\n return \"map: \" + items.join(', ') + \"\\n\" + \"previous: \" + previous.join(', ') + \"\\n\" +\r\n \"additions: \" + additions.join(', ') + \"\\n\" + \"changes: \" + changes.join(', ') + \"\\n\" +\r\n \"removals: \" + removals.join(', ') + \"\\n\";\r\n };\r\n /** @internal */\r\n DefaultKeyValueDiffer.prototype._forEach = function (obj, fn) {\r\n if (obj instanceof Map) {\r\n obj.forEach(fn);\r\n }\r\n else {\r\n collection_1.StringMapWrapper.forEach(obj, fn);\r\n }\r\n };\r\n return DefaultKeyValueDiffer;\r\n}());\r\nexports.DefaultKeyValueDiffer = DefaultKeyValueDiffer;\r\nvar KeyValueChangeRecord = (function () {\r\n function KeyValueChangeRecord(key) {\r\n this.key = key;\r\n this.previousValue = null;\r\n this.currentValue = null;\r\n /** @internal */\r\n this._nextPrevious = null;\r\n /** @internal */\r\n this._next = null;\r\n /** @internal */\r\n this._nextAdded = null;\r\n /** @internal */\r\n this._nextRemoved = null;\r\n /** @internal */\r\n this._prevRemoved = null;\r\n /** @internal */\r\n this._nextChanged = null;\r\n }\r\n KeyValueChangeRecord.prototype.toString = function () {\r\n return lang_1.looseIdentical(this.previousValue, this.currentValue) ?\r\n lang_1.stringify(this.key) :\r\n (lang_1.stringify(this.key) + '[' + lang_1.stringify(this.previousValue) + '->' +\r\n lang_1.stringify(this.currentValue) + ']');\r\n };\r\n return KeyValueChangeRecord;\r\n}());\r\nexports.KeyValueChangeRecord = KeyValueChangeRecord;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdF9rZXl2YWx1ZV9kaWZmZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9jaGFuZ2VfZGV0ZWN0aW9uL2RpZmZlcnMvZGVmYXVsdF9rZXl2YWx1ZV9kaWZmZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDJCQUEyQyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBQzVFLHFCQUFvRSwwQkFBMEIsQ0FBQyxDQUFBO0FBQy9GLDJCQUE0QixnQ0FBZ0MsQ0FBQyxDQUFBO0FBSzdEO0lBQUE7SUFJQSxDQUFDO0lBSEMsK0NBQVEsR0FBUixVQUFTLEdBQVEsSUFBYSxNQUFNLENBQUMsR0FBRyxZQUFZLEdBQUcsSUFBSSxpQkFBVSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUU3RSw2Q0FBTSxHQUFOLFVBQU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AhPT0gbnVsbDsgcmVjb3JkID0gcmVjb3JkLl9uZXh0KSB7XG4gICAgICAgIHJlY29yZC5fbmV4dFByZXZpb3VzID0gcmVjb3JkLl9uZXh0O1xuICAgICAgfVxuXG4gICAgICBmb3IgKHJlY29yZCA9IHRoaXMuX2NoYW5nZXNIZWFkOyByZWNvcmQgIT09IG51bGw7IHJlY29yZCA9IHJlY29yZC5fbmV4dENoYW5nZWQpIHtcbiAgICAgICAgcmVjb3JkLnByZXZpb3VzVmFsdWUgPSByZWNvcmQuY3VycmVudFZhbHVlO1xuICAgICAgfVxuXG4gICAgICBmb3IgKHJlY29yZCA9IHRoaXMuX2FkZGl0aW9uc0hlYWQ7IHJlY29yZCAhPSBudWxsOyByZWNvcmQgPSByZWNvcmQuX25leHRBZGRlZCkge1xuICAgICAgICByZWNvcmQucHJldmlvdXNWYWx1ZSA9IHJlY29yZC5jdXJyZW50VmFsdWU7XG4gICAgICB9XG5cbiAgICAgIC8vIHRvZG8odmljYikgb25jZSBhc3NlcnQgaXMgc3VwcG9ydGVkXG4gICAgICAvLyBhc3NlcnQoKCkge1xuICAgICAgLy8gIHZhciByID0gX2NoYW5nZXNIZWFkO1xuICAgICAgLy8gIHdoaWxlIChyICE9IG51bGwpIHtcbiAgICAgIC8vICAgIHZhciBuZXh0UmVjb3JkID0gci5fbmV4dENoYW5nZWQ7XG4gICAgICAvLyAgICByLl9uZXh0Q2hhbmdlZCA9IG51bGw7XG4gICAgICAvLyAgICByID0gbmV4dFJlY29yZDtcbiAgICAgIC8vICB9XG4gICAgICAvL1xuICAgICAgLy8gIHIgPSBfYWRkaXRpb25zSGVhZDtcbiAgICAgIC8vICB3aGlsZSAociAhPSBudWxsKSB7XG4gICAgICAvLyAgICB2YXIgbmV4dFJlY29yZCA9IHIuX25leHRBZGRlZDtcbiAgICAgIC8vICAgIHIuX25leHRBZGRlZCA9IG51bGw7XG4gICAgICAvLyAgICByID0gbmV4dFJlY29yZDtcbiAgICAgIC8vICB9XG4gIC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31cblxuICB0b1N0cmluZygpOiBzdHJpbmcge1xuICAgIHJldHVybiBsb29zZUlkZW50aWNhbCh0aGlzLnByZXZpb3VzVmFsdWUsIHRoaXMuY3VycmVudFZhbHVlKSA/XG4gICAgICAgICAgICAgICBzdHJpbmdpZnkodGhpcy5rZXkpIDpcbiAgICAgICAgICAgICAgIChzdHJpbmdpZnkodGhpcy5rZXkpICsgJ1snICsgc3RyaW5naWZ5KHRoaXMucHJldmlvdXNWYWx1ZSkgKyAnLT4nICtcbiAgICAgICAgICAgICAgICBzdHJpbmdpZnkodGhpcy5jdXJyZW50VmFsdWUpICsgJ10nKTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Describes the current state of the change detector.\r\n */\r\n(function (ChangeDetectorState) {\r\n /**\r\n * `NeverChecked` means that the change detector has not been checked yet, and\r\n * initialization methods should be called during detection.\r\n */\r\n ChangeDetectorState[ChangeDetectorState[\"NeverChecked\"] = 0] = \"NeverChecked\";\r\n /**\r\n * `CheckedBefore` means that the change detector has successfully completed at least\r\n * one detection previously.\r\n */\r\n ChangeDetectorState[ChangeDetectorState[\"CheckedBefore\"] = 1] = \"CheckedBefore\";\r\n /**\r\n * `Errored` means that the change detector encountered an error checking a binding\r\n * or calling a directive lifecycle method and is now in an inconsistent state. Change\r\n * detectors in this state will no longer detect changes.\r\n */\r\n ChangeDetectorState[ChangeDetectorState[\"Errored\"] = 2] = \"Errored\";\r\n})(exports.ChangeDetectorState || (exports.ChangeDetectorState = {}));\r\nvar ChangeDetectorState = exports.ChangeDetectorState;\r\n/**\r\n * Describes within the change detector which strategy will be used the next time change\r\n * detection is triggered.\r\n */\r\n(function (ChangeDetectionStrategy) {\r\n /**\r\n * `CheckedOnce` means that after calling detectChanges the mode of the change detector\r\n * will become `Checked`.\r\n */\r\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"CheckOnce\"] = 0] = \"CheckOnce\";\r\n /**\r\n * `Checked` means that the change detector should be skipped until its mode changes to\r\n * `CheckOnce`.\r\n */\r\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Checked\"] = 1] = \"Checked\";\r\n /**\r\n * `CheckAlways` means that after calling detectChanges the mode of the change detector\r\n * will remain `CheckAlways`.\r\n */\r\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"CheckAlways\"] = 2] = \"CheckAlways\";\r\n /**\r\n * `Detached` means that the change detector sub tree is not a part of the main tree and\r\n * should be skipped.\r\n */\r\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Detached\"] = 3] = \"Detached\";\r\n /**\r\n * `OnPush` means that the change detector's mode will be set to `CheckOnce` during hydration.\r\n */\r\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 4] = \"OnPush\";\r\n /**\r\n * `Default` means that the change detector's mode will be set to `CheckAlways` during hydration.\r\n */\r\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 5] = \"Default\";\r\n})(exports.ChangeDetectionStrategy || (exports.ChangeDetectionStrategy = {}));\r\nvar ChangeDetectionStrategy = exports.ChangeDetectionStrategy;\r\n/**\r\n * List of possible {@link ChangeDetectionStrategy} values.\r\n */\r\nexports.CHANGE_DETECTION_STRATEGY_VALUES = [\r\n ChangeDetectionStrategy.CheckOnce,\r\n ChangeDetectionStrategy.Checked,\r\n ChangeDetectionStrategy.CheckAlways,\r\n ChangeDetectionStrategy.Detached,\r\n ChangeDetectionStrategy.OnPush,\r\n ChangeDetectionStrategy.Default\r\n];\r\n/**\r\n * List of possible {@link ChangeDetectorState} values.\r\n */\r\nexports.CHANGE_DETECTOR_STATE_VALUES = [\r\n ChangeDetectorState.NeverChecked,\r\n ChangeDetectorState.CheckedBefore,\r\n ChangeDetectorState.Errored\r\n];\r\nfunction isDefaultChangeDetectionStrategy(changeDetectionStrategy) {\r\n return lang_1.isBlank(changeDetectionStrategy) ||\r\n changeDetectionStrategy === ChangeDetectionStrategy.Default;\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N0aW9uU3RyYXRlZ3kuQ2hlY2tBbHdheXMsXG4gIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LkRldGFjaGVkLFxuICBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LkRlZmF1bHRcbl07XG5cbi8qKlxuICogTGlzdCBvZiBwb3NzaWJsZSB7QGxpbmsgQ2hhbmdlRGV0ZWN0b3JTdGF0ZX0gdmFsdWVzLlxuICovXG5leHBvcnQgdmFyIENIQU5HRV9ERVRFQ1RPUl9TVEFURV9WQUxVRVMgPSBbXG4gIENoYW5nZURldGVjdG9yU3RhdGUuTmV2ZXJDaGVja2VkLFxuICBDaGFuZ2VEZXRlY3RvclN0YXRlLkNoZWNrZWRCZWZvcmUsXG4gIENoYW5nZURldGVjdG9yU3RhdGUuRXJyb3JlZFxuXTtcblxuZXhwb3J0IGZ1bmN0aW9uIGlzRGVmYXVsdENoYW5nZURldGVjdGlvblN0cmF0ZWd5KFxuICAgIGNoYW5nZURldGVjdGlvblN0cmF0ZWd5OiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSk6IGJvb2xlYW4ge1xuICByZXR1cm4gaXNCbGFuayhjaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSkgfHxcbiAgICAgICAgIGNoYW5nZURldGVjdGlvblN0cmF0ZWd5ID09PSBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5EZWZhdWx0O1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar ChangeDetectorRef = (function () {\r\n function ChangeDetectorRef() {\r\n }\r\n return ChangeDetectorRef;\r\n}());\r\nexports.ChangeDetectorRef = ChangeDetectorRef;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlX2RldGVjdG9yX3JlZi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdf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GAsXG4gICAqICAgZGlyZWN0aXZlczogW0xpdmVEYXRhLCBGT1JNX0RJUkVDVElWRVNdXG4gICAqIH0pXG4gICAqIGNsYXNzIEFwcCB7XG4gICAqICAgbGl2ZSA9IHRydWU7XG4gICAqIH1cbiAgICpcbiAgICogYm9vdHN0cmFwKEFwcCk7XG4gICAqIGBgYFxuICAgKi9cbiAgYWJzdHJhY3QgcmVhdHRhY2goKTogdm9pZDtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_2 = require('angular2/src/facade/lang');\r\nexports.looseIdentical = lang_2.looseIdentical;\r\nexports.uninitialized = lang_1.CONST_EXPR(new Object());\r\nfunction devModeEqual(a, b) {\r\n if (collection_1.isListLikeIterable(a) && collection_1.isListLikeIterable(b)) {\r\n return collection_1.areIterablesEqual(a, b, devModeEqual);\r\n }\r\n else if (!collection_1.isListLikeIterable(a) && !lang_1.isPrimitive(a) && !collection_1.isListLikeIterable(b) &&\r\n !lang_1.isPrimitive(b)) {\r\n return true;\r\n }\r\n else {\r\n return lang_1.looseIdentical(a, b);\r\n }\r\n}\r\nexports.devModeEqual = devModeEqual;\r\n/**\r\n * Indicates that the result of a {@link PipeMetadata} transformation has changed even though the\r\n * reference\r\n * has not changed.\r\n *\r\n * The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.\r\n *\r\n * Example:\r\n *\r\n * ```\r\n * if (this._latestValue === this._latestReturnedValue) {\r\n * return this._latestReturnedValue;\r\n * } else {\r\n * this._latestReturnedValue = this._latestValue;\r\n * return WrappedValue.wrap(this._latestValue); // this will force update\r\n * }\r\n * ```\r\n */\r\nvar WrappedValue = (function () {\r\n function WrappedValue(wrapped) {\r\n this.wrapped = wrapped;\r\n }\r\n WrappedValue.wrap = function (value) { return new WrappedValue(value); };\r\n return WrappedValue;\r\n}());\r\nexports.WrappedValue = WrappedValue;\r\n/**\r\n * Helper class for unwrapping WrappedValue s\r\n */\r\nvar ValueUnwrapper = (function () {\r\n function ValueUnwrapper() {\r\n this.hasWrappedValue = false;\r\n }\r\n ValueUnwrapper.prototype.unwrap = function (value) {\r\n if (value instanceof WrappedValue) {\r\n this.hasWrappedValue = true;\r\n return value.wrapped;\r\n }\r\n return value;\r\n };\r\n ValueUnwrapper.prototype.reset = function () { this.hasWrappedValue = false; };\r\n return ValueUnwrapper;\r\n}());\r\nexports.ValueUnwrapper = ValueUnwrapper;\r\n/**\r\n * Represents a basic change from a previous to a new value.\r\n */\r\nvar SimpleChange = (function () {\r\n function SimpleChange(previousValue, currentValue) {\r\n this.previousValue = previousValue;\r\n this.currentValue = currentValue;\r\n }\r\n /**\r\n * Check whether the new value is the first value assigned.\r\n */\r\n SimpleChange.prototype.isFirstChange = function () { return this.previousValue === exports.uninitialized; };\r\n return SimpleChange;\r\n}());\r\nexports.SimpleChange = SimpleChange;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlX2RldGVjdGlvbl91dGlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvY2hhbmdlX2RldGVjdGlvbi9jaGFuZ2VfZGV0ZWN0aW9uX3V0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHFCQUErRCwwQkFBMEIsQ0FBQyxDQUFBO0FBQzFGLDJCQUlPLGdDQUFnQyxDQUFDLENBQUE7QUFFeEMscUJBQTZCLDBCQUEwQixDQUFDO0FBQWhELCtDQUFnRDtBQUM3QyxxQkFBYSxHQUFXLGlCQUFVLENBQVMsSUFBSSxNQUFNLEVBQUUsQ0FBQyxDQUFDO0FBRXBFLHNCQUE2QixDQUFNLEVBQUUsQ0FBTTtJQUN6QyxFQUFF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ocHVibGljIHByZXZpb3VzVmFsdWU6IGFueSwgcHVibGljIGN1cnJlbnRWYWx1ZTogYW55KSB7fVxuXG4gIC8qKlxuICAgKiBDaGVjayB3aGV0aGVyIHRoZSBuZXcgdmFsdWUgaXMgdGhlIGZpcnN0IHZhbHVlIGFzc2lnbmVkLlxuICAgKi9cbiAgaXNGaXJzdENoYW5nZSgpOiBib29sZWFuIHsgcmV0dXJuIHRoaXMucHJldmlvdXNWYWx1ZSA9PT0gdW5pbml0aWFsaXplZDsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar iterable_differs_1 = require('./differs/iterable_differs');\r\nvar default_iterable_differ_1 = require('./differs/default_iterable_differ');\r\nvar keyvalue_differs_1 = require('./differs/keyvalue_differs');\r\nvar default_keyvalue_differ_1 = require('./differs/default_keyvalue_differ');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar default_keyvalue_differ_2 = require('./differs/default_keyvalue_differ');\r\nexports.DefaultKeyValueDifferFactory = default_keyvalue_differ_2.DefaultKeyValueDifferFactory;\r\nexports.KeyValueChangeRecord = default_keyvalue_differ_2.KeyValueChangeRecord;\r\nvar default_iterable_differ_2 = require('./differs/default_iterable_differ');\r\nexports.DefaultIterableDifferFactory = default_iterable_differ_2.DefaultIterableDifferFactory;\r\nexports.CollectionChangeRecord = default_iterable_differ_2.CollectionChangeRecord;\r\nvar constants_1 = require('./constants');\r\nexports.ChangeDetectionStrategy = constants_1.ChangeDetectionStrategy;\r\nexports.CHANGE_DETECTION_STRATEGY_VALUES = constants_1.CHANGE_DETECTION_STRATEGY_VALUES;\r\nexports.ChangeDetectorState = constants_1.ChangeDetectorState;\r\nexports.CHANGE_DETECTOR_STATE_VALUES = constants_1.CHANGE_DETECTOR_STATE_VALUES;\r\nexports.isDefaultChangeDetectionStrategy = constants_1.isDefaultChangeDetectionStrategy;\r\nvar change_detector_ref_1 = require('./change_detector_ref');\r\nexports.ChangeDetectorRef = change_detector_ref_1.ChangeDetectorRef;\r\nvar iterable_differs_2 = require('./differs/iterable_differs');\r\nexports.IterableDiffers = iterable_differs_2.IterableDiffers;\r\nvar keyvalue_differs_2 = require('./differs/keyvalue_differs');\r\nexports.KeyValueDiffers = keyvalue_differs_2.KeyValueDiffers;\r\nvar change_detection_util_1 = require('./change_detection_util');\r\nexports.WrappedValue = change_detection_util_1.WrappedValue;\r\nexports.ValueUnwrapper = change_detection_util_1.ValueUnwrapper;\r\nexports.SimpleChange = change_detection_util_1.SimpleChange;\r\nexports.devModeEqual = change_detection_util_1.devModeEqual;\r\nexports.looseIdentical = change_detection_util_1.looseIdentical;\r\nexports.uninitialized = change_detection_util_1.uninitialized;\r\n/**\r\n * Structural diffing for `Object`s and `Map`s.\r\n */\r\nexports.keyValDiff = lang_1.CONST_EXPR([lang_1.CONST_EXPR(new default_keyvalue_differ_1.DefaultKeyValueDifferFactory())]);\r\n/**\r\n * Structural diffing for `Iterable` types such as `Array`s.\r\n */\r\nexports.iterableDiff = lang_1.CONST_EXPR([lang_1.CONST_EXPR(new default_iterable_differ_1.DefaultIterableDifferFactory())]);\r\nexports.defaultIterableDiffers = lang_1.CONST_EXPR(new iterable_differs_1.IterableDiffers(exports.iterableDiff));\r\nexports.defaultKeyValueDiffers = lang_1.CONST_EXPR(new keyvalue_differs_1.KeyValueDiffers(exports.keyValDiff));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlX2RldGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2NoYW5nZV9kZXRlY3Rpb24vY2hhbmdlX2RldGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsaUNBQXFELDRCQUE0QixDQUFDLENBQUE7QUFDbEYsd0NBQT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JhbCBkaWZmaW5nIGZvciBgSXRlcmFibGVgIHR5cGVzIHN1Y2ggYXMgYEFycmF5YHMuXG4gKi9cbmV4cG9ydCBjb25zdCBpdGVyYWJsZURpZmY6IEl0ZXJhYmxlRGlmZmVyRmFjdG9yeVtdID1cbiAgICBDT05TVF9FWFBSKFtDT05TVF9FWFBSKG5ldyBEZWZhdWx0SXRlcmFibGVEaWZmZXJGYWN0b3J5KCkpXSk7XG5cbmV4cG9ydCBjb25zdCBkZWZhdWx0SXRlcmFibGVEaWZmZXJzID0gQ09OU1RfRVhQUihuZXcgSXRlcmFibGVEaWZmZXJzKGl0ZXJhYmxlRGlmZikpO1xuXG5leHBvcnQgY29uc3QgZGVmYXVsdEtleVZhbHVlRGlmZmVycyA9IENPTlNUX0VYUFIobmV3IEtleVZhbHVlRGlmZmVycyhrZXlWYWxEaWZmKSk7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar RenderComponentType = (function () {\r\n function RenderComponentType(id, templateUrl, slotCount, encapsulation, styles) {\r\n this.id = id;\r\n this.templateUrl = templateUrl;\r\n this.slotCount = slotCount;\r\n this.encapsulation = encapsulation;\r\n this.styles = styles;\r\n }\r\n return RenderComponentType;\r\n}());\r\nexports.RenderComponentType = RenderComponentType;\r\nvar RenderDebugInfo = (function () {\r\n function RenderDebugInfo() {\r\n }\r\n Object.defineProperty(RenderDebugInfo.prototype, \"injector\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderDebugInfo.prototype, \"component\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderDebugInfo.prototype, \"providerTokens\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderDebugInfo.prototype, \"locals\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RenderDebugInfo.prototype, \"source\", {\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return RenderDebugInfo;\r\n}());\r\nexports.RenderDebugInfo = RenderDebugInfo;\r\nvar Renderer = (function () {\r\n function Renderer() {\r\n }\r\n return Renderer;\r\n}());\r\nexports.Renderer = Renderer;\r\n/**\r\n * Injectable service that provides a low-level interface for modifying the UI.\r\n *\r\n * Use this service to bypass Angular's templating and make custom UI changes that can't be\r\n * expressed declaratively. For example if you need to set a property or an attribute whose name is\r\n * not statically known, use {@link #setElementProperty} or {@link #setElementAttribute}\r\n * respectively.\r\n *\r\n * If you are implementing a custom renderer, you must implement this interface.\r\n *\r\n * The default Renderer implementation is `DomRenderer`. Also available is `WebWorkerRenderer`.\r\n */\r\nvar RootRenderer = (function () {\r\n function RootRenderer() {\r\n }\r\n return RootRenderer;\r\n}());\r\nexports.RootRenderer = RootRenderer;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvcmVuZGVyL2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsMkJBQTRCLGdDQUFnQyxDQUFDLENBQUE7QUFJN0Q7SUFDRSw2QkFBbUIsRUFBVSxFQUFTLFdBQW1CLEVBQVMsU0FBaUIsRUFDaEUsYUFBZ0MsRUFBUyxNQUE2QjtRQUR0RSxPQUFFLEdBQUYsRUFBRSxDQUFRO1FBQVMsZ0JBQVcsR0FBWCxXQUFXLENBQVE7UUFBUyxjQUFTLEdBQVQsU0FBUyxDQUFRO1FBQ2hFLGtCQUFhLEdBQW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SBsb3ctbGV2ZWwgaW50ZXJmYWNlIGZvciBtb2RpZnlpbmcgdGhlIFVJLlxuICpcbiAqIFVzZSB0aGlzIHNlcnZpY2UgdG8gYnlwYXNzIEFuZ3VsYXIncyB0ZW1wbGF0aW5nIGFuZCBtYWtlIGN1c3RvbSBVSSBjaGFuZ2VzIHRoYXQgY2FuJ3QgYmVcbiAqIGV4cHJlc3NlZCBkZWNsYXJhdGl2ZWx5LiBGb3IgZXhhbXBsZSBpZiB5b3UgbmVlZCB0byBzZXQgYSBwcm9wZXJ0eSBvciBhbiBhdHRyaWJ1dGUgd2hvc2UgbmFtZSBpc1xuICogbm90IHN0YXRpY2FsbHkga25vd24sIHVzZSB7QGxpbmsgI3NldEVsZW1lbnRQcm9wZXJ0eX0gb3Ige0BsaW5rICNzZXRFbGVtZW50QXR0cmlidXRlfVxuICogcmVzcGVjdGl2ZWx5LlxuICpcbiAqIElmIHlvdSBhcmUgaW1wbGVtZW50aW5nIGEgY3VzdG9tIHJlbmRlcmVyLCB5b3UgbXVzdCBpbXBsZW1lbnQgdGhpcyBpbnRlcmZhY2UuXG4gKlxuICogVGhlIGRlZmF1bHQgUmVuZGVyZXIgaW1wbGVtZW50YXRpb24gaXMgYERvbVJlbmRlcmVyYC4gQWxzbyBhdmFpbGFibGUgaXMgYFdlYldvcmtlclJlbmRlcmVyYC5cbiAqL1xuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgUm9vdFJlbmRlcmVyIHtcbiAgYWJzdHJhY3QgcmVuZGVyQ29tcG9uZW50KGNvbXBvbmVudFR5cGU6IFJlbmRlckNvbXBvbmVudFR5cGUpOiBSZW5kZXJlcjtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar _nextClassId = 0;\r\nfunction extractAnnotation(annotation) {\r\n if (lang_1.isFunction(annotation) && annotation.hasOwnProperty('annotation')) {\r\n // it is a decorator, extract annotation\r\n annotation = annotation.annotation;\r\n }\r\n return annotation;\r\n}\r\nfunction applyParams(fnOrArray, key) {\r\n if (fnOrArray === Object || fnOrArray === String || fnOrArray === Function ||\r\n fnOrArray === Number || fnOrArray === Array) {\r\n throw new Error(\"Can not use native \" + lang_1.stringify(fnOrArray) + \" as constructor\");\r\n }\r\n if (lang_1.isFunction(fnOrArray)) {\r\n return fnOrArray;\r\n }\r\n else if (fnOrArray instanceof Array) {\r\n var annotations = fnOrArray;\r\n var fn = fnOrArray[fnOrArray.length - 1];\r\n if (!lang_1.isFunction(fn)) {\r\n throw new Error(\"Last position of Class method array must be Function in key \" + key + \" was '\" + lang_1.stringify(fn) + \"'\");\r\n }\r\n var annoLength = annotations.length - 1;\r\n if (annoLength != fn.length) {\r\n throw new Error(\"Number of annotations (\" + annoLength + \") does not match number of arguments (\" + fn.length + \") in the function: \" + lang_1.stringify(fn));\r\n }\r\n var paramsAnnotations = [];\r\n for (var i = 0, ii = annotations.length - 1; i < ii; i++) {\r\n var paramAnnotations = [];\r\n paramsAnnotations.push(paramAnnotations);\r\n var annotation = annotations[i];\r\n if (annotation instanceof Array) {\r\n for (var j = 0; j < annotation.length; j++) {\r\n paramAnnotations.push(extractAnnotation(annotation[j]));\r\n }\r\n }\r\n else if (lang_1.isFunction(annotation)) {\r\n paramAnnotations.push(extractAnnotation(annotation));\r\n }\r\n else {\r\n paramAnnotations.push(annotation);\r\n }\r\n }\r\n Reflect.defineMetadata('parameters', paramsAnnotations, fn);\r\n return fn;\r\n }\r\n else {\r\n throw new Error(\"Only Function or Array is supported in Class definition for key '\" + key + \"' is '\" + lang_1.stringify(fnOrArray) + \"'\");\r\n }\r\n}\r\n/**\r\n * Provides a way for expressing ES6 classes with parameter annotations in ES5.\r\n *\r\n * ## Basic Example\r\n *\r\n * ```\r\n * var Greeter = ng.Class({\r\n * constructor: function(name) {\r\n * this.name = name;\r\n * },\r\n *\r\n * greet: function() {\r\n * alert('Hello ' + this.name + '!');\r\n * }\r\n * });\r\n * ```\r\n *\r\n * is equivalent to ES6:\r\n *\r\n * ```\r\n * class Greeter {\r\n * constructor(name) {\r\n * this.name = name;\r\n * }\r\n *\r\n * greet() {\r\n * alert('Hello ' + this.name + '!');\r\n * }\r\n * }\r\n * ```\r\n *\r\n * or equivalent to ES5:\r\n *\r\n * ```\r\n * var Greeter = function (name) {\r\n * this.name = name;\r\n * }\r\n *\r\n * Greeter.prototype.greet = function () {\r\n * alert('Hello ' + this.name + '!');\r\n * }\r\n * ```\r\n *\r\n * ### Example with parameter annotations\r\n *\r\n * ```\r\n * var MyService = ng.Class({\r\n * constructor: [String, [new Query(), QueryList], function(name, queryList) {\r\n * ...\r\n * }]\r\n * });\r\n * ```\r\n *\r\n * is equivalent to ES6:\r\n *\r\n * ```\r\n * class MyService {\r\n * constructor(name: string, @Query() queryList: QueryList) {\r\n * ...\r\n * }\r\n * }\r\n * ```\r\n *\r\n * ### Example with inheritance\r\n *\r\n * ```\r\n * var Shape = ng.Class({\r\n * constructor: (color) {\r\n * this.color = color;\r\n * }\r\n * });\r\n *\r\n * var Square = ng.Class({\r\n * extends: Shape,\r\n * constructor: function(color, size) {\r\n * Shape.call(this, color);\r\n * this.size = size;\r\n * }\r\n * });\r\n * ```\r\n */\r\nfunction Class(clsDef) {\r\n var constructor = applyParams(clsDef.hasOwnProperty('constructor') ? clsDef.constructor : undefined, 'constructor');\r\n var proto = constructor.prototype;\r\n if (clsDef.hasOwnProperty('extends')) {\r\n if (lang_1.isFunction(clsDef.extends)) {\r\n constructor.prototype = proto =\r\n Object.create(clsDef.extends.prototype);\r\n }\r\n else {\r\n throw new Error(\"Class definition 'extends' property must be a constructor function was: \" + lang_1.stringify(clsDef.extends));\r\n }\r\n }\r\n for (var key in clsDef) {\r\n if (key != 'extends' && key != 'prototype' && clsDef.hasOwnProperty(key)) {\r\n proto[key] = applyParams(clsDef[key], key);\r\n }\r\n }\r\n if (this && this.annotations instanceof Array) {\r\n Reflect.defineMetadata('annotations', this.annotations, constructor);\r\n }\r\n if (!constructor['name']) {\r\n constructor['overriddenName'] = \"class\" + _nextClassId++;\r\n }\r\n return constructor;\r\n}\r\nexports.Class = Class;\r\nvar Reflect = lang_1.global.Reflect;\r\n// Throw statement at top-level is disallowed by closure compiler in ES6 input.\r\n// Wrap in an IIFE as a work-around.\r\n(function checkReflect() {\r\n if (!(Reflect && Reflect.getMetadata)) {\r\n throw 'reflect-metadata shim is required when using class decorators';\r\n }\r\n})();\r\nfunction makeDecorator(annotationCls, chainFn) {\r\n if (chainFn === void 0) { chainFn = null; }\r\n function DecoratorFactory(objOrType) {\r\n var annotationInstance = new annotationCls(objOrType);\r\n if (this instanceof annotationCls) {\r\n return annotationInstance;\r\n }\r\n else {\r\n var chainAnnotation = lang_1.isFunction(this) && this.annotations instanceof Array ? this.annotations : [];\r\n chainAnnotation.push(annotationInstance);\r\n var TypeDecorator = function TypeDecorator(cls) {\r\n var annotations = Reflect.getOwnMetadata('annotations', cls);\r\n annotations = annotations || [];\r\n annotations.push(annotationInstance);\r\n Reflect.defineMetadata('annotations', annotations, cls);\r\n return cls;\r\n };\r\n TypeDecorator.annotations = chainAnnotation;\r\n TypeDecorator.Class = Class;\r\n if (chainFn)\r\n chainFn(TypeDecorator);\r\n return TypeDecorator;\r\n }\r\n }\r\n DecoratorFactory.prototype = Object.create(annotationCls.prototype);\r\n return DecoratorFactory;\r\n}\r\nexports.makeDecorator = makeDecorator;\r\nfunction makeParamDecorator(annotationCls) {\r\n function ParamDecoratorFactory() {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i - 0] = arguments[_i];\r\n }\r\n var annotationInstance = Object.create(annotationCls.prototype);\r\n annotationCls.apply(annotationInstance, args);\r\n if (this instanceof annotationCls) {\r\n return annotationInstance;\r\n }\r\n else {\r\n ParamDecorator.annotation = annotationInstance;\r\n return ParamDecorator;\r\n }\r\n function ParamDecorator(cls, unusedKey, index) {\r\n var parameters = Reflect.getMetadata('parameters', cls);\r\n parameters = parameters || [];\r\n // there might be gaps if some in between parameters do not have annotations.\r\n // we pad with nulls.\r\n while (parameters.length <= index) {\r\n parameters.push(null);\r\n }\r\n parameters[index] = parameters[index] || [];\r\n var annotationsForParam = parameters[index];\r\n annotationsForParam.push(annotationInstance);\r\n Reflect.defineMetadata('parameters', parameters, cls);\r\n return cls;\r\n }\r\n }\r\n ParamDecoratorFactory.prototype = Object.create(annotationCls.prototype);\r\n return ParamDecoratorFactory;\r\n}\r\nexports.makeParamDecorator = makeParamDecorator;\r\nfunction makePropDecorator(decoratorCls) {\r\n function PropDecoratorFactory() {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i - 0] = arguments[_i];\r\n }\r\n var decoratorInstance = Object.create(decoratorCls.prototype);\r\n decoratorCls.apply(decoratorInstance, args);\r\n if (this instanceof decoratorCls) {\r\n return decoratorInstance;\r\n }\r\n else {\r\n return function PropDecorator(target, name) {\r\n var meta = Reflect.getOwnMetadata('propMetadata', target.constructor);\r\n meta = meta || {};\r\n meta[name] = meta[name] || [];\r\n meta[name].unshift(decoratorInstance);\r\n Reflect.defineMetadata('propMetadata', meta, target.constructor);\r\n };\r\n }\r\n }\r\n PropDecoratorFactory.prototype = Object.create(decoratorCls.prototype);\r\n return PropDecoratorFactory;\r\n}\r\nexports.makePropDecorator = makePropDecorator;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVjb3JhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL3V0aWwvZGVjb3JhdG9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQWdFLDBCQUEwQixDQUFDLENBQUE7QUFFM0YsSUFBSSxZQUFZLEdBQUcsQ0FBQyxDQUFDO0FBNEVyQiwyQkFB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QuZ2V0T3duTWV0YWRhdGEoJ3Byb3BNZXRhZGF0YScsIHRhcmdldC5jb25zdHJ1Y3Rvcik7XG4gICAgICAgIG1ldGEgPSBtZXRhIHx8IHt9O1xuICAgICAgICBtZXRhW25hbWVdID0gbWV0YVtuYW1lXSB8fCBbXTtcbiAgICAgICAgbWV0YVtuYW1lXS51bnNoaWZ0KGRlY29yYXRvckluc3RhbmNlKTtcbiAgICAgICAgUmVmbGVjdC5kZWZpbmVNZXRhZGF0YSgncHJvcE1ldGFkYXRhJywgbWV0YSwgdGFyZ2V0LmNvbnN0cnVjdG9yKTtcbiAgICAgIH07XG4gICAgfVxuICB9XG4gIFByb3BEZWNvcmF0b3JGYWN0b3J5LnByb3RvdHlwZSA9IE9iamVjdC5jcmVhdGUoZGVjb3JhdG9yQ2xzLnByb3RvdHlwZSk7XG4gIHJldHVybiBQcm9wRGVjb3JhdG9yRmFjdG9yeTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar metadata_1 = require('./metadata');\r\nvar decorators_1 = require('../util/decorators');\r\n/**\r\n * Factory for creating {@link InjectMetadata}.\r\n */\r\nexports.Inject = decorators_1.makeParamDecorator(metadata_1.InjectMetadata);\r\n/**\r\n * Factory for creating {@link OptionalMetadata}.\r\n */\r\nexports.Optional = decorators_1.makeParamDecorator(metadata_1.OptionalMetadata);\r\n/**\r\n * Factory for creating {@link InjectableMetadata}.\r\n */\r\nexports.Injectable = decorators_1.makeDecorator(metadata_1.InjectableMetadata);\r\n/**\r\n * Factory for creating {@link SelfMetadata}.\r\n */\r\nexports.Self = decorators_1.makeParamDecorator(metadata_1.SelfMetadata);\r\n/**\r\n * Factory for creating {@link HostMetadata}.\r\n */\r\nexports.Host = decorators_1.makeParamDecorator(metadata_1.HostMetadata);\r\n/**\r\n * Factory for creating {@link SkipSelfMetadata}.\r\n */\r\nexports.SkipSelf = decorators_1.makeParamDecorator(metadata_1.SkipSelfMetadata);\r\n//# sourceMappingURL=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q6IEhvc3RNZXRhZGF0YUZhY3RvcnkgPSBtYWtlUGFyYW1EZWNvcmF0b3IoSG9zdE1ldGFkYXRhKTtcblxuLyoqXG4gKiBGYWN0b3J5IGZvciBjcmVhdGluZyB7QGxpbmsgU2tpcFNlbGZNZXRhZGF0YX0uXG4gKi9cbmV4cG9ydCB2YXIgU2tpcFNlbGY6IFNraXBTZWxmTWV0YWRhdGFGYWN0b3J5ID0gbWFrZVBhcmFtRGVjb3JhdG9yKFNraXBTZWxmTWV0YWRhdGEpOyJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar _THROW_IF_NOT_FOUND = lang_1.CONST_EXPR(new Object());\r\nexports.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\r\nvar Injector = (function () {\r\n function Injector() {\r\n }\r\n /**\r\n * Retrieves an instance from the injector based on the provided token.\r\n * If not found:\r\n * - Throws {@link NoProviderError} if no `notFoundValue` that is not equal to\r\n * Injector.THROW_IF_NOT_FOUND is given\r\n * - Returns the `notFoundValue` otherwise\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/HeXSHg?p=preview))\r\n *\r\n * ```typescript\r\n * var injector = ReflectiveInjector.resolveAndCreate([\r\n * provide(\"validToken\", {useValue: \"Value\"})\r\n * ]);\r\n * expect(injector.get(\"validToken\")).toEqual(\"Value\");\r\n * expect(() => injector.get(\"invalidToken\")).toThrowError();\r\n * ```\r\n *\r\n * `Injector` returns itself when given `Injector` as a token.\r\n *\r\n * ```typescript\r\n * var injector = ReflectiveInjector.resolveAndCreate([]);\r\n * expect(injector.get(Injector)).toBe(injector);\r\n * ```\r\n */\r\n Injector.prototype.get = function (token, notFoundValue) { return exceptions_1.unimplemented(); };\r\n Injector.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\r\n return Injector;\r\n}());\r\nexports.Injector = Injector;\r\n//# sourceMappingUR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uICAgKlxuICAgKiBgYGB0eXBlc2NyaXB0XG4gICAqIHZhciBpbmplY3RvciA9IFJlZmxlY3RpdmVJbmplY3Rvci5yZXNvbHZlQW5kQ3JlYXRlKFtdKTtcbiAgICogZXhwZWN0KGluamVjdG9yLmdldChJbmplY3RvcikpLnRvQmUoaW5qZWN0b3IpO1xuICAgKiBgYGBcbiAgICovXG4gIGdldCh0b2tlbjogYW55LCBub3RGb3VuZFZhbHVlPzogYW55KTogYW55IHsgcmV0dXJuIHVuaW1wbGVtZW50ZWQoKTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar reflective_provider_1 = require('./reflective_provider');\r\nvar reflective_exceptions_1 = require('./reflective_exceptions');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar reflective_key_1 = require('./reflective_key');\r\nvar metadata_1 = require('./metadata');\r\nvar injector_1 = require('./injector');\r\nvar __unused; // avoid unused import when Type union types are erased\r\n// Threshold for the dynamic version\r\nvar _MAX_CONSTRUCTION_COUNTER = 10;\r\nvar UNDEFINED = lang_1.CONST_EXPR(new Object());\r\nvar ReflectiveProtoInjectorInlineStrategy = (function () {\r\n function ReflectiveProtoInjectorInlineStrategy(protoEI, providers) {\r\n this.provider0 = null;\r\n this.provider1 = null;\r\n this.provider2 = null;\r\n this.provider3 = null;\r\n this.provider4 = null;\r\n this.provider5 = null;\r\n this.provider6 = null;\r\n this.provider7 = null;\r\n this.provider8 = null;\r\n this.provider9 = null;\r\n this.keyId0 = null;\r\n this.keyId1 = null;\r\n this.keyId2 = null;\r\n this.keyId3 = null;\r\n this.keyId4 = null;\r\n this.keyId5 = null;\r\n this.keyId6 = null;\r\n this.keyId7 = null;\r\n this.keyId8 = null;\r\n this.keyId9 = null;\r\n var length = providers.length;\r\n if (length > 0) {\r\n this.provider0 = providers[0];\r\n this.keyId0 = providers[0].key.id;\r\n }\r\n if (length > 1) {\r\n this.provider1 = providers[1];\r\n this.keyId1 = providers[1].key.id;\r\n }\r\n if (length > 2) {\r\n this.provider2 = providers[2];\r\n this.keyId2 = providers[2].key.id;\r\n }\r\n if (length > 3) {\r\n this.provider3 = providers[3];\r\n this.keyId3 = providers[3].key.id;\r\n }\r\n if (length > 4) {\r\n this.provider4 = providers[4];\r\n this.keyId4 = providers[4].key.id;\r\n }\r\n if (length > 5) {\r\n this.provider5 = providers[5];\r\n this.keyId5 = providers[5].key.id;\r\n }\r\n if (length > 6) {\r\n this.provider6 = providers[6];\r\n this.keyId6 = providers[6].key.id;\r\n }\r\n if (length > 7) {\r\n this.provider7 = providers[7];\r\n this.keyId7 = providers[7].key.id;\r\n }\r\n if (length > 8) {\r\n this.provider8 = providers[8];\r\n this.keyId8 = providers[8].key.id;\r\n }\r\n if (length > 9) {\r\n this.provider9 = providers[9];\r\n this.keyId9 = providers[9].key.id;\r\n }\r\n }\r\n ReflectiveProtoInjectorInlineStrategy.prototype.getProviderAtIndex = function (index) {\r\n if (index == 0)\r\n return this.provider0;\r\n if (index == 1)\r\n return this.provider1;\r\n if (index == 2)\r\n return this.provider2;\r\n if (index == 3)\r\n return this.provider3;\r\n if (index == 4)\r\n return this.provider4;\r\n if (index == 5)\r\n return this.provider5;\r\n if (index == 6)\r\n return this.provider6;\r\n if (index == 7)\r\n return this.provider7;\r\n if (index == 8)\r\n return this.provider8;\r\n if (index == 9)\r\n return this.provider9;\r\n throw new reflective_exceptions_1.OutOfBoundsError(index);\r\n };\r\n ReflectiveProtoInjectorInlineStrategy.prototype.createInjectorStrategy = function (injector) {\r\n return new ReflectiveInjectorInlineStrategy(injector, this);\r\n };\r\n return ReflectiveProtoInjectorInlineStrategy;\r\n}());\r\nexports.ReflectiveProtoInjectorInlineStrategy = ReflectiveProtoInjectorInlineStrategy;\r\nvar ReflectiveProtoInjectorDynamicStrategy = (function () {\r\n function ReflectiveProtoInjectorDynamicStrategy(protoInj, providers) {\r\n this.providers = providers;\r\n var len = providers.length;\r\n this.keyIds = collection_1.ListWrapper.createFixedSize(len);\r\n for (var i = 0; i < len; i++) {\r\n this.keyIds[i] = providers[i].key.id;\r\n }\r\n }\r\n ReflectiveProtoInjectorDynamicStrategy.prototype.getProviderAtIndex = function (index) {\r\n if (index < 0 || index >= this.providers.length) {\r\n throw new reflective_exceptions_1.OutOfBoundsError(index);\r\n }\r\n return this.providers[index];\r\n };\r\n ReflectiveProtoInjectorDynamicStrategy.prototype.createInjectorStrategy = function (ei) {\r\n return new ReflectiveInjectorDynamicStrategy(this, ei);\r\n };\r\n return ReflectiveProtoInjectorDynamicStrategy;\r\n}());\r\nexports.ReflectiveProtoInjectorDynamicStrategy = ReflectiveProtoInjectorDynamicStrategy;\r\nvar ReflectiveProtoInjector = (function () {\r\n function ReflectiveProtoInjector(providers) {\r\n this.numberOfProviders = providers.length;\r\n this._strategy = providers.length > _MAX_CONSTRUCTION_COUNTER ?\r\n new ReflectiveProtoInjectorDynamicStrategy(this, providers) :\r\n new ReflectiveProtoInjectorInlineStrategy(this, providers);\r\n }\r\n ReflectiveProtoInjector.fromResolvedProviders = function (providers) {\r\n return new ReflectiveProtoInjector(providers);\r\n };\r\n ReflectiveProtoInjector.prototype.getProviderAtIndex = function (index) {\r\n return this._strategy.getProviderAtIndex(index);\r\n };\r\n return ReflectiveProtoInjector;\r\n}());\r\nexports.ReflectiveProtoInjector = ReflectiveProtoInjector;\r\nvar ReflectiveInjectorInlineStrategy = (function () {\r\n function ReflectiveInjectorInlineStrategy(injector, protoStrategy) {\r\n this.injector = injector;\r\n this.protoStrategy = protoStrategy;\r\n this.obj0 = UNDEFINED;\r\n this.obj1 = UNDEFINED;\r\n this.obj2 = UNDEFINED;\r\n this.obj3 = UNDEFINED;\r\n this.obj4 = UNDEFINED;\r\n this.obj5 = UNDEFINED;\r\n this.obj6 = UNDEFINED;\r\n this.obj7 = UNDEFINED;\r\n this.obj8 = UNDEFINED;\r\n this.obj9 = UNDEFINED;\r\n }\r\n ReflectiveInjectorInlineStrategy.prototype.resetConstructionCounter = function () { this.injector._constructionCounter = 0; };\r\n ReflectiveInjectorInlineStrategy.prototype.instantiateProvider = function (provider) {\r\n return this.injector._new(provider);\r\n };\r\n ReflectiveInjectorInlineStrategy.prototype.getObjByKeyId = function (keyId) {\r\n var p = this.protoStrategy;\r\n var inj = this.injector;\r\n if (p.keyId0 === keyId) {\r\n if (this.obj0 === UNDEFINED) {\r\n this.obj0 = inj._new(p.provider0);\r\n }\r\n return this.obj0;\r\n }\r\n if (p.keyId1 === keyId) {\r\n if (this.obj1 === UNDEFINED) {\r\n this.obj1 = inj._new(p.provider1);\r\n }\r\n return this.obj1;\r\n }\r\n if (p.keyId2 === keyId) {\r\n if (this.obj2 === UNDEFINED) {\r\n this.obj2 = inj._new(p.provider2);\r\n }\r\n return this.obj2;\r\n }\r\n if (p.keyId3 === keyId) {\r\n if (this.obj3 === UNDEFINED) {\r\n this.obj3 = inj._new(p.provider3);\r\n }\r\n return this.obj3;\r\n }\r\n if (p.keyId4 === keyId) {\r\n if (this.obj4 === UNDEFINED) {\r\n this.obj4 = inj._new(p.provider4);\r\n }\r\n return this.obj4;\r\n }\r\n if (p.keyId5 === keyId) {\r\n if (this.obj5 === UNDEFINED) {\r\n this.obj5 = inj._new(p.provider5);\r\n }\r\n return this.obj5;\r\n }\r\n if (p.keyId6 === keyId) {\r\n if (this.obj6 === UNDEFINED) {\r\n this.obj6 = inj._new(p.provider6);\r\n }\r\n return this.obj6;\r\n }\r\n if (p.keyId7 === keyId) {\r\n if (this.obj7 === UNDEFINED) {\r\n this.obj7 = inj._new(p.provider7);\r\n }\r\n return this.obj7;\r\n }\r\n if (p.keyId8 === keyId) {\r\n if (this.obj8 === UNDEFINED) {\r\n this.obj8 = inj._new(p.provider8);\r\n }\r\n return this.obj8;\r\n }\r\n if (p.keyId9 === keyId) {\r\n if (this.obj9 === UNDEFINED) {\r\n this.obj9 = inj._new(p.provider9);\r\n }\r\n return this.obj9;\r\n }\r\n return UNDEFINED;\r\n };\r\n ReflectiveInjectorInlineStrategy.prototype.getObjAtIndex = function (index) {\r\n if (index == 0)\r\n return this.obj0;\r\n if (index == 1)\r\n return this.obj1;\r\n if (index == 2)\r\n return this.obj2;\r\n if (index == 3)\r\n return this.obj3;\r\n if (index == 4)\r\n return this.obj4;\r\n if (index == 5)\r\n return this.obj5;\r\n if (index == 6)\r\n return this.obj6;\r\n if (index == 7)\r\n return this.obj7;\r\n if (index == 8)\r\n return this.obj8;\r\n if (index == 9)\r\n return this.obj9;\r\n throw new reflective_exceptions_1.OutOfBoundsError(index);\r\n };\r\n ReflectiveInjectorInlineStrategy.prototype.getMaxNumberOfObjects = function () { return _MAX_CONSTRUCTION_COUNTER; };\r\n return ReflectiveInjectorInlineStrategy;\r\n}());\r\nexports.ReflectiveInjectorInlineStrategy = ReflectiveInjectorInlineStrategy;\r\nvar ReflectiveInjectorDynamicStrategy = (function () {\r\n function ReflectiveInjectorDynamicStrategy(protoStrategy, injector) {\r\n this.protoStrategy = protoStrategy;\r\n this.injector = injector;\r\n this.objs = collection_1.ListWrapper.createFixedSize(protoStrategy.providers.length);\r\n collection_1.ListWrapper.fill(this.objs, UNDEFINED);\r\n }\r\n ReflectiveInjectorDynamicStrategy.prototype.resetConstructionCounter = function () { this.injector._constructionCounter = 0; };\r\n ReflectiveInjectorDynamicStrategy.prototype.instantiateProvider = function (provider) {\r\n return this.injector._new(provider);\r\n };\r\n ReflectiveInjectorDynamicStrategy.prototype.getObjByKeyId = function (keyId) {\r\n var p = this.protoStrategy;\r\n for (var i = 0; i < p.keyIds.length; i++) {\r\n if (p.keyIds[i] === keyId) {\r\n if (this.objs[i] === UNDEFINED) {\r\n this.objs[i] = this.injector._new(p.providers[i]);\r\n }\r\n return this.objs[i];\r\n }\r\n }\r\n return UNDEFINED;\r\n };\r\n ReflectiveInjectorDynamicStrategy.prototype.getObjAtIndex = function (index) {\r\n if (index < 0 || index >= this.objs.length) {\r\n throw new reflective_exceptions_1.OutOfBoundsError(index);\r\n }\r\n return this.objs[index];\r\n };\r\n ReflectiveInjectorDynamicStrategy.prototype.getMaxNumberOfObjects = function () { return this.objs.length; };\r\n return ReflectiveInjectorDynamicStrategy;\r\n}());\r\nexports.ReflectiveInjectorDynamicStrategy = ReflectiveInjectorDynamicStrategy;\r\n/**\r\n * A ReflectiveDependency injection container used for instantiating objects and resolving\r\n * dependencies.\r\n *\r\n * An `Injector` is a replacement for a `new` operator, which can automatically resolve the\r\n * constructor dependencies.\r\n *\r\n * In typical use, application code asks for the dependencies in the constructor and they are\r\n * resolved by the `Injector`.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/jzjec0?p=preview))\r\n *\r\n * The following example creates an `Injector` configured to create `Engine` and `Car`.\r\n *\r\n * ```typescript\r\n * @Injectable()\r\n * class Engine {\r\n * }\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * constructor(public engine:Engine) {}\r\n * }\r\n *\r\n * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\r\n * var car = injector.get(Car);\r\n * expect(car instanceof Car).toBe(true);\r\n * expect(car.engine instanceof Engine).toBe(true);\r\n * ```\r\n *\r\n * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`\r\n * resolve all of the object's dependencies automatically.\r\n */\r\nvar ReflectiveInjector = (function () {\r\n function ReflectiveInjector() {\r\n }\r\n /**\r\n * Turns an array of provider definitions into an array of resolved providers.\r\n *\r\n * A resolution is a process of flattening multiple nested arrays and converting individual\r\n * providers into an array of {@link ResolvedReflectiveProvider}s.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview))\r\n *\r\n * ```typescript\r\n * @Injectable()\r\n * class Engine {\r\n * }\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * constructor(public engine:Engine) {}\r\n * }\r\n *\r\n * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]);\r\n *\r\n * expect(providers.length).toEqual(2);\r\n *\r\n * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true);\r\n * expect(providers[0].key.displayName).toBe(\"Car\");\r\n * expect(providers[0].dependencies.length).toEqual(1);\r\n * expect(providers[0].factory).toBeDefined();\r\n *\r\n * expect(providers[1].key.displayName).toBe(\"Engine\");\r\n * });\r\n * ```\r\n *\r\n * See {@link ReflectiveInjector#fromResolvedProviders} for more info.\r\n */\r\n ReflectiveInjector.resolve = function (providers) {\r\n return reflective_provider_1.resolveReflectiveProviders(providers);\r\n };\r\n /**\r\n * Resolves an array of providers and creates an injector from those providers.\r\n *\r\n * The passed-in providers can be an array of `Type`, {@link Provider},\r\n * or a recursive array of more providers.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview))\r\n *\r\n * ```typescript\r\n * @Injectable()\r\n * class Engine {\r\n * }\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * constructor(public engine:Engine) {}\r\n * }\r\n *\r\n * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\r\n * expect(injector.get(Car) instanceof Car).toBe(true);\r\n * ```\r\n *\r\n * This function is slower than the corresponding `fromResolvedProviders`\r\n * because it needs to resolve the passed-in providers first.\r\n * See {@link Injector#resolve} and {@link Injector#fromResolvedProviders}.\r\n */\r\n ReflectiveInjector.resolveAndCreate = function (providers, parent) {\r\n if (parent === void 0) { parent = null; }\r\n var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\r\n return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);\r\n };\r\n /**\r\n * Creates an injector from previously resolved providers.\r\n *\r\n * This API is the recommended way to construct injectors in performance-sensitive parts.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview))\r\n *\r\n * ```typescript\r\n * @Injectable()\r\n * class Engine {\r\n * }\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * constructor(public engine:Engine) {}\r\n * }\r\n *\r\n * var providers = ReflectiveInjector.resolve([Car, Engine]);\r\n * var injector = ReflectiveInjector.fromResolvedProviders(providers);\r\n * expect(injector.get(Car) instanceof Car).toBe(true);\r\n * ```\r\n */\r\n ReflectiveInjector.fromResolvedProviders = function (providers, parent) {\r\n if (parent === void 0) { parent = null; }\r\n return new ReflectiveInjector_(ReflectiveProtoInjector.fromResolvedProviders(providers), parent);\r\n };\r\n /**\r\n * @deprecated\r\n */\r\n ReflectiveInjector.fromResolvedBindings = function (providers) {\r\n return ReflectiveInjector.fromResolvedProviders(providers);\r\n };\r\n Object.defineProperty(ReflectiveInjector.prototype, \"parent\", {\r\n /**\r\n * Parent of this injector.\r\n *\r\n * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\r\n * -->\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/eosMGo?p=preview))\r\n *\r\n * ```typescript\r\n * var parent = ReflectiveInjector.resolveAndCreate([]);\r\n * var child = parent.resolveAndCreateChild([]);\r\n * expect(child.parent).toBe(parent);\r\n * ```\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * @internal\r\n */\r\n ReflectiveInjector.prototype.debugContext = function () { return null; };\r\n /**\r\n * Resolves an array of providers and creates a child injector from those providers.\r\n *\r\n * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\r\n * -->\r\n *\r\n * The passed-in providers can be an array of `Type`, {@link Provider},\r\n * or a recursive array of more providers.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/opB3T4?p=preview))\r\n *\r\n * ```typescript\r\n * class ParentProvider {}\r\n * class ChildProvider {}\r\n *\r\n * var parent = ReflectiveInjector.resolveAndCreate([ParentProvider]);\r\n * var child = parent.resolveAndCreateChild([ChildProvider]);\r\n *\r\n * expect(child.get(ParentProvider) instanceof ParentProvider).toBe(true);\r\n * expect(child.get(ChildProvider) instanceof ChildProvider).toBe(true);\r\n * expect(child.get(ParentProvider)).toBe(parent.get(ParentProvider));\r\n * ```\r\n *\r\n * This function is slower than the corresponding `createChildFromResolved`\r\n * because it needs to resolve the passed-in providers first.\r\n * See {@link Injector#resolve} and {@link Injector#createChildFromResolved}.\r\n */\r\n ReflectiveInjector.prototype.resolveAndCreateChild = function (providers) {\r\n return exceptions_1.unimplemented();\r\n };\r\n /**\r\n * Creates a child injector from previously resolved providers.\r\n *\r\n * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\r\n * -->\r\n *\r\n * This API is the recommended way to construct injectors in performance-sensitive parts.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/VhyfjN?p=preview))\r\n *\r\n * ```typescript\r\n * class ParentProvider {}\r\n * class ChildProvider {}\r\n *\r\n * var parentProviders = ReflectiveInjector.resolve([ParentProvider]);\r\n * var childProviders = ReflectiveInjector.resolve([ChildProvider]);\r\n *\r\n * var parent = ReflectiveInjector.fromResolvedProviders(parentProviders);\r\n * var child = parent.createChildFromResolved(childProviders);\r\n *\r\n * expect(child.get(ParentProvider) instanceof ParentProvider).toBe(true);\r\n * expect(child.get(ChildProvider) instanceof ChildProvider).toBe(true);\r\n * expect(child.get(ParentProvider)).toBe(parent.get(ParentProvider));\r\n * ```\r\n */\r\n ReflectiveInjector.prototype.createChildFromResolved = function (providers) {\r\n return exceptions_1.unimplemented();\r\n };\r\n /**\r\n * Resolves a provider and instantiates an object in the context of the injector.\r\n *\r\n * The created object does not get cached by the injector.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/yvVXoB?p=preview))\r\n *\r\n * ```typescript\r\n * @Injectable()\r\n * class Engine {\r\n * }\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * constructor(public engine:Engine) {}\r\n * }\r\n *\r\n * var injector = ReflectiveInjector.resolveAndCreate([Engine]);\r\n *\r\n * var car = injector.resolveAndInstantiate(Car);\r\n * expect(car.engine).toBe(injector.get(Engine));\r\n * expect(car).not.toBe(injector.resolveAndInstantiate(Car));\r\n * ```\r\n */\r\n ReflectiveInjector.prototype.resolveAndInstantiate = function (provider) { return exceptions_1.unimplemented(); };\r\n /**\r\n * Instantiates an object using a resolved provider in the context of the injector.\r\n *\r\n * The created object does not get cached by the injector.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/ptCImQ?p=preview))\r\n *\r\n * ```typescript\r\n * @Injectable()\r\n * class Engine {\r\n * }\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * constructor(public engine:Engine) {}\r\n * }\r\n *\r\n * var injector = ReflectiveInjector.resolveAndCreate([Engine]);\r\n * var carProvider = ReflectiveInjector.resolve([Car])[0];\r\n * var car = injector.instantiateResolved(carProvider);\r\n * expect(car.engine).toBe(injector.get(Engine));\r\n * expect(car).not.toBe(injector.instantiateResolved(carProvider));\r\n * ```\r\n */\r\n ReflectiveInjector.prototype.instantiateResolved = function (provider) { return exceptions_1.unimplemented(); };\r\n return ReflectiveInjector;\r\n}());\r\nexports.ReflectiveInjector = ReflectiveInjector;\r\nvar ReflectiveInjector_ = (function () {\r\n /**\r\n * Private\r\n */\r\n function ReflectiveInjector_(_proto /* ProtoInjector */, _parent, _debugContext) {\r\n if (_parent === void 0) { _parent = null; }\r\n if (_debugContext === void 0) { _debugContext = null; }\r\n this._debugContext = _debugContext;\r\n /** @internal */\r\n this._constructionCounter = 0;\r\n this._proto = _proto;\r\n this._parent = _parent;\r\n this._strategy = _proto._strategy.createInjectorStrategy(this);\r\n }\r\n /**\r\n * @internal\r\n */\r\n ReflectiveInjector_.prototype.debugContext = function () { return this._debugContext(); };\r\n ReflectiveInjector_.prototype.get = function (token, notFoundValue) {\r\n if (notFoundValue === void 0) { notFoundValue = injector_1.THROW_IF_NOT_FOUND; }\r\n return this._getByKey(reflective_key_1.ReflectiveKey.get(token), null, null, notFoundValue);\r\n };\r\n ReflectiveInjector_.prototype.getAt = function (index) { return this._strategy.getObjAtIndex(index); };\r\n Object.defineProperty(ReflectiveInjector_.prototype, \"parent\", {\r\n get: function () { return this._parent; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ReflectiveInjector_.prototype, \"internalStrategy\", {\r\n /**\r\n * @internal\r\n * Internal. Do not use.\r\n * We return `any` not to export the InjectorStrategy type.\r\n */\r\n get: function () { return this._strategy; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ReflectiveInjector_.prototype.resolveAndCreateChild = function (providers) {\r\n var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\r\n return this.createChildFromResolved(ResolvedReflectiveProviders);\r\n };\r\n ReflectiveInjector_.prototype.createChildFromResolved = function (providers) {\r\n var proto = new ReflectiveProtoInjector(providers);\r\n var inj = new ReflectiveInjector_(proto);\r\n inj._parent = this;\r\n return inj;\r\n };\r\n ReflectiveInjector_.prototype.resolveAndInstantiate = function (provider) {\r\n return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);\r\n };\r\n ReflectiveInjector_.prototype.instantiateResolved = function (provider) {\r\n return this._instantiateProvider(provider);\r\n };\r\n /** @internal */\r\n ReflectiveInjector_.prototype._new = function (provider) {\r\n if (this._constructionCounter++ > this._strategy.getMaxNumberOfObjects()) {\r\n throw new reflective_exceptions_1.CyclicDependencyError(this, provider.key);\r\n }\r\n return this._instantiateProvider(provider);\r\n };\r\n ReflectiveInjector_.prototype._instantiateProvider = function (provider) {\r\n if (provider.multiProvider) {\r\n var res = collection_1.ListWrapper.createFixedSize(provider.resolvedFactories.length);\r\n for (var i = 0; i < provider.resolvedFactories.length; ++i) {\r\n res[i] = this._instantiate(provider, provider.resolvedFactories[i]);\r\n }\r\n return res;\r\n }\r\n else {\r\n return this._instantiate(provider, provider.resolvedFactories[0]);\r\n }\r\n };\r\n ReflectiveInjector_.prototype._instantiate = function (provider, ResolvedReflectiveFactory) {\r\n var factory = ResolvedReflectiveFactory.factory;\r\n var deps = ResolvedReflectiveFactory.dependencies;\r\n var length = deps.length;\r\n var d0;\r\n var d1;\r\n var d2;\r\n var d3;\r\n var d4;\r\n var d5;\r\n var d6;\r\n var d7;\r\n var d8;\r\n var d9;\r\n var d10;\r\n var d11;\r\n var d12;\r\n var d13;\r\n var d14;\r\n var d15;\r\n var d16;\r\n var d17;\r\n var d18;\r\n var d19;\r\n try {\r\n d0 = length > 0 ? this._getByReflectiveDependency(provider, deps[0]) : null;\r\n d1 = length > 1 ? this._getByReflectiveDependency(provider, deps[1]) : null;\r\n d2 = length > 2 ? this._getByReflectiveDependency(provider, deps[2]) : null;\r\n d3 = length > 3 ? this._getByReflectiveDependency(provider, deps[3]) : null;\r\n d4 = length > 4 ? this._getByReflectiveDependency(provider, deps[4]) : null;\r\n d5 = length > 5 ? this._getByReflectiveDependency(provider, deps[5]) : null;\r\n d6 = length > 6 ? this._getByReflectiveDependency(provider, deps[6]) : null;\r\n d7 = length > 7 ? this._getByReflectiveDependency(provider, deps[7]) : null;\r\n d8 = length > 8 ? this._getByReflectiveDependency(provider, deps[8]) : null;\r\n d9 = length > 9 ? this._getByReflectiveDependency(provider, deps[9]) : null;\r\n d10 = length > 10 ? this._getByReflectiveDependency(provider, deps[10]) : null;\r\n d11 = length > 11 ? this._getByReflectiveDependency(provider, deps[11]) : null;\r\n d12 = length > 12 ? this._getByReflectiveDependency(provider, deps[12]) : null;\r\n d13 = length > 13 ? this._getByReflectiveDependency(provider, deps[13]) : null;\r\n d14 = length > 14 ? this._getByReflectiveDependency(provider, deps[14]) : null;\r\n d15 = length > 15 ? this._getByReflectiveDependency(provider, deps[15]) : null;\r\n d16 = length > 16 ? this._getByReflectiveDependency(provider, deps[16]) : null;\r\n d17 = length > 17 ? this._getByReflectiveDependency(provider, deps[17]) : null;\r\n d18 = length > 18 ? this._getByReflectiveDependency(provider, deps[18]) : null;\r\n d19 = length > 19 ? this._getByReflectiveDependency(provider, deps[19]) : null;\r\n }\r\n catch (e) {\r\n if (e instanceof reflective_exceptions_1.AbstractProviderError || e instanceof reflective_exceptions_1.InstantiationError) {\r\n e.addKey(this, provider.key);\r\n }\r\n throw e;\r\n }\r\n var obj;\r\n try {\r\n switch (length) {\r\n case 0:\r\n obj = factory();\r\n break;\r\n case 1:\r\n obj = factory(d0);\r\n break;\r\n case 2:\r\n obj = factory(d0, d1);\r\n break;\r\n case 3:\r\n obj = factory(d0, d1, d2);\r\n break;\r\n case 4:\r\n obj = factory(d0, d1, d2, d3);\r\n break;\r\n case 5:\r\n obj = factory(d0, d1, d2, d3, d4);\r\n break;\r\n case 6:\r\n obj = factory(d0, d1, d2, d3, d4, d5);\r\n break;\r\n case 7:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6);\r\n break;\r\n case 8:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7);\r\n break;\r\n case 9:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8);\r\n break;\r\n case 10:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9);\r\n break;\r\n case 11:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10);\r\n break;\r\n case 12:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11);\r\n break;\r\n case 13:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12);\r\n break;\r\n case 14:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13);\r\n break;\r\n case 15:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14);\r\n break;\r\n case 16:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15);\r\n break;\r\n case 17:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16);\r\n break;\r\n case 18:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17);\r\n break;\r\n case 19:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18);\r\n break;\r\n case 20:\r\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19);\r\n break;\r\n default:\r\n throw new exceptions_1.BaseException(\"Cannot instantiate '\" + provider.key.displayName + \"' because it has more than 20 dependencies\");\r\n }\r\n }\r\n catch (e) {\r\n throw new reflective_exceptions_1.InstantiationError(this, e, e.stack, provider.key);\r\n }\r\n return obj;\r\n };\r\n ReflectiveInjector_.prototype._getByReflectiveDependency = function (provider, dep) {\r\n return this._getByKey(dep.key, dep.lowerBoundVisibility, dep.upperBoundVisibility, dep.optional ? null : injector_1.THROW_IF_NOT_FOUND);\r\n };\r\n ReflectiveInjector_.prototype._getByKey = function (key, lowerBoundVisibility, upperBoundVisibility, notFoundValue) {\r\n if (key === INJECTOR_KEY) {\r\n return this;\r\n }\r\n if (upperBoundVisibility instanceof metadata_1.SelfMetadata) {\r\n return this._getByKeySelf(key, notFoundValue);\r\n }\r\n else {\r\n return this._getByKeyDefault(key, notFoundValue, lowerBoundVisibility);\r\n }\r\n };\r\n /** @internal */\r\n ReflectiveInjector_.prototype._throwOrNull = function (key, notFoundValue) {\r\n if (notFoundValue !== injector_1.THROW_IF_NOT_FOUND) {\r\n return notFoundValue;\r\n }\r\n else {\r\n throw new reflective_exceptions_1.NoProviderError(this, key);\r\n }\r\n };\r\n /** @internal */\r\n ReflectiveInjector_.prototype._getByKeySelf = function (key, notFoundValue) {\r\n var obj = this._strategy.getObjByKeyId(key.id);\r\n return (obj !== UNDEFINED) ? obj : this._throwOrNull(key, notFoundValue);\r\n };\r\n /** @internal */\r\n ReflectiveInjector_.prototype._getByKeyDefault = function (key, notFoundValue, lowerBoundVisibility) {\r\n var inj;\r\n if (lowerBoundVisibility instanceof metadata_1.SkipSelfMetadata) {\r\n inj = this._parent;\r\n }\r\n else {\r\n inj = this;\r\n }\r\n while (inj instanceof ReflectiveInjector_) {\r\n var inj_ = inj;\r\n var obj = inj_._strategy.getObjByKeyId(key.id);\r\n if (obj !== UNDEFINED)\r\n return obj;\r\n inj = inj_._parent;\r\n }\r\n if (inj !== null) {\r\n return inj.get(key.token, notFoundValue);\r\n }\r\n else {\r\n return this._throwOrNull(key, notFoundValue);\r\n }\r\n };\r\n Object.defineProperty(ReflectiveInjector_.prototype, \"displayName\", {\r\n get: function () {\r\n return \"ReflectiveInjector(providers: [\" + _mapProviders(this, function (b) { return (\" \\\"\" + b.key.displayName + \"\\\" \"); }).join(\", \") + \"])\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ReflectiveInjector_.prototype.toString = function () { return this.displayName; };\r\n return ReflectiveInjector_;\r\n}());\r\nexports.ReflectiveInjector_ = ReflectiveInjector_;\r\nvar INJECTOR_KEY = reflective_key_1.ReflectiveKey.get(injector_1.Injector);\r\nfunction _mapProviders(injector, fn) {\r\n var res = [];\r\n for (var i = 0; i < injector._proto.numberOfProviders; ++i) {\r\n res.push(fn(injector._proto.getProviderAtIndex(i)));\r\n }\r\n return res;\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmbGVjdGl2ZV9pbmplY3Rvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2RpL3JlZmxlY3RpdmVfaW5qZWN0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDJCQUEyQyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBRTVFLG9DQUtPLHVCQUF1QixDQUFDLENBQUE7QUFDL0Isc0NBT08seUJBQXlCLENBQUMsQ0FBQTtBQUNqQyxxQkFBMEMsMEJBQTBCLENBQUMsQ0FBQTtBQUNyRSwyQkFBMkMsZ0NBQWdDLENBQUMsQ0FBQTtBQUM1RSwrQkFBNEIsa0JBQWtCLENBQUMsQ0FBQTtBQUMvQyx5QkFBMkQsWUF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Mub2JqMCA9IGluai5fbmV3KHAucHJvdmlkZXIwKTtcbiAgICAgIH1cbiAgICAgIHJldHVybiB0aGlzLm9iajA7XG4gICAgfVxuICAgIGlmIChwLmtleUlkMSA9PT0ga2V5SWQpIHtcbiAgICAgIGlmICh0aGlzLm9iajEgPT09IFVOREVGSU5FRCkge1xuICAgICAgICB0aGlzLm9iajEgPSBpbmouX25ldyhwLnByb3ZpZGVyMSk7XG4gICAgICB9XG4gICAgICByZXR1cm4gdGhpcy5vYmoxO1xuICAgIH1cbiAgICBpZiAocC5rZXlJZDIgPT09IGtleUlkKSB7XG4gICAgICBpZiAodGhpcy5vYmoyID09PSBVTkRFRklORUQpIHtcbiAgICAgICAgdGhpcy5vYmoyID0gaW5qLl9uZXcocC5wcm92aWRlcjIpO1xuICAgICAgfVxuICAgICAgcmV0dXJuIHRoaXMub2JqMjtcbiAgICB9XG4gICAgaWYgKHAua2V5SWQzID09PSBrZXlJZCkge1xuICAgICAgaWYgKHRoaXMub2JqMyA9PT0gVU5ERUZJTkVEKSB7XG4gICAgICAgIHRoaXMub2JqMyA9IGluai5fbmV3KHAucHJvdmlkZXIzKTtcbiAgICAgIH1cbiAgICAgIHJldHVybiB0aGlzLm9iajM7XG4gICAgfVxuICAgIGlmIChwLmtleUlkNCA9PT0ga2V5SWQpIHtcbiAgICAgIGlmICh0aGlzLm9iajQgPT09IFVOREVGSU5FRCkge1xuICAgICAgICB0aGlzLm9iajQgPSBpbmouX25ldyhwLnByb3ZpZGVyNCk7XG4gICAgICB9XG4gICAgICByZXR1cm4gdGhpcy5vYmo0O1xuICAgIH1cbiAgICBpZiAocC5rZXlJZDUgPT09IGtleUlkKSB7XG4gICAgICBpZiAodGhpcy5vYmo1ID09PSBVTkRFRklORUQpIHtcbiAgICAgICAgdGhpcy5vYmo1ID0gaW5qLl9uZXcocC5wcm92aWRlcjUpO1xuICAgICAgfVxuICAgICAgcmV0dXJuIHRoaXMub2JqNTtcbiAgICB9XG4gICAgaWYgKHAua2V5SWQ2ID09PSBrZXlJZCkge1xuICAgICAgaWYgKHRoaXMub2JqNiA9PT0gVU5ERUZJTkVEKSB7XG4gICAgICAgIHRoaXMub2JqNiA9IGluai5fbmV3KHAucHJvdmlkZXI2KTtcbiAgICAgIH1cbiAgICAgIHJldHVybiB0aGlzLm9iajY7XG4gICAgfVxuICAgIGlmIChwLmtleUlkNyA9PT0ga2V5SWQpIHtcbiAgICAgIGlmICh0aGlzLm9iajcgPT09IFVOREVGSU5FRCkge1xuICAgICAgICB0aGlzLm9iajcgPSBpbmouX25ldyhwLnByb3ZpZGVyNyk7XG4gICAgICB9XG4gICAgICByZXR1cm4gdGhpcy5vYmo3O1xuICAgIH1cbiAgICBpZiAocC5rZXlJZDggPT09IGtleUlkKSB7XG4gICAgICBpZiAodGhpcy5vYmo4ID09PSBVTkRFRklORUQpIHtcbiAgICAgICAgdGhpcy5vYmo4ID0gaW5qLl9uZXcocC5wcm92aWRlcjgpO1xuICAgICAgfVxuICAgICAgcmV0dXJuIHRoaXMub2JqODtcbiAgICB9XG4gICAgaWYgKHAua2V5SWQ5ID09PSBrZXlJZCkge1xuICAgICAgaWYgKHRoaXMub2JqOSA9PT0gVU5ERUZJTkVEKSB7XG4gICAgICAgIHRoaXMub2JqOSA9IGluai5fbmV3KHAucHJvdmlkZXI5KTtcbiAgICAgIH1cbiAgICAgIHJldHVybiB0aGlzLm9iajk7XG4gICAgfVxuXG4gICAgcmV0dXJuIFVOREVGSU5FRDtcbiAgfVxuXG4gIGdldE9iakF0SW5kZXgoaW5kZXg6IG51bWJlcik6IGFueSB7XG4gICAgaWYgKGluZGV4ID09IDApIHJldHVybiB0aGlzLm9iajA7XG4gICAgaWYgKGluZGV4ID09IDEpIHJldHVybiB0aGlzLm9iajE7XG4gICAgaWYgKGluZGV4ID09IDIpIHJldHVybiB0aGlzLm9iajI7XG4gICAgaWYgKGluZGV4ID09IDMpIHJldHVybiB0aGlzLm9iajM7XG4gICAgaWYgKGluZGV4ID09IDQpIH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9XG5cbiAgdG9TdHJpbmcoKTogc3RyaW5nIHsgcmV0dXJuIHRoaXMuZGlzcGxheU5hbWU7IH1cbn1cblxudmFyIElOSkVDVE9SX0tFWSA9IFJlZmxlY3RpdmVLZXkuZ2V0KEluamVjdG9yKTtcblxuZnVuY3Rpb24gX21hcFByb3ZpZGVycyhpbmplY3RvcjogUmVmbGVjdGl2ZUluamVjdG9yXywgZm46IEZ1bmN0aW9uKTogYW55W10ge1xuICB2YXIgcmVzID0gW107XG4gIGZvciAodmFyIGkgPSAwOyBpIDwgaW5qZWN0b3IuX3Byb3RvLm51bWJlck9mUHJvdmlkZXJzOyArK2kpIHtcbiAgICByZXMucHVzaChmbihpbmplY3Rvci5fcHJvdG8uZ2V0UHJvdmlkZXJBdEluZGV4KGkpKSk7XG4gIH1cbiAgcmV0dXJuIHJlcztcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require(\"angular2/src/facade/lang\");\r\n/**\r\n * A parameter metadata that specifies a dependency.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/6uHYJK?p=preview))\r\n *\r\n * ```typescript\r\n * class Engine {}\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * engine;\r\n * constructor(@Inject(\"MyEngine\") engine:Engine) {\r\n * this.engine = engine;\r\n * }\r\n * }\r\n *\r\n * var injector = Injector.resolveAndCreate([\r\n * provide(\"MyEngine\", {useClass: Engine}),\r\n * Car\r\n * ]);\r\n *\r\n * expect(injector.get(Car).engine instanceof Engine).toBe(true);\r\n * ```\r\n *\r\n * When `@Inject()` is not present, {@link Injector} will use the type annotation of the parameter.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * class Engine {}\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * constructor(public engine: Engine) {} //same as constructor(@Inject(Engine) engine:Engine)\r\n * }\r\n *\r\n * var injector = Injector.resolveAndCreate([Engine, Car]);\r\n * expect(injector.get(Car).engine instanceof Engine).toBe(true);\r\n * ```\r\n */\r\nvar InjectMetadata = (function () {\r\n function InjectMetadata(token) {\r\n this.token = token;\r\n }\r\n InjectMetadata.prototype.toString = function () { return \"@Inject(\" + lang_1.stringify(this.token) + \")\"; };\r\n InjectMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object])\r\n ], InjectMetadata);\r\n return InjectMetadata;\r\n}());\r\nexports.InjectMetadata = InjectMetadata;\r\n/**\r\n * A parameter metadata that marks a dependency as optional. {@link Injector} provides `null` if\r\n * the dependency is not found.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/AsryOm?p=preview))\r\n *\r\n * ```typescript\r\n * class Engine {}\r\n *\r\n * @Injectable()\r\n * class Car {\r\n * engine;\r\n * constructor(@Optional() engine:Engine) {\r\n * this.engine = engine;\r\n * }\r\n * }\r\n *\r\n * var injector = Injector.resolveAndCreate([Car]);\r\n * expect(injector.get(Car).engine).toBeNull();\r\n * ```\r\n */\r\nvar OptionalMetadata = (function () {\r\n function OptionalMetadata() {\r\n }\r\n OptionalMetadata.prototype.toString = function () { return \"@Optional()\"; };\r\n OptionalMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], OptionalMetadata);\r\n return OptionalMetadata;\r\n}());\r\nexports.OptionalMetadata = OptionalMetadata;\r\n/**\r\n * `DependencyMetadata` is used by the framework to extend DI.\r\n * This is internal to Angular and should not be used directly.\r\n */\r\nvar DependencyMetadata = (function () {\r\n function DependencyMetadata() {\r\n }\r\n Object.defineProperty(DependencyMetadata.prototype, \"token\", {\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n DependencyMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], DependencyMetadata);\r\n return DependencyMetadata;\r\n}());\r\nexports.DependencyMetadata = DependencyMetadata;\r\n/**\r\n * A marker metadata that marks a class as available to {@link Injector} for creation.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/Wk4DMQ?p=preview))\r\n *\r\n * ```typescript\r\n * @Injectable()\r\n * class UsefulService {}\r\n *\r\n * @Injectable()\r\n * class NeedsService {\r\n * constructor(public service:UsefulService) {}\r\n * }\r\n *\r\n * var injector = Injector.resolveAndCreate([NeedsService, UsefulService]);\r\n * expect(injector.get(NeedsService).service instanceof UsefulService).toBe(true);\r\n * ```\r\n * {@link Injector} will throw {@link NoAnnotationError} when trying to instantiate a class that\r\n * does not have `@Injectable` marker, as shown in the example below.\r\n *\r\n * ```typescript\r\n * class UsefulService {}\r\n *\r\n * class NeedsService {\r\n * constructor(public service:UsefulService) {}\r\n * }\r\n *\r\n * var injector = Injector.resolveAndCreate([NeedsService, UsefulService]);\r\n * expect(() => injector.get(NeedsService)).toThrowError();\r\n * ```\r\n */\r\nvar InjectableMetadata = (function () {\r\n function InjectableMetadata() {\r\n }\r\n InjectableMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], InjectableMetadata);\r\n return InjectableMetadata;\r\n}());\r\nexports.InjectableMetadata = InjectableMetadata;\r\n/**\r\n * Specifies that an {@link Injector} should retrieve a dependency only from itself.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/NeagAg?p=preview))\r\n *\r\n * ```typescript\r\n * class Dependency {\r\n * }\r\n *\r\n * @Injectable()\r\n * class NeedsDependency {\r\n * dependency;\r\n * constructor(@Self() dependency:Dependency) {\r\n * this.dependency = dependency;\r\n * }\r\n * }\r\n *\r\n * var inj = Injector.resolveAndCreate([Dependency, NeedsDependency]);\r\n * var nd = inj.get(NeedsDependency);\r\n *\r\n * expect(nd.dependency instanceof Dependency).toBe(true);\r\n *\r\n * var inj = Injector.resolveAndCreate([Dependency]);\r\n * var child = inj.resolveAndCreateChild([NeedsDependency]);\r\n * expect(() => child.get(NeedsDependency)).toThrowError();\r\n * ```\r\n */\r\nvar SelfMetadata = (function () {\r\n function SelfMetadata() {\r\n }\r\n SelfMetadata.prototype.toString = function () { return \"@Self()\"; };\r\n SelfMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], SelfMetadata);\r\n return SelfMetadata;\r\n}());\r\nexports.SelfMetadata = SelfMetadata;\r\n/**\r\n * Specifies that the dependency resolution should start from the parent injector.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/Wchdzb?p=preview))\r\n *\r\n * ```typescript\r\n * class Dependency {\r\n * }\r\n *\r\n * @Injectable()\r\n * class NeedsDependency {\r\n * dependency;\r\n * constructor(@SkipSelf() dependency:Dependency) {\r\n * this.dependency = dependency;\r\n * }\r\n * }\r\n *\r\n * var parent = Injector.resolveAndCreate([Dependency]);\r\n * var child = parent.resolveAndCreateChild([NeedsDependency]);\r\n * expect(child.get(NeedsDependency).dependency instanceof Depedency).toBe(true);\r\n *\r\n * var inj = Injector.resolveAndCreate([Dependency, NeedsDependency]);\r\n * expect(() => inj.get(NeedsDependency)).toThrowError();\r\n * ```\r\n */\r\nvar SkipSelfMetadata = (function () {\r\n function SkipSelfMetadata() {\r\n }\r\n SkipSelfMetadata.prototype.toString = function () { return \"@SkipSelf()\"; };\r\n SkipSelfMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], SkipSelfMetadata);\r\n return SkipSelfMetadata;\r\n}());\r\nexports.SkipSelfMetadata = SkipSelfMetadata;\r\n/**\r\n * Specifies that an injector should retrieve a dependency from any injector until reaching the\r\n * closest host.\r\n *\r\n * In Angular, a component element is automatically declared as a host for all the injectors in\r\n * its view.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/GX79pV?p=preview))\r\n *\r\n * In the following example `App` contains `ParentCmp`, which contains `ChildDirective`.\r\n * So `ParentCmp` is the host of `ChildDirective`.\r\n *\r\n * `ChildDirective` depends on two services: `HostService` and `OtherService`.\r\n * `HostService` is defined at `ParentCmp`, and `OtherService` is defined at `App`.\r\n *\r\n *```typescript\r\n * class OtherService {}\r\n * class HostService {}\r\n *\r\n * @Directive({\r\n * selector: 'child-directive'\r\n * })\r\n * class ChildDirective {\r\n * constructor(@Optional() @Host() os:OtherService, @Optional() @Host() hs:HostService){\r\n * console.log(\"os is null\", os);\r\n * console.log(\"hs is NOT null\", hs);\r\n * }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'parent-cmp',\r\n * providers: [HostService],\r\n * template: `\r\n * Dir: <child-directive></child-directive>\r\n * `,\r\n * directives: [ChildDirective]\r\n * })\r\n * class ParentCmp {\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * providers: [OtherService],\r\n * template: `\r\n * Parent: <parent-cmp></parent-cmp>\r\n * `,\r\n * directives: [ParentCmp]\r\n * })\r\n * class App {\r\n * }\r\n *\r\n * bootstrap(App);\r\n *```\r\n */\r\nvar HostMetadata = (function () {\r\n function HostMetadata() {\r\n }\r\n HostMetadata.prototype.toString = function () { return \"@Host()\"; };\r\n HostMetadata = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [])\r\n ], HostMetadata);\r\n return HostMetadata;\r\n}());\r\nexports.HostMetadata = HostMetadata;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YWRhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZ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cnZpY2Upe1xuICogICAgIGNvbnNvbGUubG9nKFwib3MgaXMgbnVsbFwiLCBvcyk7XG4gKiAgICAgY29uc29sZS5sb2coXCJocyBpcyBOT1QgbnVsbFwiLCBocyk7XG4gKiAgIH1cbiAqIH1cbiAqXG4gKiBAQ29tcG9uZW50KHtcbiAqICAgc2VsZWN0b3I6ICdwYXJlbnQtY21wJyxcbiAqICAgcHJvdmlkZXJzOiBbSG9zdFNlcnZpY2VdLFxuICogICB0ZW1wbGF0ZTogYFxuICogICAgIERpcjogPGNoaWxkLWRpcmVjdGl2ZT48L2NoaWxkLWRpcmVjdGl2ZT5cbiAqICAgYCxcbiAqICAgZGlyZWN0aXZlczogW0NoaWxkRGlyZWN0aXZlXVxuICogfSlcbiAqIGNsYXNzIFBhcmVudENtcCB7XG4gKiB9XG4gKlxuICogQENvbXBvbmVudCh7XG4gKiAgIHNlbGVjdG9yOiAnYXBwJyxcbiAqICAgcHJvdmlkZXJzOiBbT3RoZXJTZXJ2aWNlXSxcbiAqICAgdGVtcGxhdGU6IGBcbiAqICAgICBQYXJlbnQ6IDxwYXJlbnQtY21wPjwvcGFyZW50LWNtcD5cbiAqICAgYCxcbiAqICAgZGlyZWN0aXZlczogW1BhcmVudENtcF1cbiAqIH0pXG4gKiBjbGFzcyBBcHAge1xuICogfVxuICpcbiAqIGJvb3RzdHJhcChBcHApO1xuICpgYGBcbiAqL1xuQENPTlNUKClcbmV4cG9ydCBjbGFzcyBIb3N0TWV0YWRhdGEge1xuICB0b1N0cmluZygpOiBzdHJpbmcgeyByZXR1cm4gYEBIb3N0KClgOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\n/**\r\n * Describes how the {@link Injector} should instantiate a given token.\r\n *\r\n * See {@link provide}.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/GNAyj6K6PfYg2NBzgwZ5?p%3Dpreview&p=preview))\r\n *\r\n * ```javascript\r\n * var injector = Injector.resolveAndCreate([\r\n * new Provider(\"message\", { useValue: 'Hello' })\r\n * ]);\r\n *\r\n * expect(injector.get(\"message\")).toEqual('Hello');\r\n * ```\r\n */\r\nvar Provider = (function () {\r\n function Provider(token, _a) {\r\n var useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\r\n this.token = token;\r\n this.useClass = useClass;\r\n this.useValue = useValue;\r\n this.useExisting = useExisting;\r\n this.useFactory = useFactory;\r\n this.dependencies = deps;\r\n this._multi = multi;\r\n }\r\n Object.defineProperty(Provider.prototype, \"multi\", {\r\n // TODO: Provide a full working example after alpha38 is released.\r\n /**\r\n * Creates multiple providers matching the same token (a multi-provider).\r\n *\r\n * Multi-providers are used for creating pluggable service, where the system comes\r\n * with some default providers, and the user can register additional providers.\r\n * The combination of the default providers and the additional providers will be\r\n * used to drive the behavior of the system.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * var injector = Injector.resolveAndCreate([\r\n * new Provider(\"Strings\", { useValue: \"String1\", multi: true}),\r\n * new Provider(\"Strings\", { useValue: \"String2\", multi: true})\r\n * ]);\r\n *\r\n * expect(injector.get(\"Strings\")).toEqual([\"String1\", \"String2\"]);\r\n * ```\r\n *\r\n * Multi-providers and regular providers cannot be mixed. The following\r\n * will throw an exception:\r\n *\r\n * ```typescript\r\n * var injector = Injector.resolveAndCreate([\r\n * new Provider(\"Strings\", { useValue: \"String1\", multi: true }),\r\n * new Provider(\"Strings\", { useValue: \"String2\"})\r\n * ]);\r\n * ```\r\n */\r\n get: function () { return lang_1.normalizeBool(this._multi); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Provider = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object, Object])\r\n ], Provider);\r\n return Provider;\r\n}());\r\nexports.Provider = Provider;\r\n/**\r\n * See {@link Provider} instead.\r\n *\r\n * @deprecated\r\n */\r\nvar Binding = (function (_super) {\r\n __extends(Binding, _super);\r\n function Binding(token, _a) {\r\n var toClass = _a.toClass, toValue = _a.toValue, toAlias = _a.toAlias, toFactory = _a.toFactory, deps = _a.deps, multi = _a.multi;\r\n _super.call(this, token, {\r\n useClass: toClass,\r\n useValue: toValue,\r\n useExisting: toAlias,\r\n useFactory: toFactory,\r\n deps: deps,\r\n multi: multi\r\n });\r\n }\r\n Object.defineProperty(Binding.prototype, \"toClass\", {\r\n /**\r\n * @deprecated\r\n */\r\n get: function () { return this.useClass; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Binding.prototype, \"toAlias\", {\r\n /**\r\n * @deprecated\r\n */\r\n get: function () { return this.useExisting; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Binding.prototype, \"toFactory\", {\r\n /**\r\n * @deprecated\r\n */\r\n get: function () { return this.useFactory; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Binding.prototype, \"toValue\", {\r\n /**\r\n * @deprecated\r\n */\r\n get: function () { return this.useValue; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Binding = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [Object, Object])\r\n ], Binding);\r\n return Binding;\r\n}(Provider));\r\nexports.Binding = Binding;\r\n/**\r\n * Creates a {@link Provider}.\r\n *\r\n * To construct a {@link Provider}, bind a `token` to either a class, a value, a factory function,\r\n * or\r\n * to an existing `token`.\r\n * See {@link ProviderBuilder} for more details.\r\n *\r\n * The `token` is most commonly a class or {@link OpaqueToken-class.html}.\r\n *\r\n * @deprecated\r\n */\r\nfunction bind(token) {\r\n return new ProviderBuilder(token);\r\n}\r\nexports.bind = bind;\r\n/**\r\n * Helper class for the {@link bind} function.\r\n */\r\nvar ProviderBuilder = (function () {\r\n function ProviderBuilder(token) {\r\n this.token = token;\r\n }\r\n /**\r\n * Binds a DI token to a class.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/ZpBCSYqv6e2ud5KXLdxQ?p=preview))\r\n *\r\n * Because `toAlias` and `toClass` are often confused, the example contains\r\n * both use cases for easy comparison.\r\n *\r\n * ```typescript\r\n * class Vehicle {}\r\n *\r\n * class Car extends Vehicle {}\r\n *\r\n * var injectorClass = Injector.resolveAndCreate([\r\n * Car,\r\n * provide(Vehicle, {useClass: Car})\r\n * ]);\r\n * var injectorAlias = Injector.resolveAndCreate([\r\n * Car,\r\n * provide(Vehicle, {useExisting: Car})\r\n * ]);\r\n *\r\n * expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car));\r\n * expect(injectorClass.get(Vehicle) instanceof Car).toBe(true);\r\n *\r\n * expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car));\r\n * expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true);\r\n * ```\r\n */\r\n ProviderBuilder.prototype.toClass = function (type) {\r\n if (!lang_1.isType(type)) {\r\n throw new exceptions_1.BaseException(\"Trying to create a class provider but \\\"\" + lang_1.stringify(type) + \"\\\" is not a class!\");\r\n }\r\n return new Provider(this.token, { useClass: type });\r\n };\r\n /**\r\n * Binds a DI token to a value.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/G024PFHmDL0cJFgfZK8O?p=preview))\r\n *\r\n * ```typescript\r\n * var injector = Injector.resolveAndCreate([\r\n * provide('message', {useValue: 'Hello'})\r\n * ]);\r\n *\r\n * expect(injector.get('message')).toEqual('Hello');\r\n * ```\r\n */\r\n ProviderBuilder.prototype.toValue = function (value) { return new Provider(this.token, { useValue: value }); };\r\n /**\r\n * Binds a DI token to an existing token.\r\n *\r\n * Angular will return the same instance as if the provided token was used. (This is\r\n * in contrast to `useClass` where a separate instance of `useClass` will be returned.)\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/uBaoF2pN5cfc5AfZapNw?p=preview))\r\n *\r\n * Because `toAlias` and `toClass` are often confused, the example contains\r\n * both use cases for easy comparison.\r\n *\r\n * ```typescript\r\n * class Vehicle {}\r\n *\r\n * class Car extends Vehicle {}\r\n *\r\n * var injectorAlias = Injector.resolveAndCreate([\r\n * Car,\r\n * provide(Vehicle, {useExisting: Car})\r\n * ]);\r\n * var injectorClass = Injector.resolveAndCreate([\r\n * Car,\r\n * provide(Vehicle, {useClass: Car})\r\n * ]);\r\n *\r\n * expect(injectorAlias.get(Vehicle)).toBe(injectorAlias.get(Car));\r\n * expect(injectorAlias.get(Vehicle) instanceof Car).toBe(true);\r\n *\r\n * expect(injectorClass.get(Vehicle)).not.toBe(injectorClass.get(Car));\r\n * expect(injectorClass.get(Vehicle) instanceof Car).toBe(true);\r\n * ```\r\n */\r\n ProviderBuilder.prototype.toAlias = function (aliasToken) {\r\n if (lang_1.isBlank(aliasToken)) {\r\n throw new exceptions_1.BaseException(\"Can not alias \" + lang_1.stringify(this.token) + \" to a blank value!\");\r\n }\r\n return new Provider(this.token, { useExisting: aliasToken });\r\n };\r\n /**\r\n * Binds a DI token to a function which computes the value.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/OejNIfTT3zb1iBxaIYOb?p=preview))\r\n *\r\n * ```typescript\r\n * var injector = Injector.resolveAndCreate([\r\n * provide(Number, {useFactory: () => { return 1+2; }}),\r\n * provide(String, {useFactory: (v) => { return \"Value: \" + v; }, deps: [Number]})\r\n * ]);\r\n *\r\n * expect(injector.get(Number)).toEqual(3);\r\n * expect(injector.get(String)).toEqual('Value: 3');\r\n * ```\r\n */\r\n ProviderBuilder.prototype.toFactory = function (factory, dependencies) {\r\n if (!lang_1.isFunction(factory)) {\r\n throw new exceptions_1.BaseException(\"Trying to create a factory provider but \\\"\" + lang_1.stringify(factory) + \"\\\" is not a function!\");\r\n }\r\n return new Provider(this.token, { useFactory: factory, deps: dependencies });\r\n };\r\n return ProviderBuilder;\r\n}());\r\nexports.ProviderBuilder = ProviderBuilder;\r\n/**\r\n * Creates a {@link Provider}.\r\n *\r\n * See {@link Provider} for more details.\r\n *\r\n * <!-- TODO: improve the docs -->\r\n */\r\nfunction provide(token, _a) {\r\n var useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\r\n return new Provider(token, {\r\n useClass: useClass,\r\n useValue: useValue,\r\n useExisting: useExisting,\r\n useFactory: useFactory,\r\n deps: deps,\r\n multi: multi\r\n });\r\n}\r\nexports.provide = provide;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9kaS9wcm92aWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBQSxxQkFRTywwQkFBMEIsQ0FBQyxDQUFBO0FBQ2xDLDJCQUE0QixnQ0FBZ0MsQ0FBQyxDQUFBO0F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XG4gKlxuICogU2VlIHtAbGluayBQcm92aWRlcn0gZm9yIG1vcmUgZGV0YWlscy5cbiAqXG4gKiA8IS0tIFRPRE86IGltcHJvdmUgdGhlIGRvY3MgLS0+XG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBwcm92aWRlKHRva2VuLCB7dXNlQ2xhc3MsIHVzZVZhbHVlLCB1c2VFeGlzdGluZywgdXNlRmFjdG9yeSwgZGVwcywgbXVsdGl9OiB7XG4gIHVzZUNsYXNzPzogVHlwZSxcbiAgdXNlVmFsdWU/OiBhbnksXG4gIHVzZUV4aXN0aW5nPzogYW55LFxuICB1c2VGYWN0b3J5PzogRnVuY3Rpb24sXG4gIGRlcHM/OiBPYmplY3RbXSxcbiAgbXVsdGk/OiBib29sZWFuXG59KTogUHJvdmlkZXIge1xuICByZXR1cm4gbmV3IFByb3ZpZGVyKHRva2VuLCB7XG4gICAgdXNlQ2xhc3M6IHVzZUNsYXNzLFxuICAgIHVzZVZhbHVlOiB1c2VWYWx1ZSxcbiAgICB1c2VFeGlzdGluZzogdXNlRXhpc3RpbmcsXG4gICAgdXNlRmFjdG9yeTogdXNlRmFjdG9yeSxcbiAgICBkZXBzOiBkZXBzLFxuICAgIG11bHRpOiBtdWx0aVxuICB9KTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar reflection_1 = require('angular2/src/core/reflection/reflection');\r\nvar reflective_key_1 = require('./reflective_key');\r\nvar metadata_1 = require('./metadata');\r\nvar reflective_exceptions_1 = require('./reflective_exceptions');\r\nvar forward_ref_1 = require('./forward_ref');\r\nvar provider_1 = require('./provider');\r\n/**\r\n * `Dependency` is used by the framework to extend DI.\r\n * This is internal to Angular and should not be used directly.\r\n */\r\nvar ReflectiveDependency = (function () {\r\n function ReflectiveDependency(key, optional, lowerBoundVisibility, upperBoundVisibility, properties) {\r\n this.key = key;\r\n this.optional = optional;\r\n this.lowerBoundVisibility = lowerBoundVisibility;\r\n this.upperBoundVisibility = upperBoundVisibility;\r\n this.properties = properties;\r\n }\r\n ReflectiveDependency.fromKey = function (key) {\r\n return new ReflectiveDependency(key, false, null, null, []);\r\n };\r\n return ReflectiveDependency;\r\n}());\r\nexports.ReflectiveDependency = ReflectiveDependency;\r\nvar _EMPTY_LIST = lang_1.CONST_EXPR([]);\r\nvar ResolvedReflectiveProvider_ = (function () {\r\n function ResolvedReflectiveProvider_(key, resolvedFactories, multiProvider) {\r\n this.key = key;\r\n this.resolvedFactories = resolvedFactories;\r\n this.multiProvider = multiProvider;\r\n }\r\n Object.defineProperty(ResolvedReflectiveProvider_.prototype, \"resolvedFactory\", {\r\n get: function () { return this.resolvedFactories[0]; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return ResolvedReflectiveProvider_;\r\n}());\r\nexports.ResolvedReflectiveProvider_ = ResolvedReflectiveProvider_;\r\n/**\r\n * An internal resolved representation of a factory function created by resolving {@link Provider}.\r\n */\r\nvar ResolvedReflectiveFactory = (function () {\r\n function ResolvedReflectiveFactory(\r\n /**\r\n * Factory function which can return an instance of an object represented by a key.\r\n */\r\n factory, \r\n /**\r\n * Arguments (dependencies) to the `factory` function.\r\n */\r\n dependencies) {\r\n this.factory = factory;\r\n this.dependencies = dependencies;\r\n }\r\n return ResolvedReflectiveFactory;\r\n}());\r\nexports.ResolvedReflectiveFactory = ResolvedReflectiveFactory;\r\n/**\r\n * Resolve a single provider.\r\n */\r\nfunction resolveReflectiveFactory(provider) {\r\n var factoryFn;\r\n var resolvedDeps;\r\n if (lang_1.isPresent(provider.useClass)) {\r\n var useClass = forward_ref_1.resolveForwardRef(provider.useClass);\r\n factoryFn = reflection_1.reflector.factory(useClass);\r\n resolvedDeps = _dependenciesFor(useClass);\r\n }\r\n else if (lang_1.isPresent(provider.useExisting)) {\r\n factoryFn = function (aliasInstance) { return aliasInstance; };\r\n resolvedDeps = [ReflectiveDependency.fromKey(reflective_key_1.ReflectiveKey.get(provider.useExisting))];\r\n }\r\n else if (lang_1.isPresent(provider.useFactory)) {\r\n factoryFn = provider.useFactory;\r\n resolvedDeps = constructDependencies(provider.useFactory, provider.dependencies);\r\n }\r\n else {\r\n factoryFn = function () { return provider.useValue; };\r\n resolvedDeps = _EMPTY_LIST;\r\n }\r\n return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);\r\n}\r\nexports.resolveReflectiveFactory = resolveReflectiveFactory;\r\n/**\r\n * Converts the {@link Provider} into {@link ResolvedProvider}.\r\n *\r\n * {@link Injector} internally only uses {@link ResolvedProvider}, {@link Provider} contains\r\n * convenience provider syntax.\r\n */\r\nfunction resolveReflectiveProvider(provider) {\r\n return new ResolvedReflectiveProvider_(reflective_key_1.ReflectiveKey.get(provider.token), [resolveReflectiveFactory(provider)], provider.multi);\r\n}\r\nexports.resolveReflectiveProvider = resolveReflectiveProvider;\r\n/**\r\n * Resolve a list of Providers.\r\n */\r\nfunction resolveReflectiveProviders(providers) {\r\n var normalized = _normalizeProviders(providers, []);\r\n var resolved = normalized.map(resolveReflectiveProvider);\r\n return collection_1.MapWrapper.values(mergeResolvedReflectiveProviders(resolved, new Map()));\r\n}\r\nexports.resolveReflectiveProviders = resolveReflectiveProviders;\r\n/**\r\n * Merges a list of ResolvedProviders into a list where\r\n * each key is contained exactly once and multi providers\r\n * have been merged.\r\n */\r\nfunction mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {\r\n for (var i = 0; i < providers.length; i++) {\r\n var provider = providers[i];\r\n var existing = normalizedProvidersMap.get(provider.key.id);\r\n if (lang_1.isPresent(existing)) {\r\n if (provider.multiProvider !== existing.multiProvider) {\r\n throw new reflective_exceptions_1.MixingMultiProvidersWithRegularProvidersError(existing, provider);\r\n }\r\n if (provider.multiProvider) {\r\n for (var j = 0; j < provider.resolvedFactories.length; j++) {\r\n existing.resolvedFactories.push(provider.resolvedFactories[j]);\r\n }\r\n }\r\n else {\r\n normalizedProvidersMap.set(provider.key.id, provider);\r\n }\r\n }\r\n else {\r\n var resolvedProvider;\r\n if (provider.multiProvider) {\r\n resolvedProvider = new ResolvedReflectiveProvider_(provider.key, collection_1.ListWrapper.clone(provider.resolvedFactories), provider.multiProvider);\r\n }\r\n else {\r\n resolvedProvider = provider;\r\n }\r\n normalizedProvidersMap.set(provider.key.id, resolvedProvider);\r\n }\r\n }\r\n return normalizedProvidersMap;\r\n}\r\nexports.mergeResolvedReflectiveProviders = mergeResolvedReflectiveProviders;\r\nfunction _normalizeProviders(providers, res) {\r\n providers.forEach(function (b) {\r\n if (b instanceof lang_1.Type) {\r\n res.push(provider_1.provide(b, { useClass: b }));\r\n }\r\n else if (b instanceof provider_1.Provider) {\r\n res.push(b);\r\n }\r\n else if (b instanceof Array) {\r\n _normalizeProviders(b, res);\r\n }\r\n else if (b instanceof provider_1.ProviderBuilder) {\r\n throw new reflective_exceptions_1.InvalidProviderError(b.token);\r\n }\r\n else {\r\n throw new reflective_exceptions_1.InvalidProviderError(b);\r\n }\r\n });\r\n return res;\r\n}\r\nfunction constructDependencies(typeOrFunc, dependencies) {\r\n if (lang_1.isBlank(dependencies)) {\r\n return _dependenciesFor(typeOrFunc);\r\n }\r\n else {\r\n var params = dependencies.map(function (t) { return [t]; });\r\n return dependencies.map(function (t) { return _extractToken(typeOrFunc, t, params); });\r\n }\r\n}\r\nexports.constructDependencies = constructDependencies;\r\nfunction _dependenciesFor(typeOrFunc) {\r\n var params = reflection_1.reflector.parameters(typeOrFunc);\r\n if (lang_1.isBlank(params))\r\n return [];\r\n if (params.some(lang_1.isBlank)) {\r\n throw new reflective_exceptions_1.NoAnnotationError(typeOrFunc, params);\r\n }\r\n return params.map(function (p) { return _extractToken(typeOrFunc, p, params); });\r\n}\r\nfunction _extractToken(typeOrFunc, metadata /*any[] | any*/, params) {\r\n var depProps = [];\r\n var token = null;\r\n var optional = false;\r\n if (!lang_1.isArray(metadata)) {\r\n if (metadata instanceof metadata_1.InjectMetadata) {\r\n return _createDependency(metadata.token, optional, null, null, depProps);\r\n }\r\n else {\r\n return _createDependency(metadata, optional, null, null, depProps);\r\n }\r\n }\r\n var lowerBoundVisibility = null;\r\n var upperBoundVisibility = null;\r\n for (var i = 0; i < metadata.length; ++i) {\r\n var paramMetadata = metadata[i];\r\n if (paramMetadata instanceof lang_1.Type) {\r\n token = paramMetadata;\r\n }\r\n else if (paramMetadata instanceof metadata_1.InjectMetadata) {\r\n token = paramMetadata.token;\r\n }\r\n else if (paramMetadata instanceof metadata_1.OptionalMetadata) {\r\n optional = true;\r\n }\r\n else if (paramMetadata instanceof metadata_1.SelfMetadata) {\r\n upperBoundVisibility = paramMetadata;\r\n }\r\n else if (paramMetadata instanceof metadata_1.HostMetadata) {\r\n upperBoundVisibility = paramMetadata;\r\n }\r\n else if (paramMetadata instanceof metadata_1.SkipSelfMetadata) {\r\n lowerBoundVisibility = paramMetadata;\r\n }\r\n else if (paramMetadata instanceof metadata_1.DependencyMetadata) {\r\n if (lang_1.isPresent(paramMetadata.token)) {\r\n token = paramMetadata.token;\r\n }\r\n depProps.push(paramMetadata);\r\n }\r\n }\r\n token = forward_ref_1.resolveForwardRef(token);\r\n if (lang_1.isPresent(token)) {\r\n return _createDependency(token, optional, lowerBoundVisibility, upperBoundVisibility, depProps);\r\n }\r\n else {\r\n throw new reflective_exceptions_1.NoAnnotationError(typeOrFunc, params);\r\n }\r\n}\r\nfunction _createDependency(token, optional, lowerBoundVisibility, upperBoundVisibility, depProps) {\r\n return new ReflectiveDependency(reflective_key_1.ReflectiveKey.get(token), optional, lowerBoundVisibility, upperBoundVisibility, depProps);\r\n}\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmbGVjdGl2ZV9wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyY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1bmMsIHBhcmFtcyk7XG4gIH1cbn1cblxuZnVuY3Rpb24gX2NyZWF0ZURlcGVuZGVuY3kodG9rZW4sIG9wdGlvbmFsLCBsb3dlckJvdW5kVmlzaWJpbGl0eSwgdXBwZXJCb3VuZFZpc2liaWxpdHksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBkZXBQcm9wcyk6IFJlZmxlY3RpdmVEZXBlbmRlbmN5IHtcbiAgcmV0dXJuIG5ldyBSZWZsZWN0aXZlRGVwZW5kZW5jeShSZWZsZWN0aXZlS2V5LmdldCh0b2tlbiksIG9wdGlvbmFsLCBsb3dlckJvdW5kVmlzaWJpbGl0eSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cHBlckJvdW5kVmlzaWJpbGl0eSwgZGVwUHJvcHMpO1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Allows to refer to references which are not yet defined.\r\n *\r\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\r\n * DI is declared,\r\n * but not yet defined. It is also used when the `token` which we use when creating a query is not\r\n * yet defined.\r\n *\r\n * ### Example\r\n * {@example core/di/ts/forward_ref/forward_ref.ts region='forward_ref'}\r\n */\r\nfunction forwardRef(forwardRefFn) {\r\n forwardRefFn.__forward_ref__ = forwardRef;\r\n forwardRefFn.toString = function () { return lang_1.stringify(this()); };\r\n return forwardRefFn;\r\n}\r\nexports.forwardRef = forwardRef;\r\n/**\r\n * Lazily retrieves the reference value from a forwardRef.\r\n *\r\n * Acts as the identity function when given a non-forward-ref value.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/GU72mJrk1fiodChcmiDR?p=preview))\r\n *\r\n * ```typescript\r\n * var ref = forwardRef(() => \"refValue\");\r\n * expect(resolveForwardRef(ref)).toEqual(\"refValue\");\r\n * expect(resolveForwardRef(\"regularValue\")).toEqual(\"regularValue\");\r\n * ```\r\n *\r\n * See: {@link forwardRef}\r\n */\r\nfunction resolveForwardRef(type) {\r\n if (lang_1.isFunction(type) && type.hasOwnProperty('__forward_ref__') &&\r\n type.__forward_ref__ === forwardRef) {\r\n return type();\r\n }\r\n else {\r\n return type;\r\n }\r\n}\r\nexports.resolveForwardRef = resolveForwardRef;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9yd2FyZF9yZWYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9kaS9mb3J3YXJkX3JlZi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQTBDLDBCQUEwQixDQUFDLENBQUE7QUFXckU7Ozs7Ozs7Ozs7R0FVRztBQUNILG9CQUEyQixZQUEwQjtJQUM3QyxZQUFhLENBQUMsZUFBZSxHQUFHLFVBQVUsQ0FBQztJQUMzQyxZQUFhLENBQUMsUUFBUSxHQUFHLGNBQWEsTUFBTSxDQUFDLGdCQUFTLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUN4RSxNQUFNLENBQWEsWUFBYSxDQUFDO0FBQ25DLENBQUM7QUFKZSxrQkFBVSxhQUl6QixDQUFBO0FBRUQ7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFDSCwyQkFBa0MsSUFBUztJQUN6QyxFQUFFLENBQUMsQ0FBQyxpQkFBVSxDQUFDLElBQUksQ0FBQyxJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsaUJBQWlCLENBQUM7UUFDMUQsSUFBSSxDQUFDLGVBQWUsS0FBSyxVQUFVLENBQUMsQ0FBQyxDQUFDO1FBQ3hDLE1BQU0sQ0FBZ0IsSUFBSyxFQUFFLENBQUM7SUFDaEMsQ0FBQztJQUFDLElBQUksQ0FBQyxDQUFD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YXNPd25Qcm9wZXJ0eSgnX19mb3J3YXJkX3JlZl9fJykgJiZcbiAgICAgIHR5cGUuX19mb3J3YXJkX3JlZl9fID09PSBmb3J3YXJkUmVmKSB7XG4gICAgcmV0dXJuICg8Rm9yd2FyZFJlZkZuPnR5cGUpKCk7XG4gIH0gZWxzZSB7XG4gICAgcmV0dXJuIHR5cGU7XG4gIH1cbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar forward_ref_1 = require('./forward_ref');\r\n/**\r\n * A unique object used for retrieving items from the {@link ReflectiveInjector}.\r\n *\r\n * Keys have:\r\n * - a system-wide unique `id`.\r\n * - a `token`.\r\n *\r\n * `Key` is used internally by {@link ReflectiveInjector} because its system-wide unique `id` allows\r\n * the\r\n * injector to store created objects in a more efficient way.\r\n *\r\n * `Key` should not be created directly. {@link ReflectiveInjector} creates keys automatically when\r\n * resolving\r\n * providers.\r\n */\r\nvar ReflectiveKey = (function () {\r\n /**\r\n * Private\r\n */\r\n function ReflectiveKey(token, id) {\r\n this.token = token;\r\n this.id = id;\r\n if (lang_1.isBlank(token)) {\r\n throw new exceptions_1.BaseException('Token must be defined!');\r\n }\r\n }\r\n Object.defineProperty(ReflectiveKey.prototype, \"displayName\", {\r\n /**\r\n * Returns a stringified token.\r\n */\r\n get: function () { return lang_1.stringify(this.token); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * Retrieves a `Key` for a token.\r\n */\r\n ReflectiveKey.get = function (token) {\r\n return _globalKeyRegistry.get(forward_ref_1.resolveForwardRef(token));\r\n };\r\n Object.defineProperty(ReflectiveKey, \"numberOfKeys\", {\r\n /**\r\n * @returns the number of keys registered in the system.\r\n */\r\n get: function () { return _globalKeyRegistry.numberOfKeys; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return ReflectiveKey;\r\n}());\r\nexports.ReflectiveKey = ReflectiveKey;\r\n/**\r\n * @internal\r\n */\r\nvar KeyRegistry = (function () {\r\n function KeyRegistry() {\r\n this._allKeys = new Map();\r\n }\r\n KeyRegistry.prototype.get = function (token) {\r\n if (token instanceof ReflectiveKey)\r\n return token;\r\n if (this._allKeys.has(token)) {\r\n return this._allKeys.get(token);\r\n }\r\n var newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);\r\n this._allKeys.set(token, newKey);\r\n return newKey;\r\n };\r\n Object.defineProperty(KeyRegistry.prototype, \"numberOfKeys\", {\r\n get: function () { return this._allKeys.size; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return KeyRegistry;\r\n}());\r\nexports.KeyRegistry = KeyRegistry;\r\nvar _globalKeyRegistry = new KeyRegistry();\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmbGVjdGl2ZV9rZXkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9kaS9yZWZsZWN0aXZlX2tleS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQThDLDBCQUEwQixDQUFDLENBQUE7QUFDekUsMkJBQThDLGdDQUFnQyxDQUFDLENBQUE7QUFDL0UsNEJBQWdDLGVBQWUsQ0FBQyxDQUFBO0FBRWhEOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBQ0g7SUFDRTs7T0FFRztJQUNILHVCQUFtQixLQUFhLEVBQVMsRUFBVTtRQUFoQyxVQUFLLEdBQUwsS0FBSyxDQUFRO1FBQVMsT0FBRSxHQUFGLEVBQUUsQ0FBUTtRQUNqRCxFQUFFLENBQUMsQ0FBQyxjQUFPLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQ25CLE1BQU0sSUFBSSwwQkFBYSxDQUFDLHdCQ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naXN0cnkubnVtYmVyT2ZLZXlzOyB9XG59XG5cbi8qKlxuICogQGludGVybmFsXG4gKi9cbmV4cG9ydCBjbGFzcyBLZXlSZWdpc3RyeSB7XG4gIHByaXZhdGUgX2FsbEtleXMgPSBuZXcgTWFwPE9iamVjdCwgUmVmbGVjdGl2ZUtleT4oKTtcblxuICBnZXQodG9rZW46IE9iamVjdCk6IFJlZmxlY3RpdmVLZXkge1xuICAgIGlmICh0b2tlbiBpbnN0YW5jZW9mIFJlZmxlY3RpdmVLZXkpIHJldHVybiB0b2tlbjtcblxuICAgIGlmICh0aGlzLl9hbGxLZXlzLmhhcyh0b2tlbikpIHtcbiAgICAgIHJldHVybiB0aGlzLl9hbGxLZXlzLmdldCh0b2tlbik7XG4gICAgfVxuXG4gICAgdmFyIG5ld0tleSA9IG5ldyBSZWZsZWN0aXZlS2V5KHRva2VuLCBSZWZsZWN0aXZlS2V5Lm51bWJlck9mS2V5cyk7XG4gICAgdGhpcy5fYWxsS2V5cy5zZXQodG9rZW4sIG5ld0tleSk7XG4gICAgcmV0dXJuIG5ld0tleTtcbiAgfVxuXG4gIGdldCBudW1iZXJPZktleXMoKTogbnVtYmVyIHsgcmV0dXJuIHRoaXMuX2FsbEtleXMuc2l6ZTsgfVxufVxuXG52YXIgX2dsb2JhbEtleVJlZ2lzdHJ5ID0gbmV3IEtleVJlZ2lzdHJ5KCk7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nfunction findFirstClosedCycle(keys) {\r\n var res = [];\r\n for (var i = 0; i < keys.length; ++i) {\r\n if (collection_1.ListWrapper.contains(res, keys[i])) {\r\n res.push(keys[i]);\r\n return res;\r\n }\r\n else {\r\n res.push(keys[i]);\r\n }\r\n }\r\n return res;\r\n}\r\nfunction constructResolvingPath(keys) {\r\n if (keys.length > 1) {\r\n var reversed = findFirstClosedCycle(collection_1.ListWrapper.reversed(keys));\r\n var tokenStrs = reversed.map(function (k) { return lang_1.stringify(k.token); });\r\n return \" (\" + tokenStrs.join(' -> ') + \")\";\r\n }\r\n else {\r\n return \"\";\r\n }\r\n}\r\n/**\r\n * Base class for all errors arising from misconfigured providers.\r\n */\r\nvar AbstractProviderError = (function (_super) {\r\n __extends(AbstractProviderError, _super);\r\n function AbstractProviderError(injector, key, constructResolvingMessage) {\r\n _super.call(this, \"DI Exception\");\r\n this.keys = [key];\r\n this.injectors = [injector];\r\n this.constructResolvingMessage = constructResolvingMessage;\r\n this.message = this.constructResolvingMessage(this.keys);\r\n }\r\n AbstractProviderError.prototype.addKey = function (injector, key) {\r\n this.injectors.push(injector);\r\n this.keys.push(key);\r\n this.message = this.constructResolvingMessage(this.keys);\r\n };\r\n Object.defineProperty(AbstractProviderError.prototype, \"context\", {\r\n get: function () { return this.injectors[this.injectors.length - 1].debugContext(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return AbstractProviderError;\r\n}(exceptions_1.BaseException));\r\nexports.AbstractProviderError = AbstractProviderError;\r\n/**\r\n * Thrown when trying to retrieve a dependency by `Key` from {@link Injector}, but the\r\n * {@link Injector} does not have a {@link Provider} for {@link Key}.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/vq8D3FRB9aGbnWJqtEPE?p=preview))\r\n *\r\n * ```typescript\r\n * class A {\r\n * constructor(b:B) {}\r\n * }\r\n *\r\n * expect(() => Injector.resolveAndCreate([A])).toThrowError();\r\n * ```\r\n */\r\nvar NoProviderError = (function (_super) {\r\n __extends(NoProviderError, _super);\r\n function NoProviderError(injector, key) {\r\n _super.call(this, injector, key, function (keys) {\r\n var first = lang_1.stringify(collection_1.ListWrapper.first(keys).token);\r\n return \"No provider for \" + first + \"!\" + constructResolvingPath(keys);\r\n });\r\n }\r\n return NoProviderError;\r\n}(AbstractProviderError));\r\nexports.NoProviderError = NoProviderError;\r\n/**\r\n * Thrown when dependencies form a cycle.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/wYQdNos0Tzql3ei1EV9j?p=info))\r\n *\r\n * ```typescript\r\n * var injector = Injector.resolveAndCreate([\r\n * provide(\"one\", {useFactory: (two) => \"two\", deps: [[new Inject(\"two\")]]}),\r\n * provide(\"two\", {useFactory: (one) => \"one\", deps: [[new Inject(\"one\")]]})\r\n * ]);\r\n *\r\n * expect(() => injector.get(\"one\")).toThrowError();\r\n * ```\r\n *\r\n * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.\r\n */\r\nvar CyclicDependencyError = (function (_super) {\r\n __extends(CyclicDependencyError, _super);\r\n function CyclicDependencyError(injector, key) {\r\n _super.call(this, injector, key, function (keys) {\r\n return \"Cannot instantiate cyclic dependency!\" + constructResolvingPath(keys);\r\n });\r\n }\r\n return CyclicDependencyError;\r\n}(AbstractProviderError));\r\nexports.CyclicDependencyError = CyclicDependencyError;\r\n/**\r\n * Thrown when a constructing type returns with an Error.\r\n *\r\n * The `InstantiationError` class contains the original error plus the dependency graph which caused\r\n * this object to be instantiated.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/7aWYdcqTQsP0eNqEdUAf?p=preview))\r\n *\r\n * ```typescript\r\n * class A {\r\n * constructor() {\r\n * throw new Error('message');\r\n * }\r\n * }\r\n *\r\n * var injector = Injector.resolveAndCreate([A]);\r\n\r\n * try {\r\n * injector.get(A);\r\n * } catch (e) {\r\n * expect(e instanceof InstantiationError).toBe(true);\r\n * expect(e.originalException.message).toEqual(\"message\");\r\n * expect(e.originalStack).toBeDefined();\r\n * }\r\n * ```\r\n */\r\nvar InstantiationError = (function (_super) {\r\n __extends(InstantiationError, _super);\r\n function InstantiationError(injector, originalException, originalStack, key) {\r\n _super.call(this, \"DI Exception\", originalException, originalStack, null);\r\n this.keys = [key];\r\n this.injectors = [injector];\r\n }\r\n InstantiationError.prototype.addKey = function (injector, key) {\r\n this.injectors.push(injector);\r\n this.keys.push(key);\r\n };\r\n Object.defineProperty(InstantiationError.prototype, \"wrapperMessage\", {\r\n get: function () {\r\n var first = lang_1.stringify(collection_1.ListWrapper.first(this.keys).token);\r\n return \"Error during instantiation of \" + first + \"!\" + constructResolvingPath(this.keys) + \".\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(InstantiationError.prototype, \"causeKey\", {\r\n get: function () { return this.keys[0]; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(InstantiationError.prototype, \"context\", {\r\n get: function () { return this.injectors[this.injectors.length - 1].debugContext(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return InstantiationError;\r\n}(exceptions_1.WrappedException));\r\nexports.InstantiationError = InstantiationError;\r\n/**\r\n * Thrown when an object other then {@link Provider} (or `Type`) is passed to {@link Injector}\r\n * creation.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/YatCFbPAMCL0JSSQ4mvH?p=preview))\r\n *\r\n * ```typescript\r\n * expect(() => Injector.resolveAndCreate([\"not a type\"])).toThrowError();\r\n * ```\r\n */\r\nvar InvalidProviderError = (function (_super) {\r\n __extends(InvalidProviderError, _super);\r\n function InvalidProviderError(provider) {\r\n _super.call(this, \"Invalid provider - only instances of Provider and Type are allowed, got: \" +\r\n provider.toString());\r\n }\r\n return InvalidProviderError;\r\n}(exceptions_1.BaseException));\r\nexports.InvalidProviderError = InvalidProviderError;\r\n/**\r\n * Thrown when the class has no annotation information.\r\n *\r\n * Lack of annotation information prevents the {@link Injector} from determining which dependencies\r\n * need to be injected into the constructor.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/rHnZtlNS7vJOPQ6pcVkm?p=preview))\r\n *\r\n * ```typescript\r\n * class A {\r\n * constructor(b) {}\r\n * }\r\n *\r\n * expect(() => Injector.resolveAndCreate([A])).toThrowError();\r\n * ```\r\n *\r\n * This error is also thrown when the class not marked with {@link Injectable} has parameter types.\r\n *\r\n * ```typescript\r\n * class B {}\r\n *\r\n * class A {\r\n * constructor(b:B) {} // no information about the parameter types of A is available at runtime.\r\n * }\r\n *\r\n * expect(() => Injector.resolveAndCreate([A,B])).toThrowError();\r\n * ```\r\n */\r\nvar NoAnnotationError = (function (_super) {\r\n __extends(NoAnnotationError, _super);\r\n function NoAnnotationError(typeOrFunc, params) {\r\n _super.call(this, NoAnnotationError._genMessage(typeOrFunc, params));\r\n }\r\n NoAnnotationError._genMessage = function (typeOrFunc, params) {\r\n var signature = [];\r\n for (var i = 0, ii = params.length; i < ii; i++) {\r\n var parameter = params[i];\r\n if (lang_1.isBlank(parameter) || parameter.length == 0) {\r\n signature.push('?');\r\n }\r\n else {\r\n signature.push(parameter.map(lang_1.stringify).join(' '));\r\n }\r\n }\r\n return \"Cannot resolve all parameters for '\" + lang_1.stringify(typeOrFunc) + \"'(\" +\r\n signature.join(', ') + \"). \" +\r\n \"Make sure that all the parameters are decorated with Inject or have valid type annotations and that '\" +\r\n lang_1.stringify(typeOrFunc) + \"' is decorated with Injectable.\";\r\n };\r\n return NoAnnotationError;\r\n}(exceptions_1.BaseException));\r\nexports.NoAnnotationError = NoAnnotationError;\r\n/**\r\n * Thrown when getting an object by index.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/bRs0SX2OTQiJzqvjgl8P?p=preview))\r\n *\r\n * ```typescript\r\n * class A {}\r\n *\r\n * var injector = Injector.resolveAndCreate([A]);\r\n *\r\n * expect(() => injector.getAt(100)).toThrowError();\r\n * ```\r\n */\r\nvar OutOfBoundsError = (function (_super) {\r\n __extends(OutOfBoundsError, _super);\r\n function OutOfBoundsError(index) {\r\n _super.call(this, \"Index \" + index + \" is out-of-bounds.\");\r\n }\r\n return OutOfBoundsError;\r\n}(exceptions_1.BaseException));\r\nexports.OutOfBoundsError = OutOfBoundsError;\r\n// TODO: add a working example after alpha38 is released\r\n/**\r\n * Thrown when a multi provider and a regular provider are bound to the same token.\r\n *\r\n * ### Example\r\n *\r\n * ```typescript\r\n * expect(() => Injector.resolveAndCreate([\r\n * new Provider(\"Strings\", {useValue: \"string1\", multi: true}),\r\n * new Provider(\"Strings\", {useValue: \"string2\", multi: false})\r\n * ])).toThrowError();\r\n * ```\r\n */\r\nvar MixingMultiProvidersWithRegularProvidersError = (function (_super) {\r\n __extends(MixingMultiProvidersWithRegularProvidersError, _super);\r\n function MixingMultiProvidersWithRegularProvidersError(provider1, provider2) {\r\n _super.call(this, \"Cannot mix multi providers and regular providers, got: \" + provider1.toString() + \" \" +\r\n provider2.toString());\r\n }\r\n return MixingMultiProvidersWithRegularProvidersError;\r\n}(exceptions_1.BaseException));\r\nexports.MixingMultiProvidersWithRegularProvidersError = MixingMultiProvidersWithRegularProvidersError;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmbGVjdGl2ZV9leGNlcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvZGkvcmVmbGVjdGl2ZV9leGNlcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDJCQUEwQixnQ0FBZ0MsQ0FBQyxDQUFBO0FBQzNELHFCQUFpQywwQkFBMEIsQ0FBQyxDQUFBO0FBQzVELDJCQUE2RCxnQ0FBZ0MsQ0FBQyxDQUFBO0FBSTlGLDhCQUE4QixJQUFXO0lBQ3ZDLElBQUksR0FBRyxHQUFHLEVBQUUsQ0FBQztJQUNiLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsSUFBSSxDQUFDLE1B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Z3VsYXIgcHJvdmlkZXJzLCBnb3Q6IFwiICsgcHJvdmlkZXIxLnRvU3RyaW5nKCkgKyBcIiBcIiArXG4gICAgICAgICAgcHJvdmlkZXIyLnRvU3RyaW5nKCkpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Creates a token that can be used in a DI Provider.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/Ys9ezXpj2Mnoy3Uc8KBp?p=preview))\r\n *\r\n * ```typescript\r\n * var t = new OpaqueToken(\"value\");\r\n *\r\n * var injector = Injector.resolveAndCreate([\r\n * provide(t, {useValue: \"bindingValue\"})\r\n * ]);\r\n *\r\n * expect(injector.get(t)).toEqual(\"bindingValue\");\r\n * ```\r\n *\r\n * Using an `OpaqueToken` is preferable to using strings as tokens because of possible collisions\r\n * caused by multiple providers using the same string as two different tokens.\r\n *\r\n * Using an `OpaqueToken` is preferable to using an `Object` as tokens because it provides better\r\n * error messages.\r\n */\r\nvar OpaqueToken = (function () {\r\n function OpaqueToken(_desc) {\r\n this._desc = _desc;\r\n }\r\n OpaqueToken.prototype.toString = function () { return \"Token \" + this._desc; };\r\n OpaqueToken = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [String])\r\n ], OpaqueToken);\r\n return OpaqueToken;\r\n}());\r\nexports.OpaqueToken = OpaqueToken;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BhcXVlX3Rva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvZGkvb3BhcXVlX3Rva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxxQkFBb0IsMEJBQTBCLENBQUMsQ0FBQTtBQUUvQzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FvQkc7QUFFSDtJQUNFLHFCQUFvQixLQUFhO1FBQWIsVUFBSyxHQUFMLEtBQUssQ0FBUTtJQUFHLENBQUM7SUFFckMsOEJBQVEsR0FBUixjQUFxQixNQUFNLENBQUMsV0FBUyxJQUFJLENBQUMsS0FBTyxDQUFDLENBQUMsQ0FBQztJQUp0RDtRQUFDLFlBQUssRUFBRTs7bUJBQUE7SUFLUixrQkFBQztBQUFELENBQUMsQUFKRCxJQUlDO0FBSlksbUJBQVcsY0FJdkIsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q09OU1R9IGZyb20gJ2FuZ3VsYXIyL3NyYy9mYWNhZGUvbGFuZyc7XG5cbi8qKlxuICogQ3JlYXRlcyBhIHRva2VuIHRoYXQgY2FuIGJlIHVzZWQgaW4gYSBESSBQcm92aWRlci5cbiAqXG4gKiAjIyMgRXhhbXBsZSAoW2xpdmUgZGVtb10oaHR0cDovL3BsbmtyLmNvL2VkaXQvWXM5ZXpYcGoyTW5veTNVYzhLQnA/cD1wcmV2aWV3KSlcbiAqXG4gKiBgYGB0eXBlc2NyaXB0XG4gKiB2YXIgdCA9IG5ldyBPcGFxdWVUb2tlbihcInZhbHVlXCIpO1xuICpcbiAqIHZhciBpbmplY3RvciA9IEluamVjdG9yLnJlc29sdmVBbmRDcmVhdGUoW1xuICogICBwcm92aWRlKHQsIHt1c2VWYWx1ZTogXCJiaW5kaW5nVmFsdWVcIn0pXG4gKiBdKTtcbiAqXG4gKiBleHBlY3QoaW5qZWN0b3IuZ2V0KHQpKS50b0VxdWFsKFwiYmluZGluZ1ZhbHVlXCIpO1xuICogYGBgXG4gKlxuICogVXNpbmcgYW4gYE9wYXF1ZVRva2VuYCBpcyBwcmVmZXJhYmxlIHRvIHVzaW5nIHN0cmluZ3MgYXMgdG9rZW5zIGJlY2F1c2Ugb2YgcG9zc2libGUgY29sbGlzaW9uc1xuICogY2F1c2VkIGJ5IG11bHRpcGxlIHByb3ZpZGVycyB1c2luZyB0aGUgc2FtZSBzdHJpbmcgYXMgdHdvIGRpZmZlcmVudCB0b2tlbnMuXG4gKlxuICogVXNpbmcgYW4gYE9wYXF1ZVRva2VuYCBpcyBwcmVmZXJhYmxlIHRvIHVzaW5nIGFuIGBPYmplY3RgIGFzIHRva2VucyBiZWNhdXNlIGl0IHByb3ZpZGVzIGJldHRlclxuICogZXJyb3IgbWVzc2FnZXMuXG4gKi9cbkBDT05TVCgpXG5leHBvcnQgY2xhc3MgT3BhcXVlVG9rZW4ge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIF9kZXNjOiBzdHJpbmcpIHt9XG5cbiAgdG9TdHJpbmcoKTogc3RyaW5nIHsgcmV0dXJuIGBUb2tlbiAke3RoaXMuX2Rlc2N9YDsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';/**\r\n * @module\r\n * @description\r\n * The `di` module provides dependency injection container services.\r\n */\r\n\"use strict\";\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nvar metadata_1 = require('./di/metadata');\r\nexports.InjectMetadata = metadata_1.InjectMetadata;\r\nexports.OptionalMetadata = metadata_1.OptionalMetadata;\r\nexports.InjectableMetadata = metadata_1.InjectableMetadata;\r\nexports.SelfMetadata = metadata_1.SelfMetadata;\r\nexports.HostMetadata = metadata_1.HostMetadata;\r\nexports.SkipSelfMetadata = metadata_1.SkipSelfMetadata;\r\nexports.DependencyMetadata = metadata_1.DependencyMetadata;\r\n// we have to reexport * because Dart and TS export two different sets of types\r\n__export(require('./di/decorators'));\r\nvar forward_ref_1 = require('./di/forward_ref');\r\nexports.forwardRef = forward_ref_1.forwardRef;\r\nexports.resolveForwardRef = forward_ref_1.resolveForwardRef;\r\nvar injector_1 = require('./di/injector');\r\nexports.Injector = injector_1.Injector;\r\nvar reflective_injector_1 = require('./di/reflective_injector');\r\nexports.ReflectiveInjector = reflective_injector_1.ReflectiveInjector;\r\nvar provider_1 = require('./di/provider');\r\nexports.Binding = provider_1.Binding;\r\nexports.ProviderBuilder = provider_1.ProviderBuilder;\r\nexports.bind = provider_1.bind;\r\nexports.Provider = provider_1.Provider;\r\nexports.provide = provider_1.provide;\r\nvar reflective_provider_1 = require('./di/reflective_provider');\r\nexports.ResolvedReflectiveFactory = reflective_provider_1.ResolvedReflectiveFactory;\r\nexports.ReflectiveDependency = reflective_provider_1.ReflectiveDependency;\r\nvar reflective_key_1 = require('./di/reflective_key');\r\nexports.ReflectiveKey = reflective_key_1.ReflectiveKey;\r\nvar reflective_exceptions_1 = require('./di/reflective_exceptions');\r\nexports.NoProviderError = reflective_exceptions_1.NoProviderError;\r\nexports.AbstractProviderError = reflective_exceptions_1.AbstractProviderError;\r\nexports.CyclicDependencyError = reflective_exceptions_1.CyclicDependencyError;\r\nexports.InstantiationError = reflective_exceptions_1.InstantiationError;\r\nexports.InvalidProviderError = reflective_exceptions_1.InvalidProviderError;\r\nexports.NoAnnotationError = reflective_exceptions_1.NoAnnotationError;\r\nexports.OutOfBoundsError = reflective_exceptions_1.OutOfBoundsError;\r\nvar opaque_token_1 = require('./di/opaque_token');\r\nexports.OpaqueToken = opaque_token_1.OpaqueToken;\r\n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b2x2ZWRSZWZsZWN0aXZlUHJvdmlkZXJcbn0gZnJvbSAnLi9kaS9yZWZsZWN0aXZlX3Byb3ZpZGVyJztcbmV4cG9ydCB7UmVmbGVjdGl2ZUtleX0gZnJvbSAnLi9kaS9yZWZsZWN0aXZlX2tleSc7XG5leHBvcnQge1xuICBOb1Byb3ZpZGVyRXJyb3IsXG4gIEFic3RyYWN0UHJvdmlkZXJFcnJvcixcbiAgQ3ljbGljRGVwZW5kZW5jeUVycm9yLFxuICBJbnN0YW50aWF0aW9uRXJyb3IsXG4gIEludmFsaWRQcm92aWRlckVycm9yLFxuICBOb0Fubm90YXRpb25FcnJvcixcbiAgT3V0T2ZCb3VuZHNFcnJvclxufSBmcm9tICcuL2RpL3JlZmxlY3RpdmVfZXhjZXB0aW9ucyc7XG5leHBvcnQge09wYXF1ZVRva2VufSBmcm9tICcuL2RpL29wYXF1ZV90b2tlbic7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * A DI Token representing a unique string id assigned to the application by Angular and used\r\n * primarily for prefixing application attributes and CSS styles when\r\n * {@link ViewEncapsulation#Emulated} is being used.\r\n *\r\n * If you need to avoid randomly generated value to be used as an application id, you can provide\r\n * a custom value via a DI provider <!-- TODO: provider --> configuring the root {@link Injector}\r\n * using this token.\r\n */\r\nexports.APP_ID = lang_1.CONST_EXPR(new di_1.OpaqueToken('AppId'));\r\nfunction _appIdRandomProviderFactory() {\r\n return \"\" + _randomChar() + _randomChar() + _randomChar();\r\n}\r\n/**\r\n * Providers that will generate a random APP_ID_TOKEN.\r\n */\r\nexports.APP_ID_RANDOM_PROVIDER = lang_1.CONST_EXPR(new di_1.Provider(exports.APP_ID, { useFactory: _appIdRandomProviderFactory, deps: [] }));\r\nfunction _randomChar() {\r\n return lang_1.StringWrapper.fromCharCode(97 + lang_1.Math.floor(lang_1.Math.random() * 25));\r\n}\r\n/**\r\n * A function that will be executed when a platform is initialized.\r\n */\r\nexports.PLATFORM_INITIALIZER = lang_1.CONST_EXPR(new di_1.OpaqueToken(\"Platform Initializer\"));\r\n/**\r\n * A function that will be executed when an application is initialized.\r\n */\r\nexports.APP_INITIALIZER = lang_1.CONST_EXPR(new di_1.OpaqueToken(\"Application Initializer\"));\r\n/**\r\n * A token which indicates the root directory of the application\r\n */\r\nexports.PACKAGE_ROOT_URL = lang_1.CONST_EXPR(new di_1.OpaqueToken(\"Application Packages Root URL\"));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb25fdG9rZW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvYXBwbGljYXRpb25fdG9rZW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxtQkFBb0Msc0JBQXNCLENBQUMsQ0FBQTtBQUMzRCxxQkFBOEMsMEJBQTBCLENBQUMsQ0FBQTtBQUV6RTs7Ozs7Ozs7R0FRRztBQUNVLGNBQU0sR0FBZ0IsaUJBQVUsQ0FBQyxJQUFJLGdCQUFXLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQztBQUV4RTtJQUNFLE1BQU0sQ0FBQyxLQUFHLFdBQVcsRUFBRSxHQUFHLFdBQVcsRUFBRSxHQUFHLFdBQVcsRUFBSSxDQUFDO0FBQzVELENBQUM7QUFFRDs7R0FFRztBQUNVLDhCQUFzQixHQUMvQixpQkFBVSxDQUFDLElBQUksYUFBUSxDQUFDLGNBQU0sRUFBRSxFQUFDLFVBQVUsRUFBRSwyQkFBMkIsRUFBRSxJQUFJLEVBQUUsRUFBRSxFQUFDLENBQUMsQ0FBQyxDQUFDO0FBRTFGO0lBQ0UsTUFBTSxDQUFDLG9CQU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Ub2tlbiA9XG4gICAgQ09OU1RfRVhQUihuZXcgT3BhcXVlVG9rZW4oXCJQbGF0Zm9ybSBJbml0aWFsaXplclwiKSk7XG5cbi8qKlxuICogQSBmdW5jdGlvbiB0aGF0IHdpbGwgYmUgZXhlY3V0ZWQgd2hlbiBhbiBhcHBsaWNhdGlvbiBpcyBpbml0aWFsaXplZC5cbiAqL1xuZXhwb3J0IGNvbnN0IEFQUF9JTklUSUFMSVpFUjogT3BhcXVlVG9rZW4gPSBDT05TVF9FWFBSKG5ldyBPcGFxdWVUb2tlbihcIkFwcGxpY2F0aW9uIEluaXRpYWxpemVyXCIpKTtcblxuLyoqXG4gKiBBIHRva2VuIHdoaWNoIGluZGljYXRlcyB0aGUgcm9vdCBkaXJlY3Rvcnkgb2YgdGhlIGFwcGxpY2F0aW9uXG4gKi9cbmV4cG9ydCBjb25zdCBQQUNLQUdFX1JPT1RfVVJMOiBPcGFxdWVUb2tlbiA9XG4gICAgQ09OU1RfRVhQUihuZXcgT3BhcXVlVG9rZW4oXCJBcHBsaWNhdGlvbiBQYWNrYWdlcyBSb290IFVSTFwiKSk7XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar element_1 = require('./element');\r\nvar exceptions_2 = require('./exceptions');\r\nvar change_detection_1 = require('angular2/src/core/change_detection/change_detection');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar api_1 = require('angular2/src/core/render/api');\r\nvar application_tokens_1 = require('angular2/src/core/application_tokens');\r\nvar ViewUtils = (function () {\r\n function ViewUtils(_renderer, _appId) {\r\n this._renderer = _renderer;\r\n this._appId = _appId;\r\n this._nextCompTypeId = 0;\r\n }\r\n /**\r\n * Used by the generated code\r\n */\r\n ViewUtils.prototype.createRenderComponentType = function (templateUrl, slotCount, encapsulation, styles) {\r\n return new api_1.RenderComponentType(this._appId + \"-\" + this._nextCompTypeId++, templateUrl, slotCount, encapsulation, styles);\r\n };\r\n /** @internal */\r\n ViewUtils.prototype.renderComponent = function (renderComponentType) {\r\n return this._renderer.renderComponent(renderComponentType);\r\n };\r\n ViewUtils = __decorate([\r\n di_1.Injectable(),\r\n __param(1, di_1.Inject(application_tokens_1.APP_ID)), \r\n __metadata('design:paramtypes', [api_1.RootRenderer, String])\r\n ], ViewUtils);\r\n return ViewUtils;\r\n}());\r\nexports.ViewUtils = ViewUtils;\r\nfunction flattenNestedViewRenderNodes(nodes) {\r\n return _flattenNestedViewRenderNodes(nodes, []);\r\n}\r\nexports.flattenNestedViewRenderNodes = flattenNestedViewRenderNodes;\r\nfunction _flattenNestedViewRenderNodes(nodes, renderNodes) {\r\n for (var i = 0; i < nodes.length; i++) {\r\n var node = nodes[i];\r\n if (node instanceof element_1.AppElement) {\r\n var appEl = node;\r\n renderNodes.push(appEl.nativeElement);\r\n if (lang_1.isPresent(appEl.nestedViews)) {\r\n for (var k = 0; k < appEl.nestedViews.length; k++) {\r\n _flattenNestedViewRenderNodes(appEl.nestedViews[k].rootNodesOrAppElements, renderNodes);\r\n }\r\n }\r\n }\r\n else {\r\n renderNodes.push(node);\r\n }\r\n }\r\n return renderNodes;\r\n}\r\nvar EMPTY_ARR = lang_1.CONST_EXPR([]);\r\nfunction ensureSlotCount(projectableNodes, expectedSlotCount) {\r\n var res;\r\n if (lang_1.isBlank(projectableNodes)) {\r\n res = EMPTY_ARR;\r\n }\r\n else if (projectableNodes.length < expectedSlotCount) {\r\n var givenSlotCount = projectableNodes.length;\r\n res = collection_1.ListWrapper.createFixedSize(expectedSlotCount);\r\n for (var i = 0; i < expectedSlotCount; i++) {\r\n res[i] = (i < givenSlotCount) ? projectableNodes[i] : EMPTY_ARR;\r\n }\r\n }\r\n else {\r\n res = projectableNodes;\r\n }\r\n return res;\r\n}\r\nexports.ensureSlotCount = ensureSlotCount;\r\nexports.MAX_INTERPOLATION_VALUES = 9;\r\nfunction interpolate(valueCount, c0, a1, c1, a2, c2, a3, c3, a4, c4, a5, c5, a6, c6, a7, c7, a8, c8, a9, c9) {\r\n switch (valueCount) {\r\n case 1:\r\n return c0 + _toStringWithNull(a1) + c1;\r\n case 2:\r\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2;\r\n case 3:\r\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\r\n c3;\r\n case 4:\r\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\r\n c3 + _toStringWithNull(a4) + c4;\r\n case 5:\r\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\r\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5;\r\n case 6:\r\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\r\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\r\n c6;\r\n case 7:\r\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\r\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\r\n c6 + _toStringWithNull(a7) + c7;\r\n case 8:\r\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\r\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\r\n c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8;\r\n case 9:\r\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\r\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\r\n c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8 + _toStringWithNull(a9) +\r\n c9;\r\n default:\r\n throw new exceptions_1.BaseException(\"Does not support more than 9 expressions\");\r\n }\r\n}\r\nexports.interpolate = interpolate;\r\nfunction _toStringWithNull(v) {\r\n return v != null ? v.toString() : '';\r\n}\r\nfunction checkBinding(throwOnChange, oldValue, newValue) {\r\n if (throwOnChange) {\r\n if (!change_detection_1.devModeEqual(oldValue, newValue)) {\r\n throw new exceptions_2.ExpressionChangedAfterItHasBeenCheckedException(oldValue, newValue, null);\r\n }\r\n return false;\r\n }\r\n else {\r\n return !lang_1.looseIdentical(oldValue, newValue);\r\n }\r\n}\r\nexports.checkBinding = checkBinding;\r\nfunction arrayLooseIdentical(a, b) {\r\n if (a.length != b.length)\r\n return false;\r\n for (var i = 0; i < a.length; ++i) {\r\n if (!lang_1.looseIdentical(a[i], b[i]))\r\n return false;\r\n }\r\n return true;\r\n}\r\nexports.arrayLooseIdentical = arrayLooseIdentical;\r\nfunction mapLooseIdentical(m1, m2) {\r\n var k1 = collection_1.StringMapWrapper.keys(m1);\r\n var k2 = collection_1.StringMapWrapper.keys(m2);\r\n if (k1.length != k2.length) {\r\n return false;\r\n }\r\n var key;\r\n for (var i = 0; i < k1.length; i++) {\r\n key = k1[i];\r\n if (!lang_1.looseIdentical(m1[key], m2[key])) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\nexports.mapLooseIdentical = mapLooseIdentical;\r\nfunction castByValue(input, value) {\r\n return input;\r\n}\r\nexports.castByValue = castByValue;\r\nfunction pureProxy1(fn) {\r\n var result;\r\n var v0;\r\n v0 = change_detection_1.uninitialized;\r\n return function (p0) {\r\n if (!lang_1.looseIdentical(v0, p0)) {\r\n v0 = p0;\r\n result = fn(p0);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy1 = pureProxy1;\r\nfunction pureProxy2(fn) {\r\n var result;\r\n var v0, v1;\r\n v0 = v1 = change_detection_1.uninitialized;\r\n return function (p0, p1) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1)) {\r\n v0 = p0;\r\n v1 = p1;\r\n result = fn(p0, p1);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy2 = pureProxy2;\r\nfunction pureProxy3(fn) {\r\n var result;\r\n var v0, v1, v2;\r\n v0 = v1 = v2 = change_detection_1.uninitialized;\r\n return function (p0, p1, p2) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2)) {\r\n v0 = p0;\r\n v1 = p1;\r\n v2 = p2;\r\n result = fn(p0, p1, p2);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy3 = pureProxy3;\r\nfunction pureProxy4(fn) {\r\n var result;\r\n var v0, v1, v2, v3;\r\n v0 = v1 = v2 = v3 = change_detection_1.uninitialized;\r\n return function (p0, p1, p2, p3) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) ||\r\n !lang_1.looseIdentical(v3, p3)) {\r\n v0 = p0;\r\n v1 = p1;\r\n v2 = p2;\r\n v3 = p3;\r\n result = fn(p0, p1, p2, p3);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy4 = pureProxy4;\r\nfunction pureProxy5(fn) {\r\n var result;\r\n var v0, v1, v2, v3, v4;\r\n v0 = v1 = v2 = v3 = v4 = change_detection_1.uninitialized;\r\n return function (p0, p1, p2, p3, p4) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) ||\r\n !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4)) {\r\n v0 = p0;\r\n v1 = p1;\r\n v2 = p2;\r\n v3 = p3;\r\n v4 = p4;\r\n result = fn(p0, p1, p2, p3, p4);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy5 = pureProxy5;\r\nfunction pureProxy6(fn) {\r\n var result;\r\n var v0, v1, v2, v3, v4, v5;\r\n v0 = v1 = v2 = v3 = v4 = v5 = change_detection_1.uninitialized;\r\n return function (p0, p1, p2, p3, p4, p5) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) ||\r\n !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5)) {\r\n v0 = p0;\r\n v1 = p1;\r\n v2 = p2;\r\n v3 = p3;\r\n v4 = p4;\r\n v5 = p5;\r\n result = fn(p0, p1, p2, p3, p4, p5);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy6 = pureProxy6;\r\nfunction pureProxy7(fn) {\r\n var result;\r\n var v0, v1, v2, v3, v4, v5, v6;\r\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = change_detection_1.uninitialized;\r\n return function (p0, p1, p2, p3, p4, p5, p6) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) ||\r\n !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5) ||\r\n !lang_1.looseIdentical(v6, p6)) {\r\n v0 = p0;\r\n v1 = p1;\r\n v2 = p2;\r\n v3 = p3;\r\n v4 = p4;\r\n v5 = p5;\r\n v6 = p6;\r\n result = fn(p0, p1, p2, p3, p4, p5, p6);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy7 = pureProxy7;\r\nfunction pureProxy8(fn) {\r\n var result;\r\n var v0, v1, v2, v3, v4, v5, v6, v7;\r\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = change_detection_1.uninitialized;\r\n return function (p0, p1, p2, p3, p4, p5, p6, p7) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) ||\r\n !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5) ||\r\n !lang_1.looseIdentical(v6, p6) || !lang_1.looseIdentical(v7, p7)) {\r\n v0 = p0;\r\n v1 = p1;\r\n v2 = p2;\r\n v3 = p3;\r\n v4 = p4;\r\n v5 = p5;\r\n v6 = p6;\r\n v7 = p7;\r\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy8 = pureProxy8;\r\nfunction pureProxy9(fn) {\r\n var result;\r\n var v0, v1, v2, v3, v4, v5, v6, v7, v8;\r\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = change_detection_1.uninitialized;\r\n return function (p0, p1, p2, p3, p4, p5, p6, p7, p8) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) ||\r\n !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5) ||\r\n !lang_1.looseIdentical(v6, p6) || !lang_1.looseIdentical(v7, p7) || !lang_1.looseIdentical(v8, p8)) {\r\n v0 = p0;\r\n v1 = p1;\r\n v2 = p2;\r\n v3 = p3;\r\n v4 = p4;\r\n v5 = p5;\r\n v6 = p6;\r\n v7 = p7;\r\n v8 = p8;\r\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7, p8);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy9 = pureProxy9;\r\nfunction pureProxy10(fn) {\r\n var result;\r\n var v0, v1, v2, v3, v4, v5, v6, v7, v8, v9;\r\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = v9 = change_detection_1.uninitialized;\r\n return function (p0, p1, p2, p3, p4, p5, p6, p7, p8, p9) {\r\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) ||\r\n !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5) ||\r\n !lang_1.looseIdentical(v6, p6) || !lang_1.looseIdentical(v7, p7) || !lang_1.looseIdentical(v8, p8) ||\r\n !lang_1.looseIdentical(v9, p9)) {\r\n v0 = p0;\r\n v1 = p1;\r\n v2 = p2;\r\n v3 = p3;\r\n v4 = p4;\r\n v5 = p5;\r\n v6 = p6;\r\n v7 = p7;\r\n v8 = p8;\r\n v9 = p9;\r\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9);\r\n }\r\n return result;\r\n };\r\n}\r\nexports.pureProxy10 = pureProxy10;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld191dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2xpbmtlci92aWV3X3V0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBQSxxQkFPTywwQkFBMEIsQ0FBQyxDQUFBO0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cbiAgfSBlbHNlIHtcbiAgICByZXMgPSBwcm9qZWN0YWJsZU5vZGVzO1xuICB9XG4gIHJldHVybiByZXM7XG59XG5cbmV4cG9ydCBjb25zdCBNQVhfSU5URVJQT0xBVElPTl9WQUxVRVMgPSA5O1xuXG5leHBvcnQgZnVuY3Rpb24gaW50ZXJwb2xhdGUodmFsdWVDb3VudDogbnVtYmVyLCBjMDogc3RyaW5nLCBhMTogYW55LCBjMTogc3RyaW5nLCBhMj86IGFueSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjMj86IHN0cmluZywgYTM/OiBhbnksIGMzPzogc3RyaW5nLCBhND86IGFueSwgYzQ/OiBzdHJpbmcsIGE1PzogYW55LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGM1Pzogc3RyaW5nLCBhNj86IGFueSwgYzY/OiBzdHJpbmcsIGE3PzogYW55LCBjNz86IHN0cmluZywgYTg/OiBhbnksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYzg/OiBzdHJpbmcsIGE5PzogYW55LCBjOT86IHN0cmluZyk6IHN0cmluZyB7XG4gIHN3aXRjaCAodmFsdWVDb3VudCkge1xuICAgIGNhc2UgMTpcbiAgICAgIHJldHVybiBjMCArIF90b1N0cmluZ1dpdGhOdWxsKGExKSArIGMxO1xuICAgIGNhc2UgMjpcbiAgICAgIHJldHVybiBjMCArIF90b1N0cmluZ1dpdGhOdWxsKGExKSArIGMxICsgX3RvU3RyaW5nV2l0aE51bGwoYTIpICsgYzI7XG4gICAgY2FzZSAzOlxuICAgICAgcmV0dXJuIGMwICsgX3RvU3RyaW5nV2l0aE51bGwoYTEpICsgYzEgKyBfdG9TdHJpbmdXaXRoTnVsbChhMikgKyBjMiArIF90b1N0cmluZ1dpdGhOdWxsKGEzKSArXG4gICAgICAgICAgICAgYzM7XG4gICAgY2FzZSA0OlxuICAgICAgcmV0dXJuIGMwICsgX3RvU3RyaW5nV2l0aE51bGwoYTEpICsgYzEgKyBfdG9TdHJpbmd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SPihmbjogKHAwOiBQMCwgcDE6IFAxLCBwMjogUDIpID0+IFIpOiAocDA6IFAwLCBwMTogUDEsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcDI6IFAyKSA9PiBSIHtcbiAgdmFyIHJlc3VsdDogUjtcbiAgdmFyIHYwLCB2MSwgdjI7XG4gIHYwID0gdjEgPSB2MiA9IHVuaW5pdGlhbGl6ZWQ7XG4gIHJldHVybiAocDAsIHAxLCBwMikgPT4ge1xuICAgIGlmICghbG9vc2VJZGVudGljYWwodjAsIHAwKSB8fCAhbG9vc2VJZGVudGljYWwodjEsIHAxKSB8fCAhbG9vc2VJZGVudGljYWwodjIsIHAyKSkge1xuICAgICAgdjAgPSBwMDtcbiAgICAgIHYxID0gcDE7XG4gICAgICB2MiA9IHAyO1xuICAgICAgcmVzdWx0ID0gZm4ocDAsIHAxLCBwMik7XG4gICAgfVxuICAgIHJldHVybiByZXN1bHQ7XG4gIH07XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBwdXJlUHJveHk0PFAwLCBQMSwgUDIsIFAzLCBSPihmbjogKHAwOiBQMCwgcDE6IFAxLCBwMjogUDIsIHAzOiBQMykgPT4gUik6IChcbiAgICBwMDogUDAsIHAxOiBQMSwgcDI6IFAyLCBwMzogUDMpID0+IFIge1xuICB2YXIgcmVzdWx0OiBSO1xuICB2YXIgdjAsIHYxLCB2MiwgdjM7XG4gIHYwID0gdjEgPSB2MiA9IHYzID0gdW5pbml0aWFsaXplZDtcbiAgcmV0dXJuIChwMCwgcDEsIHAyLCBwMykgPT4ge1xuICAgIGlmICghbG9vc2VJZGVudGljYWwodjAsIHAwKSB8fCAhbG9vc2VJZGVudGljYWwodjEsIHAxKSB8fCAhbG9vc2VJZGVudGljYWwodjIsIHAyKSB8fFxuICAgICAgICAhbG9vc2VJZGVudGljYWwodjMsIHAzKSkge1xuICAgICAgdjAgPSBwMDtc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gICAgIHY4ID0gcDg7XG4gICAgICB2OSA9IHA5O1xuICAgICAgcmVzdWx0ID0gZm4ocDAsIHAxLCBwMiwgcDMsIHA0LCBwNSwgcDYsIHA3LCBwOCwgcDkpO1xuICAgIH1cbiAgICByZXR1cm4gcmVzdWx0O1xuICB9O1xufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar view_utils_1 = require('./view_utils');\r\n/**\r\n * Represents an instance of a Component created via a {@link ComponentFactory}.\r\n *\r\n * `ComponentRef` provides access to the Component Instance as well other objects related to this\r\n * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}\r\n * method.\r\n */\r\nvar ComponentRef = (function () {\r\n function ComponentRef() {\r\n }\r\n Object.defineProperty(ComponentRef.prototype, \"location\", {\r\n /**\r\n * Location of the Host Element of this Component Instance.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ComponentRef.prototype, \"injector\", {\r\n /**\r\n * The injector on which the component instance exists.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ComponentRef.prototype, \"instance\", {\r\n /**\r\n * The instance of the Component.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(ComponentRef.prototype, \"hostView\", {\r\n /**\r\n * The {@link ViewRef} of the Host View of this Component instance.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(ComponentRef.prototype, \"changeDetectorRef\", {\r\n /**\r\n * The {@link ChangeDetectorRef} of the Component instance.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ComponentRef.prototype, \"componentType\", {\r\n /**\r\n * The component type.\r\n */\r\n get: function () { return exceptions_1.unimplemented(); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return ComponentRef;\r\n}());\r\nexports.ComponentRef = ComponentRef;\r\nvar ComponentRef_ = (function (_super) {\r\n __extends(ComponentRef_, _super);\r\n function ComponentRef_(_hostElement, _componentType) {\r\n _super.call(this);\r\n this._hostElement = _hostElement;\r\n this._componentType = _componentType;\r\n }\r\n Object.defineProperty(ComponentRef_.prototype, \"location\", {\r\n get: function () { return this._hostElement.elementRef; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ComponentRef_.prototype, \"injector\", {\r\n get: function () { return this._hostElement.injector; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ComponentRef_.prototype, \"instance\", {\r\n get: function () { return this._hostElement.component; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(ComponentRef_.prototype, \"hostView\", {\r\n get: function () { return this._hostElement.parentView.ref; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(ComponentRef_.prototype, \"changeDetectorRef\", {\r\n get: function () { return this.hostView; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ;\r\n Object.defineProperty(ComponentRef_.prototype, \"componentType\", {\r\n get: function () { return this._componentType; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ComponentRef_.prototype.destroy = function () { this._hostElement.parentView.destroy(); };\r\n ComponentRef_.prototype.onDestroy = function (callback) { this.hostView.onDestroy(callback); };\r\n return ComponentRef_;\r\n}(ComponentRef));\r\nexports.ComponentRef_ = ComponentRef_;\r\nvar ComponentFactory = (function () {\r\n function ComponentFactory(selector, _viewFactory, _componentType) {\r\n this.selector = selector;\r\n this._viewFactory = _viewFactory;\r\n this._componentType = _componentType;\r\n }\r\n Object.defineProperty(ComponentFactory.prototype, \"componentType\", {\r\n get: function () { return this._componentType; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /**\r\n * Creates a new component.\r\n */\r\n ComponentFactory.prototype.create = function (injector, projectableNodes, rootSelectorOrNode) {\r\n if (projectableNodes === void 0) { projectableNodes = null; }\r\n if (rootSelectorOrNode === void 0) { rootSelectorOrNode = null; }\r\n var vu = injector.get(view_utils_1.ViewUtils);\r\n if (lang_1.isBlank(projectableNodes)) {\r\n projectableNodes = [];\r\n }\r\n // Note: Host views don't need a declarationAppElement!\r\n var hostView = this._viewFactory(vu, injector, null);\r\n var hostElement = hostView.create(projectableNodes, rootSelectorOrNode);\r\n return new ComponentRef_(hostElement, this._componentType);\r\n };\r\n ComponentFactory = __decorate([\r\n lang_1.CONST(), \r\n __metadata('design:paramtypes', [String, Function, lang_1.Type])\r\n ], ComponentFactory);\r\n return ComponentFactory;\r\n}());\r\nexports.ComponentFactory = ComponentFactory;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50X2ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc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Bkb24ndCBuZWVkIGEgZGVjbGFyYXRpb25BcHBFbGVtZW50IVxuICAgIHZhciBob3N0VmlldyA9IHRoaXMuX3ZpZXdGYWN0b3J5KHZ1LCBpbmplY3RvciwgbnVsbCk7XG4gICAgdmFyIGhvc3RFbGVtZW50ID0gaG9zdFZpZXcuY3JlYXRlKHByb2plY3RhYmxlTm9kZXMsIHJvb3RTZWxlY3Rvck9yTm9kZSk7XG4gICAgcmV0dXJuIG5ldyBDb21wb25lbnRSZWZfKGhvc3RFbGVtZW50LCB0aGlzLl9jb21wb25lbnRUeXBlKTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar async_1 = require('angular2/src/facade/async');\r\nvar reflection_1 = require('angular2/src/core/reflection/reflection');\r\nvar component_factory_1 = require('./component_factory');\r\n/**\r\n * Low-level service for loading {@link ComponentFactory}s, which\r\n * can later be used to create and render a Component instance.\r\n */\r\nvar ComponentResolver = (function () {\r\n function ComponentResolver() {\r\n }\r\n return ComponentResolver;\r\n}());\r\nexports.ComponentResolver = ComponentResolver;\r\nfunction _isComponentFactory(type) {\r\n return type instanceof component_factory_1.ComponentFactory;\r\n}\r\nvar ReflectorComponentResolver = (function (_super) {\r\n __extends(ReflectorComponentResolver, _super);\r\n function ReflectorComponentResolver() {\r\n _super.apply(this, arguments);\r\n }\r\n ReflectorComponentResolver.prototype.resolveComponent = function (componentType) {\r\n var metadatas = reflection_1.reflector.annotations(componentType);\r\n var componentFactory = metadatas.find(_isComponentFactory);\r\n if (lang_1.isBlank(componentFactory)) {\r\n throw new exceptions_1.BaseException(\"No precompiled component \" + lang_1.stringify(componentType) + \" found\");\r\n }\r\n return async_1.PromiseWrapper.resolve(componentFactory);\r\n };\r\n ReflectorComponentResolver.prototype.clearCache = function () { };\r\n ReflectorComponentResolver = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [])\r\n ], ReflectorComponentResolver);\r\n return ReflectorComponentResolver;\r\n}(ComponentResolver));\r\nexports.ReflectorComponentResolver = ReflectorComponentResolver;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50X3Jlc29sdmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvcmUvbGlua2VyL2NvbXBvbmVudF9yZXNvbHZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBQSxtQkFBeUIsc0JBQXNCLENBQUMsQ0FBQTtBQUNoRCxxQkFBdUMsMEJBQTBCLENBQUMsQ0FBQTtBQUNsRSwyQkFBNEIsZ0NBQWdDLENBQUMsQ0FBQTtBQUM3RCxzQkFBNkIsMkJBQTJ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IGV4dGVuZHMgQ29tcG9uZW50UmVzb2x2ZXIge1xuICByZXNvbHZlQ29tcG9uZW50KGNvbXBvbmVudFR5cGU6IFR5cGUpOiBQcm9taXNlPENvbXBvbmVudEZhY3Rvcnk+IHtcbiAgICB2YXIgbWV0YWRhdGFzID0gcmVmbGVjdG9yLmFubm90YXRpb25zKGNvbXBvbmVudFR5cGUpO1xuICAgIHZhciBjb21wb25lbnRGYWN0b3J5ID0gbWV0YWRhdGFzLmZpbmQoX2lzQ29tcG9uZW50RmFjdG9yeSk7XG5cbiAgICBpZiAoaXNCbGFuayhjb21wb25lbnRGYWN0b3J5KSkge1xuICAgICAgdGhyb3cgbmV3IEJhc2VFeGNlcHRpb24oYE5vIHByZWNvbXBpbGVkIGNvbXBvbmVudCAke3N0cmluZ2lmeShjb21wb25lbnRUeXBlKX0gZm91bmRgKTtcbiAgICB9XG4gICAgcmV0dXJuIFByb21pc2VXcmFwcGVyLnJlc29sdmUoY29tcG9uZW50RmFjdG9yeSk7XG4gIH1cbiAgY2xlYXJDYWNoZSgpIHt9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar di_1 = require('angular2/src/core/di');\r\nvar component_resolver_1 = require('./component_resolver');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\n/**\r\n * Service for instantiating a Component and attaching it to a View at a specified location.\r\n */\r\nvar DynamicComponentLoader = (function () {\r\n function DynamicComponentLoader() {\r\n }\r\n return DynamicComponentLoader;\r\n}());\r\nexports.DynamicComponentLoader = DynamicComponentLoader;\r\nvar DynamicComponentLoader_ = (function (_super) {\r\n __extends(DynamicComponentLoader_, _super);\r\n function DynamicComponentLoader_(_compiler) {\r\n _super.call(this);\r\n this._compiler = _compiler;\r\n }\r\n DynamicComponentLoader_.prototype.loadAsRoot = function (type, overrideSelectorOrNode, injector, onDispose, projectableNodes) {\r\n return this._compiler.resolveComponent(type).then(function (componentFactory) {\r\n var componentRef = componentFactory.create(injector, projectableNodes, lang_1.isPresent(overrideSelectorOrNode) ? overrideSelectorOrNode : componentFactory.selector);\r\n if (lang_1.isPresent(onDispose)) {\r\n componentRef.onDestroy(onDispose);\r\n }\r\n return componentRef;\r\n });\r\n };\r\n DynamicComponentLoader_.prototype.loadNextToLocation = function (type, location, providers, projectableNodes) {\r\n if (providers === void 0) { providers = null; }\r\n if (projectableNodes === void 0) { projectableNodes = null; }\r\n return this._compiler.resolveComponent(type).then(function (componentFactory) {\r\n var contextInjector = location.parentInjector;\r\n var childInjector = lang_1.isPresent(providers) && providers.length > 0 ?\r\n di_1.ReflectiveInjector.fromResolvedProviders(providers, contextInjector) :\r\n contextInjector;\r\n return location.createComponent(componentFactory, location.length, childInjector, projectableNodes);\r\n });\r\n };\r\n DynamicComponentLoader_ = __decorate([\r\n di_1.Injectable(), \r\n __metadata('design:paramtypes', [component_resolver_1.ComponentResolver])\r\n ], DynamicComponentLoader_);\r\n return DynamicComponentLoader_;\r\n}(DynamicComponentLoader));\r\nexports.DynamicComponentLoader_ = DynamicComponentLoader_;\r\n//# sourceMappingURL=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hlIG5ld2x5IGNyZWF0ZWQgQ29tcG9uZW50LlxuICAgKlxuICAgKlxuICAgKiAjIyMgRXhhbXBsZVxuICAgKlxuICAgKiBgYGBcbiAgICogQENvbXBvbmVudCh7XG4gICAqICAgc2VsZWN0b3I6ICdjaGlsZC1jb21wb25lbnQnLFxuICAgKiAgIHRlbXBsYXRlOiAnQ2hpbGQnXG4gICAqIH0pXG4gICAqIGNsYXNzIENoaWxkQ29tcG9uZW50IHtcbiAgICogfVxuICAgKlxuICAgKiBAQ29tcG9uZW50KHtcbiAgICogICBzZWxlY3RvcjogJ215LWFwcCcsXG4gICAqICAgdGVtcGxhdGU6ICdQYXJlbnQnXG4gICAqIH0pXG4gICAqIGNsYXNzIE15QXBwIHtcbiAgICogICBjb25zdHJ1Y3RvcihkY2w6IER5bmFtaWNDb21wb25lbnRMb2FkZXIsIHZpZXdDb250YWluZXJSZWY6IFZpZXdDb250YWluZXJSZWYpIHtcbiAgICogICAgIGRjbC5sb2FkTmV4dFRvTG9jYXRpb24oQ2hpbGRDb21wb25lbnQsIHZpZXdDb250YWluZXJSZWYpO1xuICAgKiAgIH1cbiAgICogfVxuICAgKlxuICAgKiBib290c3RyYXAoTXlBcHApO1xuICAgKiBgYGBcbiAgICpcbiAgICogUmVzdWx0aW5nIERPTTpcbiAgICpcbiAgICogYGBgXG4gICAqIDxteS1hcHA+UGFyZW50PC9teS1hcHA+XG4gICAqIDxjaGlsZC1jb21wb25lbnQ+Q2hpbGQ8L2NoaWxkLWNvbXBvbmVudD5cbiAgICogYGBgXG4gICAqL1xuICBhYnN0cmFjdCBsb2FkTmV4dFRvTG9jYXRpb24odHlwZTogVHlwZSwgbG9jYXRpb246IFZpZXdDb250YWluZXJSZWYsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcm92aWRlcnM/OiBSZXNvbHZlZFJlZmxlY3RpdmVQcm92aWRlcltdLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJvamVjdGFibGVOb2Rl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ICAgICAgICAgICAgICAgICAgICBwcm92aWRlcnM6IFJlc29sdmVkUmVmbGVjdGl2ZVByb3ZpZGVyW10gPSBudWxsLFxuICAgICAgICAgICAgICAgICAgICAgcHJvamVjdGFibGVOb2RlczogYW55W11bXSA9IG51bGwpOiBQcm9taXNlPENvbXBvbmVudFJlZj4ge1xuICAgIHJldHVybiB0aGlzLl9jb21waWxlci5yZXNvbHZlQ29tcG9uZW50KHR5cGUpLnRoZW4oY29tcG9uZW50RmFjdG9yeSA9PiB7XG4gICAgICB2YXIgY29udGV4dEluamVjdG9yID0gbG9jYXRpb24ucGFyZW50SW5qZWN0b3I7XG4gICAgICB2YXIgY2hpbGRJbmplY3RvciA9IGlzUHJlc2VudChwcm92aWRlcnMpICYmIHByb3ZpZGVycy5sZW5ndGggPiAwID9cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFJlZmxlY3RpdmVJbmplY3Rvci5mcm9tUmVzb2x2ZWRQcm92aWRlcnMocHJvdmlkZXJzLCBjb250ZXh0SW5qZWN0b3IpIDpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRleHRJbmplY3RvcjtcbiAgICAgIHJldHVybiBsb2NhdGlvbi5jcmVhdGVDb21wb25lbnQoY29tcG9uZW50RmFjdG9yeSwgbG9jYXRpb24ubGVuZ3RoLCBjaGlsZEluamVjdG9yLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcm9qZWN0YWJsZU5vZGVzKTtcbiAgICB9KTtcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar di_1 = require('angular2/src/core/di');\r\nvar application_tokens_1 = require('./application_tokens');\r\nvar application_ref_1 = require('./application_ref');\r\nvar change_detection_1 = require('./change_detection/change_detection');\r\nvar view_utils_1 = require(\"./linker/view_utils\");\r\nvar component_resolver_1 = require('./linker/component_resolver');\r\nvar dynamic_component_loader_1 = require('./linker/dynamic_component_loader');\r\nvar __unused; // avoid unused import when Type union types are erased\r\n/**\r\n * A default set of providers which should be included in any Angular\r\n * application, regardless of the platform it runs onto.\r\n */\r\nexports.APPLICATION_COMMON_PROVIDERS = lang_1.CONST_EXPR([\r\n application_ref_1.APPLICATION_CORE_PROVIDERS,\r\n new di_1.Provider(component_resolver_1.ComponentResolver, { useClass: component_resolver_1.ReflectorComponentResolver }),\r\n application_tokens_1.APP_ID_RANDOM_PROVIDER,\r\n view_utils_1.ViewUtils,\r\n new di_1.Provider(change_detection_1.IterableDiffers, { useValue: change_detection_1.defaultIterableDiffers }),\r\n new di_1.Provider(change_detection_1.KeyValueDiffers, { useValue: change_detection_1.defaultKeyValueDiffers }),\r\n new di_1.Provider(dynamic_component_loader_1.DynamicComponentLoader, { useClass: dynamic_component_loader_1.DynamicComponentLoader_ })\r\n]);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb25fY29tbW9uX3Byb3ZpZGVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL2FwcGxpY2F0aW9uX2NvbW1vbl9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHFCQUErQiwwQkFBMEIsQ0FBQyxDQUFBO0FBQzFELG1CQUF1RCxzQkFBc0IsQ0FBQyxDQUFBO0FBQzlFLG1DQUFxQyxzQkFBc0IsQ0FBQyxDQUFBO0FBQzVELGdDQUF5QyxtQkFBbUIsQ0FBQyxDQUFBO0FBQzdELGlDQUtPLHFDQUFxQyxDQUFDLENBQUE7QUFDN0MsMkJBQXdCLHFCQUFxQixDQUFDLENBQUE7QUFDOUMsbUNBQTRELDZCQUE2QixDQUFDLENBQUE7QUFDMUYseUNBQThELG1DQUFtQy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yBQcm92aWRlcihLZXlWYWx1ZURpZmZlcnMsIHt1c2VWYWx1ZTogZGVmYXVsdEtleVZhbHVlRGlmZmVyc30pLFxuICBuZXcgUHJvdmlkZXIoRHluYW1pY0NvbXBvbmVudExvYWRlciwge3VzZUNsYXNzOiBEeW5hbWljQ29tcG9uZW50TG9hZGVyX30pXG5dKTsiXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\n/**\r\n * Provides read-only access to reflection data about symbols. Used internally by Angular\r\n * to power dependency injection and compilation.\r\n */\r\nvar ReflectorReader = (function () {\r\n function ReflectorReader() {\r\n }\r\n return ReflectorReader;\r\n}());\r\nexports.ReflectorReader = ReflectorReader;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmbGVjdG9yX3JlYWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL3JlZmxlY3Rpb24vcmVmbGVjdG9yX3JlYWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7OztHQUdHO0FBQ0g7SUFBQTtJQUtBLENBQUM7SUFBRCxzQkFBQztBQUFELENBQUMsQUFMRCxJQUtDO0FBTHFCLHVCQUFlLGtCQUtwQyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBQcm92aWRlcyByZWFkLW9ubHkgYWNjZXNzIHRvIHJlZmxlY3Rpb24gZGF0YSBhYm91dCBzeW1ib2xzLiBVc2VkIGludGVybmFsbHkgYnkgQW5ndWxhclxuICogdG8gcG93ZXIgZGVwZW5kZW5jeSBpbmplY3Rpb24gYW5kIGNvbXBpbGF0aW9uLlxuICovXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgUmVmbGVjdG9yUmVhZGVyIHtcbiAgYWJzdHJhY3QgcGFyYW1ldGVycyh0eXBlT3JGdW5jOiAvKlR5cGUqLyBhbnkpOiBhbnlbXVtdO1xuICBhYnN0cmFjdCBhbm5vdGF0aW9ucyh0eXBlT3JGdW5jOiAvKlR5cGUqLyBhbnkpOiBhbnlbXTtcbiAgYWJzdHJhY3QgcHJvcE1ldGFkYXRhKHR5cGVPckZ1bmM6IC8qVHlwZSovIGFueSk6IHtba2V5OiBzdHJpbmddOiBhbnlbXX07XG4gIGFic3RyYWN0IGltcG9ydFVyaSh0eXBlT3JGdW5jOiAvKlR5cGUqLyBhbnkpOiBzdHJpbmc7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar reflector_reader_1 = require('./reflector_reader');\r\n/**\r\n * Reflective information about a symbol, including annotations, interfaces, and other metadata.\r\n */\r\nvar ReflectionInfo = (function () {\r\n function ReflectionInfo(annotations, parameters, factory, interfaces, propMetadata) {\r\n this.annotations = annotations;\r\n this.parameters = parameters;\r\n this.factory = factory;\r\n this.interfaces = interfaces;\r\n this.propMetadata = propMetadata;\r\n }\r\n return ReflectionInfo;\r\n}());\r\nexports.ReflectionInfo = ReflectionInfo;\r\n/**\r\n * Provides access to reflection data about symbols. Used internally by Angular\r\n * to power dependency injection and compilation.\r\n */\r\nvar Reflector = (function (_super) {\r\n __extends(Reflector, _super);\r\n function Reflector(reflectionCapabilities) {\r\n _super.call(this);\r\n /** @internal */\r\n this._injectableInfo = new collection_1.Map();\r\n /** @internal */\r\n this._getters = new collection_1.Map();\r\n /** @internal */\r\n this._setters = new collection_1.Map();\r\n /** @internal */\r\n this._methods = new collection_1.Map();\r\n this._usedKeys = null;\r\n this.reflectionCapabilities = reflectionCapabilities;\r\n }\r\n Reflector.prototype.isReflectionEnabled = function () { return this.reflectionCapabilities.isReflectionEnabled(); };\r\n /**\r\n * Causes `this` reflector to track keys used to access\r\n * {@link ReflectionInfo} objects.\r\n */\r\n Reflector.prototype.trackUsage = function () { this._usedKeys = new collection_1.Set(); };\r\n /**\r\n * Lists types for which reflection information was not requested since\r\n * {@link #trackUsage} was called. This list could later be audited as\r\n * potential dead code.\r\n */\r\n Reflector.prototype.listUnusedKeys = function () {\r\n var _this = this;\r\n if (this._usedKeys == null) {\r\n throw new exceptions_1.BaseException('Usage tracking is disabled');\r\n }\r\n var allTypes = collection_1.MapWrapper.keys(this._injectableInfo);\r\n return allTypes.filter(function (key) { return !collection_1.SetWrapper.has(_this._usedKeys, key); });\r\n };\r\n Reflector.prototype.registerFunction = function (func, funcInfo) {\r\n this._injectableInfo.set(func, funcInfo);\r\n };\r\n Reflector.prototype.registerType = function (type, typeInfo) {\r\n this._injectableInfo.set(type, typeInfo);\r\n };\r\n Reflector.prototype.registerGetters = function (getters) { _mergeMaps(this._getters, getters); };\r\n Reflector.prototype.registerSetters = function (setters) { _mergeMaps(this._setters, setters); };\r\n Reflector.prototype.registerMethods = function (methods) { _mergeMaps(this._methods, methods); };\r\n Reflector.prototype.factory = function (type) {\r\n if (this._containsReflectionInfo(type)) {\r\n var res = this._getReflectionInfo(type).factory;\r\n return lang_1.isPresent(res) ? res : null;\r\n }\r\n else {\r\n return this.reflectionCapabilities.factory(type);\r\n }\r\n };\r\n Reflector.prototype.parameters = function (typeOrFunc) {\r\n if (this._injectableInfo.has(typeOrFunc)) {\r\n var res = this._getReflectionInfo(typeOrFunc).parameters;\r\n return lang_1.isPresent(res) ? res : [];\r\n }\r\n else {\r\n return this.reflectionCapabilities.parameters(typeOrFunc);\r\n }\r\n };\r\n Reflector.prototype.annotations = function (typeOrFunc) {\r\n if (this._injectableInfo.has(typeOrFunc)) {\r\n var res = this._getReflectionInfo(typeOrFunc).annotations;\r\n return lang_1.isPresent(res) ? res : [];\r\n }\r\n else {\r\n return this.reflectionCapabilities.annotations(typeOrFunc);\r\n }\r\n };\r\n Reflector.prototype.propMetadata = function (typeOrFunc) {\r\n if (this._injectableInfo.has(typeOrFunc)) {\r\n var res = this._getReflectionInfo(typeOrFunc).propMetadata;\r\n return lang_1.isPresent(res) ? res : {};\r\n }\r\n else {\r\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\r\n }\r\n };\r\n Reflector.prototype.interfaces = function (type) {\r\n if (this._injectableInfo.has(type)) {\r\n var res = this._getReflectionInfo(type).interfaces;\r\n return lang_1.isPresent(res) ? res : [];\r\n }\r\n else {\r\n return this.reflectionCapabilities.interfaces(type);\r\n }\r\n };\r\n Reflector.prototype.getter = function (name) {\r\n if (this._getters.has(name)) {\r\n return this._getters.get(name);\r\n }\r\n else {\r\n return this.reflectionCapabilities.getter(name);\r\n }\r\n };\r\n Reflector.prototype.setter = function (name) {\r\n if (this._setters.has(name)) {\r\n return this._setters.get(name);\r\n }\r\n else {\r\n return this.reflectionCapabilities.setter(name);\r\n }\r\n };\r\n Reflector.prototype.method = function (name) {\r\n if (this._methods.has(name)) {\r\n return this._methods.get(name);\r\n }\r\n else {\r\n return this.reflectionCapabilities.method(name);\r\n }\r\n };\r\n /** @internal */\r\n Reflector.prototype._getReflectionInfo = function (typeOrFunc) {\r\n if (lang_1.isPresent(this._usedKeys)) {\r\n this._usedKeys.add(typeOrFunc);\r\n }\r\n return this._injectableInfo.get(typeOrFunc);\r\n };\r\n /** @internal */\r\n Reflector.prototype._containsReflectionInfo = function (typeOrFunc) { return this._injectableInfo.has(typeOrFunc); };\r\n Reflector.prototype.importUri = function (type) { return this.reflectionCapabilities.importUri(type); };\r\n return Reflector;\r\n}(reflector_reader_1.ReflectorReader));\r\nexports.Reflector = Reflector;\r\nfunction _mergeMaps(target, config) {\r\n collection_1.StringMapWrapper.forEach(config, function (v, k) { return target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HRoaXMuX3VzZWRLZXlzKSkge1xuICAgICAgdGhpcy5fdXNlZEtleXMuYWRkKHR5cGVPckZ1bmMpO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy5faW5qZWN0YWJsZUluZm8uZ2V0KHR5cGVPckZ1bmMpO1xuICB9XG5cbiAgLyoqIEBpbnRlcm5hbCAqL1xuICBfY29udGFpbnNSZWZsZWN0aW9uSW5mbyh0eXBlT3JGdW5jOiBhbnkpIHsgcmV0dXJuIHRoaXMuX2luamVjdGFibGVJbmZvLmhhcyh0eXBlT3JGdW5jKTsgfVxuXG4gIGltcG9ydFVyaSh0eXBlOiBUeXBlKTogc3RyaW5nIHsgcmV0dXJuIHRoaXMucmVmbGVjdGlvbkNhcGFiaWxpdGllcy5pbXBvcnRVcmkodHlwZSk7IH1cbn1cblxuZnVuY3Rpb24gX21lcmdlTWFwcyh0YXJnZXQ6IE1hcDxzdHJpbmcsIEZ1bmN0aW9uPiwgY29uZmlnOiB7W2tleTogc3RyaW5nXTogRnVuY3Rpb259KTogdm9pZCB7XG4gIFN0cmluZ01hcFdyYXBwZXIuZm9yRWFjaChjb25maWcsICh2OiBGdW5jdGlvbiwgazogc3RyaW5nKSA9PiB0YXJnZXQuc2V0KGssIHYpKTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\n/**\r\n * A base class for the WrappedException that can be used to identify\r\n * a WrappedException from ExceptionHandler without adding circular\r\n * dependency.\r\n */\r\nvar BaseWrappedException = (function (_super) {\r\n __extends(BaseWrappedException, _super);\r\n function BaseWrappedException(message) {\r\n _super.call(this, message);\r\n }\r\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperMessage\", {\r\n get: function () { return ''; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperStack\", {\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(BaseWrappedException.prototype, \"originalException\", {\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(BaseWrappedException.prototype, \"originalStack\", {\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(BaseWrappedException.prototype, \"context\", {\r\n get: function () { return null; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(BaseWrappedException.prototype, \"message\", {\r\n get: function () { return ''; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return BaseWrappedException;\r\n}(Error));\r\nexports.BaseWrappedException = BaseWrappedException;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZV93cmFwcGVkX2V4Y2VwdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9mYWNhZGUvYmFzZV93cmFwcGVkX2V4Y2VwdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7OztHQUlHO0FBQ0g7SUFBMEMsd0NBQUs7SUFDN0MsOEJBQVksT0FBZTtRQUFJLGtCQUFNLE9BQU8sQ0FBQyxDQUFDO0lBQUMsQ0FBQztJQUVoRCxzQkFBSSxnREFBYzthQUFsQixjQUErQixNQUFNLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQzs7O09BQUE7SUFDM0Msc0JBQUksOENBQVk7YUFBaEIsY0FBMEIsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUM7OztPQUFBO0lBQ3hDLHNCQUFJLG1EQUFpQjthQUFyQixjQUErQixNQU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iBudWxsOyB9XG4gIGdldCBtZXNzYWdlKCk6IHN0cmluZyB7IHJldHVybiAnJzsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar base_wrapped_exception_1 = require('angular2/src/facade/base_wrapped_exception');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar _ArrayLogger = (function () {\r\n function _ArrayLogger() {\r\n this.res = [];\r\n }\r\n _ArrayLogger.prototype.log = function (s) { this.res.push(s); };\r\n _ArrayLogger.prototype.logError = function (s) { this.res.push(s); };\r\n _ArrayLogger.prototype.logGroup = function (s) { this.res.push(s); };\r\n _ArrayLogger.prototype.logGroupEnd = function () { };\r\n ;\r\n return _ArrayLogger;\r\n}());\r\n/**\r\n * Provides a hook for centralized exception handling.\r\n *\r\n * The default implementation of `ExceptionHandler` prints error messages to the `Console`. To\r\n * intercept error handling,\r\n * write a custom exception handler that replaces this default as appropriate for your app.\r\n *\r\n * ### Example\r\n *\r\n * ```javascript\r\n *\r\n * class MyExceptionHandler implements ExceptionHandler {\r\n * call(error, stackTrace = null, reason = null) {\r\n * // do something with the exception\r\n * }\r\n * }\r\n *\r\n * bootstrap(MyApp, [provide(ExceptionHandler, {useClass: MyExceptionHandler})])\r\n *\r\n * ```\r\n */\r\nvar ExceptionHandler = (function () {\r\n function ExceptionHandler(_logger, _rethrowException) {\r\n if (_rethrowException === void 0) { _rethrowException = true; }\r\n this._logger = _logger;\r\n this._rethrowException = _rethrowException;\r\n }\r\n ExceptionHandler.exceptionToString = function (exception, stackTrace, reason) {\r\n if (stackTrace === void 0) { stackTrace = null; }\r\n if (reason === void 0) { reason = null; }\r\n var l = new _ArrayLogger();\r\n var e = new ExceptionHandler(l, false);\r\n e.call(exception, stackTrace, reason);\r\n return l.res.join(\"\\n\");\r\n };\r\n ExceptionHandler.prototype.call = function (exception, stackTrace, reason) {\r\n if (stackTrace === void 0) { stackTrace = null; }\r\n if (reason === void 0) { reason = null; }\r\n var originalException = this._findOriginalException(exception);\r\n var originalStack = this._findOriginalStack(exception);\r\n var context = this._findContext(exception);\r\n this._logger.logGroup(\"EXCEPTION: \" + this._extractMessage(exception));\r\n if (lang_1.isPresent(stackTrace) && lang_1.isBlank(originalStack)) {\r\n this._logger.logError(\"STACKTRACE:\");\r\n this._logger.logError(this._longStackTrace(stackTrace));\r\n }\r\n if (lang_1.isPresent(reason)) {\r\n this._logger.logError(\"REASON: \" + reason);\r\n }\r\n if (lang_1.isPresent(originalException)) {\r\n this._logger.logError(\"ORIGINAL EXCEPTION: \" + this._extractMessage(originalException));\r\n }\r\n if (lang_1.isPresent(originalStack)) {\r\n this._logger.logError(\"ORIGINAL STACKTRACE:\");\r\n this._logger.logError(this._longStackTrace(originalStack));\r\n }\r\n if (lang_1.isPresent(context)) {\r\n this._logger.logError(\"ERROR CONTEXT:\");\r\n this._logger.logError(context);\r\n }\r\n this._logger.logGroupEnd();\r\n // We rethrow exceptions, so operations like 'bootstrap' will result in an error\r\n // when an exception happens. If we do not rethrow, bootstrap will always succeed.\r\n if (this._rethrowException)\r\n throw exception;\r\n };\r\n /** @internal */\r\n ExceptionHandler.prototype._extractMessage = function (exception) {\r\n return exception instanceof base_wrapped_exception_1.BaseWrappedException ? exception.wrapperMessage :\r\n exception.toString();\r\n };\r\n /** @internal */\r\n ExceptionHandler.prototype._longStackTrace = function (stackTrace) {\r\n return collection_1.isListLikeIterable(stackTrace) ? stackTrace.join(\"\\n\\n-----async gap-----\\n\") :\r\n stackTrace.toString();\r\n };\r\n /** @internal */\r\n ExceptionHandler.prototype._findContext = function (exception) {\r\n try {\r\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\r\n return null;\r\n return lang_1.isPresent(exception.context) ? exception.context :\r\n this._findContext(exception.originalException);\r\n }\r\n catch (e) {\r\n // exception.context can throw an exception. if it happens, we ignore the context.\r\n return null;\r\n }\r\n };\r\n /** @internal */\r\n ExceptionHandler.prototype._findOriginalException = function (exception) {\r\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\r\n return null;\r\n var e = exception.originalException;\r\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\r\n e = e.originalException;\r\n }\r\n return e;\r\n };\r\n /** @internal */\r\n ExceptionHandler.prototype._findOriginalStack = function (exception) {\r\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\r\n return null;\r\n var e = exception;\r\n var stack = exception.originalStack;\r\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\r\n e = e.originalException;\r\n if (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\r\n stack = e.originalStack;\r\n }\r\n }\r\n return stack;\r\n };\r\n return ExceptionHandler;\r\n}());\r\nexports.ExceptionHandler = ExceptionHandler;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhjZXB0aW9uX2hhbmRsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvZmFjYWRlL2V4Y2VwdGlvbl9oYW5kbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBd0MsMEJBQTBCLENBQUMsQ0FBQTtBQUNuRSx1Q0FBbUMsNENBQTRDLENBQUMsQ0FBQTtBQUNoRiwyQkFBOEMsZ0NBQWdDLENBQUMsQ0FBQTtBQUUvRTtJQUFBO1FBQ0UsUUFBRyxHQUFVLEVBQUUsQ0FBQztJQUtsQixDQUFDO0lBSkMsMEJBQUcsR0FBSCxVQUFJLENBQU0sSUFBVSxJQUFJLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDdkMsK0JBQVEsR0FBUixVQUFTLENB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cblxuICAvKiogQGludGVybmFsICovXG4gIF9leHRyYWN0TWVzc2FnZShleGNlcHRpb246IGFueSk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGV4Y2VwdGlvbiBpbnN0YW5jZW9mIEJhc2VXcmFwcGVkRXhjZXB0aW9uID8gZXhjZXB0aW9uLndyYXBwZXJNZXNzYWdlIDpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBleGNlcHRpb24udG9TdHJpbmcoKTtcbiAgfVxuXG4gIC8qKiBAaW50ZXJuYWwgKi9cbiAgX2xvbmdTdGFja1RyYWNlKHN0YWNrVHJhY2U6IGFueSk6IGFueSB7XG4gICAgcmV0dXJuIGlzTGlzdExpa2VJdGVyYWJsZShzdGFja1RyYWNlKSA/ICg8YW55W10+c3RhY2tUcmFjZSkuam9pbihcIlxcblxcbi0tLS0tYXN5bmMgZ2FwLS0tLS1cXG5cIikgOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdGFja1RyYWNlLnRvU3RyaW5nKCk7XG4gIH1cblxuICAvKiogQGludGVybmFsICovXG4gIF9maW5kQ29udGV4dChleGNlcHRpb246IGFueSk6IGFueSB7XG4gICAgdHJ5IHtcbiAgICAgIGlmICghKGV4Y2VwdGlvbiBpbnN0YW5jZW9mIEJhc2VXcmFwcGVkRXhjZXB0aW9uKSkgcmV0dXJuIG51bGw7XG4gICAgICByZXR1cm4gaXNQcmVzZW50KGV4Y2VwdGlvbi5jb250ZXh0KSA/IGV4Y2VwdGlvbi5jb250ZXh0IDpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fZmluZENvbnRleHQoZXhjZXB0aW9uLm9yaWdpbmFsRXhjZXB0aW9uKTtcbiAgICB9IGNhdGNoIChlKSB7XG4gICAgICAvLyBleGNlcHRpb24uY29udGV4dCBjYW4gdGhyb3cgYW4gZXhjZXB0aW9uLiBpZiBpd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NrO1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBzdGFjaztcbiAgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\r\nvar exception_handler_1 = require('./exception_handler');\r\nvar exception_handler_2 = require('./exception_handler');\r\nexports.ExceptionHandler = exception_handler_2.ExceptionHandler;\r\nvar BaseException = (function (_super) {\r\n __extends(BaseException, _super);\r\n function BaseException(message) {\r\n if (message === void 0) { message = \"--\"; }\r\n _super.call(this, message);\r\n this.message = message;\r\n this.stack = (new Error(message)).stack;\r\n }\r\n BaseException.prototype.toString = function () { return this.message; };\r\n return BaseException;\r\n}(Error));\r\nexports.BaseException = BaseException;\r\n/**\r\n * Wraps an exception and provides additional context or information.\r\n */\r\nvar WrappedException = (function (_super) {\r\n __extends(WrappedException, _super);\r\n function WrappedException(_wrapperMessage, _originalException, _originalStack, _context) {\r\n _super.call(this, _wrapperMessage);\r\n this._wrapperMessage = _wrapperMessage;\r\n this._originalException = _originalException;\r\n this._originalStack = _originalStack;\r\n this._context = _context;\r\n this._wrapperStack = (new Error(_wrapperMessage)).stack;\r\n }\r\n Object.defineProperty(WrappedException.prototype, \"wrapperMessage\", {\r\n get: function () { return this._wrapperMessage; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(WrappedException.prototype, \"wrapperStack\", {\r\n get: function () { return this._wrapperStack; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(WrappedException.prototype, \"originalException\", {\r\n get: function () { return this._originalException; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(WrappedException.prototype, \"originalStack\", {\r\n get: function () { return this._originalStack; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(WrappedException.prototype, \"context\", {\r\n get: function () { return this._context; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(WrappedException.prototype, \"message\", {\r\n get: function () { return exception_handler_1.ExceptionHandler.exceptionToString(this); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n WrappedException.prototype.toString = function () { return this.message; };\r\n return WrappedException;\r\n}(base_wrapped_exception_1.BaseWrappedException));\r\nexports.WrappedException = WrappedException;\r\nfunction makeTypeError(message) {\r\n return new TypeError(message);\r\n}\r\nexports.makeTypeError = makeTypeError;\r\nfunction unimplemented() {\r\n throw new BaseException('unimplemented');\r\n}\r\nexports.unimplemented = unimplemented;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhjZXB0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9mYWNhZGUvZXhjZXB0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSx1Q0FBbUMsMEJBQTBCLENBQUMsQ0FBQTtBQUM5RCxrQ0FBK0IscUJBQXFCLENBQUMsQ0FBQTtBQUVyRCxrQ0FBK0IscUJBQXFCLENBQUM7QUFBN0MsZ0VBQTZDO0FBRXJEO0lBQW1DLGlDQUFLO0lBRXRDLHVCQUFtQixPQUFzQjtRQUE3Qix1QkFBNkIsR0FBN0IsY0FBNkI7UUFDdkMsa0JBQU0sT0FBTyxDQUFDLENBQUM7UUFERSxZQUFPLEdBQVAsT0FBTyxDQUFlO1FBRXZDLElBQUksQ0FBQyxLQUFLLEdBQUcsQ0FBTSxJQUFJLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQztJQUMvQyxDQUFDO0lBRU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udGV4dDsgfVxuXG4gIGdldCBtZXNzYWdlKCk6IHN0cmluZyB7IHJldHVybiBFeGNlcHRpb25IYW5kbGVyLmV4Y2VwdGlvblRvU3RyaW5nKHRoaXMpOyB9XG5cbiAgdG9TdHJpbmcoKTogc3RyaW5nIHsgcmV0dXJuIHRoaXMubWVzc2FnZTsgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gbWFrZVR5cGVFcnJvcihtZXNzYWdlPzogc3RyaW5nKTogRXJyb3Ige1xuICByZXR1cm4gbmV3IFR5cGVFcnJvcihtZXNzYWdlKTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHVuaW1wbGVtZW50ZWQoKTogYW55IHtcbiAgdGhyb3cgbmV3IEJhc2VFeGNlcHRpb24oJ3VuaW1wbGVtZW50ZWQnKTtcbn1cbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar exceptions_1 = require('angular2/src/facade/exceptions');\r\nvar ReflectionCapabilities = (function () {\r\n function ReflectionCapabilities(reflect) {\r\n this._reflect = lang_1.isPresent(reflect) ? reflect : lang_1.global.Reflect;\r\n }\r\n ReflectionCapabilities.prototype.isReflectionEnabled = function () { return true; };\r\n ReflectionCapabilities.prototype.factory = function (t) {\r\n switch (t.length) {\r\n case 0:\r\n return function () { return new t(); };\r\n case 1:\r\n return function (a1) { return new t(a1); };\r\n case 2:\r\n return function (a1, a2) { return new t(a1, a2); };\r\n case 3:\r\n return function (a1, a2, a3) { return new t(a1, a2, a3); };\r\n case 4:\r\n return function (a1, a2, a3, a4) { return new t(a1, a2, a3, a4); };\r\n case 5:\r\n return function (a1, a2, a3, a4, a5) { return new t(a1, a2, a3, a4, a5); };\r\n case 6:\r\n return function (a1, a2, a3, a4, a5, a6) {\r\n return new t(a1, a2, a3, a4, a5, a6);\r\n };\r\n case 7:\r\n return function (a1, a2, a3, a4, a5, a6, a7) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7);\r\n };\r\n case 8:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8);\r\n };\r\n case 9:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9);\r\n };\r\n case 10:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);\r\n };\r\n case 11:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);\r\n };\r\n case 12:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);\r\n };\r\n case 13:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);\r\n };\r\n case 14:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);\r\n };\r\n case 15:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);\r\n };\r\n case 16:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16);\r\n };\r\n case 17:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17);\r\n };\r\n case 18:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18);\r\n };\r\n case 19:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19);\r\n };\r\n case 20:\r\n return function (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20) {\r\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20);\r\n };\r\n }\r\n ;\r\n throw new Error(\"Cannot create a factory for '\" + lang_1.stringify(t) + \"' because its constructor has more than 20 arguments\");\r\n };\r\n /** @internal */\r\n ReflectionCapabilities.prototype._zipTypesAndAnnotations = function (paramTypes, paramAnnotations) {\r\n var result;\r\n if (typeof paramTypes === 'undefined') {\r\n result = new Array(paramAnnotations.length);\r\n }\r\n else {\r\n result = new Array(paramTypes.length);\r\n }\r\n for (var i = 0; i < result.length; i++) {\r\n // TS outputs Object for parameters without types, while Traceur omits\r\n // the annotations. For now we preserve the Traceur behavior to aid\r\n // migration, but this can be revisited.\r\n if (typeof paramTypes === 'undefined') {\r\n result[i] = [];\r\n }\r\n else if (paramTypes[i] != Object) {\r\n result[i] = [paramTypes[i]];\r\n }\r\n else {\r\n result[i] = [];\r\n }\r\n if (lang_1.isPresent(paramAnnotations) && lang_1.isPresent(paramAnnotations[i])) {\r\n result[i] = result[i].concat(paramAnnotations[i]);\r\n }\r\n }\r\n return result;\r\n };\r\n ReflectionCapabilities.prototype.parameters = function (typeOrFunc) {\r\n // Prefer the direct API.\r\n if (lang_1.isPresent(typeOrFunc.parameters)) {\r\n return typeOrFunc.parameters;\r\n }\r\n if (lang_1.isPresent(this._reflect) && lang_1.isPresent(this._reflect.getMetadata)) {\r\n var paramAnnotations = this._reflect.getMetadata('parameters', typeOrFunc);\r\n var paramTypes = this._reflect.getMetadata('design:paramtypes', typeOrFunc);\r\n if (lang_1.isPresent(paramTypes) || lang_1.isPresent(paramAnnotations)) {\r\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\r\n }\r\n }\r\n // The array has to be filled with `undefined` because holes would be skipped by `some`\r\n var parameters = new Array(typeOrFunc.length);\r\n parameters.fill(undefined);\r\n return parameters;\r\n };\r\n ReflectionCapabilities.prototype.annotations = function (typeOrFunc) {\r\n // Prefer the direct API.\r\n if (lang_1.isPresent(typeOrFunc.annotations)) {\r\n var annotations = typeOrFunc.annotations;\r\n if (lang_1.isFunction(annotations) && annotations.annotations) {\r\n annotations = annotations.annotations;\r\n }\r\n return annotations;\r\n }\r\n if (lang_1.isPresent(this._reflect) && lang_1.isPresent(this._reflect.getMetadata)) {\r\n var annotations = this._reflect.getMetadata('annotations', typeOrFunc);\r\n if (lang_1.isPresent(annotations))\r\n return annotations;\r\n }\r\n return [];\r\n };\r\n ReflectionCapabilities.prototype.propMetadata = function (typeOrFunc) {\r\n // Prefer the direct API.\r\n if (lang_1.isPresent(typeOrFunc.propMetadata)) {\r\n var propMetadata = typeOrFunc.propMetadata;\r\n if (lang_1.isFunction(propMetadata) && propMetadata.propMetadata) {\r\n propMetadata = propMetadata.propMetadata;\r\n }\r\n return propMetadata;\r\n }\r\n if (lang_1.isPresent(this._reflect) && lang_1.isPresent(this._reflect.getMetadata)) {\r\n var propMetadata = this._reflect.getMetadata('propMetadata', typeOrFunc);\r\n if (lang_1.isPresent(propMetadata))\r\n return propMetadata;\r\n }\r\n return {};\r\n };\r\n ReflectionCapabilities.prototype.interfaces = function (type) {\r\n throw new exceptions_1.BaseException(\"JavaScript does not support interfaces\");\r\n };\r\n ReflectionCapabilities.prototype.getter = function (name) { return new Function('o', 'return o.' + name + ';'); };\r\n ReflectionCapabilities.prototype.setter = function (name) {\r\n return new Function('o', 'v', 'return o.' + name + ' = v;');\r\n };\r\n ReflectionCapabilities.prototype.method = function (name) {\r\n var functionBody = \"if (!o.\" + name + \") throw new Error('\\\"\" + name + \"\\\" is undefined');\\n return o.\" + name + \".apply(o, args);\";\r\n return new Function('o', 'args', functionBody);\r\n };\r\n // There is not a concept of import uri in Js, but this is useful in developing Dart applications.\r\n ReflectionCapabilities.prototype.importUri = function (type) { return \"./\" + lang_1.stringify(type); };\r\n return ReflectionCapabilities;\r\n}());\r\nexports.ReflectionCapabilities = ReflectionCapabilities;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmbGVjdGlvbl9jYXBhYmlsaXRpZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29yZS9yZWZsZWN0aW9uL3JlZmxlY3Rpb25fY2FwYWJpbGl0aWVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFPTywwQkFBMEIsQ0FBQyxDQUFBO0FBQ2xDLDJCQUE0QixnQ0FBZ0MsQ0FBQyxDQUFBO0FBSTdEO0lBR0UsZ0NBQVksT0FBYTtRQUFJLElBQUksQ0FBQyxRQUFRLEdBQUcsZ0JBQVMsQ0FBQyxPQUFPLENBQUMsR0FBRyxPQUFPLEdBQUcsYUFBTSxDQUFDLE9BQU8sQ0FBQztJQUFDLENBQUM7SUFFN0Ysb0RBQW1CLEdBQW5CLGNBQWlDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO0lBRS9DLHdDQUFPLEdBQVAsVUFBUSxDQUFlO1FBQ3JCLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLEN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4gIGlzUmVmbGVjdGlvbkVuYWJsZWQoKTogYm9vbGVhbiB7IHJldHVybiB0cnVlOyB9XG5cbiAgZmFjdG9yeSh0OiBDb25jcmV0ZVR5cGUpOiBGdW5jdGlvbiB7XG4gICAgc3dpdGNoICh0Lmxlbmd0aCkge1xuICAgICAgY2FzZSAwOlxuICAgICAgICByZXR1cm4gKCkgPT4gbmV3IHQoKTtcbiAgICAgIGNhc2UgMTpcbiAgICAgICAgcmV0dXJuIChhMTogYW55KSA9PiBuZXcgdChhMSk7XG4gICAgICBjYXNlIDI6XG4gICAgICAgIHJldHVybiAoYTE6IGFueSwgYTI6IGFueSkgPT4gbmV3IHQoYTEsIGEyKTtcbiAgICAgIGNhc2UgMzpcbiAgICAgICAgcmV0dXJuIChhMTogYW55LCBhMjogYW55LCBhMzogYW55KSA9PiBuZXcgdChhMSwgYTIsIGEzKTtcbiAgICAgIGNhc2UgNDpcbiAgICAgICAgcmV0dXJuIChhMTogYW55LCBhMjogYW55LCBhMzogYW55LCBhNDogYW55KSA9PiBuZXcgdChhMSwgYTIsIGEzLCBhNCk7XG4gICAgICBjYXNlIDU6XG4gICAgICAgIHJldHVybiAoYTE6IGFueSwgYTI6IGFueSwgYTM6IGFueSwgYTQ6IGFueSwgYTU6IGFueSkgPT4gbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1KTtcbiAgICAgIGNhc2UgNjpcbiAgICAgICAgcmV0dXJuIChhMTogYW55LCBhMjogYW55LCBhMzogYW55LCBhNDogYW55LCBhNTogYW55LCBhNjogYW55KSA9PlxuICAgICAgICAgICAgICAgICAgIG5ldyB0KGExLCBhMiwgYTMsIGE0LCBhNSwgYTYpO1xuICAgICAgY2FzZSA3OlxuICAgICAgICByZXR1cm4gKGExOiBhbnksIGEyOiBhbnksIGEzOiBhbnksIGE0OiBhbnksIGE1OiBhbnksIGE2OiBhbnksIGE3OiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcpO1xuICAgICAgY2FzZSA4OlxuICAgICAgICByZXR1cm4gKGExOiBhbnksIGEyOiBhbnksIGEzOiBhbnksIGE0OiBhbnksIGE1OiBhbnksIGE2OiBhbnksIGE3OiBhbnksIGE4OiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcsIGE4KTtcbiAgICAgIGNhc2UgOTpcbiAgICAgICAgcmV0dXJuIChhMTogYW55LCBhMjogYW55LCBhMzogYW55LCBhNDogYW55LCBhNTogYW55LCBhNjogYW55LCBhNzogYW55LCBhODogYW55LCBhOTogYW55KSA9PlxuICAgICAgICAgICAgICAgICAgIG5ldyB0KGExLCBhMiwgYTMsIGE0LCBhNSwgYTYsIGE3LCBhOCwgYTkpO1xuICAgICAgY2FzZSAxMDpcbiAgICAgICAgcmV0dXJuIChhMTogYW55LCBhMjogYW55LCBhMzogYW55LCBhNDogYW55LCBhNTogYW55LCBhNjogYW55LCBhNzogYW55LCBhODogYW55LCBhOTogYW55LFxuICAgICAgICAgICAgICAgIGExMDogYW55KSA9PiBuZXcgdChhMSwgYTIsIGEzLCBhNCwgYTUsIGE2LCBhNywgYTgsIGE5LCBhMTApO1xuICAgICAgY2FzZSAxMTpcbiAgICAgICAgcmV0dXJuIChhMTogYW55LCBhMjogYW55LCBhMzogYW55LCBhNDogYW55LCBhNTogYW55LCBhNjogYW55LCBhNzogYW55LCBhODogYW55LCBhOTogYW55LFxuICAgICAgICAgICAgICAgIGExMDogYW55LCBhMTE6IGFueSkgPT4gbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcsIGE4LCBhOSwgYTEwLCBhMTEpO1xuICAgICAgY2FzZSAxMjpcbiAgICAgICAgcmV0dXJuIChhMTogYW55LCBhMjogYW55LCBhMzogYW55LCBhNDogYW55LCBhNTogYW55LCBhNjogYW55LCBhNzogYW55LCBhODogYW55LCBhOTogYW55LFxuICAgICAgICAgICAgICAgIGExMDogYW55LCBhMTE6IGFueSwgYTEyOiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcsIGE4LCBhOSwgYTEwLCBhMTEsIGExMik7XG4gICAgICBjYXNlIDEzOlxuICAgICAgICByZXR1cm4gKGExOiBhbnksIGEyOiBhbnksIGEzOiBhbnksIGE0OiBhbnksIGE1OiBhbnksIGE2OiBhbnksIGE3OiBhbnksIGE4OiBhbnksIGE5OiBhbnksXG4gICAgICAgICAgICAgICAgYTEwOiBhbnksIGExMTogYW55LCBhMTI6IGFueSwgYTEzOiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcsIGE4LCBhOSwgYTEwLCBhMTEsIGExMiwgYTEzKTtcbiAgICAgIGNhc2UgMTQ6XG4gICAgICAgIHJldHVybiAoYTE6IGFueSwgYTI6IGFueSwgYTM6IGFueSwgYTQ6IGFueSwgYTU6IGFueSwgYTY6IGFueSwgYTc6IGFueSwgYTg6IGFueSwgYTk6IGFueSxcbiAgICAgICAgICAgICAgICBhMTA6IGFueSwgYTExOiBhbnksIGExMjogYW55LCBhMTM6IGFueSwgYTE0OiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcsIGE4LCBhOSwgYTEwLCBhMTEsIGExMiwgYTEzLCBhMTQpO1xuICAgICAgY2FzZSAxNTpcbiAgICAgICAgcmV0dXJuIChhMTogYW55LCBhMjogYW55LCBhMzogYW55LCBhNDogYW55LCBhNTogYW55LCBhNjogYW55LCBhNzogYW55LCBhODogYW55LCBhOTogYW55LFxuICAgICAgICAgICAgICAgIGExMDogYW55LCBhMTE6IGFueSwgYTEyOiBhbnksIGExMzogYW55LCBhMTQ6IGFueSwgYTE1OiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcsIGE4LCBhOSwgYTEwLCBhMTEsIGExMiwgYTEzLCBhMTQsIGExNSk7XG4gICAgICBjYXNlIDE2OlxuICAgICAgICByZXR1cm4gKGExOiBhbnksIGEyOiBhbnksIGEzOiBhbnksIGE0OiBhbnksIGE1OiBhbnksIGE2OiBhbnksIGE3OiBhbnksIGE4OiBhbnksIGE5OiBhbnksXG4gICAgICAgICAgICAgICAgYTEwOiBhbnksIGExMTogYW55LCBhMTI6IGFueSwgYTEzOiBhbnksIGExNDogYW55LCBhMTU6IGFueSwgYTE2OiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcsIGE4LCBhOSwgYTEwLCBhMTEsIGExMiwgYTEzLCBhMTQsIGExNSwgYTE2KTtcbiAgICAgIGNhc2UgMTc6XG4gICAgICAgIHJldHVybiAoYTE6IGFueSwgYTI6IGFueSwgYTM6IGFueSwgYTQ6IGFueSwgYTU6IGFueSwgYTY6IGFueSwgYTc6IGFueSwgYTg6IGFueSwgYTk6IGFueSxcbiAgICAgICAgICAgICAgICBhMTA6IGFueSwgYTExOiBhbnksIGExMjogYW55LCBhMTM6IGFueSwgYTE0OiBhbnksIGExNTogYW55LCBhMTY6IGFueSwgYTE3OiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgbmV3IHQoYTEsIGEyLCBhMywgYTQsIGE1LCBhNiwgYTcsIGE4LCBhOSwgYTEwLCBhMTEsIGExMiwgYTEzLCBhMTQsIGExNSwgYTE2LFxuICAgICAgICAgICAgICAgICAgICAgICAgIGExNyk7XG4gICAgICBjYXNlIDE4OlxuICAgICAgICByZXR1cm4gKGExOiBhbnksIGEyOiBhbnksIGEzOiBhbnksIGE0OiBhbnksIGE1OiBhbnksIGE2OiBhbnksIGE3OiBhbnksIGE4OiBhbnksIGE5OiBhbnksXG4gICAgICAgICAgICAgICAgYTEwOiBhbnksIGExMTogYW55LCBhMTI6IGFueSwgYTEzOiBhbnksIGExNDogYW55LCBhMTU6IGFueSwgYTE2OiBhbnksIGExNzogYW55LFxuICAgICAgICAgICAgICAgIGExODogYW55KSA9PiBuZXcgdChhMSwgYTIsIGEzLCBhNCwgYTUsIGE2LCBhNywgYTgsIGE5LCBhMTAsIGExMSwgYTEyLCBhMTMsIGExNCwgYTE1LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhMTYsIGExNywgYTE4KTtcbiAgICAgIGNhc2UgMTk6XG4gICAgICAgIHJldHVybiAoYTE6IGFueSwgYTI6IGFueSwgYTM6IGFueSwgYTQ6IGFueSwgYTU6IGFueSwgYTY6IGFueSwgYTc6IGFueSwgYTg6IGFueSwgYTk6IGFueSxcbiAgICAgICAgICAgICAgICBhMTA6IGFueSwgYTExOiBhbnksIGExMjogYW55LCBhMTM6IGFueSwgYTE0OiBhbnksIGExNTogYW55LCBhMTY6IGFueSwgYTE3OiBhbnksXG4gICAgICAgICAgICAgICAgYTE4OiBhbnksIGExOTogYW55KSA9PiBuZXcgdChhMSwgYTIsIGEzLCBhNCwgYTUsIGE2LCBhNywgYTgsIGE5LCBhMTAsIGExMSwgYTEyLCBhMTMsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhMTQsIGExNSwgYTE2LCBhMTcsIGExOCwgYTE5KTtcbiAgICAgIGNhc2UgMjA6XG4gICAgICAgIHJldHVybiAoYTE6IGFueSwgYTI6IGFueSwgYTM6IGFueSwgYTQ6IGFueSwgYTU6IGFueSwgYTY6IGFueSwgYTc6IGFueSwgYTg6IGFueSwgYTk6IGFueSxcbiAgICAgICAgICAgICAgICBhMTA6IGFueSwgYTExOiBhbnksIGExMjogYW55LCBhMTM6IGFueSwgYTE0OiBhbnksIGExNTogYW55LCBhMTY6IGFueSwgYTE3OiBhbnksXG4gICAgICAgICAgICAgICAgYTE4OiBhbnksIGExOTogYW55LCBhMjA6IG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cmlwdCBkb2VzIG5vdCBzdXBwb3J0IGludGVyZmFjZXNcIik7XG4gIH1cblxuICBnZXR0ZXIobmFtZTogc3RyaW5nKTogR2V0dGVyRm4geyByZXR1cm4gPEdldHRlckZuPm5ldyBGdW5jdGlvbignbycsICdyZXR1cm4gby4nICsgbmFtZSArICc7Jyk7IH1cblxuICBzZXR0ZXIobmFtZTogc3RyaW5nKTogU2V0dGVyRm4ge1xuICAgIHJldHVybiA8U2V0dGVyRm4+bmV3IEZ1bmN0aW9uKCdvJywgJ3YnLCAncmV0dXJuIG8uJyArIG5hbWUgKyAnID0gdjsnKTtcbiAgfVxuXG4gIG1ldGhvZChuYW1lOiBzdHJpbmcpOiBNZXRob2RGbiB7XG4gICAgbGV0IGZ1bmN0aW9uQm9keSA9IGBpZiAoIW8uJHtuYW1lfSkgdGhyb3cgbmV3IEVycm9yKCdcIiR7bmFtZX1cIiBpcyB1bmRlZmluZWQnKTtcbiAgICAgICAgcmV0dXJuIG8uJHtuYW1lfS5hcHBseShvLCBhcmdzKTtgO1xuICAgIHJldHVybiA8TWV0aG9kRm4+bmV3IEZ1bmN0aW9uKCdvJywgJ2FyZ3MnLCBmdW5jdGlvbkJvZHkpO1xuICB9XG5cbiAgLy8gVGhlcmUgaXMgbm90IGEgY29uY2VwdCBvZiBpbXBvcnQgdXJpIGluIEpzLCBidXQgdGhpcyBpcyB1c2VmdWwgaW4gZGV2ZWxvcGluZyBEYXJ0IGFwcGxpY2F0aW9ucy5cbiAgaW1wb3J0VXJpKHR5cGU6IFR5cGUpOiBzdHJpbmcgeyByZXR1cm4gYC4vJHtzdHJpbmdpZnkodHlwZSl9YDsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar reflector_1 = require('./reflector');\r\nvar reflector_2 = require('./reflector');\r\nexports.Reflector = reflector_2.Reflector;\r\nexports.ReflectionInfo = reflector_2.ReflectionInfo;\r\nvar reflection_capabilities_1 = require('./reflection_capabilities');\r\n/**\r\n * The {@link Reflector} used internally in Angular to access metadata\r\n * about symbols.\r\n */\r\nexports.reflector = new reflector_1.Reflector(new reflection_capabilities_1.ReflectionCapabilities());\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb3JlL3JlZmxlY3Rpb24vcmVmbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBRUEsMEJBQXdCLGFBQWEsQ0FBQyxDQUFBO0FBQ3RDLDBCQUF3QyxhQUFhLENBQUM7QUFBOUMsMENBQVM7QUFBRSxvREFBbUM7QUFDdEQsd0NBQXFDLDJCQUEyQixDQUFDLENBQUE7QUFFakU7OztHQUdHO0FBQ1EsaUJBQVMsR0FBRyxJQUFJLHFCQUFTLENBQUMsSUFBSSxnREFBc0IsRUFBRSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1R5cGUsIGlzUHJlc2VudH0gZnJvbSAnYW5ndWxhcjIvc3JjL2ZhY2FkZS9sYW5nJztcbmltcG9ydCB7TGlzdFdyYXBwZXJ9IGZyb20gJ2FuZ3VsYXIyL3NyYy9mYWNhZGUvY29sbGVjdGlvbic7XG5pbXBvcnQge1JlZmxlY3Rvcn0gZnJvbSAnLi9yZWZsZWN0b3InO1xuZXhwb3J0IHtSZWZsZWN0b3IsIFJlZmxlY3Rpb25JbmZvfSBmcm9tICcuL3JlZmxlY3Rvcic7XG5pbXBvcnQge1JlZmxlY3Rpb25DYXBhYmlsaXRpZXN9IGZyb20gJy4vcmVmbGVjdGlvbl9jYXBhYmlsaXRpZXMnO1xuXG4vKipcbiAqIFRoZSB7QGxpbmsgUmVmbGVjdG9yfSB1c2VkIGludGVybmFsbHkgaW4gQW5ndWxhciB0byBhY2Nlc3MgbWV0YWRhdGFcbiAqIGFib3V0IHN5bWJvbHMuXG4gKi9cbmV4cG9ydCB2YXIgcmVmbGVjdG9yID0gbmV3IFJlZmxlY3RvcihuZXcgUmVmbGVjdGlvbkNhcGFiaWxpdGllcygpKTtcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n/**\r\n * @module\r\n * @description\r\n * Starting point to import all public core APIs.\r\n */\r\n__export(require('./src/core/metadata'));\r\n__export(require('./src/core/util'));\r\n__export(require('./src/core/prod_mode'));\r\n__export(require('./src/core/di'));\r\n__export(require('./src/facade/facade'));\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nexports.enableProdMode = lang_1.enableProdMode;\r\nvar application_ref_1 = require('./src/core/application_ref');\r\nexports.createPlatform = application_ref_1.createPlatform;\r\nexports.assertPlatform = application_ref_1.assertPlatform;\r\nexports.disposePlatform = application_ref_1.disposePlatform;\r\nexports.getPlatform = application_ref_1.getPlatform;\r\nexports.coreBootstrap = application_ref_1.coreBootstrap;\r\nexports.coreLoadAndBootstrap = application_ref_1.coreLoadAndBootstrap;\r\nexports.createNgZone = application_ref_1.createNgZone;\r\nexports.PlatformRef = application_ref_1.PlatformRef;\r\nexports.ApplicationRef = application_ref_1.ApplicationRef;\r\nvar application_tokens_1 = require('./src/core/application_tokens');\r\nexports.APP_ID = application_tokens_1.APP_ID;\r\nexports.APP_INITIALIZER = application_tokens_1.APP_INITIALIZER;\r\nexports.PACKAGE_ROOT_URL = application_tokens_1.PACKAGE_ROOT_URL;\r\nexports.PLATFORM_INITIALIZER = application_tokens_1.PLATFORM_INITIALIZER;\r\n__export(require('./src/core/zone'));\r\n__export(require('./src/core/render'));\r\n__export(require('./src/core/linker'));\r\nvar debug_node_1 = require('./src/core/debug/debug_node');\r\nexports.DebugElement = debug_node_1.DebugElement;\r\nexports.DebugNode = debug_node_1.DebugNode;\r\nexports.asNativeElements = debug_node_1.asNativeElements;\r\n__export(require('./src/core/testability/testability'));\r\n__export(require('./src/core/change_detection'));\r\n__export(require('./src/core/platform_directives_and_pipes'));\r\n__export(require('./src/core/platform_common_providers'));\r\n__export(require('./src/core/application_common_providers'));\r\n__export(require('./src/core/reflection/reflection'));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL2NvcmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBOzs7O0dBSUc7QUFDSCxpQkFBYyxxQkFBcUIsQ0FBQyxFQUFBO0FBQ3BDLGlCQUFjLGlCQUFpQixDQUFDLEVBQUE7QUFDaEMsaUJBQWMsc0JBQXNCLENBQUMsRUFBQTtBQUNyQyxpQkFBYyxlQUFlLENBQUMsRUFBQTtBQUM5QixpQkFBYyxxQkFBcUIsQ0FBQyxFQUFBO0FBQ3BDLHFCQUE2QiwwQkFBMEIsQ0FBQztBQUFoRCwrQ0FBZ0Q7QUFDeEQsZ0NBVU8sNEJBQTRCLENBQUM7QUFUbEMsMERBQWM7QUFDZCwwREFBYztBQUNkLDREQUFlO0FBQ2Ysb0RBQVc7QUFDWCx3REFBYTtBQUNiLHNFQUFvQjtBQUNwQixzREFBWTtBQUNaLG9EQUFXO0FBQ1gsMERBQ2tDO0FBQ3BDLG1DQUtPLCtCQUErQixDQUFDO0FBSnJDLDZDQUFNO0FBQ04sK0RBQWU7QUFDZixpRUFBZ0I7QUFDaEIseUVBQ3FDO0FBQ3ZDLGlCQUFjLGlCQUFpQixDQUFDLEVBQUE7QUFDaEMsaUJBQWMsbUJBQW1CLENBQUMsRUFBQTtBQUNsQyxpQkFBYyxtQkFB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NyYy9jb3JlL2FwcGxpY2F0aW9uX3JlZic7XG5leHBvcnQge1xuICBBUFBfSUQsXG4gIEFQUF9JTklUSUFMSVpFUixcbiAgUEFDS0FHRV9ST09UX1VSTCxcbiAgUExBVEZPUk1fSU5JVElBTElaRVJcbn0gZnJvbSAnLi9zcmMvY29yZS9hcHBsaWNhdGlvbl90b2tlbnMnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvY29yZS96b25lJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2NvcmUvcmVuZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2NvcmUvbGlua2VyJztcbmV4cG9ydCB7RGVidWdFbGVtZW50LCBEZWJ1Z05vZGUsIGFzTmF0aXZlRWxlbWVudHN9IGZyb20gJy4vc3JjL2NvcmUvZGVidWcvZGVidWdfbm9kZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9jb3JlL3Rlc3RhYmlsaXR5L3Rlc3RhYmlsaXR5JztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2NvcmUvY2hhbmdlX2RldGVjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9jb3JlL3BsYXRmb3JtX2RpcmVjdGl2ZXNfYW5kX3BpcGVzJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2NvcmUvcGxhdGZvcm1fY29tbW9uX3Byb3ZpZGVycyc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9jb3JlL2FwcGxpY2F0aW9uX2NvbW1vbl9wcm92aWRlcnMnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvY29yZS9yZWZsZWN0aW9uL3JlZmxlY3Rpb24nO1xuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __extends = (this && this.__extends) || function (d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n};\r\nvar globalScope;\r\nif (typeof window === 'undefined') {\r\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\r\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\r\n globalScope = self;\r\n }\r\n else {\r\n globalScope = global;\r\n }\r\n}\r\nelse {\r\n globalScope = window;\r\n}\r\nfunction scheduleMicroTask(fn) {\r\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\r\n}\r\nexports.scheduleMicroTask = scheduleMicroTask;\r\nexports.IS_DART = false;\r\n// Need to declare a new variable for global here since TypeScript\r\n// exports the original value of the symbol.\r\nvar _global = globalScope;\r\nexports.global = _global;\r\nexports.Type = Function;\r\nfunction getTypeNameForDebugging(type) {\r\n if (type['name']) {\r\n return type['name'];\r\n }\r\n return typeof type;\r\n}\r\nexports.getTypeNameForDebugging = getTypeNameForDebugging;\r\nexports.Math = _global.Math;\r\nexports.Date = _global.Date;\r\nvar _devMode = true;\r\nvar _modeLocked = false;\r\nfunction lockMode() {\r\n _modeLocked = true;\r\n}\r\nexports.lockMode = lockMode;\r\n/**\r\n * Disable Angular's development mode, which turns off assertions and other\r\n * checks within the framework.\r\n *\r\n * One important assertion this disables verifies that a change detection pass\r\n * does not result in additional changes to any bindings (also known as\r\n * unidirectional data flow).\r\n */\r\nfunction enableProdMode() {\r\n if (_modeLocked) {\r\n // Cannot use BaseException as that ends up importing from facade/lang.\r\n throw 'Cannot enable prod mode after platform setup.';\r\n }\r\n _devMode = false;\r\n}\r\nexports.enableProdMode = enableProdMode;\r\nfunction assertionsEnabled() {\r\n return _devMode;\r\n}\r\nexports.assertionsEnabled = assertionsEnabled;\r\n// TODO: remove calls to assert in production environment\r\n// Note: Can't just export this and import in in other files\r\n// as `assert` is a reserved keyword in Dart\r\n_global.assert = function assert(condition) {\r\n // TODO: to be fixed properly via #2830, noop for now\r\n};\r\n// This function is needed only to properly support Dart's const expressions\r\n// see https://github.com/angular/ts2dart/pull/151 for more info\r\nfunction CONST_EXPR(expr) {\r\n return expr;\r\n}\r\nexports.CONST_EXPR = CONST_EXPR;\r\nfunction CONST() {\r\n return function (target) { return target; };\r\n}\r\nexports.CONST = CONST;\r\nfunction isPresent(obj) {\r\n return obj !== undefined && obj !== null;\r\n}\r\nexports.isPresent = isPresent;\r\nfunction isBlank(obj) {\r\n return obj === undefined || obj === null;\r\n}\r\nexports.isBlank = isBlank;\r\nfunction isBoolean(obj) {\r\n return typeof obj === \"boolean\";\r\n}\r\nexports.isBoolean = isBoolean;\r\nfunction isNumber(obj) {\r\n return typeof obj === \"number\";\r\n}\r\nexports.isNumber = isNumber;\r\nfunction isString(obj) {\r\n return typeof obj === \"string\";\r\n}\r\nexports.isString = isString;\r\nfunction isFunction(obj) {\r\n return typeof obj === \"function\";\r\n}\r\nexports.isFunction = isFunction;\r\nfunction isType(obj) {\r\n return isFunction(obj);\r\n}\r\nexports.isType = isType;\r\nfunction isStringMap(obj) {\r\n return typeof obj === 'object' && obj !== null;\r\n}\r\nexports.isStringMap = isStringMap;\r\nfunction isPromise(obj) {\r\n return obj instanceof _global.Promise;\r\n}\r\nexports.isPromise = isPromise;\r\nfunction isArray(obj) {\r\n return Array.isArray(obj);\r\n}\r\nexports.isArray = isArray;\r\nfunction isDate(obj) {\r\n return obj instanceof exports.Date && !isNaN(obj.valueOf());\r\n}\r\nexports.isDate = isDate;\r\nfunction noop() { }\r\nexports.noop = noop;\r\nfunction stringify(token) {\r\n if (typeof token === 'string') {\r\n return token;\r\n }\r\n if (token === undefined || token === null) {\r\n return '' + token;\r\n }\r\n if (token.name) {\r\n return token.name;\r\n }\r\n if (token.overriddenName) {\r\n return token.overriddenName;\r\n }\r\n var res = token.toString();\r\n var newLineIndex = res.indexOf(\"\\n\");\r\n return (newLineIndex === -1) ? res : res.substring(0, newLineIndex);\r\n}\r\nexports.stringify = stringify;\r\n// serialize / deserialize enum exist only for consistency with dart API\r\n// enums in typescript don't need to be serialized\r\nfunction serializeEnum(val) {\r\n return val;\r\n}\r\nexports.serializeEnum = serializeEnum;\r\nfunction deserializeEnum(val, values) {\r\n return val;\r\n}\r\nexports.deserializeEnum = deserializeEnum;\r\nfunction resolveEnumToken(enumValue, val) {\r\n return enumValue[val];\r\n}\r\nexports.resolveEnumToken = resolveEnumToken;\r\nvar StringWrapper = (function () {\r\n function StringWrapper() {\r\n }\r\n StringWrapper.fromCharCode = function (code) { return String.fromCharCode(code); };\r\n StringWrapper.charCodeAt = function (s, index) { return s.charCodeAt(index); };\r\n StringWrapper.split = function (s, regExp) { return s.split(regExp); };\r\n StringWrapper.equals = function (s, s2) { return s === s2; };\r\n StringWrapper.stripLeft = function (s, charVal) {\r\n if (s && s.length) {\r\n var pos = 0;\r\n for (var i = 0; i < s.length; i++) {\r\n if (s[i] != charVal)\r\n break;\r\n pos++;\r\n }\r\n s = s.substring(pos);\r\n }\r\n return s;\r\n };\r\n StringWrapper.stripRight = function (s, charVal) {\r\n if (s && s.length) {\r\n var pos = s.length;\r\n for (var i = s.length - 1; i >= 0; i--) {\r\n if (s[i] != charVal)\r\n break;\r\n pos--;\r\n }\r\n s = s.substring(0, pos);\r\n }\r\n return s;\r\n };\r\n StringWrapper.replace = function (s, from, replace) {\r\n return s.replace(from, replace);\r\n };\r\n StringWrapper.replaceAll = function (s, from, replace) {\r\n return s.replace(from, replace);\r\n };\r\n StringWrapper.slice = function (s, from, to) {\r\n if (from === void 0) { from = 0; }\r\n if (to === void 0) { to = null; }\r\n return s.slice(from, to === null ? undefined : to);\r\n };\r\n StringWrapper.replaceAllMapped = function (s, from, cb) {\r\n return s.replace(from, function () {\r\n var matches = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n matches[_i - 0] = arguments[_i];\r\n }\r\n // Remove offset & string from the result array\r\n matches.splice(-2, 2);\r\n // The callback receives match, p1, ..., pn\r\n return cb(matches);\r\n });\r\n };\r\n StringWrapper.contains = function (s, substr) { return s.indexOf(substr) != -1; };\r\n StringWrapper.compare = function (a, b) {\r\n if (a < b) {\r\n return -1;\r\n }\r\n else if (a > b) {\r\n return 1;\r\n }\r\n else {\r\n return 0;\r\n }\r\n };\r\n return StringWrapper;\r\n}());\r\nexports.StringWrapper = StringWrapper;\r\nvar StringJoiner = (function () {\r\n function StringJoiner(parts) {\r\n if (parts === void 0) { parts = []; }\r\n this.parts = parts;\r\n }\r\n StringJoiner.prototype.add = function (part) { this.parts.push(part); };\r\n StringJoiner.prototype.toString = function () { return this.parts.join(\"\"); };\r\n return StringJoiner;\r\n}());\r\nexports.StringJoiner = StringJoiner;\r\nvar NumberParseError = (function (_super) {\r\n __extends(NumberParseError, _super);\r\n function NumberParseError(message) {\r\n _super.call(this);\r\n this.message = message;\r\n }\r\n NumberParseError.prototype.toString = function () { return this.message; };\r\n return NumberParseError;\r\n}(Error));\r\nexports.NumberParseError = NumberParseError;\r\nvar NumberWrapper = (function () {\r\n function NumberWrapper() {\r\n }\r\n NumberWrapper.toFixed = function (n, fractionDigits) { return n.toFixed(fractionDigits); };\r\n NumberWrapper.equal = function (a, b) { return a === b; };\r\n NumberWrapper.parseIntAutoRadix = function (text) {\r\n var result = parseInt(text);\r\n if (isNaN(result)) {\r\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text);\r\n }\r\n return result;\r\n };\r\n NumberWrapper.parseInt = function (text, radix) {\r\n if (radix == 10) {\r\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\r\n return parseInt(text, radix);\r\n }\r\n }\r\n else if (radix == 16) {\r\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\r\n return parseInt(text, radix);\r\n }\r\n }\r\n else {\r\n var result = parseInt(text, radix);\r\n if (!isNaN(result)) {\r\n return result;\r\n }\r\n }\r\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text + \" in base \" +\r\n radix);\r\n };\r\n // TODO: NaN is a valid literal but is returned by parseFloat to indicate an error.\r\n NumberWrapper.parseFloat = function (text) { return parseFloat(text); };\r\n Object.defineProperty(NumberWrapper, \"NaN\", {\r\n get: function () { return NaN; },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NumberWrapper.isNaN = function (value) { return isNaN(value); };\r\n NumberWrapper.isInteger = function (value) { return Number.isInteger(value); };\r\n return NumberWrapper;\r\n}());\r\nexports.NumberWrapper = NumberWrapper;\r\nexports.RegExp = _global.RegExp;\r\nvar RegExpWrapper = (function () {\r\n function RegExpWrapper() {\r\n }\r\n RegExpWrapper.create = function (regExpStr, flags) {\r\n if (flags === void 0) { flags = ''; }\r\n flags = flags.replace(/g/g, '');\r\n return new _global.RegExp(regExpStr, flags + 'g');\r\n };\r\n RegExpWrapper.firstMatch = function (regExp, input) {\r\n // Reset multimatch regex state\r\n regExp.lastIndex = 0;\r\n return regExp.exec(input);\r\n };\r\n RegExpWrapper.test = function (regExp, input) {\r\n regExp.lastIndex = 0;\r\n return regExp.test(input);\r\n };\r\n RegExpWrapper.matcher = function (regExp, input) {\r\n // Reset regex state for the case\r\n // someone did not loop over all matches\r\n // last time.\r\n regExp.lastIndex = 0;\r\n return { re: regExp, input: input };\r\n };\r\n RegExpWrapper.replaceAll = function (regExp, input, replace) {\r\n var c = regExp.exec(input);\r\n var res = '';\r\n regExp.lastIndex = 0;\r\n var prev = 0;\r\n while (c) {\r\n res += input.substring(prev, c.index);\r\n res += replace(c);\r\n prev = c.index + c[0].length;\r\n regExp.lastIndex = prev;\r\n c = regExp.exec(input);\r\n }\r\n res += input.substring(prev);\r\n return res;\r\n };\r\n return RegExpWrapper;\r\n}());\r\nexports.RegExpWrapper = RegExpWrapper;\r\nvar RegExpMatcherWrapper = (function () {\r\n function RegExpMatcherWrapper() {\r\n }\r\n RegExpMatcherWrapper.next = function (matcher) {\r\n return matcher.re.exec(matcher.input);\r\n };\r\n return RegExpMatcherWrapper;\r\n}());\r\nexports.RegExpMatcherWrapper = RegExpMatcherWrapper;\r\nvar FunctionWrapper = (function () {\r\n function FunctionWrapper() {\r\n }\r\n FunctionWrapper.apply = function (fn, posArgs) { return fn.apply(null, posArgs); };\r\n return FunctionWrapper;\r\n}());\r\nexports.FunctionWrapper = FunctionWrapper;\r\n// JS has NaN !== NaN\r\nfunction looseIdentical(a, b) {\r\n return a === b || typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\r\n}\r\nexports.looseIdentical = looseIdentical;\r\n// JS considers NaN is the same as NaN for map Key (while NaN !== NaN otherwise)\r\n// see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\r\nfunction getMapKey(value) {\r\n return value;\r\n}\r\nexports.getMapKey = getMapKey;\r\nfunction normalizeBlank(obj) {\r\n return isBlank(obj) ? null : obj;\r\n}\r\nexports.normalizeBlank = normalizeBlank;\r\nfunction normalizeBool(obj) {\r\n return isBlank(obj) ? false : obj;\r\n}\r\nexports.normalizeBool = normalizeBool;\r\nfunction isJsObject(o) {\r\n return o !== null && (typeof o === \"function\" || typeof o === \"object\");\r\n}\r\nexports.isJsObject = isJsObject;\r\nfunction print(obj) {\r\n console.log(obj);\r\n}\r\nexports.print = print;\r\nfunction warn(obj) {\r\n console.warn(obj);\r\n}\r\nexports.warn = warn;\r\n// Can't be all uppercase as our transpiler would think it is a special directive...\r\nvar Json = (function () {\r\n function Json() {\r\n }\r\n Json.parse = function (s) { return _global.JSON.parse(s); };\r\n Json.stringify = function (data) {\r\n // Dart doesn't take 3 arguments\r\n return _global.JSON.stringify(data, null, 2);\r\n };\r\n return Json;\r\n}());\r\nexports.Json = Json;\r\nvar DateWrapper = (function () {\r\n function DateWrapper() {\r\n }\r\n DateWrapper.create = function (year, month, day, hour, minutes, seconds, milliseconds) {\r\n if (month === void 0) { month = 1; }\r\n if (day === void 0) { day = 1; }\r\n if (hour === void 0) { hour = 0; }\r\n if (minutes === void 0) { minutes = 0; }\r\n if (seconds === void 0) { seconds = 0; }\r\n if (milliseconds === void 0) { milliseconds = 0; }\r\n return new exports.Date(year, month - 1, day, hour, minutes, seconds, milliseconds);\r\n };\r\n DateWrapper.fromISOString = function (str) { return new exports.Date(str); };\r\n DateWrapper.fromMillis = function (ms) { return new exports.Date(ms); };\r\n DateWrapper.toMillis = function (date) { return date.getTime(); };\r\n DateWrapper.now = function () { return new exports.Date(); };\r\n DateWrapper.toJson = function (date) { return date.toJSON(); };\r\n return DateWrapper;\r\n}());\r\nexports.DateWrapper = DateWrapper;\r\nfunction setValueOnPath(global, path, value) {\r\n var parts = path.split('.');\r\n var obj = global;\r\n while (parts.length > 1) {\r\n var name = parts.shift();\r\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\r\n obj = obj[name];\r\n }\r\n else {\r\n obj = obj[name] = {};\r\n }\r\n }\r\n if (obj === undefined || obj === null) {\r\n obj = {};\r\n }\r\n obj[parts.shift()] = value;\r\n}\r\nexports.setValueOnPath = setValueOnPath;\r\nvar _symbolIterator = null;\r\nfunction getSymbolIterator() {\r\n if (isBlank(_symbolIterator)) {\r\n if (isPresent(globalScope.Symbol) && isPresent(Symbol.iterator)) {\r\n _symbolIterator = Symbol.iterator;\r\n }\r\n else {\r\n // es6-shim specific logic\r\n var keys = Object.getOwnPropertyNames(Map.prototype);\r\n for (var i = 0; i < keys.length; ++i) {\r\n var key = keys[i];\r\n if (key !== 'entries' && key !== 'size' &&\r\n Map.prototype[key] === Map.prototype['entries']) {\r\n _symbolIterator = key;\r\n }\r\n }\r\n }\r\n }\r\n return _symbolIterator;\r\n}\r\nexports.getSymbolIterator = getSymbolIterator;\r\nfunction evalExpression(sourceUrl, expr, declarations, vars) {\r\n var fnBody = declarations + \"\\nreturn \" + expr + \"\\n//# sourceURL=\" + sourceUrl;\r\n var fnArgNames = [];\r\n var fnArgValues = [];\r\n for (var argName in vars) {\r\n fnArgNames.push(argName);\r\n fnArgValues.push(vars[argName]);\r\n }\r\n return new (Function.bind.apply(Function, [void 0].concat(fnArgNames.concat(fnBody))))().apply(void 0, fnArgValues);\r\n}\r\nexports.evalExpression = evalExpression;\r\nfunction isPrimitive(obj) {\r\n return !isJsObject(obj);\r\n}\r\nexports.isPrimitive = isPrimitive;\r\nfunction hasConstructor(value, type) {\r\n return value.constructor === type;\r\n}\r\nexports.hasConstructor = hasConstructor;\r\nfunction bitWiseOr(values) {\r\n return values.reduce(function (a, b) { return a | b; });\r\n}\r\nexports.bitWiseOr = bitWiseOr;\r\nfunction bitWiseAnd(values) {\r\n return values.reduce(function (a, b) { return a & b; });\r\n}\r\nexports.bitWiseAnd = bitWiseAnd;\r\nfunction escape(s) {\r\n return _global.encodeURI(s);\r\n}\r\nexports.escape = escape;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFuZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9mYWNhZGUvbGFuZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUF3QkEsSUFBSSxXQUE4QixDQUFDO0FBQ25DLEVBQUUsQ0FBQyxDQUFDLE9BQU8sTUFBTSxLQUFLLFdBQVcsQ0FBQyxDQUFDLENBQUM7SUFDbEMsRUFBRSxDQUFDLENBQUMsT0FBTyxpQkFBaUIsS0FBSyxXQUFXLElBQUksSUFBSSxZQUFZLGlCQUFpQixDQUFDLENBQUMsQ0FBQztRQUNsRix5RUFBeUU7UUFDekUsV0FBVyxHQUFRLElBQUksQ0FBQztJQUMxQixDQUFDO0lBQUMsSUFBSSxDQUFDLENBQUM7UUFDTixXQUFXLEdBQVEsTUFBTSxDQUFDO0lBQzVCLENBQUM7QUFDSCxDQUFDO0FBQUMsSUFBSSxDQUFDLENBQUM7SUFDTixXQUFXLEdBQVEsTUFBTSxDQUFDO0FBQzVCLENBQUM7QUFFRCwyQkFBa0MsRUFBWTtJQUM1QyxJQUFJLENBQUMsT0FBTyxDQUFDLGlCQUFpQixDQUFDLG1CQUFtQixFQUFFLEVBQUUsQ0FBQyxDQUFDO0FBQz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wb3J0IGZ1bmN0aW9uIGhhc0NvbnN0cnVjdG9yKHZhbHVlOiBPYmplY3QsIHR5cGU6IFR5cGUpOiBib29sZWFuIHtcbiAgcmV0dXJuIHZhbHVlLmNvbnN0cnVjdG9yID09PSB0eXBlO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gYml0V2lzZU9yKHZhbHVlczogbnVtYmVyW10pOiBudW1iZXIge1xuICByZXR1cm4gdmFsdWVzLnJlZHVjZSgoYSwgYikgPT4geyByZXR1cm4gYSB8IGI7IH0pO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gYml0V2lzZUFuZCh2YWx1ZXM6IG51bWJlcltdKTogbnVtYmVyIHtcbiAgcmV0dXJuIHZhbHVlcy5yZWR1Y2UoKGEsIGIpID0+IHsgcmV0dXJuIGEgJiBiOyB9KTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGVzY2FwZShzOiBzdHJpbmcpOiBzdHJpbmcge1xuICByZXR1cm4gX2dsb2JhbC5lbmNvZGVVUkkocyk7XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nexports.Map = lang_1.global.Map;\r\nexports.Set = lang_1.global.Set;\r\n// Safari and Internet Explorer do not support the iterable parameter to the\r\n// Map constructor. We work around that by manually adding the items.\r\nvar createMapFromPairs = (function () {\r\n try {\r\n if (new exports.Map([[1, 2]]).size === 1) {\r\n return function createMapFromPairs(pairs) { return new exports.Map(pairs); };\r\n }\r\n }\r\n catch (e) {\r\n }\r\n return function createMapAndPopulateFromPairs(pairs) {\r\n var map = new exports.Map();\r\n for (var i = 0; i < pairs.length; i++) {\r\n var pair = pairs[i];\r\n map.set(pair[0], pair[1]);\r\n }\r\n return map;\r\n };\r\n})();\r\nvar createMapFromMap = (function () {\r\n try {\r\n if (new exports.Map(new exports.Map())) {\r\n return function createMapFromMap(m) { return new exports.Map(m); };\r\n }\r\n }\r\n catch (e) {\r\n }\r\n return function createMapAndPopulateFromMap(m) {\r\n var map = new exports.Map();\r\n m.forEach(function (v, k) { map.set(k, v); });\r\n return map;\r\n };\r\n})();\r\nvar _clearValues = (function () {\r\n if ((new exports.Map()).keys().next) {\r\n return function _clearValues(m) {\r\n var keyIterator = m.keys();\r\n var k;\r\n while (!((k = keyIterator.next()).done)) {\r\n m.set(k.value, null);\r\n }\r\n };\r\n }\r\n else {\r\n return function _clearValuesWithForeEach(m) {\r\n m.forEach(function (v, k) { m.set(k, null); });\r\n };\r\n }\r\n})();\r\n// Safari doesn't implement MapIterator.next(), which is used is Traceur's polyfill of Array.from\r\n// TODO(mlaval): remove the work around once we have a working polyfill of Array.from\r\nvar _arrayFromMap = (function () {\r\n try {\r\n if ((new exports.Map()).values().next) {\r\n return function createArrayFromMap(m, getValues) {\r\n return getValues ? Array.from(m.values()) : Array.from(m.keys());\r\n };\r\n }\r\n }\r\n catch (e) {\r\n }\r\n return function createArrayFromMapWithForeach(m, getValues) {\r\n var res = ListWrapper.createFixedSize(m.size), i = 0;\r\n m.forEach(function (v, k) {\r\n res[i] = getValues ? v : k;\r\n i++;\r\n });\r\n return res;\r\n };\r\n})();\r\nvar MapWrapper = (function () {\r\n function MapWrapper() {\r\n }\r\n MapWrapper.clone = function (m) { return createMapFromMap(m); };\r\n MapWrapper.createFromStringMap = function (stringMap) {\r\n var result = new exports.Map();\r\n for (var prop in stringMap) {\r\n result.set(prop, stringMap[prop]);\r\n }\r\n return result;\r\n };\r\n MapWrapper.toStringMap = function (m) {\r\n var r = {};\r\n m.forEach(function (v, k) { return r[k] = v; });\r\n return r;\r\n };\r\n MapWrapper.createFromPairs = function (pairs) { return createMapFromPairs(pairs); };\r\n MapWrapper.clearValues = function (m) { _clearValues(m); };\r\n MapWrapper.iterable = function (m) { return m; };\r\n MapWrapper.keys = function (m) { return _arrayFromMap(m, false); };\r\n MapWrapper.values = function (m) { return _arrayFromMap(m, true); };\r\n return MapWrapper;\r\n}());\r\nexports.MapWrapper = MapWrapper;\r\n/**\r\n * Wraps Javascript Objects\r\n */\r\nvar StringMapWrapper = (function () {\r\n function StringMapWrapper() {\r\n }\r\n StringMapWrapper.create = function () {\r\n // Note: We are not using Object.create(null) here due to\r\n // performance!\r\n // http://jsperf.com/ng2-object-create-null\r\n return {};\r\n };\r\n StringMapWrapper.contains = function (map, key) {\r\n return map.hasOwnProperty(key);\r\n };\r\n StringMapWrapper.get = function (map, key) {\r\n return map.hasOwnProperty(key) ? map[key] : undefined;\r\n };\r\n StringMapWrapper.set = function (map, key, value) { map[key] = value; };\r\n StringMapWrapper.keys = function (map) { return Object.keys(map); };\r\n StringMapWrapper.values = function (map) {\r\n return Object.keys(map).reduce(function (r, a) {\r\n r.push(map[a]);\r\n return r;\r\n }, []);\r\n };\r\n StringMapWrapper.isEmpty = function (map) {\r\n for (var prop in map) {\r\n return false;\r\n }\r\n return true;\r\n };\r\n StringMapWrapper.delete = function (map, key) { delete map[key]; };\r\n StringMapWrapper.forEach = function (map, callback) {\r\n for (var prop in map) {\r\n if (map.hasOwnProperty(prop)) {\r\n callback(map[prop], prop);\r\n }\r\n }\r\n };\r\n StringMapWrapper.merge = function (m1, m2) {\r\n var m = {};\r\n for (var attr in m1) {\r\n if (m1.hasOwnProperty(attr)) {\r\n m[attr] = m1[attr];\r\n }\r\n }\r\n for (var attr in m2) {\r\n if (m2.hasOwnProperty(attr)) {\r\n m[attr] = m2[attr];\r\n }\r\n }\r\n return m;\r\n };\r\n StringMapWrapper.equals = function (m1, m2) {\r\n var k1 = Object.keys(m1);\r\n var k2 = Object.keys(m2);\r\n if (k1.length != k2.length) {\r\n return false;\r\n }\r\n var key;\r\n for (var i = 0; i < k1.length; i++) {\r\n key = k1[i];\r\n if (m1[key] !== m2[key]) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n };\r\n return StringMapWrapper;\r\n}());\r\nexports.StringMapWrapper = StringMapWrapper;\r\nvar ListWrapper = (function () {\r\n function ListWrapper() {\r\n }\r\n // JS has no way to express a statically fixed size list, but dart does so we\r\n // keep both methods.\r\n ListWrapper.createFixedSize = function (size) { return new Array(size); };\r\n ListWrapper.createGrowableSize = function (size) { return new Array(size); };\r\n ListWrapper.clone = function (array) { return array.slice(0); };\r\n ListWrapper.forEachWithIndex = function (array, fn) {\r\n for (var i = 0; i < array.length; i++) {\r\n fn(array[i], i);\r\n }\r\n };\r\n ListWrapper.first = function (array) {\r\n if (!array)\r\n return null;\r\n return array[0];\r\n };\r\n ListWrapper.last = function (array) {\r\n if (!array || array.length == 0)\r\n return null;\r\n return array[array.length - 1];\r\n };\r\n ListWrapper.indexOf = function (array, value, startIndex) {\r\n if (startIndex === void 0) { startIndex = 0; }\r\n return array.indexOf(value, startIndex);\r\n };\r\n ListWrapper.contains = function (list, el) { return list.indexOf(el) !== -1; };\r\n ListWrapper.reversed = function (array) {\r\n var a = ListWrapper.clone(array);\r\n return a.reverse();\r\n };\r\n ListWrapper.concat = function (a, b) { return a.concat(b); };\r\n ListWrapper.insert = function (list, index, value) { list.splice(index, 0, value); };\r\n ListWrapper.removeAt = function (list, index) {\r\n var res = list[index];\r\n list.splice(index, 1);\r\n return res;\r\n };\r\n ListWrapper.removeAll = function (list, items) {\r\n for (var i = 0; i < items.length; ++i) {\r\n var index = list.indexOf(items[i]);\r\n list.splice(index, 1);\r\n }\r\n };\r\n ListWrapper.remove = function (list, el) {\r\n var index = list.indexOf(el);\r\n if (index > -1) {\r\n list.splice(index, 1);\r\n return true;\r\n }\r\n return false;\r\n };\r\n ListWrapper.clear = function (list) { list.length = 0; };\r\n ListWrapper.isEmpty = function (list) { return list.length == 0; };\r\n ListWrapper.fill = function (list, value, start, end) {\r\n if (start === void 0) { start = 0; }\r\n if (end === void 0) { end = null; }\r\n list.fill(value, start, end === null ? list.length : end);\r\n };\r\n ListWrapper.equals = function (a, b) {\r\n if (a.length != b.length)\r\n return false;\r\n for (var i = 0; i < a.length; ++i) {\r\n if (a[i] !== b[i])\r\n return false;\r\n }\r\n return true;\r\n };\r\n ListWrapper.slice = function (l, from, to) {\r\n if (from === void 0) { from = 0; }\r\n if (to === void 0) { to = null; }\r\n return l.slice(from, to === null ? undefined : to);\r\n };\r\n ListWrapper.splice = function (l, from, length) { return l.splice(from, length); };\r\n ListWrapper.sort = function (l, compareFn) {\r\n if (lang_1.isPresent(compareFn)) {\r\n l.sort(compareFn);\r\n }\r\n else {\r\n l.sort();\r\n }\r\n };\r\n ListWrapper.toString = function (l) { return l.toString(); };\r\n ListWrapper.toJSON = function (l) { return JSON.stringify(l); };\r\n ListWrapper.maximum = function (list, predicate) {\r\n if (list.length == 0) {\r\n return null;\r\n }\r\n var solution = null;\r\n var maxValue = -Infinity;\r\n for (var index = 0; index < list.length; index++) {\r\n var candidate = list[index];\r\n if (lang_1.isBlank(candidate)) {\r\n continue;\r\n }\r\n var candidateValue = predicate(candidate);\r\n if (candidateValue > maxValue) {\r\n solution = candidate;\r\n maxValue = candidateValue;\r\n }\r\n }\r\n return solution;\r\n };\r\n ListWrapper.flatten = function (list) {\r\n var target = [];\r\n _flattenArray(list, target);\r\n return target;\r\n };\r\n ListWrapper.addAll = function (list, source) {\r\n for (var i = 0; i < source.length; i++) {\r\n list.push(source[i]);\r\n }\r\n };\r\n return ListWrapper;\r\n}());\r\nexports.ListWrapper = ListWrapper;\r\nfunction _flattenArray(source, target) {\r\n if (lang_1.isPresent(source)) {\r\n for (var i = 0; i < source.length; i++) {\r\n var item = source[i];\r\n if (lang_1.isArray(item)) {\r\n _flattenArray(item, target);\r\n }\r\n else {\r\n target.push(item);\r\n }\r\n }\r\n }\r\n return target;\r\n}\r\nfunction isListLikeIterable(obj) {\r\n if (!lang_1.isJsObject(obj))\r\n return false;\r\n return lang_1.isArray(obj) ||\r\n (!(obj instanceof exports.Map) &&\r\n lang_1.getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop\r\n}\r\nexports.isListLikeIterable = isListLikeIterable;\r\nfunction areIterablesEqual(a, b, comparator) {\r\n var iterator1 = a[lang_1.getSymbolIterator()]();\r\n var iterator2 = b[lang_1.getSymbolIterator()]();\r\n while (true) {\r\n var item1 = iterator1.next();\r\n var item2 = iterator2.next();\r\n if (item1.done && item2.done)\r\n return true;\r\n if (item1.done || item2.done)\r\n return false;\r\n if (!comparator(item1.value, item2.value))\r\n return false;\r\n }\r\n}\r\nexports.areIterablesEqual = areIterablesEqual;\r\nfunction iterateListLike(obj, fn) {\r\n if (lang_1.isArray(obj)) {\r\n for (var i = 0; i < obj.length; i++) {\r\n fn(obj[i]);\r\n }\r\n }\r\n else {\r\n var iterator = obj[lang_1.getSymbolIterator()]();\r\n var item;\r\n while (!((item = iterator.next()).done)) {\r\n fn(item.value);\r\n }\r\n }\r\n}\r\nexports.iterateListLike = iterateListLike;\r\n// Safari and Internet Explorer do not support the iterable parameter to the\r\n// Set constructor. We work around that by manually adding the items.\r\nvar createSetFromList = (function () {\r\n var test = new exports.Set([1, 2, 3]);\r\n if (test.size === 3) {\r\n return function createSetFromList(lst) { return new exports.Set(lst); };\r\n }\r\n else {\r\n return function createSetAndPopulateFromList(lst) {\r\n var res = new exports.Set(lst);\r\n if (res.size !== lst.length) {\r\n for (var i = 0; i < lst.length; i++) {\r\n res.add(lst[i]);\r\n }\r\n }\r\n return res;\r\n };\r\n }\r\n})();\r\nvar SetWrapper = (function () {\r\n function SetWrapper() {\r\n }\r\n SetWrapper.createFromList = function (lst) { return createSetFromList(lst); };\r\n SetWrapper.has = function (s, key) { return s.has(key); };\r\n SetWrapper.delete = function (m, k) { m.delete(k); };\r\n return SetWrapper;\r\n}());\r\nexports.SetWrapper = SetWrapper;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9mYWNhZGUvY29sbGVjdGlvbi50cyJdL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cbiAgICBmb3IgKHZhciBwcm9wIGluIG1hcCkge1xuICAgICAgaWYgKG1hcC5oYXNPd25Qcm9wZXJ0eShwcm9wKSkge1xuICAgICAgICBjYWxsYmFjayhtYXBbcHJvcF0sIHByb3ApO1xuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIHN0YXRpYyBtZXJnZTxWPihtMToge1trZXk6IHN0cmluZ106IFZ9LCBtMjoge1trZXk6IHN0cmluZ106IFZ9KToge1trZXk6IHN0cmluZ106IFZ9IHtcbiAgICB2YXIgbToge1trZXk6IHN0cmluZ106IFZ9ID0ge307XG5cbiAgICBmb3IgKHZhciBhdHRyIGluIG0xKSB7XG4gICAgICBpZiAobTEuaGFzT3duUHJvcGVydHkoYXR0cikpIHtcbiAgICAgICAgbVthdHRyXSA9IG0xW2F0dHJdO1xuICAgICAgfVxuICAgIH1cblxuICAgIGZvciAodmFyIGF0dHIgaW4gbTIpIHtcbiAgICAgIGlmIChtMi5oYXNPd25Qcm9wZXJ0eShhdHRyKSkge1xuICAgICAgICBtW2F0dHJdID0gbTJbYXR0cl07XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIG07XG4gIH1cblxuICBzdGF0aWMgZXF1YWxzPFY+KG0xOiB7W2tleTogc3RyaW5nXTogVn0sIG0yOiB7W2tleTogc3RyaW5nXTogVn0pOiBib29sZWFuIHtcbiAgICB2YXIgazEgPSBPYmplY3Qua2V5cyhtMSk7XG4gICAgdmFyIGsyID0gT2JqZWN0LmtleXMobTIpO1xuICAgIGlmIChrMS5sZW5ndGggIT0gazIubGVuZ3RoKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuICAgIHZhciBrZXk7XG4gICAgZm9yICh2YXIgaSA9IDA7IGkgPCBrMS5sZW5ndGg7IGkrKykge1xuICAgICAga2V5ID0gazFbaV07XG4gICAgICBpZiAobTFba2V5XSAhPT0gbTJba2V5XSkge1xuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICB9XG4gIC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zdC5sZW5ndGg7IGkrKykge1xuICAgICAgICAgIHJlcy5hZGQobHN0W2ldKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgICAgcmV0dXJuIHJlcztcbiAgICB9O1xuICB9XG59KSgpO1xuZXhwb3J0IGNsYXNzIFNldFdyYXBwZXIge1xuICBzdGF0aWMgY3JlYXRlRnJvbUxpc3Q8VD4obHN0OiBUW10pOiBTZXQ8VD4geyByZXR1cm4gY3JlYXRlU2V0RnJvbUxpc3QobHN0KTsgfVxuICBzdGF0aWMgaGFzPFQ+KHM6IFNldDxUPiwga2V5OiBUKTogYm9vbGVhbiB7IHJldHVybiBzLmhhcyhrZXkpOyB9XG4gIHN0YXRpYyBkZWxldGU8Sz4obTogU2V0PEs+LCBrOiBLKSB7IG0uZGVsZXRlKGspOyB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar _WHEN_DEFAULT = lang_1.CONST_EXPR(new Object());\r\nvar SwitchView = (function () {\r\n function SwitchView(_viewContainerRef, _templateRef) {\r\n this._viewContainerRef = _viewContainerRef;\r\n this._templateRef = _templateRef;\r\n }\r\n SwitchView.prototype.create = function () { this._viewContainerRef.createEmbeddedView(this._templateRef); };\r\n SwitchView.prototype.destroy = function () { this._viewContainerRef.clear(); };\r\n return SwitchView;\r\n}());\r\nexports.SwitchView = SwitchView;\r\n/**\r\n * Adds or removes DOM sub-trees when their match expressions match the switch expression.\r\n *\r\n * Elements within `NgSwitch` but without `NgSwitchWhen` or `NgSwitchDefault` directives will be\r\n * preserved at the location as specified in the template.\r\n *\r\n * `NgSwitch` simply inserts nested elements based on which match expression matches the value\r\n * obtained from the evaluated switch expression. In other words, you define a container element\r\n * (where you place the directive with a switch expression on the\r\n * `[ngSwitch]=\"...\"` attribute), define any inner elements inside of the directive and\r\n * place a `[ngSwitchWhen]` attribute per element.\r\n *\r\n * The `ngSwitchWhen` property is used to inform `NgSwitch` which element to display when the\r\n * expression is evaluated. If a matching expression is not found via a `ngSwitchWhen` property\r\n * then an element with the `ngSwitchDefault` attribute is displayed.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/DQMTII95CbuqWrl3lYAs?p=preview))\r\n *\r\n * ```typescript\r\n * @Component({\r\n * selector: 'app',\r\n * template: `\r\n * <p>Value = {{value}}</p>\r\n * <button (click)=\"inc()\">Increment</button>\r\n *\r\n * <div [ngSwitch]=\"value\">\r\n * <p *ngSwitchWhen=\"'init'\">increment to start</p>\r\n * <p *ngSwitchWhen=\"0\">0, increment again</p>\r\n * <p *ngSwitchWhen=\"1\">1, increment again</p>\r\n * <p *ngSwitchWhen=\"2\">2, stop incrementing</p>\r\n * <p *ngSwitchDefault>&gt; 2, STOP!</p>\r\n * </div>\r\n *\r\n * <!-- alternate syntax -->\r\n *\r\n * <p [ngSwitch]=\"value\">\r\n * <template ngSwitchWhen=\"init\">increment to start</template>\r\n * <template [ngSwitchWhen]=\"0\">0, increment again</template>\r\n * <template [ngSwitchWhen]=\"1\">1, increment again</template>\r\n * <template [ngSwitchWhen]=\"2\">2, stop incrementing</template>\r\n * <template ngSwitchDefault>&gt; 2, STOP!</template>\r\n * </p>\r\n * `,\r\n * directives: [NgSwitch, NgSwitchWhen, NgSwitchDefault]\r\n * })\r\n * export class App {\r\n * value = 'init';\r\n *\r\n * inc() {\r\n * this.value = this.value === 'init' ? 0 : this.value + 1;\r\n * }\r\n * }\r\n *\r\n * bootstrap(App).catch(err => console.error(err));\r\n * ```\r\n */\r\nvar NgSwitch = (function () {\r\n function NgSwitch() {\r\n this._useDefault = false;\r\n this._valueViews = new collection_1.Map();\r\n this._activeViews = [];\r\n }\r\n Object.defineProperty(NgSwitch.prototype, \"ngSwitch\", {\r\n set: function (value) {\r\n // Empty the currently active ViewContainers\r\n this._emptyAllActiveViews();\r\n // Add the ViewContainers matching the value (with a fallback to default)\r\n this._useDefault = false;\r\n var views = this._valueViews.get(value);\r\n if (lang_1.isBlank(views)) {\r\n this._useDefault = true;\r\n views = lang_1.normalizeBlank(this._valueViews.get(_WHEN_DEFAULT));\r\n }\r\n this._activateViews(views);\r\n this._switchValue = value;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /** @internal */\r\n NgSwitch.prototype._onWhenValueChanged = function (oldWhen, newWhen, view) {\r\n this._deregisterView(oldWhen, view);\r\n this._registerView(newWhen, view);\r\n if (oldWhen === this._switchValue) {\r\n view.destroy();\r\n collection_1.ListWrapper.remove(this._activeViews, view);\r\n }\r\n else if (newWhen === this._switchValue) {\r\n if (this._useDefault) {\r\n this._useDefault = false;\r\n this._emptyAllActiveViews();\r\n }\r\n view.create();\r\n this._activeViews.push(view);\r\n }\r\n // Switch to default when there is no more active ViewContainers\r\n if (this._activeViews.length === 0 && !this._useDefault) {\r\n this._useDefault = true;\r\n this._activateViews(this._valueViews.get(_WHEN_DEFAULT));\r\n }\r\n };\r\n /** @internal */\r\n NgSwitch.prototype._emptyAllActiveViews = function () {\r\n var activeContainers = this._activeViews;\r\n for (var i = 0; i < activeContainers.length; i++) {\r\n activeContainers[i].destroy();\r\n }\r\n this._activeViews = [];\r\n };\r\n /** @internal */\r\n NgSwitch.prototype._activateViews = function (views) {\r\n // TODO(vicb): assert(this._activeViews.length === 0);\r\n if (lang_1.isPresent(views)) {\r\n for (var i = 0; i < views.length; i++) {\r\n views[i].create();\r\n }\r\n this._activeViews = views;\r\n }\r\n };\r\n /** @internal */\r\n NgSwitch.prototype._registerView = function (value, view) {\r\n var views = this._valueViews.get(value);\r\n if (lang_1.isBlank(views)) {\r\n views = [];\r\n this._valueViews.set(value, views);\r\n }\r\n views.push(view);\r\n };\r\n /** @internal */\r\n NgSwitch.prototype._deregisterView = function (value, view) {\r\n // `_WHEN_DEFAULT` is used a marker for non-registered whens\r\n if (value === _WHEN_DEFAULT)\r\n return;\r\n var views = this._valueViews.get(value);\r\n if (views.length == 1) {\r\n this._valueViews.delete(value);\r\n }\r\n else {\r\n collection_1.ListWrapper.remove(views, view);\r\n }\r\n };\r\n NgSwitch = __decorate([\r\n core_1.Directive({ selector: '[ngSwitch]', inputs: ['ngSwitch'] }), \r\n __metadata('design:paramtypes', [])\r\n ], NgSwitch);\r\n return NgSwitch;\r\n}());\r\nexports.NgSwitch = NgSwitch;\r\n/**\r\n * Insert the sub-tree when the `ngSwitchWhen` expression evaluates to the same value as the\r\n * enclosing switch expression.\r\n *\r\n * If multiple match expression match the switch expression value, all of them are displayed.\r\n *\r\n * See {@link NgSwitch} for more details and example.\r\n */\r\nvar NgSwitchWhen = (function () {\r\n function NgSwitchWhen(viewContainer, templateRef, ngSwitch) {\r\n // `_WHEN_DEFAULT` is used as a marker for a not yet initialized value\r\n /** @internal */\r\n this._value = _WHEN_DEFAULT;\r\n this._switch = ngSwitch;\r\n this._view = new SwitchView(viewContainer, templateRef);\r\n }\r\n Object.defineProperty(NgSwitchWhen.prototype, \"ngSwitchWhen\", {\r\n set: function (value) {\r\n this._switch._onWhenValueChanged(this._value, value, this._view);\r\n this._value = value;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgSwitchWhen = __decorate([\r\n core_1.Directive({ selector: '[ngSwitchWhen]', inputs: ['ngSwitchWhen'] }),\r\n __param(2, core_1.Host()), \r\n __metadata('design:paramtypes', [core_1.ViewContainerRef, core_1.TemplateRef, NgSwitch])\r\n ], NgSwitchWhen);\r\n return NgSwitchWhen;\r\n}());\r\nexports.NgSwitchWhen = NgSwitchWhen;\r\n/**\r\n * Default case statements are displayed when no match expression matches the switch expression\r\n * value.\r\n *\r\n * See {@link NgSwitch} for more details and example.\r\n */\r\nvar NgSwitchDefault = (function () {\r\n function NgSwitchDefault(viewContainer, templateRef, sswitch) {\r\n sswitch._registerView(_WHEN_DEFAULT, new SwitchView(viewContainer, templateRef));\r\n }\r\n NgSwitchDefault = __decorate([\r\n core_1.Directive({ selector: '[ngSwitchDefault]' }),\r\n __param(2, core_1.Host()), \r\n __metadata('design:paramtypes', [core_1.ViewContainerRef, core_1.TemplateRef, NgSwitch])\r\n ], NgSwitchDefault);\r\n return NgSwitchDefault;\r\n}());\r\nexports.NgSwitchDefault = NgSwitchDefault;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfc3dpdGNoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9kaXJlY3RpdmVzL25nX3N3aXRjaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUEscUJBQTZELGVBQWUsQ0FBQyxDQUFBO0FBQzdFLHFCQUE2RCwwQkFBMEIsQ0FBQyxDQUFBO0FBQ3hGLDJCQUErQixnQ0FBZ0MsQ0FBQyxDQUFBO0FBRWhFLElBQU0sYUFBYSxHQUFHLGlCQUFVLENBQUMsSUFBSSxNQUFNLEVBQUUsQ0FBQyxDQUFDO0FBRS9DO0lBQ0Us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ICBASG9zdCgpIG5nU3dpdGNoOiBOZ1N3aXRjaCkge1xuICAgIHRoaXMuX3N3aXRjaCA9IG5nU3dpdGNoO1xuICAgIHRoaXMuX3ZpZXcgPSBuZXcgU3dpdGNoVmlldyh2aWV3Q29udGFpbmVyLCB0ZW1wbGF0ZVJlZik7XG4gIH1cblxuICBzZXQgbmdTd2l0Y2hXaGVuKHZhbHVlOiBhbnkpIHtcbiAgICB0aGlzLl9zd2l0Y2guX29uV2hlblZhbHVlQ2hhbmdlZCh0aGlzLl92YWx1ZSwgdmFsdWUsIHRoaXMuX3ZpZXcpO1xuICAgIHRoaXMuX3ZhbHVlID0gdmFsdWU7XG4gIH1cbn1cblxuLyoqXG4gKiBEZWZhdWx0IGNhc2Ugc3RhdGVtZW50cyBhcmUgZGlzcGxheWVkIHdoZW4gbm8gbWF0Y2ggZXhwcmVzc2lvbiBtYXRjaGVzIHRoZSBzd2l0Y2ggZXhwcmVzc2lvblxuICogdmFsdWUuXG4gKlxuICogU2VlIHtAbGluayBOZ1N3aXRjaH0gZm9yIG1vcmUgZGV0YWlscyBhbmQgZXhhbXBsZS5cbiAqL1xuQERpcmVjdGl2ZSh7c2VsZWN0b3I6ICdbbmdTd2l0Y2hEZWZhdWx0XSd9KVxuZXhwb3J0IGNsYXNzIE5nU3dpdGNoRGVmYXVsdCB7XG4gIGNvbnN0cnVjdG9yKHZpZXdDb250YWluZXI6IFZpZXdDb250YWluZXJSZWYsIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZixcbiAgICAgICAgICAgICAgQEhvc3QoKSBzc3dpdGNoOiBOZ1N3aXRjaCkge1xuICAgIHNzd2l0Y2guX3JlZ2lzdGVyVmlldyhfV0hFTl9ERUZBVUxULCBuZXcgU3dpdGNoVmlldyh2aWV3Q29udGFpbmVyLCB0ZW1wbGF0ZVJlZikpO1xuICB9XG59XG4iXX0=","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n};\r\nvar core_1 = require('angular2/core');\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar collection_1 = require('angular2/src/facade/collection');\r\nvar ng_switch_1 = require('./ng_switch');\r\nvar _CATEGORY_DEFAULT = 'other';\r\nvar NgLocalization = (function () {\r\n function NgLocalization() {\r\n }\r\n return NgLocalization;\r\n}());\r\nexports.NgLocalization = NgLocalization;\r\n/**\r\n * `ngPlural` is an i18n directive that displays DOM sub-trees that match the switch expression\r\n * value, or failing that, DOM sub-trees that match the switch expression's pluralization category.\r\n *\r\n * To use this directive, you must provide an extension of `NgLocalization` that maps values to\r\n * category names. You then define a container element that sets the `[ngPlural]` attribute to a\r\n * switch expression.\r\n * - Inner elements defined with an `[ngPluralCase]` attribute will display based on their\r\n * expression.\r\n * - If `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\r\n * matches the switch expression exactly.\r\n * - Otherwise, the view will be treated as a \"category match\", and will only display if exact\r\n * value matches aren't found and the value maps to its category using the `getPluralCategory`\r\n * function provided.\r\n *\r\n * If no matching views are found for a switch expression, inner elements marked\r\n * `[ngPluralCase]=\"other\"` will be displayed.\r\n *\r\n * ```typescript\r\n * class MyLocalization extends NgLocalization {\r\n * getPluralCategory(value: any) {\r\n * if(value < 5) {\r\n * return 'few';\r\n * }\r\n * }\r\n * }\r\n *\r\n * @Component({\r\n * selector: 'app',\r\n * providers: [provide(NgLocalization, {useClass: MyLocalization})]\r\n * })\r\n * @View({\r\n * template: `\r\n * <p>Value = {{value}}</p>\r\n * <button (click)=\"inc()\">Increment</button>\r\n *\r\n * <div [ngPlural]=\"value\">\r\n * <template ngPluralCase=\"=0\">there is nothing</template>\r\n * <template ngPluralCase=\"=1\">there is one</template>\r\n * <template ngPluralCase=\"few\">there are a few</template>\r\n * <template ngPluralCase=\"other\">there is some number</template>\r\n * </div>\r\n * `,\r\n * directives: [NgPlural, NgPluralCase]\r\n * })\r\n * export class App {\r\n * value = 'init';\r\n *\r\n * inc() {\r\n * this.value = this.value === 'init' ? 0 : this.value + 1;\r\n * }\r\n * }\r\n *\r\n * ```\r\n */\r\nvar NgPluralCase = (function () {\r\n function NgPluralCase(value, template, viewContainer) {\r\n this.value = value;\r\n this._view = new ng_switch_1.SwitchView(viewContainer, template);\r\n }\r\n NgPluralCase = __decorate([\r\n core_1.Directive({ selector: '[ngPluralCase]' }),\r\n __param(0, core_1.Attribute('ngPluralCase')), \r\n __metadata('design:paramtypes', [String, core_1.TemplateRef, core_1.ViewContainerRef])\r\n ], NgPluralCase);\r\n return NgPluralCase;\r\n}());\r\nexports.NgPluralCase = NgPluralCase;\r\nvar NgPlural = (function () {\r\n function NgPlural(_localization) {\r\n this._localization = _localization;\r\n this._caseViews = new collection_1.Map();\r\n this.cases = null;\r\n }\r\n Object.defineProperty(NgPlural.prototype, \"ngPlural\", {\r\n set: function (value) {\r\n this._switchValue = value;\r\n this._updateView();\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NgPlural.prototype.ngAfterContentInit = function () {\r\n var _this = this;\r\n this.cases.forEach(function (pluralCase) {\r\n _this._caseViews.set(_this._formatValue(pluralCase), pluralCase._view);\r\n });\r\n this._updateView();\r\n };\r\n /** @internal */\r\n NgPlural.prototype._updateView = function () {\r\n this._clearViews();\r\n var view = this._caseViews.get(this._switchValue);\r\n if (!lang_1.isPresent(view))\r\n view = this._getCategoryView(this._switchValue);\r\n this._activateView(view);\r\n };\r\n /** @internal */\r\n NgPlural.prototype._clearViews = function () {\r\n if (lang_1.isPresent(this._activeView))\r\n this._activeView.destroy();\r\n };\r\n /** @internal */\r\n NgPlural.prototype._activateView = function (view) {\r\n if (!lang_1.isPresent(view))\r\n return;\r\n this._activeView = view;\r\n this._activeView.create();\r\n };\r\n /** @internal */\r\n NgPlural.prototype._getCategoryView = function (value) {\r\n var category = this._localization.getPluralCategory(value);\r\n var categoryView = this._caseViews.get(category);\r\n return lang_1.isPresent(categoryView) ? categoryView : this._caseViews.get(_CATEGORY_DEFAULT);\r\n };\r\n /** @internal */\r\n NgPlural.prototype._isValueView = function (pluralCase) { return pluralCase.value[0] === \"=\"; };\r\n /** @internal */\r\n NgPlural.prototype._formatValue = function (pluralCase) {\r\n return this._isValueView(pluralCase) ? this._stripValue(pluralCase.value) : pluralCase.value;\r\n };\r\n /** @internal */\r\n NgPlural.prototype._stripValue = function (value) { return lang_1.NumberWrapper.parseInt(value.substring(1), 10); };\r\n __decorate([\r\n core_1.ContentChildren(NgPluralCase), \r\n __metadata('design:type', core_1.QueryList)\r\n ], NgPlural.prototype, \"cases\", void 0);\r\n __decorate([\r\n core_1.Input(), \r\n __metadata('design:type', Number), \r\n __metadata('design:paramtypes', [Number])\r\n ], NgPlural.prototype, \"ngPlural\", null);\r\n NgPlural = __decorate([\r\n core_1.Directive({ selector: '[ngPlural]' }), \r\n __metadata('design:paramtypes', [NgLocalization])\r\n ], NgPlural);\r\n return NgPlural;\r\n}());\r\nexports.NgPlural = NgPlural;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdfcGx1cmFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS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c2U6IE5nUGx1cmFsQ2FzZSk6IGFueSB7XG4gICAgcmV0dXJuIHRoaXMuX2lzVmFsdWVWaWV3KHBsdXJhbENhc2UpID8gdGhpcy5fc3RyaXBWYWx1ZShwbHVyYWxDYXNlLnZhbHVlKSA6IHBsdXJhbENhc2UudmFsdWU7XG4gIH1cblxuICAvKiogQGludGVybmFsICovXG4gIF9zdHJpcFZhbHVlKHZhbHVlOiBzdHJpbmcpOiBudW1iZXIgeyByZXR1cm4gTnVtYmVyV3JhcHBlci5wYXJzZUludCh2YWx1ZS5zdWJzdHJpbmcoMSksIDEwKTsgfVxufVxuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar ng_class_1 = require('./ng_class');\r\nvar ng_for_1 = require('./ng_for');\r\nvar ng_if_1 = require('./ng_if');\r\nvar ng_template_outlet_1 = require('./ng_template_outlet');\r\nvar ng_style_1 = require('./ng_style');\r\nvar ng_switch_1 = require('./ng_switch');\r\nvar ng_plural_1 = require('./ng_plural');\r\n/**\r\n * A collection of Angular core directives that are likely to be used in each and every Angular\r\n * application.\r\n *\r\n * This collection can be used to quickly enumerate all the built-in directives in the `directives`\r\n * property of the `@Component` annotation.\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/yakGwpCdUkg0qfzX5m8g?p=preview))\r\n *\r\n * Instead of writing:\r\n *\r\n * ```typescript\r\n * import {NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/common';\r\n * import {OtherDirective} from './myDirectives';\r\n *\r\n * @Component({\r\n * selector: 'my-component',\r\n * templateUrl: 'myComponent.html',\r\n * directives: [NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, OtherDirective]\r\n * })\r\n * export class MyComponent {\r\n * ...\r\n * }\r\n * ```\r\n * one could import all the core directives at once:\r\n *\r\n * ```typescript\r\n * import {CORE_DIRECTIVES} from 'angular2/common';\r\n * import {OtherDirective} from './myDirectives';\r\n *\r\n * @Component({\r\n * selector: 'my-component',\r\n * templateUrl: 'myComponent.html',\r\n * directives: [CORE_DIRECTIVES, OtherDirective]\r\n * })\r\n * export class MyComponent {\r\n * ...\r\n * }\r\n * ```\r\n */\r\nexports.CORE_DIRECTIVES = lang_1.CONST_EXPR([\r\n ng_class_1.NgClass,\r\n ng_for_1.NgFor,\r\n ng_if_1.NgIf,\r\n ng_template_outlet_1.NgTemplateOutlet,\r\n ng_style_1.NgStyle,\r\n ng_switch_1.NgSwitch,\r\n ng_switch_1.NgSwitchWhen,\r\n ng_switch_1.NgSwitchDefault,\r\n ng_plural_1.NgPlural,\r\n ng_plural_1.NgPluralCase\r\n]);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZV9kaXJlY3RpdmVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvc3JjL2NvbW1vbi9kaXJlY3RpdmVzL2NvcmVfZGlyZWN0aXZlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEscUJBQStCLDBCQUEwQixDQUFDLENBQUE7QUFDMUQseUJBQXNCLFlBQVksQ0FBQyxDQUFBO0FBQ25DLHVCQUFvQixVQUFVLENBQUMsQ0FBQTtBQUMvQixzQkFBbUIsU0FBUyxDQUFDLENBQUE7QUFDN0IsbUNBQStCLHNCQUFzQixDQUFDLENBQUE7QUFDdEQseUJBQXNCLFlBQVksQ0FBQyxDQUFBO0FBQ25DLDBCQUFzRCxhQUFhLENBQUMsQ0FBQTtBQUNwRSwwQkFBcUMsYUFBYSxDQUFDLENBQUE7QUFFbkQ7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXVDRztBQUNVLHVCQUFlLEdBQVcsaUJ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YXRlVXJsOiAnbXlDb21wb25lbnQuaHRtbCcsXG4gKiAgIGRpcmVjdGl2ZXM6IFtDT1JFX0RJUkVDVElWRVMsIE90aGVyRGlyZWN0aXZlXVxuICogfSlcbiAqIGV4cG9ydCBjbGFzcyBNeUNvbXBvbmVudCB7XG4gKiAgIC4uLlxuICogfVxuICogYGBgXG4gKi9cbmV4cG9ydCBjb25zdCBDT1JFX0RJUkVDVElWRVM6IFR5cGVbXSA9IENPTlNUX0VYUFIoW1xuICBOZ0NsYXNzLFxuICBOZ0ZvcixcbiAgTmdJZixcbiAgTmdUZW1wbGF0ZU91dGxldCxcbiAgTmdTdHlsZSxcbiAgTmdTd2l0Y2gsXG4gIE5nU3dpdGNoV2hlbixcbiAgTmdTd2l0Y2hEZWZhdWx0LFxuICBOZ1BsdXJhbCxcbiAgTmdQbHVyYWxDYXNlXG5dKTtcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n/**\r\n * @module\r\n * @description\r\n * Common directives shipped with Angular.\r\n */\r\nvar ng_class_1 = require('./directives/ng_class');\r\nexports.NgClass = ng_class_1.NgClass;\r\nvar ng_for_1 = require('./directives/ng_for');\r\nexports.NgFor = ng_for_1.NgFor;\r\nvar ng_if_1 = require('./directives/ng_if');\r\nexports.NgIf = ng_if_1.NgIf;\r\nvar ng_template_outlet_1 = require('./directives/ng_template_outlet');\r\nexports.NgTemplateOutlet = ng_template_outlet_1.NgTemplateOutlet;\r\nvar ng_style_1 = require('./directives/ng_style');\r\nexports.NgStyle = ng_style_1.NgStyle;\r\nvar ng_switch_1 = require('./directives/ng_switch');\r\nexports.NgSwitch = ng_switch_1.NgSwitch;\r\nexports.NgSwitchWhen = ng_switch_1.NgSwitchWhen;\r\nexports.NgSwitchDefault = ng_switch_1.NgSwitchDefault;\r\nvar ng_plural_1 = require('./directives/ng_plural');\r\nexports.NgPlural = ng_plural_1.NgPlural;\r\nexports.NgPluralCase = ng_plural_1.NgPluralCase;\r\nexports.NgLocalization = ng_plural_1.NgLocalization;\r\n__export(require('./directives/observable_list_diff'));\r\nvar core_directives_1 = require('./directives/core_directives');\r\nexports.CORE_DIRECTIVES = core_directives_1.CORE_DIRECTIVES;\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0aXZlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImRpZmZpbmdfcGx1Z2luX3dyYXBwZXItb3V0cHV0X3BhdGgtQlJKZXIxSjkudG1wL2FuZ3VsYXIyL3NyYy9jb21tb24vZGlyZWN0aXZlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUE7Ozs7R0FJRztBQUNILHlCQUFzQix1QkFBdUIsQ0FBQztBQUF0QyxxQ0FBc0M7QUFDOUMsdUJBQW9CLHFCQUFxQixDQUFDO0FBQWxDLCtCQUFrQztBQUMxQyxzQkFBbUIsb0JBQW9CLENBQUM7QUFBaEMsNEJBQWdDO0FBQ3hDLG1DQUErQixpQ0FBaUMsQ0FBQztBQUF6RCxpRUFBeUQ7QUFDakUseUJBQXNCLHVCQUF1QixDQUFDO0FBQXRDLHFDQUFzQztBQUM5QywwQkFBc0Qsd0JBQXdCLENBQUM7QUFBdkUsd0NBQVE7QUFBRSxnREFBWTtBQUFFLHNEQUErQztBQUMvRSwwQkFBcUQsd0JBQXdCLENBQUM7QUFBdEUsd0NBQVE7QUFBRSxnREFBWTtBQUFFLG9EQUE4QztBQUM5RSxpQkFBYyxtQ0FBbUMsQ0FBQyxFQUFBO0FBQ2xELGdDQUE4Qiw4QkFBOEIsQ0FBQztBQUFyRCw0REFBcUQiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBtb2R1bGVcbiAqIEBkZXNjcmlwdGlvblxuICogQ29tbW9uIGRpcmVjdGl2ZXMgc2hpcHBlZCB3aXRoIEFuZ3VsYXIuXG4gKi9cbmV4cG9ydCB7TmdDbGFzc30gZnJvbSAnLi9kaXJlY3RpdmVzL25nX2NsYXNzJztcbmV4cG9ydCB7TmdGb3J9IGZyb20gJy4vZGlyZWN0aXZlcy9uZ19mb3InO1xuZXhwb3J0IHtOZ0lmfSBmcm9tICcuL2RpcmVjdGl2ZXMvbmdfaWYnO1xuZXhwb3J0IHtOZ1RlbXBsYXRlT3V0bGV0fSBmcm9tICcuL2RpcmVjdGl2ZXMvbmdfdGVtcGxhdGVfb3V0bGV0JztcbmV4cG9ydCB7TmdTdHlsZX0gZnJvbSAnLi9kaXJlY3RpdmVzL25nX3N0eWxlJztcbmV4cG9ydCB7TmdTd2l0Y2gsIE5nU3dpdGNoV2hlbiwgTmdTd2l0Y2hEZWZhdWx0fSBmcm9tICcuL2RpcmVjdGl2ZXMvbmdfc3dpdGNoJztcbmV4cG9ydCB7TmdQbHVyYWwsIE5nUGx1cmFsQ2FzZSwgTmdMb2NhbGl6YXRpb259IGZyb20gJy4vZGlyZWN0aXZlcy9uZ19wbHVyYWwnO1xuZXhwb3J0ICogZnJvbSAnLi9kaXJlY3RpdmVzL29ic2VydmFibGVfbGlzdF9kaWZmJztcbmV4cG9ydCB7Q09SRV9ESVJFQ1RJVkVTfSBmcm9tICcuL2RpcmVjdGl2ZXMvY29yZV9kaXJlY3RpdmVzJztcbiJdfQ==","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nvar lang_1 = require('angular2/src/facade/lang');\r\nvar forms_1 = require('./forms');\r\nvar directives_1 = require('./directives');\r\n/**\r\n * A collection of Angular core directives that are likely to be used in each and every Angular\r\n * application. This includes core directives (e.g., NgIf and NgFor), and forms directives (e.g.,\r\n * NgModel).\r\n *\r\n * This collection can be used to quickly enumerate all the built-in directives in the `directives`\r\n * property of the `@Component` decorator.\r\n *\r\n * ### Example\r\n *\r\n * Instead of writing:\r\n *\r\n * ```typescript\r\n * import {NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, NgModel, NgForm} from\r\n * 'angular2/common';\r\n * import {OtherDirective} from './myDirectives';\r\n *\r\n * @Component({\r\n * selector: 'my-component',\r\n * templateUrl: 'myComponent.html',\r\n * directives: [NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, NgModel, NgForm,\r\n * OtherDirective]\r\n * })\r\n * export class MyComponent {\r\n * ...\r\n * }\r\n * ```\r\n * one could import all the common directives at once:\r\n *\r\n * ```typescript\r\n * import {COMMON_DIRECTIVES} from 'angular2/common';\r\n * import {OtherDirective} from './myDirectives';\r\n *\r\n * @Component({\r\n * selector: 'my-component',\r\n * templateUrl: 'myComponent.html',\r\n * directives: [COMMON_DIRECTIVES, OtherDirective]\r\n * })\r\n * export class MyComponent {\r\n * ...\r\n * }\r\n * ```\r\n */\r\nexports.COMMON_DIRECTIVES = lang_1.CONST_EXPR([directives_1.CORE_DIRECTIVES, forms_1.FORM_DIRECTIVES]);\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uX2RpcmVjdGl2ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkaWZmaW5nX3BsdWdpbl93cmFwcGVyLW91dHB1dF9wYXRoLUJSSmVyMUo5LnRtcC9hbmd1bGFyMi9zcmMvY29tbW9uL2NvbW1vbl9kaXJlY3RpdmVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQkFBK0IsMEJBQTBCLENBQUMsQ0FBQTtBQUUxRCxzQkFBOEIsU0FBUyxDQUFDLENBQUE7QUFDeEMsMkJBQThCLGNBQWMsQ0FBQyxDQUFBO0FBRTdDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0EwQ0c7QUFDVSx5QkFBaUIsR0FBYSxpQkFBVSxDQUFDLENBQUMsNEJBQWUsRUFBRSx1Q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dGl2ZXMnO1xuICpcbiAqIEBDb21wb25lbnQoe1xuICogICBzZWxlY3RvcjogJ215LWNvbXBvbmVudCcsXG4gKiAgIHRlbXBsYXRlVXJsOiAnbXlDb21wb25lbnQuaHRtbCcsXG4gKiAgIGRpcmVjdGl2ZXM6IFtOZ0NsYXNzLCBOZ0lmLCBOZ0ZvciwgTmdTd2l0Y2gsIE5nU3dpdGNoV2hlbiwgTmdTd2l0Y2hEZWZhdWx0LCBOZ01vZGVsLCBOZ0Zvcm0sXG4gKiBPdGhlckRpcmVjdGl2ZV1cbiAqIH0pXG4gKiBleHBvcnQgY2xhc3MgTXlDb21wb25lbnQge1xuICogICAuLi5cbiAqIH1cbiAqIGBgYFxuICogb25lIGNvdWxkIGltcG9ydCBhbGwgdGhlIGNvbW1vbiBkaXJlY3RpdmVzIGF0IG9uY2U6XG4gKlxuICogYGBgdHlwZXNjcmlwdFxuICogaW1wb3J0IHtDT01NT05fRElSRUNUSVZFU30gZnJvbSAnYW5ndWxhcjIvY29tbW9uJztcbiAqIGltcG9ydCB7T3RoZXJEaXJlY3RpdmV9IGZyb20gJy4vbXlEaXJlY3RpdmVzJztcbiAqXG4gKiBAQ29tcG9uZW50KHtcbiAqICAgc2VsZWN0b3I6ICdteS1jb21wb25lbnQnLFxuICogICB0ZW1wbGF0ZVVybDogJ215Q29tcG9uZW50Lmh0bWwnLFxuICogICBkaXJlY3RpdmVzOiBbQ09NTU9OX0RJUkVDVElWRVMsIE90aGVyRGlyZWN0aXZlXVxuICogfSlcbiAqIGV4cG9ydCBjbGFzcyBNeUNvbXBvbmVudCB7XG4gKiAgIC4uLlxuICogfVxuICogYGBgXG4gKi9cbmV4cG9ydCBjb25zdCBDT01NT05fRElSRUNUSVZFUzogVHlwZVtdW10gPSBDT05TVF9FWFBSKFtDT1JFX0RJUkVDVElWRVMsIEZPUk1fRElSRUNUSVZFU10pO1xuIl19","/* */ \n\"format cjs\";\n'use strict';\"use strict\";\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n__export(require('./src/common/pipes'));\r\n__export(require('./src/common/directives'));\r\n__export(require('./src/common/forms'));\r\n__export(require('./src/common/common_directives'));\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGlmZmluZ19wbHVnaW5fd3JhcHBlci1vdXRwdXRfcGF0aC1CUkplcjFKOS50bXAvYW5ndWxhcjIvY29tbW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxpQkFBYyxvQkFBb0IsQ0FBQyxFQUFBO0FBQ25DLGlCQUFjLHlCQUF5QixDQUFDLEVBQUE7QUFDeEMsaUJBQWMsb0JBQW9CLENBQUMsRUFBQTtBQUNuQyxpQkFBYyxnQ0FBZ0MsQ0FBQyxFQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zcmMvY29tbW9uL3BpcGVzJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2NvbW1vbi9kaXJlY3RpdmVzJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2NvbW1vbi9mb3Jtcyc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9jb21tb24vY29tbW9uX2RpcmVjdGl2ZXMnO1xuIl19","/* */ \n\"format global\";\n/*\n * DropKick\n *\n * Highly customizable <select> lists\n * https://github.com/robdel12/DropKick\n *\n*/\n(function(factory) {\n var jQuery;\n\n if ( typeof exports === \"object\" ) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n try {\n jQuery = require( \"jquery\" );\n } catch ( e ) {}\n\n module.exports = factory( window, document, jQuery );\n } else {\n // Browser globals (root is window)\n window.Dropkick = factory( window, document, window.jQuery );\n }\n\n}(function( window, document, jQuery, undefined ) {\n\n\nvar\n\n // Browser testing stuff\n isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( navigator.userAgent ),\n isIframe = (window.parent !== window.self && location.host === parent.location.host),\n isIE = navigator.appVersion.indexOf(\"MSIE\")!==-1,\n\n /**\n * # Getting started\n * After you've cloned the repo you will need to add the library to your page. In the `build/js` folder use\n * one of the two DropKick files given. One has a version number in the file name and the other is a version\n * number-less version. You will also need to grab the css from `build/css` and load it on the page.\n *\n * Once those files are imported into the page you can call DropKick on any HTMLSelectElement:\n * `new Dropkick( HTMLSelectElement, Options );` or `new Dropkick( \"ID\", Options );`. This returns the dropkick\n * object to you. It may be useful for you to store this in a var to reference later.\n *\n * If you're using jQuery you can do this instead:\n * `$('#select').dropkick( Options );`\n *\n *\n * @class Dropkick\n * @return { object } DropKick Object for that select. You can call your methods on this if stored in a var\n * @param {elem} sel HTMLSelect Element being passed.\n * @param {opts} options See list of [properties you can pass in here](#list_of_properties)\n * @constructor\n * @example\n * ```js\n * // Pure JS\n * var select = new Dropkick(\"#select\");\n * ```\n * @example\n * ```js\n * // jQuery\n * $(\"#select\").dropkick();\n * ```\n */\n Dropkick = function( sel, opts ) {\n var i, dk;\n\n // Safety if `Dropkick` is called without `new`\n if ( this === window ) {\n return new Dropkick( sel, opts );\n }\n\n if ( typeof sel === \"string\" && sel[0] === \"#\" ) {\n sel = document.getElementById( sel.substr( 1 ) );\n }\n\n // Check if select has already been DK'd and return the DK Object\n for ( i = 0; i < Dropkick.uid; i++) {\n dk = Dropkick.cache[ i ];\n\n if ( dk instanceof Dropkick && dk.data.select === sel ) {\n _.extend( dk.data.settings, opts );\n return dk;\n }\n }\n\n if ( !sel ) {\n console.error(\"You must pass a select to DropKick\");\n return false;\n }\n\n if ( sel.nodeName === \"SELECT\" ) {\n return this.init( sel, opts );\n }\n },\n\n noop = function() {},\n _docListener,\n\n // DK default options\n defaults = {\n\n /**\n * Called once after the DK element is inserted into the DOM.\n * The value of `this` is the Dropkick object itself.\n *\n * @config initialize\n * @type Function\n *\n */\n initialize: noop,\n\n /**\n * Called whenever the value of the Dropkick select changes (by user action or through the API).\n * The value of `this` is the Dropkick object itself.\n *\n * @config change\n * @type Function\n *\n */\n change: noop,\n\n /**\n * Called whenever the Dropkick select is opened. The value of `this` is the Dropkick object itself.\n *\n * @config open\n * @type Function\n *\n */\n open: noop,\n\n /**\n * Called whenever the Dropkick select is closed. The value of `this` is the Dropkick object itself.\n *\n * @config close\n * @type Function\n *\n */\n close: noop,\n\n // Search method; \"strict\", \"partial\", or \"fuzzy\"\n /**\n * `\"strict\"` - The search string matches exactly from the beginning of the option's text value (case insensitive).\n *\n * `\"partial\"` - The search string matches part of the option's text value (case insensitive).\n *\n * `\"fuzzy\"` - The search string matches the characters in the given order (not exclusively).\n * The strongest match is selected first. (case insensitive).\n *\n * @default \"strict\"\n * @config search\n * @type string\n *\n */\n search: \"strict\",\n\n /**\n * Bubble up the custom change event attached to Dropkick to the original element (select).\n */\n bubble: true\n },\n\n // Common Utilities\n _ = {\n\n hasClass: function( elem, classname ) {\n var reg = new RegExp( \"(^|\\\\s+)\" + classname + \"(\\\\s+|$)\" );\n return elem && reg.test( elem.className );\n },\n\n addClass: function( elem, classname ) {\n if( elem && !_.hasClass( elem, classname ) ) {\n elem.className += \" \" + classname;\n }\n },\n\n removeClass: function( elem, classname ) {\n var reg = new RegExp( \"(^|\\\\s+)\" + classname + \"(\\\\s+|$)\" );\n elem && ( elem.className = elem.className.replace( reg, \" \" ) );\n },\n\n toggleClass: function( elem, classname ) {\n var fn = _.hasClass( elem, classname ) ? \"remove\" : \"add\";\n _[ fn + \"Class\" ]( elem, classname );\n },\n\n // Shallow object extend\n extend: function( obj ) {\n Array.prototype.slice.call( arguments, 1 ).forEach( function( source ) {\n if ( source ) { for ( var prop in source ) obj[ prop ] = source[ prop ]; }\n });\n\n return obj;\n },\n\n // Returns the top and left offset of an element\n offset: function( elem ) {\n var box = elem.getBoundingClientRect() || { top: 0, left: 0 },\n docElem = document.documentElement,\n offsetTop = isIE ? docElem.scrollTop : window.pageYOffset,\n offsetLeft = isIE ? docElem.scrollLeft : window.pageXOffset;\n\n return {\n top: box.top + offsetTop - docElem.clientTop,\n left: box.left + offsetLeft - docElem.clientLeft\n };\n },\n\n // Returns the top and left position of an element relative to an ancestor\n position: function( elem, relative ) {\n var pos = { top: 0, left: 0 };\n\n while ( elem && elem !== relative ) {\n pos.top += elem.offsetTop;\n pos.left += elem.offsetLeft;\n elem = elem.parentNode;\n }\n\n return pos;\n },\n\n // Returns the closest ancestor element of the child or false if not found\n closest: function( child, ancestor ) {\n while ( child ) {\n if ( child === ancestor ) { return child; }\n child = child.parentNode;\n }\n return false;\n },\n\n // Creates a DOM node with the specified attributes\n create: function( name, attrs ) {\n var a, node = document.createElement( name );\n\n if ( !attrs ) { attrs = {}; }\n\n for ( a in attrs ) {\n if ( attrs.hasOwnProperty( a ) ) {\n if ( a === \"innerHTML\" ) {\n node.innerHTML = attrs[ a ];\n } else {\n node.setAttribute( a, attrs[ a ] );\n }\n }\n }\n\n return node;\n },\n\n deferred: function( fn ) {\n return function() {\n var args = arguments,\n ctx = this;\n\n window.setTimeout(function() {\n fn.apply(ctx, args);\n }, 1);\n };\n }\n\n };\n\n\n// Cache of DK Objects\nDropkick.cache = {};\nDropkick.uid = 0;\n\n\n// Extends the DK objects's Prototype\nDropkick.prototype = {\n\n // Emulate some of HTMLSelectElement's methods\n\n /**\n * Adds an element to the select. This option will not only add it to the original\n * select, but create a Dropkick option and add it to the Dropkick select.\n *\n * @method add\n * @param {string} elem HTMLOptionElement\n * @param {Node/Integer} before HTMLOptionElement/Index of Element\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.add(\"New option\", 5);\n * ```\n */\n add: function( elem, before ) {\n var text, option, i;\n\n if ( typeof elem === \"string\" ) {\n text = elem;\n elem = document.createElement(\"option\");\n elem.text = text;\n }\n\n if ( elem.nodeName === \"OPTION\" ) {\n option = _.create( \"li\", {\n \"class\": \"dk-option\",\n \"data-value\": elem.value,\n \"innerHTML\": elem.text,\n \"role\": \"option\",\n \"aria-selected\": \"false\",\n \"id\": \"dk\" + this.data.cacheID + \"-\" + ( elem.id || elem.value.replace( \" \", \"-\" ) )\n });\n\n _.addClass( option, elem.className );\n this.length += 1;\n\n if ( elem.disabled ) {\n _.addClass( option, \"dk-option-disabled\" );\n option.setAttribute( \"aria-disabled\", \"true\" );\n }\n\n this.data.select.add( elem, before );\n\n if ( typeof before === \"number\" ) {\n before = this.item( before );\n }\n\n if ( this.options.indexOf( before ) > -1 ) {\n before.parentNode.insertBefore( option, before );\n } else {\n this.data.elem.lastChild.appendChild( option );\n }\n\n option.addEventListener( \"mouseover\", this );\n\n i = this.options.indexOf( before );\n this.options.splice( i, 0, option );\n\n if ( elem.selected ) {\n this.select( i );\n }\n }\n },\n\n /**\n * Selects an option in the list at the desired index (negative numbers select from the end).\n *\n * @method item\n * @param {Integer} index Index of element (positive or negative)\n * @return {Node} The DK option from the list, or null if not found\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.item(4); //returns DOM node of index\n * ```\n */\n item: function( index ) {\n index = index < 0 ? this.options.length + index : index;\n return this.options[ index ] || null;\n },\n\n /**\n * Removes the option (from both the select and Dropkick) at the given index.\n *\n * @method remove\n * @param {Integer} index Index of element (positive or negative)\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.remove(4);\n * ```\n */\n remove: function( index ) {\n var dkOption = this.item( index );\n dkOption.parentNode.removeChild( dkOption );\n this.options.splice( index, 1 );\n this.data.select.remove( index );\n this.select( this.data.select.selectedIndex );\n this.length -= 1;\n },\n\n /**\n * Initializes the DK Object\n *\n * @method init\n * @private\n * @param {Node} sel [description]\n * @param {Object} opts Options to override defaults\n * @return {Object} The DK Object\n */\n init: function( sel, opts ) {\n var i,\n dk = Dropkick.build( sel, \"dk\" + Dropkick.uid );\n\n // Set some data on the DK Object\n this.data = {};\n this.data.select = sel;\n this.data.elem = dk.elem;\n this.data.settings = _.extend({}, defaults, opts );\n\n // Emulate some of HTMLSelectElement's properties\n\n /**\n * Whether the form is currently disabled or not\n *\n * @property {boolean} disabled\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.disabled;\n * ```\n */\n this.disabled = sel.disabled;\n\n /**\n * The form associated with the select\n *\n * @property {node} form\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.form;\n * ```\n */\n this.form = sel.form;\n\n /**\n * The number of options in the select\n *\n * @property {integer} length\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.length;\n * ```\n */\n this.length = sel.length;\n\n /**\n * If this select is a multi-select\n *\n * @property {boolean} multiple\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.multiple;\n * ```\n */\n this.multiple = sel.multiple;\n\n /**\n * An array of Dropkick options\n *\n * @property {array} options\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.options;\n * ```\n */\n this.options = dk.options.slice( 0 );\n\n /**\n * An index of the first selected option\n *\n * @property {integer} selectedIndex\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.selectedIndex;\n * ```\n */\n this.selectedIndex = sel.selectedIndex;\n\n /**\n * An array of selected Dropkick options\n *\n * @property {array} selectedOptions\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.selectedOptions;\n * ```\n */\n this.selectedOptions = dk.selected.slice( 0 );\n\n /**\n * The current value of the select\n *\n * @property {string} value\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.value;\n * ```\n */\n this.value = sel.value;\n\n // Add the DK Object to the cache\n this.data.cacheID = Dropkick.uid;\n Dropkick.cache[ this.data.cacheID ] = this;\n\n // Call the optional initialize function\n this.data.settings.initialize.call( this );\n\n // Increment the index\n Dropkick.uid += 1;\n\n // Add the change listener to the select\n if ( !this._changeListener ) {\n sel.addEventListener( \"change\", this );\n this._changeListener = true;\n }\n\n // Don't continue if we're not rendering on mobile\n if ( !( isMobile && !this.data.settings.mobile ) ) {\n\n // Insert the DK element before the original select\n sel.parentNode.insertBefore( this.data.elem, sel );\n sel.setAttribute( \"data-dkCacheId\", this.data.cacheID );\n\n // Bind events\n this.data.elem.addEventListener( \"click\", this );\n this.data.elem.addEventListener( \"keydown\", this );\n this.data.elem.addEventListener( \"keypress\", this );\n\n if ( this.form ) {\n this.form.addEventListener( \"reset\", this );\n }\n\n if ( !this.multiple ) {\n for ( i = 0; i < this.options.length; i++ ) {\n this.options[ i ].addEventListener( \"mouseover\", this );\n }\n }\n\n if ( !_docListener ) {\n document.addEventListener( \"click\", Dropkick.onDocClick );\n\n if ( isIframe ){\n parent.document.addEventListener( \"click\", Dropkick.onDocClick );\n }\n\n _docListener = true;\n }\n }\n\n return this;\n },\n\n /**\n * Closes the DK dropdown\n *\n * @method close\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.close(); //closes dk dropdown\n * ```\n */\n close: function() {\n var i,\n dk = this.data.elem;\n\n if ( !this.isOpen || this.multiple ) {\n return false;\n }\n\n for ( i = 0; i < this.options.length; i++ ) {\n _.removeClass( this.options[ i ], \"dk-option-highlight\" );\n }\n\n dk.lastChild.setAttribute( \"aria-expanded\", \"false\" );\n _.removeClass( dk.lastChild, \"dk-select-options-highlight\" );\n _.removeClass( dk, \"dk-select-open-(up|down)\" );\n this.isOpen = false;\n\n this.data.settings.close.call( this );\n },\n\n /**\n * Opens the DK dropdown\n *\n * @method open\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.open(); //Opens the dk dropdown\n * ```\n */\n open: _.deferred(function() {\n var dropHeight, above, below, direction, dkTop, dkBottom,\n dk = this.data.elem,\n dkOptsList = dk.lastChild;\n\n if ( isIE ) {\n dkTop = _.offset( dk ).top - document.documentElement.scrollTop;\n } else {\n dkTop = _.offset( dk ).top - window.scrollY;\n }\n\n dkBottom = window.innerHeight - ( dkTop + dk.offsetHeight );\n\n if ( this.isOpen || this.multiple ) { return false; }\n\n dkOptsList.style.display = \"block\";\n dropHeight = dkOptsList.offsetHeight;\n dkOptsList.style.display = \"\";\n\n above = dkTop > dropHeight;\n below = dkBottom > dropHeight;\n direction = above && !below ? \"-up\" : \"-down\";\n\n this.isOpen = true;\n _.addClass( dk, \"dk-select-open\" + direction );\n dkOptsList.setAttribute( \"aria-expanded\", \"true\" );\n this._scrollTo( this.options.length - 1 );\n this._scrollTo( this.selectedIndex );\n\n this.data.settings.open.call( this );\n }),\n\n /**\n * Disables or enables an option; if only a boolean is passed (or nothing),\n * then the entire Dropkick will be disabled or enabled.\n *\n * @method disable\n * @param {Integer} elem The element or index to disable\n * @param {Boolean} disabled Value of disabled\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * // To disable the entire select\n * select.disable();\n *\n * // To disable just an option with an index\n * select.disable(4, true);\n *\n * // To re-enable the entire select\n * select.disable(false);\n *\n * // To re-enable just an option with an index\n * select.disable(4, false);\n * ```\n */\n disable: function( elem, disabled ) {\n var disabledClass = \"dk-option-disabled\";\n\n if ( arguments.length === 0 || typeof elem === \"boolean\" ) {\n disabled = elem === undefined ? true : false;\n elem = this.data.elem;\n disabledClass = \"dk-select-disabled\";\n this.disabled = disabled;\n }\n\n if ( disabled === undefined ) {\n disabled = true;\n }\n\n if ( typeof elem === \"number\" ) {\n elem = this.item( elem );\n }\n\n _[ disabled ? \"addClass\" : \"removeClass\" ]( elem, disabledClass );\n },\n\n /**\n * Selects an option from the list\n *\n * @method select\n * @param {String} elem The element, index, or value to select\n * @param {Boolean} disabled Selects disabled options\n * @return {Node} The selected element\n * @example\n * ```js\n * var elm = new Dropkick(\"#select\");\n *\n * // Select by index\n * elm.select(4); //selects & returns 5th item in the list\n *\n * // Select by value\n * elm.select(\"AL\"); // selects & returns option with the value \"AL\"\n * ```\n */\n select: function( elem, disabled ) {\n var i, index, option, combobox,\n select = this.data.select;\n\n if ( typeof elem === \"number\" ) {\n elem = this.item( elem );\n }\n\n if ( typeof elem === \"string\" ) {\n for ( i = 0; i < this.length; i++ ) {\n if ( this.options[ i ].getAttribute( \"data-value\" ) === elem ) {\n elem = this.options[ i ];\n }\n }\n }\n\n // No element or enabled option\n if ( !elem || typeof elem === \"string\" ||\n ( !disabled && _.hasClass( elem, \"dk-option-disabled\" ) ) ) {\n return false;\n }\n\n if ( _.hasClass( elem, \"dk-option\" ) ) {\n index = this.options.indexOf( elem );\n option = select.options[ index ];\n\n if ( this.multiple ) {\n _.toggleClass( elem, \"dk-option-selected\" );\n option.selected = !option.selected;\n\n if ( _.hasClass( elem, \"dk-option-selected\" ) ) {\n elem.setAttribute( \"aria-selected\", \"true\" );\n this.selectedOptions.push( elem );\n } else {\n elem.setAttribute( \"aria-selected\", \"false\" );\n index = this.selectedOptions.indexOf( elem );\n this.selectedOptions.splice( index, 1 );\n }\n } else {\n combobox = this.data.elem.firstChild;\n\n if ( this.selectedOptions.length ) {\n _.removeClass( this.selectedOptions[0], \"dk-option-selected\" );\n this.selectedOptions[0].setAttribute( \"aria-selected\", \"false\" );\n }\n\n _.addClass( elem, \"dk-option-selected\" );\n elem.setAttribute( \"aria-selected\", \"true\" );\n\n combobox.setAttribute( \"aria-activedescendant\", elem.id );\n combobox.className = \"dk-selected \" + option.className;\n combobox.innerHTML = option.text;\n\n this.selectedOptions[0] = elem;\n option.selected = true;\n }\n\n this.selectedIndex = select.selectedIndex;\n this.value = select.value;\n\n if ( !disabled ) {\n this.data.select.dispatchEvent( new CustomEvent(\"change\", {bubbles: this.data.settings.bubble}));\n }\n\n return elem;\n }\n },\n\n /**\n * Selects a single option from the list and scrolls to it (if the select is open or on multi-selects).\n * Useful for selecting an option after a search by the user. Important to note: this doesn't close the\n * dropdown when selecting. It keeps the dropdown open and scrolls to proper position.\n *\n * @method selectOne\n * @param {Integer} elem The element or index to select\n * @param {Boolean} disabled Selects disabled options\n * @return {Node} The selected element\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.selectOne(4);\n * ```\n */\n selectOne: function( elem, disabled ) {\n this.reset( true );\n this._scrollTo( elem );\n return this.select( elem, disabled );\n },\n\n /**\n * Finds all options who's text matches a pattern (strict, partial, or fuzzy)\n *\n * `\"strict\"` - The search string matches exactly from the beginning of the\n * option's text value (case insensitive).\n *\n * `\"partial\"` - The search string matches part of the option's text value\n * (case insensitive).\n *\n * `\"fuzzy\"` - The search string matches the characters in the given order (not\n * exclusively). The strongest match is selected first. (case insensitive).\n *\n * @method search\n * @param {String} string The string to search for\n * @param {Integer} mode How to search; \"strict\", \"partial\", or \"fuzzy\"\n * @return {Boolean} An Array of matched elements\n */\n search: function( pattern, mode ) {\n var i, tokens, str, tIndex, sIndex, cScore, tScore, reg,\n options = this.data.select.options,\n matches = [];\n\n if ( !pattern ) { return this.options; }\n\n // Fix Mode\n mode = mode ? mode.toLowerCase() : \"strict\";\n mode = mode === \"fuzzy\" ? 2 : mode === \"partial\" ? 1 : 0;\n\n reg = new RegExp( ( mode ? \"\" : \"^\" ) + pattern, \"i\" );\n\n for ( i = 0; i < options.length; i++ ) {\n str = options[ i ].text.toLowerCase();\n\n // Fuzzy\n if ( mode == 2 ) {\n tokens = pattern.toLowerCase().split(\"\");\n tIndex = sIndex = cScore = tScore = 0;\n\n while ( sIndex < str.length ) {\n if ( str[ sIndex ] === tokens[ tIndex ] ) {\n cScore += 1 + cScore;\n tIndex++;\n } else {\n cScore = 0;\n }\n\n tScore += cScore;\n sIndex++;\n }\n\n if ( tIndex === tokens.length ) {\n matches.push({ e: this.options[ i ], s: tScore, i: i });\n }\n\n // Partial or Strict (Default)\n } else {\n reg.test( str ) && matches.push( this.options[ i ] );\n }\n }\n\n // Sort fuzzy results\n if ( mode === 2 ) {\n matches = matches.sort( function ( a, b ) {\n return ( b.s - a.s ) || a.i - b.i;\n }).reduce( function ( p, o ) {\n p[ p.length ] = o.e;\n return p;\n }, [] );\n }\n\n return matches;\n },\n\n /**\n * Brings focus to the proper DK element\n *\n * @method focus\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * $(\"#some_elm\").on(\"click\", function() {\n * select.focus();\n * });\n * ```\n */\n focus: function() {\n if ( !this.disabled ) {\n ( this.multiple ? this.data.elem : this.data.elem.children[0] ).focus();\n }\n },\n\n /**\n * Resets the Dropkick and select to it's original selected options; if `clear` is `true`,\n * It will select the first option by default (or no options for multi-selects).\n *\n * @method reset\n * @param {Boolean} clear Defaults to first option if True\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * // Reset to originally `selected` option\n * select.reset();\n *\n * // Reset to first option in select\n * select.reset(true);\n * ```\n */\n reset: function( clear ) {\n var i,\n select = this.data.select;\n\n this.selectedOptions.length = 0;\n\n for ( i = 0; i < select.options.length; i++ ) {\n select.options[ i ].selected = false;\n _.removeClass( this.options[ i ], \"dk-option-selected\" );\n this.options[ i ].setAttribute( \"aria-selected\", \"false\" );\n if ( !clear && select.options[ i ].defaultSelected ) {\n this.select( i, true );\n }\n }\n\n if ( !this.selectedOptions.length && !this.multiple ) {\n this.select( 0, true );\n }\n },\n\n /**\n * Rebuilds the DK Object\n * (use if HTMLSelectElement has changed)\n *\n * @method refresh\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * //... [change original select] ...\n *\n * select.refresh();\n * ```\n */\n refresh: function() {\n this.dispose().init( this.data.select, this.data.settings );\n },\n\n /**\n * Removes the DK Object from the cache and the element from the DOM\n *\n * @method dispose\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.dispose();\n * ```\n */\n dispose: function() {\n delete Dropkick.cache[ this.data.cacheID ];\n this.data.elem.parentNode.removeChild( this.data.elem );\n this.data.select.removeAttribute( \"data-dkCacheId\" );\n return this;\n },\n\n // Private Methods\n\n /**\n * @method handleEvent\n * @private\n */\n handleEvent: function( event ) {\n if ( this.disabled ) { return; }\n\n switch ( event.type ) {\n case \"click\":\n this._delegate( event );\n break;\n case \"keydown\":\n this._keyHandler( event );\n break;\n case \"keypress\":\n this._searchOptions( event );\n break;\n case \"mouseover\":\n this._highlight( event );\n break;\n case \"reset\":\n this.reset();\n break;\n case \"change\":\n this.data.settings.change.call( this );\n break;\n }\n },\n\n\n /**\n * @method delegate\n * @private\n */\n _delegate: function( event ) {\n var selection, index, firstIndex, lastIndex,\n target = event.target;\n\n if ( _.hasClass( target, \"dk-option-disabled\" ) ) {\n return false;\n }\n\n if ( !this.multiple ) {\n this[ this.isOpen ? \"close\" : \"open\" ]();\n if ( _.hasClass( target, \"dk-option\" ) ) { this.select( target ); }\n } else {\n if ( _.hasClass( target, \"dk-option\" ) ) {\n selection = window.getSelection();\n if ( selection.type === \"Range\" ) selection.collapseToStart();\n\n if ( event.shiftKey ) {\n firstIndex = this.options.indexOf( this.selectedOptions[0] );\n lastIndex = this.options.indexOf( this.selectedOptions[ this.selectedOptions.length - 1 ] );\n index = this.options.indexOf( target );\n\n if ( index > firstIndex && index < lastIndex ) index = firstIndex;\n if ( index > lastIndex && lastIndex > firstIndex ) lastIndex = firstIndex;\n\n this.reset( true );\n\n if ( lastIndex > index ) {\n while ( index < lastIndex + 1 ) { this.select( index++ ); }\n } else {\n while ( index > lastIndex - 1 ) { this.select( index-- ); }\n }\n } else if ( event.ctrlKey || event.metaKey ) {\n this.select( target );\n } else {\n this.reset( true );\n this.select( target );\n }\n }\n }\n },\n\n /**\n * @method highlight\n * @private\n */\n _highlight: function( event ) {\n var i, option = event.target;\n\n if ( !this.multiple ) {\n for ( i = 0; i < this.options.length; i++ ) {\n _.removeClass( this.options[ i ], \"dk-option-highlight\" );\n }\n\n _.addClass( this.data.elem.lastChild, \"dk-select-options-highlight\" );\n _.addClass( option, \"dk-option-highlight\" );\n }\n },\n\n /**\n * @method keyHandler\n * @private\n */\n _keyHandler: function( event ) {\n var lastSelected, j,\n selected = this.selectedOptions,\n options = this.options,\n i = 1,\n keys = {\n tab: 9,\n enter: 13,\n esc: 27,\n space: 32,\n up: 38,\n down: 40\n };\n\n switch ( event.keyCode ) {\n case keys.up:\n i = -1;\n // deliberate fallthrough\n case keys.down:\n event.preventDefault();\n lastSelected = selected[ selected.length - 1 ];\n\n if ( _.hasClass( this.data.elem.lastChild, \"dk-select-options-highlight\" ) ) {\n _.removeClass( this.data.elem.lastChild, \"dk-select-options-highlight\" );\n for ( j = 0; j < options.length; j++ ) {\n if ( _.hasClass( options[ j ], \"dk-option-highlight\" ) ) {\n _.removeClass( options[ j ], \"dk-option-highlight\" );\n lastSelected = options[ j ];\n }\n }\n }\n\n i = options.indexOf( lastSelected ) + i;\n\n if ( i > options.length - 1 ) {\n i = options.length - 1;\n } else if ( i < 0 ) {\n i = 0;\n }\n\n if ( !this.data.select.options[ i ].disabled ) {\n this.reset( true );\n this.select( i );\n this._scrollTo( i );\n }\n break;\n case keys.space:\n if ( !this.isOpen ) {\n event.preventDefault();\n this.open();\n break;\n }\n // deliberate fallthrough\n case keys.tab:\n case keys.enter:\n for ( i = 0; i < options.length; i++ ) {\n if ( _.hasClass( options[ i ], \"dk-option-highlight\" ) ) {\n this.select( i );\n }\n }\n // deliberate fallthrough\n case keys.esc:\n if ( this.isOpen ) {\n event.preventDefault();\n this.close();\n }\n break;\n }\n },\n\n /**\n * @method searchOptions\n * @private\n */\n _searchOptions: function( event ) {\n var results,\n self = this,\n keyChar = String.fromCharCode( event.keyCode || event.which ),\n\n waitToReset = function() {\n if ( self.data.searchTimeout ) {\n clearTimeout( self.data.searchTimeout );\n }\n\n self.data.searchTimeout = setTimeout(function() {\n self.data.searchString = \"\";\n }, 1000 );\n };\n\n if ( this.data.searchString === undefined ) {\n this.data.searchString = \"\";\n }\n\n waitToReset();\n\n this.data.searchString += keyChar;\n results = this.search( this.data.searchString, this.data.settings.search );\n\n if ( results.length ) {\n if ( !_.hasClass( results[0], \"dk-option-disabled\" ) ) {\n this.selectOne( results[0] );\n }\n }\n },\n\n /**\n * @method scrollTo\n * @private\n */\n _scrollTo: function( option ) {\n var optPos, optTop, optBottom,\n dkOpts = this.data.elem.lastChild;\n\n if ( option === -1 || ( typeof option !== \"number\" && !option ) ||\n ( !this.isOpen && !this.multiple ) ) {\n return false;\n }\n\n if ( typeof option === \"number\" ) {\n option = this.item( option );\n }\n\n optPos = _.position( option, dkOpts ).top;\n optTop = optPos - dkOpts.scrollTop;\n optBottom = optTop + option.offsetHeight;\n\n if ( optBottom > dkOpts.offsetHeight ) {\n optPos += option.offsetHeight;\n dkOpts.scrollTop = optPos - dkOpts.offsetHeight;\n } else if ( optTop < 0 ) {\n dkOpts.scrollTop = optPos;\n }\n }\n};\n\n// Static Methods\n\n/**\n * Builds the Dropkick element from a select element\n *\n * @method build\n * @private\n * @param {Node} sel The HTMLSelectElement\n * @return {Object} An object containing the new DK element and it's options\n */\nDropkick.build = function( sel, idpre ) {\n var selOpt, optList, i,\n options = [],\n\n ret = {\n elem: null,\n options: [],\n selected: []\n },\n\n addOption = function ( node ) {\n var option, optgroup, optgroupList, i,\n children = [];\n\n switch ( node.nodeName ) {\n case \"OPTION\":\n option = _.create( \"li\", {\n \"class\": \"dk-option \",\n \"data-value\": node.value,\n \"innerHTML\": node.text,\n \"role\": \"option\",\n \"aria-selected\": \"false\",\n \"id\": idpre + \"-\" + ( node.id || node.value.replace( \" \", \"-\" ) )\n });\n\n _.addClass( option, node.className );\n\n if ( node.disabled ) {\n _.addClass( option, \"dk-option-disabled\" );\n option.setAttribute( \"aria-disabled\", \"true\" );\n }\n\n if ( node.selected ) {\n _.addClass( option, \"dk-option-selected\" );\n option.setAttribute( \"aria-selected\", \"true\" );\n ret.selected.push( option );\n }\n\n ret.options.push( this.appendChild( option ) );\n break;\n case \"OPTGROUP\":\n optgroup = _.create( \"li\", { \"class\": \"dk-optgroup\" });\n\n if ( node.label ) {\n optgroup.appendChild( _.create( \"div\", {\n \"class\": \"dk-optgroup-label\",\n \"innerHTML\": node.label\n }));\n }\n\n optgroupList = _.create( \"ul\", {\n \"class\": \"dk-optgroup-options\"\n });\n\n for ( i = node.children.length; i--; children.unshift( node.children[ i ] ) );\n children.forEach( addOption, optgroupList );\n\n this.appendChild( optgroup ).appendChild( optgroupList );\n break;\n }\n };\n\n ret.elem = _.create( \"div\", {\n \"class\": \"dk-select\" + ( sel.multiple ? \"-multi\" : \"\" )\n });\n\n optList = _.create( \"ul\", {\n \"class\": \"dk-select-options\",\n \"id\": idpre + \"-listbox\",\n \"role\": \"listbox\"\n });\n\n sel.disabled && _.addClass( ret.elem, \"dk-select-disabled\" );\n ret.elem.id = idpre + ( sel.id ? \"-\" + sel.id : \"\" );\n _.addClass( ret.elem, sel.className );\n\n if ( !sel.multiple ) {\n selOpt = sel.options[ sel.selectedIndex ];\n ret.elem.appendChild( _.create( \"div\", {\n \"class\": \"dk-selected \" + selOpt.className,\n \"tabindex\": sel.tabindex || 0,\n \"innerHTML\": selOpt ? selOpt.text : '&nbsp;',\n \"id\": idpre + \"-combobox\",\n \"aria-live\": \"assertive\",\n \"aria-owns\": optList.id,\n \"role\": \"combobox\"\n }));\n optList.setAttribute( \"aria-expanded\", \"false\" );\n } else {\n ret.elem.setAttribute( \"tabindex\", sel.getAttribute( \"tabindex\" ) || \"0\" );\n optList.setAttribute( \"aria-multiselectable\", \"true\" );\n }\n\n for ( i = sel.children.length; i--; options.unshift( sel.children[ i ] ) );\n options.forEach( addOption, ret.elem.appendChild( optList ) );\n\n return ret;\n};\n\n/**\n * Focus DK Element when corresponding label is clicked; close all other DK's\n *\n * @method onDocClick\n * @private\n * @param {Object} event Event from document click\n */\nDropkick.onDocClick = function( event ) {\n var tId, i;\n\n if (event.target.nodeType !== 1) {\n return false;\n }\n\n if ( ( tId = event.target.getAttribute( \"data-dkcacheid\" ) ) !== null ) {\n Dropkick.cache[ tId ].focus();\n }\n\n for ( i in Dropkick.cache ) {\n if ( !_.closest( event.target, Dropkick.cache[ i ].data.elem ) && i !== tId ) {\n Dropkick.cache[ i ].disabled || Dropkick.cache[ i ].close();\n }\n }\n};\n\n\n// Add jQuery method\nif ( jQuery !== undefined ) {\n jQuery.fn.dropkick = function () {\n var args = Array.prototype.slice.call( arguments );\n return jQuery( this ).each(function() {\n if ( !args[0] || typeof args[0] === 'object' ) {\n new Dropkick( this, args[0] || {} );\n } else if ( typeof args[0] === 'string' ) {\n Dropkick.prototype[ args[0] ].apply( new Dropkick( this ), args.slice( 1 ) );\n }\n });\n };\n}\n\nreturn Dropkick;\n\n}));\n","module.exports = require(\"github:Robdel12/DropKick@2.1.7/lib/dropkick.js\");","'use strict';\n\nimport {Component, EventEmitter, ElementRef} from 'angular2/core';\nimport {CORE_DIRECTIVES} from 'angular2/common';\nimport DropKick from 'Robdel12/DropKick';\nimport 'Robdel12/DropKick/build/css/dropkick.css!css';\n\n@Component({\n selector: 'dropdown',\n events: ['change'],\n template: `\n <select (change)=onChange($event.target.value)>\n <ng-content></ng-content>\n </select>\n `,\n directives: [CORE_DIRECTIVES],\n styles: [`\n :host .dk-select{max-width:100%;font-family:Montserrat,sans-serif;font-size:.929em;min-width:100px;width:auto}:host .dk-selected:after{display:none}:host .dk-selected{color:#263238;border-color:rgba(38,50,56,0.5);padding:0.15em 0.6em 0.2em 0.5em;border-radius:2px}:host .dk-select-open-down .dk-selected,:host .dk-selected:focus,:host .dk-selected:hover{border-color:#0033a0;color:#0033a0}:host .dk-selected:before{border-top-color:#263238;border-width:.35em .35em 0}:host .dk-select-open-down .dk-selected:before,:host .dk-select-open-up .dk-selected:before{border-bottom-color:#0033a0}:host .dk-select-multi:focus .dk-select-options,:host .dk-select-open-down .dk-select-options,:host .dk-select-open-up .dk-select-options{border-color:rgba(38,50,56,0.2)}:host .dk-select-options .dk-option-highlight{background:#ffffff}:host .dk-select-options{margin-top:0.2em;padding:0;border-radius:2px;box-shadow:0px 2px 4px 0px rgba(34,36,38,0.12),0px 2px 10px 0px rgba(34,36,38,0.08) !important}:host .dk-option{color:#263238;padding:0.16em 0.6em 0.2em 0.5em}:host .dk-option:hover{background-color:rgba(38,50,56,0.12)}:host .dk-option:focus{background-color:rgba(38,50,56,0.12)}:host .dk-option-selected{background-color:rgba(0,0,0,0.05) !important}\n `]\n})\n@Reflect.metadata('parameters', [[ElementRef]])\nexport class DropDown {\n constructor(elem) {\n this.change = new EventEmitter();\n this.elem = elem.nativeElement;\n }\n\n ngAfterContentInit() {\n this.inst = new DropKick(this.elem.firstElementChild, {autoWidth: true});\n }\n\n onChange(value) {\n this.change.next(value);\n }\n\n destroy() {\n this.inst.dispose();\n }\n}\n","/* */ \nvar IObject = require('./$.iobject'),\n defined = require('./$.defined');\nmodule.exports = function(it) {\n return IObject(defined(it));\n};\n","/* */ \nvar $export = require('./$.export'),\n core = require('./$.core'),\n fails = require('./$.fails');\nmodule.exports = function(KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY],\n exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function() {\n fn(1);\n }), 'Object', exp);\n};\n","/* */ \nvar toIObject = require('./$.to-iobject');\nrequire('./$.object-sap')('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor) {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","/* */ \nvar $ = require('../../modules/$');\nrequire('../../modules/es6.object.get-own-property-descriptor');\nmodule.exports = function getOwnPropertyDescriptor(it, key) {\n return $.getDesc(it, key);\n};\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/get-own-property-descriptor\"), __esModule: true };","/* */ \n\"use strict\";\nvar _Object$getOwnPropertyDescriptor = require('../core-js/object/get-own-property-descriptor')[\"default\"];\nexports[\"default\"] = function get(_x, _x2, _x3) {\n var _again = true;\n _function: while (_again) {\n var object = _x,\n property = _x2,\n receiver = _x3;\n _again = false;\n if (object === null)\n object = Function.prototype;\n var desc = _Object$getOwnPropertyDescriptor(object, property);\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n if (parent === null) {\n return undefined;\n } else {\n _x = parent;\n _x2 = property;\n _x3 = receiver;\n _again = true;\n desc = parent = undefined;\n continue _function;\n }\n } else if (\"value\" in desc) {\n return desc.value;\n } else {\n var getter = desc.get;\n if (getter === undefined) {\n return undefined;\n }\n return getter.call(receiver);\n }\n }\n};\nexports.__esModule = true;\n","/* */ \nvar $ = require('../../modules/$');\nmodule.exports = function create(P, D) {\n return $.create(P, D);\n};\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/create\"), __esModule: true };","/* */ \nmodule.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};","/* */ \nvar isObject = require('./$.is-object');\nmodule.exports = function(it) {\n if (!isObject(it))\n throw TypeError(it + ' is not an object!');\n return it;\n};\n","/* */ \nvar getDesc = require('./$').getDesc,\n isObject = require('./$.is-object'),\n anObject = require('./$.an-object');\nvar check = function(O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null)\n throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? function(test, buggy, set) {\n try {\n set = require('./$.ctx')(Function.call, getDesc(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) {\n buggy = true;\n }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy)\n O.__proto__ = proto;\n else\n set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","/* */ \nvar $export = require('./$.export');\n$export($export.S, 'Object', {setPrototypeOf: require('./$.set-proto').set});\n","/* */ \nrequire('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/$.core').Object.setPrototypeOf;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/set-prototype-of\"), __esModule: true };","/* */ \n\"use strict\";\nvar _Object$create = require('../core-js/object/create')[\"default\"];\nvar _Object$setPrototypeOf = require('../core-js/object/set-prototype-of')[\"default\"];\nexports[\"default\"] = function(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = _Object$create(superClass && superClass.prototype, {constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }});\n if (superClass)\n _Object$setPrototypeOf ? _Object$setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\nexports.__esModule = true;\n","/* */ \nvar $ = require('../../modules/$');\nmodule.exports = function defineProperty(it, key, desc) {\n return $.setDesc(it, key, desc);\n};\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };","/* */ \n\"use strict\";\nvar _Object$defineProperty = require('../core-js/object/define-property')[\"default\"];\nexports[\"default\"] = (function() {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor)\n descriptor.writable = true;\n _Object$defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function(Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n})();\nexports.__esModule = true;\n","/* */ \n\"use strict\";\n\nexports[\"default\"] = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nexports.__esModule = true;","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef","/* */ \nmodule.exports = function(it){\n if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n return it;\n};","/* */ \nvar aFunction = require('./$.a-function');\nmodule.exports = function(fn, that, length) {\n aFunction(fn);\n if (that === undefined)\n return fn;\n switch (length) {\n case 1:\n return function(a) {\n return fn.call(that, a);\n };\n case 2:\n return function(a, b) {\n return fn.call(that, a, b);\n };\n case 3:\n return function(a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function() {\n return fn.apply(that, arguments);\n };\n};\n","/* */ \nvar global = require('./$.global'),\n core = require('./$.core'),\n ctx = require('./$.ctx'),\n PROTOTYPE = 'prototype';\nvar $export = function(type, name, source) {\n var IS_FORCED = type & $export.F,\n IS_GLOBAL = type & $export.G,\n IS_STATIC = type & $export.S,\n IS_PROTO = type & $export.P,\n IS_BIND = type & $export.B,\n IS_WRAP = type & $export.W,\n exports = IS_GLOBAL ? core : core[name] || (core[name] = {}),\n target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE],\n key,\n own,\n out;\n if (IS_GLOBAL)\n source = name;\n for (key in source) {\n own = !IS_FORCED && target && key in target;\n if (own && key in exports)\n continue;\n out = own ? target[key] : source[key];\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] : IS_BIND && own ? ctx(out, global) : IS_WRAP && target[key] == out ? (function(C) {\n var F = function(param) {\n return this instanceof C ? new C(param) : C(param);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n if (IS_PROTO)\n (exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;\n }\n};\n$export.F = 1;\n$export.G = 2;\n$export.S = 4;\n$export.P = 8;\n$export.B = 16;\n$export.W = 32;\nmodule.exports = $export;\n","/* */ \nvar $Object = Object;\nmodule.exports = {\n create: $Object.create,\n getProto: $Object.getPrototypeOf,\n isEnum: {}.propertyIsEnumerable,\n getDesc: $Object.getOwnPropertyDescriptor,\n setDesc: $Object.defineProperty,\n setDescs: $Object.defineProperties,\n getKeys: $Object.keys,\n getNames: $Object.getOwnPropertyNames,\n getSymbols: $Object.getOwnPropertySymbols,\n each: [].forEach\n};","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n return it;\n};","/* */ \nvar defined = require('./$.defined');\nmodule.exports = function(it) {\n return Object(defined(it));\n};\n","/* */ \nvar toString = {}.toString;\n\nmodule.exports = function(it){\n return toString.call(it).slice(8, -1);\n};","/* */ \nvar cof = require('./$.cof');\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","/* */ \nmodule.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};","/* */ \nvar $ = require('./$'),\n toObject = require('./$.to-object'),\n IObject = require('./$.iobject');\nmodule.exports = require('./$.fails')(function() {\n var a = Object.assign,\n A = {},\n B = {},\n S = Symbol(),\n K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function(k) {\n B[k] = k;\n });\n return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;\n}) ? function assign(target, source) {\n var T = toObject(target),\n $$ = arguments,\n $$len = $$.length,\n index = 1,\n getKeys = $.getKeys,\n getSymbols = $.getSymbols,\n isEnum = $.isEnum;\n while ($$len > index) {\n var S = IObject($$[index++]),\n keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S),\n length = keys.length,\n j = 0,\n key;\n while (length > j)\n if (isEnum.call(S, key = keys[j++]))\n T[key] = S[key];\n }\n return T;\n} : Object.assign;\n","/* */ \nvar $export = require('./$.export');\n$export($export.S + $export.F, 'Object', {assign: require('./$.object-assign')});\n","/* */ \nvar core = module.exports = {version: '1.2.6'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef","/* */ \nrequire('../../modules/es6.object.assign');\nmodule.exports = require('../../modules/$.core').Object.assign;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/assign\"), __esModule: true };","/* */ \n\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toString = Object.prototype.toString;\n\nmodule.exports = function forEach (obj, fn, ctx) {\n if (toString.call(fn) !== '[object Function]') {\n throw new TypeError('iterator must be a function');\n }\n var l = obj.length;\n if (l === +l) {\n for (var i = 0; i < l; i++) {\n fn.call(ctx, obj[i], i, obj);\n }\n } else {\n for (var k in obj) {\n if (hasOwn.call(obj, k)) {\n fn.call(ctx, obj[k], k, obj);\n }\n }\n }\n};\n\n","module.exports = require(\"npm:foreach@2.0.5/index.js\");","/* */ \n'use strict';\n\nvar each = require('foreach');\nmodule.exports = api;\n\n\n/**\n * Convenience wrapper around the api.\n * Calls `.get` when called with an `object` and a `pointer`.\n * Calls `.set` when also called with `value`.\n * If only supplied `object`, returns a partially applied function, mapped to the object.\n *\n * @param obj\n * @param pointer\n * @param value\n * @returns {*}\n */\n\nfunction api (obj, pointer, value) {\n // .set()\n if (arguments.length === 3) {\n return api.set(obj, pointer, value);\n }\n // .get()\n if (arguments.length === 2) {\n return api.get(obj, pointer);\n }\n // Return a partially applied function on `obj`.\n var wrapped = api.bind(api, obj);\n\n // Support for oo style\n for (var name in api) {\n if (api.hasOwnProperty(name)) {\n wrapped[name] = api[name].bind(wrapped, obj);\n }\n }\n return wrapped;\n}\n\n\n/**\n * Lookup a json pointer in an object\n *\n * @param obj\n * @param pointer\n * @returns {*}\n */\napi.get = function get (obj, pointer) {\n var tok,\n refTokens = api.parse(pointer);\n while (refTokens.length) {\n tok = refTokens.shift();\n if (!(tok in obj)) {\n throw new Error('Invalid reference token: ' + tok);\n }\n obj = obj[tok];\n }\n return obj;\n};\n\n/**\n * Sets a value on an object\n *\n * @param obj\n * @param pointer\n * @param value\n */\napi.set = function set (obj, pointer, value) {\n var refTokens = api.parse(pointer),\n tok,\n nextTok = refTokens[0];\n while (refTokens.length > 1) {\n tok = refTokens.shift();\n if (tok === '-' && Array.isArray(obj)) {\n tok = obj.length;\n }\n nextTok = refTokens[0];\n\n if (!(tok in obj)) {\n if (nextTok.match(/^(\\d+|-)$/)) {\n obj[tok] = [];\n } else {\n obj[tok] = {};\n }\n }\n obj = obj[tok];\n }\n if (nextTok === '-' && Array.isArray(obj)) {\n nextTok = obj.length;\n }\n obj[nextTok] = value;\n return this;\n};\n\n/**\n * Removes an attribute\n *\n * @param obj\n * @param pointer\n */\napi.remove = function (obj, pointer) {\n var refTokens = api.parse(pointer);\n var finalToken = refTokens.pop();\n if (finalToken === undefined) {\n throw new Error('Invalid JSON pointer for remove: \"' + pointer + '\"');\n }\n delete api.get(obj, api.compile(refTokens))[finalToken];\n};\n\n/**\n * Returns a (pointer -> value) dictionary for an object\n *\n * @param obj\n * @param {function} descend\n * @returns {}\n */\napi.dict = function dict (obj, descend) {\n var results = {};\n api.walk(obj, function (value, pointer) {\n results[pointer] = value;\n }, descend);\n return results;\n};\n\n/**\n * Iterates over an object\n * Iterator: function (value, pointer) {}\n *\n * @param obj\n * @param {function} iterator\n * @param {function} descend\n */\napi.walk = function walk (obj, iterator, descend) {\n var refTokens = [];\n\n descend = descend || function (value) {\n var type = Object.prototype.toString.call(value);\n return type === '[object Object]' || type === '[object Array]';\n };\n\n (function next (cur) {\n each(cur, function (value, key) {\n refTokens.push(String(key));\n if (descend(value)) {\n next(value);\n } else {\n iterator(value, api.compile(refTokens));\n }\n refTokens.pop();\n });\n }(obj));\n};\n\n/**\n * Tests if an object has a value for a json pointer\n *\n * @param obj\n * @param pointer\n * @returns {boolean}\n */\napi.has = function has (obj, pointer) {\n try {\n api.get(obj, pointer);\n } catch (e) {\n return false;\n }\n return true;\n};\n\n/**\n * Escapes a reference token\n *\n * @param str\n * @returns {string}\n */\napi.escape = function escape (str) {\n return str.toString().replace(/~/g, '~0').replace(/\\//g, '~1');\n};\n\n/**\n * Unescapes a reference token\n *\n * @param str\n * @returns {string}\n */\napi.unescape = function unescape (str) {\n return str.replace(/~1/g, '/').replace(/~0/g, '~');\n};\n\n/**\n * Converts a json pointer into a array of reference tokens\n *\n * @param pointer\n * @returns {Array}\n */\napi.parse = function parse (pointer) {\n if (pointer === '') { return []; }\n if (pointer.charAt(0) !== '/') { throw new Error('Invalid JSON pointer: ' + pointer); }\n return pointer.substring(1).split(/\\//).map(api.unescape);\n};\n\n/**\n * Builds a json pointer from a array of reference tokens\n *\n * @param refTokens\n * @returns {string}\n */\napi.compile = function compile (refTokens) {\n if (refTokens.length === 0) { return ''; }\n return '/' + refTokens.map(api.escape).join('/');\n};\n","module.exports = require(\"npm:json-pointer@0.3.0/index\");","'use strict';\nimport JsonPointerLib from 'json-pointer';\n\n/**\n * Wrapper for JsonPointer. Provides common operations\n */\nexport class JsonPointer extends JsonPointerLib {\n /**\n * returns last JsonPointer token\n * if level > 1 returns levels last (second last/third last)\n * @example\n * // returns subpath\n * JsonPointerHelper.baseName('/path/0/subpath')\n * // returns foo\n * JsonPointerHelper.baseName('/path/foo/subpath', 2)\n */\n static baseName(pointer, level=1) {\n let tokens = JsonPointer.parse(pointer);\n return tokens[tokens.length - (level)];\n }\n\n /**\n * returns dirname of pointer\n * if level > 1 returns corresponding dirname in the hierarchy\n * @example\n * // returns /path/0\n * JsonPointerHelper.dirName('/path/0/subpath')\n * // returns /path\n * JsonPointerHelper.dirName('/path/foo/subpath', 2)\n */\n static dirName(pointer, level=1) {\n let tokens = JsonPointer.parse(pointer);\n return JsonPointer.compile(tokens.slice(0, tokens.length - level));\n }\n\n /**\n * overridden JsonPointer original parse to take care of prefixing '#' symbol\n * that is not valid JsonPointer\n */\n static parse(pointer) {\n let ptr = pointer;\n if (ptr.charAt(0) === '#') {\n ptr = ptr.substring(1);\n }\n return JsonPointerLib._origParse(ptr);\n }\n\n /**\n * Creates a JSON pointer path, by joining one or more tokens to a base path.\n *\n * @param {string} base - The base path\n * @param {string|string[]} tokens - The token(s) to append (e.g. [\"name\", \"first\"])\n * @returns {string}\n */\n static join(base, tokens) {\n // TODO: optimize\n let baseTokens = JsonPointer.parse(base);\n let resTokens = baseTokens.concat(tokens);\n return JsonPointer.compile(resTokens);\n }\n}\n\nJsonPointerLib._origParse = JsonPointerLib.parse;\nJsonPointerLib.parse = JsonPointer.parse;\n\n\nObject.assign(JsonPointer, JsonPointerLib);\nexport default JsonPointer;\n","'use strict';\n\nimport {ElementRef} from 'angular2/core';\n\nimport {RedocComponent, BaseComponent, SchemaManager} from '../base';\nimport {DropDown} from '../../common/components/DropDown/dropdown';\nimport JsonPointer from '../../utils/JsonPointer';\n\n@RedocComponent({\n selector: 'json-schema',\n template: `\n <span *ngIf=\"schema.isTrivial\" class=\"param-wrap\">\n <span class=\"param-type param-type-trivial {{schema.type}}\"\n [ngClass]=\"{'with-hint': schema._displayTypeHint}\"\n title=\"{{schema._displayTypeHint}}\">{{schema._displayType}} {{schema._displayFormat}}\n <span class=\"param-range\" *ngIf=\"schema._range\"> {{schema._range}} </span>\n </span>\n <div *ngIf=\"schema.enum\" class=\"param-enum\">\n <span *ngFor=\"let enumItem of schema.enum\" class=\"enum-value {{enumItem.type}}\"> {{enumItem.val | json}} </span>\n </div>\n </span>\n <table *ngIf=\"!schema.isTrivial\" class=\"params-wrap\" [ngClass]=\"{'params-array': schema._isArray}\">\n <!-- <caption> {{_displayType}} </caption> -->\n <template ngFor [ngForOf]=\"schema.properties\" let-prop=\"$implicit\" let-last=\"last\">\n <tr class=\"param\" [ngClass]=\"{'last': last,\n 'discriminator': prop.isDiscriminator && !derivedEmtpy,\n 'complex': prop._pointer,\n 'additional': prop._additional\n }\">\n <td class=\"param-name\">\n <span class=\"param-name-content\">{{prop._name}}</span>\n </td>\n <td class=\"param-info\">\n <div>\n <span class=\"param-type {{prop.type}}\" [ngClass]=\"{'with-hint': prop._displayTypeHint}\"\n title=\"{{prop._displayTypeHint}}\"> {{prop._displayType}} {{prop._displayFormat}}\n <span class=\"param-range\" *ngIf=\"prop._range\"> {{prop._range}} </span>\n </span>\n <span *ngIf=\"prop.required\" class=\"param-required\">Required</span>\n <div *ngIf=\"prop.enum && !prop.isDiscriminator\" class=\"param-enum\">\n <span *ngFor=\"let enumItem of prop.enum\" class=\"enum-value {{enumItem.type}}\"> {{enumItem.val | json}} </span>\n </div>\n </div>\n <div class=\"param-description\" innerHtml=\"{{prop.description | marked}}\"></div>\n <div class=\"discriminator-info\" *ngIf=\"prop.isDiscriminator\">\n <span>This field value determines the exact schema:</span>\n <dropdown (change)=\"selectDerived($event)\">\n <option *ngFor=\"let derived of schema.derived; let i=index\"\n [value]=\"i\">{{derived.name}}</option>\n </dropdown>\n </div>\n </td>\n </tr>\n <tr class=\"param-schema\" [ngClass]=\"{'param-array': prop._isArray, 'last': last}\" *ngIf=\"prop._pointer\">\n <td colspan=\"2\">\n <json-schema class=\"nested-schema\" pointer=\"{{prop._pointer}}\" [isArray]='prop._isArray'\n [nestOdd]=\"!nestOdd\" [skipReadOnly]=\"skipReadOnly\" [attr.nesteven]=\"!nestOdd\">\n </json-schema>\n </td>\n </tr>\n </template>\n <tr *ngIf=\"schema.derived.length\" class=\"param-wrap discriminator-wrap\" [ngClass]=\"{'empty': derivedEmtpy}\">\n <td colspan=\"2\">\n <div class=\"derived-schema\" *ngFor=\"let derived of schema.derived\" [ngClass]=\"{active: derived.active}\">\n <json-schema class=\"discriminator-part\" *ngIf=\"!derived.empty\" [childFor]=\"pointer\"\n pointer=\"{{derived.$ref}}\" [final]=\"derived.final\" [skipReadOnly]=\"skipReadOnly\">\n </json-schema>\n </div>\n </td>\n </tr>\n </table>\n `,\n styles: [`\n .param-name{font-size:0.929em;padding:10px 0 10px 0;font-weight:400;box-sizing:border-box;line-height:20px;border-left:1px solid rgba(0,51,160,0.5);white-space:nowrap;position:relative;vertical-align:top}.param-name-content{padding-right:25px;display:inline-block;font-family:Montserrat,sans-serif}.param-info{padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc;width:75%}.param-range{color:rgba(0,51,160,0.7);position:relative;top:1px;padding:0 4px;border-radius:2px;background-color:rgba(0,51,160,0.1);margin-left:6px}.param-description{font-size:13px}.param-required{color:red;font-weight:bold;font-size:12px;line-height:20px;vertical-align:middle}.param-type{color:rgba(38,50,56,0.4);font-size:0.929em;line-height:20px;vertical-align:middle;font-weight:normal}.param-type.array:before{content:\"Array of \";color:#263238;font-weight:300}.param-type.with-hint{display:inline-block;margin-bottom:0.4em;border-bottom:1px dotted rgba(38,50,56,0.4);padding:0;cursor:help}.param-type-trivial{margin:10px 10px 0;display:inline-block}.param-name>span:before{content:\"\";display:inline-block;width:1px;height:7px;background-color:#0033a0;margin:0 10px;vertical-align:middle}.param-name>span:after{content:\"\";position:absolute;border-top:1px solid rgba(0,51,160,0.5);width:10px;left:0;top:21px}.param:first-of-type>.param-name:before{content:\"\";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:21px}.param:last-of-type>.param-name,.param.last>.param-name{position:relative}.param:last-of-type>.param-name:after,.param.last>.param-name:after{content:\"\";display:block;position:absolute;left:-2px;border-left:2px solid #fff;top:22px;background-color:white;bottom:0}.param-wrap:last-of-type>.param-schema{border-left-color:transparent}.param-schema .param-wrap:first-of-type .param-name:before{display:none !important}.param-schema.last>td{border-left:0}.param-enum{color:#263238;font-size:13px}.param-enum:before{content:\"Values: {\"}.param-enum:after{content:\"}\"}.param-enum>.enum-value:after{content:\", \"}.param-enum>.enum-value:last-of-type:after{content:none}:host{display:block}.param-schema>td{border-left:1px solid rgba(0,51,160,0.5);padding:0 10px}.derived-schema{display:none}.derived-schema.active{display:block}json-schema.nested-schema{background-color:white;padding:10px 20px;position:relative;border-radius:2px}json-schema.nested-schema:before,json-schema.nested-schema:after{content:\"\";width:0;height:0;position:absolute;top:0;border-style:solid;border-color:transparent;border-width:10px 15px 0;margin-left:-7.5px;border-top-color:#f0f0f0}json-schema.nested-schema:before{left:10%}json-schema.nested-schema:after{right:10%}json-schema.nested-schema .param:first-of-type>.param-name:before,json-schema.nested-schema .param:last-of-type>.param-name:after{border-color:white}json-schema[nesteven=\"true\"]{background-color:#f0f0f0;border-radius:2px}json-schema[nesteven=\"true\"]:before,json-schema[nesteven=\"true\"]:after{border-top-color:white}json-schema[nesteven=\"true\"]>.params-wrap>.param:first-of-type>.param-name:before,json-schema[nesteven=\"true\"]>.params-wrap>.param:last-of-type>.param-name:after{border-color:#f0f0f0}json-schema[nesteven=\"true\"]>.params-wrap>.param:last-of-type>.param-name:after,json-schema[nesteven=\"true\"]>.params-wrap>.param.last>.param-name:after{border-color:#f0f0f0}.param.complex>.param-info{border-bottom:0}.param.additional>.param-name{color:rgba(38,50,56,0.4)}.params-wrap{border-collapse:collapse;width:100%}.params-wrap.params-array:before,.params-wrap.params-array:after{display:block;font-weight:300;color:#263238;font-size:13px;line-height:1.5}.params-wrap.params-array:after{content:\"]\"}.params-wrap.params-array:before{content:\"Array [\";padding-top:1em}.params-wrap.params-array{padding-left:10px}.param-schema.param-array:before{bottom:9.75px;width:10px;border-left-style:dashed;border-bottom:1px dashed rgba(0,51,160,0.5)}.params-wrap.params-array>.param-wrap:first-of-type>.param>.param-name:after{content:\"\";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:20px}.params-wrap>.param>.param-schema.param-array{border-left-color:transparent}.param.discriminator>.param-info{padding-bottom:0;border-bottom:0}.param.discriminator>.param-name:after{display:none}.discriminator-info{font-weight:400;margin-bottom:10px}.discriminator-info>span{font-size:0.9em;font-weight:300}.discriminator-wrap:not(.empty)>td{padding:0;position:relative}.discriminator-wrap:not(.empty)>td:before{content:\"\";display:block;position:absolute;left:0;top:0;border-left:1px solid rgba(0,51,160,0.5);height:21px;z-index:1}ul{text-align:left;margin:0;padding:0;display:block}li{margin:0.5em 0.3em 0.2em 0;font-family:Montserrat,sans-serif;font-size:.929em;line-height:.929em;border:0;color:white;padding:2px 8px 4px 8px;border-radius:2px;background-color:rgba(38,50,56,0.3);display:inline-block;cursor:pointer}li:last-of-type{margin-right:0}li.active{background-color:#0033a0}\n `],\n directives: [JsonSchema, DropDown],\n inputs: ['isArray', 'final', 'nestOdd', 'childFor', 'skipReadOnly']\n})\n@Reflect.metadata('parameters', [[SchemaManager], [ElementRef]])\nexport default class JsonSchema extends BaseComponent {\n constructor(schemaMgr, elementRef) {\n super(schemaMgr);\n this.$element = elementRef.nativeElement;\n this.final = false;\n }\n\n selectDerived(subClassIdx) {\n let subClass = this.schema.derived[subClassIdx];\n if (!subClass || subClass.active) return;\n this.schema.derived.forEach((subSchema) => {\n subSchema.active = false;\n });\n subClass.active = true;\n this.derivedEmtpy = false;\n if (subClass.empty) this.derivedEmtpy = true;\n }\n\n unwrapArray(schema) {\n var res = schema;\n if (schema && schema.type === 'array') {\n let ptr = schema.items._pointer\n || JsonPointer.join(schema._pointer || this.pointer, ['items']);\n res = schema.items;\n res._isArray = true;\n res._pointer = ptr;\n res = this.unwrapArray(res);\n }\n return res;\n }\n\n prepareModel() {\n if (!this.componentSchema) {\n throw new Error(`Can't load component schema at ${this.pointer}`);\n }\n this.dereference();\n\n let schema = this.componentSchema;\n BaseComponent.joinAllOf(schema, {omitParent: true});\n schema = this.unwrapArray(schema);\n runInjectors(schema, schema, schema._pointer || this.pointer);\n\n schema.derived = schema.derived || [];\n\n if (!schema.isTrivial) {\n this.prepareObjectPropertiesData(schema);\n }\n\n this.schema = schema;\n this.initDerived();\n }\n\n initDerived() {\n if (!this.schema.derived.length) return;\n let enumArr = this.schema.properties[this.schema.properties.length - 1].enum;\n if (enumArr) {\n let enumOrder = {};\n enumArr.forEach((enumItem, idx) => {\n enumOrder[enumItem.val] = idx;\n });\n\n this.schema.derived.sort((a, b) => {\n return enumOrder[a.name] > enumOrder[b.name];\n });\n }\n this.selectDerived(0);\n }\n\n prepareObjectPropertiesData(schema) {\n let requiredMap = {};\n if (schema.required) {\n schema.required.forEach(prop => requiredMap[prop] = true);\n }\n\n let discriminatorFieldIdx = -1;\n let props = schema.properties && Object.keys(schema.properties).map((prop, idx) => {\n let propertySchema = schema.properties[prop];\n let propPointer = propertySchema._pointer ||\n JsonPointer.join(schema._pointer || this.pointer, ['properties', prop]);\n propertySchema = JsonSchema.injectPropertyData(propertySchema, prop, propPointer);\n // stop endless discriminator recursion\n if (propertySchema._pointer === this.childFor) {\n propertySchema._pointer = null;\n }\n propertySchema.required = !!requiredMap[prop];\n propertySchema.isDiscriminator = (schema.discriminator === prop);\n if (propertySchema.isDiscriminator) {\n discriminatorFieldIdx = idx;\n }\n return propertySchema;\n });\n\n props = props || [];\n\n if (schema.additionalProperties && schema.additionalProperties !== false) {\n let propsSchema = this.prepareAdditionalProperties(schema.additionalProperties);\n propsSchema._additional = true;\n props.push(propsSchema);\n }\n\n // Move discriminator field to the end of properties list\n if (discriminatorFieldIdx > -1) {\n let discrProp = props.splice(discriminatorFieldIdx, 1);\n props.push(discrProp[0]);\n }\n if (this.skipReadOnly) {\n props = props.filter(prop => !prop.readOnly);\n }\n schema.properties = props;\n }\n\n prepareAdditionalProperties(schema) {\n return JsonSchema.injectPropertyData(schema, '<Additional Properties> *',\n JsonPointer.join(schema._pointer || this.pointer, ['additionalProperties']));\n }\n\n static injectPropertyData(propertySchema, propertyName, propPointer) {\n propertySchema = Object.assign({}, propertySchema);\n\n propertySchema._name = propertyName;\n runInjectors(propertySchema, propertySchema, propPointer);\n\n return propertySchema;\n }\n}\n\nfunction runInjectors(injectTo, propertySchema, propertyPointer) {\n for (var injName in injectors) {\n let injector = injectors[injName];\n if (injector.check(propertySchema)) {\n injector.inject(injectTo, propertySchema, propertyPointer);\n }\n }\n}\n\nconst injectors = {\n general: {\n check: () => true,\n inject: (injectTo, propertySchema, pointer) => {\n injectTo._pointer = propertySchema._pointer || pointer;\n injectTo._displayType = propertySchema.type;\n if (propertySchema.format) injectTo._displayFormat = `<${propertySchema.format}>`;\n if (propertySchema.enum) {\n injectTo.enum = propertySchema.enum.map((value) => {\n return {val: value, type: typeof value};\n });\n }\n }\n },\n discriminator: {\n check: (propertySchema) => propertySchema.discriminator,\n inject: (injectTo, propertySchema = injectTo, pointer) => {\n injectTo.derived = SchemaManager.instance().findDerivedDefinitions(pointer);\n injectTo.discriminator = propertySchema.discriminator;\n }\n },\n array: {\n check: (propertySchema) => {\n return propertySchema.type === 'array';\n },\n inject: (injectTo, propertySchema = injectTo, propPointer) => {\n injectTo._isArray = true;\n injectTo._pointer = propertySchema.items._pointer\n || JsonPointer.join(propertySchema._pointer || propPointer, ['items']);\n\n runInjectors(injectTo, propertySchema.items, propPointer);\n }\n },\n\n object: {\n check: (propertySchema) => {\n return propertySchema.type === 'object' && propertySchema.properties;\n },\n inject: (injectTo, propertySchema = injectTo) => {\n let baseName = propertySchema._pointer && JsonPointer.baseName(propertySchema._pointer);\n injectTo._displayType = propertySchema.title || baseName || 'object';\n }\n },\n noType: {\n check: (propertySchema) => !propertySchema.type,\n inject: (injectTo) => {\n injectTo._displayType = '< * >';\n injectTo._displayTypeHint = 'This field may contain data of any type';\n injectTo.isTrivial = true;\n }\n },\n\n simpleType: {\n check: (propertySchema) => {\n if (propertySchema.type === 'object') {\n return (!propertySchema.properties || !Object.keys(propertySchema.properties).length)\n && (typeof propertySchema.additionalProperties !== 'object');\n }\n return (propertySchema.type !== 'array') && propertySchema.type;\n },\n inject: (injectTo, propertySchema = injectTo) => {\n injectTo.isTrivial = true;\n if (injectTo._pointer) {\n injectTo._pointer = undefined;\n injectTo._displayType = propertySchema.title ?\n `${propertySchema.title} (${propertySchema.type})` : propertySchema.type;\n }\n }\n },\n integer: {\n check: (propertySchema) => (propertySchema.type === 'integer' || propertySchema.type === 'number'),\n inject: (injectTo, propertySchema = injectTo) => {\n var range = '';\n if (propertySchema.minimum && propertySchema.maximum) {\n range += propertySchema.exclusiveMinimum ? '( ' : '[ ';\n range += propertySchema.minimum;\n range += ' .. ';\n range += propertySchema.maximum;\n range += propertySchema.exclusiveMaximum ? ' )' : ' ]';\n } else if (propertySchema.maximum) {\n range += propertySchema.exclusiveMaximum? '< ' : '<= ';\n range += propertySchema.maximum;\n } else if (propertySchema.minimum) {\n range += propertySchema.exclusiveMinimum ? '> ' : '>= ';\n range += propertySchema.minimum;\n }\n\n if (range) {\n injectTo._range = range;\n }\n }\n },\n string: {\n check: propertySchema => (propertySchema.type === 'string'),\n inject: (injectTo, propertySchema = injectTo) => {\n var range;\n if (propertySchema.minLength && propertySchema.maxLength) {\n range = `[ ${propertySchema.minLength} .. ${propertySchema.maxLength} ]`;\n } else if (propertySchema.maxLength) {\n range = '<= ' + propertySchema.maxLength;\n } else if (propertySchema.minimum) {\n range = '>= ' + propertySchema.minLength;\n }\n\n if (range) {\n injectTo._range = range + ' characters';\n }\n }\n }\n};\n","'use strict';\n\nimport ApiInfo from './ApiInfo/api-info';\nimport ApiLogo from './ApiLogo/api-logo';\nimport Method from './Method/method.js';\nimport MethodsList from './MethodsList/methods-list';\nimport ParamsList from './ParamsList/params-list';\nimport Redoc from './Redoc/redoc';\nimport ResponsesList from './ResponsesList/responses-list';\nimport ResponsesSamples from './ResponsesSamples/responses-samples';\nimport SchemaSample from './SchemaSample/schema-sample';\nimport SideMenu from './SideMenu/side-menu';\nimport JsonSchema from './JsonSchema/json-schema';\n\nconst REDOC_COMPONENTS = [\n ApiInfo,\n ApiLogo,\n JsonSchema,\n Method,\n MethodsList,\n ParamsList,\n Redoc,\n ResponsesList,\n ResponsesSamples,\n SchemaSample,\n SideMenu\n];\n\nexport {\n ApiInfo,\n ApiLogo,\n JsonSchema,\n Method,\n MethodsList,\n ParamsList,\n Redoc,\n ResponsesList,\n ResponsesSamples,\n SchemaSample,\n SideMenu,\n REDOC_COMPONENTS\n};\n","'use strict';\n\nimport {Redoc} from './components/index';\nexport var init = Redoc.init;\n\nwindow.Redoc = Redoc;\nRedoc.autoInit();\n"],"sourceRoot":"/source/"}