From 4f2394aee76ee4213e8ba39e8a18acf9da1e66df Mon Sep 17 00:00:00 2001 From: Travis CI User Date: Tue, 13 Aug 2019 06:55:46 +0000 Subject: [PATCH] Auto-generated commit -- fix: Corrects Runtime compiler error Replaces Angular compiler with Handlerbars. Angular currently prevents the use of its compiler in AOT mode. See angular issue #20156. Closes #11 Triggered by commit: https://github.com/jscharett/ngx-json-schema-form/commit/d14beb111a703c6682b6587b25fdd0eb650f1a05 Travis CI build: https://travis-ci.org/jscharett/ngx-json-schema-form/builds/571181595 --- 3rdpartylicenses.txt | 135 ++++++++------ 404.html | 2 +- .../introduction.html | 6 +- documentation/dependencies.html | 2 + .../injectables/JsonSchemaFormService.html | 166 ++++++------------ documentation/js/search/search_index.js | 4 +- index.html | 2 +- main.1128242c9c05209c5717.js | 1 - main.bb45674cd43058ac6797.js | 1 + 9 files changed, 145 insertions(+), 174 deletions(-) delete mode 100644 main.1128242c9c05209c5717.js create mode 100644 main.bb45674cd43058ac6797.js diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index 6529a37..acce0fb 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -1,29 +1,54 @@ ngx-json-schema-form -lodash-decorators +lodash MIT -The MIT License (MIT) +Copyright OpenJS Foundation and other contributors -Copyright (c) 2015 Steven Sojka +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The following license applies to all parts of this software except as +documented below: -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +==== +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. webpack @@ -136,55 +161,53 @@ If the Work includes a "NOTICE" text file as part of its distribution, then any END OF TERMS AND CONDITIONS -lodash +handlebars MIT -Copyright OpenJS Foundation and other contributors +Copyright (C) 2011-2017 by Yehuda Katz -Based on Underscore.js, copyright Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash - -The following license applies to all parts of this software except as -documented below: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -==== +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +lodash-decorators +MIT +The MIT License (MIT) -==== +Copyright (c) 2015 Steven Sojka -Copyright and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -CC0: http://creativecommons.org/publicdomain/zero/1.0/ +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -==== +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. json-schema-traverse diff --git a/404.html b/404.html index 409f716..c50d6f4 100644 --- a/404.html +++ b/404.html @@ -11,5 +11,5 @@ - + diff --git a/documentation/additional-documentation/introduction.html b/documentation/additional-documentation/introduction.html index 116c130..85dcb65 100644 --- a/documentation/additional-documentation/introduction.html +++ b/documentation/additional-documentation/introduction.html @@ -195,7 +195,7 @@

Options

}]

Button

-

There are 4 types of buttons that jsf supports, button, image, reset and submit. By default, these will all use the <input> tag for display. However, with the exception of image, you can specify custom html via the content option. This will result in the <button> being used for display and the content being inserted. Content can contain simple angular bindings so that you can bind to various properties of the layout. For example:

+

There are 4 types of buttons that jsf supports, button, image, reset and submit. By default, these will all use the <input> tag for display. However, with the exception of image, you can specify custom html via the content option. This will result in the <button> being used for display and the content being inserted. Content can contain simple bindings so that you can bind to various properties of the layout. For example:

button-layout.json
@@ -221,6 +221,10 @@

Button

</button>

Here you can see we are specifying that the button should contain an image via the content options. The template binds to the properties of the icon option which results in an image tag being rendered. The icon option is also used when redering a simple button of type image.

+
+Note: due to current limitation of Angular AOT compilation, use of the angular compile to transpile content strings into HTML DOM is not possible. Recent Angular changes have restricted the inclusion of the compiler in favor of reducing the file size and load time when in AOT mode. Therefore, Handlebars is currently being imported to handle the compilation of content string to HTML DOM. +
+

We can also respond to events such as a click. To do this, we must first bind an event handler to the jsf component

form.component.html
diff --git a/documentation/dependencies.html b/documentation/dependencies.html index 3345a16..2a14eb9 100644 --- a/documentation/dependencies.html +++ b/documentation/dependencies.html @@ -84,6 +84,8 @@ brace : ^0.11.0
  • core-js : ^2.5.4
  • +
  • + handlebars : ^4.1.2
  • json-schema-traverse : ^0.4.1
  • diff --git a/documentation/injectables/JsonSchemaFormService.html b/documentation/injectables/JsonSchemaFormService.html index 3bc17ce..7617d1b 100644 --- a/documentation/injectables/JsonSchemaFormService.html +++ b/documentation/injectables/JsonSchemaFormService.html @@ -104,78 +104,6 @@
    Methods
    -
    -

    Constructor

    - - - - - - - - - - - - - -
    -constructor(compiler: Compiler, injector: Injector, moduleRef: NgModuleRef) -
    - -
    -
    - Parameters : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeOptional
    compiler - Compiler - - No -
    injector - Injector - - No -
    moduleRef - NgModuleRef<any> - - No -
    -
    -
    -
    @@ -204,8 +132,8 @@

    - + @@ -307,15 +235,15 @@

    - + -

    Sets a widgets properties upon Widget creation

    +

    Creates a component with passed in template and associated context

    @@ -396,8 +324,8 @@

    - + @@ -464,11 +392,13 @@

    -
    import { CommonModule } from '@angular/common';
    -import {
    -    Compiler, Component, ComponentRef, Injectable, Injector,
    -    ModuleWithComponentFactories, NgModule, NgModuleRef
    -} from '@angular/core';
    +        
    import { Injectable } from '@angular/core';
    +// import {
    +//     Compiler, Component, ComponentRef, Injectable, Injector,
    +//     ModuleWithComponentFactories, NgModule, NgModuleRef
    +// } from '@angular/core';
    +
    +import Handlebars from 'handlebars/dist/cjs/handlebars';
     
     import { Widget } from './widget-library';
     
    @@ -479,32 +409,32 @@ 

    private x = false; /** Creates a component with passed in template and associated context */ - private static createComponent(template: string, context: {[key: string]: any}): any { - return Component({ - selector: `runtime-component-sample`, - template - })(class RuntimeComponent { - options: any = context; - }); - } + // private static createComponent(template: string, context: {[key: string]: any}): any { + // return Component({ + // selector: `runtime-component-sample`, + // template + // })(class RuntimeComponent { + // options: any = context; + // }); + // } /** Create a module for use with the RuntimeComponent */ - private static createModule(component: any, compiler: Compiler): ModuleWithComponentFactories<any> { - @NgModule({ imports: [CommonModule], declarations: [component] }) - class RuntimeComponentModule { } + // private static createModule(component: any, compiler: Compiler): ModuleWithComponentFactories<any> { + // @NgModule({ imports: [CommonModule], declarations: [component] }) + // class RuntimeComponentModule { } - return compiler.compileModuleAndAllComponentsSync(RuntimeComponentModule); - } + // return compiler.compileModuleAndAllComponentsSync(RuntimeComponentModule); + // } /** Get a components innerHTML as a document Fragment */ - private static getDocumentFragment(componentRef: ComponentRef<any>): DocumentFragment { - const template = document.createElement('template'); - template.innerHTML = (<HTMLElement>componentRef.location.nativeElement).innerHTML; + // private static getDocumentFragment(componentRef: ComponentRef<any>): DocumentFragment { + // const template = document.createElement('template'); + // template.innerHTML = (<HTMLElement>componentRef.location.nativeElement).innerHTML; - return template.content; - } + // return template.content; + // } - constructor(private readonly compiler: Compiler, private readonly injector: Injector, private readonly moduleRef: NgModuleRef<any>) {} + // constructor(private readonly compiler: Compiler,private readonly injector: Injector, private readonly moduleRef: NgModuleRef<any>) {} /** Sets a widgets properties upon Widget creation */ initializeControl(control: Widget, bind = true): void { @@ -524,17 +454,29 @@

    * @param context - options to use when rendering the template */ compileTemplate(template: string, context: {[key: string]: any} = {}): DocumentFragment { - const component: any = JsonSchemaFormService.createComponent(template, context); - const module = JsonSchemaFormService.createModule(component, this.compiler); - const factory = module.componentFactories.find((f) => f.componentType === component); - const componentRef: ComponentRef<any> = factory.create(this.injector, undefined, undefined, this.moduleRef); + const templateTag = document.createElement('template'); + templateTag.innerHTML = Handlebars.compile(template)({options: context}); - componentRef.hostView.detectChanges(); - const fragment = JsonSchemaFormService.getDocumentFragment(componentRef); - componentRef.destroy(); - - return fragment; + return templateTag.content; } + + // /** + // * Compiles an HTML tempalte and data into a document fragment + // * @param template - HTML template to render + // * @param context - options to use when rendering the template + // */ + // compileTemplate(template: string, context: {[key: string]: any} = {}): DocumentFragment { + // const component: any = JsonSchemaFormService.createComponent(template, context); + // const module = JsonSchemaFormService.createModule(component, this.compiler); + // const factory = module.componentFactories.find((f) => f.componentType === component); + // const componentRef: ComponentRef<any> = factory.create(this.injector, undefined, undefined, this.moduleRef); + + // componentRef.hostView.detectChanges(); + // const fragment = JsonSchemaFormService.getDocumentFragment(componentRef); + // componentRef.destroy(); + + // return fragment; + // } }

    diff --git a/documentation/js/search/search_index.js b/documentation/js/search/search_index.js index 4b79d6a..5ebee84 100644 --- a/documentation/js/search/search_index.js +++ b/documentation/js/search/search_index.js @@ -1,4 +1,4 @@ var COMPODOC_SEARCH_INDEX = { - "index": {"version":"2.3.6","fields":["title","body"],"fieldVectors":[["title/components/ButtonComponent.html",[0,0.766,1,1.053]],["body/components/ButtonComponent.html",[0,1.138,1,1.688,2,1.684,3,0.333,4,0.387,5,1.217,6,1.717,7,1.217,8,1.717,9,0.387,10,0.39,11,0.17,12,0.17,13,1.684,14,2.792,15,0.888,16,3.172,17,2.956,18,2.717,19,1.331,20,1.52,21,2.829,22,2.588,23,2.717,24,2.717,25,4.432,26,2.104,27,3.864,28,0.529,29,1.105,30,2.376,31,2.376,32,2.376,33,2.725,34,1.737,35,0.992,36,2.104,37,1.878,38,2.376,39,2.376,40,1.737,41,0.985,42,2.717,43,1.688,44,2.325,45,1.875,46,1.142,47,2.792,48,0.992,49,0.041,50,1.028,51,0.658,52,0.791,53,1.688,54,3.874,55,1.963,56,0.707,57,1.963,58,1.564,59,1.963,60,1.094,61,1.717,62,1.717,63,1.52,64,1.963,65,1.717,66,1.267,67,1.717,68,0.798,69,0.798,70,1.094,71,0.985,72,1.963,73,1.717,74,1.717,75,0.506,76,1.963,77,1.963,78,1.717,79,1.963,80,0.985,81,1.963,82,0.664,83,0.445,84,1.564,85,1.357,86,1.52,87,0.282,88,0.282,89,1.963,90,1.357,91,2.792,92,1.963,93,2.792,94,1.217,95,1.364,96,1.717,97,2.941,98,1.717,99,1.717,100,0.985,101,1.717,102,1.217,103,1.717,104,1.094,105,1.717,106,1.717,107,1.717,108,0.019,109,0.026,110,0.019]],["title/interfaces/Data.html",[56,0.476,111,1.3]],["body/interfaces/Data.html",[3,0.383,4,0.445,7,1.399,9,0.445,10,0.324,11,0.114,12,0.114,28,0.383,29,1.214,44,1.56,45,1.865,49,0.042,51,0.568,56,0.937,60,1.258,63,1.803,69,0.918,71,1.499,75,0.77,80,1.499,82,0.661,83,0.512,84,1.68,85,1.56,87,0.48,88,0.324,108,0.022,109,0.029,110,0.022,111,1.399,112,1.973,113,2.256,114,2.256,115,0.976,116,3.907,117,3.486,118,1.748,119,1.56,120,2.256,121,2.256,122,2.611,123,2.635,124,3.486,125,1.851,126,1.513,127,2.256,128,2.635,129,2.635,130,2.985,131,2.635,132,1.973,133,1.748,134,1.973,135,3.486,136,1.748,137,0.737,138,1.973,139,2.635,140,2.635,141,1.399,142,2.635,143,2.635,144,2.635,145,2.635,146,2.256,147,2.635,148,2.635,149,3.346,150,2.635,151,2.611,152,1.788,153,2.635,154,2.635,155,3.907,156,2.635,157,3.907,158,2.635,159,2.635,160,2.256,161,2.635,162,2.635,163,2.635,164,2.635,165,2.635]],["title/injectables/DataEventPluginService.html",[115,0.685,134,1.834]],["body/injectables/DataEventPluginService.html",[3,0.322,4,0.375,7,1.647,9,0.375,10,0.501,11,0.176,12,0.176,15,0.621,28,0.322,29,1.08,35,0.97,41,0.954,44,1.836,45,2.016,46,0.966,48,1.118,49,0.042,50,0.892,51,0.614,52,0.892,56,0.908,60,1.481,63,1.858,68,1.08,69,0.773,71,1.334,75,0.933,80,1.665,82,0.605,83,0.431,84,1.815,85,1.313,87,0.439,88,0.273,108,0.018,109,0.026,110,0.018,111,1.178,113,3.489,114,1.9,115,0.868,116,3.872,117,3.576,118,1.472,119,1.313,120,1.9,121,1.9,122,2.323,123,2.219,124,3.872,125,2.056,126,1.499,127,2.656,128,3.102,129,3.102,130,3.489,131,3.102,132,1.662,133,1.472,134,2.323,135,4.075,136,1.472,137,0.621,138,2.323,139,3.102,140,3.102,141,1.647,142,2.219,143,2.219,144,2.219,145,3.102,146,2.656,147,3.102,148,3.102,149,3.489,150,3.872,151,3.052,152,1.665,153,2.219,154,2.219,155,3.576,156,2.219,157,3.576,158,2.219,159,2.219,160,1.9,161,2.219,162,2.219,163,2.219,164,2.219,165,2.219,166,1.178,167,3.778,168,3.102,169,2.703,170,3.778,171,2.703,172,2.703]],["title/injectables/ElementDataStorageService.html",[45,1.169,115,0.685]],["body/injectables/ElementDataStorageService.html",[3,0.292,4,0.339,7,1.965,9,0.339,10,0.482,11,0.189,12,0.169,15,0.562,28,0.292,35,0.903,45,1.767,46,0.923,48,1.158,49,0.042,50,0.923,51,0.538,52,0.923,56,0.928,60,1.379,66,1.423,68,1.289,75,1.007,82,0.339,83,0.39,84,2.046,87,0.247,88,0.247,95,1.591,108,0.017,109,0.024,110,0.017,115,0.808,126,1.582,132,1.503,133,1.331,137,0.562,138,2.163,141,1.965,149,3.902,151,2.163,152,1.242,166,1.065,173,4.778,174,2.444,175,4.085,176,3.153,177,2.473,178,2.888,179,2.163,180,2.163,181,3.518,182,3.518,183,3.518,184,3.518,185,3.518,186,3.518,187,2.473,188,2.888,189,1.71,190,3.518,191,2.888,192,3.518,193,2.473,194,2.888,195,3.518,196,2.888,197,4.509,198,3.518,199,3.518,200,3.518,201,2.473,202,4.509,203,2.535,204,3.518,205,1.71,206,3.518,207,3.023,208,2.444,209,4.976,210,4.976,211,4.976,212,3.518,213,2.444,214,3.518,215,3.518,216,2.444,217,3.518,218,2.444,219,2.473,220,0.863,221,2.444,222,1.71,223,3.518,224,3.518,225,2.444,226,2.444,227,2.444,228,4.122,229,2.444,230,1.503,231,2.444,232,4.509,233,2.444,234,2.444,235,1.718,236,2.444]],["title/components/HiddenComponent.html",[0,0.766,100,1.053]],["body/components/HiddenComponent.html",[0,1.143,1,0.994,2,1.695,3,0.336,4,0.391,5,1.228,6,1.732,7,1.228,8,1.732,9,0.391,10,0.392,11,0.17,12,0.17,13,1.695,15,0.893,16,3.192,17,2.837,18,2.734,19,1.333,20,1.534,21,2.837,22,2.595,24,2.734,26,2.117,28,0.531,29,1.112,30,2.391,31,2.391,32,2.391,33,2.738,34,1.745,35,0.998,36,2.117,37,1.89,38,2.391,39,2.391,40,1.745,41,0.994,42,2.734,43,1.695,44,2.334,45,1.882,46,1.144,48,0.998,49,0.041,50,1.031,51,0.659,52,0.796,53,1.695,54,3.882,55,1.98,56,0.71,57,1.98,58,1.572,59,1.98,60,1.104,61,1.732,62,1.732,63,1.526,64,1.98,65,1.732,66,1.273,67,1.732,68,0.806,69,0.806,70,1.104,71,0.994,72,1.98,73,1.732,74,1.732,75,0.511,76,1.98,77,1.98,78,1.732,79,1.98,80,0.994,81,1.98,82,0.666,83,0.449,84,1.572,85,1.369,86,1.534,87,0.284,88,0.284,89,1.98,94,1.228,95,1.372,96,1.732,97,2.953,98,1.732,99,1.732,100,1.695,101,1.732,102,1.228,103,1.732,104,1.104,105,1.732,106,1.732,107,1.732,108,0.019,109,0.026,110,0.019,237,2.817,238,3.889,239,2.734,240,4.453,241,3.889,242,2.817]],["title/components/JsonSchemaFormComponent.html",[0,0.766,102,1.3]],["body/components/JsonSchemaFormComponent.html",[0,0.779,1,0.526,2,1.05,3,0.178,4,0.207,5,0.65,6,0.917,7,0.65,8,0.917,9,0.207,10,0.49,11,0.205,12,0.209,15,0.697,19,0.343,20,0.812,21,2.227,22,2.091,26,1.312,28,0.362,35,0.619,37,1.171,41,0.851,43,1.229,46,0.973,48,0.619,49,0.042,50,0.713,51,0.534,52,0.493,53,0.851,56,0.714,58,1.581,68,0.689,69,1.169,71,0.851,75,0.632,82,0.622,83,0.238,84,0.851,86,0.812,87,0.15,88,0.15,90,0.725,94,0.65,95,1.229,96,0.917,97,2.141,98,0.917,99,0.917,100,0.526,101,0.917,102,1.518,103,0.917,104,0.585,105,0.917,106,0.917,107,0.917,108,0.01,109,0.016,110,0.01,125,1.666,126,0.474,133,1.312,137,0.8,177,1.048,178,1.224,220,1.581,222,0.725,243,3.416,244,1.224,245,2.141,246,2.772,247,0.945,248,2.41,249,2.41,250,3.095,251,2.448,252,2.41,253,2.41,254,2.41,255,1.979,256,3.483,257,2.41,258,1.482,259,1.979,260,2.41,261,1.048,262,2.41,263,1.979,264,2.448,265,2.41,266,1.979,267,2.41,268,1.224,269,2.41,270,1.979,271,1.979,272,1.694,273,2.132,274,3.033,275,2.132,276,2.41,277,2.41,278,1.482,279,2.519,280,1.952,281,1.979,282,3.483,283,2.41,284,2.687,285,3.138,286,3.138,287,3.138,288,3.138,289,1.224,290,1.491,291,4.752,292,1.491,293,3.901,294,3.901,295,3.901,296,3.34,297,3.901,298,4.752,299,1.491,300,2.41,301,2.41,302,2.41,303,2.41,304,2.41,305,1.491,306,1.491,307,2.41,308,1.694,309,2.41,310,1.979,311,1.491,312,1.865,313,1.491,314,1.979,315,2.41,316,2.41,317,2.41,318,2.41,319,1.491,320,1.491,321,2.41,322,2.41,323,1.491,324,1.491,325,2.587,326,1.979,327,2.49,328,1.224,329,1.224,330,1.491,331,0.812,332,1.048,333,1.491,334,1.048,335,1.224,336,1.979,337,0.917,338,1.491,339,1.491,340,1.491,341,1.491,342,1.224,343,1.491,344,1.224,345,1.491,346,1.491,347,0.65,348,1.224,349,1.491,350,1.491,351,1.491,352,1.491,353,1.491,354,1.491,355,0.812,356,1.048,357,1.491,358,1.224,359,1.491,360,1.224,361,3.033,362,1.491,363,1.491,364,3.033,365,1.491,366,1.491,367,1.491,368,2.41,369,3.033,370,1.491,371,1.491,372,1.491,373,1.491,374,1.491,375,1.491,376,1.491,377,1.491,378,1.491,379,1.491,380,1.491,381,1.491,382,1.491,383,1.491,384,1.491,385,1.491,386,1.491,387,3.138,388,1.491,389,1.491,390,1.491,391,1.491,392,1.224,393,1.491,394,1.491,395,1.048,396,2.41,397,1.224,398,1.491,399,3.033,400,1.491,401,1.491,402,1.491,403,1.491,404,1.491,405,1.491,406,1.491,407,1.491,408,1.491,409,0.812,410,1.491,411,1.491,412,1.491,413,1.491,414,1.491,415,1.491]],["title/modules/JsonSchemaFormModule.html",[247,1.169,416,1.625]],["body/modules/JsonSchemaFormModule.html",[3,0.414,4,0.482,9,0.482,10,0.35,11,0.158,12,0.175,19,0.798,43,1.745,49,0.042,56,0.553,63,1.104,82,0.768,83,0.553,87,0.35,88,0.35,94,1.513,102,2.618,108,0.024,109,0.03,110,0.024,118,1.891,119,1.687,134,2.749,243,2.441,247,1.361,278,2.749,279,2.693,280,2.155,342,2.85,347,1.513,409,1.891,416,3.162,417,1.891,418,1.891,419,2.693,420,2.135,421,3.476,422,2.85,423,2.85,424,2.85,425,2.85,426,2.85,427,3.202,428,3.143,429,1.891,430,3.472,431,2.749,432,3.143,433,2.135,434,2.749,435,4.471,436,2.441,437,3.472,438,3.472,439,3.472,440,3.472,441,3.472]],["title/injectables/JsonSchemaFormService.html",[43,1.053,115,0.685]],["body/injectables/JsonSchemaFormService.html",[0,1.313,2,1.057,3,0.289,4,0.337,5,2.325,9,0.486,10,0.48,11,0.169,12,0.192,15,0.804,17,1.321,19,1.175,21,1.321,28,0.289,29,1,34,1.608,35,0.898,36,1.905,41,0.856,43,1.235,46,0.92,48,1.153,49,0.042,50,0.92,51,0.592,52,0.92,56,0.558,66,1.362,68,1.174,69,1.285,70,1.371,71,0.856,75,0.9,80,0.856,82,0.57,83,0.387,87,0.245,88,0.414,90,2.315,95,1.586,108,0.017,109,0.024,110,0.017,115,0.804,126,1.428,136,1.321,137,0.943,152,1.752,166,1.057,187,1.705,189,1.994,207,1.905,220,1.752,230,2.151,243,3.349,247,1.371,250,1.491,293,2.872,392,2.872,409,1.905,419,1.321,431,1.491,432,2.459,433,1.491,434,2.151,442,2.425,443,3.499,444,3.499,445,2.425,446,5.237,447,5.116,448,4.104,449,4.493,450,2.425,451,3.499,452,5.237,453,2.459,454,2.425,455,3.499,456,3.499,457,4.104,458,4.763,459,2.872,460,3.499,461,4.104,462,3.499,463,3.369,464,2.425,465,2.151,466,3.499,467,3.499,468,2.425,469,2.425,470,3.688,471,3.499,472,2.425,473,2.425,474,1.491,475,2.425,476,2.425,477,1.705,478,1.705,479,3.369,480,2.425,481,2.425,482,2.425,483,3.499,484,1.991,485,2.425,486,2.425,487,2.425,488,2.425,489,2.425,490,2.425,491,2.425,492,2.425,493,2.425,494,2.425,495,2.425,496,2.425,497,2.425,498,2.425,499,3.499,500,1.7,501,2.425,502,2.425,503,2.425,504,2.425,505,2.425,506,2.425,507,2.425,508,2.425,509,2.425,510,2.425,511,2.425]],["title/interfaces/LayoutItem.html",[111,1.3,331,1.625]],["body/interfaces/LayoutItem.html",[3,0.404,4,0.47,9,0.47,10,0.444,11,0.183,12,0.183,19,1.189,28,0.404,29,1.259,34,2.223,46,0.694,49,0.041,50,1.125,51,0.699,52,1.184,56,0.825,66,1.259,75,1.063,87,0.342,108,0.023,109,0.03,110,0.023,111,1.477,112,2.084,125,2.395,138,2.707,176,2.707,201,3.095,205,2.139,207,2.818,331,2.397,355,2.397,453,3.095,465,2.707,512,3.095,513,3.39,514,2.783,515,4.013,516,3.39,517,3.614,518,3.638,519,3.614,520,4.402,521,3.095,522,4.402,523,3.614,524,4.402,525,4.402,526,3.614,527,3.614,528,3.614,529,4.402]],["title/classes/LayoutNode.html",[40,1.169,88,0.301]],["body/classes/LayoutNode.html",[3,0.23,4,0.268,9,0.268,10,0.517,11,0.192,12,0.203,15,0.823,19,1.048,28,0.23,29,0.844,34,1.788,35,0.758,40,2.007,41,0.681,46,1.048,48,0.758,49,0.042,50,1.002,51,0.621,52,0.604,53,1.042,56,0.781,58,1.61,66,0.552,68,1.358,70,0.756,75,1.005,82,0.633,87,0.195,88,0.195,90,0.938,95,1.042,108,0.013,109,0.02,110,0.013,125,1.75,126,1.556,137,1.091,152,1.265,175,2.423,188,2.423,193,1.356,203,1.815,207,1.607,220,1.265,222,1.434,230,1.186,258,1.815,280,2.134,308,2.075,312,2.805,329,1.584,331,3.163,332,1.356,334,1.356,336,3.552,358,2.423,474,1.186,477,2.075,479,3.296,484,2.423,500,1.434,512,3.6,517,2.942,518,3.442,519,2.423,527,2.423,530,1.929,531,2.951,532,2.951,533,2.423,534,2.951,535,2.423,536,4.014,537,2.951,538,2.951,539,2.423,540,2.951,541,2.951,542,2.951,543,2.951,544,2.423,545,2.423,546,2.951,547,3.296,548,2.942,549,2.075,550,3.584,551,3.584,552,3.745,553,2.951,554,2.951,555,1.929,556,2.951,557,2.951,558,2.951,559,2.951,560,1.929,561,2.423,562,2.951,563,2.951,564,2.075,565,2.423,566,2.951,567,1.929,568,1.929,569,2.423,570,2.951,571,1.929,572,1.929,573,1.929,574,1.929,575,2.951,576,1.929,577,1.929,578,1.929,579,1.929,580,2.951,581,1.929,582,1.929,583,2.519,584,1.929,585,1.929,586,1.929,587,1.929,588,1.929,589,1.929,590,4.748,591,1.356,592,1.929,593,1.929,594,1.929,595,2.951,596,1.584,597,1.929,598,2.423,599,1.929,600,1.929,601,1.929,602,1.929,603,1.929,604,1.929,605,1.929,606,1.929,607,1.929,608,1.929,609,1.929,610,2.423,611,1.929,612,1.929,613,1.929,614,1.929,615,1.929,616,1.929,617,1.929,618,1.584,619,1.929,620,1.929,621,1.929,622,1.929,623,1.929,624,1.356,625,1.929,626,1.929,627,1.929,628,1.929,629,1.929,630,1.929,631,1.929,632,1.929,633,1.929]],["title/interfaces/LayoutOptions.html",[111,1.3,583,2.097]],["body/interfaces/LayoutOptions.html",[3,0.346,4,0.402,9,0.402,10,0.4,11,0.141,12,0.141,28,0.346,29,1.134,46,0.594,49,0.042,51,0.677,52,1.207,75,1.061,87,0.292,95,1.4,108,0.02,109,0.027,110,0.02,111,1.264,112,1.783,137,1.117,141,2.422,180,2.439,294,2.381,296,4.169,297,4.869,325,1.579,387,4.696,453,2.789,512,2.789,514,2.381,515,3.257,583,2.789,624,3.417,634,2.9,635,3.991,636,3.991,637,3.991,638,3.991,639,4.179,640,3.991,641,3.991,642,2.9,643,3.967,644,3.967,645,3.967,646,3.967,647,3.967,648,3.967,649,4.179,650,3.967,651,3.967,652,3.967,653,2.9,654,2.9,655,2.381,656,2.9,657,2.381,658,2.9,659,2.381,660,2.9,661,2.381]],["title/injectables/LayoutService.html",[115,0.685,279,1.625]],["body/injectables/LayoutService.html",[3,0.348,4,0.404,9,0.404,10,0.491,11,0.181,12,0.181,15,0.914,28,0.348,35,1.022,40,1.776,41,1.028,46,0.928,48,1.164,49,0.042,50,0.928,51,0.475,52,0.928,53,2.034,58,1.936,60,1.142,66,1.296,68,1.138,69,1.138,75,0.528,82,0.73,83,0.464,84,1.028,87,0.294,88,0.294,108,0.02,109,0.027,110,0.02,115,0.914,126,1.441,136,1.587,137,0.669,152,1.8,166,1.27,176,1.792,179,2.447,205,1.934,220,1.405,222,1.416,235,2.048,246,1.416,258,1.792,279,2.167,280,2.294,289,2.392,331,2.652,332,2.048,334,2.048,500,1.416,547,3.721,549,2.798,596,2.392,649,2.392,662,2.914,663,2.798,664,3.98,665,3.98,666,3.98,667,2.914,668,3.98,669,2.914,670,2.914,671,2.914,672,3.267,673,3.98,674,3.98,675,3.98,676,2.914,677,2.392,678,2.914,679,3.98,680,2.914,681,2.914,682,2.914,683,2.914,684,2.914,685,4.532,686,3.98,687,3.98,688,2.914,689,4.532,690,2.914,691,2.914,692,2.914,693,2.914,694,2.914,695,2.914,696,2.914,697,2.914,698,2.914,699,2.914,700,2.914,701,2.914,702,2.914,703,2.914,704,2.914,705,2.914]],["title/injectables/SchemaService.html",[115,0.685,280,1.3]],["body/injectables/SchemaService.html",[3,0.33,4,0.383,9,0.383,10,0.505,11,0.207,12,0.211,15,1.013,28,0.33,35,0.985,46,0.975,48,0.985,49,0.042,50,0.785,51,0.33,52,0.785,53,0.975,56,0.888,66,1.26,68,1.26,69,0.79,82,0.661,83,0.44,87,0.279,88,0.279,90,1.343,108,0.019,109,0.026,110,0.019,115,0.881,125,1.672,126,1.401,137,0.635,141,1.672,151,1.699,152,1.354,166,1.204,176,3.184,179,2.359,194,3.15,201,1.942,203,2.359,205,2.142,220,1.681,222,1.864,261,3.348,263,2.268,264,2.697,280,1.672,312,2.928,314,3.15,335,3.15,348,3.15,355,1.504,409,2.089,500,1.864,549,2.697,565,3.15,598,2.268,610,3.909,663,2.697,677,2.268,706,2.763,707,3.837,708,4.408,709,3.837,710,2.763,711,2.697,712,3.837,713,2.763,714,2.763,715,2.763,716,2.763,717,3.837,718,2.763,719,2.763,720,3.15,721,3.837,722,4.762,723,3.837,724,3.837,725,3.837,726,2.763,727,2.763,728,2.763,729,2.763,730,2.763,731,3.837,732,2.763,733,2.763,734,2.763,735,3.837,736,3.837,737,2.763,738,2.763,739,2.763,740,2.763,741,2.763,742,2.763,743,2.763,744,2.763,745,2.763,746,2.763,747,2.763,748,2.763,749,2.763]],["title/components/SelectWidgetComponent.html",[0,0.766,104,1.169]],["body/components/SelectWidgetComponent.html",[0,1.181,1,0.786,2,1.432,3,0.266,4,0.309,5,0.97,6,1.369,7,0.97,8,1.369,9,0.309,10,0.394,11,0.163,12,0.163,13,1.702,15,0.755,17,2.622,18,2.31,19,1.34,20,1.212,21,2.622,22,2.537,24,2.31,26,1.789,28,0.466,29,0.94,30,2.021,31,2.021,32,2.021,33,2.402,34,1.531,35,0.844,36,1.789,37,1.597,38,2.402,39,2.402,40,1.803,41,0.786,43,1.522,44,2.096,45,1.691,46,1.102,48,0.844,49,0.042,50,0.942,51,0.633,52,0.673,53,1.624,54,3.67,55,1.565,56,0.623,57,1.565,58,1.624,59,1.565,60,1.531,61,1.369,62,1.369,63,1.371,64,1.565,65,1.369,66,1.117,67,2.021,68,0.637,69,1.117,70,0.872,71,0.786,72,1.565,73,1.369,74,1.369,75,0.404,76,1.565,77,1.565,78,1.369,79,1.565,80,0.786,81,1.565,82,0.639,83,0.355,84,1.379,85,1.082,86,1.212,87,0.224,88,0.224,89,1.565,90,1.082,94,0.97,95,1.16,96,1.369,97,2.652,98,1.369,99,1.369,100,0.786,101,1.369,102,0.97,103,1.369,104,1.691,105,3.144,106,1.369,107,1.369,108,0.015,109,0.022,110,0.015,126,0.707,136,1.212,137,0.755,152,0.786,180,2.021,220,1.624,230,2.021,246,1.082,272,2.31,273,2.746,275,2.746,325,2.127,395,1.565,470,2.698,477,2.31,478,2.31,591,1.565,711,2.31,750,3.906,751,3.906,752,2.226,753,3.286,754,2.31,755,3.286,756,2.698,757,3.906,758,3.286,759,3.906,760,2.226,761,4.314,762,3.502,763,3.286,764,3.286,765,4.601,766,3.286,767,2.698,768,3.286,769,3.286,770,1.827,771,2.226,772,2.226,773,3.286,774,2.226,775,2.226,776,2.226,777,3.906,778,2.226,779,2.226,780,2.226,781,2.226,782,2.226,783,2.226,784,2.226,785,2.226,786,2.226,787,2.226,788,2.226,789,2.226,790,2.226,791,1.827]],["title/classes/Widget.html",[19,0.685,88,0.301]],["body/classes/Widget.html",[3,0.286,4,0.333,9,0.333,10,0.552,11,0.196,12,0.196,13,2.384,15,0.797,17,3.085,19,1.136,22,1.686,28,0.566,29,0.992,30,2.507,31,2.507,32,2.507,33,3.039,34,1.937,35,0.891,36,1.889,37,1.686,38,2.507,39,2.507,40,1.998,41,1.439,42,1.685,43,1.577,44,2.402,45,1.751,46,1.106,48,0.891,49,0.042,50,0.915,51,0.635,52,0.71,53,1.842,56,0.756,58,1.877,60,1.598,61,2.133,62,2.133,63,1.62,65,2.507,66,1.356,67,2.133,68,0.686,69,0.992,70,0.94,71,1.224,73,2.133,74,2.133,75,0.629,78,2.507,80,1.224,82,0.658,83,0.382,84,0.846,85,1.165,86,1.305,87,0.242,88,0.242,108,0.016,109,0.024,110,0.016,137,0.551,203,1.474,205,1.165,220,1.224,272,2.439,273,2.866,275,2.866,325,2.433,326,2.848,337,1.474,395,1.685,397,1.968,474,1.474,500,1.165,754,1.685,767,1.968,770,1.968,791,1.968,792,2.397,793,4.077,794,2.397,795,2.397,796,2.397,797,2.397,798,2.397,799,2.397,800,2.397,801,2.397,802,2.397,803,2.397,804,4.077,805,1.685,806,2.397,807,2.397,808,2.397,809,2.397,810,2.397,811,2.397,812,2.397,813,2.397,814,2.397,815,3.469,816,2.397,817,2.397,818,2.397,819,2.397,820,2.397,821,2.397,822,2.397,823,2.397,824,2.397,825,2.397,826,2.397,827,2.397]],["title/modules/WidgetLibraryModule.html",[247,1.169,427,1.625]],["body/modules/WidgetLibraryModule.html",[1,2.052,3,0.437,4,0.508,9,0.508,10,0.369,11,0.13,12,0.13,13,1.596,49,0.042,82,0.739,83,0.584,87,0.369,88,0.369,94,1.596,100,2.052,104,2.279,108,0.025,109,0.031,110,0.025,247,1.435,278,2.252,347,1.596,417,1.994,418,1.994,419,2.761,420,2.252,421,3.564,427,3.24,428,3.252,429,1.994,431,2.252,432,3.252,433,2.252,434,2.844,436,2.575,805,2.575,828,3.007,829,3.007,830,3.007,831,3.663,832,4.626,833,4.509,834,4.626]],["title/injectables/WidgetLibraryService.html",[115,0.685,762,2.097]],["body/injectables/WidgetLibraryService.html",[0,1.346,1,1.914,3,0.419,4,0.487,9,0.487,10,0.454,11,0.16,12,0.16,13,1.962,15,1.035,19,1.296,23,2.468,28,0.419,35,1.156,40,1.765,46,0.719,48,0.901,49,0.042,50,0.719,51,0.688,52,0.719,75,0.951,82,0.728,83,0.56,87,0.354,88,0.501,92,2.468,100,1.589,108,0.024,109,0.031,110,0.024,115,1.035,126,1.431,132,2.159,133,1.912,137,1.035,141,1.53,166,1.53,179,2.769,220,1.754,239,3.165,429,1.912,436,3.165,465,2.159,500,1.706,663,3.165,720,3.697,762,3.165,835,3.511,836,4.503,837,4.503,838,4.503,839,3.511,840,3.511,841,3.511,842,3.511,843,2.882,844,3.511,845,3.511,846,4.503,847,3.511,848,3.511]],["title/dependencies.html",[418,1.95,849,2.505]],["body/dependencies.html",[11,0.138,12,0.17,49,0.042,58,1.371,83,0.619,108,0.026,109,0.033,110,0.026,118,2.613,119,2.332,258,2.95,261,2.73,264,2.73,268,3.188,270,3.188,271,3.188,328,3.188,418,2.115,433,2.388,591,2.73,805,2.73,850,3.884,851,5.943,852,3.884,853,3.884,854,3.884,855,3.884,856,3.884,857,3.884,858,3.884,859,3.884,860,3.884,861,3.884,862,3.884,863,3.884,864,3.884,865,3.884,866,3.884,867,3.884,868,3.884,869,3.884,870,3.884,871,3.884,872,3.884,873,3.884,874,3.884,875,3.884,876,3.884,877,3.884,878,3.884,879,3.884,880,3.884,881,3.884]],["title/index.html",[28,0.299,882,2.056,883,2.056]],["body/index.html",[0,0.905,5,1.536,11,0.2,12,0.203,49,0.041,82,0.753,83,0.562,87,0.355,88,0.355,108,0.024,109,0.031,110,0.024,118,1.919,119,1.713,177,2.477,189,1.713,219,2.477,245,2.775,246,2.699,247,1.381,250,2.167,251,3.816,337,2.167,347,1.967,355,1.919,356,2.477,360,2.893,416,2.712,419,1.919,420,2.167,431,2.167,434,2.775,521,3.173,564,2.477,711,2.477,884,3.524,885,3.524,886,3.524,887,4.311,888,3.524,889,3.524,890,3.524,891,3.524,892,3.524,893,3.524,894,2.893,895,3.524,896,3.524,897,3.524,898,3.524,899,3.524,900,3.524,901,3.524,902,3.524,903,4.514,904,3.524,905,3.524,906,3.524,907,4.514,908,2.893,909,3.524,910,3.524,911,3.524,912,3.524,913,3.524,914,3.524,915,3.524,916,3.524,917,4.514,918,4.98,919,3.524,920,3.524,921,2.893,922,2.893,923,2.477,924,3.524,925,2.893,926,3.524,927,3.524,928,3.524,929,3.524,930,3.524,931,3.524,932,3.524,933,3.524]],["title/license.html",[882,2.056,883,2.056,934,2.056]],["body/license.html",[11,0.18,12,0.18,49,0.032,63,1.166,80,1.295,108,0.025,109,0.032,110,0.025,189,2.251,245,2.848,246,2.466,255,3.013,284,2.58,327,3.013,347,1.599,569,3.802,887,4.166,894,3.013,923,2.58,934,3.013,935,3.67,936,5.33,937,4.631,938,4.631,939,3.67,940,3.67,941,3.67,942,3.67,943,3.013,944,3.67,945,3.67,946,3.67,947,3.67,948,4.631,949,3.67,950,3.67,951,3.67,952,3.67,953,3.013,954,3.67,955,5.817,956,3.67,957,3.67,958,3.67,959,5.075,960,3.67,961,4.631,962,3.67,963,3.67,964,3.67,965,3.67,966,3.67,967,3.67,968,3.67,969,3.67,970,4.631,971,3.67,972,3.67,973,3.67,974,3.67,975,4.631,976,4.631,977,3.013,978,3.67,979,3.67,980,3.67,981,3.67,982,3.67,983,3.67,984,3.67,985,3.67,986,3.67,987,3.67,988,3.67,989,3.67,990,3.67,991,3.67,992,3.67,993,3.67,994,3.67,995,3.67,996,3.67,997,3.67,998,3.67,999,3.67,1000,3.67,1001,3.67,1002,3.67,1003,3.67]],["title/modules.html",[417,2.202]],["body/modules.html",[49,0.036,108,0.031,109,0.036,110,0.031,119,2.588,416,2.518,417,2.518,427,2.518,1004,5.325,1005,5.325,1006,5.325]],["title/overview.html",[1007,3.32]],["body/overview.html",[1,2.016,2,1.618,43,1.801,49,0.041,94,1.618,100,2.016,102,2.597,104,2.239,108,0.025,109,0.032,110,0.025,112,2.283,166,1.618,247,1.455,278,2.283,279,2.778,280,2.224,347,1.618,416,3.146,417,2.022,418,2.022,419,2.022,420,2.283,421,2.611,422,3.049,423,3.049,424,3.049,425,3.049,426,3.049,427,3.276,428,3.28,429,2.022,474,2.283,828,3.049,829,3.049,830,3.049,1007,3.049,1008,3.831,1009,3.049,1010,3.714,1011,3.049]],["title/miscellaneous/typealiases.html",[1012,1.54,1013,3.581]],["body/miscellaneous/typealiases.html",[10,0.456,11,0.16,12,0.16,28,0.54,49,0.036,51,0.54,56,0.721,63,1.819,108,0.031,109,0.036,110,0.031,113,3.18,114,3.696,120,3.18,121,3.18,122,3.233,1012,2.781,1014,4.523,1015,4.523]],["title/miscellaneous/variables.html",[1012,1.54,1016,2.939]],["body/miscellaneous/variables.html",[1,1.57,2,1.938,10,0.449,11,0.158,12,0.158,13,1.938,19,1.022,28,0.531,49,0.04,51,0.531,66,1.272,70,1.743,100,1.57,104,1.743,108,0.03,109,0.035,110,0.03,189,2.162,672,3.651,833,4.274,1012,2.735,1016,3.651,1017,4.448,1018,4.448,1019,4.448]],["title/additional-documentation/introduction.html",[1020,2.505,1021,2.505,1022,2.505]],["body/additional-documentation/introduction.html",[0,1.352,3,0.214,5,1.685,11,0.164,12,0.2,15,0.888,19,0.642,20,0.979,22,2.035,23,3.532,26,0.979,29,1.268,34,1.642,37,0.873,49,0.041,50,0.908,51,0.628,53,0.986,56,0.546,58,1.932,63,1.521,69,0.514,70,1.095,71,0.634,75,0.507,80,0.634,82,0.664,87,0.346,88,0.346,92,2.944,95,0.634,108,0.023,109,0.019,110,0.019,122,1.718,125,1.218,127,2.718,130,2.944,137,0.642,141,1.494,146,1.263,152,0.634,160,1.263,168,1.475,180,2.108,187,3.254,189,0.873,191,2.294,193,1.263,196,3.438,205,2.249,207,0.979,219,1.263,222,0.873,235,1.263,239,2.944,244,1.475,245,1.105,246,2.441,250,1.105,251,1.964,259,2.814,266,2.814,281,2.294,284,1.263,285,1.475,286,1.475,287,2.294,288,2.294,295,2.294,296,2.41,308,1.263,310,2.814,312,2.727,325,0.979,337,1.718,344,1.475,347,0.783,355,1.522,356,1.263,409,1.522,429,0.979,459,2.294,463,2.294,465,2.378,478,1.964,518,1.964,521,1.263,523,2.814,526,2.814,528,1.475,533,1.475,535,1.475,539,1.475,544,1.475,545,1.475,548,3.174,552,3.438,561,2.294,564,1.964,618,1.475,624,3.254,635,2.294,636,2.294,637,2.294,638,2.294,639,2.814,640,2.294,641,2.294,655,1.475,657,1.475,659,1.475,661,1.475,754,1.263,756,1.475,843,3.438,908,2.294,921,3.64,922,2.294,923,1.263,925,1.475,943,1.475,953,2.294,977,1.475,1008,1.475,1009,1.475,1011,1.475,1023,1.797,1024,1.797,1025,4.188,1026,1.797,1027,3.867,1028,2.794,1029,2.794,1030,2.794,1031,2.794,1032,2.794,1033,2.794,1034,2.794,1035,1.797,1036,4.628,1037,1.797,1038,1.797,1039,1.797,1040,1.797,1041,1.797,1042,1.797,1043,3.428,1044,1.797,1045,1.797,1046,1.797,1047,1.797,1048,1.797,1049,1.797,1050,1.797,1051,2.794,1052,1.797,1053,3.428,1054,1.797,1055,1.797,1056,1.797,1057,1.797,1058,1.797,1059,2.794,1060,1.797,1061,1.797,1062,1.797,1063,1.797,1064,1.797,1065,1.797,1066,4.434,1067,1.797,1068,2.794,1069,1.797,1070,1.797,1071,1.797,1072,1.797,1073,2.794,1074,1.797,1075,1.797,1076,1.797,1077,1.797,1078,2.794,1079,1.797,1080,1.797,1081,1.797,1082,1.797,1083,3.867,1084,2.794,1085,1.797,1086,1.797,1087,3.428,1088,3.428,1089,1.797,1090,2.794,1091,1.797,1092,1.797,1093,1.797,1094,1.797,1095,2.794,1096,1.797,1097,1.797,1098,1.797,1099,1.797,1100,1.797,1101,1.797,1102,2.794,1103,1.797,1104,1.797,1105,1.797,1106,4.628,1107,1.797,1108,1.797,1109,3.428,1110,3.867,1111,3.428,1112,2.794,1113,4.188,1114,1.797,1115,1.797,1116,1.797,1117,2.794,1118,1.797,1119,3.428,1120,2.794,1121,1.797,1122,1.797,1123,1.797,1124,1.797,1125,1.797,1126,1.797,1127,1.797,1128,1.797,1129,1.797,1130,1.797,1131,1.797,1132,2.794,1133,1.797,1134,1.797,1135,2.794,1136,1.797,1137,1.797,1138,1.797,1139,1.797,1140,1.797,1141,1.797,1142,1.797,1143,1.797,1144,1.797,1145,1.797,1146,1.797,1147,1.797,1148,1.797,1149,1.797,1150,1.797,1151,1.797,1152,1.797,1153,1.797,1154,1.797,1155,1.797,1156,1.797,1157,1.797,1158,1.797]]],"invertedIndex":[["",{"_index":49,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"modules.html":{},"overview.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["0",{"_index":235,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/LayoutService.html":{},"additional-documentation/introduction.html":{}}}],["0.0.36",{"_index":862,"title":{},"body":{"dependencies.html":{}}}],["0.11.0",{"_index":868,"title":{},"body":{"dependencies.html":{}}}],["0.3.9",{"_index":876,"title":{},"body":{"dependencies.html":{}}}],["0.4.1",{"_index":872,"title":{},"body":{"dependencies.html":{}}}],["0.9.1",{"_index":881,"title":{},"body":{"dependencies.html":{}}}],["07/schema",{"_index":1031,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["1",{"_index":686,"title":{},"body":{"injectables/LayoutService.html":{}}}],["1.9.0",{"_index":879,"title":{},"body":{"dependencies.html":{}}}],["18",{"_index":1063,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["2",{"_index":1008,"title":{},"body":{"overview.html":{},"additional-documentation/introduction.html":{}}}],["2.5.4",{"_index":871,"title":{},"body":{"dependencies.html":{}}}],["2014",{"_index":942,"title":{},"body":{"license.html":{}}}],["2019",{"_index":947,"title":{},"body":{"license.html":{}}}],["3",{"_index":1011,"title":{},"body":{"overview.html":{},"additional-documentation/introduction.html":{}}}],["30",{"_index":1095,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["333",{"_index":1082,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["4",{"_index":1009,"title":{},"body":{"overview.html":{},"additional-documentation/introduction.html":{}}}],["4.14.136",{"_index":866,"title":{},"body":{"dependencies.html":{}}}],["4.17.14",{"_index":873,"title":{},"body":{"dependencies.html":{}}}],["6",{"_index":1010,"title":{},"body":{"overview.html":{}}}],["6.0.1",{"_index":874,"title":{},"body":{"dependencies.html":{}}}],["6.10.0",{"_index":867,"title":{},"body":{"dependencies.html":{}}}],["6.5.2",{"_index":877,"title":{},"body":{"dependencies.html":{}}}],["7",{"_index":886,"title":{},"body":{"index.html":{}}}],["7.0.0",{"_index":855,"title":{},"body":{"dependencies.html":{}}}],["7.0.3",{"_index":864,"title":{},"body":{"dependencies.html":{}}}],["7.2.0",{"_index":851,"title":{},"body":{"dependencies.html":{}}}],["_blank",{"_index":316,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["_layout",{"_index":678,"title":{},"body":{"injectables/LayoutService.html":{}}}],["_parent",{"_index":317,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["_schema",{"_index":729,"title":{},"body":{"injectables/SchemaService.html":{}}}],["_self",{"_index":315,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["_top",{"_index":318,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["above",{"_index":894,"title":{},"body":{"index.html":{},"license.html":{}}}],["abstract",{"_index":806,"title":{},"body":{"classes/Widget.html":{}}}],["abstractcontrol",{"_index":78,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["accessing",{"_index":575,"title":{},"body":{"classes/LayoutNode.html":{}}}],["accesskey",{"_index":635,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["accessors",{"_index":549,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{}}}],["accordingly",{"_index":1139,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ace",{"_index":270,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"dependencies.html":{}}}],["act",{"_index":1138,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["action",{"_index":284,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["acts",{"_index":535,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["actual",{"_index":1073,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["actual_component",{"_index":107,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["add",{"_index":219,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["addeventlistener",{"_index":167,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["addeventlistener(element",{"_index":148,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["addition",{"_index":265,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["additional",{"_index":1020,"title":{"additional-documentation/introduction.html":{}},"body":{}}],["adds",{"_index":145,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["afterviewinit",{"_index":793,"title":{},"body":{"classes/Widget.html":{}}}],["against",{"_index":350,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["age",{"_index":1036,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ajv",{"_index":261,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{},"dependencies.html":{}}}],["ajv.ajv",{"_index":739,"title":{},"body":{"injectables/SchemaService.html":{}}}],["ajv.validatefunction",{"_index":744,"title":{},"body":{"injectables/SchemaService.html":{}}}],["ajv]{@link",{"_index":381,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["aliases",{"_index":1014,"title":{},"body":{"miscellaneous/typealiases.html":{}}}],["allerrors",{"_index":740,"title":{},"body":{"injectables/SchemaService.html":{}}}],["allowing",{"_index":544,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["allows",{"_index":194,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/SchemaService.html":{}}}],["along",{"_index":534,"title":{},"body":{"classes/LayoutNode.html":{}}}],["already",{"_index":926,"title":{},"body":{"index.html":{}}}],["alt",{"_index":655,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["and/or",{"_index":255,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"license.html":{}}}],["angular",{"_index":251,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["angular/animations",{"_index":850,"title":{},"body":{"dependencies.html":{}}}],["angular/cdk",{"_index":852,"title":{},"body":{"dependencies.html":{}}}],["angular/common",{"_index":433,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"dependencies.html":{}}}],["angular/compiler",{"_index":853,"title":{},"body":{"dependencies.html":{}}}],["angular/core",{"_index":83,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{}}}],["angular/flex",{"_index":854,"title":{},"body":{"dependencies.html":{}}}],["angular/forms",{"_index":805,"title":{},"body":{"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"dependencies.html":{}}}],["angular/http",{"_index":857,"title":{},"body":{"dependencies.html":{}}}],["angular/material",{"_index":858,"title":{},"body":{"dependencies.html":{}}}],["angular/platform",{"_index":118,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"modules/JsonSchemaFormModule.html":{},"dependencies.html":{},"index.html":{}}}],["angular/router",{"_index":860,"title":{},"body":{"dependencies.html":{}}}],["angular2",{"_index":944,"title":{},"body":{"license.html":{}}}],["angular]{@link",{"_index":377,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["angularjs",{"_index":363,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["another",{"_index":262,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["api",{"_index":358,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{}}}],["app.component",{"_index":919,"title":{},"body":{"index.html":{}}}],["appcomponent",{"_index":918,"title":{},"body":{"index.html":{}}}],["application",{"_index":916,"title":{},"body":{"index.html":{}}}],["application/x",{"_index":300,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["applied",{"_index":139,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["appmodule",{"_index":920,"title":{},"body":{"index.html":{}}}],["appropriate",{"_index":529,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["args",{"_index":735,"title":{},"body":{"injectables/SchemaService.html":{}}}],["arising",{"_index":1001,"title":{},"body":{"license.html":{}}}],["array",{"_index":53,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["array.from(mappedpointers",{"_index":705,"title":{},"body":{"injectables/LayoutService.html":{}}}],["array.from(schemapointers.keys",{"_index":702,"title":{},"body":{"injectables/LayoutService.html":{}}}],["arrayitem",{"_index":629,"title":{},"body":{"classes/LayoutNode.html":{}}}],["arrayitemtype",{"_index":630,"title":{},"body":{"classes/LayoutNode.html":{}}}],["arrays",{"_index":186,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["assets/submit.png",{"_index":1094,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["associated",{"_index":80,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["association",{"_index":1130,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["attemtps",{"_index":888,"title":{},"body":{"index.html":{}}}],["attribute",{"_index":294,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{}}}],["attributes",{"_index":180,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"interfaces/LayoutOptions.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["augmenting",{"_index":538,"title":{},"body":{"classes/LayoutNode.html":{}}}],["authors",{"_index":991,"title":{},"body":{"license.html":{}}}],["autocomplete",{"_index":285,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["automatically",{"_index":201,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"interfaces/LayoutItem.html":{},"injectables/SchemaService.html":{}}}],["availablepointers",{"_index":701,"title":{},"body":{"injectables/LayoutService.html":{}}}],["based",{"_index":711,"title":{},"body":{"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"index.html":{}}}],["basic",{"_index":909,"title":{},"body":{"index.html":{}}}],["basic.component.ts",{"_index":1046,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["basic_widgets",{"_index":833,"title":{},"body":{"modules/WidgetLibraryModule.html":{},"miscellaneous/variables.html":{}}}],["basiccomponent",{"_index":1047,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["become",{"_index":1057,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["begin",{"_index":910,"title":{},"body":{"index.html":{}}}],["being",{"_index":1088,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["beta.24",{"_index":856,"title":{},"body":{"dependencies.html":{}}}],["bind",{"_index":463,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"additional-documentation/introduction.html":{}}}],["bindings",{"_index":1091,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["binds",{"_index":1099,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["boolean",{"_index":141,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"interfaces/LayoutOptions.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["bootstrap",{"_index":420,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{},"overview.html":{}}}],["both",{"_index":338,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["bound",{"_index":1127,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["brace",{"_index":268,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"dependencies.html":{}}}],["brace]{@link",{"_index":385,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["bring",{"_index":901,"title":{},"body":{"index.html":{}}}],["browse",{"_index":1006,"title":{},"body":{"modules.html":{}}}],["browser",{"_index":119,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"modules/JsonSchemaFormModule.html":{},"dependencies.html":{},"index.html":{},"modules.html":{}}}],["browserified",{"_index":269,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["browsermodule",{"_index":917,"title":{},"body":{"index.html":{}}}],["bubble",{"_index":1126,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["builder",{"_index":885,"title":{},"body":{"index.html":{}}}],["buildlayout(layout",{"_index":681,"title":{},"body":{"injectables/LayoutService.html":{}}}],["bunch",{"_index":929,"title":{},"body":{"index.html":{}}}],["button",{"_index":23,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["button'},{'name",{"_index":99,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["button.component.html",{"_index":27,"title":{},"body":{"components/ButtonComponent.html":{}}}],["button.component.scss",{"_index":25,"title":{},"body":{"components/ButtonComponent.html":{}}}],["button.html",{"_index":1097,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["button1",{"_index":1109,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["button2",{"_index":1111,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["buttoncomponent",{"_index":1,"title":{"components/ButtonComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["buttons",{"_index":1083,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["can't",{"_index":1151,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["care",{"_index":1059,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["case",{"_index":1140,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["catch",{"_index":696,"title":{},"body":{"injectables/LayoutService.html":{}}}],["cb",{"_index":734,"title":{},"body":{"injectables/SchemaService.html":{}}}],["change",{"_index":67,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["changedetection",{"_index":276,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["changedetectionstrategy",{"_index":324,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["changedetectionstrategy.onpush",{"_index":277,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["changes",{"_index":754,"title":{},"body":{"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["changes.hasownproperty('schema",{"_index":398,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["changes.layoutnode",{"_index":814,"title":{},"body":{"classes/Widget.html":{}}}],["charge",{"_index":952,"title":{},"body":{"license.html":{}}}],["check",{"_index":903,"title":{},"body":{"index.html":{}}}],["checkmark",{"_index":1096,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["choice",{"_index":1146,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["claim",{"_index":994,"title":{},"body":{"license.html":{}}}],["class",{"_index":88,"title":{"classes/LayoutNode.html":{},"classes/Widget.html":{}},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["classes",{"_index":474,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"classes/Widget.html":{},"overview.html":{}}}],["click",{"_index":1104,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["click.data.layout",{"_index":1128,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["clicked",{"_index":1125,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["client",{"_index":248,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["clonedeep",{"_index":329,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{}}}],["clonedeep(this.layoutitem",{"_index":614,"title":{},"body":{"classes/LayoutNode.html":{}}}],["clonedeep(this.schema",{"_index":415,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["cluster_jsonschemaformmodule",{"_index":422,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_jsonschemaformmodule_declarations",{"_index":423,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_jsonschemaformmodule_exports",{"_index":426,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_jsonschemaformmodule_imports",{"_index":425,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_jsonschemaformmodule_jsonschemaformcomponent_providers",{"_index":424,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_widgetlibrarymodule",{"_index":828,"title":{},"body":{"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["cluster_widgetlibrarymodule_declarations",{"_index":829,"title":{},"body":{"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["cluster_widgetlibrarymodule_exports",{"_index":830,"title":{},"body":{"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["code",{"_index":1120,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["collector",{"_index":200,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["color",{"_index":1081,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["command",{"_index":1053,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["commonmodule",{"_index":432,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{}}}],["compatible",{"_index":359,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["compiler",{"_index":446,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["compiler.compilemoduleandallcomponentssync(runtimecomponentmodule",{"_index":487,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["compiles",{"_index":455,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["compileschema",{"_index":746,"title":{},"body":{"injectables/SchemaService.html":{}}}],["compiletemplate",{"_index":443,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["compiletemplate(template",{"_index":451,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["component",{"_index":0,"title":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"injectables/WidgetLibraryService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["component's",{"_index":924,"title":{},"body":{"index.html":{}}}],["component_template",{"_index":98,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["componentfactory",{"_index":764,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["componentfactoryresolver",{"_index":761,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["componentref",{"_index":470,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{}}}],["componentref.destroy",{"_index":511,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["componentref.hostview.detectchanges",{"_index":509,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["componentref.location.nativeelement).innerhtml",{"_index":492,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["components",{"_index":2,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["conditions",{"_index":974,"title":{},"body":{"license.html":{}}}],["connection",{"_index":1002,"title":{},"body":{"license.html":{}}}],["console.error('buildlayout",{"_index":698,"title":{},"body":{"injectables/LayoutService.html":{}}}],["console.error(layoutitem",{"_index":700,"title":{},"body":{"injectables/LayoutService.html":{}}}],["console.warn(this",{"_index":403,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["const",{"_index":152,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["constructor",{"_index":41,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["constructor(compiler",{"_index":445,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["constructor(componentfactory",{"_index":760,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["constructor(elementdatastorage",{"_index":169,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["constructor(jsf",{"_index":42,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"classes/Widget.html":{}}}],["constructor(layoutitem",{"_index":553,"title":{},"body":{"classes/LayoutNode.html":{}}}],["constructor(private",{"_index":136,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{}}}],["constructor(protected",{"_index":811,"title":{},"body":{"classes/Widget.html":{}}}],["constructor(schemaservice",{"_index":289,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/LayoutService.html":{}}}],["consumption",{"_index":898,"title":{},"body":{"index.html":{}}}],["contain",{"_index":191,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"additional-documentation/introduction.html":{}}}],["container",{"_index":520,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["contains",{"_index":531,"title":{},"body":{"classes/LayoutNode.html":{}}}],["content",{"_index":552,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["context",{"_index":452,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["contianer",{"_index":525,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["contract",{"_index":998,"title":{},"body":{"license.html":{}}}],["control",{"_index":17,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["control.controlname",{"_index":497,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["control.layoutnode.name",{"_index":498,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["controldisabled",{"_index":30,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["controlname",{"_index":31,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["controls",{"_index":341,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["controlvalue",{"_index":32,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["conversion",{"_index":1148,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["converted",{"_index":188,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"classes/LayoutNode.html":{}}}],["copies",{"_index":970,"title":{},"body":{"license.html":{}}}],["copy",{"_index":569,"title":{},"body":{"classes/LayoutNode.html":{},"license.html":{}}}],["copyright",{"_index":936,"title":{},"body":{"license.html":{}}}],["core",{"_index":869,"title":{},"body":{"dependencies.html":{}}}],["couple",{"_index":1105,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["create",{"_index":484,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{}}}],["create(layoutitem",{"_index":559,"title":{},"body":{"classes/LayoutNode.html":{}}}],["createcomponent",{"_index":780,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["createcomponent(template",{"_index":480,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["created",{"_index":756,"title":{},"body":{"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["createmodule(component",{"_index":485,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["creates",{"_index":477,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{}}}],["creation",{"_index":466,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["ctx",{"_index":469,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["currentlayout",{"_index":690,"title":{},"body":{"injectables/LayoutService.html":{}}}],["currently",{"_index":1077,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["custom",{"_index":1086,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["damages",{"_index":995,"title":{},"body":{"license.html":{}}}],["data",{"_index":56,"title":{"interfaces/Data.html":{}},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"miscellaneous/typealiases.html":{},"additional-documentation/introduction.html":{}}}],["dataevent",{"_index":122,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{},"additional-documentation/introduction.html":{}}}],["dataeventpluginservice",{"_index":134,"title":{"injectables/DataEventPluginService.html":{}},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"modules/JsonSchemaFormModule.html":{}}}],["dataindex",{"_index":38,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["dataname",{"_index":155,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["datapointer",{"_index":551,"title":{},"body":{"classes/LayoutNode.html":{}}}],["datapointermap",{"_index":708,"title":{},"body":{"injectables/SchemaService.html":{}}}],["datatype",{"_index":631,"title":{},"body":{"classes/LayoutNode.html":{}}}],["david",{"_index":939,"title":{},"body":{"license.html":{}}}],["davis",{"_index":941,"title":{},"body":{"license.html":{}}}],["deal",{"_index":958,"title":{},"body":{"license.html":{}}}],["dealings",{"_index":1003,"title":{},"body":{"license.html":{}}}],["deault",{"_index":1049,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["declarations",{"_index":419,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{},"overview.html":{}}}],["decorators",{"_index":591,"title":{},"body":{"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{},"dependencies.html":{}}}],["default",{"_index":70,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["defaultto",{"_index":584,"title":{},"body":{"classes/LayoutNode.html":{}}}],["defaultto(key",{"_index":611,"title":{},"body":{"classes/LayoutNode.html":{}}}],["defaultto(this.layoutitem.options",{"_index":627,"title":{},"body":{"classes/LayoutNode.html":{}}}],["defaultto(this.schema",{"_index":620,"title":{},"body":{"classes/LayoutNode.html":{}}}],["defaultwidget",{"_index":842,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["define",{"_index":307,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["defined",{"_index":46,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["definition",{"_index":566,"title":{},"body":{"classes/LayoutNode.html":{}}}],["definitions",{"_index":723,"title":{},"body":{"injectables/SchemaService.html":{}}}],["degree",{"_index":536,"title":{},"body":{"classes/LayoutNode.html":{}}}],["delete",{"_index":204,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["delete(element",{"_index":206,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["deleted",{"_index":232,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["demo",{"_index":905,"title":{},"body":{"index.html":{}}}],["dependencies",{"_index":418,"title":{"dependencies.html":{}},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"dependencies.html":{},"overview.html":{}}}],["depends",{"_index":256,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["describing",{"_index":61,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["description",{"_index":15,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["destroyed",{"_index":394,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["determine",{"_index":138,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"interfaces/LayoutItem.html":{}}}],["determined",{"_index":1044,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["dialog",{"_index":310,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["difference",{"_index":676,"title":{},"body":{"injectables/LayoutService.html":{}}}],["directive",{"_index":96,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["directives",{"_index":106,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["dirname",{"_index":636,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["disable",{"_index":74,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["disabled",{"_index":637,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["display",{"_index":921,"title":{},"body":{"index.html":{},"additional-documentation/introduction.html":{}}}],["displayed",{"_index":674,"title":{},"body":{"injectables/LayoutService.html":{}}}],["displays",{"_index":16,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{}}}],["distribute",{"_index":967,"title":{},"body":{"license.html":{}}}],["document",{"_index":457,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["document.createelement('template",{"_index":490,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["documentation",{"_index":956,"title":{},"body":{"license.html":{}}}],["documentfragment",{"_index":461,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["dom",{"_index":7,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["don't",{"_index":925,"title":{},"body":{"index.html":{},"additional-documentation/introduction.html":{}}}],["down",{"_index":1136,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["dynamic",{"_index":859,"title":{},"body":{"dependencies.html":{}}}],["dynamically",{"_index":753,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["ease",{"_index":1019,"title":{},"body":{"miscellaneous/variables.html":{}}}],["easy",{"_index":724,"title":{},"body":{"injectables/SchemaService.html":{}}}],["editor",{"_index":271,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"dependencies.html":{}}}],["element",{"_index":84,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["element.addeventlistener(type",{"_index":164,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["element.removeeventlistener(type",{"_index":165,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["elementdatastorage",{"_index":44,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["elementdatastorageservice",{"_index":45,"title":{"injectables/ElementDataStorageService.html":{}},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["elementref",{"_index":804,"title":{},"body":{"classes/Widget.html":{}}}],["enctype",{"_index":286,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["entire",{"_index":349,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["entrycomponents",{"_index":832,"title":{},"body":{"modules/WidgetLibraryModule.html":{}}}],["equal",{"_index":1038,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["err",{"_index":697,"title":{},"body":{"injectables/LayoutService.html":{}}}],["error",{"_index":596,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["error('missing",{"_index":600,"title":{},"body":{"classes/LayoutNode.html":{}}}],["even",{"_index":494,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["event",{"_index":63,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"modules/JsonSchemaFormModule.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"license.html":{},"miscellaneous/typealiases.html":{},"additional-documentation/introduction.html":{}}}],["event.data",{"_index":160,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["event.data.id",{"_index":1117,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["event.data.onclick",{"_index":1123,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["event.target).value",{"_index":827,"title":{},"body":{"classes/Widget.html":{}}}],["event_manager_plugins",{"_index":435,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["eventhandler",{"_index":157,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["eventmanager",{"_index":117,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["eventname",{"_index":150,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["eventname.split",{"_index":156,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["events",{"_index":1102,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["everything",{"_index":1051,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["example",{"_index":266,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["example.html",{"_index":366,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["examples",{"_index":907,"title":{},"body":{"index.html":{}}}],["examples)]{@link",{"_index":364,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["exception",{"_index":1085,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["expect",{"_index":1150,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["export",{"_index":87,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["exports",{"_index":421,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["express",{"_index":982,"title":{},"body":{"license.html":{}}}],["extends",{"_index":18,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["external",{"_index":1119,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["f.componenttype",{"_index":506,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["factory",{"_index":504,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["factory.create(this.injector",{"_index":507,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["false",{"_index":71,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["feedback",{"_index":345,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["few",{"_index":1060,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["fields",{"_index":1043,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["file",{"_index":9,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{}}}],["files",{"_index":957,"title":{},"body":{"license.html":{}}}],["filling",{"_index":346,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["find",{"_index":928,"title":{},"body":{"index.html":{}}}],["fired",{"_index":131,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["first",{"_index":127,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["firstname",{"_index":1032,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["fitness",{"_index":987,"title":{},"body":{"license.html":{}}}],["flag",{"_index":73,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["fn",{"_index":1121,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["fn(event",{"_index":1124,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["folder",{"_index":933,"title":{},"body":{"index.html":{}}}],["following",{"_index":923,"title":{},"body":{"index.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["form",{"_index":246,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"index.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["form's",{"_index":360,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"index.html":{}}}],["form'},{'name",{"_index":103,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["form.component",{"_index":439,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["form.component.html",{"_index":281,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["form.component.ts",{"_index":244,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["form.component.ts:119",{"_index":320,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:124",{"_index":323,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:63",{"_index":313,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:65",{"_index":306,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:70",{"_index":292,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:75",{"_index":299,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:80",{"_index":305,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:85",{"_index":311,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:90",{"_index":319,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:94",{"_index":290,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.module.ts",{"_index":430,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["form.service",{"_index":86,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["form.service.ts",{"_index":442,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form.service.ts:39",{"_index":450,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form.service.ts:44",{"_index":464,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form.service.ts:50",{"_index":468,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form.service.ts:60",{"_index":454,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form/src/lib/data",{"_index":113,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{}}}],["form/src/lib/element",{"_index":173,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["form/src/lib/json",{"_index":243,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{}}}],["form/src/lib/layout",{"_index":512,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{}}}],["form/src/lib/layout.service.ts",{"_index":662,"title":{},"body":{"injectables/LayoutService.html":{}}}],["form/src/lib/layout.service.ts:18",{"_index":671,"title":{},"body":{"injectables/LayoutService.html":{}}}],["form/src/lib/layout.service.ts:20",{"_index":667,"title":{},"body":{"injectables/LayoutService.html":{}}}],["form/src/lib/layout.service.ts:24",{"_index":669,"title":{},"body":{"injectables/LayoutService.html":{}}}],["form/src/lib/schema.service.ts",{"_index":706,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/schema.service.ts:17",{"_index":716,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/schema.service.ts:21",{"_index":714,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/schema.service.ts:30",{"_index":719,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/schema.service.ts:49",{"_index":710,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/widget",{"_index":13,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/variables.html":{}}}],["form]{@link",{"_index":361,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["formcontrol",{"_index":33,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["forminitialized",{"_index":388,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["fragment",{"_index":458,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["free",{"_index":951,"title":{},"body":{"license.html":{}}}],["function",{"_index":151,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/SchemaService.html":{}}}],["function('event",{"_index":1122,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["furnished",{"_index":973,"title":{},"body":{"license.html":{}}}],["garbage",{"_index":199,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["generatengcontent",{"_index":788,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["generates",{"_index":252,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["get(element",{"_index":212,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["getcontent",{"_index":578,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getdatapointer",{"_index":573,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getdatapointermap",{"_index":718,"title":{},"body":{"injectables/SchemaService.html":{}}}],["getdocumentfragment(componentref",{"_index":489,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["getlayout",{"_index":670,"title":{},"body":{"injectables/LayoutService.html":{}}}],["getlayoutdefinition",{"_index":567,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getname",{"_index":571,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getoptions",{"_index":581,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getpointer(key",{"_index":609,"title":{},"body":{"classes/LayoutNode.html":{}}}],["gets",{"_index":720,"title":{},"body":{"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}}}],["getschema",{"_index":713,"title":{},"body":{"injectables/SchemaService.html":{}}}],["getting",{"_index":882,"title":{"index.html":{},"license.html":{}},"body":{}}],["gettype",{"_index":576,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getwidget",{"_index":837,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["getwidget(type",{"_index":838,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["given",{"_index":562,"title":{},"body":{"classes/LayoutNode.html":{}}}],["gives",{"_index":540,"title":{},"body":{"classes/LayoutNode.html":{}}}],["global",{"_index":652,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["good",{"_index":1145,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["google",{"_index":1112,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["granted",{"_index":950,"title":{},"body":{"license.html":{}}}],["greater",{"_index":1039,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ground",{"_index":896,"title":{},"body":{"index.html":{}}}],["handle",{"_index":618,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["handled",{"_index":1131,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["handler",{"_index":130,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["handler(event",{"_index":162,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["handling",{"_index":664,"title":{},"body":{"injectables/LayoutService.html":{}}}],["has(element",{"_index":215,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["haswidget(type",{"_index":848,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["height",{"_index":657,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["held",{"_index":938,"title":{},"body":{"license.html":{}}}],["here",{"_index":908,"title":{},"body":{"index.html":{},"additional-documentation/introduction.html":{}}}],["hereby",{"_index":949,"title":{},"body":{"license.html":{}}}],["hidden",{"_index":239,"title":{},"body":{"components/HiddenComponent.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["hidden'},{'name",{"_index":101,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["hidden.component.html",{"_index":241,"title":{},"body":{"components/HiddenComponent.html":{}}}],["hidden.component.scss",{"_index":240,"title":{},"body":{"components/HiddenComponent.html":{}}}],["hiddencomponent",{"_index":100,"title":{"components/HiddenComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["holders",{"_index":992,"title":{},"body":{"license.html":{}}}],["html",{"_index":95,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["htmlclass",{"_index":638,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["htmlelement",{"_index":149,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{}}}],["http://json",{"_index":1029,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["http://schemaform.io",{"_index":362,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["http://schemaform.io/examples/bootstrap",{"_index":365,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["http://thlorenz.github.io/brace",{"_index":386,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["http://ulion.github.io/jsonform/playground",{"_index":376,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://angular.io",{"_index":378,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://developer.mozilla.org/en",{"_index":297,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{}}}],["https://example.com/person.schema.json",{"_index":1028,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["https://github.com/epoberezkin/ajv",{"_index":382,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://github.com/epoberezkin/json",{"_index":384,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://github.com/joshfire/jsonform",{"_index":375,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://github.com/lodash/lodash",{"_index":380,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://github.com/mozilla",{"_index":370,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://mozilla",{"_index":372,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["icon",{"_index":639,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["id",{"_index":548,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["identifier",{"_index":558,"title":{},"body":{"classes/LayoutNode.html":{}}}],["ignore",{"_index":743,"title":{},"body":{"injectables/SchemaService.html":{}}}],["image",{"_index":843,"title":{},"body":{"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["implements",{"_index":272,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["implied",{"_index":983,"title":{},"body":{"license.html":{}}}],["import",{"_index":82,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["imports",{"_index":431,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{}}}],["included",{"_index":977,"title":{},"body":{"license.html":{},"additional-documentation/introduction.html":{}}}],["including",{"_index":961,"title":{},"body":{"license.html":{}}}],["incorrect",{"_index":781,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["index",{"_index":28,"title":{"index.html":{}},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{}}}],["indexable",{"_index":514,"title":{},"body":{"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}}}],["individual",{"_index":340,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["info",{"_index":3,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["inherited",{"_index":54,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["initial",{"_index":820,"title":{},"body":{"classes/Widget.html":{}}}],["initialize",{"_index":816,"title":{},"body":{"classes/Widget.html":{}}}],["initializecontrol",{"_index":444,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["initializecontrol(control",{"_index":462,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["initializeform",{"_index":406,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["initializelayout",{"_index":410,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["initializeschema",{"_index":412,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["injectable",{"_index":115,"title":{"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}}}],["injectables",{"_index":166,"title":{},"body":{"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{},"overview.html":{}}}],["injecting",{"_index":769,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["injector",{"_index":447,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["innerhtml",{"_index":488,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["input",{"_index":325,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["input/button/button.component",{"_index":840,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["input/hidden/hidden.component",{"_index":841,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["input[name",{"_index":519,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{}}}],["input[type='hidden",{"_index":238,"title":{},"body":{"components/HiddenComponent.html":{}}}],["inputs",{"_index":37,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["inserted",{"_index":1089,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["inside",{"_index":580,"title":{},"body":{"classes/LayoutNode.html":{}}}],["inspect",{"_index":1137,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["install",{"_index":913,"title":{},"body":{"index.html":{}}}],["installing",{"_index":911,"title":{},"body":{"index.html":{}}}],["instances",{"_index":1072,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["integer",{"_index":1041,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["interface",{"_index":111,"title":{"interfaces/Data.html":{},"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}}}],["interfaces",{"_index":112,"title":{},"body":{"interfaces/Data.html":{},"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{},"overview.html":{}}}],["internal",{"_index":295,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["internally",{"_index":1132,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["introduction",{"_index":1022,"title":{"additional-documentation/introduction.html":{}},"body":{}}],["isplainobject",{"_index":330,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["isplainobject(this.schema",{"_index":413,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["isstring",{"_index":585,"title":{},"body":{"classes/LayoutNode.html":{}}}],["isstring(layoutitem",{"_index":603,"title":{},"body":{"classes/LayoutNode.html":{}}}],["isstring(this.layoutitem.content",{"_index":621,"title":{},"body":{"classes/LayoutNode.html":{}}}],["it's",{"_index":893,"title":{},"body":{"index.html":{}}}],["item",{"_index":518,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["item.data",{"_index":332,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["item.data.ts",{"_index":513,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["item.data.ts:16",{"_index":516,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["items",{"_index":632,"title":{},"body":{"classes/LayoutNode.html":{}}}],["itself",{"_index":182,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["james",{"_index":945,"title":{},"body":{"license.html":{}}}],["javascript",{"_index":259,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["joshfire's",{"_index":374,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["jquery",{"_index":178,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{}}}],["jquery's",{"_index":1134,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["js",{"_index":870,"title":{},"body":{"dependencies.html":{}}}],["jsf",{"_index":22,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["json",{"_index":11,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["json/path",{"_index":608,"title":{},"body":{"classes/LayoutNode.html":{}}}],["jsonpointers",{"_index":741,"title":{},"body":{"injectables/SchemaService.html":{}}}],["jsonschema",{"_index":369,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["jsonschema7",{"_index":312,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"additional-documentation/introduction.html":{}}}],["jsonschema7definition",{"_index":677,"title":{},"body":{"injectables/LayoutService.html":{},"injectables/SchemaService.html":{}}}],["jsonschemaformcomponent",{"_index":102,"title":{"components/JsonSchemaFormComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"components/SelectWidgetComponent.html":{},"overview.html":{}}}],["jsonschemaformmodule",{"_index":416,"title":{"modules/JsonSchemaFormModule.html":{}},"body":{"modules/JsonSchemaFormModule.html":{},"index.html":{},"modules.html":{},"overview.html":{}}}],["jsonschemaformservice",{"_index":43,"title":{"injectables/JsonSchemaFormService.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"overview.html":{}}}],["jsonschemaformservice.createcomponent(template",{"_index":501,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["jsonschemaformservice.createmodule(component",{"_index":502,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["jsonschemaformservice.getdocumentfragment(componentref",{"_index":510,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["key",{"_index":207,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["key's",{"_index":214,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["key(object.path",{"_index":607,"title":{},"body":{"classes/LayoutNode.html":{}}}],["key/value",{"_index":209,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["kind",{"_index":981,"title":{},"body":{"license.html":{}}}],["laid",{"_index":1056,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["last",{"_index":1035,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["lastly",{"_index":1115,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["lastname",{"_index":1034,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layout",{"_index":58,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"dependencies.html":{},"additional-documentation/introduction.html":{}}}],["layout.component.ts",{"_index":1067,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layout.json",{"_index":1066,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layout.onclick",{"_index":1108,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layout.reduce((currentlayout",{"_index":688,"title":{},"body":{"injectables/LayoutService.html":{}}}],["layout.service",{"_index":333,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["layout.type",{"_index":597,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutcomponent",{"_index":1068,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layoutdefinition",{"_index":550,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutindex",{"_index":39,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["layoutitem",{"_index":331,"title":{"interfaces/LayoutItem.html":{}},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["layoutitem.type",{"_index":599,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutnode",{"_index":40,"title":{"classes/LayoutNode.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["layoutnode(item",{"_index":605,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutnode.create(layoutitem",{"_index":692,"title":{},"body":{"injectables/LayoutService.html":{}}}],["layoutnode.getpointer(this.layoutitem.key",{"_index":617,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutoptions",{"_index":583,"title":{"interfaces/LayoutOptions.html":{}},"body":{"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{}}}],["layouts",{"_index":665,"title":{},"body":{"injectables/LayoutService.html":{}}}],["layoutservice",{"_index":279,"title":{"injectables/LayoutService.html":{}},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/LayoutService.html":{},"overview.html":{}}}],["left",{"_index":892,"title":{},"body":{"index.html":{}}}],["legend",{"_index":94,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"components/SelectWidgetComponent.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["liability",{"_index":996,"title":{},"body":{"license.html":{}}}],["liable",{"_index":993,"title":{},"body":{"license.html":{}}}],["library",{"_index":250,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["library.module",{"_index":437,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["library.module.ts",{"_index":831,"title":{},"body":{"modules/WidgetLibraryModule.html":{}}}],["library.service",{"_index":771,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["library.service.ts",{"_index":835,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["library.service.ts:28",{"_index":839,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["library/container/select",{"_index":750,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["library/index.ts",{"_index":1018,"title":{},"body":{"miscellaneous/variables.html":{}}}],["library/input/button/button.component.ts",{"_index":14,"title":{},"body":{"components/ButtonComponent.html":{}}}],["library/input/button/button.component.ts:14",{"_index":47,"title":{},"body":{"components/ButtonComponent.html":{}}}],["library/input/hidden/hidden.component.ts",{"_index":237,"title":{},"body":{"components/HiddenComponent.html":{}}}],["library/input/hidden/hidden.component.ts:16",{"_index":242,"title":{},"body":{"components/HiddenComponent.html":{}}}],["library/widget",{"_index":436,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{}}}],["library/widget.ts",{"_index":792,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:11",{"_index":795,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:13",{"_index":796,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:15",{"_index":797,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:17",{"_index":798,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:19",{"_index":799,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:22",{"_index":803,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:24",{"_index":802,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:26",{"_index":801,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:29",{"_index":794,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:64",{"_index":800,"title":{},"body":{"classes/Widget.html":{}}}],["license",{"_index":934,"title":{"license.html":{}},"body":{"license.html":{}}}],["limitation",{"_index":962,"title":{},"body":{"license.html":{}}}],["limited",{"_index":984,"title":{},"body":{"license.html":{}}}],["link",{"_index":387,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{}}}],["list",{"_index":672,"title":{},"body":{"injectables/LayoutService.html":{},"miscellaneous/variables.html":{}}}],["listener",{"_index":147,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["listners",{"_index":391,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["literal",{"_index":453,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}}}],["live",{"_index":904,"title":{},"body":{"index.html":{}}}],["location",{"_index":1061,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["lodash",{"_index":258,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"dependencies.html":{}}}],["lodash]{@link",{"_index":379,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["logic",{"_index":532,"title":{},"body":{"classes/LayoutNode.html":{}}}],["login.component.html",{"_index":1075,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["look",{"_index":808,"title":{},"body":{"classes/Widget.html":{}}}],["looking",{"_index":563,"title":{},"body":{"classes/LayoutNode.html":{}}}],["lookup",{"_index":725,"title":{},"body":{"injectables/SchemaService.html":{}}}],["lot",{"_index":900,"title":{},"body":{"index.html":{}}}],["main",{"_index":915,"title":{},"body":{"index.html":{}}}],["make",{"_index":352,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["manager",{"_index":135,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["map",{"_index":176,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"interfaces/LayoutItem.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{}}}],["map()).get(element",{"_index":226,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mapkeys",{"_index":586,"title":{},"body":{"classes/LayoutNode.html":{}}}],["mapkeys(pick(this.schema",{"_index":625,"title":{},"body":{"classes/LayoutNode.html":{}}}],["mappeddata",{"_index":223,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mappeddata.delete(key",{"_index":233,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mappeddata.set(key",{"_index":227,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mappeddata.size",{"_index":234,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mappedlayout",{"_index":687,"title":{},"body":{"injectables/LayoutService.html":{}}}],["mappedlayout.splice(starindex",{"_index":703,"title":{},"body":{"injectables/LayoutService.html":{}}}],["mappedpointers",{"_index":684,"title":{},"body":{"injectables/LayoutService.html":{}}}],["mappedpointers.add(layoutnode.datapointer",{"_index":694,"title":{},"body":{"injectables/LayoutService.html":{}}}],["mapping",{"_index":836,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["matched",{"_index":1153,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["matching",{"_index":109,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"modules.html":{},"overview.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["max",{"_index":473,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["means",{"_index":128,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["memoize",{"_index":590,"title":{},"body":{"classes/LayoutNode.html":{}}}],["merchantability",{"_index":986,"title":{},"body":{"license.html":{}}}],["merge",{"_index":965,"title":{},"body":{"license.html":{}}}],["metadata",{"_index":20,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["method",{"_index":287,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["methods",{"_index":35,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["minimum",{"_index":1042,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["miscellaneous",{"_index":1012,"title":{"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{}},"body":{"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{}}}],["mit",{"_index":935,"title":{},"body":{"license.html":{}}}],["model",{"_index":254,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["modify",{"_index":964,"title":{},"body":{"license.html":{}}}],["module",{"_index":247,"title":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{}},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{},"overview.html":{}}}],["module.componentfactories.find((f",{"_index":505,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["moduleref",{"_index":448,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["modules",{"_index":417,"title":{"modules.html":{}},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"modules.html":{},"overview.html":{}}}],["modulewithcomponentfactories",{"_index":471,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["more",{"_index":1074,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["mostly",{"_index":357,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["mozilla's",{"_index":367,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["multi",{"_index":440,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["multipart/form",{"_index":303,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["n",{"_index":1079,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["name",{"_index":50,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["native",{"_index":1070,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["necessary",{"_index":1157,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["need",{"_index":187,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"additional-documentation/introduction.html":{}}}],["needed",{"_index":539,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["never",{"_index":1155,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["new",{"_index":222,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"additional-documentation/introduction.html":{}}}],["newcomponent",{"_index":772,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["newlayout",{"_index":689,"title":{},"body":{"injectables/LayoutService.html":{}}}],["newlayout.concat(layoutnode",{"_index":695,"title":{},"body":{"injectables/LayoutService.html":{}}}],["ng2",{"_index":875,"title":{},"body":{"dependencies.html":{}}}],["ngafterviewinit",{"_index":821,"title":{},"body":{"classes/Widget.html":{}}}],["ngdestroy",{"_index":393,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["ngmodule",{"_index":434,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{}}}],["ngmoduleref",{"_index":449,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["ngonchanges",{"_index":774,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["ngonchanges(changes",{"_index":397,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/Widget.html":{}}}],["ngondestroy",{"_index":400,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["ngoninit",{"_index":395,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["ngx",{"_index":245,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"index.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["ngxjsonschemaform",{"_index":884,"title":{},"body":{"index.html":{}}}],["ngzone",{"_index":116,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["node",{"_index":60,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["node.ts",{"_index":530,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:22",{"_index":554,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:40",{"_index":560,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:58",{"_index":568,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:62",{"_index":572,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:66",{"_index":574,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:70",{"_index":577,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:75",{"_index":579,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:79",{"_index":582,"title":{},"body":{"classes/LayoutNode.html":{}}}],["nodes",{"_index":673,"title":{},"body":{"injectables/LayoutService.html":{}}}],["non",{"_index":192,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["noninfringement",{"_index":990,"title":{},"body":{"license.html":{}}}],["normalizes",{"_index":606,"title":{},"body":{"classes/LayoutNode.html":{}}}],["note",{"_index":521,"title":{},"body":{"interfaces/LayoutItem.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["notice",{"_index":975,"title":{},"body":{"license.html":{}}}],["npm",{"_index":912,"title":{},"body":{"index.html":{}}}],["null",{"_index":291,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["number",{"_index":649,"title":{},"body":{"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{}}}],["numerous",{"_index":1076,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["object",{"_index":355,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutItem.html":{},"injectables/SchemaService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["objects",{"_index":185,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["observable",{"_index":389,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["obtaining",{"_index":954,"title":{},"body":{"license.html":{}}}],["obviously",{"_index":257,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["older",{"_index":1064,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["omit",{"_index":587,"title":{},"body":{"classes/LayoutNode.html":{}}}],["omit(this.layoutitem",{"_index":626,"title":{},"body":{"classes/LayoutNode.html":{}}}],["once",{"_index":1045,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["onchanges",{"_index":273,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["onclick",{"_index":1113,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["onclick(event",{"_index":1116,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ondestroy",{"_index":274,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["oninit",{"_index":275,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["onto",{"_index":755,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["open",{"_index":1110,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["opendialog",{"_index":1141,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["opendialog(event",{"_index":1118,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["option",{"_index":1087,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["optional",{"_index":52,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["options",{"_index":34,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["options.data",{"_index":592,"title":{},"body":{"classes/LayoutNode.html":{}}}],["options.data.ts",{"_index":634,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["options.data.ts:32",{"_index":642,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["options.title",{"_index":1093,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["order",{"_index":1025,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["original",{"_index":570,"title":{},"body":{"classes/LayoutNode.html":{}}}],["others",{"_index":515,"title":{},"body":{"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}}}],["otherwise",{"_index":1000,"title":{},"body":{"license.html":{}}}],["out",{"_index":347,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{},"license.html":{},"overview.html":{},"additional-documentation/introduction.html":{}}}],["over",{"_index":890,"title":{},"body":{"index.html":{}}}],["overview",{"_index":1007,"title":{"overview.html":{}},"body":{"overview.html":{}}}],["package",{"_index":849,"title":{"dependencies.html":{}},"body":{}}],["page",{"_index":1021,"title":{"additional-documentation/introduction.html":{}},"body":{}}],["pairing",{"_index":210,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["param",{"_index":500,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["parameters",{"_index":48,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["parentschema",{"_index":736,"title":{},"body":{"injectables/SchemaService.html":{}}}],["parentschema.type",{"_index":737,"title":{},"body":{"injectables/SchemaService.html":{}}}],["parity",{"_index":902,"title":{},"body":{"index.html":{}}}],["parse",{"_index":533,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["parsing",{"_index":707,"title":{},"body":{"injectables/SchemaService.html":{}}}],["part",{"_index":943,"title":{},"body":{"license.html":{},"additional-documentation/introduction.html":{}}}],["particular",{"_index":988,"title":{},"body":{"license.html":{}}}],["pass",{"_index":545,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["passed",{"_index":478,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["path",{"_index":517,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{}}}],["per",{"_index":475,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["permission",{"_index":948,"title":{},"body":{"license.html":{}}}],["permit",{"_index":971,"title":{},"body":{"license.html":{}}}],["person",{"_index":953,"title":{},"body":{"license.html":{},"additional-documentation/introduction.html":{}}}],["person's",{"_index":1033,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["persons",{"_index":972,"title":{},"body":{"license.html":{}}}],["pertains",{"_index":593,"title":{},"body":{"classes/LayoutNode.html":{}}}],["pick",{"_index":588,"title":{},"body":{"classes/LayoutNode.html":{}}}],["pick(this.schema",{"_index":623,"title":{},"body":{"classes/LayoutNode.html":{}}}],["piggybacking",{"_index":121,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{}}}],["placeholder",{"_index":768,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["play",{"_index":906,"title":{},"body":{"index.html":{}}}],["playground",{"_index":267,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["plugin",{"_index":124,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["plugin.service",{"_index":438,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["plugin.service.ts",{"_index":114,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{}}}],["plugin.service.ts:22",{"_index":170,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["plugin.service.ts:27",{"_index":172,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["plugin.service.ts:32",{"_index":171,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["pointer",{"_index":610,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/SchemaService.html":{}}}],["pointer.charat(0",{"_index":612,"title":{},"body":{"classes/LayoutNode.html":{}}}],["pointer.replace(/\\./g",{"_index":613,"title":{},"body":{"classes/LayoutNode.html":{}}}],["pointers",{"_index":722,"title":{},"body":{"injectables/SchemaService.html":{}}}],["pointers.set(pointer.replace(/\\/properties/g",{"_index":738,"title":{},"body":{"injectables/SchemaService.html":{}}}],["populate",{"_index":817,"title":{},"body":{"classes/Widget.html":{}}}],["popup",{"_index":1142,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["portions",{"_index":937,"title":{},"body":{"license.html":{}}}],["post",{"_index":309,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["predecesor",{"_index":891,"title":{},"body":{"index.html":{}}}],["present",{"_index":129,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["presented",{"_index":561,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["primitive",{"_index":184,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["private",{"_index":220,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["project",{"_index":887,"title":{},"body":{"index.html":{},"license.html":{}}}],["projects/.../data",{"_index":1015,"title":{},"body":{"miscellaneous/typealiases.html":{}}}],["projects/.../index.ts",{"_index":1017,"title":{},"body":{"miscellaneous/variables.html":{}}}],["projects/demo/src/assets/examples",{"_index":932,"title":{},"body":{"index.html":{}}}],["projects/ngx",{"_index":10,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{}}}],["propagate",{"_index":813,"title":{},"body":{"classes/Widget.html":{}}}],["properties",{"_index":29,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["property",{"_index":523,"title":{},"body":{"interfaces/LayoutItem.html":{},"additional-documentation/introduction.html":{}}}],["propley",{"_index":1152,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["protected",{"_index":812,"title":{},"body":{"classes/Widget.html":{}}}],["provide",{"_index":342,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{}}}],["provided",{"_index":979,"title":{},"body":{"license.html":{}}}],["providedin",{"_index":132,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/WidgetLibraryService.html":{}}}],["providers",{"_index":278,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["provides",{"_index":179,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}}}],["proxy",{"_index":537,"title":{},"body":{"classes/LayoutNode.html":{}}}],["public",{"_index":547,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["publish",{"_index":966,"title":{},"body":{"license.html":{}}}],["pulled",{"_index":91,"title":{},"body":{"components/ButtonComponent.html":{}}}],["purpose",{"_index":989,"title":{},"body":{"license.html":{}}}],["put",{"_index":524,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["question1",{"_index":1062,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["question2",{"_index":1065,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["react",{"_index":368,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["reactiveformsmodule",{"_index":834,"title":{},"body":{"modules/WidgetLibraryModule.html":{}}}],["read",{"_index":767,"title":{},"body":{"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["readonly",{"_index":137,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["ready",{"_index":897,"title":{},"body":{"index.html":{}}}],["real",{"_index":343,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["recognized",{"_index":699,"title":{},"body":{"injectables/LayoutService.html":{}}}],["recursivereference",{"_index":633,"title":{},"body":{"classes/LayoutNode.html":{}}}],["redering",{"_index":1100,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ref",{"_index":628,"title":{},"body":{"classes/LayoutNode.html":{}}}],["reference",{"_index":203,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"classes/Widget.html":{}}}],["referenced",{"_index":211,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["referencing",{"_index":195,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["related",{"_index":565,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/SchemaService.html":{}}}],["relevant",{"_index":721,"title":{},"body":{"injectables/SchemaService.html":{}}}],["remove",{"_index":202,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["removed",{"_index":198,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["render",{"_index":459,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"additional-documentation/introduction.html":{}}}],["rendered",{"_index":308,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["rendering",{"_index":460,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["replace",{"_index":809,"title":{},"body":{"classes/Widget.html":{}}}],["represent",{"_index":527,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{}}}],["requirement",{"_index":1023,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["reset",{"_index":429,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"overview.html":{},"additional-documentation/introduction.html":{}}}],["respond",{"_index":1101,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["restriction",{"_index":960,"title":{},"body":{"license.html":{}}}],["result",{"_index":108,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"modules.html":{},"overview.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["results",{"_index":110,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"modules.html":{},"overview.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["return",{"_index":126,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"injectables/WidgetLibraryService.html":{}}}],["returned",{"_index":354,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["returns",{"_index":68,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["rewritten",{"_index":895,"title":{},"body":{"index.html":{}}}],["rights",{"_index":963,"title":{},"body":{"license.html":{}}}],["root",{"_index":133,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/WidgetLibraryService.html":{}}}],["run",{"_index":1106,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["running",{"_index":1143,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["runtime",{"_index":481,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["runtimecomponent",{"_index":483,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["runtimecomponentmodule",{"_index":486,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["rxjs",{"_index":328,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"dependencies.html":{}}}],["sample",{"_index":482,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["samples",{"_index":930,"title":{},"body":{"index.html":{}}}],["savethen",{"_index":914,"title":{},"body":{"index.html":{}}}],["scharett",{"_index":946,"title":{},"body":{"license.html":{}}}],["schema",{"_index":12,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["schema(value",{"_index":730,"title":{},"body":{"injectables/SchemaService.html":{}}}],["schema.json",{"_index":1027,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["schema.org/draft",{"_index":1030,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["schema.service",{"_index":334,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["schema.type",{"_index":598,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/SchemaService.html":{}}}],["schemapointers",{"_index":682,"title":{},"body":{"injectables/LayoutService.html":{}}}],["schemas",{"_index":927,"title":{},"body":{"index.html":{}}}],["schemaservice",{"_index":280,"title":{"injectables/SchemaService.html":{}},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"overview.html":{}}}],["schemaservice.datapointermap.get(layoutnode.getpointer(item.key",{"_index":604,"title":{},"body":{"classes/LayoutNode.html":{}}}],["schnell",{"_index":940,"title":{},"body":{"license.html":{}}}],["second",{"_index":1107,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["see",{"_index":296,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["seems",{"_index":495,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["select",{"_index":105,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["selector",{"_index":21,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{}}}],["selectwidgetcomponent",{"_index":104,"title":{"components/SelectWidgetComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["sell",{"_index":969,"title":{},"body":{"license.html":{}}}],["service",{"_index":175,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"classes/LayoutNode.html":{}}}],["services",{"_index":663,"title":{},"body":{"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}}}],["services.github.io/react",{"_index":373,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["services/react",{"_index":371,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["set",{"_index":205,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"interfaces/LayoutItem.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["set(element",{"_index":217,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["setlayout",{"_index":666,"title":{},"body":{"injectables/LayoutService.html":{}}}],["setlayout(value",{"_index":668,"title":{},"body":{"injectables/LayoutService.html":{}}}],["sets",{"_index":293,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{}}}],["setschema(value",{"_index":715,"title":{},"body":{"injectables/SchemaService.html":{}}}],["setter",{"_index":726,"title":{},"body":{"injectables/SchemaService.html":{}}}],["setting",{"_index":653,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["shall",{"_index":976,"title":{},"body":{"license.html":{}}}],["shown",{"_index":1069,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["side",{"_index":249,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["silly",{"_index":496,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["similar",{"_index":177,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"index.html":{}}}],["similarly",{"_index":1133,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["simple",{"_index":1090,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["simplechanges",{"_index":326,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/Widget.html":{}}}],["simply",{"_index":922,"title":{},"body":{"index.html":{},"additional-documentation/introduction.html":{}}}],["sm",{"_index":1080,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["software",{"_index":955,"title":{},"body":{"license.html":{}}}],["source",{"_index":4,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{}}}],["special",{"_index":1052,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["specific",{"_index":542,"title":{},"body":{"classes/LayoutNode.html":{}}}],["specifically",{"_index":1055,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["specified",{"_index":528,"title":{},"body":{"interfaces/LayoutItem.html":{},"additional-documentation/introduction.html":{}}}],["specify",{"_index":526,"title":{},"body":{"interfaces/LayoutItem.html":{},"additional-documentation/introduction.html":{}}}],["specifying",{"_index":1098,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["src",{"_index":659,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["standard",{"_index":1071,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["starindex",{"_index":685,"title":{},"body":{"injectables/LayoutService.html":{}}}],["started",{"_index":883,"title":{"index.html":{},"license.html":{}},"body":{}}],["static",{"_index":479,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{}}}],["still",{"_index":899,"title":{},"body":{"index.html":{}}}],["storage",{"_index":221,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service",{"_index":85,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["storage.service.ts",{"_index":174,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service.ts:21",{"_index":218,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service.ts:29",{"_index":213,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service.ts:36",{"_index":216,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service.ts:41",{"_index":208,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["store",{"_index":181,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["string",{"_index":75,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["structured",{"_index":253,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["style",{"_index":640,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["styles",{"_index":6,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["styleurls",{"_index":24,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["subject",{"_index":327,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"license.html":{}}}],["sublicense",{"_index":968,"title":{},"body":{"license.html":{}}}],["submit",{"_index":92,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["submitform",{"_index":282,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["submits",{"_index":321,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["submittal",{"_index":1156,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["submitted",{"_index":351,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["substantial",{"_index":978,"title":{},"body":{"license.html":{}}}],["such",{"_index":1103,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["super(jsf",{"_index":89,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["supply",{"_index":1024,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["support",{"_index":1004,"title":{},"body":{"modules.html":{}}}],["supported",{"_index":146,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["supports",{"_index":168,"title":{},"body":{"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["supports(eventname",{"_index":140,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["sure",{"_index":353,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["svg",{"_index":1005,"title":{},"body":{"modules.html":{}}}],["system",{"_index":541,"title":{},"body":{"classes/LayoutNode.html":{}}}],["t",{"_index":123,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["tabindex",{"_index":641,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["tag",{"_index":1084,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["take",{"_index":889,"title":{},"body":{"index.html":{}}}],["target",{"_index":288,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["tells",{"_index":1054,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["tempalte",{"_index":456,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["template",{"_index":5,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["template.content",{"_index":493,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["template.innerhtml",{"_index":491,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["templateurl",{"_index":26,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["test",{"_index":931,"title":{},"body":{"index.html":{}}}],["text",{"_index":1078,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["text/plain",{"_index":304,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["therefore",{"_index":1147,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["therfore",{"_index":1158,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["this._layout",{"_index":679,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this._schema",{"_index":731,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.ajv.compile(this.schema",{"_index":749,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.ajv.removeschema(this.schema",{"_index":747,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.buildlayout(difference(availablepointers",{"_index":704,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this.buildlayout(value",{"_index":680,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this.compiler",{"_index":503,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["this.compileschema",{"_index":732,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.componentfactory.resolvecomponentfactory",{"_index":785,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.control",{"_index":823,"title":{},"body":{"classes/Widget.html":{}}}],["this.createcomponent",{"_index":776,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.datapointer.split('/').pop",{"_index":616,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.destroyed$.complete",{"_index":402,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.destroyed$.next",{"_index":401,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.elementdatastorage.get(event.target",{"_index":159,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["this.elementdatastorage.has(event.target",{"_index":158,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["this.elementdatastorage.set(this.control.nativeelement",{"_index":824,"title":{},"body":{"classes/Widget.html":{}}}],["this.forminitialized",{"_index":399,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.generatengcontent",{"_index":787,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.haswidget(type",{"_index":845,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["this.initializeform",{"_index":405,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.initializelayout",{"_index":408,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.initializeschema",{"_index":407,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.jsf.compiletemplate(this.layoutnode.content",{"_index":790,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.jsf.formoptions.disableinvalidsubmit",{"_index":93,"title":{},"body":{"components/ButtonComponent.html":{}}}],["this.jsf.initializecontrol(this",{"_index":818,"title":{},"body":{"classes/Widget.html":{}}}],["this.jsf.updatevalue(this",{"_index":826,"title":{},"body":{"classes/Widget.html":{}}}],["this.layoutitem",{"_index":601,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.layoutitem.content",{"_index":622,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.layoutitem.name",{"_index":615,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.layoutitem.type",{"_index":619,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.layoutnode",{"_index":782,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.layoutnode.content",{"_index":789,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.layoutnode.layoutdefinition",{"_index":825,"title":{},"body":{"classes/Widget.html":{}}}],["this.layoutnode.options",{"_index":791,"title":{},"body":{"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["this.layoutnode.type",{"_index":783,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.layoutservice.setlayout(clonedeep(this.layout",{"_index":411,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.manager.getzone",{"_index":154,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["this.moduleref",{"_index":508,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["this.newcomponent",{"_index":777,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.newcomponent.instance[input",{"_index":778,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.options",{"_index":819,"title":{},"body":{"classes/Widget.html":{}}}],["this.schema",{"_index":602,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.schemaservice",{"_index":693,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this.schemaservice.datapointermap",{"_index":683,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this.schemaservice.schema",{"_index":414,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.storage.delete(element",{"_index":236,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.get(element",{"_index":224,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.get(element).get(key",{"_index":229,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.get(element).has(key",{"_index":231,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.has(element",{"_index":228,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.set(element",{"_index":225,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.updatecomponent",{"_index":773,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.updatedata",{"_index":815,"title":{},"body":{"classes/Widget.html":{}}}],["this.updateform",{"_index":396,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.validator",{"_index":748,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.validator(data",{"_index":745,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.widgetcontainer.createcomponent",{"_index":784,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.widgetlibraryservice.getwidget(this.layoutnode.type",{"_index":786,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.widgets[this.defaultwidget",{"_index":847,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["this.widgets[type",{"_index":846,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["this.x",{"_index":499,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["this[input",{"_index":779,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["throw",{"_index":595,"title":{},"body":{"classes/LayoutNode.html":{}}}],["throws",{"_index":594,"title":{},"body":{"classes/LayoutNode.html":{}}}],["thus",{"_index":190,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["time",{"_index":344,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["title",{"_index":624,"title":{},"body":{"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["todo",{"_index":90,"title":{},"body":{"components/ButtonComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{}}}],["tort",{"_index":999,"title":{},"body":{"license.html":{}}}],["trackbyfn",{"_index":283,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["trackbyfn(index",{"_index":322,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["translates",{"_index":1050,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["traverse",{"_index":264,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{},"dependencies.html":{}}}],["traverse(this.schema",{"_index":733,"title":{},"body":{"injectables/SchemaService.html":{}}}],["traverse]{@link",{"_index":383,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["tree",{"_index":8,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["trigger",{"_index":1129,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["triggered",{"_index":1135,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["true",{"_index":409,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/SchemaService.html":{},"additional-documentation/introduction.html":{}}}],["try",{"_index":691,"title":{},"body":{"injectables/LayoutService.html":{}}}],["tslib",{"_index":878,"title":{},"body":{"dependencies.html":{}}}],["tslint:disable",{"_index":472,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["type",{"_index":51,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["typealiases",{"_index":1013,"title":{"miscellaneous/typealiases.html":{}},"body":{}}],["typeof",{"_index":844,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["types",{"_index":193,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["types/ace",{"_index":861,"title":{},"body":{"dependencies.html":{}}}],["types/json",{"_index":863,"title":{},"body":{"dependencies.html":{}}}],["types/lodash",{"_index":865,"title":{},"body":{"dependencies.html":{}}}],["ui",{"_index":675,"title":{},"body":{"injectables/LayoutService.html":{}}}],["undeclared",{"_index":522,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["undefined",{"_index":230,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{}}}],["underlying",{"_index":807,"title":{},"body":{"classes/Widget.html":{}}}],["unique",{"_index":557,"title":{},"body":{"classes/LayoutNode.html":{}}}],["uniqueid",{"_index":589,"title":{},"body":{"classes/LayoutNode.html":{}}}],["uniqueid('control",{"_index":556,"title":{},"body":{"classes/LayoutNode.html":{}}}],["unknownformats",{"_index":742,"title":{},"body":{"injectables/SchemaService.html":{}}}],["unsubscribe",{"_index":390,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["up",{"_index":564,"title":{},"body":{"classes/LayoutNode.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["update",{"_index":65,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["updatecomponent",{"_index":775,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["updatedata",{"_index":822,"title":{},"body":{"classes/Widget.html":{}}}],["updateform",{"_index":404,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["updatevalue",{"_index":36,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["updatevalue(ctx",{"_index":467,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["updatevalue(event",{"_index":62,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["upgrade",{"_index":727,"title":{},"body":{"injectables/SchemaService.html":{}}}],["upon",{"_index":392,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{}}}],["urlencoded",{"_index":302,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["us/docs/web/html/element/form#attributes",{"_index":298,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["us/docs/web/html/element/input#dirname",{"_index":644,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input#disabled",{"_index":645,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input#readonly",{"_index":647,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input/image#alt",{"_index":654,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input/image#height",{"_index":656,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input/image#src",{"_index":658,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input/image#width",{"_index":660,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/accesskey",{"_index":643,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/class",{"_index":646,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/style",{"_index":648,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/tabindex",{"_index":650,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/title",{"_index":651,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["use",{"_index":189,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"index.html":{},"license.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["useclass",{"_index":441,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["used",{"_index":125,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"additional-documentation/introduction.html":{}}}],["useful",{"_index":1058,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["user",{"_index":336,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{}}}],["using",{"_index":337,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/Widget.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["usually",{"_index":1144,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["utility",{"_index":260,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["valdiated",{"_index":712,"title":{},"body":{"injectables/SchemaService.html":{}}}],["valid",{"_index":356,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["validate",{"_index":314,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{}}}],["validate(data",{"_index":709,"title":{},"body":{"injectables/SchemaService.html":{}}}],["validates",{"_index":335,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{}}}],["validating",{"_index":348,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{}}}],["validation",{"_index":717,"title":{},"body":{"injectables/SchemaService.html":{}}}],["validator",{"_index":263,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{}}}],["validators",{"_index":339,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["value",{"_index":66,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"miscellaneous/variables.html":{}}}],["var",{"_index":97,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["variable",{"_index":546,"title":{},"body":{"classes/LayoutNode.html":{}}}],["variables",{"_index":1016,"title":{"miscellaneous/variables.html":{}},"body":{"miscellaneous/variables.html":{}}}],["various",{"_index":1092,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["version",{"_index":728,"title":{},"body":{"injectables/SchemaService.html":{}}}],["via",{"_index":196,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"additional-documentation/introduction.html":{}}}],["viewchild",{"_index":770,"title":{},"body":{"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["viewchild('control",{"_index":810,"title":{},"body":{"classes/Widget.html":{}}}],["viewchild('widgetcontainer",{"_index":766,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["viewcontainerref",{"_index":765,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["void",{"_index":69,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["warranties",{"_index":985,"title":{},"body":{"license.html":{}}}],["warranty",{"_index":980,"title":{},"body":{"license.html":{}}}],["weakmap",{"_index":197,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["whether",{"_index":997,"title":{},"body":{"license.html":{}}}],["widget",{"_index":19,"title":{"classes/Widget.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["widget.component.css",{"_index":757,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget.component.html",{"_index":758,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget.component.ts",{"_index":752,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget.component.ts:25",{"_index":763,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget/select",{"_index":751,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget:11",{"_index":72,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:13",{"_index":76,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:15",{"_index":77,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:17",{"_index":79,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:19",{"_index":81,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:22",{"_index":59,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:24",{"_index":57,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:26",{"_index":55,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:64",{"_index":64,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widgetcontainer",{"_index":759,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widgetlibrarymodule",{"_index":427,"title":{"modules/WidgetLibraryModule.html":{}},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"modules.html":{},"overview.html":{}}}],["widgetlibraryservice",{"_index":762,"title":{"injectables/WidgetLibraryService.html":{}},"body":{"components/SelectWidgetComponent.html":{},"injectables/WidgetLibraryService.html":{}}}],["widgets",{"_index":465,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["width",{"_index":661,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["window.open('http://www.google.com",{"_index":1114,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["wire",{"_index":1048,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["within",{"_index":1026,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["without",{"_index":959,"title":{},"body":{"license.html":{}}}],["wont",{"_index":1154,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["work",{"_index":543,"title":{},"body":{"classes/LayoutNode.html":{}}}],["works",{"_index":183,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["wrapper",{"_index":120,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{}}}],["www",{"_index":301,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["x",{"_index":476,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["years",{"_index":1037,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["yes",{"_index":555,"title":{},"body":{"classes/LayoutNode.html":{}}}],["yourself",{"_index":1149,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["z]+/.test(eventname",{"_index":144,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["z]+\\.data\\.[a",{"_index":142,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["za",{"_index":143,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["zero",{"_index":1040,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["zone",{"_index":153,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["zone.js",{"_index":880,"title":{},"body":{"dependencies.html":{}}}],["zone.runguarded",{"_index":161,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["zone.runoutsideangular",{"_index":163,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["zoom",{"_index":428,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{}}}]],"pipeline":["stemmer"]}, - "store": {"components/ButtonComponent.html":{"url":"components/ButtonComponent.html","title":"component - ButtonComponent","body":"\n \n\n\n\n\n\n Components\n ButtonComponent\n\n\n\n \n Info\n \n \n Source\n \n \n Template\n \n \n Styles\n \n \n DOM Tree\n \n\n\n\n \n File\n\n\n projects/ngx-json-schema-form/src/lib/widget-library/input/button/button.component.ts\n\n\n \n Description\n \n \n Displays a control \n\n \n\n \n Extends\n \n \n Widget\n \n\n\n\n\n Metadata\n \n \n\n\n\n\n\n\n\n\n\n\n\n \n selector\n jsf-button\n \n\n \n styleUrls\n ./button.component.scss\n \n\n\n\n \n templateUrl\n ./button.component.html\n \n\n\n\n\n\n\n\n\n \n \n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n controlDisabled\n \n \n controlName\n \n \n controlValue\n \n \n formControl\n \n \n options\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n updateValue\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n dataIndex\n \n \n layoutIndex\n \n \n layoutNode\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/input/button/button.component.ts:14\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n jsf\n \n \n JsonSchemaFormService\n \n \n \n No\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n dataIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:26\n\n \n \n \n \n Index of the data in data array \n\n \n \n \n \n \n \n \n \n \n layoutIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:24\n\n \n \n \n \n Index of the layout in the Layout array \n\n \n \n \n \n \n \n \n \n \n layoutNode\n \n \n \n \n Type : LayoutNode\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:22\n\n \n \n \n \n Layout Node describing the control \n\n \n \n \n \n\n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(event: Event)\n \n \n\n\n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:64\n\n \n \n\n\n \n \n Update the value of the control\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n event\n \n Event\n \n\n \n No\n \n\n\n \n \nChange event\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n controlDisabled\n \n \n \n \n \n \n Default value : false\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:11\n\n \n \n\n \n \n Flag to disable the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlName\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:13\n\n \n \n\n \n \n Name for the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlValue\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:15\n\n \n \n\n \n \n Value of the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n formControl\n \n \n \n \n \n \n Type : AbstractControl\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:17\n\n \n \n\n \n \n Associated FormControl for widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:19\n\n \n \n\n \n \n Options for the control \n\n \n \n\n \n \n\n\n\n\n\n \n import { Component } from '@angular/core';\n\nimport { ElementDataStorageService } from '../../../element-data-storage.service';\nimport { JsonSchemaFormService } from '../../../json-schema-form.service';\n\nimport { Widget } from '../../widget';\n\n/** Displays a control */\n@Component({\n selector: 'jsf-button',\n styleUrls: ['./button.component.scss'],\n templateUrl: './button.component.html'\n})\nexport class ButtonComponent extends Widget {\n constructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService) {\n super(jsf, elementDataStorage);\n }\n\n\n // TODO- pulled from submit\n // this.jsf.formOptions.disableInvalidSubmit\n}\n\n \n\n \n \n\n \n\n\n \n\n \n \n ./button.component.scss\n \n \n \n\n \n \n \n \n Legend\n \n \n Html element\n \n \n Component\n \n \n Html element with directive\n \n \n \n\n \n\n\n\n\n\n\n var COMPONENT_TEMPLATE = ' '\n var COMPONENTS = [{'name': 'ButtonComponent', 'selector': 'jsf-button'},{'name': 'HiddenComponent', 'selector': 'jsf-hidden'},{'name': 'JsonSchemaFormComponent', 'selector': 'jsf-json-schema-form'},{'name': 'SelectWidgetComponent', 'selector': 'jsf-select-widget'}];\n var DIRECTIVES = [];\n var ACTUAL_COMPONENT = {'name': 'ButtonComponent'};\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"interfaces/Data.html":{"url":"interfaces/Data.html","title":"interface - Data","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n Interfaces\n Data\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n data\n \n \n \n \n \n \n \n\n\n\n \n Properties\n \n \n \n \n \n data\n \n \n \n \n data: any\n\n \n \n\n\n \n \n Type : any\n\n \n \n\n\n\n\n\n \n \n \n \n\n\n \n import { Injectable, NgZone } from '@angular/core';\nimport { EventManager } from '@angular/platform-browser';\n\nimport { ElementDataStorageService } from './element-data-storage.service';\n\nexport interface Data {\n data: any;\n}\n/** Event wrapper for piggybacking data on an event */\nexport type DataEvent = Data & T;\n\n/**\n * Plugin used to return data, associated with an element, in the event. Data must first be\n * \"associated\" with an element by means of the ElementDataStorageService. If no data is\n * present, then the event handler will not be fired.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class DataEventPluginService {\n /** Event manager used to get the ngZone */\n manager: EventManager;\n\n constructor(private readonly elementDataStorage: ElementDataStorageService) {}\n\n /** Determine if the plugin should be applied to an event */\n supports(eventName: string): boolean {\n return /[a-z]+\\.data\\.[a-zA-Z]+/.test(eventName);\n }\n\n /** Adds a supported event listener to a dom node */\n addEventListener(element: HTMLElement, eventName: string, handler: Function): Function {\n const zone: NgZone = this.manager.getZone();\n const [type, , dataName] = eventName.split('.');\n const eventHandler = (event: DataEvent): void => {\n if (this.elementDataStorage.has(event.target as HTMLElement, dataName)) {\n const data = this.elementDataStorage.get(event.target as HTMLElement, dataName);\n event.data = data;\n\n zone.runGuarded(() => {\n handler(event);\n });\n }\n };\n\n zone.runOutsideAngular(() => {\n element.addEventListener(type, eventHandler, false);\n });\n\n return () => {\n element.removeEventListener(type, eventHandler, false);\n };\n }\n}\n\n \n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/DataEventPluginService.html":{"url":"injectables/DataEventPluginService.html","title":"injectable - DataEventPluginService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n DataEventPluginService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts\n \n\n \n Description\n \n \n Plugin used to return data, associated with an element, in the event. Data must first be\n\"associated\" with an element by means of the ElementDataStorageService. If no data is\npresent, then the event handler will not be fired.\n\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n manager\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n addEventListener\n \n \n supports\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts:22\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n addEventListener\n \n \n \n \n \n \n \naddEventListener(element: HTMLElement, eventName: string, handler: Function)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts:32\n \n \n\n\n \n \n Adds a supported event listener to a dom node \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n eventName\n \n string\n \n\n \n No\n \n\n\n \n \n handler\n \n Function\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Function\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n supports\n \n \n \n \n \n \n \nsupports(eventName: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts:27\n \n \n\n\n \n \n Determine if the plugin should be applied to an event \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n eventName\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n manager\n \n \n \n \n \n \n Type : EventManager\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts:22\n \n \n\n \n \n Event manager used to get the ngZone \n\n \n \n\n \n \n\n\n \n\n\n \n import { Injectable, NgZone } from '@angular/core';\nimport { EventManager } from '@angular/platform-browser';\n\nimport { ElementDataStorageService } from './element-data-storage.service';\n\nexport interface Data {\n data: any;\n}\n/** Event wrapper for piggybacking data on an event */\nexport type DataEvent = Data & T;\n\n/**\n * Plugin used to return data, associated with an element, in the event. Data must first be\n * \"associated\" with an element by means of the ElementDataStorageService. If no data is\n * present, then the event handler will not be fired.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class DataEventPluginService {\n /** Event manager used to get the ngZone */\n manager: EventManager;\n\n constructor(private readonly elementDataStorage: ElementDataStorageService) {}\n\n /** Determine if the plugin should be applied to an event */\n supports(eventName: string): boolean {\n return /[a-z]+\\.data\\.[a-zA-Z]+/.test(eventName);\n }\n\n /** Adds a supported event listener to a dom node */\n addEventListener(element: HTMLElement, eventName: string, handler: Function): Function {\n const zone: NgZone = this.manager.getZone();\n const [type, , dataName] = eventName.split('.');\n const eventHandler = (event: DataEvent): void => {\n if (this.elementDataStorage.has(event.target as HTMLElement, dataName)) {\n const data = this.elementDataStorage.get(event.target as HTMLElement, dataName);\n event.data = data;\n\n zone.runGuarded(() => {\n handler(event);\n });\n }\n };\n\n zone.runOutsideAngular(() => {\n element.addEventListener(type, eventHandler, false);\n });\n\n return () => {\n element.removeEventListener(type, eventHandler, false);\n };\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/ElementDataStorageService.html":{"url":"injectables/ElementDataStorageService.html","title":"injectable - ElementDataStorageService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n ElementDataStorageService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts\n \n\n \n Description\n \n \n Service to map data to an DOM element similar to jQuery $.data\nWhile HTML provides its data-* attributes to store data on the node\nitself, this only works for primitive data. Objects and arrays would need\nto be converted to json for then to use data-* and thus would not\nbe able to contain non-json types like Function. This service allows\nfor referencing data to a HTML element via a WeakMap so that when the element\nis removed from the DOM, the garbage collector can automatically remove the\nreference in the Service.\n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n delete\n \n \n get\n \n \n has\n \n \n set\n \n \n \n \n\n\n\n\n\n \n \n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n delete\n \n \n \n \n \n \n \ndelete(element: HTMLElement, key: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts:41\n \n \n\n\n \n \n Remove a key/value pairing from map referenced by element \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n key\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n get\n \n \n \n \n \n \n \nget(element: HTMLElement, key: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts:29\n \n \n\n\n \n \n Return a key's value for an element \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n key\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n has\n \n \n \n \n \n \n \nhas(element: HTMLElement, key: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts:36\n \n \n\n\n \n \n Determine if an element has a key/value pairing referenced \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n key\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n set\n \n \n \n \n \n \n \nset(element: HTMLElement, key: string, value: any)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts:21\n \n \n\n\n \n \n Add key/value pairing to map referenced by element \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n key\n \n string\n \n\n \n No\n \n\n\n \n \n value\n \n any\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : ElementDataStorageService\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@angular/core';\n\n/**\n * Service to map data to an DOM element similar to jQuery $.data\n * While HTML provides its data-* attributes to store data on the node\n * itself, this only works for primitive data. Objects and arrays would need\n * to be converted to json for then to use data-* and thus would not\n * be able to contain non-json types like Function. This service allows\n * for referencing data to a HTML element via a WeakMap so that when the element\n * is removed from the DOM, the garbage collector can automatically remove the\n * reference in the Service.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class ElementDataStorageService {\n /** Map to reference data to an element */\n private readonly storage: WeakMap> = new WeakMap>();\n\n /** Add key/value pairing to map referenced by element */\n set(element: HTMLElement, key: string, value: any): ElementDataStorageService {\n const mappedData = this.storage.get(element) || this.storage.set(element, new Map()).get(element);\n mappedData.set(key, value);\n\n return this;\n }\n\n /** Return a key's value for an element */\n get(element: HTMLElement, key: string): any {\n return this.storage.has(element)\n ? this.storage.get(element).get(key)\n : undefined;\n }\n\n /** Determine if an element has a key/value pairing referenced */\n has(element: HTMLElement, key: string): boolean {\n return this.storage.has(element) && this.storage.get(element).has(key);\n }\n\n /** Remove a key/value pairing from map referenced by element */\n delete(element: HTMLElement, key: string): boolean {\n let deleted = this.storage.has(element);\n if (deleted) {\n const mappedData = this.storage.get(element);\n deleted = mappedData.delete(key);\n if (mappedData.size === 0) {\n this.storage.delete(element);\n }\n }\n\n return deleted;\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"components/HiddenComponent.html":{"url":"components/HiddenComponent.html","title":"component - HiddenComponent","body":"\n \n\n\n\n\n\n Components\n HiddenComponent\n\n\n\n \n Info\n \n \n Source\n \n \n Template\n \n \n Styles\n \n \n DOM Tree\n \n\n\n\n \n File\n\n\n projects/ngx-json-schema-form/src/lib/widget-library/input/hidden/hidden.component.ts\n\n\n \n Description\n \n \n Displays an input[type='hidden']\n\n \n\n \n Extends\n \n \n Widget\n \n\n\n\n\n Metadata\n \n \n\n\n\n\n\n\n\n\n\n\n\n \n selector\n jsf-hidden\n \n\n \n styleUrls\n ./hidden.component.scss\n \n\n\n\n \n templateUrl\n ./hidden.component.html\n \n\n\n\n\n\n\n\n\n \n \n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n controlDisabled\n \n \n controlName\n \n \n controlValue\n \n \n formControl\n \n \n options\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n updateValue\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n dataIndex\n \n \n layoutIndex\n \n \n layoutNode\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/input/hidden/hidden.component.ts:16\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n jsf\n \n \n JsonSchemaFormService\n \n \n \n No\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n dataIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:26\n\n \n \n \n \n Index of the data in data array \n\n \n \n \n \n \n \n \n \n \n layoutIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:24\n\n \n \n \n \n Index of the layout in the Layout array \n\n \n \n \n \n \n \n \n \n \n layoutNode\n \n \n \n \n Type : LayoutNode\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:22\n\n \n \n \n \n Layout Node describing the control \n\n \n \n \n \n\n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(event: Event)\n \n \n\n\n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:64\n\n \n \n\n\n \n \n Update the value of the control\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n event\n \n Event\n \n\n \n No\n \n\n\n \n \nChange event\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n controlDisabled\n \n \n \n \n \n \n Default value : false\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:11\n\n \n \n\n \n \n Flag to disable the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlName\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:13\n\n \n \n\n \n \n Name for the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlValue\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:15\n\n \n \n\n \n \n Value of the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n formControl\n \n \n \n \n \n \n Type : AbstractControl\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:17\n\n \n \n\n \n \n Associated FormControl for widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:19\n\n \n \n\n \n \n Options for the control \n\n \n \n\n \n \n\n\n\n\n\n \n import { Component } from '@angular/core';\n\nimport { ElementDataStorageService } from '../../../element-data-storage.service';\nimport { JsonSchemaFormService } from '../../../json-schema-form.service';\n\nimport { Widget } from '../../widget';\n\n/**\n * Displays an input[type='hidden']\n */\n@Component({\n selector: 'jsf-hidden',\n styleUrls: ['./hidden.component.scss'],\n templateUrl: './hidden.component.html'\n})\nexport class HiddenComponent extends Widget {\n constructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService) {\n super(jsf, elementDataStorage);\n }\n}\n\n \n\n \n \n\n \n\n \n \n ./hidden.component.scss\n \n \n \n\n \n \n \n \n Legend\n \n \n Html element\n \n \n Component\n \n \n Html element with directive\n \n \n \n\n \n\n\n\n\n\n\n var COMPONENT_TEMPLATE = ''\n var COMPONENTS = [{'name': 'ButtonComponent', 'selector': 'jsf-button'},{'name': 'HiddenComponent', 'selector': 'jsf-hidden'},{'name': 'JsonSchemaFormComponent', 'selector': 'jsf-json-schema-form'},{'name': 'SelectWidgetComponent', 'selector': 'jsf-select-widget'}];\n var DIRECTIVES = [];\n var ACTUAL_COMPONENT = {'name': 'HiddenComponent'};\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"components/JsonSchemaFormComponent.html":{"url":"components/JsonSchemaFormComponent.html","title":"component - JsonSchemaFormComponent","body":"\n \n\n\n\n\n\n Components\n JsonSchemaFormComponent\n\n\n\n \n Info\n \n \n Source\n \n \n Template\n \n \n DOM Tree\n \n\n\n\n \n File\n\n\n projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts\n\n\n \n Description\n \n \n NGX JSON Schema Form\nRoot module of the NGX JSON Schema Form client-side library,\nan Angular library which generates an HTML form from a JSON schema\nstructured data model and/or a JSON Schema Form layout description.\nThis library depends on:\n\nAngular (obviously)\nlodash, JavaScript utility library\najv, Another JSON Schema validator\njson-schema-traverse, JSON Schema Traverse\n\nIn addition, the Example Playground also depends on:\n\nbrace, Browserified Ace editor\n\n\n \n\n\n \n Implements\n \n \n OnChanges\n OnDestroy\n OnInit\n \n\n\n\n Metadata\n \n \n\n \n changeDetection\n ChangeDetectionStrategy.OnPush\n \n\n\n\n\n\n\n\n\n \n providers\n \n JsonSchemaFormService\n LayoutService\n SchemaService\n \n \n\n\n \n selector\n jsf-json-schema-form\n \n\n\n\n\n \n templateUrl\n ./json-schema-form.component.html\n \n\n\n\n\n\n\n\n\n \n \n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n submitForm\n \n \n trackByFn\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n action\n \n \n autocomplete\n \n \n enctype\n \n \n layout\n \n \n method\n \n \n schema\n \n \n target\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(schemaService: SchemaService, layoutService: LayoutService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:94\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n schemaService\n \n \n SchemaService\n \n \n \n No\n \n \n \n \n layoutService\n \n \n LayoutService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n action\n \n \n \n \n Type : string | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:70\n \n \n \n \n Sets the action attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n \n \n \n \n \n autocomplete\n \n \n \n \n Type : \"on\" | \"off\" | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:75\n \n \n \n \n Sets the autocomplete attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n \n \n \n \n \n enctype\n \n \n \n \n Type : \"application/x-www-form-urlencoded\" | \"multipart/form-data\" | \"text/plain\" | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:80\n \n \n \n \n Sets the enctype attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n \n \n \n \n \n layout\n \n \n \n \n Type : Array\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:65\n \n \n \n \n Layout used to define how the form is rendered \n\n \n \n \n \n \n \n \n \n \n method\n \n \n \n \n Type : \"get\" | \"post\" | \"dialog\" | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:85\n \n \n \n \n Sets the method attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n \n \n \n \n \n schema\n \n \n \n \n Type : JSONSchema7\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:63\n \n \n \n \n JSON Schema used to validate form data \n\n \n \n \n \n \n \n \n \n \n target\n \n \n \n \n Type : \"_self\" | \"_blank\" | \"_parent\" | \"_top\" | string | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:90\n \n \n \n \n Sets the target attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n\n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n submitForm\n \n \n \n \n \n \n \nsubmitForm()\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:119\n \n \n\n\n \n \n Submits the form \n\n\n \n Returns : void\n\n \n \n \n \n \n \n \n \n \n \n \n \n trackByFn\n \n \n \n \n \n \n \ntrackByFn(index)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:124\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n \n \n \n \n index\n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n\n\n\n\n\n \n import {\n ChangeDetectionStrategy, Component, Input,\n OnChanges, OnDestroy, OnInit, SimpleChanges\n} from '@angular/core';\n\nimport { Subject } from 'rxjs';\n\nimport { cloneDeep, isPlainObject } from 'lodash';\n\nimport { JSONSchema7 } from 'json-schema';\n\nimport { JsonSchemaFormService } from './json-schema-form.service';\nimport { LayoutItem } from './layout-item.data';\nimport { LayoutService } from './layout.service';\nimport { SchemaService } from './schema.service';\n\n// * This library also validates input data by the user, using both validators on\n// * individual controls to provide real-time feedback while the user is filling\n// * out the form, and then validating the entire input against the schema when\n// * the form is submitted to make sure the returned JSON data object is valid.\n// *\n// * This library is similar to, and mostly API compatible with:\n// *\n// * - JSON Schema Form's [Angular Schema Form]{@link http://schemaform.io} library for AngularJs\n// * [(examples)]{@link http://schemaform.io/examples/bootstrap-example.html}\n// *\n// * - Mozilla's [react-jsonschema-form]{@link https://github.com/mozilla-services/react-jsonschema-form} library for React\n// * [(examples)]{@link https://mozilla-services.github.io/react-jsonschema-form}\n// *\n// * - Joshfire's [JSON Form]{@link https://github.com/joshfire/jsonform} library for jQuery\n// * [(examples)]{@link http://ulion.github.io/jsonform/playground}\n/**\n * NGX JSON Schema Form\n *\n * Root module of the NGX JSON Schema Form client-side library,\n * an Angular library which generates an HTML form from a JSON schema\n * structured data model and/or a JSON Schema Form layout description.\n *\n * This library depends on:\n *\n * - [Angular]{@link https://angular.io} (obviously)\n * - [lodash]{@link https://github.com/lodash/lodash}, JavaScript utility library\n * - [ajv]{@link https://github.com/epoberezkin/ajv}, Another JSON Schema validator\n * - [json-schema-traverse]{@link https://github.com/epoberezkin/json-schema-traverse}, JSON Schema Traverse\n *\n * In addition, the Example Playground also depends on:\n *\n * - [brace]{@link http://thlorenz.github.io/brace}, Browserified Ace editor\n */\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n JsonSchemaFormService,\n LayoutService,\n SchemaService\n ],\n selector: 'jsf-json-schema-form',\n styles: [],\n templateUrl: './json-schema-form.component.html'\n})\nexport class JsonSchemaFormComponent implements OnChanges, OnDestroy, OnInit {\n /** JSON Schema used to validate form data */\n @Input() schema: JSONSchema7;\n /** Layout used to define how the form is rendered */\n @Input() layout: Array;\n /**\n * Sets the action attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() action: string | null;\n /**\n * Sets the autocomplete attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() autocomplete: 'on' | 'off' | null;\n /**\n * Sets the enctype attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() enctype: 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' | null;\n /**\n * Sets the method attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() method: 'get' | 'post' | 'dialog' | null;\n /**\n * Sets the target attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() target: '_self' | '_blank' | '_parent' | '_top' | string | null;\n\n private formInitialized = false;\n /** Observable to used to unsubscribe listners upon ngDestroy */\n private readonly destroyed$: Subject = new Subject();\n\n constructor(\n // private readonly jsf: JsonSchemaFormService,\n private readonly schemaService: SchemaService,\n readonly layoutService: LayoutService\n ) {}\n\n ngOnInit() {\n this.updateForm();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes.hasOwnProperty('schema')) {\n this.formInitialized = false;\n }\n this.updateForm();\n }\n\n ngOnDestroy() {\n this.destroyed$.next();\n this.destroyed$.complete();\n }\n\n /** Submits the form */\n submitForm(): void {\n // TODO\n console.warn(this);\n }\n\n trackByFn(index) {\n return index;\n }\n\n private updateForm(): void {\n if (!this.formInitialized) {\n this.initializeForm();\n }\n }\n\n private initializeForm(): void {\n this.initializeSchema();\n this.initializeLayout();\n this.formInitialized = true;\n }\n\n private initializeLayout(): void {\n this.layoutService.setLayout(cloneDeep(this.layout || ['*']));\n }\n\n private initializeSchema(): void {\n if (isPlainObject(this.schema)) {\n this.schemaService.schema = cloneDeep(this.schema);\n }\n }\n}\n\n \n\n \n \n \n\n\n \n\n\n \n \n \n \n Legend\n \n \n Html element\n \n \n Component\n \n \n Html element with directive\n \n \n \n\n \n\n\n\n\n\n\n var COMPONENT_TEMPLATE = ' '\n var COMPONENTS = [{'name': 'ButtonComponent', 'selector': 'jsf-button'},{'name': 'HiddenComponent', 'selector': 'jsf-hidden'},{'name': 'JsonSchemaFormComponent', 'selector': 'jsf-json-schema-form'},{'name': 'SelectWidgetComponent', 'selector': 'jsf-select-widget'}];\n var DIRECTIVES = [];\n var ACTUAL_COMPONENT = {'name': 'JsonSchemaFormComponent'};\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/JsonSchemaFormModule.html":{"url":"modules/JsonSchemaFormModule.html","title":"module - JsonSchemaFormModule","body":"\n \n\n\n\n\n Modules\n JsonSchemaFormModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\nLegend\n\n  Declarations\n\n  Module\n\n  Bootstrap\n\n  Providers\n\n  Exports\n\ncluster_JsonSchemaFormModule\n\n\n\ncluster_JsonSchemaFormModule_declarations\n\n\n\ncluster_JsonSchemaFormModule_JsonSchemaFormComponent_providers\n\n\n\ncluster_JsonSchemaFormModule_imports\n\n\n\ncluster_JsonSchemaFormModule_exports\n\n\n\n\nJsonSchemaFormComponent\n\nJsonSchemaFormComponent\n\n\n\nJsonSchemaFormModule\n\nJsonSchemaFormModule\n\nJsonSchemaFormModule -->\n\nJsonSchemaFormComponent->JsonSchemaFormModule\n\n\n\n\n\nJsonSchemaFormComponent \n\nJsonSchemaFormComponent \n\nJsonSchemaFormComponent -->\n\nJsonSchemaFormModule->JsonSchemaFormComponent \n\n\n\n\n\nWidgetLibraryModule \n\nWidgetLibraryModule \n\nWidgetLibraryModule -->\n\nJsonSchemaFormModule->WidgetLibraryModule \n\n\n\n\n\nJsonSchemaFormService\n\nJsonSchemaFormService\n\nJsonSchemaFormComponent -->\n\nJsonSchemaFormService->JsonSchemaFormComponent\n\n\n\n\n\nLayoutService\n\nLayoutService\n\nJsonSchemaFormComponent -->\n\nLayoutService->JsonSchemaFormComponent\n\n\n\n\n\nSchemaService\n\nSchemaService\n\nJsonSchemaFormComponent -->\n\nSchemaService->JsonSchemaFormComponent\n\n\n\n\n\nWidgetLibraryModule\n\nWidgetLibraryModule\n\nJsonSchemaFormModule -->\n\nWidgetLibraryModule->JsonSchemaFormModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n projects/ngx-json-schema-form/src/lib/json-schema-form.module.ts\n \n\n\n\n\n \n \n \n Declarations\n \n \n JsonSchemaFormComponent\n \n \n \n \n Imports\n \n \n WidgetLibraryModule\n \n \n \n \n Exports\n \n \n JsonSchemaFormComponent\n \n \n WidgetLibraryModule\n \n \n \n \n \n\n\n \n\n\n \n import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';\n\nimport { WidgetLibraryModule } from './widget-library/widget-library.module';\n\nimport { DataEventPluginService } from './data-event-plugin.service';\nimport { JsonSchemaFormComponent } from './json-schema-form.component';\n\n@NgModule({\n declarations: [ JsonSchemaFormComponent ],\n exports: [ JsonSchemaFormComponent, WidgetLibraryModule ],\n imports: [ CommonModule, WidgetLibraryModule ],\n providers: [{\n multi: true,\n provide: EVENT_MANAGER_PLUGINS,\n useClass: DataEventPluginService\n }]\n})\nexport class JsonSchemaFormModule { }\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/JsonSchemaFormService.html":{"url":"injectables/JsonSchemaFormService.html","title":"injectable - JsonSchemaFormService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n JsonSchemaFormService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts\n \n\n \n Description\n \n \n TODO \n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n compileTemplate\n \n \n initializeControl\n \n \n updateValue\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(compiler: Compiler, injector: Injector, moduleRef: NgModuleRef)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts:39\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n compiler\n \n \n Compiler\n \n \n \n No\n \n \n \n \n injector\n \n \n Injector\n \n \n \n No\n \n \n \n \n moduleRef\n \n \n NgModuleRef\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n compileTemplate\n \n \n \n \n \n \n \ncompileTemplate(template: string, context: literal type)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts:60\n \n \n\n\n \n \n Compiles an HTML tempalte and data into a document fragment\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Default value\n Description\n \n \n \n \n template\n \n string\n \n\n \n No\n \n\n \n \n\n \n \nHTML template to render\n\n\n \n \n \n context\n \n literal type\n \n\n \n No\n \n\n \n {}\n \n\n \n \noptions to use when rendering the template\n\n\n \n \n \n \n \n \n \n \n Returns : DocumentFragment\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n initializeControl\n \n \n \n \n \n \n \ninitializeControl(control: Widget, bind)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts:44\n \n \n\n\n \n \n Sets a widgets properties upon Widget creation \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Default value\n \n \n \n \n control\n \n Widget\n \n\n \n No\n \n\n \n \n\n \n \n bind\n \n \n\n \n No\n \n\n \n true\n \n\n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(ctx: any, value: any)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts:50\n \n \n\n\n \n \n TODO \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n ctx\n \n any\n \n\n \n No\n \n\n\n \n \n value\n \n any\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { CommonModule } from '@angular/common';\nimport {\n Compiler, Component, ComponentRef, Injectable, Injector,\n ModuleWithComponentFactories, NgModule, NgModuleRef\n} from '@angular/core';\n\nimport { Widget } from './widget-library';\n\n/* tslint:disable: max-classes-per-file */\n/** TODO */\n@Injectable()\nexport class JsonSchemaFormService {\n private x = false;\n\n /** Creates a component with passed in template and associated context */\n private static createComponent(template: string, context: {[key: string]: any}): any {\n return Component({\n selector: `runtime-component-sample`,\n template\n })(class RuntimeComponent {\n options: any = context;\n });\n }\n\n /** Create a module for use with the RuntimeComponent */\n private static createModule(component: any, compiler: Compiler): ModuleWithComponentFactories {\n @NgModule({ imports: [CommonModule], declarations: [component] })\n class RuntimeComponentModule { }\n\n return compiler.compileModuleAndAllComponentsSync(RuntimeComponentModule);\n }\n\n /** Get a components innerHTML as a document Fragment */\n private static getDocumentFragment(componentRef: ComponentRef): DocumentFragment {\n const template = document.createElement('template');\n template.innerHTML = (componentRef.location.nativeElement).innerHTML;\n\n return template.content;\n }\n\n constructor(private readonly compiler: Compiler, private readonly injector: Injector, private readonly moduleRef: NgModuleRef) {}\n\n /** Sets a widgets properties upon Widget creation */\n initializeControl(control: Widget, bind = true): void {\n // Do we even need to do this? seems silly\n control.controlName = control.layoutNode.name;\n }\n\n /** TODO */\n updateValue(ctx: any, value: any): void {\n // TODO\n this.x = !this.x;\n }\n\n /**\n * Compiles an HTML tempalte and data into a document fragment\n * @param template - HTML template to render\n * @param context - options to use when rendering the template\n */\n compileTemplate(template: string, context: {[key: string]: any} = {}): DocumentFragment {\n const component: any = JsonSchemaFormService.createComponent(template, context);\n const module = JsonSchemaFormService.createModule(component, this.compiler);\n const factory = module.componentFactories.find((f) => f.componentType === component);\n const componentRef: ComponentRef = factory.create(this.injector, undefined, undefined, this.moduleRef);\n\n componentRef.hostView.detectChanges();\n const fragment = JsonSchemaFormService.getDocumentFragment(componentRef);\n componentRef.destroy();\n\n return fragment;\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"interfaces/LayoutItem.html":{"url":"interfaces/LayoutItem.html","title":"interface - LayoutItem","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n Interfaces\n LayoutItem\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/layout-item.data.ts\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Optional\n key\n \n \n Optional\n name\n \n \n Optional\n options\n \n \n Optional\n type\n \n \n \n \n \n \n \n\n\n \n Indexable\n \n \n \n \n [others: string]: any\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-item.data.ts:16\n \n \n \n \n\n\n \n Properties\n \n \n \n \n \n key\n \n \n \n \n key: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n Object path to map this item to a data value \n\n \n \n \n \n \n \n \n \n \n name\n \n \n \n \n name: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n Name for the item. Will be used as the input[name] \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n options: literal type\n\n \n \n\n\n \n \n Type : literal type\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n Container for options to set on widgets.\nNOTE: this is optional as any undeclared property will automatically be put into an options contianer\n\n \n \n \n \n \n \n \n \n \n type\n \n \n \n \n type: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n Specify what type of widget is used to represent the data.\nIf not is specified, the JSON Schema will be used to determine the most appropriate widget\n\n \n \n \n \n \n \n\n\n \n export interface LayoutItem {\n /** Object path to map this item to a data value */\n key?: string;\n /** Name for the item. Will be used as the input[name] */\n name?: string;\n /**\n * Container for options to set on widgets.\n * NOTE: this is optional as any undeclared property will automatically be put into an options contianer\n */\n options?: {[others: string]: any};\n /**\n * Specify what type of widget is used to represent the data.\n * If not is specified, the JSON Schema will be used to determine the most appropriate widget\n */\n type?: string;\n\n [others: string]: any;\n}\n\n \n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/LayoutNode.html":{"url":"classes/LayoutNode.html","title":"class - LayoutNode","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n LayoutNode\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/layout-node.ts\n \n\n \n Description\n \n \n The LayoutNode contains the logic to parse a LayoutItem along with its Schema.\nA LayoutNode acts, to some degree, as a proxy of the LayoutItem, augmenting data\nas needed. This gives the system a specific api to work with while allowing the\nuser to pass in variable data, so a degree.\n\n \n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Public\n Readonly\n id\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n Static\n create\n \n \n \n \n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n layoutDefinition\n \n \n name\n \n \n dataPointer\n \n \n type\n \n \n content\n \n \n options\n \n \n \n \n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(layoutItem: LayoutItem, schema?: JSONSchema7)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:22\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n layoutItem\n \n \n LayoutItem\n \n \n \n No\n \n \n \n \n schema\n \n \n JSONSchema7\n \n \n \n Yes\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n Public\n Readonly\n id\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Default value : uniqueId('control')\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:22\n \n \n\n \n \n Unique Identifier for the item \n\n \n \n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n Static\n create\n \n \n \n \n \n \n \n \n create(layoutItem: LayoutItem | string, schemaService: SchemaService)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:40\n \n \n\n\n \n \n Creates a LayoutNode\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n layoutItem\n \n LayoutItem | string\n \n\n \n No\n \n\n\n \n \nA LayoutItem presented by the user. If a string is given, it is converted into a LayoutItem\n\n\n \n \n \n schemaService\n \n SchemaService\n \n\n \n No\n \n\n\n \n \nService for looking up related Schema definition\n\n\n \n \n \n \n \n \n \n \n Returns : LayoutNode\n\n \n \n \n \n \n \n \n \n\n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n layoutDefinition\n \n \n\n \n \n getlayoutDefinition()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:58\n \n \n \n \n Copy of the original layoutItem \n\n\n \n Returns : LayoutItem\n\n \n \n \n\n \n \n \n \n \n \n \n name\n \n \n\n \n \n getname()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:62\n \n \n \n \n Name for the item. Will be used as the input[name] \n\n\n \n Returns : string\n\n \n \n \n\n \n \n \n \n \n \n \n dataPointer\n \n \n\n \n \n getdataPointer()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:66\n \n \n \n \n JSON path for accessing data for this layout item \n\n\n \n Returns : string\n\n \n \n \n\n \n \n \n \n \n \n \n type\n \n \n\n \n \n gettype()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:70\n \n \n \n \n Type of widget is used to represent the data \n\n\n \n Returns : string\n\n \n \n \n\n \n \n \n \n \n \n \n content\n \n \n\n \n \n getcontent()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:75\n \n \n \n \n HTML content to be rendered inside the widget \n\n\n \n Returns : string\n\n \n \n \n\n \n \n \n \n \n \n \n options\n \n \n\n \n \n getoptions()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:79\n \n \n \n \n Options for the widget \n\n\n \n Returns : LayoutOptions\n\n \n \n \n\n \n \n\n \n\n\n \n import { JSONSchema7 } from 'json-schema';\nimport { cloneDeep, defaultTo, isString, mapKeys, omit, pick, uniqueId } from 'lodash';\nimport { Memoize } from 'lodash-decorators';\n\nimport { LayoutItem } from './layout-item.data';\nimport { LayoutOptions } from './layout-options.data';\nimport { SchemaService } from './schema.service';\n\n/**\n * The LayoutNode contains the logic to parse a LayoutItem along with its Schema.\n * A LayoutNode acts, to some degree, as a proxy of the LayoutItem, augmenting data\n * as needed. This gives the system a specific api to work with while allowing the\n * user to pass in variable data, so a degree.\n */\nexport class LayoutNode {\n /** Reference to the user defined layout item */\n private readonly layoutItem: LayoutItem;\n /** Reference to the schema that pertains the layout */\n private readonly schema: JSONSchema7;\n\n /** Unique Identifier for the item */\n public readonly id: string = uniqueId('control');\n\n /**\n * @throws Will throw an error if there is no layout.type or schema.type\n */\n constructor(layoutItem: LayoutItem, schema?: JSONSchema7) {\n if (!layoutItem.type && !(schema && schema.type)) {\n throw new Error('Missing \"type\"....');\n }\n this.layoutItem = layoutItem;\n this.schema = schema;\n }\n\n /**\n * Creates a LayoutNode\n * @param layoutItem - A LayoutItem presented by the user. If a string is given, it is converted into a LayoutItem\n * @param schemaService - Service for looking up related Schema definition\n */\n public static create(layoutItem: LayoutItem | string, schemaService: SchemaService): LayoutNode {\n const item: LayoutItem = isString(layoutItem)\n ? {key: layoutItem}\n : layoutItem;\n const schema: JSONSchema7 = schemaService.dataPointerMap.get(LayoutNode.getPointer(item.key));\n\n return new LayoutNode(item, schema);\n }\n\n /** Normalizes a key(object.path or json/path) to json path */\n private static getPointer(key: string): string {\n const pointer = defaultTo(key, '');\n\n return pointer.charAt(0) === '/'\n ? pointer\n : `/${pointer.replace(/\\./g, '/')}`;\n }\n /** Copy of the original layoutItem */\n @Memoize() get layoutDefinition(): LayoutItem {\n return cloneDeep(this.layoutItem);\n }\n /** Name for the item. Will be used as the input[name] */\n @Memoize() get name(): string {\n return this.layoutItem.name || this.dataPointer.split('/').pop();\n }\n /** JSON path for accessing data for this layout item */\n @Memoize() get dataPointer(): string {\n return LayoutNode.getPointer(this.layoutItem.key);\n }\n /** Type of widget is used to represent the data */\n @Memoize() get type(): string {\n // TODO: handle array of types\n return this.layoutItem.type || defaultTo(this.schema, {}).type;\n }\n /** HTML content to be rendered inside the widget */\n @Memoize() get content(): string {\n return isString(this.layoutItem.content) ? this.layoutItem.content : undefined;\n }\n /** Options for the widget */\n @Memoize() get options(): LayoutOptions {\n return {\n ...pick(this.schema, ['title', 'description']),\n ...mapKeys(pick(this.schema, ['readOnly']), () => 'readonly'),\n ...omit(this.layoutItem, ['key', 'type', 'name', 'content', 'options']),\n ...defaultTo(this.layoutItem.options, {})\n };\n }\n\n // $ref?: any;\n // arrayItem?;\n // arrayItemType?;\n // dataType?;\n // items?: Array;\n // recursiveReference?;\n\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"interfaces/LayoutOptions.html":{"url":"interfaces/LayoutOptions.html","title":"interface - LayoutOptions","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n Interfaces\n LayoutOptions\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/layout-options.data.ts\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Optional\n accesskey\n \n \n Optional\n dirname\n \n \n Optional\n disabled\n \n \n Optional\n htmlClass\n \n \n Optional\n icon\n \n \n Optional\n readonly\n \n \n Optional\n style\n \n \n Optional\n tabindex\n \n \n Optional\n title\n \n \n \n \n \n \n \n\n\n \n Indexable\n \n \n \n \n [others: string]: any\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-options.data.ts:32\n \n \n \n \n\n\n \n Properties\n \n \n \n \n \n accesskey\n \n \n \n \n accesskey: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey \n\n \n \n \n \n \n \n \n \n \n dirname\n \n \n \n \n dirname: boolean\n\n \n \n\n\n \n \n Type : boolean\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#dirname \n\n \n \n \n \n \n \n \n \n \n disabled\n \n \n \n \n disabled: boolean\n\n \n \n\n\n \n \n Type : boolean\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled \n\n \n \n \n \n \n \n \n \n \n htmlClass\n \n \n \n \n htmlClass: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class \n\n \n \n \n \n \n \n \n \n \n icon\n \n \n \n \n icon: literal type\n\n \n \n\n\n \n \n Type : literal type\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n \n \n \n \n \n readonly\n \n \n \n \n readonly: boolean\n\n \n \n\n\n \n \n Type : boolean\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly \n\n \n \n \n \n \n \n \n \n \n style\n \n \n \n \n style: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style \n\n \n \n \n \n \n \n \n \n \n tabindex\n \n \n \n \n tabindex: number\n\n \n \n\n\n \n \n Type : number\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex \n\n \n \n \n \n \n \n \n \n \n title\n \n \n \n \n title: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title \n\n \n \n \n \n \n \n\n\n \n export interface LayoutOptions {\n /* Global HTML attributes */\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey} */\n accesskey?: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class} */\n htmlClass?: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style} */\n style?: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex} */\n tabindex?: number;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title} */\n title?: string;\n\n /* Global HTML Input attributes */\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#dirname} */\n dirname?: boolean;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled} */\n disabled?: boolean;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly} */\n readonly?: boolean;\n\n /* Attribute for setting a icon */\n icon?: {\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image#alt} */\n alt?: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image#height} */\n height?: number;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image#src} */\n src: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image#width} */\n width?: number;\n };\n\n [others: string]: any;\n}\n\n \n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/LayoutService.html":{"url":"injectables/LayoutService.html","title":"injectable - LayoutService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n LayoutService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/layout.service.ts\n \n\n \n Description\n \n \n Provides services for handling layouts \n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Public\n setLayout\n \n \n \n \n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n layout\n \n \n \n \n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(schemaService: SchemaService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout.service.ts:20\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n schemaService\n \n \n SchemaService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n Public\n setLayout\n \n \n \n \n \n \n \n \n setLayout(value: Array)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout.service.ts:24\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n value\n \n Array\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n\n \n \n Accessors\n \n \n \n \n \n \n layout\n \n \n\n \n \n getlayout()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout.service.ts:18\n \n \n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n Description\n \n \n \n \n value\n \n\n \n No\n \n \n \n \nList of Layout Nodes to be displayed in the UI\n\n\n \n \n \n \n \n \n \n \n Returns : Array\n\n \n \n \n\n \n \n\n \n\n\n \n import { Injectable } from '@angular/core';\n\nimport { difference } from 'lodash';\n\nimport { JSONSchema7Definition } from 'json-schema';\n\nimport { LayoutItem } from './layout-item.data';\nimport { LayoutNode } from './layout-node';\nimport { SchemaService } from './schema.service';\n\n/** Provides services for handling layouts */\n@Injectable()\nexport class LayoutService {\n private _layout: Array = [];\n /**\n * @param value - List of Layout Nodes to be displayed in the UI\n */\n get layout(): Array {\n return this._layout;\n }\n\n constructor(private readonly schemaService: SchemaService) {}\n\n public setLayout(value: Array): void {\n this._layout = this.buildLayout(value);\n }\n\n private buildLayout(layout: Array): Array {\n const schemaPointers: Map = this.schemaService.dataPointerMap;\n const mappedPointers: Set = new Set();\n let starIndex = -1;\n\n const mappedLayout: Array =\n layout.reduce((currentLayout: Array, layoutItem: LayoutItem | string, i: number): Array => {\n let newLayout: Array = currentLayout;\n\n if (layoutItem === '*') {\n starIndex = i;\n } else {\n try {\n const layoutNode: LayoutNode = LayoutNode.create(layoutItem, this.schemaService);\n mappedPointers.add(layoutNode.dataPointer);\n newLayout = newLayout.concat(layoutNode);\n } catch (err) {\n console.error('buildLayout error: Form layout element not recognized:');\n console.error(layoutItem);\n }\n }\n\n return newLayout;\n }, []);\n\n if (starIndex !== -1) {\n const availablePointers: Array = Array.from(schemaPointers.keys());\n mappedLayout.splice(starIndex, 0, ...this.buildLayout(difference(availablePointers, Array.from(mappedPointers))));\n }\n\n return mappedLayout;\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/SchemaService.html":{"url":"injectables/SchemaService.html","title":"injectable - SchemaService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n SchemaService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/schema.service.ts\n \n\n \n Description\n \n \n Provides services for parsing JSON Schema and validating data \n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n validate\n \n \n \n \n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n schema\n \n \n dataPointerMap\n \n \n \n \n \n \n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n validate\n \n \n \n \n \n \n \nvalidate(data: any)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/schema.service.ts:49\n \n \n\n\n \n \n Validates data based on set JSON Schema\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n data\n \n any\n \n\n \n No\n \n\n\n \n \ndata to be valdiated\n\n\n \n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n\n\n \n \n Accessors\n \n \n \n \n \n \n schema\n \n \n\n \n \n getschema()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/schema.service.ts:21\n \n \n\n \n \n setschema(value)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/schema.service.ts:17\n \n \n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n Description\n \n \n \n \n value\n \n \n \n No\n \n \n \n \nJSON Schema to be used for validation\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n \n \n dataPointerMap\n \n \n\n \n \n getdataPointerMap()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/schema.service.ts:30\n \n \n \n \n Gets a map of all the relevant json data pointers\nand their related schema definitions. This allows for\neasy lookup of a schema reference from a json pointer.\n\n\n \n Returns : Map\n\n \n \n \n\n \n \n\n \n\n\n \n import { Injectable } from '@angular/core';\n\nimport traverse from 'json-schema-traverse';\n\nimport Ajv from 'ajv';\n\nimport { JSONSchema7, JSONSchema7Definition } from 'json-schema';\n\n/** Provides services for parsing JSON Schema and validating data */\n@Injectable()\nexport class SchemaService {\n // TODO: Setter function to automatically upgrade schema version?\n private _schema: JSONSchema7 = {};\n /**\n * @param value - JSON Schema to be used for validation\n */\n set schema(value: JSONSchema7) {\n this._schema = value;\n this.compileSchema();\n }\n get schema(): JSONSchema7 {\n return this._schema;\n }\n\n /**\n * Gets a map of all the relevant json data pointers\n * and their related schema definitions. This allows for\n * easy lookup of a schema reference from a json pointer.\n */\n get dataPointerMap(): Map {\n const pointers: Map = new Map();\n traverse(this.schema, {cb: (...args) => {\n const [schema, pointer, , , , parentSchema] = args;\n if (pointer && parentSchema && parentSchema.type !== 'array' && schema.type !== 'object') {\n pointers.set(pointer.replace(/\\/properties/g, ''), schema);\n }\n }});\n\n return pointers;\n }\n\n private readonly ajv: Ajv.Ajv = new Ajv({ allErrors: true, jsonPointers: true, unknownFormats: 'ignore' });\n private validator: Ajv.ValidateFunction;\n\n /**\n * Validates data based on set JSON Schema\n * @param data - data to be valdiated\n */\n validate(data: any): boolean {\n return this.validator(data);\n }\n\n private compileSchema() {\n this.ajv.removeSchema(this.schema);\n this.validator = this.ajv.compile(this.schema);\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"components/SelectWidgetComponent.html":{"url":"components/SelectWidgetComponent.html","title":"component - SelectWidgetComponent","body":"\n \n\n\n\n\n\n Components\n SelectWidgetComponent\n\n\n\n \n Info\n \n \n Source\n \n \n Template\n \n \n Styles\n \n \n DOM Tree\n \n\n\n\n \n File\n\n\n projects/ngx-json-schema-form/src/lib/widget-library/container/select-widget/select-widget.component.ts\n\n\n \n Description\n \n \n Dynamically creates a widget component based on a layout node.\nChanges in @Input attributes will be passed onto the created widget.\n\n \n\n \n Extends\n \n \n Widget\n \n\n \n Implements\n \n \n OnInit\n OnChanges\n \n\n\n\n Metadata\n \n \n\n\n\n\n\n\n\n\n\n\n\n \n selector\n jsf-select-widget\n \n\n \n styleUrls\n ./select-widget.component.css\n \n\n\n\n \n templateUrl\n ./select-widget.component.html\n \n\n\n\n\n\n\n\n\n \n \n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n widgetContainer\n \n \n controlDisabled\n \n \n controlName\n \n \n controlValue\n \n \n formControl\n \n \n options\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n updateValue\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n dataIndex\n \n \n layoutIndex\n \n \n layoutNode\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(componentFactory: ComponentFactoryResolver, widgetLibraryService: WidgetLibraryService, jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/container/select-widget/select-widget.component.ts:25\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n componentFactory\n \n \n ComponentFactoryResolver\n \n \n \n No\n \n \n \n \n widgetLibraryService\n \n \n WidgetLibraryService\n \n \n \n No\n \n \n \n \n jsf\n \n \n JsonSchemaFormService\n \n \n \n No\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n dataIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:26\n\n \n \n \n \n Index of the data in data array \n\n \n \n \n \n \n \n \n \n \n layoutIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:24\n\n \n \n \n \n Index of the layout in the Layout array \n\n \n \n \n \n \n \n \n \n \n layoutNode\n \n \n \n \n Type : LayoutNode\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:22\n\n \n \n \n \n Layout Node describing the control \n\n \n \n \n \n\n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(event: Event)\n \n \n\n\n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:64\n\n \n \n\n\n \n \n Update the value of the control\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n event\n \n Event\n \n\n \n No\n \n\n\n \n \nChange event\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n widgetContainer\n \n \n \n \n \n \n Type : ViewContainerRef\n\n \n \n \n \n Decorators : \n \n \n @ViewChild('widgetContainer', {read: ViewContainerRef})\n \n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/container/select-widget/select-widget.component.ts:25\n \n \n\n \n \n Placeholder for injecting widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlDisabled\n \n \n \n \n \n \n Default value : false\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:11\n\n \n \n\n \n \n Flag to disable the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlName\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:13\n\n \n \n\n \n \n Name for the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlValue\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:15\n\n \n \n\n \n \n Value of the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n formControl\n \n \n \n \n \n \n Type : AbstractControl\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:17\n\n \n \n\n \n \n Associated FormControl for widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:19\n\n \n \n\n \n \n Options for the control \n\n \n \n\n \n \n\n\n\n\n\n \n import {\n Component, ComponentFactoryResolver, ComponentRef,\n OnChanges, OnInit, ViewChild, ViewContainerRef\n} from '@angular/core';\n\nimport { ElementDataStorageService } from '../../../element-data-storage.service';\nimport { JsonSchemaFormService } from '../../../json-schema-form.service';\n\nimport { Widget } from '../../widget';\nimport { WidgetLibraryService } from '../../widget-library.service';\n\n/**\n * Dynamically creates a widget component based on a layout node.\n * Changes in @Input attributes will be passed onto the created widget.\n */\n@Component({\n selector: 'jsf-select-widget',\n styleUrls: ['./select-widget.component.css'],\n templateUrl: './select-widget.component.html'\n})\nexport class SelectWidgetComponent extends Widget implements OnInit, OnChanges {\n private newComponent: ComponentRef;\n\n /** Placeholder for injecting widget */\n @ViewChild('widgetContainer', { read: ViewContainerRef }) widgetContainer: ViewContainerRef;\n\n constructor(private readonly componentFactory: ComponentFactoryResolver,\n private readonly widgetLibraryService: WidgetLibraryService,\n jsf: JsonSchemaFormService,\n elementDataStorage: ElementDataStorageService) {\n super(jsf, elementDataStorage);\n }\n\n ngOnInit() {\n this.updateComponent();\n }\n\n ngOnChanges() {\n this.updateComponent();\n }\n\n private updateComponent(): void {\n this.createComponent();\n if (this.newComponent) {\n for (const input of ['layoutNode', 'layoutIndex', 'dataIndex']) {\n this.newComponent.instance[input] = this[input];\n }\n }\n }\n\n private createComponent(): void {\n // TODO: What if layoutNode were to change? The form would be incorrect.\n if (!this.newComponent && this.layoutNode && this.layoutNode.type) {\n this.newComponent = this.widgetContainer.createComponent(\n this.componentFactory.resolveComponentFactory(\n this.widgetLibraryService.getWidget(this.layoutNode.type) as any\n ),\n undefined,\n undefined,\n this.generateNgContent()\n );\n }\n }\n\n private generateNgContent(): Array> {\n if (this.layoutNode.content) {\n return [ [ this.jsf.compileTemplate(this.layoutNode.content, this.layoutNode.options) ] ];\n }\n }\n}\n\n \n\n \n \n\n \n\n \n \n ./select-widget.component.css\n \n \n \n\n \n \n \n \n Legend\n \n \n Html element\n \n \n Component\n \n \n Html element with directive\n \n \n \n\n \n\n\n\n\n\n\n var COMPONENT_TEMPLATE = ''\n var COMPONENTS = [{'name': 'ButtonComponent', 'selector': 'jsf-button'},{'name': 'HiddenComponent', 'selector': 'jsf-hidden'},{'name': 'JsonSchemaFormComponent', 'selector': 'jsf-json-schema-form'},{'name': 'SelectWidgetComponent', 'selector': 'jsf-select-widget'}];\n var DIRECTIVES = [];\n var ACTUAL_COMPONENT = {'name': 'SelectWidgetComponent'};\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/Widget.html":{"url":"classes/Widget.html","title":"class - Widget","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n Widget\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/widget-library/widget.ts\n \n\n \n Description\n \n \n Widget \n\n \n\n\n \n Implements\n \n \n OnChanges\n OnInit\n AfterViewInit\n \n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n controlDisabled\n \n \n controlName\n \n \n controlValue\n \n \n formControl\n \n \n options\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n updateValue\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n dataIndex\n \n \n layoutIndex\n \n \n layoutNode\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:29\n \n \n\n \n \n constructor \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n jsf\n \n \n JsonSchemaFormService\n \n \n \n No\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n controlDisabled\n \n \n \n \n \n \n Default value : false\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:11\n \n \n\n \n \n Flag to disable the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlName\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:13\n \n \n\n \n \n Name for the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlValue\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:15\n \n \n\n \n \n Value of the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n formControl\n \n \n \n \n \n \n Type : AbstractControl\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:17\n \n \n\n \n \n Associated FormControl for widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:19\n \n \n\n \n \n Options for the control \n\n \n \n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(event: Event)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:64\n \n \n\n\n \n \n Update the value of the control\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n event\n \n Event\n \n\n \n No\n \n\n\n \n \nChange event\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n dataIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:26\n \n \n \n \n Index of the data in data array \n\n \n \n \n \n \n \n \n \n \n layoutIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:24\n \n \n \n \n Index of the layout in the Layout array \n\n \n \n \n \n \n \n \n \n \n layoutNode\n \n \n \n \n Type : LayoutNode\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:22\n \n \n \n \n Layout Node describing the control \n\n \n \n \n \n\n\n\n\n \n\n\n \n import { AfterViewInit, ElementRef, Input, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';\nimport { AbstractControl } from '@angular/forms';\n\nimport { ElementDataStorageService } from '../element-data-storage.service';\nimport { JsonSchemaFormService } from '../json-schema-form.service';\nimport { LayoutNode } from '../layout-node';\n\n/** Widget */\nexport abstract class Widget implements OnChanges, OnInit, AfterViewInit {\n /** Flag to disable the control */\n controlDisabled = false;\n /** Name for the control */\n controlName: string;\n /** Value of the control */\n controlValue: any;\n /** Associated FormControl for widget */\n formControl: AbstractControl;\n /** Options for the control */\n options: any;\n\n /** Layout Node describing the control */\n @Input() layoutNode: LayoutNode;\n /** Index of the layout in the Layout array */\n @Input() layoutIndex: Array;\n /** Index of the data in data array */\n @Input() dataIndex: Array;\n\n /** Reference to the underlying control. Look to replace using FormControl */\n @ViewChild('control', {read: ElementRef}) private readonly control: ElementRef;\n\n /** constructor */\n constructor(protected jsf: JsonSchemaFormService, protected elementDataStorage: ElementDataStorageService) {}\n\n /** Propagate layoutNode changes to the ElementDataStorage */\n ngOnChanges(changes: SimpleChanges) {\n if (changes.layoutNode) {\n this.updateData();\n }\n }\n /**\n * Initialize the control and populate the options\n */\n ngOnInit() {\n this.jsf.initializeControl(this);\n this.options = this.layoutNode.options || {};\n }\n\n /** Set the initial layout in the ElementDataStorage */\n ngAfterViewInit() {\n this.updateData();\n }\n\n /** Update the ElementDataStorage */\n private updateData(): void {\n if (this.control) {\n this.elementDataStorage.set(this.control.nativeElement, 'layout', this.layoutNode.layoutDefinition);\n }\n }\n\n /**\n * Update the value of the control\n * @param event - Change event\n */\n updateValue(event: Event) {\n this.jsf.updateValue(this, (event.target).value);\n }\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/WidgetLibraryModule.html":{"url":"modules/WidgetLibraryModule.html","title":"module - WidgetLibraryModule","body":"\n \n\n\n\n\n Modules\n WidgetLibraryModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\nLegend\n\n  Declarations\n\n  Module\n\n  Bootstrap\n\n  Providers\n\n  Exports\n\ncluster_WidgetLibraryModule\n\n\n\ncluster_WidgetLibraryModule_declarations\n\n\n\ncluster_WidgetLibraryModule_exports\n\n\n\n\nButtonComponent\n\nButtonComponent\n\n\n\nWidgetLibraryModule\n\nWidgetLibraryModule\n\nWidgetLibraryModule -->\n\nButtonComponent->WidgetLibraryModule\n\n\n\n\n\nHiddenComponent\n\nHiddenComponent\n\nWidgetLibraryModule -->\n\nHiddenComponent->WidgetLibraryModule\n\n\n\n\n\nSelectWidgetComponent\n\nSelectWidgetComponent\n\nWidgetLibraryModule -->\n\nSelectWidgetComponent->WidgetLibraryModule\n\n\n\n\n\nButtonComponent \n\nButtonComponent \n\nButtonComponent -->\n\nWidgetLibraryModule->ButtonComponent \n\n\n\n\n\nHiddenComponent \n\nHiddenComponent \n\nHiddenComponent -->\n\nWidgetLibraryModule->HiddenComponent \n\n\n\n\n\nSelectWidgetComponent \n\nSelectWidgetComponent \n\nSelectWidgetComponent -->\n\nWidgetLibraryModule->SelectWidgetComponent \n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n projects/ngx-json-schema-form/src/lib/widget-library/widget-library.module.ts\n \n\n\n\n\n \n \n \n Declarations\n \n \n ButtonComponent\n \n \n HiddenComponent\n \n \n SelectWidgetComponent\n \n \n \n \n EntryComponents\n \n \n BASIC_WIDGETS\n \n \n \n \n Exports\n \n \n ButtonComponent\n \n \n HiddenComponent\n \n \n SelectWidgetComponent\n \n \n \n \n \n\n\n \n\n\n \n import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { BASIC_WIDGETS } from '.';\n\n@NgModule({\n declarations: [ ...BASIC_WIDGETS ],\n entryComponents: [ ...BASIC_WIDGETS ],\n exports: [ ...BASIC_WIDGETS ],\n imports: [ CommonModule, ReactiveFormsModule ]\n})\nexport class WidgetLibraryModule { }\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/WidgetLibraryService.html":{"url":"injectables/WidgetLibraryService.html","title":"injectable - WidgetLibraryService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n WidgetLibraryService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/widget-library/widget-library.service.ts\n \n\n \n Description\n \n \n Provides services for mapping a widget component to a layoutNode type\n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n getWidget\n \n \n \n \n\n\n\n\n\n \n \n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n getWidget\n \n \n \n \n \n \n \ngetWidget(type: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget-library.service.ts:28\n \n \n\n\n \n \n Gets a widget class from the type\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n type\n \n string\n \n\n \n No\n \n\n\n \n \ntype of component\n\n\n \n \n \n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@angular/core';\n\nimport { ButtonComponent } from './input/button/button.component';\nimport { HiddenComponent } from './input/hidden/hidden.component';\nimport { Widget } from './widget';\n\n/**\n * Provides services for mapping a widget component to a layoutNode type\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class WidgetLibraryService {\n private readonly defaultWidget = 'hidden';\n\n private readonly widgets = {\n button: ButtonComponent,\n hidden: HiddenComponent,\n image: ButtonComponent,\n reset: ButtonComponent,\n submit: ButtonComponent\n };\n\n /**\n * Gets a widget class from the type\n * @param type - type of component\n */\n getWidget(type: string): typeof Widget {\n return this.hasWidget(type)\n ? this.widgets[type]\n : this.widgets[this.defaultWidget];\n }\n\n private hasWidget(type: string): boolean {\n return !!this.widgets[type];\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"dependencies.html":{"url":"dependencies.html","title":"package-dependencies - dependencies","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n Dependencies\n \n \n \n @angular/animations : ~7.2.0\n \n @angular/cdk : ^7.2.0\n \n @angular/common : ~7.2.0\n \n @angular/compiler : ~7.2.0\n \n @angular/core : ~7.2.0\n \n @angular/flex-layout : 7.0.0-beta.24\n \n @angular/forms : ~7.2.0\n \n @angular/http : ~7.2.0\n \n @angular/material : ~7.2.0\n \n @angular/platform-browser : ~7.2.0\n \n @angular/platform-browser-dynamic : ~7.2.0\n \n @angular/router : ~7.2.0\n \n @types/ace : 0.0.36\n \n @types/json-schema : ^7.0.3\n \n @types/lodash : ^4.14.136\n \n ajv : ^6.10.0\n \n brace : ^0.11.0\n \n core-js : ^2.5.4\n \n json-schema-traverse : ^0.4.1\n \n lodash : ^4.17.14\n \n lodash-decorators : ^6.0.1\n \n ng2-ace-editor : 0.3.9\n \n rxjs : ~6.5.2\n \n tslib : ^1.9.0\n \n zone.js : ~0.9.1\n \n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"index.html":{"url":"index.html","title":"getting-started - index","body":"\n \n\n\n\n\n\n\n\n\nNgxJsonSchemaForm\nA JSON Schema Form builder for Angular 7+, similar to\n\nAngular JSON Schema Form's \n\nNote: This project attemtps to take over where its predecesor left off.\nIt's based off of the above project, but rewritten from the ground up.\nNote: This project is not ready for consumption. There is still a lot to do to\nbring parity with Angular JSON Schema Form\nCheck out the live demo and play with the examples\nCheck out some examples here.\nUsing Angular JSON Schema Form\nBasic use\nBegin by installing the library in your project\nnpm install ngx-json-schema-form --saveThen import JsonSchemaFormModule in your main application module:\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { JsonSchemaFormModule } from 'ngx-json-schema-form';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n declarations: [ AppComponent ],\n imports: [\n BrowserModule,\n JsonSchemaFormModule\n ],\n bootstrap: [ AppComponent ]\n})\nexport class AppModule { }To display a form in your Angular component, simply add the following to your component's template:\nWhere schema is a valid JSON schema object. If you don't already have your own schemas, you can find a bunch of samples to test with in the projects/demo/src/assets/examples folder.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"license.html":{"url":"license.html","title":"getting-started - license","body":"\n \n\nThe MIT License\nCopyright for portions of project NGX-Json-Schema-Form are held by [David Schnell-Davis, 2014]\nas part of project Angular2-Json-Schema-Form. All other copyright for project NGX-Json-Schema-Form\nare held by [James Scharett, 2019]\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules.html":{"url":"modules.html","title":"modules - modules","body":"\n \n\n\n\n\n Modules\n\n\n \n \n \n \n JsonSchemaFormModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n WidgetLibraryModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"overview.html":{"url":"overview.html","title":"overview - overview","body":"\n \n\n\n\n Overview\n\n \n\n \n \n\n\n\n\n\ndependencies\n\nLegend\n\n  Declarations\n\n  Module\n\n  Bootstrap\n\n  Providers\n\n  Exports\n\ncluster_JsonSchemaFormModule\n\n\n\ncluster_JsonSchemaFormModule_declarations\n\n\n\ncluster_JsonSchemaFormModule_JsonSchemaFormComponent_providers\n\n\n\ncluster_JsonSchemaFormModule_imports\n\n\n\ncluster_JsonSchemaFormModule_exports\n\n\n\ncluster_WidgetLibraryModule\n\n\n\ncluster_WidgetLibraryModule_declarations\n\n\n\ncluster_WidgetLibraryModule_exports\n\n\n\n\nJsonSchemaFormComponent\n\nJsonSchemaFormComponent\n\n\n\nJsonSchemaFormModule\n\nJsonSchemaFormModule\n\nJsonSchemaFormModule -->\n\nJsonSchemaFormComponent->JsonSchemaFormModule\n\n\n\n\n\nJsonSchemaFormComponent \n\nJsonSchemaFormComponent \n\nJsonSchemaFormComponent -->\n\nJsonSchemaFormModule->JsonSchemaFormComponent \n\n\n\n\n\nWidgetLibraryModule \n\nWidgetLibraryModule \n\nWidgetLibraryModule -->\n\nJsonSchemaFormModule->WidgetLibraryModule \n\n\n\n\n\nJsonSchemaFormService\n\nJsonSchemaFormService\n\nJsonSchemaFormComponent -->\n\nJsonSchemaFormService->JsonSchemaFormComponent\n\n\n\n\n\nLayoutService\n\nLayoutService\n\nJsonSchemaFormComponent -->\n\nLayoutService->JsonSchemaFormComponent\n\n\n\n\n\nSchemaService\n\nSchemaService\n\nJsonSchemaFormComponent -->\n\nSchemaService->JsonSchemaFormComponent\n\n\n\n\n\nWidgetLibraryModule\n\nWidgetLibraryModule\n\nJsonSchemaFormModule -->\n\nWidgetLibraryModule->JsonSchemaFormModule\n\n\n\n\n\nButtonComponent \n\nButtonComponent \n\nButtonComponent -->\n\nWidgetLibraryModule->ButtonComponent \n\n\n\n\n\nHiddenComponent \n\nHiddenComponent \n\nHiddenComponent -->\n\nWidgetLibraryModule->HiddenComponent \n\n\n\n\n\nSelectWidgetComponent \n\nSelectWidgetComponent \n\nSelectWidgetComponent -->\n\nWidgetLibraryModule->SelectWidgetComponent \n\n\n\n\n\nButtonComponent\n\nButtonComponent\n\nWidgetLibraryModule -->\n\nButtonComponent->WidgetLibraryModule\n\n\n\n\n\nHiddenComponent\n\nHiddenComponent\n\nWidgetLibraryModule -->\n\nHiddenComponent->WidgetLibraryModule\n\n\n\n\n\nSelectWidgetComponent\n\nSelectWidgetComponent\n\nWidgetLibraryModule -->\n\nSelectWidgetComponent->WidgetLibraryModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n \n\n \n \n \n \n \n \n 2 Modules\n \n \n \n \n \n \n \n \n 4 Components\n \n \n \n \n \n \n \n 6 Injectables\n \n \n \n \n \n \n \n 2 Classes\n \n \n \n \n \n \n \n 3 Interfaces\n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"miscellaneous/typealiases.html":{"url":"miscellaneous/typealiases.html","title":"miscellaneous-typealiases - typealiases","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n Miscellaneous\n Type aliases\n\n\n\n Index\n \n \n \n \n \n \n DataEvent   (projects/.../data-event-plugin.service.ts)\n \n \n \n \n \n \n\n\n projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts\n \n \n \n \n \n \n DataEvent\n \n \n \n \n Event wrapper for piggybacking data on an event \n\n \n \n \n \n \n\n \n \n \n \n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"miscellaneous/variables.html":{"url":"miscellaneous/variables.html","title":"miscellaneous-variables - variables","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n Miscellaneous\n Variables\n\n\n\n Index\n \n \n \n \n \n \n BASIC_WIDGETS   (projects/.../index.ts)\n \n \n \n \n \n \n\n\n projects/ngx-json-schema-form/src/lib/widget-library/index.ts\n \n \n \n \n \n \n \n \n BASIC_WIDGETS\n \n \n \n \n \n \n Type : []\n\n \n \n \n \n Default value : [\n ButtonComponent, HiddenComponent,\n SelectWidgetComponent\n]\n \n \n\n \n \n List of all Widget Components for ease of use. \n\n \n \n\n \n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"additional-documentation/introduction.html":{"url":"additional-documentation/introduction.html","title":"additional-page - Introduction","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\nJson Schema\nThe only requirement to using the component is to supply a valid JSON Schema. The component will parse the schema and display all properties in the order they\nare presented within the schema.\n\nschema.json\n\n{\n \"$id\": \"https://example.com/person.schema.json\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"title\": \"Person\",\n \"type\": \"object\",\n \"properties\": {\n \"firstName\": {\n \"type\": \"string\",\n \"description\": \"The person's first name.\"\n },\n \"lastName\": {\n \"type\": \"string\",\n \"description\": \"The person's last name.\"\n },\n \"age\": {\n \"description\": \"Age in years which must be equal to or greater than zero.\",\n \"type\": \"integer\",\n \"minimum\": 0\n }\n }\n}\n\nIn this example, the form will display 3 fields; firstName, lastName and age. The order is determined by the order of the fields in the schema. Once you have your schema set, all you need to do is pass it to the component\n\nbasic.component.ts\n\nimport { JSONSchema7 } from 'json-schema';\nimport schema from './schema.json';\n\n@Component({\n template: ``,\n ...\n})\nexport class BasicComponent {\n schema: JSONSchema7 = schema as JSONSchema7;\n ...\n}\n\nHere we import the schema json and set it as a property on our component. Then you wire up the schema in the template and\nLayout\nThe deault layout is simply ['*']. This translates to display everything in the the schema. The * key is a special command that tells the component to display everything that has not specifically been laid out. This can become useful when you only care about a few fields and their location. For example:\n\nschema.json\n\n{\n \"$id\": \"https://example.com/person.schema.json\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"title\": \"Person\",\n \"type\": \"object\",\n \"properties\": {\n \"question1\": {\n \"type\": \"boolean\"\n },\n \"age\": {\n \"description\": \"Are you 18 or older?\",\n \"type\": \"boolean\"\n },\n \"question2\": {\n \"type\": \"boolean\"\n }\n }\n}\n\nlayout.json\n\n[\n \"age\",\n '*'\n]\n\nlayout.component.ts\n\nimport { JSONSchema7 } from 'json-schema';\nimport schema from './schema.json';\nimport layout from './layout.json';\n\n@Component({\n template: ``,\n ...\n})\nexport class LayoutComponent {\n schema: JSONSchema7 = schema as JSONSchema7;\n layout: Array = layout;\n ...\n}\n\nAs you can see, we only care that age is presented first. All the other properties in the schema are shown after age.\nForm Options\nJust like a native form, you can set the standard form attributes (action, autocomplete, enctype, method, target) on the jsf component. Most of the time you will not need to set these, but there may be instances in which you need your form to do an actual submit and need these set. For more info on these see Form Attributes.\n\nlogin.component.html\n\n\n\nWidgets\nOptions\nThere are numerous attributes that can be set on a widget which are set via the layout. The following are currently supported\n\naccesskey\ndirname\ndisabled\nhtmlClass\nname\nreadonly\nstyle\ntabindex\ntitle\n\n\nlayout.json\n\n[{\n \"type\": \"text\",\n \"accesskey\": \"n\",\n \"dirname\": true,\n \"disabled\": false,\n \"htmlClass\": \"input-sm\",\n \"name\": \"name\",\n \"readonly\": true,\n \"style\": \"color: #333;\",\n \"tabindex\": 2,\n \"title\": \"Name\"\n}]\n\nButton\nThere are 4 types of buttons that jsf supports, button, image, reset and submit. By default, these will all use the tag for display. However, with the exception of image, you can specify custom html via the content option. This will result in the being used for display and the content being inserted. Content can contain simple angular bindings so that you can bind to various properties of the layout. For example:\n\nbutton-layout.json\n\n[{\n \"type\": \"submit\",\n \"title\": \"Submit\",\n \"content\": \"{{ options.title }}\",\n \"icon\": {\n \"src\": \"/assets/submit.png\",\n \"width\": 30,\n \"height\": 30,\n \"alt\": \"Checkmark\"\n }\n}]\n\nwill result in\n\nbutton.html\n\n\n \n Submit\n\n\nHere you can see we are specifying that the button should contain an image via the content options. The template binds to the properties of the icon option which results in an image tag being rendered. The icon option is also used when redering a simple button of type image.\nWe can also respond to events such as a click. To do this, we must first bind an event handler to the jsf component\n\nform.component.html\n\n\n\nThen we add a layout with a couple of buttons. The first button will run an internal command where as the second will run a command specified by layout.onClick.\n\nbuttons-layout.json\n\n[{\n \"type\": \"button\",\n \"id\": \"button1\",\n \"title\": \"Open dialog\"\n}, {\n \"type\": \"button\",\n \"id\": \"button2\",\n \"title\": \"Open Google\",\n \"onClick\": \"window.open('http://www.google.com/');\"\n}]\n\nLastly, we specify our onClick handler in our component.\n\nform.component.ts\n\nimport layout from './buttons-layout.json';\nimport { DataEvent } from 'ngx-json-schema-form';\n\n@Component({\n templateUrl: './form.component.html',\n ...\n})\nexport class LayoutComponent {\n layout: Array = layout;\n\n onClick(event: DataEvent): void {\n if (event.data.id === 'button1') {\n openDialog(event);\n } else if (event.data.id === 'button2') {\n // Run some external code\n const fn = new Function('event', event.data.onClick);\n fn(event);\n }\n }\n ...\n}\n\nWhen a button is clicked, the event will bubble up to the jsf form component to which we bound our onClick handler. Using event metadata (click.data.layout), we can specify that only events in which a target that has an associated data property of layout will trigger the event. This association is handled internally when a widget is created and acts similarly to jQuery's $.data. When the event handler is triggered, the layout is passed down with the event via event.data , allowing us to inspect which layout item triggered the event and act accordingly. In the case of \"button1\", we run and internal method openDialog in order to open an angular dialog component. With \"button2\" however, we run the external javascript passed in via the onClick property in the layout in order to open a popup dialog to Google.\nNote: running external javascript is usually not a good choice, therefore the jsf library does not internally run the onClick handler. You will need to handle the conversion from text to javascript yourself and run the code.\nHidden\nHidden widgets are as you expect, then render an . This is the default for any layout item that can't be propley matched. For the most part, hidden widgets wont be needed as you simply don't need to render them, their data never changes. However, in the event that you need to do an actual form submittal, hidden inputs may be necessary and are therfore included.\n\n\n\n\n\nJSON Schema\nLayout\nForm Options\nWidgets\nOptions\nButton\nHidden\n\n\n\n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"}} + "index": {"version":"2.3.6","fields":["title","body"],"fieldVectors":[["title/components/ButtonComponent.html",[0,0.766,1,1.053]],["body/components/ButtonComponent.html",[0,1.142,1,1.693,2,1.691,3,0.335,4,0.39,5,1.224,6,1.727,7,1.101,8,1.727,9,0.335,10,0.391,11,0.17,12,0.17,13,1.691,14,2.809,15,0.892,16,3.186,17,2.961,18,2.728,19,1.332,20,1.53,21,2.834,22,2.593,23,2.728,24,2.728,25,4.447,26,2.113,27,3.881,28,0.53,29,1.11,30,2.386,31,2.386,32,2.386,33,2.734,34,1.743,35,0.996,36,2.113,37,1.886,38,2.386,39,2.386,40,1.743,41,1.101,42,2.728,43,1.693,44,2.331,45,1.88,46,1.144,47,2.809,48,0.996,49,0.041,50,1.03,51,0.658,52,0.794,53,1.693,54,3.88,55,1.975,56,0.709,57,1.975,58,1.569,59,1.975,60,1.101,61,1.727,62,1.727,63,1.524,64,1.975,65,1.727,66,1.272,67,1.727,68,0.803,69,0.803,70,1.101,71,0.991,72,1.975,73,1.727,74,1.727,75,0.509,76,1.975,77,1.975,78,1.727,79,1.975,80,0.991,81,1.975,82,0.666,83,0.448,84,1.569,85,1.365,86,1.53,87,0.283,88,0.283,89,1.975,90,1.365,91,2.809,92,1.975,93,2.809,94,1.224,95,1.37,96,1.727,97,2.949,98,1.727,99,1.727,100,0.991,101,1.727,102,1.224,103,1.727,104,1.101,105,1.727,106,1.727,107,1.727,108,0.019,109,0.026,110,0.019]],["title/interfaces/Data.html",[56,0.476,111,1.3]],["body/interfaces/Data.html",[3,0.385,4,0.448,7,1.264,9,0.385,10,0.325,11,0.114,12,0.114,28,0.385,29,1.218,44,1.567,45,1.87,49,0.042,51,0.569,56,0.937,60,1.264,63,1.805,69,0.922,71,1.504,75,0.773,80,1.504,82,0.662,83,0.514,84,1.684,85,1.567,87,0.481,88,0.325,108,0.022,109,0.029,110,0.022,111,1.406,112,1.983,113,2.267,114,2.267,115,0.979,116,3.917,117,3.498,118,1.756,119,1.567,120,2.267,121,2.267,122,2.62,123,2.648,124,3.498,125,1.857,126,1.517,127,2.267,128,2.648,129,2.648,130,2.995,131,2.648,132,1.983,133,1.756,134,1.983,135,3.498,136,1.756,137,0.741,138,1.983,139,2.648,140,2.648,141,1.406,142,2.648,143,2.648,144,2.648,145,2.648,146,2.267,147,2.648,148,2.648,149,3.354,150,2.648,151,2.62,152,1.791,153,2.648,154,2.648,155,3.917,156,2.648,157,3.917,158,2.648,159,2.648,160,2.267,161,2.648,162,2.648,163,2.648,164,2.648,165,2.648]],["title/injectables/DataEventPluginService.html",[115,0.685,134,1.834]],["body/injectables/DataEventPluginService.html",[3,0.325,4,0.378,7,1.488,9,0.325,10,0.502,11,0.176,12,0.176,15,0.625,28,0.325,29,1.085,35,0.974,41,1.066,44,1.845,45,2.02,46,0.968,48,1.122,49,0.042,50,0.895,51,0.615,52,0.895,56,0.909,60,1.488,63,1.86,68,1.085,69,0.778,71,1.34,75,0.934,80,1.669,82,0.607,83,0.434,84,1.819,85,1.322,87,0.441,88,0.274,108,0.019,109,0.026,110,0.019,111,1.186,113,3.498,114,1.912,115,0.872,116,3.883,117,3.589,118,1.481,119,1.322,120,1.912,121,1.912,122,2.334,123,2.233,124,3.883,125,2.061,126,1.504,127,2.668,128,3.116,129,3.116,130,3.498,131,3.116,132,1.673,133,1.481,134,2.334,135,4.084,136,1.481,137,0.625,138,2.334,139,3.116,140,3.116,141,1.654,142,2.233,143,2.233,144,2.233,145,3.116,146,2.668,147,3.116,148,3.116,149,3.498,150,3.883,151,3.059,152,1.669,153,2.233,154,2.233,155,3.589,156,2.233,157,3.589,158,2.233,159,2.233,160,1.912,161,2.233,162,2.233,163,2.233,164,2.233,165,2.233,166,1.186,167,3.796,168,3.116,169,2.72,170,3.796,171,2.72,172,2.72]],["title/injectables/ElementDataStorageService.html",[45,1.169,115,0.685]],["body/injectables/ElementDataStorageService.html",[3,0.294,4,0.342,7,1.773,9,0.294,10,0.483,11,0.19,12,0.17,15,0.566,28,0.294,35,0.908,45,1.773,46,0.926,48,1.162,49,0.042,50,0.926,51,0.54,52,0.926,56,0.929,60,1.386,66,1.426,68,1.294,75,1.008,82,0.342,83,0.393,84,2.048,87,0.248,88,0.248,95,1.597,108,0.017,109,0.024,110,0.017,115,0.813,126,1.586,132,1.514,133,1.341,137,0.566,138,2.175,141,1.972,149,3.907,151,2.175,152,1.248,166,1.073,173,4.792,174,2.462,175,4.095,176,3.16,177,2.486,178,2.904,179,2.175,180,2.175,181,3.537,182,3.537,183,3.537,184,3.537,185,3.537,186,3.537,187,2.486,188,2.904,189,1.719,190,3.537,191,2.904,192,3.537,193,2.486,194,2.904,195,3.537,196,2.904,197,4.524,198,3.537,199,3.537,200,3.537,201,2.486,202,4.524,203,2.545,204,3.537,205,1.719,206,3.537,207,3.027,208,2.462,209,4.988,210,4.988,211,4.988,212,3.537,213,2.462,214,3.537,215,3.537,216,2.462,217,3.537,218,2.462,219,2.486,220,0.869,221,2.462,222,1.719,223,3.537,224,3.537,225,2.462,226,2.462,227,2.462,228,4.139,229,2.462,230,1.514,231,2.462,232,4.524,233,2.462,234,2.462,235,1.731,236,2.462]],["title/components/HiddenComponent.html",[0,0.766,100,1.053]],["body/components/HiddenComponent.html",[0,1.147,1,1,2,1.702,3,0.338,4,0.393,5,1.235,6,1.743,7,1.111,8,1.743,9,0.338,10,0.394,11,0.171,12,0.171,13,1.702,15,0.897,16,3.206,17,2.842,18,2.745,19,1.334,20,1.543,21,2.842,22,2.599,24,2.745,26,2.126,28,0.533,29,1.117,30,2.401,31,2.401,32,2.401,33,2.747,34,1.751,35,1.003,36,2.126,37,1.898,38,2.401,39,2.401,40,1.751,41,1.111,42,2.745,43,1.699,44,2.34,45,1.887,46,1.146,48,1.003,49,0.041,50,1.034,51,0.66,52,0.799,53,1.699,54,3.887,55,1.992,56,0.712,57,1.992,58,1.577,59,1.992,60,1.111,61,1.743,62,1.743,63,1.53,64,1.992,65,1.743,66,1.278,67,1.743,68,0.811,69,0.811,70,1.111,71,1,72,1.992,73,1.743,74,1.743,75,0.514,76,1.992,77,1.992,78,1.743,79,1.992,80,1,81,1.992,82,0.668,83,0.452,84,1.577,85,1.377,86,1.543,87,0.286,88,0.286,89,1.992,94,1.235,95,1.378,96,1.743,97,2.96,98,1.743,99,1.743,100,1.699,101,1.743,102,1.235,103,1.743,104,1.111,105,1.743,106,1.743,107,1.743,108,0.019,109,0.027,110,0.019,237,2.834,238,3.905,239,2.745,240,4.468,241,3.905,242,2.834]],["title/components/JsonSchemaFormComponent.html",[0,0.766,102,1.3]],["body/components/JsonSchemaFormComponent.html",[0,0.784,1,0.532,2,1.059,3,0.18,4,0.209,5,0.657,6,0.926,7,0.591,8,0.926,9,0.18,10,0.491,11,0.205,12,0.21,15,0.702,19,0.346,20,0.82,21,2.237,22,2.1,26,1.323,28,0.364,35,0.624,37,1.181,41,0.952,43,1.237,46,0.976,48,0.624,49,0.042,50,0.717,51,0.536,52,0.497,53,0.858,56,0.717,58,1.587,68,0.695,69,1.175,71,0.858,75,0.635,82,0.624,83,0.24,84,0.858,86,0.82,87,0.152,88,0.152,90,0.732,94,0.657,95,1.237,96,0.926,97,2.154,98,0.926,99,0.926,100,0.532,101,0.926,102,1.527,103,0.926,104,0.591,105,0.926,106,0.926,107,0.926,108,0.01,109,0.017,110,0.01,125,1.675,126,0.479,133,1.323,137,0.805,177,1.059,178,1.237,220,1.587,222,0.732,243,3.426,244,1.237,245,2.154,246,2.775,247,0.952,248,2.43,249,2.43,250,3.103,251,2.463,252,2.43,253,2.43,254,2.43,255,1.995,256,3.504,257,2.43,258,1.494,259,1.995,260,2.43,261,1.059,262,2.43,263,1.995,264,2.463,265,2.43,266,1.995,267,2.43,268,1.237,269,2.43,270,1.995,271,1.995,272,1.708,273,2.147,274,3.054,275,2.147,276,2.43,277,2.43,278,1.494,279,2.528,280,1.96,281,1.995,282,3.504,283,2.43,284,2.702,285,3.155,286,3.155,287,3.155,288,3.155,289,1.237,290,1.507,291,4.767,292,1.507,293,3.913,294,3.913,295,3.913,296,3.351,297,3.913,298,4.767,299,1.507,300,2.43,301,2.43,302,2.43,303,2.43,304,2.43,305,1.507,306,1.507,307,2.43,308,1.708,309,2.43,310,1.995,311,1.507,312,1.878,313,1.507,314,1.995,315,2.43,316,2.43,317,2.43,318,2.43,319,1.507,320,1.507,321,2.43,322,2.43,323,1.507,324,1.507,325,2.596,326,1.995,327,2.507,328,1.237,329,1.237,330,1.507,331,0.82,332,1.059,333,1.507,334,1.059,335,1.237,336,1.995,337,0.926,338,1.507,339,1.507,340,1.507,341,1.507,342,1.237,343,1.507,344,1.237,345,1.507,346,1.507,347,0.657,348,1.237,349,1.507,350,1.507,351,1.507,352,1.507,353,1.507,354,1.507,355,0.82,356,1.059,357,1.507,358,1.237,359,1.507,360,1.237,361,3.054,362,1.507,363,1.507,364,3.054,365,1.507,366,1.507,367,1.507,368,2.43,369,3.054,370,1.507,371,1.507,372,1.507,373,1.507,374,1.507,375,1.507,376,1.507,377,1.507,378,1.507,379,1.507,380,1.507,381,1.507,382,1.507,383,1.507,384,1.507,385,1.507,386,1.507,387,3.155,388,1.507,389,1.507,390,1.507,391,1.507,392,1.237,393,1.507,394,1.507,395,1.059,396,2.43,397,1.237,398,1.507,399,3.054,400,1.507,401,1.507,402,1.507,403,1.507,404,1.507,405,1.507,406,1.507,407,1.507,408,1.507,409,0.82,410,1.507,411,1.507,412,1.507,413,1.507,414,1.507,415,1.507]],["title/modules/JsonSchemaFormModule.html",[247,1.169,416,1.625]],["body/modules/JsonSchemaFormModule.html",[3,0.416,4,0.484,9,0.416,10,0.352,11,0.159,12,0.176,19,0.801,43,1.749,49,0.042,56,0.556,63,1.108,82,0.768,83,0.556,87,0.352,88,0.352,94,1.519,102,2.619,108,0.024,109,0.031,110,0.024,118,1.898,119,1.694,134,2.756,243,2.451,247,1.366,278,2.756,279,2.698,280,2.159,342,2.862,347,1.519,409,1.898,416,3.164,417,1.898,418,1.898,419,2.698,420,2.144,421,3.483,422,2.862,423,2.862,424,2.862,425,2.862,426,2.862,427,3.204,428,3.151,429,1.898,430,3.486,431,2.756,432,3.151,433,2.451,434,2.756,435,4.482,436,2.451,437,3.486,438,3.486,439,3.486,440,3.486,441,3.486]],["title/injectables/JsonSchemaFormService.html",[43,1.053,115,0.685]],["body/injectables/JsonSchemaFormService.html",[0,1.321,2,0.992,3,0.272,4,0.316,5,2.409,9,0.399,10,0.44,11,0.155,12,0.182,15,0.767,17,1.239,19,1.115,21,1.239,28,0.272,29,0.651,34,1.709,35,0.858,36,1.819,43,1.179,46,0.81,48,1.016,49,0.042,50,0.81,51,0.554,52,0.81,56,0.631,66,1.328,68,1.132,69,1.247,70,1.309,71,0.803,75,0.933,80,1.179,82,0.605,83,0.533,87,0.23,88,0.399,90,2.257,95,1.713,108,0.015,109,0.023,110,0.015,115,0.909,126,1.476,136,1.239,137,0.909,152,1.77,166,0.992,187,1.6,189,2.119,207,2.155,220,1.639,230,2.054,243,3.065,247,1.309,250,1.399,293,1.868,392,1.868,409,1.819,419,1.239,431,1.399,432,1.6,434,2.054,442,2.276,443,3.341,444,3.341,445,3.958,446,5.474,447,2.348,448,2.276,449,3.958,450,3.958,451,4.36,452,4.854,453,3.249,454,3.958,455,4.36,456,3.341,457,3.249,458,2.276,459,2.348,460,2.348,461,3.341,462,2.276,463,2.276,464,3.579,465,3.579,466,3.958,467,3.341,468,3.341,469,1.6,470,2.276,471,2.276,472,2.276,473,1.399,474,2.276,475,2.276,476,3.249,477,2.276,478,2.276,479,2.276,480,3.341,481,1.868,482,2.276,483,2.276,484,2.276,485,2.276,486,2.276,487,3.341,488,2.276,489,2.276,490,2.276,491,2.276,492,2.276,493,1.399,494,2.276,495,2.276,496,2.276,497,2.276,498,2.276,499,2.276,500,3.341,501,2.119,502,2.276,503,2.276,504,2.276,505,2.276,506,2.276,507,2.276,508,2.276,509,2.276,510,2.276,511,2.276,512,2.276,513,2.276,514,2.276,515,2.276,516,2.276]],["title/interfaces/LayoutItem.html",[111,1.3,331,1.625]],["body/interfaces/LayoutItem.html",[3,0.406,4,0.473,9,0.406,10,0.445,11,0.184,12,0.184,19,1.191,28,0.406,29,1.262,34,2.225,46,0.697,49,0.041,50,1.126,51,0.7,52,1.185,56,0.826,66,1.262,75,1.063,87,0.343,108,0.023,109,0.03,110,0.023,111,1.484,112,2.094,125,2.398,138,2.714,176,2.714,201,3.103,205,2.145,207,2.822,331,2.404,355,2.404,447,3.103,493,2.714,517,3.103,518,3.405,519,2.795,520,4.022,521,3.405,522,3.624,523,3.644,524,3.624,525,4.415,526,3.103,527,4.415,528,3.624,529,4.415,530,4.415,531,3.624,532,3.624,533,3.624,534,4.415]],["title/classes/LayoutNode.html",[40,1.169,88,0.301]],["body/classes/LayoutNode.html",[3,0.232,4,0.27,9,0.232,10,0.518,11,0.192,12,0.204,15,0.828,19,1.052,28,0.232,29,0.85,34,1.794,35,0.763,40,2.012,41,0.763,46,1.051,48,0.763,49,0.042,50,1.005,51,0.623,52,0.608,53,1.049,56,0.783,58,1.616,66,0.557,68,1.362,70,0.763,75,1.006,82,0.635,87,0.196,88,0.196,90,0.946,95,1.049,108,0.013,109,0.02,110,0.013,125,1.758,126,1.561,137,1.094,152,1.272,175,2.439,188,2.439,193,1.368,203,1.827,207,1.618,220,1.272,222,1.444,230,1.197,258,1.827,280,2.14,308,2.089,312,2.815,329,1.598,331,3.166,332,1.368,334,1.368,336,3.566,358,2.439,459,2.089,473,1.197,476,3.311,481,2.439,501,1.444,517,3.609,522,2.958,523,3.452,524,2.439,532,2.439,535,1.946,536,2.971,537,2.971,538,2.439,539,2.971,540,2.439,541,4.033,542,2.971,543,2.971,544,2.439,545,2.971,546,2.971,547,2.971,548,2.971,549,2.439,550,2.439,551,2.971,552,3.311,553,2.958,554,2.089,555,3.604,556,3.604,557,3.759,558,2.971,559,2.971,560,1.946,561,2.971,562,2.971,563,2.971,564,2.971,565,1.946,566,2.439,567,2.971,568,2.971,569,2.089,570,2.439,571,2.971,572,1.946,573,1.946,574,2.439,575,2.971,576,1.946,577,1.946,578,1.946,579,1.946,580,2.971,581,1.946,582,1.946,583,1.946,584,1.946,585,2.971,586,1.946,587,1.946,588,2.533,589,1.946,590,1.946,591,1.946,592,1.946,593,1.946,594,1.946,595,4.762,596,1.368,597,1.946,598,1.946,599,1.946,600,2.971,601,1.598,602,1.946,603,2.439,604,1.946,605,1.946,606,1.946,607,1.946,608,1.946,609,1.946,610,1.946,611,1.946,612,1.946,613,1.946,614,1.946,615,2.439,616,1.946,617,1.946,618,1.946,619,1.946,620,1.946,621,1.946,622,1.946,623,1.598,624,1.946,625,1.946,626,1.946,627,1.946,628,1.946,629,1.368,630,1.946,631,1.946,632,1.946,633,1.946,634,1.946,635,1.946,636,1.946,637,1.946,638,1.946]],["title/interfaces/LayoutOptions.html",[111,1.3,588,2.097]],["body/interfaces/LayoutOptions.html",[3,0.348,4,0.405,9,0.348,10,0.402,11,0.141,12,0.141,28,0.348,29,1.139,46,0.597,49,0.042,51,0.678,52,1.207,75,1.062,87,0.294,95,1.406,108,0.02,109,0.027,110,0.02,111,1.271,112,1.794,137,1.12,141,2.425,180,2.449,294,2.395,296,4.172,297,4.872,325,1.589,387,4.701,447,2.8,517,2.8,519,2.395,520,3.27,588,2.8,629,3.426,639,2.917,640,4.001,641,4.001,642,4.001,643,4.001,644,4.188,645,4.001,646,4.001,647,2.917,648,3.983,649,3.983,650,3.983,651,3.983,652,3.983,653,3.983,654,4.188,655,3.983,656,3.983,657,3.983,658,2.917,659,2.917,660,2.395,661,2.917,662,2.395,663,2.917,664,2.395,665,2.917,666,2.395]],["title/injectables/LayoutService.html",[115,0.685,279,1.625]],["body/injectables/LayoutService.html",[3,0.35,4,0.407,9,0.35,10,0.492,11,0.181,12,0.181,15,0.918,28,0.35,35,1.026,40,1.782,41,1.149,46,0.931,48,1.167,49,0.042,50,0.931,51,0.477,52,0.931,53,2.036,58,1.938,60,1.149,66,1.3,68,1.143,69,1.143,75,0.531,82,0.732,83,0.467,84,1.034,87,0.296,88,0.296,108,0.02,109,0.027,110,0.02,115,0.918,126,1.445,136,1.596,137,0.673,152,1.803,166,1.277,176,1.802,179,2.457,205,1.942,220,1.41,222,1.424,235,2.06,246,1.424,258,1.802,279,2.176,280,2.298,289,2.406,331,2.659,332,2.06,334,2.06,501,1.424,552,3.732,554,2.809,601,2.406,654,2.406,667,2.931,668,2.809,669,3.996,670,3.996,671,3.996,672,2.931,673,3.996,674,2.931,675,2.931,676,2.931,677,3.28,678,3.996,679,3.996,680,3.996,681,2.931,682,2.406,683,2.931,684,3.996,685,2.931,686,2.931,687,2.931,688,2.931,689,2.931,690,4.546,691,3.996,692,3.996,693,2.931,694,4.546,695,2.931,696,2.931,697,2.931,698,2.931,699,2.931,700,2.931,701,2.931,702,2.931,703,2.931,704,2.931,705,2.931,706,2.931,707,2.931,708,2.931,709,2.931,710,2.931]],["title/injectables/SchemaService.html",[115,0.685,280,1.3]],["body/injectables/SchemaService.html",[3,0.332,4,0.386,9,0.332,10,0.506,11,0.207,12,0.211,15,1.016,28,0.332,35,0.989,46,0.977,48,0.989,49,0.042,50,0.789,51,0.332,52,0.789,53,0.981,56,0.889,66,1.265,68,1.265,69,0.795,82,0.663,83,0.443,87,0.28,88,0.28,90,1.351,108,0.019,109,0.026,110,0.019,115,0.885,125,1.679,126,1.406,137,0.639,141,1.679,151,1.71,152,1.36,166,1.212,176,3.19,179,2.369,194,3.163,201,1.954,203,2.369,205,2.149,220,1.685,222,1.873,261,3.357,263,2.282,264,2.709,280,1.679,312,2.936,314,3.163,335,3.163,348,3.163,355,1.514,409,2.098,501,1.873,554,2.709,570,3.163,603,2.282,615,3.92,668,2.709,682,2.282,711,2.78,712,3.853,713,4.422,714,3.853,715,2.78,716,2.709,717,3.853,718,2.78,719,2.78,720,2.78,721,2.78,722,3.853,723,2.78,724,2.78,725,3.163,726,3.853,727,4.775,728,3.853,729,3.853,730,3.853,731,2.78,732,2.78,733,2.78,734,2.78,735,2.78,736,3.853,737,2.78,738,2.78,739,2.78,740,3.853,741,3.853,742,2.78,743,2.78,744,2.78,745,2.78,746,2.78,747,2.78,748,2.78,749,2.78,750,2.78,751,2.78,752,2.78,753,2.78,754,2.78]],["title/components/SelectWidgetComponent.html",[0,0.766,104,1.169]],["body/components/SelectWidgetComponent.html",[0,1.185,1,0.792,2,1.441,3,0.268,4,0.311,5,0.978,6,1.38,7,0.879,8,1.38,9,0.268,10,0.396,11,0.164,12,0.164,13,1.71,15,0.759,17,2.63,18,2.324,19,1.341,20,1.222,21,2.63,22,2.542,24,2.324,26,1.8,28,0.468,29,0.945,30,2.033,31,2.033,32,2.033,33,2.413,34,1.538,35,0.849,36,1.8,37,1.606,38,2.413,39,2.413,40,1.809,41,0.879,43,1.528,44,2.104,45,1.697,46,1.104,48,0.849,49,0.042,50,0.945,51,0.635,52,0.677,53,1.629,54,3.677,55,1.577,56,0.626,57,1.577,58,1.629,59,1.577,60,1.538,61,1.38,62,1.38,63,1.376,64,1.577,65,1.38,66,1.122,67,2.033,68,0.642,69,1.122,70,0.879,71,0.792,72,1.577,73,1.38,74,1.38,75,0.407,76,1.577,77,1.577,78,1.38,79,1.577,80,0.792,81,1.577,82,0.641,83,0.358,84,1.385,85,1.09,86,1.222,87,0.226,88,0.226,89,1.577,90,1.09,94,0.978,95,1.167,96,1.38,97,2.663,98,1.38,99,1.38,100,0.792,101,1.38,102,0.978,103,1.38,104,1.697,105,3.151,106,1.38,107,1.38,108,0.015,109,0.023,110,0.015,126,0.713,136,1.222,137,0.759,152,0.792,180,2.033,220,1.629,230,2.033,246,1.09,272,2.324,273,2.759,275,2.759,325,2.137,395,1.577,459,2.324,460,2.324,465,2.714,596,1.577,716,2.324,755,3.925,756,3.925,757,2.244,758,3.306,759,2.324,760,3.306,761,2.714,762,3.925,763,3.306,764,3.925,765,2.244,766,4.33,767,3.51,768,3.306,769,3.306,770,4.616,771,3.306,772,2.714,773,3.306,774,3.306,775,1.842,776,2.244,777,2.244,778,3.306,779,2.244,780,2.244,781,2.244,782,3.925,783,2.244,784,2.244,785,2.244,786,2.244,787,2.244,788,2.244,789,2.244,790,2.244,791,2.244,792,2.244,793,2.244,794,2.244,795,2.244,796,1.842]],["title/classes/Widget.html",[19,0.685,88,0.301]],["body/classes/Widget.html",[3,0.288,4,0.335,9,0.288,10,0.553,11,0.196,12,0.196,13,2.388,15,0.801,17,3.088,19,1.139,22,1.695,28,0.567,29,0.997,30,2.518,31,2.518,32,2.518,33,3.047,34,1.942,35,0.896,36,1.899,37,1.695,38,2.518,39,2.518,40,2.002,41,1.605,42,1.698,43,1.583,44,2.408,45,1.757,46,1.108,48,0.896,49,0.042,50,0.918,51,0.636,52,0.714,53,1.846,56,0.758,58,1.881,60,1.605,61,2.145,62,2.145,63,1.624,65,2.518,66,1.36,67,2.145,68,0.691,69,0.997,70,0.947,71,1.231,73,2.145,74,2.145,75,0.632,78,2.518,80,1.231,82,0.66,83,0.385,84,0.852,85,1.174,86,1.315,87,0.244,88,0.244,108,0.016,109,0.024,110,0.016,137,0.555,203,1.485,205,1.174,220,1.231,272,2.452,273,2.878,275,2.878,325,2.442,326,2.863,337,1.485,395,1.698,397,1.983,473,1.485,501,1.174,759,1.698,772,1.983,775,1.983,796,1.983,797,2.415,798,4.094,799,2.415,800,2.415,801,2.415,802,2.415,803,2.415,804,2.415,805,2.415,806,2.415,807,2.415,808,2.415,809,4.094,810,1.698,811,2.415,812,2.415,813,2.415,814,2.415,815,2.415,816,2.415,817,2.415,818,2.415,819,2.415,820,3.488,821,2.415,822,2.415,823,2.415,824,2.415,825,2.415,826,2.415,827,2.415,828,2.415,829,2.415,830,2.415,831,2.415,832,2.415]],["title/modules/WidgetLibraryModule.html",[247,1.169,427,1.625]],["body/modules/WidgetLibraryModule.html",[1,2.054,3,0.439,4,0.51,9,0.439,10,0.371,11,0.13,12,0.13,13,1.602,49,0.042,82,0.74,83,0.586,87,0.371,88,0.371,94,1.602,100,2.054,104,2.28,108,0.025,109,0.032,110,0.025,247,1.441,278,2.26,347,1.602,417,2.001,418,2.001,419,2.765,420,2.26,421,3.57,427,3.241,428,3.259,429,2.001,431,2.26,432,3.259,433,2.584,434,2.851,436,2.584,810,2.584,833,3.017,834,3.017,835,3.017,836,3.676,837,4.636,838,4.513,839,4.636]],["title/injectables/WidgetLibraryService.html",[115,0.685,767,2.097]],["body/injectables/WidgetLibraryService.html",[0,1.348,1,1.916,3,0.421,4,0.489,9,0.421,10,0.455,11,0.16,12,0.16,13,1.967,15,1.037,19,1.297,23,2.478,28,0.421,35,1.159,40,1.769,46,0.722,48,0.905,49,0.042,50,0.722,51,0.689,52,0.722,75,0.952,82,0.729,83,0.562,87,0.356,88,0.502,92,2.478,100,1.593,108,0.024,109,0.031,110,0.024,115,1.037,126,1.435,132,2.168,133,1.92,137,1.037,141,1.536,166,1.536,179,2.776,220,1.758,239,3.174,429,1.92,436,3.174,493,2.168,501,1.713,668,3.174,725,3.706,767,3.174,840,3.525,841,4.515,842,4.515,843,4.515,844,3.525,845,3.525,846,3.525,847,3.525,848,2.894,849,3.525,850,3.525,851,4.515,852,3.525,853,3.525]],["title/dependencies.html",[418,1.95,854,2.505]],["body/dependencies.html",[11,0.137,12,0.17,49,0.042,58,1.366,83,0.617,108,0.026,109,0.033,110,0.026,118,2.607,119,2.327,258,2.944,261,2.721,264,2.721,268,3.178,270,3.178,271,3.178,328,3.178,418,2.108,433,2.721,469,2.721,596,2.721,810,2.721,855,3.871,856,5.94,857,3.871,858,3.871,859,3.871,860,3.871,861,3.871,862,3.871,863,3.871,864,3.871,865,3.871,866,3.871,867,3.871,868,3.871,869,3.871,870,3.871,871,3.871,872,3.871,873,3.871,874,3.871,875,3.871,876,3.871,877,3.871,878,3.871,879,3.871,880,3.871,881,3.871,882,3.871,883,3.871,884,3.871,885,3.871,886,3.871,887,3.871]],["title/index.html",[28,0.299,888,2.056,889,2.056]],["body/index.html",[0,0.908,5,1.542,11,0.2,12,0.203,49,0.041,82,0.754,83,0.564,87,0.357,88,0.357,108,0.024,109,0.031,110,0.024,118,1.927,119,1.72,177,2.487,189,1.72,219,2.487,245,2.783,246,2.702,247,1.387,250,2.176,251,3.821,337,2.176,347,1.972,355,1.927,356,2.487,360,2.905,416,2.717,419,1.927,420,2.176,431,2.176,434,2.783,526,3.181,569,2.487,716,2.487,890,3.538,891,3.538,892,3.538,893,4.317,894,3.538,895,3.538,896,3.538,897,3.538,898,3.538,899,3.538,900,2.905,901,3.538,902,3.538,903,3.538,904,3.538,905,3.538,906,3.538,907,3.538,908,3.538,909,4.525,910,3.538,911,3.538,912,3.538,913,4.525,914,2.905,915,3.538,916,3.538,917,3.538,918,3.538,919,3.538,920,3.538,921,3.538,922,3.538,923,4.525,924,4.989,925,3.538,926,3.538,927,2.905,928,2.905,929,2.487,930,3.538,931,2.905,932,3.538,933,3.538,934,3.538,935,3.538,936,3.538,937,3.538,938,3.538,939,3.538]],["title/license.html",[888,2.056,889,2.056,940,2.056]],["body/license.html",[11,0.18,12,0.18,49,0.032,63,1.171,80,1.3,108,0.025,109,0.032,110,0.025,189,2.256,245,2.854,246,2.47,255,3.023,284,2.589,327,3.023,347,1.605,574,3.811,893,4.173,900,3.023,929,2.589,940,3.023,941,3.683,942,5.336,943,4.642,944,4.642,945,3.683,946,3.683,947,3.683,948,3.683,949,3.023,950,3.683,951,3.683,952,3.683,953,3.683,954,4.642,955,3.683,956,3.683,957,3.683,958,3.683,959,3.023,960,3.683,961,5.82,962,3.683,963,3.683,964,3.683,965,5.083,966,3.683,967,4.642,968,3.023,969,3.683,970,3.683,971,3.683,972,3.683,973,3.683,974,3.683,975,3.683,976,4.642,977,3.683,978,3.683,979,3.683,980,3.683,981,4.642,982,4.642,983,3.023,984,3.683,985,3.683,986,3.683,987,3.683,988,3.683,989,3.683,990,3.683,991,3.683,992,3.683,993,3.683,994,3.683,995,3.683,996,3.683,997,3.683,998,3.683,999,3.683,1000,3.683,1001,3.683,1002,3.683,1003,3.683,1004,3.683,1005,3.683,1006,3.683,1007,3.683,1008,3.683,1009,3.683]],["title/modules.html",[417,2.202]],["body/modules.html",[49,0.036,108,0.031,109,0.036,110,0.031,119,2.589,416,2.52,417,2.52,427,2.52,1010,5.327,1011,5.327,1012,5.327]],["title/overview.html",[1013,3.32]],["body/overview.html",[1,2.018,2,1.624,43,1.804,49,0.041,94,1.624,100,2.018,102,2.598,104,2.241,108,0.025,109,0.032,110,0.025,112,2.291,166,1.624,247,1.46,278,2.291,279,2.783,280,2.227,347,1.624,416,3.148,417,2.029,418,2.029,419,2.029,420,2.291,421,2.619,422,3.059,423,3.059,424,3.059,425,3.059,426,3.059,427,3.277,428,3.287,429,2.029,473,2.291,833,3.059,834,3.059,835,3.059,1013,3.059,1014,3.839,1015,3.059,1016,3.726,1017,3.059]],["title/miscellaneous/typealiases.html",[1018,1.54,1019,3.581]],["body/miscellaneous/typealiases.html",[10,0.457,11,0.16,12,0.16,28,0.54,49,0.036,51,0.54,56,0.722,63,1.819,108,0.031,109,0.036,110,0.031,113,3.183,114,3.698,120,3.183,121,3.183,122,3.234,1018,2.784,1020,4.528,1021,4.528]],["title/miscellaneous/variables.html",[1018,1.54,1022,2.939]],["body/miscellaneous/variables.html",[1,1.572,2,1.941,10,0.449,11,0.158,12,0.158,13,1.941,19,1.023,28,0.531,49,0.04,51,0.531,66,1.273,70,1.745,100,1.572,104,1.745,108,0.03,109,0.035,110,0.03,189,2.164,677,3.656,838,4.277,1018,2.738,1022,3.656,1023,4.453,1024,4.453,1025,4.453]],["title/additional-documentation/introduction.html",[1026,2.505,1027,2.505,1028,2.505]],["body/additional-documentation/introduction.html",[0,1.343,3,0.208,5,1.66,7,1.071,9,0.208,11,0.162,12,0.199,15,0.875,19,0.628,20,0.951,22,2.009,23,3.504,26,0.951,29,1.253,34,1.62,37,0.849,49,0.041,50,0.897,51,0.624,53,0.965,56,0.537,58,1.922,63,1.507,69,0.5,70,1.071,71,0.617,75,0.61,80,0.617,82,0.658,87,0.34,88,0.34,92,2.905,95,1.188,108,0.023,109,0.019,110,0.019,122,1.681,125,1.191,127,2.677,130,2.905,137,0.628,141,1.467,146,1.228,152,0.617,160,1.228,168,1.434,180,2.07,187,3.22,189,1.328,191,2.244,193,1.228,196,3.393,205,2.226,207,0.951,219,1.228,222,0.849,235,1.228,239,2.905,244,1.434,245,1.074,246,2.422,250,1.074,251,2.677,259,2.764,266,2.764,281,2.244,284,1.228,285,1.434,286,1.434,287,2.244,288,2.244,295,2.244,296,2.367,308,1.228,310,2.764,312,2.695,325,0.951,337,1.681,344,2.244,347,0.761,355,1.488,356,1.228,409,1.488,429,0.951,453,2.244,457,2.244,460,1.921,464,1.434,469,1.228,493,2.342,523,1.921,526,1.921,528,2.764,531,2.764,533,1.434,538,1.434,540,1.434,544,1.434,549,1.434,550,1.434,553,3.126,557,3.76,566,2.244,569,1.921,623,2.244,629,3.22,640,2.244,641,2.244,642,2.244,643,2.244,644,2.764,645,2.244,646,2.244,660,1.434,662,1.434,664,1.434,666,1.434,759,1.921,761,1.434,848,3.393,914,2.244,927,3.598,928,2.244,929,1.228,931,1.434,949,1.434,959,2.244,968,1.434,983,1.434,1014,1.434,1015,1.434,1017,1.434,1029,1.747,1030,1.747,1031,4.133,1032,1.747,1033,3.808,1034,2.733,1035,2.733,1036,2.733,1037,2.733,1038,2.733,1039,2.733,1040,2.733,1041,1.747,1042,4.58,1043,1.747,1044,1.747,1045,1.747,1046,1.747,1047,1.747,1048,1.747,1049,3.367,1050,1.747,1051,1.747,1052,1.747,1053,1.747,1054,1.747,1055,1.747,1056,1.747,1057,2.733,1058,1.747,1059,3.367,1060,1.747,1061,1.747,1062,1.747,1063,1.747,1064,1.747,1065,2.733,1066,1.747,1067,1.747,1068,1.747,1069,1.747,1070,1.747,1071,1.747,1072,4.383,1073,1.747,1074,2.733,1075,1.747,1076,1.747,1077,1.747,1078,1.747,1079,2.733,1080,1.747,1081,1.747,1082,1.747,1083,2.733,1084,2.733,1085,1.747,1086,1.747,1087,1.747,1088,1.747,1089,3.808,1090,2.733,1091,1.747,1092,1.747,1093,3.367,1094,3.808,1095,1.747,1096,2.733,1097,1.747,1098,1.747,1099,1.747,1100,1.747,1101,2.733,1102,1.747,1103,1.747,1104,1.747,1105,1.747,1106,1.747,1107,1.747,1108,1.747,1109,2.733,1110,2.733,1111,1.747,1112,1.747,1113,1.747,1114,1.747,1115,1.747,1116,1.747,1117,1.747,1118,1.747,1119,1.747,1120,1.747,1121,1.747,1122,1.747,1123,2.733,1124,1.747,1125,1.747,1126,2.733,1127,1.747,1128,1.747,1129,1.747,1130,4.58,1131,1.747,1132,1.747,1133,3.367,1134,3.808,1135,3.367,1136,2.733,1137,4.133,1138,1.747,1139,1.747,1140,1.747,1141,2.733,1142,1.747,1143,3.367,1144,2.733,1145,1.747,1146,1.747,1147,1.747,1148,1.747,1149,1.747,1150,1.747,1151,1.747,1152,1.747,1153,1.747,1154,1.747,1155,1.747,1156,2.733,1157,1.747,1158,1.747,1159,2.733,1160,1.747,1161,1.747,1162,1.747,1163,1.747,1164,1.747,1165,1.747,1166,1.747,1167,1.747,1168,1.747,1169,1.747,1170,1.747,1171,1.747,1172,1.747,1173,1.747,1174,1.747,1175,1.747,1176,1.747,1177,1.747,1178,1.747,1179,1.747,1180,1.747,1181,1.747]]],"invertedIndex":[["",{"_index":49,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"modules.html":{},"overview.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["0",{"_index":235,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/LayoutService.html":{},"additional-documentation/introduction.html":{}}}],["0.0.36",{"_index":867,"title":{},"body":{"dependencies.html":{}}}],["0.11.0",{"_index":873,"title":{},"body":{"dependencies.html":{}}}],["0.3.9",{"_index":882,"title":{},"body":{"dependencies.html":{}}}],["0.4.1",{"_index":878,"title":{},"body":{"dependencies.html":{}}}],["0.9.1",{"_index":887,"title":{},"body":{"dependencies.html":{}}}],["07/schema",{"_index":1037,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["1",{"_index":691,"title":{},"body":{"injectables/LayoutService.html":{}}}],["1.9.0",{"_index":885,"title":{},"body":{"dependencies.html":{}}}],["18",{"_index":1069,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["2",{"_index":1014,"title":{},"body":{"overview.html":{},"additional-documentation/introduction.html":{}}}],["2.5.4",{"_index":876,"title":{},"body":{"dependencies.html":{}}}],["2014",{"_index":948,"title":{},"body":{"license.html":{}}}],["2019",{"_index":953,"title":{},"body":{"license.html":{}}}],["3",{"_index":1017,"title":{},"body":{"overview.html":{},"additional-documentation/introduction.html":{}}}],["30",{"_index":1101,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["333",{"_index":1088,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["4",{"_index":1015,"title":{},"body":{"overview.html":{},"additional-documentation/introduction.html":{}}}],["4.1.2",{"_index":877,"title":{},"body":{"dependencies.html":{}}}],["4.14.136",{"_index":871,"title":{},"body":{"dependencies.html":{}}}],["4.17.14",{"_index":879,"title":{},"body":{"dependencies.html":{}}}],["6",{"_index":1016,"title":{},"body":{"overview.html":{}}}],["6.0.1",{"_index":880,"title":{},"body":{"dependencies.html":{}}}],["6.10.0",{"_index":872,"title":{},"body":{"dependencies.html":{}}}],["6.5.2",{"_index":883,"title":{},"body":{"dependencies.html":{}}}],["7",{"_index":892,"title":{},"body":{"index.html":{}}}],["7.0.0",{"_index":860,"title":{},"body":{"dependencies.html":{}}}],["7.0.3",{"_index":869,"title":{},"body":{"dependencies.html":{}}}],["7.2.0",{"_index":856,"title":{},"body":{"dependencies.html":{}}}],["_blank",{"_index":316,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["_layout",{"_index":683,"title":{},"body":{"injectables/LayoutService.html":{}}}],["_parent",{"_index":317,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["_schema",{"_index":734,"title":{},"body":{"injectables/SchemaService.html":{}}}],["_self",{"_index":315,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["_top",{"_index":318,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["above",{"_index":900,"title":{},"body":{"index.html":{},"license.html":{}}}],["abstract",{"_index":811,"title":{},"body":{"classes/Widget.html":{}}}],["abstractcontrol",{"_index":78,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["accessing",{"_index":580,"title":{},"body":{"classes/LayoutNode.html":{}}}],["accesskey",{"_index":640,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["accessors",{"_index":554,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{}}}],["accordingly",{"_index":1163,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ace",{"_index":270,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"dependencies.html":{}}}],["act",{"_index":1162,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["action",{"_index":284,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["acts",{"_index":540,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["actual",{"_index":1079,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["actual_component",{"_index":107,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["add",{"_index":219,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["addeventlistener",{"_index":167,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["addeventlistener(element",{"_index":148,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["addition",{"_index":265,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["additional",{"_index":1026,"title":{"additional-documentation/introduction.html":{}},"body":{}}],["adds",{"_index":145,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["afterviewinit",{"_index":798,"title":{},"body":{"classes/Widget.html":{}}}],["against",{"_index":350,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["age",{"_index":1042,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ajv",{"_index":261,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{},"dependencies.html":{}}}],["ajv.ajv",{"_index":744,"title":{},"body":{"injectables/SchemaService.html":{}}}],["ajv.validatefunction",{"_index":749,"title":{},"body":{"injectables/SchemaService.html":{}}}],["ajv]{@link",{"_index":381,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["aliases",{"_index":1020,"title":{},"body":{"miscellaneous/typealiases.html":{}}}],["allerrors",{"_index":745,"title":{},"body":{"injectables/SchemaService.html":{}}}],["allowing",{"_index":549,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["allows",{"_index":194,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/SchemaService.html":{}}}],["along",{"_index":539,"title":{},"body":{"classes/LayoutNode.html":{}}}],["already",{"_index":932,"title":{},"body":{"index.html":{}}}],["alt",{"_index":660,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["and/or",{"_index":255,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"license.html":{}}}],["angular",{"_index":251,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["angular/animations",{"_index":855,"title":{},"body":{"dependencies.html":{}}}],["angular/cdk",{"_index":857,"title":{},"body":{"dependencies.html":{}}}],["angular/common",{"_index":433,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"dependencies.html":{}}}],["angular/compiler",{"_index":858,"title":{},"body":{"dependencies.html":{}}}],["angular/core",{"_index":83,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{}}}],["angular/flex",{"_index":859,"title":{},"body":{"dependencies.html":{}}}],["angular/forms",{"_index":810,"title":{},"body":{"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"dependencies.html":{}}}],["angular/http",{"_index":862,"title":{},"body":{"dependencies.html":{}}}],["angular/material",{"_index":863,"title":{},"body":{"dependencies.html":{}}}],["angular/platform",{"_index":118,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"modules/JsonSchemaFormModule.html":{},"dependencies.html":{},"index.html":{}}}],["angular/router",{"_index":865,"title":{},"body":{"dependencies.html":{}}}],["angular2",{"_index":950,"title":{},"body":{"license.html":{}}}],["angular]{@link",{"_index":377,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["angularjs",{"_index":363,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["another",{"_index":262,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["aot",{"_index":1109,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["api",{"_index":358,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{}}}],["app.component",{"_index":925,"title":{},"body":{"index.html":{}}}],["appcomponent",{"_index":924,"title":{},"body":{"index.html":{}}}],["application",{"_index":922,"title":{},"body":{"index.html":{}}}],["application/x",{"_index":300,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["applied",{"_index":139,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["appmodule",{"_index":926,"title":{},"body":{"index.html":{}}}],["appropriate",{"_index":534,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["args",{"_index":740,"title":{},"body":{"injectables/SchemaService.html":{}}}],["arising",{"_index":1007,"title":{},"body":{"license.html":{}}}],["array",{"_index":53,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["array.from(mappedpointers",{"_index":710,"title":{},"body":{"injectables/LayoutService.html":{}}}],["array.from(schemapointers.keys",{"_index":707,"title":{},"body":{"injectables/LayoutService.html":{}}}],["arrayitem",{"_index":634,"title":{},"body":{"classes/LayoutNode.html":{}}}],["arrayitemtype",{"_index":635,"title":{},"body":{"classes/LayoutNode.html":{}}}],["arrays",{"_index":186,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["assets/submit.png",{"_index":1100,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["associated",{"_index":80,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["association",{"_index":1154,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["attemtps",{"_index":894,"title":{},"body":{"index.html":{}}}],["attribute",{"_index":294,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{}}}],["attributes",{"_index":180,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"interfaces/LayoutOptions.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["augmenting",{"_index":543,"title":{},"body":{"classes/LayoutNode.html":{}}}],["authors",{"_index":997,"title":{},"body":{"license.html":{}}}],["autocomplete",{"_index":285,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["automatically",{"_index":201,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"interfaces/LayoutItem.html":{},"injectables/SchemaService.html":{}}}],["availablepointers",{"_index":706,"title":{},"body":{"injectables/LayoutService.html":{}}}],["based",{"_index":716,"title":{},"body":{"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"index.html":{}}}],["basic",{"_index":915,"title":{},"body":{"index.html":{}}}],["basic.component.ts",{"_index":1052,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["basic_widgets",{"_index":838,"title":{},"body":{"modules/WidgetLibraryModule.html":{},"miscellaneous/variables.html":{}}}],["basiccomponent",{"_index":1053,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["become",{"_index":1063,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["begin",{"_index":916,"title":{},"body":{"index.html":{}}}],["being",{"_index":1094,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["beta.24",{"_index":861,"title":{},"body":{"dependencies.html":{}}}],["bind",{"_index":457,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"additional-documentation/introduction.html":{}}}],["bindings",{"_index":1097,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["binds",{"_index":1105,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["boolean",{"_index":141,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"interfaces/LayoutOptions.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["bootstrap",{"_index":420,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{},"overview.html":{}}}],["both",{"_index":338,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["bound",{"_index":1151,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["brace",{"_index":268,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"dependencies.html":{}}}],["brace]{@link",{"_index":385,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["bring",{"_index":907,"title":{},"body":{"index.html":{}}}],["browse",{"_index":1012,"title":{},"body":{"modules.html":{}}}],["browser",{"_index":119,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"modules/JsonSchemaFormModule.html":{},"dependencies.html":{},"index.html":{},"modules.html":{}}}],["browserified",{"_index":269,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["browsermodule",{"_index":923,"title":{},"body":{"index.html":{}}}],["bubble",{"_index":1150,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["builder",{"_index":891,"title":{},"body":{"index.html":{}}}],["buildlayout(layout",{"_index":686,"title":{},"body":{"injectables/LayoutService.html":{}}}],["bunch",{"_index":935,"title":{},"body":{"index.html":{}}}],["button",{"_index":23,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["button'},{'name",{"_index":99,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["button.component.html",{"_index":27,"title":{},"body":{"components/ButtonComponent.html":{}}}],["button.component.scss",{"_index":25,"title":{},"body":{"components/ButtonComponent.html":{}}}],["button.html",{"_index":1103,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["button1",{"_index":1133,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["button2",{"_index":1135,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["buttoncomponent",{"_index":1,"title":{"components/ButtonComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["buttons",{"_index":1089,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["can't",{"_index":1174,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["care",{"_index":1065,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["case",{"_index":1164,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["catch",{"_index":701,"title":{},"body":{"injectables/LayoutService.html":{}}}],["cb",{"_index":739,"title":{},"body":{"injectables/SchemaService.html":{}}}],["change",{"_index":67,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["changedetection",{"_index":276,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["changedetectionstrategy",{"_index":324,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["changedetectionstrategy.onpush",{"_index":277,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["changes",{"_index":759,"title":{},"body":{"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["changes.hasownproperty('schema",{"_index":398,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["changes.layoutnode",{"_index":819,"title":{},"body":{"classes/Widget.html":{}}}],["charge",{"_index":958,"title":{},"body":{"license.html":{}}}],["check",{"_index":909,"title":{},"body":{"index.html":{}}}],["checkmark",{"_index":1102,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["choice",{"_index":1170,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["claim",{"_index":1000,"title":{},"body":{"license.html":{}}}],["class",{"_index":88,"title":{"classes/LayoutNode.html":{},"classes/Widget.html":{}},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["classes",{"_index":473,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"classes/Widget.html":{},"overview.html":{}}}],["click",{"_index":1128,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["click.data.layout",{"_index":1152,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["clicked",{"_index":1149,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["client",{"_index":248,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["clonedeep",{"_index":329,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{}}}],["clonedeep(this.layoutitem",{"_index":619,"title":{},"body":{"classes/LayoutNode.html":{}}}],["clonedeep(this.schema",{"_index":415,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["cluster_jsonschemaformmodule",{"_index":422,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_jsonschemaformmodule_declarations",{"_index":423,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_jsonschemaformmodule_exports",{"_index":426,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_jsonschemaformmodule_imports",{"_index":425,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_jsonschemaformmodule_jsonschemaformcomponent_providers",{"_index":424,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"overview.html":{}}}],["cluster_widgetlibrarymodule",{"_index":833,"title":{},"body":{"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["cluster_widgetlibrarymodule_declarations",{"_index":834,"title":{},"body":{"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["cluster_widgetlibrarymodule_exports",{"_index":835,"title":{},"body":{"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["code",{"_index":1144,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["collector",{"_index":200,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["color",{"_index":1087,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["command",{"_index":1059,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["commonmodule",{"_index":432,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{}}}],["compatible",{"_index":359,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["compilation",{"_index":1110,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["compile",{"_index":1111,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["compiler",{"_index":464,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"additional-documentation/introduction.html":{}}}],["compiler,private",{"_index":491,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["compiler.compilemoduleandallcomponentssync(runtimecomponentmodule",{"_index":484,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["compiles",{"_index":449,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["compileschema",{"_index":751,"title":{},"body":{"injectables/SchemaService.html":{}}}],["compiletemplate",{"_index":443,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["compiletemplate(template",{"_index":445,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["component",{"_index":0,"title":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"injectables/WidgetLibraryService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["component's",{"_index":930,"title":{},"body":{"index.html":{}}}],["component_template",{"_index":98,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["componentfactory",{"_index":769,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["componentfactoryresolver",{"_index":766,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["componentref",{"_index":465,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{}}}],["componentref.destroy",{"_index":516,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["componentref.hostview.detectchanges",{"_index":514,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["componentref.location.nativeelement).innerhtml",{"_index":489,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["components",{"_index":2,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["conditions",{"_index":980,"title":{},"body":{"license.html":{}}}],["connection",{"_index":1008,"title":{},"body":{"license.html":{}}}],["console.error('buildlayout",{"_index":703,"title":{},"body":{"injectables/LayoutService.html":{}}}],["console.error(layoutitem",{"_index":705,"title":{},"body":{"injectables/LayoutService.html":{}}}],["console.warn(this",{"_index":403,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["const",{"_index":152,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["constructor",{"_index":41,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["constructor(componentfactory",{"_index":765,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["constructor(elementdatastorage",{"_index":169,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["constructor(jsf",{"_index":42,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"classes/Widget.html":{}}}],["constructor(layoutitem",{"_index":558,"title":{},"body":{"classes/LayoutNode.html":{}}}],["constructor(private",{"_index":136,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{}}}],["constructor(protected",{"_index":816,"title":{},"body":{"classes/Widget.html":{}}}],["constructor(schemaservice",{"_index":289,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/LayoutService.html":{}}}],["consumption",{"_index":904,"title":{},"body":{"index.html":{}}}],["contain",{"_index":191,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"additional-documentation/introduction.html":{}}}],["container",{"_index":525,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["contains",{"_index":536,"title":{},"body":{"classes/LayoutNode.html":{}}}],["content",{"_index":557,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["context",{"_index":446,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["contianer",{"_index":530,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["contract",{"_index":1004,"title":{},"body":{"license.html":{}}}],["control",{"_index":17,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["control.controlname",{"_index":498,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["control.layoutnode.name",{"_index":499,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["controldisabled",{"_index":30,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["controlname",{"_index":31,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["controls",{"_index":341,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["controlvalue",{"_index":32,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["conversion",{"_index":1171,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["converted",{"_index":188,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"classes/LayoutNode.html":{}}}],["copies",{"_index":976,"title":{},"body":{"license.html":{}}}],["copy",{"_index":574,"title":{},"body":{"classes/LayoutNode.html":{},"license.html":{}}}],["copyright",{"_index":942,"title":{},"body":{"license.html":{}}}],["core",{"_index":874,"title":{},"body":{"dependencies.html":{}}}],["couple",{"_index":1129,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["create",{"_index":481,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{}}}],["create(layoutitem",{"_index":564,"title":{},"body":{"classes/LayoutNode.html":{}}}],["createcomponent",{"_index":785,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["createcomponent(template",{"_index":477,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["created",{"_index":761,"title":{},"body":{"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["createmodule(component",{"_index":482,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["creates",{"_index":459,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{}}}],["creation",{"_index":494,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["ctx",{"_index":463,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["current",{"_index":1108,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["currentlayout",{"_index":695,"title":{},"body":{"injectables/LayoutService.html":{}}}],["currently",{"_index":1083,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["custom",{"_index":1092,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["damages",{"_index":1001,"title":{},"body":{"license.html":{}}}],["data",{"_index":56,"title":{"interfaces/Data.html":{}},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"miscellaneous/typealiases.html":{},"additional-documentation/introduction.html":{}}}],["dataevent",{"_index":122,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{},"additional-documentation/introduction.html":{}}}],["dataeventpluginservice",{"_index":134,"title":{"injectables/DataEventPluginService.html":{}},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"modules/JsonSchemaFormModule.html":{}}}],["dataindex",{"_index":38,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["dataname",{"_index":155,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["datapointer",{"_index":556,"title":{},"body":{"classes/LayoutNode.html":{}}}],["datapointermap",{"_index":713,"title":{},"body":{"injectables/SchemaService.html":{}}}],["datatype",{"_index":636,"title":{},"body":{"classes/LayoutNode.html":{}}}],["david",{"_index":945,"title":{},"body":{"license.html":{}}}],["davis",{"_index":947,"title":{},"body":{"license.html":{}}}],["deal",{"_index":964,"title":{},"body":{"license.html":{}}}],["dealings",{"_index":1009,"title":{},"body":{"license.html":{}}}],["deault",{"_index":1055,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["declarations",{"_index":419,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{},"overview.html":{}}}],["decorators",{"_index":596,"title":{},"body":{"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{},"dependencies.html":{}}}],["default",{"_index":70,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["defaultto",{"_index":589,"title":{},"body":{"classes/LayoutNode.html":{}}}],["defaultto(key",{"_index":616,"title":{},"body":{"classes/LayoutNode.html":{}}}],["defaultto(this.layoutitem.options",{"_index":632,"title":{},"body":{"classes/LayoutNode.html":{}}}],["defaultto(this.schema",{"_index":625,"title":{},"body":{"classes/LayoutNode.html":{}}}],["defaultwidget",{"_index":847,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["define",{"_index":307,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["defined",{"_index":46,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["definition",{"_index":571,"title":{},"body":{"classes/LayoutNode.html":{}}}],["definitions",{"_index":728,"title":{},"body":{"injectables/SchemaService.html":{}}}],["degree",{"_index":541,"title":{},"body":{"classes/LayoutNode.html":{}}}],["delete",{"_index":204,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["delete(element",{"_index":206,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["deleted",{"_index":232,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["demo",{"_index":911,"title":{},"body":{"index.html":{}}}],["dependencies",{"_index":418,"title":{"dependencies.html":{}},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"dependencies.html":{},"overview.html":{}}}],["depends",{"_index":256,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["describing",{"_index":61,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["description",{"_index":15,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["destroyed",{"_index":394,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["determine",{"_index":138,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"interfaces/LayoutItem.html":{}}}],["determined",{"_index":1050,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["dialog",{"_index":310,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["difference",{"_index":681,"title":{},"body":{"injectables/LayoutService.html":{}}}],["directive",{"_index":96,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["directives",{"_index":106,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["dirname",{"_index":641,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["disable",{"_index":74,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["disabled",{"_index":642,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["display",{"_index":927,"title":{},"body":{"index.html":{},"additional-documentation/introduction.html":{}}}],["displayed",{"_index":679,"title":{},"body":{"injectables/LayoutService.html":{}}}],["displays",{"_index":16,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{}}}],["distribute",{"_index":973,"title":{},"body":{"license.html":{}}}],["document",{"_index":451,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["document.createelement('template",{"_index":487,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["documentation",{"_index":962,"title":{},"body":{"license.html":{}}}],["documentfragment",{"_index":455,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["dom",{"_index":7,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["don't",{"_index":931,"title":{},"body":{"index.html":{},"additional-documentation/introduction.html":{}}}],["down",{"_index":1160,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["due",{"_index":1107,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["dynamic",{"_index":864,"title":{},"body":{"dependencies.html":{}}}],["dynamically",{"_index":758,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["ease",{"_index":1025,"title":{},"body":{"miscellaneous/variables.html":{}}}],["easy",{"_index":729,"title":{},"body":{"injectables/SchemaService.html":{}}}],["editor",{"_index":271,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"dependencies.html":{}}}],["element",{"_index":84,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["element.addeventlistener(type",{"_index":164,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["element.removeeventlistener(type",{"_index":165,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["elementdatastorage",{"_index":44,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["elementdatastorageservice",{"_index":45,"title":{"injectables/ElementDataStorageService.html":{}},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["elementref",{"_index":809,"title":{},"body":{"classes/Widget.html":{}}}],["enctype",{"_index":286,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["entire",{"_index":349,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["entrycomponents",{"_index":837,"title":{},"body":{"modules/WidgetLibraryModule.html":{}}}],["equal",{"_index":1044,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["err",{"_index":702,"title":{},"body":{"injectables/LayoutService.html":{}}}],["error",{"_index":601,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["error('missing",{"_index":605,"title":{},"body":{"classes/LayoutNode.html":{}}}],["even",{"_index":495,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["event",{"_index":63,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"modules/JsonSchemaFormModule.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"license.html":{},"miscellaneous/typealiases.html":{},"additional-documentation/introduction.html":{}}}],["event.data",{"_index":160,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["event.data.id",{"_index":1141,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["event.data.onclick",{"_index":1147,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["event.target).value",{"_index":832,"title":{},"body":{"classes/Widget.html":{}}}],["event_manager_plugins",{"_index":435,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["eventhandler",{"_index":157,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["eventmanager",{"_index":117,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["eventname",{"_index":150,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["eventname.split",{"_index":156,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["events",{"_index":1126,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["everything",{"_index":1057,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["example",{"_index":266,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["example.html",{"_index":366,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["examples",{"_index":913,"title":{},"body":{"index.html":{}}}],["examples)]{@link",{"_index":364,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["exception",{"_index":1091,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["expect",{"_index":1173,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["export",{"_index":87,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["exports",{"_index":421,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["express",{"_index":988,"title":{},"body":{"license.html":{}}}],["extends",{"_index":18,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["external",{"_index":1143,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["f.componenttype",{"_index":511,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["factory",{"_index":509,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["factory.create(this.injector",{"_index":512,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["false",{"_index":71,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["favor",{"_index":1118,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["feedback",{"_index":345,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["few",{"_index":1066,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["fields",{"_index":1049,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["file",{"_index":9,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["files",{"_index":963,"title":{},"body":{"license.html":{}}}],["filling",{"_index":346,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["find",{"_index":934,"title":{},"body":{"index.html":{}}}],["fired",{"_index":131,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["first",{"_index":127,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["firstname",{"_index":1038,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["fitness",{"_index":993,"title":{},"body":{"license.html":{}}}],["flag",{"_index":73,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["fn",{"_index":1145,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["fn(event",{"_index":1148,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["folder",{"_index":939,"title":{},"body":{"index.html":{}}}],["following",{"_index":929,"title":{},"body":{"index.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["form",{"_index":246,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"index.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["form's",{"_index":360,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"index.html":{}}}],["form'},{'name",{"_index":103,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["form.component",{"_index":439,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["form.component.html",{"_index":281,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["form.component.ts",{"_index":244,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["form.component.ts:119",{"_index":320,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:124",{"_index":323,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:63",{"_index":313,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:65",{"_index":306,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:70",{"_index":292,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:75",{"_index":299,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:80",{"_index":305,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:85",{"_index":311,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:90",{"_index":319,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.component.ts:94",{"_index":290,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["form.module.ts",{"_index":430,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["form.service",{"_index":86,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["form.service.ts",{"_index":442,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form.service.ts:47",{"_index":458,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form.service.ts:53",{"_index":462,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form.service.ts:63",{"_index":448,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["form/src/lib/data",{"_index":113,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{}}}],["form/src/lib/element",{"_index":173,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["form/src/lib/json",{"_index":243,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{}}}],["form/src/lib/layout",{"_index":517,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{}}}],["form/src/lib/layout.service.ts",{"_index":667,"title":{},"body":{"injectables/LayoutService.html":{}}}],["form/src/lib/layout.service.ts:18",{"_index":676,"title":{},"body":{"injectables/LayoutService.html":{}}}],["form/src/lib/layout.service.ts:20",{"_index":672,"title":{},"body":{"injectables/LayoutService.html":{}}}],["form/src/lib/layout.service.ts:24",{"_index":674,"title":{},"body":{"injectables/LayoutService.html":{}}}],["form/src/lib/schema.service.ts",{"_index":711,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/schema.service.ts:17",{"_index":721,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/schema.service.ts:21",{"_index":719,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/schema.service.ts:30",{"_index":724,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/schema.service.ts:49",{"_index":715,"title":{},"body":{"injectables/SchemaService.html":{}}}],["form/src/lib/widget",{"_index":13,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/variables.html":{}}}],["form]{@link",{"_index":361,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["formcontrol",{"_index":33,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["forminitialized",{"_index":388,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["fragment",{"_index":452,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["free",{"_index":957,"title":{},"body":{"license.html":{}}}],["function",{"_index":151,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/SchemaService.html":{}}}],["function('event",{"_index":1146,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["furnished",{"_index":979,"title":{},"body":{"license.html":{}}}],["garbage",{"_index":199,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["generatengcontent",{"_index":793,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["generates",{"_index":252,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["get(element",{"_index":212,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["getcontent",{"_index":583,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getdatapointer",{"_index":578,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getdatapointermap",{"_index":723,"title":{},"body":{"injectables/SchemaService.html":{}}}],["getdocumentfragment(componentref",{"_index":486,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["getlayout",{"_index":675,"title":{},"body":{"injectables/LayoutService.html":{}}}],["getlayoutdefinition",{"_index":572,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getname",{"_index":576,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getoptions",{"_index":586,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getpointer(key",{"_index":614,"title":{},"body":{"classes/LayoutNode.html":{}}}],["gets",{"_index":725,"title":{},"body":{"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}}}],["getschema",{"_index":718,"title":{},"body":{"injectables/SchemaService.html":{}}}],["getting",{"_index":888,"title":{"index.html":{},"license.html":{}},"body":{}}],["gettype",{"_index":581,"title":{},"body":{"classes/LayoutNode.html":{}}}],["getwidget",{"_index":842,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["getwidget(type",{"_index":843,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["given",{"_index":567,"title":{},"body":{"classes/LayoutNode.html":{}}}],["gives",{"_index":545,"title":{},"body":{"classes/LayoutNode.html":{}}}],["global",{"_index":657,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["good",{"_index":1169,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["google",{"_index":1136,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["granted",{"_index":956,"title":{},"body":{"license.html":{}}}],["greater",{"_index":1045,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ground",{"_index":902,"title":{},"body":{"index.html":{}}}],["handle",{"_index":623,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["handlebars",{"_index":469,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"dependencies.html":{},"additional-documentation/introduction.html":{}}}],["handlebars.compile(template)({options",{"_index":504,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["handlebars/dist/cjs/handlebars",{"_index":470,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["handled",{"_index":1155,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["handler",{"_index":130,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["handler(event",{"_index":162,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["handling",{"_index":669,"title":{},"body":{"injectables/LayoutService.html":{}}}],["has(element",{"_index":215,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["haswidget(type",{"_index":853,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["height",{"_index":662,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["held",{"_index":944,"title":{},"body":{"license.html":{}}}],["here",{"_index":914,"title":{},"body":{"index.html":{},"additional-documentation/introduction.html":{}}}],["hereby",{"_index":955,"title":{},"body":{"license.html":{}}}],["hidden",{"_index":239,"title":{},"body":{"components/HiddenComponent.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["hidden'},{'name",{"_index":101,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["hidden.component.html",{"_index":241,"title":{},"body":{"components/HiddenComponent.html":{}}}],["hidden.component.scss",{"_index":240,"title":{},"body":{"components/HiddenComponent.html":{}}}],["hiddencomponent",{"_index":100,"title":{"components/HiddenComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["holders",{"_index":998,"title":{},"body":{"license.html":{}}}],["html",{"_index":95,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["htmlclass",{"_index":643,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["htmlelement",{"_index":149,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{}}}],["http://json",{"_index":1035,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["http://schemaform.io",{"_index":362,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["http://schemaform.io/examples/bootstrap",{"_index":365,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["http://thlorenz.github.io/brace",{"_index":386,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["http://ulion.github.io/jsonform/playground",{"_index":376,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://angular.io",{"_index":378,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://developer.mozilla.org/en",{"_index":297,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{}}}],["https://example.com/person.schema.json",{"_index":1034,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["https://github.com/epoberezkin/ajv",{"_index":382,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://github.com/epoberezkin/json",{"_index":384,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://github.com/joshfire/jsonform",{"_index":375,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://github.com/lodash/lodash",{"_index":380,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://github.com/mozilla",{"_index":370,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["https://mozilla",{"_index":372,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["icon",{"_index":644,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["id",{"_index":553,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["identifier",{"_index":563,"title":{},"body":{"classes/LayoutNode.html":{}}}],["ignore",{"_index":748,"title":{},"body":{"injectables/SchemaService.html":{}}}],["image",{"_index":848,"title":{},"body":{"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["implements",{"_index":272,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["implied",{"_index":989,"title":{},"body":{"license.html":{}}}],["import",{"_index":82,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["imported",{"_index":1124,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["imports",{"_index":431,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{}}}],["included",{"_index":983,"title":{},"body":{"license.html":{},"additional-documentation/introduction.html":{}}}],["including",{"_index":967,"title":{},"body":{"license.html":{}}}],["inclusion",{"_index":1117,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["incorrect",{"_index":786,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["index",{"_index":28,"title":{"index.html":{}},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{}}}],["indexable",{"_index":519,"title":{},"body":{"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}}}],["individual",{"_index":340,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["info",{"_index":3,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["inherited",{"_index":54,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["initial",{"_index":825,"title":{},"body":{"classes/Widget.html":{}}}],["initialize",{"_index":821,"title":{},"body":{"classes/Widget.html":{}}}],["initializecontrol",{"_index":444,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["initializecontrol(control",{"_index":456,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["initializeform",{"_index":406,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["initializelayout",{"_index":410,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["initializeschema",{"_index":412,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["injectable",{"_index":115,"title":{"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}}}],["injectables",{"_index":166,"title":{},"body":{"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{},"overview.html":{}}}],["injecting",{"_index":774,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["injector",{"_index":466,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["innerhtml",{"_index":485,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["input",{"_index":325,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["input/button/button.component",{"_index":845,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["input/hidden/hidden.component",{"_index":846,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["input[name",{"_index":524,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{}}}],["input[type='hidden",{"_index":238,"title":{},"body":{"components/HiddenComponent.html":{}}}],["inputs",{"_index":37,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["inserted",{"_index":1095,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["inside",{"_index":585,"title":{},"body":{"classes/LayoutNode.html":{}}}],["inspect",{"_index":1161,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["install",{"_index":919,"title":{},"body":{"index.html":{}}}],["installing",{"_index":917,"title":{},"body":{"index.html":{}}}],["instances",{"_index":1078,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["integer",{"_index":1047,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["interface",{"_index":111,"title":{"interfaces/Data.html":{},"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}}}],["interfaces",{"_index":112,"title":{},"body":{"interfaces/Data.html":{},"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{},"overview.html":{}}}],["internal",{"_index":295,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["internally",{"_index":1156,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["introduction",{"_index":1028,"title":{"additional-documentation/introduction.html":{}},"body":{}}],["isplainobject",{"_index":330,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["isplainobject(this.schema",{"_index":413,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["isstring",{"_index":590,"title":{},"body":{"classes/LayoutNode.html":{}}}],["isstring(layoutitem",{"_index":608,"title":{},"body":{"classes/LayoutNode.html":{}}}],["isstring(this.layoutitem.content",{"_index":626,"title":{},"body":{"classes/LayoutNode.html":{}}}],["it's",{"_index":899,"title":{},"body":{"index.html":{}}}],["item",{"_index":523,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["item.data",{"_index":332,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["item.data.ts",{"_index":518,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["item.data.ts:16",{"_index":521,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["items",{"_index":637,"title":{},"body":{"classes/LayoutNode.html":{}}}],["itself",{"_index":182,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["james",{"_index":951,"title":{},"body":{"license.html":{}}}],["javascript",{"_index":259,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["joshfire's",{"_index":374,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["jquery",{"_index":178,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{}}}],["jquery's",{"_index":1158,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["js",{"_index":875,"title":{},"body":{"dependencies.html":{}}}],["jsf",{"_index":22,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["json",{"_index":11,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["json/path",{"_index":613,"title":{},"body":{"classes/LayoutNode.html":{}}}],["jsonpointers",{"_index":746,"title":{},"body":{"injectables/SchemaService.html":{}}}],["jsonschema",{"_index":369,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["jsonschema7",{"_index":312,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"additional-documentation/introduction.html":{}}}],["jsonschema7definition",{"_index":682,"title":{},"body":{"injectables/LayoutService.html":{},"injectables/SchemaService.html":{}}}],["jsonschemaformcomponent",{"_index":102,"title":{"components/JsonSchemaFormComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"components/SelectWidgetComponent.html":{},"overview.html":{}}}],["jsonschemaformmodule",{"_index":416,"title":{"modules/JsonSchemaFormModule.html":{}},"body":{"modules/JsonSchemaFormModule.html":{},"index.html":{},"modules.html":{},"overview.html":{}}}],["jsonschemaformservice",{"_index":43,"title":{"injectables/JsonSchemaFormService.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"overview.html":{}}}],["jsonschemaformservice.createcomponent(template",{"_index":506,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["jsonschemaformservice.createmodule(component",{"_index":507,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["jsonschemaformservice.getdocumentfragment(componentref",{"_index":515,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["key",{"_index":207,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["key's",{"_index":214,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["key(object.path",{"_index":612,"title":{},"body":{"classes/LayoutNode.html":{}}}],["key/value",{"_index":209,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["kind",{"_index":987,"title":{},"body":{"license.html":{}}}],["laid",{"_index":1062,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["last",{"_index":1041,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["lastly",{"_index":1139,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["lastname",{"_index":1040,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layout",{"_index":58,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"dependencies.html":{},"additional-documentation/introduction.html":{}}}],["layout.component.ts",{"_index":1073,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layout.json",{"_index":1072,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layout.onclick",{"_index":1132,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layout.reduce((currentlayout",{"_index":693,"title":{},"body":{"injectables/LayoutService.html":{}}}],["layout.service",{"_index":333,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["layout.type",{"_index":602,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutcomponent",{"_index":1074,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["layoutdefinition",{"_index":555,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutindex",{"_index":39,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["layoutitem",{"_index":331,"title":{"interfaces/LayoutItem.html":{}},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["layoutitem.type",{"_index":604,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutnode",{"_index":40,"title":{"classes/LayoutNode.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["layoutnode(item",{"_index":610,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutnode.create(layoutitem",{"_index":697,"title":{},"body":{"injectables/LayoutService.html":{}}}],["layoutnode.getpointer(this.layoutitem.key",{"_index":622,"title":{},"body":{"classes/LayoutNode.html":{}}}],["layoutoptions",{"_index":588,"title":{"interfaces/LayoutOptions.html":{}},"body":{"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{}}}],["layouts",{"_index":670,"title":{},"body":{"injectables/LayoutService.html":{}}}],["layoutservice",{"_index":279,"title":{"injectables/LayoutService.html":{}},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/LayoutService.html":{},"overview.html":{}}}],["left",{"_index":898,"title":{},"body":{"index.html":{}}}],["legend",{"_index":94,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"components/SelectWidgetComponent.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["liability",{"_index":1002,"title":{},"body":{"license.html":{}}}],["liable",{"_index":999,"title":{},"body":{"license.html":{}}}],["library",{"_index":250,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["library.module",{"_index":437,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["library.module.ts",{"_index":836,"title":{},"body":{"modules/WidgetLibraryModule.html":{}}}],["library.service",{"_index":776,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["library.service.ts",{"_index":840,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["library.service.ts:28",{"_index":844,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["library/container/select",{"_index":755,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["library/index.ts",{"_index":1024,"title":{},"body":{"miscellaneous/variables.html":{}}}],["library/input/button/button.component.ts",{"_index":14,"title":{},"body":{"components/ButtonComponent.html":{}}}],["library/input/button/button.component.ts:14",{"_index":47,"title":{},"body":{"components/ButtonComponent.html":{}}}],["library/input/hidden/hidden.component.ts",{"_index":237,"title":{},"body":{"components/HiddenComponent.html":{}}}],["library/input/hidden/hidden.component.ts:16",{"_index":242,"title":{},"body":{"components/HiddenComponent.html":{}}}],["library/widget",{"_index":436,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{}}}],["library/widget.ts",{"_index":797,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:11",{"_index":800,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:13",{"_index":801,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:15",{"_index":802,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:17",{"_index":803,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:19",{"_index":804,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:22",{"_index":808,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:24",{"_index":807,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:26",{"_index":806,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:29",{"_index":799,"title":{},"body":{"classes/Widget.html":{}}}],["library/widget.ts:64",{"_index":805,"title":{},"body":{"classes/Widget.html":{}}}],["license",{"_index":940,"title":{"license.html":{}},"body":{"license.html":{}}}],["limitation",{"_index":968,"title":{},"body":{"license.html":{},"additional-documentation/introduction.html":{}}}],["limited",{"_index":990,"title":{},"body":{"license.html":{}}}],["link",{"_index":387,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{}}}],["list",{"_index":677,"title":{},"body":{"injectables/LayoutService.html":{},"miscellaneous/variables.html":{}}}],["listener",{"_index":147,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["listners",{"_index":391,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["literal",{"_index":447,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}}}],["live",{"_index":910,"title":{},"body":{"index.html":{}}}],["load",{"_index":1121,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["location",{"_index":1067,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["lodash",{"_index":258,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"dependencies.html":{}}}],["lodash]{@link",{"_index":379,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["logic",{"_index":537,"title":{},"body":{"classes/LayoutNode.html":{}}}],["login.component.html",{"_index":1081,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["look",{"_index":813,"title":{},"body":{"classes/Widget.html":{}}}],["looking",{"_index":568,"title":{},"body":{"classes/LayoutNode.html":{}}}],["lookup",{"_index":730,"title":{},"body":{"injectables/SchemaService.html":{}}}],["lot",{"_index":906,"title":{},"body":{"index.html":{}}}],["main",{"_index":921,"title":{},"body":{"index.html":{}}}],["make",{"_index":352,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["manager",{"_index":135,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["map",{"_index":176,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"interfaces/LayoutItem.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{}}}],["map()).get(element",{"_index":226,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mapkeys",{"_index":591,"title":{},"body":{"classes/LayoutNode.html":{}}}],["mapkeys(pick(this.schema",{"_index":630,"title":{},"body":{"classes/LayoutNode.html":{}}}],["mappeddata",{"_index":223,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mappeddata.delete(key",{"_index":233,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mappeddata.set(key",{"_index":227,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mappeddata.size",{"_index":234,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["mappedlayout",{"_index":692,"title":{},"body":{"injectables/LayoutService.html":{}}}],["mappedlayout.splice(starindex",{"_index":708,"title":{},"body":{"injectables/LayoutService.html":{}}}],["mappedpointers",{"_index":689,"title":{},"body":{"injectables/LayoutService.html":{}}}],["mappedpointers.add(layoutnode.datapointer",{"_index":699,"title":{},"body":{"injectables/LayoutService.html":{}}}],["mapping",{"_index":841,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["matched",{"_index":1176,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["matching",{"_index":109,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"modules.html":{},"overview.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["max",{"_index":472,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["means",{"_index":128,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["memoize",{"_index":595,"title":{},"body":{"classes/LayoutNode.html":{}}}],["merchantability",{"_index":992,"title":{},"body":{"license.html":{}}}],["merge",{"_index":971,"title":{},"body":{"license.html":{}}}],["metadata",{"_index":20,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["method",{"_index":287,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["methods",{"_index":35,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["minimum",{"_index":1048,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["miscellaneous",{"_index":1018,"title":{"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{}},"body":{"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{}}}],["mit",{"_index":941,"title":{},"body":{"license.html":{}}}],["mode",{"_index":1122,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["model",{"_index":254,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["modify",{"_index":970,"title":{},"body":{"license.html":{}}}],["module",{"_index":247,"title":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{}},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{},"overview.html":{}}}],["module.componentfactories.find((f",{"_index":510,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["moduleref",{"_index":492,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["modules",{"_index":417,"title":{"modules.html":{}},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"modules.html":{},"overview.html":{}}}],["modulewithcomponentfactories",{"_index":467,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["more",{"_index":1080,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["mostly",{"_index":357,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["mozilla's",{"_index":367,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["multi",{"_index":440,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["multipart/form",{"_index":303,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["n",{"_index":1085,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["name",{"_index":50,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["native",{"_index":1076,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["necessary",{"_index":1180,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["need",{"_index":187,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"additional-documentation/introduction.html":{}}}],["needed",{"_index":544,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["never",{"_index":1178,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["new",{"_index":222,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"additional-documentation/introduction.html":{}}}],["newcomponent",{"_index":777,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["newlayout",{"_index":694,"title":{},"body":{"injectables/LayoutService.html":{}}}],["newlayout.concat(layoutnode",{"_index":700,"title":{},"body":{"injectables/LayoutService.html":{}}}],["ng2",{"_index":881,"title":{},"body":{"dependencies.html":{}}}],["ngafterviewinit",{"_index":826,"title":{},"body":{"classes/Widget.html":{}}}],["ngdestroy",{"_index":393,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["ngmodule",{"_index":434,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{}}}],["ngmoduleref",{"_index":468,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["ngonchanges",{"_index":779,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["ngonchanges(changes",{"_index":397,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/Widget.html":{}}}],["ngondestroy",{"_index":400,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["ngoninit",{"_index":395,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["ngx",{"_index":245,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"index.html":{},"license.html":{},"additional-documentation/introduction.html":{}}}],["ngxjsonschemaform",{"_index":890,"title":{},"body":{"index.html":{}}}],["ngzone",{"_index":116,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["node",{"_index":60,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["node.ts",{"_index":535,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:22",{"_index":559,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:40",{"_index":565,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:58",{"_index":573,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:62",{"_index":577,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:66",{"_index":579,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:70",{"_index":582,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:75",{"_index":584,"title":{},"body":{"classes/LayoutNode.html":{}}}],["node.ts:79",{"_index":587,"title":{},"body":{"classes/LayoutNode.html":{}}}],["nodes",{"_index":678,"title":{},"body":{"injectables/LayoutService.html":{}}}],["non",{"_index":192,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["noninfringement",{"_index":996,"title":{},"body":{"license.html":{}}}],["normalizes",{"_index":611,"title":{},"body":{"classes/LayoutNode.html":{}}}],["note",{"_index":526,"title":{},"body":{"interfaces/LayoutItem.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["notice",{"_index":981,"title":{},"body":{"license.html":{}}}],["npm",{"_index":918,"title":{},"body":{"index.html":{}}}],["null",{"_index":291,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["number",{"_index":654,"title":{},"body":{"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{}}}],["numerous",{"_index":1082,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["object",{"_index":355,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutItem.html":{},"injectables/SchemaService.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["objects",{"_index":185,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["observable",{"_index":389,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["obtaining",{"_index":960,"title":{},"body":{"license.html":{}}}],["obviously",{"_index":257,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["older",{"_index":1070,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["omit",{"_index":592,"title":{},"body":{"classes/LayoutNode.html":{}}}],["omit(this.layoutitem",{"_index":631,"title":{},"body":{"classes/LayoutNode.html":{}}}],["once",{"_index":1051,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["onchanges",{"_index":273,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["onclick",{"_index":1137,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["onclick(event",{"_index":1140,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ondestroy",{"_index":274,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["oninit",{"_index":275,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["onto",{"_index":760,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["open",{"_index":1134,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["opendialog",{"_index":1165,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["opendialog(event",{"_index":1142,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["option",{"_index":1093,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["optional",{"_index":52,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["options",{"_index":34,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["options.data",{"_index":597,"title":{},"body":{"classes/LayoutNode.html":{}}}],["options.data.ts",{"_index":639,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["options.data.ts:32",{"_index":647,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["options.title",{"_index":1099,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["order",{"_index":1031,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["original",{"_index":575,"title":{},"body":{"classes/LayoutNode.html":{}}}],["others",{"_index":520,"title":{},"body":{"interfaces/LayoutItem.html":{},"interfaces/LayoutOptions.html":{}}}],["otherwise",{"_index":1006,"title":{},"body":{"license.html":{}}}],["out",{"_index":347,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"index.html":{},"license.html":{},"overview.html":{},"additional-documentation/introduction.html":{}}}],["over",{"_index":896,"title":{},"body":{"index.html":{}}}],["overview",{"_index":1013,"title":{"overview.html":{}},"body":{"overview.html":{}}}],["package",{"_index":854,"title":{"dependencies.html":{}},"body":{}}],["page",{"_index":1027,"title":{"additional-documentation/introduction.html":{}},"body":{}}],["pairing",{"_index":210,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["param",{"_index":501,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["parameters",{"_index":48,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["parentschema",{"_index":741,"title":{},"body":{"injectables/SchemaService.html":{}}}],["parentschema.type",{"_index":742,"title":{},"body":{"injectables/SchemaService.html":{}}}],["parity",{"_index":908,"title":{},"body":{"index.html":{}}}],["parse",{"_index":538,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["parsing",{"_index":712,"title":{},"body":{"injectables/SchemaService.html":{}}}],["part",{"_index":949,"title":{},"body":{"license.html":{},"additional-documentation/introduction.html":{}}}],["particular",{"_index":994,"title":{},"body":{"license.html":{}}}],["pass",{"_index":550,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["passed",{"_index":460,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["path",{"_index":522,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{}}}],["per",{"_index":474,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["permission",{"_index":954,"title":{},"body":{"license.html":{}}}],["permit",{"_index":977,"title":{},"body":{"license.html":{}}}],["person",{"_index":959,"title":{},"body":{"license.html":{},"additional-documentation/introduction.html":{}}}],["person's",{"_index":1039,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["persons",{"_index":978,"title":{},"body":{"license.html":{}}}],["pertains",{"_index":598,"title":{},"body":{"classes/LayoutNode.html":{}}}],["pick",{"_index":593,"title":{},"body":{"classes/LayoutNode.html":{}}}],["pick(this.schema",{"_index":628,"title":{},"body":{"classes/LayoutNode.html":{}}}],["piggybacking",{"_index":121,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{}}}],["placeholder",{"_index":773,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["play",{"_index":912,"title":{},"body":{"index.html":{}}}],["playground",{"_index":267,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["plugin",{"_index":124,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["plugin.service",{"_index":438,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["plugin.service.ts",{"_index":114,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{}}}],["plugin.service.ts:22",{"_index":170,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["plugin.service.ts:27",{"_index":172,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["plugin.service.ts:32",{"_index":171,"title":{},"body":{"injectables/DataEventPluginService.html":{}}}],["pointer",{"_index":615,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/SchemaService.html":{}}}],["pointer.charat(0",{"_index":617,"title":{},"body":{"classes/LayoutNode.html":{}}}],["pointer.replace(/\\./g",{"_index":618,"title":{},"body":{"classes/LayoutNode.html":{}}}],["pointers",{"_index":727,"title":{},"body":{"injectables/SchemaService.html":{}}}],["pointers.set(pointer.replace(/\\/properties/g",{"_index":743,"title":{},"body":{"injectables/SchemaService.html":{}}}],["populate",{"_index":822,"title":{},"body":{"classes/Widget.html":{}}}],["popup",{"_index":1166,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["portions",{"_index":943,"title":{},"body":{"license.html":{}}}],["possible",{"_index":1114,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["post",{"_index":309,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["predecesor",{"_index":897,"title":{},"body":{"index.html":{}}}],["present",{"_index":129,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["presented",{"_index":566,"title":{},"body":{"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["primitive",{"_index":184,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["private",{"_index":220,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{}}}],["project",{"_index":893,"title":{},"body":{"index.html":{},"license.html":{}}}],["projects/.../data",{"_index":1021,"title":{},"body":{"miscellaneous/typealiases.html":{}}}],["projects/.../index.ts",{"_index":1023,"title":{},"body":{"miscellaneous/variables.html":{}}}],["projects/demo/src/assets/examples",{"_index":938,"title":{},"body":{"index.html":{}}}],["projects/ngx",{"_index":10,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{}}}],["propagate",{"_index":818,"title":{},"body":{"classes/Widget.html":{}}}],["properties",{"_index":29,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["property",{"_index":528,"title":{},"body":{"interfaces/LayoutItem.html":{},"additional-documentation/introduction.html":{}}}],["propley",{"_index":1175,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["protected",{"_index":817,"title":{},"body":{"classes/Widget.html":{}}}],["provide",{"_index":342,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{}}}],["provided",{"_index":985,"title":{},"body":{"license.html":{}}}],["providedin",{"_index":132,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"injectables/WidgetLibraryService.html":{}}}],["providers",{"_index":278,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{}}}],["provides",{"_index":179,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}}}],["proxy",{"_index":542,"title":{},"body":{"classes/LayoutNode.html":{}}}],["public",{"_index":552,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["publish",{"_index":972,"title":{},"body":{"license.html":{}}}],["pulled",{"_index":91,"title":{},"body":{"components/ButtonComponent.html":{}}}],["purpose",{"_index":995,"title":{},"body":{"license.html":{}}}],["put",{"_index":529,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["question1",{"_index":1068,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["question2",{"_index":1071,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["react",{"_index":368,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["reactiveformsmodule",{"_index":839,"title":{},"body":{"modules/WidgetLibraryModule.html":{}}}],["read",{"_index":772,"title":{},"body":{"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["readonly",{"_index":137,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["ready",{"_index":903,"title":{},"body":{"index.html":{}}}],["real",{"_index":343,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["recent",{"_index":1115,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["recognized",{"_index":704,"title":{},"body":{"injectables/LayoutService.html":{}}}],["recursivereference",{"_index":638,"title":{},"body":{"classes/LayoutNode.html":{}}}],["redering",{"_index":1106,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["reducing",{"_index":1119,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["ref",{"_index":633,"title":{},"body":{"classes/LayoutNode.html":{}}}],["reference",{"_index":203,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"classes/Widget.html":{}}}],["referenced",{"_index":211,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["referencing",{"_index":195,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["related",{"_index":570,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/SchemaService.html":{}}}],["relevant",{"_index":726,"title":{},"body":{"injectables/SchemaService.html":{}}}],["remove",{"_index":202,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["removed",{"_index":198,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["render",{"_index":453,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"additional-documentation/introduction.html":{}}}],["rendered",{"_index":308,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["rendering",{"_index":454,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["replace",{"_index":814,"title":{},"body":{"classes/Widget.html":{}}}],["represent",{"_index":532,"title":{},"body":{"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{}}}],["requirement",{"_index":1029,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["reset",{"_index":429,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"overview.html":{},"additional-documentation/introduction.html":{}}}],["respond",{"_index":1125,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["restricted",{"_index":1116,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["restriction",{"_index":966,"title":{},"body":{"license.html":{}}}],["result",{"_index":108,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"modules.html":{},"overview.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["results",{"_index":110,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"modules.html":{},"overview.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["return",{"_index":126,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"injectables/WidgetLibraryService.html":{}}}],["returned",{"_index":354,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["returns",{"_index":68,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["rewritten",{"_index":901,"title":{},"body":{"index.html":{}}}],["rights",{"_index":969,"title":{},"body":{"license.html":{}}}],["root",{"_index":133,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/WidgetLibraryService.html":{}}}],["run",{"_index":1130,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["running",{"_index":1167,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["runtime",{"_index":478,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["runtimecomponent",{"_index":480,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["runtimecomponentmodule",{"_index":483,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["rxjs",{"_index":328,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"dependencies.html":{}}}],["sample",{"_index":479,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["samples",{"_index":936,"title":{},"body":{"index.html":{}}}],["savethen",{"_index":920,"title":{},"body":{"index.html":{}}}],["scharett",{"_index":952,"title":{},"body":{"license.html":{}}}],["schema",{"_index":12,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{},"dependencies.html":{},"index.html":{},"license.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["schema(value",{"_index":735,"title":{},"body":{"injectables/SchemaService.html":{}}}],["schema.json",{"_index":1033,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["schema.org/draft",{"_index":1036,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["schema.service",{"_index":334,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{}}}],["schema.type",{"_index":603,"title":{},"body":{"classes/LayoutNode.html":{},"injectables/SchemaService.html":{}}}],["schemapointers",{"_index":687,"title":{},"body":{"injectables/LayoutService.html":{}}}],["schemas",{"_index":933,"title":{},"body":{"index.html":{}}}],["schemaservice",{"_index":280,"title":{"injectables/SchemaService.html":{}},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"overview.html":{}}}],["schemaservice.datapointermap.get(layoutnode.getpointer(item.key",{"_index":609,"title":{},"body":{"classes/LayoutNode.html":{}}}],["schnell",{"_index":946,"title":{},"body":{"license.html":{}}}],["second",{"_index":1131,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["see",{"_index":296,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["seems",{"_index":496,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["select",{"_index":105,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["selector",{"_index":21,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{}}}],["selectwidgetcomponent",{"_index":104,"title":{"components/SelectWidgetComponent.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{},"miscellaneous/variables.html":{}}}],["sell",{"_index":975,"title":{},"body":{"license.html":{}}}],["service",{"_index":175,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"classes/LayoutNode.html":{}}}],["services",{"_index":668,"title":{},"body":{"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"injectables/WidgetLibraryService.html":{}}}],["services.github.io/react",{"_index":373,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["services/react",{"_index":371,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["set",{"_index":205,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"interfaces/LayoutItem.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["set(element",{"_index":217,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["setlayout",{"_index":671,"title":{},"body":{"injectables/LayoutService.html":{}}}],["setlayout(value",{"_index":673,"title":{},"body":{"injectables/LayoutService.html":{}}}],["sets",{"_index":293,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{}}}],["setschema(value",{"_index":720,"title":{},"body":{"injectables/SchemaService.html":{}}}],["setter",{"_index":731,"title":{},"body":{"injectables/SchemaService.html":{}}}],["setting",{"_index":658,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["shall",{"_index":982,"title":{},"body":{"license.html":{}}}],["shown",{"_index":1075,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["side",{"_index":249,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["silly",{"_index":497,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["similar",{"_index":177,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"components/JsonSchemaFormComponent.html":{},"index.html":{}}}],["similarly",{"_index":1157,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["simple",{"_index":1096,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["simplechanges",{"_index":326,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/Widget.html":{}}}],["simply",{"_index":928,"title":{},"body":{"index.html":{},"additional-documentation/introduction.html":{}}}],["size",{"_index":1120,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["sm",{"_index":1086,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["software",{"_index":961,"title":{},"body":{"license.html":{}}}],["source",{"_index":4,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"modules/WidgetLibraryModule.html":{},"injectables/WidgetLibraryService.html":{}}}],["special",{"_index":1058,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["specific",{"_index":547,"title":{},"body":{"classes/LayoutNode.html":{}}}],["specifically",{"_index":1061,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["specified",{"_index":533,"title":{},"body":{"interfaces/LayoutItem.html":{},"additional-documentation/introduction.html":{}}}],["specify",{"_index":531,"title":{},"body":{"interfaces/LayoutItem.html":{},"additional-documentation/introduction.html":{}}}],["specifying",{"_index":1104,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["src",{"_index":664,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["standard",{"_index":1077,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["starindex",{"_index":690,"title":{},"body":{"injectables/LayoutService.html":{}}}],["started",{"_index":889,"title":{"index.html":{},"license.html":{}},"body":{}}],["static",{"_index":476,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{}}}],["still",{"_index":905,"title":{},"body":{"index.html":{}}}],["storage",{"_index":221,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service",{"_index":85,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["storage.service.ts",{"_index":174,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service.ts:21",{"_index":218,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service.ts:29",{"_index":213,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service.ts:36",{"_index":216,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["storage.service.ts:41",{"_index":208,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["store",{"_index":181,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["string",{"_index":75,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["strings",{"_index":1113,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["structured",{"_index":253,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["style",{"_index":645,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["styles",{"_index":6,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["styleurls",{"_index":24,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["subject",{"_index":327,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"license.html":{}}}],["sublicense",{"_index":974,"title":{},"body":{"license.html":{}}}],["submit",{"_index":92,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["submitform",{"_index":282,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["submits",{"_index":321,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["submittal",{"_index":1179,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["submitted",{"_index":351,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["substantial",{"_index":984,"title":{},"body":{"license.html":{}}}],["such",{"_index":1127,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["super(jsf",{"_index":89,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["supply",{"_index":1030,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["support",{"_index":1010,"title":{},"body":{"modules.html":{}}}],["supported",{"_index":146,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["supports",{"_index":168,"title":{},"body":{"injectables/DataEventPluginService.html":{},"additional-documentation/introduction.html":{}}}],["supports(eventname",{"_index":140,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["sure",{"_index":353,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["svg",{"_index":1011,"title":{},"body":{"modules.html":{}}}],["system",{"_index":546,"title":{},"body":{"classes/LayoutNode.html":{}}}],["t",{"_index":123,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["tabindex",{"_index":646,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["tag",{"_index":1090,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["take",{"_index":895,"title":{},"body":{"index.html":{}}}],["target",{"_index":288,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["tells",{"_index":1060,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["tempalte",{"_index":450,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["template",{"_index":5,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["template.content",{"_index":490,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["template.innerhtml",{"_index":488,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["templatetag",{"_index":502,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["templatetag.content",{"_index":505,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["templatetag.innerhtml",{"_index":503,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["templateurl",{"_index":26,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{},"additional-documentation/introduction.html":{}}}],["test",{"_index":937,"title":{},"body":{"index.html":{}}}],["text",{"_index":1084,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["text/plain",{"_index":304,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["therefore",{"_index":1123,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["therfore",{"_index":1181,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["this._layout",{"_index":684,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this._schema",{"_index":736,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.ajv.compile(this.schema",{"_index":754,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.ajv.removeschema(this.schema",{"_index":752,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.buildlayout(difference(availablepointers",{"_index":709,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this.buildlayout(value",{"_index":685,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this.compiler",{"_index":508,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["this.compileschema",{"_index":737,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.componentfactory.resolvecomponentfactory",{"_index":790,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.control",{"_index":828,"title":{},"body":{"classes/Widget.html":{}}}],["this.createcomponent",{"_index":781,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.datapointer.split('/').pop",{"_index":621,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.destroyed$.complete",{"_index":402,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.destroyed$.next",{"_index":401,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.elementdatastorage.get(event.target",{"_index":159,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["this.elementdatastorage.has(event.target",{"_index":158,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["this.elementdatastorage.set(this.control.nativeelement",{"_index":829,"title":{},"body":{"classes/Widget.html":{}}}],["this.forminitialized",{"_index":399,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.generatengcontent",{"_index":792,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.haswidget(type",{"_index":850,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["this.initializeform",{"_index":405,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.initializelayout",{"_index":408,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.initializeschema",{"_index":407,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.jsf.compiletemplate(this.layoutnode.content",{"_index":795,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.jsf.formoptions.disableinvalidsubmit",{"_index":93,"title":{},"body":{"components/ButtonComponent.html":{}}}],["this.jsf.initializecontrol(this",{"_index":823,"title":{},"body":{"classes/Widget.html":{}}}],["this.jsf.updatevalue(this",{"_index":831,"title":{},"body":{"classes/Widget.html":{}}}],["this.layoutitem",{"_index":606,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.layoutitem.content",{"_index":627,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.layoutitem.name",{"_index":620,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.layoutitem.type",{"_index":624,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.layoutnode",{"_index":787,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.layoutnode.content",{"_index":794,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.layoutnode.layoutdefinition",{"_index":830,"title":{},"body":{"classes/Widget.html":{}}}],["this.layoutnode.options",{"_index":796,"title":{},"body":{"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["this.layoutnode.type",{"_index":788,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.layoutservice.setlayout(clonedeep(this.layout",{"_index":411,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.manager.getzone",{"_index":154,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["this.moduleref",{"_index":513,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["this.newcomponent",{"_index":782,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.newcomponent.instance[input",{"_index":783,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.options",{"_index":824,"title":{},"body":{"classes/Widget.html":{}}}],["this.schema",{"_index":607,"title":{},"body":{"classes/LayoutNode.html":{}}}],["this.schemaservice",{"_index":698,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this.schemaservice.datapointermap",{"_index":688,"title":{},"body":{"injectables/LayoutService.html":{}}}],["this.schemaservice.schema",{"_index":414,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.storage.delete(element",{"_index":236,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.get(element",{"_index":224,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.get(element).get(key",{"_index":229,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.get(element).has(key",{"_index":231,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.has(element",{"_index":228,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.storage.set(element",{"_index":225,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["this.updatecomponent",{"_index":778,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.updatedata",{"_index":820,"title":{},"body":{"classes/Widget.html":{}}}],["this.updateform",{"_index":396,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["this.validator",{"_index":753,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.validator(data",{"_index":750,"title":{},"body":{"injectables/SchemaService.html":{}}}],["this.widgetcontainer.createcomponent",{"_index":789,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.widgetlibraryservice.getwidget(this.layoutnode.type",{"_index":791,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["this.widgets[this.defaultwidget",{"_index":852,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["this.widgets[type",{"_index":851,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["this.x",{"_index":500,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["this[input",{"_index":784,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["throw",{"_index":600,"title":{},"body":{"classes/LayoutNode.html":{}}}],["throws",{"_index":599,"title":{},"body":{"classes/LayoutNode.html":{}}}],["thus",{"_index":190,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["time",{"_index":344,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"additional-documentation/introduction.html":{}}}],["title",{"_index":629,"title":{},"body":{"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["todo",{"_index":90,"title":{},"body":{"components/ButtonComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{}}}],["tort",{"_index":1005,"title":{},"body":{"license.html":{}}}],["trackbyfn",{"_index":283,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["trackbyfn(index",{"_index":322,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["translates",{"_index":1056,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["transpile",{"_index":1112,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["traverse",{"_index":264,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{},"dependencies.html":{}}}],["traverse(this.schema",{"_index":738,"title":{},"body":{"injectables/SchemaService.html":{}}}],["traverse]{@link",{"_index":383,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["tree",{"_index":8,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["trigger",{"_index":1153,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["triggered",{"_index":1159,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["true",{"_index":409,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/SchemaService.html":{},"additional-documentation/introduction.html":{}}}],["try",{"_index":696,"title":{},"body":{"injectables/LayoutService.html":{}}}],["tslib",{"_index":884,"title":{},"body":{"dependencies.html":{}}}],["tslint:disable",{"_index":471,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["type",{"_index":51,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"interfaces/LayoutOptions.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/typealiases.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["typealiases",{"_index":1019,"title":{"miscellaneous/typealiases.html":{}},"body":{}}],["typeof",{"_index":849,"title":{},"body":{"injectables/WidgetLibraryService.html":{}}}],["types",{"_index":193,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"classes/LayoutNode.html":{},"additional-documentation/introduction.html":{}}}],["types/ace",{"_index":866,"title":{},"body":{"dependencies.html":{}}}],["types/json",{"_index":868,"title":{},"body":{"dependencies.html":{}}}],["types/lodash",{"_index":870,"title":{},"body":{"dependencies.html":{}}}],["ui",{"_index":680,"title":{},"body":{"injectables/LayoutService.html":{}}}],["undeclared",{"_index":527,"title":{},"body":{"interfaces/LayoutItem.html":{}}}],["undefined",{"_index":230,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{}}}],["underlying",{"_index":812,"title":{},"body":{"classes/Widget.html":{}}}],["unique",{"_index":562,"title":{},"body":{"classes/LayoutNode.html":{}}}],["uniqueid",{"_index":594,"title":{},"body":{"classes/LayoutNode.html":{}}}],["uniqueid('control",{"_index":561,"title":{},"body":{"classes/LayoutNode.html":{}}}],["unknownformats",{"_index":747,"title":{},"body":{"injectables/SchemaService.html":{}}}],["unsubscribe",{"_index":390,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["up",{"_index":569,"title":{},"body":{"classes/LayoutNode.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["update",{"_index":65,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["updatecomponent",{"_index":780,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["updatedata",{"_index":827,"title":{},"body":{"classes/Widget.html":{}}}],["updateform",{"_index":404,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["updatevalue",{"_index":36,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["updatevalue(ctx",{"_index":461,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["updatevalue(event",{"_index":62,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["upgrade",{"_index":732,"title":{},"body":{"injectables/SchemaService.html":{}}}],["upon",{"_index":392,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{}}}],["urlencoded",{"_index":302,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["us/docs/web/html/element/form#attributes",{"_index":298,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["us/docs/web/html/element/input#dirname",{"_index":649,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input#disabled",{"_index":650,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input#readonly",{"_index":652,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input/image#alt",{"_index":659,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input/image#height",{"_index":661,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input/image#src",{"_index":663,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/element/input/image#width",{"_index":665,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/accesskey",{"_index":648,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/class",{"_index":651,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/style",{"_index":653,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/tabindex",{"_index":655,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["us/docs/web/html/global_attributes/title",{"_index":656,"title":{},"body":{"interfaces/LayoutOptions.html":{}}}],["use",{"_index":189,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"injectables/JsonSchemaFormService.html":{},"index.html":{},"license.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["useclass",{"_index":441,"title":{},"body":{"modules/JsonSchemaFormModule.html":{}}}],["used",{"_index":125,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/JsonSchemaFormComponent.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/SchemaService.html":{},"additional-documentation/introduction.html":{}}}],["useful",{"_index":1064,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["user",{"_index":336,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/LayoutNode.html":{}}}],["using",{"_index":337,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"classes/Widget.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["usually",{"_index":1168,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["utility",{"_index":260,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["valdiated",{"_index":717,"title":{},"body":{"injectables/SchemaService.html":{}}}],["valid",{"_index":356,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"index.html":{},"additional-documentation/introduction.html":{}}}],["validate",{"_index":314,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{}}}],["validate(data",{"_index":714,"title":{},"body":{"injectables/SchemaService.html":{}}}],["validates",{"_index":335,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{}}}],["validating",{"_index":348,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{}}}],["validation",{"_index":722,"title":{},"body":{"injectables/SchemaService.html":{}}}],["validator",{"_index":263,"title":{},"body":{"components/JsonSchemaFormComponent.html":{},"injectables/SchemaService.html":{}}}],["validators",{"_index":339,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["value",{"_index":66,"title":{},"body":{"components/ButtonComponent.html":{},"injectables/ElementDataStorageService.html":{},"components/HiddenComponent.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"miscellaneous/variables.html":{}}}],["var",{"_index":97,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["variable",{"_index":551,"title":{},"body":{"classes/LayoutNode.html":{}}}],["variables",{"_index":1022,"title":{"miscellaneous/variables.html":{}},"body":{"miscellaneous/variables.html":{}}}],["various",{"_index":1098,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["version",{"_index":733,"title":{},"body":{"injectables/SchemaService.html":{}}}],["via",{"_index":196,"title":{},"body":{"injectables/ElementDataStorageService.html":{},"additional-documentation/introduction.html":{}}}],["viewchild",{"_index":775,"title":{},"body":{"components/SelectWidgetComponent.html":{},"classes/Widget.html":{}}}],["viewchild('control",{"_index":815,"title":{},"body":{"classes/Widget.html":{}}}],["viewchild('widgetcontainer",{"_index":771,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["viewcontainerref",{"_index":770,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["void",{"_index":69,"title":{},"body":{"components/ButtonComponent.html":{},"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"injectables/JsonSchemaFormService.html":{},"injectables/LayoutService.html":{},"injectables/SchemaService.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"additional-documentation/introduction.html":{}}}],["warranties",{"_index":991,"title":{},"body":{"license.html":{}}}],["warranty",{"_index":986,"title":{},"body":{"license.html":{}}}],["weakmap",{"_index":197,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["whether",{"_index":1003,"title":{},"body":{"license.html":{}}}],["widget",{"_index":19,"title":{"classes/Widget.html":{}},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/JsonSchemaFormComponent.html":{},"modules/JsonSchemaFormModule.html":{},"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"classes/LayoutNode.html":{},"components/SelectWidgetComponent.html":{},"classes/Widget.html":{},"injectables/WidgetLibraryService.html":{},"miscellaneous/variables.html":{},"additional-documentation/introduction.html":{}}}],["widget.component.css",{"_index":762,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget.component.html",{"_index":763,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget.component.ts",{"_index":757,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget.component.ts:25",{"_index":768,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget/select",{"_index":756,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widget:11",{"_index":72,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:13",{"_index":76,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:15",{"_index":77,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:17",{"_index":79,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:19",{"_index":81,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:22",{"_index":59,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:24",{"_index":57,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:26",{"_index":55,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widget:64",{"_index":64,"title":{},"body":{"components/ButtonComponent.html":{},"components/HiddenComponent.html":{},"components/SelectWidgetComponent.html":{}}}],["widgetcontainer",{"_index":764,"title":{},"body":{"components/SelectWidgetComponent.html":{}}}],["widgetlibrarymodule",{"_index":427,"title":{"modules/WidgetLibraryModule.html":{}},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"modules.html":{},"overview.html":{}}}],["widgetlibraryservice",{"_index":767,"title":{"injectables/WidgetLibraryService.html":{}},"body":{"components/SelectWidgetComponent.html":{},"injectables/WidgetLibraryService.html":{}}}],["widgets",{"_index":493,"title":{},"body":{"injectables/JsonSchemaFormService.html":{},"interfaces/LayoutItem.html":{},"injectables/WidgetLibraryService.html":{},"additional-documentation/introduction.html":{}}}],["width",{"_index":666,"title":{},"body":{"interfaces/LayoutOptions.html":{},"additional-documentation/introduction.html":{}}}],["window.open('http://www.google.com",{"_index":1138,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["wire",{"_index":1054,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["within",{"_index":1032,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["without",{"_index":965,"title":{},"body":{"license.html":{}}}],["wont",{"_index":1177,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["work",{"_index":548,"title":{},"body":{"classes/LayoutNode.html":{}}}],["works",{"_index":183,"title":{},"body":{"injectables/ElementDataStorageService.html":{}}}],["wrapper",{"_index":120,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{},"miscellaneous/typealiases.html":{}}}],["www",{"_index":301,"title":{},"body":{"components/JsonSchemaFormComponent.html":{}}}],["x",{"_index":475,"title":{},"body":{"injectables/JsonSchemaFormService.html":{}}}],["years",{"_index":1043,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["yes",{"_index":560,"title":{},"body":{"classes/LayoutNode.html":{}}}],["yourself",{"_index":1172,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["z]+/.test(eventname",{"_index":144,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["z]+\\.data\\.[a",{"_index":142,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["za",{"_index":143,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["zero",{"_index":1046,"title":{},"body":{"additional-documentation/introduction.html":{}}}],["zone",{"_index":153,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["zone.js",{"_index":886,"title":{},"body":{"dependencies.html":{}}}],["zone.runguarded",{"_index":161,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["zone.runoutsideangular",{"_index":163,"title":{},"body":{"interfaces/Data.html":{},"injectables/DataEventPluginService.html":{}}}],["zoom",{"_index":428,"title":{},"body":{"modules/JsonSchemaFormModule.html":{},"modules/WidgetLibraryModule.html":{},"overview.html":{}}}]],"pipeline":["stemmer"]}, + "store": {"components/ButtonComponent.html":{"url":"components/ButtonComponent.html","title":"component - ButtonComponent","body":"\n \n\n\n\n\n\n Components\n ButtonComponent\n\n\n\n \n Info\n \n \n Source\n \n \n Template\n \n \n Styles\n \n \n DOM Tree\n \n\n\n\n \n File\n\n\n projects/ngx-json-schema-form/src/lib/widget-library/input/button/button.component.ts\n\n\n \n Description\n \n \n Displays a control \n\n \n\n \n Extends\n \n \n Widget\n \n\n\n\n\n Metadata\n \n \n\n\n\n\n\n\n\n\n\n\n\n \n selector\n jsf-button\n \n\n \n styleUrls\n ./button.component.scss\n \n\n\n\n \n templateUrl\n ./button.component.html\n \n\n\n\n\n\n\n\n\n \n \n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n controlDisabled\n \n \n controlName\n \n \n controlValue\n \n \n formControl\n \n \n options\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n updateValue\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n dataIndex\n \n \n layoutIndex\n \n \n layoutNode\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/input/button/button.component.ts:14\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n jsf\n \n \n JsonSchemaFormService\n \n \n \n No\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n dataIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:26\n\n \n \n \n \n Index of the data in data array \n\n \n \n \n \n \n \n \n \n \n layoutIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:24\n\n \n \n \n \n Index of the layout in the Layout array \n\n \n \n \n \n \n \n \n \n \n layoutNode\n \n \n \n \n Type : LayoutNode\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:22\n\n \n \n \n \n Layout Node describing the control \n\n \n \n \n \n\n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(event: Event)\n \n \n\n\n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:64\n\n \n \n\n\n \n \n Update the value of the control\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n event\n \n Event\n \n\n \n No\n \n\n\n \n \nChange event\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n controlDisabled\n \n \n \n \n \n \n Default value : false\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:11\n\n \n \n\n \n \n Flag to disable the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlName\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:13\n\n \n \n\n \n \n Name for the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlValue\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:15\n\n \n \n\n \n \n Value of the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n formControl\n \n \n \n \n \n \n Type : AbstractControl\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:17\n\n \n \n\n \n \n Associated FormControl for widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:19\n\n \n \n\n \n \n Options for the control \n\n \n \n\n \n \n\n\n\n\n\n \n import { Component } from '@angular/core';\n\nimport { ElementDataStorageService } from '../../../element-data-storage.service';\nimport { JsonSchemaFormService } from '../../../json-schema-form.service';\n\nimport { Widget } from '../../widget';\n\n/** Displays a control */\n@Component({\n selector: 'jsf-button',\n styleUrls: ['./button.component.scss'],\n templateUrl: './button.component.html'\n})\nexport class ButtonComponent extends Widget {\n constructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService) {\n super(jsf, elementDataStorage);\n }\n\n\n // TODO- pulled from submit\n // this.jsf.formOptions.disableInvalidSubmit\n}\n\n \n\n \n \n\n \n\n\n \n\n \n \n ./button.component.scss\n \n \n \n\n \n \n \n \n Legend\n \n \n Html element\n \n \n Component\n \n \n Html element with directive\n \n \n \n\n \n\n\n\n\n\n\n var COMPONENT_TEMPLATE = ' '\n var COMPONENTS = [{'name': 'ButtonComponent', 'selector': 'jsf-button'},{'name': 'HiddenComponent', 'selector': 'jsf-hidden'},{'name': 'JsonSchemaFormComponent', 'selector': 'jsf-json-schema-form'},{'name': 'SelectWidgetComponent', 'selector': 'jsf-select-widget'}];\n var DIRECTIVES = [];\n var ACTUAL_COMPONENT = {'name': 'ButtonComponent'};\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"interfaces/Data.html":{"url":"interfaces/Data.html","title":"interface - Data","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n Interfaces\n Data\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n data\n \n \n \n \n \n \n \n\n\n\n \n Properties\n \n \n \n \n \n data\n \n \n \n \n data: any\n\n \n \n\n\n \n \n Type : any\n\n \n \n\n\n\n\n\n \n \n \n \n\n\n \n import { Injectable, NgZone } from '@angular/core';\nimport { EventManager } from '@angular/platform-browser';\n\nimport { ElementDataStorageService } from './element-data-storage.service';\n\nexport interface Data {\n data: any;\n}\n/** Event wrapper for piggybacking data on an event */\nexport type DataEvent = Data & T;\n\n/**\n * Plugin used to return data, associated with an element, in the event. Data must first be\n * \"associated\" with an element by means of the ElementDataStorageService. If no data is\n * present, then the event handler will not be fired.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class DataEventPluginService {\n /** Event manager used to get the ngZone */\n manager: EventManager;\n\n constructor(private readonly elementDataStorage: ElementDataStorageService) {}\n\n /** Determine if the plugin should be applied to an event */\n supports(eventName: string): boolean {\n return /[a-z]+\\.data\\.[a-zA-Z]+/.test(eventName);\n }\n\n /** Adds a supported event listener to a dom node */\n addEventListener(element: HTMLElement, eventName: string, handler: Function): Function {\n const zone: NgZone = this.manager.getZone();\n const [type, , dataName] = eventName.split('.');\n const eventHandler = (event: DataEvent): void => {\n if (this.elementDataStorage.has(event.target as HTMLElement, dataName)) {\n const data = this.elementDataStorage.get(event.target as HTMLElement, dataName);\n event.data = data;\n\n zone.runGuarded(() => {\n handler(event);\n });\n }\n };\n\n zone.runOutsideAngular(() => {\n element.addEventListener(type, eventHandler, false);\n });\n\n return () => {\n element.removeEventListener(type, eventHandler, false);\n };\n }\n}\n\n \n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/DataEventPluginService.html":{"url":"injectables/DataEventPluginService.html","title":"injectable - DataEventPluginService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n DataEventPluginService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts\n \n\n \n Description\n \n \n Plugin used to return data, associated with an element, in the event. Data must first be\n\"associated\" with an element by means of the ElementDataStorageService. If no data is\npresent, then the event handler will not be fired.\n\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n manager\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n addEventListener\n \n \n supports\n \n \n \n \n\n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts:22\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n addEventListener\n \n \n \n \n \n \n \naddEventListener(element: HTMLElement, eventName: string, handler: Function)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts:32\n \n \n\n\n \n \n Adds a supported event listener to a dom node \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n eventName\n \n string\n \n\n \n No\n \n\n\n \n \n handler\n \n Function\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : Function\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n supports\n \n \n \n \n \n \n \nsupports(eventName: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts:27\n \n \n\n\n \n \n Determine if the plugin should be applied to an event \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n eventName\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n manager\n \n \n \n \n \n \n Type : EventManager\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts:22\n \n \n\n \n \n Event manager used to get the ngZone \n\n \n \n\n \n \n\n\n \n\n\n \n import { Injectable, NgZone } from '@angular/core';\nimport { EventManager } from '@angular/platform-browser';\n\nimport { ElementDataStorageService } from './element-data-storage.service';\n\nexport interface Data {\n data: any;\n}\n/** Event wrapper for piggybacking data on an event */\nexport type DataEvent = Data & T;\n\n/**\n * Plugin used to return data, associated with an element, in the event. Data must first be\n * \"associated\" with an element by means of the ElementDataStorageService. If no data is\n * present, then the event handler will not be fired.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class DataEventPluginService {\n /** Event manager used to get the ngZone */\n manager: EventManager;\n\n constructor(private readonly elementDataStorage: ElementDataStorageService) {}\n\n /** Determine if the plugin should be applied to an event */\n supports(eventName: string): boolean {\n return /[a-z]+\\.data\\.[a-zA-Z]+/.test(eventName);\n }\n\n /** Adds a supported event listener to a dom node */\n addEventListener(element: HTMLElement, eventName: string, handler: Function): Function {\n const zone: NgZone = this.manager.getZone();\n const [type, , dataName] = eventName.split('.');\n const eventHandler = (event: DataEvent): void => {\n if (this.elementDataStorage.has(event.target as HTMLElement, dataName)) {\n const data = this.elementDataStorage.get(event.target as HTMLElement, dataName);\n event.data = data;\n\n zone.runGuarded(() => {\n handler(event);\n });\n }\n };\n\n zone.runOutsideAngular(() => {\n element.addEventListener(type, eventHandler, false);\n });\n\n return () => {\n element.removeEventListener(type, eventHandler, false);\n };\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/ElementDataStorageService.html":{"url":"injectables/ElementDataStorageService.html","title":"injectable - ElementDataStorageService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n ElementDataStorageService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts\n \n\n \n Description\n \n \n Service to map data to an DOM element similar to jQuery $.data\nWhile HTML provides its data-* attributes to store data on the node\nitself, this only works for primitive data. Objects and arrays would need\nto be converted to json for then to use data-* and thus would not\nbe able to contain non-json types like Function. This service allows\nfor referencing data to a HTML element via a WeakMap so that when the element\nis removed from the DOM, the garbage collector can automatically remove the\nreference in the Service.\n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n delete\n \n \n get\n \n \n has\n \n \n set\n \n \n \n \n\n\n\n\n\n \n \n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n delete\n \n \n \n \n \n \n \ndelete(element: HTMLElement, key: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts:41\n \n \n\n\n \n \n Remove a key/value pairing from map referenced by element \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n key\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n get\n \n \n \n \n \n \n \nget(element: HTMLElement, key: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts:29\n \n \n\n\n \n \n Return a key's value for an element \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n key\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n has\n \n \n \n \n \n \n \nhas(element: HTMLElement, key: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts:36\n \n \n\n\n \n \n Determine if an element has a key/value pairing referenced \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n key\n \n string\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n set\n \n \n \n \n \n \n \nset(element: HTMLElement, key: string, value: any)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/element-data-storage.service.ts:21\n \n \n\n\n \n \n Add key/value pairing to map referenced by element \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n element\n \n HTMLElement\n \n\n \n No\n \n\n\n \n \n key\n \n string\n \n\n \n No\n \n\n\n \n \n value\n \n any\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : ElementDataStorageService\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@angular/core';\n\n/**\n * Service to map data to an DOM element similar to jQuery $.data\n * While HTML provides its data-* attributes to store data on the node\n * itself, this only works for primitive data. Objects and arrays would need\n * to be converted to json for then to use data-* and thus would not\n * be able to contain non-json types like Function. This service allows\n * for referencing data to a HTML element via a WeakMap so that when the element\n * is removed from the DOM, the garbage collector can automatically remove the\n * reference in the Service.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class ElementDataStorageService {\n /** Map to reference data to an element */\n private readonly storage: WeakMap> = new WeakMap>();\n\n /** Add key/value pairing to map referenced by element */\n set(element: HTMLElement, key: string, value: any): ElementDataStorageService {\n const mappedData = this.storage.get(element) || this.storage.set(element, new Map()).get(element);\n mappedData.set(key, value);\n\n return this;\n }\n\n /** Return a key's value for an element */\n get(element: HTMLElement, key: string): any {\n return this.storage.has(element)\n ? this.storage.get(element).get(key)\n : undefined;\n }\n\n /** Determine if an element has a key/value pairing referenced */\n has(element: HTMLElement, key: string): boolean {\n return this.storage.has(element) && this.storage.get(element).has(key);\n }\n\n /** Remove a key/value pairing from map referenced by element */\n delete(element: HTMLElement, key: string): boolean {\n let deleted = this.storage.has(element);\n if (deleted) {\n const mappedData = this.storage.get(element);\n deleted = mappedData.delete(key);\n if (mappedData.size === 0) {\n this.storage.delete(element);\n }\n }\n\n return deleted;\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"components/HiddenComponent.html":{"url":"components/HiddenComponent.html","title":"component - HiddenComponent","body":"\n \n\n\n\n\n\n Components\n HiddenComponent\n\n\n\n \n Info\n \n \n Source\n \n \n Template\n \n \n Styles\n \n \n DOM Tree\n \n\n\n\n \n File\n\n\n projects/ngx-json-schema-form/src/lib/widget-library/input/hidden/hidden.component.ts\n\n\n \n Description\n \n \n Displays an input[type='hidden']\n\n \n\n \n Extends\n \n \n Widget\n \n\n\n\n\n Metadata\n \n \n\n\n\n\n\n\n\n\n\n\n\n \n selector\n jsf-hidden\n \n\n \n styleUrls\n ./hidden.component.scss\n \n\n\n\n \n templateUrl\n ./hidden.component.html\n \n\n\n\n\n\n\n\n\n \n \n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n controlDisabled\n \n \n controlName\n \n \n controlValue\n \n \n formControl\n \n \n options\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n updateValue\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n dataIndex\n \n \n layoutIndex\n \n \n layoutNode\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/input/hidden/hidden.component.ts:16\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n jsf\n \n \n JsonSchemaFormService\n \n \n \n No\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n dataIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:26\n\n \n \n \n \n Index of the data in data array \n\n \n \n \n \n \n \n \n \n \n layoutIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:24\n\n \n \n \n \n Index of the layout in the Layout array \n\n \n \n \n \n \n \n \n \n \n layoutNode\n \n \n \n \n Type : LayoutNode\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:22\n\n \n \n \n \n Layout Node describing the control \n\n \n \n \n \n\n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(event: Event)\n \n \n\n\n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:64\n\n \n \n\n\n \n \n Update the value of the control\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n event\n \n Event\n \n\n \n No\n \n\n\n \n \nChange event\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n controlDisabled\n \n \n \n \n \n \n Default value : false\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:11\n\n \n \n\n \n \n Flag to disable the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlName\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:13\n\n \n \n\n \n \n Name for the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlValue\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:15\n\n \n \n\n \n \n Value of the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n formControl\n \n \n \n \n \n \n Type : AbstractControl\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:17\n\n \n \n\n \n \n Associated FormControl for widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:19\n\n \n \n\n \n \n Options for the control \n\n \n \n\n \n \n\n\n\n\n\n \n import { Component } from '@angular/core';\n\nimport { ElementDataStorageService } from '../../../element-data-storage.service';\nimport { JsonSchemaFormService } from '../../../json-schema-form.service';\n\nimport { Widget } from '../../widget';\n\n/**\n * Displays an input[type='hidden']\n */\n@Component({\n selector: 'jsf-hidden',\n styleUrls: ['./hidden.component.scss'],\n templateUrl: './hidden.component.html'\n})\nexport class HiddenComponent extends Widget {\n constructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService) {\n super(jsf, elementDataStorage);\n }\n}\n\n \n\n \n \n\n \n\n \n \n ./hidden.component.scss\n \n \n \n\n \n \n \n \n Legend\n \n \n Html element\n \n \n Component\n \n \n Html element with directive\n \n \n \n\n \n\n\n\n\n\n\n var COMPONENT_TEMPLATE = ''\n var COMPONENTS = [{'name': 'ButtonComponent', 'selector': 'jsf-button'},{'name': 'HiddenComponent', 'selector': 'jsf-hidden'},{'name': 'JsonSchemaFormComponent', 'selector': 'jsf-json-schema-form'},{'name': 'SelectWidgetComponent', 'selector': 'jsf-select-widget'}];\n var DIRECTIVES = [];\n var ACTUAL_COMPONENT = {'name': 'HiddenComponent'};\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"components/JsonSchemaFormComponent.html":{"url":"components/JsonSchemaFormComponent.html","title":"component - JsonSchemaFormComponent","body":"\n \n\n\n\n\n\n Components\n JsonSchemaFormComponent\n\n\n\n \n Info\n \n \n Source\n \n \n Template\n \n \n DOM Tree\n \n\n\n\n \n File\n\n\n projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts\n\n\n \n Description\n \n \n NGX JSON Schema Form\nRoot module of the NGX JSON Schema Form client-side library,\nan Angular library which generates an HTML form from a JSON schema\nstructured data model and/or a JSON Schema Form layout description.\nThis library depends on:\n\nAngular (obviously)\nlodash, JavaScript utility library\najv, Another JSON Schema validator\njson-schema-traverse, JSON Schema Traverse\n\nIn addition, the Example Playground also depends on:\n\nbrace, Browserified Ace editor\n\n\n \n\n\n \n Implements\n \n \n OnChanges\n OnDestroy\n OnInit\n \n\n\n\n Metadata\n \n \n\n \n changeDetection\n ChangeDetectionStrategy.OnPush\n \n\n\n\n\n\n\n\n\n \n providers\n \n JsonSchemaFormService\n LayoutService\n SchemaService\n \n \n\n\n \n selector\n jsf-json-schema-form\n \n\n\n\n\n \n templateUrl\n ./json-schema-form.component.html\n \n\n\n\n\n\n\n\n\n \n \n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n submitForm\n \n \n trackByFn\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n action\n \n \n autocomplete\n \n \n enctype\n \n \n layout\n \n \n method\n \n \n schema\n \n \n target\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(schemaService: SchemaService, layoutService: LayoutService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:94\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n schemaService\n \n \n SchemaService\n \n \n \n No\n \n \n \n \n layoutService\n \n \n LayoutService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n action\n \n \n \n \n Type : string | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:70\n \n \n \n \n Sets the action attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n \n \n \n \n \n autocomplete\n \n \n \n \n Type : \"on\" | \"off\" | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:75\n \n \n \n \n Sets the autocomplete attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n \n \n \n \n \n enctype\n \n \n \n \n Type : \"application/x-www-form-urlencoded\" | \"multipart/form-data\" | \"text/plain\" | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:80\n \n \n \n \n Sets the enctype attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n \n \n \n \n \n layout\n \n \n \n \n Type : Array\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:65\n \n \n \n \n Layout used to define how the form is rendered \n\n \n \n \n \n \n \n \n \n \n method\n \n \n \n \n Type : \"get\" | \"post\" | \"dialog\" | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:85\n \n \n \n \n Sets the method attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n \n \n \n \n \n schema\n \n \n \n \n Type : JSONSchema7\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:63\n \n \n \n \n JSON Schema used to validate form data \n\n \n \n \n \n \n \n \n \n \n target\n \n \n \n \n Type : \"_self\" | \"_blank\" | \"_parent\" | \"_top\" | string | null\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:90\n \n \n \n \n Sets the target attribute of the internal form\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes\n\n \n \n \n \n\n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n submitForm\n \n \n \n \n \n \n \nsubmitForm()\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:119\n \n \n\n\n \n \n Submits the form \n\n\n \n Returns : void\n\n \n \n \n \n \n \n \n \n \n \n \n \n trackByFn\n \n \n \n \n \n \n \ntrackByFn(index)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.component.ts:124\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n \n \n \n \n index\n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : any\n\n \n \n \n \n \n \n \n \n\n\n\n\n\n \n import {\n ChangeDetectionStrategy, Component, Input,\n OnChanges, OnDestroy, OnInit, SimpleChanges\n} from '@angular/core';\n\nimport { Subject } from 'rxjs';\n\nimport { cloneDeep, isPlainObject } from 'lodash';\n\nimport { JSONSchema7 } from 'json-schema';\n\nimport { JsonSchemaFormService } from './json-schema-form.service';\nimport { LayoutItem } from './layout-item.data';\nimport { LayoutService } from './layout.service';\nimport { SchemaService } from './schema.service';\n\n// * This library also validates input data by the user, using both validators on\n// * individual controls to provide real-time feedback while the user is filling\n// * out the form, and then validating the entire input against the schema when\n// * the form is submitted to make sure the returned JSON data object is valid.\n// *\n// * This library is similar to, and mostly API compatible with:\n// *\n// * - JSON Schema Form's [Angular Schema Form]{@link http://schemaform.io} library for AngularJs\n// * [(examples)]{@link http://schemaform.io/examples/bootstrap-example.html}\n// *\n// * - Mozilla's [react-jsonschema-form]{@link https://github.com/mozilla-services/react-jsonschema-form} library for React\n// * [(examples)]{@link https://mozilla-services.github.io/react-jsonschema-form}\n// *\n// * - Joshfire's [JSON Form]{@link https://github.com/joshfire/jsonform} library for jQuery\n// * [(examples)]{@link http://ulion.github.io/jsonform/playground}\n/**\n * NGX JSON Schema Form\n *\n * Root module of the NGX JSON Schema Form client-side library,\n * an Angular library which generates an HTML form from a JSON schema\n * structured data model and/or a JSON Schema Form layout description.\n *\n * This library depends on:\n *\n * - [Angular]{@link https://angular.io} (obviously)\n * - [lodash]{@link https://github.com/lodash/lodash}, JavaScript utility library\n * - [ajv]{@link https://github.com/epoberezkin/ajv}, Another JSON Schema validator\n * - [json-schema-traverse]{@link https://github.com/epoberezkin/json-schema-traverse}, JSON Schema Traverse\n *\n * In addition, the Example Playground also depends on:\n *\n * - [brace]{@link http://thlorenz.github.io/brace}, Browserified Ace editor\n */\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n JsonSchemaFormService,\n LayoutService,\n SchemaService\n ],\n selector: 'jsf-json-schema-form',\n styles: [],\n templateUrl: './json-schema-form.component.html'\n})\nexport class JsonSchemaFormComponent implements OnChanges, OnDestroy, OnInit {\n /** JSON Schema used to validate form data */\n @Input() schema: JSONSchema7;\n /** Layout used to define how the form is rendered */\n @Input() layout: Array;\n /**\n * Sets the action attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() action: string | null;\n /**\n * Sets the autocomplete attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() autocomplete: 'on' | 'off' | null;\n /**\n * Sets the enctype attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() enctype: 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' | null;\n /**\n * Sets the method attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() method: 'get' | 'post' | 'dialog' | null;\n /**\n * Sets the target attribute of the internal form\n * See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#Attributes}\n */\n @Input() target: '_self' | '_blank' | '_parent' | '_top' | string | null;\n\n private formInitialized = false;\n /** Observable to used to unsubscribe listners upon ngDestroy */\n private readonly destroyed$: Subject = new Subject();\n\n constructor(\n // private readonly jsf: JsonSchemaFormService,\n private readonly schemaService: SchemaService,\n readonly layoutService: LayoutService\n ) {}\n\n ngOnInit() {\n this.updateForm();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes.hasOwnProperty('schema')) {\n this.formInitialized = false;\n }\n this.updateForm();\n }\n\n ngOnDestroy() {\n this.destroyed$.next();\n this.destroyed$.complete();\n }\n\n /** Submits the form */\n submitForm(): void {\n // TODO\n console.warn(this);\n }\n\n trackByFn(index) {\n return index;\n }\n\n private updateForm(): void {\n if (!this.formInitialized) {\n this.initializeForm();\n }\n }\n\n private initializeForm(): void {\n this.initializeSchema();\n this.initializeLayout();\n this.formInitialized = true;\n }\n\n private initializeLayout(): void {\n this.layoutService.setLayout(cloneDeep(this.layout || ['*']));\n }\n\n private initializeSchema(): void {\n if (isPlainObject(this.schema)) {\n this.schemaService.schema = cloneDeep(this.schema);\n }\n }\n}\n\n \n\n \n \n \n\n\n \n\n\n \n \n \n \n Legend\n \n \n Html element\n \n \n Component\n \n \n Html element with directive\n \n \n \n\n \n\n\n\n\n\n\n var COMPONENT_TEMPLATE = ' '\n var COMPONENTS = [{'name': 'ButtonComponent', 'selector': 'jsf-button'},{'name': 'HiddenComponent', 'selector': 'jsf-hidden'},{'name': 'JsonSchemaFormComponent', 'selector': 'jsf-json-schema-form'},{'name': 'SelectWidgetComponent', 'selector': 'jsf-select-widget'}];\n var DIRECTIVES = [];\n var ACTUAL_COMPONENT = {'name': 'JsonSchemaFormComponent'};\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/JsonSchemaFormModule.html":{"url":"modules/JsonSchemaFormModule.html","title":"module - JsonSchemaFormModule","body":"\n \n\n\n\n\n Modules\n JsonSchemaFormModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\nLegend\n\n  Declarations\n\n  Module\n\n  Bootstrap\n\n  Providers\n\n  Exports\n\ncluster_JsonSchemaFormModule\n\n\n\ncluster_JsonSchemaFormModule_declarations\n\n\n\ncluster_JsonSchemaFormModule_JsonSchemaFormComponent_providers\n\n\n\ncluster_JsonSchemaFormModule_imports\n\n\n\ncluster_JsonSchemaFormModule_exports\n\n\n\n\nJsonSchemaFormComponent\n\nJsonSchemaFormComponent\n\n\n\nJsonSchemaFormModule\n\nJsonSchemaFormModule\n\nJsonSchemaFormModule -->\n\nJsonSchemaFormComponent->JsonSchemaFormModule\n\n\n\n\n\nJsonSchemaFormComponent \n\nJsonSchemaFormComponent \n\nJsonSchemaFormComponent -->\n\nJsonSchemaFormModule->JsonSchemaFormComponent \n\n\n\n\n\nWidgetLibraryModule \n\nWidgetLibraryModule \n\nWidgetLibraryModule -->\n\nJsonSchemaFormModule->WidgetLibraryModule \n\n\n\n\n\nJsonSchemaFormService\n\nJsonSchemaFormService\n\nJsonSchemaFormComponent -->\n\nJsonSchemaFormService->JsonSchemaFormComponent\n\n\n\n\n\nLayoutService\n\nLayoutService\n\nJsonSchemaFormComponent -->\n\nLayoutService->JsonSchemaFormComponent\n\n\n\n\n\nSchemaService\n\nSchemaService\n\nJsonSchemaFormComponent -->\n\nSchemaService->JsonSchemaFormComponent\n\n\n\n\n\nWidgetLibraryModule\n\nWidgetLibraryModule\n\nJsonSchemaFormModule -->\n\nWidgetLibraryModule->JsonSchemaFormModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n projects/ngx-json-schema-form/src/lib/json-schema-form.module.ts\n \n\n\n\n\n \n \n \n Declarations\n \n \n JsonSchemaFormComponent\n \n \n \n \n Imports\n \n \n WidgetLibraryModule\n \n \n \n \n Exports\n \n \n JsonSchemaFormComponent\n \n \n WidgetLibraryModule\n \n \n \n \n \n\n\n \n\n\n \n import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';\n\nimport { WidgetLibraryModule } from './widget-library/widget-library.module';\n\nimport { DataEventPluginService } from './data-event-plugin.service';\nimport { JsonSchemaFormComponent } from './json-schema-form.component';\n\n@NgModule({\n declarations: [ JsonSchemaFormComponent ],\n exports: [ JsonSchemaFormComponent, WidgetLibraryModule ],\n imports: [ CommonModule, WidgetLibraryModule ],\n providers: [{\n multi: true,\n provide: EVENT_MANAGER_PLUGINS,\n useClass: DataEventPluginService\n }]\n})\nexport class JsonSchemaFormModule { }\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/JsonSchemaFormService.html":{"url":"injectables/JsonSchemaFormService.html","title":"injectable - JsonSchemaFormService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n JsonSchemaFormService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts\n \n\n \n Description\n \n \n TODO \n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n compileTemplate\n \n \n initializeControl\n \n \n updateValue\n \n \n \n \n\n\n\n\n\n \n \n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n compileTemplate\n \n \n \n \n \n \n \ncompileTemplate(template: string, context: literal type)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts:63\n \n \n\n\n \n \n Compiles an HTML tempalte and data into a document fragment\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Default value\n Description\n \n \n \n \n template\n \n string\n \n\n \n No\n \n\n \n \n\n \n \nHTML template to render\n\n\n \n \n \n context\n \n literal type\n \n\n \n No\n \n\n \n {}\n \n\n \n \noptions to use when rendering the template\n\n\n \n \n \n \n \n \n \n \n Returns : DocumentFragment\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n initializeControl\n \n \n \n \n \n \n \ninitializeControl(control: Widget, bind)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts:47\n \n \n\n\n \n \n Creates a component with passed in template and associated context \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Default value\n \n \n \n \n control\n \n Widget\n \n\n \n No\n \n\n \n \n\n \n \n bind\n \n \n\n \n No\n \n\n \n true\n \n\n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(ctx: any, value: any)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/json-schema-form.service.ts:53\n \n \n\n\n \n \n TODO \n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n ctx\n \n any\n \n\n \n No\n \n\n\n \n \n value\n \n any\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@angular/core';\n// import {\n// Compiler, Component, ComponentRef, Injectable, Injector,\n// ModuleWithComponentFactories, NgModule, NgModuleRef\n// } from '@angular/core';\n\nimport Handlebars from 'handlebars/dist/cjs/handlebars';\n\nimport { Widget } from './widget-library';\n\n/* tslint:disable: max-classes-per-file */\n/** TODO */\n@Injectable()\nexport class JsonSchemaFormService {\n private x = false;\n\n /** Creates a component with passed in template and associated context */\n // private static createComponent(template: string, context: {[key: string]: any}): any {\n // return Component({\n // selector: `runtime-component-sample`,\n // template\n // })(class RuntimeComponent {\n // options: any = context;\n // });\n // }\n\n /** Create a module for use with the RuntimeComponent */\n // private static createModule(component: any, compiler: Compiler): ModuleWithComponentFactories {\n // @NgModule({ imports: [CommonModule], declarations: [component] })\n // class RuntimeComponentModule { }\n\n // return compiler.compileModuleAndAllComponentsSync(RuntimeComponentModule);\n // }\n\n /** Get a components innerHTML as a document Fragment */\n // private static getDocumentFragment(componentRef: ComponentRef): DocumentFragment {\n // const template = document.createElement('template');\n // template.innerHTML = (componentRef.location.nativeElement).innerHTML;\n\n // return template.content;\n // }\n\n // constructor(private readonly compiler: Compiler,private readonly injector: Injector, private readonly moduleRef: NgModuleRef) {}\n\n /** Sets a widgets properties upon Widget creation */\n initializeControl(control: Widget, bind = true): void {\n // Do we even need to do this? seems silly\n control.controlName = control.layoutNode.name;\n }\n\n /** TODO */\n updateValue(ctx: any, value: any): void {\n // TODO\n this.x = !this.x;\n }\n\n /**\n * Compiles an HTML tempalte and data into a document fragment\n * @param template - HTML template to render\n * @param context - options to use when rendering the template\n */\n compileTemplate(template: string, context: {[key: string]: any} = {}): DocumentFragment {\n const templateTag = document.createElement('template');\n templateTag.innerHTML = Handlebars.compile(template)({options: context});\n\n return templateTag.content;\n }\n\n // /**\n // * Compiles an HTML tempalte and data into a document fragment\n // * @param template - HTML template to render\n // * @param context - options to use when rendering the template\n // */\n // compileTemplate(template: string, context: {[key: string]: any} = {}): DocumentFragment {\n // const component: any = JsonSchemaFormService.createComponent(template, context);\n // const module = JsonSchemaFormService.createModule(component, this.compiler);\n // const factory = module.componentFactories.find((f) => f.componentType === component);\n // const componentRef: ComponentRef = factory.create(this.injector, undefined, undefined, this.moduleRef);\n\n // componentRef.hostView.detectChanges();\n // const fragment = JsonSchemaFormService.getDocumentFragment(componentRef);\n // componentRef.destroy();\n\n // return fragment;\n // }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"interfaces/LayoutItem.html":{"url":"interfaces/LayoutItem.html","title":"interface - LayoutItem","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n Interfaces\n LayoutItem\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/layout-item.data.ts\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Optional\n key\n \n \n Optional\n name\n \n \n Optional\n options\n \n \n Optional\n type\n \n \n \n \n \n \n \n\n\n \n Indexable\n \n \n \n \n [others: string]: any\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-item.data.ts:16\n \n \n \n \n\n\n \n Properties\n \n \n \n \n \n key\n \n \n \n \n key: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n Object path to map this item to a data value \n\n \n \n \n \n \n \n \n \n \n name\n \n \n \n \n name: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n Name for the item. Will be used as the input[name] \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n options: literal type\n\n \n \n\n\n \n \n Type : literal type\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n Container for options to set on widgets.\nNOTE: this is optional as any undeclared property will automatically be put into an options contianer\n\n \n \n \n \n \n \n \n \n \n type\n \n \n \n \n type: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n Specify what type of widget is used to represent the data.\nIf not is specified, the JSON Schema will be used to determine the most appropriate widget\n\n \n \n \n \n \n \n\n\n \n export interface LayoutItem {\n /** Object path to map this item to a data value */\n key?: string;\n /** Name for the item. Will be used as the input[name] */\n name?: string;\n /**\n * Container for options to set on widgets.\n * NOTE: this is optional as any undeclared property will automatically be put into an options contianer\n */\n options?: {[others: string]: any};\n /**\n * Specify what type of widget is used to represent the data.\n * If not is specified, the JSON Schema will be used to determine the most appropriate widget\n */\n type?: string;\n\n [others: string]: any;\n}\n\n \n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/LayoutNode.html":{"url":"classes/LayoutNode.html","title":"class - LayoutNode","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n LayoutNode\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/layout-node.ts\n \n\n \n Description\n \n \n The LayoutNode contains the logic to parse a LayoutItem along with its Schema.\nA LayoutNode acts, to some degree, as a proxy of the LayoutItem, augmenting data\nas needed. This gives the system a specific api to work with while allowing the\nuser to pass in variable data, so a degree.\n\n \n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Public\n Readonly\n id\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n Static\n create\n \n \n \n \n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n layoutDefinition\n \n \n name\n \n \n dataPointer\n \n \n type\n \n \n content\n \n \n options\n \n \n \n \n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(layoutItem: LayoutItem, schema?: JSONSchema7)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:22\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n layoutItem\n \n \n LayoutItem\n \n \n \n No\n \n \n \n \n schema\n \n \n JSONSchema7\n \n \n \n Yes\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n Public\n Readonly\n id\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Default value : uniqueId('control')\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:22\n \n \n\n \n \n Unique Identifier for the item \n\n \n \n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n Static\n create\n \n \n \n \n \n \n \n \n create(layoutItem: LayoutItem | string, schemaService: SchemaService)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:40\n \n \n\n\n \n \n Creates a LayoutNode\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n layoutItem\n \n LayoutItem | string\n \n\n \n No\n \n\n\n \n \nA LayoutItem presented by the user. If a string is given, it is converted into a LayoutItem\n\n\n \n \n \n schemaService\n \n SchemaService\n \n\n \n No\n \n\n\n \n \nService for looking up related Schema definition\n\n\n \n \n \n \n \n \n \n \n Returns : LayoutNode\n\n \n \n \n \n \n \n \n \n\n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n layoutDefinition\n \n \n\n \n \n getlayoutDefinition()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:58\n \n \n \n \n Copy of the original layoutItem \n\n\n \n Returns : LayoutItem\n\n \n \n \n\n \n \n \n \n \n \n \n name\n \n \n\n \n \n getname()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:62\n \n \n \n \n Name for the item. Will be used as the input[name] \n\n\n \n Returns : string\n\n \n \n \n\n \n \n \n \n \n \n \n dataPointer\n \n \n\n \n \n getdataPointer()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:66\n \n \n \n \n JSON path for accessing data for this layout item \n\n\n \n Returns : string\n\n \n \n \n\n \n \n \n \n \n \n \n type\n \n \n\n \n \n gettype()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:70\n \n \n \n \n Type of widget is used to represent the data \n\n\n \n Returns : string\n\n \n \n \n\n \n \n \n \n \n \n \n content\n \n \n\n \n \n getcontent()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:75\n \n \n \n \n HTML content to be rendered inside the widget \n\n\n \n Returns : string\n\n \n \n \n\n \n \n \n \n \n \n \n options\n \n \n\n \n \n getoptions()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-node.ts:79\n \n \n \n \n Options for the widget \n\n\n \n Returns : LayoutOptions\n\n \n \n \n\n \n \n\n \n\n\n \n import { JSONSchema7 } from 'json-schema';\nimport { cloneDeep, defaultTo, isString, mapKeys, omit, pick, uniqueId } from 'lodash';\nimport { Memoize } from 'lodash-decorators';\n\nimport { LayoutItem } from './layout-item.data';\nimport { LayoutOptions } from './layout-options.data';\nimport { SchemaService } from './schema.service';\n\n/**\n * The LayoutNode contains the logic to parse a LayoutItem along with its Schema.\n * A LayoutNode acts, to some degree, as a proxy of the LayoutItem, augmenting data\n * as needed. This gives the system a specific api to work with while allowing the\n * user to pass in variable data, so a degree.\n */\nexport class LayoutNode {\n /** Reference to the user defined layout item */\n private readonly layoutItem: LayoutItem;\n /** Reference to the schema that pertains the layout */\n private readonly schema: JSONSchema7;\n\n /** Unique Identifier for the item */\n public readonly id: string = uniqueId('control');\n\n /**\n * @throws Will throw an error if there is no layout.type or schema.type\n */\n constructor(layoutItem: LayoutItem, schema?: JSONSchema7) {\n if (!layoutItem.type && !(schema && schema.type)) {\n throw new Error('Missing \"type\"....');\n }\n this.layoutItem = layoutItem;\n this.schema = schema;\n }\n\n /**\n * Creates a LayoutNode\n * @param layoutItem - A LayoutItem presented by the user. If a string is given, it is converted into a LayoutItem\n * @param schemaService - Service for looking up related Schema definition\n */\n public static create(layoutItem: LayoutItem | string, schemaService: SchemaService): LayoutNode {\n const item: LayoutItem = isString(layoutItem)\n ? {key: layoutItem}\n : layoutItem;\n const schema: JSONSchema7 = schemaService.dataPointerMap.get(LayoutNode.getPointer(item.key));\n\n return new LayoutNode(item, schema);\n }\n\n /** Normalizes a key(object.path or json/path) to json path */\n private static getPointer(key: string): string {\n const pointer = defaultTo(key, '');\n\n return pointer.charAt(0) === '/'\n ? pointer\n : `/${pointer.replace(/\\./g, '/')}`;\n }\n /** Copy of the original layoutItem */\n @Memoize() get layoutDefinition(): LayoutItem {\n return cloneDeep(this.layoutItem);\n }\n /** Name for the item. Will be used as the input[name] */\n @Memoize() get name(): string {\n return this.layoutItem.name || this.dataPointer.split('/').pop();\n }\n /** JSON path for accessing data for this layout item */\n @Memoize() get dataPointer(): string {\n return LayoutNode.getPointer(this.layoutItem.key);\n }\n /** Type of widget is used to represent the data */\n @Memoize() get type(): string {\n // TODO: handle array of types\n return this.layoutItem.type || defaultTo(this.schema, {}).type;\n }\n /** HTML content to be rendered inside the widget */\n @Memoize() get content(): string {\n return isString(this.layoutItem.content) ? this.layoutItem.content : undefined;\n }\n /** Options for the widget */\n @Memoize() get options(): LayoutOptions {\n return {\n ...pick(this.schema, ['title', 'description']),\n ...mapKeys(pick(this.schema, ['readOnly']), () => 'readonly'),\n ...omit(this.layoutItem, ['key', 'type', 'name', 'content', 'options']),\n ...defaultTo(this.layoutItem.options, {})\n };\n }\n\n // $ref?: any;\n // arrayItem?;\n // arrayItemType?;\n // dataType?;\n // items?: Array;\n // recursiveReference?;\n\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"interfaces/LayoutOptions.html":{"url":"interfaces/LayoutOptions.html","title":"interface - LayoutOptions","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n Interfaces\n LayoutOptions\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/layout-options.data.ts\n \n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n Optional\n accesskey\n \n \n Optional\n dirname\n \n \n Optional\n disabled\n \n \n Optional\n htmlClass\n \n \n Optional\n icon\n \n \n Optional\n readonly\n \n \n Optional\n style\n \n \n Optional\n tabindex\n \n \n Optional\n title\n \n \n \n \n \n \n \n\n\n \n Indexable\n \n \n \n \n [others: string]: any\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout-options.data.ts:32\n \n \n \n \n\n\n \n Properties\n \n \n \n \n \n accesskey\n \n \n \n \n accesskey: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey \n\n \n \n \n \n \n \n \n \n \n dirname\n \n \n \n \n dirname: boolean\n\n \n \n\n\n \n \n Type : boolean\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#dirname \n\n \n \n \n \n \n \n \n \n \n disabled\n \n \n \n \n disabled: boolean\n\n \n \n\n\n \n \n Type : boolean\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled \n\n \n \n \n \n \n \n \n \n \n htmlClass\n \n \n \n \n htmlClass: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class \n\n \n \n \n \n \n \n \n \n \n icon\n \n \n \n \n icon: literal type\n\n \n \n\n\n \n \n Type : literal type\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n \n \n \n \n \n readonly\n \n \n \n \n readonly: boolean\n\n \n \n\n\n \n \n Type : boolean\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly \n\n \n \n \n \n \n \n \n \n \n style\n \n \n \n \n style: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style \n\n \n \n \n \n \n \n \n \n \n tabindex\n \n \n \n \n tabindex: number\n\n \n \n\n\n \n \n Type : number\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex \n\n \n \n \n \n \n \n \n \n \n title\n \n \n \n \n title: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n \n \n Optional\n \n \n\n\n\n\n \n \n See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title \n\n \n \n \n \n \n \n\n\n \n export interface LayoutOptions {\n /* Global HTML attributes */\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey} */\n accesskey?: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class} */\n htmlClass?: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style} */\n style?: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex} */\n tabindex?: number;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title} */\n title?: string;\n\n /* Global HTML Input attributes */\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#dirname} */\n dirname?: boolean;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#disabled} */\n disabled?: boolean;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly} */\n readonly?: boolean;\n\n /* Attribute for setting a icon */\n icon?: {\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image#alt} */\n alt?: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image#height} */\n height?: number;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image#src} */\n src: string;\n /** See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image#width} */\n width?: number;\n };\n\n [others: string]: any;\n}\n\n \n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/LayoutService.html":{"url":"injectables/LayoutService.html","title":"injectable - LayoutService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n LayoutService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/layout.service.ts\n \n\n \n Description\n \n \n Provides services for handling layouts \n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n Public\n setLayout\n \n \n \n \n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n layout\n \n \n \n \n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(schemaService: SchemaService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout.service.ts:20\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n schemaService\n \n \n SchemaService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n Public\n setLayout\n \n \n \n \n \n \n \n \n setLayout(value: Array)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout.service.ts:24\n \n \n\n\n \n \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n value\n \n Array\n \n\n \n No\n \n\n\n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n\n \n \n Accessors\n \n \n \n \n \n \n layout\n \n \n\n \n \n getlayout()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/layout.service.ts:18\n \n \n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n Description\n \n \n \n \n value\n \n\n \n No\n \n \n \n \nList of Layout Nodes to be displayed in the UI\n\n\n \n \n \n \n \n \n \n \n Returns : Array\n\n \n \n \n\n \n \n\n \n\n\n \n import { Injectable } from '@angular/core';\n\nimport { difference } from 'lodash';\n\nimport { JSONSchema7Definition } from 'json-schema';\n\nimport { LayoutItem } from './layout-item.data';\nimport { LayoutNode } from './layout-node';\nimport { SchemaService } from './schema.service';\n\n/** Provides services for handling layouts */\n@Injectable()\nexport class LayoutService {\n private _layout: Array = [];\n /**\n * @param value - List of Layout Nodes to be displayed in the UI\n */\n get layout(): Array {\n return this._layout;\n }\n\n constructor(private readonly schemaService: SchemaService) {}\n\n public setLayout(value: Array): void {\n this._layout = this.buildLayout(value);\n }\n\n private buildLayout(layout: Array): Array {\n const schemaPointers: Map = this.schemaService.dataPointerMap;\n const mappedPointers: Set = new Set();\n let starIndex = -1;\n\n const mappedLayout: Array =\n layout.reduce((currentLayout: Array, layoutItem: LayoutItem | string, i: number): Array => {\n let newLayout: Array = currentLayout;\n\n if (layoutItem === '*') {\n starIndex = i;\n } else {\n try {\n const layoutNode: LayoutNode = LayoutNode.create(layoutItem, this.schemaService);\n mappedPointers.add(layoutNode.dataPointer);\n newLayout = newLayout.concat(layoutNode);\n } catch (err) {\n console.error('buildLayout error: Form layout element not recognized:');\n console.error(layoutItem);\n }\n }\n\n return newLayout;\n }, []);\n\n if (starIndex !== -1) {\n const availablePointers: Array = Array.from(schemaPointers.keys());\n mappedLayout.splice(starIndex, 0, ...this.buildLayout(difference(availablePointers, Array.from(mappedPointers))));\n }\n\n return mappedLayout;\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/SchemaService.html":{"url":"injectables/SchemaService.html","title":"injectable - SchemaService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n SchemaService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/schema.service.ts\n \n\n \n Description\n \n \n Provides services for parsing JSON Schema and validating data \n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n validate\n \n \n \n \n\n\n\n\n\n \n \n Accessors\n \n \n \n \n \n \n schema\n \n \n dataPointerMap\n \n \n \n \n \n \n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n validate\n \n \n \n \n \n \n \nvalidate(data: any)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/schema.service.ts:49\n \n \n\n\n \n \n Validates data based on set JSON Schema\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n data\n \n any\n \n\n \n No\n \n\n\n \n \ndata to be valdiated\n\n\n \n \n \n \n \n \n \n \n Returns : boolean\n\n \n \n \n \n \n \n \n \n\n\n \n \n Accessors\n \n \n \n \n \n \n schema\n \n \n\n \n \n getschema()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/schema.service.ts:21\n \n \n\n \n \n setschema(value)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/schema.service.ts:17\n \n \n \n \n\n \n Parameters :\n \n \n \n Name\n Optional\n Description\n \n \n \n \n value\n \n \n \n No\n \n \n \n \nJSON Schema to be used for validation\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n \n \n dataPointerMap\n \n \n\n \n \n getdataPointerMap()\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/schema.service.ts:30\n \n \n \n \n Gets a map of all the relevant json data pointers\nand their related schema definitions. This allows for\neasy lookup of a schema reference from a json pointer.\n\n\n \n Returns : Map\n\n \n \n \n\n \n \n\n \n\n\n \n import { Injectable } from '@angular/core';\n\nimport traverse from 'json-schema-traverse';\n\nimport Ajv from 'ajv';\n\nimport { JSONSchema7, JSONSchema7Definition } from 'json-schema';\n\n/** Provides services for parsing JSON Schema and validating data */\n@Injectable()\nexport class SchemaService {\n // TODO: Setter function to automatically upgrade schema version?\n private _schema: JSONSchema7 = {};\n /**\n * @param value - JSON Schema to be used for validation\n */\n set schema(value: JSONSchema7) {\n this._schema = value;\n this.compileSchema();\n }\n get schema(): JSONSchema7 {\n return this._schema;\n }\n\n /**\n * Gets a map of all the relevant json data pointers\n * and their related schema definitions. This allows for\n * easy lookup of a schema reference from a json pointer.\n */\n get dataPointerMap(): Map {\n const pointers: Map = new Map();\n traverse(this.schema, {cb: (...args) => {\n const [schema, pointer, , , , parentSchema] = args;\n if (pointer && parentSchema && parentSchema.type !== 'array' && schema.type !== 'object') {\n pointers.set(pointer.replace(/\\/properties/g, ''), schema);\n }\n }});\n\n return pointers;\n }\n\n private readonly ajv: Ajv.Ajv = new Ajv({ allErrors: true, jsonPointers: true, unknownFormats: 'ignore' });\n private validator: Ajv.ValidateFunction;\n\n /**\n * Validates data based on set JSON Schema\n * @param data - data to be valdiated\n */\n validate(data: any): boolean {\n return this.validator(data);\n }\n\n private compileSchema() {\n this.ajv.removeSchema(this.schema);\n this.validator = this.ajv.compile(this.schema);\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"components/SelectWidgetComponent.html":{"url":"components/SelectWidgetComponent.html","title":"component - SelectWidgetComponent","body":"\n \n\n\n\n\n\n Components\n SelectWidgetComponent\n\n\n\n \n Info\n \n \n Source\n \n \n Template\n \n \n Styles\n \n \n DOM Tree\n \n\n\n\n \n File\n\n\n projects/ngx-json-schema-form/src/lib/widget-library/container/select-widget/select-widget.component.ts\n\n\n \n Description\n \n \n Dynamically creates a widget component based on a layout node.\nChanges in @Input attributes will be passed onto the created widget.\n\n \n\n \n Extends\n \n \n Widget\n \n\n \n Implements\n \n \n OnInit\n OnChanges\n \n\n\n\n Metadata\n \n \n\n\n\n\n\n\n\n\n\n\n\n \n selector\n jsf-select-widget\n \n\n \n styleUrls\n ./select-widget.component.css\n \n\n\n\n \n templateUrl\n ./select-widget.component.html\n \n\n\n\n\n\n\n\n\n \n \n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n widgetContainer\n \n \n controlDisabled\n \n \n controlName\n \n \n controlValue\n \n \n formControl\n \n \n options\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n updateValue\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n dataIndex\n \n \n layoutIndex\n \n \n layoutNode\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(componentFactory: ComponentFactoryResolver, widgetLibraryService: WidgetLibraryService, jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/container/select-widget/select-widget.component.ts:25\n \n \n\n \n \n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n componentFactory\n \n \n ComponentFactoryResolver\n \n \n \n No\n \n \n \n \n widgetLibraryService\n \n \n WidgetLibraryService\n \n \n \n No\n \n \n \n \n jsf\n \n \n JsonSchemaFormService\n \n \n \n No\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n dataIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:26\n\n \n \n \n \n Index of the data in data array \n\n \n \n \n \n \n \n \n \n \n layoutIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:24\n\n \n \n \n \n Index of the layout in the Layout array \n\n \n \n \n \n \n \n \n \n \n layoutNode\n \n \n \n \n Type : LayoutNode\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:22\n\n \n \n \n \n Layout Node describing the control \n\n \n \n \n \n\n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(event: Event)\n \n \n\n\n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:64\n\n \n \n\n\n \n \n Update the value of the control\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n event\n \n Event\n \n\n \n No\n \n\n\n \n \nChange event\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n widgetContainer\n \n \n \n \n \n \n Type : ViewContainerRef\n\n \n \n \n \n Decorators : \n \n \n @ViewChild('widgetContainer', {read: ViewContainerRef})\n \n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/container/select-widget/select-widget.component.ts:25\n \n \n\n \n \n Placeholder for injecting widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlDisabled\n \n \n \n \n \n \n Default value : false\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:11\n\n \n \n\n \n \n Flag to disable the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlName\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:13\n\n \n \n\n \n \n Name for the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlValue\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:15\n\n \n \n\n \n \n Value of the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n formControl\n \n \n \n \n \n \n Type : AbstractControl\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:17\n\n \n \n\n \n \n Associated FormControl for widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Inherited from Widget\n\n \n \n \n \n Defined in Widget:19\n\n \n \n\n \n \n Options for the control \n\n \n \n\n \n \n\n\n\n\n\n \n import {\n Component, ComponentFactoryResolver, ComponentRef,\n OnChanges, OnInit, ViewChild, ViewContainerRef\n} from '@angular/core';\n\nimport { ElementDataStorageService } from '../../../element-data-storage.service';\nimport { JsonSchemaFormService } from '../../../json-schema-form.service';\n\nimport { Widget } from '../../widget';\nimport { WidgetLibraryService } from '../../widget-library.service';\n\n/**\n * Dynamically creates a widget component based on a layout node.\n * Changes in @Input attributes will be passed onto the created widget.\n */\n@Component({\n selector: 'jsf-select-widget',\n styleUrls: ['./select-widget.component.css'],\n templateUrl: './select-widget.component.html'\n})\nexport class SelectWidgetComponent extends Widget implements OnInit, OnChanges {\n private newComponent: ComponentRef;\n\n /** Placeholder for injecting widget */\n @ViewChild('widgetContainer', { read: ViewContainerRef }) widgetContainer: ViewContainerRef;\n\n constructor(private readonly componentFactory: ComponentFactoryResolver,\n private readonly widgetLibraryService: WidgetLibraryService,\n jsf: JsonSchemaFormService,\n elementDataStorage: ElementDataStorageService) {\n super(jsf, elementDataStorage);\n }\n\n ngOnInit() {\n this.updateComponent();\n }\n\n ngOnChanges() {\n this.updateComponent();\n }\n\n private updateComponent(): void {\n this.createComponent();\n if (this.newComponent) {\n for (const input of ['layoutNode', 'layoutIndex', 'dataIndex']) {\n this.newComponent.instance[input] = this[input];\n }\n }\n }\n\n private createComponent(): void {\n // TODO: What if layoutNode were to change? The form would be incorrect.\n if (!this.newComponent && this.layoutNode && this.layoutNode.type) {\n this.newComponent = this.widgetContainer.createComponent(\n this.componentFactory.resolveComponentFactory(\n this.widgetLibraryService.getWidget(this.layoutNode.type) as any\n ),\n undefined,\n undefined,\n this.generateNgContent()\n );\n }\n }\n\n private generateNgContent(): Array> {\n if (this.layoutNode.content) {\n return [ [ this.jsf.compileTemplate(this.layoutNode.content, this.layoutNode.options) ] ];\n }\n }\n}\n\n \n\n \n \n\n \n\n \n \n ./select-widget.component.css\n \n \n \n\n \n \n \n \n Legend\n \n \n Html element\n \n \n Component\n \n \n Html element with directive\n \n \n \n\n \n\n\n\n\n\n\n var COMPONENT_TEMPLATE = ''\n var COMPONENTS = [{'name': 'ButtonComponent', 'selector': 'jsf-button'},{'name': 'HiddenComponent', 'selector': 'jsf-hidden'},{'name': 'JsonSchemaFormComponent', 'selector': 'jsf-json-schema-form'},{'name': 'SelectWidgetComponent', 'selector': 'jsf-select-widget'}];\n var DIRECTIVES = [];\n var ACTUAL_COMPONENT = {'name': 'SelectWidgetComponent'};\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"classes/Widget.html":{"url":"classes/Widget.html","title":"class - Widget","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n Classes\n Widget\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/widget-library/widget.ts\n \n\n \n Description\n \n \n Widget \n\n \n\n\n \n Implements\n \n \n OnChanges\n OnInit\n AfterViewInit\n \n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n controlDisabled\n \n \n controlName\n \n \n controlValue\n \n \n formControl\n \n \n options\n \n \n \n \n\n \n \n Methods\n \n \n \n \n \n \n updateValue\n \n \n \n \n\n \n \n Inputs\n \n \n \n \n \n \n dataIndex\n \n \n layoutIndex\n \n \n layoutNode\n \n \n \n \n\n\n\n\n \n \n\n\n \n Constructor\n \n \n \n \nconstructor(jsf: JsonSchemaFormService, elementDataStorage: ElementDataStorageService)\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:29\n \n \n\n \n \n constructor \n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n \n \n \n \n jsf\n \n \n JsonSchemaFormService\n \n \n \n No\n \n \n \n \n elementDataStorage\n \n \n ElementDataStorageService\n \n \n \n No\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n Properties\n \n \n \n \n \n \n \n \n controlDisabled\n \n \n \n \n \n \n Default value : false\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:11\n \n \n\n \n \n Flag to disable the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlName\n \n \n \n \n \n \n Type : string\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:13\n \n \n\n \n \n Name for the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n controlValue\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:15\n \n \n\n \n \n Value of the control \n\n \n \n\n \n \n \n \n \n \n \n \n \n formControl\n \n \n \n \n \n \n Type : AbstractControl\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:17\n \n \n\n \n \n Associated FormControl for widget \n\n \n \n\n \n \n \n \n \n \n \n \n \n options\n \n \n \n \n \n \n Type : any\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:19\n \n \n\n \n \n Options for the control \n\n \n \n\n \n \n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n updateValue\n \n \n \n \n \n \n \nupdateValue(event: Event)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:64\n \n \n\n\n \n \n Update the value of the control\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n event\n \n Event\n \n\n \n No\n \n\n\n \n \nChange event\n\n\n \n \n \n \n \n \n \n \n Returns : void\n\n \n \n \n \n \n \n \n \n\n\n \n Inputs\n \n \n \n \n \n dataIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:26\n \n \n \n \n Index of the data in data array \n\n \n \n \n \n \n \n \n \n \n layoutIndex\n \n \n \n \n Type : Array\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:24\n \n \n \n \n Index of the layout in the Layout array \n\n \n \n \n \n \n \n \n \n \n layoutNode\n \n \n \n \n Type : LayoutNode\n\n \n \n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget.ts:22\n \n \n \n \n Layout Node describing the control \n\n \n \n \n \n\n\n\n\n \n\n\n \n import { AfterViewInit, ElementRef, Input, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';\nimport { AbstractControl } from '@angular/forms';\n\nimport { ElementDataStorageService } from '../element-data-storage.service';\nimport { JsonSchemaFormService } from '../json-schema-form.service';\nimport { LayoutNode } from '../layout-node';\n\n/** Widget */\nexport abstract class Widget implements OnChanges, OnInit, AfterViewInit {\n /** Flag to disable the control */\n controlDisabled = false;\n /** Name for the control */\n controlName: string;\n /** Value of the control */\n controlValue: any;\n /** Associated FormControl for widget */\n formControl: AbstractControl;\n /** Options for the control */\n options: any;\n\n /** Layout Node describing the control */\n @Input() layoutNode: LayoutNode;\n /** Index of the layout in the Layout array */\n @Input() layoutIndex: Array;\n /** Index of the data in data array */\n @Input() dataIndex: Array;\n\n /** Reference to the underlying control. Look to replace using FormControl */\n @ViewChild('control', {read: ElementRef}) private readonly control: ElementRef;\n\n /** constructor */\n constructor(protected jsf: JsonSchemaFormService, protected elementDataStorage: ElementDataStorageService) {}\n\n /** Propagate layoutNode changes to the ElementDataStorage */\n ngOnChanges(changes: SimpleChanges) {\n if (changes.layoutNode) {\n this.updateData();\n }\n }\n /**\n * Initialize the control and populate the options\n */\n ngOnInit() {\n this.jsf.initializeControl(this);\n this.options = this.layoutNode.options || {};\n }\n\n /** Set the initial layout in the ElementDataStorage */\n ngAfterViewInit() {\n this.updateData();\n }\n\n /** Update the ElementDataStorage */\n private updateData(): void {\n if (this.control) {\n this.elementDataStorage.set(this.control.nativeElement, 'layout', this.layoutNode.layoutDefinition);\n }\n }\n\n /**\n * Update the value of the control\n * @param event - Change event\n */\n updateValue(event: Event) {\n this.jsf.updateValue(this, (event.target).value);\n }\n}\n\n \n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules/WidgetLibraryModule.html":{"url":"modules/WidgetLibraryModule.html","title":"module - WidgetLibraryModule","body":"\n \n\n\n\n\n Modules\n WidgetLibraryModule\n\n\n\n \n \n\n\n\n\n\ndependencies\n\nLegend\n\n  Declarations\n\n  Module\n\n  Bootstrap\n\n  Providers\n\n  Exports\n\ncluster_WidgetLibraryModule\n\n\n\ncluster_WidgetLibraryModule_declarations\n\n\n\ncluster_WidgetLibraryModule_exports\n\n\n\n\nButtonComponent\n\nButtonComponent\n\n\n\nWidgetLibraryModule\n\nWidgetLibraryModule\n\nWidgetLibraryModule -->\n\nButtonComponent->WidgetLibraryModule\n\n\n\n\n\nHiddenComponent\n\nHiddenComponent\n\nWidgetLibraryModule -->\n\nHiddenComponent->WidgetLibraryModule\n\n\n\n\n\nSelectWidgetComponent\n\nSelectWidgetComponent\n\nWidgetLibraryModule -->\n\nSelectWidgetComponent->WidgetLibraryModule\n\n\n\n\n\nButtonComponent \n\nButtonComponent \n\nButtonComponent -->\n\nWidgetLibraryModule->ButtonComponent \n\n\n\n\n\nHiddenComponent \n\nHiddenComponent \n\nHiddenComponent -->\n\nWidgetLibraryModule->HiddenComponent \n\n\n\n\n\nSelectWidgetComponent \n\nSelectWidgetComponent \n\nSelectWidgetComponent -->\n\nWidgetLibraryModule->SelectWidgetComponent \n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n\n \n File\n \n \n projects/ngx-json-schema-form/src/lib/widget-library/widget-library.module.ts\n \n\n\n\n\n \n \n \n Declarations\n \n \n ButtonComponent\n \n \n HiddenComponent\n \n \n SelectWidgetComponent\n \n \n \n \n EntryComponents\n \n \n BASIC_WIDGETS\n \n \n \n \n Exports\n \n \n ButtonComponent\n \n \n HiddenComponent\n \n \n SelectWidgetComponent\n \n \n \n \n \n\n\n \n\n\n \n import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { BASIC_WIDGETS } from '.';\n\n@NgModule({\n declarations: [ ...BASIC_WIDGETS ],\n entryComponents: [ ...BASIC_WIDGETS ],\n exports: [ ...BASIC_WIDGETS ],\n imports: [ CommonModule, ReactiveFormsModule ]\n})\nexport class WidgetLibraryModule { }\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"injectables/WidgetLibraryService.html":{"url":"injectables/WidgetLibraryService.html","title":"injectable - WidgetLibraryService","body":"\n \n\n\n\n\n\n\n\n\n Injectables\n WidgetLibraryService\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n projects/ngx-json-schema-form/src/lib/widget-library/widget-library.service.ts\n \n\n \n Description\n \n \n Provides services for mapping a widget component to a layoutNode type\n\n \n\n\n\n \n Index\n \n \n\n \n \n Methods\n \n \n \n \n \n \n getWidget\n \n \n \n \n\n\n\n\n\n \n \n\n\n\n \n \n \n Methods\n \n \n \n \n \n \n \n \n getWidget\n \n \n \n \n \n \n \ngetWidget(type: string)\n \n \n\n\n \n \n Defined in projects/ngx-json-schema-form/src/lib/widget-library/widget-library.service.ts:28\n \n \n\n\n \n \n Gets a widget class from the type\n\n\n \n Parameters :\n \n \n \n Name\n Type\n Optional\n Description\n \n \n \n \n type\n \n string\n \n\n \n No\n \n\n\n \n \ntype of component\n\n\n \n \n \n \n \n \n \n \n \n \n \n\n\n \n\n\n \n import { Injectable } from '@angular/core';\n\nimport { ButtonComponent } from './input/button/button.component';\nimport { HiddenComponent } from './input/hidden/hidden.component';\nimport { Widget } from './widget';\n\n/**\n * Provides services for mapping a widget component to a layoutNode type\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class WidgetLibraryService {\n private readonly defaultWidget = 'hidden';\n\n private readonly widgets = {\n button: ButtonComponent,\n hidden: HiddenComponent,\n image: ButtonComponent,\n reset: ButtonComponent,\n submit: ButtonComponent\n };\n\n /**\n * Gets a widget class from the type\n * @param type - type of component\n */\n getWidget(type: string): typeof Widget {\n return this.hasWidget(type)\n ? this.widgets[type]\n : this.widgets[this.defaultWidget];\n }\n\n private hasWidget(type: string): boolean {\n return !!this.widgets[type];\n }\n}\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"dependencies.html":{"url":"dependencies.html","title":"package-dependencies - dependencies","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n Dependencies\n \n \n \n @angular/animations : ~7.2.0\n \n @angular/cdk : ^7.2.0\n \n @angular/common : ~7.2.0\n \n @angular/compiler : ~7.2.0\n \n @angular/core : ~7.2.0\n \n @angular/flex-layout : 7.0.0-beta.24\n \n @angular/forms : ~7.2.0\n \n @angular/http : ~7.2.0\n \n @angular/material : ~7.2.0\n \n @angular/platform-browser : ~7.2.0\n \n @angular/platform-browser-dynamic : ~7.2.0\n \n @angular/router : ~7.2.0\n \n @types/ace : 0.0.36\n \n @types/json-schema : ^7.0.3\n \n @types/lodash : ^4.14.136\n \n ajv : ^6.10.0\n \n brace : ^0.11.0\n \n core-js : ^2.5.4\n \n handlebars : ^4.1.2\n \n json-schema-traverse : ^0.4.1\n \n lodash : ^4.17.14\n \n lodash-decorators : ^6.0.1\n \n ng2-ace-editor : 0.3.9\n \n rxjs : ~6.5.2\n \n tslib : ^1.9.0\n \n zone.js : ~0.9.1\n \n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"index.html":{"url":"index.html","title":"getting-started - index","body":"\n \n\n\n\n\n\n\n\n\nNgxJsonSchemaForm\nA JSON Schema Form builder for Angular 7+, similar to\n\nAngular JSON Schema Form's \n\nNote: This project attemtps to take over where its predecesor left off.\nIt's based off of the above project, but rewritten from the ground up.\nNote: This project is not ready for consumption. There is still a lot to do to\nbring parity with Angular JSON Schema Form\nCheck out the live demo and play with the examples\nCheck out some examples here.\nUsing Angular JSON Schema Form\nBasic use\nBegin by installing the library in your project\nnpm install ngx-json-schema-form --saveThen import JsonSchemaFormModule in your main application module:\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { JsonSchemaFormModule } from 'ngx-json-schema-form';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n declarations: [ AppComponent ],\n imports: [\n BrowserModule,\n JsonSchemaFormModule\n ],\n bootstrap: [ AppComponent ]\n})\nexport class AppModule { }To display a form in your Angular component, simply add the following to your component's template:\nWhere schema is a valid JSON schema object. If you don't already have your own schemas, you can find a bunch of samples to test with in the projects/demo/src/assets/examples folder.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"license.html":{"url":"license.html","title":"getting-started - license","body":"\n \n\nThe MIT License\nCopyright for portions of project NGX-Json-Schema-Form are held by [David Schnell-Davis, 2014]\nas part of project Angular2-Json-Schema-Form. All other copyright for project NGX-Json-Schema-Form\nare held by [James Scharett, 2019]\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules.html":{"url":"modules.html","title":"modules - modules","body":"\n \n\n\n\n\n Modules\n\n\n \n \n \n \n JsonSchemaFormModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n \n \n WidgetLibraryModule\n \n \n \n \n Your browser does not support SVG\n \n \n \n Browse\n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"overview.html":{"url":"overview.html","title":"overview - overview","body":"\n \n\n\n\n Overview\n\n \n\n \n \n\n\n\n\n\ndependencies\n\nLegend\n\n  Declarations\n\n  Module\n\n  Bootstrap\n\n  Providers\n\n  Exports\n\ncluster_JsonSchemaFormModule\n\n\n\ncluster_JsonSchemaFormModule_declarations\n\n\n\ncluster_JsonSchemaFormModule_JsonSchemaFormComponent_providers\n\n\n\ncluster_JsonSchemaFormModule_imports\n\n\n\ncluster_JsonSchemaFormModule_exports\n\n\n\ncluster_WidgetLibraryModule\n\n\n\ncluster_WidgetLibraryModule_declarations\n\n\n\ncluster_WidgetLibraryModule_exports\n\n\n\n\nJsonSchemaFormComponent\n\nJsonSchemaFormComponent\n\n\n\nJsonSchemaFormModule\n\nJsonSchemaFormModule\n\nJsonSchemaFormModule -->\n\nJsonSchemaFormComponent->JsonSchemaFormModule\n\n\n\n\n\nJsonSchemaFormComponent \n\nJsonSchemaFormComponent \n\nJsonSchemaFormComponent -->\n\nJsonSchemaFormModule->JsonSchemaFormComponent \n\n\n\n\n\nWidgetLibraryModule \n\nWidgetLibraryModule \n\nWidgetLibraryModule -->\n\nJsonSchemaFormModule->WidgetLibraryModule \n\n\n\n\n\nJsonSchemaFormService\n\nJsonSchemaFormService\n\nJsonSchemaFormComponent -->\n\nJsonSchemaFormService->JsonSchemaFormComponent\n\n\n\n\n\nLayoutService\n\nLayoutService\n\nJsonSchemaFormComponent -->\n\nLayoutService->JsonSchemaFormComponent\n\n\n\n\n\nSchemaService\n\nSchemaService\n\nJsonSchemaFormComponent -->\n\nSchemaService->JsonSchemaFormComponent\n\n\n\n\n\nWidgetLibraryModule\n\nWidgetLibraryModule\n\nJsonSchemaFormModule -->\n\nWidgetLibraryModule->JsonSchemaFormModule\n\n\n\n\n\nButtonComponent \n\nButtonComponent \n\nButtonComponent -->\n\nWidgetLibraryModule->ButtonComponent \n\n\n\n\n\nHiddenComponent \n\nHiddenComponent \n\nHiddenComponent -->\n\nWidgetLibraryModule->HiddenComponent \n\n\n\n\n\nSelectWidgetComponent \n\nSelectWidgetComponent \n\nSelectWidgetComponent -->\n\nWidgetLibraryModule->SelectWidgetComponent \n\n\n\n\n\nButtonComponent\n\nButtonComponent\n\nWidgetLibraryModule -->\n\nButtonComponent->WidgetLibraryModule\n\n\n\n\n\nHiddenComponent\n\nHiddenComponent\n\nWidgetLibraryModule -->\n\nHiddenComponent->WidgetLibraryModule\n\n\n\n\n\nSelectWidgetComponent\n\nSelectWidgetComponent\n\nWidgetLibraryModule -->\n\nSelectWidgetComponent->WidgetLibraryModule\n\n\n\n\n\n\n \n \n \n Zoom in\n Reset\n Zoom out\n \n\n \n\n \n \n \n \n \n \n 2 Modules\n \n \n \n \n \n \n \n \n 4 Components\n \n \n \n \n \n \n \n 6 Injectables\n \n \n \n \n \n \n \n 2 Classes\n \n \n \n \n \n \n \n 3 Interfaces\n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"miscellaneous/typealiases.html":{"url":"miscellaneous/typealiases.html","title":"miscellaneous-typealiases - typealiases","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n Miscellaneous\n Type aliases\n\n\n\n Index\n \n \n \n \n \n \n DataEvent   (projects/.../data-event-plugin.service.ts)\n \n \n \n \n \n \n\n\n projects/ngx-json-schema-form/src/lib/data-event-plugin.service.ts\n \n \n \n \n \n \n DataEvent\n \n \n \n \n Event wrapper for piggybacking data on an event \n\n \n \n \n \n \n\n \n \n \n \n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"miscellaneous/variables.html":{"url":"miscellaneous/variables.html","title":"miscellaneous-variables - variables","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n Miscellaneous\n Variables\n\n\n\n Index\n \n \n \n \n \n \n BASIC_WIDGETS   (projects/.../index.ts)\n \n \n \n \n \n \n\n\n projects/ngx-json-schema-form/src/lib/widget-library/index.ts\n \n \n \n \n \n \n \n \n BASIC_WIDGETS\n \n \n \n \n \n \n Type : []\n\n \n \n \n \n Default value : [\n ButtonComponent, HiddenComponent,\n SelectWidgetComponent\n]\n \n \n\n \n \n List of all Widget Components for ease of use. \n\n \n \n\n \n \n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"additional-documentation/introduction.html":{"url":"additional-documentation/introduction.html","title":"additional-page - Introduction","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\nJson Schema\nThe only requirement to using the component is to supply a valid JSON Schema. The component will parse the schema and display all properties in the order they\nare presented within the schema.\n\nschema.json\n\n{\n \"$id\": \"https://example.com/person.schema.json\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"title\": \"Person\",\n \"type\": \"object\",\n \"properties\": {\n \"firstName\": {\n \"type\": \"string\",\n \"description\": \"The person's first name.\"\n },\n \"lastName\": {\n \"type\": \"string\",\n \"description\": \"The person's last name.\"\n },\n \"age\": {\n \"description\": \"Age in years which must be equal to or greater than zero.\",\n \"type\": \"integer\",\n \"minimum\": 0\n }\n }\n}\n\nIn this example, the form will display 3 fields; firstName, lastName and age. The order is determined by the order of the fields in the schema. Once you have your schema set, all you need to do is pass it to the component\n\nbasic.component.ts\n\nimport { JSONSchema7 } from 'json-schema';\nimport schema from './schema.json';\n\n@Component({\n template: ``,\n ...\n})\nexport class BasicComponent {\n schema: JSONSchema7 = schema as JSONSchema7;\n ...\n}\n\nHere we import the schema json and set it as a property on our component. Then you wire up the schema in the template and\nLayout\nThe deault layout is simply ['*']. This translates to display everything in the the schema. The * key is a special command that tells the component to display everything that has not specifically been laid out. This can become useful when you only care about a few fields and their location. For example:\n\nschema.json\n\n{\n \"$id\": \"https://example.com/person.schema.json\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"title\": \"Person\",\n \"type\": \"object\",\n \"properties\": {\n \"question1\": {\n \"type\": \"boolean\"\n },\n \"age\": {\n \"description\": \"Are you 18 or older?\",\n \"type\": \"boolean\"\n },\n \"question2\": {\n \"type\": \"boolean\"\n }\n }\n}\n\nlayout.json\n\n[\n \"age\",\n '*'\n]\n\nlayout.component.ts\n\nimport { JSONSchema7 } from 'json-schema';\nimport schema from './schema.json';\nimport layout from './layout.json';\n\n@Component({\n template: ``,\n ...\n})\nexport class LayoutComponent {\n schema: JSONSchema7 = schema as JSONSchema7;\n layout: Array = layout;\n ...\n}\n\nAs you can see, we only care that age is presented first. All the other properties in the schema are shown after age.\nForm Options\nJust like a native form, you can set the standard form attributes (action, autocomplete, enctype, method, target) on the jsf component. Most of the time you will not need to set these, but there may be instances in which you need your form to do an actual submit and need these set. For more info on these see Form Attributes.\n\nlogin.component.html\n\n\n\nWidgets\nOptions\nThere are numerous attributes that can be set on a widget which are set via the layout. The following are currently supported\n\naccesskey\ndirname\ndisabled\nhtmlClass\nname\nreadonly\nstyle\ntabindex\ntitle\n\n\nlayout.json\n\n[{\n \"type\": \"text\",\n \"accesskey\": \"n\",\n \"dirname\": true,\n \"disabled\": false,\n \"htmlClass\": \"input-sm\",\n \"name\": \"name\",\n \"readonly\": true,\n \"style\": \"color: #333;\",\n \"tabindex\": 2,\n \"title\": \"Name\"\n}]\n\nButton\nThere are 4 types of buttons that jsf supports, button, image, reset and submit. By default, these will all use the tag for display. However, with the exception of image, you can specify custom html via the content option. This will result in the being used for display and the content being inserted. Content can contain simple bindings so that you can bind to various properties of the layout. For example:\n\nbutton-layout.json\n\n[{\n \"type\": \"submit\",\n \"title\": \"Submit\",\n \"content\": \"{{ options.title }}\",\n \"icon\": {\n \"src\": \"/assets/submit.png\",\n \"width\": 30,\n \"height\": 30,\n \"alt\": \"Checkmark\"\n }\n}]\n\nwill result in\n\nbutton.html\n\n\n \n Submit\n\n\nHere you can see we are specifying that the button should contain an image via the content options. The template binds to the properties of the icon option which results in an image tag being rendered. The icon option is also used when redering a simple button of type image.\n\nNote: due to current limitation of Angular AOT compilation, use of the angular compile to transpile content strings into HTML DOM is not possible. Recent Angular changes have restricted the inclusion of the compiler in favor of reducing the file size and load time when in AOT mode. Therefore, Handlebars is currently being imported to handle the compilation of content string to HTML DOM.\n\n\nWe can also respond to events such as a click. To do this, we must first bind an event handler to the jsf component\n\nform.component.html\n\n\n\nThen we add a layout with a couple of buttons. The first button will run an internal command where as the second will run a command specified by layout.onClick.\n\nbuttons-layout.json\n\n[{\n \"type\": \"button\",\n \"id\": \"button1\",\n \"title\": \"Open dialog\"\n}, {\n \"type\": \"button\",\n \"id\": \"button2\",\n \"title\": \"Open Google\",\n \"onClick\": \"window.open('http://www.google.com/');\"\n}]\n\nLastly, we specify our onClick handler in our component.\n\nform.component.ts\n\nimport layout from './buttons-layout.json';\nimport { DataEvent } from 'ngx-json-schema-form';\n\n@Component({\n templateUrl: './form.component.html',\n ...\n})\nexport class LayoutComponent {\n layout: Array = layout;\n\n onClick(event: DataEvent): void {\n if (event.data.id === 'button1') {\n openDialog(event);\n } else if (event.data.id === 'button2') {\n // Run some external code\n const fn = new Function('event', event.data.onClick);\n fn(event);\n }\n }\n ...\n}\n\nWhen a button is clicked, the event will bubble up to the jsf form component to which we bound our onClick handler. Using event metadata (click.data.layout), we can specify that only events in which a target that has an associated data property of layout will trigger the event. This association is handled internally when a widget is created and acts similarly to jQuery's $.data. When the event handler is triggered, the layout is passed down with the event via event.data , allowing us to inspect which layout item triggered the event and act accordingly. In the case of \"button1\", we run and internal method openDialog in order to open an angular dialog component. With \"button2\" however, we run the external javascript passed in via the onClick property in the layout in order to open a popup dialog to Google.\nNote: running external javascript is usually not a good choice, therefore the jsf library does not internally run the onClick handler. You will need to handle the conversion from text to javascript yourself and run the code.\nHidden\nHidden widgets are as you expect, then render an . This is the default for any layout item that can't be propley matched. For the most part, hidden widgets wont be needed as you simply don't need to render them, their data never changes. However, in the event that you need to do an actual form submittal, hidden inputs may be necessary and are therfore included.\n\n\n\n\n\nJSON Schema\nLayout\nForm Options\nWidgets\nOptions\nButton\nHidden\n\n\n\n\n\n\n\n \n \n result-matching \"\"\n \n \n \n No results matching \"\"\n \n\n"}} } diff --git a/index.html b/index.html index 409f716..c50d6f4 100644 --- a/index.html +++ b/index.html @@ -11,5 +11,5 @@ - + diff --git a/main.1128242c9c05209c5717.js b/main.1128242c9c05209c5717.js deleted file mode 100644 index 5280586..0000000 --- a/main.1128242c9c05209c5717.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+/Hv":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ib56"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0}));function a(){for(var e=[],t=0;t":"<")+" "+r+") { "),i="",!1!==e.createErrors?(i+=" { keyword: '"+(f||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be ",i+="maxLength"==t?"longer":"shorter",i+=" than ",i+=d?"' + "+r+" + '":""+a,i+=" characters' "),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},"/30y":function(e,t,n){var r=n("Dhk8"),i=n("tLQN");e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},"/Bkq":function(e,t,n){var r=n("deT9"),i=n("rjis"),o=n("rKb1"),s=n("jm4U");e.exports=function(e){var t=o(e),n=s[t];if("function"!=typeof n||!(t in r.prototype))return!1;if(e===n)return!0;var a=i(n);return!!a&&e===a[0]}},"/Cv4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("FFaq"),i=n("wOka"),o=n("2R+v");t.Rest=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{optionalParams:!0})),t.rest=t.Rest,t.default=t.Rest},"/F2x":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("D57K"),i=n("H4Ux");t.BindApplicator=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.apply=function(e){var t=e.value,n=e.instance;return n?e.config.execute.apply(void 0,[t,n].concat(e.args)):t},t}(i.Applicator)},"/oKj":function(e,t,n){var r=n("D49j"),i=n("naLQ");e.exports=function(e,t){return i(r(t),e)}},"/wCD":function(e,t,n){var r=n("TAtK")(Object.getPrototypeOf,Object);e.exports=r},0:function(e,t,n){e.exports=n("zUnb")},"0+aC":function(e,t,n){var r=n("pFSi");e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},"0+c5":function(e,t,n){var r=n("vGGS"),i=n("obGE");function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}(o.prototype=r(i.prototype)).constructor=o,e.exports=o},"0BjU":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("mbAm"),i=n("naLQ"),o=n("wOka"),s=n("2R+v");t.Attempt=o.DecoratorFactory.createDecorator(new o.DecoratorConfig(function(e){return i(r,e)},new s.PreValueApplicator,{optionalParams:!0})),t.attempt=t.Attempt,t.default=t.Attempt},"0Ocv":function(e,t){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.columnthis.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/json/json_parse",["require","exports","module"],function(){"use strict";var at,ch,text,value,escapee={\'"\':\'"\',"\\\\":"\\\\","/":"/",b:"\\b",f:"\\f",n:"\\n",r:"\\r",t:"\t"},error=function(m){throw{name:"SyntaxError",message:m,at:at,text:text}},next=function(c){return c&&c!==ch&&error("Expected \'"+c+"\' instead of \'"+ch+"\'"),ch=text.charAt(at),at+=1,ch},number=function(){var number,string="";for("-"===ch&&(string="-",next("-"));ch>="0"&&"9">=ch;)string+=ch,next();if("."===ch)for(string+=".";next()&&ch>="0"&&"9">=ch;)string+=ch;if("e"===ch||"E"===ch)for(string+=ch,next(),("-"===ch||"+"===ch)&&(string+=ch,next());ch>="0"&&"9">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error("Bad number"),void 0):number},string=function(){var hex,i,uffff,string="";if(\'"\'===ch)for(;next();){if(\'"\'===ch)return next(),string;if("\\\\"===ch)if(next(),"u"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if("string"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error("Bad string")},white=function(){for(;ch&&" ">=ch;)next()},word=function(){switch(ch){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null}error("Unexpected \'"+ch+"\'")},array=function(){var array=[];if("["===ch){if(next("["),white(),"]"===ch)return next("]"),array;for(;ch;){if(array.push(value()),white(),"]"===ch)return next("]"),array;next(","),white()}}error("Bad array")},object=function(){var key,object={};if("{"===ch){if(next("{"),white(),"}"===ch)return next("}"),object;for(;ch;){if(key=string(),white(),next(":"),Object.hasOwnProperty.call(object,key)&&error(\'Duplicate key "\'+key+\'"\'),object[key]=value(),white(),"}"===ch)return next("}"),object;next(","),white()}}error("Bad object")};return value=function(){switch(white(),ch){case"{":return object();case"[":return array();case\'"\':return string();case"-":return number();default:return ch>="0"&&"9">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=" ",result=value(),white(),ch&&error("Syntax error"),"function"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({"":result},""):result}}),ace.define("ace/mode/json_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/json/json_parse"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,parse=acequire("./json/json_parse"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:"error"})}this.sender.emit("annotate",errors)}}.call(JsonWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0\n}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},"3KBa":function(e,t,n){var r=n("IBsm");e.exports=r["__core-js_shared__"]},"3KcA":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("kUU+"),i=n("wOka"),o=n("2R+v");t.CurryAll=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{optionalParams:!0})),t.curryAll=t.CurryAll,t.default=t.CurryAll},"3POh":function(e,t,n){var r=n("P+cI"),i=16;function o(e,t,n){var s=r(e,i,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return s.placeholder=o.placeholder,s}o.placeholder={},e.exports=o},"3ajY":function(e,t,n){(function(e){var r=n("IBsm"),i=n("DjCF"),o=t&&!t.nodeType&&t,s=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=s&&s.exports===o?r.Buffer:void 0;e.exports=(a?a.isBuffer:void 0)||i}).call(this,n("aYSr")(e))},"3v10":function(e,t,n){"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,c="data"+(o||""),h="valid"+i,d="errs__"+i,f=e.util.copy(e),p="";f.level++;var m="valid"+f.level;if(s.every(function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0:e.util.schemaHasRules(t,e.RULES.all)})){var g=f.baseId;r+=" var "+d+" = errors; var "+h+" = false; ";var v=e.compositeRule;e.compositeRule=f.compositeRule=!0;var y=s;if(y)for(var _,b=-1,w=y.length-1;b":"<")+" "+r+") { "),i="",!1!==e.createErrors?(i+=" { keyword: '"+(f||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxItems"==t?"more":"fewer",i+=" than ",i+=d?"' + "+r+" + '":""+a,i+=" items' "),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},"4mQY":function(e,t){e.exports=function(e){return e.placeholder}},"4p/L":function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},"4uJK":function(e,t,n){var r=n("CbIe"),i=n("OtNC"),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},"5VYK":function(e,t,n){var r=n("6QIk");e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},"5nKN":function(e,t,n){var r=n("2q8g"),i=n("9vbJ"),o=n("tQYX"),s=n("c18h"),a=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=RegExp("^"+l.toString.call(u.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?c:a).test(s(e))}},"5pfJ":function(e,t,n){var r=n("vxC8")(Object,"create");e.exports=r},"5vCJ":function(e,t,n){var r=n("m2YG");e.exports=function(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=r(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}},"66K7":function(e,t,n){var r=n("R3TX"),i=n("P+cI"),o=n("4mQY"),s=n("AeOa"),a=r(function(e,t,n){var r=1;if(n.length){var l=s(n,o(a));r|=32}return i(e,r,t,n,l)});a.placeholder={},e.exports=a},"6QIk":function(e,t,n){var r=n("pPzx");e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},"6UKJ":function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},"6iRR":function(e,t){e.exports=function(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout(function(){e.apply(void 0,n)},t)}},"6sC/":function(e,t){var n=Math.max;e.exports=function(e,t,r,i){for(var o=-1,s=e.length,a=r.length,l=-1,u=t.length,c=n(s-a,0),h=Array(u+c),d=!i;++l-1}},D49j:function(e,t,n){var r=n("zWgn");e.exports=function(e){return"function"==typeof e?e:r}},D57K:function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return i}),n.d(t,"__assign",function(){return o}),n.d(t,"__rest",function(){return s}),n.d(t,"__decorate",function(){return a}),n.d(t,"__param",function(){return l}),n.d(t,"__metadata",function(){return u}),n.d(t,"__awaiter",function(){return c}),n.d(t,"__generator",function(){return h}),n.d(t,"__exportStar",function(){return d}),n.d(t,"__values",function(){return f}),n.d(t,"__read",function(){return p}),n.d(t,"__spread",function(){return m}),n.d(t,"__spreadArrays",function(){return g}),n.d(t,"__await",function(){return v}),n.d(t,"__asyncGenerator",function(){return y}),n.d(t,"__asyncDelegator",function(){return _}),n.d(t,"__asyncValues",function(){return b}),n.d(t,"__makeTemplateObject",function(){return w}),n.d(t,"__importStar",function(){return C}),n.d(t,"__importDefault",function(){return E});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(s,a)}l((r=r.apply(e,t||[])).next())})}function h(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function m(){for(var e=[],t=0;t1||a(e,t)})})}function a(e,t){try{(n=i[e](t)).value instanceof v?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(r){c(o[0][3],r)}var n}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function _(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:v(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function b(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}},D6Fn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("D57K"),i=n("H4Ux");t.PreValueApplicator=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.apply=function(e){return e.config.execute.apply(void 0,[e.value].concat(e.args))},t}(i.Applicator)},Dhk8:function(e,t,n){var r=n("Syyo"),i=n("KCLV"),o=n("kHoZ"),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},DjCF:function(e,t){e.exports=function(){return!1}},DuXo:function(e,t){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o0:e.util.schemaHasRules(_,e.RULES.all))||(p[p.length]=g)}}else p=s;if(d||p.length){var b=e.errorPath,w=d||p.length>=e.opts.loopRequired,C=e.opts.ownProperties;if(u)if(r+=" var missing"+i+"; ",w){d||(r+=" var "+f+" = validate.schema"+a+"; ");var E="' + "+(D="schema"+i+"["+(F="i"+i)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(b,D,e.opts.jsonPointers)),r+=" var "+h+" = true; ",d&&(r+=" if (schema"+i+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+i+")) "+h+" = false; else {"),r+=" for (var "+F+" = 0; "+F+" < "+f+".length; "+F+"++) { "+h+" = "+c+"["+f+"["+F+"]] !== undefined ",C&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+f+"["+F+"]) "),r+="; if (!"+h+") break; } ",d&&(r+=" } "),(x=x||[]).push(r+=" if (!"+h+") { "),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+E+"' } ",!1!==e.opts.messages&&(r+=" , message: '",r+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+E+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var A=r;r=x.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+A+"]); ":" validate.errors = ["+A+"]; return false; ":" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var x,S=p;if(S)for(var F=-1,k=S.length-1;F8)r+=" || validate.schema"+a+".hasOwnProperty("+m+") ";else{var T=b;if(T)for(var I=-1,L=T.length-1;I0:e.util.schemaHasRules(X,e.RULES.all)){var Z=e.util.getProperty(G),J=(U=c+Z,K&&void 0!==X.default);if(d.schema=X,d.schemaPath=a+Z,d.errSchemaPath=l+"/"+e.util.escapeFragment(G),d.errorPath=e.util.getPath(e.errorPath,G,e.opts.jsonPointers),d.dataPathArr[v]=e.util.toQuotedString(G),W=e.validate(d),d.baseId=O,e.util.varOccurences(W,y)<2){W=e.util.varReplace(W,y,U);var ee=U}else ee=y,r+=" var "+y+" = "+U+"; ";if(J)r+=" "+W+" ";else{if(P&&P[G]){r+=" if ( "+ee+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(G)+"') "),r+=") { "+p+" = false; ",j=e.errorPath,V=l;var te,ne=e.util.escapeQuotes(G);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(j,G,e.opts.jsonPointers)),l=e.errSchemaPath+"/required",(te=te||[]).push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+ne+"' } ",!1!==e.opts.messages&&(r+=" , message: '",r+=e.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+ne+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",z=r,r=te.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+z+"]); ":" validate.errors = ["+z+"]; return false; ":" var err = "+z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=V,e.errorPath=j,r+=" } else { "}else u?(r+=" if ( "+ee+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(G)+"') "),r+=") { "+p+" = true; } else { "):(r+=" if ("+ee+" !== undefined ",D&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(G)+"') "),r+=" ) { ");r+=" "+W+" } "}}u&&(r+=" if ("+p+") { ",f+="}")}}if(C.length){var re=C;if(re)for(var ie,oe=-1,se=re.length-1;oe0:e.util.schemaHasRules(X,e.RULES.all))&&(d.schema=X,d.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(ie),d.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(ie),r+=D?" "+_+" = "+_+" || Object.keys("+c+"); for (var "+g+"=0; "+g+"<"+_+".length; "+g+"++) { var "+m+" = "+_+"["+g+"]; ":" for (var "+m+" in "+c+") { ",r+=" if ("+e.usePattern(ie)+".test("+m+")) { ",d.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers),U=c+"["+m+"]",d.dataPathArr[v]=m,W=e.validate(d),d.baseId=O,e.util.varOccurences(W,y)<2?r+=" "+e.util.varReplace(W,y,U)+" ":r+=" var "+y+" = "+U+"; "+W+" ",u&&(r+=" if (!"+p+") break; "),r+=" } ",u&&(r+=" else "+p+" = true; "),r+=" } ",u&&(r+=" if ("+p+") { ",f+="}"))}return u&&(r+=" "+f+" if ("+h+" == errors) {"),e.util.cleanUpCode(r)}},I6tc:function(e,t,n){var r=n("zaNA"),i=n("iWTG"),o=n("IBsm");e.exports=function(e,t,n,s){var a=1&t,l=i(e);return function t(){for(var i=-1,u=arguments.length,c=-1,h=s.length,d=Array(h+u),f=this&&this!==o&&this instanceof t?l:e;++c=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return n[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);if(o="data"+(t-r||""),!i)return o}for(var a=o,u=i.split("/"),c=0;c1&&k.reverse(),b&&y=55296&&t<=56319&&i0:e.util.schemaHasRules(s,e.RULES.all)){d.schema=s,d.schemaPath=a,d.errSchemaPath=l,r+=" var "+h+" = errors; ";var p,m=e.compositeRule;e.compositeRule=d.compositeRule=!0,d.createErrors=!1,d.opts.allErrors&&(p=d.opts.allErrors,d.opts.allErrors=!1),r+=" "+e.validate(d)+" ",d.createErrors=!0,p&&(d.opts.allErrors=p),e.compositeRule=d.compositeRule=m;var g=g||[];g.push(r+=" if ("+f+") { "),r="",!1!==e.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var v=r;r=g.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+v+"]); ":" validate.errors = ["+v+"]; return false; ":" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+=" var err = ",!1!==e.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(r+=" if (false) { ");return r}},NEWo:function(e,t){ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-monokai",t.cssText=".ace-monokai .ace_gutter {background: #2F3129;color: #8F908A}.ace-monokai .ace_print-margin {width: 1px;background: #555651}.ace-monokai {background-color: #272822;color: #F8F8F2}.ace-monokai .ace_cursor {color: #F8F8F0}.ace-monokai .ace_marker-layer .ace_selection {background: #49483E}.ace-monokai.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #272822;}.ace-monokai .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-monokai .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #49483E}.ace-monokai .ace_marker-layer .ace_active-line {background: #202020}.ace-monokai .ace_gutter-active-line {background-color: #272727}.ace-monokai .ace_marker-layer .ace_selected-word {border: 1px solid #49483E}.ace-monokai .ace_invisible {color: #52524d}.ace-monokai .ace_entity.ace_name.ace_tag,.ace-monokai .ace_keyword,.ace-monokai .ace_meta.ace_tag,.ace-monokai .ace_storage {color: #F92672}.ace-monokai .ace_punctuation,.ace-monokai .ace_punctuation.ace_tag {color: #fff}.ace-monokai .ace_constant.ace_character,.ace-monokai .ace_constant.ace_language,.ace-monokai .ace_constant.ace_numeric,.ace-monokai .ace_constant.ace_other {color: #AE81FF}.ace-monokai .ace_invalid {color: #F8F8F0;background-color: #F92672}.ace-monokai .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #AE81FF}.ace-monokai .ace_support.ace_constant,.ace-monokai .ace_support.ace_function {color: #66D9EF}.ace-monokai .ace_fold {background-color: #A6E22E;border-color: #F8F8F2}.ace-monokai .ace_storage.ace_type,.ace-monokai .ace_support.ace_class,.ace-monokai .ace_support.ace_type {font-style: italic;color: #66D9EF}.ace-monokai .ace_entity.ace_name.ace_function,.ace-monokai .ace_entity.ace_other,.ace-monokai .ace_entity.ace_other.ace_attribute-name,.ace-monokai .ace_variable {color: #A6E22E}.ace-monokai .ace_variable.ace_parameter {font-style: italic;color: #FD971F}.ace-monokai .ace_string {color: #E6DB74}.ace-monokai .ace_comment {color: #75715E}.ace-monokai .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y}",e("../lib/dom").importCssString(t.cssText,t.cssClass)})},"NW/2":function(e,t,n){var r=n("JYmt"),i=n("z+TE");e.exports=function(e,t){return null!=e&&i(e,t,r)}},NYSw:function(e,t,n){var r=n("BqUW"),i=n("tLQN");e.exports=function e(t,n,o,s,a){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,s,e,a))}},Ndl3:function(e,t,n){var r=n("9y2L"),i=n("tLQN");e.exports=function(e){return i(e)&&r(e)}},OBn4:function(e,t,n){var r=n("vxC8")(n("IBsm"),"Set");e.exports=r},OfKG:function(e,t,n){var r=n("c7Qd");e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},OkwS:function(e){e.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}},OrVs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("2q8g"),i=n("nDih"),o=n("oi21");t.resolveFunction=function(e,t,n,s){if(void 0===s&&(s=!0),r(e))return e;if(i(e)){if(t&&r(t[e]))return t[e];if(n&&r(n[e]))return n[e]}if(s)throw new ReferenceError(o.log("Can not resolve method "+e+" on any target Objects"))}},OtNC:function(e,t,n){var r=n("TAtK")(Object.keys,Object);e.exports=r},Oul7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Bcqe"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0}));function a(e,t){return s(e,t)}t.ThrottleAll=a,t.throttleAll=a,t.default=s},"P+cI":function(e,t,n){var r=n("uA6v"),i=n("HCUT"),o=n("LtMG"),s=n("JtPM"),a=n("I6tc"),l=n("rjis"),u=n("9Oiy"),c=n("SStt"),h=n("E2v+"),d=n("m2YG"),f=Math.max;e.exports=function(e,t,n,p,m,g,v,y){var _=2&t;if(!_&&"function"!=typeof e)throw new TypeError("Expected a function");var b=p?p.length:0;if(b||(t&=-97,p=m=void 0),v=void 0===v?v:f(d(v),0),y=void 0===y?y:d(y),b-=m?m.length:0,64&t){var w=p,C=m;p=m=void 0}var E=_?void 0:l(e),A=[e,t,n,p,m,w,C,g,v,y];if(E&&u(A,E),e=A[0],t=A[1],n=A[2],p=A[3],m=A[4],!(y=A[9]=void 0===A[9]?_?0:e.length:f(A[9]-b,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||16==t?o(e,t,y):32!=t&&33!=t||m.length?s.apply(void 0,A):a(e,t,n,p);else var x=i(e,t,n);return h((E?r:c)(x,A),e,t)}},PElx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("3POh"),i=n("wOka"),o=n("2R+v");t.CurryRightAll=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{optionalParams:!0})),t.curryRightAll=t.CurryRightAll,t.default=t.CurryRightAll},PNaz:function(e,t,n){"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,c="data"+(o||"");if(!1===e.opts.format)return u&&(r+=" if (true) { "),r;var h,d=e.opts.$data&&s&&s.$data;d?(r+=" var schema"+i+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",h="schema"+i):h=s;var f=e.opts.unknownFormats,p=Array.isArray(f);if(d)r+=" var "+(m="format"+i)+" = formats["+h+"]; var "+(g="isObject"+i)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(v="formatType"+i)+" = "+g+" && "+m+".type || 'string'; if ("+g+") { ",e.async&&(r+=" var async"+i+" = "+m+".async; "),r+=" "+m+" = "+m+".validate; } if ( ",d&&(r+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "),r+=" (","ignore"!=f&&(r+=" ("+h+" && !"+m+" ",p&&(r+=" && self._opts.unknownFormats.indexOf("+h+") == -1 "),r+=") || "),r+=" ("+m+" && "+v+" == '"+n+"' && !(typeof "+m+" == 'function' ? ",r+=e.async?" (async"+i+" ? await "+m+"("+c+") : "+m+"("+c+")) ":" "+m+"("+c+") ",r+=" : "+m+".test("+c+"))))) {";else{var m;if(!(m=e.formats[s])){if("ignore"==f)return e.logger.warn('unknown format "'+s+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(r+=" if (true) { "),r;if(p&&f.indexOf(s)>=0)return u&&(r+=" if (true) { "),r;throw new Error('unknown format "'+s+'" is used in schema at path "'+e.errSchemaPath+'"')}var g,v=(g="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(g){var y=!0===m.async;m=m.validate}if(v!=n)return u&&(r+=" if (true) { "),r;if(y){if(!e.async)throw new Error("async format in sync schema");r+=" if (!(await "+(_="formats"+e.util.getProperty(s)+".validate")+"("+c+"))) { "}else{r+=" if (! ";var _="formats"+e.util.getProperty(s);g&&(_+=".validate"),r+="function"==typeof m?" "+_+"("+c+") ":" "+_+".test("+c+") ",r+=") { "}}var b=b||[];b.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",r+=d?""+h:""+e.util.toQuotedString(s),r+=" } ",!1!==e.opts.messages&&(r+=" , message: 'should match format \"",r+=d?"' + "+h+" + '":""+e.util.escapeQuotes(s),r+="\"' "),e.opts.verbose&&(r+=" , schema: ",r+=d?"validate.schema"+a:""+e.util.toQuotedString(s),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var w=r;return r=b.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+w+"]); ":" validate.errors = ["+w+"]; return false; ":" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { "),r}},PpGN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("QD31"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PostValueApplicator,{setter:!0}));function a(e){return s(e)}t.AfterAll=a,t.afterAll=a,t.default=s},"Pz+s":function(e,t,n){var r=n("vxC8"),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},QD31:function(e,t,n){var r=n("m2YG");e.exports=function(e,t){if("function"!=typeof t)throw new TypeError("Expected a function");return e=r(e),function(){if(--e<1)return t.apply(this,arguments)}}},QF3D:function(e,t,n){var r=n("vxC8")(n("IBsm"),"DataView");e.exports=r},QMz8:function(e,t,n){var r=n("5pfJ"),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},"QS+l":function(e,t,n){"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,c="data"+(o||""),h="valid"+i,d="errs__"+i,f=e.util.copy(e),p="";f.level++;var m="valid"+f.level,g="i"+i,v=f.dataLevel=e.dataLevel+1,y="data"+v,_=e.baseId;if(r+="var "+d+" = errors;var "+h+";",Array.isArray(s)){var b=e.schema.additionalItems;if(!1===b){r+=" "+h+" = "+c+".length <= "+s.length+"; ";var w=l;l=e.errSchemaPath+"/additionalItems";var C=C||[];C.push(r+=" if (!"+h+") { "),r="",!1!==e.createErrors?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+s.length+" } ",!1!==e.opts.messages&&(r+=" , message: 'should NOT have more than "+s.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=C.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+E+"]); ":" validate.errors = ["+E+"]; return false; ":" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",l=w,u&&(p+="}",r+=" else { ")}var A=s;if(A)for(var x,S=-1,F=A.length-1;S0:e.util.schemaHasRules(x,e.RULES.all)){r+=" "+m+" = true; if ("+c+".length > "+S+") { ";var k=c+"["+S+"]";f.schema=x,f.schemaPath=a+"["+S+"]",f.errSchemaPath=l+"/"+S,f.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0),f.dataPathArr[v]=S;var D=e.validate(f);f.baseId=_,e.util.varOccurences(D,y)<2?r+=" "+e.util.varReplace(D,y,k)+" ":r+=" var "+y+" = "+k+"; "+D+" ",r+=" } ",u&&(r+=" if ("+m+") { ",p+="}")}"object"==typeof b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0:e.util.schemaHasRules(b,e.RULES.all))&&(f.schema=b,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+c+".length > "+s.length+") { for (var "+g+" = "+s.length+"; "+g+" < "+c+".length; "+g+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),k=c+"["+g+"]",f.dataPathArr[v]=g,D=e.validate(f),f.baseId=_,e.util.varOccurences(D,y)<2?r+=" "+e.util.varReplace(D,y,k)+" ":r+=" var "+y+" = "+k+"; "+D+" ",u&&(r+=" if (!"+m+") break; "),r+=" } } ",u&&(r+=" if ("+m+") { ",p+="}"))}else(e.opts.strictKeywords?"object"==typeof s&&Object.keys(s).length>0:e.util.schemaHasRules(s,e.RULES.all))&&(f.schema=s,f.schemaPath=a,f.errSchemaPath=l,r+=" for (var "+g+" = 0; "+g+" < "+c+".length; "+g+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0),k=c+"["+g+"]",f.dataPathArr[v]=g,D=e.validate(f),f.baseId=_,e.util.varOccurences(D,y)<2?r+=" "+e.util.varReplace(D,y,k)+" ":r+=" var "+y+" = "+k+"; "+D+" ",u&&(r+=" if (!"+m+") break; "),r+=" }");return u&&(r+=" "+p+" if ("+d+" == errors) {"),e.util.cleanUpCode(r)}},QT01:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=t||n<0||g&&e-p>=c}function b(){var e=i();if(_(e))return w(e);d=setTimeout(b,function(e){var n=t-(e-f);return g?a(n,c-(e-p)):n}(e))}function w(e){return d=void 0,v&&l?y(e):(l=u=void 0,h)}function C(){var e=i(),n=_(e);if(l=arguments,u=this,f=e,n){if(void 0===d)return function(e){return p=e,d=setTimeout(b,t),m?y(e):h}(f);if(g)return clearTimeout(d),d=setTimeout(b,t),y(f)}return void 0===d&&(d=setTimeout(b,t)),h}return t=o(t)||0,r(n)&&(m=!!n.leading,c=(g="maxWait"in n)?s(o(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),C.cancel=function(){void 0!==d&&clearTimeout(d),p=0,l=f=u=d=void 0},C.flush=function(){return void 0===d?h:w(i())},C}},RpMG:function(e,t,n){"use strict";e.exports=function(e,t,n){var r=" ",i=e.level,o=e.dataLevel,s=e.schema[t],a=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,c="data"+(o||""),h="valid"+i,d="errs__"+i,f=e.util.copy(e);f.level++;var p="valid"+f.level,m=e.schema.then,g=e.schema.else,v=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0:e.util.schemaHasRules(m,e.RULES.all)),y=void 0!==g&&(e.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0:e.util.schemaHasRules(g,e.RULES.all)),_=f.baseId;if(v||y){var b;f.createErrors=!1,f.schema=s,f.schemaPath=a,f.errSchemaPath=l,r+=" var "+d+" = errors; var "+h+" = true; ";var w=e.compositeRule;e.compositeRule=f.compositeRule=!0,r+=" "+e.validate(f)+" ",f.baseId=_,f.createErrors=!0,r+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=w,v?(r+=" if ("+p+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(f)+" ",f.baseId=_,r+=" "+h+" = "+p+"; ",v&&y?r+=" var "+(b="ifClause"+i)+" = 'then'; ":b="'then'",r+=" } ",y&&(r+=" else { ")):r+=" if (!"+p+") { ",y&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(f)+" ",f.baseId=_,r+=" "+h+" = "+p+"; ",v&&y?r+=" var "+(b="ifClause"+i)+" = 'else'; ":b="'else'",r+=" } "),r+=" if (!"+h+") { var err = ",!1!==e.createErrors?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+b+" } ",!1!==e.opts.messages&&(r+=" , message: 'should match \"' + "+b+" + '\" schema' "),e.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(r+=e.async?" throw new ValidationError(vErrors); ":" validate.errors = vErrors; return false; "),r+=" } ",u&&(r+=" else { "),r=e.util.cleanUpCode(r)}else u&&(r+=" if (true) { ");return r}},S0iI:function(e,t){e.exports=function(e,t){return e.has(t)}},S1RW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("kUU+"),i=n("wOka"),o=n("2R+v");t.Curry=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{bound:!0,optionalParams:!0})),t.curry=t.Curry,t.default=t.Curry},S3pA:function(e,t,n){var r=n("7/we"),i=n("KAo/"),o=n("zWgn"),s=n("wxYD"),a=n("1EDM");e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):r(e):a(e)}},SALw:function(e,t,n){"use strict";var r=n("J4sq"),i=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31],s=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,a=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*$/i,l=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?$/i,u=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#.\/;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,c=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,h=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~\/]|~0|~1)*)*$/,f=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~\/]|~0|~1)*)*)$/;function m(e){return r.copy(m[e="full"==e?"full":"fast"])}function g(e){var t=e.match(i);if(!t)return!1;var n=+t[2],r=+t[3];return n>=1&&n<=12&&r>=1&&r<=(2==n&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(+t[1])?29:o[n])}function v(e,t){var n=e.match(s);if(!n)return!1;var r=n[1],i=n[2],o=n[3];return(r<=23&&i<=59&&o<=59||23==r&&59==i&&60==o)&&(!t||n[5])}e.exports=m,m.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":u,url:c,email:/^[a-z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:h,"json-pointer":d,"json-pointer-uri-fragment":f,"relative-json-pointer":p},m.full={date:g,time:v,"date-time":function(e){var t=e.split(y);return 2==t.length&&g(t[0])&&v(t[1],!0)},uri:function(e){return _.test(e)&&l.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@\/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@\/?]|%[0-9a-f]{2})*)?$/i,"uri-template":u,url:c,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:function(e){return e.length<=255&&a.test(e)},ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:h,"json-pointer":d,"json-pointer-uri-fragment":f,"relative-json-pointer":p};var y=/t|\s/i,_=/\/|:/,b=/[^\\]\\Z/;function w(e){if(b.test(e))return!1;try{return new RegExp(e),!0}catch(t){return!1}}},SStt:function(e,t,n){var r=n("uA6v"),i=n("kG2z")(r);e.exports=i},SU8Q:function(e,t){e.exports=function(e){return function(t){return e(t)}}},SoOq:function(e,t,n){var r=n("0+aC"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=s},Syyo:function(e,t,n){var r=n("IBsm");e.exports=r.Symbol},T6vp:function(e,t,n){(function(e){var r=n("e93E"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===i&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a}).call(this,n("aYSr")(e))},"T7u/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("YC30"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PartialValueApplicator,{property:!0}));function a(e){return s(e)}t.Flip=a,t.flip=a,t.default=s},TAtK:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},TmT9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("tQYX"),i=n("2q8g"),o=n("nDih");t.isMethodOrPropertyDecoratorArgs=function(){for(var e=[],t=0;t=2&&r(e[0])&&o(e[1])&&i(e[0].constructor)&&e[0].constructor.prototype===e[0]}},Tv3l:function(e,t,n){var r=n("2Fbm"),i=n("VPai"),o=n("+fUG"),s=n("QMz8"),a=n("mUsV");function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0:e.util.schemaHasRules(s,e.RULES.all)){d.schema=s,d.schemaPath=a,d.errSchemaPath=l;var p="key"+i,m="idx"+i,g="i"+i,v="' + "+p+" + '",y="data"+(d.dataLevel=e.dataLevel+1),_="dataProperties"+i,b=e.opts.ownProperties,w=e.baseId;b&&(r+=" var "+_+" = undefined; "),r+=b?" "+_+" = "+_+" || Object.keys("+c+"); for (var "+m+"=0; "+m+"<"+_+".length; "+m+"++) { var "+p+" = "+_+"["+m+"]; ":" for (var "+p+" in "+c+") { ",r+=" var startErrs"+i+" = errors; ";var C=p,E=e.compositeRule;e.compositeRule=d.compositeRule=!0;var A=e.validate(d);d.baseId=w,e.util.varOccurences(A,y)<2?r+=" "+e.util.varReplace(A,y,C)+" ":r+=" var "+y+" = "+C+"; "+A+" ",e.compositeRule=d.compositeRule=E,r+=" if (!"+f+") { for (var "+g+"=startErrs"+i+"; "+g+"=200&&(h=l,d=!1,t=new r(t));e:for(;++c 1e-"+e.opts.multipleOfPrecision+" ":" division"+o+" !== parseInt(division"+o+") ",i+=" ) ",d&&(i+=" ) ");var f=f||[];f.push(i+=" ) { "),i="",!1!==e.createErrors?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be multiple of ",i+=d?"' + "+r:r+"'"),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var p=i;return i=f.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+p+"]); ":" validate.errors = ["+p+"]; return false; ":" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},YPqp:function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,h="data"+(s||""),d=e.opts.$data&&a&&a.$data;d?(i+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ",r="schema"+o):r=a;var f="maximum"==t,p=f?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[p],g=e.opts.$data&&m&&m.$data,v=f?"<":">",y=f?">":"<",_=void 0;if(g){var b,w=e.util.getData(m.$data,s,e.dataPathArr),C="exclusive"+o,E="exclType"+o,A="exclIsNumber"+o,x="' + "+(F="op"+o)+" + '";i+=" var schemaExcl"+o+" = "+w+"; ",_=p,(b=b||[]).push(i+=" var "+C+"; var "+E+" = typeof "+(w="schemaExcl"+o)+"; if ("+E+" != 'boolean' && "+E+" != 'undefined' && "+E+" != 'number') { "),i="",!1!==e.createErrors?(i+=" { keyword: '"+(_||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: '"+p+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var S=i;i=b.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+S+"]); ":" validate.errors = ["+S+"]; return false; ":" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+E+" == 'number' ? ( ("+C+" = "+r+" === undefined || "+w+" "+v+"= "+r+") ? "+h+" "+y+"= "+w+" : "+h+" "+y+" "+r+" ) : ( ("+C+" = "+w+" === true) ? "+h+" "+y+"= "+r+" : "+h+" "+y+" "+r+" ) || "+h+" !== "+h+") { var op"+o+" = "+C+" ? '"+v+"' : '"+v+"='; ",void 0===a&&(_=p,u=e.errSchemaPath+"/"+p,r=w,d=g)}else if(x=v,(A="number"==typeof m)&&d){var F="'"+x+"'";i+=" if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" ( "+r+" === undefined || "+m+" "+v+"= "+r+" ? "+h+" "+y+"= "+m+" : "+h+" "+y+" "+r+" ) || "+h+" !== "+h+") { "}else A&&void 0===a?(C=!0,_=p,u=e.errSchemaPath+"/"+p,r=m,y+="="):(A&&(r=Math[f?"min":"max"](m,a)),m===(!A||r)?(C=!0,_=p,u=e.errSchemaPath+"/"+p,y+="="):(C=!1,x+="=")),F="'"+x+"'",i+=" if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+h+" "+y+" "+r+" || "+h+" !== "+h+") { ";return _=_||t,(b=b||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(_||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+F+", limit: "+r+", exclusive: "+C+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be "+x+" ",i+=d?"' + "+r:r+"'"),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ",S=i,i=b.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+S+"]); ":" validate.errors = ["+S+"]; return false; ":" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { "),i}},YTSh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("RNvQ"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0}));function a(e,t){return s(e,t)}t.Debounce=a,t.debounce=a,t.default=s},YeEs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("wOka"),i=n("2R+v"),o=n("M7nJ");t.Tap=r.DecoratorFactory.createDecorator(new r.DecoratorConfig(function(e){return o.returnAtIndex(e,0)},new i.PreValueApplicator,{optionalParams:!0})),t.tap=t.Tap,t.default=t.Tap},YpBQ:function(e,t,n){var r=n("y/9h"),i=n("oCTG");e.exports=function e(t,n,o,s,a){var l=-1,u=t.length;for(o||(o=i),a||(a=[]);++l0&&o(c)?n>1?e(c,n-1,o,s,a):r(a,c):s||(a[a.length]=c)}return a}},Ypsa:function(e,t,n){var r=n("a88S");e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},Yulh:function(e,t,n){var r=n("cYMH");e.exports=function(e){return r(e,1)}},Z2Kv:function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i=" ",o=e.level,s=e.dataLevel,a=e.schema[t],l=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,h="data"+(s||""),d="valid"+o,f=e.opts.$data&&a&&a.$data;if(f?(i+=" var schema"+o+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ",r="schema"+o):r=a,(a||f)&&!1!==e.opts.uniqueItems){f&&(i+=" var "+d+"; if ("+r+" === false || "+r+" === undefined) "+d+" = true; else if (typeof "+r+" != 'boolean') "+d+" = false; else { "),i+=" var i = "+h+".length , "+d+" = true , j; if (i > 1) { ";var p=e.schema.items&&e.schema.items.type,m=Array.isArray(p);!p||"object"==p||"array"==p||m&&(p.indexOf("object")>=0||p.indexOf("array")>=0)?i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+h+"[i], "+h+"[j])) { "+d+" = false; break outer; } } } ":(i+=" var itemIndices = {}, item; for (;i--;) { var item = "+h+"[i]; ",i+=" if ("+e.util["checkDataType"+(m?"s":"")](p,"item",!0)+") continue; ",m&&(i+=" if (typeof item == 'string') item = '\"' + item; "),i+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "),i+=" } ",f&&(i+=" } ");var g=g||[];g.push(i+=" if (!"+d+") { "),i="",!1!==e.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema: ",i+=f?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var v=i;i=g.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+v+"]); ":" validate.errors = ["+v+"]; return false; ":" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { ")}else c&&(i+=" if (true) { ");return i}},"ZZ+W":function(e,t,n){var r=n("JBn+"),i=n("myUI"),o=n("S0iI");e.exports=function(e,t,n,s,a,l){var u=1&n,c=e.length,h=t.length;if(c!=h&&!(u&&h>c))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var f=-1,p=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f0:e.util.schemaHasRules(w,e.RULES.all))?(f.schema=w,f.schemaPath=a+"["+C+"]",f.errSchemaPath=l+"/"+C,r+=" "+e.validate(f)+" ",f.baseId=g):r+=" var "+m+" = true; ",C&&(r+=" if ("+m+" && "+v+") { "+h+" = false; "+y+" = ["+y+", "+C+"]; } else { ",p+="}"),r+=" if ("+m+") { "+h+" = "+v+" = true; "+y+" = "+C+"; }";return e.compositeRule=f.compositeRule=_,r+=p+"if (!"+h+") { var err = ",!1!==e.createErrors?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+y+" } ",!1!==e.opts.messages&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(r+=e.async?" throw new ValidationError(vErrors); ":" validate.errors = vErrors; return false; "),r+="} else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}},bvyN:function(e,t,n){var r=n("/30y"),i=n("tLQN"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},c18h:function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},c72w:function(e,t,n){var r=n("wC3K"),i=n("pPzx"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];o.call(e,t)&&i(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},c7Qd:function(e,t,n){var r=n("DuXo"),i=n("z9Jh"),o=n("n1QJ");e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},"cEF+":function(e,t,n){var r=n("P+cI"),i=n("cH1A")(function(e,t){return r(e,256,void 0,void 0,void 0,t)});e.exports=i},cEVn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.returnAtIndex=function(e,t){return function(){for(var n=[],r=0;r1?"& ":"")+t[i],t=t.join(r>2?", ":" "),e.replace(n,"{\n/* [wrapped with "+t+"] */\n")}},kG2z:function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},kHoZ:function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},"kUU+":function(e,t,n){var r=n("P+cI"),i=8;function o(e,t,n){var s=r(e,i,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return s.placeholder=o.placeholder,s}o.placeholder={},e.exports=o},"kkM+":function(e,t,n){var r=n("QF3D"),i=n("qeCs"),o=n("IS0S"),s=n("OBn4"),a=n("4+Vk"),l=n("Dhk8"),u=n("c18h"),c=u(r),h=u(i),d=u(o),f=u(s),p=u(a),m=l;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||s&&"[object Set]"!=m(new s)||a&&"[object WeakMap]"!=m(new a))&&(m=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case c:return"[object DataView]";case h:return"[object Map]";case d:return"[object Promise]";case f:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},knjE:function(e,t,n){!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function(e,n,r){"string"==typeof e?(2==arguments.length&&(r=n),t.modules[e]||(t.payloads[e]=r,t.modules[e]=null)):t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,r=function(e,t,n){if("string"==typeof t){var r=s(e,t);if(null!=r)return n&&n(),r}else if("[object Array]"===Object.prototype.toString.call(t)){for(var o=[],a=0,l=t.length;a1&&function(e,t,n){if(Array.prototype.indexOf)return e.indexOf("",void 0);for(var r=0;r-1&&(n=RegExp(this.source,i.replace.call((this.global?"g":"")+(this.ignoreCase?"i":"")+(this.multiline?"m":"")+(this.extended?"x":"")+(this.sticky?"y":""),"g","")),i.replace.call(e.slice(r.index),n,function(){for(var e=1;er.index&&this.lastIndex--}return r},s||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function r(){}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=d.call(arguments,1),i=function(){if(this instanceof i){var r=t.apply(this,n.concat(d.call(arguments)));return Object(r)===r?r:this}return t.apply(e,n.concat(d.call(arguments)))};return t.prototype&&(r.prototype=t.prototype,i.prototype=new r,r.prototype=null),i});var i,o,s,a,l,u=Function.prototype.call,c=Array.prototype,h=Object.prototype,d=c.slice,f=u.bind(h.toString),p=u.bind(h.hasOwnProperty);if((l=p(h,"__defineGetter__"))&&(i=u.bind(h.__defineGetter__),o=u.bind(h.__defineSetter__),s=u.bind(h.__lookupGetter__),a=u.bind(h.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,"XXX"),t+1==n.length)return!0}()){var m=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?m.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(d.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):null==e?e=0:e<0&&(e=Math.max(n+e,0)),e+ta)for(h=u;h--;)this[l+h]=this[a+h];if(o&&e===c)this.length=c,this.push.apply(this,i);else for(this.length=c+o,h=0;h>>0;if("[object Function]"!=f(e))throw new TypeError;for(;++i>>0,i=Array(r),o=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var s=0;s>>0,o=[],s=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var a=0;a>>0,i=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var o=0;o>>0,i=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var o=0;o>>0;if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,o=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o++];break}if(++o>=r)throw new TypeError("reduce of empty array with no initial value")}for(;o>>0;if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,o=r-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(i=e.call(void 0,i,n[o],o,t))}while(o--);return i}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=_&&"[object String]"==f(this)?this.split(""):P(this),n=t.length>>>0;if(!n)return-1;var r=0;for(arguments.length>1&&(r=R(arguments[1])),r=r>=0?r:Math.max(0,n+r);r>>0;if(!n)return-1;var r=n-1;for(arguments.length>1&&(r=Math.min(r,R(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:h)}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(p(e,t)){var n;if(n={enumerable:!0,configurable:!0},l){var r=e.__proto__;e.__proto__=h;var i=s(e,t),o=a(e,t);if(e.__proto__=r,i||o)return i&&(n.get=i),o&&(n.set=o),n}return n.value=e[t],n}}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),Object.create||(g=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(null===e)n=g();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var r=function(){};r.prototype=e,(n=new r).__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}),Object.defineProperty){var w=b({}),C="undefined"==typeof document||b(document.createElement("div"));if(!w||!C)var E=Object.defineProperty}Object.defineProperty&&!E||(Object.defineProperty=function(e,t,n){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=typeof n&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(E)try{return E.call(Object,e,t,n)}catch(u){}if(p(n,"value"))if(l&&(s(e,t)||a(e,t))){var r=e.__proto__;e.__proto__=h,delete e[t],e[t]=n.value,e.__proto__=r}else e[t]=n.value;else{if(!l)throw new TypeError("getters & setters can not be defined on this javascript engine");p(n,"get")&&i(e,t,n.get),p(n,"set")&&o(e,t,n.set)}return e}),Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)p(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch(T){Object.freeze=(v=Object.freeze,function(e){return"function"==typeof e?e:v(e)})}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";p(e,t);)t+="?";e[t]=!0;var n=p(e,t);return delete e[t],n}),!Object.keys){var A=!0,x=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=x.length;for(var F in{toString:null})A=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var n in e)p(e,n)&&t.push(n);if(A)for(var r=0,i=S;r0||-1)*Math.floor(Math.abs(e))),e}var P=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e,t,n){"use strict";e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t,n){"use strict";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return-1!==(e.className+"").split(/\s+/g).indexOf(t)},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){for(var n=e.className.split(/\s+/g);;){var r=n.indexOf(t);if(-1==r)break;n.splice(r,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){for(var n=e.className.split(/\s+/g),r=!0;;){var i=n.indexOf(t);if(-1==i)break;r=!1,n.splice(i,1)}return r&&n.push(t),e.className=n.join(" "),r},t.setCssClass=function(e,n,r){r?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n,r=0;if((t=t||document).createStyleSheet&&(n=t.styleSheets)){for(;r=0?parseFloat((i.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((i.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((i.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(i.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(i.split(" Chrome/")[1])||void 0,t.isAIR=i.indexOf("AdobeAIR")>=0,t.isIPad=i.indexOf("iPad")>=0,t.isChromeOS=i.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(i)&&!window.MSStream,t.isIOS&&(t.isMac=!0)}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){"use strict";var r=e("./keys"),i=e("./useragent"),o=null,s=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent("on"+t,r)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||i.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,r){function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",i,!0),t.removeListener(document,"dragstart",i,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",i,!0),t.addListener(document,"dragstart",i,!0),i},t.addTouchMoveListener=function(e,n){var r,i;t.addListener(e,"touchstart",function(e){var t=e.touches[0];r=t.clientX,i=t.clientY}),t.addListener(e,"touchmove",function(e){var t=e.touches;if(!(t.length>1)){var o=t[0];e.wheelX=r-o.clientX,e.wheelY=i-o.clientY,r=o.clientX,i=o.clientY,n(e)}})},t.addMouseWheelListener=function(e,n){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),n(e)}):"onwheel"in e?t.addListener(e,"wheel",function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}n(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),n(e)})},t.addMultiMouseDownListener=function(e,n,r,o){var s,a,l,u=0,c={2:"dblclick",3:"tripleclick",4:"quadclick"};function h(e){if(0!==t.getButton(e)?u=0:e.detail>1?++u>4&&(u=1):u=1,i.isIE){var h=Math.abs(e.clientX-s)>5||Math.abs(e.clientY-a)>5;l&&!h||(u=1),l&&clearTimeout(l),l=setTimeout(function(){l=null},n[u-1]||600),1==u&&(s=e.clientX,a=e.clientY)}if(e._clicks=u,r[o]("mousedown",e),u>4)u=0;else if(u>1)return r[o](c[u],e)}function d(e){u=2,l&&clearTimeout(l),l=setTimeout(function(){l=null},n[u-1]||600),r[o]("mousedown",e),r[o](c[u],e)}Array.isArray(e)||(e=[e]),e.forEach(function(e){t.addListener(e,"mousedown",h),i.isOldIE&&t.addListener(e,"dblclick",d)})};var a=!i.isMac||!i.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};function l(e,t,n){var l=a(t);if(!i.isMac&&o){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(l|=8),o.altGr){if(3==(3&l))return;o.altGr=0}if(18===n||17===n){var u="location"in t?t.location:t.keyLocation;17===n&&1===u?1==o[n]&&(s=t.timeStamp):18===n&&3===l&&2===u&&t.timeStamp-s<50&&(o.altGr=!0)}}if(n in r.MODIFIER_KEYS&&(n=-1),8&l&&n>=91&&n<=93&&(n=-1),l||13!==n||3!==(u="location"in t?t.location:t.keyLocation)||(e(t,l,-n),!t.defaultPrevented)){if(i.isChromeOS&&8&l){if(e(t,l,n),t.defaultPrevented)return;l&=-9}return!!(l||n in r.FUNCTION_KEYS||n in r.PRINTABLE_KEYS)&&e(t,l,n)}}function u(){o=Object.create(null)}t.getModifierString=function(e){return r.KEY_MODS[a(e)]},t.addCommandKeyListener=function(e,n){var r=t.addListener;if(i.isOldGecko||i.isOpera&&!("KeyboardEvent"in window)){var s=null;r(e,"keydown",function(e){s=e.keyCode}),r(e,"keypress",function(e){return l(n,e,s)})}else{var a=null;r(e,"keydown",function(e){o[e.keyCode]=(o[e.keyCode]||0)+1;var t=l(n,e,e.keyCode);return a=e.defaultPrevented,t}),r(e,"keypress",function(e){a&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),a=null)}),r(e,"keyup",function(e){o[e.keyCode]=null}),o||(u(),r(window,"focus",u))}},"object"==typeof window&&window.postMessage&&!i.isOldIE&&(t.nextTick=function(e,n){n=n||window,t.addListener(n,"message",function r(i){"zero-timeout-message-1"==i.data&&(t.stopPropagation(i),t.removeListener(n,"message",r),e())}),n.postMessage("zero-timeout-message-1","*")}),t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame=t.nextFrame?t.nextFrame.bind(window):function(e){setTimeout(e,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var n="";t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,r=e.length;nh.length?e=e.substr(9):e.substr(0,4)==h.substr(0,4)?e=e.substr(4,e.length-h.length+1):e.charAt(e.length-1)==h.charAt(0)&&(e=e.slice(0,-1)),e==h.charAt(0)||e.charAt(e.length-1)==h.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),d&&(d=!1),A&&(A=!1))},S=function(e){m||(x(n.value),C())},F=function(e,t,n){var r=e.clipboardData||window.clipboardData;if(r&&!u){var i=c||n?"Text":"text/plain";try{return t?!1!==r.setData(i,t):r.getData(i)}catch(e){if(!n)return F(e,t,!0)}}},k=function(e,o){var s=t.getCopyText();if(!s)return r.preventDefault(e);F(e,s)?(i.isIOS&&(f=o,n.value="\n aa"+s+"a a\n",n.setSelectionRange(4,4+s.length),d={value:s}),o?t.onCut():t.onCopy(),i.isIOS||r.preventDefault(e)):(d=!0,n.value=s,n.select(),setTimeout(function(){d=!1,C(),w(),o?t.onCut():t.onCopy()}))};r.addCommandKeyListener(n,t.onCommandKey.bind(t)),r.addListener(n,"select",function(e){!function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(n)?E&&w(t.selection.isEmpty()):(t.selectAll(),w())}),r.addListener(n,"input",S),r.addListener(n,"cut",function(e){k(e,!0)}),r.addListener(n,"copy",function(e){k(e,!1)}),r.addListener(n,"paste",function(e){var o=F(e);"string"==typeof o?(o&&t.onPaste(o,e),i.isIE&&setTimeout(w),r.preventDefault(e)):(n.value="",p=!0)});var D,O=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=n.value.replace(/\x01/g,"");if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.canUndo&&(m.lastValue=e),m.lastValue)){var r=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(r),t.selection.clearSelection()}}},R=function(e){if(t.onCompositionEnd&&!t.$readOnly){var r=m;m=!1;var o=setTimeout(function(){o=null;var e=n.value.replace(/\x01/g,"");m||(e==r.lastValue?C():!r.lastValue&&e&&(C(),x(e)))});E=function(e){return o&&clearTimeout(o),(e=e.replace(/\x01/g,""))==r.lastValue?"":(r.lastValue&&o&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",R),"compositionend"==e.type&&r.range&&t.selection.setRange(r.range),(i.isChrome&&i.isChrome>=53||i.isWebKit&&i.isWebKit>=603)&&S()}},P=s.delayedCall(O,50);function T(){clearTimeout(D),D=setTimeout(function(){g&&(n.style.cssText=g,g=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}r.addListener(n,"compositionstart",function(e){m||!t.onCompositionStart||t.$readOnly||((m={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(O,0),t.on("mousedown",R),m.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())}),i.isGecko?r.addListener(n,"text",function(){P.schedule()}):(r.addListener(n,"keyup",function(){P.schedule()}),r.addListener(n,"keydown",function(){P.schedule()})),r.addListener(n,"compositionend",R),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){A=!0,w(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,s){g||(g=n.style.cssText),n.style.cssText=(s?"z-index:100000;":"")+"height:"+n.style.height+";"+(i.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),u=a.top+(parseInt(l.borderTopWidth)||0),c=a.left+(parseInt(a.borderLeftWidth)||0),h=a.bottom-u-n.clientHeight-2,d=function(e){n.style.left=e.clientX-c-2+"px",n.style.top=Math.min(e.clientY-u-2,h)+"px"};d(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(D),i.isWin&&r.capture(t.container,d,T))},this.onContextMenuClose=T;var I=function(e){t.textInput.onContextMenu(e),T()};if(r.addListener(n,"mouseup",I),r.addListener(n,"mousedown",function(e){e.preventDefault(),T()}),r.addListener(t.renderer.scroller,"contextmenu",I),r.addListener(n,"contextmenu",I),i.isIOS){var L=null,B=!1;e.addEventListener("keydown",function(e){L&&clearTimeout(L),B=!0}),e.addEventListener("keyup",function(e){L=setTimeout(function(){B=!1},100)});var $=function(e){if(document.activeElement===n&&!B){if(f)return setTimeout(function(){f=!1},100);var r=n.selectionStart,i=n.selectionEnd;if(n.setSelectionRange(4,5),r==i)switch(r){case 0:t.onCommandKey(null,0,a.up);break;case 1:t.onCommandKey(null,0,a.home);break;case 2:t.onCommandKey(null,l.option,a.left);break;case 4:t.onCommandKey(null,0,a.left);break;case 5:t.onCommandKey(null,0,a.right);break;case 7:t.onCommandKey(null,l.option,a.right);break;case 8:t.onCommandKey(null,0,a.end);break;case 9:t.onCommandKey(null,0,a.down)}else{switch(i){case 6:t.onCommandKey(null,l.shift,a.right);break;case 7:t.onCommandKey(null,l.shift|l.option,a.right);break;case 8:t.onCommandKey(null,l.shift,a.end);break;case 9:t.onCommandKey(null,l.shift,a.down)}switch(r){case 0:t.onCommandKey(null,l.shift,a.up);break;case 1:t.onCommandKey(null,l.shift,a.home);break;case 2:t.onCommandKey(null,l.shift|l.option,a.left);break;case 3:t.onCommandKey(null,l.shift,a.left)}}}};document.addEventListener("selectionchange",$),t.on("destroy",function(){document.removeEventListener("selectionchange",$)})}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=e("../lib/dom"),s=e("../lib/lang"),a=i.isChrome<18,l=i.isIE,u=e("./textinput_ios").TextInput;t.TextInput=function(e,t){if(i.isIOS)return u.call(this,e,t);var n=o.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",e.insertBefore(n,e.firstChild);var c="\u2028\u2028",h=!1,d=!1,f=!1,p="",m=!0;try{var g=document.activeElement===n}catch(B){}r.addListener(n,"blur",function(e){t.onBlur(e),g=!1}),r.addListener(n,"focus",function(e){g=!0,t.onFocus(e),_()}),this.focus=function(){if(p)return n.focus();var e=n.style.top;n.style.position="fixed",n.style.top="0px",n.focus(),setTimeout(function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)},0)},this.blur=function(){n.blur()},this.isFocused=function(){return g};var v=s.delayedCall(function(){g&&_(m)}),y=s.delayedCall(function(){f||(n.value=c,g&&_())});function _(e){if(!f){if(f=!0,w)var t=0,r=e?0:n.value.length-1;else t=e?2:1,r=2;try{n.setSelectionRange(t,r)}catch(B){}f=!1}}function b(){f||(n.value=c,i.isWebKit&&y.schedule())}i.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=m&&(m=!m,v.schedule())}),b(),g&&t.onFocus();var w=null;this.setInputHandler=function(e){w=e},this.getInputHandler=function(){return w};var C=!1,E=function(e){w&&(e=w(e),w=null),d?(_(),e&&t.onPaste(e),d=!1):e==c.charAt(0)?t.execCommand(C?"del":"backspace",{source:"ace"}):(e.substring(0,2)==c?e=e.substr(2):e.charAt(0)==c.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==c.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==c.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),C&&(C=!1)},A=function(e){f||(E(n.value),b())},x=function(e,t,n){var r=e.clipboardData||window.clipboardData;if(r&&!a){var i=l||n?"Text":"text/plain";try{return t?!1!==r.setData(i,t):r.getData(i)}catch(e){if(!n)return x(e,t,!0)}}},S=function(e,i){var o=t.getCopyText();if(!o)return r.preventDefault(e);x(e,o)?(i?t.onCut():t.onCopy(),r.preventDefault(e)):(h=!0,n.value=o,n.select(),setTimeout(function(){h=!1,b(),_(),i?t.onCut():t.onCopy()}))},F=function(e){S(e,!0)},k=function(e){S(e,!1)},D=function(e){var o=x(e);"string"==typeof o?(o&&t.onPaste(o,e),i.isIE&&setTimeout(_),r.preventDefault(e)):(n.value="",d=!0)};r.addCommandKeyListener(n,t.onCommandKey.bind(t)),r.addListener(n,"select",function(e){h?h=!1:function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(n)?(t.selectAll(),_()):w&&_(t.selection.isEmpty())}),r.addListener(n,"input",A),r.addListener(n,"cut",F),r.addListener(n,"copy",k),r.addListener(n,"paste",D),"oncut"in n&&"oncopy"in n&&"onpaste"in n||r.addListener(e,"keydown",function(e){if((!i.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:k(e);break;case 86:D(e);break;case 88:F(e)}});var O,R=function(){if(f&&t.onCompositionUpdate&&!t.$readOnly){var e=n.value.replace(/\u2028/g,"");if(f.lastValue!==e&&(t.onCompositionUpdate(e),f.lastValue&&t.undo(),f.canUndo&&(f.lastValue=e),f.lastValue)){var r=t.selection.getRange();t.insert(f.lastValue),t.session.markUndoGroup(),f.range=t.selection.getRange(),t.selection.setRange(r),t.selection.clearSelection()}}},P=function(e){if(t.onCompositionEnd&&!t.$readOnly){var r=f;f=!1;var o=setTimeout(function(){o=null;var e=n.value.replace(/\u2028/g,"");f||(e==r.lastValue?b():!r.lastValue&&e&&(b(),E(e)))});w=function(e){return o&&clearTimeout(o),(e=e.replace(/\u2028/g,""))==r.lastValue?"":(r.lastValue&&o&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",P),"compositionend"==e.type&&r.range&&t.selection.setRange(r.range),(i.isChrome&&i.isChrome>=53||i.isWebKit&&i.isWebKit>=603)&&A()}},T=s.delayedCall(R,50);function I(){clearTimeout(O),O=setTimeout(function(){p&&(n.style.cssText=p,p=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}r.addListener(n,"compositionstart",function(e){f||!t.onCompositionStart||t.$readOnly||((f={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(R,0),t.on("mousedown",P),f.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())}),i.isGecko?r.addListener(n,"text",function(){T.schedule()}):(r.addListener(n,"keyup",function(){T.schedule()}),r.addListener(n,"keydown",function(){T.schedule()})),r.addListener(n,"compositionend",P),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){C=!0,_(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,s){p||(p=n.style.cssText),n.style.cssText=(s?"z-index:100000;":"")+"height:"+n.style.height+";"+(i.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),u=a.top+(parseInt(l.borderTopWidth)||0),c=a.left+(parseInt(a.borderLeftWidth)||0),h=a.bottom-u-n.clientHeight-2,d=function(e){n.style.left=e.clientX-c-2+"px",n.style.top=Math.min(e.clientY-u-2,h)+"px"};d(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(O),i.isWin&&r.capture(t.container,d,I))},this.onContextMenuClose=I;var L=function(e){t.textInput.onContextMenu(e),I()};r.addListener(n,"mouseup",L),r.addListener(n,"mousedown",function(e){e.preventDefault(),I()}),r.addListener(t.renderer.scroller,"contextmenu",L),r.addListener(n,"contextmenu",L)}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";e("../lib/dom"),e("../lib/event");var r=e("../lib/useragent");function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function o(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else n=e.start.row!=e.end.row-1||e.start.column||e.end.column?2*t.row-e.start.row-e.end.row:t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var i=this.editor,o=e.getButton();if(0!==o){var s=i.getSelectionRange().isEmpty();return i.$blockScrolling++,(s||1==o)&&i.selection.moveToPosition(n),i.$blockScrolling--,void(2==o&&(i.textInput.onContextMenu(e.domEvent),r.isMozilla||e.preventDefault()))}return this.mousedownEvent.time=Date.now(),!t||i.isFocused()||(i.focus(),!this.$focusTimout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(-1==r)e=this.$clickSelection.end;else if(1==r)e=this.$clickSelection.start;else{var i=o(this.$clickSelection,n);n=i.cursor,e=i.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[e](r.row,r.column);if(n.$blockScrolling++,this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),a=this.$clickSelection.comparePoint(i.end);if(-1==s&&a<=0)t=this.$clickSelection.end,i.end.row==r.row&&i.end.column==r.column||(r=i.start);else if(1==a&&s>=0)t=this.$clickSelection.start,i.start.row==r.row&&i.start.column==r.column||(r=i.end);else if(-1==s&&1==a)r=i.end,t=i.start;else{var l=o(this.$clickSelection,r);r=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,n=(e=this.mousedownEvent.y,t=this.y,Math.sqrt(Math.pow(this.x-this.mousedownEvent.x,2)+Math.pow(t-e,2))),r=Date.now();(n>0||r-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session.getBracketRange(t);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,r=e.domEvent.timeStamp,i=r-n.t,o=e.wheelX/i,s=e.wheelY/i;i<250&&(o=(o+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(o/s),l=!1;return a>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),a<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l?n.allowed=r:r-n.allowed<250&&(Math.abs(o)<=1.1*Math.abs(n.vx)&&Math.abs(s)<=1.1*Math.abs(n.vy)?(l=!0,n.allowed=r):n.allowed=0),n.t=r,n.vx=o,n.vy=s,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){this.editor._emit("mousewheel",e)}}).call(i.prototype),t.DefaultHandlers=i}),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");function i(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){r.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){r.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(i.prototype),t.Tooltip=i}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/oop"),o=e("../lib/event"),s=e("../tooltip").Tooltip;function a(e){s.call(this,e)}i.inherits(a,s),(function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),o=this.getHeight();(e+=15)+i>n&&(e-=e+i-n),(t+=15)+o>r&&(t-=20+o),s.prototype.setPosition.call(this,e,t)}}).call(a.prototype),t.GutterHandler=function(e){var t,n,i,s=e.editor,l=s.renderer.$gutterLayer,u=new a(s.container);function c(){t&&(t=clearTimeout(t)),i&&(u.hide(),i=null,s._signal("hideGutterTooltip",u),s.removeEventListener("mousewheel",c))}function h(e){u.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",function(t){if(s.isFocused()&&0==t.getButton()&&"foldWidgets"!=l.getRegion(t)){var n=t.getDocumentPosition().row,r=s.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return s.selectAll(),t.preventDefault();e.$clickSelection=s.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}}),e.editor.setDefaultHandler("guttermousemove",function(o){if(r.hasCssClass(o.domEvent.target||o.domEvent.srcElement,"ace_fold-widget"))return c();i&&e.$tooltipFollowsMouse&&h(o),n=o,t||(t=setTimeout(function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row,r=l.$annotations[t];if(!r)return c();if(t==s.session.getLength()){var o=s.renderer.pixelToScreenCoordinates(0,n.y).row,a=n.$pos;if(o>s.session.documentToScreenRow(a.row,a.column))return c()}if(i!=r)if(i=r.text.join("
    "),u.setHtml(i),u.show(),s._signal("showGutterTooltip",u),s.on("mousewheel",c),e.$tooltipFollowsMouse)h(n);else{var d=n.domEvent.target.getBoundingClientRect(),f=u.getElement().style;f.left=d.right+"px",f.top=d.bottom+"px"}}():c()},50))}),o.addListener(s.renderer.$gutter,"mouseout",function(e){n=null,i&&!t&&(t=setTimeout(function(){t=null,c()},50))}),s.on("changeSession",c)}}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=i.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/event"),o=e("../lib/useragent"),s=200,a=200,l=5;function u(e){var t=e.editor,n=r.createElement("img");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(n.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;"),["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(t){e[t]=this[t]},this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var u,h,d,f,p,m,g,v,y,_,b,w=t.container,C=0;function E(){var e=m;(function(e,n){var r=Date.now();_&&n&&e.row==n.row&&n&&e.column==n.column?c(b.x,b.y,h,d)>l?_=null:r-_>=a&&(t.renderer.scrollCursorIntoView(),_=null):(t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,_=r,b={x:h,y:d})})(m=t.renderer.screenToTextCoordinates(h,d),e),function(e,n){var r=Date.now(),i=t.renderer.layerConfig.lineHeight,o=t.renderer.layerConfig.characterWidth,a=t.renderer.scroller.getBoundingClientRect(),l={x:{left:h-a.left,right:a.right-h},y:{top:d-a.top,bottom:a.bottom-d}},u=Math.min(l.x.left,l.x.right),c=Math.min(l.y.top,l.y.bottom),f={row:e.row,column:e.column};u/o<=2&&(f.column+=l.x.left=s&&t.renderer.scrollCursorIntoView(f):y=r:y=null}(m,e)}function A(){p=t.selection.toOrientedRange(),u=t.session.addMarker(p,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(f),E(),f=setInterval(E,20),C=0,i.addListener(document,"mousemove",F)}function x(){clearInterval(f),t.session.removeMarker(u),u=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(p),t.$blockScrolling-=1,t.isFocused()&&!v&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),p=null,m=null,C=0,y=null,_=null,i.removeListener(document,"mousemove",F)}this.onDragStart=function(e){if(this.cancelDrag||!w.draggable){var r=this;return setTimeout(function(){r.startSelect(),r.captureMouse(e)},0),e.preventDefault()}p=t.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=t.getReadOnly()?"copy":"copyMove",o.isOpera&&(t.container.appendChild(n),n.scrollTop=0),i.setDragImage&&i.setDragImage(n,0,0),o.isOpera&&t.container.removeChild(n),i.clearData(),i.setData("Text",t.session.getTextRange()),v=!0,this.setState("drag")},this.onDragEnd=function(e){w.draggable=!1,v=!1,this.setState(null),t.getReadOnly()||(g||"move"!=e.dataTransfer.dropEffect||t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&k(e.dataTransfer))return h=e.clientX,d=e.clientY,u||A(),C++,e.dataTransfer.dropEffect=g=D(e),i.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&k(e.dataTransfer))return h=e.clientX,d=e.clientY,u||(A(),C++),null!==S&&(S=null),e.dataTransfer.dropEffect=g=D(e),i.preventDefault(e)},this.onDragLeave=function(e){if(--C<=0&&u)return x(),g=null,i.preventDefault(e)},this.onDrop=function(e){if(m){var n=e.dataTransfer;if(v)switch(g){case"move":p=p.contains(m.row,m.column)?{start:m,end:m}:t.moveText(p,m);break;case"copy":p=t.moveText(p,m,!0)}else{var r=n.getData("Text");p={start:m,end:t.session.insert(m,r)},t.focus(),g=null}return x(),i.preventDefault(e)}},i.addListener(w,"dragstart",this.onDragStart.bind(e)),i.addListener(w,"dragend",this.onDragEnd.bind(e)),i.addListener(w,"dragenter",this.onDragEnter.bind(e)),i.addListener(w,"dragover",this.onDragOver.bind(e)),i.addListener(w,"dragleave",this.onDragLeave.bind(e)),i.addListener(w,"drop",this.onDrop.bind(e));var S=null;function F(){null==S&&(S=setTimeout(function(){null!=S&&u&&x()},20))}function k(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return"text/plain"==e||"Text"==e})}function D(e){var t=["copy","copymove","all","uninitialized"],n=o.isMac?e.altKey:e.ctrlKey,r="uninitialized";try{r=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var i="none";return n&&t.indexOf(r)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?i="move":t.indexOf(r)>=0&&(i="copy"),i}}function c(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging"),e.renderer.setCursorStyle(o.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;o.isIE&&"dragReady"==this.state&&c(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&c(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton();if(1===(e.domEvent.detail||1)&&0===r&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=e.domEvent.target||e.domEvent.srcElement;"unselectable"in i&&(i.unselectable="on"),t.getDragDelay()?(o.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(u.prototype),t.DragdropHandler=u}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";var r=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=r.getDocumentHead(),i=document.createElement("script");i.src=e,n.appendChild(i),i.onload=i.onreadystatechange=function(e,n){!n&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){"use strict";var r={},i=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(n.length||r){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=o),n=n.slice();for(var s=0;s1&&(i=n[n.length-2]);var s=l[t+"Path"];return null==s?s=l.basePath:"/"==r&&(t=r=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+t+r+i+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var i,s;Array.isArray(n)&&(s=n[0],n=n[1]);try{i=e(n)}catch(l){}if(i&&!t.$loading[n])return r&&r(i);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r),!(t.$loading[n].length>1)){var a=function(){e([n],function(e){t._emit("load.module",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach(function(t){t&&t(e)})})};if(!t.get("packaged"))return a();o.loadScript(t.moduleUrl(n,s),a)}},u(!0),t.init=u}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=e("./default_handlers").DefaultHandlers,s=e("./default_gutter_handler").GutterHandler,a=e("./mouse_event").MouseEvent,l=e("./dragdrop_handler").DragdropHandler,u=e("../config"),c=function(e){var t=this;this.editor=e,new o(this),new s(this),new l(this);var n=function(t){(!document.hasFocus||!document.hasFocus()||!e.isFocused()&&document.activeElement==(e.textInput&&e.textInput.getElement()))&&window.focus(),e.focus()},a=e.renderer.getMouseEventTarget();r.addListener(a,"click",this.onMouseEvent.bind(this,"click")),r.addListener(a,"mousemove",this.onMouseMove.bind(this,"mousemove")),r.addMultiMouseDownListener([a,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),r.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),r.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var u=e.renderer.$gutter;r.addListener(u,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),r.addListener(u,"click",this.onMouseEvent.bind(this,"gutterclick")),r.addListener(u,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),r.addListener(u,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),r.addListener(a,"mousedown",n),r.addListener(u,"mousedown",n),i.isIE&&e.renderer.scrollBarV&&(r.addListener(e.renderer.scrollBarV.element,"mousedown",n),r.addListener(e.renderer.scrollBarH.element,"mousedown",n)),e.on("mousemove",function(n){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var r=e.renderer.screenToTextCoordinates(n.x,n.y),i=e.session.selection.getRange(),o=e.renderer;!i.isEmpty()&&i.insideStart(r.row,r.column)?o.setCursorStyle("default"):o.setCursorStyle("")}})};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new a(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(e,new a(t,this.editor))},this.onMouseWheel=function(e,t){var n=new a(t,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.onTouchMove=function(e,t){var n=new a(t,this.editor);n.speed=1,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var o=this,s=function(e){if(e){if(i.isWebKit&&!e.which&&o.releaseMouse)return o.releaseMouse();o.x=e.clientX,o.y=e.clientY,t&&t(e),o.mouseEvent=new a(e,o.editor),o.$mouseMoved=!0}},l=function(e){clearInterval(c),u(),o[o.state+"End"]&&o[o.state+"End"](e),o.state="",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,e&&o.onMouseEvent("mouseup",e)},u=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(i.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout(function(){l(e)});o.$onCaptureMouseMove=s,o.releaseMouse=r.capture(this.editor.container,s,l);var c=setInterval(u,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=(function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&r.stopEvent(t.domEvent))}).bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(c.prototype),u.defineOptions(c.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:i.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=c}),ace.define("ace/mouse/fold_handler",["require","exports","module"],function(e,t,n){"use strict";t.FoldHandler=function(e){e.on("click",function(t){var n=t.getDocumentPosition(),r=e.session,i=r.getFoldAt(n.row,n.column,1);i&&(t.getAccelKey()?r.removeFold(i):r.expandFold(i),t.stop())}),e.on("gutterclick",function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,r=e.session;r.foldWidgets&&r.foldWidgets[n]&&e.session.onFoldWidgetClick(n,t),e.isFocused()||e.focus(),t.stop()}}),e.on("gutterdblclick",function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,r=e.session,i=r.getParentFoldRangeData(n,!0),o=i.range||i.firstRange;if(o){var s=r.getFoldAt(n=o.start.row,r.getLine(n).length,1);s?r.removeFold(s):(r.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}})}}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t,n){"use strict";var r=e("../lib/keys"),i=e("../lib/event"),o=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var n=this.$handlers.indexOf(e);-1!=n&&this.$handlers.splice(n,1),null==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==n&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1!=t&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map(function(n){return n.getStatusText&&n.getStatusText(t,e)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,n,r){for(var o,s=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&!((o=this.$handlers[l].handleKeyboard(this.$data,e,t,n,r))&&o.command&&((s="null"==o.command||a.exec(o.command,this.$editor,o.args,r))&&r&&-1!=e&&1!=o.passEvent&&1!=o.command.passEvent&&i.stopEvent(r),s)););return s||-1!=e||(o={command:"insertstring"},s=a.exec("insertstring",this.$editor,t)),s&&this.$editor._signal&&this.$editor._signal("keyboardActivity",o),s},this.onCommandKey=function(e,t,n){var i=r.keyCodeToString(n);this.$callKeyboardHandlers(t,i,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(o.prototype),t.KeyBinding=o}),ace.define("ace/lib/bidiutil",["require","exports","module"],function(e,t,n){"use strict";var r=0,i=0,o=!1,s=!1,a=!1,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],c=1,h=0,d=1,f=2,p=3,m=4,g=5,v=6,y=7,_=8,b=9,w=10,C=11,E=12,A=13,x=14,S=15,F=16,k=17,D=18,O=[D,D,D,D,D,D,D,D,D,v,g,v,_,g,D,D,D,D,D,D,D,D,D,D,D,D,D,D,g,g,g,v,_,m,m,C,C,C,m,m,m,m,m,w,b,w,b,b,f,f,f,f,f,f,f,f,f,f,b,m,m,m,m,m,m,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,m,m,m,m,m,m,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,m,m,m,m,D,D,D,D,D,D,g,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,b,m,C,C,C,C,m,m,m,m,h,m,m,D,m,m,C,C,f,f,m,h,m,m,m,f,h,m,m,m,m,m],R=[_,_,_,_,_,_,_,_,_,_,_,D,D,D,h,d,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,_,g,A,x,S,F,k,b,C,C,C,C,C,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,b,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,_];function P(e,t,n){if(!(i=e){for(o=d+1;o=e;)o++;for(a=d,l=o-1;a=t.length||(l=n[i-1])!=f&&l!=p||(u=t[i+1])!=f&&u!=p?m:(o&&(u=p),u==l?u:m);case w:return(l=i>0?n[i-1]:g)==f&&i+10&&n[i-1]==f)return f;if(o)return m;for(O=i+1,c=t.length;O=1425&&P<=2303||64286==P)&&(l==d||l==y))return d}return i<1||(l=t[i-1])==g?m:n[i-1];case g:return o=!1,s=!0,r;case v:return a=!0,m;case A:case x:case F:case k:case S:o=!1;case D:return m}}function I(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?h:O[t]:5==n?/[\u0591-\u05f4]/.test(e)?d:h:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?E:/[\u0660-\u0669\u066b-\u066c]/.test(e)?p:1642==t?C:/[\u06f0-\u06f9]/.test(e)?f:y:32==n&&t<=8287?R[255&t]:254==n&&t>=65136?y:m}t.L=h,t.R=d,t.EN=f,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.DOT="\xb7",t.doBidiReorder=function(e,n,h){if(e.length<2)return{};var f=e.split(""),b=new Array(f.length),w=new Array(f.length),C=[];r=h?c:0,function(e,t,n,c){var h=r?u:l,d=null,f=null,p=null,m=0,y=null,b=-1,w=null,C=null,E=[];if(!c)for(w=0,c=[];w0)if(16==y){for(w=b;w-1){for(w=b;w=0&&c[A]==_;A--)t[A]=r}}(f,C,f.length,n);for(var E=0;Ey&&n[E]0&&"\u0644"===f[E-1]&&/\u0622|\u0623|\u0625|\u0627/.test(f[E])&&(C[E-1]=C[E]=t.R_H,E++);for(f[f.length-1]===t.DOT&&(C[f.length-1]=t.B),E=0;E=0&&(e=this.session.$docRowCache[n])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,r=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===r;)r=n,e++;return e},this.updateRowLine=function(e,t){if(void 0===e&&(e=this.getDocumentRow()),this.wrapIndent=0,this.isLastRow=e===this.session.getLength()-1,this.line=this.session.getLine(e),this.session.$useWrapMode){var n=this.session.$wrapData[e];n&&(void 0===t&&(t=this.getSplitIndex()),t>0&&n.length?(this.wrapIndent=n.indent,this.line=t0?e-1:0,this.bidiMap),n=this.bidiMap.bidiLevels,i=0;0===e&&n[t]%2!=0&&t++;for(var o=0;o=u&&in+s/2;){if(n+=s,i===o.length-1){s=0;break}s=this.charWidths[o[++i]]}return i>0&&o[i-1]%2!=0&&o[i]%2==0?(e0&&o[i-1]%2==0&&o[i]%2!=0?t=1+(e>n?this.bidiMap.logicalFromVisual[i]:this.bidiMap.logicalFromVisual[i-1]):this.isRtlDir&&i===o.length-1&&0===s&&o[i-1]%2==0||!this.isRtlDir&&0===i&&o[i]%2!=0?t=1+this.bidiMap.logicalFromVisual[i]:(i>0&&o[i-1]%2!=0&&0!==s&&i--,t=this.bidiMap.logicalFromVisual[i]),t+this.wrapIndent}}).call(a.prototype),t.BidiHandler=a}),ace.define("ace/range",["require","exports","module"],function(e,t,n){"use strict";var r=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,r=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(r.row,r.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(r.row,r.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else this.end.rowt)var i={row:t+1,column:0};else this.start.rowt.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?s.fromPoints(t,t):this.isBackwards()?s.fromPoints(t,e):s.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,r="number"==typeof e?e:this.lead.row,i=this.session.getFoldLine(r);return i?(r=i.start.row,n=i.end.row):n=r,!0===t?new s(r,0,n,this.session.getLine(n).length):new s(r,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,n){var r=e.column,i=e.column+t;return n<0&&(r=e.column-t,i=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(r,i).split(" ").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(e,t,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(r)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},this.$shortWordEndIndex=function(e){var t,n=0,r=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&r.test(t);)n++;if(n<1)for(i.lastIndex=0;(t=e[n])&&!i.test(t);)if(i.lastIndex=0,n++,r.test(t)){if(n>2){n--;break}for(;(t=e[n])&&r.test(t);)n++;if(n>2)break}}return i.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),i=this.session.getFoldAt(e,t,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(t==n.length){var o=this.doc.getLength();do{r=this.doc.getLine(++e)}while(e0&&/^\s*$/.test(r));n=r.length,/\s+$/.test(r)||(r="")}var o=i.stringReverse(r),s=this.$shortWordEndIndex(o);return this.moveCursorTo(t,n-s)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column);var i=this.session.screenToDocumentPosition(r.row+e,r.column,n);0!==e&&0===t&&i.row===this.lead.row&&i.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[i.row]&&(i.row>0||e>0)&&i.row++,this.moveCursorTo(i.row,i.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0;var i=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(i.charAt(t))&&i.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return s.fromPoints(t,n)}catch(r){return s.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map(function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t});else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(null==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=s.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(a.prototype),t.Selection=a}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(e,t,n){"use strict";var r=e("./config"),i=2e3,o=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],r=[],i=0,o=this.matchMappings[t]={defaultToken:"text"},s="g",a=[],l=0;l1?this.$applyToken:u.token),h>1&&(/\\\d/.test(u.regex)?c=u.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+i+1)}):(h=1,c=this.removeCapturingGroups(u.regex)),u.splitRegex||"string"==typeof u.token||a.push(u)),o[i]=l,i+=h,r.push(c),u.onMatch||(u.onMatch=null)}}r.length||(o[0]=0,r.push("$")),a.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,s)},this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",s)}};(function(){this.$setMaxTokenCount=function(e){i=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var r=[],i=0,o=n.length;ic){var v=e.substring(c,g-m.length);d.type==f?d.value+=v:(d.type&&u.push(d),d={type:f,value:v})}for(var y=0;yi){for(h>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});c1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:u,state:n.length?n:r}},this.reportError=r.reportError}).call(o.prototype),t.Tokenizer=o}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../lib/lang"),i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var r=e[n],i=0;i=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new r(this.$row,t,this.$row,t+e.value.length)}}).call(i.prototype),t.TokenIterator=i}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){"use strict";var r,i=e("../../lib/oop"),o=e("../behaviour").Behaviour,s=e("../../token_iterator").TokenIterator,a=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],u=["text","paren.rparen","punctuation.operator","comment"],c={},h={'"':'"',"'":"'"},d=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,c.rangeCount!=e.multiSelect.rangeCount&&(c={rangeCount:e.multiSelect.rangeCount})),c[t])return r=c[t];r=c[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},f=function(e,t,n,r){var i=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,i,e.end.column+(i?0:1)]}},p=function(e){this.add("braces","insertion",function(t,n,i,o,s){var l=i.getCursorPosition(),u=o.doc.getLine(l.row);if("{"==s){d(i);var c=i.getSelectionRange(),h=o.doc.getTextRange(c);if(""!==h&&"{"!==h&&i.getWrapBehavioursEnabled())return f(c,h,"{","}");if(p.isSaneInsertion(i,o))return/[\]\}\)]/.test(u[l.column])||i.inMultiSelectMode||e&&e.braces?(p.recordAutoInsert(i,o,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(i,o,"{"),{text:"{",selection:[1,1]})}else if("}"==s){if(d(i),"}"==u.substring(l.column,l.column+1)&&null!==o.$findOpeningBracket("}",{column:l.column+1,row:l.row})&&p.isAutoInsertedClosing(l,u,s))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==s||"\r\n"==s){d(i);var m="";if(p.isMaybeInsertedClosing(l,u)&&(m=a.stringRepeat("}",r.maybeInsertedBrackets),p.clearMaybeInsertedClosing()),"}"===u.substring(l.column,l.column+1)){var g=o.findMatchingBracket({row:l.row,column:l.column+1},"}");if(!g)return null;var v=this.$getIndent(o.getLine(g.row))}else{if(!m)return void p.clearMaybeInsertedClosing();v=this.$getIndent(u)}var y=v+o.getTabString();return{text:"\n"+y+"\n"+v+m,selection:[1,y.length,1,y.length]}}p.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(e,t,n,i,o){var s=i.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==s){if(d(n),"}"==i.doc.getLine(o.start.row).substring(o.end.column,o.end.column+1))return o.end.column++,o;r.maybeInsertedBrackets--}}),this.add("parens","insertion",function(e,t,n,r,i){if("("==i){d(n);var o=n.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&n.getWrapBehavioursEnabled())return f(o,s,"(",")");if(p.isSaneInsertion(n,r))return p.recordAutoInsert(n,r,")"),{text:"()",selection:[1,1]}}else if(")"==i){d(n);var a=n.getCursorPosition(),l=r.doc.getLine(a.row);if(")"==l.substring(a.column,a.column+1)&&null!==r.$findOpeningBracket(")",{column:a.column+1,row:a.row})&&p.isAutoInsertedClosing(a,l,i))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"("==o&&(d(n),")"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i}),this.add("brackets","insertion",function(e,t,n,r,i){if("["==i){d(n);var o=n.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&n.getWrapBehavioursEnabled())return f(o,s,"[","]");if(p.isSaneInsertion(n,r))return p.recordAutoInsert(n,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){d(n);var a=n.getCursorPosition(),l=r.doc.getLine(a.row);if("]"==l.substring(a.column,a.column+1)&&null!==r.$findOpeningBracket("]",{column:a.column+1,row:a.row})&&p.isAutoInsertedClosing(a,l,i))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"["==o&&(d(n),"]"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i}),this.add("string_dquotes","insertion",function(e,t,n,r,i){var o=r.$mode.$quotes||h;if(1==i.length&&o[i]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(i))return;d(n);var s=i,a=n.getSelectionRange(),l=r.doc.getTextRange(a);if(!(""===l||1==l.length&&o[l])&&n.getWrapBehavioursEnabled())return f(a,l,s,s);if(!l){var u=n.getCursorPosition(),c=r.doc.getLine(u.row),p=c.substring(u.column-1,u.column),m=c.substring(u.column,u.column+1),g=r.getTokenAt(u.row,u.column),v=r.getTokenAt(u.row,u.column+1);if("\\"==p&&g&&/escape/.test(g.type))return null;var y,_=g&&/string|escape/.test(g.type),b=!v||/string|escape/.test(v.type);if(m==s)(y=_!==b)&&/string\.end/.test(v.type)&&(y=!1);else{if(_&&!b)return null;if(_&&b)return null;var w=r.$mode.tokenRe;w.lastIndex=0;var C=w.test(p);w.lastIndex=0;var E=w.test(p);if(C||E)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;y=!0}return{text:y?s+s:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&('"'==o||"'"==o)&&(d(n),r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)==o))return i.end.column++,i})};p.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new s(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",l)){var i=new s(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",l))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",u)},p.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},p.recordAutoInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isAutoInsertedClosing(i,o,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=i.row,r.autoInsertedLineEnd=n+o.substr(i.column),r.autoInsertedBrackets++},p.recordMaybeInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isMaybeInsertedClosing(i,o)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=i.row,r.maybeInsertedLineStart=o.substr(0,i.column)+n,r.maybeInsertedLineEnd=o.substr(i.column),r.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},i.inherits(p,o),t.CstyleBehaviour=p}),ace.define("ace/unicode",["require","exports","module"],function(e,t,n){"use strict";t.packages={},function(e){var n=/\w{4}/g;for(var r in e)t.packages[r]=e[r].replace(n,"\\u$&")}({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})}),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(e,t,n){"use strict";var r=e("../tokenizer").Tokenizer,i=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour/cstyle").CstyleBehaviour,s=e("../unicode"),a=e("../lib/lang"),l=e("../token_iterator").TokenIterator,u=e("../range").Range,c=function(){this.HighlightRules=i};(function(){this.$defaultBehaviour=new o,this.tokenRe=new RegExp("^["+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new r(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,n,r){var i=t.doc,o=!0,s=!0,l=1/0,u=t.getTabSize(),c=!1;if(this.lineCommentStart){Array.isArray(this.lineCommentStart)?(m=this.lineCommentStart.map(a.escapeRegExp).join("|"),f=this.lineCommentStart[0]):(m=a.escapeRegExp(this.lineCommentStart),f=this.lineCommentStart),m=new RegExp("^(\\s*)(?:"+m+") ?"),c=t.getUseSoftTabs(),y=function(e,t){var n=e.match(m);if(n){var r=n[1].length,o=n[0].length;d(e,r,o)||" "!=n[0][o-1]||o--,i.removeInLine(t,r,o)}};var h=f+" ",d=(v=function(e,t){o&&!/\S/.test(e)||(d(e,l,l)?i.insertInLine({row:t,column:l},h):i.insertInLine({row:t,column:l},f))},_=function(e,t){return m.test(e)},function(e,t,n){for(var r=0;t--&&" "==e.charAt(t);)r++;if(r%u!=0)return!1;for(r=0;" "==e.charAt(n++);)r++;return u>2?r%u!=u-1:r%u==0})}else{if(!this.blockComment)return!1;var f=this.blockComment.start,p=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+a.escapeRegExp(f)+")"),g=new RegExp("(?:"+a.escapeRegExp(p)+")\\s*$"),v=function(e,t){_(e,t)||o&&!/\S/.test(e)||(i.insertInLine({row:t,column:e.length},p),i.insertInLine({row:t,column:l},f))},y=function(e,t){var n;(n=e.match(g))&&i.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(m))&&i.removeInLine(t,n[1].length,n[0].length)},_=function(e,n){if(m.test(e))return!0;for(var r=t.getTokens(n),i=0;ie.length&&(w=e.length)}),l==1/0&&(l=w,o=!1,s=!1),c&&l%u!=0&&(l=Math.floor(l/u)*u),b(s?y:v)},this.toggleBlockComment=function(e,t,n,r){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var o,s,a=(m=new l(t,r.row,r.column)).getCurrentToken(),c=t.selection.toOrientedRange();if(a&&/comment/.test(a.type)){for(var h,d;a&&/comment/.test(a.type);){if(-1!=(g=a.value.indexOf(i.start))){var f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g;h=new u(f,p,f,p+i.start.length);break}a=m.stepBackward()}var m;for(a=(m=new l(t,r.row,r.column)).getCurrentToken();a&&/comment/.test(a.type);){var g;if(-1!=(g=a.value.indexOf(i.end))){f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g,d=new u(f,p,f,p+i.end.length);break}a=m.stepForward()}d&&t.remove(d),h&&(t.remove(h),o=h.start.row,s=-i.start.length)}else s=i.start.length,o=n.start.row,t.insert(n.end,i.end),t.insert(n.start,i.start);c.start.row==o&&(c.start.column+=s),c.end.row==o&&(c.end.column+=s),t.selection.fromOrientedRange(c)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var n=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;tthis.row)){var n=function(t,n,r){var i="insert"==t.action,o=(i?1:-1)*(t.end.row-t.start.row),s=(i?1:-1)*(t.end.column-t.start.column),a=t.start,l=i?a:t.end;return e(n,a,r)?{row:n.row,column:n.column}:e(l,n,!r)?{row:n.row+o,column:n.column+(n.row==l.row?s:0)}:{row:a.row,column:a.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(o.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=e("./anchor").Anchor,l=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new s(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new a(this,e,t)},this.$split=0==="aaa".split(/a/).length?function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return null==t&&(t=r.length),{row:e,column:t=Math.min(Math.max(t,0),r.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,r=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof s||(e=s.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!s.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4&&this.$splitAndapplyLargeDelta(e,2e4),i(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,r=n.length,i=e.start.row,o=e.start.column,s=0,a=0;;){var l=n.slice(s=a,a+=t-1);if(a>r){e.lines=l,e.start.row=i+s,e.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(i+s,o),end:this.pos(i+a,o=0),action:e.action,lines:l},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=t||0,o=n.length;i20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==r&&(r=t),o<=r&&n.fireUpdateEvent(o,r)}}};(function(){r.implement(this,i),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){this._signal("update",{data:{first:e,last:t}})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.tokenizer.getLineTokens(t,this.states[e-1],e);return this.states[e]+""!=n.state+""?(this.states[e]=n.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=n.tokens}}).call(o.prototype),t.BackgroundTokenizer=o}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){"use strict";var r=e("./lib/lang"),i=(e("./lib/oop"),e("./range").Range),o=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,o){if(this.regExp)for(var s=o.lastRow,a=o.firstRow;a<=s;a++){var l=this.cache[a];null==l&&((l=r.getMatchOffsets(n.getLine(a),this.regExp)).length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map(function(e){return new i(a,e.offset,a,e.offset+e.length)}),this.cache[a]=l.length?l:"");for(var u=l.length;u--;)t.drawSingleLineMarker(e,l[u].toScreenRange(n),this.clazz,o)}}}).call(o.prototype),t.SearchHighlight=o}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range;function i(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(e){e.setFoldLine(this)},this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach(function(t){t.start.row+=e,t.end.row+=e})},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort(function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)}),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r,i,o=0,s=this.folds,a=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l0)){var l=r(e,s.start);return 0===a?t&&0!==l?-o-2:o:l>0||0===l&&!t?o:-o-1}}return-o-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],n=this.ranges,i=(n=n.sort(function(e,t){return r(e.start,t.start)}))[0],o=1;o=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.rowr)break;if(u.start.row==r&&u.start.column>=t.column&&(u.start.column==t.column&&this.$insertRight||(u.start.column+=o,u.start.row+=i)),u.end.row==r&&u.end.column>=t.column){if(u.end.column==t.column&&this.$insertRight)continue;u.end.column==t.column&&o>0&&au.start.column&&u.end.column==s[a+1].start.column&&(u.end.column-=o),u.end.column+=o,u.end.row+=i}}if(0!=i&&a=e)return i;if(i.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r=e)return i}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,i=0;i=t){a=e?r-=t-a:r=0);break}s>=e&&(r-=a>=e?s-a:s-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort(function(e,t){return e.start.row-t.start.row}),e},this.addFold=function(e,t){var n,r=this.$foldData,s=!1;e instanceof o?n=e:(n=new o(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,u=n.end.row,c=n.end.column;if(!(a0&&(this.removeFolds(f),f.forEach(function(e){n.addSubFold(e)}));for(var p=0;p0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach(function(e){this.expandFold(e)},this)},this.unfold=function(e,t){var n,i;if(null==e?(n=new r(0,0,this.getLength(),0),t=!0):n="number"==typeof e?new r(e,0,e,this.getLine(e).length):"row"in e?r.fromPoints(e,e):e,i=this.getFoldsInRangeList(n),t)this.removeFolds(i);else for(var o=i;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(i.length)return i},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,i){null==r&&(r=e.start.row),null==i&&(i=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var o=this.doc,s="";return e.walk(function(e,t,n,a){if(!(tc)break}while(o&&l.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return u.end.row=i.getCurrentTokenRow(),u.end.column=i.getCurrentTokenColumn()+o.value.length-2,u}},this.foldAll=function(e,t,n){null==n&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength();for(var i=e=e||0;i=e){i=o.end.row;try{var s=this.addFold("...",o);s&&(s.collapseChildren=n)}catch(a){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=e){this.$foldStyle=e,"manual"==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){this.$foldMode!=e&&(this.$foldMode=e,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),e&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)):this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var r,i=e-1;i>=0;){var o=n[i];if(null==o&&(o=n[i]=this.getFoldWidget(i)),"start"==o){var s=this.getFoldWidgetRange(i);if(r||(r=s),s&&s.end.row>=e)break}i--}return{range:-1!==i&&s,firstRange:r}},this.onFoldWidgetClick=function(e,t){if(!this.$toggleFoldWidget(e,{children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey})){var n=t.target||t.srcElement;n&&/ace_fold-widget/.test(n.className)&&(n.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),i="end"===n?-1:1,o=this.getFoldAt(e,-1===i?0:r.length,i);if(o)return t.children||t.all?this.removeFold(o):this.expandFold(o),o;var s=this.getFoldWidgetRange(e,!0);if(s&&!s.isMultiLine()&&(o=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(o.range))return this.removeFold(o),o;if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,u=a.range.end.row;this.foldAll(l,u,t.all?1e4:0)}else t.children?(u=s?s.end.row:this.getLength(),this.foldAll(e+1,u,t.all?1e4:0)):s&&(t.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var r=this.getParentFoldRangeData(t,!0);if(n=r.range||r.firstRange){var i=this.getFoldAt(t=n.start.row,this.getLine(t).length,1);i?this.removeFold(i):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(e,t,n){"use strict";var r=e("../token_iterator").TokenIterator,i=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),r=!0,o=n.charAt(e.column-1),s=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(s||(o=n.charAt(e.column),e={row:e.row,column:e.column+1},s=o&&o.match(/([\(\[\{])|([\)\]\}])/),r=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=i.fromPoints(e,a),r||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],e)))return null;t=i.fromPoints(a,e),r||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,n){var i=this.$brackets[e],o=1,s=new r(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-s.getCurrentTokenColumn()-2,u=a.value;;){for(;l>=0;){var c=u.charAt(l);if(c==i){if(0==(o-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else c==e&&(o+=1);l-=1}do{a=s.stepBackward()}while(a&&!n.test(a.type));if(null==a)break;l=(u=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var i=this.$brackets[e],o=1,s=new r(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-s.getCurrentTokenColumn();;){for(var u=a.value,c=u.length;ln&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var i=n+r>>1,o=e[i];if(t>o)n=i+1;else{if(!(t=t);o++);return(n=r[o])?(n.index=o,n.start=i-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=i.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?i.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe)),r)var i=this.tokenRe;else i=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var o=t;if(o>0){do{o--}while(o>=0&&n.charAt(o).match(i));o++}for(var s=t;se&&(e=t.screenWidth)}),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,i=0,o=this.$foldData[i],s=o?o.start.row:1/0,a=t.length,l=0;ls){if((l=o.end.row+1)>=a)break;s=(o=this.$foldData[i++])?o.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>r&&(r=n[l])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=e.length-1;-1!=r;r--){var i=e[r];"doc"==i.group?(this.doc.revertDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!0,n)):i.deltas.forEach(function(e){this.addFolds(e.folds)},this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=0;re.end.column&&(o.start.column+=u),o.end.row==e.end.row&&o.end.column>e.end.column&&(o.end.column+=u)),l&&o.start.row>=e.end.row&&(o.start.row+=l,o.end.row+=l)),o.end=this.insert(o.start,r),i.length){var s=e.start,a=o.start,l=a.row-s.row,u=a.column-s.column;this.addFolds(i.map(function(e){return(e=e.clone()).start.row==s.row&&(e.start.column+=u),e.end.row==s.row&&(e.end.column+=u),e.start.row+=l,e.end.row+=l,e}))}return o},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new c(0,0,0,0),r=this.getTabSize(),i=t.start.row;i<=t.end.row;++i){var o=this.getLine(i);n.start.row=i,n.end.row=i;for(var s=0;s0){var i;if((i=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;r=i-t}else e=this.$clipRowToDocument(e),r=(t=this.$clipRowToDocument(t))-e+1;var o=new c(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(o).map(function(e){return(e=e.clone()).start.row+=r,e.end.row+=r,e}),a=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+r,a),s.length&&this.addFolds(s),r},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,r=e.start,i=e.end,o=r.row,s=i.row,a=s-o,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(o,a);var u=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var c=0;if(m=this.getFoldLine(i.row)){m.addRemoveChars(i.row,i.column,r.column-i.column),m.shiftRow(-a);var h=this.getFoldLine(o);h&&h!==m&&(h.merge(m),m=h),c=u.indexOf(m)+1}for(;c=i.row&&m.shiftRow(-a);s=o}else{var d=Array(a);d.unshift(o,0);var f=t?this.$wrapData:this.$rowLengthCache;if(f.splice.apply(f,d),u=this.$foldData,c=0,m=this.getFoldLine(o)){var p=m.range.compareInside(r.row,r.column);0==p?(m=m.split(r.row,r.column))&&(m.shiftRow(a),m.addRemoveChars(s,0,i.column-r.column)):-1==p&&(m.addRemoveChars(o,0,i.column-r.column),m.shiftRow(a)),c=u.indexOf(m)+1}for(;c=o&&m.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a),(m=this.getFoldLine(o))&&m.addRemoveChars(o,r.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(o,s):this.$updateRowLengthCache(o,s),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(n,r){var i,o,s=this.doc.getAllLines(),a=this.getTabSize(),l=this.$wrapData,u=this.$wrapLimit,c=n;for(r=Math.min(r,s.length-1);c<=r;)(o=this.getFoldLine(c,o))?(i=[],o.walk((function(n,r,o,a){var l;if(null!=n){(l=this.$getDisplayTokens(n,i.length))[0]=e;for(var u=1;u=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(r,i,s){if(0==r.length)return[];var a=[],u=r.length,c=0,h=0,d=this.$wrapAsCode,f=this.$indentedSoftWrap,p=i<=Math.max(2*s,8)||!1===f?0:Math.floor(i/2);function m(e){var t=r.slice(c,e),i=t.length;t.join("").replace(/12/g,function(){i-=1}).replace(/2/g,function(){i-=1}),a.length||(g=function(){var e=0;if(0===p)return e;if(f)for(var t=0;ti-g;){var v=c+i-g;if(r[v-1]>=n&&r[v]>=n)m(v);else if(r[v]!=e&&r[v]!=t){for(var y=Math.max(v-(i-(i>>2)),c-1);v>y&&r[v]y&&r[v]y&&9==r[v];)v--}else for(;v>y&&r[v]y?m(++v):(2==r[v=c+i]&&v--,m(v-g))}else{for(;v!=c-1&&r[v]!=e;v--);if(v>c){m(v);continue}for(v=c+i;v39&&a<48||a>57&&a<64?i.push(9):a>=4352&&h(a)?i.push(1,2):i.push(1)}return i},this.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var r,i;for(null==t&&(t=1/0),n=n||0,i=0;i=4352&&h(r)?n+=2:n+=1,!(n>t));i++);return[n,i]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]=0){a=u[c],o=this.$docRowCache[c];var d=e>u[h-1]}else d=!h;for(var f=this.getLength()-1,p=this.getNextFoldLine(o),m=p?p.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(o))>e||o>=f);)a+=l,++o>m&&(m=(p=this.getNextFoldLine(o=p.end.row+1,p))?p.start.row:1/0),d&&(this.$docRowCache.push(o),this.$screenRowCache.push(a));if(p&&p.start.row<=o)r=this.getFoldDisplayLine(p),o=p.start.row;else{if(a+l<=e||o>f)return{row:f,column:this.getLine(f).length};r=this.getLine(o),p=null}var g=0,v=Math.floor(e-a);if(this.$useWrapMode){var y=this.$wrapData[o];y&&(i=y[v],v>0&&y.length&&(g=y.indent,r=r.substring(s=y[v-1]||y[y.length-1])))}return void 0!==n&&this.$bidiHandler.isBidiRow(a+v,o,v)&&(t=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(r,t-g)[1],this.$useWrapMode&&s>=i&&(s=i-1),p?p.idxToPosition(s):{row:o,column:s}},this.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);var r,i=0,o=null;(r=this.getFoldAt(e=n.row,t=n.column,1))&&(e=r.start.row,t=r.start.column);var s,a=0,l=this.$docRowCache,u=this.$getRowCacheIndex(l,e),c=l.length;if(c&&u>=0){a=l[u],i=this.$screenRowCache[u];var h=e>l[c-1]}else h=!c;for(var d=this.getNextFoldLine(a),f=d?d.start.row:1/0;a=f){if((s=d.end.row+1)>e)break;f=(d=this.getNextFoldLine(s,d))?d.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var p="";d&&a>=f?(p=this.getFoldDisplayLine(d,e,t),o=d.start.row):(p=this.getLine(e).substring(0,t),o=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[o];if(g){for(var v=0;p.length>=g[v];)i++,v++;p=p.substring(g[v-1]||0,p.length),m=v>0?g.indent:0}}return{row:i,column:m+this.$getStringScreenWidth(p)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,r=0,i=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);ri&&(r=t.end.row+1,i=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;an);o++);return[r,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()},this.isFullWidth=h}).call(p.prototype),e("./edit_session/folding").Folding.call(p.prototype),e("./edit_session/bracket_match").BracketMatch.call(p.prototype),s.defineOptions(p.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=p}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){"use strict";var r=e("./lib/lang"),i=e("./lib/oop"),o=e("./range").Range,s=function(){this.$options={}};(function(){this.set=function(e){return i.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach(function(e,n,i,s){return r=new o(e,n,i,s),!(n==s&&t.start&&t.start.start&&0!=t.skipCurrent&&r.isEqual(t.start)&&(r=null,1))}),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),s=[],a=t.re;if(t.$isMultiLine){var l,u=a.length,c=i.length-u;e:for(var h=a.offset||0;h<=c;h++){for(var d=0;dm||(s.push(l=new o(h,m,h+u-1,g)),u>2&&(h=h+u-2))}}else for(var v=0;vw&&s[d].end.row==n.end.row;)d--;for(s=s.slice(v,d+1),v=0,d=s.length;v=a;n--)if(h(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=l,a=s.row;n>=a;n--)if(h(n,Number.MAX_VALUE,e))return}};else u=function(e){var n=s.row;if(!h(n,s.column,e)){for(n+=1;n<=l;n++)if(h(n,0,e))return;if(0!=t.wrap)for(n=a,l=s.row;n<=l;n++)if(h(n,0,e))return}};if(t.$isMultiLine)var c=n.length,h=function(t,i,o){var s=r?t-c+1:t;if(!(s<0)){var a=e.getLine(s),l=a.search(n[0]);if(!(!r&&li))return!!o(s,l,s+c-1,h)||void 0}}};else h=r?function(t,r,i){var o,s=e.getLine(t),a=[],l=0;for(n.lastIndex=0;o=n.exec(s);){if(l=o.index,!(c=o[0].length)){if(l>=s.length)break;n.lastIndex=l+=1}if(o.index+c>r)break;a.push(o.index,c)}for(var u=a.length-1;u>=0;u-=2){var c,h=a[u-1];if(i(t,h,t,h+(c=a[u])))return!0}}:function(t,r,i){var o,s=e.getLine(t),a=r;for(n.lastIndex=r;o=n.exec(s);){var l=o[0].length;if(i(t,a=o.index,t,a+l))return!0;if(!l&&(n.lastIndex=a+=1,a>=s.length))return!1}};return{forEach:u}}}).call(s.prototype),t.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){"use strict";var r=e("../lib/keys"),i=e("../lib/useragent"),o=r.KEY_MODS;function s(e,t){this.platform=t||(i.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function a(e,t){s.call(this,e,t),this.$singleCommand=!1}a.prototype=s.prototype,(function(){function e(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var i in r){var o=r[i];if(o==e)delete r[i];else if(Array.isArray(o)){var s=o.indexOf(e);-1!=s&&(o.splice(s,1),1==o.length&&(r[i]=o[0]))}}},this.bindKey=function(e,t,n){if("object"==typeof e&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach(function(e){var r="";if(-1!=e.indexOf(" ")){var i=e.split(/\s+/);e=i.pop(),i.forEach(function(e){var t=this.parseKeys(e);this._addCommandToBinding(r+=(r?" ":"")+(o[t.hashId]+t.key),"chainKeys")},this),r+=" "}var s=this.parseKeys(e);this._addCommandToBinding(r+(o[s.hashId]+s.key),t,n)},this)},this._addCommandToBinding=function(t,n,r){var i,o=this.commandKeyBinding;if(n)if(!o[t]||this.$singleCommand)o[t]=n;else{Array.isArray(o[t])?-1!=(i=o[t].indexOf(n))&&o[t].splice(i,1):o[t]=[o[t]],"number"!=typeof r&&(r=e(n));var s=o[t];for(i=0;ir);i++);s.splice(i,0,n)}else delete o[t]},this.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"==typeof n&&(n.name||(n.name=t),this.addCommand(n))}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(e){return e}),n=t.pop(),i=r[n];if(r.FUNCTION_KEYS[i])n=r.FUNCTION_KEYS[i].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var o=0,s=t.length;s--;){var a=r.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;o|=a}return{key:n,hashId:o}},this.findKeyCommand=function(e,t){return this.commandKeyBinding[o[e]+t]},this.handleKeyboard=function(e,t,n,r){if(!(r<0)){var i=o[t]+n,s=this.commandKeyBinding[i];return e.$keyChain&&(e.$keyChain+=" "+i,s=this.commandKeyBinding[e.$keyChain]||s),!s||"chainKeys"!=s&&"chainKeys"!=s[s.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||r>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-i.length-1)),{command:s}):(e.$keyChain=e.$keyChain||i,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}).call(s.prototype),t.HashHandler=s,t.MultiHashHandler=a}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../keyboard/hash_handler").MultiHashHandler,o=e("../lib/event_emitter").EventEmitter,s=function(e,t){i.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",function(e){return e.command.exec(e.editor,e.args||{})})};r.inherits(s,i),(function(){r.implement(this,o),this.exec=function(e,t,n){if(Array.isArray(e)){for(var r=e.length;r--;)if(this.exec(e[r],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(e.isAvailable&&!e.isAvailable(t))return!1;var i={editor:t,command:e,args:n};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=(function(e){this.macro.push([e.command,e.args])}).bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach(function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map(function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e})}}).call(s.prototype),t.CommandManager=s}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(e,t,n){"use strict";var r=e("../lib/lang"),i=e("../config"),o=e("../range").Range;function s(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",bindKey:s("Ctrl-,","Command-,"),exec:function(e){i.loadModule("ace/ext/settings_menu",function(t){t.init(e),e.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",bindKey:s("Alt-E","F4"),exec:function(e){i.loadModule("ace/ext/error_marker",function(t){t.showErrorMarker(e,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(e){i.loadModule("ace/ext/error_marker",function(t){t.showErrorMarker(e,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:s("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:s(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:s("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:s("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:s("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:s("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:s("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:s("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:s("Ctrl-F","Command-F"),exec:function(e){i.loadModule("ace/ext/searchbox",function(t){t.Search(e)})},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:s("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:s("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:s("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:s("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:s("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:s("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:s("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:s(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:s(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:s("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:s("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:s("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:s("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(e){},readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",bindKey:s("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:s("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(e){i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!0)})}},{name:"undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:s("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:s("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:s("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:s("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(e,t){e.insert(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:s(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:s(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),i=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),s=e.session.doc.getLine(n.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),u=n.row+1;u<=i.row+1;u++){var c=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(u)));0!==c.length&&(c=" "+c),l+=c}i.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+a)):(s=e.session.doc.getLine(n.row).length>s?s+1:s,e.selection.moveCursorTo(n.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:s(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,i=[];r.length<1&&(r=[e.selection.getRange()]);for(var s=0;s0&&this.$blockScrolling--;var n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var r=this.selection.getRange(),i=this.renderer.layerConfig;(r.start.row>=i.lastRow||r.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,r=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var i=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],function(r){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(r&&r.handler),t&&t()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||i.computedStyle(this.container,"fontSize")},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout(function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=t.findMatchingBracket(e.getCursorPosition());if(n)var r=new f(n.row,n.column,n.row,n.column+1);else t.$mode.getMatching&&(r=t.$mode.getMatching(e.session));r&&(t.$bracketHighlight=t.addMarker(r,"ace_bracket","text"))}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout(function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),r=new y(e.session,n.row,n.column),i=r.getCurrentToken();if(!i||!/\b(?:tag-open|tag-name)/.test(i.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1==i.type.indexOf("tag-open")||(i=r.stepForward())){var o=i.value,s=0,a=r.stepBackward();if("<"==a.value)do{a=i,(i=r.stepForward())&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===a.value?s++:"=0);else{do{i=a,a=r.stepBackward(),i&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===a.value?s++:"1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new f(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",r)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column-1,r=t.end.column+1,i=e.getLine(t.start.row),o=i.length,s=i.substring(Math.max(n,0),Math.min(r,o));if(!(n>=0&&/^[\w\d]/.test(s)||r<=o&&/[\w\d]$/.test(s))&&(s=i.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(s)))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:s})}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal("copy",e),e},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(e,t){this.commands.exec("paste",this,{text:e,event:t})},this.$handlePaste=function(e){"string"==typeof e&&(e={text:e}),this._signal("paste",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var n=t.split(/\r\n|\r|\n/),r=this.selection.rangeList.ranges;if(n.length>r.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,t);for(var i=r.length;i--;){var o=r[i];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,n[i])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,r=n.getMode(),i=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var o=r.transformAction(n.getState(i.row),"insertion",this,n,e);o&&(e!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=o.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty())this.session.getOverwrite()&&-1==e.indexOf("\n")&&((s=new f.fromPoints(i,i)).end.column+=e.length,this.session.remove(s));else{var s=this.getSelectionRange();i=this.session.remove(s),this.clearSelection()}if("\n"==e||"\r\n"==e){var a=n.getLine(i.row);if(i.column>a.search(/\S|$/)){var l=a.substr(i.column).search(/\S|$/);n.doc.removeInLine(i.row,i.column,i.column+l)}}this.clearSelection();var u=i.column,c=n.getState(i.row),h=(a=n.getLine(i.row),r.checkOutdent(c,a,e));if(n.insert(i,e),o&&o.selection&&this.selection.setSelectionRange(2==o.selection.length?new f(i.row,u+o.selection[0],i.row,u+o.selection[1]):new f(i.row+o.selection[0],o.selection[1],i.row+o.selection[2],o.selection[3])),n.getDocument().isNewLine(e)){var d=r.getNextLineIndent(c,a.slice(0,i.column),n.getTabString());n.insert({row:i.row+1,column:0},d)}h&&r.autoOutdent(c,n,i.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,n){this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),i=n.getMode().transformAction(r,"deletion",this,n,t);if(0===t.end.column){var o=n.getTextRange(t);if("\n"==o[o.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}i&&(t=i)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,r,i=this.session.getLine(e.row);tt.toLowerCase()?1:0});var i=new f(0,0,0,0);for(r=e.first;r<=e.last;r++){var o=t.getLine(r);i.start.row=r,i.end.row=r,i.end.column=o.length,t.replace(i,n[r-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex=t)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new f(t,n-1,t,n),i=this.session.getTextRange(r);if(!isNaN(parseFloat(i))&&isFinite(i)){var o=this.getNumberAt(t,n);if(o){var s=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-s,l=parseFloat(o.value);l*=Math.pow(10,a),l+=e*=s!==o.end&&nf+1)break;f=p.last}for(c--,a=this.session.$moveLines(d,f,t?0:e),t&&-1==e&&(h=c+1);h<=c;)s[h].moveBy(a,0),h++;t||(a=0),l+=a}i.fromOrientedRange(i.ranges[0]),i.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,i=e*Math.floor(r.height/r.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection(function(){this.moveCursorBy(i,0)}):!1===t&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection()),this.$blockScrolling--;var o=n.scrollTop;n.scrollBy(0,i*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new y(this.session,n.row,n.column),i=r.getCurrentToken(),o=i||r.stepForward();if(o){var s,a,l=!1,u={},c=n.column-o.start,h={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;c=0;--o)this.$tryReplace(n[o],e)&&r++;return this.selection.setSelectionRange(i),this.$blockScrolling-=1,r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&r.mixin(t,e);var i=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(i)||this.$search.$options.needle)||(i=this.session.getWordRange(i.start.row,i.start.column),e=this.session.getTextRange(i)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:i});var o=this.$search.find(this.session);return t.preventScroll?o:o?(this.revealRange(o,n),o):(t.backwards?i.start=i.end:i.end=i.start,void this.selection.setRange(i))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var o=this.on("changeSelection",function(){r=!0}),s=this.renderer.on("beforeRender",function(){r&&(t=n.renderer.container.getBoundingClientRect())}),a=this.renderer.on("afterRender",function(){if(r&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,o=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=o.top-s.offset;null!=(r=o.top>=0&&a+t.top<0||!(o.topwindow.innerHeight)&&null)&&(i.style.top=a+"px",i.style.left=o.left+"px",i.style.height=s.lineHeight+"px",i.scrollIntoView(r)),r=t=null}});this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,i.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}).call(_.prototype),v.defineOptions(_.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),t.Editor=_}),ace.define("ace/undomanager",["require","exports","module"],function(e,t,n){"use strict";var r=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=new Array(e.length),r=0;r0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(t){return n(t,e)},this.$deserializeDeltas=function(e){return n(e,t)}}).call(r.prototype),t.UndoManager=r}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/oop"),o=e("../lib/lang"),s=e("../lib/event_emitter").EventEmitter,a=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){i.implement(this,s),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;ts&&(s=(o=t.getNextFoldLine(m=o.end.row+1,o))?o.start.row:1/0),m>i){for(;this.$cells.length>p+1;)f=this.$cells.pop(),this.element.removeChild(f.element);break}(f=this.$cells[++p])||((f={element:null,textNode:null,foldWidget:null}).element=r.createElement("div"),f.textNode=document.createTextNode(""),f.element.appendChild(f.textNode),this.element.appendChild(f.element),this.$cells[p]=f);var g,v="ace_gutter-cell ";if(l[m]&&(v+=l[m]),u[m]&&(v+=u[m]),this.$annotations[m]&&(v+=this.$annotations[m].className),f.element.className!=v&&(f.element.className=v),(g=t.getRowLength(m)*e.lineHeight+"px")!=f.element.style.height&&(f.element.style.height=g),a){var y=a[m];null==y&&(y=a[m]=t.getFoldWidget(m))}y?(f.foldWidget||(f.foldWidget=r.createElement("span"),f.element.appendChild(f.foldWidget)),v="ace_fold-widget ace_"+y,f.foldWidget.className!=(v+="start"==y&&m==s&&mn.right-t.right?"foldWidgets":void 0}}).call(a.prototype),t.Gutter=a}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(e,t,n){"use strict";var r=e("../range").Range,i=e("../lib/dom"),o=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e){this.config=e;var t=[];for(var n in this.markers){var r=this.markers[n];if(r.range){var i=r.range.clipRows(e.firstRow,e.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),r.renderer){var o=this.$getTop(i.start.row,e),s=this.$padding+(this.session.$bidiHandler.isBidiRow(i.start.row)?this.session.$bidiHandler.getPosLeft(i.start.column):i.start.column*e.characterWidth);r.renderer(t,i,s,o,e)}else"fullLine"==r.type?this.drawFullLineMarker(t,i,r.clazz,e):"screenLine"==r.type?this.drawScreenLineMarker(t,i,r.clazz,e):i.isMultiLine()?"text"==r.type?this.drawTextMarker(t,i,r.clazz,e):this.drawMultiLineMarker(t,i,r.clazz,e):this.session.$bidiHandler.isBidiRow(i.start.row)?this.drawBidiSingleLineMarker(t,i,r.clazz+" ace_start ace_br15",e):this.drawSingleLineMarker(t,i,r.clazz+" ace_start ace_br15",e)}else r.update(t,this,this.session,e)}this.element.innerHTML=t.join("")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,n,i,o){for(var s=this.session,a=t.start.row,l=t.end.row,u=a,c=0,h=0,d=s.getScreenLastRowColumn(u),f=null,p=new r(u,t.start.column,u,h);u<=l;u++)p.start.row=p.end.row=u,p.start.column=u==a?t.start.column:s.getRowWrapIndent(u),p.end.column=d,c=h,h=d,d=u+1d?4:0)|(u==l?8:0)),this.session.$bidiHandler.isBidiRow(u)?this.drawBidiSingleLineMarker(e,p,f,i,u==l?0:1,o):this.drawSingleLineMarker(e,p,f,i,u==l?0:1,o)},this.drawMultiLineMarker=function(e,t,n,r,i){var o,s,a=this.$padding;if(i=i||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((l=t.clone()).end.row=l.start.row,l.end.column=this.session.getLine(l.start.row).length,this.drawBidiSingleLineMarker(e,l,n+" ace_br1 ace_start",r,null,i)):(o=r.lineHeight,s=this.$getTop(t.start.row,r),e.push("
    ")),this.session.$bidiHandler.isBidiRow(t.end.row)){var l;(l=t.clone()).start.row=l.end.row,l.start.column=0,this.drawBidiSingleLineMarker(e,l,n+" ace_br12",r,null,i)}else{var u=t.end.column*r.characterWidth;o=r.lineHeight,s=this.$getTop(t.end.row,r),e.push("
    ")}if(!((o=(t.end.row-t.start.row-1)*r.lineHeight)<=0)){s=this.$getTop(t.start.row+1,r);var c=(t.start.column?1:0)|(t.end.column?0:8);e.push("
    ")}},this.drawSingleLineMarker=function(e,t,n,r,i,o){var s=r.lineHeight,a=(t.end.column+(i||0)-t.start.column)*r.characterWidth,l=this.$getTop(t.start.row,r);e.push("
    ")},this.drawBidiSingleLineMarker=function(e,t,n,r,i,o){var s=r.lineHeight,a=this.$getTop(t.start.row,r),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach(function(t){e.push("
    ")})},this.drawFullLineMarker=function(e,t,n,r,i){var o=this.$getTop(t.start.row,r),s=r.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,r)-o),e.push("
    ")},this.drawScreenLineMarker=function(e,t,n,r,i){var o=this.$getTop(t.start.row,r);e.push("
    ")}}).call(o.prototype),t.Marker=o}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/dom"),o=e("../lib/lang"),s=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter),a=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){r.implement(this,s),this.EOF_CHAR="\xb6",this.EOL_CHAR_LF="\xac",this.EOL_CHAR_CRLF="\xa4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xb7",this.$padding=0,this.$updateEolChar=function(){var e="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",(function(e){this._signal("changeCharacterSize",e)}).bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n"+o.stringRepeat(this.TAB_CHAR,n)+"":o.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var r="ace_indent-guide",i="",s="";if(this.showInvisibles){r+=" ace_invisible",i=" ace_invisible_space",s=" ace_invisible_tab";var a=o.stringRepeat(this.SPACE_CHAR,this.tabSize),l=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else l=a=o.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]=""+a+"",this.$tabStrings["\t"]=""+l+""}},this.updateLines=function(e,t,n){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var r=Math.max(t,e.firstRow),i=Math.min(n,e.lastRow),o=this.element.childNodes,s=0,a=e.firstRow;au&&(u=(l=this.session.getNextFoldLine(a=l.end.row+1,l))?l.start.row:1/0),!(a>i);){var c=o[s++];if(c){var h=[];this.$renderLine(h,a,!this.$useLineGroups(),a==u&&l),c.style.height=e.lineHeight*this.session.getRowLength(a)+"px",c.innerHTML=h.join("")}a++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow0;r--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)n.removeChild(n.lastChild);if(e.firstRowt.lastRow&&(i=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow),n.appendChild(i))},this.$renderLinesFragment=function(e,t,n){for(var r=this.element.ownerDocument.createDocumentFragment(),o=t,s=this.session.getNextFoldLine(o),a=s?s.start.row:1/0;o>a&&(a=(s=this.session.getNextFoldLine(o=s.end.row+1,s))?s.start.row:1/0),!(o>n);){var l=i.createElement("div"),u=[];if(this.$renderLine(u,o,!1,o==a&&s),l.innerHTML=u.join(""),this.$useLineGroups())l.className="ace_line_group",r.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(o)+"px";else for(;l.firstChild;)r.appendChild(l.firstChild);o++}return r},this.update=function(e){this.config=e;for(var t=[],n=e.lastRow,r=e.firstRow,i=this.session.getNextFoldLine(r),o=i?i.start.row:1/0;r>o&&(o=(i=this.session.getNextFoldLine(r=i.end.row+1,i))?i.start.row:1/0),!(r>n);)this.$useLineGroups()&&t.push("
    "),this.$renderLine(t,r,!1,r==o&&i),this.$useLineGroups()&&t.push("
    "),r++;this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){var i=this,s=r.replace(/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,function(e,n,r,s,a){if(n)return i.showInvisibles?""+o.stringRepeat(i.SPACE_CHAR,e.length)+"":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){var l=i.session.getScreenTabSize(t+s);return t+=l-1,i.$tabStrings[l]}return"\u3000"==e?(t+=1,""+(i.showInvisibles?i.SPACE_CHAR:"")+""):r?""+i.SPACE_CHAR+"":(t+=1,""+e+"")});if(this.$textToken[n.type])e.push(s);else{var a="ace_"+n.type.replace(/\./g," ace_"),l="";"fold"==n.type&&(l=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),e.push("",s,"")}return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);return r<=0||r>=n?t:" "==t[0]?(e.push(o.stringRepeat(this.$tabStrings[" "],(r-=r%this.tabSize)/this.tabSize)),t.substr(r)):"\t"==t[0]?(e.push(o.stringRepeat(this.$tabStrings["\t"],r)),t.substr(r)):t},this.$renderWrappedLine=function(e,t,n,r){for(var i=0,s=0,a=n[0],l=0,u=0;u=a;)l=this.$renderToken(e,l,c,h.substring(0,a-i)),h=h.substring(a-i),i=a,r||e.push("

    ","
    "),e.push(o.stringRepeat("\xa0",n.indent)),l=0,a=n[++s]||Number.MAX_VALUE;0!=h.length&&(i+=h.length,l=this.$renderToken(e,l,c,h))}}},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],i=r.value;this.displayIndentGuides&&(i=this.renderIndentGuide(e,i)),i&&(n=this.$renderToken(e,n,r,i));for(var o=1;o"),i.length){var o=this.session.getRowSplitData(t);o&&o.length?this.$renderWrappedLine(e,i,o,n):this.$renderSimpleLine(e,i)}this.showInvisibles&&(r&&(t=r.end.row),e.push("",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"")),n||e.push("
    ")},this.$getFoldLineTokens=function(e,t){var n=this.session,r=[],i=n.getTokens(e);return t.walk(function(e,t,o,s,a){null!=e?r.push({type:"fold",value:e}):(a&&(i=n.getTokens(t)),i.length&&function(e,t,n){for(var i=0,o=0;o+e[i].value.lengthn-t&&(s=s.substring(0,n-t)),r.push({type:e[i].type,value:s}),o=t+s.length,i+=1);on?{type:e[i].type,value:s.substring(0,n-o)}:e[i]),o+=s.length,i+=1}}(i,s,o))},t.end.row,this.session.getLine(t.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(a.prototype),t.Text=a}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";var r,i=e("../lib/dom"),o=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===r&&(r=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),i.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(r?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?"":"hidden"},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?"":"0"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||r||(this.smoothBlinking=e,i.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=i.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,i.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,i.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&i.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout((function(){i.addCssClass(this.element,"ace_smooth-blinking")}).bind(this));var t=(function(){this.timeoutId=setTimeout(function(){e(!1)},.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval(function(){e(!0),t()},this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,r=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]),n=0;for(var i=t.length;ne.height+e.offset||o.top<0)&&n>1)){var s=(this.cursors[r++]||this.addCursor()).style;this.drawCursor?this.drawCursor(s,o,e,t[n],this.session):(s.left=o.left+"px",s.top=o.top+"px",s.width=e.characterWidth+"px",s.height=e.lineHeight+"px")}}for(;this.cursors.length>r;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?i.addCssClass(this.element,"ace_overwrite-cursors"):i.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/dom"),o=e("./lib/event"),s=e("./lib/event_emitter").EventEmitter,a=function(e){this.element=i.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){r.implement(this,s),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(a.prototype);var l=function(e,t){a.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=i.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};r.inherits(l,a),(function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>32768?(this.coeff=32768/e,e=32768):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}).call(l.prototype);var u=function(e,t){a.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};r.inherits(u,a),(function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}).call(u.prototype),t.ScrollBar=l,t.ScrollBarV=l,t.ScrollBarH=u,t.VScrollBar=l,t.HScrollBar=u}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(e,t,n){"use strict";var r=e("./lib/event"),i=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;r.nextFrame(function(){var e;for(t.pending=!1;e=t.changes;)t.changes=0,t.onRender(e)},this.window)}}}).call(i.prototype),t.RenderLoop=i}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){var r=e("../lib/oop"),i=e("../lib/dom"),o=e("../lib/lang"),s=e("../lib/useragent"),a=e("../lib/event_emitter").EventEmitter,l=0,u=t.FontMetrics=function(e){this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){r.implement(this,a),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=i.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;l=t>0&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",s.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval(function(){e.checkForSizeChanges()},500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(n){e={width:0,height:0}}var t={height:e.height,width:e.width/l}}else t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.innerHTML=o.stringRepeat(e,l),this.$main.getBoundingClientRect().width/l},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(u.prototype)}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/dom"),o=e("./config"),s=e("./lib/useragent"),a=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,u=e("./layer/text").Text,c=e("./layer/cursor").Cursor,h=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,f=e("./renderloop").RenderLoop,p=e("./layer/font_metrics").FontMetrics,m=e("./lib/event_emitter").EventEmitter;i.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_text-input-ios {position: absolute !important;top: -100000px !important;left: -100000px !important;}',"ace_editor.css");var g=function(e,t){var n=this;this.container=e||i.createElement("div"),this.$keepTextAreaAtCursor=!s.isOldIE,i.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var r=this.$textLayer=new u(this.content);this.canvas=r.element,this.$markerFront=new l(this.content),this.$cursorLayer=new c(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.addEventListener("scroll",function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new p(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,m),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var i=this.container;r||(r=i.clientHeight||i.scrollHeight),n||(n=i.clientWidth||i.scrollWidth);var o=this.$updateCachedSize(e,t,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,r){var i=0,o=this.$size,s={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return(r-=this.$extraHeight||0)&&(e||o.height!=r)&&(o.height=r,i|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",i|=this.CHANGE_SCROLL),n&&(e||o.width!=n)&&(i|=this.CHANGE_SIZE,o.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",o.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(i|=this.CHANGE_FULL)),o.$dirty=!n||!r,i&&this._signal("resize",s),i},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(e,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,e=this.$cursorLayer.getPixelPosition(n,!0),t*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=i.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left,r=this.textarea.style,i=this.lineHeight;if((t-=e.offset)<0||t>e.height-i)r.top=r.left="0";else{var o=this.characterWidth;if(this.$composition){var s=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(s)[0]+2,i+=2}(n-=this.scrollLeft)>this.$size.scrollerWidth-o&&(n=this.$size.scrollerWidth-o),n+=this.gutterWidth,r.height=i+"px",r.width=o+"px",r.left=Math.min(n,this.$size.scrollerWidth-o)+"px",r.top=Math.min(t,this.$size.height-i)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var i=this.scrollMargin;i.top=0|e,i.bottom=0|t,i.right=0|r,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(e-=(t-this.lineHeight)*this.$scrollPastEnd)-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender"),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+"px",this.content.style.marginTop=-n.offset+"px",this.content.style.width=n.width+2*this.$padding+"px",this.content.style.height=n.minHeight+"px"}if(e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(e&this.CHANGE_SCROLL)return e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender")}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var i=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),o=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-i-2*this.$padding<0),s=this.$horizScroll!==o;s&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=this.scrollTop%this.lineHeight,u=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=c;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,r-t.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,i+2*this.$padding-t.scrollerWidth+h.right)));var d=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-r+c<0||this.scrollTop>h.top),f=a!==d;f&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var p,m,g=Math.ceil(u/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),y=v+g,_=this.lineHeight;v=e.screenToDocumentRow(v,0);var b=e.getFoldLine(v);b&&(v=b.start.row),p=e.documentToScreenRow(v,0),m=e.getRowLength(v)*_,y=Math.min(e.screenToDocumentRow(y,0),e.getLength()-1),u=t.scrollerHeight+e.getRowLength(y)*_+m,l=this.scrollTop-p*_;var w=0;return this.layerConfig.width!=i&&(w=this.CHANGE_H_SCROLL),(s||f)&&(w=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),f&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:v,firstRowScreen:p,lastRow:y,lineHeight:_,characterWidth:this.characterWidth,minHeight:u,maxHeight:r,offset:l,gutterOffset:_?Math.max(0,Math.ceil((l+t.height-t.scrollerHeight)/_)):0,height:this.$size.scrollerHeight},w},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||to?(t&&l+s>o+this.lineHeight&&(o-=t*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-ai?(i=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=e+this.scrollLeft-n.left-this.$padding,i=r/this.characterWidth,o=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),s=Math.round(i);return{row:o,column:s,side:i-s>0?1:-1,offsetX:r}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=e+this.scrollLeft-n.left-this.$padding,i=Math.round(r/this.characterWidth);return this.session.screenToDocumentPosition((t+this.scrollTop-n.top)/this.lineHeight,Math.max(i,0),r)},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),i=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,e)?this.session.$bidiHandler.getPosLeft(r.column):Math.round(r.column*this.characterWidth));return{pageX:n.left+i-this.scrollLeft,pageY:n.top+r.row*this.lineHeight-this.scrollTop}},this.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(i.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){var n=this;function r(r){if(n.$themeId!=e)return t&&t();if(!r||!r.cssClass)throw new Error("couldn't load module "+e+" or it didn't call define");i.importCssString(r.cssText,r.cssClass,n.container.ownerDocument),n.theme&&i.removeCssClass(n.container,n.theme.cssClass);var o="padding"in r?r.padding:"padding"in(n.theme||{})?4:n.$padding;n.$padding&&o!=n.$padding&&n.setPadding(o),n.$theme=r.cssClass,n.theme=r,i.addCssClass(n.container,r.cssClass),i.setCssClass(n.container,"ace_dark",r.isDark),n.$size&&(n.$size.width=0,n.$updateSizeAsync()),n._dispatchEvent("themeLoaded",{theme:r}),t&&t()}this.$themeId=e,n._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e?r(e):o.loadModule(["theme",e||this.$options.theme.initialValue],r)},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){i.setCssClass(this.container,e,!1!==t)},this.unsetStyle=function(e){i.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(g.prototype),o.defineOptions(g.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=i.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){this.$scrollPastEnd!=(e=+e||0)&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=g}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/net"),o=e("../lib/event_emitter").EventEmitter,s=e("../config");function a(e,t){var n=function(e,t){var n=t.src;i.qualifyURL(e);try{return new Blob([n],{type:"application/javascript"})}catch(o){var r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return r.append(n),r.getBlob("application/javascript")}}(e,t),r=(window.URL||window.webkitURL).createObjectURL(n);return new Worker(r)}var l=function(t,n,r,i,o){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),s.get("packaged")||!e.toUrl)i=i||s.moduleUrl(n.id,"worker");else{var l=this.$normalizePath;i=i||l(e.toUrl("ace/worker/worker.js",null,"_"));var u={};t.forEach(function(t){u[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}this.$worker=a(i,n),o&&this.send("importScripts",o),this.$worker.postMessage({init:!0,tlns:u,module:n.id,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){r.implement(this,o),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return i.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var r=this.callbackId++;this.callbacks[r]=n,t.push(r)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(n){console.error(n.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(e.start,"insert"==e.action?e.lines:e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);var u=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,i=!1,a=Object.create(o),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){l.messageBuffer.push(e),r&&(i?setTimeout(u):u())},this.setEmitSync=function(e){i=e};var u=function(){var e=l.messageBuffer.shift();e.command?r[e.command].apply(r,e.args):e.event&&a._signal(e.event,e.data)};a.postMessage=function(e){l.onMessage({data:e})},a.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},a.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},s.loadModule(["worker",t],function(e){for(r=new e[n](a);l.messageBuffer.length;)u()})};u.prototype=l.prototype,t.UIWorkerClient=u,t.WorkerClient=l,t.createWorker=a}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(e,t,n){"use strict";var r=e("./range").Range,i=e("./lib/event_emitter").EventEmitter,o=e("./lib/oop"),s=function(e,t,n,r,i,o){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=i,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=n;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,i),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=n.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)}),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,o=t.start.column-this.pos.column;if(this.updateAnchors(e),i&&(this.length+=n),i&&!this.session.$fromUndo)if("insert"===e.action)for(var s=this.others.length-1;s>=0;s--)this.doc.insertMergedLines(l={row:(a=this.others[s]).row,column:a.column+o},e.lines);else if("remove"===e.action)for(s=this.others.length-1;s>=0;s--){var a,l;this.doc.remove(new r((l={row:(a=this.others[s]).row,column:a.column+o}).row,l.column,l.row,l.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,i){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),i,null,!1)};n(this.pos,this.mainClass);for(var i=this.others.length;i--;)n(this.others[i],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{n=this.getRange();var r=this.isBackwards(),o=n.start.row,s=n.end.row;if(o==s){if(r)var a=n.end,l=n.start;else a=n.start,l=n.end;return this.addRange(i.fromPoints(l,l)),void this.addRange(i.fromPoints(a,a))}var u=[],c=this.getLineRange(o,!0);c.start.column=n.start.column,u.push(c);for(var h=o+1;h1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.selectionLead),o=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(r,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],o=e.column0;)y--;if(y>0)for(var _=0;r[_].isEmpty();)_++;for(var b=y;b>=_;b--)r[b].isEmpty()&&r.splice(b,1)}return r}}).call(o.prototype);var d=e("./editor").Editor;function f(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",s),e.commands.addCommands(u.defaultCommands),function(e){var t=e.textInput.getElement(),n=!1;function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}a.addListener(t,"keydown",function(t){e.$blockSelectEnabled&&18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey)?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&r()}),a.addListener(t,"keyup",r),a.addListener(t,"blur",r)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var r=e[n];if(r.marker){this.session.removeMarker(r.marker);var i=t.indexOf(r);-1!=i&&t.splice(i,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(u.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(u.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?r=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?r=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});else{var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r,i=1==n||n&&n.$byLines,s=this.session,a=this.selection,l=(n&&n.keepOrder?a:a.rangeList).ranges;if(!l.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var u=a._eventRegistry;a._eventRegistry={};var c=new o(s);this.inVirtualSelectionMode=!0;for(var h=l.length;h--;){if(i)for(;h>0&&l[h].start.row==l[h-1].end.row;)h--;c.fromOrientedRange(l[h]),c.index=h,this.selection=s.selection=c;var d=e.exec?e.exec(this,t||{}):e(this,t||{});r||void 0===d||(r=d),c.toOrientedRange(l[h])}c.detach(),this.selection=s.selection=a,this.inVirtualSelectionMode=!1,a._eventRegistry=u,a.mergeOverlappingRanges();var f=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),f&&f.from==f.to&&this.renderer.animateScrolling(f.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],r=0;rs&&(s=n.column),rc?e.insert(r,l.stringRepeat(" ",o-c)):e.remove(new i(r.row,r.column,r.row,r.column-o+c)),t.start.column=t.end.column=s,t.start.row=t.end.row=r.row,t.cursor=t.end}),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var c=this.selection.getRange(),h=c.start.row,d=c.end.row,f=h==d;if(f){var p,m=this.session.getLength();do{p=this.session.getLine(d)}while(/[=:]/.test(p)&&++d0);h<0&&(h=0),d>=m&&(d=m-1)}var g=this.session.removeFullLines(h,d);g=this.$reAlignText(g,f),this.session.insert({row:h,column:0},g.join("\n")+"\n"),f||(c.start.column=0,c.end.column=g[g.length-1].length),this.selection.setRange(c)}},this.$reAlignText=function(e,t){var n,r,i,o=!0,s=!0;return e.map(function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,r=t[2].length,i=t[3].length,t):(n+r+i!=t[1].length+t[2].length+t[3].length&&(s=!1),n!=t[1].length&&(o=!1),n>t[1].length&&(n=t[1].length),rt[3].length&&(i=t[3].length),t):[e]}).map(t?u:o?s?function(e){return e[2]?a(n+r-e[2].length)+e[2]+a(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:u:function(e){return e[2]?a(n)+e[2]+a(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function a(e){return l.stringRepeat(" ",e)}function u(e){return e[2]?a(n)+e[2]+a(r-e[2].length+i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=f,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){f(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",s)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",s))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../../range").Range,i=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var i=/\S/,o=e.getLine(t),s=o.search(i);if(-1!=s){for(var a=n||o.length,l=e.getLength(),u=t,c=t;++tu){var d=e.getLine(c).length;return new r(u,a,c,d)}}},this.openingBracketBlock=function(e,t,n,i,o){var s={row:n,column:i+1},a=e.$findClosingBracket(t,s,o);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=e.getLine(a.row).length),r.fromPoints(s,a)}},this.closingBracketBlock=function(e,t,n,i,o){var s={row:n,column:i},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,r.fromPoints(a,s)}}).call(i.prototype)}),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");function i(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}e("./range"),(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach(function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)}),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach(function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))})}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var r=e.data,i=r.start.row,o=r.end.row,s="add"==e.action,a=i+1;a0&&!r[i];)i--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=i;s<=o;s++){var a=r[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var u=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(u-=t.scrollLeft),a.el.style.left=u+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.el.style.right=a.fixedWidth?t.scrollBar.getWidth()+"px":""}}}}}).call(i.prototype),t.LineWidgets=i}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(e,t,n){"use strict";var r=e("../line_widgets").LineWidgets,i=e("../lib/dom"),o=e("../range").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new r(n),n.widgetManager.attach(e));var s=e.getCursorPosition(),a=s.row,l=n.widgetManager.getWidgetsAtRow(a).filter(function(e){return"errorMarker"==e.type})[0];l?l.destroy():a-=t;var u,c=function(e,t,n){var r=e.getAnnotations().sort(o.comparePoints);if(r.length){var i=function(e,t,n){for(var r=0,i=e.length-1;r<=i;){var o=r+i>>1,s=n(t,e[o]);if(s>0)r=o+1;else{if(!(s<0))return o;i=o-1}}return-(r+1)}(r,{row:t,column:-1},o.comparePoints);i<0&&(i=-i-1),i>=r.length?i=n>0?0:r.length-1:0===i&&n<0&&(i=r.length-1);var s=r[i];if(s&&n){if(s.row===t){do{s=r[i+=n]}while(s&&s.row===t);if(!s)return r.slice()}var a=[];t=s.row;do{a[n<0?"unshift":"push"](s),s=r[i+=n]}while(s&&s.row==t);return a.length&&a}}}(n,a,t);if(c){var h=c[0];s.column=(h.pos&&"number"!=typeof h.column?h.pos.sc:h.column)||0,s.row=h.row,u=e.renderer.$gutterLayer.$annotations[s.row]}else{if(l)return;u={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(s.row),e.selection.moveToPosition(s);var d={row:s.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},f=d.el.appendChild(i.createElement("div")),p=d.el.appendChild(i.createElement("div"));p.className="error_widget_arrow "+u.className;var m=e.renderer.$cursorLayer.getPixelPosition(s).left;p.style.left=m+e.renderer.gutterWidth-5+"px",d.el.className="error_widget_wrapper",f.className="error_widget "+u.className,f.innerHTML=u.text.join("
    "),f.appendChild(i.createElement("div"));var g=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return d.destroy(),{command:"null"}};d.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(d),e.off("changeSelection",d.destroy),e.off("changeSession",d.destroy),e.off("mouseup",d.destroy),e.off("change",d.destroy))},e.keyBinding.addKeyboardHandler(g),e.on("changeSelection",d.destroy),e.on("changeSession",d.destroy),e.on("mouseup",d.destroy),e.on("change",d.destroy),e.session.widgetManager.addLineWidget(d),d.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:d.el.offsetHeight})},i.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")}),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(e,t,r){"use strict";e("./lib/fixoldbrowsers");var i=e("./lib/dom"),o=e("./lib/event"),s=e("./editor").Editor,a=e("./edit_session").EditSession,l=e("./undomanager").UndoManager,u=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.acequire=e,t.define=n("IU0J"),t.edit=function(e){if("string"==typeof e){var n=e;if(!(e=document.getElementById(n)))throw new Error("ace.edit can't find div #"+n)}if(e&&e.env&&e.env.editor instanceof s)return e.env.editor;var r="";if(e&&/input|textarea/i.test(e.tagName)){var a=e;r=a.value,e=i.createElement("pre"),a.parentNode.replaceChild(e,a)}else e&&(r=i.getInnerText(e),e.innerHTML="");var l=t.createEditSession(r),c=new s(new u(e));c.setSession(l);var h={document:l,editor:c,onResize:c.resize.bind(c,null)};return a&&(h.textarea=a),o.addListener(window,"resize",h.onResize),c.on("destroy",function(){o.removeListener(window,"resize",h.onResize),h.editor.container.env=null}),c.container.env=c.env=h,c},t.createEditSession=function(e,t){var n=new a(e,t);return n.setUndoManager(new l),n},t.EditSession=a,t.UndoManager=l,t.version="1.2.9"}),ace.acequire(["ace/ace"],function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])}),e.exports=window.ace.acequire("ace/ace")},kwr2:function(e,t,n){var r=n("6QIk"),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},"l4+b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("D57K"),i=n("zWgn"),o=n("H4Ux"),s=n("M7nJ");t.ComposeApplicator=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n._config=t,n}return r.__extends(t,e),Object.defineProperty(t.prototype,"post",{get:function(){return!0===this._config.post},enumerable:!0,configurable:!0}),t.prototype.apply=function(e){var t=e.config.execute,n=e.value,r=void 0===n?i:n,o=e.args,a=e.target,l=this;return function(){for(var e=this,n=[],i=0;i1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,i=1;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,m=String.fromCharCode;function g(e){throw new RangeError(f[e])}function v(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var i=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(d,".")).split("."),t).join(".");return r+i}function y(e){for(var t=[],n=0,r=e.length;n=55296&&i<=56319&&n>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return p(r+36*e/(e+38))},w=function(e){var t,n=[],r=e.length,i=0,o=128,s=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var l=0;l=128&&g("not-basic"),n.push(e.charCodeAt(l));for(var c=a>0?a+1:0;c=r&&g("invalid-input");var m=(t=e.charCodeAt(c++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(m>=36||m>p((u-i)/d))&&g("overflow"),i+=m*d;var v=f<=s?1:f>=s+26?26:f-s;if(mp(u/y)&&g("overflow"),d*=y}var _=n.length+1;s=b(i-h,_,0==h),p(i/_)>u-o&&g("overflow"),o+=p(i/_),i%=_,n.splice(i++,0,o)}return String.fromCodePoint.apply(String,n)},C=function(e){var t=[],n=(e=y(e)).length,r=128,i=0,o=72,s=!0,a=!1,l=void 0;try{for(var c,h=e[Symbol.iterator]();!(s=(c=h.next()).done);s=!0){var d=c.value;d<128&&t.push(m(d))}}catch(N){a=!0,l=N}finally{try{!s&&h.return&&h.return()}finally{if(a)throw l}}var f=t.length,v=f;for(f&&t.push("-");v=r&&Fp((u-i)/k)&&g("overflow"),i+=(w-r)*k,r=w;var D=!0,O=!1,R=void 0;try{for(var P,T=e[Symbol.iterator]();!(D=(P=T.next()).done);D=!0){var I=P.value;if(Iu&&g("overflow"),I==r){for(var L=i,B=36;;B+=36){var $=B<=o?1:B>=o+26?26:B-o;if(L<$)break;var M=L-$,j=36-$;t.push(m(_($+M%j,0))),L=p(M/j)}t.push(m(_(L,0))),o=b(i,k,v==f),i=0,++v}}}catch(N){O=!0,R=N}finally{try{!D&&T.return&&T.return()}finally{if(O)throw R}}++i,++r}return t.join("")},E={version:"2.1.0",ucs2:{decode:y,encode:function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function S(e){for(var t="",n=0,r=e.length;n=194&&i<224){if(r-n>=6){var o=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&i)<<6|63&o)}else t+=e.substr(n,6);n+=6}else if(i>=224){if(r-n>=9){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function F(e,t){function n(e){var n=S(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,x).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,x).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,x).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,x).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,x).replace(t.PCT_ENCODED,i)),e}function k(e){return e.replace(/^0*(.*)/,"$1")||"0"}function D(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(k).join("."):e}function O(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=l(n,3),i=r[1],o=r[2];if(i){for(var s=i.toLowerCase().split("::").reverse(),a=l(s,2),u=a[0],c=a[1],h=c?c.split(":").map(k):[],d=u.split(":").map(k),f=t.IPV4ADDRESS.test(d[d.length-1]),p=f?7:8,m=d.length-p,g=Array(p),v=0;v1){var b=g.slice(0,y.index),w=g.slice(y.index+y.length);_=b.join(":")+"::"+w.join(":")}else _=g.join(":");return o&&(_+="%"+o),_}return e}var R=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,P=void 0==="".match(/(){0}/)[1];function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?a:s;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(R);if(i){P?(n.scheme=i[1],n.userinfo=i[3],n.host=i[4],n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=i[7],n.fragment=i[8],isNaN(n.port)&&(n.port=i[5])):(n.scheme=i[1]||void 0,n.userinfo=-1!==e.indexOf("@")?i[3]:void 0,n.host=-1!==e.indexOf("//")?i[4]:void 0,n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=-1!==e.indexOf("?")?i[7]:void 0,n.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),n.host&&(n.host=O(D(n.host,r),r)),n.reference=void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?"relative":void 0===n.fragment?"absolute":"uri":"same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var o=A[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)F(n,r);else{if(n.host&&(t.domainHost||o&&o.domainHost))try{n.host=E.toASCII(n.host.replace(r.PCT_ENCODED,S).toLowerCase())}catch(l){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+l}F(n,s)}o&&o.parse&&o.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}var I=/^\.\.?\//,L=/^\/\.(\/|$)/,B=/^\/\.\.(\/|$)/,$=/^\/?(?:.|\n)*?(?=\/|$)/;function M(e){for(var t=[];e.length;)if(e.match(I))e=e.replace(I,"");else if(e.match(L))e=e.replace(L,"/");else if(e.match(B))e=e.replace(B,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match($);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?a:s,r=[],i=A[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?E.toUnicode(e.host):E.toASCII(e.host.replace(n.PCT_ENCODED,S).toLowerCase())}catch(u){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+u}F(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var o=function(e,t){var n=!1!==t.iri?a:s,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(O(D(String(e.host),n),n).replace(n.IPV6ADDRESS,function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"})),"number"==typeof e.port&&(r.push(":"),r.push(e.port.toString(10))),r.length?r.join(""):void 0}(e,t);if(void 0!==o&&("suffix"!==t.reference&&r.push("//"),r.push(o),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var l=e.path;t.absolutePath||i&&i.absolutePath||(l=M(l)),void 0===o&&(l=l.replace(/^\/\//,"/%2F")),r.push(l)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=T(j(e,n),n),t=T(j(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=M(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=M(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=M(t.path):(r.path=void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:t.path:"/"+t.path,r.path=M(r.path)),r.query=t.query):(r.path=e.path,r.query=void 0!==t.query?t.query:e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function V(e,t){return e&&e.toString().replace(t&&t.iri?a.PCT_ENCODED:s.PCT_ENCODED,S)}var z={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},H={scheme:"https",domainHost:z.domainHost,parse:z.parse,serialize:z.serialize},U={},W="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",K="[0-9A-Fa-f]",q=n(n("%[EFef][0-9A-Fa-f]%"+K+K+"%"+K+K)+"|"+n("%[89A-Fa-f][0-9A-Fa-f]%"+K+K)+"|"+n("%"+K+K)),G=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Q=new RegExp(W,"g"),Y=new RegExp(q,"g"),X=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',G),"g"),Z=new RegExp(t("[^]",W,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),J=Z;function ee(e){var t=S(e);return t.match(Q)?t:e}var te={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var i=!1,o={},s=n.query.split("&"),a=0,l=s.length;a>>1,P=[["ary",b],["bind",f],["bindKey",p],["curry",g],["curryRight",v],["flip",C],["partial",y],["partialRight",_],["rearg",w]],T="[object Arguments]",I="[object Array]",L="[object AsyncFunction]",B="[object Boolean]",$="[object Date]",M="[object DOMException]",j="[object Error]",N="[object Function]",V="[object GeneratorFunction]",z="[object Map]",H="[object Number]",U="[object Null]",W="[object Object]",K="[object Proxy]",q="[object RegExp]",G="[object Set]",Q="[object String]",Y="[object Symbol]",X="[object Undefined]",Z="[object WeakMap]",J="[object ArrayBuffer]",ee="[object DataView]",te="[object Float32Array]",ne="[object Float64Array]",re="[object Int8Array]",ie="[object Int16Array]",oe="[object Int32Array]",se="[object Uint8Array]",ae="[object Uint8ClampedArray]",le="[object Uint16Array]",ue="[object Uint32Array]",ce=/\b__p \+= '';/g,he=/\b(__p \+=) '' \+/g,de=/(__e\(.*?\)|\b__t\)) \+\n'';/g,fe=/&(?:amp|lt|gt|quot|#39);/g,pe=/[&<>"']/g,me=RegExp(fe.source),ge=RegExp(pe.source),ve=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,_e=/<%=([\s\S]+?)%>/g,be=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,we=/^\w*$/,Ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Ae=RegExp(Ee.source),xe=/^\s+|\s+$/g,Se=/^\s+/,Fe=/\s+$/,ke=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,Oe=/,? & /,Re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Pe=/\\(\\)?/g,Te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ie=/\w*$/,Le=/^[-+]0x[0-9a-f]+$/i,Be=/^0b[01]+$/i,$e=/^\[object .+?Constructor\]$/,Me=/^0o[0-7]+$/i,je=/^(?:0|[1-9]\d*)$/,Ne=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ve=/($^)/,ze=/['\n\r\u2028\u2029\\]/g,He="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ue="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",We="["+Ue+"]",Ke="["+He+"]",qe="\\d+",Ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",Qe="[^\\ud800-\\udfff"+Ue+qe+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Ye="\\ud83c[\\udffb-\\udfff]",Xe="[^\\ud800-\\udfff]",Ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Je="[\\ud800-\\udbff][\\udc00-\\udfff]",et="[A-Z\\xc0-\\xd6\\xd8-\\xde]",tt="(?:"+Ge+"|"+Qe+")",nt="(?:"+et+"|"+Qe+")",rt="(?:"+Ke+"|"+Ye+")?",it="[\\ufe0e\\ufe0f]?"+rt+"(?:\\u200d(?:"+[Xe,Ze,Je].join("|")+")[\\ufe0e\\ufe0f]?"+rt+")*",ot="(?:"+["[\\u2700-\\u27bf]",Ze,Je].join("|")+")"+it,st="(?:"+[Xe+Ke+"?",Ke,Ze,Je,"[\\ud800-\\udfff]"].join("|")+")",at=RegExp("['\u2019]","g"),lt=RegExp(Ke,"g"),ut=RegExp(Ye+"(?="+Ye+")|"+st+it,"g"),ct=RegExp([et+"?"+Ge+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[We,et,"$"].join("|")+")",nt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[We,et+tt,"$"].join("|")+")",et+"?"+tt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",et+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",qe,ot].join("|"),"g"),ht=RegExp("[\\u200d\\ud800-\\udfff"+He+"\\ufe0e\\ufe0f]"),dt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ft=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],pt=-1,mt={};mt[te]=mt[ne]=mt[re]=mt[ie]=mt[oe]=mt[se]=mt[ae]=mt[le]=mt[ue]=!0,mt[T]=mt[I]=mt[J]=mt[B]=mt[ee]=mt[$]=mt[j]=mt[N]=mt[z]=mt[H]=mt[W]=mt[q]=mt[G]=mt[Q]=mt[Z]=!1;var gt={};gt[T]=gt[I]=gt[J]=gt[ee]=gt[B]=gt[$]=gt[te]=gt[ne]=gt[re]=gt[ie]=gt[oe]=gt[z]=gt[H]=gt[W]=gt[q]=gt[G]=gt[Q]=gt[Y]=gt[se]=gt[ae]=gt[le]=gt[ue]=!0,gt[j]=gt[N]=gt[Z]=!1;var vt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},yt=parseFloat,_t=parseInt,bt="object"==typeof global&&global&&global.Object===Object&&global,wt="object"==typeof self&&self&&self.Object===Object&&self,Ct=bt||wt||Function("return this")(),Et=t&&!t.nodeType&&t,At=Et&&"object"==typeof e&&e&&!e.nodeType&&e,xt=At&&At.exports===Et,St=xt&&bt.process,Ft=function(){try{return At&&At.require&&At.require("util").types||St&&St.binding&&St.binding("util")}catch(e){}}(),kt=Ft&&Ft.isArrayBuffer,Dt=Ft&&Ft.isDate,Ot=Ft&&Ft.isMap,Rt=Ft&&Ft.isRegExp,Pt=Ft&&Ft.isSet,Tt=Ft&&Ft.isTypedArray;function It(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Lt(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function Nt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function un(e,t){for(var n=e.length;n--&&Qt(t,e[n],0)>-1;);return n}var cn=en({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),hn=en({"&":"&","<":"<",">":">",'"':""","'":"'"});function dn(e){return"\\"+vt[e]}function fn(e){return ht.test(e)}function pn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function mn(e,t){return function(n){return e(t(n))}}function gn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n",""":'"',"'":"'"}),Cn=function e(t){var n,r=(t=null==t?Ct:Cn.defaults(Ct.Object(),t,Cn.pick(Ct,ft))).Array,He=t.Date,Ue=t.Error,We=t.Function,Ke=t.Math,qe=t.Object,Ge=t.RegExp,Qe=t.String,Ye=t.TypeError,Xe=r.prototype,Ze=qe.prototype,Je=t["__core-js_shared__"],et=We.prototype.toString,tt=Ze.hasOwnProperty,nt=0,rt=(n=/[^.]+$/.exec(Je&&Je.keys&&Je.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",it=Ze.toString,ot=et.call(qe),st=Ct._,ut=Ge("^"+et.call(tt).replace(Ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ht=xt?t.Buffer:i,vt=t.Symbol,bt=t.Uint8Array,wt=ht?ht.allocUnsafe:i,Et=mn(qe.getPrototypeOf,qe),At=qe.create,St=Ze.propertyIsEnumerable,Ft=Xe.splice,Kt=vt?vt.isConcatSpreadable:i,en=vt?vt.iterator:i,En=vt?vt.toStringTag:i,An=function(){try{var e=Eo(qe,"defineProperty");return e({},"",{}),e}catch(t){}}(),xn=t.clearTimeout!==Ct.clearTimeout&&t.clearTimeout,Sn=He&&He.now!==Ct.Date.now&&He.now,Fn=t.setTimeout!==Ct.setTimeout&&t.setTimeout,kn=Ke.ceil,Dn=Ke.floor,On=qe.getOwnPropertySymbols,Rn=ht?ht.isBuffer:i,Pn=t.isFinite,Tn=Xe.join,In=mn(qe.keys,qe),Ln=Ke.max,Bn=Ke.min,$n=He.now,Mn=t.parseInt,jn=Ke.random,Nn=Xe.reverse,Vn=Eo(t,"DataView"),zn=Eo(t,"Map"),Hn=Eo(t,"Promise"),Un=Eo(t,"Set"),Wn=Eo(t,"WeakMap"),Kn=Eo(qe,"create"),qn=Wn&&new Wn,Gn={},Qn=Qo(Vn),Yn=Qo(zn),Xn=Qo(Hn),Zn=Qo(Un),Jn=Qo(Wn),er=vt?vt.prototype:i,tr=er?er.valueOf:i,nr=er?er.toString:i;function rr(e){if(da(e)&&!ta(e)&&!(e instanceof ar)){if(e instanceof sr)return e;if(tt.call(e,"__wrapped__"))return Yo(e)}return new sr(e)}var ir=function(){function e(){}return function(t){if(!ha(t))return{};if(At)return At(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function or(){}function sr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function ar(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=D,this.__views__=[]}function lr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Er(e,t,n,r,o,s){var a,h=t&l,d=t&u,f=t&c;if(n&&(a=o?n(e,r,o,s):n(e)),a!==i)return a;if(!ha(e))return e;var p=ta(e);if(p){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&tt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!h)return Ni(e,a)}else{var m=So(e),g=m==N||m==V;if(oa(e))return Ii(e,h);if(m==W||m==T||g&&!o){if(a=d||g?{}:ko(e),!h)return d?function(e,t){return Vi(e,xo(e),t)}(e,function(t,n){return t&&Vi(e,Ha(e),t)}(a)):function(e,t){return Vi(e,Ao(e),t)}(e,_r(a,e))}else{if(!gt[m])return o?e:{};a=function(e,t,n){var r,i,o=e.constructor;switch(t){case J:return Li(e);case B:case $:return new o(+e);case ee:return function(e,t){var n=t?Li(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case te:case ne:case re:case ie:case oe:case se:case ae:case le:case ue:return Bi(e,n);case z:return new o;case H:case Q:return new o(e);case q:return(i=new(r=e).constructor(r.source,Ie.exec(r))).lastIndex=r.lastIndex,i;case G:return new o;case Y:return tr?qe(tr.call(e)):{}}}(e,m,h)}}s||(s=new dr);var v=s.get(e);if(v)return v;s.set(e,a),va(e)?e.forEach(function(r){a.add(Er(r,t,n,r,e,s))}):fa(e)&&e.forEach(function(r,i){a.set(i,Er(r,t,n,i,e,s))});var y=p?i:(f?d?go:mo:d?Ha:za)(e);return Bt(y||e,function(r,i){y&&(r=e[i=r]),gr(a,i,Er(r,t,n,i,e,s))}),a}function Ar(e,t,n){var r=n.length;if(null==e)return!r;for(e=qe(e);r--;){var o=n[r],s=e[o];if(s===i&&!(o in e)||!(0,t[o])(s))return!1}return!0}function xr(e,t,n){if("function"!=typeof e)throw new Ye(s);return zo(function(){e.apply(i,n)},t)}function Sr(e,t,n,r){var i=-1,s=jt,a=!0,l=e.length,u=[],c=t.length;if(!l)return u;n&&(t=Vt(t,on(n))),r?(s=Nt,a=!1):t.length>=o&&(s=an,a=!1,t=new hr(t));e:for(;++i-1},ur.prototype.set=function(e,t){var n=this.__data__,r=vr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},cr.prototype.clear=function(){this.size=0,this.__data__={hash:new lr,map:new(zn||ur),string:new lr}},cr.prototype.delete=function(e){var t=wo(this,e).delete(e);return this.size-=t?1:0,t},cr.prototype.get=function(e){return wo(this,e).get(e)},cr.prototype.has=function(e){return wo(this,e).has(e)},cr.prototype.set=function(e,t){var n=wo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},hr.prototype.add=hr.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},hr.prototype.has=function(e){return this.__data__.has(e)},dr.prototype.clear=function(){this.__data__=new ur,this.size=0},dr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},dr.prototype.get=function(e){return this.__data__.get(e)},dr.prototype.has=function(e){return this.__data__.has(e)},dr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ur){var r=n.__data__;if(!zn||r.length0&&n(a)?t>1?Pr(a,t-1,n,r,i):zt(i,a):r||(i[i.length]=a)}return i}var Tr=Wi(),Ir=Wi(!0);function Lr(e,t){return e&&Tr(e,t,za)}function Br(e,t){return e&&Ir(e,t,za)}function $r(e,t){return Mt(t,function(t){return la(e[t])})}function Mr(e,t){for(var n=0,r=(t=Oi(t,e)).length;null!=e&&nt}function zr(e,t){return null!=e&&tt.call(e,t)}function Hr(e,t){return null!=e&&t in qe(e)}function Ur(e,t,n){for(var o=n?Nt:jt,s=e[0].length,a=e.length,l=a,u=r(a),c=1/0,h=[];l--;){var d=e[l];l&&t&&(d=Vt(d,on(t))),c=Bn(d.length,c),u[l]=!n&&(t||s>=120&&d.length>=120)?new hr(l&&d):i}d=e[0];var f=-1,p=u[0];e:for(;++f=a?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)});r--;)e[r]=e[r].value;return e}(Jr(e,function(e,n,i){return{criteria:Vt(t,function(t){return t(e)}),index:++r,value:e}}))}function oi(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)a!==e&&Ft.call(a,l,1),Ft.call(e,l,1);return e}function ai(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Oo(i)?Ft.call(e,i,1):Ci(e,i)}}return e}function li(e,t){return e+Dn(jn()*(t-e+1))}function ui(e,t){var n="";if(!e||t<1||t>S)return n;do{t%2&&(n+=e),(t=Dn(t/2))&&(e+=e)}while(t);return n}function ci(e,t){return Ho(Mo(e,t,pl),e+"")}function hi(e,t,n,r){if(!ha(e))return e;for(var o=-1,s=(t=Oi(t,e)).length,a=s-1,l=e;null!=l&&++oo?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=r(o);++i>>1,s=e[o];null!==s&&!_a(s)&&(n?s<=t:s=o){var c=t?null:so(e);if(c)return vn(c);a=!1,i=an,u=new hr}else u=t?[]:l;e:for(;++r=r?e:pi(e,t,n)}var Ti=xn||function(e){return Ct.clearTimeout(e)};function Ii(e,t){if(t)return e.slice();var n=e.length,r=wt?wt(n):new e.constructor(n);return e.copy(r),r}function Li(e){var t=new e.constructor(e.byteLength);return new bt(t).set(new bt(e)),t}function Bi(e,t){var n=t?Li(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $i(e,t){if(e!==t){var n=e!==i,r=null===e,o=e==e,s=_a(e),a=t!==i,l=null===t,u=t==t,c=_a(t);if(!l&&!c&&!s&&e>t||s&&a&&u&&!l&&!c||r&&a&&u||!n&&u||!o)return 1;if(!r&&!s&&!c&&e1?n[o-1]:i,a=o>2?n[2]:i;for(s=e.length>3&&"function"==typeof s?(o--,s):i,a&&Ro(n[0],n[1],a)&&(s=o<3?i:s,o=1),t=qe(t);++r-1?o[s?t[a]:a]:i}}function Yi(e){return po(function(t){var n=t.length,r=n,o=sr.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ye(s);if(o&&!l&&"wrapper"==yo(a))var l=new sr([],!0)}for(r=l?r:n;++r1&&g.reverse(),d&&cl))return!1;var c=s.get(e);if(c&&s.get(t))return c==t;var f=-1,p=!0,m=n&d?new hr:i;for(s.set(e,t),s.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ke,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Bt(P,function(n){var r="_."+n[0];t&n[1]&&!jt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(De);return t?t[1].split(Oe):[]}(r),n)))}function Wo(e){var t=0,n=0;return function(){var r=$n(),o=A-(r-n);if(n=r,o>0){if(++t>=E)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ko(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,gs(e,n)});function Es(e){var t=rr(e);return t.__chain__=!0,t}function As(e,t){return t(e)}var xs=po(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return wr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof ar&&Oo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:As,args:[o],thisArg:i}),new sr(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(o)}),Ss=zi(function(e,t,n){tt.call(e,n)?++e[n]:br(e,n,1)}),Fs=Qi(es),ks=Qi(ts);function Ds(e,t){return(ta(e)?Bt:Fr)(e,bo(t,3))}function Os(e,t){return(ta(e)?function(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}:kr)(e,bo(t,3))}var Rs=zi(function(e,t,n){tt.call(e,n)?e[n].push(t):br(e,n,[t])}),Ps=ci(function(e,t,n){var i=-1,o="function"==typeof t,s=ra(e)?r(e.length):[];return Fr(e,function(e){s[++i]=o?It(t,e,n):Wr(e,t,n)}),s}),Ts=zi(function(e,t,n){br(e,n,t)});function Is(e,t){return(ta(e)?Vt:Jr)(e,bo(t,3))}var Ls=zi(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Bs=ci(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ro(e,t[0],t[1])?t=[]:n>2&&Ro(t[0],t[1],t[2])&&(t=[t[0]]),ii(e,Pr(t,1),[])}),$s=Sn||function(){return Ct.Date.now()};function Ms(e,t,n){return t=n?i:t,lo(e,b,i,i,i,i,t=e&&null==t?e.length:t)}function js(e,t){var n;if("function"!=typeof t)throw new Ye(s);return e=xa(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Ns=ci(function(e,t,n){var r=f;if(n.length){var i=gn(n,_o(Ns));r|=y}return lo(e,r,t,n,i)}),Vs=ci(function(e,t,n){var r=f|p;if(n.length){var i=gn(n,_o(Vs));r|=y}return lo(t,r,e,n,i)});function zs(e,t,n){var r,o,a,l,u,c,h=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw new Ye(s);function m(t){var n=r,s=o;return r=o=i,h=t,l=e.apply(s,n)}function g(e){var n=e-c;return c===i||n>=t||n<0||f&&e-h>=a}function v(){var e=$s();if(g(e))return y(e);u=zo(v,function(e){var n=t-(e-c);return f?Bn(n,a-(e-h)):n}(e))}function y(e){return u=i,p&&r?m(e):(r=o=i,l)}function _(){var e=$s(),n=g(e);if(r=arguments,o=this,c=e,n){if(u===i)return function(e){return h=e,u=zo(v,t),d?m(e):l}(c);if(f)return Ti(u),u=zo(v,t),m(c)}return u===i&&(u=zo(v,t)),l}return t=Fa(t)||0,ha(n)&&(d=!!n.leading,a=(f="maxWait"in n)?Ln(Fa(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),_.cancel=function(){u!==i&&Ti(u),h=0,r=c=o=u=i},_.flush=function(){return u===i?l:y($s())},_}var Hs=ci(function(e,t){return xr(e,1,t)}),Us=ci(function(e,t,n){return xr(e,Fa(t)||0,n)});function Ws(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ye(s);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ws.Cache||cr),n}function Ks(e){if("function"!=typeof e)throw new Ye(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ws.Cache=cr;var qs=Ri(function(e,t){var n=(t=1==t.length&&ta(t[0])?Vt(t[0],on(bo())):Vt(Pr(t,1),on(bo()))).length;return ci(function(r){for(var i=-1,o=Bn(r.length,n);++i=t}),ea=Kr(function(){return arguments}())?Kr:function(e){return da(e)&&tt.call(e,"callee")&&!St.call(e,"callee")},ta=r.isArray,na=kt?on(kt):function(e){return da(e)&&Nr(e)==J};function ra(e){return null!=e&&ca(e.length)&&!la(e)}function ia(e){return da(e)&&ra(e)}var oa=Rn||Fl,sa=Dt?on(Dt):function(e){return da(e)&&Nr(e)==$};function aa(e){if(!da(e))return!1;var t=Nr(e);return t==j||t==M||"string"==typeof e.message&&"string"==typeof e.name&&!ma(e)}function la(e){if(!ha(e))return!1;var t=Nr(e);return t==N||t==V||t==L||t==K}function ua(e){return"number"==typeof e&&e==xa(e)}function ca(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=S}function ha(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function da(e){return null!=e&&"object"==typeof e}var fa=Ot?on(Ot):function(e){return da(e)&&So(e)==z};function pa(e){return"number"==typeof e||da(e)&&Nr(e)==H}function ma(e){if(!da(e)||Nr(e)!=W)return!1;var t=Et(e);if(null===t)return!0;var n=tt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&et.call(n)==ot}var ga=Rt?on(Rt):function(e){return da(e)&&Nr(e)==q},va=Pt?on(Pt):function(e){return da(e)&&So(e)==G};function ya(e){return"string"==typeof e||!ta(e)&&da(e)&&Nr(e)==Q}function _a(e){return"symbol"==typeof e||da(e)&&Nr(e)==Y}var ba=Tt?on(Tt):function(e){return da(e)&&ca(e.length)&&!!mt[Nr(e)]},wa=ro(Zr),Ca=ro(function(e,t){return e<=t});function Ea(e){if(!e)return[];if(ra(e))return ya(e)?bn(e):Ni(e);if(en&&e[en])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[en]());var t=So(e);return(t==z?pn:t==G?vn:Xa)(e)}function Aa(e){return e?(e=Fa(e))===x||e===-x?(e<0?-1:1)*F:e==e?e:0:0===e?e:0}function xa(e){var t=Aa(e),n=t%1;return t==t?n?t-n:t:0}function Sa(e){return e?Cr(xa(e),0,D):0}function Fa(e){if("number"==typeof e)return e;if(_a(e))return k;if(ha(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ha(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(xe,"");var n=Be.test(e);return n||Me.test(e)?_t(e.slice(2),n?2:8):Le.test(e)?k:+e}function ka(e){return Vi(e,Ha(e))}function Da(e){return null==e?"":bi(e)}var Oa=Hi(function(e,t){if(Lo(t)||ra(t))Vi(t,za(t),e);else for(var n in t)tt.call(t,n)&&gr(e,n,t[n])}),Ra=Hi(function(e,t){Vi(t,Ha(t),e)}),Pa=Hi(function(e,t,n,r){Vi(t,Ha(t),e,r)}),Ta=Hi(function(e,t,n,r){Vi(t,za(t),e,r)}),Ia=po(wr),La=ci(function(e,t){e=qe(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&Ro(t[0],t[1],o)&&(r=1);++n1),t}),Vi(e,go(e),n),r&&(n=Er(n,l|u|c,ho));for(var i=t.length;i--;)Ci(n,t[i]);return n}),qa=po(function(e,t){return null==e?{}:function(e,t){return oi(e,t,function(t,n){return Ma(e,n)})}(e,t)});function Ga(e,t){if(null==e)return{};var n=Vt(go(e),function(e){return[e]});return t=bo(t),oi(e,n,function(e,n){return t(e,n[0])})}var Qa=ao(za),Ya=ao(Ha);function Xa(e){return null==e?[]:sn(e,za(e))}var Za=qi(function(e,t,n){return t=t.toLowerCase(),e+(n?Ja(t):t)});function Ja(e){return al(Da(e).toLowerCase())}function el(e){return(e=Da(e))&&e.replace(Ne,cn).replace(lt,"")}var tl=qi(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),nl=qi(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),rl=Ki("toLowerCase"),il=qi(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),ol=qi(function(e,t,n){return e+(n?" ":"")+al(t)}),sl=qi(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),al=Ki("toUpperCase");function ll(e,t,n){return e=Da(e),(t=n?i:t)===i?function(e){return dt.test(e)}(e)?function(e){return e.match(ct)||[]}(e):function(e){return e.match(Re)||[]}(e):e.match(t)||[]}var ul=ci(function(e,t){try{return It(e,i,t)}catch(n){return aa(n)?n:new Ue(n)}}),cl=po(function(e,t){return Bt(t,function(t){t=Go(t),br(e,t,Ns(e[t],e))}),e});function hl(e){return function(){return e}}var dl=Yi(),fl=Yi(!0);function pl(e){return e}function ml(e){return Yr("function"==typeof e?e:Er(e,l))}var gl=ci(function(e,t){return function(n){return Wr(n,e,t)}}),vl=ci(function(e,t){return function(n){return Wr(e,n,t)}});function yl(e,t,n){var r=za(t),i=$r(t,r);null!=n||ha(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=$r(t,za(t)));var o=!(ha(n)&&"chain"in n&&!n.chain),s=la(e);return Bt(i,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Ni(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,zt([this.value()],arguments))})}),e}function _l(){}var bl=eo(Vt),wl=eo($t),Cl=eo(Wt);function El(e){return Po(e)?Jt(Go(e)):function(e){return function(t){return Mr(t,e)}}(e)}var Al=no(),xl=no(!0);function Sl(){return[]}function Fl(){return!1}var kl,Dl=Ji(function(e,t){return e+t},0),Ol=oo("ceil"),Rl=Ji(function(e,t){return e/t},1),Pl=oo("floor"),Tl=Ji(function(e,t){return e*t},1),Il=oo("round"),Ll=Ji(function(e,t){return e-t},0);return rr.after=function(e,t){if("function"!=typeof t)throw new Ye(s);return e=xa(e),function(){if(--e<1)return t.apply(this,arguments)}},rr.ary=Ms,rr.assign=Oa,rr.assignIn=Ra,rr.assignInWith=Pa,rr.assignWith=Ta,rr.at=Ia,rr.before=js,rr.bind=Ns,rr.bindAll=cl,rr.bindKey=Vs,rr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return ta(e)?e:[e]},rr.chain=Es,rr.chunk=function(e,t,n){t=(n?Ro(e,t,n):t===i)?1:Ln(xa(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var s=0,a=0,l=r(kn(o/t));so?0:o+n),(r=r===i||r>o?o:xa(r))<0&&(r+=o),r=n>r?0:Sa(r);n>>0)?(e=Da(e))&&("string"==typeof t||null!=t&&!ga(t))&&!(t=bi(t))&&fn(e)?Pi(bn(e),0,n):e.split(t,n):[]},rr.spread=function(e,t){if("function"!=typeof e)throw new Ye(s);return t=null==t?0:Ln(xa(t),0),ci(function(n){var r=n[t],i=Pi(n,0,t);return r&&zt(i,r),It(e,this,i)})},rr.tail=function(e){var t=null==e?0:e.length;return t?pi(e,1,t):[]},rr.take=function(e,t,n){return e&&e.length?pi(e,0,(t=n||t===i?1:xa(t))<0?0:t):[]},rr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?pi(e,(t=r-(t=n||t===i?1:xa(t)))<0?0:t,r):[]},rr.takeRightWhile=function(e,t){return e&&e.length?Ai(e,bo(t,3),!1,!0):[]},rr.takeWhile=function(e,t){return e&&e.length?Ai(e,bo(t,3)):[]},rr.tap=function(e,t){return t(e),e},rr.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ye(s);return ha(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),zs(e,t,{leading:r,maxWait:t,trailing:i})},rr.thru=As,rr.toArray=Ea,rr.toPairs=Qa,rr.toPairsIn=Ya,rr.toPath=function(e){return ta(e)?Vt(e,Go):_a(e)?[e]:Ni(qo(Da(e)))},rr.toPlainObject=ka,rr.transform=function(e,t,n){var r=ta(e),i=r||oa(e)||ba(e);if(t=bo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:ha(e)&&la(o)?ir(Et(e)):{}}return(i?Bt:Lr)(e,function(e,r,i){return t(n,e,r,i)}),n},rr.unary=function(e){return Ms(e,1)},rr.union=ds,rr.unionBy=fs,rr.unionWith=ps,rr.uniq=function(e){return e&&e.length?wi(e):[]},rr.uniqBy=function(e,t){return e&&e.length?wi(e,bo(t,2)):[]},rr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?wi(e,i,t):[]},rr.unset=function(e,t){return null==e||Ci(e,t)},rr.unzip=ms,rr.unzipWith=gs,rr.update=function(e,t,n){return null==e?e:Ei(e,t,Di(n))},rr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Ei(e,t,Di(n),r)},rr.values=Xa,rr.valuesIn=function(e){return null==e?[]:sn(e,Ha(e))},rr.without=vs,rr.words=ll,rr.wrap=function(e,t){return Gs(Di(t),e)},rr.xor=ys,rr.xorBy=_s,rr.xorWith=bs,rr.zip=ws,rr.zipObject=function(e,t){return Fi(e||[],t||[],gr)},rr.zipObjectDeep=function(e,t){return Fi(e||[],t||[],hi)},rr.zipWith=Cs,rr.entries=Qa,rr.entriesIn=Ya,rr.extend=Ra,rr.extendWith=Pa,yl(rr,rr),rr.add=Dl,rr.attempt=ul,rr.camelCase=Za,rr.capitalize=Ja,rr.ceil=Ol,rr.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=Fa(n))==n?n:0),t!==i&&(t=(t=Fa(t))==t?t:0),Cr(Fa(e),t,n)},rr.clone=function(e){return Er(e,c)},rr.cloneDeep=function(e){return Er(e,l|c)},rr.cloneDeepWith=function(e,t){return Er(e,l|c,t="function"==typeof t?t:i)},rr.cloneWith=function(e,t){return Er(e,c,t="function"==typeof t?t:i)},rr.conformsTo=function(e,t){return null==t||Ar(e,t,za(t))},rr.deburr=el,rr.defaultTo=function(e,t){return null==e||e!=e?t:e},rr.divide=Rl,rr.endsWith=function(e,t,n){e=Da(e),t=bi(t);var r=e.length,o=n=n===i?r:Cr(xa(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},rr.eq=Xs,rr.escape=function(e){return(e=Da(e))&&ge.test(e)?e.replace(pe,hn):e},rr.escapeRegExp=function(e){return(e=Da(e))&&Ae.test(e)?e.replace(Ee,"\\$&"):e},rr.every=function(e,t,n){var r=ta(e)?$t:Dr;return n&&Ro(e,t,n)&&(t=i),r(e,bo(t,3))},rr.find=Fs,rr.findIndex=es,rr.findKey=function(e,t){return qt(e,bo(t,3),Lr)},rr.findLast=ks,rr.findLastIndex=ts,rr.findLastKey=function(e,t){return qt(e,bo(t,3),Br)},rr.floor=Pl,rr.forEach=Ds,rr.forEachRight=Os,rr.forIn=function(e,t){return null==e?e:Tr(e,bo(t,3),Ha)},rr.forInRight=function(e,t){return null==e?e:Ir(e,bo(t,3),Ha)},rr.forOwn=function(e,t){return e&&Lr(e,bo(t,3))},rr.forOwnRight=function(e,t){return e&&Br(e,bo(t,3))},rr.get=$a,rr.gt=Zs,rr.gte=Js,rr.has=function(e,t){return null!=e&&Fo(e,t,zr)},rr.hasIn=Ma,rr.head=rs,rr.identity=pl,rr.includes=function(e,t,n,r){e=ra(e)?e:Xa(e),n=n&&!r?xa(n):0;var i=e.length;return n<0&&(n=Ln(i+n,0)),ya(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Qt(e,t,n)>-1},rr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:xa(n);return i<0&&(i=Ln(r+i,0)),Qt(e,t,i)},rr.inRange=function(e,t,n){return t=Aa(t),n===i?(n=t,t=0):n=Aa(n),function(e,t,n){return e>=Bn(t,n)&&e=-S&&e<=S},rr.isSet=va,rr.isString=ya,rr.isSymbol=_a,rr.isTypedArray=ba,rr.isUndefined=function(e){return e===i},rr.isWeakMap=function(e){return da(e)&&So(e)==Z},rr.isWeakSet=function(e){return da(e)&&"[object WeakSet]"==Nr(e)},rr.join=function(e,t){return null==e?"":Tn.call(e,t)},rr.kebabCase=tl,rr.last=as,rr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=xa(n))<0?Ln(r+o,0):Bn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Gt(e,Xt,o,!0)},rr.lowerCase=nl,rr.lowerFirst=rl,rr.lt=wa,rr.lte=Ca,rr.max=function(e){return e&&e.length?Or(e,pl,Vr):i},rr.maxBy=function(e,t){return e&&e.length?Or(e,bo(t,2),Vr):i},rr.mean=function(e){return Zt(e,pl)},rr.meanBy=function(e,t){return Zt(e,bo(t,2))},rr.min=function(e){return e&&e.length?Or(e,pl,Zr):i},rr.minBy=function(e,t){return e&&e.length?Or(e,bo(t,2),Zr):i},rr.stubArray=Sl,rr.stubFalse=Fl,rr.stubObject=function(){return{}},rr.stubString=function(){return""},rr.stubTrue=function(){return!0},rr.multiply=Tl,rr.nth=function(e,t){return e&&e.length?ri(e,xa(t)):i},rr.noConflict=function(){return Ct._===this&&(Ct._=st),this},rr.noop=_l,rr.now=$s,rr.pad=function(e,t,n){e=Da(e);var r=(t=xa(t))?_n(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return to(Dn(i),n)+e+to(kn(i),n)},rr.padEnd=function(e,t,n){e=Da(e);var r=(t=xa(t))?_n(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=jn();return Bn(e+o*(t-e+yt("1e-"+((o+"").length-1))),t)}return li(e,t)},rr.reduce=function(e,t,n){var r=ta(e)?Ht:tn,i=arguments.length<3;return r(e,bo(t,4),n,i,Fr)},rr.reduceRight=function(e,t,n){var r=ta(e)?Ut:tn,i=arguments.length<3;return r(e,bo(t,4),n,i,kr)},rr.repeat=function(e,t,n){return t=(n?Ro(e,t,n):t===i)?1:xa(t),ui(Da(e),t)},rr.replace=function(){var e=arguments,t=Da(e[0]);return e.length<3?t:t.replace(e[1],e[2])},rr.result=function(e,t,n){var r=-1,o=(t=Oi(t,e)).length;for(o||(o=1,e=i);++rS)return[];var n=D,r=Bn(e,D);t=bo(t),e-=D;for(var i=rn(r,t);++n=s)return e;var l=n-_n(r);if(l<1)return r;var u=a?Pi(a,0,l).join(""):e.slice(0,l);if(o===i)return u+r;if(a&&(l+=u.length-l),ga(o)){if(e.slice(l).search(o)){var c,h=u;for(o.global||(o=Ge(o.source,Da(Ie.exec(o))+"g")),o.lastIndex=0;c=o.exec(h);)var d=c.index;u=u.slice(0,d===i?l:d)}}else if(e.indexOf(bi(o),l)!=l){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+r},rr.unescape=function(e){return(e=Da(e))&&me.test(e)?e.replace(fe,wn):e},rr.uniqueId=function(e){var t=++nt;return Da(e)+t},rr.upperCase=sl,rr.upperFirst=al,rr.each=Ds,rr.eachRight=Os,rr.first=rs,yl(rr,(kl={},Lr(rr,function(e,t){tt.call(rr.prototype,t)||(kl[t]=e)}),kl),{chain:!1}),rr.VERSION="4.17.14",Bt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){rr[e].placeholder=rr}),Bt(["drop","take"],function(e,t){ar.prototype[e]=function(n){n=n===i?1:Ln(xa(n),0);var r=this.__filtered__&&!t?new ar(this):this.clone();return r.__filtered__?r.__takeCount__=Bn(n,r.__takeCount__):r.__views__.push({size:Bn(n,D),type:e+(r.__dir__<0?"Right":"")}),r},ar.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Bt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;ar.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:bo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Bt(["head","last"],function(e,t){var n="take"+(t?"Right":"");ar.prototype[e]=function(){return this[n](1).value()[0]}}),Bt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");ar.prototype[e]=function(){return this.__filtered__?new ar(this):this[n](1)}}),ar.prototype.compact=function(){return this.filter(pl)},ar.prototype.find=function(e){return this.filter(e).head()},ar.prototype.findLast=function(e){return this.reverse().find(e)},ar.prototype.invokeMap=ci(function(e,t){return"function"==typeof e?new ar(this):this.map(function(n){return Wr(n,e,t)})}),ar.prototype.reject=function(e){return this.filter(Ks(bo(e)))},ar.prototype.slice=function(e,t){e=xa(e);var n=this;return n.__filtered__&&(e>0||t<0)?new ar(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=xa(t))<0?n.dropRight(-t):n.take(t-e)),n)},ar.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ar.prototype.toArray=function(){return this.take(D)},Lr(ar.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=rr[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);o&&(rr.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,l=t instanceof ar,u=a[0],c=l||ta(t),h=function(e){var t=o.apply(rr,zt([e],a));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,f=s&&!d,p=l&&!this.__actions__.length;if(!s&&c){t=p?t:new ar(this);var m=e.apply(t,a);return m.__actions__.push({func:As,args:[h],thisArg:i}),new sr(m,d)}return f&&p?e.apply(this,a):(m=this.thru(h),f?r?m.value()[0]:m.value():m)})}),Bt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Xe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);rr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(ta(i)?i:[],e)}return this[n](function(n){return t.apply(ta(n)?n:[],e)})}}),Lr(ar.prototype,function(e,t){var n=rr[t];if(n){var r=n.name+"";tt.call(Gn,r)||(Gn[r]=[]),Gn[r].push({name:t,func:n})}}),Gn[Xi(i,p).name]=[{name:"wrapper",func:i}],ar.prototype.clone=function(){var e=new ar(this.__wrapped__);return e.__actions__=Ni(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ni(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ni(this.__views__),e},ar.prototype.reverse=function(){if(this.__filtered__){var e=new ar(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},ar.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=ta(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},rr.prototype.plant=function(e){for(var t,n=this;n instanceof or;){var r=Yo(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},rr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof ar){var t=e;return this.__actions__.length&&(t=new ar(this)),(t=t.reverse()).__actions__.push({func:As,args:[hs],thisArg:i}),new sr(t,this.__chain__)}return this.thru(hs)},rr.prototype.toJSON=rr.prototype.valueOf=rr.prototype.value=function(){return xi(this.__wrapped__,this.__actions__)},rr.prototype.first=rr.prototype.head,en&&(rr.prototype[en]=function(){return this}),rr}();Ct._=Cn,(r=(function(){return Cn}).call(t,n,t,e))===i||(e.exports=r)}).call(this)}).call(this,n("aYSr")(e))},nvU9:function(e,t,n){var r=n("tQYX"),i=n("a88S"),o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):s.test(e)?NaN:+e}},o05C:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("D57K"),i=n("2q8g"),o=n("H4Ux"),s=n("M7nJ");t.PartialValueApplicator=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.apply=function(e){var t=e.args,n=e.target,r=e.value,o=e.config.execute;return function(){for(var e=[],a=0;a "+e}},p4bK:function(e,t,n){var r=n("LmOH"),i=n("OfKG"),o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=function(e,t){return r(o,function(n){var r="_."+n[0];t&n[1]&&!i(e,r)&&e.push(r)}),e.sort()}},pFSi:function(e,t,n){var r=n("hyzI"),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},pIod:function(e,t,n){var r=n("y/9h"),i=n("wxYD");e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},pMbS:function(e,t,n){"use strict";e.exports=function(e,t,n){var r=" ",i=e.schema[t],o=e.schemaPath+e.util.getProperty(t),s=e.errSchemaPath+"/"+t,a=!e.opts.allErrors,l=e.util.copy(e),u="";l.level++;var c="valid"+l.level,h=l.baseId,d=!0,f=i;if(f)for(var p,m=-1,g=f.length-1;m0:e.util.schemaHasRules(p,e.RULES.all))&&(d=!1,l.schema=p,l.schemaPath=o+"["+m+"]",l.errSchemaPath=s+"/"+m,r+=" "+e.validate(l)+" ",l.baseId=h,a&&(r+=" if ("+c+") { ",u+="}"));return a&&(r+=d?" if (true) { ":" "+u.slice(0,-1)+" "),e.util.cleanUpCode(r)}},pPzx:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},pnw1:function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e=i?e:r(e,t,n)}},rjis:function(e,t,n){var r=n("BVx2"),i=n("nnm9");e.exports=r?function(e){return r.get(e)}:i},rmhs:function(e,t,n){var r=n("2ZvR"),i=n("bvyN"),o=n("wxYD"),s=n("3ajY"),a=n("pnw1"),l=n("Qd2C"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),h=!n&&!c&&s(e),d=!n&&!c&&!h&&l(e),f=n||c||h||d,p=f?r(e.length,String):[],m=p.length;for(var g in e)!t&&!u.call(e,g)||f&&("length"==g||h&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||p.push(g);return p}},"sCL+":function(e,t){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r=0?{index:r,compiling:!0}:(this._compilations[r=this._compilations.length]={schema:e,root:t,baseId:n},{index:r,compiling:!1})}).call(this,t,n=n||{schema:t,refVal:w,refs:C},y),D=this._compilations[k.index];if(k.compiling)return D.callValidate=function e(){var t=D.validate,n=t.apply(this,arguments);return e.errors=t.errors,n};var O=this._formats,R=this.RULES;try{var P=I(t,n,v,y);D.validate=P;var T=D.callValidate;return T&&(T.schema=P.schema,T.errors=null,T.refs=P.refs,T.refVal=P.refVal,T.root=P.root,T.$async=P.$async,b.sourceCode&&(T.source=P.source)),P}finally{(function(e,t,n){var r=h.call(this,e,t,n);r>=0&&this._compilations.splice(r,1)}).call(this,t,n,y)}function I(t,s,h,v){var y=!s||s&&s.schema==t;if(s.schema!=n.schema)return e.call(_,t,s,h,v);var A,S=!0===t.$async,k=a({isTop:!0,schema:t,isRoot:y,baseId:v,root:s,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:o.MissingRef,RULES:R,validate:a,util:i,resolve:r,resolveRef:L,usePattern:M,useDefault:j,useCustomRule:N,opts:b,formats:O,logger:_.logger,self:_});k=g(w,p)+g(E,d)+g(x,f)+g(F,m)+k,b.processCode&&(k=b.processCode(k));try{A=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",k)(_,R,O,n,w,x,F,u,l,c),w[0]=A}catch(D){throw _.logger.error("Error compiling schema, function code:",k),D}return A.schema=t,A.errors=null,A.refs=C,A.refVal=w,A.root=y?A:s,S&&(A.$async=!0),!0===b.sourceCode&&(A.source={code:k,patterns:E,defaults:x}),A}function L(t,i,o){i=r.url(t,i);var s,a,l=C[i];if(void 0!==l)return $(s=w[l],a="refVal["+l+"]");if(!o&&n.refs){var u=n.refs[i];if(void 0!==u)return a=B(i,s=n.refVal[u]),$(s,a)}a=B(i);var c=r.call(_,I,n,i);if(void 0===c){var h=v&&v[i];h&&(c=r.inlineRef(h,b.inlineRefs)?h:e.call(_,h,n,v,t))}if(void 0!==c)return function(e,t){w[C[e]]=t}(i,c),$(c,a);!function(e){delete C[e]}(i)}function B(e,t){var n=w.length;return w[n]=t,C[e]=n,"refVal"+n}function $(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function M(e){var t=A[e];return void 0===t&&(t=A[e]=E.length,E[t]=e),"pattern"+t}function j(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return i.toQuotedString(e);case"object":if(null===e)return"null";var t=s(e),n=S[t];return void 0===n&&(n=S[t]=x.length,x[n]=e),"default"+n}}function N(e,t,n,r){if(!1!==_._opts.validateSchema){var i=e.definition.dependencies;if(i&&!i.every(function(e){return Object.prototype.hasOwnProperty.call(n,e)}))throw new Error("parent schema must have all required keywords: "+i.join(","));var o=e.definition.validateSchema;if(o&&!o(t)){var s="keyword schema is invalid: "+_.errorsText(o.errors);if("log"!=_._opts.validateSchema)throw new Error(s);_.logger.error(s)}}var a,l=e.definition.compile,u=e.definition.inline,c=e.definition.macro;if(l)a=l.call(_,t,n,r);else if(c)a=c.call(_,t,n,r),!1!==b.validateSchema&&_.validateSchema(a,!0);else if(u)a=u.call(_,r,e.keyword,t,n);else if(!(a=e.definition.validate))return;if(void 0===a)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var h=F.length;return F[h]=a,{code:"customRule"+h,validate:a}}}},skxJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("jPI1"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.ComposeApplicator({post:!0}),{property:!0}));function a(){for(var e=[],t=0;t-1&&e%1==0&&e<=9007199254740991}},t76t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("D57K"),i=n("H4Ux");t.InvokeApplicator=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.apply=function(e){var t=e.args,n=e.config.execute,r=e.value;return function(){for(var e=[],i=0;i":"<")+" "+r+") { "),i="",!1!==e.createErrors?(i+=" { keyword: '"+(f||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxProperties"==t?"more":"fewer",i+=" than ",i+=d?"' + "+r+" + '":""+a,i+=" properties' "),e.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!e.compositeRule&&c?e.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},uUTq:function(e,t,n){var r=n("X+YX"),i=n("R3TX"),o=n("Ndl3"),s=i(function(e,t){return o(e)?r(e,t):[]});e.exports=s},ur81:function(e,t,n){ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};r.inherits(o,i),t.JsonHighlightRules=o}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,o=e.findMatchingBracket({row:t,column:i});if(!o||o.row==t)return 0;var s=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,i-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(i=o.match(this.foldingStopMarker))?(s=i.index+i[0].length,i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,l=e.getLength();++tu)break;var c=this.getFoldWidgetRange(e,"all",t);if(c){if(c.start.row<=o)break;if(c.isMultiLine())t=c.end.row;else if(r==u)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new i(s,r,n,t.length)}}).call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(e,t,r){"use strict";var i=e("../lib/oop"),o=e("./text").Mode,s=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,l=e("./behaviour/cstyle").CstyleBehaviour,u=e("./folding/cstyle").FoldMode,c=e("../worker/worker_client").WorkerClient,h=function(){this.HighlightRules=s,this.$outdent=new a,this.$behaviour=new l,this.foldingRules=new u};i.inherits(h,o),(function(){this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);return"start"==e&&t.match(/^.*[\{\(\[]\s*$/)&&(r+=n),r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new c(["ace"],n("38El"),"JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/json"}).call(h.prototype),t.Mode=h})},utIM:function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o=" ",s=e.level,a=e.dataLevel,l=e.schema[t],u=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,h=!e.opts.allErrors,d="data"+(a||""),f="valid"+s,p="errs__"+s,m=e.opts.$data&&l&&l.$data;m?(o+=" var schema"+s+" = "+e.util.getData(l.$data,a,e.dataPathArr)+"; ",i="schema"+s):i=l;var g,v,y,_,b,w="definition"+s,C=this.definition,E="";if(m&&C.$data){var A=C.validateSchema;o+=" var "+w+" = RULES.custom['"+t+"'].definition; var "+(b="keywordValidate"+s)+" = "+w+".validate;"}else{if(!(_=e.useCustomRule(this,l,e.schema,e)))return;i="validate.schema"+u,b=_.code,g=C.compile,v=C.inline,y=C.macro}var x=b+".errors",S="i"+s,F="ruleErr"+s,k=C.async;if(k&&!e.async)throw new Error("async keyword in sync schema");if(v||y||(o+=x+" = null;"),o+="var "+p+" = errors;var "+f+";",m&&C.$data&&(E+="}",o+=" if ("+i+" === undefined) { "+f+" = true; } else { ",A&&(E+="}",o+=" "+f+" = "+w+".validateSchema("+i+"); if ("+f+") { ")),v)o+=C.statements?" "+_.validate+" ":" "+f+" = "+_.validate+"; ";else if(y){var D=e.util.copy(e);E="",D.level++;var O="valid"+D.level;D.schema=_.validate,D.schemaPath="";var R=e.compositeRule;e.compositeRule=D.compositeRule=!0;var P=e.validate(D).replace(/validate\.schema/g,b);e.compositeRule=D.compositeRule=R,o+=" "+P}else{(B=B||[]).push(o),o="",o+=" "+b+".call( ",o+=e.opts.passContext?"this":"self",o+=g||!1===C.schema?" , "+d+" ":" , "+i+" , "+d+" , validate.schema"+e.schemaPath+" ",o+=" , (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var T=a?"data"+(a-1||""):"parentData",I=a?e.dataPathArr[a]:"parentDataProperty",L=o+=" , "+T+" , "+I+" , rootData ) ";o=B.pop(),!1===C.errors?(o+=" "+f+" = ",k&&(o+="await "),o+=L+"; "):o+=k?" var "+(x="customErrors"+s)+" = null; try { "+f+" = await "+L+"; } catch (e) { "+f+" = false; if (e instanceof ValidationError) "+x+" = e.errors; else throw e; } ":" "+x+" = null; "+f+" = "+L+"; "}if(C.modifying&&(o+=" if ("+T+") "+d+" = "+T+"["+I+"];"),o+=""+E,C.valid)h&&(o+=" if (true) { ");else{var B;o+=" if ( ",void 0===C.valid?(o+=" !",o+=y?""+O:""+f):o+=" "+!C.valid+" ",r=this.keyword,(B=B||[]).push(o+=") { "),(B=B||[]).push(o=""),o="",!1!==e.createErrors?(o+=" { keyword: '"+(r||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { keyword: '"+this.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var $=o;o=B.pop();var M=o+=!e.compositeRule&&h?e.async?" throw new ValidationError(["+$+"]); ":" validate.errors = ["+$+"]; return false; ":" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";o=B.pop(),v?C.errors?"full"!=C.errors&&(o+=" for (var "+S+"="+p+"; "+S+"1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r0:e.util.schemaHasRules(y,e.RULES.all))&&(r+=" "+p+" = true; if ( "+c+e.util.getProperty(w)+" !== undefined ",v&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(w)+"') "),r+=") { ",d.schema=y,d.schemaPath=a+e.util.getProperty(w),d.errSchemaPath=l+"/"+e.util.escapeFragment(w),r+=" "+e.validate(d)+" ",d.baseId=L,r+=" } ",u&&(r+=" if ("+p+") { ",f+="}"));return u&&(r+=" "+f+" if ("+h+" == errors) {"),e.util.cleanUpCode(r)}},x9bM:function(e,t,n){var r=n("Dhk8"),i=n("tLQN"),o=n("Kkar");e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!o(e)}},xJZM:function(e,t,n){var r=n("zKkv"),i=n("D49j");e.exports=function(e,t){return e&&r(e,i(t))}},xNTf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("lXyA"),i=n("wOka"),o=n("2R+v");t.Once=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0,optionalParams:!0})),t.once=t.Once,t.default=t.Once},xZMv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Bcqe"),i=n("wOka"),o=n("2R+v");t.Throttle=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0,getter:!0,optionalParams:!0})),t.throttle=t.Throttle,t.ThrottleGetter=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{getter:!0,optionalParams:!0})),t.throttleGetter=t.ThrottleGetter,t.ThrottleSetter=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0,optionalParams:!0})),t.throttleSetter=t.ThrottleSetter,t.default=t.Throttle},xnUE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("RNvQ"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator));function a(e,t){return s(e,t)}t.DebounceAll=a,t.debounceAll=a,t.default=s},xoyU:function(e,t,n){var r=n("wxYD"),i=n("i7nn"),o=n("SoOq"),s=n("dw5g");e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(s(e))}},xq3t:function(e){e.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}},"y/9h":function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(j);function G(e){return e}function Q(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),W(G,e)}function Y(e,t){return t?H(e,t):new C(P(e))}function X(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof i&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof C?e[0]:Q(n)(Y(e,r))}function Z(){return function(e){return e.lift(new J(e))}}var J=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new ee(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i},e}(),ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.__extends(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(g),te=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new u).add(this.source.subscribe(new re(this.getSubject(),this))),e.closed&&(this._connection=null,e=u.EMPTY)),e},t.prototype.refCount=function(){return Z()(this)},t}(C).prototype,ne={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:te._subscribe},_isComplete:{value:te._isComplete,writable:!0},getSubject:{value:te.getSubject},connect:{value:te.connect},refCount:{value:te.refCount}},re=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.__extends(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(F);function ie(){return new k}function oe(){return function(e){return Z()((t=ie,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ne);return r.source=e,r.subjectFactory=n,r})(e));var t}}function se(e){for(var t in e)if(e[t]===se)return t;throw Error("Could not find renamed property on target object.")}var ae=se({ngComponentDef:se}),le=se({ngInjectableDef:se}),ue=se({ngInjectorDef:se}),ce=se({ngModuleDef:se}),he=se({__NG_ELEMENT_ID__:se});function de(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fe(e){return e&&e.hasOwnProperty(le)?e[le]:null}function pe(e){return e&&e.hasOwnProperty(ue)?e[ue]:null}var me=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?de({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),ge="__annotations__",ve="__parameters__";function ye(e,t,n,i,o){var s=_e(t);function a(){for(var e,t=[],n=0;n=Xe?n:n[Ne]}function ft(e){return null!==e.template}function pt(e){return e[nt]}function mt(e){var t=pt(e);return t?Array.isArray(t)?t:t.lView:null}function gt(e){return 32767&e}function vt(e,t){for(var n=e>>16,r=t;n>0;)r=r[Ye],n--;return r}var yt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(xe);function _t(e){for(var t=e[Ve];t&&2===t.type;)t=(e=e[Ye])[Ve];return e}var bt,wt,Ct,Et,At=be("Inject",function(e){return{token:e}}),xt=be("Optional"),St=be("Self"),Ft=be("SkipSelf"),kt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({}),Dt=void 0;function Ot(e){var t=Dt;return Dt=e,t}function Rt(e){var t=bt;return bt=e,t}function Pt(e,t){return void 0===t&&(t=kt.Default),(bt||function(e,t){if(void 0===t&&(t=kt.Default),void 0===Dt)throw new Error("inject() must be called from an injection context");return null===Dt?Tt(e,void 0,t):Dt.get(e,t&kt.Optional?null:void 0,t)})(e,t)}function Tt(e,t,n){var r=fe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&kt.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND ["+Re(e)+"]")}function It(e){for(var t=[],n=0;n>16,c=i?a+u:e.directiveEnd,h=r?a:a+u;h=l&&d.type===n)return h}if(i){var f=s[l];if(f&&ft(f)&&f.type===n)return l}return null}(a,t,n,null==r?function(e){return 1==(1&e.flags)}(a)&&tn:r!=s&&3===a.type,i&kt.Host&&o===a);return null!==l?hn(s.data,t,l,a):un}function hn(e,t,n,r){var i,o=t[n];if(null!=(i=o)&&"object"==typeof i&&Object.getPrototypeOf(i)==lt){var s=o;if(s.resolving)throw new Error("Circular dep for "+ut(e[n]));var a=nn(s.canSeeViewProviders);s.resolving=!0;var l=void 0;s.injectImpl&&(l=Rt(s.injectImpl));var u=Vt(),c=Nt();Ht(r,t);try{o=t[n]=s.factory(null,e,t,r)}finally{s.injectImpl&&Rt(l),nn(a),s.resolving=!1,Ht(u,c)}}return o}function dn(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<=Xe&&(n=e[Ve])&&2===n.type?function(t,n){if(-1===t.index){var r=e[Qe];return r>-1?e[Me][r]:null}return e[Me][t.parent.index]}(n):e[Me]===t?null:e[Me]}function Rn(e){if(e.length>=Xe){var t=e;!function(e){var t,n=e[Be];null!=n&&null!=(t=n.destroyHooks)&&jt(e,t)}(t),(i=(r=t)[Be]&&r[Be].pipeDestroyHooks)&&jt(r,i),function(e){var t=e[Be].cleanup;if(null!=t){for(var n=e[He],r=0;r=0?n[s]():n[-s].unsubscribe(),r+=2}else"number"==typeof t[r]?(0,n[t[r]])():t[r].call(n[t[r+1]]);e[He]=null}}(t);var n=t[Ve];n&&3===n.type&&xn(t[qe])&&t[qe].destroy()}var r,i}var Pn="@",Tn=Promise.resolve(null);function In(e){var t=e[Be];if(t.firstTemplatePass=!1,Zt(!1),!Kt(e)){var n=Gt();(function(e,t,n){!n&&32&e[$e]&&(Mt(e,t.initHooks,t.checkHooks,n),e[$e]&=-33)})(e,t,n),function(e){for(var t=Dn(e);null!==t;t=t[je])if(t.length ");else if("object"==typeof t){var i=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];i.push(o+":"+("string"==typeof s?JSON.stringify(s):Re(s)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(fr,"\n ")}function yr(e,t){return new Error(vr(e,t))}var _r=new me("The presence of this token marks an injector as being the root injector."),br={},wr={},Cr=[],Er=void 0;function Ar(){return void 0===Er&&(Er=new ir),Er}var xr=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var i=[];kr([e],function(e){return r.processInjectorType(e,[],i)}),t&&kr(t,function(n){return r.processProvider(n,e,t)}),this.records.set(rr,Fr(void 0,this)),this.isRootInjector=this.records.has(_r),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=nr),void 0===n&&(n=kt.Default),this.assertNotDestroyed();var r,i=Ot(this);try{if(!(n&kt.SkipSelf)){var o=this.records.get(e);if(void 0===o){var s=("function"==typeof(r=e)||"object"==typeof r&&r instanceof me)&&fe(e);s&&this.injectableDefInScope(s)&&(o=Fr(Sr(e),br),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return(n&kt.Self?Ar():this.parent).get(e,t)}finally{Ot(i)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var r=this;if(e=Ie(e)){var i=pe(e),o=null==i&&e.ngModule||void 0,s=void 0===o?e:o,a=-1!==n.indexOf(s),l=void 0!==o&&e.providers||Cr;if(void 0!==o&&(i=pe(o)),null!=i){if(this.injectorDefTypes.add(s),this.records.set(s,Fr(i.factory,br)),null!=i.imports&&!a){n.push(s);try{kr(i.imports,function(e){return r.processInjectorType(e,t,n)})}finally{}}var u=i.providers;if(null!=u&&!a){var c=e;kr(u,function(e){return r.processProvider(e,c,u)})}var h=e.ngModule;kr(l,function(e){return r.processProvider(e,h,l)})}}},e.prototype.processProvider=function(e,t,n){var i=Or(e=Ie(e))?e:Ie(e&&e.provide),o=function(e,t,n){var i=function(e,t,n){var i,o=void 0;if(Or(e))return Sr(Ie(e));if(Dr(e))o=function(){return Ie(e.useValue)};else if((i=e)&&i.useExisting)o=function(){return Pt(Ie(e.useExisting))};else if(e&&e.useFactory)o=function(){return e.useFactory.apply(e,Object(r.__spread)(It(e.deps||[])))};else{var s=Ie(e&&(e.useClass||e.provide));if(!s){var a="";throw t&&n&&(a=" - only instances of Provider and Type are allowed, got: ["+n.map(function(t){return t==e?"?"+e+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Re(t)+"'"+a)}if(!e.deps)return Sr(s);o=function(){return new(s.bind.apply(s,Object(r.__spread)([void 0],It(e.deps))))}}return o}(e,t,n);return Dr(e)?Fr(void 0,e.useValue):Fr(i,br)}(e,t,n);if(Or(e)||!0!==e.multi){var s=this.records.get(i);if(s&&void 0!==s.multi)throw new Error("Mixed multi-provider for "+Re(i))}else{var a=this.records.get(i);if(a){if(void 0===a.multi)throw new Error("Mixed multi-provider for "+i+".")}else(a=Fr(void 0,br,!0)).factory=function(){return It(a.multi)},this.records.set(i,a);i=e,a.multi.push(e)}this.records.set(i,o)},e.prototype.hydrate=function(e,t){if(t.value===wr)throw new Error("Cannot instantiate cyclic dependency! "+Re(e));var n;return t.value===br&&(t.value=wr,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Sr(e){var t=fe(e);if(null===t){var n=pe(e);if(null!==n)return n.factory;if(e instanceof me)throw new Error("Token "+Re(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var r=e.length;if(r>0){var i=new Array(r).fill("?");throw new Error("Can't resolve all parameters for "+Re(e)+": ("+i.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return t.factory}function Fr(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function kr(e,t){e.forEach(function(e){return Array.isArray(e)?kr(e,t):t(e)})}function Dr(e){return e&&"object"==typeof e&&hr in e}function Or(e){return"function"==typeof e}var Rr=function(){return function(){}}(),Pr=function(){return function(){}}();function Tr(e){var t=Error("No component factory found for "+Re(e)+". Did you add it to @NgModule.entryComponents?");return t[Lr]=e,t}var Ir,Lr="ngComponent",Br=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Tr(e)},e}(),$r=function(){function e(){}return e.NULL=new Br,e}(),Mr=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}var t,n;xn(n=(t=this._lView)[qe])&&n.destroyNode&&function(e,n,r,i,o){for(var s=t[Be].node,a=-1,l=t,u=s.child;u;){var c=null;if(3===u.type){kn(2,r,null,ht(u,l),o);var h=l[u.index];m=h,Array.isArray(m)&&m.length===tt&&kn(2,r,null,h[et],o)}else if(0===u.type){var d=l[u.index];kn(2,r,null,d[et],o),d[Je].length&&(c=(l=d[Je][0])[Be].node,o=d[et])}else if(1===u.type){var f=_t(l),p=f[Ve].projection[u.projection];Fn[++a]=u,Fn[++a]=l,p&&(c=(l=f[Me])[Be].data[p.index])}else c=u.child;if(null===c)for(null===u.next&&2&u.flags&&(l=Fn[a--],u=Fn[a--]),c=u.next;!c;){if(null===(u=u.parent||l[Be].node)||u===s)return null;0===u.type&&(o=(l=l[Me])[u.index][et]),c=2===u.type&&l[je]?(l=l[je])[Be].node:u.next}u=c}var m}(0,0,n),function(e){if(-1===e[Be].childIndex)return Rn(e);for(var t=Dn(e);t;){var n=null;if(t.length>=Xe?t[Be].childIndex>-1&&(n=Dn(t)):t[Je].length&&(n=t[Je][0]),null==n){for(;t&&!t[je]&&t!==e;)Rn(t),t=On(t,e);Rn(t||e),n=t&&t[je]}t=n}}(t),t[$e]|=64},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[He]||(e[He]=[])}(t=this._lView).push(n),t[Be].firstTemplatePass&&function(e){return e[Be].cleanup||(e[Be].cleanup=[])}(t).push(t[He].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(;e&&!(128&e[$e]);)e[$e]|=8,e=e[Me];var t,n,r;e[$e]|=8,r=0===(t=e[Ue]).flags,t.flags|=1,r&&t.clean==Tn&&(t.clean=new Promise(function(e){return n=e}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,Un(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=Tn,n(null)}))}(this._lView)},e.prototype.detach=function(){this._lView[$e]&=-17},e.prototype.reattach=function(){this._lView[$e]|=16},e.prototype.detectChanges=function(){Wn(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e){Qt(!0);try{!function(e){Wn(function(e){var t,n=pt(e);if(Array.isArray(n)){var r=function(e,t){var n=e[Be].components;if(n)for(var r=0;r',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

    ',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();bi.hasOwnProperty(t)&&!gi.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(ki(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),Si=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fi=/([^\#-~ |!])/g;function ki(e){return e.replace(/&/g,"&").replace(Si,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Fi,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function Di(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Oi={provide:$r,useClass:Jr,deps:[Nr]},Ri=function(e){function t(t,n){var r=e.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[];var i=function(e,n){var r=t[ce]||null;return r}();return r._bootstrapComponents=i.bootstrap,r._r3Injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Ar(),new xr(e,n,t)}(t,n,[{provide:Nr,useValue:r},Oi]),r.instance=r.get(t),r}return Object(r.__extends)(t,e),t.prototype.get=function(e,t,n){return void 0===t&&(t=or.THROW_IF_NOT_FOUND),void 0===n&&(n=kt.Default),e===or||e===Nr||e===rr?this:this._r3Injector.get(e,t,n)},Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get($r)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Nr);!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}Object(r.__extends)(t,e),t.prototype.create=function(e){return new Ri(this.moduleType,e)}}(Vr);var Pi=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(r.__extends)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var i,o=function(e){return null},s=function(){return null};t&&"object"==typeof t?(i=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(o=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(i=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(o=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=e.prototype.subscribe.call(this,i,o,s);return t instanceof u&&t.add(a),a},t}(k),Ti=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ii(e,Hr)},e}(),Ii=Jn,Li=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Bi=/^url\(([^)]+)\)$/,$i=function(){return function(){}}(),Mi=ye("Component",function(e){return void 0===e&&(e={}),Object(r.__assign)({changeDetection:Ce.Default},e)},ye("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return Ni(e,t)}),void 0,function(e,t){return ji(e,t)}),ji=Jn,Ni=Jn,Vi="ngDebugContext",zi="ngOriginalError",Hi="ngErrorLogger";function Ui(e){return e[Vi]}function Wi(e){return e[zi]}function Ki(e){for(var t=[],n=1;n0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==i}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Do=function(){function e(){this._applications=new Map,Oo.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Oo.findTestabilityInTree(this,e,t)},Object(r.__decorate)([Object(r.__metadata)("design:paramtypes",[])],e)}(),Oo=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),Ro=new me("AllowMultipleToken"),Po=function(){return function(e,t){this.name=e,this.token=t}}();function To(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,i=new me(r);return function(t){void 0===t&&(t=[]);var o=Io();if(!o||o.injector.get(Ro,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var s=n.concat(t).concat({provide:i,useValue:!0});!function(e){if(So&&!So.destroyed&&!So.injector.get(Ro,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");So=e.get(Lo);var t=e.get(to,null);t&&t.forEach(function(e){return e()})}(or.create({providers:s,name:r}))}return function(e){var t=Io();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Io(){return So&&!So.destroyed?So:null}var Lo=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,i="noop"===(n=t?t.ngZone:void 0)?new Fo:("zone.js"===n?void 0:n)||new bo({enableLongStackTrace:li()}),o=[{provide:bo,useValue:i}];return i.run(function(){var t=or.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),s=n.injector.get(qi,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Mo(r._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(e){s.handleError(e)}})}),function(e,t,i){try{var o=((s=n.injector.get(Xi)).runInitializers(),s.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Gi(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(a){throw t.runOutsideAngular(function(){return e.handleError(a)}),a}var s}(s,i)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Bo({},t);return function(e,t,n){return e.get(po).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get($o);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Re(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Bo(e,t){return Array.isArray(t)?t.reduce(Bo,e):Object(r.__assign)({},e,t)}var $o=function(){function e(e,t,n,r,i,o){var s=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=li(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new C(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),l=new C(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){bo.assertNotInAngularZone(),De(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){bo.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=X(a,l.pipe(oe()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Pr?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof jr?null:this._injector.get(Nr),o=n.create(or.NULL,[],t||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var s=o.injector.get(ko,null);return s&&o.injector.get(Do).registerApplication(o.location.nativeElement,s),this._loadComponent(o),li()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,_o(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Mo(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ro,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Mo(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=yo("ApplicationRef#tick()"),e}();function Mo(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var jo=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Pi,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[ke()]=function(){return this._results[ke()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),No=function(){return function(){}}(),Vo={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},zo=function(){function e(e,t){this._compiler=e,this._config=t||Vo}return e.prototype.load=function(e){return this._compiler instanceof fo?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,i=Object(r.__read)(e.split("#"),2),o=i[0],s=i[1];return void 0===s&&(s="default"),n("zn8P")(o).then(function(e){return e[s]}).then(function(e){return Ho(e,o,s)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(r.__read)(e.split("#"),2),i=t[0],o=t[1],s="NgFactory";return void 0===o&&(o="default",s=""),n("zn8P")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[o+s]}).then(function(e){return Ho(e,i,o)})},e}();function Ho(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var Uo,Wo=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ko(e,Hr)},e}(),Ko=Jn,qo=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Go()},e}(),Go=function(){for(var e=[],t=0;t-1}(r)||"root"===i.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:t.token},e._providers[c]=va,e._providers[c]=Ea(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ot(o)}}function Ea(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(Ca(e,n[0]));case 2:return new t(Ca(e,n[0]),Ca(e,n[1]));case 3:return new t(Ca(e,n[0]),Ca(e,n[1]),Ca(e,n[2]));default:for(var o=new Array(i),s=0;s=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,ka(n,t),Ds.dirtyParentQueries(r),Sa(r),r}function xa(e,t,n){var r=t?Gs(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);ra(n,2,i,o,void 0)}function Sa(e){ra(e,3,null,null,void 0)}function Fa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ka(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Da=new Object;function Oa(e,t,n,r,i,o){return new Ra(e,t,n,r,i,o)}var Ra=function(e){function t(t,n,r,i,o,s){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=i,a._outputs=o,a.ngContentSelectors=s,a.viewDefFactory=r,a}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=na(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=Ds.createRootView(e,t||[],n,i,r,Da),a=Ss(s,o).instance;return n&&s.renderer.setAttribute(xs(s,0).renderElement,"ng-version",Zr.full),new Pa(s,new Ba(s),a)},t}(Pr),Pa=function(e){function t(t,n,r){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Hr(xs(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Na(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Rr);function Ta(e,t,n){return new Ia(e,t,n)}var Ia=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Hr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Na(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=qs(e),e=e.parent;return e?new Na(e,t):new Na(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Aa(this._data,e);Ds.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Ba(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,i){var o=n||this.parentInjector;i||e instanceof jr||(i=o.get(Nr));var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,s=e;return o=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=o.length),(i=s._view).viewContainerParent=this._view,Fa(o,r,i),function(e,t){var n=Ks(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,i),Ds.dirtyParentQueries(i),xa(n,r>0?o[r-1]:null,i),s.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,s,a=this._embeddedViews.indexOf(e._view);return i=t,s=(o=(n=this._data).viewContainer._embeddedViews)[r=a],ka(o,r),null==i&&(i=o.length),Fa(o,i,s),Ds.dirtyParentQueries(s),Sa(s),xa(n,i>0?o[i-1]:null,s),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Aa(this._data,e);t&&Ds.destroyView(t)},e.prototype.detach=function(e){var t=Aa(this._data,e);return t?new Ba(t):null},e}();function La(e){return new Ba(e)}var Ba=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return ra(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Hs(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Ds.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Ds.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ds.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Sa(this._view),Ds.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function $a(e,t){return new Ma(e,t)}var Ma=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new Ba(Ds.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Hr(xs(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Ti);function ja(e,t){return new Na(e,t)}var Na=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=or.THROW_IF_NOT_FOUND),Ds.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Ls(e)},t)},e}();function Va(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=xs(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return As(e,n.nodeIndex).renderText;if(20240&n.flags)return Ss(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function za(e){return new Ha(e.renderer)}var Ha=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(r.__read)(ua(t),2),i=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,i),i},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0,i=t.provider;switch(201347067&t.flags){case 512:return ll(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,o){var s=o.length;switch(s){case 0:return i();case 1:return i(cl(e,t,n,o[0]));case 2:return i(cl(e,t,n,o[0]),cl(e,t,n,o[1]));case 3:return i(cl(e,t,n,o[0]),cl(e,t,n,o[1]),cl(e,t,n,o[2]));default:for(var a=Array(s),l=0;l0)u=m,Fl(m)||(c=m);else for(;u&&p===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&Fl(u)?u.renderParent:u}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Ts,updateRenderer:r||Ts,handleEvent:function(e,n,r,i){return t[n].element.handleEvent(e,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function Fl(e){return 0!=(1&e.flags)&&null===e.element.name}function kl(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Dl(e,t,n,r){var i=Pl(e.root,e.renderer,e,t,n);return Tl(i,e.component,r),Il(i),i}function Ol(e,t,n){var r=Pl(e,e.renderer,null,null,t);return Tl(r,n,n),Il(r),r}function Rl(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,Pl(e.root,i,e,t.element.componentProvider,n)}function Pl(e,t,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function Tl(e,t,n){e.component=t,e.context=n}function Il(e){var t;Qs(e)&&(t=xs(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,i=0;i0&&ga(e,t,0,n)&&(f=!0),d>1&&ga(e,t,1,r)&&(f=!0),d>2&&ga(e,t,2,i)&&(f=!0),d>3&&ga(e,t,3,o)&&(f=!0),d>4&&ga(e,t,4,s)&&(f=!0),d>5&&ga(e,t,5,a)&&(f=!0),d>6&&ga(e,t,6,l)&&(f=!0),d>7&&ga(e,t,7,u)&&(f=!0),d>8&&ga(e,t,8,c)&&(f=!0),d>9&&ga(e,t,9,h)&&(f=!0),f}(e,t,n,r,i,o,s,a,l,u,c,h);case 2:return function(e,t,n,r,i,o,s,a,l,u,c,h){var d=!1,f=t.bindings,p=f.length;if(p>0&&Vs(e,t,0,n)&&(d=!0),p>1&&Vs(e,t,1,r)&&(d=!0),p>2&&Vs(e,t,2,i)&&(d=!0),p>3&&Vs(e,t,3,o)&&(d=!0),p>4&&Vs(e,t,4,s)&&(d=!0),p>5&&Vs(e,t,5,a)&&(d=!0),p>6&&Vs(e,t,6,l)&&(d=!0),p>7&&Vs(e,t,7,u)&&(d=!0),p>8&&Vs(e,t,8,c)&&(d=!0),p>9&&Vs(e,t,9,h)&&(d=!0),d){var m=t.text.prefix;p>0&&(m+=xl(n,f[0])),p>1&&(m+=xl(r,f[1])),p>2&&(m+=xl(i,f[2])),p>3&&(m+=xl(o,f[3])),p>4&&(m+=xl(s,f[4])),p>5&&(m+=xl(a,f[5])),p>6&&(m+=xl(l,f[6])),p>7&&(m+=xl(u,f[7])),p>8&&(m+=xl(c,f[8])),p>9&&(m+=xl(h,f[9]));var g=As(e,t.nodeIndex).renderText;e.renderer.setValue(g,m)}return d}(e,t,n,r,i,o,s,a,l,u,c,h);case 16384:return function(e,t,n,r,i,o,s,a,l,u,c,h){var d=Ss(e,t.nodeIndex),f=d.instance,p=!1,m=void 0,g=t.bindings.length;return g>0&&Ns(e,t,0,n)&&(p=!0,m=dl(e,d,t,0,n,m)),g>1&&Ns(e,t,1,r)&&(p=!0,m=dl(e,d,t,1,r,m)),g>2&&Ns(e,t,2,i)&&(p=!0,m=dl(e,d,t,2,i,m)),g>3&&Ns(e,t,3,o)&&(p=!0,m=dl(e,d,t,3,o,m)),g>4&&Ns(e,t,4,s)&&(p=!0,m=dl(e,d,t,4,s,m)),g>5&&Ns(e,t,5,a)&&(p=!0,m=dl(e,d,t,5,a,m)),g>6&&Ns(e,t,6,l)&&(p=!0,m=dl(e,d,t,6,l,m)),g>7&&Ns(e,t,7,u)&&(p=!0,m=dl(e,d,t,7,u,m)),g>8&&Ns(e,t,8,c)&&(p=!0,m=dl(e,d,t,8,c,m)),g>9&&Ns(e,t,9,h)&&(p=!0,m=dl(e,d,t,9,h,m)),m&&f.ngOnChanges(m),65536&t.flags&&Es(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,i,o,s,a,l,u,c,h);case 32:case 64:case 128:return function(e,t,n,r,i,o,s,a,l,u,c,h){var d=t.bindings,f=!1,p=d.length;if(p>0&&Vs(e,t,0,n)&&(f=!0),p>1&&Vs(e,t,1,r)&&(f=!0),p>2&&Vs(e,t,2,i)&&(f=!0),p>3&&Vs(e,t,3,o)&&(f=!0),p>4&&Vs(e,t,4,s)&&(f=!0),p>5&&Vs(e,t,5,a)&&(f=!0),p>6&&Vs(e,t,6,l)&&(f=!0),p>7&&Vs(e,t,7,u)&&(f=!0),p>8&&Vs(e,t,8,c)&&(f=!0),p>9&&Vs(e,t,9,h)&&(f=!0),f){var m=Fs(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(d.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=i),p>3&&(g[3]=o),p>4&&(g[4]=s),p>5&&(g[5]=a),p>6&&(g[6]=l),p>7&&(g[7]=u),p>8&&(g[8]=c),p>9&&(g[9]=h);break;case 64:g={},p>0&&(g[d[0].name]=n),p>1&&(g[d[1].name]=r),p>2&&(g[d[2].name]=i),p>3&&(g[d[3].name]=o),p>4&&(g[d[4].name]=s),p>5&&(g[d[5].name]=a),p>6&&(g[d[6].name]=l),p>7&&(g[d[7].name]=u),p>8&&(g[d[8].name]=c),p>9&&(g[d[9].name]=h);break;case 128:var v=n;switch(p){case 1:g=v.transform(n);break;case 2:g=v.transform(r);break;case 3:g=v.transform(r,i);break;case 4:g=v.transform(r,i,o);break;case 5:g=v.transform(r,i,o,s);break;case 6:g=v.transform(r,i,o,s,a);break;case 7:g=v.transform(r,i,o,s,a,l);break;case 8:g=v.transform(r,i,o,s,a,l,u);break;case 9:g=v.transform(r,i,o,s,a,l,u,c);break;case 10:g=v.transform(r,i,o,s,a,l,u,c,h)}}m.value=g}return f}(e,t,n,r,i,o,s,a,l,u,c,h);default:throw"unreachable"}}(e,t,i,o,s,a,l,u,c,h,d,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i0&&zs(e,t,0,n),d>1&&zs(e,t,1,r),d>2&&zs(e,t,2,i),d>3&&zs(e,t,3,o),d>4&&zs(e,t,4,s),d>5&&zs(e,t,5,a),d>6&&zs(e,t,6,l),d>7&&zs(e,t,7,u),d>8&&zs(e,t,8,c),d>9&&zs(e,t,9,h)}(e,t,r,i,o,s,a,l,u,c,h,d):function(e,t,n){for(var r=0;r0){var o=new Set(e.modules);nu.forEach(function(t,r){if(o.has(fe(r).providedIn)){var i={token:r,flags:t.flags|(n?4096:0),deps:Js(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[Ls(r)]=i}})}}(e=e.factory(function(){return Ts})),e):e}(r))}var tu=new Map,nu=new Map,ru=new Map;function iu(e){var t;tu.set(e.token,e),"function"==typeof e.token&&(t=fe(e.token))&&"function"==typeof t.providedIn&&nu.set(e.token,e)}function ou(e,t){var n=na(t.viewDefFactory),r=na(n.nodes[0].element.componentView);ru.set(e,r)}function su(){tu.clear(),nu.clear(),ru.clear()}function au(e){if(0===tu.size)return e;var t=function(e){for(var t=[],n=null,r=0;r0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=ju.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+ju.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+ju.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}($u),zu=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(r.__extends)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return ju.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+ju.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+ju.normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+ju.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}($u),Hu=void 0,Uu=["en",[["a","p"],["AM","PM"],Hu],[["AM","PM"],Hu,Hu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Hu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Hu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Hu,"{1} 'at' {0}",Hu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Wu={},Ku=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),qu=new me("UseV4Plurals"),Gu=function(){return function(){}}(),Qu=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(r.__extends)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=Wu[t];if(n)return n;var r=t.split("-")[0];if(n=Wu[r])return n;if("en"===r)return Uu;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case Ku.Zero:return"zero";case Ku.One:return"one";case Ku.Two:return"two";case Ku.Few:return"few";case Ku.Many:return"many";default:return"other"}},t}(Gu);function Yu(e,t){var n,i;t=encodeURIComponent(t);try{for(var o=Object(r.__values)(e.split(";")),s=o.next();!s.done;s=o.next()){var a=s.value,l=a.indexOf("="),u=Object(r.__read)(-1==l?[a,""]:[a.slice(0,l),a.slice(l+1)],2),c=u[1];if(u[0].trim()===t)return decodeURIComponent(c)}}catch(h){n={error:h}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null}var Xu=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(wn(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Re(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},e}(),Zu=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),Ju=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){li()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new Zu(null,t._ngForOf,-1,-1),i),s=new ec(e,o);n.push(s)}else null==i?t._viewContainer.remove(r):(o=t._viewContainer.get(r),t._viewContainer.move(o,i),s=new ec(e,o),n.push(s))});for(var r=0;r0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(e?Rc(function(t,n){return e(t,n,r)}):G,Bc(1),n?Hc(t):jc(function(){return new Ec}))}}function qc(e){return function(t){var n=new Gc(e),r=t.lift(n);return n.caught=r}}var Gc=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Qc(e,this.selector,this.caught))},e}(),Qc=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return r.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(i){return void e.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new R(this,void 0,void 0);this.add(r),M(this,n,void 0,void 0,r)}},t}(j);function Yc(e){return function(t){return 0===e?kc():t.lift(new Xc(e))}}var Xc=function(){function e(e){if(this.total=e,this.total<0)throw new Lc}return e.prototype.call=function(e,t){return t.subscribe(new Zc(e,this.total))},e}(),Zc=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return r.__extends(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(g);function Jc(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Rc(function(t,n){return e(t,n,r)}):G,Yc(1),n?Hc(t):jc(function(){return new Ec}))}}var eh=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new th(e,this.predicate,this.thisArg,this.source))},e}(),th=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.__extends(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(g);function nh(e,t){return"function"==typeof t?function(n){return n.pipe(nh(function(n,r){return U(e(n,r)).pipe(N(function(e,i){return t(n,e,r,i)}))}))}:function(t){return t.lift(new rh(e))}}var rh=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new ih(e,this.project))},e}(),ih=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return r.__extends(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new R(this,void 0,void 0);this.destination.add(i),this.innerSubscription=M(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t}(j);function oh(){for(var e=[],t=0;t=2&&(n=!0),function(r){return r.lift(new lh(e,t,n))}}var lh=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new uh(e,this.accumulator,this.seed,this.hasSeed))},e}(),uh=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.__extends(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(g);function ch(e,t){return W(e,t,1)}function hh(e,t,n){return function(r){return r.lift(new dh(e,t,n))}}var dh=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new fh(e,this.nextOrObserver,this.error,this.complete))},e}(),fh=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._tapNext=_,o._tapError=_,o._tapComplete=_,o._tapError=r||_,o._tapComplete=i||_,s(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||_,o._tapError=n.error||_,o._tapComplete=n.complete||_),o}return r.__extends(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(g);function ph(e){return function(t){return t.lift(new mh(e))}}var mh=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new gh(e,this.callback))},e}(),gh=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new u(n)),r}return r.__extends(t,e),t}(g),vh=null;function yh(){return vh}var _h,bh={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},wh={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ch={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};xe.Node&&(_h=xe.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var Eh,Ah=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,vh||(vh=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var i;(i=e)[t].apply(i,Object(r.__spread)(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return bh},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return _h.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;s||(s=e[o]=[]);var l=id(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:l,handler:i});else{for(var u=!1,c=0;c-1},t}($h),dd=["alt","control","meta","shift"],fd={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},pd=function(e){function t(t){return e.call(this,t)||this}var n;return Object(r.__extends)(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var i=n.parseEventName(t),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return yh().onAndCancel(e,i.domEventName,o)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(dd.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=i,0!=t.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},t.getEventFullKey=function(e){var t="",n=yh().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),dd.forEach(function(r){r!=n&&(0,fd[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded(function(){return t(i)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}($h),md=function(){return function(){}}(),gd=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(r.__extends)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Yr.NONE:return t;case Yr.HTML:return t instanceof yd?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{mi=mi||new ui(e);var r=t?String(t):"";n=mi.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=mi.getInertBodyElement(r)}while(r!==o);var s=new xi,a=s.sanitizeChildren(Di(n)||n);return li()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var l=Di(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(t)));case Yr.STYLE:return t instanceof _d?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Bi);return t&&di(t[1])===t[1]||e.match(Li)&&function(e){for(var t=!0,n=!0,r=0;re.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length0?e[e.length-1]:null}function of(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function sf(e){return Qi(e)?e:Gi(e)?U(Promise.resolve(e)):bc(e)}function af(e,t,n){return n?function(e,t){return tf(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!hf(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!hf(s=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!hf(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!e(n.children[o],r.children[o]))return!1}return!0}var s=i.slice(0,n.segments.length),a=i.slice(n.segments.length);return!!hf(n.segments,s)&&!!n.children[Ud]&&t(n.children[Ud],r,a)}(t,n,n.segments)}(e.root,t.root)}var lf=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Kd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return mf.serialize(this)},e}(),uf=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,of(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return gf(this)},e}(),cf=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Kd(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Cf(this)},e}();function hf(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function df(e,t){var n=[];return of(e.children,function(e,r){r===Ud&&(n=n.concat(t(e,r)))}),of(e.children,function(e,r){r!==Ud&&(n=n.concat(t(e,r)))}),n}var ff=function(){return function(){}}(),pf=function(){function e(){}return e.prototype.parse=function(e){var t=new Ff(e);return new lf(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return gf(t);if(n){var r=t.children[Ud]?e(t.children[Ud],!1):"",i=[];return of(t.children,function(t,n){n!==Ud&&i.push(n+":"+e(t,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=df(t,function(n,r){return r===Ud?[e(t.children[Ud],!1)]:[r+":"+e(n,!1)]});return gf(t)+"/("+o.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return yf(e)+"="+yf(t)}).join("&"):yf(e)+"="+yf(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),mf=new pf;function gf(e){return e.segments.map(function(e){return Cf(e)}).join("/")}function vf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yf(e){return vf(e).replace(/%3B/gi,";")}function _f(e){return vf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function bf(e){return decodeURIComponent(e)}function wf(e){return bf(e.replace(/\+/g,"%20"))}function Cf(e){return""+_f(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+_f(e)+"="+_f(t[e])}).join(""));var t}var Ef=/^[^\/()?;=#]+/;function Af(e){var t=e.match(Ef);return t?t[0]:""}var xf=/^[^=?&#]+/,Sf=/^[^?&#]+/,Ff=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new uf([],{}):new uf([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Ud]=new uf(e,t)),n},e.prototype.parseSegment=function(){var e=Af(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new cf(bf(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Af(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Af(this.remaining);r&&this.capture(n=r)}e[bf(t)]=bf(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(xf))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(Sf);return t?t[0]:""}(this.remaining);i&&this.capture(r=i)}var o=wf(n),s=wf(r);if(e.hasOwnProperty(o)){var a=e[o];Array.isArray(a)||(e[o]=a=[a]),a.push(s)}else e[o]=s}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Af(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=Ud);var o=this.parseChildren();t[i]=1===Object.keys(o).length?o[Ud]:new uf([],o),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),kf=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Df(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Df(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Of(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return Of(e,this._root).map(function(e){return e.value})},e}();function Df(e,t){var n,i;if(e===t.value)return t;try{for(var o=Object(r.__values)(t.children),s=o.next();!s.done;s=o.next()){var a=Df(e,s.value);if(a)return a}}catch(l){n={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null}function Of(e,t){var n,i;if(e===t.value)return[t];try{for(var o=Object(r.__values)(t.children),s=o.next();!s.done;s=o.next()){var a=Of(e,s.value);if(a.length)return a.unshift(t),a}}catch(l){n={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return[]}var Rf=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Pf(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Tf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,jf(r,t),r}return Object(r.__extends)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(kf);function If(e,t){var n=function(e,t){var n=new $f([],{},{},"",{},Ud,t,null,e.root,-1,{});return new Mf("",new Rf(n,[]))}(e,t),r=new wc([new cf("",{})]),i=new wc({}),o=new wc({}),s=new wc({}),a=new wc(""),l=new Lf(r,i,s,a,o,Ud,t,n.root);return l.snapshot=n.root,new Tf(new Rf(l,[]),n)}var Lf=function(){function e(e,t,n,r,i,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(N(function(e){return Kd(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(N(function(e){return Kd(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function Bf(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var o=n[i],s=n[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(s.component)break;i--}}return function(e){return e.reduce(function(e,t){return{params:Object(r.__assign)({},e.params,t.params),data:Object(r.__assign)({},e.data,t.data),resolve:Object(r.__assign)({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var $f=function(){function e(e,t,n,r,i,o,s,a,l,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Kd(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Kd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Mf=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,jf(r,n),r}return Object(r.__extends)(t,e),t.prototype.toString=function(){return Nf(this._root)},t}(kf);function jf(e,t){t.value._routerState=e,t.children.forEach(function(t){return jf(e,t)})}function Nf(e){var t=e.children.length>0?" { "+e.children.map(Nf).join(", ")+" } ":"";return""+e.value+t}function Vf(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,tf(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),tf(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&Hf(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==rf(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),Kf=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function qf(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[Ud]:""+e}function Gf(e,t,n){if(e||(e=new uf([],{})),0===e.segments.length&&e.hasChildren())return Qf(e,t,n);var r=function(e,t,n){for(var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var s=e.segments[i],a=qf(n[r]),l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Jf(a,l,s))return o;r+=2}else{if(!Jf(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new uf([],((r={})[Ud]=e,r)):e;return new lf(i,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(N(function(e){return new uf([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return bc({});var o=[],s=[],a={};return of(n,function(n,i){var l,u,c=(l=i,u=n,r.expandSegmentGroup(e,t,u,l)).pipe(N(function(e){return a[i]=e}));i===Ud?o.push(c):s.push(c)}),bc.apply(null,o.concat(s)).pipe(Oc(),Kc(),N(function(){return a}))}(n.children)},e.prototype.expandSegment=function(e,t,n,i,o,s){var a=this;return bc.apply(void 0,Object(r.__spread)(n)).pipe(N(function(r){return a.expandSegmentAgainstRoute(e,t,n,r,i,o,s).pipe(qc(function(e){if(e instanceof ip)return bc(null);throw e}))}),Oc(),Jc(function(e){return!!e}),qc(function(e,n){if(e instanceof Ec||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,i,o))return bc(new uf([],{}));throw new ip(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,i,o,s){return fp(r)!==o?sp(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):sp(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ap(o):this.lineralizeSegments(n,o).pipe(W(function(n){var o=new uf(n,{});return i.expandSegment(e,o,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){var s=this,a=cp(t,r,i),l=a.consumedSegments,u=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return sp(t);var h=this.applyRedirectCommands(l,r.redirectTo,c);return r.redirectTo.startsWith("/")?ap(h):this.lineralizeSegments(r,h).pipe(W(function(r){return s.expandSegment(e,t,n,r.concat(i.slice(u)),o,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,i){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(N(function(e){return n._loadedConfig=e,new uf(i,{})})):bc(new uf(i,{}));var s=cp(t,n,i),a=s.consumedSegments,l=s.lastChild;if(!s.matched)return sp(t);var u=i.slice(l);return this.getChildConfig(e,n,i).pipe(W(function(e){var n=e.module,i=e.routes,s=function(e,t,n,i){return n.length>0&&function(e,t,n){return i.some(function(n){return dp(e,t,n)&&fp(n)!==Ud})}(e,n)?{segmentGroup:hp(new uf(t,function(e,t){var n,i,o={};o[Ud]=t;try{for(var s=Object(r.__values)(e),a=s.next();!a.done;a=s.next()){var l=a.value;""===l.path&&fp(l)!==Ud&&(o[fp(l)]=new uf([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o}(i,new uf(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return i.some(function(n){return dp(e,t,n)})}(e,n)?{segmentGroup:hp(new uf(e.segments,function(e,t,n,i){var o,s,a={};try{for(var l=Object(r.__values)(n),u=l.next();!u.done;u=l.next()){var c=u.value;dp(e,t,c)&&!i[fp(c)]&&(a[fp(c)]=new uf([],{}))}}catch(h){o={error:h}}finally{try{u&&!u.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}return Object(r.__assign)({},i,a)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,a,u,i),l=s.segmentGroup,c=s.slicedSegments;return 0===c.length&&l.hasChildren()?o.expandChildren(n,i,l).pipe(N(function(e){return new uf(a,e)})):0===i.length&&0===c.length?bc(new uf(a,{})):o.expandSegment(n,l,i,c,Ud,!0).pipe(N(function(e){return new uf(a.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t,n){var r=this;return t.children?bc(new Yd(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?bc(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?U(i).pipe(N(function(r){var i,o=e.get(r);if(function(e){return e&&np(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!np(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return sf(i)})).pipe(Oc(),(r=function(e){return!0===e},function(e){return e.lift(new eh(r,void 0,e))})):bc(!0)}(e.injector,t,n).pipe(W(function(n){return n?r.configLoader.load(e.injector,t).pipe(N(function(e){return t._loadedConfig=e,e})):function(e){return new C(function(t){return t.error(Gd("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))})}(t)})):bc(new Yd([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return bc(n);if(r.numberOfChildren>1||!r.children[Ud])return lp(e.redirectTo);r=r.children[Ud]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new lf(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return of(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var i=this,o=this.createSegments(e,t.segments,n,r),s={};return of(t.children,function(t,o){s[o]=i.createSegmentGroup(e,t,n,r)}),new uf(o,s)},e.prototype.createSegments=function(e,t,n,r){var i=this;return t.map(function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,i,o=0;try{for(var s=Object(r.__values)(t),a=s.next();!a.done;a=s.next()){var l=a.value;if(l.path===e.path)return t.splice(o),l;o++}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return e},e}();function cp(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||Qd)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function hp(e){if(1===e.numberOfChildren&&e.children[Ud]){var t=e.children[Ud];return new uf(e.segments.concat(t.segments),t.children)}return e}function dp(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function fp(e){return e.outlet||Ud}var pp=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),mp=function(){return function(e,t){this.component=e,this.route=t}}();function gp(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function vp(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=Pf(t);return e.children.forEach(function(e){!function(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!hf(e.url,t.url);case"pathParamsOrQueryParamsChange":return!hf(e.url,t.url)||!tf(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zf(e,t)||!tf(e.queryParams,t.queryParams);case"paramsChange":default:return!zf(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new pp(r)):(o.data=s.data,o._resolvedData=s._resolvedData),vp(e,t,o.component?a?a.children:null:n,r,i),l&&i.canDeactivateChecks.push(new mp(a&&a.outlet&&a.outlet.component||null,s))}else s&&yp(t,a,i),i.canActivateChecks.push(new pp(r)),vp(e,null,o.component?a?a.children:null:n,r,i)}(e,o[e.value.outlet],n,r.concat([e.value]),i),delete o[e.value.outlet]}),of(o,function(e,t){return yp(e,n.getContext(t),i)}),i}function yp(e,t,n){var r=Pf(e),i=e.value;of(r,function(e,r){yp(e,i.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new mp(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var _p=Symbol("INITIAL_VALUE");function bp(){return nh(function(e){return(function(){for(var e=[],t=0;t0?rf(n).parameters:{};o=new $f(n,l,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,Pp(e),i,e.component,e,Fp(t),kp(t)+n.length,Tp(e))}else{var u=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new xp;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(t.matcher||Qd)(n,e,t);if(!i)throw new xp;var o={};of(i.posParams,function(e,t){o[t]=e.path});var s=i.consumed.length>0?Object(r.__assign)({},o,i.consumed[i.consumed.length-1].parameters):o;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s}}(t,e,n);s=u.consumedSegments,a=n.slice(u.lastChild),o=new $f(s,u.parameters,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,Pp(e),i,e.component,e,Fp(t),kp(t)+s.length,Tp(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),h=Dp(t,s,a,c,this.relativeLinkResolution),d=h.segmentGroup,f=h.slicedSegments;if(0===f.length&&d.hasChildren()){var p=this.processChildren(c,d);return[new Rf(o,p)]}if(0===c.length&&0===f.length)return[new Rf(o,[])];var m=this.processSegment(c,d,f,Ud);return[new Rf(o,m)]},e}();function Fp(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function kp(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Dp(e,t,n,i,o){if(n.length>0&&function(e,t,n){return i.some(function(n){return Op(e,t,n)&&Rp(n)!==Ud})}(e,n)){var s=new uf(t,function(e,t,n,i){var o,s,a={};a[Ud]=i,i._sourceSegment=e,i._segmentIndexShift=t.length;try{for(var l=Object(r.__values)(n),u=l.next();!u.done;u=l.next()){var c=u.value;if(""===c.path&&Rp(c)!==Ud){var h=new uf([],{});h._sourceSegment=e,h._segmentIndexShift=t.length,a[Rp(c)]=h}}}catch(d){o={error:d}}finally{try{u&&!u.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}return a}(e,t,i,new uf(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return i.some(function(n){return Op(e,t,n)})}(e,n)){var a=new uf(e.segments,function(e,t,n,i,o,s){var a,l,u={};try{for(var c=Object(r.__values)(i),h=c.next();!h.done;h=c.next()){var d=h.value;if(Op(e,n,d)&&!o[Rp(d)]){var f=new uf([],{});f._sourceSegment=e,f._segmentIndexShift="legacy"===s?e.segments.length:t.length,u[Rp(d)]=f}}}catch(p){a={error:p}}finally{try{h&&!h.done&&(l=c.return)&&l.call(c)}finally{if(a)throw a.error}}return Object(r.__assign)({},o,u)}(e,t,n,i,e.children,o));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var l=new uf(e.segments,e.children);return l._sourceSegment=e,l._segmentIndexShift=t.length,{segmentGroup:l,slicedSegments:n}}function Op(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Rp(e){return e.outlet||Ud}function Pp(e){return e.data||{}}function Tp(e){return e.resolve||{}}function Ip(e,t,n,r){var i=gp(e,t,r);return sf(i.resolve?i.resolve(t,n):i(t,n))}function Lp(e){return function(t){return t.pipe(nh(function(t){var n=e(t);return n?U(n).pipe(N(function(){return t})):U([t])}))}}var Bp=function(){return function(){}}(),$p=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),Mp=new me("ROUTES"),jp=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(N(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new Yd(nf(i.injector.get(Mp)).map(ef),i)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?U(this.loader.load(e)):sf(e()).pipe(W(function(e){return e instanceof Vr?bc(e):U(t.compiler.compileModuleAsync(e))}))},e}(),Np=function(){return function(){}}(),Vp=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function zp(e){throw e}function Hp(e,t,n){return t.parse("/")}function Up(e,t){return bc(null)}var Wp=function(){function e(e,t,n,r,i,o,s,a){var l=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new k,this.errorHandler=zp,this.malformedUriErrorHandler=Hp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Up,afterPreactivation:Up},this.urlHandlingStrategy=new Vp,this.routeReuseStrategy=new $p,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(Nr),this.console=i.get(io);var u=i.get(bo);this.isNgZoneEnabled=u instanceof bo,this.resetConfig(a),this.currentUrlTree=new lf(new uf([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new jp(o,s,function(e){return l.triggerEvent(new Bd(e))},function(e){return l.triggerEvent(new $d(e))}),this.routerState=If(this.currentUrlTree,this.rootComponentType),this.transitions=new wc({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(Rc(function(e){return 0!==e.id}),N(function(e){return Object(r.__assign)({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),nh(function(e){var i,o,s,a=!1,l=!1;return bc(e).pipe(hh(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object(r.__assign)({},t.lastSuccessfulNavigation,{previousNavigation:null}):null}}),nh(function(e){var i,o,s,a,l=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||l)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return bc(e).pipe(nh(function(e){var r=t.transitions.getValue();return n.next(new Fd(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?Fc:[e]}),nh(function(e){return Promise.resolve(e)}),(i=t.ngModule.injector,o=t.configLoader,s=t.urlSerializer,a=t.config,function(e){return e.pipe(nh(function(e){return function(t,n,r,i,o){return new up(t,n,r,e.extractedUrl,o).apply()}(i,o,s,0,a).pipe(N(function(t){return Object(r.__assign)({},e,{urlAfterRedirects:t})}))}))}),hh(function(e){t.currentNavigation=Object(r.__assign)({},t.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,n,i,o,s){return function(i){return i.pipe(W(function(i){return function(e,t,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new Sp(e,t,n,r,i,o).recognize()}(e,n,i.urlAfterRedirects,(a=i.urlAfterRedirects,t.serializeUrl(a)),o,s).pipe(N(function(e){return Object(r.__assign)({},i,{targetSnapshot:e})}));var a}))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),hh(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id),t.browserUrlTree=e.urlAfterRedirects)}),hh(function(e){var r=new Rd(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)}));if(l&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.extractedUrl,c=e.source,h=e.restoredState,d=e.extras,f=new Fd(e.id,t.serializeUrl(u),c,h);n.next(f);var p=If(u,t.rootComponentType).snapshot;return bc(Object(r.__assign)({},e,{targetSnapshot:p,urlAfterRedirects:u,extras:Object(r.__assign)({},d,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,e.resolve(null),Fc}),Lp(function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),hh(function(e){var n=new Pd(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),N(function(e){return Object(r.__assign)({},e,{guards:(n=e.targetSnapshot,i=e.currentSnapshot,o=t.rootContexts,s=n._root,vp(s,i?i._root:null,o,[s.value]))});var n,i,o,s}),function(e,t){return function(n){return n.pipe(W(function(n){var i=n.targetSnapshot,o=n.currentSnapshot,s=n.guards,a=s.canActivateChecks,l=s.canDeactivateChecks;return 0===l.length&&0===a.length?bc(Object(r.__assign)({},n,{guardsResult:!0})):function(e,t,n,r){return U(l).pipe(W(function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?bc(o.map(function(o){var s,a=gp(o,t,i);if(function(e){return e&&np(e.canDeactivate)}(a))s=sf(a.canDeactivate(e,t,n,r));else{if(!np(a))throw new Error("Invalid CanDeactivate guard");s=sf(a(e,t,n,r))}return s.pipe(Jc())})).pipe(bp()):bc(!0)}(e.component,e.route,n,t,r)}),Jc(function(e){return!0!==e},!0))}(0,i,o,e).pipe(W(function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return U(a).pipe(ch(function(t){return U([Cp(t.route.parent,r),wp(t.route,r),Ap(e,t.path,n),Ep(e,t.route,n)]).pipe(Oc(),Jc(function(e){return!0!==e},!0))}),Jc(function(e){return!0!==e},!0))}(i,0,e,t):bc(n)}),N(function(e){return Object(r.__assign)({},n,{guardsResult:e})}))}))}}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),hh(function(e){if(rp(e.guardsResult)){var n=Gd('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}}),hh(function(e){var n=new Td(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)}),Rc(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new Dd(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0}),Lp(function(e){if(e.guards.canActivateChecks.length)return bc(e).pipe(hh(function(e){var n=new Id(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(n=t.paramsInheritanceStrategy,i=t.ngModule.injector,function(e){return e.pipe(W(function(e){var t=e.targetSnapshot,o=e.guards.canActivateChecks;return o.length?U(o).pipe(ch(function(e){return function(e,n,i,o){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return bc({});if(1===i.length){var o=i[0];return Ip(e[o],t,n,r).pipe(N(function(e){var t;return(t={})[o]=e,t}))}var s={};return U(i).pipe(W(function(i){return Ip(e[i],t,n,r).pipe(N(function(e){return s[i]=e,e}))})).pipe(Kc(),N(function(){return s}))}(e._resolve,e,t,o).pipe(N(function(t){return e._resolvedData=t,e.data=Object(r.__assign)({},e.data,Bf(e,i).resolve),null}))}(e.route,0,n,i)}),function(e,t){return arguments.length>=2?function(t){return b(ah(e,void 0),Bc(1),Hc(void 0))(t)}:function(t){return b(ah(function(t,n,r){return e(t)}),Bc(1))(t)}}(function(e,t){return e}),N(function(t){return e})):bc(e)}))}),hh(function(e){var n=new Ld(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}));var n,i}),Lp(function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),N(function(e){var n,i,o,s=(o=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){(u=i.value)._futureSnapshot=n.value;var o=function(t,n,i){return n.children.map(function(n){var o,s;try{for(var a=Object(r.__values)(i.children),l=a.next();!l.done;l=a.next()){var u=l.value;if(t.shouldReuseRoute(u.value.snapshot,n.value))return e(t,n,u)}}catch(c){o={error:c}}finally{try{l&&!l.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}return e(t,n)})}(t,n,i);return new Rf(u,o)}var s=t.retrieve(n.value);if(s){var a=s.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;ra;){if(l-=a,!(s=s.parent))throw new Error("Invalid number of '../'");a=s.segments.length}return new Kf(s,!1,a-l)}()}(s,0,e),l=a.processChildren?Qf(a.segmentGroup,a.index,s.commands):Gf(a.segmentGroup,a.index,s.commands);return Uf(a.segmentGroup,l,t,i,o)}(u,this.currentUrlTree,e,h,c)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),li()&&this.isNgZoneEnabled&&!bo.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=rp(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=(i=t.flush.bind(t,null),o=Xm++,Zm[o]=i,Promise.resolve().then(function(){return function(e){var t=Zm[e];t&&t()}(o)}),o)));var i,o},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(delete Zm[n],t.scheduled=void 0)},t}(Jm),tg=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}(),ng=function(e){function t(n,r){void 0===r&&(r=tg.now);var i=e.call(this,n,function(){return t.delegate&&t.delegate!==i?t.delegate.now():r()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return r.__extends(t,e),t.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,i):e.prototype.schedule.call(this,n,r,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(tg),rg=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r-1&&n!==t._activeItemIndex&&(t._activeItemIndex=n)}})}return e.prototype.skipPredicate=function(e){return this._skipPredicateFn=e,this},e.prototype.withWrap=function(e){return void 0===e&&(e=!0),this._wrap=e,this},e.prototype.withVerticalOrientation=function(e){return void 0===e&&(e=!0),this._vertical=e,this},e.prototype.withHorizontalOrientation=function(e){return this._horizontal=e,this},e.prototype.withAllowedModifierKeys=function(e){return this._allowedModifierKeys=e,this},e.prototype.withTypeAhead=function(e){var t=this;if(void 0===e&&(e=200),this._items.length&&this._items.some(function(e){return"function"!=typeof e.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(hh(function(e){return t._pressedLetters.push(e)}),mg(e),Rc(function(){return t._pressedLetters.length>0}),N(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var n=t._getItemsArray(),r=1;r-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||fg(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()},Object.defineProperty(e.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),e.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},e.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},e.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},e.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},e.prototype.updateActiveItem=function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n},e.prototype.updateActiveItemIndex=function(e){this.updateActiveItem(e)},e.prototype._setActiveItemByDelta=function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)},e.prototype._setActiveInWrapMode=function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}},e.prototype._setActiveInDefaultMode=function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)},e.prototype._setActiveItemByIndex=function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}},e.prototype._getItemsArray=function(){return this._items instanceof jo?this._items.toArray():this._items},e}(),Pg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.setActiveItem=function(t){this.activeItem&&this.activeItem.setInactiveStyles(),e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.setActiveStyles()},t}(Rg),Tg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._origin="program",t}return Object(r.__extends)(t,e),t.prototype.setFocusOrigin=function(e){return this._origin=e,this},t.prototype.setActiveItem=function(t){e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.focus(this._origin)},t}(Rg),Ig=new me("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Lg=function(){function e(e,t,n){this._ngZone=t,this._document=n,this._liveElement=e||this._createLiveElement()}return e.prototype.announce=function(e){for(var t,n,r=this,i=[],o=1;o0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new Av(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(bv.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.scheduleNotification(bv.createComplete()),this.unsubscribe()},t}(g),Av=function(){return function(e,t){this.time=e,this.notification=t}}();function xv(e,t,n,r){return s(n)&&(r=n,n=void 0),r?xv(e,t,n).pipe(N(function(e){return i(e)?r.apply(void 0,e):r(e)})):new C(function(r){!function e(t,n,r,i,o){var s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var a=t;t.addEventListener(n,r,o),s=function(){return a.removeEventListener(n,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var l=t;t.on(n,r),s=function(){return l.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(n,r),s=function(){return u.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,h=t.length;c1?Array.prototype.slice.call(arguments):e)},r,n)})}var Sv=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new Fv(e,this.compare,this.keySelector))},e}(),Fv=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.__extends(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))},t}(g),kv=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Dv(e,this.durationSelector))},e}(),Dv=function(e){function t(t,n){var r=e.call(this,t)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.__extends(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=void 0;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=M(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,n,r){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(j);function Ov(e){return!i(e)&&e-parseFloat(e)+1>=0}function Rv(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function Pv(e,t){return void 0===t&&(t=pg),n=function(){return function(e,t,n){void 0===e&&(e=0);var r=-1;return Ov(t)?r=Number(t)<1?1:Number(t):O(t)&&(n=t),O(n)||(n=pg),new C(function(t){var i=Ov(e)?e:+e-n.now();return n.schedule(Rv,i,{index:0,period:r,subscriber:t})})}(e,t)},function(e){return e.lift(new kv(n))};var n}var Tv=function(){function e(e,t,n){void 0===e&&(e=!1),void 0===n&&(n=!0);var r=this;this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,this.onChange=this.changed,t&&t.length&&(e?t.forEach(function(e){return r._markSelected(e)}):this._markSelected(t[0]),this._selectedToEmit.length=0)}return Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),e.prototype.select=function(){for(var e=this,t=[],n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},e}(),Iv=function(){function e(e,t){this._ngZone=e,this._platform=t,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return e.prototype.register=function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?new C(function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(Pv(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):bc()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()},e.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Rc(function(e){return!e||n.indexOf(e)>-1}))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach(function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)}),n},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return xv(window.document,"scroll").subscribe(function(){return e._scrolled.next()})})},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e.ngInjectableDef=de({factory:function(){return new e(Pt(bo),Pt(Cg))},token:e,providedIn:"root"}),e}(),Lv=function(){return function(){}}(),Bv=function(){function e(e,t){var n=this;this._platform=e,t.runOutsideAngular(function(){n._change=e.isBrowser?X(xv(window,"resize"),xv(window,"orientationchange")):bc(),n._invalidateCache=n.change().subscribe(function(){return n._updateViewportSize()})})}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(Pv(e)):this._change},e.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},e.ngInjectableDef=de({factory:function(){return new e(Pt(Cg),Pt(bo))},token:e,providedIn:"root"}),e}(),$v=function(){function e(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}return e.prototype.attach=function(){},e.prototype.enable=function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Dg(-this._previousScrollPosition.left),e.style.top=Dg(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},e.prototype.disable=function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,r=t.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=r,n.scrollBehavior=i}},e.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width},e}();function Mv(){return Error("Scroll strategy has already been attached.")}var jv=function(){function e(e,t,n,r){var i=this;this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run(function(){return i._overlayRef.detach()})}}return e.prototype.attach=function(e){if(this._overlayRef)throw Mv();this._overlayRef=e},e.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e}(),Nv=function(){function e(){}return e.prototype.enable=function(){},e.prototype.disable=function(){},e.prototype.attach=function(){},e}();function Vv(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function zv(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var Hv=function(){function e(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}return e.prototype.attach=function(e){if(this._overlayRef)throw Mv();this._overlayRef=e},e.prototype.enable=function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),r=n.width,i=n.height;Vv(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e}(),Uv=function(){function e(e,t,n,r){var i=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new Nv},this.close=function(e){return new jv(i._scrollDispatcher,i._ngZone,i._viewportRuler,e)},this.block=function(){return new $v(i._viewportRuler,i._document)},this.reposition=function(e){return new Hv(i._scrollDispatcher,i._viewportRuler,i._ngZone,e)},this._document=r}return e.ngInjectableDef=de({factory:function(){return new e(Pt(Iv),Pt(Bv),Pt(bo),Pt(fc))},token:e,providedIn:"root"}),e}(),Wv=function(){return function(e){var t=this;this.scrollStrategy=new Nv,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e&&Object.keys(e).forEach(function(n){void 0!==e[n]&&(t[n]=e[n])})}}(),Kv=function(){return function(e,t,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}(),qv=function(){return function(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}();function Gv(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "top", "bottom" or "center".')}function Qv(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "start", "end" or "center".')}var Yv=function(){function e(e){var t=this;this._attachedOverlays=[],this._keydownListener=function(e){for(var n=t._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(e);break}},this._document=e}return e.prototype.ngOnDestroy=function(){this._detach()},e.prototype.add=function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener,!0),this._isAttached=!0),this._attachedOverlays.push(e)},e.prototype.remove=function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()},e.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener,!0),this._isAttached=!1)},e.ngInjectableDef=de({factory:function(){return new e(Pt(fc))},token:e,providedIn:"root"}),e}(),Xv=function(){function e(e){this._document=e}return e.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},e.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},e.prototype._createContainer=function(){var e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e},e.ngInjectableDef=de({factory:function(){return new e(Pt(fc))},token:e,providedIn:"root"}),e}(),Zv=function(){function e(e,t,n,r,i,o,s,a){var l=this;this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=s,this._location=a,this._backdropElement=null,this._backdropClick=new k,this._attachments=new k,this._detachments=new k,this._locationChanges=u.EMPTY,this._keydownEventsObservable=new C(function(e){var t=l._keydownEvents.subscribe(e);return l._keydownEventSubscriptions++,function(){t.unsubscribe(),l._keydownEventSubscriptions--}}),this._keydownEvents=new k,this._keydownEventSubscriptions=0,r.scrollStrategy&&r.scrollStrategy.attach(this),this._positionStrategy=r.positionStrategy}return Object.defineProperty(e.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this,n=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Yc(1)).subscribe(function(){t.hasAttached()&&t.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return t.dispose()})),n},e.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}},e.prototype.dispose=function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()},e.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},e.prototype.backdropClick=function(){return this._backdropClick.asObservable()},e.prototype.attachments=function(){return this._attachments.asObservable()},e.prototype.detachments=function(){return this._detachments.asObservable()},e.prototype.keydownEvents=function(){return this._keydownEventsObservable},e.prototype.getConfig=function(){return this._config},e.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},e.prototype.updatePositionStrategy=function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))},e.prototype.updateSize=function(e){this._config=Object(r.__assign)({},this._config,e),this._updateElementSize()},e.prototype.setDirection=function(e){this._config=Object(r.__assign)({},this._config,{direction:e}),this._updateElementDirection()},e.prototype.addPanelClass=function(e){this._pane&&this._toggleClasses(this._pane,e,!0)},e.prototype.removePanelClass=function(e){this._pane&&this._toggleClasses(this._pane,e,!1)},e.prototype.getDirection=function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"},e.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},e.prototype._updateElementSize=function(){var e=this._pane.style;e.width=Dg(this._config.width),e.height=Dg(this._config.height),e.minWidth=Dg(this._config.minWidth),e.minHeight=Dg(this._config.minHeight),e.maxWidth=Dg(this._config.maxWidth),e.maxHeight=Dg(this._config.maxHeight)},e.prototype._togglePointerEvents=function(e){this._pane.style.pointerEvents=e?"auto":"none"},e.prototype._attachBackdrop=function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",function(t){return e._backdropClick.next(t)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},e.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},e.prototype.detachBackdrop=function(){var e=this,t=this._backdropElement;if(t){var n,r=function(){t&&t.parentNode&&t.parentNode.removeChild(t),e._backdropElement==t&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(t,e._config.backdropClass,!1),clearTimeout(n)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){t.addEventListener("transitionend",r)}),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(r,500)})}},e.prototype._toggleClasses=function(e,t,n){var r=e.classList;kg(t).forEach(function(e){n?r.add(e):r.remove(e)})},e.prototype._detachContentWhenStable=function(){var e=this;this._ngZone.runOutsideAngular(function(){var t=e._ngZone.onStable.asObservable().pipe(pv(X(e._attachments,e._detachments))).subscribe(function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),t.unsubscribe())})})},e}(),Jv=function(){function e(e,t,n,r,i){var o=this;this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this.scrollables=[],this._preferredPositions=[],this._positionChanges=new k,this._resizeSubscription=u.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this._appliedPanelClasses=[],this.positionChanges=new C(function(e){var t=o._positionChanges.subscribe(e);return o._positionChangeSubscriptions++,function(){t.unsubscribe(),o._positionChangeSubscriptions--}}),this.setOrigin(e)}return Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){t._isInitialRender=!0,t.apply()})},e.prototype.apply=function(){if(!(this._isDisposed||this._platform&&!this._platform.isBrowser))if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var e,t=this._originRect,n=this._overlayRect,r=this._viewportRect,i=[],o=0,s=this._preferredPositions;od&&(d=g,h=m)}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}},e.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},e.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&ey(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},e.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}},e.prototype.withScrollableContainers=function(e){return this.scrollables=e,this},e.prototype.withPositions=function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},e.prototype.withViewportMargin=function(e){return this._viewportMargin=e,this},e.prototype.withFlexibleDimensions=function(e){return void 0===e&&(e=!0),this._hasFlexibleDimensions=e,this},e.prototype.withGrowAfterOpen=function(e){return void 0===e&&(e=!0),this._growAfterOpen=e,this},e.prototype.withPush=function(e){return void 0===e&&(e=!0),this._canPush=e,this},e.prototype.withLockedPosition=function(e){return void 0===e&&(e=!0),this._positionLocked=e,this},e.prototype.setOrigin=function(e){return this._origin=e,this},e.prototype.withDefaultOffsetX=function(e){return this._offsetX=e,this},e.prototype.withDefaultOffsetY=function(e){return this._offsetY=e,this},e.prototype.withTransformOriginOn=function(e){return this._transformOriginSelector=e,this},e.prototype._getOriginPoint=function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}},e.prototype._getOverlayPoint=function(e,t,n){var r;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+r,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}},e.prototype._getOverlayFit=function(e,t,n,r){var i=e.x,o=e.y,s=this._getOffset(r,"x"),a=this._getOffset(r,"y");s&&(i+=s),a&&(o+=a);var l=0-o,u=o+t.height-n.height,c=this._subtractOverflows(t.width,0-i,i+t.width-n.width),h=this._subtractOverflows(t.height,l,u),d=c*h;return{visibleArea:d,isCompletelyWithinViewport:t.width*t.height===d,fitsInViewportVertically:h===t.height,fitsInViewportHorizontally:c==t.width}},e.prototype._canFitWithFlexibleDimensions=function(e,t,n){if(this._hasFlexibleDimensions){var r=n.bottom-t.y,i=n.right-t.x,o=this._overlayRef.getConfig().minHeight,s=this._overlayRef.getConfig().minWidth;return(e.fitsInViewportVertically||null!=o&&o<=r)&&(e.fitsInViewportHorizontally||null!=s&&s<=i)}},e.prototype._pushOverlayOnScreen=function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,s=Math.max(e.x+t.width-o.right,0),a=Math.max(e.y+t.height-o.bottom,0),l=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0);return this._previousPushAmount={x:r=t.width<=o.width?u||-s:e.x0){var n=this._getScrollVisibility(),r=new qv(e,n);this._positionChanges.next(r)}this._isInitialRender=!1},e.prototype._setTransformOrigin=function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var i=0;ih&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-h/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)a=l.right-e.x+this._viewportMargin,o=e.x-l.left;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)s=e.x,o=l.right-e.x;else{c=Math.min(l.right-e.x+l.left,e.x);var d=this._lastBoundingBoxSize.width;s=e.x-c,(o=2*c)>d&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.x-d/2)}return{top:r,left:s,bottom:i,right:a,width:o,height:n}},e.prototype._setBoundingBoxStyles=function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Dg(n.height),r.top=Dg(n.top),r.bottom=Dg(n.bottom),r.width=Dg(n.width),r.left=Dg(n.left),r.right=Dg(n.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=Dg(i)),o&&(r.maxWidth=Dg(o))}this._lastBoundingBoxSize=n,ey(this._boundingBox.style,r)},e.prototype._resetBoundingBoxStyles=function(){ey(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},e.prototype._resetOverlayElementStyles=function(){ey(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},e.prototype._setOverlayElementStyles=function(e,t){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();ey(n,this._getExactOverlayY(t,e,r)),ey(n,this._getExactOverlayX(t,e,r))}else n.position="static";var i="",o=this._getOffset(t,"x"),s=this._getOffset(t,"y");o&&(i+="translateX("+o+"px) "),s&&(i+="translateY("+s+"px)"),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),ey(this._pane.style,n)},e.prototype._getExactOverlayY=function(e,t,n){var r={top:null,bottom:null},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return i.y-=o,"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=Dg(i.y),r},e.prototype._getExactOverlayX=function(e,t,n){var r={left:null,right:null},i=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?r.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":r.left=Dg(i.x),r},e.prototype._getScrollVisibility=function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this.scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:zv(e,n),isOriginOutsideView:Vv(e,n),isOverlayClipped:zv(t,n),isOverlayOutsideView:Vv(t,n)}},e.prototype._subtractOverflows=function(e){for(var t=[],n=1;n')}(),this._xPosition=e,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yPosition",{get:function(){return this._yPosition},set:function(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=e,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=Fg(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Fg(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"panelClass",{set:function(e){e&&e.length&&(this._classList=e.split(" ").reduce(function(e,t){return e[t]=!0,e},{}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classList",{get:function(){return this.panelClass},set:function(e){this.panelClass=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.setPositionClasses()},e.prototype.ngAfterContentInit=function(){var e=this;this._keyManager=new Tg(this._items).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return e.closed.emit("tab")})},e.prototype.ngOnDestroy=function(){this._tabSubscription.unsubscribe(),this.closed.complete()},e.prototype._hovered=function(){return this._itemChanges.pipe(sh(this._items),nh(function(e){return X.apply(void 0,e.map(function(e){return e._hovered}))}))},e.prototype._handleKeydown=function(e){var t=e.keyCode;switch(t){case 27:this.closed.emit("keydown");break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:38!==t&&40!==t||this._keyManager.setFocusOrigin("keyboard"),this._keyManager.onKeydown(e)}},e.prototype.focusFirstItem=function(e){var t=this;void 0===e&&(e="program"),this.lazyContent?this._ngZone.onStable.asObservable().pipe(Yc(1)).subscribe(function(){return t._keyManager.setFocusOrigin(e).setFirstItemActive()}):this._keyManager.setFocusOrigin(e).setFirstItemActive()},e.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},e.prototype.setElevation=function(e){var t="mat-elevation-z"+(4+e),n=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)},e.prototype.addItem=function(e){-1===this._items.indexOf(e)&&(this._items.push(e),this._itemChanges.next(this._items))},e.prototype.removeItem=function(e){var t=this._items.indexOf(e);this._items.indexOf(e)>-1&&(this._items.splice(t,1),this._itemChanges.next(this._items))},e.prototype.setPositionClasses=function(e,t){void 0===e&&(e=this.xPosition),void 0===t&&(t=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t},e.prototype._startAnimation=function(){this._panelAnimationState="enter"},e.prototype._resetAnimation=function(){this._panelAnimationState="void"},e.prototype._onAnimationDone=function(e){this._animationDone.next(e),this._isAnimating=!1},e.prototype._onAnimationStart=function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)},e}(),gy=new me("mat-menu-scroll-strategy");function vy(e){return function(){return e.scrollStrategies.reposition()}}var yy=Sg({passive:!0}),_y=function(){function e(e,t,n,r,i,o,s,a){var l=this;this._overlay=e,this._element=t,this._viewContainerRef=n,this._parentMenu=i,this._menuItemInstance=o,this._dir=s,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.EMPTY,this._hoverSubscription=u.EMPTY,this._menuCloseSubscription=u.EMPTY,this._handleTouchStart=function(){return l._openedBy="touch"},this._openedBy=null,this.menuOpened=new Pi,this.onMenuOpen=this.menuOpened,this.menuClosed=new Pi,this.onMenuClose=this.menuClosed,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,yy),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}return Object.defineProperty(e.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(e){this.menu=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menu",{get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe(function(e){t._destroyMenu(),"click"!==e&&"tab"!==e||!t._parentMenu||t._parentMenu.closed.emit(e)})))},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},e.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,yy),this._cleanUpSubscriptions(),this._closingActionsSubscription.unsubscribe()},Object.defineProperty(e.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),e.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},e.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},e.prototype.openMenu=function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof my&&this.menu._startAnimation()}},e.prototype.closeMenu=function(){this.menu.close.emit()},e.prototype.focus=function(e){void 0===e&&(e="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,e):this._element.nativeElement.focus()},e.prototype._destroyMenu=function(){var e=this;if(this._overlayRef&&this.menuOpen){var t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof my?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Rc(function(e){return"void"===e.toState}),Yc(1),pv(t.lazyContent._attached)).subscribe(function(){return t.lazyContent.detach()},void 0,function(){e._resetMenu()}):this._resetMenu()):(this._resetMenu(),t.lazyContent&&t.lazyContent.detach())}},e.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},e.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}},e.prototype._resetMenu=function(){this._setIsMenuOpen(!1),this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus(),this._openedBy=null},e.prototype._setIsMenuOpen=function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)},e.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},e.prototype._createOverlay=function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},e.prototype._getOverlayConfig=function(){return new Wv({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},e.prototype._subscribeToPositions=function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})},e.prototype._setPosition=function(e){var t="before"===this.menu.xPosition?["end","start"]:["start","end"],n=t[0],r=t[1],i="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],o=i[0],s=i[1],a=[o,s],l=a[0],u=a[1],c=[n,r],h=c[0],d=c[1],f=0;this.triggersSubmenu()?(d=n="before"===this.menu.xPosition?"start":"end",r=h="end"===n?"start":"end",f="bottom"===o?8:-8):this.menu.overlapTrigger||(l="top"===o?"bottom":"top",u="top"===s?"bottom":"top"),e.withPositions([{originX:n,originY:l,overlayX:h,overlayY:o,offsetY:f},{originX:r,originY:l,overlayX:d,overlayY:o,offsetY:f},{originX:n,originY:u,overlayX:h,overlayY:s,offsetY:-f},{originX:r,originY:u,overlayX:d,overlayY:s,offsetY:-f}])},e.prototype._cleanUpSubscriptions=function(){this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},e.prototype._menuClosingActions=function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return X(t,this._parentMenu?this._parentMenu.closed:bc(),this._parentMenu?this._parentMenu._hovered().pipe(Rc(function(t){return t!==e._menuItemInstance}),Rc(function(){return e._menuOpen})):bc(),n)},e.prototype._handleMousedown=function(e){jg(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())},e.prototype._handleKeydown=function(e){var t=e.keyCode;this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&this.openMenu()},e.prototype._handleClick=function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()},e.prototype._handleHover=function(){var e=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Rc(function(t){return t===e._menuItemInstance&&!t.disabled}),wv(0,rg)).subscribe(function(){e._openedBy="mouse",e.menu instanceof my&&e.menu._isAnimating?e.menu._animationDone.pipe(Yc(1),wv(0,rg),pv(e._parentMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))},e.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Gm(this.menu.templateRef,this._viewContainerRef)),this._portal},e}(),by=function(){return function(){}}(),wy=new me("cdk-dir-doc",{providedIn:"root",factory:function(){return Pt(fc)}}),Cy=function(){function e(e){if(this.value="ltr",this.change=new Pi,e){var t=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null);this.value="ltr"===t||"rtl"===t?t:"ltr"}}return e.prototype.ngOnDestroy=function(){this.change.complete()},e.ngInjectableDef=de({factory:function(){return new e(Pt(wy,8))},token:e,providedIn:"root"}),e}(),Ey=function(){return function(){}}();function Ay(){return"undefined"!=typeof process}function xy(e){switch(e.length){case 0:return new cg;case 1:return e[0];default:return new hg(e)}}function Sy(e,t,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],a=[],l=-1,u=null;if(r.forEach(function(e){var n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(function(n){var r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case dg:a=i[n];break;case sg:a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),u=c,l=n}),s.length)throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "));return a}function Fy(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&ky(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&ky(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&ky(n,"destroy",e))})}}function ky(e,t,n){var r=n.totalTime,i=Dy(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function Dy(e,t,n,r,i,o,s){return void 0===i&&(i=""),void 0===o&&(o=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Oy(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function Ry(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var Py=function(e,t){return!1},Ty=function(e,t){return!1},Iy=function(e,t,n){return[]},Ly=Ay();if(Ly||"undefined"!=typeof Element){if(Py=function(e,t){return e.contains(t)},Ly||Element.prototype.matches)Ty=function(e,t){return e.matches(t)};else{var By=Element.prototype,$y=By.matchesSelector||By.mozMatchesSelector||By.msMatchesSelector||By.oMatchesSelector||By.webkitMatchesSelector;$y&&(Ty=function(e,t){return $y.apply(e,[t])})}Iy=function(e,t,n){var i=[];if(n)i.push.apply(i,Object(r.__spread)(e.querySelectorAll(t)));else{var o=e.querySelector(t);o&&i.push(o)}return i}}var My=null,jy=!1;function Ny(e){My||(My=("undefined"!=typeof document?document.body:null)||{},jy=!!My.style&&"WebkitAppearance"in My.style);var t=!0;return My.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in My.style)&&jy&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in My.style),t}var Vy=Ty,zy=Py,Hy=Iy;function Uy(e){var t={};return Object.keys(e).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}var Wy=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return Ny(e)},e.prototype.matchesElement=function(e,t){return Vy(e,t)},e.prototype.containsElement=function(e,t){return zy(e,t)},e.prototype.query=function(e,t,n){return Hy(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,i,o,s){return void 0===o&&(o=[]),new cg(n,r)},e}(),Ky=function(){function e(){}return e.NOOP=new Wy,e}(),qy=1e3;function Gy(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Qy(parseFloat(t[1]),t[2])}function Qy(e,t){switch(t){case"s":return e*qy;default:return e}}function Yy(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var s=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=Qy(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=Qy(parseFloat(a),s[4]));var l=s[5];l&&(o=l)}else r=e;if(!n){var u=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:i,easing:o}}(e,t,n)}function Xy(e,t){return void 0===t&&(t={}),Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function Zy(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else Xy(e,n);return n}function Jy(e,t,n){return n?t+":"+n+";":""}function e_(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=i[1],s=i[2],a=i[3];t.push(v_(o,a)),"<"!=s[0]||o==p_&&a==p_||t.push(v_(a,o))}(e,i,r)}):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:E_(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return d_(n,e,t)}),options:E_(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map(function(e){t.currentTime=r;var o=d_(n,e,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:3,steps:o,options:E_(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return A_(Yy(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=A_(0,0,"");return i.dynamic=!0,i.strValue=r,i}return A_((n=n||Yy(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:lg({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,s=!1;if(!o){s=!0;var a={};r.easing&&(a.easing=r.easing),o=lg(a)}t.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,t);l.isEmptyStep=s,n=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==sg?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var r=!1,i=null;return n.forEach(function(e){if(C_(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s,a,l,u=t.collectedStyles[t.currentQuerySelector],c=u[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(u[r]={startTime:o,endTime:i}),t.options&&(s=t.errors,a=t.options.params||{},(l=o_(e[r])).length&&l.forEach(function(e){a.hasOwnProperty(e)||s.push("Unable to resolve the local animation param "+e+" in the given list of values")}))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,l=0,u=e.steps.map(function(e){var r=n._makeStyleAst(e,t),u=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(C_(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(C_(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),a=a||c<0||c>1,s=s||c0&&i0?i==d?1:h*i:o[i],a=s*m;t.currentTime=f+p.delay+a,p.duration=a,n._validateStyleAst(e,t),e.offset=s,r.styles.push(e)}),r},e.prototype.visitReference=function(e,t){return{type:8,animation:d_(this,r_(e.animation),t),options:E_(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:E_(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:E_(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var o=Object(r.__read)(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(y_,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),s=o[0],a=o[1];t.currentQuerySelector=n.length?n+" "+s:s,Oy(t.collectedStyles,t.currentQuerySelector,{});var l=d_(this,r_(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:l,originalSelector:e.selector,options:E_(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Yy(e.timings,t.errors,!0);return{type:12,animation:d_(this,r_(e.animation),t),timings:n,options:null}},e}(),w_=function(){return function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function C_(e){return!Array.isArray(e)&&"object"==typeof e}function E_(e){var t;return e?(e=Xy(e)).params&&(e.params=(t=e.params)?Xy(t):null):e={},e}function A_(e,t,n){return{duration:e,delay:t,easing:n}}function x_(e,t,n,r,i,o,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var S_=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,Object(r.__spread)(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),F_=new RegExp(":enter","g"),k_=new RegExp(":leave","g");function D_(e,t,n,r,i,o,s,a,l,u){return void 0===o&&(o={}),void 0===s&&(s={}),void 0===u&&(u=[]),(new O_).buildKeyframes(e,t,n,r,i,o,s,a,l,u)}var O_=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,i,o,s,a,l,u){void 0===u&&(u=[]),l=l||new S_;var c=new P_(e,t,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),d_(this,n,c);var h=c.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(s).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([s],null,c.errors,a)}return h.length?h.map(function(e){return e.buildKeyframes()}):[x_(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?Gy(n.duration):null,o=null!=n.delay?Gy(n.delay):null;return 0!==i&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),d_(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=R_);var s=Gy(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(function(e){return d_(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?Gy(e.options.delay):0;e.steps.forEach(function(s){var a=t.createSubContext(e.options);o&&a.delayNextStep(o),d_(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(i),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return Yy(t.params?s_(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?Gy(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=R_);var s=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;var l=null;a.forEach(function(r,i){t.currentQueryIndex=i;var a=t.createSubContext(e.options,r);o&&a.delayNextStep(o),r===t.element&&(l=a.currentTimeline),d_(n,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1),a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var l=t.currentTimeline;a&&l.delayNextStep(a);var u=l.currentTime;d_(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},e}(),R_={},P_=function(){function e(e,t,n,r,i,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=R_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new T_(this._driver,t,0),s.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=Gy(r.duration)),null!=r.delay&&(i.delay=Gy(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(e){t&&s.hasOwnProperty(e)||(s[e]=s_(o[e],s,n.errors))})}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=R_,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new I_(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,i,o,s){var a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(F_,"."+this._enterClassName)).replace(k_,"."+this._leaveClassName);var l=this._driver.query(this.element,e,1!=n);0!==n&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),a.push.apply(a,Object(r.__spread)(l))}return o||0!=a.length||s.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),a},e}(),T_=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||sg,t._currentKeyframe[e]=sg}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=sg}):Zy(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=s_(s[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:sg),i._updateStyle(e,t)})},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=Zy(o,!0);Object.keys(a).forEach(function(e){var r=a[e];r==dg?t.add(e):r==sg&&n.add(e)}),r||(a.offset=s/e.duration),i.push(a)});var o=t.size?a_(t.values()):[],s=n.size?a_(n.values()):[];if(r){var a=i[0],l=Xy(a);a.offset=0,l.offset=1,i=[a,l]}return x_(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},e}(),I_=function(e){function t(t,n,r,i,o,s,a){void 0===a&&(a=!1);var l=e.call(this,t,n,s.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=a,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return Object(r.__extends)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,l=Zy(e[0],!1);l.offset=0,o.push(l);var u=Zy(e[0],!1);u.offset=L_(a),o.push(u);for(var c=e.length-1,h=1;h<=c;h++){var d=Zy(e[h],!1);d.offset=L_((n+d.offset*r)/s),o.push(d)}r=s,n=0,i="",e=o}return x_(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)},t}(T_);function L_(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var B_=function(){return function(){}}(),$_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.normalizePropertyName=function(e,t){return u_(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var i="",o=n.toString().trim();if(M_[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return o+i},t}(B_),M_=j_("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function j_(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}function N_(e,t,n,r,i,o,s,a,l,u,c,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}var V_={},z_=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,i){return e.some(function(e){return e(t,n,r,i)})}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o},e.prototype.build=function(e,t,n,i,o,s,a,l,u,c){var h=[],d=this.ast.options&&this.ast.options.params||V_,f=this.buildStyles(n,a&&a.params||V_,h),p=l&&l.params||V_,m=this.buildStyles(i,p,h),g=new Set,v=new Map,y=new Map,_="void"===i,b={params:Object(r.__assign)({},d,p)},w=c?[]:D_(e,t,this.ast.animation,o,s,f,m,b,u,h),C=0;if(w.forEach(function(e){C=Math.max(e.duration+e.delay,C)}),h.length)return N_(t,this._triggerName,n,i,_,f,m,[],[],v,y,C,h);w.forEach(function(e){var n=e.element,r=Oy(v,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var i=Oy(y,n,{});e.postStyleProps.forEach(function(e){return i[e]=!0}),n!==t&&g.add(n)});var E=a_(g.values());return N_(t,this._triggerName,n,i,_,f,m,w,E,v,y,C)},e}(),H_=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=Xy(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach(function(e){var o=i[e];o.length>1&&(o=s_(o,r,t)),n[e]=o})}}),n},e}(),U_=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(e){n.states[e.name]=new H_(e.style,e.options&&e.options.params||{})}),W_(this.states,"true","1"),W_(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new z_(e,t,n.states))}),this.fallbackTransition=new z_(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find(function(i){return i.match(e,t,n,r)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function W_(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var K_=new S_,q_=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=__(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,i=Sy(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[e],a=new Map;if(s?(i=D_(this._driver,t,s,"ng-enter","ng-leave",{},{},n,K_,o)).forEach(function(e){var t=Oy(a,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,sg)})});var l=xy(i.map(function(e){var t=a.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return r.destroy(e)}),this.players.push(l),l},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var i=Dy(t,"","","");return Fy(this._getPlayer(e),n,i,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),G_=[],Q_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Y_={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},X_="__ng_removed",Z_=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value");if(this.value=function(e){return null!=e?e:null}(n?e.value:e),n){var r=Xy(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},e}(),J_=new Z_("void"),eb=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,lb(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var s=Oy(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};s.push(a);var l=Oy(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(lb(e,"ng-trigger"),lb(e,"ng-trigger-"+t),l[t]=J_),function(){o._engine.afterFlush(function(){var e=s.indexOf(a);e>=0&&s.splice(e,1),o._triggers[t]||delete l[t]})}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(t),s=new nb(this.id,t,e),a=this._engine.statesByElement.get(e);a||(lb(e,"ng-trigger"),lb(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));var l=a[t],u=new Z_(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a[t]=u,l||(l=J_),"void"===u.value||l.value!==u.value){var c=Oy(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=o.matchTransition(l.value,u.value,e,u.params),d=!1;if(!h){if(!r)return;h=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:l,toState:u,player:s,isFallbackTransition:d}),d||(lb(e,"ng-animate-queued"),s.onStart(function(){ub(e,"ng-animate-queued")})),s.onDone(function(){var t=i.players.indexOf(s);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),c.push(s),s}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(e){var s=this._fetchNamespace(e);s&&s.insertNode(t,n)}r&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),lb(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ub(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n){if(rb(t)){var r=e?this._fetchNamespace(e):null;r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n)}else this._onRemovalComplete(t,n)},e.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t[X_]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,r,i){return rb(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}},e.prototype._buildInstruction=function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)},e.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})},e.prototype.whenRenderingDone=function(){var e=this;return new Promise(function(t){if(e.players.length)return xy(e.players).onDone(function(){return t()});t()})},e.prototype.processLeaveNode=function(e){var t=this,n=e[X_];if(n&&n.setForRemoval){if(e[X_]=Q_,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;x--)this._namespaceList[x].drainQueuedTransitions(t).forEach(function(e){var t=e.player,r=e.element;if(E.push(t),n.collectedEnterElements.length){var s=r[X_];if(s&&s.setForMove)return void t.destroy()}var h=!d||!n.driver.containsElement(d,r),f=w.get(r),p=m.get(r),g=n._buildInstruction(e,i,p,f,h);if(g.errors&&g.errors.length)A.push(g);else{if(h)return t.onStart(function(){return n_(r,g.fromStyles)}),t.onDestroy(function(){return t_(r,g.toStyles)}),void o.push(t);if(e.isFallbackTransition)return t.onStart(function(){return n_(r,g.fromStyles)}),t.onDestroy(function(){return t_(r,g.toStyles)}),void o.push(t);g.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(r,g.timelines),a.push({instruction:g,player:t,element:r}),g.queriedElements.forEach(function(e){return Oy(l,e,[]).push(t)}),g.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=u.get(t);r||u.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),g.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=c.get(t);r||c.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}});if(A.length){var S=[];A.forEach(function(e){S.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return S.push("- "+e+"\n")})}),E.forEach(function(e){return e.destroy()}),this.reportError(S)}var F=new Map,k=new Map;a.forEach(function(e){var t=e.element;i.has(t)&&(k.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,F))}),o.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){Oy(F,t,[]).push(e),e.destroy()})});var D=v.filter(function(e){return hb(e,u,c)}),O=new Map;ob(O,this.driver,_,c,sg).forEach(function(e){hb(e,u,c)&&D.push(e)});var R=new Map;p.forEach(function(e,t){ob(R,n.driver,new Set(e),u,dg)}),D.forEach(function(e){var t=O.get(e),n=R.get(e);O.set(e,Object(r.__assign)({},t,n))});var P=[],T=[],I={};a.forEach(function(e){var t=e.element,r=e.player,a=e.instruction;if(i.has(t)){if(h.has(t))return r.onDestroy(function(){return t_(t,a.toStyles)}),r.disabled=!0,r.overrideTotalTime(a.totalTime),void o.push(r);var l=I;if(k.size>1){for(var u=t,c=[];u=u.parentNode;){var d=k.get(u);if(d){l=d;break}c.push(u)}c.forEach(function(e){return k.set(e,l)})}var f=n._buildAnimation(r.namespaceId,a,F,s,R,O);if(r.setRealPlayer(f),l===I)P.push(r);else{var p=n.playersByElement.get(l);p&&p.length&&(r.parentPlayer=xy(p)),o.push(r)}}else n_(t,a.fromStyles),r.onDestroy(function(){return t_(t,a.toStyles)}),T.push(r),h.has(t)&&o.push(r)}),T.forEach(function(e){var t=s.get(e.element);if(t&&t.length){var n=xy(t);e.setRealPlayer(n)}}),o.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var L=0;L0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new cg(e.duration,e.delay)},e}(),nb=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new cg,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return Fy(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},e.prototype._queueEvent=function(e,t){Oy(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function rb(e){return e&&1===e.nodeType}function ib(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function ob(e,t,n,r,i){var o=[];n.forEach(function(e){return o.push(ib(e))});var s=[];r.forEach(function(n,r){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r[X_]=Y_,s.push(r))}),e.set(r,o)});var a=0;return n.forEach(function(e){return ib(e,o[a++])}),s}function sb(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var s=t.parentNode;return o=n.has(s)?s:r.has(s)?1:e(s),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}var ab="$$classes";function lb(e,t){if(e.classList)e.classList.add(t);else{var n=e[ab];n||(n=e[ab]={}),n[t]=!0}}function ub(e,t){if(e.classList)e.classList.remove(t);else{var n=e[ab];n&&delete n[t]}}function cb(e,t,n){xy(n).onDone(function(){return e.processLeaveNode(t)})}function hb(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(e){return i.add(e)}):t.set(e,r),n.delete(e),!0}var db=function(){function e(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new tb(e,t,n),this._timelineEngine=new q_(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,i){var o=e+"-"+r,s=this._triggerCache[o];if(!s){var a=[],l=__(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(e,t){return new U_(e,t)}(r,l),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,i){if("@"==n.charAt(0)){var o=Object(r.__read)(Ry(n),2);this._timelineEngine.command(o[0],t,o[1],i)}else this._transitionEngine.trigger(e,t,n,i)},e.prototype.listen=function(e,t,n,i,o){if("@"==n.charAt(0)){var s=Object(r.__read)(Ry(n),2);return this._timelineEngine.listen(s[0],t,s[1],o)}return this._transitionEngine.listen(e,t,n,i,o)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}();function fb(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=mb(t[0]),t.length>1&&(r=mb(t[t.length-1]))):t&&(n=mb(t)),n||r?new pb(e,n,r):null}var pb=function(){function e(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return e.prototype.start=function(){this._state<1&&(this._startStyles&&t_(this._element,this._startStyles,this._initialStyles),this._state=1)},e.prototype.finish=function(){this.start(),this._state<2&&(t_(this._element,this._initialStyles),this._endStyles&&(t_(this._element,this._endStyles),this._endStyles=null),this._state=1)},e.prototype.destroy=function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(n_(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(n_(this._element,this._endStyles),this._endStyles=null),t_(this._element,this._initialStyles),this._state=3)},e.initialStylesByElement=new WeakMap,e}();function mb(e){for(var t=null,n=Object.keys(e),r=0;r=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Eb(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(r=Cb(n=xb(e=this._element,"").split(","),t))>=0&&(n.splice(r,1),Ab(e,"",n.join(","))))},e}();function bb(e,t,n){Ab(e,"PlayState",n,wb(e,t))}function wb(e,t){var n=xb(e,"");return n.indexOf(",")>0?Cb(n.split(","),t):Cb([n],t)}function Cb(e,t){for(var n=0;n=0)return n;return-1}function Eb(e,t,n){n?e.removeEventListener(yb,t):e.addEventListener(yb,t)}function Ab(e,t,n,r){var i=vb+t;if(null!=r){var o=e.style[i];if(o.length){var s=o.split(",");s[r]=n,n=s.join(",")}}e.style[i]=n}function xb(e,t){return e.style[vb+t]}var Sb="linear",Fb=function(){function e(e,t,n,r,i,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||Sb,this.totalTime=r+i,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new _b(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:f_(e.element,r))})}this.currentSnapshot=t},e}(),kb=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._startingStyles={},r.__initialized=!1,r._styles=Uy(n),r}return Object(r.__extends)(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,e.prototype.destroy.call(this))},t}(cg),Db=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return Ny(e)},e.prototype.matchesElement=function(e,t){return Vy(e,t)},e.prototype.containsElement=function(e,t){return zy(e,t)},e.prototype.query=function(e,t,n){return Hy(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){n=n.map(function(e){return Uy(e)});var r="@keyframes "+t+" {\n",i="";n.forEach(function(e){i=" ";var t=parseFloat(e.offset);r+=""+i+100*t+"% {\n",i+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+t+": "+n+";\n")}}),r+=i+"}\n"}),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},e.prototype.animate=function(e,t,n,r,i,o,s){void 0===o&&(o=[]),s&&this._notifyFaultyScrubber();var a=o.filter(function(e){return e instanceof Fb}),l={};c_(n,r)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=h_(e,t,l));if(0==n)return new kb(e,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(h);var d=fb(e,t),f=new Fb(e,t,c,n,r,i,u,d);return f.onDestroy(function(){var e;(e=h).parentNode.removeChild(e)}),f},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}(),Ob=function(){function e(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:f_(e.element,n))}),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Rb=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Pb().toString()),this._cssKeyframesDriver=new Db}return e.prototype.validateStyleProperty=function(e){return Ny(e)},e.prototype.matchesElement=function(e,t){return Vy(e,t)},e.prototype.containsElement=function(e,t){return zy(e,t)},e.prototype.query=function(e,t,n){return Hy(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,i,o,s){if(void 0===o&&(o=[]),!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);var l={},u=o.filter(function(e){return e instanceof Ob});c_(n,r)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var c=fb(e,t=h_(e,t=t.map(function(e){return Zy(e,!1)}),l));return new Ob(e,t,a,c)},e}();function Pb(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Tb=function(e){function t(t,n){var r=e.call(this)||this;return r._nextAnimationId=0,r._renderer=t.createRenderer(n.body,{id:"0",encapsulation:Le.None,styles:[],data:{animation:[]}}),r}return Object(r.__extends)(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?ag(e):e;return Bb(this._renderer,null,t,"register",[n]),new Ib(t,this._renderer)},t}(ig),Ib=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._renderer=n,r}return Object(r.__extends)(t,e),t.prototype.create=function(e,t){return new Lb(this._id,e,t||{},this._renderer)},t}(og),Lb=function(){function e(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n=0&&e enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function qb(e){return Sl(0,[(e()(),da(0,0,null,null,3,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],function(e,t,n){var r=!0,i=e.component;return"keydown"===t&&(r=!1!==i._handleKeydown(n)&&r),"click"===t&&(r=!1!==i.closed.emit("click")&&r),"@transformMenu.start"===t&&(r=!1!==i._onAnimationStart(n)&&r),"@transformMenu.done"===t&&(r=!1!==i._onAnimationDone(n)&&r),r},null,null)),el(1,278528,null,0,Xu,[hs,ds,Hr,Gr],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),da(2,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),wl(null,0)],function(e,t){e(t,1,0,"mat-menu-panel",t.component._classList)},function(e,t){e(t,0,0,t.component._panelAnimationState)})}function Gb(e){return Sl(2,[gl(402653184,1,{templateRef:0}),(e()(),ha(0,[[1,2]],null,0,null,qb))],null,null)}var Qb=Ms({encapsulation:2,styles:[],data:{}});function Yb(e){return Sl(2,[wl(null,0),(e()(),da(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),el(2,212992,null,0,tv,[Hr,bo,Cg,[2,ev],[2,Ub]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(e,t){var n=t.component;e(t,2,0,n.disableRipple||n.disabled,n._getHostElement())},function(e,t){e(t,1,0,Va(t,2).unbounded)})}var Xb=n("d5rz"),Zb=n.n(Xb),Jb=n("vLDs"),ew=n.n(Jb),tw=function(){function e(){this._schema={},this.ajv=new ew.a({allErrors:!0,jsonPointers:!0,unknownFormats:"ignore"})}return Object.defineProperty(e.prototype,"schema",{get:function(){return this._schema},set:function(e){this._schema=e,this.compileSchema()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataPointerMap",{get:function(){var e=new Map;return Zb()(this.schema,{cb:function(){for(var t=[],n=0;n` elements explicitly or just place content inside of a `` for a single row.")}()},t}(Hg(function(){return function(e){this._elementRef=e}}())),lw=function(){return function(){}}(),uw=Ms({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function cw(e){return Sl(2,[wl(null,0),wl(null,1)],null,null)}var hw=function(){return function(){}}(),dw=function(){return function(){}}(),fw=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),i=r.toLowerCase(),o=e.slice(n+1).trim();t.maybeSetNormalizedName(r,i),t.headers.has(i)?t.headers.get(i).push(o):t.headers.set(i,[o])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(i,r),t.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,Object(r.__spread)(n)),this.headers.set(t,i);break;case"d":var o=e.value;if(o){var s=this.headers.get(t);if(!s)return;0===(s=s.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),pw=function(){function e(){}return e.prototype.encodeKey=function(e){return mw(e)},e.prototype.encodeValue=function(e){return mw(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function mw(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var gw=function(){function e(e){void 0===e&&(e={});var t,n,i,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new pw,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,i=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),o=Object(r.__read)(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),s=o[0],a=o[1],l=i.get(s)||[];l.push(a),i.set(s,l)}),i)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];o.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(t.value);-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)},e}();function vw(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function yw(e){return"undefined"!=typeof Blob&&e instanceof Blob}function _w(e){return"undefined"!=typeof FormData&&e instanceof FormData}var bw=function(){function e(e,t,n,r){var i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new fw),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{var s=t.indexOf("?");this.urlWithParams=t+(-1===s?"?":s=200&&this.status<300}}(),Ew=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=ww.ResponseHeader,n}return Object(r.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(Cw),Aw=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=ww.Response,n.body=void 0!==t.body?t.body:null,n}return Object(r.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(Cw),xw=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return Object(r.__extends)(t,e),t}(Cw);function Sw(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Fw=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,i=this;if(void 0===n&&(n={}),e instanceof bw)r=e;else{var o;o=n.headers instanceof fw?n.headers:new fw(n.headers);var s=void 0;n.params&&(s=n.params instanceof gw?n.params:new gw({fromObject:n.params})),r=new bw(e,t,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=bc(r).pipe(ch(function(e){return i.handler.handle(e)}));if(e instanceof bw||"events"===n.observe)return a;var l=a.pipe(Rc(function(e){return e instanceof Aw}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(N(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(N(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(N(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe(N(function(e){return e.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new gw).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,Sw(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,Sw(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,Sw(n,t))},e}(),kw=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),Dw=new me("HTTP_INTERCEPTORS"),Ow=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),Rw=/^\)\]\}',?\n/,Pw=function(){return function(){}}(),Tw=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),Iw=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new C(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var s=e.serializeBody(),a=null,l=function(){if(null!==a)return a;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new fw(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new Ew({headers:i,status:t,statusText:n,url:o})},u=function(){var t=l(),i=t.headers,o=t.status,s=t.statusText,a=t.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof u){var h=u;u=u.replace(Rw,"");try{u=""!==u?JSON.parse(u):null}catch(d){u=h,c&&(c=!1,u={error:d,text:u})}}c?(n.next(new Aw({body:u,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new xw({error:u,headers:i,status:o,statusText:s,url:a||void 0}))},c=function(e){var t=l().url,i=new xw({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(i)},h=!1,d=function(t){h||(n.next(l()),h=!0);var i={type:ww.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(e){var t={type:ww.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",u),r.addEventListener("error",c),e.reportProgress&&(r.addEventListener("progress",d),null!==s&&r.upload&&r.upload.addEventListener("progress",f)),r.send(s),n.next({type:ww.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),e.reportProgress&&(r.removeEventListener("progress",d),null!==s&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}})},e}(),Lw=new me("XSRF_COOKIE_NAME"),Bw=new me("XSRF_HEADER_NAME"),$w=function(){return function(){}}(),Mw=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Yu(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),jw=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),Nw=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(Dw,[]);this.chain=t.reduceRight(function(e,t){return new kw(e,t)},this.backend)}return this.chain.handle(e)},e}(),Vw=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:jw,useClass:Ow}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:Lw,useValue:e.cookieName}:[],e.headerName?{provide:Bw,useValue:e.headerName}:[]]}},e}(),zw=function(){return function(){}}();function Hw(){for(var e=[],t=0;t=0;n--){var r=t[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,e);if(i)return i}}return null},e.prototype._loadSvgIconFromConfig=function(e){var t=this;return this._fetchUrl(e.url).pipe(N(function(e){return t._createSvgElementForSingleIcon(e)}))},e.prototype._loadSvgIconSetFromConfig=function(e){var t=this;return e.svgElement?bc(e.svgElement):this._fetchUrl(e.url).pipe(N(function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement}))},e.prototype._createSvgElementForSingleIcon=function(e){var t=this._svgElementFromString(e);return this._setSvgAttributes(t),t},e.prototype._extractSvgIconFromSet=function(e,t){var n=e.querySelector("#"+t);if(!n)return null;var r=n.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r));var i=this._svgElementFromString("");return i.appendChild(r),this._setSvgAttributes(i)},e.prototype._svgElementFromString=function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n},e.prototype._toSvgElement=function(e){for(var t=this._svgElementFromString(""),n=0;n*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function dC(e){return Sl(2,[gl(402653184,1,{ripple:0}),(e()(),da(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),wl(null,0),(e()(),da(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),el(4,212992,[[1,4]],0,tv,[Hr,bo,Cg,[2,ev],[2,Ub]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(e()(),da(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(e,t){var n=t.component;e(t,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())},function(e,t){var n=t.component;e(t,3,0,n.isRoundButton||n.isIconButton,Va(t,4).unbounded)})}var fC=function(){return function(){}}(),pC=function(){function e(e,t,n,r,i){void 0===e&&(e=!1),void 0===t&&(t="all"),void 0===n&&(n=""),void 0===r&&(r=""),void 0===i&&(i=0),this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=r,this.priority=i,this.property=""}return e.prototype.clone=function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)},e}(),mC=function(){function e(){this.stylesheet=new Map}return e.prototype.addStyleToElement=function(e,t,n){var r=this.stylesheet.get(e);r?r.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))},e.prototype.clearStyles=function(){this.stylesheet.clear()},e.prototype.getStyleForElement=function(e,t){var n=this.stylesheet.get(e),r="";if(n){var i=n.get(t);"number"!=typeof i&&"string"!=typeof i||(r=i+"")}return r},e.ngInjectableDef=de({factory:function(){return new e},token:e,providedIn:"root"}),e}(),gC={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},vC=new me("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return gC}}),yC=new me("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),_C=new me("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function bC(e,t){return e=e?e.clone():new pC,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var wC=["row","column","row-reverse","column-reverse"];function CC(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var EC=function(){function e(e,t,n,r){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new k,this.styleCache=new Map}return Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.elementRef.nativeElement.parentElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedValue",{get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=this;Object.keys(e).forEach(function(n){if(-1!==t.inputs.indexOf(n)){var r=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,r)}})},e.prototype.ngOnDestroy=function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)},e.prototype.init=function(e){void 0===e&&(e=[]),this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)},e.prototype.addStyles=function(e,t){var n=this.styleBuilder,i=n.shouldCache,o=this.styleCache.get(e);o&&i||(o=n.buildStyles(e,t),i&&this.styleCache.set(e,o)),this.mru=Object(r.__assign)({},o),this.applyStyleToElement(o),n.sideEffect(e,o,t)},e.prototype.clearStyles=function(){var e=this;Object.keys(this.mru).forEach(function(t){e.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}},e.prototype.triggerUpdate=function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)},e.prototype.getFlexFlowDirection=function(e,t){if(void 0===t&&(t=!1),e){var n=this.styler.getFlowDirection(e),r=n[0];if(!n[1]&&t){var i=function(e){var t,n,r=function(e){var t=(e=e?e.toLowerCase():"").split(" "),n=t[0],r=t[1],i=t[2];return wC.find(function(e){return e===n})||(n=wC[0]),"inline"===r&&(r="inline"!==i?i:"",i="inline"),[n,CC(r),!!i]}(e);return void 0===(t=r[1])&&(t=null),void 0===(n=r[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":r[0],"flex-wrap":t||null}}(r);this.styler.applyStyleToElements(i,[e])}return r.trim()}return"row"},e.prototype.applyStyleToElement=function(e,t,n){void 0===n&&(n=this.nativeElement),this.styler.applyStyleToElement(n,e,t)},e.prototype.setValue=function(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)},e.prototype.updateWithValue=function(e){this.addStyles(e)},e}(),AC=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.99px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.99px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.99px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.99px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.99px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.99px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.99px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.99px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.99px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],xC="(orientation: portrait) and (max-width: 599.99px)",SC="(orientation: portrait) and (min-width: 600px) and (max-width: 839.99px)",FC="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.99px)",kC="(orientation: portrait) and (min-width: 840px)",DC="(orientation: landscape) and (min-width: 1280px)",OC={HANDSET:xC+", (orientation: landscape) and (max-width: 959.99px)",TABLET:SC+" , "+FC,WEB:kC+", "+DC+" ",HANDSET_PORTRAIT:""+xC,TABLET_PORTRAIT:SC+" ",WEB_PORTRAIT:""+kC,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.99px)]",TABLET_LANDSCAPE:""+FC,WEB_LANDSCAPE:""+DC},RC=[{alias:"handset",priority:2e3,mediaQuery:OC.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:OC.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:OC.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:OC.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:OC.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:OC.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:OC.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:OC.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:OC.WEB_PORTRAIT,overlapping:!0}],PC=/(\.|-|_)/g;function TC(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var IC=new me("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=Pt(_C),t=Pt(vC),n=[].concat.apply([],(e||[]).map(function(e){return Array.isArray(e)?e:[e]}));return function(e,t){void 0===t&&(t=[]);var n,r={};return e.forEach(function(e){r[e.alias]=e}),t.forEach(function(e){r[e.alias]?function(e){for(var t=[],n=1;n-1}));return X(new C(function(t){var r=n.registerQuery(e);if(r.length){var i=r.pop();r.forEach(function(e){t.next(e)}),n.source.next(i)}t.complete()}),r)}return this._observable$},e.prototype.registerQuery=function(e){var t=this,n=Array.isArray(e)?e:[e],r=[];return function(e,t){var n=e.filter(function(e){return!jC[e]});if(n.length>0){var r=n.join(", ");try{var i=t.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(t.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media "+r+" {.fx-query-test{ }}\n")),t.head.appendChild(i),n.forEach(function(e){return jC[e]=i})}catch(o){console.error(o)}}}(n,this._document),n.forEach(function(e){var n=t.registry.get(e);n||((n=t.buildMQL(e)).addListener(function(n){t._zone.run(function(){return t.source.next(new pC(n.matches,e))})}),t.registry.set(e,n)),n.matches&&r.push(new pC(!0,e))}),r},e.prototype.buildMQL=function(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}(e,gc(this._platformId))},e.ngInjectableDef=de({factory:function(){return new e(Pt(bo),Pt(no),Pt(fc))},token:e,providedIn:"root"}),e}(),jC={},NC={alias:"print",mediaQuery:"print",priority:1e3},VC=function(){function e(e,t){this.breakpoints=e,this.layoutConfig=t,this.isPrinting=!1,this.queue=new zC,this.deactivations=[]}return e.prototype.withPrintQuery=function(e){return e.concat(["print"])},e.prototype.isPrintEvent=function(e){return e.mediaQuery.startsWith("print")},Object.defineProperty(e.prototype,"printAlias",{get:function(){return this.layoutConfig.printWithBreakpoints||[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"printBreakPoints",{get:function(){var e=this;return this.printAlias.map(function(t){return e.breakpoints.findByAlias(t)}).filter(function(e){return null!==e})},enumerable:!0,configurable:!0}),e.prototype.getEventBreakpoints=function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return(t?this.printBreakPoints.concat([t]):this.printBreakPoints).sort(LC)},e.prototype.updateEvent=function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),bC(e,t)},e.prototype.interceptEvents=function(e){var t=this;return function(n){t.isPrintEvent(n)?n.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(n)),e.updateStyles()):!n.matches&&t.isPrinting&&(t.stopPrinting(e),e.updateStyles()):t.collectActivations(n)}},e.prototype.blockPropagation=function(){var e=this;return function(t){return!(e.isPrinting||e.isPrintEvent(t))}},e.prototype.startPrinting=function(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)},e.prototype.stopPrinting=function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1},e.prototype.collectActivations=function(e){if(!this.isPrinting)if(e.matches)this.deactivations=[];else{var t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(LC))}},e.ngInjectableDef=de({factory:function(){return new e(Pt($C),Pt(vC))},token:e,providedIn:"root"}),e}(),zC=function(){function e(){this.printBreakpoints=[]}return e.prototype.addPrintBreakpoints=function(e){var t=this;return e.push(NC),e.sort(LC),e.forEach(function(e){return t.addBreakpoint(e)}),this.printBreakpoints},e.prototype.addBreakpoint=function(e){e&&void 0===this.printBreakpoints.find(function(t){return t.mediaQuery===e.mediaQuery})&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e].concat(this.printBreakpoints):this.printBreakpoints.concat([e]))},e.prototype.clear=function(){this.printBreakpoints=[]},e}();function HC(e){for(var t in e){var n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":e["-webkit-flex-direction"]=n=n||"row",e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}var UC=function(){function e(e,t,n,r){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=r}return e.prototype.applyStyleToElement=function(e,t,n){void 0===n&&(n=null);var r={};"string"==typeof t&&(r[t]=n,t=r),r=this.layoutConfig.disableVendorPrefixes?t:HC(t),this._applyMultiValueStyleToElement(r,e)},e.prototype.applyStyleToElements=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.layoutConfig.disableVendorPrefixes?e:HC(e);t.forEach(function(e){n._applyMultiValueStyleToElement(r,e)})},e.prototype.getFlowDirection=function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||vc(this._platformId)&&this._serverModuleLoaded?t:""]},e.prototype.lookupAttributeValue=function(e,t){return e.getAttribute(t)||""},e.prototype.lookupInlineStyle=function(e,t){return gc(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)},e.prototype.lookupStyle=function(e,t,n){void 0===n&&(n=!1);var r="";return e&&((r=this.lookupInlineStyle(e,t))||(gc(this._platformId)?n||(r=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(e,t)))),r?r.trim():""},e.prototype._applyMultiValueStyleToElement=function(e,t){var n=this;Object.keys(e).sort().forEach(function(r){var i=e[r],o=Array.isArray(i)?i:[i];o.sort();for(var s=0,a=o;s0){var s=o.indexOf(":");if(-1===s)throw new Error("Invalid CSS style: "+o);t[o.substr(0,s).trim()]=o.substr(s+1).trim()}}return t},e.prototype._writeStyleAttribute=function(e,t){var n="";for(var r in t)t[r]&&(n+=r+":"+t[r]+";");e.setAttribute("style",n)},e.ngInjectableDef=de({factory:function(){return new e(Pt(mC,8),Pt(yC,8),Pt(no),Pt(vC))},token:e,providedIn:"root"}),e}(),WC=function(){function e(){this.shouldCache=!0}return e.prototype.sideEffect=function(e,t,n){},e}();function KC(e,t,n){void 0===t&&(t="1"),void 0===n&&(n="1");var r=[t,n,e],i=e.indexOf("calc");if(i>0)r[2]=qC(e.substring(i).trim()),2==(o=e.substr(0,i).trim().split(" ")).length&&(r[0]=o[0],r[1]=o[1]);else if(0==i)r[2]=qC(e.trim());else{var o;r=3===(o=e.split(" ")).length?o:[t,n,e]}return r}function qC(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var GC=function(){function e(e,t,n){this.matchMedia=e,this.breakpoints=t,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new k,this.observeActivations()}return Object.defineProperty(e.prototype,"activatedAlias",{get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""},enumerable:!0,configurable:!0}),e.prototype.onMediaChange=function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=bC(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(LC),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(LC),this.updateStyles()))},e.prototype.init=function(e,t,n,r,i){void 0===i&&(i=[]),QC(this.updateMap,e,t,n),QC(this.clearMap,e,t,r),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)},e.prototype.getValue=function(e,t,n){var r=this.elementMap.get(e);if(r){var i=void 0!==n?r.get(n):this.getActivatedValues(r,t);if(i)return i.get(t)}},e.prototype.hasValue=function(e,t){var n=this.elementMap.get(e);if(n){var r=this.getActivatedValues(n,t);if(r)return void 0!==r.get(t)||!1}return!1},e.prototype.setValue=function(e,t,n,r){var i=this.elementMap.get(e);if(i){var o=(i.get(r)||new Map).set(t,n);i.set(r,o),this.elementMap.set(e,i)}else i=(new Map).set(r,(new Map).set(t,n)),this.elementMap.set(e,i);var s=this.getValue(e,t);void 0!==s&&this.updateElement(e,t,s)},e.prototype.trackValue=function(e,t){return this.subject.asObservable().pipe(Rc(function(n){return n.element===e&&n.key===t}))},e.prototype.updateStyles=function(){var e=this;this.elementMap.forEach(function(t,n){var r=new Set(e.elementKeyMap.get(n)),i=e.getActivatedValues(t);i&&i.forEach(function(t,i){e.updateElement(n,i,t),r.delete(i)}),r.forEach(function(r){if(i=e.getActivatedValues(t,r)){var o=i.get(r);e.updateElement(n,r,o)}else e.clearElement(n,r)})})},e.prototype.clearElement=function(e,t){var n=this.clearMap.get(e);if(n){var r=n.get(t);r&&(r(),this.subject.next({element:e,key:t,value:""}))}},e.prototype.updateElement=function(e,t,n){var r=this.updateMap.get(e);if(r){var i=r.get(t);i&&(i(n),this.subject.next({element:e,key:t,value:n}))}},e.prototype.releaseElement=function(e){var t=this.watcherMap.get(e);t&&(t.forEach(function(e){return e.unsubscribe()}),this.watcherMap.delete(e));var n=this.elementMap.get(e);n&&(n.forEach(function(e,t){return n.delete(t)}),this.elementMap.delete(e))},e.prototype.triggerUpdate=function(e,t){var n=this,r=this.elementMap.get(e);if(r){var i=this.getActivatedValues(r,t);i&&(t?this.updateElement(e,t,i.get(t)):i.forEach(function(t,r){return n.updateElement(e,r,t)}))}},e.prototype.buildElementKeyMap=function(e,t){var n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)},e.prototype.watchExtraTriggers=function(e,t,n){var r=this;if(n&&n.length){var i=this.watcherMap.get(e);if(i||(i=new Map,this.watcherMap.set(e,i)),!i.get(t)){var o=X.apply(void 0,n).subscribe(function(){var n=r.getValue(e,t);r.updateElement(e,t,n)});i.set(t,o)}}},e.prototype.findByQuery=function(e){return this.breakpoints.findByQuery(e)},e.prototype.getActivatedValues=function(e,t){for(var n=0;n-1}function eE(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var tE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.buildStyles=function(e){return void 0===(t=(r=ZC(e))[1])&&(t=null),void 0===(n=r[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":r[0],"flex-wrap":t||null};var t,n,r},t.ngInjectableDef=de({factory:function(){return new t},token:t,providedIn:"root"}),t}(WC),nE=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],rE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=nE,t}return Object(r.__extends)(t,e),t}(function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.elRef=t,o.styleUtils=n,o.styleBuilder=r,o.marshal=i,o.DIRECTIVE_KEY="layout",o.styleCache=iE,o.init(),o}return Object(r.__extends)(t,e),t}(EC)),iE=new Map;function oE(e){for(var t=[],n=1;n-1?"column":"row",a=JC(s)?"max-width":"max-height",l=JC(s)?"min-width":"min-height",u=String(o).indexOf("calc")>-1,c=u||"auto"===o,h=String(o).indexOf("%")>-1&&!u,d=String(o).indexOf("px")>-1||String(o).indexOf("rem")>-1||String(o).indexOf("em")>-1||String(o).indexOf("vw")>-1||String(o).indexOf("vh")>-1,f=u||d;i="0"==i?0:i;var p=!(r="0"==r?0:r)&&!i,m={},g={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(o||""){case"":o="row"===s?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,o="auto";break;case"grow":o="100%";break;case"noshrink":i=0,o="auto";break;case"auto":break;case"none":r=0,i=0,o="auto";break;default:f||h||isNaN(o)||(o+="%"),"0%"===o&&(f=!0),"0px"===o&&(o="0%"),m=oE(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":f?o:"100%"}:{flex:r+" "+i+" "+(f?o:"100%")})}return m.flex||m["flex-grow"]||(m=oE(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":o}:{flex:r+" "+i+" "+o})),"0%"!==o&&"0px"!==o&&"0.000000001px"!==o&&"auto"!==o&&(m[l]=p||f&&r?o:null,m[a]=p||!c&&i?o:null),m[l]||m[a]?t.hasWrap&&(m[u?"flex-basis":"flex"]=m[a]?u?m[a]:r+" "+i+" "+m[a]:u?m[l]:r+" "+i+" "+m[l]):m=oE(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":o}:{flex:r+" "+i+" "+o}),oE(m,{"box-sizing":"border-box"})},t.ngInjectableDef=de({factory:function(){return new t(Pt(vC))},token:t,providedIn:"root"}),t}(WC),aE=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],lE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=aE,t}return Object(r.__extends)(t,e),t}(function(e){function t(t,n,r,i,o){var s=e.call(this,t,i,n,o)||this;return s.elRef=t,s.styleUtils=n,s.layoutConfig=r,s.styleBuilder=i,s.marshal=o,s.DIRECTIVE_KEY="flex",s.direction="",s.wrap=!1,s.flexGrow="1",s.flexShrink="1",s.init(),s.parentElement&&(s.marshal.trackValue(s.parentElement,"layout").pipe(pv(s.destroySubject)).subscribe(s.onLayoutChange.bind(s)),s.marshal.trackValue(s.nativeElement,"layout-align").pipe(pv(s.destroySubject)).subscribe(s.triggerReflow.bind(s))),s}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"shrink",{get:function(){return this.flexShrink},set:function(e){this.flexShrink=e||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"grow",{get:function(){return this.flexGrow},set:function(e){this.flexGrow=e||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),t.prototype.onLayoutChange=function(e){var t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()},t.prototype.updateWithValue=function(e){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));var t=this.direction,n=t.startsWith("row"),r=this.wrap;n&&r?this.styleCache=hE:n&&!r?this.styleCache=uE:!n&&r?this.styleCache=dE:n||r||(this.styleCache=cE);var i=KC(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(i.join(" "),{direction:t,hasWrap:r})},t.prototype.triggerReflow=function(){var e=this.activatedValue;if(void 0!==e){var t=KC(e,this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}},t}(EC)),uE=new Map,cE=new Map,hE=new Map,dE=new Map,fE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.buildStyles=function(e,t){var n={},r=e.split(" "),i=r[1];switch(r[0]){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(i){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return oE(n,{display:t.inline?"inline-flex":"flex","flex-direction":t.layout,"box-sizing":"border-box","max-width":"stretch"===i?JC(t.layout)?null:"100%":null,"max-height":"stretch"===i&&JC(t.layout)?"100%":null})},t.ngInjectableDef=de({factory:function(){return new t},token:t,providedIn:"root"}),t}(WC),pE=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],mE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=pE,t}return Object(r.__extends)(t,e),t}(function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.elRef=t,o.styleUtils=n,o.styleBuilder=r,o.marshal=i,o.DIRECTIVE_KEY="layout-align",o.layout="row",o.inline=!1,o.init(),o.marshal.trackValue(o.nativeElement,"layout").pipe(pv(o.destroySubject)).subscribe(o.onLayoutChange.bind(o)),o}return Object(r.__extends)(t,e),t.prototype.updateWithValue=function(e){var t=this.layout||"row",n=this.inline;"row"===t&&n?this.styleCache=bE:"row"!==t||n?"row-reverse"===t&&n?this.styleCache=CE:"row-reverse"!==t||n?"column"===t&&n?this.styleCache=wE:"column"!==t||n?"column-reverse"===t&&n?this.styleCache=EE:"column-reverse"!==t||n||(this.styleCache=_E):this.styleCache=vE:this.styleCache=yE:this.styleCache=gE,this.addStyles(e,{layout:t,inline:n})},t.prototype.onLayoutChange=function(e){var t=this,n=e.value.split(" ");this.layout=n[0],this.inline=e.value.includes("inline"),XC.find(function(e){return e===t.layout})||(this.layout="row"),this.triggerUpdate()},t}(EC)),gE=new Map,vE=new Map,yE=new Map,_E=new Map,bE=new Map,wE=new Map,CE=new Map,EE=new Map,AE=function(){return function(){}}(),xE=function(){return function(){}}(),SE=function(){return function(){}}(),FE=Ms({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px 0}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function kE(e){return Sl(2,[wl(null,0),wl(null,1)],null,null)}var DE=function(){return function(){}}();function OE(e){return Error("A hint was already declared for 'align=\""+e+"\"'.")}var RE=0,PE=Hg(function(){return function(e){this._elementRef=e}}(),"primary"),TE=new me("MAT_FORM_FIELD_DEFAULT_OPTIONS"),IE=function(e){function t(t,n,r,i,o,s,a,l){var u=e.call(this,t)||this;return u._elementRef=t,u._changeDetectorRef=n,u._dir=i,u._defaults=o,u._platform=s,u._ngZone=a,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new k,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+RE++,u._labelId="mat-form-field-label-"+RE++,u._labelOptions=r||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==l,u.appearance=o&&o.appearance?o.appearance:"legacy",u}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"appearance",{get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&this._updateOutlineGapOnStable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=Fg(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),t.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},t.prototype.ngAfterContentInit=function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(sh(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(pv(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone&&this._ngZone.onStable.asObservable().pipe(pv(this._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()}),X(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._updateOutlineGapOnStable(),e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(sh(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(sh(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(pv(this._destroyed)).subscribe(function(){return e.updateOutlineGap()})},t.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},t.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype._shouldForward=function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]},t.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},t.prototype._hasLabel=function(){return!!this._labelChild},t.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},t.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},t.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},t.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},t.prototype._animateAndLockLabel=function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,xv(this._label.nativeElement,"transitionend").pipe(Yc(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},t.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},t.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},t.prototype._validateHints=function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach(function(r){if("start"===r.align){if(e||n.hintLabel)throw OE("start");e=r}else if("end"===r.align){if(t)throw OE("end");t=r}})},t.prototype._syncDescribedByIds=function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map(function(e){return e.id}));this._control.setDescribedByIds(e)}},t.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},t.prototype.updateOutlineGap=function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&(!this._platform||this._platform.isBrowser))if(document.documentElement.contains(this._elementRef.nativeElement)){var t=0,n=0,r=this._connectionContainerRef.nativeElement,i=r.querySelectorAll(".mat-form-field-outline-start"),o=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var s=r.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var a=this._getStartEnd(s),l=this._getStartEnd(e.children[0].getBoundingClientRect()),u=0,c=0,h=e.children;c0?.75*u+10:0}for(var d=0;d enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function VE(e){return Sl(0,[(e()(),da(0,0,null,null,8,null,null,null,null,null,null,null)),(e()(),da(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(e()(),da(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(e()(),da(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(e()(),da(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(e()(),da(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(e()(),da(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(e()(),da(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(e()(),da(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function zE(e){return Sl(0,[(e()(),da(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),wl(null,0)],null,null)}function HE(e){return Sl(0,[(e()(),da(0,0,null,null,2,null,null,null,null,null,null,null)),wl(null,2),(e()(),El(2,null,["",""]))],null,function(e,t){e(t,2,0,t.component._control.placeholder)})}function UE(e){return Sl(0,[wl(null,3),(e()(),ha(0,null,null,0))],null,null)}function WE(e){return Sl(0,[(e()(),da(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(e()(),El(-1,null,["\xa0*"]))],null,null)}function KE(e){return Sl(0,[(e()(),da(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],function(e,t,n){var r=!0;return"cdkObserveContent"===t&&(r=!1!==e.component.updateOutlineGap()&&r),r},null,null)),el(1,16384,null,0,oc,[],{ngSwitch:[0,"ngSwitch"]},null),el(2,1196032,null,0,ME,[$E,Hr,bo],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(e()(),ha(16777216,null,null,1,null,HE)),el(4,278528,null,0,sc,[Wo,Ti,oc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),ha(16777216,null,null,1,null,UE)),el(6,278528,null,0,sc,[Wo,Ti,oc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),ha(16777216,null,null,1,null,WE)),el(8,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n._hasLabel()),e(t,2,0,"outline"!=n.appearance),e(t,4,0,!1),e(t,6,0,!0),e(t,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(e,t){var n=t.component;e(t,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function qE(e){return Sl(0,[(e()(),da(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),wl(null,4)],null,null)}function GE(e){return Sl(0,[(e()(),da(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(e()(),da(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,1,0,"accent"==n.color,"warn"==n.color)})}function QE(e){return Sl(0,[(e()(),da(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),wl(null,5)],null,function(e,t){e(t,0,0,t.component._subscriptAnimationState)})}function YE(e){return Sl(0,[(e()(),da(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(e()(),El(1,null,["",""]))],null,function(e,t){var n=t.component;e(t,0,0,n._hintLabelId),e(t,1,0,n.hintLabel)})}function XE(e){return Sl(0,[(e()(),da(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(e()(),ha(16777216,null,null,1,null,YE)),el(2,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"]},null),wl(null,6),(e()(),da(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),wl(null,7)],function(e,t){e(t,2,0,t.component.hintLabel)},function(e,t){e(t,0,0,t.component._subscriptAnimationState)})}function ZE(e){return Sl(2,[gl(671088640,1,{underlineRef:0}),gl(402653184,2,{_connectionContainerRef:0}),gl(402653184,3,{_inputContainerRef:0}),gl(671088640,4,{_label:0}),(e()(),da(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(e()(),da(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&r),r},null,null)),(e()(),ha(16777216,null,null,1,null,VE)),el(7,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"]},null),(e()(),ha(16777216,null,null,1,null,zE)),el(9,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"]},null),(e()(),da(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),wl(null,1),(e()(),da(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(e()(),ha(16777216,null,null,1,null,KE)),el(14,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"]},null),(e()(),ha(16777216,null,null,1,null,qE)),el(16,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"]},null),(e()(),ha(16777216,null,null,1,null,GE)),el(18,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"]},null),(e()(),da(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),el(20,16384,null,0,oc,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),ha(16777216,null,null,1,null,QE)),el(22,278528,null,0,sc,[Wo,Ti,oc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),ha(16777216,null,null,1,null,XE)),el(24,278528,null,0,sc,[Wo,Ti,oc],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(e,t){var n=t.component;e(t,7,0,"outline"==n.appearance),e(t,9,0,n._prefixChildren.length),e(t,14,0,n._hasFloatingLabel()),e(t,16,0,n._suffixChildren.length),e(t,18,0,"outline"!=n.appearance),e(t,20,0,n._getDisplayedMessages()),e(t,22,0,"error"),e(t,24,0,"hint")},null)}var JE=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),eA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(JE);function tA(e){return null==e||0===e.length}var nA=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,rA=function(){function e(){}return e.min=function(e){return function(t){if(tA(t.value)||tA(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&ne?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return tA(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return tA(e.value)?null:nA.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(tA(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(tA(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(iA);return 0==t.length?null:function(e){return sA(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(iA);return 0==t.length?null:function(e){return Hw(function(e,n){return t.map(function(t){return t(e)})}(e).map(oA)).pipe(N(sA))}},e}();function iA(e){return null!=e}function oA(e){var t=Gi(e)?U(e):e;if(!Qi(t))throw new Error("Expected validator to return Promise or Observable.");return t}function sA(e){var t=e.reduce(function(e,t){return null!=t?Object(r.__assign)({},e,t):e},{});return 0===Object.keys(t).length?null:t}var aA=new me("NgValueAccessor"),lA=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),uA=new me("CompositionEventMode"),cA=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=yh()?yh().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function hA(e){return e.validate?function(t){return e.validate(t)}:e}function dA(e){return e.validate?function(t){return e.validate(t)}:e}var fA=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function pA(){throw new Error("unimplemented")}var mA=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return pA()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return pA()},enumerable:!0,configurable:!0}),t}(JE),gA=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),vA=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(mA),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex:

    \n \n
    \n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',bA='\n
    \n
    \n \n
    \n
    \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',wA='\n
    \n
    \n \n
    \n
    ',CA=function(){function e(){}return e.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+_A)},e.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+bA+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+wA)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+_A)},e.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+bA)},e.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},e.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},e.ngModelWarning=function(e){console.warn("\n It looks like you're using ngModel on the same form field as "+e+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},e}();function EA(e,t){return Object(r.__spread)(t.path,[e])}function AA(e,t){e||kA(t,"Cannot find control with"),t.valueAccessor||kA(t,"No value accessor for form control with"),e.validator=rA.compose([e.validator,t.validator]),e.asyncValidator=rA.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&xA(e,t)})}(e,t),function(e,t){e.registerOnChange(function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&xA(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(function(e){t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})}),t._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})})}function xA(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function SA(e,t){null==e&&kA(t,"Cannot find control with"),e.validator=rA.compose([e.validator,t.validator]),e.asyncValidator=rA.composeAsync([e.asyncValidator,t.asyncValidator])}function FA(e){return kA(e,"There is no FormControl instance attached to form control element with")}function kA(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function DA(e){return null!=e?rA.compose(e.map(hA)):null}function OA(e){return null!=e?rA.composeAsync(e.map(dA)):null}var RA=[lA,yA,fA,function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Oe}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var i=Object(r.__values)(Array.from(this._optionMap.keys())),o=i.next();!o.done;o=i.next()){var s=o.value;if(this._compareWith(this._optionMap.get(s),e))return s}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e}(),function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Oe}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o-1&&e.splice(n,1)}var IA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return EA(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return DA(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return OA(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(eA),LA=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t}(function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}());function BA(e){var t=MA(e)?e.validators:e;return Array.isArray(t)?DA(t):t||null}function $A(e,t){var n=MA(t)?t.asyncValidators:e;return Array.isArray(n)?OA(n):n||null}function MA(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var jA=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=BA(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=$A(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object(r.__assign)({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild(function(t){t.enable(Object(r.__assign)({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=oA(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return t.setErrors(n,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce(function(e,t){return e instanceof VA?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof zA&&e.at(t)||null},e))}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new Pi,this.statusChanges=new Pi},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},e.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},e.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){MA(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),NA=function(e){function t(t,n,r){void 0===t&&(t=null);var i=e.call(this,BA(n),$A(r,n))||this;return i._onChange=[],i._applyFormState(t),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return Object(r.__extends)(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(n.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(jA),VA=function(e){function t(t,n,r){var i=e.call(this,BA(n),$A(r,n))||this;return i.controls=t,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(r.__extends)(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof NA?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(r,i){n=n||t.contains(i)&&e(r)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(r.__values)(Object.keys(this.controls)),i=n.next();!i.done;i=n.next())if(this.controls[i.value].enabled)return!1}catch(o){e={error:o}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},t}(jA),zA=function(e){function t(t,n,r){var i=e.call(this,BA(n),$A(r,n))||this;return i.controls=t,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(r.__extends)(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof NA?e.value:e.getRawValue()})},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,n){e(t,n)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")})},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(r.__values)(this.controls),i=n.next();!i.done;i=n.next())if(i.value.enabled)return!1}catch(o){e={error:o}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(jA),HA=Promise.resolve(null),UA=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Pi,r.form=new VA({},DA(t),OA(n)),r}return Object(r.__extends)(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;HA.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),AA(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;HA.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),TA(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;HA.then(function(){var n=t._findContainer(e.path),r=new VA({});SA(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;HA.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;HA.then(function(){n.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,PA(this.form,this._directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(eA),WA=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+_A+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
    \n \n \n
    \n ')},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+bA+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+wA)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+bA+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+wA)},e.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n \n\n After:\n \n ")},e}(),KA=new me("NgFormSelectorWarning"),qA=function(e){function t(t,n,r){var i=e.call(this)||this;return i._parent=t,i._validators=n,i._asyncValidators=r,i}var n;return Object(r.__extends)(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof UA||WA.modelGroupParentException()},t}(IA),GA=Promise.resolve(null),QA=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.control=new NA,o._registered=!1,o.update=new Pi,o._parent=t,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||kA(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return t.forEach(function(t){var o;t.constructor===cA?n=t:(o=t,RA.some(function(e){return o.constructor===e})?(r&&kA(e,"More than one built-in value accessor matches form control with"),r=t):(i&&kA(e,"More than one custom value accessor matches form control with"),i=t))}),i||r||n||(kA(e,"No valid value accessor for form control with"),null)}(o,i),o}return Object(r.__extends)(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Oe(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?EA(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return DA(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return OA(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){AA(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof qA)&&this._parent instanceof IA?WA.formGroupNameException():this._parent instanceof qA||this._parent instanceof UA||WA.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||WA.missingNameException()},t.prototype._updateValue=function(e){var t=this;GA.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;GA.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t}(mA),YA=new me("NgModelWithFormControlWarning"),XA=function(e){function t(t,n){var r=e.call(this)||this;return r._validators=t,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Pi,r}return Object(r.__extends)(t,e),t.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.get(e.path);return AA(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){TA(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);SA(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(e){},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.addFormArray=function(e){var t=this.form.get(e.path);SA(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(e){},t.prototype.getFormArray=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},t.prototype.onSubmit=function(e){return this.submitted=!0,PA(this.form,this.directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach(function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange(function(){return FA(t)}),t.valueAccessor.registerOnTouched(function(){return FA(t)}),t._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(t.control,t),n&&AA(n,t),t.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange(function(){return e._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},t.prototype._updateValidators=function(){var e=DA(this._validators);this.form.validator=rA.compose([this.form.validator,e]);var t=OA(this._asyncValidators);this.form.asyncValidator=rA.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||CA.missingFormException()},t}(eA),ZA=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null,i=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new VA(n,{asyncValidators:i,updateOn:o,validators:r})},e.prototype.control=function(e,t,n){return new NA(e,t,n)},e.prototype.array=function(e,t,n){var r=this,i=e.map(function(e){return r._createControl(e)});return new zA(i,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach(function(r){n[r]=t._createControl(e[r])}),n},e.prototype._createControl=function(e){return e instanceof NA||e instanceof VA||e instanceof zA?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)},e}(),JA=function(){return function(){}}(),ex=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:KA,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),tx=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:YA,useValue:e.warnOnNgModelWithFormControl}]}},e}(),nx=Sg({passive:!0}),rx=function(){function e(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}return e.prototype.monitor=function(e){var t=this;if(!this._platform.isBrowser)return Fc;var n=Og(e),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new k,o="cdk-text-field-autofilled",s=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(o)&&(n.classList.remove(o),t._ngZone.run(function(){return i.next({target:e.target,isAutofilled:!1})})):(n.classList.add(o),t._ngZone.run(function(){return i.next({target:e.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",s,nx),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",s,nx)}}),i.asObservable()},e.prototype.stopMonitoring=function(e){var t=Og(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))},e.prototype.ngOnDestroy=function(){var e=this;this._monitoredElements.forEach(function(t,n){return e.stopMonitoring(n)})},e.ngInjectableDef=de({factory:function(){return new e(Pt(Cg),Pt(bo))},token:e,providedIn:"root"}),e}(),ix=function(){return function(){}}(),ox=["button","checkbox","file","hidden","image","radio","range","reset","submit"],sx=0,ax=function(e){function t(t,n,r,i,o,s,a,l,u){var c=e.call(this,s,i,o,r)||this;c._elementRef=t,c._platform=n,c.ngControl=r,c._autofillMonitor=l,c._uid="mat-input-"+sx++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new k,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(e){return xg().has(e)});var h=c._elementRef.nativeElement;return c._inputValueAccessor=a||h,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular(function(){t.nativeElement.addEventListener("keyup",function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===h.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select"),c}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Fg(e),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=Fg(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea()&&xg().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=Fg(e)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()})},t.prototype.ngOnChanges=function(){this.stateChanges.next()},t.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype._focusChanged=function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())},t.prototype._onInput=function(){},t.prototype._dirtyCheckNativeValue=function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())},t.prototype._validateType=function(){if(ox.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},t.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},t.prototype._isBadInput=function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput},t.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(t.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),t.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},t.prototype.onContainerClick=function(){this.focused||this.focus()},t}(Kg(function(){return function(e,t,n,r){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=r}}())),lx=function(){return function(){}}(),ux=0,cx=0,hx=new me("mat-select-scroll-strategy");function dx(e){return function(){return e.scrollStrategies.reposition()}}var fx=function(){return function(e,t){this.source=e,this.value=t}}(),px=function(e){function t(t,n,r,i,o,s,a,l,u,c,h,d,f){var p=e.call(this,o,i,a,l,c)||this;return p._viewportRuler=t,p._changeDetectorRef=n,p._ngZone=r,p._dir=s,p._parentFormField=u,p.ngControl=c,p._liveAnnouncer=f,p._panelOpen=!1,p._required=!1,p._scrollTop=0,p._multiple=!1,p._compareWith=function(e,t){return e===t},p._uid="mat-select-"+ux++,p._destroy=new k,p._triggerFontSize=0,p._onChange=function(){},p._onTouched=function(){},p._optionIds="",p._transformOrigin="top",p._panelDoneAnimatingStream=new k,p._offsetY=0,p._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],p._disableOptionCentering=!1,p._focused=!1,p.controlType="mat-select",p.ariaLabel="",p.optionSelectionChanges=Dc(function(){return p.options?X.apply(void 0,p.options.map(function(e){return e.onSelectionChange})):p._ngZone.onStable.asObservable().pipe(Yc(1),nh(function(){return p.optionSelectionChanges}))}),p.openedChange=new Pi,p._openedStream=p.openedChange.pipe(Rc(function(e){return e}),N(function(){})),p._closedStream=p.openedChange.pipe(Rc(function(e){return!e}),N(function(){})),p.selectionChange=new Pi,p.valueChange=new Pi,p.ngControl&&(p.ngControl.valueAccessor=p),p._scrollStrategyFactory=d,p._scrollStrategy=p._scrollStrategyFactory(),p.tabIndex=parseInt(h)||0,p.id=p.id,p}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(e){this._focused=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=Fg(e),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Fg(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Fg(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this._selectionModel=new Tv(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(function(e){return e.lift(new Sv(void 0,void 0))},pv(this._destroy)).subscribe(function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})},t.prototype.ngAfterContentInit=function(){var e=this;this._initKeyManager(),this._selectionModel.onChange.pipe(pv(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe(sh(null),pv(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},t.prototype.ngOnChanges=function(e){e.disabled&&this.stateChanges.next()},t.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},t.prototype.toggle=function(){this.panelOpen?this.close():this.open()},t.prototype.open=function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Yc(1)).subscribe(function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")}))},t.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},t.prototype.writeValue=function(e){this.options&&this._setSelectionByValue(e)},t.prototype.registerOnChange=function(e){this._onChange=e},t.prototype.registerOnTouched=function(e){this._onTouched=e},t.prototype.setDisabledState=function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(t.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),t.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},t.prototype._handleKeydown=function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))},t.prototype._handleClosedKeydown=function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,r=this._keyManager;if((13===t||32===t)&&!fg(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var i=this.selected;36===t||35===t?(36===t?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):r.onKeydown(e),this._liveAnnouncer&&i!==this.selected&&this._liveAnnouncer.announce(this.selected.viewValue)}},t.prototype._handleOpenKeydown=function(e){var t=e.keyCode,n=40===t||38===t,r=this._keyManager;if(36===t||35===t)e.preventDefault(),36===t?r.setFirstItemActive():r.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(13!==t&&32!==t||!r.activeItem||fg(e))if(this._multiple&&65===t&&e.ctrlKey){e.preventDefault();var i=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(i?e.select():e.deselect())})}else{var o=r.activeItemIndex;r.onKeydown(e),this._multiple&&n&&e.shiftKey&&r.activeItem&&r.activeItemIndex!==o&&r.activeItem._selectViaInteraction()}else e.preventDefault(),r.activeItem._selectViaInteraction()},t.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},t.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},t.prototype._onAttached=function(){var e=this;this.overlayDir.positionChange.pipe(Yc(1)).subscribe(function(){e._setPseudoCheckboxPaddingSize(),e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop})},t.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},t.prototype._setPseudoCheckboxPaddingSize=function(){if(!cx&&this.multiple){var e=this.panel.nativeElement.querySelector(".mat-pseudo-checkbox");e&&(cx=24+e.offsetWidth)}},Object.defineProperty(t.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),t.prototype._initializeSelection=function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})},t.prototype._setSelectionByValue=function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach(function(e){return t._selectValue(e)}),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n&&this._keyManager.setActiveItem(n)}this._changeDetectorRef.markForCheck()},t.prototype._selectValue=function(e){var t=this,n=this.options.find(function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(r){return li()&&console.warn(r),!1}});return n&&this._selectionModel.select(n),n},t.prototype._initKeyManager=function(){var e=this;this._keyManager=new Pg(this.options).withTypeAhead().withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(pv(this._destroy)).subscribe(function(){e.focus(),e.close()}),this._keyManager.change.pipe(pv(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})},t.prototype._resetOptions=function(){var e=this,t=X(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(pv(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),X.apply(void 0,this.options.map(function(e){return e._stateChanges})).pipe(pv(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()}),this._setOptionIds()},t.prototype._onSelect=function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()},t.prototype._sortValues=function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,r){return e.sortComparator?e.sortComparator(n,r,t):t.indexOf(n)-t.indexOf(r)}),this.stateChanges.next()}},t.prototype._propagateChanges=function(e){var t;t=this.multiple?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new fx(this,t)),this._changeDetectorRef.markForCheck()},t.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(e){return e.id}).join(" ")},t.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},t.prototype._scrollActiveOptionIntoView=function(){var e,t,n,r=this._keyManager.activeItemIndex||0,i=hv(r,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(r+i)*(e=this._getItemHeight()))<(t=this.panel.nativeElement.scrollTop)?n:n+e>t+256?Math.max(0,n-256+e):t},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype._getOptionIndex=function(e){return this.options.reduce(function(t,n,r){return void 0===t?e===n?r:void 0:t},void 0)},t.prototype._calculateOverlayPosition=function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),r=t*e-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=hv(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)},t.prototype._calculateOverlayScroll=function(e,t,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*e-t+r/2),n)},t.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},t.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},t.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},t.prototype._calculateOverlayOffsetX=function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?cx+16:32;if(this.multiple)e=cx;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}r||(e*=-1);var s=0-(t.left+e-(r?i:0)),a=t.right+e-n.width+(r?0:i);s>0?e+=s+8:a>0&&(e-=a+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()},t.prototype._calculateOverlayOffsetY=function(e,t,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,s=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-256)%i):t-i/2,Math.round(-1*r-o))},t.prototype._checkOverlayWithinViewport=function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),s=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;s>i?this._adjustPanelUp(s,i):o>r?this._adjustPanelDown(o,r,e):this._transformOrigin=this._getOriginBasedOnOption()},t.prototype._adjustPanelUp=function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},t.prototype._adjustPanelDown=function(e,t,n){var r=Math.round(e-t);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},t.prototype._getOriginBasedOnOption=function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-t+e/2)+"px 0px"},t.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},t.prototype._getItemHeight=function(){return 3*this._triggerFontSize},t.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},t.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),t}(Ug(Wg(zg(Kg(function(){return function(e,t,n,r,i){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i}}()))))),mx=function(){return function(){}}(),gx=Ms({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function vx(e){return Sl(0,[(e()(),da(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(e()(),El(1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.placeholder||"\xa0")})}function yx(e){return Sl(0,[(e()(),da(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),El(1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.triggerValue||"\xa0")})}function _x(e){return Sl(0,[wl(null,0),(e()(),ha(0,null,null,0))],null,null)}function bx(e){return Sl(0,[(e()(),da(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),el(1,16384,null,0,oc,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),ha(16777216,null,null,1,null,yx)),el(3,16384,null,0,ac,[Wo,Ti,oc],null,null),(e()(),ha(16777216,null,null,1,null,_x)),el(5,278528,null,0,sc,[Wo,Ti,oc],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(e,t){e(t,1,0,!!t.component.customTrigger),e(t,5,0,!0)},null)}function wx(e){return Sl(0,[(e()(),da(0,0,[[2,0],["panel",1]],null,2,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],function(e,t,n){var r=!0,i=e.component;return"@transformPanel.done"===t&&(r=!1!==i._panelDoneAnimatingStream.next(n.toState)&&r),"keydown"===t&&(r=!1!==i._handleKeydown(n)&&r),r},null,null)),el(1,278528,null,0,Xu,[hs,ds,Hr,Gr],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),wl(null,1)],function(e,t){var n,r,i=t.component;e(t,1,0,("mat-select-panel ",n=i._getPanelTheme(),"mat-select-panel "+(null!=(r=n)?r.toString():"")),i.panelClass)},function(e,t){var n=t.component;e(t,0,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)})}function Cx(e){return Sl(2,[gl(402653184,1,{trigger:0}),gl(671088640,2,{panel:0}),gl(402653184,3,{overlayDir:0}),(e()(),da(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggle()&&r),r},null,null)),el(4,16384,[["origin",4]],0,ly,[Hr],null,null),(e()(),da(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),el(6,16384,null,0,oc,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),ha(16777216,null,null,1,null,vx)),el(8,278528,null,0,sc,[Wo,Ti,oc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),ha(16777216,null,null,1,null,bx)),el(10,278528,null,0,sc,[Wo,Ti,oc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),da(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(e()(),da(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(e()(),ha(16777216,null,null,1,function(e,t,n){var r=!0,i=e.component;return"backdropClick"===t&&(r=!1!==i.close()&&r),"attach"===t&&(r=!1!==i._onAttached()&&r),"detach"===t&&(r=!1!==i.close()&&r),r},wx)),el(14,671744,[[3,4]],0,uy,[oy,Ti,Wo,ay,[2,Cy]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],function(e,t){var n=t.component;e(t,6,0,n.empty),e(t,8,0,!0),e(t,10,0,!1),e(t,14,0,Va(t,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")},null)}var Ex=Ms({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function Ax(e){return Sl(0,[(e()(),da(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,Fx,Sx)),el(1,49152,null,0,rv,[[2,Ub]],{state:[0,"state"],disabled:[1,"disabled"]},null)],function(e,t){var n=t.component;e(t,1,0,n.selected?"checked":"",n.disabled)},function(e,t){e(t,0,0,"indeterminate"===Va(t,1).state,"checked"===Va(t,1).state,Va(t,1).disabled,"NoopAnimations"===Va(t,1)._animationMode)})}function xx(e){return Sl(2,[(e()(),ha(16777216,null,null,1,null,Ax)),el(1,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"]},null),(e()(),da(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),wl(null,0),(e()(),da(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),el(5,212992,null,0,tv,[Hr,bo,Cg,[2,ev],[2,Ub]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(e,t){var n=t.component;e(t,1,0,n.multiple),e(t,5,0,n.disabled||n.disableRipple,n._getHostElement())},function(e,t){e(t,4,0,Va(t,5).unbounded)})}var Sx=Ms({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],data:{}});function Fx(e){return Sl(2,[],null,null)}n("NEWo");var kx=function(){function e(e,t){var n=this;this.zone=t,this.textChanged=new Pi,this.textChange=new Pi,this.style={},this._options={},this._readOnly=!1,this._theme="monokai",this._mode="html",this._autoUpdateContent=!0,this._durationBeforeCallback=0,this._text="",this._onChange=function(e){},this._onTouched=function(){};var r=e.nativeElement;this.zone.runOutsideAngular(function(){n._editor=ace.edit(r)}),this._editor.$blockScrolling=1/0}return e.prototype.ngOnInit=function(){this.init(),this.initEvents()},e.prototype.ngOnDestroy=function(){this._editor.destroy()},e.prototype.init=function(){this.setOptions(this._options||{}),this.setTheme(this._theme),this.setMode(this._mode),this.setReadOnly(this._readOnly)},e.prototype.initEvents=function(){var e=this;this._editor.on("change",function(){return e.updateText()}),this._editor.on("paste",function(){return e.updateText()})},e.prototype.updateText=function(){var e=this,t=this._editor.getValue();t!==this.oldText&&(this._durationBeforeCallback?(this.timeoutSaving&&clearTimeout(this.timeoutSaving),this.timeoutSaving=setTimeout(function(){e._text=t,e.zone.run(function(){e.textChange.emit(t),e.textChanged.emit(t)}),e.timeoutSaving=null},this._durationBeforeCallback)):(this._text=t,this.zone.run(function(){e.textChange.emit(t),e.textChanged.emit(t)}),this._onChange(t)),this.oldText=t)},Object.defineProperty(e.prototype,"options",{set:function(e){this.setOptions(e)},enumerable:!0,configurable:!0}),e.prototype.setOptions=function(e){this._options=e,this._editor.setOptions(e||{})},Object.defineProperty(e.prototype,"readOnly",{set:function(e){this.setReadOnly(e)},enumerable:!0,configurable:!0}),e.prototype.setReadOnly=function(e){this._readOnly=e,this._editor.setReadOnly(e)},Object.defineProperty(e.prototype,"theme",{set:function(e){this.setTheme(e)},enumerable:!0,configurable:!0}),e.prototype.setTheme=function(e){this._theme=e,this._editor.setTheme("ace/theme/"+e)},Object.defineProperty(e.prototype,"mode",{set:function(e){this.setMode(e)},enumerable:!0,configurable:!0}),e.prototype.setMode=function(e){this._mode=e,"object"==typeof this._mode?this._editor.getSession().setMode(this._mode):this._editor.getSession().setMode("ace/mode/"+this._mode)},Object.defineProperty(e.prototype,"value",{get:function(){return this.text},set:function(e){this.setText(e)},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.setText(e)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(e){this.setText(e)},enumerable:!0,configurable:!0}),e.prototype.setText=function(e){null==e&&(e=""),this._text!==e&&!0===this._autoUpdateContent&&(this._text=e,this._editor.setValue(e),this._onChange(e),this._editor.clearSelection())},Object.defineProperty(e.prototype,"autoUpdateContent",{set:function(e){this.setAutoUpdateContent(e)},enumerable:!0,configurable:!0}),e.prototype.setAutoUpdateContent=function(e){this._autoUpdateContent=e},Object.defineProperty(e.prototype,"durationBeforeCallback",{set:function(e){this.setDurationBeforeCallback(e)},enumerable:!0,configurable:!0}),e.prototype.setDurationBeforeCallback=function(e){this._durationBeforeCallback=e},e.prototype.getEditor=function(){return this._editor},e}(),Dx=Ms({encapsulation:0,styles:["[_nghost-%COMP%] { display:block;width:100%; }"],data:{}});function Ox(e){return Sl(0,[],null,null)}var Rx=function(){function e(e){this.httpClient=e,this.examplesURL="assets/examples/examples.json"}return Object.defineProperty(e.prototype,"examples",{get:function(){return this.httpClient.get(this.examplesURL)},enumerable:!0,configurable:!0}),e.prototype.getExample=function(e,t){return this.httpClient.get("assets/examples/"+e+"/"+t+".json",{responseType:"text"})},e.ngInjectableDef=de({factory:function(){return new e(Pt(Fw))},token:e,providedIn:"root"}),e}(),Px={ngx:""},Tx=function(){function e(e,t,n){this.route=e,this.router=t,this.jsonLoader=n,this.selectedSet="",this.selectedSetName="",this.selectedExample="",this.selectedExampleName="",this.formActive=!1,this.jsonFormValid=!1,this.jsonFormStatusMessage="Loading form...",this.aceEditorOptions={autoScrollEditorIntoView:!0,highlightActiveLine:!0,maxLines:1e3,printMargin:!1},this.options={action:void 0,autocomplete:void 0,enctype:void 0,method:void 0,target:void 0}}return e.prototype.ngOnInit=function(){var e=this;this.examplesObservable=this.jsonLoader.examples,this.selectedSet="ngx",this.selectedExample="simple-array",this.selectedExampleName="Simple Array",this.route.queryParams.subscribe(function(t){t.set&&(e.selectedSet=t.set,e.selectedSetName=Px[e.selectedSet]),t.example&&(e.selectedExample=t.example,e.jsonLoader.examples.subscribe(function(t){e.selectedExampleName=t.find(function(t){return t.set===e.selectedSet}).examples.find(function(t){return t.file===e.selectedExample}).name})),e.loadSelectedExample()})},e.prototype.trackByFn=function(e){return e},e.prototype.onClick=function(e){if(console.warn(e),e.hasOwnProperty("onClick")){var t=e;new Function("layout",t.onClick)(t)}},e.prototype.loadSelectedExample=function(e,t,n,r){var i=this;void 0===e&&(e=this.selectedSet),void 0===t&&(t=this.selectedSetName),void 0===n&&(n=this.selectedExample),void 0===r&&(r=this.selectedExampleName),this.menuTrigger&&this.menuTrigger.menuOpen&&this.menuTrigger.closeMenu(),n!==this.selectedExample?(this.formActive=!1,this.selectedSet=e,this.selectedSetName=t,this.selectedExample=n,this.selectedExampleName=r,this.router.navigateByUrl("/?set="+e+"&example="+n).catch(function(e){console.warn(e)})):this.jsonLoader.getExample(this.selectedSet,this.selectedExample).subscribe(function(e){i.generateForm(e)})},e.prototype.generateForm=function(e){if(e){this.example=e,this.jsonFormStatusMessage="Loading form...",this.formActive=!1;try{var t=JSON.parse(e);this.jsonFormSchema=t.schema,this.jsonFormLayout=t.layout,this.jsonFormValid=!0,this.formActive=!0}catch(n){this.jsonFormStatusMessage="Entered content is not currently a valid JSON Form object.\n As soon as it is, you will see your form here. So keep typing. :-)\n\n JavaScript parser returned:\n\n "+n}}},e}(),Ix=Ms({encapsulation:0,styles:[[".example-fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}"]],data:{animation:[{type:7,name:"expandSection",definitions:[{type:0,name:"in",styles:{type:6,styles:{height:"*"},offset:null},options:void 0},{type:1,expr:":enter",animation:[{type:6,styles:{height:0},offset:null},{type:4,styles:null,timings:"100ms"}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{height:"*"},offset:null},{type:4,styles:{type:6,styles:{height:0},offset:null},timings:"100ms"}],options:null}],options:{}}]}});function Lx(e){return Sl(0,[(e()(),da(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function Bx(e){return Sl(0,[(e()(),da(0,0,null,null,2,"button",[["class","mat-medium mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==Va(e,1)._checkDisabled(n)&&r),"mouseenter"===t&&(r=!1!==Va(e,1)._handleMouseEnter()&&r),"click"===t&&(r=!1!==i.loadSelectedExample(e.parent.parent.context.$implicit.set,"",e.context.$implicit.file,e.context.$implicit.name)&&r),r},Yb,Qb)),el(1,180224,[[3,4]],0,fy,[Hr,fc,Mg,[2,dy]],null,null),(e()(),El(2,0,[" "," "]))],null,function(e,t){e(t,0,0,Va(t,1).role,Va(t,1)._highlighted,Va(t,1)._triggersSubmenu,Va(t,1)._getTabIndex(),Va(t,1).disabled.toString(),Va(t,1).disabled||null),e(t,2,0,t.context.$implicit.name)})}function $x(e){return Sl(0,[(e()(),ha(16777216,null,null,1,null,Bx)),el(1,278528,null,0,Ju,[Wo,Ti,hs],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(e()(),ha(0,null,null,0))],function(e,t){e(t,1,0,t.parent.context.$implicit.examples,t.component.trackByFn)},null)}function Mx(e){return Sl(0,[(e()(),da(0,0,null,null,2,"button",[["class","mat-medium mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==Va(e,1)._checkDisabled(n)&&r),"mouseenter"===t&&(r=!1!==Va(e,1)._handleMouseEnter()&&r),"click"===t&&(r=!1!==i.loadSelectedExample(e.parent.parent.context.$implicit.set,e.parent.parent.context.$implicit.label,e.context.$implicit.file,e.context.$implicit.name)&&r),r},Yb,Qb)),el(1,180224,[[5,4]],0,fy,[Hr,fc,Mg,[2,dy]],null,null),(e()(),El(2,0,[" "," "]))],null,function(e,t){e(t,0,0,Va(t,1).role,Va(t,1)._highlighted,Va(t,1)._triggersSubmenu,Va(t,1)._getTabIndex(),Va(t,1).disabled.toString(),Va(t,1).disabled||null),e(t,2,0,t.context.$implicit.name)})}function jx(e){return Sl(0,[(e()(),da(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-medium mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,1)._checkDisabled(n)&&r),"mouseenter"===t&&(r=!1!==Va(e,1)._handleMouseEnter()&&r),"mousedown"===t&&(r=!1!==Va(e,2)._handleMousedown(n)&&r),"keydown"===t&&(r=!1!==Va(e,2)._handleKeydown(n)&&r),"click"===t&&(r=!1!==Va(e,2)._handleClick(n)&&r),r},Yb,Qb)),el(1,180224,[[3,4]],0,fy,[Hr,fc,Mg,[2,dy]],null,null),el(2,1196032,[[1,4]],0,_y,[oy,Hr,Wo,gy,[2,my],[6,fy],[2,Cy],Mg],{menu:[0,"menu"]},null),(e()(),da(3,0,null,0,1,"span",[],null,null,null,null,null)),(e()(),El(4,null,["",""])),(e()(),da(5,0,null,null,6,"mat-menu",[["class","example-menu"]],null,null,null,Gb,Kb)),tl(6144,null,dy,null,[my]),el(7,1294336,[["sub_menu",4]],2,my,[Hr,bo,py],{panelClass:[0,"panelClass"]},null),gl(603979776,5,{items:1}),gl(335544320,6,{lazyContent:0}),(e()(),ha(16777216,null,0,1,null,Mx)),el(11,278528,null,0,Ju,[Wo,Ti,hs],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],function(e,t){var n=t.component;e(t,2,0,Va(t,7)),e(t,7,0,"example-menu"),e(t,11,0,t.parent.context.$implicit.examples,n.trackByFn)},function(e,t){e(t,0,0,Va(t,1).role,Va(t,1)._highlighted,Va(t,1)._triggersSubmenu,Va(t,1)._getTabIndex(),Va(t,1).disabled.toString(),Va(t,1).disabled||null,Va(t,2).menuOpen||null),e(t,4,0,t.parent.context.$implicit.name)})}function Nx(e){return Sl(0,[(e()(),da(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),ha(16777216,null,null,1,null,Lx)),el(2,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"],ngIfElse:[2,"ngIfElse"]},null),(e()(),ha(0,[["flat",2]],null,0,null,$x)),(e()(),ha(0,[["nested",2]],null,0,null,jx))],function(e,t){e(t,2,0,"ngx"===t.context.$implicit.set,Va(t,3),Va(t,4))},null)}function Vx(e){return Sl(0,[(e()(),da(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function zx(e){return Sl(0,[(e()(),da(0,0,null,null,4,"jsf-json-schema-form",[],null,[[null,"click.data.layout"]],function(e,t,n){var r=!0,i=e.component;return"click.data.layout"===t&&(r=!1!==i.onClick(n)&&r),"click.data.layout"===t&&(r=!1!==i.onClick(n.data)&&r),r},sw,iw)),tl(4608,null,wm,wm,[fo,or,Nr]),tl(512,null,tw,tw,[]),tl(512,null,nw,nw,[tw]),el(4,770048,null,0,rw,[tw,nw],{schema:[0,"schema"],layout:[1,"layout"],action:[2,"action"],autocomplete:[3,"autocomplete"],enctype:[4,"enctype"],method:[5,"method"],target:[6,"target"]},null)],function(e,t){var n=t.component;e(t,4,0,n.jsonFormSchema,n.jsonFormLayout,n.options.action,n.options.autocomplete,n.options.enctype,n.options.method,n.options.target)},null)}function Hx(e){return Sl(0,[(e()(),da(0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),El(1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.jsonFormStatusMessage)})}function Ux(e){return Sl(0,[gl(671088640,1,{menuTrigger:0}),(e()(),da(1,0,null,null,35,"div",[["class","demo-page-header"]],null,null,null,null,null)),(e()(),da(2,0,null,null,9,"mat-toolbar",[["class","mat-elevation-z4 mat-medium mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,cw,uw)),el(3,4243456,null,1,aw,[Hr,Cg,fc],{color:[0,"color"]},null),gl(603979776,2,{_toolbarRows:1}),(e()(),da(5,0,null,0,1,"span",[],null,null,null,null,null)),(e()(),El(-1,null,["NGX Angular JSON Schema Form \u2014 Demonstration Playground"])),(e()(),da(7,0,null,0,0,"span",[["class","example-fill-remaining-space"]],null,null,null,null,null)),(e()(),da(8,0,null,0,3,"a",[["href","documentation/"],["style","color: inherit !important;"],["target","_blank"]],null,null,null,null,null)),(e()(),da(9,0,null,null,2,"mat-icon",[["class","mat-icon"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,sC,oC)),el(10,9158656,null,0,rC,[Hr,Qw,[8,null],[2,Jw]],null,null),(e()(),El(-1,0,["library_books"])),(e()(),da(12,0,null,null,24,"div",[["class","header-content"]],null,null,null,null,null)),(e()(),El(-1,null,[" An Angular "])),(e()(),da(14,0,null,null,1,"a",[["href","http://json-schema.org/"]],null,null,null,null,null)),(e()(),El(-1,null,["JSON Schema"])),(e()(),El(-1,null,[" Form builder "])),(e()(),El(-1,null,[" Choose an example, or create your own, and check out the generated form."])),(e()(),da(18,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),da(19,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),da(20,0,null,null,1,"span",[["class","menu-label"]],null,null,null,null,null)),(e()(),El(-1,null,["Current example:"])),(e()(),da(22,16777216,null,null,6,"button",[["aria-haspopup","true"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(e,t,n){var r=!0;return"mousedown"===t&&(r=!1!==Va(e,24)._handleMousedown(n)&&r),"keydown"===t&&(r=!1!==Va(e,24)._handleKeydown(n)&&r),"click"===t&&(r=!1!==Va(e,24)._handleClick(n)&&r),r},dC,hC)),el(23,180224,null,0,uC,[Hr,Cg,Mg,[2,Ub]],{color:[0,"color"]},null),el(24,1196032,[[1,4]],0,_y,[oy,Hr,Wo,gy,[2,my],[8,null],[2,Cy],Mg],{menu:[0,"menu"]},null),(e()(),da(25,0,null,0,2,"mat-icon",[["class","mat-icon"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,sC,oC)),el(26,9158656,null,0,rC,[Hr,Qw,[8,null],[2,Jw]],null,null),(e()(),El(-1,0,["menu"])),(e()(),El(28,0,[" "," "," "])),(e()(),da(29,0,null,null,7,"mat-menu",[["class","example-menu"]],null,null,null,Gb,Kb)),tl(6144,null,dy,null,[my]),el(31,1294336,[["exampleMenu",4]],2,my,[Hr,bo,py],{panelClass:[0,"panelClass"]},null),gl(603979776,3,{items:1}),gl(335544320,4,{lazyContent:0}),(e()(),ha(16777216,null,0,2,null,Nx)),el(35,278528,null,0,Ju,[Wo,Ti,hs],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(t=131072,n=hc,r=[qo],nl(-1,t|=16,null,0,n,n,r)),(e()(),da(37,0,null,null,166,"div",[["fxLayout","row"],["fxLayout.lt-sm","column"],["fxLayoutAlign","space-around start"],["fxLayoutAlign.lt-sm","flex-start center"]],null,null,null,null,null)),el(38,671744,null,0,rE,[Hr,UC,[2,tE],GC],{fxLayout:[0,"fxLayout"],"fxLayout.lt-sm":[1,"fxLayout.lt-sm"]},null),el(39,671744,null,0,mE,[Hr,UC,[2,fE],GC],{fxLayoutAlign:[0,"fxLayoutAlign"],"fxLayoutAlign.lt-sm":[1,"fxLayoutAlign.lt-sm"]},null),(e()(),da(40,0,null,null,151,"div",[["fxFlex","0 0 calc(50% - 12px)"]],null,null,null,null,null)),el(41,671744,null,0,lE,[Hr,UC,vC,sE,GC],{fxFlex:[0,"fxFlex"]},null),(e()(),da(42,0,null,null,149,"mat-card",[["class","mat-card"]],null,null,null,kE,FE)),el(43,49152,null,0,xE,[],null,null),(e()(),da(44,0,null,0,140,"details",[],null,null,null,null,null)),(e()(),da(45,0,null,null,1,"summary",[],null,null,null,null,null)),(e()(),El(-1,null,["Options"])),(e()(),da(47,0,null,null,137,"div",[["style","display: flex; flex-direction: column;"]],null,null,null,null,null)),(e()(),da(48,0,null,null,16,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ZE,NE)),el(49,7520256,null,7,IE,[Hr,qo,[2,fv],[2,Cy],[2,TE],Cg,bo,[2,Ub]],null,null),gl(335544320,7,{_control:0}),gl(335544320,8,{_placeholderChild:0}),gl(335544320,9,{_labelChild:0}),gl(603979776,10,{_errorChildren:1}),gl(603979776,11,{_hintChildren:1}),gl(603979776,12,{_prefixChildren:1}),gl(603979776,13,{_suffixChildren:1}),(e()(),da(57,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Action"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==Va(e,58)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==Va(e,58).onTouched()&&r),"compositionstart"===t&&(r=!1!==Va(e,58)._compositionStart()&&r),"compositionend"===t&&(r=!1!==Va(e,58)._compositionEnd(n.target.value)&&r),"blur"===t&&(r=!1!==Va(e,63)._focusChanged(!1)&&r),"focus"===t&&(r=!1!==Va(e,63)._focusChanged(!0)&&r),"input"===t&&(r=!1!==Va(e,63)._onInput()&&r),"ngModelChange"===t&&(r=!1!==(i.options.action=n)&&r),r},null,null)),el(58,16384,null,0,cA,[Gr,Hr,[2,uA]],null,null),tl(1024,null,aA,function(e){return[e]},[cA]),el(60,671744,null,0,QA,[[8,null],[8,null],[8,null],[6,aA]],{model:[0,"model"]},{update:"ngModelChange"}),tl(2048,null,mA,null,[QA]),el(62,16384,null,0,LA,[[4,mA]],null,null),el(63,999424,null,0,ax,[Hr,Cg,[6,mA],[2,UA],[2,XA],qg,[8,null],rx,bo],{placeholder:[0,"placeholder"]},null),tl(2048,[[7,4]],DE,null,[ax]),(e()(),da(65,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ZE,NE)),el(66,7520256,null,7,IE,[Hr,qo,[2,fv],[2,Cy],[2,TE],Cg,bo,[2,Ub]],null,null),gl(335544320,14,{_control:0}),gl(335544320,15,{_placeholderChild:0}),gl(335544320,16,{_labelChild:0}),gl(603979776,17,{_errorChildren:1}),gl(603979776,18,{_hintChildren:1}),gl(603979776,19,{_prefixChildren:1}),gl(603979776,20,{_suffixChildren:1}),(e()(),da(74,0,null,1,17,"mat-select",[["class","mat-select"],["name","autocomplete"],["placeholder","AutoComplete"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"keydown"===t&&(r=!1!==Va(e,78)._handleKeydown(n)&&r),"focus"===t&&(r=!1!==Va(e,78)._onFocus()&&r),"blur"===t&&(r=!1!==Va(e,78)._onBlur()&&r),"ngModelChange"===t&&(r=!1!==(i.options.autocomplete=n)&&r),r},Cx,gx)),el(75,671744,null,0,QA,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),tl(2048,null,mA,null,[QA]),el(77,16384,null,0,LA,[[4,mA]],null,null),el(78,2080768,null,3,px,[Bv,qo,bo,qg,Hr,[2,Cy],[2,UA],[2,XA],[2,IE],[6,mA],[8,null],hx,Lg],{placeholder:[0,"placeholder"]},null),gl(603979776,21,{options:1}),gl(603979776,22,{optionGroups:1}),gl(335544320,23,{customTrigger:0}),tl(2048,[[14,4]],DE,null,[px]),tl(2048,null,uv,null,[px]),(e()(),da(84,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,85)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,85)._handleKeydown(n)&&r),r},xx,Ex)),el(85,8568832,[[21,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),da(86,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,87)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,87)._handleKeydown(n)&&r),r},xx,Ex)),el(87,8568832,[[21,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["On"])),(e()(),da(89,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,90)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,90)._handleKeydown(n)&&r),r},xx,Ex)),el(90,8568832,[[21,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Off"])),(e()(),da(92,0,null,null,29,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ZE,NE)),el(93,7520256,null,7,IE,[Hr,qo,[2,fv],[2,Cy],[2,TE],Cg,bo,[2,Ub]],null,null),gl(335544320,24,{_control:0}),gl(335544320,25,{_placeholderChild:0}),gl(335544320,26,{_labelChild:0}),gl(603979776,27,{_errorChildren:1}),gl(603979776,28,{_hintChildren:1}),gl(603979776,29,{_prefixChildren:1}),gl(603979776,30,{_suffixChildren:1}),(e()(),da(101,0,null,1,20,"mat-select",[["class","mat-select"],["name","enctype"],["placeholder","Enctype"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"keydown"===t&&(r=!1!==Va(e,105)._handleKeydown(n)&&r),"focus"===t&&(r=!1!==Va(e,105)._onFocus()&&r),"blur"===t&&(r=!1!==Va(e,105)._onBlur()&&r),"ngModelChange"===t&&(r=!1!==(i.options.enctype=n)&&r),r},Cx,gx)),el(102,671744,null,0,QA,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),tl(2048,null,mA,null,[QA]),el(104,16384,null,0,LA,[[4,mA]],null,null),el(105,2080768,null,3,px,[Bv,qo,bo,qg,Hr,[2,Cy],[2,UA],[2,XA],[2,IE],[6,mA],[8,null],hx,Lg],{placeholder:[0,"placeholder"]},null),gl(603979776,31,{options:1}),gl(603979776,32,{optionGroups:1}),gl(335544320,33,{customTrigger:0}),tl(2048,[[24,4]],DE,null,[px]),tl(2048,null,uv,null,[px]),(e()(),da(111,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,112)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,112)._handleKeydown(n)&&r),r},xx,Ex)),el(112,8568832,[[31,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),da(113,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,114)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,114)._handleKeydown(n)&&r),r},xx,Ex)),el(114,8568832,[[31,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Application"])),(e()(),da(116,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,117)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,117)._handleKeydown(n)&&r),r},xx,Ex)),el(117,8568832,[[31,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Multipart form data"])),(e()(),da(119,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,120)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,120)._handleKeydown(n)&&r),r},xx,Ex)),el(120,8568832,[[31,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Text plain"])),(e()(),da(122,0,null,null,29,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ZE,NE)),el(123,7520256,null,7,IE,[Hr,qo,[2,fv],[2,Cy],[2,TE],Cg,bo,[2,Ub]],null,null),gl(335544320,34,{_control:0}),gl(335544320,35,{_placeholderChild:0}),gl(335544320,36,{_labelChild:0}),gl(603979776,37,{_errorChildren:1}),gl(603979776,38,{_hintChildren:1}),gl(603979776,39,{_prefixChildren:1}),gl(603979776,40,{_suffixChildren:1}),(e()(),da(131,0,null,1,20,"mat-select",[["class","mat-select"],["name","method"],["placeholder","Method"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"keydown"===t&&(r=!1!==Va(e,135)._handleKeydown(n)&&r),"focus"===t&&(r=!1!==Va(e,135)._onFocus()&&r),"blur"===t&&(r=!1!==Va(e,135)._onBlur()&&r),"ngModelChange"===t&&(r=!1!==(i.options.method=n)&&r),r},Cx,gx)),el(132,671744,null,0,QA,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),tl(2048,null,mA,null,[QA]),el(134,16384,null,0,LA,[[4,mA]],null,null),el(135,2080768,null,3,px,[Bv,qo,bo,qg,Hr,[2,Cy],[2,UA],[2,XA],[2,IE],[6,mA],[8,null],hx,Lg],{placeholder:[0,"placeholder"]},null),gl(603979776,41,{options:1}),gl(603979776,42,{optionGroups:1}),gl(335544320,43,{customTrigger:0}),tl(2048,[[34,4]],DE,null,[px]),tl(2048,null,uv,null,[px]),(e()(),da(141,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,142)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,142)._handleKeydown(n)&&r),r},xx,Ex)),el(142,8568832,[[41,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),da(143,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,144)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,144)._handleKeydown(n)&&r),r},xx,Ex)),el(144,8568832,[[41,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Get"])),(e()(),da(146,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,147)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,147)._handleKeydown(n)&&r),r},xx,Ex)),el(147,8568832,[[41,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Post"])),(e()(),da(149,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,150)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,150)._handleKeydown(n)&&r),r},xx,Ex)),el(150,8568832,[[41,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Dialog"])),(e()(),da(152,0,null,null,32,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ZE,NE)),el(153,7520256,null,7,IE,[Hr,qo,[2,fv],[2,Cy],[2,TE],Cg,bo,[2,Ub]],null,null),gl(335544320,44,{_control:0}),gl(335544320,45,{_placeholderChild:0}),gl(335544320,46,{_labelChild:0}),gl(603979776,47,{_errorChildren:1}),gl(603979776,48,{_hintChildren:1}),gl(603979776,49,{_prefixChildren:1}),gl(603979776,50,{_suffixChildren:1}),(e()(),da(161,0,null,1,23,"mat-select",[["class","mat-select"],["name","target"],["placeholder","Target"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"keydown"===t&&(r=!1!==Va(e,165)._handleKeydown(n)&&r),"focus"===t&&(r=!1!==Va(e,165)._onFocus()&&r),"blur"===t&&(r=!1!==Va(e,165)._onBlur()&&r),"ngModelChange"===t&&(r=!1!==(i.options.target=n)&&r),r},Cx,gx)),el(162,671744,null,0,QA,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),tl(2048,null,mA,null,[QA]),el(164,16384,null,0,LA,[[4,mA]],null,null),el(165,2080768,null,3,px,[Bv,qo,bo,qg,Hr,[2,Cy],[2,UA],[2,XA],[2,IE],[6,mA],[8,null],hx,Lg],{placeholder:[0,"placeholder"]},null),gl(603979776,51,{options:1}),gl(603979776,52,{optionGroups:1}),gl(335544320,53,{customTrigger:0}),tl(2048,[[44,4]],DE,null,[px]),tl(2048,null,uv,null,[px]),(e()(),da(171,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,172)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,172)._handleKeydown(n)&&r),r},xx,Ex)),el(172,8568832,[[51,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),da(173,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,174)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,174)._handleKeydown(n)&&r),r},xx,Ex)),el(174,8568832,[[51,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Self"])),(e()(),da(176,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,177)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,177)._handleKeydown(n)&&r),r},xx,Ex)),el(177,8568832,[[51,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Blank"])),(e()(),da(179,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,180)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,180)._handleKeydown(n)&&r),r},xx,Ex)),el(180,8568832,[[51,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Parent"])),(e()(),da(182,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==Va(e,183)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==Va(e,183)._handleKeydown(n)&&r),r},xx,Ex)),el(183,8568832,[[51,4]],0,cv,[Hr,qo,[2,uv],[2,sv]],{value:[0,"value"]},null),(e()(),El(-1,0,["Top"])),(e()(),da(185,0,null,0,6,"details",[["open",""]],null,null,null,null,null)),(e()(),da(186,0,null,null,1,"summary",[],null,null,null,null,null)),(e()(),El(-1,null,["Input JSON Schema and Form Layout"])),(e()(),da(188,0,null,null,3,"ace-editor",[],null,[[null,"textChanged"]],function(e,t,n){var r=!0;return"textChanged"===t&&(r=!1!==e.component.generateForm(n)&&r),r},Ox,Dx)),tl(5120,null,aA,function(e){return[e]},[kx]),el(190,245760,null,0,kx,[Hr,bo],{options:[0,"options"],readOnly:[1,"readOnly"],mode:[2,"mode"],text:[3,"text"],autoUpdateContent:[4,"autoUpdateContent"]},{textChanged:"textChanged"}),(e()(),El(-1,null,[" (loading form specification...) "])),(e()(),da(192,0,null,null,11,"div",[["fxFlex","0 0 calc(50% - 12px)"]],null,null,null,null,null)),el(193,671744,null,0,lE,[Hr,UC,vC,sE,GC],{fxFlex:[0,"fxFlex"]},null),(e()(),da(194,0,null,null,9,"mat-card",[["class","mat-card"]],null,null,null,kE,FE)),el(195,49152,null,0,xE,[],null,null),(e()(),da(196,0,null,0,7,"details",[["open",""]],null,null,null,null,null)),(e()(),da(197,0,null,null,1,"summary",[],null,null,null,null,null)),(e()(),El(-1,null,["Generated Form"])),(e()(),da(199,0,null,null,4,"div",[["class","json-schema-form"]],null,null,null,null,null)),(e()(),ha(16777216,null,null,1,null,Vx)),el(201,16384,null,0,tc,[Wo,Ti],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"],ngIfElse:[2,"ngIfElse"]},null),(e()(),ha(0,[["showForm",2]],null,0,null,zx)),(e()(),ha(0,[["showMessage",2]],null,0,null,Hx))],function(e,t){var n=t.component;e(t,3,0,"primary"),e(t,10,0),e(t,23,0,"primary"),e(t,24,0,Va(t,31)),e(t,26,0),e(t,31,0,"example-menu"),e(t,35,0,function(e,t,n,r){if(_n.isWrapped(r)){r=_n.unwrap(r);var i=e.def.nodes[35].bindingIndex+0,o=_n.unwrap(e.oldValues[i]);e.oldValues[i]=new _n(o)}return r}(t,0,0,Va(t,36).transform(n.examplesObservable)),n.trackByFn),e(t,38,0,"row","column"),e(t,39,0,"space-around start","flex-start center"),e(t,41,0,"0 0 calc(50% - 12px)"),e(t,60,0,n.options.action),e(t,63,0,"Action"),e(t,75,0,"autocomplete",n.options.autocomplete),e(t,78,0,"AutoComplete"),e(t,85,0,void 0),e(t,87,0,"on"),e(t,90,0,"off"),e(t,102,0,"enctype",n.options.enctype),e(t,105,0,"Enctype"),e(t,112,0,void 0),e(t,114,0,"application/x-www-form-urlencoded"),e(t,117,0,"multipart/form-data"),e(t,120,0,"text/plain"),e(t,132,0,"method",n.options.method),e(t,135,0,"Method"),e(t,142,0,void 0),e(t,144,0,"get"),e(t,147,0,"post"),e(t,150,0,"dialog"),e(t,162,0,"target",n.options.target),e(t,165,0,"Target"),e(t,172,0,void 0),e(t,174,0,"_self"),e(t,177,0,"_blank"),e(t,180,0,"_parent"),e(t,183,0,"_top"),e(t,190,0,n.aceEditorOptions,!1,"json",n.example,!0),e(t,193,0,"0 0 calc(50% - 12px)"),e(t,201,0,n.formActive,Va(t,202),Va(t,203))},function(e,t){var n=t.component;e(t,2,0,Va(t,3)._toolbarRows.length>0,0===Va(t,3)._toolbarRows.length),e(t,9,0,Va(t,10).inline,"primary"!==Va(t,10).color&&"accent"!==Va(t,10).color&&"warn"!==Va(t,10).color),e(t,22,0,Va(t,23).disabled||null,"NoopAnimations"===Va(t,23)._animationMode,Va(t,24).menuOpen||null),e(t,25,0,Va(t,26).inline,"primary"!==Va(t,26).color&&"accent"!==Va(t,26).color&&"warn"!==Va(t,26).color),e(t,28,0,n.selectedSetName,n.selectedExampleName),e(t,48,1,["standard"==Va(t,49).appearance,"fill"==Va(t,49).appearance,"outline"==Va(t,49).appearance,"legacy"==Va(t,49).appearance,Va(t,49)._control.errorState,Va(t,49)._canLabelFloat,Va(t,49)._shouldLabelFloat(),Va(t,49)._hasFloatingLabel(),Va(t,49)._hideControlPlaceholder(),Va(t,49)._control.disabled,Va(t,49)._control.autofilled,Va(t,49)._control.focused,"accent"==Va(t,49).color,"warn"==Va(t,49).color,Va(t,49)._shouldForward("untouched"),Va(t,49)._shouldForward("touched"),Va(t,49)._shouldForward("pristine"),Va(t,49)._shouldForward("dirty"),Va(t,49)._shouldForward("valid"),Va(t,49)._shouldForward("invalid"),Va(t,49)._shouldForward("pending"),!Va(t,49)._animationsEnabled]),e(t,57,1,[Va(t,62).ngClassUntouched,Va(t,62).ngClassTouched,Va(t,62).ngClassPristine,Va(t,62).ngClassDirty,Va(t,62).ngClassValid,Va(t,62).ngClassInvalid,Va(t,62).ngClassPending,Va(t,63)._isServer,Va(t,63).id,Va(t,63).placeholder,Va(t,63).disabled,Va(t,63).required,Va(t,63).readonly&&!Va(t,63)._isNativeSelect||null,Va(t,63)._ariaDescribedby||null,Va(t,63).errorState,Va(t,63).required.toString()]),e(t,65,1,["standard"==Va(t,66).appearance,"fill"==Va(t,66).appearance,"outline"==Va(t,66).appearance,"legacy"==Va(t,66).appearance,Va(t,66)._control.errorState,Va(t,66)._canLabelFloat,Va(t,66)._shouldLabelFloat(),Va(t,66)._hasFloatingLabel(),Va(t,66)._hideControlPlaceholder(),Va(t,66)._control.disabled,Va(t,66)._control.autofilled,Va(t,66)._control.focused,"accent"==Va(t,66).color,"warn"==Va(t,66).color,Va(t,66)._shouldForward("untouched"),Va(t,66)._shouldForward("touched"),Va(t,66)._shouldForward("pristine"),Va(t,66)._shouldForward("dirty"),Va(t,66)._shouldForward("valid"),Va(t,66)._shouldForward("invalid"),Va(t,66)._shouldForward("pending"),!Va(t,66)._animationsEnabled]),e(t,74,1,[Va(t,77).ngClassUntouched,Va(t,77).ngClassTouched,Va(t,77).ngClassPristine,Va(t,77).ngClassDirty,Va(t,77).ngClassValid,Va(t,77).ngClassInvalid,Va(t,77).ngClassPending,Va(t,78).id,Va(t,78).tabIndex,Va(t,78)._getAriaLabel(),Va(t,78)._getAriaLabelledby(),Va(t,78).required.toString(),Va(t,78).disabled.toString(),Va(t,78).errorState,Va(t,78).panelOpen?Va(t,78)._optionIds:null,Va(t,78).multiple,Va(t,78)._ariaDescribedby||null,Va(t,78)._getAriaActiveDescendant(),Va(t,78).disabled,Va(t,78).errorState,Va(t,78).required,Va(t,78).empty]),e(t,84,0,Va(t,85)._getTabIndex(),Va(t,85).selected,Va(t,85).multiple,Va(t,85).active,Va(t,85).id,Va(t,85).selected.toString(),Va(t,85).disabled.toString(),Va(t,85).disabled),e(t,86,0,Va(t,87)._getTabIndex(),Va(t,87).selected,Va(t,87).multiple,Va(t,87).active,Va(t,87).id,Va(t,87).selected.toString(),Va(t,87).disabled.toString(),Va(t,87).disabled),e(t,89,0,Va(t,90)._getTabIndex(),Va(t,90).selected,Va(t,90).multiple,Va(t,90).active,Va(t,90).id,Va(t,90).selected.toString(),Va(t,90).disabled.toString(),Va(t,90).disabled),e(t,92,1,["standard"==Va(t,93).appearance,"fill"==Va(t,93).appearance,"outline"==Va(t,93).appearance,"legacy"==Va(t,93).appearance,Va(t,93)._control.errorState,Va(t,93)._canLabelFloat,Va(t,93)._shouldLabelFloat(),Va(t,93)._hasFloatingLabel(),Va(t,93)._hideControlPlaceholder(),Va(t,93)._control.disabled,Va(t,93)._control.autofilled,Va(t,93)._control.focused,"accent"==Va(t,93).color,"warn"==Va(t,93).color,Va(t,93)._shouldForward("untouched"),Va(t,93)._shouldForward("touched"),Va(t,93)._shouldForward("pristine"),Va(t,93)._shouldForward("dirty"),Va(t,93)._shouldForward("valid"),Va(t,93)._shouldForward("invalid"),Va(t,93)._shouldForward("pending"),!Va(t,93)._animationsEnabled]),e(t,101,1,[Va(t,104).ngClassUntouched,Va(t,104).ngClassTouched,Va(t,104).ngClassPristine,Va(t,104).ngClassDirty,Va(t,104).ngClassValid,Va(t,104).ngClassInvalid,Va(t,104).ngClassPending,Va(t,105).id,Va(t,105).tabIndex,Va(t,105)._getAriaLabel(),Va(t,105)._getAriaLabelledby(),Va(t,105).required.toString(),Va(t,105).disabled.toString(),Va(t,105).errorState,Va(t,105).panelOpen?Va(t,105)._optionIds:null,Va(t,105).multiple,Va(t,105)._ariaDescribedby||null,Va(t,105)._getAriaActiveDescendant(),Va(t,105).disabled,Va(t,105).errorState,Va(t,105).required,Va(t,105).empty]),e(t,111,0,Va(t,112)._getTabIndex(),Va(t,112).selected,Va(t,112).multiple,Va(t,112).active,Va(t,112).id,Va(t,112).selected.toString(),Va(t,112).disabled.toString(),Va(t,112).disabled),e(t,113,0,Va(t,114)._getTabIndex(),Va(t,114).selected,Va(t,114).multiple,Va(t,114).active,Va(t,114).id,Va(t,114).selected.toString(),Va(t,114).disabled.toString(),Va(t,114).disabled),e(t,116,0,Va(t,117)._getTabIndex(),Va(t,117).selected,Va(t,117).multiple,Va(t,117).active,Va(t,117).id,Va(t,117).selected.toString(),Va(t,117).disabled.toString(),Va(t,117).disabled),e(t,119,0,Va(t,120)._getTabIndex(),Va(t,120).selected,Va(t,120).multiple,Va(t,120).active,Va(t,120).id,Va(t,120).selected.toString(),Va(t,120).disabled.toString(),Va(t,120).disabled),e(t,122,1,["standard"==Va(t,123).appearance,"fill"==Va(t,123).appearance,"outline"==Va(t,123).appearance,"legacy"==Va(t,123).appearance,Va(t,123)._control.errorState,Va(t,123)._canLabelFloat,Va(t,123)._shouldLabelFloat(),Va(t,123)._hasFloatingLabel(),Va(t,123)._hideControlPlaceholder(),Va(t,123)._control.disabled,Va(t,123)._control.autofilled,Va(t,123)._control.focused,"accent"==Va(t,123).color,"warn"==Va(t,123).color,Va(t,123)._shouldForward("untouched"),Va(t,123)._shouldForward("touched"),Va(t,123)._shouldForward("pristine"),Va(t,123)._shouldForward("dirty"),Va(t,123)._shouldForward("valid"),Va(t,123)._shouldForward("invalid"),Va(t,123)._shouldForward("pending"),!Va(t,123)._animationsEnabled]),e(t,131,1,[Va(t,134).ngClassUntouched,Va(t,134).ngClassTouched,Va(t,134).ngClassPristine,Va(t,134).ngClassDirty,Va(t,134).ngClassValid,Va(t,134).ngClassInvalid,Va(t,134).ngClassPending,Va(t,135).id,Va(t,135).tabIndex,Va(t,135)._getAriaLabel(),Va(t,135)._getAriaLabelledby(),Va(t,135).required.toString(),Va(t,135).disabled.toString(),Va(t,135).errorState,Va(t,135).panelOpen?Va(t,135)._optionIds:null,Va(t,135).multiple,Va(t,135)._ariaDescribedby||null,Va(t,135)._getAriaActiveDescendant(),Va(t,135).disabled,Va(t,135).errorState,Va(t,135).required,Va(t,135).empty]),e(t,141,0,Va(t,142)._getTabIndex(),Va(t,142).selected,Va(t,142).multiple,Va(t,142).active,Va(t,142).id,Va(t,142).selected.toString(),Va(t,142).disabled.toString(),Va(t,142).disabled),e(t,143,0,Va(t,144)._getTabIndex(),Va(t,144).selected,Va(t,144).multiple,Va(t,144).active,Va(t,144).id,Va(t,144).selected.toString(),Va(t,144).disabled.toString(),Va(t,144).disabled),e(t,146,0,Va(t,147)._getTabIndex(),Va(t,147).selected,Va(t,147).multiple,Va(t,147).active,Va(t,147).id,Va(t,147).selected.toString(),Va(t,147).disabled.toString(),Va(t,147).disabled),e(t,149,0,Va(t,150)._getTabIndex(),Va(t,150).selected,Va(t,150).multiple,Va(t,150).active,Va(t,150).id,Va(t,150).selected.toString(),Va(t,150).disabled.toString(),Va(t,150).disabled),e(t,152,1,["standard"==Va(t,153).appearance,"fill"==Va(t,153).appearance,"outline"==Va(t,153).appearance,"legacy"==Va(t,153).appearance,Va(t,153)._control.errorState,Va(t,153)._canLabelFloat,Va(t,153)._shouldLabelFloat(),Va(t,153)._hasFloatingLabel(),Va(t,153)._hideControlPlaceholder(),Va(t,153)._control.disabled,Va(t,153)._control.autofilled,Va(t,153)._control.focused,"accent"==Va(t,153).color,"warn"==Va(t,153).color,Va(t,153)._shouldForward("untouched"),Va(t,153)._shouldForward("touched"),Va(t,153)._shouldForward("pristine"),Va(t,153)._shouldForward("dirty"),Va(t,153)._shouldForward("valid"),Va(t,153)._shouldForward("invalid"),Va(t,153)._shouldForward("pending"),!Va(t,153)._animationsEnabled]),e(t,161,1,[Va(t,164).ngClassUntouched,Va(t,164).ngClassTouched,Va(t,164).ngClassPristine,Va(t,164).ngClassDirty,Va(t,164).ngClassValid,Va(t,164).ngClassInvalid,Va(t,164).ngClassPending,Va(t,165).id,Va(t,165).tabIndex,Va(t,165)._getAriaLabel(),Va(t,165)._getAriaLabelledby(),Va(t,165).required.toString(),Va(t,165).disabled.toString(),Va(t,165).errorState,Va(t,165).panelOpen?Va(t,165)._optionIds:null,Va(t,165).multiple,Va(t,165)._ariaDescribedby||null,Va(t,165)._getAriaActiveDescendant(),Va(t,165).disabled,Va(t,165).errorState,Va(t,165).required,Va(t,165).empty]),e(t,171,0,Va(t,172)._getTabIndex(),Va(t,172).selected,Va(t,172).multiple,Va(t,172).active,Va(t,172).id,Va(t,172).selected.toString(),Va(t,172).disabled.toString(),Va(t,172).disabled),e(t,173,0,Va(t,174)._getTabIndex(),Va(t,174).selected,Va(t,174).multiple,Va(t,174).active,Va(t,174).id,Va(t,174).selected.toString(),Va(t,174).disabled.toString(),Va(t,174).disabled),e(t,176,0,Va(t,177)._getTabIndex(),Va(t,177).selected,Va(t,177).multiple,Va(t,177).active,Va(t,177).id,Va(t,177).selected.toString(),Va(t,177).disabled.toString(),Va(t,177).disabled),e(t,179,0,Va(t,180)._getTabIndex(),Va(t,180).selected,Va(t,180).multiple,Va(t,180).active,Va(t,180).id,Va(t,180).selected.toString(),Va(t,180).disabled.toString(),Va(t,180).disabled),e(t,182,0,Va(t,183)._getTabIndex(),Va(t,183).selected,Va(t,183).multiple,Va(t,183).active,Va(t,183).id,Va(t,183).selected.toString(),Va(t,183).disabled.toString(),Va(t,183).disabled)});var t,n,r}function Wx(e){return Sl(0,[(e()(),da(0,0,null,null,1,"app-demo",[],null,null,null,Ux,Ix)),el(1,114688,null,0,Tx,[Lf,Wp,Rx],null,null)],function(e,t){e(t,1,0)},null)}var Kx=Oa("app-demo",Tx,Wx,{},{},[]),qx=Ms({encapsulation:2,styles:[],data:{}});function Gx(e){return Sl(0,[(e()(),da(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),el(1,212992,null,0,Gp,[qp,Wo,$r,[8,null],qo],null,null)],function(e,t){e(t,1,0)},null)}function Qx(e){return Sl(0,[(e()(),da(0,0,null,null,1,"app-root",[],null,null,null,Gx,qx)),el(1,49152,null,0,Iu,[],null,null)],null,null)}var Yx=Oa("app-root",Iu,Qx,{},{},[]),Xx=function(){function e(e){this.elementDataStorage=e}return e.prototype.supports=function(e){return/[a-z]+\.data\.[a-zA-Z]+/.test(e)},e.prototype.addEventListener=function(e,t,n){var r=this,i=this.manager.getZone(),o=t.split("."),s=o[0],a=o[2],l=function(e){if(r.elementDataStorage.has(e.target,a)){var t=r.elementDataStorage.get(e.target,a);e.data=t,i.runGuarded(function(){n(e)})}};return i.runOutsideAngular(function(){e.addEventListener(s,l,!1)}),function(){e.removeEventListener(s,l,!1)}},e.ngInjectableDef=de({factory:function(){return new e(Pt(bm))},token:e,providedIn:"root"}),e}(),Zx=function(){return function(){}}(),Jx=function(){return function(){}}(),eS=function(){function e(e,t){vc(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return e.withConfig=function(t,n){return void 0===n&&(n=[]),{ngModule:e,providers:t.serverLoaded?[{provide:vC,useValue:Object(r.__assign)({},gC,t)},{provide:_C,useValue:n,multi:!0},{provide:yC,useValue:!0}]:[{provide:vC,useValue:Object(r.__assign)({},gC,t)},{provide:_C,useValue:n,multi:!0}]}},e}(),tS=function(){return function(){}}(),nS=function(){return function(){}}(),rS=function(){return function(){}}(),iS=function(){return function(){}}(),oS=Ru(Tu,[Iu],function(e){return function(e){for(var t={},n=[],r=!1,i=0;i0:e.util.schemaHasRules(s,e.RULES.all);if(r+="var "+d+" = errors;var "+h+";",_){var b=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=s,f.schemaPath=a,f.errSchemaPath=l,r+=" var "+p+" = false; for (var "+m+" = 0; "+m+" < "+c+".length; "+m+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var w=c+"["+m+"]";f.dataPathArr[g]=m;var C=e.validate(f);f.baseId=y,e.util.varOccurences(C,v)<2?r+=" "+e.util.varReplace(C,v,w)+" ":r+=" var "+v+" = "+w+"; "+C+" ",r+=" if ("+p+") break; } ",e.compositeRule=f.compositeRule=b,r+=" if (!"+p+") {"}else r+=" if ("+c+".length == 0) {";var E=E||[];E.push(r),r="",!1!==e.createErrors?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var A=r;return r=E.pop(),r+=!e.compositeRule&&u?e.async?" throw new ValidationError(["+A+"]); ":" validate.errors = ["+A+"]; return false; ":" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",_&&(r+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),e.util.cleanUpCode(r)}}},[[0,0]]]); \ No newline at end of file diff --git a/main.bb45674cd43058ac6797.js b/main.bb45674cd43058ac6797.js new file mode 100644 index 0000000..25a88c5 --- /dev/null +++ b/main.bb45674cd43058ac6797.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+/Hv":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("ib56"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0}));function a(){for(var t=[],e=0;e":"<")+" "+r+") { "),i="",!1!==t.createErrors?(i+=" { keyword: '"+(f||"_limitLength")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==t.opts.messages&&(i+=" , message: 'should NOT be ",i+="maxLength"==e?"longer":"shorter",i+=" than ",i+=d?"' + "+r+" + '":""+a,i+=" characters' "),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},"/30y":function(t,e,n){var r=n("Dhk8"),i=n("tLQN");t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},"/Bkq":function(t,e,n){var r=n("deT9"),i=n("rjis"),o=n("rKb1"),s=n("jm4U");t.exports=function(t){var e=o(t),n=s[e];if("function"!=typeof n||!(e in r.prototype))return!1;if(t===n)return!0;var a=i(n);return!!a&&t===a[0]}},"/Cv4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("FFaq"),i=n("wOka"),o=n("2R+v");e.Rest=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{optionalParams:!0})),e.rest=e.Rest,e.default=e.Rest},"/F2x":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("D57K"),i=n("H4Ux");e.BindApplicator=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.apply=function(t){var e=t.value,n=t.instance;return n?t.config.execute.apply(void 0,[e,n].concat(t.args)):e},e}(i.Applicator)},"/oKj":function(t,e,n){var r=n("D49j"),i=n("naLQ");t.exports=function(t,e){return i(r(e),t)}},"/w05":function(t,e,n){"use strict";e.__esModule=!0,e.SourceLocation=function(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}},e.id=function(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t},e.stripFlags=function(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}},e.stripComment=function(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},e.preparePath=function(t,e,n){n=this.locInfo(n);for(var r=t?"@":"",o=[],s=0,a=0,l=e.length;a0)throw new i.default("Invalid path: "+r,{loc:n});".."===u&&s++}}return{type:"PathExpression",data:t,depth:s,parts:o,original:r,loc:n}},e.prepareMustache=function(t,e,n,r,i,o){var s=r.charAt(3)||r.charAt(2),a="{"!==s&&"&"!==s;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:t,params:e,hash:n,escaped:a,strip:i,loc:this.locInfo(o)}},e.prepareRawBlock=function(t,e,n,r){return o(t,n),r=this.locInfo(r),{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:{type:"Program",body:e,strip:{},loc:r},openStrip:{},inverseStrip:{},closeStrip:{},loc:r}},e.prepareBlock=function(t,e,n,r,s,a){r&&r.path&&o(t,r);var l=/\*/.test(t.open);e.blockParams=t.blockParams;var u=void 0,c=void 0;if(n){if(l)throw new i.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=r.strip),c=n.strip,u=n.program}return s&&(s=u,u=e,e=s),{type:l?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:u,openStrip:t.strip,inverseStrip:c,closeStrip:r&&r.strip,loc:this.locInfo(a)}},e.prepareProgram=function(t,e){if(!e&&t.length){var n=t[0].loc,r=t[t.length-1].loc;n&&r&&(e={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:t,strip:{},loc:e}},e.preparePartialBlock=function(t,e,n,r){return o(t,n),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:n&&n.strip,loc:this.locInfo(r)}};var r,i=(r=n("0KrK"))&&r.__esModule?r:{default:r};function o(t,e){if(t.path.original!==(e=e.path?e.path.original:e))throw new i.default(t.path.original+" doesn't match "+e,{loc:t.path.loc})}},"/wCD":function(t,e,n){var r=n("TAtK")(Object.getPrototypeOf,Object);t.exports=r},0:function(t,e,n){t.exports=n("zUnb")},"0+aC":function(t,e,n){var r=n("pFSi");t.exports=function(t){var e=r(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},"0+c5":function(t,e,n){var r=n("vGGS"),i=n("obGE");function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}(o.prototype=r(i.prototype)).constructor=o,t.exports=o},"0BjU":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("mbAm"),i=n("naLQ"),o=n("wOka"),s=n("2R+v");e.Attempt=o.DecoratorFactory.createDecorator(new o.DecoratorConfig(function(t){return i(r,t)},new s.PreValueApplicator,{optionalParams:!0})),e.attempt=e.Attempt,e.default=e.Attempt},"0KrK":function(t,e,n){"use strict";e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];function i(t,e){var n=e&&e.loc,o=void 0,s=void 0;n&&(t+=" - "+(o=n.start.line)+":"+(s=n.start.column));for(var a=Error.prototype.constructor.call(this,t),l=0;li?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.columnthis.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/json/json_parse",["require","exports","module"],function(){"use strict";var at,ch,text,value,escapee={\'"\':\'"\',"\\\\":"\\\\","/":"/",b:"\\b",f:"\\f",n:"\\n",r:"\\r",t:"\t"},error=function(m){throw{name:"SyntaxError",message:m,at:at,text:text}},next=function(c){return c&&c!==ch&&error("Expected \'"+c+"\' instead of \'"+ch+"\'"),ch=text.charAt(at),at+=1,ch},number=function(){var number,string="";for("-"===ch&&(string="-",next("-"));ch>="0"&&"9">=ch;)string+=ch,next();if("."===ch)for(string+=".";next()&&ch>="0"&&"9">=ch;)string+=ch;if("e"===ch||"E"===ch)for(string+=ch,next(),("-"===ch||"+"===ch)&&(string+=ch,next());ch>="0"&&"9">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error("Bad number"),void 0):number},string=function(){var hex,i,uffff,string="";if(\'"\'===ch)for(;next();){if(\'"\'===ch)return next(),string;if("\\\\"===ch)if(next(),"u"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if("string"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error("Bad string")},white=function(){for(;ch&&" ">=ch;)next()},word=function(){switch(ch){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null}error("Unexpected \'"+ch+"\'")},array=function(){var array=[];if("["===ch){if(next("["),white(),"]"===ch)return next("]"),array;for(;ch;){if(array.push(value()),white(),"]"===ch)return next("]"),array;next(","),white()}}error("Bad array")},object=function(){var key,object={};if("{"===ch){if(next("{"),white(),"}"===ch)return next("}"),object;for(;ch;){if(key=string(),white(),next(":"),Object.hasOwnProperty.call(object,key)&&error(\'Duplicate key "\'+key+\'"\'),object[key]=value(),white(),"}"===ch)return next("}"),object;next(","),white()}}error("Bad object")};return value=function(){switch(white(),ch){case"{":return object();case"[":return array();case\'"\':return string();case"-":return number();default:return ch>="0"&&"9">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=" ",result=value(),white(),ch&&error("Syntax error"),"function"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({"":result},""):result}}),ace.define("ace/mode/json_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/json/json_parse"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,parse=acequire("./json/json_parse"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:"error"})}this.sender.emit("annotate",errors)}}.call(JsonWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0\n}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},"3KBa":function(t,e,n){var r=n("IBsm");t.exports=r["__core-js_shared__"]},"3KcA":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("kUU+"),i=n("wOka"),o=n("2R+v");e.CurryAll=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{optionalParams:!0})),e.curryAll=e.CurryAll,e.default=e.CurryAll},"3POh":function(t,e,n){var r=n("P+cI"),i=16;function o(t,e,n){var s=r(t,i,void 0,void 0,void 0,void 0,void 0,e=n?void 0:e);return s.placeholder=o.placeholder,s}o.placeholder={},t.exports=o},"3ajY":function(t,e,n){(function(t){var r=n("IBsm"),i=n("DjCF"),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o?r.Buffer:void 0;t.exports=(a?a.isBuffer:void 0)||i}).call(this,n("aYSr")(t))},"3v10":function(t,e,n){"use strict";t.exports=function(t,e,n){var r=" ",i=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+t.util.getProperty(e),l=t.errSchemaPath+"/"+e,u=!t.opts.allErrors,c="data"+(o||""),h="valid"+i,d="errs__"+i,f=t.util.copy(t),p="";f.level++;var m="valid"+f.level;if(s.every(function(e){return t.opts.strictKeywords?"object"==typeof e&&Object.keys(e).length>0:t.util.schemaHasRules(e,t.RULES.all)})){var g=f.baseId;r+=" var "+d+" = errors; var "+h+" = false; ";var v=t.compositeRule;t.compositeRule=f.compositeRule=!0;var y=s;if(y)for(var _,b=-1,w=y.length-1;b":"<")+" "+r+") { "),i="",!1!==t.createErrors?(i+=" { keyword: '"+(f||"_limitItems")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==t.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxItems"==e?"more":"fewer",i+=" than ",i+=d?"' + "+r+" + '":""+a,i+=" items' "),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},"4mQY":function(t,e){t.exports=function(t){return t.placeholder}},"4p/L":function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},"4uJK":function(t,e,n){var r=n("CbIe"),i=n("OtNC"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},"5VYK":function(t,e,n){var r=n("6QIk");t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},"5nKN":function(t,e,n){var r=n("2q8g"),i=n("9vbJ"),o=n("tQYX"),s=n("c18h"),a=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=RegExp("^"+l.toString.call(u.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?c:a).test(s(t))}},"5pfJ":function(t,e,n){var r=n("vxC8")(Object,"create");t.exports=r},"5vCJ":function(t,e,n){var r=n("m2YG");t.exports=function(t,e){var n;if("function"!=typeof e)throw new TypeError("Expected a function");return t=r(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}},"66K7":function(t,e,n){var r=n("R3TX"),i=n("P+cI"),o=n("4mQY"),s=n("AeOa"),a=r(function(t,e,n){var r=1;if(n.length){var l=s(n,o(a));r|=32}return i(t,r,e,n,l)});a.placeholder={},t.exports=a},"6QIk":function(t,e,n){var r=n("pPzx");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},"6UKJ":function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},"6iRR":function(t,e){t.exports=function(t,e,n){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout(function(){t.apply(void 0,n)},e)}},"6sC/":function(t,e){var n=Math.max;t.exports=function(t,e,r,i){for(var o=-1,s=t.length,a=r.length,l=-1,u=e.length,c=n(s-a,0),h=Array(u+c),d=!i;++l-1}},D49j:function(t,e,n){var r=n("zWgn");t.exports=function(t){return"function"==typeof t?t:r}},D57K:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return i}),n.d(e,"__assign",function(){return o}),n.d(e,"__rest",function(){return s}),n.d(e,"__decorate",function(){return a}),n.d(e,"__param",function(){return l}),n.d(e,"__metadata",function(){return u}),n.d(e,"__awaiter",function(){return c}),n.d(e,"__generator",function(){return h}),n.d(e,"__exportStar",function(){return d}),n.d(e,"__values",function(){return f}),n.d(e,"__read",function(){return p}),n.d(e,"__spread",function(){return m}),n.d(e,"__spreadArrays",function(){return g}),n.d(e,"__await",function(){return v}),n.d(e,"__asyncGenerator",function(){return y}),n.d(e,"__asyncDelegator",function(){return _}),n.d(e,"__asyncValues",function(){return b}),n.d(e,"__makeTemplateObject",function(){return w}),n.d(e,"__importStar",function(){return C}),n.d(e,"__importDefault",function(){return E});var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,r){e(n,r,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(t){try{l(r.next(t))}catch(e){o(e)}}function a(t){try{l(r.throw(t))}catch(e){o(e)}}function l(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(s,a)}l((r=r.apply(t,e||[])).next())})}function h(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function m(){for(var t=[],e=0;e1||a(t,e)})})}function a(t,e){try{(n=i[t](e)).value instanceof v?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(r){c(o[0][3],r)}var n}function l(t){a("next",t)}function u(t){a("throw",t)}function c(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function _(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:v(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=f(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,i,(e=t[n](e)).done,e.value)})}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function C(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function E(t){return t&&t.__esModule?t:{default:t}}},D6Fn:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("D57K"),i=n("H4Ux");e.PreValueApplicator=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.apply=function(t){return t.config.execute.apply(void 0,[t.value].concat(t.args))},e}(i.Applicator)},Dhk8:function(t,e,n){var r=n("Syyo"),i=n("KCLV"),o=n("kHoZ"),s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):o(t)}},DjCF:function(t,e){t.exports=function(){return!1}},DuXo:function(t,e){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o0:t.util.schemaHasRules(_,t.RULES.all))||(p[p.length]=g)}}else p=s;if(d||p.length){var b=t.errorPath,w=d||p.length>=t.opts.loopRequired,C=t.opts.ownProperties;if(u)if(r+=" var missing"+i+"; ",w){d||(r+=" var "+f+" = validate.schema"+a+"; ");var E="' + "+(D="schema"+i+"["+(k="i"+i)+"]")+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPathExpr(b,D,t.opts.jsonPointers)),r+=" var "+h+" = true; ",d&&(r+=" if (schema"+i+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+i+")) "+h+" = false; else {"),r+=" for (var "+k+" = 0; "+k+" < "+f+".length; "+k+"++) { "+h+" = "+c+"["+f+"["+k+"]] !== undefined ",C&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+f+"["+k+"]) "),r+="; if (!"+h+") break; } ",d&&(r+=" } "),(x=x||[]).push(r+=" if (!"+h+") { "),r="",!1!==t.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: { missingProperty: '"+E+"' } ",!1!==t.opts.messages&&(r+=" , message: '",r+=t.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+E+"\\'",r+="' "),t.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var A=r;r=x.pop(),r+=!t.compositeRule&&u?t.async?" throw new ValidationError(["+A+"]); ":" validate.errors = ["+A+"]; return false; ":" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var x,S=p;if(S)for(var k=-1,F=S.length-1;k8)r+=" || validate.schema"+a+".hasOwnProperty("+m+") ";else{var T=b;if(T)for(var I=-1,L=T.length-1;I0:t.util.schemaHasRules(X,t.RULES.all)){var Z=t.util.getProperty(G),J=(U=c+Z,K&&void 0!==X.default);if(d.schema=X,d.schemaPath=a+Z,d.errSchemaPath=l+"/"+t.util.escapeFragment(G),d.errorPath=t.util.getPath(t.errorPath,G,t.opts.jsonPointers),d.dataPathArr[v]=t.util.toQuotedString(G),W=t.validate(d),d.baseId=O,t.util.varOccurences(W,y)<2){W=t.util.varReplace(W,y,U);var tt=U}else tt=y,r+=" var "+y+" = "+U+"; ";if(J)r+=" "+W+" ";else{if(R&&R[G]){r+=" if ( "+tt+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+t.util.escapeQuotes(G)+"') "),r+=") { "+p+" = false; ",j=t.errorPath,V=l;var et,nt=t.util.escapeQuotes(G);t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPath(j,G,t.opts.jsonPointers)),l=t.errSchemaPath+"/required",(et=et||[]).push(r),r="",!1!==t.createErrors?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: { missingProperty: '"+nt+"' } ",!1!==t.opts.messages&&(r+=" , message: '",r+=t.opts._errorDataPathProperty?"is a required property":"should have required property \\'"+nt+"\\'",r+="' "),t.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",z=r,r=et.pop(),r+=!t.compositeRule&&u?t.async?" throw new ValidationError(["+z+"]); ":" validate.errors = ["+z+"]; return false; ":" var err = "+z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=V,t.errorPath=j,r+=" } else { "}else u?(r+=" if ( "+tt+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+t.util.escapeQuotes(G)+"') "),r+=") { "+p+" = true; } else { "):(r+=" if ("+tt+" !== undefined ",D&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+t.util.escapeQuotes(G)+"') "),r+=" ) { ");r+=" "+W+" } "}}u&&(r+=" if ("+p+") { ",f+="}")}}if(C.length){var rt=C;if(rt)for(var it,ot=-1,st=rt.length-1;ot0:t.util.schemaHasRules(X,t.RULES.all))&&(d.schema=X,d.schemaPath=t.schemaPath+".patternProperties"+t.util.getProperty(it),d.errSchemaPath=t.errSchemaPath+"/patternProperties/"+t.util.escapeFragment(it),r+=D?" "+_+" = "+_+" || Object.keys("+c+"); for (var "+g+"=0; "+g+"<"+_+".length; "+g+"++) { var "+m+" = "+_+"["+g+"]; ":" for (var "+m+" in "+c+") { ",r+=" if ("+t.usePattern(it)+".test("+m+")) { ",d.errorPath=t.util.getPathExpr(t.errorPath,m,t.opts.jsonPointers),U=c+"["+m+"]",d.dataPathArr[v]=m,W=t.validate(d),d.baseId=O,t.util.varOccurences(W,y)<2?r+=" "+t.util.varReplace(W,y,U)+" ":r+=" var "+y+" = "+U+"; "+W+" ",u&&(r+=" if (!"+p+") break; "),r+=" } ",u&&(r+=" else "+p+" = true; "),r+=" } ",u&&(r+=" if ("+p+") { ",f+="}"))}return u&&(r+=" "+f+" if ("+h+" == errors) {"),t.util.cleanUpCode(r)}},I6tc:function(t,e,n){var r=n("zaNA"),i=n("iWTG"),o=n("IBsm");t.exports=function(t,e,n,s){var a=1&e,l=i(t);return function e(){for(var i=-1,u=arguments.length,c=-1,h=s.length,d=Array(h+u),f=this&&this!==o&&this instanceof e?l:t;++c=e)throw new Error("Cannot access property/index "+r+" levels up, current level is "+e);return n[e-r]}if(r>e)throw new Error("Cannot access data "+r+" levels up, current level is "+e);if(o="data"+(e-r||""),!i)return o}for(var a=o,u=i.split("/"),c=0;c2&&y.push("'"+this.terminals_[g]+"'");w=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+y.join(", ")+", got '"+(this.terminals_[h]||h)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(w,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:u,expected:y})}}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+h);switch(p[0]){case 1:e.push(h),n.push(this.lexer.yytext),r.push(this.lexer.yylloc),e.push(p[1]),h=null,d?(h=d,d=null):(a=this.lexer.yyleng,o=this.lexer.yytext,s=this.lexer.yylineno,u=this.lexer.yylloc,l>0&&l--);break;case 2:if(b.$=n[n.length-(v=this.productions_[p[1]][1])],b._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},c&&(b._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(m=this.performAction.call(b,o,a,s,this.yy,p[1],n,r)))return m;v&&(e=e.slice(0,-1*v*2),n=n.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[p[1]][0]),n.push(b.$),r.push(b._$),e.push(i[e[e.length-2]][e[e.length-1]]);break;case 3:return!0}}return!0}};function e(){this.yy={}}return t.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,n,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;se[0].length)||(e=n,r=s,this.options.flex));s++);return e?((i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,o[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,n,r){function i(t,n){return e.yytext=e.yytext.substring(t,e.yyleng-n+t)}switch(n){case 0:if("\\\\"===e.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(i(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(i(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=i(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=i(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}},e.prototype=t,t.Parser=e,new e}();e.default=r,t.exports=e.default},Jl61:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("aH7+"),i=["length","name","arguments","called","prototype"];e.wrapConstructor=function(t,e){function n(){for(var n=[],r=0;r1&&F.reverse(),b&&y=55296&&e<=56319&&i0:t.util.schemaHasRules(s,t.RULES.all)){d.schema=s,d.schemaPath=a,d.errSchemaPath=l,r+=" var "+h+" = errors; ";var p,m=t.compositeRule;t.compositeRule=d.compositeRule=!0,d.createErrors=!1,d.opts.allErrors&&(p=d.opts.allErrors,d.opts.allErrors=!1),r+=" "+t.validate(d)+" ",d.createErrors=!0,p&&(d.opts.allErrors=p),t.compositeRule=d.compositeRule=m;var g=g||[];g.push(r+=" if ("+f+") { "),r="",!1!==t.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: {} ",!1!==t.opts.messages&&(r+=" , message: 'should NOT be valid' "),t.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var v=r;r=g.pop(),r+=!t.compositeRule&&u?t.async?" throw new ValidationError(["+v+"]); ":" validate.errors = ["+v+"]; return false; ":" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",t.opts.allErrors&&(r+=" } ")}else r+=" var err = ",!1!==t.createErrors?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: {} ",!1!==t.opts.messages&&(r+=" , message: 'should NOT be valid' "),t.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(r+=" if (false) { ");return r}},MtdZ:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.Compiler=l,e.precompile=function(t,e,n){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(e=e||{})||(e.data=!0),e.compat&&(e.useDepths=!0);var r=n.parse(t,e),o=(new n.Compiler).compile(r,e);return(new n.JavaScriptCompiler).compile(o,e)},e.compile=function(t,e,n){if(void 0===e&&(e={}),null==t||"string"!=typeof t&&"Program"!==t.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(e=o.extend({},e))||(e.data=!0),e.compat&&(e.useDepths=!0);var r=void 0;function s(){var r=n.parse(t,e),i=(new n.Compiler).compile(r,e),o=(new n.JavaScriptCompiler).compile(i,e,void 0,!0);return n.template(o)}function a(t,e){return r||(r=s()),r.call(this,t,e)}return a._setup=function(t){return r||(r=s()),r._setup(t)},a._child=function(t,e,n,i){return r||(r=s()),r._child(t,e,n,i)},a};var i=r(n("0KrK")),o=n("XVEb"),s=r(n("QSAZ")),a=[].slice;function l(){}function u(t,e){if(t===e)return!0;if(o.isArray(t)&&o.isArray(e)&&t.length===e.length){for(var n=0;n1)throw new i.default("Unsupported number of partial arguments: "+n.length,t);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var r=t.name.original,o="SubExpression"===t.name.type;o&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var s=t.indent||"";this.options.preventIndent&&s&&(this.opcode("appendContent",s),s=""),this.opcode("invokePartial",o,r,s),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),this.opcode(t.escaped&&!this.options.noEscape?"appendEscaped":"append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){c(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,n){var r=t.path,i=r.parts[0],o=null!=e||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",i,o)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,n){var r=this.setupFullMustacheParams(t,e,n),o=t.path,a=o.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",r.length,a);else{if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+a,t);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",r.length,o.original,s.default.helpers.simpleId(o))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],n=s.default.helpers.scopedId(t),r=!t.depth&&!n&&this.blockParamIndex(e);r?this.opcode("lookupBlockParam",r,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,n):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,n=0,r=e.length;for(this.opcode("pushHash");n=0)return[e,i]}}}},NEWo:function(t,e){ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"],function(t,e,n){e.isDark=!0,e.cssClass="ace-monokai",e.cssText=".ace-monokai .ace_gutter {background: #2F3129;color: #8F908A}.ace-monokai .ace_print-margin {width: 1px;background: #555651}.ace-monokai {background-color: #272822;color: #F8F8F2}.ace-monokai .ace_cursor {color: #F8F8F0}.ace-monokai .ace_marker-layer .ace_selection {background: #49483E}.ace-monokai.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #272822;}.ace-monokai .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-monokai .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #49483E}.ace-monokai .ace_marker-layer .ace_active-line {background: #202020}.ace-monokai .ace_gutter-active-line {background-color: #272727}.ace-monokai .ace_marker-layer .ace_selected-word {border: 1px solid #49483E}.ace-monokai .ace_invisible {color: #52524d}.ace-monokai .ace_entity.ace_name.ace_tag,.ace-monokai .ace_keyword,.ace-monokai .ace_meta.ace_tag,.ace-monokai .ace_storage {color: #F92672}.ace-monokai .ace_punctuation,.ace-monokai .ace_punctuation.ace_tag {color: #fff}.ace-monokai .ace_constant.ace_character,.ace-monokai .ace_constant.ace_language,.ace-monokai .ace_constant.ace_numeric,.ace-monokai .ace_constant.ace_other {color: #AE81FF}.ace-monokai .ace_invalid {color: #F8F8F0;background-color: #F92672}.ace-monokai .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #AE81FF}.ace-monokai .ace_support.ace_constant,.ace-monokai .ace_support.ace_function {color: #66D9EF}.ace-monokai .ace_fold {background-color: #A6E22E;border-color: #F8F8F2}.ace-monokai .ace_storage.ace_type,.ace-monokai .ace_support.ace_class,.ace-monokai .ace_support.ace_type {font-style: italic;color: #66D9EF}.ace-monokai .ace_entity.ace_name.ace_function,.ace-monokai .ace_entity.ace_other,.ace-monokai .ace_entity.ace_other.ace_attribute-name,.ace-monokai .ace_variable {color: #A6E22E}.ace-monokai .ace_variable.ace_parameter {font-style: italic;color: #FD971F}.ace-monokai .ace_string {color: #E6DB74}.ace-monokai .ace_comment {color: #75715E}.ace-monokai .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y}",t("../lib/dom").importCssString(e.cssText,e.cssClass)})},"NW/2":function(t,e,n){var r=n("JYmt"),i=n("z+TE");t.exports=function(t,e){return null!=t&&i(t,e,r)}},NYSw:function(t,e,n){var r=n("BqUW"),i=n("tLQN");t.exports=function t(e,n,o,s,a){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,s,t,a))}},Ndl3:function(t,e,n){var r=n("9y2L"),i=n("tLQN");t.exports=function(t){return i(t)&&r(t)}},OBn4:function(t,e,n){var r=n("vxC8")(n("IBsm"),"Set");t.exports=r},OfKG:function(t,e,n){var r=n("c7Qd");t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},OkwS:function(t){t.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}},OrVs:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("2q8g"),i=n("nDih"),o=n("oi21");e.resolveFunction=function(t,e,n,s){if(void 0===s&&(s=!0),r(t))return t;if(i(t)){if(e&&r(e[t]))return e[t];if(n&&r(n[t]))return n[t]}if(s)throw new ReferenceError(o.log("Can not resolve method "+t+" on any target Objects"))}},OtNC:function(t,e,n){var r=n("TAtK")(Object.keys,Object);t.exports=r},Oul7:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Bcqe"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0}));function a(t,e){return s(t,e)}e.ThrottleAll=a,e.throttleAll=a,e.default=s},"P+cI":function(t,e,n){var r=n("uA6v"),i=n("HCUT"),o=n("LtMG"),s=n("JtPM"),a=n("I6tc"),l=n("rjis"),u=n("9Oiy"),c=n("SStt"),h=n("E2v+"),d=n("m2YG"),f=Math.max;t.exports=function(t,e,n,p,m,g,v,y){var _=2&e;if(!_&&"function"!=typeof t)throw new TypeError("Expected a function");var b=p?p.length:0;if(b||(e&=-97,p=m=void 0),v=void 0===v?v:f(d(v),0),y=void 0===y?y:d(y),b-=m?m.length:0,64&e){var w=p,C=m;p=m=void 0}var E=_?void 0:l(t),A=[t,e,n,p,m,w,C,g,v,y];if(E&&u(A,E),t=A[0],e=A[1],n=A[2],p=A[3],m=A[4],!(y=A[9]=void 0===A[9]?_?0:t.length:f(A[9]-b,0))&&24&e&&(e&=-25),e&&1!=e)x=8==e||16==e?o(t,e,y):32!=e&&33!=e||m.length?s.apply(void 0,A):a(t,e,n,p);else var x=i(t,e,n);return h((E?r:c)(x,A),t,e)}},PElx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("3POh"),i=n("wOka"),o=n("2R+v");e.CurryRightAll=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{optionalParams:!0})),e.curryRightAll=e.CurryRightAll,e.default=e.CurryRightAll},PKsm:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r=0)return u&&(r+=" if (true) { "),r;throw new Error('unknown format "'+s+'" is used in schema at path "'+t.errSchemaPath+'"')}var g,v=(g="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(g){var y=!0===m.async;m=m.validate}if(v!=n)return u&&(r+=" if (true) { "),r;if(y){if(!t.async)throw new Error("async format in sync schema");r+=" if (!(await "+(_="formats"+t.util.getProperty(s)+".validate")+"("+c+"))) { "}else{r+=" if (! ";var _="formats"+t.util.getProperty(s);g&&(_+=".validate"),r+="function"==typeof m?" "+_+"("+c+") ":" "+_+".test("+c+") ",r+=") { "}}var b=b||[];b.push(r),r="",!1!==t.createErrors?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: { format: ",r+=d?""+h:""+t.util.toQuotedString(s),r+=" } ",!1!==t.opts.messages&&(r+=" , message: 'should match format \"",r+=d?"' + "+h+" + '":""+t.util.escapeQuotes(s),r+="\"' "),t.opts.verbose&&(r+=" , schema: ",r+=d?"validate.schema"+a:""+t.util.toQuotedString(s),r+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var w=r;return r=b.pop(),r+=!t.compositeRule&&u?t.async?" throw new ValidationError(["+w+"]); ":" validate.errors = ["+w+"]; return false; ":" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u&&(r+=" else { "),r}},PpGN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("QD31"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PostValueApplicator,{setter:!0}));function a(t){return s(t)}e.AfterAll=a,e.afterAll=a,e.default=s},"Pz+s":function(t,e,n){var r=n("vxC8"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},QD31:function(t,e,n){var r=n("m2YG");t.exports=function(t,e){if("function"!=typeof e)throw new TypeError("Expected a function");return t=r(t),function(){if(--t<1)return e.apply(this,arguments)}}},QF3D:function(t,e,n){var r=n("vxC8")(n("IBsm"),"DataView");t.exports=r},QMz8:function(t,e,n){var r=n("5pfJ"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},"QS+l":function(t,e,n){"use strict";t.exports=function(t,e,n){var r=" ",i=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+t.util.getProperty(e),l=t.errSchemaPath+"/"+e,u=!t.opts.allErrors,c="data"+(o||""),h="valid"+i,d="errs__"+i,f=t.util.copy(t),p="";f.level++;var m="valid"+f.level,g="i"+i,v=f.dataLevel=t.dataLevel+1,y="data"+v,_=t.baseId;if(r+="var "+d+" = errors;var "+h+";",Array.isArray(s)){var b=t.schema.additionalItems;if(!1===b){r+=" "+h+" = "+c+".length <= "+s.length+"; ";var w=l;l=t.errSchemaPath+"/additionalItems";var C=C||[];C.push(r+=" if (!"+h+") { "),r="",!1!==t.createErrors?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: { limit: "+s.length+" } ",!1!==t.opts.messages&&(r+=" , message: 'should NOT have more than "+s.length+" items' "),t.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=C.pop(),r+=!t.compositeRule&&u?t.async?" throw new ValidationError(["+E+"]); ":" validate.errors = ["+E+"]; return false; ":" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",l=w,u&&(p+="}",r+=" else { ")}var A=s;if(A)for(var x,S=-1,k=A.length-1;S0:t.util.schemaHasRules(x,t.RULES.all)){r+=" "+m+" = true; if ("+c+".length > "+S+") { ";var F=c+"["+S+"]";f.schema=x,f.schemaPath=a+"["+S+"]",f.errSchemaPath=l+"/"+S,f.errorPath=t.util.getPathExpr(t.errorPath,S,t.opts.jsonPointers,!0),f.dataPathArr[v]=S;var D=t.validate(f);f.baseId=_,t.util.varOccurences(D,y)<2?r+=" "+t.util.varReplace(D,y,F)+" ":r+=" var "+y+" = "+F+"; "+D+" ",r+=" } ",u&&(r+=" if ("+m+") { ",p+="}")}"object"==typeof b&&(t.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0:t.util.schemaHasRules(b,t.RULES.all))&&(f.schema=b,f.schemaPath=t.schemaPath+".additionalItems",f.errSchemaPath=t.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+c+".length > "+s.length+") { for (var "+g+" = "+s.length+"; "+g+" < "+c+".length; "+g+"++) { ",f.errorPath=t.util.getPathExpr(t.errorPath,g,t.opts.jsonPointers,!0),F=c+"["+g+"]",f.dataPathArr[v]=g,D=t.validate(f),f.baseId=_,t.util.varOccurences(D,y)<2?r+=" "+t.util.varReplace(D,y,F)+" ":r+=" var "+y+" = "+F+"; "+D+" ",u&&(r+=" if (!"+m+") break; "),r+=" } } ",u&&(r+=" if ("+m+") { ",p+="}"))}else(t.opts.strictKeywords?"object"==typeof s&&Object.keys(s).length>0:t.util.schemaHasRules(s,t.RULES.all))&&(f.schema=s,f.schemaPath=a,f.errSchemaPath=l,r+=" for (var "+g+" = 0; "+g+" < "+c+".length; "+g+"++) { ",f.errorPath=t.util.getPathExpr(t.errorPath,g,t.opts.jsonPointers,!0),F=c+"["+g+"]",f.dataPathArr[v]=g,D=t.validate(f),f.baseId=_,t.util.varOccurences(D,y)<2?r+=" "+t.util.varReplace(D,y,F)+" ":r+=" var "+y+" = "+F+"; "+D+" ",u&&(r+=" if (!"+m+") break; "),r+=" }");return u&&(r+=" "+p+" if ("+d+" == errors) {"),t.util.cleanUpCode(r)}},QSAZ:function(t,e,n){"use strict";e.__esModule=!0;var r={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!r.helpers.scopedId(t)&&!t.depth}}};e.default=r,t.exports=e.default},QT01:function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n=e||n<0||g&&t-p>=c}function b(){var t=i();if(_(t))return w(t);d=setTimeout(b,function(t){var n=e-(t-f);return g?a(n,c-(t-p)):n}(t))}function w(t){return d=void 0,v&&l?y(t):(l=u=void 0,h)}function C(){var t=i(),n=_(t);if(l=arguments,u=this,f=t,n){if(void 0===d)return function(t){return p=t,d=setTimeout(b,e),m?y(t):h}(f);if(g)return clearTimeout(d),d=setTimeout(b,e),y(f)}return void 0===d&&(d=setTimeout(b,e)),h}return e=o(e)||0,r(n)&&(m=!!n.leading,c=(g="maxWait"in n)?s(o(n.maxWait)||0,e):c,v="trailing"in n?!!n.trailing:v),C.cancel=function(){void 0!==d&&clearTimeout(d),p=0,l=f=u=d=void 0},C.flush=function(){return void 0===d?h:w(i())},C}},RpMG:function(t,e,n){"use strict";t.exports=function(t,e,n){var r=" ",i=t.level,o=t.dataLevel,s=t.schema[e],a=t.schemaPath+t.util.getProperty(e),l=t.errSchemaPath+"/"+e,u=!t.opts.allErrors,c="data"+(o||""),h="valid"+i,d="errs__"+i,f=t.util.copy(t);f.level++;var p="valid"+f.level,m=t.schema.then,g=t.schema.else,v=void 0!==m&&(t.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0:t.util.schemaHasRules(m,t.RULES.all)),y=void 0!==g&&(t.opts.strictKeywords?"object"==typeof g&&Object.keys(g).length>0:t.util.schemaHasRules(g,t.RULES.all)),_=f.baseId;if(v||y){var b;f.createErrors=!1,f.schema=s,f.schemaPath=a,f.errSchemaPath=l,r+=" var "+d+" = errors; var "+h+" = true; ";var w=t.compositeRule;t.compositeRule=f.compositeRule=!0,r+=" "+t.validate(f)+" ",f.baseId=_,f.createErrors=!0,r+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",t.compositeRule=f.compositeRule=w,v?(r+=" if ("+p+") { ",f.schema=t.schema.then,f.schemaPath=t.schemaPath+".then",f.errSchemaPath=t.errSchemaPath+"/then",r+=" "+t.validate(f)+" ",f.baseId=_,r+=" "+h+" = "+p+"; ",v&&y?r+=" var "+(b="ifClause"+i)+" = 'then'; ":b="'then'",r+=" } ",y&&(r+=" else { ")):r+=" if (!"+p+") { ",y&&(f.schema=t.schema.else,f.schemaPath=t.schemaPath+".else",f.errSchemaPath=t.errSchemaPath+"/else",r+=" "+t.validate(f)+" ",f.baseId=_,r+=" "+h+" = "+p+"; ",v&&y?r+=" var "+(b="ifClause"+i)+" = 'else'; ":b="'else'",r+=" } "),r+=" if (!"+h+") { var err = ",!1!==t.createErrors?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: { failingKeyword: "+b+" } ",!1!==t.opts.messages&&(r+=" , message: 'should match \"' + "+b+" + '\" schema' "),t.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&u&&(r+=t.async?" throw new ValidationError(vErrors); ":" validate.errors = vErrors; return false; "),r+=" } ",u&&(r+=" else { "),r=t.util.cleanUpCode(r)}else u&&(r+=" if (true) { ");return r}},S0iI:function(t,e){t.exports=function(t,e){return t.has(e)}},S1RW:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("kUU+"),i=n("wOka"),o=n("2R+v");e.Curry=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{bound:!0,optionalParams:!0})),e.curry=e.Curry,e.default=e.Curry},S3pA:function(t,e,n){var r=n("7/we"),i=n("KAo/"),o=n("zWgn"),s=n("wxYD"),a=n("1EDM");t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?s(t)?i(t[0],t[1]):r(t):a(t)}},SALw:function(t,e,n){"use strict";var r=n("J4sq"),i=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31],s=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,a=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*$/i,l=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*)?$/i,u=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#.\/;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,c=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,h=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~\/]|~0|~1)*)*$/,f=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~\/]|~0|~1)*)*)$/;function m(t){return r.copy(m[t="full"==t?"full":"fast"])}function g(t){var e=t.match(i);if(!e)return!1;var n=+e[2],r=+e[3];return n>=1&&n<=12&&r>=1&&r<=(2==n&&function(t){return t%4==0&&(t%100!=0||t%400==0)}(+e[1])?29:o[n])}function v(t,e){var n=t.match(s);if(!n)return!1;var r=n[1],i=n[2],o=n[3];return(r<=23&&i<=59&&o<=59||23==r&&59==i&&60==o)&&(!e||n[5])}t.exports=m,m.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":u,url:c,email:/^[a-z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:h,"json-pointer":d,"json-pointer-uri-fragment":f,"relative-json-pointer":p},m.full={date:g,time:v,"date-time":function(t){var e=t.split(y);return 2==e.length&&g(e[0])&&v(e[1],!0)},uri:function(t){return _.test(t)&&l.test(t)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@\/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@\/?]|%[0-9a-f]{2})*)?$/i,"uri-template":u,url:c,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:function(t){return t.length<=255&&a.test(t)},ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:w,uuid:h,"json-pointer":d,"json-pointer-uri-fragment":f,"relative-json-pointer":p};var y=/t|\s/i,_=/\/|:/,b=/[^\\]\\Z/;function w(t){if(b.test(t))return!1;try{return new RegExp(t),!0}catch(e){return!1}}},SStt:function(t,e,n){var r=n("uA6v"),i=n("kG2z")(r);t.exports=i},SU8Q:function(t,e){t.exports=function(t){return function(e){return t(e)}}},SoOq:function(t,e,n){var r=n("0+aC"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)}),e});t.exports=s},Syyo:function(t,e,n){var r=n("IBsm");t.exports=r.Symbol},T6vp:function(t,e,n){(function(t){var r=n("e93E"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a}).call(this,n("aYSr")(t))},"T7u/":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("YC30"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PartialValueApplicator,{property:!0}));function a(t){return s(t)}e.Flip=a,e.flip=a,e.default=s},"T9/7":function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.HandlebarsEnvironment=u;var i=n("XVEb"),o=r(n("0KrK")),s=n("svB4"),a=n("3/2H"),l=r(n("UImk"));function u(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},s.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}e.VERSION="4.1.2",e.COMPILER_REVISION=7,e.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"},u.prototype={constructor:u,logger:l.default,log:l.default.log,registerHelper:function(t,e){if("[object Object]"===i.toString.call(t)){if(e)throw new o.default("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===i.toString.call(t))i.extend(this.partials,t);else{if(void 0===e)throw new o.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===i.toString.call(t)){if(e)throw new o.default("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}},e.log=l.default.log,e.createFrame=i.createFrame,e.logger=l.default},TAtK:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},TmT9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("tQYX"),i=n("2q8g"),o=n("nDih");e.isMethodOrPropertyDecoratorArgs=function(){for(var t=[],e=0;e=2&&r(t[0])&&o(t[1])&&i(t[0].constructor)&&t[0].constructor.prototype===t[0]}},Tv3l:function(t,e,n){var r=n("2Fbm"),i=n("VPai"),o=n("+fUG"),s=n("QMz8"),a=n("mUsV");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=0?e:parseInt(t,10)}return t},log:function(t){if(t=i.lookupLevel(t),"undefined"!=typeof console&&i.lookupLevel(i.level)<=t){var e=i.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o0:t.util.schemaHasRules(s,t.RULES.all)){d.schema=s,d.schemaPath=a,d.errSchemaPath=l;var p="key"+i,m="idx"+i,g="i"+i,v="' + "+p+" + '",y="data"+(d.dataLevel=t.dataLevel+1),_="dataProperties"+i,b=t.opts.ownProperties,w=t.baseId;b&&(r+=" var "+_+" = undefined; "),r+=b?" "+_+" = "+_+" || Object.keys("+c+"); for (var "+m+"=0; "+m+"<"+_+".length; "+m+"++) { var "+p+" = "+_+"["+m+"]; ":" for (var "+p+" in "+c+") { ",r+=" var startErrs"+i+" = errors; ";var C=p,E=t.compositeRule;t.compositeRule=d.compositeRule=!0;var A=t.validate(d);d.baseId=w,t.util.varOccurences(A,y)<2?r+=" "+t.util.varReplace(A,y,C)+" ":r+=" var "+y+" = "+C+"; "+A+" ",t.compositeRule=d.compositeRule=E,r+=" if (!"+f+") { for (var "+g+"=startErrs"+i+"; "+g+"=200&&(h=l,d=!1,e=new r(e));t:for(;++c":">",'"':""","'":"'","`":"`","=":"="},i=/[&<>"'`=]/g,o=/[&<>"'`=]/;function s(t){return r[t]}function a(t){for(var e=1;e 1e-"+t.opts.multipleOfPrecision+" ":" division"+o+" !== parseInt(division"+o+") ",i+=" ) ",d&&(i+=" ) ");var f=f||[];f.push(i+=" ) { "),i="",!1!==t.createErrors?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { multipleOf: "+r+" } ",!1!==t.opts.messages&&(i+=" , message: 'should be multiple of ",i+=d?"' + "+r:r+"'"),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var p=i;return i=f.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+p+"]); ":" validate.errors = ["+p+"]; return false; ":" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},YPqp:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i=" ",o=t.level,s=t.dataLevel,a=t.schema[e],l=t.schemaPath+t.util.getProperty(e),u=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,h="data"+(s||""),d=t.opts.$data&&a&&a.$data;d?(i+=" var schema"+o+" = "+t.util.getData(a.$data,s,t.dataPathArr)+"; ",r="schema"+o):r=a;var f="maximum"==e,p=f?"exclusiveMaximum":"exclusiveMinimum",m=t.schema[p],g=t.opts.$data&&m&&m.$data,v=f?"<":">",y=f?">":"<",_=void 0;if(g){var b,w=t.util.getData(m.$data,s,t.dataPathArr),C="exclusive"+o,E="exclType"+o,A="exclIsNumber"+o,x="' + "+(k="op"+o)+" + '";i+=" var schemaExcl"+o+" = "+w+"; ",_=p,(b=b||[]).push(i+=" var "+C+"; var "+E+" = typeof "+(w="schemaExcl"+o)+"; if ("+E+" != 'boolean' && "+E+" != 'undefined' && "+E+" != 'number') { "),i="",!1!==t.createErrors?(i+=" { keyword: '"+(_||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: {} ",!1!==t.opts.messages&&(i+=" , message: '"+p+" should be boolean' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var S=i;i=b.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+S+"]); ":" validate.errors = ["+S+"]; return false; ":" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+E+" == 'number' ? ( ("+C+" = "+r+" === undefined || "+w+" "+v+"= "+r+") ? "+h+" "+y+"= "+w+" : "+h+" "+y+" "+r+" ) : ( ("+C+" = "+w+" === true) ? "+h+" "+y+"= "+r+" : "+h+" "+y+" "+r+" ) || "+h+" !== "+h+") { var op"+o+" = "+C+" ? '"+v+"' : '"+v+"='; ",void 0===a&&(_=p,u=t.errSchemaPath+"/"+p,r=w,d=g)}else if(x=v,(A="number"==typeof m)&&d){var k="'"+x+"'";i+=" if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" ( "+r+" === undefined || "+m+" "+v+"= "+r+" ? "+h+" "+y+"= "+m+" : "+h+" "+y+" "+r+" ) || "+h+" !== "+h+") { "}else A&&void 0===a?(C=!0,_=p,u=t.errSchemaPath+"/"+p,r=m,y+="="):(A&&(r=Math[f?"min":"max"](m,a)),m===(!A||r)?(C=!0,_=p,u=t.errSchemaPath+"/"+p,y+="="):(C=!1,x+="=")),k="'"+x+"'",i+=" if ( ",d&&(i+=" ("+r+" !== undefined && typeof "+r+" != 'number') || "),i+=" "+h+" "+y+" "+r+" || "+h+" !== "+h+") { ";return _=_||e,(b=b||[]).push(i),i="",!1!==t.createErrors?(i+=" { keyword: '"+(_||"_limit")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { comparison: "+k+", limit: "+r+", exclusive: "+C+" } ",!1!==t.opts.messages&&(i+=" , message: 'should be "+x+" ",i+=d?"' + "+r:r+"'"),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ",S=i,i=b.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+S+"]); ":" validate.errors = ["+S+"]; return false; ":" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { "),i}},YTSh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("RNvQ"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0}));function a(t,e){return s(t,e)}e.Debounce=a,e.debounce=a,e.default=s},YeEs:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("wOka"),i=n("2R+v"),o=n("M7nJ");e.Tap=r.DecoratorFactory.createDecorator(new r.DecoratorConfig(function(t){return o.returnAtIndex(t,0)},new i.PreValueApplicator,{optionalParams:!0})),e.tap=e.Tap,e.default=e.Tap},YpBQ:function(t,e,n){var r=n("y/9h"),i=n("oCTG");t.exports=function t(e,n,o,s,a){var l=-1,u=e.length;for(o||(o=i),a||(a=[]);++l0&&o(c)?n>1?t(c,n-1,o,s,a):r(a,c):s||(a[a.length]=c)}return a}},Ypsa:function(t,e,n){var r=n("a88S");t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},Yulh:function(t,e,n){var r=n("cYMH");t.exports=function(t){return r(t,1)}},Z2Kv:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i=" ",o=t.level,s=t.dataLevel,a=t.schema[e],l=t.schemaPath+t.util.getProperty(e),u=t.errSchemaPath+"/"+e,c=!t.opts.allErrors,h="data"+(s||""),d="valid"+o,f=t.opts.$data&&a&&a.$data;if(f?(i+=" var schema"+o+" = "+t.util.getData(a.$data,s,t.dataPathArr)+"; ",r="schema"+o):r=a,(a||f)&&!1!==t.opts.uniqueItems){f&&(i+=" var "+d+"; if ("+r+" === false || "+r+" === undefined) "+d+" = true; else if (typeof "+r+" != 'boolean') "+d+" = false; else { "),i+=" var i = "+h+".length , "+d+" = true , j; if (i > 1) { ";var p=t.schema.items&&t.schema.items.type,m=Array.isArray(p);!p||"object"==p||"array"==p||m&&(p.indexOf("object")>=0||p.indexOf("array")>=0)?i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+h+"[i], "+h+"[j])) { "+d+" = false; break outer; } } } ":(i+=" var itemIndices = {}, item; for (;i--;) { var item = "+h+"[i]; ",i+=" if ("+t.util["checkDataType"+(m?"s":"")](p,"item",!0)+") continue; ",m&&(i+=" if (typeof item == 'string') item = '\"' + item; "),i+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "),i+=" } ",f&&(i+=" } ");var g=g||[];g.push(i+=" if (!"+d+") { "),i="",!1!==t.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { i: i, j: j } ",!1!==t.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),t.opts.verbose&&(i+=" , schema: ",i+=f?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var v=i;i=g.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+v+"]); ":" validate.errors = ["+v+"]; return false; ":" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",c&&(i+=" else { ")}else c&&(i+=" if (true) { ");return i}},"ZZ+W":function(t,e,n){var r=n("JBn+"),i=n("myUI"),o=n("S0iI");t.exports=function(t,e,n,s,a,l){var u=1&n,c=t.length,h=e.length;if(c!=h&&!(u&&h>c))return!1;var d=l.get(t);if(d&&l.get(e))return d==e;var f=-1,p=!0,m=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++f0&&(e+=", "+n.join(", "));var r=0;for(var i in this.aliases){var o=this.aliases[i];this.aliases.hasOwnProperty(i)&&o.children&&o.referenceCount>1&&(e+=", alias"+ ++r+"="+i,o.children[0]="alias"+r)}var s=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&s.push("blockParams"),this.useDepths&&s.push("depths");var a=this.mergeSource(e);return t?(s.push(a),Function.apply(this,s)):this.source.wrap(["function(",s.join(","),") {\n ",a,"}"])},mergeSource:function(t){var e=this.environment.isSimple,n=!this.forceBuffer,r=void 0,i=void 0,o=void 0,s=void 0;return this.source.each(function(t){t.appendToBuffer?(o?t.prepend(" + "):o=t,s=t):(o&&(i?o.prepend("buffer += "):r=!0,s.add(";"),o=s=void 0),i=!0,e||(n=!1))}),n?o?(o.prepend("return "),s.add(";")):i||this.source.push('return "";'):(t+=", buffer = "+(r?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(r?"":";\n")),this.source.merge()},blockValue:function(t){var e=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(t,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(e,"call",n))},ambiguousBlockValue:function(){var t=this.aliasable("helpers.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var n=this.topStack();e.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,n,r){var i=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[i++])),this.resolvePath("context",t,i,e,n)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,n){this.pushStackLiteral(t?"container.data(data, "+t+")":"data"),this.resolvePath("data",e,0,!0,n)},resolvePath:function(t,e,n,r,i){var o=this;if(this.options.strict||this.options.assumeObjects)this.push(function(t,e,n,r){var i=e.popStack(),o=0,s=n.length;for(t&&s--;othis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,n=t.length;e0:t.util.schemaHasRules(w,t.RULES.all))?(f.schema=w,f.schemaPath=a+"["+C+"]",f.errSchemaPath=l+"/"+C,r+=" "+t.validate(f)+" ",f.baseId=g):r+=" var "+m+" = true; ",C&&(r+=" if ("+m+" && "+v+") { "+h+" = false; "+y+" = ["+y+", "+C+"]; } else { ",p+="}"),r+=" if ("+m+") { "+h+" = "+v+" = true; "+y+" = "+C+"; }";return t.compositeRule=f.compositeRule=_,r+=p+"if (!"+h+") { var err = ",!1!==t.createErrors?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: { passingSchemas: "+y+" } ",!1!==t.opts.messages&&(r+=" , message: 'should match exactly one schema in oneOf' "),t.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&u&&(r+=t.async?" throw new ValidationError(vErrors); ":" validate.errors = vErrors; return false; "),r+="} else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }",t.opts.allErrors&&(r+=" } "),r}},bvyN:function(t,e,n){var r=n("/30y"),i=n("tLQN"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},c18h:function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},c72w:function(t,e,n){var r=n("wC3K"),i=n("pPzx"),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var s=t[e];o.call(t,e)&&i(s,n)&&(void 0!==n||e in t)||r(t,e,n)}},c7Qd:function(t,e,n){var r=n("DuXo"),i=n("z9Jh"),o=n("n1QJ");t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},"cEF+":function(t,e,n){var r=n("P+cI"),i=n("cH1A")(function(t,e){return r(t,256,void 0,void 0,void 0,e)});t.exports=i},cEVn:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.returnAtIndex=function(t,e){return function(){for(var n=[],r=0;r1?"& ":"")+e[i],e=e.join(r>2?", ":" "),t.replace(n,"{\n/* [wrapped with "+e+"] */\n")}},kG2z:function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},kHoZ:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},"kUU+":function(t,e,n){var r=n("P+cI"),i=8;function o(t,e,n){var s=r(t,i,void 0,void 0,void 0,void 0,void 0,e=n?void 0:e);return s.placeholder=o.placeholder,s}o.placeholder={},t.exports=o},"kkM+":function(t,e,n){var r=n("QF3D"),i=n("qeCs"),o=n("IS0S"),s=n("OBn4"),a=n("4+Vk"),l=n("Dhk8"),u=n("c18h"),c=u(r),h=u(i),d=u(o),f=u(s),p=u(a),m=l;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||s&&"[object Set]"!=m(new s)||a&&"[object WeakMap]"!=m(new a))&&(m=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,r=n?u(n):"";if(r)switch(r){case c:return"[object DataView]";case h:return"[object Map]";case d:return"[object Promise]";case f:return"[object Set]";case p:return"[object WeakMap]"}return e}),t.exports=m},knjE:function(t,e,n){!function(){var t=function(){return this}();t||"undefined"==typeof window||(t=window);var e=function(t,n,r){"string"==typeof t?(2==arguments.length&&(r=n),e.modules[t]||(e.payloads[t]=r,e.modules[t]=null)):e.original?e.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};e.modules={},e.payloads={};var n,r=function(t,e,n){if("string"==typeof e){var r=s(t,e);if(null!=r)return n&&n(),r}else if("[object Array]"===Object.prototype.toString.call(e)){for(var o=[],a=0,l=e.length;a1&&function(t,e,n){if(Array.prototype.indexOf)return t.indexOf("",void 0);for(var r=0;r-1&&(n=RegExp(this.source,i.replace.call((this.global?"g":"")+(this.ignoreCase?"i":"")+(this.multiline?"m":"")+(this.extended?"x":"")+(this.sticky?"y":""),"g","")),i.replace.call(t.slice(r.index),n,function(){for(var t=1;tr.index&&this.lastIndex--}return r},s||(RegExp.prototype.test=function(t){var e=i.exec.call(this,t);return e&&this.global&&!e[0].length&&this.lastIndex>e.index&&this.lastIndex--,!!e}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(t,e,n){function r(){}Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError("Function.prototype.bind called on incompatible "+e);var n=d.call(arguments,1),i=function(){if(this instanceof i){var r=e.apply(this,n.concat(d.call(arguments)));return Object(r)===r?r:this}return e.apply(t,n.concat(d.call(arguments)))};return e.prototype&&(r.prototype=e.prototype,i.prototype=new r,r.prototype=null),i});var i,o,s,a,l,u=Function.prototype.call,c=Array.prototype,h=Object.prototype,d=c.slice,f=u.bind(h.toString),p=u.bind(h.hasOwnProperty);if((l=p(h,"__defineGetter__"))&&(i=u.bind(h.__defineGetter__),o=u.bind(h.__defineSetter__),s=u.bind(h.__lookupGetter__),a=u.bind(h.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function t(t){var e=new Array(t+2);return e[0]=e[1]=0,e}var e,n=[];if(n.splice.apply(n,t(20)),n.splice.apply(n,t(26)),e=n.length,n.splice(5,0,"XXX"),e+1==n.length)return!0}()){var m=Array.prototype.splice;Array.prototype.splice=function(t,e){return arguments.length?m.apply(this,[void 0===t?0:t,void 0===e?this.length-t:e].concat(d.call(arguments,2))):[]}}else Array.prototype.splice=function(t,e){var n=this.length;t>0?t>n&&(t=n):null==t?t=0:t<0&&(t=Math.max(n+t,0)),t+ea)for(h=u;h--;)this[l+h]=this[a+h];if(o&&t===c)this.length=c,this.push.apply(this,i);else for(this.length=c+o,h=0;h>>0;if("[object Function]"!=f(t))throw new TypeError;for(;++i>>0,i=Array(r),o=arguments[1];if("[object Function]"!=f(t))throw new TypeError(t+" is not a function");for(var s=0;s>>0,o=[],s=arguments[1];if("[object Function]"!=f(t))throw new TypeError(t+" is not a function");for(var a=0;a>>0,i=arguments[1];if("[object Function]"!=f(t))throw new TypeError(t+" is not a function");for(var o=0;o>>0,i=arguments[1];if("[object Function]"!=f(t))throw new TypeError(t+" is not a function");for(var o=0;o>>0;if("[object Function]"!=f(t))throw new TypeError(t+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,o=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o++];break}if(++o>=r)throw new TypeError("reduce of empty array with no initial value")}for(;o>>0;if("[object Function]"!=f(t))throw new TypeError(t+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,o=r-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(i=t.call(void 0,i,n[o],o,e))}while(o--);return i}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(t){var e=_&&"[object String]"==f(this)?this.split(""):R(this),n=e.length>>>0;if(!n)return-1;var r=0;for(arguments.length>1&&(r=P(arguments[1])),r=r>=0?r:Math.max(0,n+r);r>>0;if(!n)return-1;var r=n-1;for(arguments.length>1&&(r=Math.min(r,P(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in e&&t===e[r])return r;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(t){return t.__proto__||(t.constructor?t.constructor.prototype:h)}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(t,e){if("object"!=typeof t&&"function"!=typeof t||null===t)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+t);if(p(t,e)){var n;if(n={enumerable:!0,configurable:!0},l){var r=t.__proto__;t.__proto__=h;var i=s(t,e),o=a(t,e);if(t.__proto__=r,i||o)return i&&(n.get=i),o&&(n.set=o),n}return n.value=t[e],n}}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(t){return Object.keys(t)}),Object.create||(g=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var t={};for(var e in t)t[e]=null;return t.constructor=t.hasOwnProperty=t.propertyIsEnumerable=t.isPrototypeOf=t.toLocaleString=t.toString=t.valueOf=t.__proto__=null,t},Object.create=function(t,e){var n;if(null===t)n=g();else{if("object"!=typeof t)throw new TypeError("typeof prototype["+typeof t+"] != 'object'");var r=function(){};r.prototype=t,(n=new r).__proto__=t}return void 0!==e&&Object.defineProperties(n,e),n}),Object.defineProperty){var w=b({}),C="undefined"==typeof document||b(document.createElement("div"));if(!w||!C)var E=Object.defineProperty}Object.defineProperty&&!E||(Object.defineProperty=function(t,e,n){if("object"!=typeof t&&"function"!=typeof t||null===t)throw new TypeError("Object.defineProperty called on non-object: "+t);if("object"!=typeof n&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(E)try{return E.call(Object,t,e,n)}catch(u){}if(p(n,"value"))if(l&&(s(t,e)||a(t,e))){var r=t.__proto__;t.__proto__=h,delete t[e],t[e]=n.value,t.__proto__=r}else t[e]=n.value;else{if(!l)throw new TypeError("getters & setters can not be defined on this javascript engine");p(n,"get")&&i(t,e,n.get),p(n,"set")&&o(t,e,n.set)}return t}),Object.defineProperties||(Object.defineProperties=function(t,e){for(var n in e)p(e,n)&&Object.defineProperty(t,n,e[n]);return t}),Object.seal||(Object.seal=function(t){return t}),Object.freeze||(Object.freeze=function(t){return t});try{Object.freeze(function(){})}catch(T){Object.freeze=(v=Object.freeze,function(t){return"function"==typeof t?t:v(t)})}if(Object.preventExtensions||(Object.preventExtensions=function(t){return t}),Object.isSealed||(Object.isSealed=function(t){return!1}),Object.isFrozen||(Object.isFrozen=function(t){return!1}),Object.isExtensible||(Object.isExtensible=function(t){if(Object(t)===t)throw new TypeError;for(var e="";p(t,e);)e+="?";t[e]=!0;var n=p(t,e);return delete t[e],n}),!Object.keys){var A=!0,x=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=x.length;for(var k in{toString:null})A=!1;Object.keys=function(t){if("object"!=typeof t&&"function"!=typeof t||null===t)throw new TypeError("Object.keys called on a non-object");var e=[];for(var n in t)p(t,n)&&e.push(n);if(A)for(var r=0,i=S;r0||-1)*Math.floor(Math.abs(t))),t}var R=function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return Object(t)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(t,e,n){"use strict";t("./regexp"),t("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(t,e,n){"use strict";e.getDocumentHead=function(t){return t||(t=document),t.head||t.getElementsByTagName("head")[0]||t.documentElement},e.createElement=function(t,e){return document.createElementNS?document.createElementNS(e||"http://www.w3.org/1999/xhtml",t):document.createElement(t)},e.hasCssClass=function(t,e){return-1!==(t.className+"").split(/\s+/g).indexOf(e)},e.addCssClass=function(t,n){e.hasCssClass(t,n)||(t.className+=" "+n)},e.removeCssClass=function(t,e){for(var n=t.className.split(/\s+/g);;){var r=n.indexOf(e);if(-1==r)break;n.splice(r,1)}t.className=n.join(" ")},e.toggleCssClass=function(t,e){for(var n=t.className.split(/\s+/g),r=!0;;){var i=n.indexOf(e);if(-1==i)break;r=!1,n.splice(i,1)}return r&&n.push(e),t.className=n.join(" "),r},e.setCssClass=function(t,n,r){r?e.addCssClass(t,n):e.removeCssClass(t,n)},e.hasCssString=function(t,e){var n,r=0;if((e=e||document).createStyleSheet&&(n=e.styleSheets)){for(;r=0?parseFloat((i.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((i.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),e.isOldIE=e.isIE&&e.isIE<9,e.isGecko=e.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,e.isOldGecko=e.isGecko&&parseInt((i.match(/rv:(\d+)/)||[])[1],10)<4,e.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),e.isWebKit=parseFloat(i.split("WebKit/")[1])||void 0,e.isChrome=parseFloat(i.split(" Chrome/")[1])||void 0,e.isAIR=i.indexOf("AdobeAIR")>=0,e.isIPad=i.indexOf("iPad")>=0,e.isChromeOS=i.indexOf(" CrOS ")>=0,e.isIOS=/iPad|iPhone|iPod/.test(i)&&!window.MSStream,e.isIOS&&(e.isMac=!0)}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(t,e,n){"use strict";var r=t("./keys"),i=t("./useragent"),o=null,s=0;e.addListener=function(t,e,n){if(t.addEventListener)return t.addEventListener(e,n,!1);if(t.attachEvent){var r=function(){n.call(t,window.event)};n._wrapper=r,t.attachEvent("on"+e,r)}},e.removeListener=function(t,e,n){if(t.removeEventListener)return t.removeEventListener(e,n,!1);t.detachEvent&&t.detachEvent("on"+e,n._wrapper||n)},e.stopEvent=function(t){return e.stopPropagation(t),e.preventDefault(t),!1},e.stopPropagation=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},e.preventDefault=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},e.getButton=function(t){return"dblclick"==t.type?0:"contextmenu"==t.type||i.isMac&&t.ctrlKey&&!t.altKey&&!t.shiftKey?2:t.preventDefault?t.button:{1:0,2:2,4:1}[t.button]},e.capture=function(t,n,r){function i(t){n&&n(t),r&&r(t),e.removeListener(document,"mousemove",n,!0),e.removeListener(document,"mouseup",i,!0),e.removeListener(document,"dragstart",i,!0)}return e.addListener(document,"mousemove",n,!0),e.addListener(document,"mouseup",i,!0),e.addListener(document,"dragstart",i,!0),i},e.addTouchMoveListener=function(t,n){var r,i;e.addListener(t,"touchstart",function(t){var e=t.touches[0];r=e.clientX,i=e.clientY}),e.addListener(t,"touchmove",function(t){var e=t.touches;if(!(e.length>1)){var o=e[0];t.wheelX=r-o.clientX,t.wheelY=i-o.clientY,r=o.clientX,i=o.clientY,n(t)}})},e.addMouseWheelListener=function(t,n){"onmousewheel"in t?e.addListener(t,"mousewheel",function(t){void 0!==t.wheelDeltaX?(t.wheelX=-t.wheelDeltaX/8,t.wheelY=-t.wheelDeltaY/8):(t.wheelX=0,t.wheelY=-t.wheelDelta/8),n(t)}):"onwheel"in t?e.addListener(t,"wheel",function(t){switch(t.deltaMode){case t.DOM_DELTA_PIXEL:t.wheelX=.35*t.deltaX||0,t.wheelY=.35*t.deltaY||0;break;case t.DOM_DELTA_LINE:case t.DOM_DELTA_PAGE:t.wheelX=5*(t.deltaX||0),t.wheelY=5*(t.deltaY||0)}n(t)}):e.addListener(t,"DOMMouseScroll",function(t){t.axis&&t.axis==t.HORIZONTAL_AXIS?(t.wheelX=5*(t.detail||0),t.wheelY=0):(t.wheelX=0,t.wheelY=5*(t.detail||0)),n(t)})},e.addMultiMouseDownListener=function(t,n,r,o){var s,a,l,u=0,c={2:"dblclick",3:"tripleclick",4:"quadclick"};function h(t){if(0!==e.getButton(t)?u=0:t.detail>1?++u>4&&(u=1):u=1,i.isIE){var h=Math.abs(t.clientX-s)>5||Math.abs(t.clientY-a)>5;l&&!h||(u=1),l&&clearTimeout(l),l=setTimeout(function(){l=null},n[u-1]||600),1==u&&(s=t.clientX,a=t.clientY)}if(t._clicks=u,r[o]("mousedown",t),u>4)u=0;else if(u>1)return r[o](c[u],t)}function d(t){u=2,l&&clearTimeout(l),l=setTimeout(function(){l=null},n[u-1]||600),r[o]("mousedown",t),r[o](c[u],t)}Array.isArray(t)||(t=[t]),t.forEach(function(t){e.addListener(t,"mousedown",h),i.isOldIE&&e.addListener(t,"dblclick",d)})};var a=!i.isMac||!i.isOpera||"KeyboardEvent"in window?function(t){return 0|(t.ctrlKey?1:0)|(t.altKey?2:0)|(t.shiftKey?4:0)|(t.metaKey?8:0)}:function(t){return 0|(t.metaKey?1:0)|(t.altKey?2:0)|(t.shiftKey?4:0)|(t.ctrlKey?8:0)};function l(t,e,n){var l=a(e);if(!i.isMac&&o){if(e.getModifierState&&(e.getModifierState("OS")||e.getModifierState("Win"))&&(l|=8),o.altGr){if(3==(3&l))return;o.altGr=0}if(18===n||17===n){var u="location"in e?e.location:e.keyLocation;17===n&&1===u?1==o[n]&&(s=e.timeStamp):18===n&&3===l&&2===u&&e.timeStamp-s<50&&(o.altGr=!0)}}if(n in r.MODIFIER_KEYS&&(n=-1),8&l&&n>=91&&n<=93&&(n=-1),l||13!==n||3!==(u="location"in e?e.location:e.keyLocation)||(t(e,l,-n),!e.defaultPrevented)){if(i.isChromeOS&&8&l){if(t(e,l,n),e.defaultPrevented)return;l&=-9}return!!(l||n in r.FUNCTION_KEYS||n in r.PRINTABLE_KEYS)&&t(e,l,n)}}function u(){o=Object.create(null)}e.getModifierString=function(t){return r.KEY_MODS[a(t)]},e.addCommandKeyListener=function(t,n){var r=e.addListener;if(i.isOldGecko||i.isOpera&&!("KeyboardEvent"in window)){var s=null;r(t,"keydown",function(t){s=t.keyCode}),r(t,"keypress",function(t){return l(n,t,s)})}else{var a=null;r(t,"keydown",function(t){o[t.keyCode]=(o[t.keyCode]||0)+1;var e=l(n,t,t.keyCode);return a=t.defaultPrevented,e}),r(t,"keypress",function(t){a&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey)&&(e.stopEvent(t),a=null)}),r(t,"keyup",function(t){o[t.keyCode]=null}),o||(u(),r(window,"focus",u))}},"object"==typeof window&&window.postMessage&&!i.isOldIE&&(e.nextTick=function(t,n){n=n||window,e.addListener(n,"message",function r(i){"zero-timeout-message-1"==i.data&&(e.stopPropagation(i),e.removeListener(n,"message",r),t())}),n.postMessage("zero-timeout-message-1","*")}),e.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),e.nextFrame=e.nextFrame?e.nextFrame.bind(window):function(t){setTimeout(t,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(t,e,n){"use strict";e.last=function(t){return t[t.length-1]},e.stringReverse=function(t){return t.split("").reverse().join("")},e.stringRepeat=function(t,e){for(var n="";e>0;)1&e&&(n+=t),(e>>=1)&&(t+=t);return n};var r=/^\s\s*/,i=/\s\s*$/;e.stringTrimLeft=function(t){return t.replace(r,"")},e.stringTrimRight=function(t){return t.replace(i,"")},e.copyObject=function(t){var e={};for(var n in t)e[n]=t[n];return e},e.copyArray=function(t){for(var e=[],n=0,r=t.length;nh.length?t=t.substr(9):t.substr(0,4)==h.substr(0,4)?t=t.substr(4,t.length-h.length+1):t.charAt(t.length-1)==h.charAt(0)&&(t=t.slice(0,-1)),t==h.charAt(0)||t.charAt(t.length-1)==h.charAt(0)&&(t=t.slice(0,-1)),t&&e.onTextInput(t)),d&&(d=!1),A&&(A=!1))},S=function(t){m||(x(n.value),C())},k=function(t,e,n){var r=t.clipboardData||window.clipboardData;if(r&&!u){var i=c||n?"Text":"text/plain";try{return e?!1!==r.setData(i,e):r.getData(i)}catch(t){if(!n)return k(t,e,!0)}}},F=function(t,o){var s=e.getCopyText();if(!s)return r.preventDefault(t);k(t,s)?(i.isIOS&&(f=o,n.value="\n aa"+s+"a a\n",n.setSelectionRange(4,4+s.length),d={value:s}),o?e.onCut():e.onCopy(),i.isIOS||r.preventDefault(t)):(d=!0,n.value=s,n.select(),setTimeout(function(){d=!1,C(),w(),o?e.onCut():e.onCopy()}))};r.addCommandKeyListener(n,e.onCommandKey.bind(e)),r.addListener(n,"select",function(t){!function(t){return 0===t.selectionStart&&t.selectionEnd===t.value.length}(n)?E&&w(e.selection.isEmpty()):(e.selectAll(),w())}),r.addListener(n,"input",S),r.addListener(n,"cut",function(t){F(t,!0)}),r.addListener(n,"copy",function(t){F(t,!1)}),r.addListener(n,"paste",function(t){var o=k(t);"string"==typeof o?(o&&e.onPaste(o,t),i.isIE&&setTimeout(w),r.preventDefault(t)):(n.value="",p=!0)});var D,O=function(){if(m&&e.onCompositionUpdate&&!e.$readOnly){var t=n.value.replace(/\x01/g,"");if(m.lastValue!==t&&(e.onCompositionUpdate(t),m.lastValue&&e.undo(),m.canUndo&&(m.lastValue=t),m.lastValue)){var r=e.selection.getRange();e.insert(m.lastValue),e.session.markUndoGroup(),m.range=e.selection.getRange(),e.selection.setRange(r),e.selection.clearSelection()}}},P=function(t){if(e.onCompositionEnd&&!e.$readOnly){var r=m;m=!1;var o=setTimeout(function(){o=null;var t=n.value.replace(/\x01/g,"");m||(t==r.lastValue?C():!r.lastValue&&t&&(C(),x(t)))});E=function(t){return o&&clearTimeout(o),(t=t.replace(/\x01/g,""))==r.lastValue?"":(r.lastValue&&o&&e.undo(),t)},e.onCompositionEnd(),e.removeListener("mousedown",P),"compositionend"==t.type&&r.range&&e.selection.setRange(r.range),(i.isChrome&&i.isChrome>=53||i.isWebKit&&i.isWebKit>=603)&&S()}},R=s.delayedCall(O,50);function T(){clearTimeout(D),D=setTimeout(function(){g&&(n.style.cssText=g,g=""),null==e.renderer.$keepTextAreaAtCursor&&(e.renderer.$keepTextAreaAtCursor=!0,e.renderer.$moveTextAreaToCursor())},0)}r.addListener(n,"compositionstart",function(t){m||!e.onCompositionStart||e.$readOnly||((m={}).canUndo=e.session.$undoManager,e.onCompositionStart(),setTimeout(O,0),e.on("mousedown",P),m.canUndo&&!e.selection.isEmpty()&&(e.insert(""),e.session.markUndoGroup(),e.selection.clearSelection()),e.session.markUndoGroup())}),i.isGecko?r.addListener(n,"text",function(){R.schedule()}):(r.addListener(n,"keyup",function(){R.schedule()}),r.addListener(n,"keydown",function(){R.schedule()})),r.addListener(n,"compositionend",P),this.getElement=function(){return n},this.setReadOnly=function(t){n.readOnly=t},this.onContextMenu=function(t){A=!0,w(e.selection.isEmpty()),e._emit("nativecontextmenu",{target:e,domEvent:t}),this.moveToMouse(t,!0)},this.moveToMouse=function(t,s){g||(g=n.style.cssText),n.style.cssText=(s?"z-index:100000;":"")+"height:"+n.style.height+";"+(i.isIE?"opacity:0.1;":"");var a=e.container.getBoundingClientRect(),l=o.computedStyle(e.container),u=a.top+(parseInt(l.borderTopWidth)||0),c=a.left+(parseInt(a.borderLeftWidth)||0),h=a.bottom-u-n.clientHeight-2,d=function(t){n.style.left=t.clientX-c-2+"px",n.style.top=Math.min(t.clientY-u-2,h)+"px"};d(t),"mousedown"==t.type&&(e.renderer.$keepTextAreaAtCursor&&(e.renderer.$keepTextAreaAtCursor=null),clearTimeout(D),i.isWin&&r.capture(e.container,d,T))},this.onContextMenuClose=T;var I=function(t){e.textInput.onContextMenu(t),T()};if(r.addListener(n,"mouseup",I),r.addListener(n,"mousedown",function(t){t.preventDefault(),T()}),r.addListener(e.renderer.scroller,"contextmenu",I),r.addListener(n,"contextmenu",I),i.isIOS){var L=null,B=!1;t.addEventListener("keydown",function(t){L&&clearTimeout(L),B=!0}),t.addEventListener("keyup",function(t){L=setTimeout(function(){B=!1},100)});var $=function(t){if(document.activeElement===n&&!B){if(f)return setTimeout(function(){f=!1},100);var r=n.selectionStart,i=n.selectionEnd;if(n.setSelectionRange(4,5),r==i)switch(r){case 0:e.onCommandKey(null,0,a.up);break;case 1:e.onCommandKey(null,0,a.home);break;case 2:e.onCommandKey(null,l.option,a.left);break;case 4:e.onCommandKey(null,0,a.left);break;case 5:e.onCommandKey(null,0,a.right);break;case 7:e.onCommandKey(null,l.option,a.right);break;case 8:e.onCommandKey(null,0,a.end);break;case 9:e.onCommandKey(null,0,a.down)}else{switch(i){case 6:e.onCommandKey(null,l.shift,a.right);break;case 7:e.onCommandKey(null,l.shift|l.option,a.right);break;case 8:e.onCommandKey(null,l.shift,a.end);break;case 9:e.onCommandKey(null,l.shift,a.down)}switch(r){case 0:e.onCommandKey(null,l.shift,a.up);break;case 1:e.onCommandKey(null,l.shift,a.home);break;case 2:e.onCommandKey(null,l.shift|l.option,a.left);break;case 3:e.onCommandKey(null,l.shift,a.left)}}}};document.addEventListener("selectionchange",$),e.on("destroy",function(){document.removeEventListener("selectionchange",$)})}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],function(t,e,n){"use strict";var r=t("../lib/event"),i=t("../lib/useragent"),o=t("../lib/dom"),s=t("../lib/lang"),a=i.isChrome<18,l=i.isIE,u=t("./textinput_ios").TextInput;e.TextInput=function(t,e){if(i.isIOS)return u.call(this,t,e);var n=o.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",t.insertBefore(n,t.firstChild);var c="\u2028\u2028",h=!1,d=!1,f=!1,p="",m=!0;try{var g=document.activeElement===n}catch(B){}r.addListener(n,"blur",function(t){e.onBlur(t),g=!1}),r.addListener(n,"focus",function(t){g=!0,e.onFocus(t),_()}),this.focus=function(){if(p)return n.focus();var t=n.style.top;n.style.position="fixed",n.style.top="0px",n.focus(),setTimeout(function(){n.style.position="","0px"==n.style.top&&(n.style.top=t)},0)},this.blur=function(){n.blur()},this.isFocused=function(){return g};var v=s.delayedCall(function(){g&&_(m)}),y=s.delayedCall(function(){f||(n.value=c,g&&_())});function _(t){if(!f){if(f=!0,w)var e=0,r=t?0:n.value.length-1;else e=t?2:1,r=2;try{n.setSelectionRange(e,r)}catch(B){}f=!1}}function b(){f||(n.value=c,i.isWebKit&&y.schedule())}i.isWebKit||e.addEventListener("changeSelection",function(){e.selection.isEmpty()!=m&&(m=!m,v.schedule())}),b(),g&&e.onFocus();var w=null;this.setInputHandler=function(t){w=t},this.getInputHandler=function(){return w};var C=!1,E=function(t){w&&(t=w(t),w=null),d?(_(),t&&e.onPaste(t),d=!1):t==c.charAt(0)?e.execCommand(C?"del":"backspace",{source:"ace"}):(t.substring(0,2)==c?t=t.substr(2):t.charAt(0)==c.charAt(0)?t=t.substr(1):t.charAt(t.length-1)==c.charAt(0)&&(t=t.slice(0,-1)),t.charAt(t.length-1)==c.charAt(0)&&(t=t.slice(0,-1)),t&&e.onTextInput(t)),C&&(C=!1)},A=function(t){f||(E(n.value),b())},x=function(t,e,n){var r=t.clipboardData||window.clipboardData;if(r&&!a){var i=l||n?"Text":"text/plain";try{return e?!1!==r.setData(i,e):r.getData(i)}catch(t){if(!n)return x(t,e,!0)}}},S=function(t,i){var o=e.getCopyText();if(!o)return r.preventDefault(t);x(t,o)?(i?e.onCut():e.onCopy(),r.preventDefault(t)):(h=!0,n.value=o,n.select(),setTimeout(function(){h=!1,b(),_(),i?e.onCut():e.onCopy()}))},k=function(t){S(t,!0)},F=function(t){S(t,!1)},D=function(t){var o=x(t);"string"==typeof o?(o&&e.onPaste(o,t),i.isIE&&setTimeout(_),r.preventDefault(t)):(n.value="",d=!0)};r.addCommandKeyListener(n,e.onCommandKey.bind(e)),r.addListener(n,"select",function(t){h?h=!1:function(t){return 0===t.selectionStart&&t.selectionEnd===t.value.length}(n)?(e.selectAll(),_()):w&&_(e.selection.isEmpty())}),r.addListener(n,"input",A),r.addListener(n,"cut",k),r.addListener(n,"copy",F),r.addListener(n,"paste",D),"oncut"in n&&"oncopy"in n&&"onpaste"in n||r.addListener(t,"keydown",function(t){if((!i.isMac||t.metaKey)&&t.ctrlKey)switch(t.keyCode){case 67:F(t);break;case 86:D(t);break;case 88:k(t)}});var O,P=function(){if(f&&e.onCompositionUpdate&&!e.$readOnly){var t=n.value.replace(/\u2028/g,"");if(f.lastValue!==t&&(e.onCompositionUpdate(t),f.lastValue&&e.undo(),f.canUndo&&(f.lastValue=t),f.lastValue)){var r=e.selection.getRange();e.insert(f.lastValue),e.session.markUndoGroup(),f.range=e.selection.getRange(),e.selection.setRange(r),e.selection.clearSelection()}}},R=function(t){if(e.onCompositionEnd&&!e.$readOnly){var r=f;f=!1;var o=setTimeout(function(){o=null;var t=n.value.replace(/\u2028/g,"");f||(t==r.lastValue?b():!r.lastValue&&t&&(b(),E(t)))});w=function(t){return o&&clearTimeout(o),(t=t.replace(/\u2028/g,""))==r.lastValue?"":(r.lastValue&&o&&e.undo(),t)},e.onCompositionEnd(),e.removeListener("mousedown",R),"compositionend"==t.type&&r.range&&e.selection.setRange(r.range),(i.isChrome&&i.isChrome>=53||i.isWebKit&&i.isWebKit>=603)&&A()}},T=s.delayedCall(P,50);function I(){clearTimeout(O),O=setTimeout(function(){p&&(n.style.cssText=p,p=""),null==e.renderer.$keepTextAreaAtCursor&&(e.renderer.$keepTextAreaAtCursor=!0,e.renderer.$moveTextAreaToCursor())},0)}r.addListener(n,"compositionstart",function(t){f||!e.onCompositionStart||e.$readOnly||((f={}).canUndo=e.session.$undoManager,e.onCompositionStart(),setTimeout(P,0),e.on("mousedown",R),f.canUndo&&!e.selection.isEmpty()&&(e.insert(""),e.session.markUndoGroup(),e.selection.clearSelection()),e.session.markUndoGroup())}),i.isGecko?r.addListener(n,"text",function(){T.schedule()}):(r.addListener(n,"keyup",function(){T.schedule()}),r.addListener(n,"keydown",function(){T.schedule()})),r.addListener(n,"compositionend",R),this.getElement=function(){return n},this.setReadOnly=function(t){n.readOnly=t},this.onContextMenu=function(t){C=!0,_(e.selection.isEmpty()),e._emit("nativecontextmenu",{target:e,domEvent:t}),this.moveToMouse(t,!0)},this.moveToMouse=function(t,s){p||(p=n.style.cssText),n.style.cssText=(s?"z-index:100000;":"")+"height:"+n.style.height+";"+(i.isIE?"opacity:0.1;":"");var a=e.container.getBoundingClientRect(),l=o.computedStyle(e.container),u=a.top+(parseInt(l.borderTopWidth)||0),c=a.left+(parseInt(a.borderLeftWidth)||0),h=a.bottom-u-n.clientHeight-2,d=function(t){n.style.left=t.clientX-c-2+"px",n.style.top=Math.min(t.clientY-u-2,h)+"px"};d(t),"mousedown"==t.type&&(e.renderer.$keepTextAreaAtCursor&&(e.renderer.$keepTextAreaAtCursor=null),clearTimeout(O),i.isWin&&r.capture(e.container,d,I))},this.onContextMenuClose=I;var L=function(t){e.textInput.onContextMenu(t),I()};r.addListener(n,"mouseup",L),r.addListener(n,"mousedown",function(t){t.preventDefault(),I()}),r.addListener(e.renderer.scroller,"contextmenu",L),r.addListener(n,"contextmenu",L)}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(t,e,n){"use strict";t("../lib/dom"),t("../lib/event");var r=t("../lib/useragent");function i(t){t.$clickSelection=null;var e=t.editor;e.setDefaultHandler("mousedown",this.onMouseDown.bind(t)),e.setDefaultHandler("dblclick",this.onDoubleClick.bind(t)),e.setDefaultHandler("tripleclick",this.onTripleClick.bind(t)),e.setDefaultHandler("quadclick",this.onQuadClick.bind(t)),e.setDefaultHandler("mousewheel",this.onMouseWheel.bind(t)),e.setDefaultHandler("touchmove",this.onTouchMove.bind(t)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(e){t[e]=this[e]},this),t.selectByLines=this.extendSelectionBy.bind(t,"getLineRange"),t.selectByWords=this.extendSelectionBy.bind(t,"getWordRange")}function o(t,e){if(t.start.row==t.end.row)var n=2*e.column-t.start.column-t.end.column;else n=t.start.row!=t.end.row-1||t.start.column||t.end.column?2*e.row-t.start.row-t.end.row:e.column-4;return n<0?{cursor:t.start,anchor:t.end}:{cursor:t.end,anchor:t.start}}(function(){this.onMouseDown=function(t){var e=t.inSelection(),n=t.getDocumentPosition();this.mousedownEvent=t;var i=this.editor,o=t.getButton();if(0!==o){var s=i.getSelectionRange().isEmpty();return i.$blockScrolling++,(s||1==o)&&i.selection.moveToPosition(n),i.$blockScrolling--,void(2==o&&(i.textInput.onContextMenu(t.domEvent),r.isMozilla||t.preventDefault()))}return this.mousedownEvent.time=Date.now(),!e||i.isFocused()||(i.focus(),!this.$focusTimout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(t),this.startSelect(n,t.domEvent._clicks>1),t.preventDefault()):(this.setState("focusWait"),void this.captureMouse(t))},this.startSelect=function(t,e){t=t||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(t):e||n.selection.moveToPosition(t),e||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var t,e=this.editor,n=e.renderer.screenToTextCoordinates(this.x,this.y);if(e.$blockScrolling++,this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(-1==r)t=this.$clickSelection.end;else if(1==r)t=this.$clickSelection.start;else{var i=o(this.$clickSelection,n);n=i.cursor,t=i.anchor}e.selection.setSelectionAnchor(t.row,t.column)}e.selection.selectToPosition(n),e.$blockScrolling--,e.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(t){var e,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[t](r.row,r.column);if(n.$blockScrolling++,this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),a=this.$clickSelection.comparePoint(i.end);if(-1==s&&a<=0)e=this.$clickSelection.end,i.end.row==r.row&&i.end.column==r.column||(r=i.start);else if(1==a&&s>=0)e=this.$clickSelection.start,i.start.row==r.row&&i.start.column==r.column||(r=i.end);else if(-1==s&&1==a)r=i.end,e=i.start;else{var l=o(this.$clickSelection,r);r=l.cursor,e=l.anchor}n.selection.setSelectionAnchor(e.row,e.column)}n.selection.selectToPosition(r),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var t,e,n=(t=this.mousedownEvent.y,e=this.y,Math.sqrt(Math.pow(this.x-this.mousedownEvent.x,2)+Math.pow(e-t,2))),r=Date.now();(n>0||r-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(t){var e=t.getDocumentPosition(),n=this.editor,r=n.session.getBracketRange(e);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(e.row,e.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(t){var e=t.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(e.row,e.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(e.row),this.select()},this.onQuadClick=function(t){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(t){if(!t.getAccelKey()){t.getShiftKey()&&t.wheelY&&!t.wheelX&&(t.wheelX=t.wheelY,t.wheelY=0);var e=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,r=t.domEvent.timeStamp,i=r-n.t,o=t.wheelX/i,s=t.wheelY/i;i<250&&(o=(o+n.vx)/2,s=(s+n.vy)/2);var a=Math.abs(o/s),l=!1;return a>=1&&e.renderer.isScrollableBy(t.wheelX*t.speed,0)&&(l=!0),a<=1&&e.renderer.isScrollableBy(0,t.wheelY*t.speed)&&(l=!0),l?n.allowed=r:r-n.allowed<250&&(Math.abs(o)<=1.1*Math.abs(n.vx)&&Math.abs(s)<=1.1*Math.abs(n.vy)?(l=!0,n.allowed=r):n.allowed=0),n.t=r,n.vx=o,n.vy=s,l?(e.renderer.scrollBy(t.wheelX*t.speed,t.wheelY*t.speed),t.stop()):void 0}},this.onTouchMove=function(t){this.editor._emit("mousewheel",t)}}).call(i.prototype),e.DefaultHandlers=i}),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(t,e,n){"use strict";t("./lib/oop");var r=t("./lib/dom");function i(t){this.isOpen=!1,this.$element=null,this.$parentNode=t}(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(t){r.setInnerText(this.getElement(),t)},this.setHtml=function(t){this.getElement().innerHTML=t},this.setPosition=function(t,e){this.getElement().style.left=t+"px",this.getElement().style.top=e+"px"},this.setClassName=function(t){r.addCssClass(this.getElement(),t)},this.show=function(t,e,n){null!=t&&this.setText(t),null!=e&&null!=n&&this.setPosition(e,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(i.prototype),e.Tooltip=i}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(t,e,n){"use strict";var r=t("../lib/dom"),i=t("../lib/oop"),o=t("../lib/event"),s=t("../tooltip").Tooltip;function a(t){s.call(this,t)}i.inherits(a,s),(function(){this.setPosition=function(t,e){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),o=this.getHeight();(t+=15)+i>n&&(t-=t+i-n),(e+=15)+o>r&&(e-=20+o),s.prototype.setPosition.call(this,t,e)}}).call(a.prototype),e.GutterHandler=function(t){var e,n,i,s=t.editor,l=s.renderer.$gutterLayer,u=new a(s.container);function c(){e&&(e=clearTimeout(e)),i&&(u.hide(),i=null,s._signal("hideGutterTooltip",u),s.removeEventListener("mousewheel",c))}function h(t){u.setPosition(t.x,t.y)}t.editor.setDefaultHandler("guttermousedown",function(e){if(s.isFocused()&&0==e.getButton()&&"foldWidgets"!=l.getRegion(e)){var n=e.getDocumentPosition().row,r=s.session.selection;if(e.getShiftKey())r.selectTo(n,0);else{if(2==e.domEvent.detail)return s.selectAll(),e.preventDefault();t.$clickSelection=s.selection.getLineRange(n)}return t.setState("selectByLines"),t.captureMouse(e),e.preventDefault()}}),t.editor.setDefaultHandler("guttermousemove",function(o){if(r.hasCssClass(o.domEvent.target||o.domEvent.srcElement,"ace_fold-widget"))return c();i&&t.$tooltipFollowsMouse&&h(o),n=o,e||(e=setTimeout(function(){e=null,n&&!t.isMousePressed?function(){var e=n.getDocumentPosition().row,r=l.$annotations[e];if(!r)return c();if(e==s.session.getLength()){var o=s.renderer.pixelToScreenCoordinates(0,n.y).row,a=n.$pos;if(o>s.session.documentToScreenRow(a.row,a.column))return c()}if(i!=r)if(i=r.text.join("
    "),u.setHtml(i),u.show(),s._signal("showGutterTooltip",u),s.on("mousewheel",c),t.$tooltipFollowsMouse)h(n);else{var d=n.domEvent.target.getBoundingClientRect(),f=u.getElement().style;f.left=d.right+"px",f.top=d.bottom+"px"}}():c()},50))}),o.addListener(s.renderer.$gutter,"mouseout",function(t){n=null,i&&!e&&(e=setTimeout(function(){e=null,c()},50))}),s.on("changeSession",c)}}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,e,n){"use strict";var r=t("../lib/event"),i=t("../lib/useragent"),o=e.MouseEvent=function(t,e){this.domEvent=t,this.editor=e,this.x=this.clientX=t.clientX,this.y=this.clientY=t.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var t=this.editor.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var e=this.getDocumentPosition();this.$inSelection=t.contains(e.row,e.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=i.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(t,e,n){"use strict";var r=t("../lib/dom"),i=t("../lib/event"),o=t("../lib/useragent"),s=200,a=200,l=5;function u(t){var e=t.editor,n=r.createElement("img");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(n.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;"),["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(e){t[e]=this[e]},this),e.addEventListener("mousedown",this.onMouseDown.bind(t));var u,h,d,f,p,m,g,v,y,_,b,w=e.container,C=0;function E(){var t=m;(function(t,n){var r=Date.now();_&&n&&t.row==n.row&&n&&t.column==n.column?c(b.x,b.y,h,d)>l?_=null:r-_>=a&&(e.renderer.scrollCursorIntoView(),_=null):(e.$blockScrolling+=1,e.moveCursorToPosition(t),e.$blockScrolling-=1,_=r,b={x:h,y:d})})(m=e.renderer.screenToTextCoordinates(h,d),t),function(t,n){var r=Date.now(),i=e.renderer.layerConfig.lineHeight,o=e.renderer.layerConfig.characterWidth,a=e.renderer.scroller.getBoundingClientRect(),l={x:{left:h-a.left,right:a.right-h},y:{top:d-a.top,bottom:a.bottom-d}},u=Math.min(l.x.left,l.x.right),c=Math.min(l.y.top,l.y.bottom),f={row:t.row,column:t.column};u/o<=2&&(f.column+=l.x.left=s&&e.renderer.scrollCursorIntoView(f):y=r:y=null}(m,t)}function A(){p=e.selection.toOrientedRange(),u=e.session.addMarker(p,"ace_selection",e.getSelectionStyle()),e.clearSelection(),e.isFocused()&&e.renderer.$cursorLayer.setBlinking(!1),clearInterval(f),E(),f=setInterval(E,20),C=0,i.addListener(document,"mousemove",k)}function x(){clearInterval(f),e.session.removeMarker(u),u=null,e.$blockScrolling+=1,e.selection.fromOrientedRange(p),e.$blockScrolling-=1,e.isFocused()&&!v&&e.renderer.$cursorLayer.setBlinking(!e.getReadOnly()),p=null,m=null,C=0,y=null,_=null,i.removeListener(document,"mousemove",k)}this.onDragStart=function(t){if(this.cancelDrag||!w.draggable){var r=this;return setTimeout(function(){r.startSelect(),r.captureMouse(t)},0),t.preventDefault()}p=e.getSelectionRange();var i=t.dataTransfer;i.effectAllowed=e.getReadOnly()?"copy":"copyMove",o.isOpera&&(e.container.appendChild(n),n.scrollTop=0),i.setDragImage&&i.setDragImage(n,0,0),o.isOpera&&e.container.removeChild(n),i.clearData(),i.setData("Text",e.session.getTextRange()),v=!0,this.setState("drag")},this.onDragEnd=function(t){w.draggable=!1,v=!1,this.setState(null),e.getReadOnly()||(g||"move"!=t.dataTransfer.dropEffect||e.session.remove(e.getSelectionRange()),e.renderer.$cursorLayer.setBlinking(!0)),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(t){if(!e.getReadOnly()&&F(t.dataTransfer))return h=t.clientX,d=t.clientY,u||A(),C++,t.dataTransfer.dropEffect=g=D(t),i.preventDefault(t)},this.onDragOver=function(t){if(!e.getReadOnly()&&F(t.dataTransfer))return h=t.clientX,d=t.clientY,u||(A(),C++),null!==S&&(S=null),t.dataTransfer.dropEffect=g=D(t),i.preventDefault(t)},this.onDragLeave=function(t){if(--C<=0&&u)return x(),g=null,i.preventDefault(t)},this.onDrop=function(t){if(m){var n=t.dataTransfer;if(v)switch(g){case"move":p=p.contains(m.row,m.column)?{start:m,end:m}:e.moveText(p,m);break;case"copy":p=e.moveText(p,m,!0)}else{var r=n.getData("Text");p={start:m,end:e.session.insert(m,r)},e.focus(),g=null}return x(),i.preventDefault(t)}},i.addListener(w,"dragstart",this.onDragStart.bind(t)),i.addListener(w,"dragend",this.onDragEnd.bind(t)),i.addListener(w,"dragenter",this.onDragEnter.bind(t)),i.addListener(w,"dragover",this.onDragOver.bind(t)),i.addListener(w,"dragleave",this.onDragLeave.bind(t)),i.addListener(w,"drop",this.onDrop.bind(t));var S=null;function k(){null==S&&(S=setTimeout(function(){null!=S&&u&&x()},20))}function F(t){var e=t.types;return!e||Array.prototype.some.call(e,function(t){return"text/plain"==t||"Text"==t})}function D(t){var e=["copy","copymove","all","uninitialized"],n=o.isMac?t.altKey:t.ctrlKey,r="uninitialized";try{r=t.dataTransfer.effectAllowed.toLowerCase()}catch(t){}var i="none";return n&&e.indexOf(r)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?i="move":e.indexOf(r)>=0&&(i="copy"),i}}function c(t,e,n,r){return Math.sqrt(Math.pow(n-t,2)+Math.pow(r-e,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(t){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var t=this.editor;t.container.draggable=!0,t.renderer.$cursorLayer.setBlinking(!1),t.setStyle("ace_dragging"),t.renderer.setCursorStyle(o.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(t){var e=this.editor.container;o.isIE&&"dragReady"==this.state&&c(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&e.dragDrop(),"dragWait"===this.state&&c(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(t){if(this.$dragEnabled){this.mousedownEvent=t;var e=this.editor,n=t.inSelection(),r=t.getButton();if(1===(t.domEvent.detail||1)&&0===r&&n){if(t.editor.inMultiSelectMode&&(t.getAccelKey()||t.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=t.domEvent.target||t.domEvent.srcElement;"unselectable"in i&&(i.unselectable="on"),e.getDragDelay()?(o.isWebKit&&(this.cancelDrag=!0,e.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(t,this.onMouseDrag.bind(this)),t.defaultPrevented=!0}}}}).call(u.prototype),e.DragdropHandler=u}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(t,e,n){"use strict";var r=t("./dom");e.get=function(t,e){var n=new XMLHttpRequest;n.open("GET",t,!0),n.onreadystatechange=function(){4===n.readyState&&e(n.responseText)},n.send(null)},e.loadScript=function(t,e){var n=r.getDocumentHead(),i=document.createElement("script");i.src=t,n.appendChild(i),i.onload=i.onreadystatechange=function(t,n){!n&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,n||e())}},e.qualifyURL=function(t){var e=document.createElement("a");return e.href=t,e.href}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(t,e,n){"use strict";var r={},i=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(t,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[t]||[],r=this._defaultHandlers[t];if(n.length||r){"object"==typeof e&&e||(e={}),e.type||(e.type=t),e.stopPropagation||(e.stopPropagation=i),e.preventDefault||(e.preventDefault=o),n=n.slice();for(var s=0;s1&&(i=n[n.length-2]);var s=l[e+"Path"];return null==s?s=l.basePath:"/"==r&&(e=r=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+e+r+i+this.get("suffix")},e.setModuleUrl=function(t,e){return l.$moduleUrls[t]=e},e.$loading={},e.loadModule=function(n,r){var i,s;Array.isArray(n)&&(s=n[0],n=n[1]);try{i=t(n)}catch(l){}if(i&&!e.$loading[n])return r&&r(i);if(e.$loading[n]||(e.$loading[n]=[]),e.$loading[n].push(r),!(e.$loading[n].length>1)){var a=function(){t([n],function(t){e._emit("load.module",{name:n,module:t});var r=e.$loading[n];e.$loading[n]=null,r.forEach(function(e){e&&e(t)})})};if(!e.get("packaged"))return a();o.loadScript(e.moduleUrl(n,s),a)}},u(!0),e.init=u}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(t,e,n){"use strict";var r=t("../lib/event"),i=t("../lib/useragent"),o=t("./default_handlers").DefaultHandlers,s=t("./default_gutter_handler").GutterHandler,a=t("./mouse_event").MouseEvent,l=t("./dragdrop_handler").DragdropHandler,u=t("../config"),c=function(t){var e=this;this.editor=t,new o(this),new s(this),new l(this);var n=function(e){(!document.hasFocus||!document.hasFocus()||!t.isFocused()&&document.activeElement==(t.textInput&&t.textInput.getElement()))&&window.focus(),t.focus()},a=t.renderer.getMouseEventTarget();r.addListener(a,"click",this.onMouseEvent.bind(this,"click")),r.addListener(a,"mousemove",this.onMouseMove.bind(this,"mousemove")),r.addMultiMouseDownListener([a,t.renderer.scrollBarV&&t.renderer.scrollBarV.inner,t.renderer.scrollBarH&&t.renderer.scrollBarH.inner,t.textInput&&t.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),r.addMouseWheelListener(t.container,this.onMouseWheel.bind(this,"mousewheel")),r.addTouchMoveListener(t.container,this.onTouchMove.bind(this,"touchmove"));var u=t.renderer.$gutter;r.addListener(u,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),r.addListener(u,"click",this.onMouseEvent.bind(this,"gutterclick")),r.addListener(u,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),r.addListener(u,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),r.addListener(a,"mousedown",n),r.addListener(u,"mousedown",n),i.isIE&&t.renderer.scrollBarV&&(r.addListener(t.renderer.scrollBarV.element,"mousedown",n),r.addListener(t.renderer.scrollBarH.element,"mousedown",n)),t.on("mousemove",function(n){if(!e.state&&!e.$dragDelay&&e.$dragEnabled){var r=t.renderer.screenToTextCoordinates(n.x,n.y),i=t.session.selection.getRange(),o=t.renderer;!i.isEmpty()&&i.insideStart(r.row,r.column)?o.setCursorStyle("default"):o.setCursorStyle("")}})};(function(){this.onMouseEvent=function(t,e){this.editor._emit(t,new a(e,this.editor))},this.onMouseMove=function(t,e){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(t,new a(e,this.editor))},this.onMouseWheel=function(t,e){var n=new a(e,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=e.wheelX,n.wheelY=e.wheelY,this.editor._emit(t,n)},this.onTouchMove=function(t,e){var n=new a(e,this.editor);n.speed=1,n.wheelX=e.wheelX,n.wheelY=e.wheelY,this.editor._emit(t,n)},this.setState=function(t){this.state=t},this.captureMouse=function(t,e){this.x=t.x,this.y=t.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var o=this,s=function(t){if(t){if(i.isWebKit&&!t.which&&o.releaseMouse)return o.releaseMouse();o.x=t.clientX,o.y=t.clientY,e&&e(t),o.mouseEvent=new a(t,o.editor),o.$mouseMoved=!0}},l=function(t){clearInterval(c),u(),o[o.state+"End"]&&o[o.state+"End"](t),o.state="",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,t&&o.onMouseEvent("mouseup",t)},u=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(i.isOldIE&&"dblclick"==t.domEvent.type)return setTimeout(function(){l(t)});o.$onCaptureMouseMove=s,o.releaseMouse=r.capture(this.editor.container,s,l);var c=setInterval(u,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var t=(function(e){e&&e.domEvent&&"contextmenu"!=e.domEvent.type||(this.editor.off("nativecontextmenu",t),e&&e.domEvent&&r.stopEvent(e.domEvent))}).bind(this);setTimeout(t,10),this.editor.on("nativecontextmenu",t)}}).call(c.prototype),u.defineOptions(c.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:i.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),e.MouseHandler=c}),ace.define("ace/mouse/fold_handler",["require","exports","module"],function(t,e,n){"use strict";e.FoldHandler=function(t){t.on("click",function(e){var n=e.getDocumentPosition(),r=t.session,i=r.getFoldAt(n.row,n.column,1);i&&(e.getAccelKey()?r.removeFold(i):r.expandFold(i),e.stop())}),t.on("gutterclick",function(e){if("foldWidgets"==t.renderer.$gutterLayer.getRegion(e)){var n=e.getDocumentPosition().row,r=t.session;r.foldWidgets&&r.foldWidgets[n]&&t.session.onFoldWidgetClick(n,e),t.isFocused()||t.focus(),e.stop()}}),t.on("gutterdblclick",function(e){if("foldWidgets"==t.renderer.$gutterLayer.getRegion(e)){var n=e.getDocumentPosition().row,r=t.session,i=r.getParentFoldRangeData(n,!0),o=i.range||i.firstRange;if(o){var s=r.getFoldAt(n=o.start.row,r.getLine(n).length,1);s?r.removeFold(s):(r.addFold("...",o),t.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}e.stop()}})}}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(t,e,n){"use strict";var r=t("../lib/keys"),i=t("../lib/event"),o=function(t){this.$editor=t,this.$data={editor:t},this.$handlers=[],this.setDefaultHandler(t.commands)};(function(){this.setDefaultHandler=function(t){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=t,this.addKeyboardHandler(t,0)},this.setKeyboardHandler=function(t){var e=this.$handlers;if(e[e.length-1]!=t){for(;e[e.length-1]&&e[e.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(e[e.length-1]);this.addKeyboardHandler(t,1)}},this.addKeyboardHandler=function(t,e){if(t){"function"!=typeof t||t.handleKeyboard||(t.handleKeyboard=t);var n=this.$handlers.indexOf(t);-1!=n&&this.$handlers.splice(n,1),null==e?this.$handlers.push(t):this.$handlers.splice(e,0,t),-1==n&&t.attach&&t.attach(this.$editor)}},this.removeKeyboardHandler=function(t){var e=this.$handlers.indexOf(t);return-1!=e&&(this.$handlers.splice(e,1),t.detach&&t.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var t=this.$data,e=t.editor;return this.$handlers.map(function(n){return n.getStatusText&&n.getStatusText(e,t)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(t,e,n,r){for(var o,s=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&!((o=this.$handlers[l].handleKeyboard(this.$data,t,e,n,r))&&o.command&&((s="null"==o.command||a.exec(o.command,this.$editor,o.args,r))&&r&&-1!=t&&1!=o.passEvent&&1!=o.command.passEvent&&i.stopEvent(r),s)););return s||-1!=t||(o={command:"insertstring"},s=a.exec("insertstring",this.$editor,e)),s&&this.$editor._signal&&this.$editor._signal("keyboardActivity",o),s},this.onCommandKey=function(t,e,n){var i=r.keyCodeToString(n);this.$callKeyboardHandlers(e,i,n,t)},this.onTextInput=function(t){this.$callKeyboardHandlers(-1,t)}}).call(o.prototype),e.KeyBinding=o}),ace.define("ace/lib/bidiutil",["require","exports","module"],function(t,e,n){"use strict";var r=0,i=0,o=!1,s=!1,a=!1,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],c=1,h=0,d=1,f=2,p=3,m=4,g=5,v=6,y=7,_=8,b=9,w=10,C=11,E=12,A=13,x=14,S=15,k=16,F=17,D=18,O=[D,D,D,D,D,D,D,D,D,v,g,v,_,g,D,D,D,D,D,D,D,D,D,D,D,D,D,D,g,g,g,v,_,m,m,C,C,C,m,m,m,m,m,w,b,w,b,b,f,f,f,f,f,f,f,f,f,f,b,m,m,m,m,m,m,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,m,m,m,m,m,m,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,m,m,m,m,D,D,D,D,D,D,g,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,b,m,C,C,C,C,m,m,m,m,h,m,m,D,m,m,C,C,f,f,m,h,m,m,m,f,h,m,m,m,m,m],P=[_,_,_,_,_,_,_,_,_,_,_,D,D,D,h,d,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,_,g,A,x,S,k,F,b,C,C,C,C,C,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,b,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,_];function R(t,e,n){if(!(i=t){for(o=d+1;o=t;)o++;for(a=d,l=o-1;a=e.length||(l=n[i-1])!=f&&l!=p||(u=e[i+1])!=f&&u!=p?m:(o&&(u=p),u==l?u:m);case w:return(l=i>0?n[i-1]:g)==f&&i+10&&n[i-1]==f)return f;if(o)return m;for(O=i+1,c=e.length;O=1425&&R<=2303||64286==R)&&(l==d||l==y))return d}return i<1||(l=e[i-1])==g?m:n[i-1];case g:return o=!1,s=!0,r;case v:return a=!0,m;case A:case x:case k:case F:case S:o=!1;case D:return m}}function I(t){var e=t.charCodeAt(0),n=e>>8;return 0==n?e>191?h:O[e]:5==n?/[\u0591-\u05f4]/.test(t)?d:h:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(t)?E:/[\u0660-\u0669\u066b-\u066c]/.test(t)?p:1642==e?C:/[\u06f0-\u06f9]/.test(t)?f:y:32==n&&e<=8287?P[255&e]:254==n&&e>=65136?y:m}e.L=h,e.R=d,e.EN=f,e.ON_R=3,e.AN=4,e.R_H=5,e.B=6,e.DOT="\xb7",e.doBidiReorder=function(t,n,h){if(t.length<2)return{};var f=t.split(""),b=new Array(f.length),w=new Array(f.length),C=[];r=h?c:0,function(t,e,n,c){var h=r?u:l,d=null,f=null,p=null,m=0,y=null,b=-1,w=null,C=null,E=[];if(!c)for(w=0,c=[];w0)if(16==y){for(w=b;w-1){for(w=b;w=0&&c[A]==_;A--)e[A]=r}}(f,C,f.length,n);for(var E=0;Ey&&n[E]0&&"\u0644"===f[E-1]&&/\u0622|\u0623|\u0625|\u0627/.test(f[E])&&(C[E-1]=C[E]=e.R_H,E++);for(f[f.length-1]===e.DOT&&(C[f.length-1]=e.B),E=0;E=0&&(t=this.session.$docRowCache[n])}return t},this.getSplitIndex=function(){var t=0,e=this.session.$screenRowCache;if(e.length)for(var n,r=this.session.$getRowCacheIndex(e,this.currentRow);this.currentRow-t>0&&(n=this.session.$getRowCacheIndex(e,this.currentRow-t-1))===r;)r=n,t++;return t},this.updateRowLine=function(t,e){if(void 0===t&&(t=this.getDocumentRow()),this.wrapIndent=0,this.isLastRow=t===this.session.getLength()-1,this.line=this.session.getLine(t),this.session.$useWrapMode){var n=this.session.$wrapData[t];n&&(void 0===e&&(e=this.getSplitIndex()),e>0&&n.length?(this.wrapIndent=n.indent,this.line=e0?t-1:0,this.bidiMap),n=this.bidiMap.bidiLevels,i=0;0===t&&n[e]%2!=0&&e++;for(var o=0;o=u&&in+s/2;){if(n+=s,i===o.length-1){s=0;break}s=this.charWidths[o[++i]]}return i>0&&o[i-1]%2!=0&&o[i]%2==0?(t0&&o[i-1]%2==0&&o[i]%2!=0?e=1+(t>n?this.bidiMap.logicalFromVisual[i]:this.bidiMap.logicalFromVisual[i-1]):this.isRtlDir&&i===o.length-1&&0===s&&o[i-1]%2==0||!this.isRtlDir&&0===i&&o[i]%2!=0?e=1+this.bidiMap.logicalFromVisual[i]:(i>0&&o[i-1]%2!=0&&0!==s&&i--,e=this.bidiMap.logicalFromVisual[i]),e+this.wrapIndent}}).call(a.prototype),e.BidiHandler=a}),ace.define("ace/range",["require","exports","module"],function(t,e,n){"use strict";var r=function(t,e,n,r){this.start={row:t,column:e},this.end={row:n,column:r}};(function(){this.isEqual=function(t){return this.start.row===t.start.row&&this.end.row===t.end.row&&this.start.column===t.start.column&&this.end.column===t.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(t,e){return 0==this.compare(t,e)},this.compareRange=function(t){var e,n=t.end,r=t.start;return 1==(e=this.compare(n.row,n.column))?1==(e=this.compare(r.row,r.column))?2:0==e?1:0:-1==e?-2:-1==(e=this.compare(r.row,r.column))?-1:1==e?42:0},this.comparePoint=function(t){return this.compare(t.row,t.column)},this.containsRange=function(t){return 0==this.comparePoint(t.start)&&0==this.comparePoint(t.end)},this.intersects=function(t){var e=this.compareRange(t);return-1==e||0==e||1==e},this.isEnd=function(t,e){return this.end.row==t&&this.end.column==e},this.isStart=function(t,e){return this.start.row==t&&this.start.column==e},this.setStart=function(t,e){"object"==typeof t?(this.start.column=t.column,this.start.row=t.row):(this.start.row=t,this.start.column=e)},this.setEnd=function(t,e){"object"==typeof t?(this.end.column=t.column,this.end.row=t.row):(this.end.row=t,this.end.column=e)},this.inside=function(t,e){return 0==this.compare(t,e)&&!this.isEnd(t,e)&&!this.isStart(t,e)},this.insideStart=function(t,e){return 0==this.compare(t,e)&&!this.isEnd(t,e)},this.insideEnd=function(t,e){return 0==this.compare(t,e)&&!this.isStart(t,e)},this.compare=function(t,e){return this.isMultiLine()||t!==this.start.row?tthis.end.row?1:this.start.row===t?e>=this.start.column?0:-1:this.end.row===t?e<=this.end.column?0:1:0:ethis.end.column?1:0},this.compareStart=function(t,e){return this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},this.compareEnd=function(t,e){return this.end.row==t&&this.end.column==e?1:this.compare(t,e)},this.compareInside=function(t,e){return this.end.row==t&&this.end.column==e?1:this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},this.clipRows=function(t,e){if(this.end.row>e)var n={row:e+1,column:0};else this.end.rowe)var i={row:e+1,column:0};else this.start.rowe.row||t.row==e.row&&t.column>e.column},this.getRange=function(){var t=this.anchor,e=this.lead;return this.isEmpty()?s.fromPoints(e,e):this.isBackwards()?s.fromPoints(e,t):s.fromPoints(t,e)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var t=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(t,this.doc.getLine(t).length)},this.setRange=this.setSelectionRange=function(t,e){e?(this.setSelectionAnchor(t.end.row,t.end.column),this.selectTo(t.start.row,t.start.column)):(this.setSelectionAnchor(t.start.row,t.start.column),this.selectTo(t.end.row,t.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(t){var e=this.lead;this.$isEmpty&&this.setSelectionAnchor(e.row,e.column),t.call(this)},this.selectTo=function(t,e){this.$moveSelection(function(){this.moveCursorTo(t,e)})},this.selectToPosition=function(t){this.$moveSelection(function(){this.moveCursorToPosition(t)})},this.moveTo=function(t,e){this.clearSelection(),this.moveCursorTo(t,e)},this.moveToPosition=function(t){this.clearSelection(),this.moveCursorToPosition(t)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(t,e){if(void 0===e){var n=t||this.lead;t=n.row,e=n.column}return this.session.getWordRange(t,e)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var t=this.getCursor(),e=this.session.getAWordRange(t.row,t.column);this.setSelectionRange(e)},this.getLineRange=function(t,e){var n,r="number"==typeof t?t:this.lead.row,i=this.session.getFoldLine(r);return i?(r=i.start.row,n=i.end.row):n=r,!0===e?new s(r,0,n,this.session.getLine(n).length):new s(r,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(t,e,n){var r=t.column,i=t.column+e;return n<0&&(r=t.column-e,i=t.column),this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(r,i).split(" ").length-1==e},this.moveCursorLeft=function(){var t,e=this.lead.getPosition();if(t=this.session.getFoldAt(e.row,e.column,-1))this.moveCursorTo(t.start.row,t.start.column);else if(0===e.column)e.row>0&&this.moveCursorTo(e.row-1,this.doc.getLine(e.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(e,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var t,e=this.lead.getPosition();if(t=this.session.getFoldAt(e.row,e.column,1))this.moveCursorTo(t.end.row,t.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(e.column=r)}}this.moveCursorTo(e.row,e.column)},this.moveCursorFileEnd=function(){var t=this.doc.getLength()-1,e=this.doc.getLine(t).length;this.moveCursorTo(t,e)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var t=this.lead.row,e=this.lead.column,n=this.doc.getLine(t),r=n.substring(e);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(t,e,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(r)&&(e+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(e)),e>=n.length)return this.moveCursorTo(t,n.length),this.moveCursorRight(),void(t0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(e,n)}},this.$shortWordEndIndex=function(t){var e,n=0,r=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(t))n=this.session.tokenRe.lastIndex;else{for(;(e=t[n])&&r.test(e);)n++;if(n<1)for(i.lastIndex=0;(e=t[n])&&!i.test(e);)if(i.lastIndex=0,n++,r.test(e)){if(n>2){n--;break}for(;(e=t[n])&&r.test(e);)n++;if(n>2)break}}return i.lastIndex=0,n},this.moveCursorShortWordRight=function(){var t=this.lead.row,e=this.lead.column,n=this.doc.getLine(t),r=n.substring(e),i=this.session.getFoldAt(t,e,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(e==n.length){var o=this.doc.getLength();do{r=this.doc.getLine(++t)}while(t0&&/^\s*$/.test(r));n=r.length,/\s+$/.test(r)||(r="")}var o=i.stringReverse(r),s=this.$shortWordEndIndex(o);return this.moveCursorTo(e,n-s)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(t,e){var n,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===e&&(0!==t&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column);var i=this.session.screenToDocumentPosition(r.row+t,r.column,n);0!==t&&0===e&&i.row===this.lead.row&&i.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[i.row]&&(i.row>0||t>0)&&i.row++,this.moveCursorTo(i.row,i.column+e,0===e)},this.moveCursorToPosition=function(t){this.moveCursorTo(t.row,t.column)},this.moveCursorTo=function(t,e,n){var r=this.session.getFoldAt(t,e,1);r&&(t=r.start.row,e=r.start.column),this.$keepDesiredColumnOnChange=!0;var i=this.session.getLine(t);/[\uDC00-\uDFFF]/.test(i.charAt(e))&&i.charAt(e-1)&&(this.lead.row==t&&this.lead.column==e+1?e-=1:e+=1),this.lead.setPosition(t,e),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(t,e,n){var r=this.session.screenToDocumentPosition(t,e);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(t){this.setSelectionRange(t,t.cursor==t.start),this.$desiredColumn=t.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(t){var e=this.getRange();return t?(t.start.column=e.start.column,t.start.row=e.start.row,t.end.column=e.end.column,t.end.row=e.end.row):t=e,t.cursor=this.isBackwards()?t.start:t.end,t.desiredColumn=this.$desiredColumn,t},this.getRangeOfMovements=function(t){var e=this.getCursor();try{t(this);var n=this.getCursor();return s.fromPoints(e,n)}catch(r){return s.fromPoints(e,e)}finally{this.moveCursorToPosition(e)}},this.toJSON=function(){if(this.rangeCount)var t=this.ranges.map(function(t){var e=t.clone();return e.isBackwards=t.cursor==t.start,e});else(t=this.getRange()).isBackwards=this.isBackwards();return t},this.fromJSON=function(t){if(null==t.start){if(this.rangeList){this.toSingleRange(t[0]);for(var e=t.length;e--;){var n=s.fromPoints(t[e].start,t[e].end);t[e].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}t=t[0]}this.rangeList&&this.toSingleRange(t),this.setSelectionRange(t,t.isBackwards)},this.isEqual=function(t){if((t.length||this.rangeCount)&&t.length!=this.rangeCount)return!1;if(!t.length||!this.ranges)return this.getRange().isEqual(t);for(var e=this.ranges.length;e--;)if(!this.ranges[e].isEqual(t[e]))return!1;return!0}}).call(a.prototype),e.Selection=a}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(t,e,n){"use strict";var r=t("./config"),i=2e3,o=function(t){for(var e in this.states=t,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[e],r=[],i=0,o=this.matchMappings[e]={defaultToken:"text"},s="g",a=[],l=0;l1?this.$applyToken:u.token),h>1&&(/\\\d/.test(u.regex)?c=u.regex.replace(/\\([0-9]+)/g,function(t,e){return"\\"+(parseInt(e,10)+i+1)}):(h=1,c=this.removeCapturingGroups(u.regex)),u.splitRegex||"string"==typeof u.token||a.push(u)),o[i]=l,i+=h,r.push(c),u.onMatch||(u.onMatch=null)}}r.length||(o[0]=0,r.push("$")),a.forEach(function(t){t.splitRegex=this.createSplitterRegexp(t.regex,s)},this),this.regExps[e]=new RegExp("("+r.join(")|(")+")|($)",s)}};(function(){this.$setMaxTokenCount=function(t){i=0|t},this.$applyToken=function(t){var e=this.splitRegex.exec(t).slice(1),n=this.token.apply(this,e);if("string"==typeof n)return[{type:n,value:t}];for(var r=[],i=0,o=n.length;ic){var v=t.substring(c,g-m.length);d.type==f?d.value+=v:(d.type&&u.push(d),d={type:f,value:v})}for(var y=0;yi){for(h>2*t.length&&this.reportError("infinite loop with in ace tokenizer",{startState:e,line:t});c1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:u,state:n.length?n:r}},this.reportError=r.reportError}).call(o.prototype),e.Tokenizer=o}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(t,e,n){"use strict";var r=t("../lib/lang"),i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(t,e){if(e)for(var n in t){for(var r=t[n],i=0;i=this.$rowTokens.length;){if(this.$row+=1,t||(t=this.$session.getLength()),this.$row>=t)return this.$row=t-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var t=this.$rowTokens,e=this.$tokenIndex,n=t[e].start;if(void 0!==n)return n;for(n=0;e>0;)n+=t[e-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var t=this.$rowTokens[this.$tokenIndex],e=this.getCurrentTokenColumn();return new r(this.$row,e,this.$row,e+t.value.length)}}).call(i.prototype),e.TokenIterator=i}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(t,e,n){"use strict";var r,i=t("../../lib/oop"),o=t("../behaviour").Behaviour,s=t("../../token_iterator").TokenIterator,a=t("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],u=["text","paren.rparen","punctuation.operator","comment"],c={},h={'"':'"',"'":"'"},d=function(t){var e=-1;if(t.multiSelect&&(e=t.selection.index,c.rangeCount!=t.multiSelect.rangeCount&&(c={rangeCount:t.multiSelect.rangeCount})),c[e])return r=c[e];r=c[e]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},f=function(t,e,n,r){var i=t.end.row-t.start.row;return{text:n+e+r,selection:[0,t.start.column+1,i,t.end.column+(i?0:1)]}},p=function(t){this.add("braces","insertion",function(e,n,i,o,s){var l=i.getCursorPosition(),u=o.doc.getLine(l.row);if("{"==s){d(i);var c=i.getSelectionRange(),h=o.doc.getTextRange(c);if(""!==h&&"{"!==h&&i.getWrapBehavioursEnabled())return f(c,h,"{","}");if(p.isSaneInsertion(i,o))return/[\]\}\)]/.test(u[l.column])||i.inMultiSelectMode||t&&t.braces?(p.recordAutoInsert(i,o,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(i,o,"{"),{text:"{",selection:[1,1]})}else if("}"==s){if(d(i),"}"==u.substring(l.column,l.column+1)&&null!==o.$findOpeningBracket("}",{column:l.column+1,row:l.row})&&p.isAutoInsertedClosing(l,u,s))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==s||"\r\n"==s){d(i);var m="";if(p.isMaybeInsertedClosing(l,u)&&(m=a.stringRepeat("}",r.maybeInsertedBrackets),p.clearMaybeInsertedClosing()),"}"===u.substring(l.column,l.column+1)){var g=o.findMatchingBracket({row:l.row,column:l.column+1},"}");if(!g)return null;var v=this.$getIndent(o.getLine(g.row))}else{if(!m)return void p.clearMaybeInsertedClosing();v=this.$getIndent(u)}var y=v+o.getTabString();return{text:"\n"+y+"\n"+v+m,selection:[1,y.length,1,y.length]}}p.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(t,e,n,i,o){var s=i.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==s){if(d(n),"}"==i.doc.getLine(o.start.row).substring(o.end.column,o.end.column+1))return o.end.column++,o;r.maybeInsertedBrackets--}}),this.add("parens","insertion",function(t,e,n,r,i){if("("==i){d(n);var o=n.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&n.getWrapBehavioursEnabled())return f(o,s,"(",")");if(p.isSaneInsertion(n,r))return p.recordAutoInsert(n,r,")"),{text:"()",selection:[1,1]}}else if(")"==i){d(n);var a=n.getCursorPosition(),l=r.doc.getLine(a.row);if(")"==l.substring(a.column,a.column+1)&&null!==r.$findOpeningBracket(")",{column:a.column+1,row:a.row})&&p.isAutoInsertedClosing(a,l,i))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(t,e,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"("==o&&(d(n),")"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i}),this.add("brackets","insertion",function(t,e,n,r,i){if("["==i){d(n);var o=n.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&n.getWrapBehavioursEnabled())return f(o,s,"[","]");if(p.isSaneInsertion(n,r))return p.recordAutoInsert(n,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){d(n);var a=n.getCursorPosition(),l=r.doc.getLine(a.row);if("]"==l.substring(a.column,a.column+1)&&null!==r.$findOpeningBracket("]",{column:a.column+1,row:a.row})&&p.isAutoInsertedClosing(a,l,i))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(t,e,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"["==o&&(d(n),"]"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i}),this.add("string_dquotes","insertion",function(t,e,n,r,i){var o=r.$mode.$quotes||h;if(1==i.length&&o[i]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(i))return;d(n);var s=i,a=n.getSelectionRange(),l=r.doc.getTextRange(a);if(!(""===l||1==l.length&&o[l])&&n.getWrapBehavioursEnabled())return f(a,l,s,s);if(!l){var u=n.getCursorPosition(),c=r.doc.getLine(u.row),p=c.substring(u.column-1,u.column),m=c.substring(u.column,u.column+1),g=r.getTokenAt(u.row,u.column),v=r.getTokenAt(u.row,u.column+1);if("\\"==p&&g&&/escape/.test(g.type))return null;var y,_=g&&/string|escape/.test(g.type),b=!v||/string|escape/.test(v.type);if(m==s)(y=_!==b)&&/string\.end/.test(v.type)&&(y=!1);else{if(_&&!b)return null;if(_&&b)return null;var w=r.$mode.tokenRe;w.lastIndex=0;var C=w.test(p);w.lastIndex=0;var E=w.test(p);if(C||E)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;y=!0}return{text:y?s+s:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(t,e,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&('"'==o||"'"==o)&&(d(n),r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)==o))return i.end.column++,i})};p.isSaneInsertion=function(t,e){var n=t.getCursorPosition(),r=new s(e,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",l)){var i=new s(e,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",l))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",u)},p.$matchTokenType=function(t,e){return e.indexOf(t.type||t)>-1},p.recordAutoInsert=function(t,e,n){var i=t.getCursorPosition(),o=e.doc.getLine(i.row);this.isAutoInsertedClosing(i,o,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=i.row,r.autoInsertedLineEnd=n+o.substr(i.column),r.autoInsertedBrackets++},p.recordMaybeInsert=function(t,e,n){var i=t.getCursorPosition(),o=e.doc.getLine(i.row);this.isMaybeInsertedClosing(i,o)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=i.row,r.maybeInsertedLineStart=o.substr(0,i.column)+n,r.maybeInsertedLineEnd=o.substr(i.column),r.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(t,e,n){return r.autoInsertedBrackets>0&&t.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&e.substr(t.column)===r.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(t,e){return r.maybeInsertedBrackets>0&&t.row===r.maybeInsertedRow&&e.substr(t.column)===r.maybeInsertedLineEnd&&e.substr(0,t.column)==r.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},i.inherits(p,o),e.CstyleBehaviour=p}),ace.define("ace/unicode",["require","exports","module"],function(t,e,n){"use strict";e.packages={},function(t){var n=/\w{4}/g;for(var r in t)e.packages[r]=t[r].replace(n,"\\u$&")}({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})}),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(t,e,n){"use strict";var r=t("../tokenizer").Tokenizer,i=t("./text_highlight_rules").TextHighlightRules,o=t("./behaviour/cstyle").CstyleBehaviour,s=t("../unicode"),a=t("../lib/lang"),l=t("../token_iterator").TokenIterator,u=t("../range").Range,c=function(){this.HighlightRules=i};(function(){this.$defaultBehaviour=new o,this.tokenRe=new RegExp("^["+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+s.packages.L+s.packages.Mn+s.packages.Mc+s.packages.Nd+s.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new r(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(t,e,n,r){var i=e.doc,o=!0,s=!0,l=1/0,u=e.getTabSize(),c=!1;if(this.lineCommentStart){Array.isArray(this.lineCommentStart)?(m=this.lineCommentStart.map(a.escapeRegExp).join("|"),f=this.lineCommentStart[0]):(m=a.escapeRegExp(this.lineCommentStart),f=this.lineCommentStart),m=new RegExp("^(\\s*)(?:"+m+") ?"),c=e.getUseSoftTabs(),y=function(t,e){var n=t.match(m);if(n){var r=n[1].length,o=n[0].length;d(t,r,o)||" "!=n[0][o-1]||o--,i.removeInLine(e,r,o)}};var h=f+" ",d=(v=function(t,e){o&&!/\S/.test(t)||(d(t,l,l)?i.insertInLine({row:e,column:l},h):i.insertInLine({row:e,column:l},f))},_=function(t,e){return m.test(t)},function(t,e,n){for(var r=0;e--&&" "==t.charAt(e);)r++;if(r%u!=0)return!1;for(r=0;" "==t.charAt(n++);)r++;return u>2?r%u!=u-1:r%u==0})}else{if(!this.blockComment)return!1;var f=this.blockComment.start,p=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+a.escapeRegExp(f)+")"),g=new RegExp("(?:"+a.escapeRegExp(p)+")\\s*$"),v=function(t,e){_(t,e)||o&&!/\S/.test(t)||(i.insertInLine({row:e,column:t.length},p),i.insertInLine({row:e,column:l},f))},y=function(t,e){var n;(n=t.match(g))&&i.removeInLine(e,t.length-n[0].length,t.length),(n=t.match(m))&&i.removeInLine(e,n[1].length,n[0].length)},_=function(t,n){if(m.test(t))return!0;for(var r=e.getTokens(n),i=0;it.length&&(w=t.length)}),l==1/0&&(l=w,o=!1,s=!1),c&&l%u!=0&&(l=Math.floor(l/u)*u),b(s?y:v)},this.toggleBlockComment=function(t,e,n,r){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var o,s,a=(m=new l(e,r.row,r.column)).getCurrentToken(),c=e.selection.toOrientedRange();if(a&&/comment/.test(a.type)){for(var h,d;a&&/comment/.test(a.type);){if(-1!=(g=a.value.indexOf(i.start))){var f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g;h=new u(f,p,f,p+i.start.length);break}a=m.stepBackward()}var m;for(a=(m=new l(e,r.row,r.column)).getCurrentToken();a&&/comment/.test(a.type);){var g;if(-1!=(g=a.value.indexOf(i.end))){f=m.getCurrentTokenRow(),p=m.getCurrentTokenColumn()+g,d=new u(f,p,f,p+i.end.length);break}a=m.stepForward()}d&&e.remove(d),h&&(e.remove(h),o=h.start.row,s=-i.start.length)}else s=i.start.length,o=n.start.row,e.insert(n.end,i.end),e.insert(n.start,i.start);c.start.row==o&&(c.start.column+=s),c.end.row==o&&(c.end.column+=s),e.selection.fromOrientedRange(c)}},this.getNextLineIndent=function(t,e,n){return this.$getIndent(e)},this.checkOutdent=function(t,e,n){return!1},this.autoOutdent=function(t,e,n){},this.$getIndent=function(t){return t.match(/^\s*/)[0]},this.createWorker=function(t){return null},this.createModeDelegates=function(t){for(var e in this.$embeds=[],this.$modes={},t)t[e]&&(this.$embeds.push(e),this.$modes[e]=new t[e]);var n=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(e=0;ethis.row)){var n=function(e,n,r){var i="insert"==e.action,o=(i?1:-1)*(e.end.row-e.start.row),s=(i?1:-1)*(e.end.column-e.start.column),a=e.start,l=i?a:e.end;return t(n,a,r)?{row:n.row,column:n.column}:t(l,n,!r)?{row:n.row+o,column:n.column+(n.row==l.row?s:0)}:{row:a.row,column:a.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(t,e,n){var r;if(r=n?{row:t,column:e}:this.$clipPositionToDocument(t,e),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(t,e){var n={};return t>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):t<0?(n.row=0,n.column=0):(n.row=t,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,e))),e<0&&(n.column=0),n}}).call(o.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(t,e,n){"use strict";var r=t("./lib/oop"),i=t("./apply_delta").applyDelta,o=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,a=t("./anchor").Anchor,l=function(t){this.$lines=[""],0===t.length?this.$lines=[""]:Array.isArray(t)?this.insertMergedLines({row:0,column:0},t):this.insert({row:0,column:0},t)};(function(){r.implement(this,o),this.setValue=function(t){var e=this.getLength()-1;this.remove(new s(0,0,e,this.getLine(e).length)),this.insert({row:0,column:0},t)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(t,e){return new a(this,t,e)},this.$split=0==="aaa".split(/a/).length?function(t){return t.replace(/\r\n|\r/g,"\n").split("\n")}:function(t){return t.split(/\r\n|\r|\n/)},this.$detectNewLine=function(t){var e=t.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=e?e[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(t){this.$newLineMode!==t&&(this.$newLineMode=t,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(t){return"\r\n"==t||"\r"==t||"\n"==t},this.getLine=function(t){return this.$lines[t]||""},this.getLines=function(t,e){return this.$lines.slice(t,e+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(t){return this.getLinesForRange(t).join(this.getNewLineCharacter())},this.getLinesForRange=function(t){var e;if(t.start.row===t.end.row)e=[this.getLine(t.start.row).substring(t.start.column,t.end.column)];else{(e=this.getLines(t.start.row,t.end.row))[0]=(e[0]||"").substring(t.start.column);var n=e.length-1;t.end.row-t.start.row==n&&(e[n]=e[n].substring(0,t.end.column))}return e},this.insertLines=function(t,e){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(t,e)},this.removeLines=function(t,e){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(t,e)},this.insertNewLine=function(t){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(t,["",""])},this.insert=function(t,e){return this.getLength()<=1&&this.$detectNewLine(e),this.insertMergedLines(t,this.$split(e))},this.insertInLine=function(t,e){var n=this.clippedPos(t.row,t.column),r=this.pos(t.row,t.column+e.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[e]},!0),this.clonePos(r)},this.clippedPos=function(t,e){var n=this.getLength();void 0===t?t=n:t<0?t=0:t>=n&&(t=n-1,e=void 0);var r=this.getLine(t);return null==e&&(e=r.length),{row:t,column:e=Math.min(Math.max(e,0),r.length)}},this.clonePos=function(t){return{row:t.row,column:t.column}},this.pos=function(t,e){return{row:t,column:e}},this.$clipPosition=function(t){var e=this.getLength();return t.row>=e?(t.row=Math.max(0,e-1),t.column=this.getLine(e-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},this.insertFullLines=function(t,e){var n=0;(t=Math.min(Math.max(t,0),this.getLength()))0,r=e=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},this.replace=function(t,e){return t instanceof s||(t=s.fromPoints(t.start,t.end)),0===e.length&&t.isEmpty()?t.start:e==this.getTextRange(t)?t.end:(this.remove(t),e?this.insert(t.start,e):t.start)},this.applyDeltas=function(t){for(var e=0;e=0;e--)this.revertDelta(t[e])},this.applyDelta=function(t,e){var n="insert"==t.action;(n?t.lines.length<=1&&!t.lines[0]:!s.comparePoints(t.start,t.end))||(n&&t.lines.length>2e4&&this.$splitAndapplyLargeDelta(t,2e4),i(this.$lines,t,e),this._signal("change",t))},this.$splitAndapplyLargeDelta=function(t,e){for(var n=t.lines,r=n.length,i=t.start.row,o=t.start.column,s=0,a=0;;){var l=n.slice(s=a,a+=e-1);if(a>r){t.lines=l,t.start.row=i+s,t.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(i+s,o),end:this.pos(i+a,o=0),action:t.action,lines:l},!0)}},this.revertDelta=function(t){this.applyDelta({start:this.clonePos(t.start),end:this.clonePos(t.end),action:"insert"==t.action?"remove":"insert",lines:t.lines.slice()})},this.indexToPosition=function(t,e){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=e||0,o=n.length;i20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=e,-1==r&&(r=e),o<=r&&n.fireUpdateEvent(o,r)}}};(function(){r.implement(this,i),this.setTokenizer=function(t){this.tokenizer=t,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(t){this.doc=t,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(t,e){this._signal("update",{data:{first:t,last:e}})},this.start=function(t){this.currentLine=Math.min(t||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(t){var e=t.start.row,n=t.end.row-e;if(0===n)this.lines[e]=null;else if("remove"==t.action)this.lines.splice(e,n+1,null),this.states.splice(e,n+1,null);else{var r=Array(n+1);r.unshift(e,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(e,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(t){return this.lines[t]||this.$tokenizeRow(t)},this.getState=function(t){return this.currentLine==t&&this.$tokenizeRow(t),this.states[t]||"start"},this.$tokenizeRow=function(t){var e=this.doc.getLine(t),n=this.tokenizer.getLineTokens(e,this.states[t-1],t);return this.states[t]+""!=n.state+""?(this.states[t]=n.state,this.lines[t+1]=null,this.currentLine>t+1&&(this.currentLine=t+1)):this.currentLine==t&&(this.currentLine=t+1),this.lines[t]=n.tokens}}).call(o.prototype),e.BackgroundTokenizer=o}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(t,e,n){"use strict";var r=t("./lib/lang"),i=(t("./lib/oop"),t("./range").Range),o=function(t,e,n){this.setRegexp(t),this.clazz=e,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(t){this.regExp+""!=t+""&&(this.regExp=t,this.cache=[])},this.update=function(t,e,n,o){if(this.regExp)for(var s=o.lastRow,a=o.firstRow;a<=s;a++){var l=this.cache[a];null==l&&((l=r.getMatchOffsets(n.getLine(a),this.regExp)).length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map(function(t){return new i(a,t.offset,a,t.offset+t.length)}),this.cache[a]=l.length?l:"");for(var u=l.length;u--;)e.drawSingleLineMarker(t,l[u].toScreenRange(n),this.clazz,o)}}}).call(o.prototype),e.SearchHighlight=o}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(t,e,n){"use strict";var r=t("../range").Range;function i(t,e){this.foldData=t,Array.isArray(e)?this.folds=e:e=this.folds=[e];var n=e[e.length-1];this.range=new r(e[0].start.row,e[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(t){t.setFoldLine(this)},this)}(function(){this.shiftRow=function(t){this.start.row+=t,this.end.row+=t,this.folds.forEach(function(e){e.start.row+=t,e.end.row+=t})},this.addFold=function(t){if(t.sameRow){if(t.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(t),this.folds.sort(function(t,e){return-t.range.compareEnd(e.start.row,e.start.column)}),this.range.compareEnd(t.start.row,t.start.column)>0?(this.end.row=t.end.row,this.end.column=t.end.column):this.range.compareStart(t.end.row,t.end.column)<0&&(this.start.row=t.start.row,this.start.column=t.start.column)}else if(t.start.row==this.end.row)this.folds.push(t),this.end.row=t.end.row,this.end.column=t.end.column;else{if(t.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(t),this.start.row=t.start.row,this.start.column=t.start.column}t.foldLine=this},this.containsRow=function(t){return t>=this.start.row&&t<=this.end.row},this.walk=function(t,e,n){var r,i,o=0,s=this.folds,a=!0;null==e&&(e=this.end.row,n=this.end.column);for(var l=0;l0)){var l=r(t,s.start);return 0===a?e&&0!==l?-o-2:o:l>0||0===l&&!e?o:-o-1}}return-o-1},this.add=function(t){var e=!t.isEmpty(),n=this.pointIndex(t.start,e);n<0&&(n=-n-1);var r=this.pointIndex(t.end,e,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,t)},this.addList=function(t){for(var e=[],n=t.length;n--;)e.push.apply(e,this.add(t[n]));return e},this.substractPoint=function(t){var e=this.pointIndex(t);if(e>=0)return this.ranges.splice(e,1)},this.merge=function(){for(var t,e=[],n=this.ranges,i=(n=n.sort(function(t,e){return r(t.start,e.start)}))[0],o=1;o=0},this.containsPoint=function(t){return this.pointIndex(t)>=0},this.rangeAtPoint=function(t){var e=this.pointIndex(t);if(e>=0)return this.ranges[e]},this.clipRows=function(t,e){var n=this.ranges;if(n[0].start.row>e||n[n.length-1].start.rowr)break;if(u.start.row==r&&u.start.column>=e.column&&(u.start.column==e.column&&this.$insertRight||(u.start.column+=o,u.start.row+=i)),u.end.row==r&&u.end.column>=e.column){if(u.end.column==e.column&&this.$insertRight)continue;u.end.column==e.column&&o>0&&au.start.column&&u.end.column==s[a+1].start.column&&(u.end.column-=o),u.end.column+=o,u.end.row+=i}}if(0!=i&&a=t)return i;if(i.end.row>t)return null}return null},this.getNextFoldLine=function(t,e){var n=this.$foldData,r=0;for(e&&(r=n.indexOf(e)),-1==r&&(r=0);r=t)return i}return null},this.getFoldedRowCount=function(t,e){for(var n=this.$foldData,r=e-t+1,i=0;i=e){a=t?r-=e-a:r=0);break}s>=t&&(r-=a>=t?s-a:s-t+1)}return r},this.$addFoldLine=function(t){return this.$foldData.push(t),this.$foldData.sort(function(t,e){return t.start.row-e.start.row}),t},this.addFold=function(t,e){var n,r=this.$foldData,s=!1;t instanceof o?n=t:(n=new o(e,t)).collapseChildren=e.collapseChildren,this.$clipRangeToDocument(n.range);var a=n.start.row,l=n.start.column,u=n.end.row,c=n.end.column;if(!(a0&&(this.removeFolds(f),f.forEach(function(t){n.addSubFold(t)}));for(var p=0;p0&&this.foldAll(t.start.row+1,t.end.row,t.collapseChildren-1),t.subFolds=[]},this.expandFolds=function(t){t.forEach(function(t){this.expandFold(t)},this)},this.unfold=function(t,e){var n,i;if(null==t?(n=new r(0,0,this.getLength(),0),e=!0):n="number"==typeof t?new r(t,0,t,this.getLine(t).length):"row"in t?r.fromPoints(t,t):t,i=this.getFoldsInRangeList(n),e)this.removeFolds(i);else for(var o=i;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(i.length)return i},this.isRowFolded=function(t,e){return!!this.getFoldLine(t,e)},this.getRowFoldEnd=function(t,e){var n=this.getFoldLine(t,e);return n?n.end.row:t},this.getRowFoldStart=function(t,e){var n=this.getFoldLine(t,e);return n?n.start.row:t},this.getFoldDisplayLine=function(t,e,n,r,i){null==r&&(r=t.start.row),null==i&&(i=0),null==e&&(e=t.end.row),null==n&&(n=this.getLine(e).length);var o=this.doc,s="";return t.walk(function(t,e,n,a){if(!(ec)break}while(o&&l.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return u.end.row=i.getCurrentTokenRow(),u.end.column=i.getCurrentTokenColumn()+o.value.length-2,u}},this.foldAll=function(t,e,n){null==n&&(n=1e5);var r=this.foldWidgets;if(r){e=e||this.getLength();for(var i=t=t||0;i=t){i=o.end.row;try{var s=this.addFold("...",o);s&&(s.collapseChildren=n)}catch(a){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(t){if(!this.$foldStyles[t])throw new Error("invalid fold style: "+t+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=t){this.$foldStyle=t,"manual"==t&&this.unfold();var e=this.$foldMode;this.$setFolding(null),this.$setFolding(e)}},this.$setFolding=function(t){this.$foldMode!=t&&(this.$foldMode=t,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),t&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=t.getFoldWidget.bind(t,this,this.$foldStyle),this.getFoldWidgetRange=t.getFoldWidgetRange.bind(t,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)):this.foldWidgets=null)},this.getParentFoldRangeData=function(t,e){var n=this.foldWidgets;if(!n||e&&n[t])return{};for(var r,i=t-1;i>=0;){var o=n[i];if(null==o&&(o=n[i]=this.getFoldWidget(i)),"start"==o){var s=this.getFoldWidgetRange(i);if(r||(r=s),s&&s.end.row>=t)break}i--}return{range:-1!==i&&s,firstRange:r}},this.onFoldWidgetClick=function(t,e){if(!this.$toggleFoldWidget(t,{children:(e=e.domEvent).shiftKey,all:e.ctrlKey||e.metaKey,siblings:e.altKey})){var n=e.target||e.srcElement;n&&/ace_fold-widget/.test(n.className)&&(n.className+=" ace_invalid")}},this.$toggleFoldWidget=function(t,e){if(this.getFoldWidget){var n=this.getFoldWidget(t),r=this.getLine(t),i="end"===n?-1:1,o=this.getFoldAt(t,-1===i?0:r.length,i);if(o)return e.children||e.all?this.removeFold(o):this.expandFold(o),o;var s=this.getFoldWidgetRange(t,!0);if(s&&!s.isMultiLine()&&(o=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(o.range))return this.removeFold(o),o;if(e.siblings){var a=this.getParentFoldRangeData(t);if(a.range)var l=a.range.start.row+1,u=a.range.end.row;this.foldAll(l,u,e.all?1e4:0)}else e.children?(u=s?s.end.row:this.getLength(),this.foldAll(t+1,u,e.all?1e4:0)):s&&(e.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(t){var e=this.selection.getCursor().row;e=this.getRowFoldStart(e);var n=this.$toggleFoldWidget(e,{});if(!n){var r=this.getParentFoldRangeData(e,!0);if(n=r.range||r.firstRange){var i=this.getFoldAt(e=n.start.row,this.getLine(e).length,1);i?this.removeFold(i):this.addFold("...",n)}}},this.updateFoldWidgets=function(t){var e=t.start.row,n=t.end.row-e;if(0===n)this.foldWidgets[e]=null;else if("remove"==t.action)this.foldWidgets.splice(e,n+1,null);else{var r=Array(n+1);r.unshift(e,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(t){var e=t.data;e.first!=e.last&&this.foldWidgets.length>e.first&&this.foldWidgets.splice(e.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(t,e,n){"use strict";var r=t("../token_iterator").TokenIterator,i=t("../range").Range;e.BracketMatch=function(){this.findMatchingBracket=function(t,e){if(0==t.column)return null;var n=e||this.getLine(t.row).charAt(t.column-1);if(""==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],t):this.$findOpeningBracket(r[2],t):null},this.getBracketRange=function(t){var e,n=this.getLine(t.row),r=!0,o=n.charAt(t.column-1),s=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(s||(o=n.charAt(t.column),t={row:t.row,column:t.column+1},s=o&&o.match(/([\(\[\{])|([\)\]\}])/),r=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],t)))return null;e=i.fromPoints(t,a),r||(e.end.column++,e.start.column--),e.cursor=e.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],t)))return null;e=i.fromPoints(a,t),r||(e.start.column++,e.end.column--),e.cursor=e.start}return e},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(t,e,n){var i=this.$brackets[t],o=1,s=new r(this,e.row,e.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=e.column-s.getCurrentTokenColumn()-2,u=a.value;;){for(;l>=0;){var c=u.charAt(l);if(c==i){if(0==(o-=1))return{row:s.getCurrentTokenRow(),column:l+s.getCurrentTokenColumn()}}else c==t&&(o+=1);l-=1}do{a=s.stepBackward()}while(a&&!n.test(a.type));if(null==a)break;l=(u=a.value).length-1}return null}},this.$findClosingBracket=function(t,e,n){var i=this.$brackets[t],o=1,s=new r(this,e.row,e.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=e.column-s.getCurrentTokenColumn();;){for(var u=a.value,c=u.length;ln&&(this.$docRowCache.splice(n,e),this.$screenRowCache.splice(n,e))},this.$getRowCacheIndex=function(t,e){for(var n=0,r=t.length-1;n<=r;){var i=n+r>>1,o=t[i];if(e>o)n=i+1;else{if(!(e=e);o++);return(n=r[o])?(n.index=o,n.start=i-n.value.length,n):null},this.setUndoManager=function(t){if(this.$undoManager=t,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),t){var e=this;this.$syncInformUndoManager=function(){e.$informUndoManager.cancel(),e.$deltasFold.length&&(e.$deltas.push({group:"fold",deltas:e.$deltasFold}),e.$deltasFold=[]),e.$deltasDoc.length&&(e.$deltas.push({group:"doc",deltas:e.$deltasDoc}),e.$deltasDoc=[]),e.$deltas.length>0&&t.execute({action:"aceupdate",args:[e.$deltas,e],merge:e.mergeUndoDeltas}),e.mergeUndoDeltas=!1,e.$deltas=[]},this.$informUndoManager=i.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?i.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(t){this.setOption("useSoftTabs",t)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(t){this.setOption("tabSize",t)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(t){return this.$useSoftTabs&&t.column%this.$tabSize==0},this.setNavigateWithinSoftTabs=function(t){this.setOption("navigateWithinSoftTabs",t)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(t){this.setOption("overwrite",t)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(t,e){this.$decorations[t]||(this.$decorations[t]=""),this.$decorations[t]+=" "+e,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(t,e){this.$decorations[t]=(this.$decorations[t]||"").replace(" "+e,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(t){this.$breakpoints=[];for(var e=0;e0&&(r=!!n.charAt(e-1).match(this.tokenRe)),r||(r=!!n.charAt(e).match(this.tokenRe)),r)var i=this.tokenRe;else i=/^\s+$/.test(n.slice(e-1,e+1))?/\s/:this.nonTokenRe;var o=e;if(o>0){do{o--}while(o>=0&&n.charAt(o).match(i));o++}for(var s=e;st&&(t=e.screenWidth)}),this.lineWidgetWidth=t},this.$computeWidth=function(t){if(this.$modified||t){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var e=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,i=0,o=this.$foldData[i],s=o?o.start.row:1/0,a=e.length,l=0;ls){if((l=o.end.row+1)>=a)break;s=(o=this.$foldData[i++])?o.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(e[l])[0]),n[l]>r&&(r=n[l])}this.screenWidth=r}},this.getLine=function(t){return this.doc.getLine(t)},this.getLines=function(t,e){return this.doc.getLines(t,e)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(t){return this.doc.getTextRange(t||this.selection.getRange())},this.insert=function(t,e){return this.doc.insert(t,e)},this.remove=function(t){return this.doc.remove(t)},this.removeFullLines=function(t,e){return this.doc.removeFullLines(t,e)},this.undoChanges=function(t,e){if(t.length){this.$fromUndo=!0;for(var n=null,r=t.length-1;-1!=r;r--){var i=t[r];"doc"==i.group?(this.doc.revertDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!0,n)):i.deltas.forEach(function(t){this.addFolds(t.folds)},this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!e&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(t,e){if(t.length){this.$fromUndo=!0;for(var n=null,r=0;rt.end.column&&(o.start.column+=u),o.end.row==t.end.row&&o.end.column>t.end.column&&(o.end.column+=u)),l&&o.start.row>=t.end.row&&(o.start.row+=l,o.end.row+=l)),o.end=this.insert(o.start,r),i.length){var s=t.start,a=o.start,l=a.row-s.row,u=a.column-s.column;this.addFolds(i.map(function(t){return(t=t.clone()).start.row==s.row&&(t.start.column+=u),t.end.row==s.row&&(t.end.column+=u),t.start.row+=l,t.end.row+=l,t}))}return o},this.indentRows=function(t,e,n){n=n.replace(/\t/g,this.getTabString());for(var r=t;r<=e;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(t){for(var e=t.collapseRows(),n=new c(0,0,0,0),r=this.getTabSize(),i=e.start.row;i<=e.end.row;++i){var o=this.getLine(i);n.start.row=i,n.end.row=i;for(var s=0;s0){var i;if((i=this.getRowFoldEnd(e+n))>this.doc.getLength()-1)return 0;r=i-e}else t=this.$clipRowToDocument(t),r=(e=this.$clipRowToDocument(e))-t+1;var o=new c(t,0,e,Number.MAX_VALUE),s=this.getFoldsInRange(o).map(function(t){return(t=t.clone()).start.row+=r,t.end.row+=r,t}),a=0==n?this.doc.getLines(t,e):this.doc.removeFullLines(t,e);return this.doc.insertFullLines(t+r,a),s.length&&this.addFolds(s),r},this.moveLinesUp=function(t,e){return this.$moveLines(t,e,-1)},this.moveLinesDown=function(t,e){return this.$moveLines(t,e,1)},this.duplicateLines=function(t,e){return this.$moveLines(t,e,0)},this.$clipRowToDocument=function(t){return Math.max(0,Math.min(t,this.doc.getLength()-1))},this.$clipColumnToRow=function(t,e){return e<0?0:Math.min(this.doc.getLine(t).length,e)},this.$clipPositionToDocument=function(t,e){if(e=Math.max(0,e),t<0)t=0,e=0;else{var n=this.doc.getLength();t>=n?(t=n-1,e=this.doc.getLine(n-1).length):e=Math.min(this.doc.getLine(t).length,e)}return{row:t,column:e}},this.$clipRangeToDocument=function(t){t.start.row<0?(t.start.row=0,t.start.column=0):t.start.column=this.$clipColumnToRow(t.start.row,t.start.column);var e=this.doc.getLength()-1;return t.end.row>e?(t.end.row=e,t.end.column=this.doc.getLine(e).length):t.end.column=this.$clipColumnToRow(t.end.row,t.end.column),t},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(t){if(t!=this.$useWrapMode){if(this.$useWrapMode=t,this.$modified=!0,this.$resetRowCache(0),t){var e=this.getLength();this.$wrapData=Array(e),this.$updateWrapData(0,e-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(t,e){this.$wrapLimitRange.min===t&&this.$wrapLimitRange.max===e||(this.$wrapLimitRange={min:t,max:e},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(t,e){var n=this.$wrapLimitRange;n.max<0&&(n={min:e,max:e});var r=this.$constrainWrapLimit(t,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(t,e,n){return e&&(t=Math.max(e,t)),n&&(t=Math.min(n,t)),t},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(t){this.setWrapLimitRange(t,t)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(t){var e=this.$useWrapMode,n=t.action,r=t.start,i=t.end,o=r.row,s=i.row,a=s-o,l=null;if(this.$updating=!0,0!=a)if("remove"===n){this[e?"$wrapData":"$rowLengthCache"].splice(o,a);var u=this.$foldData;l=this.getFoldsInRange(t),this.removeFolds(l);var c=0;if(m=this.getFoldLine(i.row)){m.addRemoveChars(i.row,i.column,r.column-i.column),m.shiftRow(-a);var h=this.getFoldLine(o);h&&h!==m&&(h.merge(m),m=h),c=u.indexOf(m)+1}for(;c=i.row&&m.shiftRow(-a);s=o}else{var d=Array(a);d.unshift(o,0);var f=e?this.$wrapData:this.$rowLengthCache;if(f.splice.apply(f,d),u=this.$foldData,c=0,m=this.getFoldLine(o)){var p=m.range.compareInside(r.row,r.column);0==p?(m=m.split(r.row,r.column))&&(m.shiftRow(a),m.addRemoveChars(s,0,i.column-r.column)):-1==p&&(m.addRemoveChars(o,0,i.column-r.column),m.shiftRow(a)),c=u.indexOf(m)+1}for(;c=o&&m.shiftRow(a)}}else a=Math.abs(t.start.column-t.end.column),"remove"===n&&(l=this.getFoldsInRange(t),this.removeFolds(l),a=-a),(m=this.getFoldLine(o))&&m.addRemoveChars(o,r.column,a);return e&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,e?this.$updateWrapData(o,s):this.$updateRowLengthCache(o,s),l},this.$updateRowLengthCache=function(t,e,n){this.$rowLengthCache[t]=null,this.$rowLengthCache[e]=null},this.$updateWrapData=function(n,r){var i,o,s=this.doc.getAllLines(),a=this.getTabSize(),l=this.$wrapData,u=this.$wrapLimit,c=n;for(r=Math.min(r,s.length-1);c<=r;)(o=this.getFoldLine(c,o))?(i=[],o.walk((function(n,r,o,a){var l;if(null!=n){(l=this.$getDisplayTokens(n,i.length))[0]=t;for(var u=1;u=4352&&t<=4447||t>=4515&&t<=4519||t>=4602&&t<=4607||t>=9001&&t<=9002||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12283||t>=12288&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12589||t>=12593&&t<=12686||t>=12688&&t<=12730||t>=12736&&t<=12771||t>=12784&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=13054||t>=13056&&t<=19903||t>=19968&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=55216&&t<=55238||t>=55243&&t<=55291||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=65281&&t<=65376||t>=65504&&t<=65510)}this.$computeWrapSplits=function(r,i,s){if(0==r.length)return[];var a=[],u=r.length,c=0,h=0,d=this.$wrapAsCode,f=this.$indentedSoftWrap,p=i<=Math.max(2*s,8)||!1===f?0:Math.floor(i/2);function m(t){var e=r.slice(c,t),i=e.length;e.join("").replace(/12/g,function(){i-=1}).replace(/2/g,function(){i-=1}),a.length||(g=function(){var t=0;if(0===p)return t;if(f)for(var e=0;ei-g;){var v=c+i-g;if(r[v-1]>=n&&r[v]>=n)m(v);else if(r[v]!=t&&r[v]!=e){for(var y=Math.max(v-(i-(i>>2)),c-1);v>y&&r[v]y&&r[v]y&&9==r[v];)v--}else for(;v>y&&r[v]y?m(++v):(2==r[v=c+i]&&v--,m(v-g))}else{for(;v!=c-1&&r[v]!=t;v--);if(v>c){m(v);continue}for(v=c+i;v39&&a<48||a>57&&a<64?i.push(9):a>=4352&&h(a)?i.push(1,2):i.push(1)}return i},this.$getStringScreenWidth=function(t,e,n){if(0==e)return[0,0];var r,i;for(null==e&&(e=1/0),n=n||0,i=0;i=4352&&h(r)?n+=2:n+=1,!(n>e));i++);return[n,i]},this.lineWidgets=null,this.getRowLength=function(t){if(this.lineWidgets)var e=this.lineWidgets[t]&&this.lineWidgets[t].rowCount||0;else e=0;return this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1+e:1+e},this.getRowLineCount=function(t){return this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1:1},this.getRowWrapIndent=function(t){if(this.$useWrapMode){var e=this.screenToDocumentPosition(t,Number.MAX_VALUE),n=this.$wrapData[e.row];return n.length&&n[0]=0){a=u[c],o=this.$docRowCache[c];var d=t>u[h-1]}else d=!h;for(var f=this.getLength()-1,p=this.getNextFoldLine(o),m=p?p.start.row:1/0;a<=t&&!(a+(l=this.getRowLength(o))>t||o>=f);)a+=l,++o>m&&(m=(p=this.getNextFoldLine(o=p.end.row+1,p))?p.start.row:1/0),d&&(this.$docRowCache.push(o),this.$screenRowCache.push(a));if(p&&p.start.row<=o)r=this.getFoldDisplayLine(p),o=p.start.row;else{if(a+l<=t||o>f)return{row:f,column:this.getLine(f).length};r=this.getLine(o),p=null}var g=0,v=Math.floor(t-a);if(this.$useWrapMode){var y=this.$wrapData[o];y&&(i=y[v],v>0&&y.length&&(g=y.indent,r=r.substring(s=y[v-1]||y[y.length-1])))}return void 0!==n&&this.$bidiHandler.isBidiRow(a+v,o,v)&&(e=this.$bidiHandler.offsetToCol(n)),s+=this.$getStringScreenWidth(r,e-g)[1],this.$useWrapMode&&s>=i&&(s=i-1),p?p.idxToPosition(s):{row:o,column:s}},this.documentToScreenPosition=function(t,e){if(void 0===e)var n=this.$clipPositionToDocument(t.row,t.column);else n=this.$clipPositionToDocument(t,e);var r,i=0,o=null;(r=this.getFoldAt(t=n.row,e=n.column,1))&&(t=r.start.row,e=r.start.column);var s,a=0,l=this.$docRowCache,u=this.$getRowCacheIndex(l,t),c=l.length;if(c&&u>=0){a=l[u],i=this.$screenRowCache[u];var h=t>l[c-1]}else h=!c;for(var d=this.getNextFoldLine(a),f=d?d.start.row:1/0;a=f){if((s=d.end.row+1)>t)break;f=(d=this.getNextFoldLine(s,d))?d.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var p="";d&&a>=f?(p=this.getFoldDisplayLine(d,t,e),o=d.start.row):(p=this.getLine(t).substring(0,e),o=t);var m=0;if(this.$useWrapMode){var g=this.$wrapData[o];if(g){for(var v=0;p.length>=g[v];)i++,v++;p=p.substring(g[v-1]||0,p.length),m=v>0?g.indent:0}}return{row:i,column:m+this.$getStringScreenWidth(p)[0]}},this.documentToScreenColumn=function(t,e){return this.documentToScreenPosition(t,e).column},this.documentToScreenRow=function(t,e){return this.documentToScreenPosition(t,e).row},this.getScreenLength=function(){var t=0,e=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,r=0,i=(a=0,(e=this.$foldData[a++])?e.start.row:1/0);ri&&(r=e.end.row+1,i=(e=this.$foldData[a++])?e.start.row:1/0)}else{t=this.getLength();for(var s=this.$foldData,a=0;an);o++);return[r,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()},this.isFullWidth=h}).call(p.prototype),t("./edit_session/folding").Folding.call(p.prototype),t("./edit_session/bracket_match").BracketMatch.call(p.prototype),s.defineOptions(p.prototype,"session",{wrap:{set:function(t){if(t&&"off"!=t?"free"==t?t=!0:"printMargin"==t?t=-1:"string"==typeof t&&(t=parseInt(t,10)||!1):t=!1,this.$wrap!=t)if(this.$wrap=t,t){var e="number"==typeof t?t:null;this.setWrapLimitRange(e,e),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(t){(t="auto"==t?"text"!=this.$mode.type:"text"!=t)!=this.$wrapAsCode&&(this.$wrapAsCode=t,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(t){this.$useWorker=t,this.$stopWorker(),t&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(t){isNaN(t)||this.$tabSize===t||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=t,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},overwrite:{set:function(t){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(t){this.doc.setNewLineMode(t)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(t){this.setMode(t)},get:function(){return this.$modeId}}}),e.EditSession=p}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(t,e,n){"use strict";var r=t("./lib/lang"),i=t("./lib/oop"),o=t("./range").Range,s=function(){this.$options={}};(function(){this.set=function(t){return i.mixin(this.$options,t),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(t){this.$options=t},this.find=function(t){var e=this.$options,n=this.$matchIterator(t,e);if(!n)return!1;var r=null;return n.forEach(function(t,n,i,s){return r=new o(t,n,i,s),!(n==s&&e.start&&e.start.start&&0!=e.skipCurrent&&r.isEqual(e.start)&&(r=null,1))}),r},this.findAll=function(t){var e=this.$options;if(!e.needle)return[];this.$assembleRegExp(e);var n=e.range,i=n?t.getLines(n.start.row,n.end.row):t.doc.getAllLines(),s=[],a=e.re;if(e.$isMultiLine){var l,u=a.length,c=i.length-u;t:for(var h=a.offset||0;h<=c;h++){for(var d=0;dm||(s.push(l=new o(h,m,h+u-1,g)),u>2&&(h=h+u-2))}}else for(var v=0;vw&&s[d].end.row==n.end.row;)d--;for(s=s.slice(v,d+1),v=0,d=s.length;v=a;n--)if(h(n,Number.MAX_VALUE,t))return;if(0!=e.wrap)for(n=l,a=s.row;n>=a;n--)if(h(n,Number.MAX_VALUE,t))return}};else u=function(t){var n=s.row;if(!h(n,s.column,t)){for(n+=1;n<=l;n++)if(h(n,0,t))return;if(0!=e.wrap)for(n=a,l=s.row;n<=l;n++)if(h(n,0,t))return}};if(e.$isMultiLine)var c=n.length,h=function(e,i,o){var s=r?e-c+1:e;if(!(s<0)){var a=t.getLine(s),l=a.search(n[0]);if(!(!r&&li))return!!o(s,l,s+c-1,h)||void 0}}};else h=r?function(e,r,i){var o,s=t.getLine(e),a=[],l=0;for(n.lastIndex=0;o=n.exec(s);){if(l=o.index,!(c=o[0].length)){if(l>=s.length)break;n.lastIndex=l+=1}if(o.index+c>r)break;a.push(o.index,c)}for(var u=a.length-1;u>=0;u-=2){var c,h=a[u-1];if(i(e,h,e,h+(c=a[u])))return!0}}:function(e,r,i){var o,s=t.getLine(e),a=r;for(n.lastIndex=r;o=n.exec(s);){var l=o[0].length;if(i(e,a=o.index,e,a+l))return!0;if(!l&&(n.lastIndex=a+=1,a>=s.length))return!1}};return{forEach:u}}}).call(s.prototype),e.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(t,e,n){"use strict";var r=t("../lib/keys"),i=t("../lib/useragent"),o=r.KEY_MODS;function s(t,e){this.platform=e||(i.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=!0}function a(t,e){s.call(this,t,e),this.$singleCommand=!1}a.prototype=s.prototype,(function(){function t(t){return"object"==typeof t&&t.bindKey&&t.bindKey.position||(t.isDefault?-100:0)}this.addCommand=function(t){this.commands[t.name]&&this.removeCommand(t),this.commands[t.name]=t,t.bindKey&&this._buildKeyHash(t)},this.removeCommand=function(t,e){var n=t&&("string"==typeof t?t:t.name);t=this.commands[n],e||delete this.commands[n];var r=this.commandKeyBinding;for(var i in r){var o=r[i];if(o==t)delete r[i];else if(Array.isArray(o)){var s=o.indexOf(t);-1!=s&&(o.splice(s,1),1==o.length&&(r[i]=o[0]))}}},this.bindKey=function(t,e,n){if("object"==typeof t&&t&&(null==n&&(n=t.position),t=t[this.platform]),t)return"function"==typeof e?this.addCommand({exec:e,bindKey:t,name:e.name||t}):void t.split("|").forEach(function(t){var r="";if(-1!=t.indexOf(" ")){var i=t.split(/\s+/);t=i.pop(),i.forEach(function(t){var e=this.parseKeys(t);this._addCommandToBinding(r+=(r?" ":"")+(o[e.hashId]+e.key),"chainKeys")},this),r+=" "}var s=this.parseKeys(t);this._addCommandToBinding(r+(o[s.hashId]+s.key),e,n)},this)},this._addCommandToBinding=function(e,n,r){var i,o=this.commandKeyBinding;if(n)if(!o[e]||this.$singleCommand)o[e]=n;else{Array.isArray(o[e])?-1!=(i=o[e].indexOf(n))&&o[e].splice(i,1):o[e]=[o[e]],"number"!=typeof r&&(r=t(n));var s=o[e];for(i=0;ir);i++);s.splice(i,0,n)}else delete o[e]},this.addCommands=function(t){t&&Object.keys(t).forEach(function(e){var n=t[e];if(n){if("string"==typeof n)return this.bindKey(n,e);"function"==typeof n&&(n={exec:n}),"object"==typeof n&&(n.name||(n.name=e),this.addCommand(n))}},this)},this.removeCommands=function(t){Object.keys(t).forEach(function(e){this.removeCommand(t[e])},this)},this.bindKeys=function(t){Object.keys(t).forEach(function(e){this.bindKey(e,t[e])},this)},this._buildKeyHash=function(t){this.bindKey(t.bindKey,t)},this.parseKeys=function(t){var e=t.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(t){return t}),n=e.pop(),i=r[n];if(r.FUNCTION_KEYS[i])n=r.FUNCTION_KEYS[i].toLowerCase();else{if(!e.length)return{key:n,hashId:-1};if(1==e.length&&"shift"==e[0])return{key:n.toUpperCase(),hashId:-1}}for(var o=0,s=e.length;s--;){var a=r.KEY_MODS[e[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+e[s]+" in "+t),!1;o|=a}return{key:n,hashId:o}},this.findKeyCommand=function(t,e){return this.commandKeyBinding[o[t]+e]},this.handleKeyboard=function(t,e,n,r){if(!(r<0)){var i=o[e]+n,s=this.commandKeyBinding[i];return t.$keyChain&&(t.$keyChain+=" "+i,s=this.commandKeyBinding[t.$keyChain]||s),!s||"chainKeys"!=s&&"chainKeys"!=s[s.length-1]?(t.$keyChain&&(e&&4!=e||1!=n.length?(-1==e||r>0)&&(t.$keyChain=""):t.$keyChain=t.$keyChain.slice(0,-i.length-1)),{command:s}):(t.$keyChain=t.$keyChain||i,{command:"null"})}},this.getStatusText=function(t,e){return e.$keyChain||""}}).call(s.prototype),e.HashHandler=s,e.MultiHashHandler=a}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(t,e,n){"use strict";var r=t("../lib/oop"),i=t("../keyboard/hash_handler").MultiHashHandler,o=t("../lib/event_emitter").EventEmitter,s=function(t,e){i.call(this,e,t),this.byName=this.commands,this.setDefaultHandler("exec",function(t){return t.command.exec(t.editor,t.args||{})})};r.inherits(s,i),(function(){r.implement(this,o),this.exec=function(t,e,n){if(Array.isArray(t)){for(var r=t.length;r--;)if(this.exec(t[r],e,n))return!0;return!1}if("string"==typeof t&&(t=this.commands[t]),!t)return!1;if(e&&e.$readOnly&&!t.readOnly)return!1;if(t.isAvailable&&!t.isAvailable(e))return!1;var i={editor:e,command:t,args:n};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},this.toggleRecording=function(t){if(!this.$inReplay)return t&&t._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=(function(t){this.macro.push([t.command,t.args])}).bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(t){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(t);try{this.$inReplay=!0,this.macro.forEach(function(e){"string"==typeof e?this.exec(e,t):this.exec(e[0],t,e[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(t){return t.map(function(t){return"string"!=typeof t[0]&&(t[0]=t[0].name),t[1]||(t=t[0]),t})}}).call(s.prototype),e.CommandManager=s}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(t,e,n){"use strict";var r=t("../lib/lang"),i=t("../config"),o=t("../range").Range;function s(t,e){return{win:t,mac:e}}e.commands=[{name:"showSettingsMenu",bindKey:s("Ctrl-,","Command-,"),exec:function(t){i.loadModule("ace/ext/settings_menu",function(e){e.init(t),t.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",bindKey:s("Alt-E","F4"),exec:function(t){i.loadModule("ace/ext/error_marker",function(e){e.showErrorMarker(t,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(t){i.loadModule("ace/ext/error_marker",function(e){e.showErrorMarker(t,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:s("Ctrl-A","Command-A"),exec:function(t){t.selectAll()},readOnly:!0},{name:"centerselection",bindKey:s(null,"Ctrl-L"),exec:function(t){t.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:s("Ctrl-L","Command-L"),exec:function(t){var e=parseInt(prompt("Enter line number:"),10);isNaN(e)||t.gotoLine(e)},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(t){t.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(t){t.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:s("F2","F2"),exec:function(t){t.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:s("Alt-F2","Alt-F2"),exec:function(t){t.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:s("Alt-0","Command-Option-0"),exec:function(t){t.session.foldAll(),t.session.unfold(t.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(t){t.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:s("Ctrl-K","Command-G"),exec:function(t){t.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(t){t.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:s("Alt-K","Ctrl-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findPrevious()},readOnly:!0},{name:"find",bindKey:s("Ctrl-F","Command-F"),exec:function(t){i.loadModule("ace/ext/searchbox",function(e){e.Search(t)})},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(t){t.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(t){t.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(t){t.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(t){t.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:s("Up","Up|Ctrl-P"),exec:function(t,e){t.navigateUp(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(t){t.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(t){t.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(t){t.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:s("Down","Down|Ctrl-N"),exec:function(t,e){t.navigateDown(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(t){t.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:s("Ctrl-Left","Option-Left"),exec:function(t){t.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(t){t.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(t){t.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:s("Left","Left|Ctrl-B"),exec:function(t,e){t.navigateLeft(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(t){t.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:s("Ctrl-Right","Option-Right"),exec:function(t){t.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(t){t.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:s("Shift-Right","Shift-Right"),exec:function(t){t.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:s("Right","Right|Ctrl-F"),exec:function(t,e){t.navigateRight(e.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(t){t.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:s(null,"Option-PageDown"),exec:function(t){t.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(t){t.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(t){t.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:s(null,"Option-PageUp"),exec:function(t){t.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(t){t.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:s("Ctrl-Up",null),exec:function(t){t.renderer.scrollBy(0,-2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:s("Ctrl-Down",null),exec:function(t){t.renderer.scrollBy(0,2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(t){t.commands.toggleRecording(t)},readOnly:!0},{name:"replaymacro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(t){t.commands.replay(t)},readOnly:!0},{name:"jumptomatching",bindKey:s("Ctrl-P","Ctrl-P"),exec:function(t){t.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:s("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(t){t.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(t){t.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(t){},readOnly:!0},{name:"cut",exec:function(t){var e=t.getSelectionRange();t._emit("cut",e),t.selection.isEmpty()||(t.session.remove(e),t.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(t,e){t.$handlePaste(e)},scrollIntoView:"cursor"},{name:"removeline",bindKey:s("Ctrl-D","Command-D"),exec:function(t){t.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(t){t.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(t){t.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:s("Ctrl-/","Command-/"),exec:function(t){t.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(t){t.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(t){t.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(t){t.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(t){i.loadModule("ace/ext/searchbox",function(e){e.Search(t,!0)})}},{name:"undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(t){t.undo()}},{name:"redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(t){t.redo()}},{name:"copylinesup",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(t){t.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:s("Alt-Up","Option-Up"),exec:function(t){t.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(t){t.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:s("Alt-Down","Option-Down"),exec:function(t){t.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(t){t.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(t){t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:s("Shift-Delete",null),exec:function(t){if(!t.selection.isEmpty())return!1;t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(t){t.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(t){t.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(t){var e=t.selection.getRange();e.start.column=0,t.session.remove(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(t){var e=t.selection.getRange();e.end.column=Number.MAX_VALUE,t.session.remove(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(t){t.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(t){t.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(t){t.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:s("Tab","Tab"),exec:function(t){t.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(t){t.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(t){t.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(t,e){t.insert(e)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(t,e){t.insert(r.stringRepeat(e.text||"",e.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:s(null,"Ctrl-O"),exec:function(t){t.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(t){t.transposeLetters()},multiSelectAction:function(t){t.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(t){t.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(t){t.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(t){var e=t.selection.getRange();e.start.column=e.end.column=0,e.end.row++,t.selection.setRange(e,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:s(null,null),exec:function(t){for(var e=t.selection.isBackwards(),n=e?t.selection.getSelectionLead():t.selection.getSelectionAnchor(),i=e?t.selection.getSelectionAnchor():t.selection.getSelectionLead(),s=t.session.doc.getLine(n.row).length,a=t.session.doc.getTextRange(t.selection.getRange()).replace(/\n\s*/," ").length,l=t.session.doc.getLine(n.row),u=n.row+1;u<=i.row+1;u++){var c=r.stringTrimLeft(r.stringTrimRight(t.session.doc.getLine(u)));0!==c.length&&(c=" "+c),l+=c}i.row+10?(t.selection.moveCursorTo(n.row,n.column),t.selection.selectTo(n.row,n.column+a)):(s=t.session.doc.getLine(n.row).length>s?s+1:s,t.selection.moveCursorTo(n.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:s(null,null),exec:function(t){var e=t.session.doc.getLength()-1,n=t.session.doc.getLine(e).length,r=t.selection.rangeList.ranges,i=[];r.length<1&&(r=[t.selection.getRange()]);for(var s=0;s0&&this.$blockScrolling--;var n=e&&e.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var r=this.selection.getRange(),i=this.renderer.layerConfig;(r.start.row>=i.lastRow||r.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(t){if(this.$mergeUndoDeltas){var e=this.prevOp,n=this.$mergeableCommands,r=e.command&&t.command.name==e.command.name;if("insertstring"==t.command.name){var i=t.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(e.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(t.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(t.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(t,e){if(t&&"string"==typeof t){this.$keybindingId=t;var n=this;v.loadModule(["keybinding",t],function(r){n.$keybindingId==t&&n.keyBinding.setKeyboardHandler(r&&r.handler),e&&e()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(t),e&&e()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(t){if(this.session!=t){this.curOp&&this.endOperation(),this.curOp={};var e=this.session;if(e){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=t,t?(this.$onDocumentChange=this.onDocumentChange.bind(this),t.on("change",this.$onDocumentChange),this.renderer.setSession(t),this.$onChangeMode=this.onChangeMode.bind(this),t.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),t.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),t.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),t.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),t.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),t.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=t.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(t)),this._signal("changeSession",{session:t,oldSession:e}),this.curOp=null,e&&e._signal("changeEditor",{oldEditor:this}),t&&t._signal("changeEditor",{editor:this}),t&&t.bgTokenizer&&t.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(t,e){return this.session.doc.setValue(t),e?1==e?this.navigateFileEnd():-1==e&&this.navigateFileStart():this.selectAll(),t},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(t){this.renderer.onResize(t)},this.setTheme=function(t,e){this.renderer.setTheme(t,e)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(t){this.renderer.setStyle(t)},this.unsetStyle=function(t){this.renderer.unsetStyle(t)},this.getFontSize=function(){return this.getOption("fontSize")||i.computedStyle(this.container,"fontSize")},this.setFontSize=function(t){this.setOption("fontSize",t)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var t=this;this.$highlightPending=!0,setTimeout(function(){t.$highlightPending=!1;var e=t.session;if(e&&e.bgTokenizer){var n=e.findMatchingBracket(t.getCursorPosition());if(n)var r=new f(n.row,n.column,n.row,n.column+1);else e.$mode.getMatching&&(r=e.$mode.getMatching(t.session));r&&(e.$bracketHighlight=e.addMarker(r,"ace_bracket","text"))}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var t=this;this.$highlightTagPending=!0,setTimeout(function(){t.$highlightTagPending=!1;var e=t.session;if(e&&e.bgTokenizer){var n=t.getCursorPosition(),r=new y(t.session,n.row,n.column),i=r.getCurrentToken();if(!i||!/\b(?:tag-open|tag-name)/.test(i.type))return e.removeMarker(e.$tagHighlight),void(e.$tagHighlight=null);if(-1==i.type.indexOf("tag-open")||(i=r.stepForward())){var o=i.value,s=0,a=r.stepBackward();if("<"==a.value)do{a=i,(i=r.stepForward())&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===a.value?s++:"=0);else{do{i=a,a=r.stepBackward(),i&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===a.value?s++:"1||(t=!1)),e.$highlightLineMarker&&!t)e.removeMarker(e.$highlightLineMarker.id),e.$highlightLineMarker=null;else if(!e.$highlightLineMarker&&t){var n=new f(t.row,t.column,t.row,1/0);n.id=e.addMarker(n,"ace_active-line","screenLine"),e.$highlightLineMarker=n}else t&&(e.$highlightLineMarker.start.row=t.row,e.$highlightLineMarker.end.row=t.row,e.$highlightLineMarker.start.column=t.column,e._signal("changeBackMarker"))},this.onSelectionChange=function(t){var e=this.session;if(e.$selectionMarker&&e.removeMarker(e.$selectionMarker),e.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),r=this.getSelectionStyle();e.$selectionMarker=e.addMarker(n,"ace_selection",r)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var t=this.session,e=this.getSelectionRange();if(!e.isEmpty()&&!e.isMultiLine()){var n=e.start.column-1,r=e.end.column+1,i=t.getLine(e.start.row),o=i.length,s=i.substring(Math.max(n,0),Math.min(r,o));if(!(n>=0&&/^[\w\d]/.test(s)||r<=o&&/[\w\d]$/.test(s))&&(s=i.substring(e.start.column,e.end.column),/^[\w\d]+$/.test(s)))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:s})}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(t){this.renderer.updateText(),this._emit("changeMode",t)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var t=this.getSelectedText();return this._signal("copy",t),t},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(t,e){this.commands.exec("paste",this,{text:t,event:e})},this.$handlePaste=function(t){"string"==typeof t&&(t={text:t}),this._signal("paste",t);var e=t.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(e);else{var n=e.split(/\r\n|\r|\n/),r=this.selection.rangeList.ranges;if(n.length>r.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,e);for(var i=r.length;i--;){var o=r[i];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,n[i])}}},this.execCommand=function(t,e){return this.commands.exec(t,this,e)},this.insert=function(t,e){var n=this.session,r=n.getMode(),i=this.getCursorPosition();if(this.getBehavioursEnabled()&&!e){var o=r.transformAction(n.getState(i.row),"insertion",this,n,t);o&&(t!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),t=o.text)}if("\t"==t&&(t=this.session.getTabString()),this.selection.isEmpty())this.session.getOverwrite()&&-1==t.indexOf("\n")&&((s=new f.fromPoints(i,i)).end.column+=t.length,this.session.remove(s));else{var s=this.getSelectionRange();i=this.session.remove(s),this.clearSelection()}if("\n"==t||"\r\n"==t){var a=n.getLine(i.row);if(i.column>a.search(/\S|$/)){var l=a.substr(i.column).search(/\S|$/);n.doc.removeInLine(i.row,i.column,i.column+l)}}this.clearSelection();var u=i.column,c=n.getState(i.row),h=(a=n.getLine(i.row),r.checkOutdent(c,a,t));if(n.insert(i,t),o&&o.selection&&this.selection.setSelectionRange(2==o.selection.length?new f(i.row,u+o.selection[0],i.row,u+o.selection[1]):new f(i.row+o.selection[0],o.selection[1],i.row+o.selection[2],o.selection[3])),n.getDocument().isNewLine(t)){var d=r.getNextLineIndent(c,a.slice(0,i.column),n.getTabString());n.insert({row:i.row+1,column:0},d)}h&&r.autoOutdent(c,n,i.row)},this.onTextInput=function(t){this.keyBinding.onTextInput(t)},this.onCommandKey=function(t,e,n){this.keyBinding.onCommandKey(t,e,n)},this.setOverwrite=function(t){this.session.setOverwrite(t)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(t){this.setOption("scrollSpeed",t)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(t){this.setOption("dragDelay",t)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(t){this.setOption("selectionStyle",t)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(t){this.setOption("highlightActiveLine",t)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(t){this.setOption("highlightGutterLine",t)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(t){this.setOption("highlightSelectedWord",t)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(t){this.renderer.setAnimatedScroll(t)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(t){this.renderer.setShowInvisibles(t)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(t){this.renderer.setDisplayIndentGuides(t)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(t){this.renderer.setShowPrintMargin(t)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(t){this.renderer.setPrintMarginColumn(t)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(t){this.setOption("readOnly",t)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(t){this.setOption("behavioursEnabled",t)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(t){this.setOption("wrapBehavioursEnabled",t)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(t){this.setOption("showFoldWidgets",t)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(t){this.setOption("fadeFoldWidgets",t)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(t){this.selection.isEmpty()&&("left"==t?this.selection.selectLeft():this.selection.selectRight());var e=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(e.start.row),i=n.getMode().transformAction(r,"deletion",this,n,e);if(0===e.end.column){var o=n.getTextRange(e);if("\n"==o[o.length-1]){var s=n.getLine(e.end.row);/^\s+$/.test(s)&&(e.end.column=s.length)}}i&&(e=i)}this.session.remove(e),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var t=this.getSelectionRange();t.start.column==t.end.column&&t.start.row==t.end.row&&(t.end.column=0,t.end.row++),this.session.remove(t),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var t=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(t)},this.transposeLetters=function(){if(this.selection.isEmpty()){var t=this.getCursorPosition(),e=t.column;if(0!==e){var n,r,i=this.session.getLine(t.row);ee.toLowerCase()?1:0});var i=new f(0,0,0,0);for(r=t.first;r<=t.last;r++){var o=e.getLine(r);i.start.row=r,i.end.row=r,i.end.column=o.length,e.replace(i,n[r-t.first])}},this.toggleCommentLines=function(){var t=this.session.getState(this.getCursorPosition().row),e=this.$getSelectedRows();this.session.getMode().toggleCommentLines(t,this.session,e.first,e.last)},this.toggleBlockComment=function(){var t=this.getCursorPosition(),e=this.session.getState(t.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(e,this.session,n,t)},this.getNumberAt=function(t,e){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(t);n.lastIndex=e)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},this.modifyNumber=function(t){var e=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new f(e,n-1,e,n),i=this.session.getTextRange(r);if(!isNaN(parseFloat(i))&&isFinite(i)){var o=this.getNumberAt(e,n);if(o){var s=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-s,l=parseFloat(o.value);l*=Math.pow(10,a),l+=t*=s!==o.end&&nf+1)break;f=p.last}for(c--,a=this.session.$moveLines(d,f,e?0:t),e&&-1==t&&(h=c+1);h<=c;)s[h].moveBy(a,0),h++;e||(a=0),l+=a}i.fromOrientedRange(i.ranges[0]),i.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(t){return t=(t||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(t.start.row),last:this.session.getRowFoldEnd(t.end.row)}},this.onCompositionStart=function(t){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(t){this.renderer.setCompositionText(t)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(t){return t>=this.getFirstVisibleRow()&&t<=this.getLastVisibleRow()},this.isRowFullyVisible=function(t){return t>=this.renderer.getFirstFullyVisibleRow()&&t<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(t,e){var n=this.renderer,r=this.renderer.layerConfig,i=t*Math.floor(r.height/r.lineHeight);this.$blockScrolling++,!0===e?this.selection.$moveSelection(function(){this.moveCursorBy(i,0)}):!1===e&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection()),this.$blockScrolling--;var o=n.scrollTop;n.scrollBy(0,i*r.lineHeight),null!=e&&n.scrollCursorIntoView(null,.5),n.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(t){this.renderer.scrollToRow(t)},this.scrollToLine=function(t,e,n,r){this.renderer.scrollToLine(t,e,n,r)},this.centerSelection=function(){var t=this.getSelectionRange(),e={row:Math.floor(t.start.row+(t.end.row-t.start.row)/2),column:Math.floor(t.start.column+(t.end.column-t.start.column)/2)};this.renderer.alignCursor(e,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(t,e){this.selection.moveCursorTo(t,e)},this.moveCursorToPosition=function(t){this.selection.moveCursorToPosition(t)},this.jumpToMatching=function(t,e){var n=this.getCursorPosition(),r=new y(this.session,n.row,n.column),i=r.getCurrentToken(),o=i||r.stepForward();if(o){var s,a,l=!1,u={},c=n.column-o.start,h={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;c=0;--o)this.$tryReplace(n[o],t)&&r++;return this.selection.setSelectionRange(i),this.$blockScrolling-=1,r},this.$tryReplace=function(t,e){var n=this.session.getTextRange(t);return null!==(e=this.$search.replace(n,e))?(t.end=this.session.replace(t,e),t):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(t,e,n){e||(e={}),"string"==typeof t||t instanceof RegExp?e.needle=t:"object"==typeof t&&r.mixin(e,t);var i=this.selection.getRange();null==e.needle&&((t=this.session.getTextRange(i)||this.$search.$options.needle)||(i=this.session.getWordRange(i.start.row,i.start.column),t=this.session.getTextRange(i)),this.$search.set({needle:t})),this.$search.set(e),e.start||this.$search.set({start:i});var o=this.$search.find(this.session);return e.preventScroll?o:o?(this.revealRange(o,n),o):(e.backwards?i.start=i.end:i.end=i.start,void this.selection.setRange(i))},this.findNext=function(t,e){this.find({skipCurrent:!0,backwards:!1},t,e)},this.findPrevious=function(t,e){this.find(t,{skipCurrent:!0,backwards:!0},e)},this.revealRange=function(t,e){this.$blockScrolling+=1,this.session.unfold(t),this.selection.setSelectionRange(t),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(t.start,t.end,.5),!1!==e&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(t){if(t){var e,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var o=this.on("changeSelection",function(){r=!0}),s=this.renderer.on("beforeRender",function(){r&&(e=n.renderer.container.getBoundingClientRect())}),a=this.renderer.on("afterRender",function(){if(r&&e&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var t=n.renderer,o=t.$cursorLayer.$pixelPos,s=t.layerConfig,a=o.top-s.offset;null!=(r=o.top>=0&&a+e.top<0||!(o.topwindow.innerHeight)&&null)&&(i.style.top=a+"px",i.style.left=o.left+"px",i.style.height=s.lineHeight+"px",i.scrollIntoView(r)),r=e=null}});this.setAutoScrollEditorIntoView=function(t){t||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},this.$resetCursorStyle=function(){var t=this.$cursorStyle||"ace",e=this.renderer.$cursorLayer;e&&(e.setSmoothBlinking(/smooth/.test(t)),e.isBlinking=!this.$readOnly&&"wide"!=t,i.setCssClass(e.element,"ace_slim-cursors",/slim/.test(t)))}}).call(_.prototype),v.defineOptions(_.prototype,"editor",{selectionStyle:{set:function(t){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:t})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(t){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(t){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(t){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(t){this.setAutoScrollEditorIntoView(t)}},keyboardHandler:{set:function(t){this.setKeyboardHandler(t)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),e.Editor=_}),ace.define("ace/undomanager",["require","exports","module"],function(t,e,n){"use strict";var r=function(){this.reset()};(function(){function t(t){return{action:t.action,start:t.start,end:t.end,lines:1==t.lines.length?null:t.lines,text:1==t.lines.length?t.lines[0]:null}}function e(t){return{action:t.action,start:t.start,end:t.end,lines:t.lines||[t.text]}}function n(t,e){for(var n=new Array(t.length),r=0;r0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(e){return n(e,t)},this.$deserializeDeltas=function(t){return n(t,e)}}).call(r.prototype),e.UndoManager=r}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(t,e,n){"use strict";var r=t("../lib/dom"),i=t("../lib/oop"),o=t("../lib/lang"),s=t("../lib/event_emitter").EventEmitter,a=function(t){this.element=r.createElement("div"),this.element.className="ace_layer ace_gutter-layer",t.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){i.implement(this,s),this.setSession=function(t){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=t,t&&t.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(t,e){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(t,e)},this.removeGutterDecoration=function(t,e){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(t,e)},this.setAnnotations=function(t){this.$annotations=[];for(var e=0;es&&(s=(o=e.getNextFoldLine(m=o.end.row+1,o))?o.start.row:1/0),m>i){for(;this.$cells.length>p+1;)f=this.$cells.pop(),this.element.removeChild(f.element);break}(f=this.$cells[++p])||((f={element:null,textNode:null,foldWidget:null}).element=r.createElement("div"),f.textNode=document.createTextNode(""),f.element.appendChild(f.textNode),this.element.appendChild(f.element),this.$cells[p]=f);var g,v="ace_gutter-cell ";if(l[m]&&(v+=l[m]),u[m]&&(v+=u[m]),this.$annotations[m]&&(v+=this.$annotations[m].className),f.element.className!=v&&(f.element.className=v),(g=e.getRowLength(m)*t.lineHeight+"px")!=f.element.style.height&&(f.element.style.height=g),a){var y=a[m];null==y&&(y=a[m]=e.getFoldWidget(m))}y?(f.foldWidget||(f.foldWidget=r.createElement("span"),f.element.appendChild(f.foldWidget)),v="ace_fold-widget ace_"+y,f.foldWidget.className!=(v+="start"==y&&m==s&&mn.right-e.right?"foldWidgets":void 0}}).call(a.prototype),e.Gutter=a}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(t,e,n){"use strict";var r=t("../range").Range,i=t("../lib/dom"),o=function(t){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",t.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(t){this.$padding=t},this.setSession=function(t){this.session=t},this.setMarkers=function(t){this.markers=t},this.update=function(t){if(t){this.config=t;var e=[];for(var n in this.markers){var r=this.markers[n];if(r.range){var i=r.range.clipRows(t.firstRow,t.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),r.renderer){var o=this.$getTop(i.start.row,t),s=this.$padding+(this.session.$bidiHandler.isBidiRow(i.start.row)?this.session.$bidiHandler.getPosLeft(i.start.column):i.start.column*t.characterWidth);r.renderer(e,i,s,o,t)}else"fullLine"==r.type?this.drawFullLineMarker(e,i,r.clazz,t):"screenLine"==r.type?this.drawScreenLineMarker(e,i,r.clazz,t):i.isMultiLine()?"text"==r.type?this.drawTextMarker(e,i,r.clazz,t):this.drawMultiLineMarker(e,i,r.clazz,t):this.session.$bidiHandler.isBidiRow(i.start.row)?this.drawBidiSingleLineMarker(e,i,r.clazz+" ace_start ace_br15",t):this.drawSingleLineMarker(e,i,r.clazz+" ace_start ace_br15",t)}else r.update(e,this,this.session,t)}this.element.innerHTML=e.join("")}},this.$getTop=function(t,e){return(t-e.firstRowScreen)*e.lineHeight},this.drawTextMarker=function(t,e,n,i,o){for(var s=this.session,a=e.start.row,l=e.end.row,u=a,c=0,h=0,d=s.getScreenLastRowColumn(u),f=null,p=new r(u,e.start.column,u,h);u<=l;u++)p.start.row=p.end.row=u,p.start.column=u==a?e.start.column:s.getRowWrapIndent(u),p.end.column=d,c=h,h=d,d=u+1d?4:0)|(u==l?8:0)),this.session.$bidiHandler.isBidiRow(u)?this.drawBidiSingleLineMarker(t,p,f,i,u==l?0:1,o):this.drawSingleLineMarker(t,p,f,i,u==l?0:1,o)},this.drawMultiLineMarker=function(t,e,n,r,i){var o,s,a=this.$padding;if(i=i||"",this.session.$bidiHandler.isBidiRow(e.start.row)?((l=e.clone()).end.row=l.start.row,l.end.column=this.session.getLine(l.start.row).length,this.drawBidiSingleLineMarker(t,l,n+" ace_br1 ace_start",r,null,i)):(o=r.lineHeight,s=this.$getTop(e.start.row,r),t.push("
    ")),this.session.$bidiHandler.isBidiRow(e.end.row)){var l;(l=e.clone()).start.row=l.end.row,l.start.column=0,this.drawBidiSingleLineMarker(t,l,n+" ace_br12",r,null,i)}else{var u=e.end.column*r.characterWidth;o=r.lineHeight,s=this.$getTop(e.end.row,r),t.push("
    ")}if(!((o=(e.end.row-e.start.row-1)*r.lineHeight)<=0)){s=this.$getTop(e.start.row+1,r);var c=(e.start.column?1:0)|(e.end.column?0:8);t.push("
    ")}},this.drawSingleLineMarker=function(t,e,n,r,i,o){var s=r.lineHeight,a=(e.end.column+(i||0)-e.start.column)*r.characterWidth,l=this.$getTop(e.start.row,r);t.push("
    ")},this.drawBidiSingleLineMarker=function(t,e,n,r,i,o){var s=r.lineHeight,a=this.$getTop(e.start.row,r),l=this.$padding;this.session.$bidiHandler.getSelections(e.start.column,e.end.column).forEach(function(e){t.push("
    ")})},this.drawFullLineMarker=function(t,e,n,r,i){var o=this.$getTop(e.start.row,r),s=r.lineHeight;e.start.row!=e.end.row&&(s+=this.$getTop(e.end.row,r)-o),t.push("
    ")},this.drawScreenLineMarker=function(t,e,n,r,i){var o=this.$getTop(e.start.row,r);t.push("
    ")}}).call(o.prototype),e.Marker=o}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(t,e,n){"use strict";var r=t("../lib/oop"),i=t("../lib/dom"),o=t("../lib/lang"),s=(t("../lib/useragent"),t("../lib/event_emitter").EventEmitter),a=function(t){this.element=i.createElement("div"),this.element.className="ace_layer ace_text-layer",t.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){r.implement(this,s),this.EOF_CHAR="\xb6",this.EOL_CHAR_LF="\xac",this.EOL_CHAR_CRLF="\xa4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xb7",this.$padding=0,this.$updateEolChar=function(){var t="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},this.setPadding=function(t){this.$padding=t,this.element.style.padding="0 "+t+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(t){this.$fontMetrics=t,this.$fontMetrics.on("changeCharacterSize",(function(t){this._signal("changeCharacterSize",t)}).bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(t){this.session=t,t&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(t){return this.showInvisibles!=t&&(this.showInvisibles=t,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(t){return this.displayIndentGuides!=t&&(this.displayIndentGuides=t,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var t=this.session.getTabSize();this.tabSize=t;for(var e=this.$tabStrings=[0],n=1;n"+o.stringRepeat(this.TAB_CHAR,n)+"":o.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var r="ace_indent-guide",i="",s="";if(this.showInvisibles){r+=" ace_invisible",i=" ace_invisible_space",s=" ace_invisible_tab";var a=o.stringRepeat(this.SPACE_CHAR,this.tabSize),l=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else l=a=o.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]=""+a+"",this.$tabStrings["\t"]=""+l+""}},this.updateLines=function(t,e,n){this.config.lastRow==t.lastRow&&this.config.firstRow==t.firstRow||this.scrollLines(t),this.config=t;for(var r=Math.max(e,t.firstRow),i=Math.min(n,t.lastRow),o=this.element.childNodes,s=0,a=t.firstRow;au&&(u=(l=this.session.getNextFoldLine(a=l.end.row+1,l))?l.start.row:1/0),!(a>i);){var c=o[s++];if(c){var h=[];this.$renderLine(h,a,!this.$useLineGroups(),a==u&&l),c.style.height=t.lineHeight*this.session.getRowLength(a)+"px",c.innerHTML=h.join("")}a++}},this.scrollLines=function(t){var e=this.config;if(this.config=t,!e||e.lastRow0;r--)n.removeChild(n.firstChild);if(e.lastRow>t.lastRow)for(r=this.session.getFoldedRowCount(t.lastRow+1,e.lastRow);r>0;r--)n.removeChild(n.lastChild);if(t.firstRowe.lastRow&&(i=this.$renderLinesFragment(t,e.lastRow+1,t.lastRow),n.appendChild(i))},this.$renderLinesFragment=function(t,e,n){for(var r=this.element.ownerDocument.createDocumentFragment(),o=e,s=this.session.getNextFoldLine(o),a=s?s.start.row:1/0;o>a&&(a=(s=this.session.getNextFoldLine(o=s.end.row+1,s))?s.start.row:1/0),!(o>n);){var l=i.createElement("div"),u=[];if(this.$renderLine(u,o,!1,o==a&&s),l.innerHTML=u.join(""),this.$useLineGroups())l.className="ace_line_group",r.appendChild(l),l.style.height=t.lineHeight*this.session.getRowLength(o)+"px";else for(;l.firstChild;)r.appendChild(l.firstChild);o++}return r},this.update=function(t){this.config=t;for(var e=[],n=t.lastRow,r=t.firstRow,i=this.session.getNextFoldLine(r),o=i?i.start.row:1/0;r>o&&(o=(i=this.session.getNextFoldLine(r=i.end.row+1,i))?i.start.row:1/0),!(r>n);)this.$useLineGroups()&&e.push("
    "),this.$renderLine(e,r,!1,r==o&&i),this.$useLineGroups()&&e.push("
    "),r++;this.element.innerHTML=e.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(t,e,n,r){var i=this,s=r.replace(/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,function(t,n,r,s,a){if(n)return i.showInvisibles?""+o.stringRepeat(i.SPACE_CHAR,t.length)+"":t;if("&"==t)return"&";if("<"==t)return"<";if(">"==t)return">";if("\t"==t){var l=i.session.getScreenTabSize(e+s);return e+=l-1,i.$tabStrings[l]}return"\u3000"==t?(e+=1,""+(i.showInvisibles?i.SPACE_CHAR:"")+""):r?""+i.SPACE_CHAR+"":(e+=1,""+t+"")});if(this.$textToken[n.type])t.push(s);else{var a="ace_"+n.type.replace(/\./g," ace_"),l="";"fold"==n.type&&(l=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),t.push("",s,"")}return e+r.length},this.renderIndentGuide=function(t,e,n){var r=e.search(this.$indentGuideRe);return r<=0||r>=n?e:" "==e[0]?(t.push(o.stringRepeat(this.$tabStrings[" "],(r-=r%this.tabSize)/this.tabSize)),e.substr(r)):"\t"==e[0]?(t.push(o.stringRepeat(this.$tabStrings["\t"],r)),e.substr(r)):e},this.$renderWrappedLine=function(t,e,n,r){for(var i=0,s=0,a=n[0],l=0,u=0;u=a;)l=this.$renderToken(t,l,c,h.substring(0,a-i)),h=h.substring(a-i),i=a,r||t.push("
    ","
    "),t.push(o.stringRepeat("\xa0",n.indent)),l=0,a=n[++s]||Number.MAX_VALUE;0!=h.length&&(i+=h.length,l=this.$renderToken(t,l,c,h))}}},this.$renderSimpleLine=function(t,e){var n=0,r=e[0],i=r.value;this.displayIndentGuides&&(i=this.renderIndentGuide(t,i)),i&&(n=this.$renderToken(t,n,r,i));for(var o=1;o"),i.length){var o=this.session.getRowSplitData(e);o&&o.length?this.$renderWrappedLine(t,i,o,n):this.$renderSimpleLine(t,i)}this.showInvisibles&&(r&&(e=r.end.row),t.push("",e==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"")),n||t.push("
    ")},this.$getFoldLineTokens=function(t,e){var n=this.session,r=[],i=n.getTokens(t);return e.walk(function(t,e,o,s,a){null!=t?r.push({type:"fold",value:t}):(a&&(i=n.getTokens(e)),i.length&&function(t,e,n){for(var i=0,o=0;o+t[i].value.lengthn-e&&(s=s.substring(0,n-e)),r.push({type:t[i].type,value:s}),o=e+s.length,i+=1);on?{type:t[i].type,value:s.substring(0,n-o)}:t[i]),o+=s.length,i+=1}}(i,s,o))},e.end.row,this.session.getLine(e.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(a.prototype),e.Text=a}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(t,e,n){"use strict";var r,i=t("../lib/dom"),o=function(t){this.element=i.createElement("div"),this.element.className="ace_layer ace_cursor-layer",t.appendChild(this.element),void 0===r&&(r=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),i.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(r?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(t){for(var e=this.cursors,n=e.length;n--;)e[n].style.visibility=t?"":"hidden"},this.$updateOpacity=function(t){for(var e=this.cursors,n=e.length;n--;)e[n].style.opacity=t?"":"0"},this.$padding=0,this.setPadding=function(t){this.$padding=t},this.setSession=function(t){this.session=t},this.setBlinking=function(t){t!=this.isBlinking&&(this.isBlinking=t,this.restartTimer())},this.setBlinkInterval=function(t){t!=this.blinkInterval&&(this.blinkInterval=t,this.restartTimer())},this.setSmoothBlinking=function(t){t==this.smoothBlinking||r||(this.smoothBlinking=t,i.setCssClass(this.element,"ace_smooth-blinking",t),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var t=i.createElement("div");return t.className="ace_cursor",this.element.appendChild(t),this.cursors.push(t),t},this.removeCursor=function(){if(this.cursors.length>1){var t=this.cursors.pop();return t.parentNode.removeChild(t),t}},this.hideCursor=function(){this.isVisible=!1,i.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,i.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var t=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&i.removeCssClass(this.element,"ace_smooth-blinking"),t(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout((function(){i.addCssClass(this.element,"ace_smooth-blinking")}).bind(this));var e=(function(){this.timeoutId=setTimeout(function(){t(!1)},.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval(function(){t(!0),e()},this.blinkInterval),e()}},this.getPixelPosition=function(t,e){if(!this.config||!this.session)return{left:0,top:0};t||(t=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(t);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,t.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(e?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(t){this.config=t;var e=this.session.$selectionMarkers,n=0,r=0;void 0!==e&&0!==e.length||(e=[{cursor:null}]),n=0;for(var i=e.length;nt.height+t.offset||o.top<0)&&n>1)){var s=(this.cursors[r++]||this.addCursor()).style;this.drawCursor?this.drawCursor(s,o,t,e[n],this.session):(s.left=o.left+"px",s.top=o.top+"px",s.width=t.characterWidth+"px",s.height=t.lineHeight+"px")}}for(;this.cursors.length>r;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(t){t!=this.overwrite&&(this.overwrite=t,t?i.addCssClass(this.element,"ace_overwrite-cursors"):i.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),e.Cursor=o}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(t,e,n){"use strict";var r=t("./lib/oop"),i=t("./lib/dom"),o=t("./lib/event"),s=t("./lib/event_emitter").EventEmitter,a=function(t){this.element=i.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),t.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){r.implement(this,s),this.setVisible=function(t){this.element.style.display=t?"":"none",this.isVisible=t,this.coeff=1}}).call(a.prototype);var l=function(t,e){a.call(this,t),this.scrollTop=0,this.scrollHeight=0,e.$scrollbarWidth=this.width=i.scrollbarWidth(t.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};r.inherits(l,a),(function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var t=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-t)/(this.coeff-t)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(t){this.element.style.height=t+"px"},this.setInnerHeight=this.setScrollHeight=function(t){this.scrollHeight=t,t>32768?(this.coeff=32768/t,t=32768):1!=this.coeff&&(this.coeff=1),this.inner.style.height=t+"px"},this.setScrollTop=function(t){this.scrollTop!=t&&(this.skipEvent=!0,this.scrollTop=t,this.element.scrollTop=t*this.coeff)}}).call(l.prototype);var u=function(t,e){a.call(this,t),this.scrollLeft=0,this.height=e.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};r.inherits(u,a),(function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(t){this.element.style.width=t+"px"},this.setInnerWidth=function(t){this.inner.style.width=t+"px"},this.setScrollWidth=function(t){this.inner.style.width=t+"px"},this.setScrollLeft=function(t){this.scrollLeft!=t&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=t)}}).call(u.prototype),e.ScrollBar=l,e.ScrollBarV=l,e.ScrollBarH=u,e.VScrollBar=l,e.HScrollBar=u}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(t,e,n){"use strict";var r=t("./lib/event"),i=function(t,e){this.onRender=t,this.pending=!1,this.changes=0,this.window=e||window};(function(){this.schedule=function(t){if(this.changes=this.changes|t,!this.pending&&this.changes){this.pending=!0;var e=this;r.nextFrame(function(){var t;for(e.pending=!1;t=e.changes;)e.changes=0,e.onRender(t)},this.window)}}}).call(i.prototype),e.RenderLoop=i}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(t,e,n){var r=t("../lib/oop"),i=t("../lib/dom"),o=t("../lib/lang"),s=t("../lib/useragent"),a=t("../lib/event_emitter").EventEmitter,l=0,u=e.FontMetrics=function(t){this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),t.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){r.implement(this,a),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var t=i.createElement("div");this.$setMeasureNodeStyles(t.style),t.style.width="0.2px",document.documentElement.appendChild(t);var e=t.getBoundingClientRect().width;l=e>0&&e<1?50:100,t.parentNode.removeChild(t)},this.$setMeasureNodeStyles=function(t,e){t.width=t.height="auto",t.left=t.top="0px",t.visibility="hidden",t.position="absolute",t.whiteSpace="pre",s.isIE<8?t["font-family"]="inherit":t.font="inherit",t.overflow=e?"hidden":"visible"},this.checkForSizeChanges=function(){var t=this.$measureSizes();if(t&&(this.$characterSize.width!==t.width||this.$characterSize.height!==t.height)){this.$measureNode.style.fontWeight="bold";var e=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=t,this.charSizes=Object.create(null),this.allowBoldFonts=e&&e.width===t.width&&e.height===t.height,this._emit("changeCharacterSize",{data:t})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var t=this;return this.$pollSizeChangesTimer=setInterval(function(){t.checkForSizeChanges()},500)},this.setPolling=function(t){t?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var t=null;try{t=this.$measureNode.getBoundingClientRect()}catch(n){t={width:0,height:0}}var e={height:t.height,width:t.width/l}}else e={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===e.width||0===e.height?null:e},this.$measureCharWidth=function(t){return this.$main.innerHTML=o.stringRepeat(t,l),this.$main.getBoundingClientRect().width/l},this.getCharacterWidth=function(t){var e=this.charSizes[t];return void 0===e&&(e=this.charSizes[t]=this.$measureCharWidth(t)/this.$characterSize.width),e},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(u.prototype)}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],function(t,e,n){"use strict";var r=t("./lib/oop"),i=t("./lib/dom"),o=t("./config"),s=t("./lib/useragent"),a=t("./layer/gutter").Gutter,l=t("./layer/marker").Marker,u=t("./layer/text").Text,c=t("./layer/cursor").Cursor,h=t("./scrollbar").HScrollBar,d=t("./scrollbar").VScrollBar,f=t("./renderloop").RenderLoop,p=t("./layer/font_metrics").FontMetrics,m=t("./lib/event_emitter").EventEmitter;i.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_text-input-ios {position: absolute !important;top: -100000px !important;left: -100000px !important;}',"ace_editor.css");var g=function(t,e){var n=this;this.container=t||i.createElement("div"),this.$keepTextAreaAtCursor=!s.isOldIE,i.addCssClass(this.container,"ace_editor"),this.setTheme(e),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var r=this.$textLayer=new u(this.content);this.canvas=r.element,this.$markerFront=new l(this.content),this.$cursorLayer=new c(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.addEventListener("scroll",function(t){n.$scrollAnimation||n.session.setScrollTop(t.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(t){n.$scrollAnimation||n.session.setScrollLeft(t.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new p(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",function(t){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",t)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,m),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(t){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=t,t&&this.scrollMargin.top&&t.getScrollTop()<=0&&t.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(t),this.$markerBack.setSession(t),this.$markerFront.setSession(t),this.$gutterLayer.setSession(t),this.$textLayer.setSession(t),t&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(t,e,n){if(void 0===e&&(e=1/0),this.$changedLines?(this.$changedLines.firstRow>t&&(this.$changedLines.firstRow=t),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(t){t?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(t,e,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=t?1:0;var i=this.container;r||(r=i.clientHeight||i.scrollHeight),n||(n=i.clientWidth||i.scrollWidth);var o=this.$updateCachedSize(t,e,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;t&&(this.$gutterLayer.$padding=null),t?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(t,e,n,r){var i=0,o=this.$size,s={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return(r-=this.$extraHeight||0)&&(t||o.height!=r)&&(o.height=r,i|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",i|=this.CHANGE_SCROLL),n&&(t||o.width!=n)&&(i|=this.CHANGE_SIZE,o.width=n,null==e&&(e=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=e,this.scrollBarH.element.style.left=this.scroller.style.left=e+"px",o.scrollerWidth=Math.max(0,n-e-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||t)&&(i|=this.CHANGE_FULL)),o.$dirty=!n||!r,i&&this._signal("resize",s),i},this.onGutterResize=function(){var t=this.$showGutter?this.$gutter.offsetWidth:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var t=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(t){this.setOption("animatedScroll",t)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(t){this.setOption("showInvisibles",t),this.session.$bidiHandler.setShowInvisibles(t)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(t){this.setOption("displayIndentGuides",t)},this.setShowPrintMargin=function(t){this.setOption("showPrintMargin",t)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(t){this.setOption("printMarginColumn",t)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(t){return this.setOption("showGutter",t)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(t){this.setOption("fadeFoldWidgets",t)},this.setHighlightGutterLine=function(t){this.setOption("highlightGutterLine",t)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var t=this.$cursorLayer.$pixelPos,e=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,t=this.$cursorLayer.getPixelPosition(n,!0),e*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=t.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=e+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var t=i.createElement("div");t.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",t.appendChild(this.$printMarginEl),this.content.insertBefore(t,this.content.firstChild)}var e=this.$printMarginEl.style;e.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",e.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var t=this.layerConfig,e=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left,r=this.textarea.style,i=this.lineHeight;if((e-=t.offset)<0||e>t.height-i)r.top=r.left="0";else{var o=this.characterWidth;if(this.$composition){var s=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(s)[0]+2,i+=2}(n-=this.scrollLeft)>this.$size.scrollerWidth-o&&(n=this.$size.scrollerWidth-o),n+=this.gutterWidth,r.height=i+"px",r.width=o+"px",r.left=Math.min(n,this.$size.scrollerWidth-o)+"px",r.top=Math.min(e,this.$size.height-i)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var t=this.layerConfig,e=t.lastRow;return this.session.documentToScreenRow(e,0)*t.lineHeight-this.session.getScrollTop()>t.height-t.lineHeight?e-1:e},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(t){this.$padding=t,this.$textLayer.setPadding(t),this.$cursorLayer.setPadding(t),this.$markerFront.setPadding(t),this.$markerBack.setPadding(t),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(t,e,n,r){var i=this.scrollMargin;i.top=0|t,i.bottom=0|e,i.right=0|r,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(t){this.setOption("hScrollBarAlwaysVisible",t)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(t){this.setOption("vScrollBarAlwaysVisible",t)},this.$updateScrollBarV=function(){var t=this.layerConfig.maxHeight,e=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(t-=(e-this.lineHeight)*this.$scrollPastEnd)-e&&(t=this.scrollTop+e,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(t+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(t,e){if(this.$changes&&(t|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(t||e)){if(this.$size.$dirty)return this.$changes|=t,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender"),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(t&this.CHANGE_FULL||t&this.CHANGE_SIZE||t&this.CHANGE_TEXT||t&this.CHANGE_LINES||t&this.CHANGE_SCROLL||t&this.CHANGE_H_SCROLL){if(t|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,t|=this.CHANGE_SCROLL,t|=this.$computeLayerConfig())}n=this.layerConfig,this.$updateScrollBarV(),t&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+"px",this.content.style.marginTop=-n.offset+"px",this.content.style.width=n.width+2*this.$padding+"px",this.content.style.height=n.minHeight+"px"}if(t&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),t&this.CHANGE_FULL)return this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(t&this.CHANGE_SCROLL)return t&this.CHANGE_TEXT||t&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");t&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):t&this.CHANGE_LINES?(this.$updateLines()||t&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(t&this.CHANGE_TEXT||t&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),t&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),t&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),t&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender")}else this.$changes|=t},this.$autosize=function(){var t=this.session.getScreenLength()*this.lineHeight,e=this.$maxLines*this.lineHeight,n=Math.min(e,Math.max((this.$minLines||1)*this.lineHeight,t))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=t>e;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var i=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var t=this.session,e=this.$size,n=e.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),o=!n&&(this.$hScrollBarAlwaysVisible||e.scrollerWidth-i-2*this.$padding<0),s=this.$horizScroll!==o;s&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=this.scrollTop%this.lineHeight,u=e.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(e.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=c;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,r-e.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,i+2*this.$padding-e.scrollerWidth+h.right)));var d=!n&&(this.$vScrollBarAlwaysVisible||e.scrollerHeight-r+c<0||this.scrollTop>h.top),f=a!==d;f&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var p,m,g=Math.ceil(u/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),y=v+g,_=this.lineHeight;v=t.screenToDocumentRow(v,0);var b=t.getFoldLine(v);b&&(v=b.start.row),p=t.documentToScreenRow(v,0),m=t.getRowLength(v)*_,y=Math.min(t.screenToDocumentRow(y,0),t.getLength()-1),u=e.scrollerHeight+t.getRowLength(y)*_+m,l=this.scrollTop-p*_;var w=0;return this.layerConfig.width!=i&&(w=this.CHANGE_H_SCROLL),(s||f)&&(w=this.$updateCachedSize(!0,this.gutterWidth,e.width,e.height),this._signal("scrollbarVisibilityChanged"),f&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:v,firstRowScreen:p,lastRow:y,lineHeight:_,characterWidth:this.characterWidth,minHeight:u,maxHeight:r,offset:l,gutterOffset:_?Math.max(0,Math.ceil((l+e.height-e.scrollerHeight)/_)):0,height:this.$size.scrollerHeight},w},this.$updateLines=function(){if(this.$changedLines){var t=this.$changedLines.firstRow,e=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(t>n.lastRow+1||eo?(e&&l+s>o+this.lineHeight&&(o-=e*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-ai?(i=1-this.scrollMargin.top||e>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||t<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||t>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(t,e){var n=this.scroller.getBoundingClientRect(),r=t+this.scrollLeft-n.left-this.$padding,i=r/this.characterWidth,o=Math.floor((e+this.scrollTop-n.top)/this.lineHeight),s=Math.round(i);return{row:o,column:s,side:i-s>0?1:-1,offsetX:r}},this.screenToTextCoordinates=function(t,e){var n=this.scroller.getBoundingClientRect(),r=t+this.scrollLeft-n.left-this.$padding,i=Math.round(r/this.characterWidth);return this.session.screenToDocumentPosition((e+this.scrollTop-n.top)/this.lineHeight,Math.max(i,0),r)},this.textToScreenCoordinates=function(t,e){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(t,e),i=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,t)?this.session.$bidiHandler.getPosLeft(r.column):Math.round(r.column*this.characterWidth));return{pageX:n.left+i-this.scrollLeft,pageY:n.top+r.row*this.lineHeight-this.scrollTop}},this.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},this.showComposition=function(t){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(t){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(i.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(t,e){var n=this;function r(r){if(n.$themeId!=t)return e&&e();if(!r||!r.cssClass)throw new Error("couldn't load module "+t+" or it didn't call define");i.importCssString(r.cssText,r.cssClass,n.container.ownerDocument),n.theme&&i.removeCssClass(n.container,n.theme.cssClass);var o="padding"in r?r.padding:"padding"in(n.theme||{})?4:n.$padding;n.$padding&&o!=n.$padding&&n.setPadding(o),n.$theme=r.cssClass,n.theme=r,i.addCssClass(n.container,r.cssClass),i.setCssClass(n.container,"ace_dark",r.isDark),n.$size&&(n.$size.width=0,n.$updateSizeAsync()),n._dispatchEvent("themeLoaded",{theme:r}),e&&e()}this.$themeId=t,n._dispatchEvent("themeChange",{theme:t}),t&&"string"!=typeof t?r(t):o.loadModule(["theme",t||this.$options.theme.initialValue],r)},this.getTheme=function(){return this.$themeId},this.setStyle=function(t,e){i.setCssClass(this.container,t,!1!==e)},this.unsetStyle=function(t){i.removeCssClass(this.container,t)},this.setCursorStyle=function(t){this.scroller.style.cursor!=t&&(this.scroller.style.cursor=t)},this.setMouseCursor=function(t){this.scroller.style.cursor=t},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(g.prototype),o.defineOptions(g.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(t){this.$textLayer.setShowInvisibles(t)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(t){"number"==typeof t&&(this.$printMarginColumn=t),this.$showPrintMargin=!!t,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(t){this.$gutter.style.display=t?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(t){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",t)},initialValue:!1},showFoldWidgets:{set:function(t){this.$gutterLayer.setShowFoldWidgets(t)},initialValue:!0},showLineNumbers:{set:function(t){this.$gutterLayer.setShowLineNumbers(t),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(t){this.$textLayer.setDisplayIndentGuides(t)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(t){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=i.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=t?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(t){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(t){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(t){"number"==typeof t&&(t+="px"),this.container.style.fontSize=t,this.updateFontSize()},initialValue:12},fontFamily:{set:function(t){this.container.style.fontFamily=t,this.updateFontSize()}},maxLines:{set:function(t){this.updateFull()}},minLines:{set:function(t){this.updateFull()}},maxPixelHeight:{set:function(t){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(t){this.$scrollPastEnd!=(t=+t||0)&&(this.$scrollPastEnd=t,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(t){this.$gutterLayer.$fixedWidth=!!t,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(t){this.setTheme(t)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),e.VirtualRenderer=g}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(t,e,n){"use strict";var r=t("../lib/oop"),i=t("../lib/net"),o=t("../lib/event_emitter").EventEmitter,s=t("../config");function a(t,e){var n=function(t,e){var n=e.src;i.qualifyURL(t);try{return new Blob([n],{type:"application/javascript"})}catch(o){var r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return r.append(n),r.getBlob("application/javascript")}}(t,e),r=(window.URL||window.webkitURL).createObjectURL(n);return new Worker(r)}var l=function(e,n,r,i,o){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),t.nameToUrl&&!t.toUrl&&(t.toUrl=t.nameToUrl),s.get("packaged")||!t.toUrl)i=i||s.moduleUrl(n.id,"worker");else{var l=this.$normalizePath;i=i||l(t.toUrl("ace/worker/worker.js",null,"_"));var u={};e.forEach(function(e){u[e]=l(t.toUrl(e,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}this.$worker=a(i,n),o&&this.send("importScripts",o),this.$worker.postMessage({init:!0,tlns:u,module:n.id,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){r.implement(this,o),this.onMessage=function(t){var e=t.data;switch(e.type){case"event":this._signal(e.name,{data:e.data});break;case"call":var n=this.callbacks[e.id];n&&(n(e.data),delete this.callbacks[e.id]);break;case"error":this.reportError(e.data);break;case"log":window.console&&console.log&&console.log.apply(console,e.data)}},this.reportError=function(t){window.console&&console.error&&console.error(t)},this.$normalizePath=function(t){return i.qualifyURL(t)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(t,e){this.$worker.postMessage({command:t,args:e})},this.call=function(t,e,n){if(n){var r=this.callbackId++;this.callbacks[r]=n,e.push(r)}this.send(t,e)},this.emit=function(t,e){try{this.$worker.postMessage({event:t,data:{data:e.data}})}catch(n){console.error(n.stack)}},this.attachToDocument=function(t){this.$doc&&this.terminate(),this.$doc=t,this.call("setValue",[t.getValue()]),t.on("change",this.changeListener)},this.changeListener=function(t){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(t.start,"insert"==t.action?t.lines:t.end)},this.$sendDeltaQueue=function(){var t=this.deltaQueue;t&&(this.deltaQueue=null,t.length>50&&t.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:t}))}}).call(l.prototype);var u=function(t,e,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,i=!1,a=Object.create(o),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(t){l.messageBuffer.push(t),r&&(i?setTimeout(u):u())},this.setEmitSync=function(t){i=t};var u=function(){var t=l.messageBuffer.shift();t.command?r[t.command].apply(r,t.args):t.event&&a._signal(t.event,t.data)};a.postMessage=function(t){l.onMessage({data:t})},a.callback=function(t,e){this.postMessage({type:"call",id:e,data:t})},a.emit=function(t,e){this.postMessage({type:"event",name:t,data:e})},s.loadModule(["worker",e],function(t){for(r=new t[n](a);l.messageBuffer.length;)u()})};u.prototype=l.prototype,e.UIWorkerClient=u,e.WorkerClient=l,e.createWorker=a}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(t,e,n){"use strict";var r=t("./range").Range,i=t("./lib/event_emitter").EventEmitter,o=t("./lib/oop"),s=function(t,e,n,r,i,o){var s=this;this.length=e,this.session=t,this.doc=t.getDocument(),this.mainClass=i,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){s.onCursorChange()})},this.$pos=n;var a=t.getUndoManager().$undoStack||t.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),t.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,i),this.setup=function(){var t=this,e=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=e.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=n.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var r=e.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),t.others.push(r)}),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var t=this.session,e=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),e.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var t=0;t=this.pos.column&&e.start.column<=this.pos.column+this.length+1,o=e.start.column-this.pos.column;if(this.updateAnchors(t),i&&(this.length+=n),i&&!this.session.$fromUndo)if("insert"===t.action)for(var s=this.others.length-1;s>=0;s--)this.doc.insertMergedLines(l={row:(a=this.others[s]).row,column:a.column+o},t.lines);else if("remove"===t.action)for(s=this.others.length-1;s>=0;s--){var a,l;this.doc.remove(new r((l={row:(a=this.others[s]).row,column:a.column+o}).row,l.column,l.row,l.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(t){this.pos.onChange(t);for(var e=this.others.length;e--;)this.others[e].onChange(t);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var t=this,e=this.session,n=function(n,i){e.removeMarker(n.markerId),n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),i,null,!1)};n(this.pos,this.mainClass);for(var i=this.others.length;i--;)n(this.others[i],this.othersClass)}},this.onCursorChange=function(t){if(!this.$updating&&this.session){var e=this.session.selection.getCursor();e.row===this.pos.row&&e.column>=this.pos.column&&e.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",t)):(this.hideOtherMarkers(),this._emit("cursorLeave",t))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var t=this.session.getUndoManager(),e=(t.$undoStack||t.$undostack).length-this.$undoStackDepth,n=0;n1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),e||this.fromOrientedRange(t)}},this.toSingleRange=function(t){t=t||this.ranges[0];var e=this.rangeList.removeAll();e.length&&this.$onRemoveRange(e),t&&this.fromOrientedRange(t)},this.substractPoint=function(t){var e=this.rangeList.substractPoint(t);if(e)return this.$onRemoveRange(e),e[0]},this.mergeOverlappingRanges=function(){var t=this.rangeList.merge();t.length?this.$onRemoveRange(t):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(t){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(t),this._signal("addRange",{range:t})},this.$onRemoveRange=function(t){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var e=this.rangeList.ranges.pop();t.push(e),this.rangeCount=0}for(var n=t.length;n--;){var r=this.ranges.indexOf(t[n]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:t}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(e=e||this.ranges[0])&&!e.isEqual(this.getRange())&&this.fromOrientedRange(e)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var t=this.rangeList.ranges,e=t[t.length-1],n=i.fromPoints(t[0].start,e.end);this.toSingleRange(),this.setSelectionRange(n,e.cursor==e.start)}else{n=this.getRange();var r=this.isBackwards(),o=n.start.row,s=n.end.row;if(o==s){if(r)var a=n.end,l=n.start;else a=n.start,l=n.end;return this.addRange(i.fromPoints(l,l)),void this.addRange(i.fromPoints(a,a))}var u=[],c=this.getLineRange(o,!0);c.start.column=n.start.column,u.push(c);for(var h=o+1;h1){var t=this.rangeList.ranges,e=t[t.length-1],n=i.fromPoints(t[0].start,e.end);this.toSingleRange(),this.setSelectionRange(n,e.cursor==e.start)}else{var r=this.session.documentToScreenPosition(this.selectionLead),o=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(r,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(t,e,n){var r=[],o=t.column0;)y--;if(y>0)for(var _=0;r[_].isEmpty();)_++;for(var b=y;b>=_;b--)r[b].isEmpty()&&r.splice(b,1)}return r}}).call(o.prototype);var d=t("./editor").Editor;function f(t){t.$multiselectOnSessionChange||(t.$onAddRange=t.$onAddRange.bind(t),t.$onRemoveRange=t.$onRemoveRange.bind(t),t.$onMultiSelect=t.$onMultiSelect.bind(t),t.$onSingleSelect=t.$onSingleSelect.bind(t),t.$multiselectOnSessionChange=e.onSessionChange.bind(t),t.$checkMultiselectChange=t.$checkMultiselectChange.bind(t),t.$multiselectOnSessionChange(t),t.on("changeSession",t.$multiselectOnSessionChange),t.on("mousedown",s),t.commands.addCommands(u.defaultCommands),function(t){var e=t.textInput.getElement(),n=!1;function r(e){n&&(t.renderer.setMouseCursor(""),n=!1)}a.addListener(e,"keydown",function(e){t.$blockSelectEnabled&&18==e.keyCode&&!(e.ctrlKey||e.shiftKey||e.metaKey)?n||(t.renderer.setMouseCursor("crosshair"),n=!0):n&&r()}),a.addListener(e,"keyup",r),a.addListener(e,"blur",r)}(t))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(t){t.cursor||(t.cursor=t.end);var e=this.getSelectionStyle();return t.marker=this.session.addMarker(t,"ace_selection",e),this.session.$selectionMarkers.push(t),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,t},this.removeSelectionMarker=function(t){if(t.marker){this.session.removeMarker(t.marker);var e=this.session.$selectionMarkers.indexOf(t);-1!=e&&this.session.$selectionMarkers.splice(e,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(t){for(var e=this.session.$selectionMarkers,n=t.length;n--;){var r=t[n];if(r.marker){this.session.removeMarker(r.marker);var i=e.indexOf(r);-1!=i&&e.splice(i,1)}}this.session.selectionMarkerCount=e.length},this.$onAddRange=function(t){this.addSelectionMarker(t.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(t){this.removeSelectionMarkers(t.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(t){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(u.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(t){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(u.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(t){var e=t.command,n=t.editor;if(n.multiSelect){if(e.multiSelectAction)"forEach"==e.multiSelectAction?r=n.forEachSelection(e,t.args):"forEachLine"==e.multiSelectAction?r=n.forEachSelection(e,t.args,!0):"single"==e.multiSelectAction?(n.exitMultiSelectMode(),r=e.exec(n,t.args||{})):r=e.multiSelectAction(n,t.args||{});else{var r=e.exec(n,t.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(t,e,n){if(!this.inVirtualSelectionMode){var r,i=1==n||n&&n.$byLines,s=this.session,a=this.selection,l=(n&&n.keepOrder?a:a.rangeList).ranges;if(!l.length)return t.exec?t.exec(this,e||{}):t(this,e||{});var u=a._eventRegistry;a._eventRegistry={};var c=new o(s);this.inVirtualSelectionMode=!0;for(var h=l.length;h--;){if(i)for(;h>0&&l[h].start.row==l[h-1].end.row;)h--;c.fromOrientedRange(l[h]),c.index=h,this.selection=s.selection=c;var d=t.exec?t.exec(this,e||{}):t(this,e||{});r||void 0===d||(r=d),c.toOrientedRange(l[h])}c.detach(),this.selection=s.selection=a,this.inVirtualSelectionMode=!1,a._eventRegistry=u,a.mergeOverlappingRanges();var f=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),f&&f.from==f.to&&this.renderer.animateScrolling(f.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var t="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var e=this.multiSelect.rangeList.ranges,n=[],r=0;rs&&(s=n.column),rc?t.insert(r,l.stringRepeat(" ",o-c)):t.remove(new i(r.row,r.column,r.row,r.column-o+c)),e.start.column=e.end.column=s,e.start.row=e.end.row=r.row,e.cursor=e.end}),e.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var c=this.selection.getRange(),h=c.start.row,d=c.end.row,f=h==d;if(f){var p,m=this.session.getLength();do{p=this.session.getLine(d)}while(/[=:]/.test(p)&&++d0);h<0&&(h=0),d>=m&&(d=m-1)}var g=this.session.removeFullLines(h,d);g=this.$reAlignText(g,f),this.session.insert({row:h,column:0},g.join("\n")+"\n"),f||(c.start.column=0,c.end.column=g[g.length-1].length),this.selection.setRange(c)}},this.$reAlignText=function(t,e){var n,r,i,o=!0,s=!0;return t.map(function(t){var e=t.match(/(\s*)(.*?)(\s*)([=:].*)/);return e?null==n?(n=e[1].length,r=e[2].length,i=e[3].length,e):(n+r+i!=e[1].length+e[2].length+e[3].length&&(s=!1),n!=e[1].length&&(o=!1),n>e[1].length&&(n=e[1].length),re[3].length&&(i=e[3].length),e):[t]}).map(e?u:o?s?function(t){return t[2]?a(n+r-t[2].length)+t[2]+a(i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}:u:function(t){return t[2]?a(n)+t[2]+a(i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]});function a(t){return l.stringRepeat(" ",t)}function u(t){return t[2]?a(n)+t[2]+a(r-t[2].length+i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}}}).call(d.prototype),e.onSessionChange=function(t){var e=t.session;e&&!e.multiSelect&&(e.$selectionMarkers=[],e.selection.$initRangeList(),e.multiSelect=e.selection),this.multiSelect=e&&e.multiSelect;var n=t.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),e&&(e.multiSelect.on("addRange",this.$onAddRange),e.multiSelect.on("removeRange",this.$onRemoveRange),e.multiSelect.on("multiSelect",this.$onMultiSelect),e.multiSelect.on("singleSelect",this.$onSingleSelect),e.multiSelect.lead.on("change",this.$checkMultiselectChange),e.multiSelect.anchor.on("change",this.$checkMultiselectChange)),e&&this.inMultiSelectMode!=e.selection.inMultiSelectMode&&(e.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},e.MultiSelect=f,t("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(t){f(this),t?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",s)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",s))},value:!0},enableBlockSelect:{set:function(t){this.$blockSelectEnabled=t},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(t,e,n){"use strict";var r=t("../../range").Range,i=e.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(t,e,n){var r=t.getLine(n);return this.foldingStartMarker.test(r)?"start":"markbeginend"==e&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(t,e,n){return null},this.indentationBlock=function(t,e,n){var i=/\S/,o=t.getLine(e),s=o.search(i);if(-1!=s){for(var a=n||o.length,l=t.getLength(),u=e,c=e;++eu){var d=t.getLine(c).length;return new r(u,a,c,d)}}},this.openingBracketBlock=function(t,e,n,i,o){var s={row:n,column:i+1},a=t.$findClosingBracket(e,s,o);if(a){var l=t.foldWidgets[a.row];return null==l&&(l=t.getFoldWidget(a.row)),"start"==l&&a.row>s.row&&(a.row--,a.column=t.getLine(a.row).length),r.fromPoints(s,a)}},this.closingBracketBlock=function(t,e,n,i,o){var s={row:n,column:i},a=t.$findOpeningBracket(e,s);if(a)return a.column++,s.column--,r.fromPoints(a,s)}}).call(i.prototype)}),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(t,e,n){"use strict";e.isDark=!1,e.cssClass="ace-tm",e.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t("../lib/dom").importCssString(e.cssText,e.cssClass)}),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],function(t,e,n){"use strict";t("./lib/oop");var r=t("./lib/dom");function i(t){this.session=t,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}t("./range"),(function(){this.getRowLength=function(t){var e;return e=this.lineWidgets&&this.lineWidgets[t]&&this.lineWidgets[t].rowCount||0,this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1+e:1+e},this.$getWidgetScreenLength=function(){var t=0;return this.lineWidgets.forEach(function(e){e&&e.rowCount&&!e.hidden&&(t+=e.rowCount)}),t},this.$onChangeEditor=function(t){this.attach(t.editor)},this.attach=function(t){t&&t.widgetManager&&t.widgetManager!=this&&t.widgetManager.detach(),this.editor!=t&&(this.detach(),this.editor=t,t&&(t.widgetManager=this,t.renderer.on("beforeRender",this.measureWidgets),t.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(t){var e=this.editor;if(e){this.editor=null,e.widgetManager=null,e.renderer.off("beforeRender",this.measureWidgets),e.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach(function(t){t&&t.el&&t.el.parentNode&&(t._inDocument=!1,t.el.parentNode.removeChild(t.el))})}},this.updateOnFold=function(t,e){var n=e.lineWidgets;if(n&&t.action){for(var r=t.data,i=r.start.row,o=r.end.row,s="add"==t.action,a=i+1;a0&&!r[i];)i--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,e.$cursorLayer.config=n;for(var s=i;s<=o;s++){var a=r[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,e.container.appendChild(a.el));var l=e.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-n.offset+"px";var u=a.coverGutter?0:e.gutterWidth;a.fixedWidth||(u-=e.scrollLeft),a.el.style.left=u+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.el.style.right=a.fixedWidth?e.scrollBar.getWidth()+"px":""}}}}}).call(i.prototype),e.LineWidgets=i}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(t,e,n){"use strict";var r=t("../line_widgets").LineWidgets,i=t("../lib/dom"),o=t("../range").Range;e.showErrorMarker=function(t,e){var n=t.session;n.widgetManager||(n.widgetManager=new r(n),n.widgetManager.attach(t));var s=t.getCursorPosition(),a=s.row,l=n.widgetManager.getWidgetsAtRow(a).filter(function(t){return"errorMarker"==t.type})[0];l?l.destroy():a-=e;var u,c=function(t,e,n){var r=t.getAnnotations().sort(o.comparePoints);if(r.length){var i=function(t,e,n){for(var r=0,i=t.length-1;r<=i;){var o=r+i>>1,s=n(e,t[o]);if(s>0)r=o+1;else{if(!(s<0))return o;i=o-1}}return-(r+1)}(r,{row:e,column:-1},o.comparePoints);i<0&&(i=-i-1),i>=r.length?i=n>0?0:r.length-1:0===i&&n<0&&(i=r.length-1);var s=r[i];if(s&&n){if(s.row===e){do{s=r[i+=n]}while(s&&s.row===e);if(!s)return r.slice()}var a=[];e=s.row;do{a[n<0?"unshift":"push"](s),s=r[i+=n]}while(s&&s.row==e);return a.length&&a}}}(n,a,e);if(c){var h=c[0];s.column=(h.pos&&"number"!=typeof h.column?h.pos.sc:h.column)||0,s.row=h.row,u=t.renderer.$gutterLayer.$annotations[s.row]}else{if(l)return;u={text:["Looks good!"],className:"ace_ok"}}t.session.unfold(s.row),t.selection.moveToPosition(s);var d={row:s.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},f=d.el.appendChild(i.createElement("div")),p=d.el.appendChild(i.createElement("div"));p.className="error_widget_arrow "+u.className;var m=t.renderer.$cursorLayer.getPixelPosition(s).left;p.style.left=m+t.renderer.gutterWidth-5+"px",d.el.className="error_widget_wrapper",f.className="error_widget "+u.className,f.innerHTML=u.text.join("
    "),f.appendChild(i.createElement("div"));var g=function(t,e,n){if(0===e&&("esc"===n||"return"===n))return d.destroy(),{command:"null"}};d.destroy=function(){t.$mouseHandler.isMousePressed||(t.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(d),t.off("changeSelection",d.destroy),t.off("changeSession",d.destroy),t.off("mouseup",d.destroy),t.off("change",d.destroy))},t.keyBinding.addKeyboardHandler(g),t.on("changeSelection",d.destroy),t.on("changeSession",d.destroy),t.on("mouseup",d.destroy),t.on("change",d.destroy),t.session.widgetManager.addLineWidget(d),d.el.onmousedown=t.focus.bind(t),t.renderer.scrollCursorIntoView(null,.5,{bottom:d.el.offsetHeight})},i.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")}),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(t,e,r){"use strict";t("./lib/fixoldbrowsers");var i=t("./lib/dom"),o=t("./lib/event"),s=t("./editor").Editor,a=t("./edit_session").EditSession,l=t("./undomanager").UndoManager,u=t("./virtual_renderer").VirtualRenderer;t("./worker/worker_client"),t("./keyboard/hash_handler"),t("./placeholder"),t("./multi_select"),t("./mode/folding/fold_mode"),t("./theme/textmate"),t("./ext/error_marker"),e.config=t("./config"),e.acequire=t,e.define=n("IU0J"),e.edit=function(t){if("string"==typeof t){var n=t;if(!(t=document.getElementById(n)))throw new Error("ace.edit can't find div #"+n)}if(t&&t.env&&t.env.editor instanceof s)return t.env.editor;var r="";if(t&&/input|textarea/i.test(t.tagName)){var a=t;r=a.value,t=i.createElement("pre"),a.parentNode.replaceChild(t,a)}else t&&(r=i.getInnerText(t),t.innerHTML="");var l=e.createEditSession(r),c=new s(new u(t));c.setSession(l);var h={document:l,editor:c,onResize:c.resize.bind(c,null)};return a&&(h.textarea=a),o.addListener(window,"resize",h.onResize),c.on("destroy",function(){o.removeListener(window,"resize",h.onResize),h.editor.container.env=null}),c.container.env=c.env=h,c},e.createEditSession=function(t,e){var n=new a(t,e);return n.setUndoManager(new l),n},e.EditSession=a,e.UndoManager=l,e.version="1.2.9"}),ace.acequire(["ace/ace"],function(t){for(var e in t&&(t.config.init(!0),t.define=ace.define),window.ace||(window.ace=t),t)t.hasOwnProperty(e)&&(window.ace[e]=t[e])}),t.exports=window.ace.acequire("ace/ace")},kwr2:function(t,e,n){var r=n("6QIk"),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.call(e,n,1),--this.size,0))}},"l4+b":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("D57K"),i=n("zWgn"),o=n("H4Ux"),s=n("M7nJ");e.ComposeApplicator=function(t){function e(e){void 0===e&&(e={});var n=t.call(this)||this;return n._config=e,n}return r.__extends(e,t),Object.defineProperty(e.prototype,"post",{get:function(){return!0===this._config.post},enumerable:!0,configurable:!0}),e.prototype.apply=function(t){var e=t.config.execute,n=t.value,r=void 0===n?i:n,o=t.args,a=t.target,l=this;return function(){for(var t=this,n=[],i=0;i1){e[0]=e[0].slice(0,-1);for(var r=e.length-1,i=1;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,m=String.fromCharCode;function g(t){throw new RangeError(f[t])}function v(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]);var i=function(t,e){for(var n=[],r=t.length;r--;)n[r]=e(t[r]);return n}((t=t.replace(d,".")).split("."),e).join(".");return r+i}function y(t){for(var e=[],n=0,r=t.length;n=55296&&i<=56319&&n>1,t+=p(t/e);t>455;r+=36)t=p(t/35);return p(r+36*t/(t+38))},w=function(t){var e,n=[],r=t.length,i=0,o=128,s=72,a=t.lastIndexOf("-");a<0&&(a=0);for(var l=0;l=128&&g("not-basic"),n.push(t.charCodeAt(l));for(var c=a>0?a+1:0;c=r&&g("invalid-input");var m=(e=t.charCodeAt(c++))-48<10?e-22:e-65<26?e-65:e-97<26?e-97:36;(m>=36||m>p((u-i)/d))&&g("overflow"),i+=m*d;var v=f<=s?1:f>=s+26?26:f-s;if(mp(u/y)&&g("overflow"),d*=y}var _=n.length+1;s=b(i-h,_,0==h),p(i/_)>u-o&&g("overflow"),o+=p(i/_),i%=_,n.splice(i++,0,o)}return String.fromCodePoint.apply(String,n)},C=function(t){var e=[],n=(t=y(t)).length,r=128,i=0,o=72,s=!0,a=!1,l=void 0;try{for(var c,h=t[Symbol.iterator]();!(s=(c=h.next()).done);s=!0){var d=c.value;d<128&&e.push(m(d))}}catch(N){a=!0,l=N}finally{try{!s&&h.return&&h.return()}finally{if(a)throw l}}var f=e.length,v=f;for(f&&e.push("-");v=r&&kp((u-i)/F)&&g("overflow"),i+=(w-r)*F,r=w;var D=!0,O=!1,P=void 0;try{for(var R,T=t[Symbol.iterator]();!(D=(R=T.next()).done);D=!0){var I=R.value;if(Iu&&g("overflow"),I==r){for(var L=i,B=36;;B+=36){var $=B<=o?1:B>=o+26?26:B-o;if(L<$)break;var M=L-$,j=36-$;e.push(m(_($+M%j,0))),L=p(M/j)}e.push(m(_(L,0))),o=b(i,F,v==f),i=0,++v}}}catch(N){O=!0,P=N}finally{try{!D&&T.return&&T.return()}finally{if(O)throw P}}++i,++r}return e.join("")},E={version:"2.1.0",ucs2:{decode:y,encode:function(t){return String.fromCodePoint.apply(String,function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e>6|192).toString(16).toUpperCase()+"%"+(63&e|128).toString(16).toUpperCase():"%"+(e>>12|224).toString(16).toUpperCase()+"%"+(e>>6&63|128).toString(16).toUpperCase()+"%"+(63&e|128).toString(16).toUpperCase()}function S(t){for(var e="",n=0,r=t.length;n=194&&i<224){if(r-n>=6){var o=parseInt(t.substr(n+4,2),16);e+=String.fromCharCode((31&i)<<6|63&o)}else e+=t.substr(n,6);n+=6}else if(i>=224){if(r-n>=9){var s=parseInt(t.substr(n+4,2),16),a=parseInt(t.substr(n+7,2),16);e+=String.fromCharCode((15&i)<<12|(63&s)<<6|63&a)}else e+=t.substr(n,9);n+=9}else e+=t.substr(n,3),n+=3}return e}function k(t,e){function n(t){var n=S(t);return n.match(e.UNRESERVED)?n:t}return t.scheme&&(t.scheme=String(t.scheme).replace(e.PCT_ENCODED,n).toLowerCase().replace(e.NOT_SCHEME,"")),void 0!==t.userinfo&&(t.userinfo=String(t.userinfo).replace(e.PCT_ENCODED,n).replace(e.NOT_USERINFO,x).replace(e.PCT_ENCODED,i)),void 0!==t.host&&(t.host=String(t.host).replace(e.PCT_ENCODED,n).toLowerCase().replace(e.NOT_HOST,x).replace(e.PCT_ENCODED,i)),void 0!==t.path&&(t.path=String(t.path).replace(e.PCT_ENCODED,n).replace(t.scheme?e.NOT_PATH:e.NOT_PATH_NOSCHEME,x).replace(e.PCT_ENCODED,i)),void 0!==t.query&&(t.query=String(t.query).replace(e.PCT_ENCODED,n).replace(e.NOT_QUERY,x).replace(e.PCT_ENCODED,i)),void 0!==t.fragment&&(t.fragment=String(t.fragment).replace(e.PCT_ENCODED,n).replace(e.NOT_FRAGMENT,x).replace(e.PCT_ENCODED,i)),t}function F(t){return t.replace(/^0*(.*)/,"$1")||"0"}function D(t,e){var n=t.match(e.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(F).join("."):t}function O(t,e){var n=t.match(e.IPV6ADDRESS)||[],r=l(n,3),i=r[1],o=r[2];if(i){for(var s=i.toLowerCase().split("::").reverse(),a=l(s,2),u=a[0],c=a[1],h=c?c.split(":").map(F):[],d=u.split(":").map(F),f=e.IPV4ADDRESS.test(d[d.length-1]),p=f?7:8,m=d.length-p,g=Array(p),v=0;v1){var b=g.slice(0,y.index),w=g.slice(y.index+y.length);_=b.join(":")+"::"+w.join(":")}else _=g.join(":");return o&&(_+="%"+o),_}return t}var P=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,R=void 0==="".match(/(){0}/)[1];function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==e.iri?a:s;"suffix"===e.reference&&(t=(e.scheme?e.scheme+":":"")+"//"+t);var i=t.match(P);if(i){R?(n.scheme=i[1],n.userinfo=i[3],n.host=i[4],n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=i[7],n.fragment=i[8],isNaN(n.port)&&(n.port=i[5])):(n.scheme=i[1]||void 0,n.userinfo=-1!==t.indexOf("@")?i[3]:void 0,n.host=-1!==t.indexOf("//")?i[4]:void 0,n.port=parseInt(i[5],10),n.path=i[6]||"",n.query=-1!==t.indexOf("?")?i[7]:void 0,n.fragment=-1!==t.indexOf("#")?i[8]:void 0,isNaN(n.port)&&(n.port=t.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),n.host&&(n.host=O(D(n.host,r),r)),n.reference=void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?"relative":void 0===n.fragment?"absolute":"uri":"same-document",e.reference&&"suffix"!==e.reference&&e.reference!==n.reference&&(n.error=n.error||"URI is not a "+e.reference+" reference.");var o=A[(e.scheme||n.scheme||"").toLowerCase()];if(e.unicodeSupport||o&&o.unicodeSupport)k(n,r);else{if(n.host&&(e.domainHost||o&&o.domainHost))try{n.host=E.toASCII(n.host.replace(r.PCT_ENCODED,S).toLowerCase())}catch(l){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+l}k(n,s)}o&&o.parse&&o.parse(n,e)}else n.error=n.error||"URI can not be parsed.";return n}var I=/^\.\.?\//,L=/^\/\.(\/|$)/,B=/^\/\.\.(\/|$)/,$=/^\/?(?:.|\n)*?(?=\/|$)/;function M(t){for(var e=[];t.length;)if(t.match(I))t=t.replace(I,"");else if(t.match(L))t=t.replace(L,"/");else if(t.match(B))t=t.replace(B,"/"),e.pop();else if("."===t||".."===t)t="";else{var n=t.match($);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];t=t.slice(r.length),e.push(r)}return e.join("")}function j(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.iri?a:s,r=[],i=A[(e.scheme||t.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(t,e),t.host)if(n.IPV6ADDRESS.test(t.host));else if(e.domainHost||i&&i.domainHost)try{t.host=e.iri?E.toUnicode(t.host):E.toASCII(t.host.replace(n.PCT_ENCODED,S).toLowerCase())}catch(u){t.error=t.error||"Host's domain name can not be converted to "+(e.iri?"Unicode":"ASCII")+" via punycode: "+u}k(t,n),"suffix"!==e.reference&&t.scheme&&(r.push(t.scheme),r.push(":"));var o=function(t,e){var n=!1!==e.iri?a:s,r=[];return void 0!==t.userinfo&&(r.push(t.userinfo),r.push("@")),void 0!==t.host&&r.push(O(D(String(t.host),n),n).replace(n.IPV6ADDRESS,function(t,e,n){return"["+e+(n?"%25"+n:"")+"]"})),"number"==typeof t.port&&(r.push(":"),r.push(t.port.toString(10))),r.length?r.join(""):void 0}(t,e);if(void 0!==o&&("suffix"!==e.reference&&r.push("//"),r.push(o),t.path&&"/"!==t.path.charAt(0)&&r.push("/")),void 0!==t.path){var l=t.path;e.absolutePath||i&&i.absolutePath||(l=M(l)),void 0===o&&(l=l.replace(/^\/\//,"/%2F")),r.push(l)}return void 0!==t.query&&(r.push("?"),r.push(t.query)),void 0!==t.fragment&&(r.push("#"),r.push(t.fragment)),r.join("")}function N(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(t=T(j(t,n),n),e=T(j(e,n),n)),!(n=n||{}).tolerant&&e.scheme?(r.scheme=e.scheme,r.userinfo=e.userinfo,r.host=e.host,r.port=e.port,r.path=M(e.path||""),r.query=e.query):(void 0!==e.userinfo||void 0!==e.host||void 0!==e.port?(r.userinfo=e.userinfo,r.host=e.host,r.port=e.port,r.path=M(e.path||""),r.query=e.query):(e.path?("/"===e.path.charAt(0)?r.path=M(e.path):(r.path=void 0===t.userinfo&&void 0===t.host&&void 0===t.port||t.path?t.path?t.path.slice(0,t.path.lastIndexOf("/")+1)+e.path:e.path:"/"+e.path,r.path=M(r.path)),r.query=e.query):(r.path=t.path,r.query=void 0!==e.query?e.query:t.query),r.userinfo=t.userinfo,r.host=t.host,r.port=t.port),r.scheme=t.scheme),r.fragment=e.fragment,r}function V(t,e){return t&&t.toString().replace(e&&e.iri?a.PCT_ENCODED:s.PCT_ENCODED,S)}var z={scheme:"http",domainHost:!0,parse:function(t,e){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t},serialize:function(t,e){return t.port!==("https"!==String(t.scheme).toLowerCase()?80:443)&&""!==t.port||(t.port=void 0),t.path||(t.path="/"),t}},H={scheme:"https",domainHost:z.domainHost,parse:z.parse,serialize:z.serialize},U={},W="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",K="[0-9A-Fa-f]",q=n(n("%[EFef][0-9A-Fa-f]%"+K+K+"%"+K+K)+"|"+n("%[89A-Fa-f][0-9A-Fa-f]%"+K+K)+"|"+n("%"+K+K)),G=e("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Q=new RegExp(W,"g"),Y=new RegExp(q,"g"),X=new RegExp(e("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',G),"g"),Z=new RegExp(e("[^]",W,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),J=Z;function tt(t){var e=S(t);return e.match(Q)?e:t}var et={scheme:"mailto",parse:function(t,e){var n=t,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var i=!1,o={},s=n.query.split("&"),a=0,l=s.length;a>>1,R=[["ary",b],["bind",f],["bindKey",p],["curry",g],["curryRight",v],["flip",C],["partial",y],["partialRight",_],["rearg",w]],T="[object Arguments]",I="[object Array]",L="[object AsyncFunction]",B="[object Boolean]",$="[object Date]",M="[object DOMException]",j="[object Error]",N="[object Function]",V="[object GeneratorFunction]",z="[object Map]",H="[object Number]",U="[object Null]",W="[object Object]",K="[object Proxy]",q="[object RegExp]",G="[object Set]",Q="[object String]",Y="[object Symbol]",X="[object Undefined]",Z="[object WeakMap]",J="[object ArrayBuffer]",tt="[object DataView]",et="[object Float32Array]",nt="[object Float64Array]",rt="[object Int8Array]",it="[object Int16Array]",ot="[object Int32Array]",st="[object Uint8Array]",at="[object Uint8ClampedArray]",lt="[object Uint16Array]",ut="[object Uint32Array]",ct=/\b__p \+= '';/g,ht=/\b(__p \+=) '' \+/g,dt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ft=/&(?:amp|lt|gt|quot|#39);/g,pt=/[&<>"']/g,mt=RegExp(ft.source),gt=RegExp(pt.source),vt=/<%-([\s\S]+?)%>/g,yt=/<%([\s\S]+?)%>/g,_t=/<%=([\s\S]+?)%>/g,bt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wt=/^\w*$/,Ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Et=/[\\^$.*+?()[\]{}|]/g,At=RegExp(Et.source),xt=/^\s+|\s+$/g,St=/^\s+/,kt=/\s+$/,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Dt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ot=/,? & /,Pt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rt=/\\(\\)?/g,Tt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,It=/\w*$/,Lt=/^[-+]0x[0-9a-f]+$/i,Bt=/^0b[01]+$/i,$t=/^\[object .+?Constructor\]$/,Mt=/^0o[0-7]+$/i,jt=/^(?:0|[1-9]\d*)$/,Nt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vt=/($^)/,zt=/['\n\r\u2028\u2029\\]/g,Ht="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ut="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Wt="["+Ut+"]",Kt="["+Ht+"]",qt="\\d+",Gt="[a-z\\xdf-\\xf6\\xf8-\\xff]",Qt="[^\\ud800-\\udfff"+Ut+qt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Yt="\\ud83c[\\udffb-\\udfff]",Xt="[^\\ud800-\\udfff]",Zt="(?:\\ud83c[\\udde6-\\uddff]){2}",Jt="[\\ud800-\\udbff][\\udc00-\\udfff]",te="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ee="(?:"+Gt+"|"+Qt+")",ne="(?:"+te+"|"+Qt+")",re="(?:"+Kt+"|"+Yt+")?",ie="[\\ufe0e\\ufe0f]?"+re+"(?:\\u200d(?:"+[Xt,Zt,Jt].join("|")+")[\\ufe0e\\ufe0f]?"+re+")*",oe="(?:"+["[\\u2700-\\u27bf]",Zt,Jt].join("|")+")"+ie,se="(?:"+[Xt+Kt+"?",Kt,Zt,Jt,"[\\ud800-\\udfff]"].join("|")+")",ae=RegExp("['\u2019]","g"),le=RegExp(Kt,"g"),ue=RegExp(Yt+"(?="+Yt+")|"+se+ie,"g"),ce=RegExp([te+"?"+Gt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[Wt,te,"$"].join("|")+")",ne+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[Wt,te+ee,"$"].join("|")+")",te+"?"+ee+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",te+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",qt,oe].join("|"),"g"),he=RegExp("[\\u200d\\ud800-\\udfff"+Ht+"\\ufe0e\\ufe0f]"),de=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],pe=-1,me={};me[et]=me[nt]=me[rt]=me[it]=me[ot]=me[st]=me[at]=me[lt]=me[ut]=!0,me[T]=me[I]=me[J]=me[B]=me[tt]=me[$]=me[j]=me[N]=me[z]=me[H]=me[W]=me[q]=me[G]=me[Q]=me[Z]=!1;var ge={};ge[T]=ge[I]=ge[J]=ge[tt]=ge[B]=ge[$]=ge[et]=ge[nt]=ge[rt]=ge[it]=ge[ot]=ge[z]=ge[H]=ge[W]=ge[q]=ge[G]=ge[Q]=ge[Y]=ge[st]=ge[at]=ge[lt]=ge[ut]=!0,ge[j]=ge[N]=ge[Z]=!1;var ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ye=parseFloat,_e=parseInt,be="object"==typeof global&&global&&global.Object===Object&&global,we="object"==typeof self&&self&&self.Object===Object&&self,Ce=be||we||Function("return this")(),Ee=e&&!e.nodeType&&e,Ae=Ee&&"object"==typeof t&&t&&!t.nodeType&&t,xe=Ae&&Ae.exports===Ee,Se=xe&&be.process,ke=function(){try{return Ae&&Ae.require&&Ae.require("util").types||Se&&Se.binding&&Se.binding("util")}catch(t){}}(),Fe=ke&&ke.isArrayBuffer,De=ke&&ke.isDate,Oe=ke&&ke.isMap,Pe=ke&&ke.isRegExp,Re=ke&&ke.isSet,Te=ke&&ke.isTypedArray;function Ie(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Le(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i-1}function Ne(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function un(t,e){for(var n=t.length;n--&&Qe(e,t[n],0)>-1;);return n}var cn=tn({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),hn=tn({"&":"&","<":"<",">":">",'"':""","'":"'"});function dn(t){return"\\"+ve[t]}function fn(t){return he.test(t)}function pn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function mn(t,e){return function(n){return t(e(n))}}function gn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"}),Cn=function t(e){var n,r=(e=null==e?Ce:Cn.defaults(Ce.Object(),e,Cn.pick(Ce,fe))).Array,Ht=e.Date,Ut=e.Error,Wt=e.Function,Kt=e.Math,qt=e.Object,Gt=e.RegExp,Qt=e.String,Yt=e.TypeError,Xt=r.prototype,Zt=qt.prototype,Jt=e["__core-js_shared__"],te=Wt.prototype.toString,ee=Zt.hasOwnProperty,ne=0,re=(n=/[^.]+$/.exec(Jt&&Jt.keys&&Jt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ie=Zt.toString,oe=te.call(qt),se=Ce._,ue=Gt("^"+te.call(ee).replace(Et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),he=xe?e.Buffer:i,ve=e.Symbol,be=e.Uint8Array,we=he?he.allocUnsafe:i,Ee=mn(qt.getPrototypeOf,qt),Ae=qt.create,Se=Zt.propertyIsEnumerable,ke=Xt.splice,Ke=ve?ve.isConcatSpreadable:i,tn=ve?ve.iterator:i,En=ve?ve.toStringTag:i,An=function(){try{var t=Eo(qt,"defineProperty");return t({},"",{}),t}catch(e){}}(),xn=e.clearTimeout!==Ce.clearTimeout&&e.clearTimeout,Sn=Ht&&Ht.now!==Ce.Date.now&&Ht.now,kn=e.setTimeout!==Ce.setTimeout&&e.setTimeout,Fn=Kt.ceil,Dn=Kt.floor,On=qt.getOwnPropertySymbols,Pn=he?he.isBuffer:i,Rn=e.isFinite,Tn=Xt.join,In=mn(qt.keys,qt),Ln=Kt.max,Bn=Kt.min,$n=Ht.now,Mn=e.parseInt,jn=Kt.random,Nn=Xt.reverse,Vn=Eo(e,"DataView"),zn=Eo(e,"Map"),Hn=Eo(e,"Promise"),Un=Eo(e,"Set"),Wn=Eo(e,"WeakMap"),Kn=Eo(qt,"create"),qn=Wn&&new Wn,Gn={},Qn=Qo(Vn),Yn=Qo(zn),Xn=Qo(Hn),Zn=Qo(Un),Jn=Qo(Wn),tr=ve?ve.prototype:i,er=tr?tr.valueOf:i,nr=tr?tr.toString:i;function rr(t){if(da(t)&&!ea(t)&&!(t instanceof ar)){if(t instanceof sr)return t;if(ee.call(t,"__wrapped__"))return Yo(t)}return new sr(t)}var ir=function(){function t(){}return function(e){if(!ha(e))return{};if(Ae)return Ae(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function or(){}function sr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function ar(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=D,this.__views__=[]}function lr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Er(t,e,n,r,o,s){var a,h=e&l,d=e&u,f=e&c;if(n&&(a=o?n(t,r,o,s):n(t)),a!==i)return a;if(!ha(t))return t;var p=ea(t);if(p){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ee.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!h)return Ni(t,a)}else{var m=So(t),g=m==N||m==V;if(oa(t))return Ii(t,h);if(m==W||m==T||g&&!o){if(a=d||g?{}:Fo(t),!h)return d?function(t,e){return Vi(t,xo(t),e)}(t,function(e,n){return e&&Vi(t,Ha(t),e)}(a)):function(t,e){return Vi(t,Ao(t),e)}(t,_r(a,t))}else{if(!ge[m])return o?t:{};a=function(t,e,n){var r,i,o=t.constructor;switch(e){case J:return Li(t);case B:case $:return new o(+t);case tt:return function(t,e){var n=e?Li(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case et:case nt:case rt:case it:case ot:case st:case at:case lt:case ut:return Bi(t,n);case z:return new o;case H:case Q:return new o(t);case q:return(i=new(r=t).constructor(r.source,It.exec(r))).lastIndex=r.lastIndex,i;case G:return new o;case Y:return er?qt(er.call(t)):{}}}(t,m,h)}}s||(s=new dr);var v=s.get(t);if(v)return v;s.set(t,a),va(t)?t.forEach(function(r){a.add(Er(r,e,n,r,t,s))}):fa(t)&&t.forEach(function(r,i){a.set(i,Er(r,e,n,i,t,s))});var y=p?i:(f?d?go:mo:d?Ha:za)(t);return Be(y||t,function(r,i){y&&(r=t[i=r]),gr(a,i,Er(r,e,n,i,t,s))}),a}function Ar(t,e,n){var r=n.length;if(null==t)return!r;for(t=qt(t);r--;){var o=n[r],s=t[o];if(s===i&&!(o in t)||!(0,e[o])(s))return!1}return!0}function xr(t,e,n){if("function"!=typeof t)throw new Yt(s);return zo(function(){t.apply(i,n)},e)}function Sr(t,e,n,r){var i=-1,s=je,a=!0,l=t.length,u=[],c=e.length;if(!l)return u;n&&(e=Ve(e,on(n))),r?(s=Ne,a=!1):e.length>=o&&(s=an,a=!1,e=new hr(e));t:for(;++i-1},ur.prototype.set=function(t,e){var n=this.__data__,r=vr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},cr.prototype.clear=function(){this.size=0,this.__data__={hash:new lr,map:new(zn||ur),string:new lr}},cr.prototype.delete=function(t){var e=wo(this,t).delete(t);return this.size-=e?1:0,e},cr.prototype.get=function(t){return wo(this,t).get(t)},cr.prototype.has=function(t){return wo(this,t).has(t)},cr.prototype.set=function(t,e){var n=wo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},hr.prototype.add=hr.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},hr.prototype.has=function(t){return this.__data__.has(t)},dr.prototype.clear=function(){this.__data__=new ur,this.size=0},dr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},dr.prototype.get=function(t){return this.__data__.get(t)},dr.prototype.has=function(t){return this.__data__.has(t)},dr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ur){var r=n.__data__;if(!zn||r.length0&&n(a)?e>1?Rr(a,e-1,n,r,i):ze(i,a):r||(i[i.length]=a)}return i}var Tr=Wi(),Ir=Wi(!0);function Lr(t,e){return t&&Tr(t,e,za)}function Br(t,e){return t&&Ir(t,e,za)}function $r(t,e){return Me(e,function(e){return la(t[e])})}function Mr(t,e){for(var n=0,r=(e=Oi(e,t)).length;null!=t&&ne}function zr(t,e){return null!=t&&ee.call(t,e)}function Hr(t,e){return null!=t&&e in qt(t)}function Ur(t,e,n){for(var o=n?Ne:je,s=t[0].length,a=t.length,l=a,u=r(a),c=1/0,h=[];l--;){var d=t[l];l&&e&&(d=Ve(d,on(e))),c=Bn(d.length,c),u[l]=!n&&(e||s>=120&&d.length>=120)?new hr(l&&d):i}d=t[0];var f=-1,p=u[0];t:for(;++f=a?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)});r--;)t[r]=t[r].value;return t}(Jr(t,function(t,n,i){return{criteria:Ve(e,function(e){return e(t)}),index:++r,value:t}}))}function oi(t,e,n){for(var r=-1,i=e.length,o={};++r-1;)a!==t&&ke.call(a,l,1),ke.call(t,l,1);return t}function ai(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Oo(i)?ke.call(t,i,1):Ci(t,i)}}return t}function li(t,e){return t+Dn(jn()*(e-t+1))}function ui(t,e){var n="";if(!t||e<1||e>S)return n;do{e%2&&(n+=t),(e=Dn(e/2))&&(t+=t)}while(e);return n}function ci(t,e){return Ho(Mo(t,e,pl),t+"")}function hi(t,e,n,r){if(!ha(t))return t;for(var o=-1,s=(e=Oi(e,t)).length,a=s-1,l=t;null!=l&&++oo?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=r(o);++i>>1,s=t[o];null!==s&&!_a(s)&&(n?s<=e:s=o){var c=e?null:so(t);if(c)return vn(c);a=!1,i=an,u=new hr}else u=e?[]:l;t:for(;++r=r?t:pi(t,e,n)}var Ti=xn||function(t){return Ce.clearTimeout(t)};function Ii(t,e){if(e)return t.slice();var n=t.length,r=we?we(n):new t.constructor(n);return t.copy(r),r}function Li(t){var e=new t.constructor(t.byteLength);return new be(e).set(new be(t)),e}function Bi(t,e){var n=e?Li(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function $i(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,s=_a(t),a=e!==i,l=null===e,u=e==e,c=_a(e);if(!l&&!c&&!s&&t>e||s&&a&&u&&!l&&!c||r&&a&&u||!n&&u||!o)return 1;if(!r&&!s&&!c&&t1?n[o-1]:i,a=o>2?n[2]:i;for(s=t.length>3&&"function"==typeof s?(o--,s):i,a&&Po(n[0],n[1],a)&&(s=o<3?i:s,o=1),e=qt(e);++r-1?o[s?e[a]:a]:i}}function Yi(t){return po(function(e){var n=e.length,r=n,o=sr.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new Yt(s);if(o&&!l&&"wrapper"==yo(a))var l=new sr([],!0)}for(r=l?r:n;++r1&&g.reverse(),d&&cl))return!1;var c=s.get(t);if(c&&s.get(e))return c==e;var f=-1,p=!0,m=n&d?new hr:i;for(s.set(t,e),s.set(e,t);++f-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Be(R,function(n){var r="_."+n[0];e&n[1]&&!je(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Dt);return e?e[1].split(Ot):[]}(r),n)))}function Wo(t){var e=0,n=0;return function(){var r=$n(),o=A-(r-n);if(n=r,o>0){if(++e>=E)return arguments[0]}else e=0;return t.apply(i,arguments)}}function Ko(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,gs(t,n)});function Es(t){var e=rr(t);return e.__chain__=!0,e}function As(t,e){return e(t)}var xs=po(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return wr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof ar&&Oo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:As,args:[o],thisArg:i}),new sr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(i),t})):this.thru(o)}),Ss=zi(function(t,e,n){ee.call(t,n)?++t[n]:br(t,n,1)}),ks=Qi(ts),Fs=Qi(es);function Ds(t,e){return(ea(t)?Be:kr)(t,bo(e,3))}function Os(t,e){return(ea(t)?function(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}:Fr)(t,bo(e,3))}var Ps=zi(function(t,e,n){ee.call(t,n)?t[n].push(e):br(t,n,[e])}),Rs=ci(function(t,e,n){var i=-1,o="function"==typeof e,s=ra(t)?r(t.length):[];return kr(t,function(t){s[++i]=o?Ie(e,t,n):Wr(t,e,n)}),s}),Ts=zi(function(t,e,n){br(t,n,e)});function Is(t,e){return(ea(t)?Ve:Jr)(t,bo(e,3))}var Ls=zi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Bs=ci(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Po(t,e[0],e[1])?e=[]:n>2&&Po(e[0],e[1],e[2])&&(e=[e[0]]),ii(t,Rr(e,1),[])}),$s=Sn||function(){return Ce.Date.now()};function Ms(t,e,n){return e=n?i:e,lo(t,b,i,i,i,i,e=t&&null==e?t.length:e)}function js(t,e){var n;if("function"!=typeof e)throw new Yt(s);return t=xa(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var Ns=ci(function(t,e,n){var r=f;if(n.length){var i=gn(n,_o(Ns));r|=y}return lo(t,r,e,n,i)}),Vs=ci(function(t,e,n){var r=f|p;if(n.length){var i=gn(n,_o(Vs));r|=y}return lo(e,r,t,n,i)});function zs(t,e,n){var r,o,a,l,u,c,h=0,d=!1,f=!1,p=!0;if("function"!=typeof t)throw new Yt(s);function m(e){var n=r,s=o;return r=o=i,h=e,l=t.apply(s,n)}function g(t){var n=t-c;return c===i||n>=e||n<0||f&&t-h>=a}function v(){var t=$s();if(g(t))return y(t);u=zo(v,function(t){var n=e-(t-c);return f?Bn(n,a-(t-h)):n}(t))}function y(t){return u=i,p&&r?m(t):(r=o=i,l)}function _(){var t=$s(),n=g(t);if(r=arguments,o=this,c=t,n){if(u===i)return function(t){return h=t,u=zo(v,e),d?m(t):l}(c);if(f)return Ti(u),u=zo(v,e),m(c)}return u===i&&(u=zo(v,e)),l}return e=ka(e)||0,ha(n)&&(d=!!n.leading,a=(f="maxWait"in n)?Ln(ka(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),_.cancel=function(){u!==i&&Ti(u),h=0,r=c=o=u=i},_.flush=function(){return u===i?l:y($s())},_}var Hs=ci(function(t,e){return xr(t,1,e)}),Us=ci(function(t,e,n){return xr(t,ka(e)||0,n)});function Ws(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Yt(s);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ws.Cache||cr),n}function Ks(t){if("function"!=typeof t)throw new Yt(s);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ws.Cache=cr;var qs=Pi(function(t,e){var n=(e=1==e.length&&ea(e[0])?Ve(e[0],on(bo())):Ve(Rr(e,1),on(bo()))).length;return ci(function(r){for(var i=-1,o=Bn(r.length,n);++i=e}),ta=Kr(function(){return arguments}())?Kr:function(t){return da(t)&&ee.call(t,"callee")&&!Se.call(t,"callee")},ea=r.isArray,na=Fe?on(Fe):function(t){return da(t)&&Nr(t)==J};function ra(t){return null!=t&&ca(t.length)&&!la(t)}function ia(t){return da(t)&&ra(t)}var oa=Pn||kl,sa=De?on(De):function(t){return da(t)&&Nr(t)==$};function aa(t){if(!da(t))return!1;var e=Nr(t);return e==j||e==M||"string"==typeof t.message&&"string"==typeof t.name&&!ma(t)}function la(t){if(!ha(t))return!1;var e=Nr(t);return e==N||e==V||e==L||e==K}function ua(t){return"number"==typeof t&&t==xa(t)}function ca(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=S}function ha(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function da(t){return null!=t&&"object"==typeof t}var fa=Oe?on(Oe):function(t){return da(t)&&So(t)==z};function pa(t){return"number"==typeof t||da(t)&&Nr(t)==H}function ma(t){if(!da(t)||Nr(t)!=W)return!1;var e=Ee(t);if(null===e)return!0;var n=ee.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&te.call(n)==oe}var ga=Pe?on(Pe):function(t){return da(t)&&Nr(t)==q},va=Re?on(Re):function(t){return da(t)&&So(t)==G};function ya(t){return"string"==typeof t||!ea(t)&&da(t)&&Nr(t)==Q}function _a(t){return"symbol"==typeof t||da(t)&&Nr(t)==Y}var ba=Te?on(Te):function(t){return da(t)&&ca(t.length)&&!!me[Nr(t)]},wa=ro(Zr),Ca=ro(function(t,e){return t<=e});function Ea(t){if(!t)return[];if(ra(t))return ya(t)?bn(t):Ni(t);if(tn&&t[tn])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[tn]());var e=So(t);return(e==z?pn:e==G?vn:Xa)(t)}function Aa(t){return t?(t=ka(t))===x||t===-x?(t<0?-1:1)*k:t==t?t:0:0===t?t:0}function xa(t){var e=Aa(t),n=e%1;return e==e?n?e-n:e:0}function Sa(t){return t?Cr(xa(t),0,D):0}function ka(t){if("number"==typeof t)return t;if(_a(t))return F;if(ha(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ha(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(xt,"");var n=Bt.test(t);return n||Mt.test(t)?_e(t.slice(2),n?2:8):Lt.test(t)?F:+t}function Fa(t){return Vi(t,Ha(t))}function Da(t){return null==t?"":bi(t)}var Oa=Hi(function(t,e){if(Lo(e)||ra(e))Vi(e,za(e),t);else for(var n in e)ee.call(e,n)&&gr(t,n,e[n])}),Pa=Hi(function(t,e){Vi(e,Ha(e),t)}),Ra=Hi(function(t,e,n,r){Vi(e,Ha(e),t,r)}),Ta=Hi(function(t,e,n,r){Vi(e,za(e),t,r)}),Ia=po(wr),La=ci(function(t,e){t=qt(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&Po(e[0],e[1],o)&&(r=1);++n1),e}),Vi(t,go(t),n),r&&(n=Er(n,l|u|c,ho));for(var i=e.length;i--;)Ci(n,e[i]);return n}),qa=po(function(t,e){return null==t?{}:function(t,e){return oi(t,e,function(e,n){return Ma(t,n)})}(t,e)});function Ga(t,e){if(null==t)return{};var n=Ve(go(t),function(t){return[t]});return e=bo(e),oi(t,n,function(t,n){return e(t,n[0])})}var Qa=ao(za),Ya=ao(Ha);function Xa(t){return null==t?[]:sn(t,za(t))}var Za=qi(function(t,e,n){return e=e.toLowerCase(),t+(n?Ja(e):e)});function Ja(t){return al(Da(t).toLowerCase())}function tl(t){return(t=Da(t))&&t.replace(Nt,cn).replace(le,"")}var el=qi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),nl=qi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),rl=Ki("toLowerCase"),il=qi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),ol=qi(function(t,e,n){return t+(n?" ":"")+al(e)}),sl=qi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),al=Ki("toUpperCase");function ll(t,e,n){return t=Da(t),(e=n?i:e)===i?function(t){return de.test(t)}(t)?function(t){return t.match(ce)||[]}(t):function(t){return t.match(Pt)||[]}(t):t.match(e)||[]}var ul=ci(function(t,e){try{return Ie(t,i,e)}catch(n){return aa(n)?n:new Ut(n)}}),cl=po(function(t,e){return Be(e,function(e){e=Go(e),br(t,e,Ns(t[e],t))}),t});function hl(t){return function(){return t}}var dl=Yi(),fl=Yi(!0);function pl(t){return t}function ml(t){return Yr("function"==typeof t?t:Er(t,l))}var gl=ci(function(t,e){return function(n){return Wr(n,t,e)}}),vl=ci(function(t,e){return function(n){return Wr(t,n,e)}});function yl(t,e,n){var r=za(e),i=$r(e,r);null!=n||ha(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=$r(e,za(e)));var o=!(ha(n)&&"chain"in n&&!n.chain),s=la(t);return Be(i,function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ni(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,ze([this.value()],arguments))})}),t}function _l(){}var bl=to(Ve),wl=to($e),Cl=to(We);function El(t){return Ro(t)?Je(Go(t)):function(t){return function(e){return Mr(e,t)}}(t)}var Al=no(),xl=no(!0);function Sl(){return[]}function kl(){return!1}var Fl,Dl=Ji(function(t,e){return t+e},0),Ol=oo("ceil"),Pl=Ji(function(t,e){return t/e},1),Rl=oo("floor"),Tl=Ji(function(t,e){return t*e},1),Il=oo("round"),Ll=Ji(function(t,e){return t-e},0);return rr.after=function(t,e){if("function"!=typeof e)throw new Yt(s);return t=xa(t),function(){if(--t<1)return e.apply(this,arguments)}},rr.ary=Ms,rr.assign=Oa,rr.assignIn=Pa,rr.assignInWith=Ra,rr.assignWith=Ta,rr.at=Ia,rr.before=js,rr.bind=Ns,rr.bindAll=cl,rr.bindKey=Vs,rr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ea(t)?t:[t]},rr.chain=Es,rr.chunk=function(t,e,n){e=(n?Po(t,e,n):e===i)?1:Ln(xa(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,a=0,l=r(Fn(o/e));so?0:o+n),(r=r===i||r>o?o:xa(r))<0&&(r+=o),r=n>r?0:Sa(r);n>>0)?(t=Da(t))&&("string"==typeof e||null!=e&&!ga(e))&&!(e=bi(e))&&fn(t)?Ri(bn(t),0,n):t.split(e,n):[]},rr.spread=function(t,e){if("function"!=typeof t)throw new Yt(s);return e=null==e?0:Ln(xa(e),0),ci(function(n){var r=n[e],i=Ri(n,0,e);return r&&ze(i,r),Ie(t,this,i)})},rr.tail=function(t){var e=null==t?0:t.length;return e?pi(t,1,e):[]},rr.take=function(t,e,n){return t&&t.length?pi(t,0,(e=n||e===i?1:xa(e))<0?0:e):[]},rr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?pi(t,(e=r-(e=n||e===i?1:xa(e)))<0?0:e,r):[]},rr.takeRightWhile=function(t,e){return t&&t.length?Ai(t,bo(e,3),!1,!0):[]},rr.takeWhile=function(t,e){return t&&t.length?Ai(t,bo(e,3)):[]},rr.tap=function(t,e){return e(t),t},rr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Yt(s);return ha(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),zs(t,e,{leading:r,maxWait:e,trailing:i})},rr.thru=As,rr.toArray=Ea,rr.toPairs=Qa,rr.toPairsIn=Ya,rr.toPath=function(t){return ea(t)?Ve(t,Go):_a(t)?[t]:Ni(qo(Da(t)))},rr.toPlainObject=Fa,rr.transform=function(t,e,n){var r=ea(t),i=r||oa(t)||ba(t);if(e=bo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:ha(t)&&la(o)?ir(Ee(t)):{}}return(i?Be:Lr)(t,function(t,r,i){return e(n,t,r,i)}),n},rr.unary=function(t){return Ms(t,1)},rr.union=ds,rr.unionBy=fs,rr.unionWith=ps,rr.uniq=function(t){return t&&t.length?wi(t):[]},rr.uniqBy=function(t,e){return t&&t.length?wi(t,bo(e,2)):[]},rr.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?wi(t,i,e):[]},rr.unset=function(t,e){return null==t||Ci(t,e)},rr.unzip=ms,rr.unzipWith=gs,rr.update=function(t,e,n){return null==t?t:Ei(t,e,Di(n))},rr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:Ei(t,e,Di(n),r)},rr.values=Xa,rr.valuesIn=function(t){return null==t?[]:sn(t,Ha(t))},rr.without=vs,rr.words=ll,rr.wrap=function(t,e){return Gs(Di(e),t)},rr.xor=ys,rr.xorBy=_s,rr.xorWith=bs,rr.zip=ws,rr.zipObject=function(t,e){return ki(t||[],e||[],gr)},rr.zipObjectDeep=function(t,e){return ki(t||[],e||[],hi)},rr.zipWith=Cs,rr.entries=Qa,rr.entriesIn=Ya,rr.extend=Pa,rr.extendWith=Ra,yl(rr,rr),rr.add=Dl,rr.attempt=ul,rr.camelCase=Za,rr.capitalize=Ja,rr.ceil=Ol,rr.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=ka(n))==n?n:0),e!==i&&(e=(e=ka(e))==e?e:0),Cr(ka(t),e,n)},rr.clone=function(t){return Er(t,c)},rr.cloneDeep=function(t){return Er(t,l|c)},rr.cloneDeepWith=function(t,e){return Er(t,l|c,e="function"==typeof e?e:i)},rr.cloneWith=function(t,e){return Er(t,c,e="function"==typeof e?e:i)},rr.conformsTo=function(t,e){return null==e||Ar(t,e,za(e))},rr.deburr=tl,rr.defaultTo=function(t,e){return null==t||t!=t?e:t},rr.divide=Pl,rr.endsWith=function(t,e,n){t=Da(t),e=bi(e);var r=t.length,o=n=n===i?r:Cr(xa(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},rr.eq=Xs,rr.escape=function(t){return(t=Da(t))&>.test(t)?t.replace(pt,hn):t},rr.escapeRegExp=function(t){return(t=Da(t))&&At.test(t)?t.replace(Et,"\\$&"):t},rr.every=function(t,e,n){var r=ea(t)?$e:Dr;return n&&Po(t,e,n)&&(e=i),r(t,bo(e,3))},rr.find=ks,rr.findIndex=ts,rr.findKey=function(t,e){return qe(t,bo(e,3),Lr)},rr.findLast=Fs,rr.findLastIndex=es,rr.findLastKey=function(t,e){return qe(t,bo(e,3),Br)},rr.floor=Rl,rr.forEach=Ds,rr.forEachRight=Os,rr.forIn=function(t,e){return null==t?t:Tr(t,bo(e,3),Ha)},rr.forInRight=function(t,e){return null==t?t:Ir(t,bo(e,3),Ha)},rr.forOwn=function(t,e){return t&&Lr(t,bo(e,3))},rr.forOwnRight=function(t,e){return t&&Br(t,bo(e,3))},rr.get=$a,rr.gt=Zs,rr.gte=Js,rr.has=function(t,e){return null!=t&&ko(t,e,zr)},rr.hasIn=Ma,rr.head=rs,rr.identity=pl,rr.includes=function(t,e,n,r){t=ra(t)?t:Xa(t),n=n&&!r?xa(n):0;var i=t.length;return n<0&&(n=Ln(i+n,0)),ya(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Qe(t,e,n)>-1},rr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:xa(n);return i<0&&(i=Ln(r+i,0)),Qe(t,e,i)},rr.inRange=function(t,e,n){return e=Aa(e),n===i?(n=e,e=0):n=Aa(n),function(t,e,n){return t>=Bn(e,n)&&t=-S&&t<=S},rr.isSet=va,rr.isString=ya,rr.isSymbol=_a,rr.isTypedArray=ba,rr.isUndefined=function(t){return t===i},rr.isWeakMap=function(t){return da(t)&&So(t)==Z},rr.isWeakSet=function(t){return da(t)&&"[object WeakSet]"==Nr(t)},rr.join=function(t,e){return null==t?"":Tn.call(t,e)},rr.kebabCase=el,rr.last=as,rr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=xa(n))<0?Ln(r+o,0):Bn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):Ge(t,Xe,o,!0)},rr.lowerCase=nl,rr.lowerFirst=rl,rr.lt=wa,rr.lte=Ca,rr.max=function(t){return t&&t.length?Or(t,pl,Vr):i},rr.maxBy=function(t,e){return t&&t.length?Or(t,bo(e,2),Vr):i},rr.mean=function(t){return Ze(t,pl)},rr.meanBy=function(t,e){return Ze(t,bo(e,2))},rr.min=function(t){return t&&t.length?Or(t,pl,Zr):i},rr.minBy=function(t,e){return t&&t.length?Or(t,bo(e,2),Zr):i},rr.stubArray=Sl,rr.stubFalse=kl,rr.stubObject=function(){return{}},rr.stubString=function(){return""},rr.stubTrue=function(){return!0},rr.multiply=Tl,rr.nth=function(t,e){return t&&t.length?ri(t,xa(e)):i},rr.noConflict=function(){return Ce._===this&&(Ce._=se),this},rr.noop=_l,rr.now=$s,rr.pad=function(t,e,n){t=Da(t);var r=(e=xa(e))?_n(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return eo(Dn(i),n)+t+eo(Fn(i),n)},rr.padEnd=function(t,e,n){t=Da(t);var r=(e=xa(e))?_n(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=jn();return Bn(t+o*(e-t+ye("1e-"+((o+"").length-1))),e)}return li(t,e)},rr.reduce=function(t,e,n){var r=ea(t)?He:en,i=arguments.length<3;return r(t,bo(e,4),n,i,kr)},rr.reduceRight=function(t,e,n){var r=ea(t)?Ue:en,i=arguments.length<3;return r(t,bo(e,4),n,i,Fr)},rr.repeat=function(t,e,n){return e=(n?Po(t,e,n):e===i)?1:xa(e),ui(Da(t),e)},rr.replace=function(){var t=arguments,e=Da(t[0]);return t.length<3?e:e.replace(t[1],t[2])},rr.result=function(t,e,n){var r=-1,o=(e=Oi(e,t)).length;for(o||(o=1,t=i);++rS)return[];var n=D,r=Bn(t,D);e=bo(e),t-=D;for(var i=rn(r,e);++n=s)return t;var l=n-_n(r);if(l<1)return r;var u=a?Ri(a,0,l).join(""):t.slice(0,l);if(o===i)return u+r;if(a&&(l+=u.length-l),ga(o)){if(t.slice(l).search(o)){var c,h=u;for(o.global||(o=Gt(o.source,Da(It.exec(o))+"g")),o.lastIndex=0;c=o.exec(h);)var d=c.index;u=u.slice(0,d===i?l:d)}}else if(t.indexOf(bi(o),l)!=l){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+r},rr.unescape=function(t){return(t=Da(t))&&mt.test(t)?t.replace(ft,wn):t},rr.uniqueId=function(t){var e=++ne;return Da(t)+e},rr.upperCase=sl,rr.upperFirst=al,rr.each=Ds,rr.eachRight=Os,rr.first=rs,yl(rr,(Fl={},Lr(rr,function(t,e){ee.call(rr.prototype,e)||(Fl[e]=t)}),Fl),{chain:!1}),rr.VERSION="4.17.14",Be(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){rr[t].placeholder=rr}),Be(["drop","take"],function(t,e){ar.prototype[t]=function(n){n=n===i?1:Ln(xa(n),0);var r=this.__filtered__&&!e?new ar(this):this.clone();return r.__filtered__?r.__takeCount__=Bn(n,r.__takeCount__):r.__views__.push({size:Bn(n,D),type:t+(r.__dir__<0?"Right":"")}),r},ar.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Be(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;ar.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:bo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Be(["head","last"],function(t,e){var n="take"+(e?"Right":"");ar.prototype[t]=function(){return this[n](1).value()[0]}}),Be(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");ar.prototype[t]=function(){return this.__filtered__?new ar(this):this[n](1)}}),ar.prototype.compact=function(){return this.filter(pl)},ar.prototype.find=function(t){return this.filter(t).head()},ar.prototype.findLast=function(t){return this.reverse().find(t)},ar.prototype.invokeMap=ci(function(t,e){return"function"==typeof t?new ar(this):this.map(function(n){return Wr(n,t,e)})}),ar.prototype.reject=function(t){return this.filter(Ks(bo(t)))},ar.prototype.slice=function(t,e){t=xa(t);var n=this;return n.__filtered__&&(t>0||e<0)?new ar(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=xa(e))<0?n.dropRight(-e):n.take(e-t)),n)},ar.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},ar.prototype.toArray=function(){return this.take(D)},Lr(ar.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=rr[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);o&&(rr.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,l=e instanceof ar,u=a[0],c=l||ea(e),h=function(t){var e=o.apply(rr,ze([t],a));return r&&d?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,f=s&&!d,p=l&&!this.__actions__.length;if(!s&&c){e=p?e:new ar(this);var m=t.apply(e,a);return m.__actions__.push({func:As,args:[h],thisArg:i}),new sr(m,d)}return f&&p?t.apply(this,a):(m=this.thru(h),f?r?m.value()[0]:m.value():m)})}),Be(["pop","push","shift","sort","splice","unshift"],function(t){var e=Xt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);rr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(ea(i)?i:[],t)}return this[n](function(n){return e.apply(ea(n)?n:[],t)})}}),Lr(ar.prototype,function(t,e){var n=rr[e];if(n){var r=n.name+"";ee.call(Gn,r)||(Gn[r]=[]),Gn[r].push({name:e,func:n})}}),Gn[Xi(i,p).name]=[{name:"wrapper",func:i}],ar.prototype.clone=function(){var t=new ar(this.__wrapped__);return t.__actions__=Ni(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ni(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ni(this.__views__),t},ar.prototype.reverse=function(){if(this.__filtered__){var t=new ar(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},ar.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ea(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},rr.prototype.plant=function(t){for(var e,n=this;n instanceof or;){var r=Yo(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},rr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof ar){var e=t;return this.__actions__.length&&(e=new ar(this)),(e=e.reverse()).__actions__.push({func:As,args:[hs],thisArg:i}),new sr(e,this.__chain__)}return this.thru(hs)},rr.prototype.toJSON=rr.prototype.valueOf=rr.prototype.value=function(){return xi(this.__wrapped__,this.__actions__)},rr.prototype.first=rr.prototype.head,tn&&(rr.prototype[tn]=function(){return this}),rr}();Ce._=Cn,(r=(function(){return Cn}).call(e,n,e,t))===i||(t.exports=r)}).call(this)}).call(this,n("aYSr")(t))},nvU9:function(t,e,n){var r=n("tQYX"),i=n("a88S"),o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=a.test(t);return n||l.test(t)?u(t.slice(2),n?2:8):s.test(t)?NaN:+t}},o05C:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("D57K"),i=n("2q8g"),o=n("H4Ux"),s=n("M7nJ");e.PartialValueApplicator=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.apply=function(t){var e=t.args,n=t.target,r=t.value,o=t.config.execute;return function(){for(var t=[],a=0;a "+t}},p4bK:function(t,e,n){var r=n("LmOH"),i=n("OfKG"),o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=function(t,e){return r(o,function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)}),t.sort()}},pFSi:function(t,e,n){var r=n("hyzI"),i="Expected a function";function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},pIod:function(t,e,n){var r=n("y/9h"),i=n("wxYD");t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},pMbS:function(t,e,n){"use strict";t.exports=function(t,e,n){var r=" ",i=t.schema[e],o=t.schemaPath+t.util.getProperty(e),s=t.errSchemaPath+"/"+e,a=!t.opts.allErrors,l=t.util.copy(t),u="";l.level++;var c="valid"+l.level,h=l.baseId,d=!0,f=i;if(f)for(var p,m=-1,g=f.length-1;m0:t.util.schemaHasRules(p,t.RULES.all))&&(d=!1,l.schema=p,l.schemaPath=o+"["+m+"]",l.errSchemaPath=s+"/"+m,r+=" "+t.validate(l)+" ",l.baseId=h,a&&(r+=" if ("+c+") { ",u+="}"));return a&&(r+=d?" if (true) { ":" "+u.slice(0,-1)+" "),t.util.cleanUpCode(r)}},pPzx:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},pnw1:function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t=i?t:r(t,e,n)}},rjis:function(t,e,n){var r=n("BVx2"),i=n("nnm9");t.exports=r?function(t){return r.get(t)}:i},rmhs:function(t,e,n){var r=n("2ZvR"),i=n("bvyN"),o=n("wxYD"),s=n("3ajY"),a=n("pnw1"),l=n("Qd2C"),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),c=!n&&i(t),h=!n&&!c&&s(t),d=!n&&!c&&!h&&l(t),f=n||c||h||d,p=f?r(t.length,String):[],m=p.length;for(var g in t)!e&&!u.call(t,g)||f&&("length"==g||h&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||p.push(g);return p}},"sCL+":function(t,e){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r=0?{index:r,compiling:!0}:(this._compilations[r=this._compilations.length]={schema:t,root:e,baseId:n},{index:r,compiling:!1})}).call(this,e,n=n||{schema:e,refVal:w,refs:C},y),D=this._compilations[F.index];if(F.compiling)return D.callValidate=function t(){var e=D.validate,n=e.apply(this,arguments);return t.errors=e.errors,n};var O=this._formats,P=this.RULES;try{var R=I(e,n,v,y);D.validate=R;var T=D.callValidate;return T&&(T.schema=R.schema,T.errors=null,T.refs=R.refs,T.refVal=R.refVal,T.root=R.root,T.$async=R.$async,b.sourceCode&&(T.source=R.source)),R}finally{(function(t,e,n){var r=h.call(this,t,e,n);r>=0&&this._compilations.splice(r,1)}).call(this,e,n,y)}function I(e,s,h,v){var y=!s||s&&s.schema==e;if(s.schema!=n.schema)return t.call(_,e,s,h,v);var A,S=!0===e.$async,F=a({isTop:!0,schema:e,isRoot:y,baseId:v,root:s,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:o.MissingRef,RULES:P,validate:a,util:i,resolve:r,resolveRef:L,usePattern:M,useDefault:j,useCustomRule:N,opts:b,formats:O,logger:_.logger,self:_});F=g(w,p)+g(E,d)+g(x,f)+g(k,m)+F,b.processCode&&(F=b.processCode(F));try{A=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",F)(_,P,O,n,w,x,k,u,l,c),w[0]=A}catch(D){throw _.logger.error("Error compiling schema, function code:",F),D}return A.schema=e,A.errors=null,A.refs=C,A.refVal=w,A.root=y?A:s,S&&(A.$async=!0),!0===b.sourceCode&&(A.source={code:F,patterns:E,defaults:x}),A}function L(e,i,o){i=r.url(e,i);var s,a,l=C[i];if(void 0!==l)return $(s=w[l],a="refVal["+l+"]");if(!o&&n.refs){var u=n.refs[i];if(void 0!==u)return a=B(i,s=n.refVal[u]),$(s,a)}a=B(i);var c=r.call(_,I,n,i);if(void 0===c){var h=v&&v[i];h&&(c=r.inlineRef(h,b.inlineRefs)?h:t.call(_,h,n,v,e))}if(void 0!==c)return function(t,e){w[C[t]]=e}(i,c),$(c,a);!function(t){delete C[t]}(i)}function B(t,e){var n=w.length;return w[n]=e,C[t]=n,"refVal"+n}function $(t,e){return"object"==typeof t||"boolean"==typeof t?{code:e,schema:t,inline:!0}:{code:e,$async:t&&!!t.$async}}function M(t){var e=A[t];return void 0===e&&(e=A[t]=E.length,E[e]=t),"pattern"+e}function j(t){switch(typeof t){case"boolean":case"number":return""+t;case"string":return i.toQuotedString(t);case"object":if(null===t)return"null";var e=s(t),n=S[e];return void 0===n&&(n=S[e]=x.length,x[n]=t),"default"+n}}function N(t,e,n,r){if(!1!==_._opts.validateSchema){var i=t.definition.dependencies;if(i&&!i.every(function(t){return Object.prototype.hasOwnProperty.call(n,t)}))throw new Error("parent schema must have all required keywords: "+i.join(","));var o=t.definition.validateSchema;if(o&&!o(e)){var s="keyword schema is invalid: "+_.errorsText(o.errors);if("log"!=_._opts.validateSchema)throw new Error(s);_.logger.error(s)}}var a,l=t.definition.compile,u=t.definition.inline,c=t.definition.macro;if(l)a=l.call(_,e,n,r);else if(c)a=c.call(_,e,n,r),!1!==b.validateSchema&&_.validateSchema(a,!0);else if(u)a=u.call(_,r,t.keyword,e,n);else if(!(a=t.definition.validate))return;if(void 0===a)throw new Error('custom keyword "'+t.keyword+'"failed to compile');var h=k.length;return k[h]=a,{code:"customRule"+h,validate:a}}}},skxJ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("jPI1"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.ComposeApplicator({post:!0}),{property:!0}));function a(){for(var t=[],e=0;e-1&&t%1==0&&t<=9007199254740991}},t76t:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("D57K"),i=n("H4Ux");e.InvokeApplicator=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.apply=function(t){var e=t.args,n=t.config.execute,r=t.value;return function(){for(var t=[],i=0;i0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):i(this);if(n.data&&n.ids){var s=r.createFrame(n.data);s.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:s}}return o(e,n)})},t.exports=e.default},tLQN:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},tQYX:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},tUbk:function(t,e,n){var r=n("0+c5"),i=n("cH1A"),o=n("rjis"),s=n("rKb1"),a=n("wxYD"),l=n("/Bkq");t.exports=function(t){return i(function(e){var n=e.length,i=n,u=r.prototype.thru;for(t&&e.reverse();i--;){var c=e[i];if("function"!=typeof c)throw new TypeError("Expected a function");if(u&&!h&&"wrapper"==s(c))var h=new r([],!0)}for(i=h?i:n;++i":"<")+" "+r+") { "),i="",!1!==t.createErrors?(i+=" { keyword: '"+(f||"_limitProperties")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { limit: "+r+" } ",!1!==t.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxProperties"==e?"more":"fewer",i+=" than ",i+=d?"' + "+r+" + '":""+a,i+=" properties' "),t.opts.verbose&&(i+=" , schema: ",i+=d?"validate.schema"+l:""+a,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),i+=" } "):i+=" {} ";var m=i;return i=p.pop(),i+=!t.compositeRule&&c?t.async?" throw new ValidationError(["+m+"]); ":" validate.errors = ["+m+"]; return false; ":" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",c&&(i+=" else { "),i}},uUTq:function(t,e,n){var r=n("X+YX"),i=n("R3TX"),o=n("Ndl3"),s=i(function(t,e){return o(t)?r(t,e):[]});t.exports=s},ur81:function(t,e,n){ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,e,n){"use strict";var r=t("../lib/oop"),i=t("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};r.inherits(o,i),e.JsonHighlightRules=o}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(t,e,n){"use strict";var r=t("../range").Range,i=function(){};(function(){this.checkOutdent=function(t,e){return!!/^\s+$/.test(t)&&/^\s*\}/.test(e)},this.autoOutdent=function(t,e){var n=t.getLine(e).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,o=t.findMatchingBracket({row:e,column:i});if(!o||o.row==e)return 0;var s=this.$getIndent(t.getLine(o.row));t.replace(new r(e,0,e,i-1),s)},this.$getIndent=function(t){return t.match(/^\s*/)[0]}}).call(i.prototype),e.MatchingBraceOutdent=i}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(t,e,n){"use strict";var r=t("../../lib/oop"),i=t("../../range").Range,o=t("./fold_mode").FoldMode,s=e.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};r.inherits(s,o),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(t,e,n){var r=t.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(t,e,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(t,e,n,r){var i,o=t.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(t,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(t,i[1],n,s);var a=t.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(t,n):"all"!=e&&(a=null)),a}return"markbegin"!==e&&(i=o.match(this.foldingStopMarker))?(s=i.index+i[0].length,i[1]?this.closingBracketBlock(t,i[1],n,s):t.getCommentFoldRange(n,s,-1)):void 0},this.getSectionRange=function(t,e){for(var n=t.getLine(e),r=n.search(/\S/),o=e,s=n.length,a=e+=1,l=t.getLength();++eu)break;var c=this.getFoldWidgetRange(t,"all",e);if(c){if(c.start.row<=o)break;if(c.isMultiLine())e=c.end.row;else if(r==u)break}a=e}}return new i(o,s,a,t.getLine(a).length)},this.getCommentRegionBlock=function(t,e,n){for(var r=e.search(/\s*$/),o=t.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ns)return new i(s,r,n,e.length)}}).call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(t,e,r){"use strict";var i=t("../lib/oop"),o=t("./text").Mode,s=t("./json_highlight_rules").JsonHighlightRules,a=t("./matching_brace_outdent").MatchingBraceOutdent,l=t("./behaviour/cstyle").CstyleBehaviour,u=t("./folding/cstyle").FoldMode,c=t("../worker/worker_client").WorkerClient,h=function(){this.HighlightRules=s,this.$outdent=new a,this.$behaviour=new l,this.foldingRules=new u};i.inherits(h,o),(function(){this.getNextLineIndent=function(t,e,n){var r=this.$getIndent(e);return"start"==t&&e.match(/^.*[\{\(\[]\s*$/)&&(r+=n),r},this.checkOutdent=function(t,e,n){return this.$outdent.checkOutdent(e,n)},this.autoOutdent=function(t,e,n){this.$outdent.autoOutdent(e,n)},this.createWorker=function(t){var e=new c(["ace"],n("38El"),"JsonWorker");return e.attachToDocument(t.getDocument()),e.on("annotate",function(e){t.setAnnotations(e.data)}),e.on("terminate",function(){t.clearAnnotations()}),e},this.$id="ace/mode/json"}).call(h.prototype),e.Mode=h})},utIM:function(t,e,n){"use strict";t.exports=function(t,e,n){var r,i,o=" ",s=t.level,a=t.dataLevel,l=t.schema[e],u=t.schemaPath+t.util.getProperty(e),c=t.errSchemaPath+"/"+e,h=!t.opts.allErrors,d="data"+(a||""),f="valid"+s,p="errs__"+s,m=t.opts.$data&&l&&l.$data;m?(o+=" var schema"+s+" = "+t.util.getData(l.$data,a,t.dataPathArr)+"; ",i="schema"+s):i=l;var g,v,y,_,b,w="definition"+s,C=this.definition,E="";if(m&&C.$data){var A=C.validateSchema;o+=" var "+w+" = RULES.custom['"+e+"'].definition; var "+(b="keywordValidate"+s)+" = "+w+".validate;"}else{if(!(_=t.useCustomRule(this,l,t.schema,t)))return;i="validate.schema"+u,b=_.code,g=C.compile,v=C.inline,y=C.macro}var x=b+".errors",S="i"+s,k="ruleErr"+s,F=C.async;if(F&&!t.async)throw new Error("async keyword in sync schema");if(v||y||(o+=x+" = null;"),o+="var "+p+" = errors;var "+f+";",m&&C.$data&&(E+="}",o+=" if ("+i+" === undefined) { "+f+" = true; } else { ",A&&(E+="}",o+=" "+f+" = "+w+".validateSchema("+i+"); if ("+f+") { ")),v)o+=C.statements?" "+_.validate+" ":" "+f+" = "+_.validate+"; ";else if(y){var D=t.util.copy(t);E="",D.level++;var O="valid"+D.level;D.schema=_.validate,D.schemaPath="";var P=t.compositeRule;t.compositeRule=D.compositeRule=!0;var R=t.validate(D).replace(/validate\.schema/g,b);t.compositeRule=D.compositeRule=P,o+=" "+R}else{(B=B||[]).push(o),o="",o+=" "+b+".call( ",o+=t.opts.passContext?"this":"self",o+=g||!1===C.schema?" , "+d+" ":" , "+i+" , "+d+" , validate.schema"+t.schemaPath+" ",o+=" , (dataPath || '')",'""'!=t.errorPath&&(o+=" + "+t.errorPath);var T=a?"data"+(a-1||""):"parentData",I=a?t.dataPathArr[a]:"parentDataProperty",L=o+=" , "+T+" , "+I+" , rootData ) ";o=B.pop(),!1===C.errors?(o+=" "+f+" = ",F&&(o+="await "),o+=L+"; "):o+=F?" var "+(x="customErrors"+s)+" = null; try { "+f+" = await "+L+"; } catch (e) { "+f+" = false; if (e instanceof ValidationError) "+x+" = e.errors; else throw e; } ":" "+x+" = null; "+f+" = "+L+"; "}if(C.modifying&&(o+=" if ("+T+") "+d+" = "+T+"["+I+"];"),o+=""+E,C.valid)h&&(o+=" if (true) { ");else{var B;o+=" if ( ",void 0===C.valid?(o+=" !",o+=y?""+O:""+f):o+=" "+!C.valid+" ",r=this.keyword,(B=B||[]).push(o+=") { "),(B=B||[]).push(o=""),o="",!1!==t.createErrors?(o+=" { keyword: '"+(r||"custom")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(c)+" , params: { keyword: '"+this.keyword+"' } ",!1!==t.opts.messages&&(o+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),t.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var $=o;o=B.pop();var M=o+=!t.compositeRule&&h?t.async?" throw new ValidationError(["+$+"]); ":" validate.errors = ["+$+"]; return false; ":" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";o=B.pop(),v?C.errors?"full"!=C.errors&&(o+=" for (var "+S+"="+p+"; "+S+"1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);++r0:t.util.schemaHasRules(y,t.RULES.all))&&(r+=" "+p+" = true; if ( "+c+t.util.getProperty(w)+" !== undefined ",v&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+t.util.escapeQuotes(w)+"') "),r+=") { ",d.schema=y,d.schemaPath=a+t.util.getProperty(w),d.errSchemaPath=l+"/"+t.util.escapeFragment(w),r+=" "+t.validate(d)+" ",d.baseId=L,r+=" } ",u&&(r+=" if ("+p+") { ",f+="}"));return u&&(r+=" "+f+" if ("+h+" == errors) {"),t.util.cleanUpCode(r)}},x9bM:function(t,e,n){var r=n("Dhk8"),i=n("tLQN"),o=n("Kkar");t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!o(t)}},xJZM:function(t,e,n){var r=n("zKkv"),i=n("D49j");t.exports=function(t,e){return t&&r(t,i(e))}},xNTf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("lXyA"),i=n("wOka"),o=n("2R+v");e.Once=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0,optionalParams:!0})),e.once=e.Once,e.default=e.Once},xZMv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Bcqe"),i=n("wOka"),o=n("2R+v");e.Throttle=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0,getter:!0,optionalParams:!0})),e.throttle=e.Throttle,e.ThrottleGetter=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{getter:!0,optionalParams:!0})),e.throttleGetter=e.ThrottleGetter,e.ThrottleSetter=i.DecoratorFactory.createInstanceDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator,{setter:!0,optionalParams:!0})),e.throttleSetter=e.ThrottleSetter,e.default=e.Throttle},xnUE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("RNvQ"),i=n("wOka"),o=n("2R+v"),s=i.DecoratorFactory.createDecorator(new i.DecoratorConfig(r,new o.PreValueApplicator));function a(t,e){return s(t,e)}e.DebounceAll=a,e.debounceAll=a,e.default=s},xoyU:function(t,e,n){var r=n("wxYD"),i=n("i7nn"),o=n("SoOq"),s=n("dw5g");t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(s(t))}},xq3t:function(t){t.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}},xzff:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=r(n("INYq")),o=r(n("QSAZ")),s=n("33n6"),a=n("MtdZ"),l=r(n("ZcxV")),u=r(n("V4YE")),c=r(n("lCA4")),h=i.default.create;function d(){var t=h();return t.compile=function(e,n){return a.compile(e,n,t)},t.precompile=function(e,n){return a.precompile(e,n,t)},t.AST=o.default,t.Compiler=a.Compiler,t.JavaScriptCompiler=l.default,t.Parser=s.parser,t.parse=s.parse,t}var f=d();f.create=d,c.default(f),f.Visitor=u.default,f.default=f,e.default=f,t.exports=e.default},"y/9h":function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(j);function G(t){return t}function Q(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),W(G,t)}function Y(t,e){return e?H(t,e):new C(R(t))}function X(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof C?t[0]:Q(n)(Y(t,r))}function Z(){return function(t){return t.lift(new J(t))}}var J=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new tt(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),tt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(g),et=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new u).add(this.source.subscribe(new rt(this.getSubject(),this))),t.closed&&(this._connection=null,t=u.EMPTY)),t},e.prototype.refCount=function(){return Z()(this)},e}(C).prototype,nt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:et._subscribe},_isComplete:{value:et._isComplete,writable:!0},getSubject:{value:et.getSubject},connect:{value:et.connect},refCount:{value:et.refCount}},rt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(k);function it(){return new F}function ot(){return function(t){return Z()((e=it,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,nt);return r.source=t,r.subjectFactory=n,r})(t));var e}}function st(t){for(var e in t)if(t[e]===st)return e;throw Error("Could not find renamed property on target object.")}var at=st({ngComponentDef:st}),lt=st({ngInjectableDef:st}),ut=st({ngInjectorDef:st}),ct=st({ngModuleDef:st}),ht=st({__NG_ELEMENT_ID__:st});function dt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ft(t){return t&&t.hasOwnProperty(lt)?t[lt]:null}function pt(t){return t&&t.hasOwnProperty(ut)?t[ut]:null}var mt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?dt({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),gt="__parameters__";function vt(t,e,n){var i=function(t){return function(){for(var e=[],n=0;n=qt?n:n[Bt]}function ue(t){return null!==t.template}function ce(t){return t[Zt]}function he(t){var e=ce(t);return e?Array.isArray(e)?e:e.lView:null}function de(t){return 32767&t}function fe(t,e){for(var n=t>>16,r=e;n>0;)r=r[Kt],n--;return r}var pe=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(wt);function me(t){for(var e=t[$t];e&&2===e.type;)e=(t=t[Kt])[$t];return t}var ge,ve,ye,_e,be=vt("Inject",function(t){return{token:t}}),we=vt("Optional"),Ce=vt("Self"),Ee=vt("SkipSelf"),Ae=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({}),xe=void 0;function Se(t){var e=xe;return xe=t,e}function ke(t){var e=ge;return ge=t,e}function Fe(t,e){return void 0===e&&(e=Ae.Default),(ge||function(t,e){if(void 0===e&&(e=Ae.Default),void 0===xe)throw new Error("inject() must be called from an injection context");return null===xe?De(t,void 0,e):xe.get(t,e&Ae.Optional?null:void 0,e)})(t,e)}function De(t,e,n){var r=ft(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Ae.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+kt(t)+"]")}function Oe(t){for(var e=[],n=0;n>16,c=i?a+u:t.directiveEnd,h=r?a:a+u;h=l&&d.type===n)return h}if(i){var f=s[l];if(f&&ue(f)&&f.type===n)return l}return null}(a,e,n,null==r?function(t){return 1==(1&t.flags)}(a)&&Xe:r!=s&&3===a.type,i&Ae.Host&&o===a);return null!==l?an(s.data,e,l,a):on}function an(t,e,n,r){var i,o=e[n];if(null!=(i=o)&&"object"==typeof i&&Object.getPrototypeOf(i)==ie){var s=o;if(s.resolving)throw new Error("Circular dep for "+oe(t[n]));var a=Ze(s.canSeeViewProviders);s.resolving=!0;var l=void 0;s.injectImpl&&(l=ke(s.injectImpl));var u=$e(),c=Be();je(r,e);try{o=e[n]=s.factory(null,t,e,r)}finally{s.injectImpl&&ke(l),Ze(a),s.resolving=!1,je(u,c)}}return o}function ln(t,e,n){var r=64&t,i=32&t;return!!((128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e])&1<=qt&&(n=t[$t])&&2===n.type?function(e,n){if(-1===e.index){var r=t[Wt];return r>-1?t[It][r]:null}return t[It][e.parent.index]}(n):t[It]===e?null:t[It]}function kn(t){if(t.length>=qt){var e=t;!function(t){var e,n=t[Rt];null!=n&&null!=(e=n.destroyHooks)&&Le(t,e)}(e),(i=(r=e)[Rt]&&r[Rt].pipeDestroyHooks)&&Le(r,i),function(t){var e=t[Rt].cleanup;if(null!=e){for(var n=t[jt],r=0;r=0?n[s]():n[-s].unsubscribe(),r+=2}else"number"==typeof e[r]?(0,n[e[r]])():e[r].call(n[e[r+1]]);t[jt]=null}}(e);var n=e[$t];n&&3===n.type&&wn(e[Ht])&&e[Ht].destroy()}var r,i}var Fn="@",Dn=Promise.resolve(null);function On(t){var e=t[Rt];if(e.firstTemplatePass=!1,Ge(!1),!ze(t)){var n=Ue();(function(t,e,n){!n&&32&t[Tt]&&(Ie(t,e.initHooks,e.checkHooks,n),t[Tt]&=-33)})(t,e,n),function(t){for(var e=xn(t);null!==e;e=e[Lt])if(e.length ");else if("object"==typeof e){var i=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];i.push(o+":"+("string"==typeof s?JSON.stringify(s):kt(s)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(ur,"\n ")}function pr(t,e){return new Error(fr(t,e))}var mr=new mt("The presence of this token marks an injector as being the root injector."),gr={},vr={},yr=[],_r=void 0;function br(){return void 0===_r&&(_r=new tr),_r}var wr=function(){function t(t,e,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var i=[];Ar([t],function(t){return r.processInjectorType(t,[],i)}),e&&Ar(e,function(n){return r.processProvider(n,t,e)}),this.records.set(Jn,Er(void 0,this)),this.isRootInjector=this.records.has(mr),this.injectorDefTypes.forEach(function(t){return r.get(t)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=Zn),void 0===n&&(n=Ae.Default),this.assertNotDestroyed();var r,i=Se(this);try{if(!(n&Ae.SkipSelf)){var o=this.records.get(t);if(void 0===o){var s=("function"==typeof(r=t)||"object"==typeof r&&r instanceof mt)&&ft(t);s&&this.injectableDefInScope(s)&&(o=Er(Cr(t),gr),this.records.set(t,o))}if(void 0!==o)return this.hydrate(t,o)}return(n&Ae.Self?br():this.parent).get(t,e)}finally{Se(i)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var r=this;if(t=Ot(t)){var i=pt(t),o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,a=-1!==n.indexOf(s),l=void 0!==o&&t.providers||yr;if(void 0!==o&&(i=pt(o)),null!=i){if(this.injectorDefTypes.add(s),this.records.set(s,Er(i.factory,gr)),null!=i.imports&&!a){n.push(s);try{Ar(i.imports,function(t){return r.processInjectorType(t,e,n)})}finally{}}var u=i.providers;if(null!=u&&!a){var c=t;Ar(u,function(t){return r.processProvider(t,c,u)})}var h=t.ngModule;Ar(l,function(t){return r.processProvider(t,h,l)})}}},t.prototype.processProvider=function(t,e,n){var i=Sr(t=Ot(t))?t:Ot(t&&t.provide),o=function(t,e,n){var i=function(t,e,n){var i,o=void 0;if(Sr(t))return Cr(Ot(t));if(xr(t))o=function(){return Ot(t.useValue)};else if((i=t)&&i.useExisting)o=function(){return Fe(Ot(t.useExisting))};else if(t&&t.useFactory)o=function(){return t.useFactory.apply(t,Object(r.__spread)(Oe(t.deps||[])))};else{var s=Ot(t&&(t.useClass||t.provide));if(!s){var a="";throw e&&n&&(a=" - only instances of Provider and Type are allowed, got: ["+n.map(function(e){return e==t?"?"+t+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+kt(e)+"'"+a)}if(!t.deps)return Cr(s);o=function(){return new(s.bind.apply(s,Object(r.__spread)([void 0],Oe(t.deps))))}}return o}(t,e,n);return xr(t)?Er(void 0,t.useValue):Er(i,gr)}(t,e,n);if(Sr(t)||!0!==t.multi){var s=this.records.get(i);if(s&&void 0!==s.multi)throw new Error("Mixed multi-provider for "+kt(i))}else{var a=this.records.get(i);if(a){if(void 0===a.multi)throw new Error("Mixed multi-provider for "+i+".")}else(a=Er(void 0,gr,!0)).factory=function(){return Oe(a.multi)},this.records.set(i,a);i=t,a.multi.push(t)}this.records.set(i,o)},t.prototype.hydrate=function(t,e){if(e.value===vr)throw new Error("Cannot instantiate cyclic dependency! "+kt(t));var n;return e.value===gr&&(e.value=vr,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Cr(t){var e=ft(t);if(null===e){var n=pt(t);if(null!==n)return n.factory;if(t instanceof mt)throw new Error("Token "+kt(t)+" is missing an ngInjectableDef definition.");if(t instanceof Function){var r=t.length;if(r>0){var i=new Array(r).fill("?");throw new Error("Can't resolve all parameters for "+kt(t)+": ("+i.join(", ")+").")}return function(){return new t}}throw new Error("unreachable")}return e.factory}function Er(t,e,n){return void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Ar(t,e){t.forEach(function(t){return Array.isArray(t)?Ar(t,e):e(t)})}function xr(t){return t&&"object"==typeof t&&ar in t}function Sr(t){return"function"==typeof t}var kr=function(){return function(){}}(),Fr=function(){return function(){}}();function Dr(t){var e=Error("No component factory found for "+kt(t)+". Did you add it to @NgModule.entryComponents?");return e[Pr]=t,e}var Or,Pr="ngComponent",Rr=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Dr(t)},t}(),Tr=function(){function t(){}return t.NULL=new Rr,t}(),Ir=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}var e,n;wn(n=(e=this._lView)[Ht])&&n.destroyNode&&function(t,n,r,i,o){for(var s=e[Rt].node,a=-1,l=e,u=s.child;u;){var c=null;if(3===u.type){An(2,r,null,ae(u,l),o);var h=l[u.index];m=h,Array.isArray(m)&&m.length===Xt&&An(2,r,null,h[Yt],o)}else if(0===u.type){var d=l[u.index];An(2,r,null,d[Yt],o),d[Qt].length&&(c=(l=d[Qt][0])[Rt].node,o=d[Yt])}else if(1===u.type){var f=me(l),p=f[$t].projection[u.projection];En[++a]=u,En[++a]=l,p&&(c=(l=f[It])[Rt].data[p.index])}else c=u.child;if(null===c)for(null===u.next&&2&u.flags&&(l=En[a--],u=En[a--]),c=u.next;!c;){if(null===(u=u.parent||l[Rt].node)||u===s)return null;0===u.type&&(o=(l=l[It])[u.index][Yt]),c=2===u.type&&l[Lt]?(l=l[Lt])[Rt].node:u.next}u=c}var m}(0,0,n),function(t){if(-1===t[Rt].childIndex)return kn(t);for(var e=xn(t);e;){var n=null;if(e.length>=qt?e[Rt].childIndex>-1&&(n=xn(e)):e[Qt].length&&(n=e[Qt][0]),null==n){for(;e&&!e[Lt]&&e!==t;)kn(e),e=Sn(e,t);kn(e||t),n=e&&e[Lt]}e=n}}(e),e[Tt]|=64},t.prototype.onDestroy=function(t){var e,n;n=t,function(t){return t[jt]||(t[jt]=[])}(e=this._lView).push(n),e[Rt].firstTemplatePass&&function(t){return t[Rt].cleanup||(t[Rt].cleanup=[])}(e).push(e[jt].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(;t&&!(128&t[Tt]);)t[Tt]|=8,t=t[It];var e,n,r;t[Tt]|=8,r=0===(e=t[Nt]).flags,e.flags|=1,r&&e.clean==Dn&&(e.clean=new Promise(function(t){return n=t}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,Nn(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=Dn,n(null)}))}(this._lView)},t.prototype.detach=function(){this._lView[Tt]&=-17},t.prototype.reattach=function(){this._lView[Tt]|=16},t.prototype.detectChanges=function(){Vn(this._lView,this.context)},t.prototype.checkNoChanges=function(){!function(t){We(!0);try{!function(t){Vn(function(t){var e,n=ce(t);if(Array.isArray(n)){var r=function(t,e){var n=t[Rt].components;if(n)for(var r=0;r',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

    ',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();gi.hasOwnProperty(e)&&!di.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(Ai(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),Ci=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ei=/([^\#-~ |!])/g;function Ai(t){return t.replace(/&/g,"&").replace(Ci,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ei,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function xi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Si={provide:Tr,useClass:Qr,deps:[Br]},ki=function(t){function e(e,n){var r=t.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[];var i=function(t,n){var r=e[ct]||null;return r}();return r._bootstrapComponents=i.bootstrap,r._r3Injector=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||br(),new wr(t,n,e)}(e,n,[{provide:Br,useValue:r},Si]),r.instance=r.get(e),r}return Object(r.__extends)(e,t),e.prototype.get=function(t,e,n){return void 0===e&&(e=er.THROW_IF_NOT_FOUND),void 0===n&&(n=Ae.Default),t===er||t===Br||t===Jn?this:this._r3Injector.get(t,e,n)},Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Tr)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Br);!function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}Object(r.__extends)(e,t),e.prototype.create=function(t){return new ki(this.moduleType,t)}}($r);var Fi=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(r.__extends)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=t.prototype.subscribe.call(this,i,o,s);return e instanceof u&&e.add(a),a},e}(F),Di=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Oi(t,jr)},t}(),Oi=Qn,Pi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ri=/^url\(([^)]+)\)$/,Ti=function(){return function(){}}(),Ii="ngDebugContext",Li="ngOriginalError",Bi="ngErrorLogger";function $i(t){return t[Ii]}function Mi(t){return t[Li]}function ji(t){for(var e=[],n=1;n0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==i}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Co=function(){function t(){this._applications=new Map,Eo.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Eo.findTestabilityInTree(this,t,e)},Object(r.__decorate)([Object(r.__metadata)("design:paramtypes",[])],t)}(),Eo=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Ao=new mt("AllowMultipleToken"),xo=function(){return function(t,e){this.name=t,this.token=e}}();function So(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new mt(r);return function(e){void 0===e&&(e=[]);var o=ko();if(!o||o.injector.get(Ao,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var s=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(_o&&!_o.destroyed&&!_o.injector.get(Ao,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");_o=t.get(Fo);var e=t.get(Gi,null);e&&e.forEach(function(t){return t()})}(er.create({providers:s,name:r}))}return function(t){var e=ko();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function ko(){return _o&&!_o.destroyed?_o:null}var Fo=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,i="noop"===(n=e?e.ngZone:void 0)?new bo:("zone.js"===n?void 0:n)||new fo({enableLongStackTrace:ii()}),o=[{provide:fo,useValue:i}];return i.run(function(){var e=er.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),s=n.injector.get(Ni,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Po(r._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(t){s.handleError(t)}})}),function(t,e,i){try{var o=((s=n.injector.get(Ui)).runInitializers(),s.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Vi(o)?o.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):o}catch(a){throw e.runOutsideAngular(function(){return t.handleError(a)}),a}var s}(s,i)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Do({},e);return function(t,e,n){return t.get(so).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then(function(t){return n.bootstrapModuleFactory(t,r)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Oo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+kt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Do(t,e){return Array.isArray(e)?e.reduce(Do,t):Object(r.__assign)({},t,e)}var Oo=function(){function t(t,e,n,r,i,o){var s=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ii(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new C(function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){t.next(s._stable),t.complete()})}),l=new C(function(t){var e;s._zone.runOutsideAngular(function(){e=s._zone.onStable.subscribe(function(){fo.assertNotInAngularZone(),xt(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){fo.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=X(a,l.pipe(ot()))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Fr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof Lr?null:this._injector.get(Br),o=n.create(er.NULL,[],e||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var s=o.injector.get(wo,null);return s&&o.injector.get(Co).registerApplication(o.location.nativeElement,s),this._loadComponent(o),ii()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,ho(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Po(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Yi,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Po(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=co("ApplicationRef#tick()"),t}();function Po(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Ro=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Fi,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[At()]=function(){return this._results[At()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),To=function(){return function(){}}(),Io={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Lo=function(){function t(t,e){this._compiler=t,this._config=e||Io}return t.prototype.load=function(t){return this._compiler instanceof oo?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,i=Object(r.__read)(t.split("#"),2),o=i[0],s=i[1];return void 0===s&&(s="default"),n("zn8P")(o).then(function(t){return t[s]}).then(function(t){return Bo(t,o,s)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=Object(r.__read)(t.split("#"),2),i=e[0],o=e[1],s="NgFactory";return void 0===o&&(o="default",s=""),n("zn8P")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(t){return t[o+s]}).then(function(t){return Bo(t,i,o)})},t}();function Bo(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var $o,Mo=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return jo(t,jr)},t}(),jo=Qn,No=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Vo()},t}(),Vo=function(){for(var t=[],e=0;e-1}(r)||"root"===i.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:e.token},t._providers[c]=ca,t._providers[c]=ga(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Se(o)}}function ga(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var i=n.length;switch(i){case 0:return new e;case 1:return new e(ma(t,n[0]));case 2:return new e(ma(t,n[0]),ma(t,n[1]));case 3:return new e(ma(t,n[0]),ma(t,n[1]),ma(t,n[2]));default:for(var o=new Array(i),s=0;s=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,wa(n,e),Cs.dirtyParentQueries(r),_a(r),r}function ya(t,e,n){var r=e?Vs(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Ys(n,2,i,o,void 0)}function _a(t){Ys(t,3,null,null,void 0)}function ba(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function wa(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Ca=new Object;function Ea(t,e,n,r,i,o){return new Aa(t,e,n,r,i,o)}var Aa=function(t){function e(e,n,r,i,o,s){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=i,a._outputs=o,a.ngContentSelectors=s,a.viewDefFactory=r,a}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=Qs(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=Cs.createRootView(t,e||[],n,i,r,Ca),a=_s(s,o).instance;return n&&s.renderer.setAttribute(ys(s,0).renderElement,"ng-version",Gr.full),new xa(s,new Da(s),a)},e}(Fr),xa=function(t){function e(e,n,r){var i=t.call(this)||this;return i._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new jr(ys(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ta(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(kr);function Sa(t,e,n){return new ka(t,e,n)}var ka=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new jr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ta(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=Ns(t),t=t.parent;return t?new Ta(t,e):new Ta(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=va(this._data,t);Cs.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Da(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof Lr||(i=o.get(Br));var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,s=t;return o=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=o.length),(i=s._view).viewContainerParent=this._view,ba(o,r,i),function(t,e){var n=js(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,i),Cs.dirtyParentQueries(i),ya(n,r>0?o[r-1]:null,i),s.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,s,a=this._embeddedViews.indexOf(t._view);return i=e,s=(o=(n=this._data).viewContainer._embeddedViews)[r=a],wa(o,r),null==i&&(i=o.length),ba(o,i,s),Cs.dirtyParentQueries(s),_a(s),ya(n,i>0?o[i-1]:null,s),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=va(this._data,t);e&&Cs.destroyView(e)},t.prototype.detach=function(t){var e=va(this._data,t);return e?new Da(e):null},t}();function Fa(t){return new Da(t)}var Da=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Ys(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Bs(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Cs.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Cs.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Cs.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,_a(this._view),Cs.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Oa(t,e){return new Pa(t,e)}var Pa=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(r.__extends)(e,t),e.prototype.createEmbeddedView=function(t){return new Da(Cs.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new jr(ys(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Di);function Ra(t,e){return new Ta(t,e)}var Ta=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=er.THROW_IF_NOT_FOUND),Cs.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Fs(t)},e)},t}();function Ia(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=ys(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return vs(t,n.nodeIndex).renderText;if(20240&n.flags)return _s(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function La(t){return new Ba(t.renderer)}var Ba=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Object(r.__read)(na(e),2),i=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,i=e.provider;switch(201347067&e.flags){case 512:return el(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,o){var s=o.length;switch(s){case 0:return i();case 1:return i(rl(t,e,n,o[0]));case 2:return i(rl(t,e,n,o[0]),rl(t,e,n,o[1]));case 3:return i(rl(t,e,n,o[0]),rl(t,e,n,o[1]),rl(t,e,n,o[2]));default:for(var a=Array(s),l=0;l0)u=m,bl(m)||(c=m);else for(;u&&p===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&bl(u)?u.renderParent:u}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Ss,updateRenderer:r||Ss,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function bl(t){return 0!=(1&t.flags)&&null===t.element.name}function wl(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Cl(t,e,n,r){var i=xl(t.root,t.renderer,t,e,n);return Sl(i,t.component,r),kl(i),i}function El(t,e,n){var r=xl(t,t.renderer,null,null,e);return Sl(r,n,n),kl(r),r}function Al(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,xl(t.root,i,t,e.element.componentProvider,n)}function xl(t,e,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function Sl(t,e,n){t.component=e,t.context=n}function kl(t){var e;zs(t)&&(e=ys(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i0&&ua(t,e,0,n)&&(f=!0),d>1&&ua(t,e,1,r)&&(f=!0),d>2&&ua(t,e,2,i)&&(f=!0),d>3&&ua(t,e,3,o)&&(f=!0),d>4&&ua(t,e,4,s)&&(f=!0),d>5&&ua(t,e,5,a)&&(f=!0),d>6&&ua(t,e,6,l)&&(f=!0),d>7&&ua(t,e,7,u)&&(f=!0),d>8&&ua(t,e,8,c)&&(f=!0),d>9&&ua(t,e,9,h)&&(f=!0),f}(t,e,n,r,i,o,s,a,l,u,c,h);case 2:return function(t,e,n,r,i,o,s,a,l,u,c,h){var d=!1,f=e.bindings,p=f.length;if(p>0&&Is(t,e,0,n)&&(d=!0),p>1&&Is(t,e,1,r)&&(d=!0),p>2&&Is(t,e,2,i)&&(d=!0),p>3&&Is(t,e,3,o)&&(d=!0),p>4&&Is(t,e,4,s)&&(d=!0),p>5&&Is(t,e,5,a)&&(d=!0),p>6&&Is(t,e,6,l)&&(d=!0),p>7&&Is(t,e,7,u)&&(d=!0),p>8&&Is(t,e,8,c)&&(d=!0),p>9&&Is(t,e,9,h)&&(d=!0),d){var m=e.text.prefix;p>0&&(m+=yl(n,f[0])),p>1&&(m+=yl(r,f[1])),p>2&&(m+=yl(i,f[2])),p>3&&(m+=yl(o,f[3])),p>4&&(m+=yl(s,f[4])),p>5&&(m+=yl(a,f[5])),p>6&&(m+=yl(l,f[6])),p>7&&(m+=yl(u,f[7])),p>8&&(m+=yl(c,f[8])),p>9&&(m+=yl(h,f[9]));var g=vs(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return d}(t,e,n,r,i,o,s,a,l,u,c,h);case 16384:return function(t,e,n,r,i,o,s,a,l,u,c,h){var d=_s(t,e.nodeIndex),f=d.instance,p=!1,m=void 0,g=e.bindings.length;return g>0&&Ts(t,e,0,n)&&(p=!0,m=ol(t,d,e,0,n,m)),g>1&&Ts(t,e,1,r)&&(p=!0,m=ol(t,d,e,1,r,m)),g>2&&Ts(t,e,2,i)&&(p=!0,m=ol(t,d,e,2,i,m)),g>3&&Ts(t,e,3,o)&&(p=!0,m=ol(t,d,e,3,o,m)),g>4&&Ts(t,e,4,s)&&(p=!0,m=ol(t,d,e,4,s,m)),g>5&&Ts(t,e,5,a)&&(p=!0,m=ol(t,d,e,5,a,m)),g>6&&Ts(t,e,6,l)&&(p=!0,m=ol(t,d,e,6,l,m)),g>7&&Ts(t,e,7,u)&&(p=!0,m=ol(t,d,e,7,u,m)),g>8&&Ts(t,e,8,c)&&(p=!0,m=ol(t,d,e,8,c,m)),g>9&&Ts(t,e,9,h)&&(p=!0,m=ol(t,d,e,9,h,m)),m&&f.ngOnChanges(m),65536&e.flags&&gs(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),p}(t,e,n,r,i,o,s,a,l,u,c,h);case 32:case 64:case 128:return function(t,e,n,r,i,o,s,a,l,u,c,h){var d=e.bindings,f=!1,p=d.length;if(p>0&&Is(t,e,0,n)&&(f=!0),p>1&&Is(t,e,1,r)&&(f=!0),p>2&&Is(t,e,2,i)&&(f=!0),p>3&&Is(t,e,3,o)&&(f=!0),p>4&&Is(t,e,4,s)&&(f=!0),p>5&&Is(t,e,5,a)&&(f=!0),p>6&&Is(t,e,6,l)&&(f=!0),p>7&&Is(t,e,7,u)&&(f=!0),p>8&&Is(t,e,8,c)&&(f=!0),p>9&&Is(t,e,9,h)&&(f=!0),f){var m=bs(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(d.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=i),p>3&&(g[3]=o),p>4&&(g[4]=s),p>5&&(g[5]=a),p>6&&(g[6]=l),p>7&&(g[7]=u),p>8&&(g[8]=c),p>9&&(g[9]=h);break;case 64:g={},p>0&&(g[d[0].name]=n),p>1&&(g[d[1].name]=r),p>2&&(g[d[2].name]=i),p>3&&(g[d[3].name]=o),p>4&&(g[d[4].name]=s),p>5&&(g[d[5].name]=a),p>6&&(g[d[6].name]=l),p>7&&(g[d[7].name]=u),p>8&&(g[d[8].name]=c),p>9&&(g[d[9].name]=h);break;case 128:var v=n;switch(p){case 1:g=v.transform(n);break;case 2:g=v.transform(r);break;case 3:g=v.transform(r,i);break;case 4:g=v.transform(r,i,o);break;case 5:g=v.transform(r,i,o,s);break;case 6:g=v.transform(r,i,o,s,a);break;case 7:g=v.transform(r,i,o,s,a,l);break;case 8:g=v.transform(r,i,o,s,a,l,u);break;case 9:g=v.transform(r,i,o,s,a,l,u,c);break;case 10:g=v.transform(r,i,o,s,a,l,u,c,h)}}m.value=g}return f}(t,e,n,r,i,o,s,a,l,u,c,h);default:throw"unreachable"}}(t,e,i,o,s,a,l,u,c,h,d,f):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i0&&Ls(t,e,0,n),d>1&&Ls(t,e,1,r),d>2&&Ls(t,e,2,i),d>3&&Ls(t,e,3,o),d>4&&Ls(t,e,4,s),d>5&&Ls(t,e,5,a),d>6&&Ls(t,e,6,l),d>7&&Ls(t,e,7,u),d>8&&Ls(t,e,8,c),d>9&&Ls(t,e,9,h)}(t,e,r,i,o,s,a,l,u,c,h,d):function(t,e,n){for(var r=0;r0){var o=new Set(t.modules);Ql.forEach(function(e,r){if(o.has(ft(r).providedIn)){var i={token:r,flags:e.flags|(n?4096:0),deps:Ks(e.deps),value:e.value,index:t.providers.length};t.providers.push(i),t.providersByKey[Fs(r)]=i}})}}(t=t.factory(function(){return Ss})),t):t}(r))}var Gl=new Map,Ql=new Map,Yl=new Map;function Xl(t){var e;Gl.set(t.token,t),"function"==typeof t.token&&(e=ft(t.token))&&"function"==typeof e.providedIn&&Ql.set(t.token,t)}function Zl(t,e){var n=Qs(e.viewDefFactory),r=Qs(n.nodes[0].element.componentView);Yl.set(t,r)}function Jl(){Gl.clear(),Ql.clear(),Yl.clear()}function tu(t){if(0===Gl.size)return t;var e=function(t){for(var e=[],n=null,r=0;r0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Ru.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Ru.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Ru.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Ou),Lu=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(r.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Ru.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Ru.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Ru.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Ru.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Ou),Bu=void 0,$u=["en",[["a","p"],["AM","PM"],Bu],[["AM","PM"],Bu,Bu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Bu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Bu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Bu,"{1} 'at' {0}",Bu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Mu={},ju=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Nu=new mt("UseV4Plurals"),Vu=function(){return function(){}}(),zu=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(r.__extends)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Mu[e];if(n)return n;var r=e.split("-")[0];if(n=Mu[r])return n;if("en"===r)return $u;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case ju.Zero:return"zero";case ju.One:return"one";case ju.Two:return"two";case ju.Few:return"few";case ju.Many:return"many";default:return"other"}},e}(Vu);function Hu(t,e){var n,i;e=encodeURIComponent(e);try{for(var o=Object(r.__values)(t.split(";")),s=o.next();!s.done;s=o.next()){var a=s.value,l=a.indexOf("="),u=Object(r.__read)(-1==l?[a,""]:[a.slice(0,l),a.slice(l+1)],2),c=u[1];if(u[0].trim()===e)return decodeURIComponent(c)}}catch(h){n={error:h}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null}var Uu=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(vn(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+kt(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),Wu=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Ku=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){ii()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new Wu(null,e._ngForOf,-1,-1),i),s=new qu(t,o);n.push(s)}else null==i?e._viewContainer.remove(r):(o=e._viewContainer.get(r),e._viewContainer.move(o,i),s=new qu(t,o),n.push(s))});for(var r=0;r0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(t?Ac(function(e,n){return t(e,n,r)}):G,Dc(1),n?Bc(e):Rc(function(){return new gc}))}}function Nc(t){return function(e){var n=new Vc(t),r=e.lift(n);return n.caught=r}}var Vc=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new zc(t,this.selector,this.caught))},t}(),zc=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(i){return void t.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new P(this,void 0,void 0);this.add(r),M(this,n,void 0,void 0,r)}},e}(j);function Hc(t){return function(e){return 0===t?wc():e.lift(new Uc(t))}}var Uc=function(){function t(t){if(this.total=t,this.total<0)throw new Fc}return t.prototype.call=function(t,e){return e.subscribe(new Wc(t,this.total))},t}(),Wc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(g);function Kc(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Ac(function(e,n){return t(e,n,r)}):G,Hc(1),n?Bc(e):Rc(function(){return new gc}))}}var qc=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new Gc(t,this.predicate,this.thisArg,this.source))},t}(),Gc=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(g);function Qc(t,e){return"function"==typeof e?function(n){return n.pipe(Qc(function(n,r){return U(t(n,r)).pipe(N(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new Yc(t))}}var Yc=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Xc(t,this.project))},t}(),Xc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new P(this,void 0,void 0);this.destination.add(i),this.innerSubscription=M(this,t,e,n,i)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e}(j);function Zc(){for(var t=[],e=0;e=2&&(n=!0),function(r){return r.lift(new eh(t,e,n))}}var eh=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new nh(t,this.accumulator,this.seed,this.hasSeed))},t}(),nh=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(g);function rh(t,e){return W(t,e,1)}function ih(t,e,n){return function(r){return r.lift(new oh(t,e,n))}}var oh=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new sh(t,this.nextOrObserver,this.error,this.complete))},t}(),sh=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=_,o._tapError=_,o._tapComplete=_,o._tapError=r||_,o._tapComplete=i||_,s(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||_,o._tapError=n.error||_,o._tapComplete=n.complete||_),o}return r.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(g);function ah(t){return function(e){return e.lift(new lh(t))}}var lh=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new uh(t,this.callback))},t}(),uh=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new u(n)),r}return r.__extends(e,t),e}(g),ch=null;function hh(){return ch}var dh,fh={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ph={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},mh={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};wt.Node&&(dh=wt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var gh,vh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,ch||(ch=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var i;(i=t)[e].apply(i,Object(r.__spread)(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return fh},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return dh.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[o]=[]);var l=Xh(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:l,handler:i});else{for(var u=!1,c=0;c-1},e}(Oh),od=["alt","control","meta","shift"],sd={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ad=function(t){function e(e){return t.call(this,e)||this}var n;return Object(r.__extends)(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return hh().onAndCancel(t,i.domEventName,o)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(od.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=hh().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),od.forEach(function(r){r!=n&&(0,sd[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Oh),ld=function(){return function(){}}(),ud=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(r.__extends)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case Kr.NONE:return e;case Kr.HTML:return e instanceof hd?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{hi=hi||new oi(t);var r=e?String(e):"";n=hi.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=hi.getInertBodyElement(r)}while(r!==o);var s=new wi,a=s.sanitizeChildren(xi(n)||n);return ii()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var l=xi(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(e)));case Kr.STYLE:return e instanceof dd?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Ri);return e&&li(e[1])===e[1]||t.match(Pi)&&function(t){for(var e=!0,n=!0,r=0;rt.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function Xd(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Zd(t){return zi(t)?t:Vi(t)?U(Promise.resolve(t)):fc(t)}function Jd(t,e,n){return n?function(t,e){return Gd(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!rf(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!rf(s=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!rf(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var s=i.slice(0,n.segments.length),a=i.slice(n.segments.length);return!!rf(n.segments,s)&&!!n.children[$d]&&e(n.children[$d],r,a)}(e,n,n.segments)}(t.root,e.root)}var tf=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=jd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return lf.serialize(this)},t}(),ef=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Xd(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return uf(this)},t}(),nf=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=jd(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return mf(this)},t}();function rf(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function of(t,e){var n=[];return Xd(t.children,function(t,r){r===$d&&(n=n.concat(e(t,r)))}),Xd(t.children,function(t,r){r!==$d&&(n=n.concat(e(t,r)))}),n}var sf=function(){return function(){}}(),af=function(){function t(){}return t.prototype.parse=function(t){var e=new bf(t);return new tf(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return uf(e);if(n){var r=e.children[$d]?t(e.children[$d],!1):"",i=[];return Xd(e.children,function(e,n){n!==$d&&i.push(n+":"+t(e,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=of(e,function(n,r){return r===$d?[t(e.children[$d],!1)]:[r+":"+t(n,!1)]});return uf(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return hf(t)+"="+hf(e)}).join("&"):hf(t)+"="+hf(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),lf=new af;function uf(t){return t.segments.map(function(t){return mf(t)}).join("/")}function cf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hf(t){return cf(t).replace(/%3B/gi,";")}function df(t){return cf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ff(t){return decodeURIComponent(t)}function pf(t){return ff(t.replace(/\+/g,"%20"))}function mf(t){return""+df(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+df(t)+"="+df(e[t])}).join(""));var e}var gf=/^[^\/()?;=#]+/;function vf(t){var e=t.match(gf);return e?e[0]:""}var yf=/^[^=?&#]+/,_f=/^[^?&#]+/,bf=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ef([],{}):new ef([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[$d]=new ef(t,e)),n},t.prototype.parseSegment=function(){var t=vf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new nf(ff(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=vf(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=vf(this.remaining);r&&this.capture(n=r)}t[ff(e)]=ff(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(yf))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(_f);return e?e[0]:""}(this.remaining);i&&this.capture(r=i)}var o=pf(n),s=pf(r);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(s)}else t[o]=s}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=vf(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=$d);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[$d]:new ef([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),wf=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Cf(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Cf(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Ef(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return Ef(t,this._root).map(function(t){return t.value})},t}();function Cf(t,e){var n,i;if(t===e.value)return e;try{for(var o=Object(r.__values)(e.children),s=o.next();!s.done;s=o.next()){var a=Cf(t,s.value);if(a)return a}}catch(l){n={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null}function Ef(t,e){var n,i;if(t===e.value)return[e];try{for(var o=Object(r.__values)(e.children),s=o.next();!s.done;s=o.next()){var a=Ef(t,s.value);if(a.length)return a.unshift(e),a}}catch(l){n={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return[]}var Af=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function xf(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Sf=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Rf(r,e),r}return Object(r.__extends)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(wf);function kf(t,e){var n=function(t,e){var n=new Of([],{},{},"",{},$d,e,null,t.root,-1,{});return new Pf("",new Af(n,[]))}(t,e),r=new pc([new nf("",{})]),i=new pc({}),o=new pc({}),s=new pc({}),a=new pc(""),l=new Ff(r,i,s,a,o,$d,e,n.root);return l.snapshot=n.root,new Sf(new Af(l,[]),n)}var Ff=function(){function t(t,e,n,r,i,o,s,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(N(function(t){return jd(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(N(function(t){return jd(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Df(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var o=n[i],s=n[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(s.component)break;i--}}return function(t){return t.reduce(function(t,e){return{params:Object(r.__assign)({},t.params,e.params),data:Object(r.__assign)({},t.data,e.data),resolve:Object(r.__assign)({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var Of=function(){function t(t,e,n,r,i,o,s,a,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=jd(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=jd(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Pf=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Rf(r,n),r}return Object(r.__extends)(e,t),e.prototype.toString=function(){return Tf(this._root)},e}(wf);function Rf(t,e){e.value._routerState=t,e.children.forEach(function(e){return Rf(t,e)})}function Tf(t){var e=t.children.length>0?" { "+t.children.map(Tf).join(", ")+" } ":"";return""+t.value+e}function If(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Gd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Gd(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&Bf(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Yd(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),jf=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Nf(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[$d]:""+t}function Vf(t,e,n){if(t||(t=new ef([],{})),0===t.segments.length&&t.hasChildren())return zf(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var s=t.segments[i],a=Nf(n[r]),l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Kf(a,l,s))return o;r+=2}else{if(!Kf(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new ef([],((r={})[$d]=t,r)):t;return new tf(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(N(function(t){return new ef([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return fc({});var o=[],s=[],a={};return Xd(n,function(n,i){var l,u,c=(l=i,u=n,r.expandSegmentGroup(t,e,u,l)).pipe(N(function(t){return a[i]=t}));i===$d?o.push(c):s.push(c)}),fc.apply(null,o.concat(s)).pipe(Ec(),jc(),N(function(){return a}))}(n.children)},t.prototype.expandSegment=function(t,e,n,i,o,s){var a=this;return fc.apply(void 0,Object(r.__spread)(n)).pipe(N(function(r){return a.expandSegmentAgainstRoute(t,e,n,r,i,o,s).pipe(Nc(function(t){if(t instanceof Xf)return fc(null);throw t}))}),Ec(),Kc(function(t){return!!t}),Nc(function(t,n){if(t instanceof gc||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,i,o))return fc(new ef([],{}));throw new Xf(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,s){return sp(r)!==o?Jf(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Jf(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?tp(o):this.lineralizeSegments(n,o).pipe(W(function(n){var o=new ef(n,{});return i.expandSegment(t,o,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var s=this,a=rp(e,r,i),l=a.consumedSegments,u=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return Jf(e);var h=this.applyRedirectCommands(l,r.redirectTo,c);return r.redirectTo.startsWith("/")?tp(h):this.lineralizeSegments(r,h).pipe(W(function(r){return s.expandSegment(t,e,n,r.concat(i.slice(u)),o,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,i){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(N(function(t){return n._loadedConfig=t,new ef(i,{})})):fc(new ef(i,{}));var s=rp(e,n,i),a=s.consumedSegments,l=s.lastChild;if(!s.matched)return Jf(e);var u=i.slice(l);return this.getChildConfig(t,n,i).pipe(W(function(t){var n=t.module,i=t.routes,s=function(t,e,n,i){return n.length>0&&function(t,e,n){return i.some(function(n){return op(t,e,n)&&sp(n)!==$d})}(t,n)?{segmentGroup:ip(new ef(e,function(t,e){var n,i,o={};o[$d]=e;try{for(var s=Object(r.__values)(t),a=s.next();!a.done;a=s.next()){var l=a.value;""===l.path&&sp(l)!==$d&&(o[sp(l)]=new ef([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o}(i,new ef(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return i.some(function(n){return op(t,e,n)})}(t,n)?{segmentGroup:ip(new ef(t.segments,function(t,e,n,i){var o,s,a={};try{for(var l=Object(r.__values)(n),u=l.next();!u.done;u=l.next()){var c=u.value;op(t,e,c)&&!i[sp(c)]&&(a[sp(c)]=new ef([],{}))}}catch(h){o={error:h}}finally{try{u&&!u.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}return Object(r.__assign)({},i,a)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,u,i),l=s.segmentGroup,c=s.slicedSegments;return 0===c.length&&l.hasChildren()?o.expandChildren(n,i,l).pipe(N(function(t){return new ef(a,t)})):0===i.length&&0===c.length?fc(new ef(a,{})):o.expandSegment(n,l,i,c,$d,!0).pipe(N(function(t){return new ef(a.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?fc(new Hd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?fc(e._loadedConfig):function(t,e,n){var r,i=e.canLoad;return i&&0!==i.length?U(i).pipe(N(function(r){var i,o=t.get(r);if(function(t){return t&&Qf(t.canLoad)}(o))i=o.canLoad(e,n);else{if(!Qf(o))throw new Error("Invalid CanLoad guard");i=o(e,n)}return Zd(i)})).pipe(Ec(),(r=function(t){return!0===t},function(t){return t.lift(new qc(r,void 0,t))})):fc(!0)}(t.injector,e,n).pipe(W(function(n){return n?r.configLoader.load(t.injector,e).pipe(N(function(t){return e._loadedConfig=t,t})):function(t){return new C(function(e){return e.error(Vd("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):fc(new Hd([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return fc(n);if(r.numberOfChildren>1||!r.children[$d])return ep(t.redirectTo);r=r.children[$d]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new tf(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Xd(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),s={};return Xd(e.children,function(e,o){s[o]=i.createSegmentGroup(t,e,n,r)}),new ef(o,s)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map(function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,i,o=0;try{for(var s=Object(r.__values)(e),a=s.next();!a.done;a=s.next()){var l=a.value;if(l.path===t.path)return e.splice(o),l;o++}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return t},t}();function rp(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||zd)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ip(t){if(1===t.numberOfChildren&&t.children[$d]){var e=t.children[$d];return new ef(t.segments.concat(e.segments),e.children)}return t}function op(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function sp(t){return t.outlet||$d}var ap=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),lp=function(){return function(t,e){this.component=t,this.route=e}}();function up(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function cp(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=xf(e);return t.children.forEach(function(t){!function(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!rf(t.url,e.url);case"pathParamsOrQueryParamsChange":return!rf(t.url,e.url)||!Gd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Lf(t,e)||!Gd(t.queryParams,e.queryParams);case"paramsChange":default:return!Lf(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ap(r)):(o.data=s.data,o._resolvedData=s._resolvedData),cp(t,e,o.component?a?a.children:null:n,r,i),l&&i.canDeactivateChecks.push(new lp(a&&a.outlet&&a.outlet.component||null,s))}else s&&hp(e,a,i),i.canActivateChecks.push(new ap(r)),cp(t,null,o.component?a?a.children:null:n,r,i)}(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]}),Xd(o,function(t,e){return hp(t,n.getContext(e),i)}),i}function hp(t,e,n){var r=xf(t),i=t.value;Xd(r,function(t,r){hp(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new lp(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var dp=Symbol("INITIAL_VALUE");function fp(){return Qc(function(t){return(function(){for(var t=[],e=0;e0?Yd(n).parameters:{};o=new Of(n,l,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,xp(t),i,t.component,t,bp(e),wp(e)+n.length,Sp(t))}else{var u=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new yp;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(e.matcher||zd)(n,t,e);if(!i)throw new yp;var o={};Xd(i.posParams,function(t,e){o[e]=t.path});var s=i.consumed.length>0?Object(r.__assign)({},o,i.consumed[i.consumed.length-1].parameters):o;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s}}(e,t,n);s=u.consumedSegments,a=n.slice(u.lastChild),o=new Of(s,u.parameters,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,xp(t),i,t.component,t,bp(e),wp(e)+s.length,Sp(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=Cp(e,s,a,c,this.relativeLinkResolution),d=h.segmentGroup,f=h.slicedSegments;if(0===f.length&&d.hasChildren()){var p=this.processChildren(c,d);return[new Af(o,p)]}if(0===c.length&&0===f.length)return[new Af(o,[])];var m=this.processSegment(c,d,f,$d);return[new Af(o,m)]},t}();function bp(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function wp(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Cp(t,e,n,i,o){if(n.length>0&&function(t,e,n){return i.some(function(n){return Ep(t,e,n)&&Ap(n)!==$d})}(t,n)){var s=new ef(e,function(t,e,n,i){var o,s,a={};a[$d]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;try{for(var l=Object(r.__values)(n),u=l.next();!u.done;u=l.next()){var c=u.value;if(""===c.path&&Ap(c)!==$d){var h=new ef([],{});h._sourceSegment=t,h._segmentIndexShift=e.length,a[Ap(c)]=h}}}catch(d){o={error:d}}finally{try{u&&!u.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}return a}(t,e,i,new ef(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return i.some(function(n){return Ep(t,e,n)})}(t,n)){var a=new ef(t.segments,function(t,e,n,i,o,s){var a,l,u={};try{for(var c=Object(r.__values)(i),h=c.next();!h.done;h=c.next()){var d=h.value;if(Ep(t,n,d)&&!o[Ap(d)]){var f=new ef([],{});f._sourceSegment=t,f._segmentIndexShift="legacy"===s?t.segments.length:e.length,u[Ap(d)]=f}}}catch(p){a={error:p}}finally{try{h&&!h.done&&(l=c.return)&&l.call(c)}finally{if(a)throw a.error}}return Object(r.__assign)({},o,u)}(t,e,n,i,t.children,o));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var l=new ef(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function Ep(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ap(t){return t.outlet||$d}function xp(t){return t.data||{}}function Sp(t){return t.resolve||{}}function kp(t,e,n,r){var i=up(t,e,r);return Zd(i.resolve?i.resolve(e,n):i(e,n))}function Fp(t){return function(e){return e.pipe(Qc(function(e){var n=t(e);return n?U(n).pipe(N(function(){return e})):U([e])}))}}var Dp=function(){return function(){}}(),Op=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Pp=new mt("ROUTES"),Rp=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(N(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Hd(Qd(i.injector.get(Pp)).map(qd),i)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?U(this.loader.load(t)):Zd(t()).pipe(W(function(t){return t instanceof $r?fc(t):U(e.compiler.compileModuleAsync(t))}))},t}(),Tp=function(){return function(){}}(),Ip=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Lp(t){throw t}function Bp(t,e,n){return e.parse("/")}function $p(t,e){return fc(null)}var Mp=function(){function t(t,e,n,r,i,o,s,a){var l=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new F,this.errorHandler=Lp,this.malformedUriErrorHandler=Bp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:$p,afterPreactivation:$p},this.urlHandlingStrategy=new Ip,this.routeReuseStrategy=new Op,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(Br),this.console=i.get(Xi);var u=i.get(fo);this.isNgZoneEnabled=u instanceof fo,this.resetConfig(a),this.currentUrlTree=new tf(new ef([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Rp(o,s,function(t){return l.triggerEvent(new Dd(t))},function(t){return l.triggerEvent(new Od(t))}),this.routerState=kf(this.currentUrlTree,this.rootComponentType),this.transitions=new pc({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Ac(function(t){return 0!==t.id}),N(function(t){return Object(r.__assign)({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Qc(function(t){var i,o,s,a=!1,l=!1;return fc(t).pipe(ih(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object(r.__assign)({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Qc(function(t){var i,o,s,a,l=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return fc(t).pipe(Qc(function(t){var r=e.transitions.getValue();return n.next(new bd(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?bc:[t]}),Qc(function(t){return Promise.resolve(t)}),(i=e.ngModule.injector,o=e.configLoader,s=e.urlSerializer,a=e.config,function(t){return t.pipe(Qc(function(t){return function(e,n,r,i,o){return new np(e,n,r,t.extractedUrl,o).apply()}(i,o,s,0,a).pipe(N(function(e){return Object(r.__assign)({},t,{urlAfterRedirects:e})}))}))}),ih(function(t){e.currentNavigation=Object(r.__assign)({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,n,i,o,s){return function(i){return i.pipe(W(function(i){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new _p(t,e,n,r,i,o).recognize()}(t,n,i.urlAfterRedirects,(a=i.urlAfterRedirects,e.serializeUrl(a)),o,s).pipe(N(function(t){return Object(r.__assign)({},i,{targetSnapshot:t})}));var a}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),ih(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id),e.browserUrlTree=t.urlAfterRedirects)}),ih(function(t){var r=new Ad(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(l&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.extractedUrl,c=t.source,h=t.restoredState,d=t.extras,f=new bd(t.id,e.serializeUrl(u),c,h);n.next(f);var p=kf(u,e.rootComponentType).snapshot;return fc(Object(r.__assign)({},t,{targetSnapshot:p,urlAfterRedirects:u,extras:Object(r.__assign)({},d,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),bc}),Fp(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),ih(function(t){var n=new xd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),N(function(t){return Object(r.__assign)({},t,{guards:(n=t.targetSnapshot,i=t.currentSnapshot,o=e.rootContexts,s=n._root,cp(s,i?i._root:null,o,[s.value]))});var n,i,o,s}),function(t,e){return function(n){return n.pipe(W(function(n){var i=n.targetSnapshot,o=n.currentSnapshot,s=n.guards,a=s.canActivateChecks,l=s.canDeactivateChecks;return 0===l.length&&0===a.length?fc(Object(r.__assign)({},n,{guardsResult:!0})):function(t,e,n,r){return U(l).pipe(W(function(t){return function(t,e,n,r,i){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?fc(o.map(function(o){var s,a=up(o,e,i);if(function(t){return t&&Qf(t.canDeactivate)}(a))s=Zd(a.canDeactivate(t,e,n,r));else{if(!Qf(a))throw new Error("Invalid CanDeactivate guard");s=Zd(a(t,e,n,r))}return s.pipe(Kc())})).pipe(fp()):fc(!0)}(t.component,t.route,n,e,r)}),Kc(function(t){return!0!==t},!0))}(0,i,o,t).pipe(W(function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return U(a).pipe(rh(function(e){return U([mp(e.route.parent,r),pp(e.route,r),vp(t,e.path,n),gp(t,e.route,n)]).pipe(Ec(),Kc(function(t){return!0!==t},!0))}),Kc(function(t){return!0!==t},!0))}(i,0,t,e):fc(n)}),N(function(t){return Object(r.__assign)({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),ih(function(t){if(Yf(t.guardsResult)){var n=Vd('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),ih(function(t){var n=new Sd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),Ac(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new Cd(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),Fp(function(t){if(t.guards.canActivateChecks.length)return fc(t).pipe(ih(function(t){var n=new kd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,i=e.ngModule.injector,function(t){return t.pipe(W(function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?U(o).pipe(rh(function(t){return function(t,n,i,o){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return fc({});if(1===i.length){var o=i[0];return kp(t[o],e,n,r).pipe(N(function(t){var e;return(e={})[o]=t,e}))}var s={};return U(i).pipe(W(function(i){return kp(t[i],e,n,r).pipe(N(function(t){return s[i]=t,t}))})).pipe(jc(),N(function(){return s}))}(t._resolve,t,e,o).pipe(N(function(e){return t._resolvedData=e,t.data=Object(r.__assign)({},t.data,Df(t,i).resolve),null}))}(t.route,0,n,i)}),function(t,e){return arguments.length>=2?function(e){return b(th(t,void 0),Dc(1),Bc(void 0))(e)}:function(e){return b(th(function(e,n,r){return t(e)}),Dc(1))(e)}}(function(t,e){return t}),N(function(e){return t})):fc(t)}))}),ih(function(t){var n=new Fd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,i}),Fp(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),N(function(t){var n,i,o,s=(o=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){(u=i.value)._futureSnapshot=n.value;var o=function(e,n,i){return n.children.map(function(n){var o,s;try{for(var a=Object(r.__values)(i.children),l=a.next();!l.done;l=a.next()){var u=l.value;if(e.shouldReuseRoute(u.value.snapshot,n.value))return t(e,n,u)}}catch(c){o={error:c}}finally{try{l&&!l.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,i);return new Af(u,o)}var s=e.retrieve(n.value);if(s){var a=s.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;ra;){if(l-=a,!(s=s.parent))throw new Error("Invalid number of '../'");a=s.segments.length}return new jf(s,!1,a-l)}()}(s,0,t),l=a.processChildren?zf(a.segmentGroup,a.index,s.commands):Vf(a.segmentGroup,a.index,s.commands);return $f(a.segmentGroup,l,e,i,o)}(u,this.currentUrlTree,t,h,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),ii()&&this.isNgZoneEnabled&&!fo.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Yf(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=(i=e.flush.bind(e,null),o=Km++,qm[o]=i,Promise.resolve().then(function(){return function(t){var e=qm[t];e&&e()}(o)}),o)));var i,o},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(delete qm[n],e.scheduled=void 0)},e}(Gm),Ym=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),Xm=function(t){function e(n,r){void 0===r&&(r=Ym.now);var i=t.call(this,n,function(){return e.delegate&&e.delegate!==i?e.delegate.now():r()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return r.__extends(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(Ym),Zm=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}})}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withAllowedModifierKeys=function(t){return this._allowedModifierKeys=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some(function(t){return"function"!=typeof t.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ih(function(t){return e._pressedLetters.push(t)}),cg(t),Ac(function(){return e._pressedLetters.length>0}),N(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),r=1;r-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||lg(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),r=e[n];this._activeItem=null==r?null:r,this._activeItemIndex=n},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof Ro?this._items.toArray():this._items},t}(),kg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(Sg),Fg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._origin="program",e}return Object(r.__extends)(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(Sg),Dg=new mt("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Og=function(){function t(t,e,n){this._ngZone=e,this._document=n,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t){for(var e,n,r=this,i=[],o=1;o0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new _v(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(mv.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(mv.createComplete()),this.unsubscribe()},e}(g),_v=function(){return function(t,e){this.time=t,this.notification=e}}();function bv(t,e,n,r){return s(n)&&(r=n,n=void 0),r?bv(t,e,n).pipe(N(function(t){return i(t)?r.apply(void 0,t):r(t)})):new C(function(r){!function t(e,n,r,i,o){var s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var a=e;e.addEventListener(n,r,o),s=function(){return a.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,r),s=function(){return l.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,r),s=function(){return u.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1?Array.prototype.slice.call(arguments):t)},r,n)})}var wv=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Cv(t,this.compare,this.keySelector))},t}(),Cv=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.__extends(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(g),Ev=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Av(t,this.durationSelector))},t}(),Av=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.__extends(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(r){return this.destination.error(r)}var n=M(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(j);function xv(t){return!i(t)&&t-parseFloat(t)+1>=0}function Sv(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function kv(t,e){return void 0===e&&(e=ug),n=function(){return function(t,e,n){void 0===t&&(t=0);var r=-1;return xv(e)?r=Number(e)<1?1:Number(e):O(e)&&(n=e),O(n)||(n=ug),new C(function(e){var i=xv(t)?t:+t-n.now();return n.schedule(Sv,i,{index:0,period:r,subscriber:e})})}(t,e)},function(t){return t.lift(new Ev(n))};var n}var Fv=function(){function t(t,e,n){void 0===t&&(t=!1),void 0===n&&(n=!0);var r=this;this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new F,this.onChange=this.changed,e&&e.length&&(t?e.forEach(function(t){return r._markSelected(t)}):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),t.prototype.select=function(){for(var t=this,e=[],n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),Dv=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new F,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new C(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(kv(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):fc()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Ac(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return bv(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=dt({factory:function(){return new t(Fe(fo),Fe(vg))},token:t,providedIn:"root"}),t}(),Ov=function(){return function(){}}(),Pv=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular(function(){n._change=t.isBrowser?X(bv(window,"resize"),bv(window,"orientationchange")):fc(),n._invalidateCache=n.change().subscribe(function(){return n._updateViewportSize()})})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(kv(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=dt({factory:function(){return new t(Fe(vg),Fe(fo))},token:t,providedIn:"root"}),t}(),Rv=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ag(-this._previousScrollPosition.left),t.style.top=Ag(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,r=e.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=r,n.scrollBehavior=i}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}();function Tv(){return Error("Scroll strategy has already been attached.")}var Iv=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run(function(){return i._overlayRef.detach()})}}return t.prototype.attach=function(t){if(this._overlayRef)throw Tv();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),Lv=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function Bv(t,e){return e.some(function(e){return t.bottome.bottom||t.righte.right})}function $v(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}var Mv=function(){function t(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw Tv();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),r=n.width,i=n.height;Bv(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),jv=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new Lv},this.close=function(t){return new Iv(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new Rv(i._viewportRuler,i._document)},this.reposition=function(t){return new Mv(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r}return t.ngInjectableDef=dt({factory:function(){return new t(Fe(Dv),Fe(Pv),Fe(fo),Fe(sc))},token:t,providedIn:"root"}),t}(),Nv=function(){return function(t){var e=this;this.scrollStrategy=new Lv,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t&&Object.keys(t).forEach(function(n){void 0!==t[n]&&(e[n]=t[n])})}}(),Vv=function(){return function(t,e,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}(),zv=function(){return function(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}();function Hv(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')}function Uv(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')}var Wv=function(){function t(t){var e=this;this._attachedOverlays=[],this._keydownListener=function(t){for(var n=e._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener,!0),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener,!0),this._isAttached=!1)},t.ngInjectableDef=dt({factory:function(){return new t(Fe(sc))},token:t,providedIn:"root"}),t}(),Kv=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.ngInjectableDef=dt({factory:function(){return new t(Fe(sc))},token:t,providedIn:"root"}),t}(),qv=function(){function t(t,e,n,r,i,o,s,a){var l=this;this._portalOutlet=t,this._host=e,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=s,this._location=a,this._backdropElement=null,this._backdropClick=new F,this._attachments=new F,this._detachments=new F,this._locationChanges=u.EMPTY,this._keydownEventsObservable=new C(function(t){var e=l._keydownEvents.subscribe(t);return l._keydownEventSubscriptions++,function(){e.unsubscribe(),l._keydownEventSubscriptions--}}),this._keydownEvents=new F,this._keydownEventSubscriptions=0,r.scrollStrategy&&r.scrollStrategy.attach(this),this._positionStrategy=r.positionStrategy}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Hc(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEventsObservable},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},t.prototype.updatePositionStrategy=function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))},t.prototype.updateSize=function(t){this._config=Object(r.__assign)({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=Object(r.__assign)({},this._config,{direction:t}),this._updateElementDirection()},t.prototype.addPanelClass=function(t){this._pane&&this._toggleClasses(this._pane,t,!0)},t.prototype.removePanelClass=function(t){this._pane&&this._toggleClasses(this._pane,t,!1)},t.prototype.getDirection=function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"},t.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},t.prototype._updateElementSize=function(){var t=this._pane.style;t.width=Ag(this._config.width),t.height=Ag(this._config.height),t.minWidth=Ag(this._config.minWidth),t.minHeight=Ag(this._config.minHeight),t.maxWidth=Ag(this._config.maxWidth),t.maxHeight=Ag(this._config.maxHeight)},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",function(e){return t._backdropClick.next(e)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},t.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n,r=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null),t._config.backdropClass&&t._toggleClasses(e,t._config.backdropClass,!1),clearTimeout(n)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",r)}),e.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(r,500)})}},t.prototype._toggleClasses=function(t,e,n){var r=t.classList;Eg(e).forEach(function(t){n?r.add(t):r.remove(t)})},t.prototype._detachContentWhenStable=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.asObservable().pipe(uv(X(t._attachments,t._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})},t}(),Gv=function(){function t(t,e,n,r,i){var o=this;this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this.scrollables=[],this._preferredPositions=[],this._positionChanges=new F,this._resizeSubscription=u.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this._appliedPanelClasses=[],this.positionChanges=new C(function(t){var e=o._positionChanges.subscribe(t);return o._positionChangeSubscriptions++,function(){e.unsubscribe(),o._positionChangeSubscriptions--}}),this.setOrigin(t)}return Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})},t.prototype.apply=function(){if(!(this._isDisposed||this._platform&&!this._platform.isBrowser))if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var t,e=this._originRect,n=this._overlayRect,r=this._viewportRect,i=[],o=0,s=this._preferredPositions;od&&(d=g,h=m)}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Qv(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){return this.scrollables=t,this},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var r=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?r:i}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var r;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+r,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,r){var i=t.x,o=t.y,s=this._getOffset(r,"x"),a=this._getOffset(r,"y");s&&(i+=s),a&&(o+=a);var l=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),h=this._subtractOverflows(e.height,l,u),d=c*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var r=n.bottom-e.y,i=n.right-e.x,o=this._overlayRef.getConfig().minHeight,s=this._overlayRef.getConfig().minWidth;return(t.fitsInViewportVertically||null!=o&&o<=r)&&(t.fitsInViewportHorizontally||null!=s&&s<=i)}},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,s=Math.max(t.x+e.width-o.right,0),a=Math.max(t.y+e.height-o.bottom,0),l=Math.max(o.top-n.top-t.y,0),u=Math.max(o.left-n.left-t.x,0);return this._previousPushAmount={x:r=e.width<=o.width?u||-s:t.x0){var n=this._getScrollVisibility(),r=new zv(t,n);this._positionChanges.next(r)}this._isInitialRender=!1},t.prototype._setTransformOrigin=function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var i=0;ih&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)a=l.right-t.x+this._viewportMargin,o=t.x-l.left;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)s=t.x,o=l.right-t.x;else{c=Math.min(l.right-t.x+l.left,t.x);var d=this._lastBoundingBoxSize.width;s=t.x-c,(o=2*c)>d&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.x-d/2)}return{top:r,left:s,bottom:i,right:a,width:o,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Ag(n.height),r.top=Ag(n.top),r.bottom=Ag(n.bottom),r.width=Ag(n.width),r.left=Ag(n.left),r.right=Ag(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=Ag(i)),o&&(r.maxWidth=Ag(o))}this._lastBoundingBoxSize=n,Qv(this._boundingBox.style,r)},t.prototype._resetBoundingBoxStyles=function(){Qv(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){Qv(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();Qv(n,this._getExactOverlayY(e,t,r)),Qv(n,this._getExactOverlayX(e,t,r))}else n.position="static";var i="",o=this._getOffset(e,"x"),s=this._getOffset(e,"y");o&&(i+="translateX("+o+"px) "),s&&(i+="translateY("+s+"px)"),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),Qv(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var r={top:null,bottom:null},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return i.y-=o,"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=Ag(i.y),r},t.prototype._getExactOverlayX=function(t,e,n){var r={left:null,right:null},i=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?r.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":r.left=Ag(i.x),r},t.prototype._getScrollVisibility=function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this.scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:$v(t,n),isOriginOutsideView:Bv(t,n),isOverlayClipped:$v(e,n),isOverlayOutsideView:Bv(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Cg(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Cg(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){t&&t.length&&(this._classList=t.split(" ").reduce(function(t,e){return t[e]=!0,t},{}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.setPositionClasses()},t.prototype.ngAfterContentInit=function(){var t=this;this._keyManager=new Fg(this._items).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return t.closed.emit("tab")})},t.prototype.ngOnDestroy=function(){this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){return this._itemChanges.pipe(Jc(this._items),Qc(function(t){return X.apply(void 0,t.map(function(t){return t._hovered}))}))},t.prototype._handleKeydown=function(t){var e=t.keyCode;switch(e){case 27:this.closed.emit("keydown");break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:38!==e&&40!==e||this._keyManager.setFocusOrigin("keyboard"),this._keyManager.onKeydown(t)}},t.prototype.focusFirstItem=function(t){var e=this;void 0===t&&(t="program"),this.lazyContent?this._ngZone.onStable.asObservable().pipe(Hc(1)).subscribe(function(){return e._keyManager.setFocusOrigin(t).setFirstItemActive()}):this._keyManager.setFocusOrigin(t).setFirstItemActive()},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find(function(t){return t.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype.addItem=function(t){-1===this._items.indexOf(t)&&(this._items.push(t),this._itemChanges.next(this._items))},t.prototype.removeItem=function(t){var e=this._items.indexOf(t);this._items.indexOf(t)>-1&&(this._items.splice(e,1),this._itemChanges.next(this._items))},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e},t.prototype._startAnimation=function(){this._panelAnimationState="enter"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){this._animationDone.next(t),this._isAnimating=!1},t.prototype._onAnimationStart=function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)},t}(),hy=new mt("mat-menu-scroll-strategy");function dy(t){return function(){return t.scrollStrategies.reposition()}}var fy=wg({passive:!0}),py=function(){function t(t,e,n,r,i,o,s,a){var l=this;this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=i,this._menuItemInstance=o,this._dir=s,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.EMPTY,this._hoverSubscription=u.EMPTY,this._menuCloseSubscription=u.EMPTY,this._handleTouchStart=function(){return l._openedBy="touch"},this._openedBy=null,this.menuOpened=new Fi,this.onMenuOpen=this.menuOpened,this.menuClosed=new Fi,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,fy),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe(function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)})))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,fy),this._cleanUpSubscriptions(),this._closingActionsSubscription.unsubscribe()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof cy&&this.menu._startAnimation()}},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,t):this._element.nativeElement.focus()},t.prototype._destroyMenu=function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof cy?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Ac(function(t){return"void"===t.toState}),Hc(1),uv(e.lazyContent._attached)).subscribe(function(){return e.lazyContent.detach()},void 0,function(){t._resetMenu()}):this._resetMenu()):(this._resetMenu(),e.lazyContent&&e.lazyContent.detach())}},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._resetMenu=function(){this._setIsMenuOpen(!1),this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus(),this._openedBy=null},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new Nv({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},t.prototype._subscribeToPositions=function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe(function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})},t.prototype._setPosition=function(t){var e="before"===this.menu.xPosition?["end","start"]:["start","end"],n=e[0],r=e[1],i="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],o=i[0],s=i[1],a=[o,s],l=a[0],u=a[1],c=[n,r],h=c[0],d=c[1],f=0;this.triggersSubmenu()?(d=n="before"===this.menu.xPosition?"start":"end",r=h="end"===n?"start":"end",f="bottom"===o?8:-8):this.menu.overlapTrigger||(l="top"===o?"bottom":"top",u="top"===s?"bottom":"top"),t.withPositions([{originX:n,originY:l,overlayX:h,overlayY:o,offsetY:f},{originX:r,originY:l,overlayX:d,overlayY:o,offsetY:f},{originX:n,originY:u,overlayX:h,overlayY:s,offsetY:-f},{originX:r,originY:u,overlayX:d,overlayY:s,offsetY:-f}])},t.prototype._cleanUpSubscriptions=function(){this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},t.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return X(e,this._parentMenu?this._parentMenu.closed:fc(),this._parentMenu?this._parentMenu._hovered().pipe(Ac(function(e){return e!==t._menuItemInstance}),Ac(function(){return t._menuOpen})):fc(),n)},t.prototype._handleMousedown=function(t){Ig(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Ac(function(e){return e===t._menuItemInstance&&!e.disabled}),gv(0,Zm)).subscribe(function(){t._openedBy="mouse",t.menu instanceof cy&&t.menu._isAnimating?t.menu._animationDone.pipe(Hc(1),gv(0,Zm),uv(t._parentMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))},t.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Hm(this.menu.templateRef,this._viewContainerRef)),this._portal},t}(),my=function(){return function(){}}(),gy=new mt("cdk-dir-doc",{providedIn:"root",factory:function(){return Fe(sc)}}),vy=function(){function t(t){if(this.value="ltr",this.change=new Fi,t){var e=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return t.prototype.ngOnDestroy=function(){this.change.complete()},t.ngInjectableDef=dt({factory:function(){return new t(Fe(gy,8))},token:t,providedIn:"root"}),t}(),yy=function(){return function(){}}();function _y(){return"undefined"!=typeof process}function by(t){switch(t.length){case 0:return new og;case 1:return t[0];default:return new sg(t)}}function wy(t,e,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],a=[],l=-1,u=null;if(r.forEach(function(t){var n=t.offset,r=n==l,c=r&&u||{};Object.keys(t).forEach(function(n){var r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,s),a){case ag:a=i[n];break;case eg:a=o[n];break;default:a=e.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),u=c,l=n}),s.length)throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "));return a}function Cy(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&Ey(n,"start",t))});break;case"done":t.onDone(function(){return r(n&&Ey(n,"done",t))});break;case"destroy":t.onDestroy(function(){return r(n&&Ey(n,"destroy",t))})}}function Ey(t,e,n){var r=n.totalTime,i=Ay(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function Ay(t,e,n,r,i,o,s){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function xy(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function Sy(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var ky=function(t,e){return!1},Fy=function(t,e){return!1},Dy=function(t,e,n){return[]},Oy=_y();if(Oy||"undefined"!=typeof Element){if(ky=function(t,e){return t.contains(e)},Oy||Element.prototype.matches)Fy=function(t,e){return t.matches(e)};else{var Py=Element.prototype,Ry=Py.matchesSelector||Py.mozMatchesSelector||Py.msMatchesSelector||Py.oMatchesSelector||Py.webkitMatchesSelector;Ry&&(Fy=function(t,e){return Ry.apply(t,[e])})}Dy=function(t,e,n){var i=[];if(n)i.push.apply(i,Object(r.__spread)(t.querySelectorAll(e)));else{var o=t.querySelector(e);o&&i.push(o)}return i}}var Ty=null,Iy=!1;function Ly(t){Ty||(Ty=("undefined"!=typeof document?document.body:null)||{},Iy=!!Ty.style&&"WebkitAppearance"in Ty.style);var e=!0;return Ty.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in Ty.style)&&Iy&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Ty.style),e}var By=Fy,$y=ky,My=Dy;function jy(t){var e={};return Object.keys(t).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}var Ny=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return Ly(t)},t.prototype.matchesElement=function(t,e){return By(t,e)},t.prototype.containsElement=function(t,e){return $y(t,e)},t.prototype.query=function(t,e,n){return My(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o,s){return void 0===o&&(o=[]),new og(n,r)},t}(),Vy=function(){function t(){}return t.NOOP=new Ny,t}(),zy=1e3;function Hy(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Uy(parseFloat(e[1]),e[2])}function Uy(t,e){switch(e){case"s":return t*zy;default:return t}}function Wy(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var s=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=Uy(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=Uy(parseFloat(a),s[4]));var l=s[5];l&&(o=l)}else r=t;if(!n){var u=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function Ky(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function qy(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else Ky(t,n);return n}function Gy(t,e,n){return n?e+":"+n+";":""}function Qy(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],s=i[2],a=i[3];e.push(d_(o,a)),"<"!=s[0]||o==u_&&a==u_||e.push(d_(a,o))}(t,i,r)}):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:y_(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return a_(n,t,e)}),options:y_(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=a_(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:y_(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return __(Wy(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=__(0,0,"");return i.dynamic=!0,i.strValue=r,i}return __((n=n||Wy(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var i=t.styles?t.styles:rg({});if(5==i.type)n=this.visitKeyframes(i,e);else{var o=t.styles,s=!1;if(!o){s=!0;var a={};r.easing&&(a.easing=r.easing),o=rg(a)}e.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,e);l.isEmptyStep=s,n=l}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==eg?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,i=null;return n.forEach(function(t){if(v_(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s,a,l,u=e.collectedStyles[e.currentQuerySelector],c=u[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(u[r]={startTime:o,endTime:i}),e.options&&(s=e.errors,a=e.options.params||{},(l=t_(t[r])).length&&l.forEach(function(t){a.hasOwnProperty(t)||s.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,l=0,u=t.steps.map(function(t){var r=n._makeStyleAst(t,e),u=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(v_(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(v_(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),a=a||c<0||c>1,s=s||c0&&i0?i==d?1:h*i:o[i],a=s*m;e.currentTime=f+p.delay+a,p.duration=a,n._validateStyleAst(t,e),t.offset=s,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:a_(this,Zy(t.animation),e),options:y_(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:y_(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:y_(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var o=Object(r.__read)(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(f_,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),s=o[0],a=o[1];e.currentQuerySelector=n.length?n+" "+s:s,xy(e.collectedStyles,e.currentQuerySelector,{});var l=a_(this,Zy(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:l,originalSelector:t.selector,options:y_(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Wy(t.timings,e.errors,!0);return{type:12,animation:a_(this,Zy(t.animation),e),timings:n,options:null}},t}(),g_=function(){return function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function v_(t){return!Array.isArray(t)&&"object"==typeof t}function y_(t){var e;return t?(t=Ky(t)).params&&(t.params=(e=t.params)?Ky(e):null):t={},t}function __(t,e,n){return{duration:t,delay:e,easing:n}}function b_(t,e,n,r,i,o,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var w_=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,Object(r.__spread)(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),C_=new RegExp(":enter","g"),E_=new RegExp(":leave","g");function A_(t,e,n,r,i,o,s,a,l,u){return void 0===o&&(o={}),void 0===s&&(s={}),void 0===u&&(u=[]),(new x_).buildKeyframes(t,e,n,r,i,o,s,a,l,u)}var x_=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,s,a,l,u){void 0===u&&(u=[]),l=l||new w_;var c=new k_(t,e,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),a_(this,n,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(s).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([s],null,c.errors,a)}return h.length?h.map(function(t){return t.buildKeyframes()}):[b_(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?Hy(n.duration):null,o=null!=n.delay?Hy(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),a_(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=S_);var s=Hy(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(function(t){return a_(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Hy(t.options.delay):0;t.steps.forEach(function(s){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),a_(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return Wy(e.params?e_(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?Hy(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=S_);var s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;var l=null;a.forEach(function(r,i){e.currentQueryIndex=i;var a=e.createSubContext(t.options,r);o&&a.delayNextStep(o),r===e.element&&(l=a.currentTimeline),a_(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),s=o*(e.currentQueryTotal-1),a=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var l=e.currentTimeline;a&&l.delayNextStep(a);var u=l.currentTime;a_(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),S_={},k_=function(){function t(t,e,n,r,i,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=S_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new F_(this._driver,e,0),s.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=Hy(r.duration)),null!=r.delay&&(i.delay=Hy(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(t){e&&s.hasOwnProperty(t)||(s[t]=e_(o[t],s,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=S_,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new D_(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,i,o,s){var a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(C_,"."+this._enterClassName)).replace(E_,"."+this._leaveClassName);var l=this._driver.query(this.element,t,1!=n);0!==n&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),a.push.apply(a,Object(r.__spread)(l))}return o||0!=a.length||s.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),F_=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||eg,e._currentKeyframe[t]=eg}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},s=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=eg}):qy(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=e_(s[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:eg),i._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=qy(o,!0);Object.keys(a).forEach(function(t){var r=a[t];r==ag?e.add(t):r==eg&&n.add(t)}),r||(a.offset=s/t.duration),i.push(a)});var o=e.size?n_(e.values()):[],s=n.size?n_(n.values()):[];if(r){var a=i[0],l=Ky(a);a.offset=0,l.offset=1,i=[a,l]}return b_(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},t}(),D_=function(t){function e(e,n,r,i,o,s,a){void 0===a&&(a=!1);var l=t.call(this,e,n,s.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=a,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return Object(r.__extends)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,l=qy(t[0],!1);l.offset=0,o.push(l);var u=qy(t[0],!1);u.offset=O_(a),o.push(u);for(var c=t.length-1,h=1;h<=c;h++){var d=qy(t[h],!1);d.offset=O_((n+d.offset*r)/s),o.push(d)}r=s,n=0,i="",t=o}return b_(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(F_);function O_(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var P_=function(){return function(){}}(),R_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.normalizePropertyName=function(t,e){return i_(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(T_[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(P_),T_=I_("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function I_(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}function L_(t,e,n,r,i,o,s,a,l,u,c,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}var B_={},$_=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some(function(t){return t(e,n,r,i)})}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,i,o,s,a,l,u,c){var h=[],d=this.ast.options&&this.ast.options.params||B_,f=this.buildStyles(n,a&&a.params||B_,h),p=l&&l.params||B_,m=this.buildStyles(i,p,h),g=new Set,v=new Map,y=new Map,_="void"===i,b={params:Object(r.__assign)({},d,p)},w=c?[]:A_(t,e,this.ast.animation,o,s,f,m,b,u,h),C=0;if(w.forEach(function(t){C=Math.max(t.duration+t.delay,C)}),h.length)return L_(e,this._triggerName,n,i,_,f,m,[],[],v,y,C,h);w.forEach(function(t){var n=t.element,r=xy(v,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=xy(y,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&g.add(n)});var E=n_(g.values());return L_(e,this._triggerName,n,i,_,f,m,w,E,v,y,C)},t}(),M_=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=Ky(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=e_(o,r,e)),n[t]=o})}}),n},t}(),j_=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new M_(t.style,t.options&&t.options.params||{})}),N_(this.states,"true","1"),N_(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new $_(t,e,n.states))}),this.fallbackTransition=new $_(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find(function(i){return i.match(t,e,n,r)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function N_(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var V_=new w_,z_=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=p_(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=wy(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[t],a=new Map;if(s?(i=A_(this._driver,e,s,"ng-enter","ng-leave",{},{},n,V_,o)).forEach(function(t){var e=xy(a,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,eg)})});var l=by(i.map(function(t){var e=a.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(function(){return r.destroy(t)}),this.players.push(l),l},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=Ay(e,"","","");return Cy(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),H_=[],U_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},W_={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},K_="__ng_removed",q_=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=Ky(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),G_=new q_("void"),Q_=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,rb(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var s=xy(this._elementListeners,t,[]),a={name:e,phase:n,callback:r};s.push(a);var l=xy(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(rb(t,"ng-trigger"),rb(t,"ng-trigger-"+e),l[e]=G_),function(){o._engine.afterFlush(function(){var t=s.indexOf(a);t>=0&&s.splice(t,1),o._triggers[e]||delete l[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),s=new X_(this.id,e,t),a=this._engine.statesByElement.get(t);a||(rb(t,"ng-trigger"),rb(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var l=a[e],u=new q_(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a[e]=u,l||(l=G_),"void"===u.value||l.value!==u.value){var c=xy(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(l.value,u.value,t,u.params),d=!1;if(!h){if(!r)return;h=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:u,player:s,isFallbackTransition:d}),d||(rb(t,"ng-animate-queued"),s.onStart(function(){ib(t,"ng-animate-queued")})),s.onDone(function(){var e=i.players.indexOf(s);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),c.push(s),s}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var s=this._fetchNamespace(t);s&&s.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),rb(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ib(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(Z_(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[K_]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return Z_(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return by(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[K_];if(n&&n.setForRemoval){if(t[K_]=U_,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(t){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;x--)this._namespaceList[x].drainQueuedTransitions(e).forEach(function(t){var e=t.player,r=t.element;if(E.push(e),n.collectedEnterElements.length){var s=r[K_];if(s&&s.setForMove)return void e.destroy()}var h=!d||!n.driver.containsElement(d,r),f=w.get(r),p=m.get(r),g=n._buildInstruction(t,i,p,f,h);if(g.errors&&g.errors.length)A.push(g);else{if(h)return e.onStart(function(){return Xy(r,g.fromStyles)}),e.onDestroy(function(){return Yy(r,g.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return Xy(r,g.fromStyles)}),e.onDestroy(function(){return Yy(r,g.toStyles)}),void o.push(e);g.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),i.append(r,g.timelines),a.push({instruction:g,player:e,element:r}),g.queriedElements.forEach(function(t){return xy(l,t,[]).push(e)}),g.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=u.get(e);r||u.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),g.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=c.get(e);r||c.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}});if(A.length){var S=[];A.forEach(function(t){S.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return S.push("- "+t+"\n")})}),E.forEach(function(t){return t.destroy()}),this.reportError(S)}var k=new Map,F=new Map;a.forEach(function(t){var e=t.element;i.has(e)&&(F.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){xy(k,e,[]).push(t),t.destroy()})});var D=v.filter(function(t){return sb(t,u,c)}),O=new Map;tb(O,this.driver,_,c,eg).forEach(function(t){sb(t,u,c)&&D.push(t)});var P=new Map;p.forEach(function(t,e){tb(P,n.driver,new Set(t),u,ag)}),D.forEach(function(t){var e=O.get(t),n=P.get(t);O.set(t,Object(r.__assign)({},e,n))});var R=[],T=[],I={};a.forEach(function(t){var e=t.element,r=t.player,a=t.instruction;if(i.has(e)){if(h.has(e))return r.onDestroy(function(){return Yy(e,a.toStyles)}),r.disabled=!0,r.overrideTotalTime(a.totalTime),void o.push(r);var l=I;if(F.size>1){for(var u=e,c=[];u=u.parentNode;){var d=F.get(u);if(d){l=d;break}c.push(u)}c.forEach(function(t){return F.set(t,l)})}var f=n._buildAnimation(r.namespaceId,a,k,s,P,O);if(r.setRealPlayer(f),l===I)R.push(r);else{var p=n.playersByElement.get(l);p&&p.length&&(r.parentPlayer=by(p)),o.push(r)}}else Xy(e,a.fromStyles),r.onDestroy(function(){return Yy(e,a.toStyles)}),T.push(r),h.has(e)&&o.push(r)}),T.forEach(function(t){var e=s.get(t.element);if(e&&e.length){var n=by(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var L=0;L0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new og(t.duration,t.delay)},t}(),X_=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new og,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return Cy(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){xy(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function Z_(t){return t&&1===t.nodeType}function J_(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function tb(t,e,n,r,i){var o=[];n.forEach(function(t){return o.push(J_(t))});var s=[];r.forEach(function(n,r){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[K_]=W_,s.push(r))}),t.set(r,o)});var a=0;return n.forEach(function(t){return J_(t,o[a++])}),s}function eb(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var s=e.parentNode;return o=n.has(s)?s:r.has(s)?1:t(s),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)}),n}var nb="$$classes";function rb(t,e){if(t.classList)t.classList.add(e);else{var n=t[nb];n||(n=t[nb]={}),n[e]=!0}}function ib(t,e){if(t.classList)t.classList.remove(e);else{var n=t[nb];n&&delete n[e]}}function ob(t,e,n){by(n).onDone(function(){return t.processLeaveNode(e)})}function sb(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach(function(t){return i.add(t)}):e.set(t,r),n.delete(t),!0}var ab=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Y_(t,e,n),this._timelineEngine=new z_(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,s=this._triggerCache[o];if(!s){var a=[],l=p_(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(t,e){return new j_(t,e)}(r,l),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,i){if("@"==n.charAt(0)){var o=Object(r.__read)(Sy(n),2);this._timelineEngine.command(o[0],e,o[1],i)}else this._transitionEngine.trigger(t,e,n,i)},t.prototype.listen=function(t,e,n,i,o){if("@"==n.charAt(0)){var s=Object(r.__read)(Sy(n),2);return this._timelineEngine.listen(s[0],e,s[1],o)}return this._transitionEngine.listen(t,e,n,i,o)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function lb(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=cb(e[0]),e.length>1&&(r=cb(e[e.length-1]))):e&&(n=cb(e)),n||r?new ub(t,n,r):null}var ub=function(){function t(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return t.prototype.start=function(){this._state<1&&(this._startStyles&&Yy(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(Yy(this._element,this._initialStyles),this._endStyles&&(Yy(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Xy(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xy(this._element,this._endStyles),this._endStyles=null),Yy(this._element,this._initialStyles),this._state=3)},t.initialStylesByElement=new WeakMap,t}();function cb(t){for(var e=null,n=Object.keys(t),r=0;r=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),yb(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(r=vb(n=bb(t=this._element,"").split(","),e))>=0&&(n.splice(r,1),_b(t,"",n.join(","))))},t}();function mb(t,e,n){_b(t,"PlayState",n,gb(t,e))}function gb(t,e){var n=bb(t,"");return n.indexOf(",")>0?vb(n.split(","),e):vb([n],e)}function vb(t,e){for(var n=0;n=0)return n;return-1}function yb(t,e,n){n?t.removeEventListener(fb,e):t.addEventListener(fb,e)}function _b(t,e,n,r){var i=db+e;if(null!=r){var o=t.style[i];if(o.length){var s=o.split(",");s[r]=n,n=s.join(",")}}t.style[i]=n}function bb(t,e){return t.style[db+e]}var wb="linear",Cb=function(){function t(t,e,n,r,i,o,s,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||wb,this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new pb(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:l_(t.element,r))})}this.currentSnapshot=e},t}(),Eb=function(t){function e(e,n){var r=t.call(this)||this;return r.element=e,r._startingStyles={},r.__initialized=!1,r._styles=jy(n),r}return Object(r.__extends)(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,t.prototype.destroy.call(this))},e}(og),Ab=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return Ly(t)},t.prototype.matchesElement=function(t,e){return By(t,e)},t.prototype.containsElement=function(t,e){return $y(t,e)},t.prototype.query=function(t,e,n){return My(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map(function(t){return jy(t)});var r="@keyframes "+e+" {\n",i="";n.forEach(function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}}),r+=i+"}\n"}),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,s){void 0===o&&(o=[]),s&&this._notifyFaultyScrubber();var a=o.filter(function(t){return t instanceof Cb}),l={};o_(n,r)&&a.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=s_(t,e,l));if(0==n)return new Eb(t,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var d=lb(t,e),f=new Cb(t,e,c,n,r,i,u,d);return f.onDestroy(function(){var t;(t=h).parentNode.removeChild(t)}),f},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),xb=function(){function t(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:l_(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Sb=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(kb().toString()),this._cssKeyframesDriver=new Ab}return t.prototype.validateStyleProperty=function(t){return Ly(t)},t.prototype.matchesElement=function(t,e){return By(t,e)},t.prototype.containsElement=function(t,e){return $y(t,e)},t.prototype.query=function(t,e,n){return My(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,s){if(void 0===o&&(o=[]),!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);var l={},u=o.filter(function(t){return t instanceof xb});o_(n,r)&&u.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})});var c=lb(t,e=s_(t,e=e.map(function(t){return qy(t,!1)}),l));return new xb(t,e,a,c)},t}();function kb(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Fb=function(t){function e(e,n){var r=t.call(this)||this;return r._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:Pt.None,styles:[],data:{animation:[]}}),r}return Object(r.__extends)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?ng(t):t;return Pb(this._renderer,null,e,"register",[n]),new Db(e,this._renderer)},e}(Jm),Db=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return Object(r.__extends)(e,t),e.prototype.create=function(t,e){return new Ob(this._id,t,e||{},this._renderer)},e}(tg),Ob=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n=0&&t enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function zb(t){return _l(0,[(t()(),oa(0,0,null,null,3,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.closed.emit("click")&&r),"@transformMenu.start"===e&&(r=!1!==i._onAnimationStart(n)&&r),"@transformMenu.done"===e&&(r=!1!==i._onAnimationDone(n)&&r),r},null,null)),qa(1,278528,null,0,Uu,[is,os,jr,Ur],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),oa(2,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),pl(null,0)],function(t,e){t(e,1,0,"mat-menu-panel",e.component._classList)},function(t,e){t(e,0,0,e.component._panelAnimationState)})}function Hb(t){return _l(2,[ul(402653184,1,{templateRef:0}),(t()(),ia(0,[[1,2]],null,0,null,zb))],null,null)}var Ub=Ps({encapsulation:2,styles:[],data:{}});function Wb(t){return _l(2,[pl(null,0),(t()(),oa(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),qa(2,212992,null,0,Yg,[jr,fo,vg,[2,Qg],[2,jb]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())},function(t,e){t(e,1,0,Ia(e,2).unbounded)})}var Kb=n("d5rz"),qb=n.n(Kb),Gb=n("vLDs"),Qb=n.n(Gb),Yb=function(){function t(){this._schema={},this.ajv=new Qb.a({allErrors:!0,jsonPointers:!0,unknownFormats:"ignore"})}return Object.defineProperty(t.prototype,"schema",{get:function(){return this._schema},set:function(t){this._schema=t,this.compileSchema()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataPointerMap",{get:function(){var t=new Map;return qb()(this.schema,{cb:function(){for(var e=[],n=0;n` elements explicitly or just place content inside of a `` for a single row.")}()},e}(Mg(function(){return function(t){this._elementRef=t}}())),rw=function(){return function(){}}(),iw=Ps({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function ow(t){return _l(2,[pl(null,0),pl(null,1)],null,null)}var sw=function(){return function(){}}(),aw=function(){return function(){}}(),lw=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,Object(r.__spread)(n)),this.headers.set(e,i);break;case"d":var o=t.value;if(o){var s=this.headers.get(e);if(!s)return;0===(s=s.filter(function(t){return-1===o.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),uw=function(){function t(){}return t.prototype.encodeKey=function(t){return cw(t)},t.prototype.encodeValue=function(t){return cw(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function cw(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var hw=function(){function t(t){void 0===t&&(t={});var e,n,i,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new uw,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,i=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),o=Object(r.__read)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),s=o[0],a=o[1],l=i.get(s)||[];l.push(a),i.set(s,l)}),i)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];o.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)},t}();function dw(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function fw(t){return"undefined"!=typeof Blob&&t instanceof Blob}function pw(t){return"undefined"!=typeof FormData&&t instanceof FormData}var mw=function(){function t(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new lw),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s=200&&this.status<300}}(),yw=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=gw.ResponseHeader,n}return Object(r.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(vw),_w=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=gw.Response,n.body=void 0!==e.body?e.body:null,n}return Object(r.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(vw),bw=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(r.__extends)(e,t),e}(vw);function ww(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Cw=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof mw)r=t;else{var o;o=n.headers instanceof lw?n.headers:new lw(n.headers);var s=void 0;n.params&&(s=n.params instanceof hw?n.params:new hw({fromObject:n.params})),r=new mw(t,e,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=fc(r).pipe(rh(function(t){return i.handler.handle(t)}));if(t instanceof mw||"events"===n.observe)return a;var l=a.pipe(Ac(function(t){return t instanceof _w}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(N(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe(N(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe(N(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe(N(function(t){return t.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new hw).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,ww(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,ww(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,ww(n,e))},t}(),Ew=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),Aw=new mt("HTTP_INTERCEPTORS"),xw=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),Sw=/^\)\]\}',?\n/,kw=function(){return function(){}}(),Fw=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),Dw=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new C(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var s=t.serializeBody(),a=null,l=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new lw(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return a=new yw({headers:i,status:e,statusText:n,url:o})},u=function(){var e=l(),i=e.headers,o=e.status,s=e.statusText,a=e.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(Sw,"");try{u=""!==u?JSON.parse(u):null}catch(d){u=h,c&&(c=!1,u={error:d,text:u})}}c?(n.next(new _w({body:u,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new bw({error:u,headers:i,status:o,statusText:s,url:a||void 0}))},c=function(t){var e=l().url,i=new bw({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,d=function(e){h||(n.next(l()),h=!0);var i={type:gw.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(t){var e={type:gw.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",d),null!==s&&r.upload&&r.upload.addEventListener("progress",f)),r.send(s),n.next({type:gw.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",d),null!==s&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}})},t}(),Ow=new mt("XSRF_COOKIE_NAME"),Pw=new mt("XSRF_HEADER_NAME"),Rw=function(){return function(){}}(),Tw=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Hu(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),Iw=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}(),Lw=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(Aw,[]);this.chain=e.reduceRight(function(t,e){return new Ew(t,e)},this.backend)}return this.chain.handle(t)},t}(),Bw=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:Iw,useClass:xw}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:Ow,useValue:t.cookieName}:[],t.headerName?{provide:Pw,useValue:t.headerName}:[]]}},t}(),$w=function(){return function(){}}();function Mw(){for(var t=[],e=0;e=0;n--){var r=e[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,t);if(i)return i}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(N(function(t){return e._createSvgElementForSingleIcon(t)}))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return t.svgElement?fc(t.svgElement):this._fetchUrl(t.url).pipe(N(function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement}))},t.prototype._createSvgElementForSingleIcon=function(t){var e=this._svgElementFromString(t);return this._setSvgAttributes(e),e},t.prototype._extractSvgIconFromSet=function(t,e){var n=t.querySelector("#"+e);if(!n)return null;var r=n.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r));var i=this._svgElementFromString("");return i.appendChild(r),this._setSvgAttributes(i)},t.prototype._svgElementFromString=function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),n=0;n*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function aC(t){return _l(2,[ul(402653184,1,{ripple:0}),(t()(),oa(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),pl(null,0),(t()(),oa(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),qa(4,212992,[[1,4]],0,Yg,[jr,fo,vg,[2,Qg],[2,jb]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),oa(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,Ia(e,4).unbounded)})}var lC=function(){return function(){}}(),uC=function(){function t(t,e,n,r,i){void 0===t&&(t=!1),void 0===e&&(e="all"),void 0===n&&(n=""),void 0===r&&(r=""),void 0===i&&(i=0),this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=r,this.priority=i,this.property=""}return t.prototype.clone=function(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)},t}(),cC=function(){function t(){this.stylesheet=new Map}return t.prototype.addStyleToElement=function(t,e,n){var r=this.stylesheet.get(t);r?r.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))},t.prototype.clearStyles=function(){this.stylesheet.clear()},t.prototype.getStyleForElement=function(t,e){var n=this.stylesheet.get(t),r="";if(n){var i=n.get(e);"number"!=typeof i&&"string"!=typeof i||(r=i+"")}return r},t.ngInjectableDef=dt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),hC={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},dC=new mt("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return hC}}),fC=new mt("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),pC=new mt("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function mC(t,e){return t=t?t.clone():new uC,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}var gC=["row","column","row-reverse","column-reverse"];function vC(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}var yC=function(){function t(t,e,n,r){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new F,this.styleCache=new Map}return Object.defineProperty(t.prototype,"parentElement",{get:function(){return this.elementRef.nativeElement.parentElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this.elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedValue",{get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){var e=this;Object.keys(t).forEach(function(n){if(-1!==e.inputs.indexOf(n)){var r=n.split(".").slice(1).join(".");e.setValue(t[n].currentValue,r)}})},t.prototype.ngOnDestroy=function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)},t.prototype.init=function(t){void 0===t&&(t=[]),this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)},t.prototype.addStyles=function(t,e){var n=this.styleBuilder,i=n.shouldCache,o=this.styleCache.get(t);o&&i||(o=n.buildStyles(t,e),i&&this.styleCache.set(t,o)),this.mru=Object(r.__assign)({},o),this.applyStyleToElement(o),n.sideEffect(t,o,e)},t.prototype.clearStyles=function(){var t=this;Object.keys(this.mru).forEach(function(e){t.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}},t.prototype.triggerUpdate=function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)},t.prototype.getFlexFlowDirection=function(t,e){if(void 0===e&&(e=!1),t){var n=this.styler.getFlowDirection(t),r=n[0];if(!n[1]&&e){var i=function(t){var e,n,r=function(t){var e=(t=t?t.toLowerCase():"").split(" "),n=e[0],r=e[1],i=e[2];return gC.find(function(t){return t===n})||(n=gC[0]),"inline"===r&&(r="inline"!==i?i:"",i="inline"),[n,vC(r),!!i]}(t);return void 0===(e=r[1])&&(e=null),void 0===(n=r[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":r[0],"flex-wrap":e||null}}(r);this.styler.applyStyleToElements(i,[t])}return r.trim()}return"row"},t.prototype.applyStyleToElement=function(t,e,n){void 0===n&&(n=this.nativeElement),this.styler.applyStyleToElement(n,t,e)},t.prototype.setValue=function(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)},t.prototype.updateWithValue=function(t){this.addStyles(t)},t}(),_C=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.99px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.99px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.99px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.99px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.99px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.99px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.99px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.99px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.99px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],bC="(orientation: portrait) and (max-width: 599.99px)",wC="(orientation: portrait) and (min-width: 600px) and (max-width: 839.99px)",CC="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.99px)",EC="(orientation: portrait) and (min-width: 840px)",AC="(orientation: landscape) and (min-width: 1280px)",xC={HANDSET:bC+", (orientation: landscape) and (max-width: 959.99px)",TABLET:wC+" , "+CC,WEB:EC+", "+AC+" ",HANDSET_PORTRAIT:""+bC,TABLET_PORTRAIT:wC+" ",WEB_PORTRAIT:""+EC,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.99px)]",TABLET_LANDSCAPE:""+CC,WEB_LANDSCAPE:""+AC},SC=[{alias:"handset",priority:2e3,mediaQuery:xC.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:xC.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:xC.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:xC.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:xC.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:xC.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:xC.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:xC.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:xC.WEB_PORTRAIT,overlapping:!0}],kC=/(\.|-|_)/g;function FC(t){var e=t.length>0?t.charAt(0):"",n=t.length>1?t.slice(1):"";return e.toUpperCase()+n}var DC=new mt("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var t=Fe(pC),e=Fe(dC),n=[].concat.apply([],(t||[]).map(function(t){return Array.isArray(t)?t:[t]}));return function(t,e){void 0===e&&(e=[]);var n,r={};return t.forEach(function(t){r[t.alias]=t}),e.forEach(function(t){r[t.alias]?function(t){for(var e=[],n=1;n-1}));return X(new C(function(e){var r=n.registerQuery(t);if(r.length){var i=r.pop();r.forEach(function(t){e.next(t)}),n.source.next(i)}e.complete()}),r)}return this._observable$},t.prototype.registerQuery=function(t){var e=this,n=Array.isArray(t)?t:[t],r=[];return function(t,e){var n=t.filter(function(t){return!IC[t]});if(n.length>0){var r=n.join(", ");try{var i=e.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(e.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media "+r+" {.fx-query-test{ }}\n")),e.head.appendChild(i),n.forEach(function(t){return IC[t]=i})}catch(o){console.error(o)}}}(n,this._document),n.forEach(function(t){var n=e.registry.get(t);n||((n=e.buildMQL(t)).addListener(function(n){e._zone.run(function(){return e.source.next(new uC(n.matches,t))})}),e.registry.set(t,n)),n.matches&&r.push(new uC(!0,t))}),r},t.prototype.buildMQL=function(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}(t,uc(this._platformId))},t.ngInjectableDef=dt({factory:function(){return new t(Fe(fo),Fe(Qi),Fe(sc))},token:t,providedIn:"root"}),t}(),IC={},LC={alias:"print",mediaQuery:"print",priority:1e3},BC=function(){function t(t,e){this.breakpoints=t,this.layoutConfig=e,this.isPrinting=!1,this.queue=new $C,this.deactivations=[]}return t.prototype.withPrintQuery=function(t){return t.concat(["print"])},t.prototype.isPrintEvent=function(t){return t.mediaQuery.startsWith("print")},Object.defineProperty(t.prototype,"printAlias",{get:function(){return this.layoutConfig.printWithBreakpoints||[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"printBreakPoints",{get:function(){var t=this;return this.printAlias.map(function(e){return t.breakpoints.findByAlias(e)}).filter(function(t){return null!==t})},enumerable:!0,configurable:!0}),t.prototype.getEventBreakpoints=function(t){var e=this.breakpoints.findByQuery(t.mediaQuery);return(e?this.printBreakPoints.concat([e]):this.printBreakPoints).sort(OC)},t.prototype.updateEvent=function(t){var e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),mC(t,e)},t.prototype.interceptEvents=function(t){var e=this;return function(n){e.isPrintEvent(n)?n.matches&&!e.isPrinting?(e.startPrinting(t,e.getEventBreakpoints(n)),t.updateStyles()):!n.matches&&e.isPrinting&&(e.stopPrinting(t),t.updateStyles()):e.collectActivations(n)}},t.prototype.blockPropagation=function(){var t=this;return function(e){return!(t.isPrinting||t.isPrintEvent(e))}},t.prototype.startPrinting=function(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)},t.prototype.stopPrinting=function(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1},t.prototype.collectActivations=function(t){if(!this.isPrinting)if(t.matches)this.deactivations=[];else{var e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(OC))}},t.ngInjectableDef=dt({factory:function(){return new t(Fe(RC),Fe(dC))},token:t,providedIn:"root"}),t}(),$C=function(){function t(){this.printBreakpoints=[]}return t.prototype.addPrintBreakpoints=function(t){var e=this;return t.push(LC),t.sort(OC),t.forEach(function(t){return e.addBreakpoint(t)}),this.printBreakpoints},t.prototype.addBreakpoint=function(t){t&&void 0===this.printBreakpoints.find(function(e){return e.mediaQuery===t.mediaQuery})&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith("print")}(t)?[t].concat(this.printBreakpoints):this.printBreakpoints.concat([t]))},t.prototype.clear=function(){this.printBreakpoints=[]},t}();function MC(t){for(var e in t){var n=t[e]||"";switch(e){case"display":t.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+e]=n;break;case"flex-direction":t["-webkit-flex-direction"]=n=n||"row",t["flex-direction"]=n;break;case"order":t.order=t["-webkit-"+e]=isNaN(+n)?"0":n}}return t}var jC=function(){function t(t,e,n,r){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=r}return t.prototype.applyStyleToElement=function(t,e,n){void 0===n&&(n=null);var r={};"string"==typeof e&&(r[e]=n,e=r),r=this.layoutConfig.disableVendorPrefixes?e:MC(e),this._applyMultiValueStyleToElement(r,t)},t.prototype.applyStyleToElements=function(t,e){var n=this;void 0===e&&(e=[]);var r=this.layoutConfig.disableVendorPrefixes?t:MC(t);e.forEach(function(t){n._applyMultiValueStyleToElement(r,t)})},t.prototype.getFlowDirection=function(t){var e=this.lookupStyle(t,"flex-direction");return[e||"row",this.lookupInlineStyle(t,"flex-direction")||cc(this._platformId)&&this._serverModuleLoaded?e:""]},t.prototype.lookupAttributeValue=function(t,e){return t.getAttribute(e)||""},t.prototype.lookupInlineStyle=function(t,e){return uc(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)},t.prototype.lookupStyle=function(t,e,n){void 0===n&&(n=!1);var r="";return t&&((r=this.lookupInlineStyle(t,e))||(uc(this._platformId)?n||(r=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(t,e)))),r?r.trim():""},t.prototype._applyMultiValueStyleToElement=function(t,e){var n=this;Object.keys(t).sort().forEach(function(r){var i=t[r],o=Array.isArray(i)?i:[i];o.sort();for(var s=0,a=o;s0){var s=o.indexOf(":");if(-1===s)throw new Error("Invalid CSS style: "+o);e[o.substr(0,s).trim()]=o.substr(s+1).trim()}}return e},t.prototype._writeStyleAttribute=function(t,e){var n="";for(var r in e)e[r]&&(n+=r+":"+e[r]+";");t.setAttribute("style",n)},t.ngInjectableDef=dt({factory:function(){return new t(Fe(cC,8),Fe(fC,8),Fe(Qi),Fe(dC))},token:t,providedIn:"root"}),t}(),NC=function(){function t(){this.shouldCache=!0}return t.prototype.sideEffect=function(t,e,n){},t}();function VC(t,e,n){void 0===e&&(e="1"),void 0===n&&(n="1");var r=[e,n,t],i=t.indexOf("calc");if(i>0)r[2]=zC(t.substring(i).trim()),2==(o=t.substr(0,i).trim().split(" ")).length&&(r[0]=o[0],r[1]=o[1]);else if(0==i)r[2]=zC(t.trim());else{var o;r=3===(o=t.split(" ")).length?o:[e,n,t]}return r}function zC(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var HC=function(){function t(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new F,this.observeActivations()}return Object.defineProperty(t.prototype,"activatedAlias",{get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""},enumerable:!0,configurable:!0}),t.prototype.onMediaChange=function(t){var e=this.findByQuery(t.mediaQuery);e&&((t=mC(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(OC),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(OC),this.updateStyles()))},t.prototype.init=function(t,e,n,r,i){void 0===i&&(i=[]),UC(this.updateMap,t,e,n),UC(this.clearMap,t,e,r),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,i)},t.prototype.getValue=function(t,e,n){var r=this.elementMap.get(t);if(r){var i=void 0!==n?r.get(n):this.getActivatedValues(r,e);if(i)return i.get(e)}},t.prototype.hasValue=function(t,e){var n=this.elementMap.get(t);if(n){var r=this.getActivatedValues(n,e);if(r)return void 0!==r.get(e)||!1}return!1},t.prototype.setValue=function(t,e,n,r){var i=this.elementMap.get(t);if(i){var o=(i.get(r)||new Map).set(e,n);i.set(r,o),this.elementMap.set(t,i)}else i=(new Map).set(r,(new Map).set(e,n)),this.elementMap.set(t,i);var s=this.getValue(t,e);void 0!==s&&this.updateElement(t,e,s)},t.prototype.trackValue=function(t,e){return this.subject.asObservable().pipe(Ac(function(n){return n.element===t&&n.key===e}))},t.prototype.updateStyles=function(){var t=this;this.elementMap.forEach(function(e,n){var r=new Set(t.elementKeyMap.get(n)),i=t.getActivatedValues(e);i&&i.forEach(function(e,i){t.updateElement(n,i,e),r.delete(i)}),r.forEach(function(r){if(i=t.getActivatedValues(e,r)){var o=i.get(r);t.updateElement(n,r,o)}else t.clearElement(n,r)})})},t.prototype.clearElement=function(t,e){var n=this.clearMap.get(t);if(n){var r=n.get(e);r&&(r(),this.subject.next({element:t,key:e,value:""}))}},t.prototype.updateElement=function(t,e,n){var r=this.updateMap.get(t);if(r){var i=r.get(e);i&&(i(n),this.subject.next({element:t,key:e,value:n}))}},t.prototype.releaseElement=function(t){var e=this.watcherMap.get(t);e&&(e.forEach(function(t){return t.unsubscribe()}),this.watcherMap.delete(t));var n=this.elementMap.get(t);n&&(n.forEach(function(t,e){return n.delete(e)}),this.elementMap.delete(t))},t.prototype.triggerUpdate=function(t,e){var n=this,r=this.elementMap.get(t);if(r){var i=this.getActivatedValues(r,e);i&&(e?this.updateElement(t,e,i.get(e)):i.forEach(function(e,r){return n.updateElement(t,r,e)}))}},t.prototype.buildElementKeyMap=function(t,e){var n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)},t.prototype.watchExtraTriggers=function(t,e,n){var r=this;if(n&&n.length){var i=this.watcherMap.get(t);if(i||(i=new Map,this.watcherMap.set(t,i)),!i.get(e)){var o=X.apply(void 0,n).subscribe(function(){var n=r.getValue(t,e);r.updateElement(t,e,n)});i.set(e,o)}}},t.prototype.findByQuery=function(t){return this.breakpoints.findByQuery(t)},t.prototype.getActivatedValues=function(t,e){for(var n=0;n-1}function QC(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}var YC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.buildStyles=function(t){return void 0===(e=(r=qC(t))[1])&&(e=null),void 0===(n=r[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":r[0],"flex-wrap":e||null};var e,n,r},e.ngInjectableDef=dt({factory:function(){return new e},token:e,providedIn:"root"}),e}(NC),XC=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],ZC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=XC,e}return Object(r.__extends)(e,t),e}(function(t){function e(e,n,r,i){var o=t.call(this,e,r,n,i)||this;return o.elRef=e,o.styleUtils=n,o.styleBuilder=r,o.marshal=i,o.DIRECTIVE_KEY="layout",o.styleCache=JC,o.init(),o}return Object(r.__extends)(e,t),e}(yC)),JC=new Map;function tE(t){for(var e=[],n=1;n-1?"column":"row",a=GC(s)?"max-width":"max-height",l=GC(s)?"min-width":"min-height",u=String(o).indexOf("calc")>-1,c=u||"auto"===o,h=String(o).indexOf("%")>-1&&!u,d=String(o).indexOf("px")>-1||String(o).indexOf("rem")>-1||String(o).indexOf("em")>-1||String(o).indexOf("vw")>-1||String(o).indexOf("vh")>-1,f=u||d;i="0"==i?0:i;var p=!(r="0"==r?0:r)&&!i,m={},g={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(o||""){case"":o="row"===s?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,o="auto";break;case"grow":o="100%";break;case"noshrink":i=0,o="auto";break;case"auto":break;case"none":r=0,i=0,o="auto";break;default:f||h||isNaN(o)||(o+="%"),"0%"===o&&(f=!0),"0px"===o&&(o="0%"),m=tE(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":f?o:"100%"}:{flex:r+" "+i+" "+(f?o:"100%")})}return m.flex||m["flex-grow"]||(m=tE(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":o}:{flex:r+" "+i+" "+o})),"0%"!==o&&"0px"!==o&&"0.000000001px"!==o&&"auto"!==o&&(m[l]=p||f&&r?o:null,m[a]=p||!c&&i?o:null),m[l]||m[a]?e.hasWrap&&(m[u?"flex-basis":"flex"]=m[a]?u?m[a]:r+" "+i+" "+m[a]:u?m[l]:r+" "+i+" "+m[l]):m=tE(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":o}:{flex:r+" "+i+" "+o}),tE(m,{"box-sizing":"border-box"})},e.ngInjectableDef=dt({factory:function(){return new e(Fe(dC))},token:e,providedIn:"root"}),e}(NC),nE=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],rE=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=nE,e}return Object(r.__extends)(e,t),e}(function(t){function e(e,n,r,i,o){var s=t.call(this,e,i,n,o)||this;return s.elRef=e,s.styleUtils=n,s.layoutConfig=r,s.styleBuilder=i,s.marshal=o,s.DIRECTIVE_KEY="flex",s.direction="",s.wrap=!1,s.flexGrow="1",s.flexShrink="1",s.init(),s.parentElement&&(s.marshal.trackValue(s.parentElement,"layout").pipe(uv(s.destroySubject)).subscribe(s.onLayoutChange.bind(s)),s.marshal.trackValue(s.nativeElement,"layout-align").pipe(uv(s.destroySubject)).subscribe(s.triggerReflow.bind(s))),s}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"shrink",{get:function(){return this.flexShrink},set:function(t){this.flexShrink=t||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"grow",{get:function(){return this.flexGrow},set:function(t){this.flexGrow=t||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),e.prototype.onLayoutChange=function(t){var e=t.value.split(" ");this.direction=e[0],this.wrap=void 0!==e[1]&&"wrap"===e[1],this.triggerUpdate()},e.prototype.updateWithValue=function(t){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));var e=this.direction,n=e.startsWith("row"),r=this.wrap;n&&r?this.styleCache=sE:n&&!r?this.styleCache=iE:!n&&r?this.styleCache=aE:n||r||(this.styleCache=oE);var i=VC(String(t).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(i.join(" "),{direction:e,hasWrap:r})},e.prototype.triggerReflow=function(){var t=this.activatedValue;if(void 0!==t){var e=VC(t,this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,e.join(" "))}},e}(yC)),iE=new Map,oE=new Map,sE=new Map,aE=new Map,lE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.buildStyles=function(t,e){var n={},r=t.split(" "),i=r[1];switch(r[0]){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(i){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return tE(n,{display:e.inline?"inline-flex":"flex","flex-direction":e.layout,"box-sizing":"border-box","max-width":"stretch"===i?GC(e.layout)?null:"100%":null,"max-height":"stretch"===i&&GC(e.layout)?"100%":null})},e.ngInjectableDef=dt({factory:function(){return new e},token:e,providedIn:"root"}),e}(NC),uE=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],cE=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.inputs=uE,e}return Object(r.__extends)(e,t),e}(function(t){function e(e,n,r,i){var o=t.call(this,e,r,n,i)||this;return o.elRef=e,o.styleUtils=n,o.styleBuilder=r,o.marshal=i,o.DIRECTIVE_KEY="layout-align",o.layout="row",o.inline=!1,o.init(),o.marshal.trackValue(o.nativeElement,"layout").pipe(uv(o.destroySubject)).subscribe(o.onLayoutChange.bind(o)),o}return Object(r.__extends)(e,t),e.prototype.updateWithValue=function(t){var e=this.layout||"row",n=this.inline;"row"===e&&n?this.styleCache=mE:"row"!==e||n?"row-reverse"===e&&n?this.styleCache=vE:"row-reverse"!==e||n?"column"===e&&n?this.styleCache=gE:"column"!==e||n?"column-reverse"===e&&n?this.styleCache=yE:"column-reverse"!==e||n||(this.styleCache=pE):this.styleCache=dE:this.styleCache=fE:this.styleCache=hE,this.addStyles(t,{layout:e,inline:n})},e.prototype.onLayoutChange=function(t){var e=this,n=t.value.split(" ");this.layout=n[0],this.inline=t.value.includes("inline"),KC.find(function(t){return t===e.layout})||(this.layout="row"),this.triggerUpdate()},e}(yC)),hE=new Map,dE=new Map,fE=new Map,pE=new Map,mE=new Map,gE=new Map,vE=new Map,yE=new Map,_E=function(){return function(){}}(),bE=function(){return function(){}}(),wE=function(){return function(){}}(),CE=Ps({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px 0}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function EE(t){return _l(2,[pl(null,0),pl(null,1)],null,null)}var AE=function(){return function(){}}();function xE(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}var SE=0,kE=Mg(function(){return function(t){this._elementRef=t}}(),"primary"),FE=new mt("MAT_FORM_FIELD_DEFAULT_OPTIONS"),DE=function(t){function e(e,n,r,i,o,s,a,l){var u=t.call(this,e)||this;return u._elementRef=e,u._changeDetectorRef=n,u._dir=i,u._defaults=o,u._platform=s,u._ngZone=a,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new F,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+SE++,u._labelId="mat-form-field-label-"+SE++,u._labelOptions=r||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==l,u.appearance=o&&o.appearance?o.appearance:"legacy",u}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&this._updateOutlineGapOnStable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Cg(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Jc(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(uv(this._destroyed)).subscribe(function(){return t._changeDetectorRef.markForCheck()}),this._ngZone&&this._ngZone.onStable.asObservable().pipe(uv(this._destroyed)).subscribe(function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()}),X(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._updateOutlineGapOnStable(),t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Jc(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Jc(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(uv(this._destroyed)).subscribe(function(){return t.updateOutlineGap()})},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,bv(this._label.nativeElement,"transitionend").pipe(Hc(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach(function(r){if("start"===r.align){if(t||n.hintLabel)throw xE("start");t=r}else if("end"===r.align){if(e)throw xE("end");e=r}})},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&(!this._platform||this._platform.isBrowser))if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,r=this._connectionContainerRef.nativeElement,i=r.querySelectorAll(".mat-form-field-outline-start"),o=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var s=r.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var a=this._getStartEnd(s),l=this._getStartEnd(t.children[0].getBoundingClientRect()),u=0,c=0,h=t.children;c0?.75*u+10:0}for(var d=0;d enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function BE(t){return _l(0,[(t()(),oa(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),oa(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),oa(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),oa(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),oa(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),oa(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),oa(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),oa(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),oa(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function $E(t){return _l(0,[(t()(),oa(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),pl(null,0)],null,null)}function ME(t){return _l(0,[(t()(),oa(0,0,null,null,2,null,null,null,null,null,null,null)),pl(null,2),(t()(),gl(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function jE(t){return _l(0,[pl(null,3),(t()(),ia(0,null,null,0))],null,null)}function NE(t){return _l(0,[(t()(),oa(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),gl(-1,null,["\xa0*"]))],null,null)}function VE(t){return _l(0,[(t()(),oa(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component.updateOutlineGap()&&r),r},null,null)),qa(1,16384,null,0,Zu,[],{ngSwitch:[0,"ngSwitch"]},null),qa(2,1196032,null,0,TE,[RE,jr,fo],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),ia(16777216,null,null,1,null,ME)),qa(4,278528,null,0,Ju,[Mo,Di,Zu],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),ia(16777216,null,null,1,null,jE)),qa(6,278528,null,0,Ju,[Mo,Di,Zu],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),ia(16777216,null,null,1,null,NE)),qa(8,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function zE(t){return _l(0,[(t()(),oa(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),pl(null,4)],null,null)}function HE(t){return _l(0,[(t()(),oa(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),oa(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)})}function UE(t){return _l(0,[(t()(),oa(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),pl(null,5)],null,function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function WE(t){return _l(0,[(t()(),oa(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),gl(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)})}function KE(t){return _l(0,[(t()(),oa(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),ia(16777216,null,null,1,null,WE)),qa(2,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"]},null),pl(null,6),(t()(),oa(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),pl(null,7)],function(t,e){t(e,2,0,e.component.hintLabel)},function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function qE(t){return _l(2,[ul(671088640,1,{underlineRef:0}),ul(402653184,2,{_connectionContainerRef:0}),ul(402653184,3,{_inputContainerRef:0}),ul(671088640,4,{_label:0}),(t()(),oa(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),oa(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&r),r},null,null)),(t()(),ia(16777216,null,null,1,null,BE)),qa(7,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"]},null),(t()(),ia(16777216,null,null,1,null,$E)),qa(9,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"]},null),(t()(),oa(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),pl(null,1),(t()(),oa(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),ia(16777216,null,null,1,null,VE)),qa(14,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"]},null),(t()(),ia(16777216,null,null,1,null,zE)),qa(16,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"]},null),(t()(),ia(16777216,null,null,1,null,HE)),qa(18,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"]},null),(t()(),oa(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),qa(20,16384,null,0,Zu,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),ia(16777216,null,null,1,null,UE)),qa(22,278528,null,0,Ju,[Mo,Di,Zu],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),ia(16777216,null,null,1,null,KE)),qa(24,278528,null,0,Ju,[Mo,Di,Zu],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")},null)}var GE=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),QE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(GE);function YE(t){return null==t||0===t.length}var XE=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ZE=function(){function t(){}return t.min=function(t){return function(e){if(YE(e.value)||YE(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return YE(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return YE(t.value)?null:XE.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(YE(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(YE(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(JE);return 0==e.length?null:function(t){return eA(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(JE);return 0==e.length?null:function(t){return Mw(function(t,n){return e.map(function(e){return e(t)})}(t).map(tA)).pipe(N(eA))}},t}();function JE(t){return null!=t}function tA(t){var e=Vi(t)?U(t):t;if(!zi(e))throw new Error("Expected validator to return Promise or Observable.");return e}function eA(t){var e=t.reduce(function(t,e){return null!=e?Object(r.__assign)({},t,e):t},{});return 0===Object.keys(e).length?null:e}var nA=new mt("NgValueAccessor"),rA=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),iA=new mt("CompositionEventMode"),oA=function(){function t(t,e,n){var r;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=hh()?hh().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function sA(t){return t.validate?function(e){return t.validate(e)}:t}function aA(t){return t.validate?function(e){return t.validate(e)}:t}var lA=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function uA(){throw new Error("unimplemented")}var cA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return uA()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return uA()},enumerable:!0,configurable:!0}),e}(GE),hA=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),dA=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(cA),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex:

    \n \n
    \n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',mA='\n
    \n
    \n \n
    \n
    \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',gA='\n
    \n
    \n \n
    \n
    ',vA=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+pA)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+mA+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+gA)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+pA)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+mA)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function yA(t,e){return Object(r.__spread)(e.path,[t])}function _A(t,e){t||EA(e,"Cannot find control with"),e.valueAccessor||EA(e,"No value accessor for form control with"),t.validator=ZE.compose([t.validator,e.validator]),t.asyncValidator=ZE.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&bA(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&bA(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function bA(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function wA(t,e){null==t&&EA(e,"Cannot find control with"),t.validator=ZE.compose([t.validator,e.validator]),t.asyncValidator=ZE.composeAsync([t.asyncValidator,e.asyncValidator])}function CA(t){return EA(t,"There is no FormControl instance attached to form control element with")}function EA(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function AA(t){return null!=t?ZE.compose(t.map(sA)):null}function xA(t){return null!=t?ZE.composeAsync(t.map(aA)):null}var SA=[rA,fA,lA,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=St}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var i=Object(r.__values)(Array.from(this._optionMap.keys())),o=i.next();!o.done;o=i.next()){var s=o.value;if(this._compareWith(this._optionMap.get(s),t))return s}}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=St}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o-1&&t.splice(n,1)}var DA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return yA(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return AA(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return xA(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(QE),OA=function(t){function e(e){return t.call(this,e)||this}return Object(r.__extends)(e,t),e}(function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}());function PA(t){var e=TA(t)?t.validators:t;return Array.isArray(e)?AA(e):e||null}function RA(t,e){var n=TA(e)?e.asyncValidators:t;return Array.isArray(n)?xA(n):n||null}function TA(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var IA=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=PA(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=RA(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object(r.__assign)({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(Object(r.__assign)({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=tA(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof BA?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof $A&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new Fi,this.statusChanges=new Fi},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){TA(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),LA=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,PA(n),RA(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return Object(r.__extends)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(IA),BA=function(t){function e(e,n,r){var i=t.call(this,PA(n),RA(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(r.__extends)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof LA?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,i){n=n||e.contains(i)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(r.__values)(Object.keys(this.controls)),i=n.next();!i.done;i=n.next())if(this.controls[i.value].enabled)return!1}catch(o){t={error:o}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(IA),$A=function(t){function e(e,n,r){var i=t.call(this,PA(n),RA(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(r.__extends)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof LA?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(r.__values)(this.controls),i=n.next();!i.done;i=n.next())if(i.value.enabled)return!1}catch(o){t={error:o}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(IA),MA=Promise.resolve(null),jA=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Fi,r.form=new BA({},AA(e),xA(n)),r}return Object(r.__extends)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;MA.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),_A(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;MA.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),FA(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;MA.then(function(){var n=e._findContainer(t.path),r=new BA({});wA(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;MA.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;MA.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,kA(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(QE),NA=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+pA+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
    \n \n \n
    \n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+mA+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+gA)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+mA+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+gA)},t.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n \n\n After:\n \n ")},t}(),VA=new mt("NgFormSelectorWarning"),zA=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}var n;return Object(r.__extends)(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof jA||NA.modelGroupParentException()},e}(DA),HA=Promise.resolve(null),UA=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.control=new LA,o._registered=!1,o.update=new Fi,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||EA(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return e.forEach(function(e){var o;e.constructor===oA?n=e:(o=e,SA.some(function(t){return o.constructor===t})?(r&&EA(t,"More than one built-in value accessor matches form control with"),r=e):(i&&EA(t,"More than one custom value accessor matches form control with"),i=e))}),i||r||n||(EA(t,"No valid value accessor for form control with"),null)}(o,i),o}return Object(r.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!St(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?yA(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return AA(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return xA(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){_A(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof zA)&&this._parent instanceof DA?NA.formGroupNameException():this._parent instanceof zA||this._parent instanceof jA||NA.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||NA.missingNameException()},e.prototype._updateValue=function(t){var e=this;HA.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;HA.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(cA),WA=new mt("NgModelWithFormControlWarning"),KA=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Fi,r}return Object(r.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return _A(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){FA(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);wA(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);wA(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,kA(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange(function(){return CA(e)}),e.valueAccessor.registerOnTouched(function(){return CA(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&_A(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=AA(this._validators);this.form.validator=ZE.compose([this.form.validator,t]);var e=xA(this._asyncValidators);this.form.asyncValidator=ZE.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||vA.missingFormException()},e}(QE),qA=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null,i=null,o=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,i=null!=e.asyncValidators?e.asyncValidators:null,o=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new BA(n,{asyncValidators:i,updateOn:o,validators:r})},t.prototype.control=function(t,e,n){return new LA(t,e,n)},t.prototype.array=function(t,e,n){var r=this,i=t.map(function(t){return r._createControl(t)});return new $A(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){return t instanceof LA||t instanceof BA||t instanceof $A?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t}(),GA=function(){return function(){}}(),QA=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:VA,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),YA=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:WA,useValue:t.warnOnNgModelWithFormControl}]}},t}(),XA=wg({passive:!0}),ZA=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return bc;var n=xg(t),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new F,o="cdk-text-field-autofilled",s=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run(function(){return i.next({target:t.target,isAutofilled:!1})})):(n.classList.add(o),e._ngZone.run(function(){return i.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",s,XA),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",s,XA)}}),i.asObservable()},t.prototype.stopMonitoring=function(t){var e=xg(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach(function(e,n){return t.stopMonitoring(n)})},t.ngInjectableDef=dt({factory:function(){return new t(Fe(vg),Fe(fo))},token:t,providedIn:"root"}),t}(),JA=function(){return function(){}}(),tx=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ex=0,nx=function(t){function e(e,n,r,i,o,s,a,l,u){var c=t.call(this,s,i,o,r)||this;c._elementRef=e,c._platform=n,c.ngControl=r,c._autofillMonitor=l,c._uid="mat-input-"+ex++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new F,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return bg().has(t)});var h=c._elementRef.nativeElement;return c._inputValueAccessor=a||h,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===h.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select"),c}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Cg(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Cg(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&bg().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Cg(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(tx.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(Vg(function(){return function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r}}())),rx=function(){return function(){}}(),ix=0,ox=0,sx=new mt("mat-select-scroll-strategy");function ax(t){return function(){return t.scrollStrategies.reposition()}}var lx=function(){return function(t,e){this.source=t,this.value=e}}(),ux=function(t){function e(e,n,r,i,o,s,a,l,u,c,h,d,f){var p=t.call(this,o,i,a,l,c)||this;return p._viewportRuler=e,p._changeDetectorRef=n,p._ngZone=r,p._dir=s,p._parentFormField=u,p.ngControl=c,p._liveAnnouncer=f,p._panelOpen=!1,p._required=!1,p._scrollTop=0,p._multiple=!1,p._compareWith=function(t,e){return t===e},p._uid="mat-select-"+ix++,p._destroy=new F,p._triggerFontSize=0,p._onChange=function(){},p._onTouched=function(){},p._optionIds="",p._transformOrigin="top",p._panelDoneAnimatingStream=new F,p._offsetY=0,p._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],p._disableOptionCentering=!1,p._focused=!1,p.controlType="mat-select",p.ariaLabel="",p.optionSelectionChanges=Cc(function(){return p.options?X.apply(void 0,p.options.map(function(t){return t.onSelectionChange})):p._ngZone.onStable.asObservable().pipe(Hc(1),Qc(function(){return p.optionSelectionChanges}))}),p.openedChange=new Fi,p._openedStream=p.openedChange.pipe(Ac(function(t){return t}),N(function(){})),p._closedStream=p.openedChange.pipe(Ac(function(t){return!t}),N(function(){})),p.selectionChange=new Fi,p.valueChange=new Fi,p.ngControl&&(p.ngControl.valueAccessor=p),p._scrollStrategyFactory=d,p._scrollStrategy=p._scrollStrategyFactory(),p.tabIndex=parseInt(h)||0,p.id=p.id,p}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(t){this._focused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Cg(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Cg(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Cg(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._selectionModel=new Fv(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(function(t){return t.lift(new wv(void 0,void 0))},uv(this._destroy)).subscribe(function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})},e.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this._selectionModel.onChange.pipe(uv(this._destroy)).subscribe(function(t){t.added.forEach(function(t){return t.select()}),t.removed.forEach(function(t){return t.deselect()})}),this.options.changes.pipe(Jc(null),uv(this._destroy)).subscribe(function(){t._resetOptions(),t._initializeSelection()})},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Hc(1)).subscribe(function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")}))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map(function(t){return t.viewValue});return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},e.prototype._handleClosedKeydown=function(t){var e=t.keyCode,n=40===e||38===e||37===e||39===e,r=this._keyManager;if((13===e||32===e)&&!lg(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var i=this.selected;36===e||35===e?(36===e?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t),this._liveAnnouncer&&i!==this.selected&&this._liveAnnouncer.announce(this.selected.viewValue)}},e.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=40===e||38===e,r=this._keyManager;if(36===e||35===e)t.preventDefault(),36===e?r.setFirstItemActive():r.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(13!==e&&32!==e||!r.activeItem||lg(t))if(this._multiple&&65===e&&t.ctrlKey){t.preventDefault();var i=this.options.some(function(t){return!t.disabled&&!t.selected});this.options.forEach(function(t){t.disabled||(i?t.select():t.deselect())})}else{var o=r.activeItemIndex;r.onKeydown(t),this._multiple&&n&&t.shiftKey&&r.activeItem&&r.activeItemIndex!==o&&r.activeItem._selectViaInteraction()}else t.preventDefault(),r.activeItem._selectViaInteraction()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(Hc(1)).subscribe(function(){t._setPseudoCheckboxPaddingSize(),t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop})},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},e.prototype._setPseudoCheckboxPaddingSize=function(){if(!ox&&this.multiple){var t=this.panel.nativeElement.querySelector(".mat-pseudo-checkbox");t&&(ox=24+t.offsetWidth)}},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then(function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()})},e.prototype._setSelectionByValue=function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(function(t){return e._selectValue(t)}),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n&&this._keyManager.setActiveItem(n)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(t){var e=this,n=this.options.find(function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(r){return ii()&&console.warn(r),!1}});return n&&this._selectionModel.select(n),n},e.prototype._initKeyManager=function(){var t=this;this._keyManager=new kg(this.options).withTypeAhead().withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(uv(this._destroy)).subscribe(function(){t.focus(),t.close()}),this._keyManager.change.pipe(uv(this._destroy)).subscribe(function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()})},e.prototype._resetOptions=function(){var t=this,e=X(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(uv(e)).subscribe(function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())}),X.apply(void 0,this.options.map(function(t){return t._stateChanges})).pipe(uv(e)).subscribe(function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()}),this._setOptionIds()},e.prototype._onSelect=function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort(function(n,r){return t.sortComparator?t.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)}),this.stateChanges.next()}},e.prototype._propagateChanges=function(t){var e;e=this.multiple?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new lx(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(t){return t.id}).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var t,e,n,r=this._keyManager.activeItemIndex||0,i=sv(r,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(r+i)*(t=this._getItemHeight()))<(e=this.panel.nativeElement.scrollTop)?n:n+t>e+256?Math.max(0,n-256+t):e},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._getOptionIndex=function(t){return this.options.reduce(function(e,n,r){return void 0===e?t===n?r:void 0:e},void 0)},e.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),r=e*t-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=sv(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)},e.prototype._calculateOverlayScroll=function(t,e,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*t-e+r/2),n)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?ox+16:32;if(this.multiple)t=ox;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}r||(t*=-1);var s=0-(e.left+t-(r?i:0)),a=e.right+t-n.width+(r?0:i);s>0?t+=s+8:a>0&&(t-=a+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(t,e,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,s=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*r-o))},e.prototype._checkOverlayWithinViewport=function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),s=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;s>i?this._adjustPanelUp(s,i):o>r?this._adjustPanelDown(o,r,t):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(t,e,n){var r=Math.round(t-e);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(jg(Ng($g(Vg(function(){return function(t,e,n,r,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i}}()))))),cx=function(){return function(){}}(),hx=Ps({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function dx(t){return _l(0,[(t()(),oa(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),gl(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.placeholder||"\xa0")})}function fx(t){return _l(0,[(t()(),oa(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),gl(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")})}function px(t){return _l(0,[pl(null,0),(t()(),ia(0,null,null,0))],null,null)}function mx(t){return _l(0,[(t()(),oa(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),qa(1,16384,null,0,Zu,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),ia(16777216,null,null,1,null,fx)),qa(3,16384,null,0,tc,[Mo,Di,Zu],null,null),(t()(),ia(16777216,null,null,1,null,px)),qa(5,278528,null,0,Ju,[Mo,Di,Zu],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)},null)}function gx(t){return _l(0,[(t()(),oa(0,0,[[2,0],["panel",1]],null,2,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],function(t,e,n){var r=!0,i=t.component;return"@transformPanel.done"===e&&(r=!1!==i._panelDoneAnimatingStream.next(n.toState)&&r),"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),r},null,null)),qa(1,278528,null,0,Uu,[is,os,jr,Ur],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),pl(null,1)],function(t,e){var n,r,i=e.component;t(e,1,0,("mat-select-panel ",n=i._getPanelTheme(),"mat-select-panel "+(null!=(r=n)?r.toString():"")),i.panelClass)},function(t,e){var n=e.component;t(e,0,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)})}function vx(t){return _l(2,[ul(402653184,1,{trigger:0}),ul(671088640,2,{panel:0}),ul(402653184,3,{overlayDir:0}),(t()(),oa(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggle()&&r),r},null,null)),qa(4,16384,[["origin",4]],0,ry,[jr],null,null),(t()(),oa(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),qa(6,16384,null,0,Zu,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),ia(16777216,null,null,1,null,dx)),qa(8,278528,null,0,Ju,[Mo,Di,Zu],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),ia(16777216,null,null,1,null,mx)),qa(10,278528,null,0,Ju,[Mo,Di,Zu],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),oa(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),oa(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),ia(16777216,null,null,1,function(t,e,n){var r=!0,i=t.component;return"backdropClick"===e&&(r=!1!==i.close()&&r),"attach"===e&&(r=!1!==i._onAttached()&&r),"detach"===e&&(r=!1!==i.close()&&r),r},gx)),qa(14,671744,[[3,4]],0,iy,[ty,Di,Mo,ny,[2,vy]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,Ia(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")},null)}var yx=Ps({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function _x(t){return _l(0,[(t()(),oa(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,Cx,wx)),qa(1,49152,null,0,Zg,[[2,jb]],{state:[0,"state"],disabled:[1,"disabled"]},null)],function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)},function(t,e){t(e,0,0,"indeterminate"===Ia(e,1).state,"checked"===Ia(e,1).state,Ia(e,1).disabled,"NoopAnimations"===Ia(e,1)._animationMode)})}function bx(t){return _l(2,[(t()(),ia(16777216,null,null,1,null,_x)),qa(1,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"]},null),(t()(),oa(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),pl(null,0),(t()(),oa(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),qa(5,212992,null,0,Yg,[jr,fo,vg,[2,Qg],[2,jb]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())},function(t,e){t(e,4,0,Ia(e,5).unbounded)})}var wx=Ps({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],data:{}});function Cx(t){return _l(2,[],null,null)}n("NEWo");var Ex=function(){function t(t,e){var n=this;this.zone=e,this.textChanged=new Fi,this.textChange=new Fi,this.style={},this._options={},this._readOnly=!1,this._theme="monokai",this._mode="html",this._autoUpdateContent=!0,this._durationBeforeCallback=0,this._text="",this._onChange=function(t){},this._onTouched=function(){};var r=t.nativeElement;this.zone.runOutsideAngular(function(){n._editor=ace.edit(r)}),this._editor.$blockScrolling=1/0}return t.prototype.ngOnInit=function(){this.init(),this.initEvents()},t.prototype.ngOnDestroy=function(){this._editor.destroy()},t.prototype.init=function(){this.setOptions(this._options||{}),this.setTheme(this._theme),this.setMode(this._mode),this.setReadOnly(this._readOnly)},t.prototype.initEvents=function(){var t=this;this._editor.on("change",function(){return t.updateText()}),this._editor.on("paste",function(){return t.updateText()})},t.prototype.updateText=function(){var t=this,e=this._editor.getValue();e!==this.oldText&&(this._durationBeforeCallback?(this.timeoutSaving&&clearTimeout(this.timeoutSaving),this.timeoutSaving=setTimeout(function(){t._text=e,t.zone.run(function(){t.textChange.emit(e),t.textChanged.emit(e)}),t.timeoutSaving=null},this._durationBeforeCallback)):(this._text=e,this.zone.run(function(){t.textChange.emit(e),t.textChanged.emit(e)}),this._onChange(e)),this.oldText=e)},Object.defineProperty(t.prototype,"options",{set:function(t){this.setOptions(t)},enumerable:!0,configurable:!0}),t.prototype.setOptions=function(t){this._options=t,this._editor.setOptions(t||{})},Object.defineProperty(t.prototype,"readOnly",{set:function(t){this.setReadOnly(t)},enumerable:!0,configurable:!0}),t.prototype.setReadOnly=function(t){this._readOnly=t,this._editor.setReadOnly(t)},Object.defineProperty(t.prototype,"theme",{set:function(t){this.setTheme(t)},enumerable:!0,configurable:!0}),t.prototype.setTheme=function(t){this._theme=t,this._editor.setTheme("ace/theme/"+t)},Object.defineProperty(t.prototype,"mode",{set:function(t){this.setMode(t)},enumerable:!0,configurable:!0}),t.prototype.setMode=function(t){this._mode=t,"object"==typeof this._mode?this._editor.getSession().setMode(this._mode):this._editor.getSession().setMode("ace/mode/"+this._mode)},Object.defineProperty(t.prototype,"value",{get:function(){return this.text},set:function(t){this.setText(t)},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.setText(t)},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},Object.defineProperty(t.prototype,"text",{get:function(){return this._text},set:function(t){this.setText(t)},enumerable:!0,configurable:!0}),t.prototype.setText=function(t){null==t&&(t=""),this._text!==t&&!0===this._autoUpdateContent&&(this._text=t,this._editor.setValue(t),this._onChange(t),this._editor.clearSelection())},Object.defineProperty(t.prototype,"autoUpdateContent",{set:function(t){this.setAutoUpdateContent(t)},enumerable:!0,configurable:!0}),t.prototype.setAutoUpdateContent=function(t){this._autoUpdateContent=t},Object.defineProperty(t.prototype,"durationBeforeCallback",{set:function(t){this.setDurationBeforeCallback(t)},enumerable:!0,configurable:!0}),t.prototype.setDurationBeforeCallback=function(t){this._durationBeforeCallback=t},t.prototype.getEditor=function(){return this._editor},t}(),Ax=Ps({encapsulation:0,styles:["[_nghost-%COMP%] { display:block;width:100%; }"],data:{}});function xx(t){return _l(0,[],null,null)}var Sx=function(){function t(t){this.httpClient=t,this.examplesURL="assets/examples/examples.json"}return Object.defineProperty(t.prototype,"examples",{get:function(){return this.httpClient.get(this.examplesURL)},enumerable:!0,configurable:!0}),t.prototype.getExample=function(t,e){return this.httpClient.get("assets/examples/"+t+"/"+e+".json",{responseType:"text"})},t.ngInjectableDef=dt({factory:function(){return new t(Fe(Cw))},token:t,providedIn:"root"}),t}(),kx={ngx:""},Fx=function(){function t(t,e,n){this.route=t,this.router=e,this.jsonLoader=n,this.selectedSet="",this.selectedSetName="",this.selectedExample="",this.selectedExampleName="",this.formActive=!1,this.jsonFormValid=!1,this.jsonFormStatusMessage="Loading form...",this.aceEditorOptions={autoScrollEditorIntoView:!0,highlightActiveLine:!0,maxLines:1e3,printMargin:!1},this.options={action:void 0,autocomplete:void 0,enctype:void 0,method:void 0,target:void 0}}return t.prototype.ngOnInit=function(){var t=this;this.examplesObservable=this.jsonLoader.examples,this.selectedSet="ngx",this.selectedExample="simple-array",this.selectedExampleName="Simple Array",this.route.queryParams.subscribe(function(e){e.set&&(t.selectedSet=e.set,t.selectedSetName=kx[t.selectedSet]),e.example&&(t.selectedExample=e.example,t.jsonLoader.examples.subscribe(function(e){t.selectedExampleName=e.find(function(e){return e.set===t.selectedSet}).examples.find(function(e){return e.file===t.selectedExample}).name})),t.loadSelectedExample()})},t.prototype.trackByFn=function(t){return t},t.prototype.onClick=function(t){if(console.warn(t),t.hasOwnProperty("onClick")){var e=t;new Function("layout",e.onClick)(e)}},t.prototype.loadSelectedExample=function(t,e,n,r){var i=this;void 0===t&&(t=this.selectedSet),void 0===e&&(e=this.selectedSetName),void 0===n&&(n=this.selectedExample),void 0===r&&(r=this.selectedExampleName),this.menuTrigger&&this.menuTrigger.menuOpen&&this.menuTrigger.closeMenu(),n!==this.selectedExample?(this.formActive=!1,this.selectedSet=t,this.selectedSetName=e,this.selectedExample=n,this.selectedExampleName=r,this.router.navigateByUrl("/?set="+t+"&example="+n).catch(function(t){console.warn(t)})):this.jsonLoader.getExample(this.selectedSet,this.selectedExample).subscribe(function(t){i.generateForm(t)})},t.prototype.generateForm=function(t){if(t){this.example=t,this.jsonFormStatusMessage="Loading form...",this.formActive=!1;try{var e=JSON.parse(t);this.jsonFormSchema=e.schema,this.jsonFormLayout=e.layout,this.jsonFormValid=!0,this.formActive=!0}catch(n){this.jsonFormStatusMessage="Entered content is not currently a valid JSON Form object.\n As soon as it is, you will see your form here. So keep typing. :-)\n\n JavaScript parser returned:\n\n "+n}}},t}(),Dx=Ps({encapsulation:0,styles:[[".example-fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}"]],data:{animation:[{type:7,name:"expandSection",definitions:[{type:0,name:"in",styles:{type:6,styles:{height:"*"},offset:null},options:void 0},{type:1,expr:":enter",animation:[{type:6,styles:{height:0},offset:null},{type:4,styles:null,timings:"100ms"}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{height:"*"},offset:null},{type:4,styles:{type:6,styles:{height:0},offset:null},timings:"100ms"}],options:null}],options:{}}]}});function Ox(t){return _l(0,[(t()(),oa(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function Px(t){return _l(0,[(t()(),oa(0,0,null,null,2,"button",[["class","mat-medium mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==Ia(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==Ia(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==i.loadSelectedExample(t.parent.parent.context.$implicit.set,"",t.context.$implicit.file,t.context.$implicit.name)&&r),r},Wb,Ub)),qa(1,180224,[[3,4]],0,ly,[jr,sc,Tg,[2,ay]],null,null),(t()(),gl(2,0,[" "," "]))],null,function(t,e){t(e,0,0,Ia(e,1).role,Ia(e,1)._highlighted,Ia(e,1)._triggersSubmenu,Ia(e,1)._getTabIndex(),Ia(e,1).disabled.toString(),Ia(e,1).disabled||null),t(e,2,0,e.context.$implicit.name)})}function Rx(t){return _l(0,[(t()(),ia(16777216,null,null,1,null,Px)),qa(1,278528,null,0,Ku,[Mo,Di,is],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(t()(),ia(0,null,null,0))],function(t,e){t(e,1,0,e.parent.context.$implicit.examples,e.component.trackByFn)},null)}function Tx(t){return _l(0,[(t()(),oa(0,0,null,null,2,"button",[["class","mat-medium mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==Ia(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==Ia(t,1)._handleMouseEnter()&&r),"click"===e&&(r=!1!==i.loadSelectedExample(t.parent.parent.context.$implicit.set,t.parent.parent.context.$implicit.label,t.context.$implicit.file,t.context.$implicit.name)&&r),r},Wb,Ub)),qa(1,180224,[[5,4]],0,ly,[jr,sc,Tg,[2,ay]],null,null),(t()(),gl(2,0,[" "," "]))],null,function(t,e){t(e,0,0,Ia(e,1).role,Ia(e,1)._highlighted,Ia(e,1)._triggersSubmenu,Ia(e,1)._getTabIndex(),Ia(e,1).disabled.toString(),Ia(e,1).disabled||null),t(e,2,0,e.context.$implicit.name)})}function Ix(t){return _l(0,[(t()(),oa(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-medium mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==Ia(t,1)._handleMouseEnter()&&r),"mousedown"===e&&(r=!1!==Ia(t,2)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==Ia(t,2)._handleKeydown(n)&&r),"click"===e&&(r=!1!==Ia(t,2)._handleClick(n)&&r),r},Wb,Ub)),qa(1,180224,[[3,4]],0,ly,[jr,sc,Tg,[2,ay]],null,null),qa(2,1196032,[[1,4]],0,py,[ty,jr,Mo,hy,[2,cy],[6,ly],[2,vy],Tg],{menu:[0,"menu"]},null),(t()(),oa(3,0,null,0,1,"span",[],null,null,null,null,null)),(t()(),gl(4,null,["",""])),(t()(),oa(5,0,null,null,6,"mat-menu",[["class","example-menu"]],null,null,null,Hb,Vb)),Ga(6144,null,ay,null,[cy]),qa(7,1294336,[["sub_menu",4]],2,cy,[jr,fo,uy],{panelClass:[0,"panelClass"]},null),ul(603979776,5,{items:1}),ul(335544320,6,{lazyContent:0}),(t()(),ia(16777216,null,0,1,null,Tx)),qa(11,278528,null,0,Ku,[Mo,Di,is],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],function(t,e){var n=e.component;t(e,2,0,Ia(e,7)),t(e,7,0,"example-menu"),t(e,11,0,e.parent.context.$implicit.examples,n.trackByFn)},function(t,e){t(e,0,0,Ia(e,1).role,Ia(e,1)._highlighted,Ia(e,1)._triggersSubmenu,Ia(e,1)._getTabIndex(),Ia(e,1).disabled.toString(),Ia(e,1).disabled||null,Ia(e,2).menuOpen||null),t(e,4,0,e.parent.context.$implicit.name)})}function Lx(t){return _l(0,[(t()(),oa(0,0,null,null,4,null,null,null,null,null,null,null)),(t()(),ia(16777216,null,null,1,null,Ox)),qa(2,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"],ngIfElse:[2,"ngIfElse"]},null),(t()(),ia(0,[["flat",2]],null,0,null,Rx)),(t()(),ia(0,[["nested",2]],null,0,null,Ix))],function(t,e){t(e,2,0,"ngx"===e.context.$implicit.set,Ia(e,3),Ia(e,4))},null)}function Bx(t){return _l(0,[(t()(),oa(0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function $x(t){return _l(0,[(t()(),oa(0,0,null,null,4,"jsf-json-schema-form",[],null,[[null,"click.data.layout"]],function(t,e,n){var r=!0,i=t.component;return"click.data.layout"===e&&(r=!1!==i.onClick(n)&&r),"click.data.layout"===e&&(r=!1!==i.onClick(n.data)&&r),r},ew,Jb)),Ga(4608,null,gm,gm,[]),Ga(512,null,Yb,Yb,[]),Ga(512,null,Xb,Xb,[Yb]),qa(4,770048,null,0,Zb,[Yb,Xb],{schema:[0,"schema"],layout:[1,"layout"],action:[2,"action"],autocomplete:[3,"autocomplete"],enctype:[4,"enctype"],method:[5,"method"],target:[6,"target"]},null)],function(t,e){var n=e.component;t(e,4,0,n.jsonFormSchema,n.jsonFormLayout,n.options.action,n.options.autocomplete,n.options.enctype,n.options.method,n.options.target)},null)}function Mx(t){return _l(0,[(t()(),oa(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),gl(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.jsonFormStatusMessage)})}function jx(t){return _l(0,[ul(671088640,1,{menuTrigger:0}),(t()(),oa(1,0,null,null,35,"div",[["class","demo-page-header"]],null,null,null,null,null)),(t()(),oa(2,0,null,null,9,"mat-toolbar",[["class","mat-elevation-z4 mat-medium mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,ow,iw)),qa(3,4243456,null,1,nw,[jr,vg,sc],{color:[0,"color"]},null),ul(603979776,2,{_toolbarRows:1}),(t()(),oa(5,0,null,0,1,"span",[],null,null,null,null,null)),(t()(),gl(-1,null,["NGX Angular JSON Schema Form \u2014 Demonstration Playground"])),(t()(),oa(7,0,null,0,0,"span",[["class","example-fill-remaining-space"]],null,null,null,null,null)),(t()(),oa(8,0,null,0,3,"a",[["href","documentation/"],["style","color: inherit !important;"],["target","_blank"]],null,null,null,null,null)),(t()(),oa(9,0,null,null,2,"mat-icon",[["class","mat-icon"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,eC,tC)),qa(10,9158656,null,0,Zw,[jr,Uw,[8,null],[2,Gw]],null,null),(t()(),gl(-1,0,["library_books"])),(t()(),oa(12,0,null,null,24,"div",[["class","header-content"]],null,null,null,null,null)),(t()(),gl(-1,null,[" An Angular "])),(t()(),oa(14,0,null,null,1,"a",[["href","http://json-schema.org/"]],null,null,null,null,null)),(t()(),gl(-1,null,["JSON Schema"])),(t()(),gl(-1,null,[" Form builder "])),(t()(),gl(-1,null,[" Choose an example, or create your own, and check out the generated form."])),(t()(),oa(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),oa(19,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),oa(20,0,null,null,1,"span",[["class","menu-label"]],null,null,null,null,null)),(t()(),gl(-1,null,["Current example:"])),(t()(),oa(22,16777216,null,null,6,"button",[["aria-haspopup","true"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(t,e,n){var r=!0;return"mousedown"===e&&(r=!1!==Ia(t,24)._handleMousedown(n)&&r),"keydown"===e&&(r=!1!==Ia(t,24)._handleKeydown(n)&&r),"click"===e&&(r=!1!==Ia(t,24)._handleClick(n)&&r),r},aC,sC)),qa(23,180224,null,0,iC,[jr,vg,Tg,[2,jb]],{color:[0,"color"]},null),qa(24,1196032,[[1,4]],0,py,[ty,jr,Mo,hy,[2,cy],[8,null],[2,vy],Tg],{menu:[0,"menu"]},null),(t()(),oa(25,0,null,0,2,"mat-icon",[["class","mat-icon"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,eC,tC)),qa(26,9158656,null,0,Zw,[jr,Uw,[8,null],[2,Gw]],null,null),(t()(),gl(-1,0,["menu"])),(t()(),gl(28,0,[" "," "," "])),(t()(),oa(29,0,null,null,7,"mat-menu",[["class","example-menu"]],null,null,null,Hb,Vb)),Ga(6144,null,ay,null,[cy]),qa(31,1294336,[["exampleMenu",4]],2,cy,[jr,fo,uy],{panelClass:[0,"panelClass"]},null),ul(603979776,3,{items:1}),ul(335544320,4,{lazyContent:0}),(t()(),ia(16777216,null,0,2,null,Lx)),qa(35,278528,null,0,Ku,[Mo,Di,is],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(e=131072,n=ic,r=[No],Qa(-1,e|=16,null,0,n,n,r)),(t()(),oa(37,0,null,null,166,"div",[["fxLayout","row"],["fxLayout.lt-sm","column"],["fxLayoutAlign","space-around start"],["fxLayoutAlign.lt-sm","flex-start center"]],null,null,null,null,null)),qa(38,671744,null,0,ZC,[jr,jC,[2,YC],HC],{fxLayout:[0,"fxLayout"],"fxLayout.lt-sm":[1,"fxLayout.lt-sm"]},null),qa(39,671744,null,0,cE,[jr,jC,[2,lE],HC],{fxLayoutAlign:[0,"fxLayoutAlign"],"fxLayoutAlign.lt-sm":[1,"fxLayoutAlign.lt-sm"]},null),(t()(),oa(40,0,null,null,151,"div",[["fxFlex","0 0 calc(50% - 12px)"]],null,null,null,null,null)),qa(41,671744,null,0,rE,[jr,jC,dC,eE,HC],{fxFlex:[0,"fxFlex"]},null),(t()(),oa(42,0,null,null,149,"mat-card",[["class","mat-card"]],null,null,null,EE,CE)),qa(43,49152,null,0,bE,[],null,null),(t()(),oa(44,0,null,0,140,"details",[],null,null,null,null,null)),(t()(),oa(45,0,null,null,1,"summary",[],null,null,null,null,null)),(t()(),gl(-1,null,["Options"])),(t()(),oa(47,0,null,null,137,"div",[["style","display: flex; flex-direction: column;"]],null,null,null,null,null)),(t()(),oa(48,0,null,null,16,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,qE,LE)),qa(49,7520256,null,7,DE,[jr,No,[2,lv],[2,vy],[2,FE],vg,fo,[2,jb]],null,null),ul(335544320,7,{_control:0}),ul(335544320,8,{_placeholderChild:0}),ul(335544320,9,{_labelChild:0}),ul(603979776,10,{_errorChildren:1}),ul(603979776,11,{_hintChildren:1}),ul(603979776,12,{_prefixChildren:1}),ul(603979776,13,{_suffixChildren:1}),(t()(),oa(57,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Action"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==Ia(t,58)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Ia(t,58).onTouched()&&r),"compositionstart"===e&&(r=!1!==Ia(t,58)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Ia(t,58)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==Ia(t,63)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==Ia(t,63)._focusChanged(!0)&&r),"input"===e&&(r=!1!==Ia(t,63)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.options.action=n)&&r),r},null,null)),qa(58,16384,null,0,oA,[Ur,jr,[2,iA]],null,null),Ga(1024,null,nA,function(t){return[t]},[oA]),qa(60,671744,null,0,UA,[[8,null],[8,null],[8,null],[6,nA]],{model:[0,"model"]},{update:"ngModelChange"}),Ga(2048,null,cA,null,[UA]),qa(62,16384,null,0,OA,[[4,cA]],null,null),qa(63,999424,null,0,nx,[jr,vg,[6,cA],[2,jA],[2,KA],zg,[8,null],ZA,fo],{placeholder:[0,"placeholder"]},null),Ga(2048,[[7,4]],AE,null,[nx]),(t()(),oa(65,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,qE,LE)),qa(66,7520256,null,7,DE,[jr,No,[2,lv],[2,vy],[2,FE],vg,fo,[2,jb]],null,null),ul(335544320,14,{_control:0}),ul(335544320,15,{_placeholderChild:0}),ul(335544320,16,{_labelChild:0}),ul(603979776,17,{_errorChildren:1}),ul(603979776,18,{_hintChildren:1}),ul(603979776,19,{_prefixChildren:1}),ul(603979776,20,{_suffixChildren:1}),(t()(),oa(74,0,null,1,17,"mat-select",[["class","mat-select"],["name","autocomplete"],["placeholder","AutoComplete"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==Ia(t,78)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==Ia(t,78)._onFocus()&&r),"blur"===e&&(r=!1!==Ia(t,78)._onBlur()&&r),"ngModelChange"===e&&(r=!1!==(i.options.autocomplete=n)&&r),r},vx,hx)),qa(75,671744,null,0,UA,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ga(2048,null,cA,null,[UA]),qa(77,16384,null,0,OA,[[4,cA]],null,null),qa(78,2080768,null,3,ux,[Pv,No,fo,zg,jr,[2,vy],[2,jA],[2,KA],[2,DE],[6,cA],[8,null],sx,Og],{placeholder:[0,"placeholder"]},null),ul(603979776,21,{options:1}),ul(603979776,22,{optionGroups:1}),ul(335544320,23,{customTrigger:0}),Ga(2048,[[14,4]],AE,null,[ux]),Ga(2048,null,iv,null,[ux]),(t()(),oa(84,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,85)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,85)._handleKeydown(n)&&r),r},bx,yx)),qa(85,8568832,[[21,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),oa(86,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,87)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,87)._handleKeydown(n)&&r),r},bx,yx)),qa(87,8568832,[[21,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["On"])),(t()(),oa(89,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,90)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,90)._handleKeydown(n)&&r),r},bx,yx)),qa(90,8568832,[[21,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Off"])),(t()(),oa(92,0,null,null,29,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,qE,LE)),qa(93,7520256,null,7,DE,[jr,No,[2,lv],[2,vy],[2,FE],vg,fo,[2,jb]],null,null),ul(335544320,24,{_control:0}),ul(335544320,25,{_placeholderChild:0}),ul(335544320,26,{_labelChild:0}),ul(603979776,27,{_errorChildren:1}),ul(603979776,28,{_hintChildren:1}),ul(603979776,29,{_prefixChildren:1}),ul(603979776,30,{_suffixChildren:1}),(t()(),oa(101,0,null,1,20,"mat-select",[["class","mat-select"],["name","enctype"],["placeholder","Enctype"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==Ia(t,105)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==Ia(t,105)._onFocus()&&r),"blur"===e&&(r=!1!==Ia(t,105)._onBlur()&&r),"ngModelChange"===e&&(r=!1!==(i.options.enctype=n)&&r),r},vx,hx)),qa(102,671744,null,0,UA,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ga(2048,null,cA,null,[UA]),qa(104,16384,null,0,OA,[[4,cA]],null,null),qa(105,2080768,null,3,ux,[Pv,No,fo,zg,jr,[2,vy],[2,jA],[2,KA],[2,DE],[6,cA],[8,null],sx,Og],{placeholder:[0,"placeholder"]},null),ul(603979776,31,{options:1}),ul(603979776,32,{optionGroups:1}),ul(335544320,33,{customTrigger:0}),Ga(2048,[[24,4]],AE,null,[ux]),Ga(2048,null,iv,null,[ux]),(t()(),oa(111,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,112)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,112)._handleKeydown(n)&&r),r},bx,yx)),qa(112,8568832,[[31,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),oa(113,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,114)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,114)._handleKeydown(n)&&r),r},bx,yx)),qa(114,8568832,[[31,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Application"])),(t()(),oa(116,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,117)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,117)._handleKeydown(n)&&r),r},bx,yx)),qa(117,8568832,[[31,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Multipart form data"])),(t()(),oa(119,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,120)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,120)._handleKeydown(n)&&r),r},bx,yx)),qa(120,8568832,[[31,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Text plain"])),(t()(),oa(122,0,null,null,29,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,qE,LE)),qa(123,7520256,null,7,DE,[jr,No,[2,lv],[2,vy],[2,FE],vg,fo,[2,jb]],null,null),ul(335544320,34,{_control:0}),ul(335544320,35,{_placeholderChild:0}),ul(335544320,36,{_labelChild:0}),ul(603979776,37,{_errorChildren:1}),ul(603979776,38,{_hintChildren:1}),ul(603979776,39,{_prefixChildren:1}),ul(603979776,40,{_suffixChildren:1}),(t()(),oa(131,0,null,1,20,"mat-select",[["class","mat-select"],["name","method"],["placeholder","Method"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==Ia(t,135)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==Ia(t,135)._onFocus()&&r),"blur"===e&&(r=!1!==Ia(t,135)._onBlur()&&r),"ngModelChange"===e&&(r=!1!==(i.options.method=n)&&r),r},vx,hx)),qa(132,671744,null,0,UA,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ga(2048,null,cA,null,[UA]),qa(134,16384,null,0,OA,[[4,cA]],null,null),qa(135,2080768,null,3,ux,[Pv,No,fo,zg,jr,[2,vy],[2,jA],[2,KA],[2,DE],[6,cA],[8,null],sx,Og],{placeholder:[0,"placeholder"]},null),ul(603979776,41,{options:1}),ul(603979776,42,{optionGroups:1}),ul(335544320,43,{customTrigger:0}),Ga(2048,[[34,4]],AE,null,[ux]),Ga(2048,null,iv,null,[ux]),(t()(),oa(141,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,142)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,142)._handleKeydown(n)&&r),r},bx,yx)),qa(142,8568832,[[41,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),oa(143,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,144)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,144)._handleKeydown(n)&&r),r},bx,yx)),qa(144,8568832,[[41,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Get"])),(t()(),oa(146,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,147)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,147)._handleKeydown(n)&&r),r},bx,yx)),qa(147,8568832,[[41,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Post"])),(t()(),oa(149,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,150)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,150)._handleKeydown(n)&&r),r},bx,yx)),qa(150,8568832,[[41,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Dialog"])),(t()(),oa(152,0,null,null,32,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,qE,LE)),qa(153,7520256,null,7,DE,[jr,No,[2,lv],[2,vy],[2,FE],vg,fo,[2,jb]],null,null),ul(335544320,44,{_control:0}),ul(335544320,45,{_placeholderChild:0}),ul(335544320,46,{_labelChild:0}),ul(603979776,47,{_errorChildren:1}),ul(603979776,48,{_hintChildren:1}),ul(603979776,49,{_prefixChildren:1}),ul(603979776,50,{_suffixChildren:1}),(t()(),oa(161,0,null,1,23,"mat-select",[["class","mat-select"],["name","target"],["placeholder","Target"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==Ia(t,165)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==Ia(t,165)._onFocus()&&r),"blur"===e&&(r=!1!==Ia(t,165)._onBlur()&&r),"ngModelChange"===e&&(r=!1!==(i.options.target=n)&&r),r},vx,hx)),qa(162,671744,null,0,UA,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ga(2048,null,cA,null,[UA]),qa(164,16384,null,0,OA,[[4,cA]],null,null),qa(165,2080768,null,3,ux,[Pv,No,fo,zg,jr,[2,vy],[2,jA],[2,KA],[2,DE],[6,cA],[8,null],sx,Og],{placeholder:[0,"placeholder"]},null),ul(603979776,51,{options:1}),ul(603979776,52,{optionGroups:1}),ul(335544320,53,{customTrigger:0}),Ga(2048,[[44,4]],AE,null,[ux]),Ga(2048,null,iv,null,[ux]),(t()(),oa(171,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,172)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,172)._handleKeydown(n)&&r),r},bx,yx)),qa(172,8568832,[[51,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),oa(173,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,174)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,174)._handleKeydown(n)&&r),r},bx,yx)),qa(174,8568832,[[51,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Self"])),(t()(),oa(176,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,177)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,177)._handleKeydown(n)&&r),r},bx,yx)),qa(177,8568832,[[51,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Blank"])),(t()(),oa(179,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,180)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,180)._handleKeydown(n)&&r),r},bx,yx)),qa(180,8568832,[[51,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Parent"])),(t()(),oa(182,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Ia(t,183)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==Ia(t,183)._handleKeydown(n)&&r),r},bx,yx)),qa(183,8568832,[[51,4]],0,ov,[jr,No,[2,iv],[2,ev]],{value:[0,"value"]},null),(t()(),gl(-1,0,["Top"])),(t()(),oa(185,0,null,0,6,"details",[["open",""]],null,null,null,null,null)),(t()(),oa(186,0,null,null,1,"summary",[],null,null,null,null,null)),(t()(),gl(-1,null,["Input JSON Schema and Form Layout"])),(t()(),oa(188,0,null,null,3,"ace-editor",[],null,[[null,"textChanged"]],function(t,e,n){var r=!0;return"textChanged"===e&&(r=!1!==t.component.generateForm(n)&&r),r},xx,Ax)),Ga(5120,null,nA,function(t){return[t]},[Ex]),qa(190,245760,null,0,Ex,[jr,fo],{options:[0,"options"],readOnly:[1,"readOnly"],mode:[2,"mode"],text:[3,"text"],autoUpdateContent:[4,"autoUpdateContent"]},{textChanged:"textChanged"}),(t()(),gl(-1,null,[" (loading form specification...) "])),(t()(),oa(192,0,null,null,11,"div",[["fxFlex","0 0 calc(50% - 12px)"]],null,null,null,null,null)),qa(193,671744,null,0,rE,[jr,jC,dC,eE,HC],{fxFlex:[0,"fxFlex"]},null),(t()(),oa(194,0,null,null,9,"mat-card",[["class","mat-card"]],null,null,null,EE,CE)),qa(195,49152,null,0,bE,[],null,null),(t()(),oa(196,0,null,0,7,"details",[["open",""]],null,null,null,null,null)),(t()(),oa(197,0,null,null,1,"summary",[],null,null,null,null,null)),(t()(),gl(-1,null,["Generated Form"])),(t()(),oa(199,0,null,null,4,"div",[["class","json-schema-form"]],null,null,null,null,null)),(t()(),ia(16777216,null,null,1,null,Bx)),qa(201,16384,null,0,Gu,[Mo,Di],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"],ngIfElse:[2,"ngIfElse"]},null),(t()(),ia(0,[["showForm",2]],null,0,null,$x)),(t()(),ia(0,[["showMessage",2]],null,0,null,Mx))],function(t,e){var n=e.component;t(e,3,0,"primary"),t(e,10,0),t(e,23,0,"primary"),t(e,24,0,Ia(e,31)),t(e,26,0),t(e,31,0,"example-menu"),t(e,35,0,function(t,e,n,r){if(mn.isWrapped(r)){r=mn.unwrap(r);var i=t.def.nodes[35].bindingIndex+0,o=mn.unwrap(t.oldValues[i]);t.oldValues[i]=new mn(o)}return r}(e,0,0,Ia(e,36).transform(n.examplesObservable)),n.trackByFn),t(e,38,0,"row","column"),t(e,39,0,"space-around start","flex-start center"),t(e,41,0,"0 0 calc(50% - 12px)"),t(e,60,0,n.options.action),t(e,63,0,"Action"),t(e,75,0,"autocomplete",n.options.autocomplete),t(e,78,0,"AutoComplete"),t(e,85,0,void 0),t(e,87,0,"on"),t(e,90,0,"off"),t(e,102,0,"enctype",n.options.enctype),t(e,105,0,"Enctype"),t(e,112,0,void 0),t(e,114,0,"application/x-www-form-urlencoded"),t(e,117,0,"multipart/form-data"),t(e,120,0,"text/plain"),t(e,132,0,"method",n.options.method),t(e,135,0,"Method"),t(e,142,0,void 0),t(e,144,0,"get"),t(e,147,0,"post"),t(e,150,0,"dialog"),t(e,162,0,"target",n.options.target),t(e,165,0,"Target"),t(e,172,0,void 0),t(e,174,0,"_self"),t(e,177,0,"_blank"),t(e,180,0,"_parent"),t(e,183,0,"_top"),t(e,190,0,n.aceEditorOptions,!1,"json",n.example,!0),t(e,193,0,"0 0 calc(50% - 12px)"),t(e,201,0,n.formActive,Ia(e,202),Ia(e,203))},function(t,e){var n=e.component;t(e,2,0,Ia(e,3)._toolbarRows.length>0,0===Ia(e,3)._toolbarRows.length),t(e,9,0,Ia(e,10).inline,"primary"!==Ia(e,10).color&&"accent"!==Ia(e,10).color&&"warn"!==Ia(e,10).color),t(e,22,0,Ia(e,23).disabled||null,"NoopAnimations"===Ia(e,23)._animationMode,Ia(e,24).menuOpen||null),t(e,25,0,Ia(e,26).inline,"primary"!==Ia(e,26).color&&"accent"!==Ia(e,26).color&&"warn"!==Ia(e,26).color),t(e,28,0,n.selectedSetName,n.selectedExampleName),t(e,48,1,["standard"==Ia(e,49).appearance,"fill"==Ia(e,49).appearance,"outline"==Ia(e,49).appearance,"legacy"==Ia(e,49).appearance,Ia(e,49)._control.errorState,Ia(e,49)._canLabelFloat,Ia(e,49)._shouldLabelFloat(),Ia(e,49)._hasFloatingLabel(),Ia(e,49)._hideControlPlaceholder(),Ia(e,49)._control.disabled,Ia(e,49)._control.autofilled,Ia(e,49)._control.focused,"accent"==Ia(e,49).color,"warn"==Ia(e,49).color,Ia(e,49)._shouldForward("untouched"),Ia(e,49)._shouldForward("touched"),Ia(e,49)._shouldForward("pristine"),Ia(e,49)._shouldForward("dirty"),Ia(e,49)._shouldForward("valid"),Ia(e,49)._shouldForward("invalid"),Ia(e,49)._shouldForward("pending"),!Ia(e,49)._animationsEnabled]),t(e,57,1,[Ia(e,62).ngClassUntouched,Ia(e,62).ngClassTouched,Ia(e,62).ngClassPristine,Ia(e,62).ngClassDirty,Ia(e,62).ngClassValid,Ia(e,62).ngClassInvalid,Ia(e,62).ngClassPending,Ia(e,63)._isServer,Ia(e,63).id,Ia(e,63).placeholder,Ia(e,63).disabled,Ia(e,63).required,Ia(e,63).readonly&&!Ia(e,63)._isNativeSelect||null,Ia(e,63)._ariaDescribedby||null,Ia(e,63).errorState,Ia(e,63).required.toString()]),t(e,65,1,["standard"==Ia(e,66).appearance,"fill"==Ia(e,66).appearance,"outline"==Ia(e,66).appearance,"legacy"==Ia(e,66).appearance,Ia(e,66)._control.errorState,Ia(e,66)._canLabelFloat,Ia(e,66)._shouldLabelFloat(),Ia(e,66)._hasFloatingLabel(),Ia(e,66)._hideControlPlaceholder(),Ia(e,66)._control.disabled,Ia(e,66)._control.autofilled,Ia(e,66)._control.focused,"accent"==Ia(e,66).color,"warn"==Ia(e,66).color,Ia(e,66)._shouldForward("untouched"),Ia(e,66)._shouldForward("touched"),Ia(e,66)._shouldForward("pristine"),Ia(e,66)._shouldForward("dirty"),Ia(e,66)._shouldForward("valid"),Ia(e,66)._shouldForward("invalid"),Ia(e,66)._shouldForward("pending"),!Ia(e,66)._animationsEnabled]),t(e,74,1,[Ia(e,77).ngClassUntouched,Ia(e,77).ngClassTouched,Ia(e,77).ngClassPristine,Ia(e,77).ngClassDirty,Ia(e,77).ngClassValid,Ia(e,77).ngClassInvalid,Ia(e,77).ngClassPending,Ia(e,78).id,Ia(e,78).tabIndex,Ia(e,78)._getAriaLabel(),Ia(e,78)._getAriaLabelledby(),Ia(e,78).required.toString(),Ia(e,78).disabled.toString(),Ia(e,78).errorState,Ia(e,78).panelOpen?Ia(e,78)._optionIds:null,Ia(e,78).multiple,Ia(e,78)._ariaDescribedby||null,Ia(e,78)._getAriaActiveDescendant(),Ia(e,78).disabled,Ia(e,78).errorState,Ia(e,78).required,Ia(e,78).empty]),t(e,84,0,Ia(e,85)._getTabIndex(),Ia(e,85).selected,Ia(e,85).multiple,Ia(e,85).active,Ia(e,85).id,Ia(e,85).selected.toString(),Ia(e,85).disabled.toString(),Ia(e,85).disabled),t(e,86,0,Ia(e,87)._getTabIndex(),Ia(e,87).selected,Ia(e,87).multiple,Ia(e,87).active,Ia(e,87).id,Ia(e,87).selected.toString(),Ia(e,87).disabled.toString(),Ia(e,87).disabled),t(e,89,0,Ia(e,90)._getTabIndex(),Ia(e,90).selected,Ia(e,90).multiple,Ia(e,90).active,Ia(e,90).id,Ia(e,90).selected.toString(),Ia(e,90).disabled.toString(),Ia(e,90).disabled),t(e,92,1,["standard"==Ia(e,93).appearance,"fill"==Ia(e,93).appearance,"outline"==Ia(e,93).appearance,"legacy"==Ia(e,93).appearance,Ia(e,93)._control.errorState,Ia(e,93)._canLabelFloat,Ia(e,93)._shouldLabelFloat(),Ia(e,93)._hasFloatingLabel(),Ia(e,93)._hideControlPlaceholder(),Ia(e,93)._control.disabled,Ia(e,93)._control.autofilled,Ia(e,93)._control.focused,"accent"==Ia(e,93).color,"warn"==Ia(e,93).color,Ia(e,93)._shouldForward("untouched"),Ia(e,93)._shouldForward("touched"),Ia(e,93)._shouldForward("pristine"),Ia(e,93)._shouldForward("dirty"),Ia(e,93)._shouldForward("valid"),Ia(e,93)._shouldForward("invalid"),Ia(e,93)._shouldForward("pending"),!Ia(e,93)._animationsEnabled]),t(e,101,1,[Ia(e,104).ngClassUntouched,Ia(e,104).ngClassTouched,Ia(e,104).ngClassPristine,Ia(e,104).ngClassDirty,Ia(e,104).ngClassValid,Ia(e,104).ngClassInvalid,Ia(e,104).ngClassPending,Ia(e,105).id,Ia(e,105).tabIndex,Ia(e,105)._getAriaLabel(),Ia(e,105)._getAriaLabelledby(),Ia(e,105).required.toString(),Ia(e,105).disabled.toString(),Ia(e,105).errorState,Ia(e,105).panelOpen?Ia(e,105)._optionIds:null,Ia(e,105).multiple,Ia(e,105)._ariaDescribedby||null,Ia(e,105)._getAriaActiveDescendant(),Ia(e,105).disabled,Ia(e,105).errorState,Ia(e,105).required,Ia(e,105).empty]),t(e,111,0,Ia(e,112)._getTabIndex(),Ia(e,112).selected,Ia(e,112).multiple,Ia(e,112).active,Ia(e,112).id,Ia(e,112).selected.toString(),Ia(e,112).disabled.toString(),Ia(e,112).disabled),t(e,113,0,Ia(e,114)._getTabIndex(),Ia(e,114).selected,Ia(e,114).multiple,Ia(e,114).active,Ia(e,114).id,Ia(e,114).selected.toString(),Ia(e,114).disabled.toString(),Ia(e,114).disabled),t(e,116,0,Ia(e,117)._getTabIndex(),Ia(e,117).selected,Ia(e,117).multiple,Ia(e,117).active,Ia(e,117).id,Ia(e,117).selected.toString(),Ia(e,117).disabled.toString(),Ia(e,117).disabled),t(e,119,0,Ia(e,120)._getTabIndex(),Ia(e,120).selected,Ia(e,120).multiple,Ia(e,120).active,Ia(e,120).id,Ia(e,120).selected.toString(),Ia(e,120).disabled.toString(),Ia(e,120).disabled),t(e,122,1,["standard"==Ia(e,123).appearance,"fill"==Ia(e,123).appearance,"outline"==Ia(e,123).appearance,"legacy"==Ia(e,123).appearance,Ia(e,123)._control.errorState,Ia(e,123)._canLabelFloat,Ia(e,123)._shouldLabelFloat(),Ia(e,123)._hasFloatingLabel(),Ia(e,123)._hideControlPlaceholder(),Ia(e,123)._control.disabled,Ia(e,123)._control.autofilled,Ia(e,123)._control.focused,"accent"==Ia(e,123).color,"warn"==Ia(e,123).color,Ia(e,123)._shouldForward("untouched"),Ia(e,123)._shouldForward("touched"),Ia(e,123)._shouldForward("pristine"),Ia(e,123)._shouldForward("dirty"),Ia(e,123)._shouldForward("valid"),Ia(e,123)._shouldForward("invalid"),Ia(e,123)._shouldForward("pending"),!Ia(e,123)._animationsEnabled]),t(e,131,1,[Ia(e,134).ngClassUntouched,Ia(e,134).ngClassTouched,Ia(e,134).ngClassPristine,Ia(e,134).ngClassDirty,Ia(e,134).ngClassValid,Ia(e,134).ngClassInvalid,Ia(e,134).ngClassPending,Ia(e,135).id,Ia(e,135).tabIndex,Ia(e,135)._getAriaLabel(),Ia(e,135)._getAriaLabelledby(),Ia(e,135).required.toString(),Ia(e,135).disabled.toString(),Ia(e,135).errorState,Ia(e,135).panelOpen?Ia(e,135)._optionIds:null,Ia(e,135).multiple,Ia(e,135)._ariaDescribedby||null,Ia(e,135)._getAriaActiveDescendant(),Ia(e,135).disabled,Ia(e,135).errorState,Ia(e,135).required,Ia(e,135).empty]),t(e,141,0,Ia(e,142)._getTabIndex(),Ia(e,142).selected,Ia(e,142).multiple,Ia(e,142).active,Ia(e,142).id,Ia(e,142).selected.toString(),Ia(e,142).disabled.toString(),Ia(e,142).disabled),t(e,143,0,Ia(e,144)._getTabIndex(),Ia(e,144).selected,Ia(e,144).multiple,Ia(e,144).active,Ia(e,144).id,Ia(e,144).selected.toString(),Ia(e,144).disabled.toString(),Ia(e,144).disabled),t(e,146,0,Ia(e,147)._getTabIndex(),Ia(e,147).selected,Ia(e,147).multiple,Ia(e,147).active,Ia(e,147).id,Ia(e,147).selected.toString(),Ia(e,147).disabled.toString(),Ia(e,147).disabled),t(e,149,0,Ia(e,150)._getTabIndex(),Ia(e,150).selected,Ia(e,150).multiple,Ia(e,150).active,Ia(e,150).id,Ia(e,150).selected.toString(),Ia(e,150).disabled.toString(),Ia(e,150).disabled),t(e,152,1,["standard"==Ia(e,153).appearance,"fill"==Ia(e,153).appearance,"outline"==Ia(e,153).appearance,"legacy"==Ia(e,153).appearance,Ia(e,153)._control.errorState,Ia(e,153)._canLabelFloat,Ia(e,153)._shouldLabelFloat(),Ia(e,153)._hasFloatingLabel(),Ia(e,153)._hideControlPlaceholder(),Ia(e,153)._control.disabled,Ia(e,153)._control.autofilled,Ia(e,153)._control.focused,"accent"==Ia(e,153).color,"warn"==Ia(e,153).color,Ia(e,153)._shouldForward("untouched"),Ia(e,153)._shouldForward("touched"),Ia(e,153)._shouldForward("pristine"),Ia(e,153)._shouldForward("dirty"),Ia(e,153)._shouldForward("valid"),Ia(e,153)._shouldForward("invalid"),Ia(e,153)._shouldForward("pending"),!Ia(e,153)._animationsEnabled]),t(e,161,1,[Ia(e,164).ngClassUntouched,Ia(e,164).ngClassTouched,Ia(e,164).ngClassPristine,Ia(e,164).ngClassDirty,Ia(e,164).ngClassValid,Ia(e,164).ngClassInvalid,Ia(e,164).ngClassPending,Ia(e,165).id,Ia(e,165).tabIndex,Ia(e,165)._getAriaLabel(),Ia(e,165)._getAriaLabelledby(),Ia(e,165).required.toString(),Ia(e,165).disabled.toString(),Ia(e,165).errorState,Ia(e,165).panelOpen?Ia(e,165)._optionIds:null,Ia(e,165).multiple,Ia(e,165)._ariaDescribedby||null,Ia(e,165)._getAriaActiveDescendant(),Ia(e,165).disabled,Ia(e,165).errorState,Ia(e,165).required,Ia(e,165).empty]),t(e,171,0,Ia(e,172)._getTabIndex(),Ia(e,172).selected,Ia(e,172).multiple,Ia(e,172).active,Ia(e,172).id,Ia(e,172).selected.toString(),Ia(e,172).disabled.toString(),Ia(e,172).disabled),t(e,173,0,Ia(e,174)._getTabIndex(),Ia(e,174).selected,Ia(e,174).multiple,Ia(e,174).active,Ia(e,174).id,Ia(e,174).selected.toString(),Ia(e,174).disabled.toString(),Ia(e,174).disabled),t(e,176,0,Ia(e,177)._getTabIndex(),Ia(e,177).selected,Ia(e,177).multiple,Ia(e,177).active,Ia(e,177).id,Ia(e,177).selected.toString(),Ia(e,177).disabled.toString(),Ia(e,177).disabled),t(e,179,0,Ia(e,180)._getTabIndex(),Ia(e,180).selected,Ia(e,180).multiple,Ia(e,180).active,Ia(e,180).id,Ia(e,180).selected.toString(),Ia(e,180).disabled.toString(),Ia(e,180).disabled),t(e,182,0,Ia(e,183)._getTabIndex(),Ia(e,183).selected,Ia(e,183).multiple,Ia(e,183).active,Ia(e,183).id,Ia(e,183).selected.toString(),Ia(e,183).disabled.toString(),Ia(e,183).disabled)});var e,n,r}function Nx(t){return _l(0,[(t()(),oa(0,0,null,null,1,"app-demo",[],null,null,null,jx,Dx)),qa(1,114688,null,0,Fx,[Ff,Mp,Sx],null,null)],function(t,e){t(e,1,0)},null)}var Vx=Ea("app-demo",Fx,Nx,{},{},[]),zx=Ps({encapsulation:2,styles:[],data:{}});function Hx(t){return _l(0,[(t()(),oa(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),qa(1,212992,null,0,Vp,[Np,Mo,Tr,[8,null],No],null,null)],function(t,e){t(e,1,0)},null)}function Ux(t){return _l(0,[(t()(),oa(0,0,null,null,1,"app-root",[],null,null,null,Hx,zx)),qa(1,49152,null,0,ku,[],null,null)],null,null)}var Wx=Ea("app-root",ku,Ux,{},{},[]),Kx=function(){function t(t){this.elementDataStorage=t}return t.prototype.supports=function(t){return/[a-z]+\.data\.[a-zA-Z]+/.test(t)},t.prototype.addEventListener=function(t,e,n){var r=this,i=this.manager.getZone(),o=e.split("."),s=o[0],a=o[2],l=function(t){if(r.elementDataStorage.has(t.target,a)){var e=r.elementDataStorage.get(t.target,a);t.data=e,i.runGuarded(function(){n(t)})}};return i.runOutsideAngular(function(){t.addEventListener(s,l,!1)}),function(){t.removeEventListener(s,l,!1)}},t.ngInjectableDef=dt({factory:function(){return new t(Fe(fm))},token:t,providedIn:"root"}),t}(),qx=function(){return function(){}}(),Gx=function(){return function(){}}(),Qx=function(){function t(t,e){cc(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return t.withConfig=function(e,n){return void 0===n&&(n=[]),{ngModule:t,providers:e.serverLoaded?[{provide:dC,useValue:Object(r.__assign)({},hC,e)},{provide:pC,useValue:n,multi:!0},{provide:fC,useValue:!0}]:[{provide:dC,useValue:Object(r.__assign)({},hC,e)},{provide:pC,useValue:n,multi:!0}]}},t}(),Yx=function(){return function(){}}(),Xx=function(){return function(){}}(),Zx=function(){return function(){}}(),Jx=function(){return function(){}}(),tS=Au(Su,[ku],function(t){return function(t){for(var e={},n=[],r=!1,i=0;i0:t.util.schemaHasRules(s,t.RULES.all);if(r+="var "+d+" = errors;var "+h+";",_){var b=t.compositeRule;t.compositeRule=f.compositeRule=!0,f.schema=s,f.schemaPath=a,f.errSchemaPath=l,r+=" var "+p+" = false; for (var "+m+" = 0; "+m+" < "+c+".length; "+m+"++) { ",f.errorPath=t.util.getPathExpr(t.errorPath,m,t.opts.jsonPointers,!0);var w=c+"["+m+"]";f.dataPathArr[g]=m;var C=t.validate(f);f.baseId=y,t.util.varOccurences(C,v)<2?r+=" "+t.util.varReplace(C,v,w)+" ":r+=" var "+v+" = "+w+"; "+C+" ",r+=" if ("+p+") break; } ",t.compositeRule=f.compositeRule=b,r+=" if (!"+p+") {"}else r+=" if ("+c+".length == 0) {";var E=E||[];E.push(r),r="",!1!==t.createErrors?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: {} ",!1!==t.opts.messages&&(r+=" , message: 'should contain a valid item' "),t.opts.verbose&&(r+=" , schema: validate.schema"+a+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var A=r;return r=E.pop(),r+=!t.compositeRule&&u?t.async?" throw new ValidationError(["+A+"]); ":" validate.errors = ["+A+"]; return false; ":" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",_&&(r+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } "),t.opts.allErrors&&(r+=" } "),t.util.cleanUpCode(r)}}},[[0,0]]]); \ No newline at end of file